From 501850292959285059858a7bb5123368877806bb Mon Sep 17 00:00:00 2001 From: Xterionix Date: Sat, 11 Jan 2025 15:48:43 +0500 Subject: [PATCH] v1.21.60.25-preview --- .../aim_assist/categories/categories.json | 48 + .../aim_assist/presets/aim_assist_preset.json | 36 + behavior_pack/behavior_trees/attack.json | 15 + .../behavior_trees/attack_mob_test.json | 25 + .../behavior_trees/attack_mob_test2.json | 21 + .../behavior_trees/break_nearby_block.json | 19 + behavior_pack/behavior_trees/chop_wood.json | 40 + .../behavior_trees/collect_items.json | 27 + .../behavior_trees/consume_item.json | 20 + .../behavior_trees/cooked_chicken_test.json | 32 + behavior_pack/behavior_trees/interact.json | 15 + .../behavior_trees/interact_with_at.json | 19 + .../behavior_trees/look_at_entity.json | 15 + .../behavior_trees/mine_block_at_origin.json | 26 + .../behavior_trees/pickup_nearby_item.json | 25 + .../behavior_trees/place_block_at.json | 19 + .../behavior_trees/silk_touch_test.json | 26 + .../behavior_trees/test_nether_portal.json | 27 + behavior_pack/behavior_trees/use_entity.json | 15 + .../behavior_trees/wait_one_second.json | 16 + .../behavior_trees/wait_seconds.json | 15 + behavior_pack/behavior_trees/wait_ticks.json | 15 + .../behavior_trees/wait_two_seconds.json | 16 + .../behavior_trees/walk_forward.json | 17 + behavior_pack/biomes/cold_taiga.biome.json | 40 + .../biomes/cold_taiga_hills.biome.json | 34 + .../biomes/cold_taiga_mutated.biome.json | 36 + .../cameras/presets/first_person.json | 6 + behavior_pack/cameras/presets/fixed_boom.json | 9 + .../cameras/presets/follow_orbit.json | 9 + behavior_pack/cameras/presets/free.json | 11 + .../cameras/presets/third_person.json | 6 + .../cameras/presets/third_person_front.json | 6 + behavior_pack/entities/agent.json | 69 + behavior_pack/entities/allay.json | 253 + behavior_pack/entities/area_effect_cloud.json | 19 + behavior_pack/entities/armadillo.json | 627 + behavior_pack/entities/armor_stand.json | 54 + behavior_pack/entities/arrow.json | 182 + behavior_pack/entities/axolotl.json | 449 + behavior_pack/entities/balloon.json | 23 + behavior_pack/entities/bat.json | 86 + behavior_pack/entities/bee.json | 1060 ++ behavior_pack/entities/blaze.json | 201 + behavior_pack/entities/boat.json | 350 + behavior_pack/entities/bogged.json | 483 + behavior_pack/entities/breeze.json | 317 + .../breeze_wind_charge_projectile.json | 66 + behavior_pack/entities/camel.json | 341 + behavior_pack/entities/cat.json | 729 + behavior_pack/entities/cave_spider.json | 498 + behavior_pack/entities/chest_boat.json | 310 + behavior_pack/entities/chest_minecart.json | 53 + behavior_pack/entities/chicken.json | 256 + .../entities/command_block_minecart.json | 108 + behavior_pack/entities/cow.json | 251 + behavior_pack/entities/creaking.json | 568 + behavior_pack/entities/creeper.json | 310 + behavior_pack/entities/dolphin.json | 430 + behavior_pack/entities/donkey.json | 534 + behavior_pack/entities/dragon_fireball.json | 56 + behavior_pack/entities/drowned.json | 666 + behavior_pack/entities/egg.json | 57 + behavior_pack/entities/elder_guardian.json | 119 + behavior_pack/entities/ender_crystal.json | 60 + behavior_pack/entities/ender_dragon.json | 159 + behavior_pack/entities/ender_pearl.json | 75 + behavior_pack/entities/enderman.json | 209 + behavior_pack/entities/endermite.json | 112 + behavior_pack/entities/evocation_illager.json | 355 + .../entities/eye_of_ender_signal.json | 30 + behavior_pack/entities/fireball.json | 81 + behavior_pack/entities/fireworks_rocket.json | 30 + behavior_pack/entities/fish.json | 153 + behavior_pack/entities/fishing_hook.json | 61 + behavior_pack/entities/fox.json | 858 ++ behavior_pack/entities/frog.json | 527 + behavior_pack/entities/ghast.json | 108 + behavior_pack/entities/glow_squid.json | 136 + behavior_pack/entities/goat.json | 426 + behavior_pack/entities/guardian.json | 214 + behavior_pack/entities/hoglin.json | 504 + behavior_pack/entities/hopper_minecart.json | 108 + behavior_pack/entities/horse.json | 730 + behavior_pack/entities/husk.json | 649 + behavior_pack/entities/ice_bomb.json | 42 + behavior_pack/entities/iron_golem.json | 474 + behavior_pack/entities/lightning_bolt.json | 30 + behavior_pack/entities/lingering_potion.json | 46 + behavior_pack/entities/llama.json | 712 + behavior_pack/entities/llama_spit.json | 49 + .../entities/location_pointer_idle.json | 23 + .../entities/location_pointer_selected.json | 23 + behavior_pack/entities/magma_cube.json | 286 + behavior_pack/entities/map_marker.json | 20 + behavior_pack/entities/minecart.json | 59 + behavior_pack/entities/mooshroom.json | 858 ++ behavior_pack/entities/mule.json | 474 + behavior_pack/entities/npc.json | 242 + behavior_pack/entities/ocelot.json | 411 + .../entities/ominous_item_spawner.json | 10 + behavior_pack/entities/panda.json | 675 + behavior_pack/entities/parrot.json | 342 + behavior_pack/entities/phantom.json | 130 + behavior_pack/entities/pig.json | 320 + behavior_pack/entities/piglin.json | 1196 ++ behavior_pack/entities/piglin_brute.json | 378 + behavior_pack/entities/pillager.json | 446 + behavior_pack/entities/player.json | 212 + behavior_pack/entities/polar_bear.json | 311 + behavior_pack/entities/pufferfish.json | 319 + behavior_pack/entities/rabbit.json | 333 + behavior_pack/entities/ravager.json | 487 + behavior_pack/entities/ruler_idle.json | 23 + .../entities/ruler_pointer_selected.json | 23 + behavior_pack/entities/salmon.json | 195 + behavior_pack/entities/sheep.json | 452 + behavior_pack/entities/shulker.json | 544 + behavior_pack/entities/shulker_bullet.json | 60 + behavior_pack/entities/silverfish.json | 181 + behavior_pack/entities/skeleton.json | 677 + behavior_pack/entities/skeleton_horse.json | 227 + behavior_pack/entities/slime.json | 278 + behavior_pack/entities/small_fireball.json | 55 + behavior_pack/entities/sniffer.json | 390 + behavior_pack/entities/snow_golem.json | 174 + behavior_pack/entities/snowball.json | 51 + behavior_pack/entities/spider.json | 350 + behavior_pack/entities/splash_potion.json | 42 + behavior_pack/entities/squid.json | 133 + behavior_pack/entities/stray.json | 557 + behavior_pack/entities/strider.json | 457 + behavior_pack/entities/tadpole.json | 116 + behavior_pack/entities/thrown_trident.json | 57 + behavior_pack/entities/tnt.json | 65 + behavior_pack/entities/tnt_minecart.json | 185 + behavior_pack/entities/trader_llama.json | 760 + behavior_pack/entities/tripod_camera.json | 41 + behavior_pack/entities/tropicalfish.json | 1063 ++ behavior_pack/entities/turtle.json | 303 + behavior_pack/entities/vex.json | 144 + behavior_pack/entities/villager.json | 871 ++ behavior_pack/entities/villager_v2.json | 3293 +++++ behavior_pack/entities/vindicator.json | 444 + behavior_pack/entities/wandering_trader.json | 324 + behavior_pack/entities/warden.json | 231 + .../entities/wind_charge_projectile.json | 69 + behavior_pack/entities/witch.json | 374 + behavior_pack/entities/wither.json | 145 + behavior_pack/entities/wither_skeleton.json | 532 + behavior_pack/entities/wither_skull.json | 83 + .../entities/wither_skull_dangerous.json | 86 + behavior_pack/entities/wolf.json | 1189 ++ behavior_pack/entities/xp_bottle.json | 44 + behavior_pack/entities/xp_orb.json | 40 + behavior_pack/entities/zoglin.json | 268 + behavior_pack/entities/zombie.json | 630 + behavior_pack/entities/zombie_horse.json | 181 + behavior_pack/entities/zombie_pigman.json | 472 + behavior_pack/entities/zombie_villager.json | 939 ++ .../entities/zombie_villager_v2.json | 1106 ++ .../after_surface_silverfish_feature.json | 44 + ...o_jungle_after_surface_bamboo_feature.json | 16 + ...fter_surface_tall_grass_feature_rules.json | 29 + ...e_before_surface_bamboo_feature_rules.json | 28 + ...boo_jungle_surface_tall_grass_feature.json | 16 + .../bamboo_jungle_surface_trees_feature.json | 31 + ..._forest_mutated_surface_trees_feature.json | 40 + .../birch_forest_surface_trees_feature.json | 40 + ...me_surface_double_plant_feature_rules.json | 31 + ...iome_surface_tall_grass_feature_rules.json | 28 + ...ter_surface_cherry_tree_feature_rules.json | 28 + ...herry_grove_cherry_tree_feature_rules.json | 16 + ...herry_grove_pink_petals_feature_rules.json | 16 + ...ove_surface_pink_petals_feature_rules.json | 27 + ...urface_sweet_berry_bush_feature_rules.json | 34 + ..._taiga_first_sweet_berry_bush_feature.json | 16 + ...rt_after_surface_cactus_feature_rules.json | 31 + ...after_surface_dead_bush_feature_rules.json | 27 + ...ert_after_surface_desert_well_feature.json | 36 + ...ert_after_surface_reeds_feature_rules.json | 27 + ...fter_surface_fossil_deepslate_feature.json | 41 + .../desert_surface_cactus_feature.json | 16 + .../desert_surface_dead_bush_feature.json | 16 + .../desert_surface_reeds_feature.json | 16 + ..._caves_underground_copper_ore_feature.json | 33 + .../dripstone_cluster_feature.json | 32 + ...lls_after_surface_emerald_ore_feature.json | 25 + ...ills_after_surface_silverfish_feature.json | 35 + ...ills_plus_trees_surface_trees_feature.json | 40 + .../eyeblossom_feature_rules.json | 21 + ...t_after_surface_flowers_feature_rules.json | 31 + .../flower_forest_first_foliage_feature.json | 25 + ...flower_forest_surface_flowers_feature.json | 16 + .../flower_forest_surface_trees_feature.json | 26 + ...fter_surface_tall_grass_feature_rules.json | 29 + .../forest_first_foliage_feature.json | 49 + .../forest_surface_flowers_feature.json | 16 + .../forest_surface_tall_grass_feature.json | 16 + .../forest_surface_trees_feature.json | 55 + ...rozen_ocean_after_surface_ice_feature.json | 36 + .../grove_pine_tree_feature.json | 32 + .../grove_spruce_tree_feature.json | 32 + .../ice_surface_trees_feature.json | 31 + .../jungle_after_surface_bamboo_feature.json | 33 + ...e_after_surface_flowers_feature_rules.json | 31 + .../jungle_after_surface_melon_feature.json | 32 + ...fter_surface_tall_grass_feature_rules.json | 28 + .../jungle_after_surface_vines_feature.json | 32 + ...ngle_edge_after_surface_melon_feature.json | 32 + .../jungle_edge_surface_trees_feature.json | 36 + .../jungle_surface_flowers_feature.json | 16 + .../jungle_surface_tall_grass_feature.json | 16 + .../jungle_surface_trees_feature.json | 36 + .../large_dripstone_feature.json | 32 + ...cean_after_surface_kelp_feature_rules.json | 29 + .../lukewarm_ocean_surface_kelp_feature.json | 16 + ...er_surface_azalea_root_system_feature.json | 34 + ...aves_after_surface_cave_vines_feature.json | 32 + ...caves_after_surface_leaf_clay_feature.json | 32 + ...es_after_surface_moss_ceiling_feature.json | 32 + ...s_after_surface_spore_blossom_feature.json | 32 + ...aves_after_surface_vegetation_feature.json | 32 + ...ush_caves_after_surface_vines_feature.json | 32 + ...sh_caves_underground_clay_ore_feature.json | 32 + ...after_surface_dead_bush_feature_rules.json | 27 + ..._after_surface_seagrass_feature_rules.json | 28 + ...fter_surface_tall_grass_feature_rules.json | 28 + .../mangrove_swamp_mangrove_tree_feature.json | 27 + ...mp_mangrove_tree_with_beenest_feature.json | 31 + ...grove_swamp_surface_dead_bush_feature.json | 16 + ...ngrove_swamp_surface_seagrass_feature.json | 16 + ...rove_swamp_surface_tall_grass_feature.json | 16 + ...rove_swamp_tall_mangrove_tree_feature.json | 16 + ...ll_mangrove_tree_with_beenest_feature.json | 31 + ...er_surface_double_plant_feature_rules.json | 31 + ...w_after_surface_flowers_feature_rules.json | 27 + ...fter_surface_tall_grass_feature_rules.json | 28 + .../feature_rules/meadow_flowers_feature.json | 16 + ...ow_surface_double_plant_feature_rules.json | 16 + .../meadow_surface_tall_grass_feature.json | 16 + .../meadow_surface_trees_feature.json | 26 + ..._surface_brown_mushroom_feature_rules.json | 32 + ...after_surface_dead_bush_feature_rules.json | 28 + ...er_surface_red_mushroom_feature_rules.json | 32 + ...fter_surface_tall_grass_feature_rules.json | 29 + .../mega_taiga_first_forest_rock_feature.json | 30 + .../mega_taiga_surface_dead_bush_feature.json | 16 + .../mega_taiga_surface_mushrooms_feature.json | 16 + ...mega_taiga_surface_tall_grass_feature.json | 16 + .../mega_taiga_surface_trees_feature.json | 36 + ...sa_after_surface_cactus_feature_rules.json | 31 + ...after_surface_dead_bush_feature_rules.json | 27 + ...esa_after_surface_reeds_feature_rules.json | 31 + .../mesa_before_surface_gold_ore_feature.json | 25 + ...a_plateau_stone_surface_trees_feature.json | 31 + .../mesa_surface_cactus_feature.json | 16 + .../mesa_surface_dead_bush_feature.json | 16 + .../mesa_surface_reeds_feature.json | 16 + .../mesa_underground_gold_ore_feature.json | 35 + ...ountains_underground_coal_ore_feature.json | 33 + ..._surface_brown_mushroom_feature_rules.json | 31 + ...er_surface_red_mushroom_feature_rules.json | 31 + ...room_island_surface_mushrooms_feature.json | 16 + ...cean_after_surface_kelp_feature_rules.json | 36 + ..._after_surface_seagrass_feature_rules.json | 28 + .../ocean_surface_kelp_feature.json | 17 + .../ocean_surface_seagrass_feature.json | 16 + ...ce_extra_brown_mushroom_feature_rules.json | 37 + ...face_extra_red_mushroom_feature_rules.json | 37 + ...d_after_surface_flowers_feature_rules.json | 51 + ...orld_after_surface_kelp_feature_rules.json | 55 + ...d_after_surface_pumpkin_feature_rules.json | 37 + ...rld_after_surface_reeds_feature_rules.json | 39 + ...fter_surface_tall_grass_feature_rules.json | 51 + .../overworld_amethyst_geode_feature.json | 41 + .../overworld_extra_cave_carver_feature.json | 28 + ..._surface_extra_brown_mushroom_feature.json | 16 + ...ld_surface_extra_red_mushroom_feature.json | 16 + .../overworld_surface_flowers_feature.json | 16 + .../overworld_surface_gravel_feature.json | 50 + .../overworld_surface_kelp_feature.json | 17 + ...rworld_surface_mangrove_grass_feature.json | 35 + .../overworld_surface_pumpkin_feature.json | 16 + .../overworld_surface_reeds_feature.json | 16 + .../overworld_surface_sand_feature.json | 50 + .../overworld_surface_tall_grass_feature.json | 16 + ...verworld_underground_andesite_feature.json | 34 + ...ld_underground_andesite_lower_feature.json | 44 + ...ld_underground_andesite_upper_feature.json | 48 + ...verworld_underground_coal_ore_feature.json | 19 + ...ld_underground_coal_ore_lower_feature.json | 44 + ...ld_underground_coal_ore_upper_feature.json | 44 + ...rworld_underground_copper_ore_feature.json | 51 + ...erworld_underground_deepslate_feature.json | 44 + ...nderground_diamond_ore_buried_feature.json | 44 + ...world_underground_diamond_ore_feature.json | 44 + ...nderground_diamond_ore_feature_square.json | 44 + ...underground_diamond_ore_large_feature.json | 48 + ...overworld_underground_diorite_feature.json | 34 + ...rld_underground_diorite_lower_feature.json | 44 + ...rld_underground_diorite_upper_feature.json | 48 + .../overworld_underground_dirt_feature.json | 44 + ...world_underground_emerald_ore_feature.json | 44 + ..._underground_extra_gravel_ore_feature.json | 34 + ...world_underground_glow_lichen_feature.json | 43 + ...verworld_underground_gold_ore_feature.json | 44 + ...ld_underground_gold_ore_lower_feature.json | 48 + ...overworld_underground_granite_feature.json | 34 + ...rld_underground_granite_lower_feature.json | 44 + ...rld_underground_granite_upper_feature.json | 48 + ...rworld_underground_gravel_ore_feature.json | 44 + ...verworld_underground_iron_ore_feature.json | 19 + ...d_underground_iron_ore_middle_feature.json | 44 + ...ld_underground_iron_ore_small_feature.json | 44 + ...ld_underground_iron_ore_upper_feature.json | 44 + ..._underground_lapis_ore_buried_feature.json | 44 + ...erworld_underground_lapis_ore_feature.json | 44 + ...orld_underground_redstone_ore_feature.json | 44 + ...nderground_redstone_ore_lower_feature.json | 44 + .../overworld_underground_tuff_feature.json | 44 + ...rworld_underwater_cave_carver_feature.json | 17 + .../overworld_underwater_magma_feature.json | 27 + ...le_garden_pale_oak_tree_feature_rules.json | 27 + ...en_surface_double_plant_feature_rules.json | 16 + ...surface_pale_moss_patch_feature_rules.json | 27 + ...rden_surface_tall_grass_feature_rules.json | 27 + ..._double_plant_sunflower_feature_rules.json | 32 + ...s_after_surface_flowers_feature_rules.json | 32 + ...fter_surface_tall_grass_feature_rules.json | 28 + ...ains_first_double_plant_grass_feature.json | 32 + ..._first_double_plant_sunflower_feature.json | 16 + .../plains_surface_flowers_feature.json | 16 + .../plains_surface_tall_grass_feature.json | 16 + .../plains_surface_trees_feature.json | 26 + ...a_hills_mutated_surface_trees_feature.json | 41 + ...d_taiga_mutated_surface_trees_feature.json | 41 + ..._after_surface_seagrass_feature_rules.json | 28 + .../river_surface_seagrass_feature.json | 16 + .../roofed_forest_first_foliage_feature.json | 30 + ...a_after_surface_flowers_feature_rules.json | 32 + ...fter_surface_tall_grass_feature_rules.json | 29 + ...anna_first_double_plant_grass_feature.json | 32 + ...fter_surface_tall_grass_feature_rules.json | 29 + ...na_mutated_surface_tall_grass_feature.json | 16 + ...savanna_mutated_surface_trees_feature.json | 31 + .../savanna_surface_flowers_feature.json | 16 + .../savanna_surface_tall_grass_feature.json | 16 + .../savanna_surface_trees_feature.json | 31 + .../feature_rules/sculk_patch_feature.json | 36 + .../feature_rules/sculk_vein_feature.json | 34 + .../small_dripstone_feature.json | 32 + .../surface_pass_large_dripstone_feature.json | 32 + ..._surface_brown_mushroom_feature_rules.json | 27 + ...after_surface_dead_bush_feature_rules.json | 27 + ...p_after_surface_flowers_feature_rules.json | 31 + ...er_surface_red_mushroom_feature_rules.json | 31 + ...amp_after_surface_reeds_feature_rules.json | 31 + ...fter_surface_tall_grass_feature_rules.json | 28 + ...after_surface_waterlily_feature_rules.json | 32 + .../swamp_surface_dead_bush_feature.json | 16 + .../swamp_surface_flowers_feature.json | 16 + .../swamp_surface_mushrooms_feature.json | 16 + .../swamp_surface_reeds_feature.json | 16 + .../swamp_surface_swamp_foliage_feature.json | 25 + .../swamp_surface_tall_grass_feature.json | 16 + .../swamp_surface_waterlily_feature.json | 16 + ..._surface_brown_mushroom_feature_rules.json | 32 + ...er_surface_red_mushroom_feature_rules.json | 32 + ...urface_sweet_berry_bush_feature_rules.json | 33 + ...fter_surface_tall_grass_feature_rules.json | 29 + ...taiga_first_double_plant_fern_feature.json | 31 + .../taiga_first_sweet_berry_bush_feature.json | 16 + .../taiga_surface_mushrooms_feature.json | 16 + .../taiga_surface_tall_grass_feature.json | 16 + .../taiga_surface_trees_feature.json | 31 + ...ean_after_surface_coral_crust_feature.json | 40 + ...arm_ocean_after_surface_coral_feature.json | 36 + ...cean_after_surface_coral_hang_feature.json | 36 + ...rm_ocean_after_surface_pickle_feature.json | 40 + .../features/amethyst_geode_feature.json | 42 + behavior_pack/features/andesite_feature.json | 24 + ...a_root_system_snap_to_ceiling_feature.json | 11 + .../features/azalea_tree_feature.json | 91 + behavior_pack/features/beehive_feature.json | 77 + .../features/beehive_search_feature.json | 15 + .../features/big_dripleaf_east_feature.json | 36 + .../features/big_dripleaf_north_feature.json | 36 + .../features/big_dripleaf_south_feature.json | 36 + .../features/big_dripleaf_west_feature.json | 36 + .../features/birch_tree_feature.json | 74 + behavior_pack/features/cave_vine_feature.json | 23 + .../features/cave_vine_in_moss_feature.json | 22 + .../cave_vine_snap_to_ceiling_feature.json | 11 + .../features/cherry_tree_feature.json | 84 + .../cherry_tree_with_beehive_feature.json | 13 + behavior_pack/features/clay_ore_feature.json | 19 + .../clay_pool_with_dripleaves_feature.json | 39 + .../clay_with_dripleaves_feature.json | 38 + behavior_pack/features/coal_ore_feature.json | 28 + .../features/coal_ore_upper_feature.json | 27 + .../features/cocoa_age_0_feature.json | 22 + .../features/cocoa_age_1_feature.json | 22 + .../features/cocoa_age_2_feature.json | 22 + .../features/copper_ore_feature.json | 27 + .../features/creaking_heart_feature.json | 28 + .../creaking_heart_search_feature.json | 18 + .../crimson_fungus_scatter_feature.json | 24 + .../crimson_roots_scatter_feature.json | 24 + .../deepslate_diamond_fossil_feature.json | 10 + behavior_pack/features/deepslate_feature.json | 21 + .../features/diamond_ore_buried_feature.json | 28 + .../features/diamond_ore_feature.json | 28 + .../features/diamond_ore_large_feature.json | 28 + behavior_pack/features/diorite_feature.json | 24 + .../dripstone_caves_copper_ore_feature.json | 27 + .../features/emerald_ore_feature.json | 27 + .../features/fallen_birch_tree_feature.json | 48 + .../features/fallen_jungle_tree_feature.json | 98 + .../features/fallen_oak_tree_feature.json | 52 + .../features/fallen_spruce_tree_feature.json | 48 + .../fallen_super_birch_tree_feature.json | 52 + .../features/fancy_oak_tree_feature.json | 63 + .../fern_double_plant_patch_feature.json | 24 + .../features/glow_lichen_feature.json | 19 + .../features/gold_ore_extra_feature.json | 27 + behavior_pack/features/gold_ore_feature.json | 28 + .../features/gold_ore_lower_feature.json | 28 + behavior_pack/features/granite_feature.json | 24 + .../grass_double_plant_lower_feature.json | 20 + .../grass_double_plant_patch_feature.json | 23 + .../features/gravel_ore_feature.json | 22 + behavior_pack/features/iron_ore_feature.json | 27 + .../features/iron_ore_small_feature.json | 27 + .../features/jungle_bush_feature.json | 63 + .../features/jungle_fern_feature.json | 19 + .../features/jungle_tall_grass_feature.json | 20 + .../features/jungle_tree_feature.json | 88 + .../features/lapis_ore_buried_feature.json | 28 + behavior_pack/features/lapis_ore_feature.json | 27 + .../mangrove_beehive_search_feature.json | 15 + .../features/mangrove_tree_feature.json | 134 + .../mangrove_tree_with_beenest_feature.json | 13 + .../features/mega_jungle_tree_feature.json | 89 + .../features/mega_pine_tree_feature.json | 66 + .../features/mega_spruce_tree_feature.json | 66 + .../features/moss_ceiling_feature.json | 43 + .../moss_ceiling_snap_to_ceiling_feature.json | 11 + .../features/moss_patch_bonemeal_feature.json | 41 + .../features/moss_patch_feature.json | 43 + .../moss_patch_snap_to_floor_feature.json | 11 + .../features/mountain_pine_tree_feature.json | 59 + .../mountain_spruce_tree_feature.json | 70 + .../nether_sprouts_scatter_feature.json | 25 + behavior_pack/features/oak_tree_feature.json | 74 + .../features/oak_tree_with_vines_feature.json | 129 + .../features/pale_hanging_moss_feature.json | 35 + ..._hanging_moss_snap_to_ceiling_feature.json | 19 + .../pale_moss_patch_bonemeal_feature.json | 41 + .../features/pale_moss_patch_feature.json | 41 + .../features/pale_oak_tree_feature.json | 88 + ...ecorations_and_creaking_heart_feature.json | 15 + ...ale_oak_tree_with_decorations_feature.json | 14 + behavior_pack/features/pine_tree_feature.json | 57 + .../features/pink_petals_scatter_feature.json | 23 + .../features/random_cherry_tree_feature.json | 12 + .../random_clay_with_dripleaves_feature.json | 12 + ...with_dripleaves_snap_to_floor_feature.json | 11 + .../random_mangrove_tree_feature.json | 12 + .../random_pale_oak_tree_feature.json | 12 + .../features/redstone_ore_feature.json | 27 + .../features/roofed_tree_feature.json | 88 + .../roofed_tree_with_vines_feature.json | 146 + .../features/savanna_tree_feature.json | 85 + .../scatter_brown_mushroom_feature.json | 23 + .../features/scatter_eyeblossom_feature.json | 23 + .../features/scatter_fern_feature.json | 23 + .../scatter_flower_forest_flower_feature.json | 23 + .../scatter_jungle_plant_feature.json | 23 + .../scatter_meadow_flower_feature.json | 23 + .../scatter_overworld_flower_feature.json | 23 + .../scatter_pale_hanging_moss_feature.json | 21 + .../scatter_plains_flower_feature.json | 23 + .../scatter_red_mushroom_feature.json | 23 + .../scatter_swamp_flower_feature.json | 23 + .../features/scatter_taiga_plant_feature.json | 23 + ...l_grass_around_forest_foliage_feature.json | 23 + ...catter_tall_grass_around_tree_feature.json | 23 + .../features/scatter_tall_grass_feature.json | 23 + .../features/sculk_patch_feature.json | 16 + .../sculk_patch_feature_ancient_city.json | 20 + .../features/sculk_vein_feature.json | 25 + .../features/select_birch_tree_feature.json | 13 + .../features/select_jungle_plant_feature.json | 12 + .../select_standing_oak_tree_feature.json | 13 + .../features/select_taiga_plant_feature.json | 12 + .../features/silverfish_feature.json | 27 + .../features/small_dripstone_feature.json | 22 + ...all_dripstone_snap_to_surface_feature.json | 12 + .../features/spore_blossom_feature.json | 11 + ...spore_blossom_snap_to_ceiling_feature.json | 11 + .../features/spruce_tree_feature.json | 68 + .../spruce_tree_with_vines_feature.json | 122 + .../sunflower_double_plant_patch_feature.json | 23 + .../features/super_birch_tree_feature.json | 78 + .../features/swamp_tree_feature.json | 85 + .../features/tall_mangrove_tree_feature.json | 134 + ...ll_mangrove_tree_with_beenest_feature.json | 13 + behavior_pack/features/tuff_feature.json | 24 + .../undecorated_jungle_tree_feature.json | 74 + ...orated_jungle_tree_with_vines_feature.json | 129 + .../underground_cave_carver_feature.json | 16 + ...underground_extra_cave_carver_feature.json | 16 + .../underground_glow_lichen_feature.json | 10 + .../features/underwater_magma_feature.json | 12 + ...erwater_magma_snap_to_surface_feature.json | 13 + .../underwater_magma_underground_feature.json | 10 + .../vines_single_face_scatter_feature.json | 14 + .../warped_fungus_scatter_feature.json | 24 + .../warped_roots_scatter_feature.json | 24 + .../item_catalog/crafting_item_catalog.json | 2252 +++ behavior_pack/items/apple.json | 32 + behavior_pack/items/appleEnchanted.json | 46 + behavior_pack/items/baked_potato.json | 16 + behavior_pack/items/beef.json | 16 + behavior_pack/items/beetroot.json | 16 + behavior_pack/items/beetroot_seeds.json | 14 + behavior_pack/items/beetroot_soup.json | 18 + behavior_pack/items/black_bundle.json | 27 + behavior_pack/items/blue_bundle.json | 27 + behavior_pack/items/bread.json | 16 + behavior_pack/items/breeze_rod.json | 17 + behavior_pack/items/brown_bundle.json | 27 + behavior_pack/items/bundle.json | 27 + behavior_pack/items/camera.json | 20 + behavior_pack/items/carrot.json | 20 + behavior_pack/items/chicken.json | 24 + behavior_pack/items/chorus_fruit.json | 21 + behavior_pack/items/clownfish.json | 18 + behavior_pack/items/cooked_beef.json | 16 + behavior_pack/items/cooked_chicken.json | 16 + behavior_pack/items/cooked_fish.json | 18 + behavior_pack/items/cooked_porkchop.json | 16 + behavior_pack/items/cooked_rabbit.json | 17 + behavior_pack/items/cooked_salmon.json | 18 + behavior_pack/items/cookie.json | 17 + behavior_pack/items/cyan_bundle.json | 27 + behavior_pack/items/dried_kelp.json | 17 + behavior_pack/items/fish.json | 19 + behavior_pack/items/glow_berries.json | 26 + behavior_pack/items/golden_apple.json | 34 + behavior_pack/items/golden_carrot.json | 17 + behavior_pack/items/gray_bundle.json | 27 + behavior_pack/items/green_bundle.json | 27 + behavior_pack/items/honey_bottle.json | 21 + behavior_pack/items/honeycomb.json | 8 + behavior_pack/items/light_blue_bundle.json | 27 + behavior_pack/items/light_gray_bundle.json | 27 + behavior_pack/items/lime_bundle.json | 27 + behavior_pack/items/magenta_bundle.json | 27 + behavior_pack/items/melon.json | 17 + behavior_pack/items/melon_seeds.json | 14 + behavior_pack/items/mushroom_stew.json | 19 + behavior_pack/items/muttonCooked.json | 17 + behavior_pack/items/muttonRaw.json | 17 + behavior_pack/items/nether_wart.json | 15 + behavior_pack/items/ominous_trial_key.json | 17 + behavior_pack/items/orange_bundle.json | 27 + behavior_pack/items/pink_bundle.json | 27 + behavior_pack/items/pitcher_pod.json | 13 + behavior_pack/items/poisonous_potato.json | 24 + behavior_pack/items/porkchop.json | 17 + behavior_pack/items/portfolio.json | 12 + behavior_pack/items/potato.json | 20 + behavior_pack/items/pufferfish.json | 36 + behavior_pack/items/pumpkin_pie.json | 16 + behavior_pack/items/pumpkin_seeds.json | 14 + behavior_pack/items/purple_bundle.json | 27 + behavior_pack/items/rabbit.json | 16 + behavior_pack/items/rabbit_stew.json | 19 + behavior_pack/items/red_bundle.json | 27 + behavior_pack/items/rotten_flesh.json | 24 + behavior_pack/items/salmon.json | 19 + behavior_pack/items/spider_eye.json | 25 + behavior_pack/items/suspicious_stew.json | 20 + behavior_pack/items/sweet_berries.json | 33 + behavior_pack/items/torchflower_seeds.json | 13 + behavior_pack/items/trial_key.json | 17 + behavior_pack/items/wheat_seeds.json | 14 + behavior_pack/items/white_bundle.json | 27 + behavior_pack/items/wind_charge.json | 29 + behavior_pack/items/yellow_bundle.json | 27 + .../chests/abandoned_mineshaft.json | 284 + .../loot_tables/chests/ancient_city.json | 416 + .../chests/ancient_city_ice_box.json | 99 + .../loot_tables/chests/bastion_bridge.json | 312 + .../chests/bastion_hoglin_stable.json | 347 + .../loot_tables/chests/bastion_other.json | 505 + .../loot_tables/chests/bastion_treasure.json | 335 + .../loot_tables/chests/buriedtreasure.json | 177 + .../loot_tables/chests/desert_pyramid.json | 249 + .../loot_tables/chests/dispenser_trap.json | 26 + .../loot_tables/chests/end_city_treasure.json | 326 + .../loot_tables/chests/igloo_chest.json | 93 + .../loot_tables/chests/jungle_temple.json | 162 + .../loot_tables/chests/monster_room.json | 119 + .../loot_tables/chests/nether_bridge.json | 131 + .../loot_tables/chests/pillager_outpost.json | 207 + .../loot_tables/chests/ruined_portal.json | 254 + .../loot_tables/chests/shipwreck.json | 101 + .../loot_tables/chests/shipwrecksupply.json | 254 + .../loot_tables/chests/shipwrecktreasure.json | 138 + .../loot_tables/chests/simple_dungeon.json | 263 + .../loot_tables/chests/spawn_bonus_chest.json | 458 + .../chests/stronghold_corridor.json | 201 + .../chests/stronghold_crossing.json | 131 + .../chests/stronghold_library.json | 72 + .../chests/trial_chambers/corridor.json | 167 + .../chests/trial_chambers/entrance.json | 76 + .../chests/trial_chambers/intersection.json | 129 + .../trial_chambers/intersection_barrel.json | 161 + .../chests/trial_chambers/reward.json | 48 + .../chests/trial_chambers/reward_common.json | 143 + .../chests/trial_chambers/reward_ominous.json | 48 + .../trial_chambers/reward_ominous_common.json | 87 + .../trial_chambers/reward_ominous_rare.json | 150 + .../trial_chambers/reward_ominous_unique.json | 34 + .../chests/trial_chambers/reward_rare.json | 220 + .../chests/trial_chambers/reward_unique.json | 34 + .../chests/trial_chambers/supply.json | 219 + .../chests/underwater_ruin_big.json | 110 + .../chests/underwater_ruin_small.json | 91 + .../chests/village/village_armorer.json | 48 + .../chests/village/village_butcher.json | 86 + .../chests/village/village_cartographer.json | 73 + .../chests/village/village_desert_house.json | 99 + .../chests/village/village_fletcher.json | 87 + .../chests/village/village_mason.json | 66 + .../chests/village/village_plains_house.json | 113 + .../chests/village/village_savanna_house.json | 113 + .../chests/village/village_shepherd.json | 105 + .../chests/village/village_snowy_house.json | 113 + .../chests/village/village_taiga_house.json | 133 + .../chests/village/village_tannery.json | 76 + .../chests/village/village_temple.json | 97 + .../chests/village/village_toolsmith.json | 103 + .../chests/village/village_weaponsmith.json | 157 + .../chests/village_blacksmith.json | 160 + .../chests/village_two_room_house.json | 93 + .../loot_tables/chests/woodland_mansion.json | 287 + .../dispensers/trial_chambers/chamber.json | 202 + .../dispensers/trial_chambers/corridor.json | 23 + .../dispensers/trial_chambers/water.json | 20 + behavior_pack/loot_tables/empty.json | 1 + .../loot_tables/entities/armadillo_brush.json | 13 + .../loot_tables/entities/armor_set_chain.json | 98 + .../entities/armor_set_diamond.json | 98 + .../loot_tables/entities/armor_set_gold.json | 98 + .../loot_tables/entities/armor_set_iron.json | 98 + .../entities/armor_set_leather.json | 100 + .../loot_tables/entities/armor_stand.json | 6 + behavior_pack/loot_tables/entities/bat.json | 1 + behavior_pack/loot_tables/entities/blaze.json | 35 + behavior_pack/loot_tables/entities/boat.json | 6 + .../loot_tables/entities/bogged.json | 92 + .../loot_tables/entities/bogged_shear.json | 37 + .../loot_tables/entities/breeze.json | 35 + .../entities/brown_mooshroom_shear.json | 26 + behavior_pack/loot_tables/entities/cat.json | 23 + .../loot_tables/entities/cat_gift.json | 44 + .../loot_tables/entities/cave_spider.json | 61 + .../loot_tables/entities/chicken.json | 61 + .../loot_tables/entities/clownfish.json | 1 + .../cold_ocean_ruins_brushable_block.json | 62 + behavior_pack/loot_tables/entities/cow.json | 68 + .../loot_tables/entities/creeper.json | 207 + .../desert_pyramid_brushable_block.json | 52 + .../entities/desert_well_brushable_block.json | 51 + .../loot_tables/entities/dolphin.json | 42 + .../loot_tables/entities/drowned.json | 51 + .../entities/drowned_equipment.json | 36 + .../entities/drowned_ranged_equipment.json | 30 + .../loot_tables/entities/elder_guardian.json | 116 + .../entities/empty_brushable_block.json | 1 + .../loot_tables/entities/enderman.json | 30 + .../loot_tables/entities/endermite.json | 1 + .../entities/evocation_illager.json | 49 + behavior_pack/loot_tables/entities/fish.json | 54 + .../loot_tables/entities/fox_equipment.json | 50 + behavior_pack/loot_tables/entities/frog.json | 80 + behavior_pack/loot_tables/entities/ghast.json | 56 + behavior_pack/loot_tables/entities/giant.json | 1 + .../loot_tables/entities/glow_squid.json | 34 + behavior_pack/loot_tables/entities/goat.json | 1 + .../loot_tables/entities/guardian.json | 87 + .../loot_tables/entities/hoglin.json | 68 + behavior_pack/loot_tables/entities/horse.json | 29 + .../loot_tables/entities/iron_golem.json | 42 + behavior_pack/loot_tables/entities/llama.json | 29 + .../loot_tables/entities/magma_cube.json | 30 + .../loot_tables/entities/mooshroom.json | 68 + .../loot_tables/entities/mooshroom_shear.json | 26 + .../loot_tables/entities/ocelot.json | 1 + behavior_pack/loot_tables/entities/panda.json | 30 + .../loot_tables/entities/panda_sneeze.json | 14 + .../loot_tables/entities/parrot.json | 23 + .../loot_tables/entities/phantom.json | 35 + behavior_pack/loot_tables/entities/pig.json | 42 + .../loot_tables/entities/pig_saddled.json | 61 + .../loot_tables/entities/piglin_barter.json | 238 + .../entities/piglin_brute_gear.json | 14 + .../entities/piglin_gear_melee.json | 50 + .../entities/piglin_gear_ranged.json | 50 + .../loot_tables/entities/pillager.json | 30 + .../entities/pillager_captain.json | 32 + .../entities/pillager_captain_equipment.json | 43 + .../loot_tables/entities/pillager_gear.json | 27 + .../loot_tables/entities/pillager_raid.json | 22 + .../loot_tables/entities/polar_bear.json | 80 + .../loot_tables/entities/pufferfish.json | 40 + .../loot_tables/entities/rabbit.json | 81 + .../loot_tables/entities/raider_drops.json | 261 + .../loot_tables/entities/ravager.json | 18 + .../loot_tables/entities/salmon_large.json | 61 + .../loot_tables/entities/salmon_normal.json | 54 + .../loot_tables/entities/sea_turtle.json | 30 + behavior_pack/loot_tables/entities/sheep.json | 57 + .../loot_tables/entities/sheep_shear.json | 26 + .../loot_tables/entities/sheep_sheared.json | 42 + .../loot_tables/entities/shulker.json | 30 + .../loot_tables/entities/silverfish.json | 1 + .../loot_tables/entities/skeleton.json | 56 + .../loot_tables/entities/skeleton_gear.json | 69 + .../loot_tables/entities/skeleton_horse.json | 30 + behavior_pack/loot_tables/entities/slime.json | 30 + .../entities/snow_golem_shear.json | 15 + .../loot_tables/entities/snowman.json | 23 + .../loot_tables/entities/spider.json | 61 + behavior_pack/loot_tables/entities/squid.json | 34 + behavior_pack/loot_tables/entities/stray.json | 92 + .../loot_tables/entities/strider.json | 23 + .../loot_tables/entities/strider_saddled.json | 42 + .../trail_ruins_brushable_block_common.json | 167 + .../trail_ruins_brushable_block_rare.json | 72 + .../loot_tables/entities/tropicalfish.json | 40 + .../loot_tables/entities/vex_gear.json | 14 + .../entities/vindication_illager.json | 35 + .../vindicator_captain_equipment.json | 43 + .../loot_tables/entities/vindicator_gear.json | 27 + .../loot_tables/entities/vindicator_raid.json | 22 + .../loot_tables/entities/warden.json | 13 + .../warm_ocean_ruins_brushable_block.json | 62 + behavior_pack/loot_tables/entities/witch.json | 164 + .../loot_tables/entities/wither_boss.json | 15 + .../loot_tables/entities/wither_skeleton.json | 82 + .../entities/wither_skeleton_gear.json | 14 + behavior_pack/loot_tables/entities/wolf.json | 1 + .../loot_tables/entities/zoglin.json | 30 + .../loot_tables/entities/zombie.json | 60 + .../entities/zombie_equipment.json | 93 + .../loot_tables/entities/zombie_horse.json | 30 + .../loot_tables/entities/zombie_pigman.json | 76 + .../entities/zombie_pigman_gear.json | 27 + .../entities/zombified_piglin_rider_gear.json | 14 + .../loot_tables/equipment/low_tier_items.json | 42 + .../loot_tables/equipment/trial_chamber.json | 24 + .../equipment/trial_chamber_chainmail.json | 82 + .../equipment/trial_chamber_diamond.json | 82 + .../equipment/trial_chamber_iron.json | 82 + .../equipment/trial_chamber_melee.json | 61 + .../equipment/trial_chamber_ranged.json | 56 + .../gameplay/entities/mooshroom_milking.json | 306 + .../gameplay/entities/sniffer_seeds.json | 19 + .../loot_tables/gameplay/fishing.json | 27 + .../loot_tables/gameplay/fishing/fish.json | 29 + .../gameplay/fishing/jungle_fish.json | 19 + .../gameplay/fishing/jungle_junk.json | 112 + .../loot_tables/gameplay/fishing/junk.json | 92 + .../gameplay/fishing/treasure.json | 79 + .../loot_tables/gameplay/jungle_fishing.json | 27 + .../pots/trial_chambers/corridor.json | 103 + .../ominous/trial_chamber/consumables.json | 81 + .../spawners/ominous/trial_chamber/key.json | 14 + .../spawners/trial_chamber/consumables.json | 78 + .../items_to_drop_when_ominous.json | 188 + .../spawners/trial_chamber/key.json | 14 + behavior_pack/recipes/acacia_boat.json | 26 + behavior_pack/recipes/acacia_chest_boat.json | 29 + behavior_pack/recipes/acacia_door.json | 31 + behavior_pack/recipes/acacia_fence.json | 32 + behavior_pack/recipes/acacia_fence_gate.json | 32 + .../recipes/acacia_hanging_sign.json | 32 + behavior_pack/recipes/acacia_planks.json | 29 + .../recipes/acacia_planks_from_stripped.json | 29 + .../acacia_planks_from_stripped_wood.json | 29 + .../recipes/acacia_planks_from_wood.json | 29 + behavior_pack/recipes/acacia_stairs.json | 31 + behavior_pack/recipes/acacia_wood.json | 30 + .../recipes/acacia_wood_stripped.json | 30 + behavior_pack/recipes/acacia_wooden_slab.json | 29 + behavior_pack/recipes/activator_rail.json | 36 + behavior_pack/recipes/amethyst_block.json | 30 + behavior_pack/recipes/andesite.json | 28 + behavior_pack/recipes/andesite_stairs.json | 30 + behavior_pack/recipes/andesite_wall.json | 29 + behavior_pack/recipes/anvil.json | 33 + behavior_pack/recipes/armor_stand.json | 32 + behavior_pack/recipes/arrow.json | 39 + behavior_pack/recipes/bamboo_block.json | 29 + behavior_pack/recipes/bamboo_button.json | 25 + behavior_pack/recipes/bamboo_chest_raft.json | 28 + behavior_pack/recipes/bamboo_door.json | 29 + behavior_pack/recipes/bamboo_fence.json | 30 + behavior_pack/recipes/bamboo_fence_gate.json | 30 + .../recipes/bamboo_hanging_sign.json | 32 + behavior_pack/recipes/bamboo_mosaic.json | 27 + behavior_pack/recipes/bamboo_mosaic_slab.json | 27 + .../recipes/bamboo_mosiac_stairs.json | 29 + behavior_pack/recipes/bamboo_planks.json | 27 + .../recipes/bamboo_planks_from_stripped.json | 27 + .../recipes/bamboo_pressure_plate.json | 25 + behavior_pack/recipes/bamboo_raft.json | 25 + behavior_pack/recipes/bamboo_sign.json | 32 + behavior_pack/recipes/bamboo_slab.json | 27 + behavior_pack/recipes/bamboo_stairs.json | 29 + behavior_pack/recipes/bamboo_trapdoor.json | 30 + .../recipes/banner_pattern_bricks.json | 29 + .../recipes/banner_pattern_creeper.json | 31 + .../recipes/banner_pattern_flower.json | 29 + .../recipes/banner_pattern_skull.json | 31 + .../recipes/banner_pattern_thing.json | 29 + .../recipes/banner_pattern_vines.json | 29 + behavior_pack/recipes/barrel.json | 34 + behavior_pack/recipes/barrel_deprecated.json | 26 + .../recipes/barrel_from_crimson_slab.json | 29 + .../barrel_from_crimson_slab_deprecated.json | 29 + .../recipes/barrel_from_mangrove_slab.json | 29 + .../barrel_from_mangrove_slab_deprecated.json | 29 + .../recipes/barrel_from_warped_slab.json | 29 + .../barrel_from_warped_slab_deprecated.json | 29 + .../recipes/barrel_with_tag_deprecated.json | 26 + .../recipes/basic_map_to_enhanced.json | 29 + behavior_pack/recipes/beacon.json | 35 + behavior_pack/recipes/beehive.json | 31 + .../recipes/beehive_from_crimson_planks.json | 29 + .../recipes/beehive_from_mangrove_planks.json | 29 + .../recipes/beehive_from_warped_planks.json | 29 + behavior_pack/recipes/beetroot_soup.json | 28 + behavior_pack/recipes/birch_boat.json | 26 + behavior_pack/recipes/birch_chest_boat.json | 28 + behavior_pack/recipes/birch_door.json | 31 + behavior_pack/recipes/birch_fence.json | 32 + behavior_pack/recipes/birch_fence_gate.json | 32 + behavior_pack/recipes/birch_hanging_sign.json | 32 + behavior_pack/recipes/birch_planks.json | 29 + .../recipes/birch_planks_from_stripped.json | 29 + .../birch_planks_from_stripped_wood.json | 29 + .../recipes/birch_planks_from_wood.json | 29 + behavior_pack/recipes/birch_stairs.json | 31 + behavior_pack/recipes/birch_wood.json | 30 + .../recipes/birch_wood_stripped.json | 30 + behavior_pack/recipes/birch_wooden_slab.json | 29 + behavior_pack/recipes/black_banner.json | 34 + behavior_pack/recipes/black_candle.json | 31 + .../recipes/black_candle_from_ink_sac.json | 31 + behavior_pack/recipes/black_carpet.json | 29 + .../recipes/black_carpet_from_white.json | 38 + .../recipes/black_concrete_powder.json | 58 + .../black_concrete_powder_from_ink_sac.json | 59 + .../recipes/black_dye_from_ink_sac.json | 28 + .../recipes/black_dye_from_wither_rose.json | 24 + .../recipes/black_stained_glass.json | 34 + .../black_stained_glass_from_ink_sac.json | 35 + .../recipes/black_stained_glass_pane.json | 30 + .../black_stained_glass_pane_from_pane.json | 37 + .../recipes/black_stained_hardened_clay.json | 34 + ...ck_stained_hardened_clay_from_ink_sac.json | 35 + behavior_pack/recipes/blackstone_slab.json | 26 + behavior_pack/recipes/blackstone_stairs.json | 28 + behavior_pack/recipes/blackstone_wall.json | 27 + behavior_pack/recipes/blast_furnace.json | 35 + behavior_pack/recipes/blaze_powder.json | 25 + behavior_pack/recipes/blue_banner.json | 34 + behavior_pack/recipes/blue_candle.json | 31 + .../blue_candle_from_lapis_lazuli.json | 31 + behavior_pack/recipes/blue_carpet.json | 29 + .../recipes/blue_carpet_from_white.json | 37 + .../recipes/blue_concrete_powder.json | 58 + ...lue_concrete_powder_from_lapis_lazuli.json | 59 + .../recipes/blue_dye_from_cornflower.json | 26 + .../recipes/blue_dye_from_lapis_lazuli.json | 28 + behavior_pack/recipes/blue_ice.json | 30 + behavior_pack/recipes/blue_stained_glass.json | 34 + .../blue_stained_glass_from_lapis_lazuli.json | 35 + .../recipes/blue_stained_glass_pane.json | 30 + .../blue_stained_glass_pane_from_pane.json | 37 + .../recipes/blue_stained_hardened_clay.json | 34 + ...ained_hardened_clay_from_lapis_lazuli.json | 35 + behavior_pack/recipes/boat.json | 26 + ...rmor_trim_smithing_template_duplicate.json | 34 + ...rim_smithing_template_duplicate_waxed.json | 34 + behavior_pack/recipes/bone_block.json | 31 + .../recipes/bone_meal_from_block.json | 27 + .../recipes/bone_meal_from_bone.json | 27 + behavior_pack/recipes/book.json | 39 + behavior_pack/recipes/bookshelf.json | 34 + .../bookshelf_from_crimson_planks.json | 29 + .../bookshelf_from_mangrove_planks.json | 29 + .../recipes/bookshelf_from_warped_planks.json | 29 + behavior_pack/recipes/bow.json | 32 + behavior_pack/recipes/bowl.json | 36 + .../recipes/bowl_from_crimson_planks.json | 25 + .../recipes/bowl_from_mangrove_planks.json | 25 + .../recipes/bowl_from_warped_planks.json | 25 + behavior_pack/recipes/bread.json | 27 + .../recipes/brew_awkward_blaze_powder.json | 15 + .../recipes/brew_awkward_breeze_rod.json | 15 + .../brew_awkward_fermented_spider_eye.json | 15 + .../recipes/brew_awkward_ghast_tear.json | 15 + .../recipes/brew_awkward_golden_carrot.json | 15 + .../recipes/brew_awkward_magma_cream.json | 15 + .../brew_awkward_phantom_membrane.json | 15 + .../recipes/brew_awkward_puffer_fish.json | 15 + .../recipes/brew_awkward_rabbit_foot.json | 15 + .../recipes/brew_awkward_slime_block.json | 15 + .../recipes/brew_awkward_speckled_melon.json | 15 + .../recipes/brew_awkward_spider_eye.json | 15 + behavior_pack/recipes/brew_awkward_stone.json | 15 + behavior_pack/recipes/brew_awkward_sugar.json | 15 + .../recipes/brew_awkward_turtle_helmet.json | 15 + behavior_pack/recipes/brew_awkward_web.json | 15 + .../recipes/brew_fireresistance_redstone.json | 15 + .../recipes/brew_harming_glowstone_dust.json | 15 + .../brew_healing_fermented_spider_eye.json | 15 + .../recipes/brew_healing_glowstone_dust.json | 15 + .../recipes/brew_invisibility_red_stone.json | 15 + .../brew_leaping_fermented_spider_eye.json | 15 + .../recipes/brew_leaping_glow_stone.json | 15 + .../recipes/brew_leaping_red_stone.json | 15 + ...rew_long_leaping_fermented_spider_eye.json | 15 + ...rew_long_mundane_fermented_spider_eye.json | 15 + ...brew_long_poison_fermented_spider_eye.json | 15 + ...ew_long_strength_fermented_spider_eye.json | 15 + ..._longnightvision_fermented_spider_eye.json | 15 + ...ew_longswiftness_fermented_spider_eye.json | 15 + .../brew_mundane_fermented_spider_eye.json | 15 + ...brew_nightvision_fermented_spider_eye.json | 15 + .../recipes/brew_nightvision_redstone.json | 15 + .../brew_poison_fermented_spider_eye.json | 15 + .../recipes/brew_poison_glowstone_dust.json | 15 + .../recipes/brew_poison_redstone.json | 15 + .../recipes/brew_potion_sulphur.json | 15 + .../brew_regeneration_glowstone_dust.json | 15 + .../recipes/brew_regeneration_redstone.json | 15 + .../recipes/brew_slow_falling_redstone.json | 15 + .../recipes/brew_slowness_glowstone_dust.json | 15 + .../recipes/brew_slowness_redstone.json | 15 + .../brew_splash_potion_dragon_breath.json | 15 + .../brew_strength_fermented_spider_eye.json | 15 + .../recipes/brew_strength_glowstone_dust.json | 15 + .../recipes/brew_strength_redstone.json | 15 + ...w_strong_healing_fermented_spider_eye.json | 15 + ...ew_strong_poison_fermented_spider_eye.json | 15 + ..._strong_strength_fermented_spider_eye.json | 15 + .../brew_swiftness_fermented_spider_eye.json | 15 + .../brew_swiftness_glowstone_dust.json | 15 + .../recipes/brew_swiftness_redstone.json | 15 + .../brew_thick_fermented_spider_eye.json | 15 + .../brew_turtle_master_glowstone_dust.json | 15 + .../recipes/brew_turtle_master_redstone.json | 15 + .../recipes/brew_water_blaze_powder.json | 15 + .../brew_water_breathing_redstone.json | 15 + .../recipes/brew_water_breeze_rod.json | 15 + .../brew_water_fermented_spider_eye.json | 15 + .../recipes/brew_water_ghast_tear.json | 15 + .../recipes/brew_water_glow_stone.json | 15 + .../recipes/brew_water_magma_cream.json | 15 + .../recipes/brew_water_nether_wart.json | 15 + .../recipes/brew_water_rabbit_foot.json | 15 + .../recipes/brew_water_red_stone.json | 15 + .../recipes/brew_water_slime_block.json | 15 + .../recipes/brew_water_speckled_melon.json | 15 + .../recipes/brew_water_spider_eye.json | 15 + behavior_pack/recipes/brew_water_stone.json | 15 + behavior_pack/recipes/brew_water_sugar.json | 15 + behavior_pack/recipes/brew_water_web.json | 15 + .../recipes/brew_weakness_redstone.json | 15 + behavior_pack/recipes/brewing_stand.json | 30 + .../brewing_stand_from_blackstone.json | 25 + .../brewing_stand_from_cobbled_deepslate.json | 25 + behavior_pack/recipes/brick_block.json | 28 + behavior_pack/recipes/brick_stairs.json | 30 + behavior_pack/recipes/brick_wall.json | 29 + behavior_pack/recipes/brown_banner.json | 34 + behavior_pack/recipes/brown_candle.json | 31 + .../brown_candle_from_cocoa_beans.json | 31 + behavior_pack/recipes/brown_carpet.json | 29 + .../recipes/brown_carpet_from_white.json | 37 + .../recipes/brown_concrete_powder.json | 58 + ...rown_concrete_powder_from_cocoa_beans.json | 59 + .../recipes/brown_dye_from_cocoa_beans.json | 28 + .../recipes/brown_stained_glass.json | 34 + .../brown_stained_glass_from_cocoa_beans.json | 35 + .../recipes/brown_stained_glass_pane.json | 30 + .../brown_stained_glass_pane_from_pane.json | 37 + .../recipes/brown_stained_hardened_clay.json | 34 + ...tained_hardened_clay_from_cocoa_beans.json | 35 + behavior_pack/recipes/brush.json | 34 + behavior_pack/recipes/bucket.json | 28 + behavior_pack/recipes/bundle.json | 33 + behavior_pack/recipes/cake.json | 40 + .../recipes/calibrated_sculk_sensor.json | 30 + behavior_pack/recipes/campfire.json | 34 + behavior_pack/recipes/campfire_charcoal.json | 30 + .../recipes/campfire_from_charcoal_log2.json | 30 + .../campfire_from_charcoal_mangrove_log.json | 30 + .../campfire_from_charcoal_mangrove_wood.json | 30 + ...ire_from_charcoal_stripped_acacia_log.json | 30 + ...fire_from_charcoal_stripped_birch_log.json | 30 + ...e_from_charcoal_stripped_dark_oak_log.json | 30 + ...ire_from_charcoal_stripped_jungle_log.json | 30 + ...e_from_charcoal_stripped_mangrove_log.json | 28 + ..._from_charcoal_stripped_mangrove_wood.json | 30 + ...mpfire_from_charcoal_stripped_oak_log.json | 30 + ...ire_from_charcoal_stripped_spruce_log.json | 30 + .../recipes/campfire_from_charcoal_wood.json | 30 + .../recipes/campfire_from_crimson_stem.json | 32 + behavior_pack/recipes/campfire_from_log2.json | 31 + .../recipes/campfire_from_mangrove_log.json | 32 + .../recipes/campfire_from_mangrove_wood.json | 29 + .../campfire_from_stripped_acacia_log.json | 31 + .../campfire_from_stripped_birch_log.json | 31 + .../campfire_from_stripped_crimson_stem.json | 32 + .../campfire_from_stripped_dark_oak_log.json | 31 + .../campfire_from_stripped_jungle_log.json | 31 + .../campfire_from_stripped_mangrove_log.json | 28 + .../campfire_from_stripped_mangrove_wood.json | 32 + .../campfire_from_stripped_oak_log.json | 31 + .../campfire_from_stripped_spruce_log.json | 31 + .../campfire_from_stripped_warped_stem.json | 32 + .../recipes/campfire_from_warped_stem.json | 32 + behavior_pack/recipes/campfire_from_wood.json | 31 + behavior_pack/recipes/candle.json | 37 + behavior_pack/recipes/carrot_on_a_stick.json | 31 + behavior_pack/recipes/cartography_table.json | 31 + ...cartography_table_from_crimson_planks.json | 29 + ...artography_table_from_mangrove_planks.json | 29 + .../cartography_table_from_warped_planks.json | 29 + .../cartography_table_locator_map.json | 28 + .../recipes/cartography_table_map.json | 25 + behavior_pack/recipes/cauldron.json | 29 + behavior_pack/recipes/chain.json | 33 + behavior_pack/recipes/cherry_boat.json | 24 + behavior_pack/recipes/cherry_button.json | 25 + behavior_pack/recipes/cherry_chest_boat.json | 25 + behavior_pack/recipes/cherry_door.json | 29 + behavior_pack/recipes/cherry_fence.json | 30 + behavior_pack/recipes/cherry_fence_gate.json | 30 + .../recipes/cherry_hanging_sign.json | 32 + .../recipes/cherry_planks_from_log.json | 27 + .../cherry_planks_from_stripped_log.json | 27 + .../cherry_planks_from_stripped_wood.json | 27 + .../recipes/cherry_planks_from_wood.json | 27 + .../recipes/cherry_pressure_plate.json | 25 + behavior_pack/recipes/cherry_sign.json | 32 + behavior_pack/recipes/cherry_slab.json | 27 + behavior_pack/recipes/cherry_stairs.json | 29 + ...herry_stripped_wood_from_stripped_log.json | 28 + behavior_pack/recipes/cherry_trapdoor.json | 28 + .../recipes/cherry_wood_from_log.json | 28 + behavior_pack/recipes/chest.json | 28 + behavior_pack/recipes/chest_boat.json | 28 + .../recipes/chest_from_crimson_planks.json | 26 + .../recipes/chest_from_mangrove_planks.json | 26 + .../recipes/chest_from_warped_planks.json | 26 + behavior_pack/recipes/chest_minecart.json | 25 + behavior_pack/recipes/chiseled_bookshelf.json | 33 + behavior_pack/recipes/chiseled_deepslate.json | 29 + ...e_from_cobbled_deepslate_stonecutting.json | 28 + .../recipes/chiseled_nether_bricks.json | 26 + .../recipes/chiseled_polished_blackstone.json | 26 + .../chiseled_resin_bricks_from_slabs.json | 26 + behavior_pack/recipes/chiseled_tuff.json | 29 + .../recipes/chiseled_tuff_bricks.json | 29 + behavior_pack/recipes/clay.json | 28 + behavior_pack/recipes/clock.json | 32 + behavior_pack/recipes/coal.json | 29 + behavior_pack/recipes/coal_block.json | 31 + behavior_pack/recipes/coarse_dirt.json | 33 + ...rmor_trim_smithing_template_duplicate.json | 34 + .../recipes/cobbled_deepslate_slab.json | 29 + ...b_from_cobbled_deepslate_stonecutting.json | 28 + .../recipes/cobbled_deepslate_stairs.json | 31 + ...stairs_from_cobbled_deepslate_cutting.json | 28 + .../recipes/cobbled_deepslate_wall.json | 30 + ...l_from_cobbled_deepslate_stonecutting.json | 28 + behavior_pack/recipes/cobblestone_stairs.json | 30 + behavior_pack/recipes/cobblestone_wall.json | 29 + behavior_pack/recipes/cobweb_to_string.json | 20 + behavior_pack/recipes/comparator.json | 36 + behavior_pack/recipes/compass.json | 32 + behavior_pack/recipes/composter.json | 28 + .../recipes/composter_from_crimson_slab.json | 26 + .../recipes/composter_from_mangrove_slab.json | 26 + .../recipes/composter_from_warped_slab.json | 26 + behavior_pack/recipes/conduit.json | 35 + behavior_pack/recipes/cookie.json | 33 + .../recipes/copper_block_from_ingots.json | 31 + .../cracked_deepslate_bricks_furnace.json | 18 + .../cracked_deepslate_tiles_furnace.json | 18 + behavior_pack/recipes/crafter.json | 37 + behavior_pack/recipes/crafting_table.json | 26 + .../crafting_table_chiseled_copper.json | 29 + .../recipes/crafting_table_copper_bulb.json | 35 + .../recipes/crafting_table_copper_door.json | 30 + .../recipes/crafting_table_copper_grate.json | 28 + .../crafting_table_copper_trapdoor.json | 29 + .../recipes/crafting_table_cut_copper.json | 30 + .../crafting_table_cut_copper_slab.json | 29 + .../crafting_table_cut_copper_stairs.json | 31 + .../recipes/crafting_table_default.json | 27 + ...rafting_table_exposed_chiseled_copper.json | 29 + .../crafting_table_exposed_copper_bulb.json | 35 + .../crafting_table_exposed_copper_grate.json | 28 + .../crafting_table_exposed_cut_copper.json | 30 + ...rafting_table_exposed_cut_copper_slab.json | 29 + ...fting_table_exposed_cut_copper_stairs.json | 31 + .../crafting_table_from_crimson_planks.json | 25 + .../crafting_table_from_mangrove_planks.json | 25 + .../crafting_table_from_warped_planks.json | 25 + ...afting_table_oxidized_chiseled_copper.json | 29 + .../crafting_table_oxidized_copper_bulb.json | 35 + .../crafting_table_oxidized_copper_grate.json | 28 + .../crafting_table_oxidized_cut_copper.json | 30 + ...afting_table_oxidized_cut_copper_slab.json | 29 + ...ting_table_oxidized_cut_copper_stairs.json | 31 + .../crafting_table_waxed_chiseled_copper.json | 29 + .../crafting_table_waxed_copper_bulb.json | 35 + .../crafting_table_waxed_copper_door.json | 30 + .../crafting_table_waxed_copper_grate.json | 30 + .../crafting_table_waxed_cut_copper.json | 30 + .../crafting_table_waxed_cut_copper_slab.json | 29 + ...rafting_table_waxed_cut_copper_stairs.json | 31 + ...g_table_waxed_exposed_chiseled_copper.json | 29 + ...fting_table_waxed_exposed_copper_bulb.json | 35 + ...ting_table_waxed_exposed_copper_grate.json | 30 + ...afting_table_waxed_exposed_cut_copper.json | 30 + ...g_table_waxed_exposed_cut_copper_slab.json | 29 + ...table_waxed_exposed_cut_copper_stairs.json | 31 + ..._table_waxed_oxidized_chiseled_copper.json | 29 + ...ting_table_waxed_oxidized_copper_bulb.json | 35 + ...ing_table_waxed_oxidized_copper_grate.json | 30 + ...fting_table_waxed_oxidized_cut_copper.json | 30 + ..._table_waxed_oxidized_cut_copper_slab.json | 29 + ...able_waxed_oxidized_cut_copper_stairs.json | 31 + ...table_waxed_weathered_chiseled_copper.json | 29 + ...ing_table_waxed_weathered_copper_bulb.json | 35 + ...ng_table_waxed_weathered_copper_grate.json | 30 + ...ting_table_waxed_weathered_cut_copper.json | 30 + ...table_waxed_weathered_cut_copper_slab.json | 29 + ...ble_waxed_weathered_cut_copper_stairs.json | 31 + ...fting_table_weathered_chiseled_copper.json | 29 + .../crafting_table_weathered_copper_bulb.json | 35 + ...crafting_table_weathered_copper_grate.json | 28 + .../crafting_table_weathered_cut_copper.json | 30 + ...fting_table_weathered_cut_copper_slab.json | 29 + ...ing_table_weathered_cut_copper_stairs.json | 31 + behavior_pack/recipes/creaking_heart.json | 35 + behavior_pack/recipes/crimson_button.json | 29 + behavior_pack/recipes/crimson_door.json | 31 + behavior_pack/recipes/crimson_fence.json | 32 + behavior_pack/recipes/crimson_fence_gate.json | 32 + .../recipes/crimson_hanging_sign.json | 32 + behavior_pack/recipes/crimson_hyphae.json | 29 + .../recipes/crimson_hyphae_stripped.json | 29 + behavior_pack/recipes/crimson_planks.json | 27 + .../crimson_planks_from_crimson_hyphae.json | 27 + ...n_planks_from_stripped_crimson_hyphae.json | 27 + .../crimson_planks_from_stripped_log.json | 27 + .../recipes/crimson_pressure_plate.json | 29 + behavior_pack/recipes/crimson_sign.json | 33 + behavior_pack/recipes/crimson_slab.json | 29 + behavior_pack/recipes/crimson_stairs.json | 31 + behavior_pack/recipes/crimson_trapdoor.json | 30 + behavior_pack/recipes/crossbow.json | 44 + behavior_pack/recipes/cyan_banner.json | 34 + behavior_pack/recipes/cyan_candle.json | 31 + behavior_pack/recipes/cyan_carpet.json | 29 + .../recipes/cyan_carpet_from_white.json | 37 + .../recipes/cyan_concrete_powder.json | 58 + behavior_pack/recipes/cyan_dye.json | 36 + .../recipes/cyan_dye_from_lapis_lazuli.json | 37 + .../recipes/cyan_dye_from_pitcher_plant.json | 26 + behavior_pack/recipes/cyan_stained_glass.json | 34 + .../recipes/cyan_stained_glass_pane.json | 30 + .../cyan_stained_glass_pane_from_pane.json | 37 + .../recipes/cyan_stained_hardened_clay.json | 34 + behavior_pack/recipes/dark_oak_boat.json | 26 + .../recipes/dark_oak_chest_boat.json | 28 + behavior_pack/recipes/dark_oak_door.json | 31 + behavior_pack/recipes/dark_oak_fence.json | 32 + .../recipes/dark_oak_fence_gate.json | 32 + .../recipes/dark_oak_hanging_sign.json | 32 + behavior_pack/recipes/dark_oak_planks.json | 29 + .../dark_oak_planks_from_stripped.json | 29 + .../dark_oak_planks_from_stripped_wood.json | 29 + .../recipes/dark_oak_planks_from_wood.json | 29 + behavior_pack/recipes/dark_oak_stairs.json | 31 + behavior_pack/recipes/dark_oak_wood.json | 30 + .../recipes/dark_oak_wood_stripped.json | 30 + .../recipes/dark_oak_wooden_slab.json | 29 + behavior_pack/recipes/dark_prismarine.json | 32 + .../recipes/dark_prismarine_from_ink_sac.json | 33 + behavior_pack/recipes/daylight_detector.json | 37 + .../daylight_detector_from_crimson_slab.json | 32 + .../daylight_detector_from_mangrove_slab.json | 32 + .../daylight_detector_from_warped_slab.json | 32 + .../recipes/deepslate_brick_slab.json | 29 + ...b_from_cobbled_deepslate_stonecutting.json | 29 + ...ab_from_deepslate_bricks_stonecutting.json | 29 + ..._from_polished_deepslate_stonecutting.json | 29 + .../recipes/deepslate_brick_stairs.json | 31 + ...s_from_cobbled_deepslate_stonecutting.json | 29 + ...rs_from_deepslate_bricks_stonecutting.json | 29 + ...airs_from_polished_deepslate_stonecut.json | 29 + .../recipes/deepslate_brick_wall.json | 30 + ...l_from_cobbled_deepslate_stonecutting.json | 29 + ...ll_from_deepslate_bricks_stonecutting.json | 29 + ..._from_polished_deepslate_stonecutting.json | 29 + behavior_pack/recipes/deepslate_bricks.json | 30 + ...s_from_cobbled_deepslate_stonecutting.json | 29 + ..._from_polished_deepslate_stonecutting.json | 29 + behavior_pack/recipes/deepslate_furnace.json | 19 + .../recipes/deepslate_tile_slab.json | 29 + ...b_from_cobbled_deepslate_stonecutting.json | 29 + ...ab_from_deepslate_bricks_stonecutting.json | 29 + ...lab_from_deepslate_tiles_stonecutting.json | 29 + ..._from_polished_deepslate_stonecutting.json | 29 + .../recipes/deepslate_tile_stairs.json | 31 + ...s_from_cobbled_deepslate_stonecutting.json | 29 + ...rs_from_deepslate_bricks_stonecutting.json | 29 + ...irs_from_deepslate_tiles_stonecutting.json | 29 + ..._from_polished_deepslate_stonecutting.json | 29 + .../recipes/deepslate_tile_wall.json | 30 + ...l_from_cobbled_deepslate_stonecutting.json | 29 + ...ll_from_deepslate_bricks_stonecutting.json | 29 + ...all_from_deepslate_tiles_stonecutting.json | 29 + ..._from_polished_deepslate_stonecutting.json | 29 + behavior_pack/recipes/deepslate_tiles.json | 30 + ...s_from_cobbled_deepslate_stonecutting.json | 29 + ...es_from_deepslate_bricks_stonecutting.json | 29 + ..._from_polished_deepslate_stonecutting.json | 29 + .../recipes/deprecated_cobweb_to_string.json | 22 + behavior_pack/recipes/detector_rail.json | 36 + behavior_pack/recipes/diamond.json | 28 + behavior_pack/recipes/diamond_axe.json | 32 + behavior_pack/recipes/diamond_block.json | 29 + behavior_pack/recipes/diamond_boots.json | 28 + behavior_pack/recipes/diamond_chestplate.json | 29 + behavior_pack/recipes/diamond_helmet.json | 28 + behavior_pack/recipes/diamond_hoe.json | 32 + behavior_pack/recipes/diamond_leggings.json | 29 + behavior_pack/recipes/diamond_pickaxe.json | 32 + behavior_pack/recipes/diamond_shovel.json | 32 + behavior_pack/recipes/diamond_sword.json | 32 + behavior_pack/recipes/diorite.json | 32 + behavior_pack/recipes/diorite_stairs.json | 30 + behavior_pack/recipes/diorite_wall.json | 29 + behavior_pack/recipes/dispenser.json | 36 + behavior_pack/recipes/dried_kelp.json | 28 + behavior_pack/recipes/dried_kelp_block.json | 29 + behavior_pack/recipes/dripstone_block.json | 28 + ...ripstone_block_from_pointed_dripstone.json | 22 + behavior_pack/recipes/dropper.json | 33 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/emerald.json | 28 + behavior_pack/recipes/emerald_block.json | 29 + .../recipes/empty_map_to_enhanced.json | 29 + behavior_pack/recipes/enchanting_table.json | 35 + behavior_pack/recipes/end_brick_stairs.json | 30 + behavior_pack/recipes/end_brick_wall.json | 29 + behavior_pack/recipes/end_bricks.json | 29 + behavior_pack/recipes/end_crystal.json | 35 + behavior_pack/recipes/end_rod.json | 32 + behavior_pack/recipes/ender_chest.json | 32 + behavior_pack/recipes/ender_eye.json | 27 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/fence.json | 32 + behavior_pack/recipes/fence_gate.json | 32 + .../recipes/fermented_spider_eye.json | 30 + behavior_pack/recipes/fire_charge.json | 31 + .../recipes/fire_charge_charcoal.json | 25 + behavior_pack/recipes/fire_charge_coal.json | 25 + behavior_pack/recipes/fishing_rod.json | 32 + behavior_pack/recipes/fletching_table.json | 31 + .../fletching_table_from_crimson_planks.json | 29 + .../fletching_table_from_mangrove_planks.json | 29 + .../fletching_table_from_warped_planks.json | 29 + behavior_pack/recipes/flint_and_steel.json | 30 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/flower_pot.json | 28 + behavior_pack/recipes/furnace.json | 28 + .../recipes/furnace_acacia_wood.json | 14 + .../recipes/furnace_ancient_debris.json | 18 + behavior_pack/recipes/furnace_beef.json | 18 + behavior_pack/recipes/furnace_birch_wood.json | 14 + behavior_pack/recipes/furnace_cactus.json | 18 + .../recipes/furnace_chainmail_boots.json | 18 + .../recipes/furnace_chainmail_chestplate.json | 18 + .../recipes/furnace_chainmail_helmet.json | 18 + .../recipes/furnace_chainmail_leggings.json | 18 + behavior_pack/recipes/furnace_chicken.json | 18 + .../recipes/furnace_chorus_fruit.json | 18 + behavior_pack/recipes/furnace_clay.json | 18 + behavior_pack/recipes/furnace_clay_ball.json | 18 + behavior_pack/recipes/furnace_coal_ore.json | 18 + .../recipes/furnace_cobblestone.json | 18 + behavior_pack/recipes/furnace_copper.json | 18 + behavior_pack/recipes/furnace_copper_ore.json | 19 + .../furnace_cracked_nether_bricks.json | 16 + ...ce_cracked_polished_blackstone_bricks.json | 16 + .../recipes/furnace_dark_oak_wood.json | 14 + .../recipes/furnace_deepslate_coal_ore.json | 18 + .../recipes/furnace_deepslate_copper_ore.json | 19 + .../furnace_deepslate_diamond_ore.json | 18 + .../furnace_deepslate_emerald_ore.json | 18 + .../recipes/furnace_deepslate_gold_ore.json | 18 + .../recipes/furnace_deepslate_iron_ore.json | 18 + .../recipes/furnace_deepslate_lapis_ore.json | 18 + .../furnace_deepslate_redstone_ore.json | 18 + .../recipes/furnace_diamond_ore.json | 18 + .../recipes/furnace_emerald_ore.json | 18 + behavior_pack/recipes/furnace_fish.json | 17 + .../recipes/furnace_from_blackstone.json | 28 + .../furnace_from_cobbled_deepslate.json | 28 + behavior_pack/recipes/furnace_gold.json | 18 + behavior_pack/recipes/furnace_gold_ore.json | 18 + behavior_pack/recipes/furnace_golden_axe.json | 18 + .../recipes/furnace_golden_boots.json | 18 + .../recipes/furnace_golden_chestplate.json | 18 + .../recipes/furnace_golden_helmet.json | 18 + behavior_pack/recipes/furnace_golden_hoe.json | 18 + .../recipes/furnace_golden_leggings.json | 18 + .../recipes/furnace_golden_pickaxe.json | 18 + .../recipes/furnace_golden_shovel.json | 18 + .../recipes/furnace_golden_sword.json | 18 + .../recipes/furnace_horse_armor_gold.json | 18 + .../recipes/furnace_horse_armor_iron.json | 18 + behavior_pack/recipes/furnace_iron.json | 18 + behavior_pack/recipes/furnace_iron_axe.json | 18 + behavior_pack/recipes/furnace_iron_boots.json | 18 + .../recipes/furnace_iron_chestplate.json | 18 + .../recipes/furnace_iron_helmet.json | 18 + behavior_pack/recipes/furnace_iron_hoe.json | 18 + .../recipes/furnace_iron_leggings.json | 18 + behavior_pack/recipes/furnace_iron_ore.json | 18 + .../recipes/furnace_iron_pickaxe.json | 18 + .../recipes/furnace_iron_shovel.json | 18 + behavior_pack/recipes/furnace_iron_sword.json | 18 + .../recipes/furnace_jungle_wood.json | 14 + behavior_pack/recipes/furnace_kelp.json | 18 + behavior_pack/recipes/furnace_lapis_ore.json | 18 + behavior_pack/recipes/furnace_log.json | 20 + .../recipes/furnace_log2_acacia.json | 14 + .../recipes/furnace_log2_dark_oak.json | 14 + behavior_pack/recipes/furnace_log_birch.json | 14 + behavior_pack/recipes/furnace_log_jungle.json | 14 + .../recipes/furnace_log_mangrove.json | 11 + behavior_pack/recipes/furnace_log_oak.json | 14 + behavior_pack/recipes/furnace_log_spruce.json | 14 + .../recipes/furnace_mangrove_wood.json | 11 + behavior_pack/recipes/furnace_mutton_raw.json | 18 + .../recipes/furnace_nether_gold_ore.json | 18 + behavior_pack/recipes/furnace_netherrack.json | 18 + behavior_pack/recipes/furnace_oak_wood.json | 14 + behavior_pack/recipes/furnace_porkchop.json | 18 + behavior_pack/recipes/furnace_potato.json | 18 + .../recipes/furnace_quartz_block.json | 17 + behavior_pack/recipes/furnace_quartz_ore.json | 18 + behavior_pack/recipes/furnace_rabbit.json | 18 + behavior_pack/recipes/furnace_red_sand.json | 18 + .../recipes/furnace_red_sandstone.json | 20 + .../recipes/furnace_redstone_ore.json | 18 + .../recipes/furnace_resin_brick.json | 12 + behavior_pack/recipes/furnace_salmon.json | 18 + behavior_pack/recipes/furnace_sand.json | 21 + behavior_pack/recipes/furnace_sandstone.json | 20 + behavior_pack/recipes/furnace_sea_pickle.json | 18 + .../recipes/furnace_smooth_basalt.json | 18 + behavior_pack/recipes/furnace_sponge.json | 18 + .../recipes/furnace_spruce_wood.json | 14 + .../furnace_stained_hardened_clay0.json | 18 + .../furnace_stained_hardened_clay1.json | 18 + .../furnace_stained_hardened_clay10.json | 18 + .../furnace_stained_hardened_clay11.json | 18 + .../furnace_stained_hardened_clay12.json | 18 + .../furnace_stained_hardened_clay13.json | 18 + .../furnace_stained_hardened_clay14.json | 18 + .../furnace_stained_hardened_clay15.json | 18 + .../furnace_stained_hardened_clay2.json | 18 + .../furnace_stained_hardened_clay3.json | 18 + .../furnace_stained_hardened_clay4.json | 18 + .../furnace_stained_hardened_clay5.json | 18 + .../furnace_stained_hardened_clay6.json | 18 + .../furnace_stained_hardened_clay7.json | 18 + .../furnace_stained_hardened_clay8.json | 18 + .../furnace_stained_hardened_clay9.json | 18 + behavior_pack/recipes/furnace_stone.json | 17 + .../recipes/furnace_stone_brick.json | 17 + .../recipes/furnace_stripped_acacia_log.json | 14 + .../recipes/furnace_stripped_acacia_wood.json | 14 + .../recipes/furnace_stripped_birch_log.json | 14 + .../recipes/furnace_stripped_birch_wood.json | 14 + .../furnace_stripped_dark_oak_log.json | 14 + .../furnace_stripped_dark_oak_wood.json | 14 + .../recipes/furnace_stripped_jungle_log.json | 14 + .../recipes/furnace_stripped_jungle_wood.json | 14 + .../furnace_stripped_mangrove_log.json | 11 + .../furnace_stripped_mangrove_wood.json | 11 + .../recipes/furnace_stripped_oak_log.json | 14 + .../recipes/furnace_stripped_oak_wood.json | 14 + .../recipes/furnace_stripped_spruce_log.json | 14 + .../recipes/furnace_stripped_spruce_wood.json | 14 + behavior_pack/recipes/glass_bottle.json | 29 + behavior_pack/recipes/glass_pane.json | 29 + behavior_pack/recipes/glow_item_frame.json | 30 + behavior_pack/recipes/glowstone.json | 28 + behavior_pack/recipes/gold_block.json | 29 + .../recipes/gold_ingot_from_block.json | 29 + .../recipes/gold_ingot_from_nuggets.json | 30 + behavior_pack/recipes/gold_nugget.json | 28 + behavior_pack/recipes/golden_apple.json | 33 + behavior_pack/recipes/golden_axe.json | 32 + behavior_pack/recipes/golden_boots.json | 28 + behavior_pack/recipes/golden_carrot.json | 32 + behavior_pack/recipes/golden_chestplate.json | 29 + behavior_pack/recipes/golden_helmet.json | 28 + behavior_pack/recipes/golden_hoe.json | 32 + behavior_pack/recipes/golden_leggings.json | 29 + behavior_pack/recipes/golden_pickaxe.json | 32 + behavior_pack/recipes/golden_rail.json | 36 + behavior_pack/recipes/golden_shovel.json | 32 + behavior_pack/recipes/golden_sword.json | 32 + behavior_pack/recipes/granite.json | 27 + behavior_pack/recipes/granite_stairs.json | 30 + behavior_pack/recipes/granite_wall.json | 29 + behavior_pack/recipes/gray_banner.json | 34 + behavior_pack/recipes/gray_candle.json | 31 + behavior_pack/recipes/gray_carpet.json | 29 + .../recipes/gray_carpet_from_white.json | 37 + .../recipes/gray_concrete_powder.json | 58 + behavior_pack/recipes/gray_dye.json | 36 + .../recipes/gray_dye_from_black_bonemeal.json | 37 + .../gray_dye_from_closed_eyeblossom.json | 25 + .../recipes/gray_dye_from_ink_bonemeal.json | 37 + .../recipes/gray_dye_from_ink_white.json | 37 + behavior_pack/recipes/gray_stained_glass.json | 34 + .../recipes/gray_stained_glass_pane.json | 30 + .../gray_stained_glass_pane_from_pane.json | 37 + .../recipes/gray_stained_hardened_clay.json | 34 + behavior_pack/recipes/green_banner.json | 34 + behavior_pack/recipes/green_candle.json | 31 + behavior_pack/recipes/green_carpet.json | 29 + .../recipes/green_carpet_from_white.json | 37 + .../recipes/green_concrete_powder.json | 58 + .../recipes/green_stained_glass.json | 34 + .../recipes/green_stained_glass_pane.json | 30 + .../green_stained_glass_pane_from_pane.json | 37 + .../recipes/green_stained_hardened_clay.json | 34 + behavior_pack/recipes/grindstone.json | 33 + .../grindstone_from_crimson_planks.json | 28 + .../grindstone_from_crimson_planks2.json | 22 + .../grindstone_from_crimson_planks3.json | 22 + .../grindstone_from_crimson_planks4.json | 22 + .../grindstone_from_mangrove_planks.json | 28 + .../grindstone_from_mangrove_planks2.json | 22 + .../grindstone_from_mangrove_planks3.json | 22 + .../grindstone_from_mangrove_planks4.json | 22 + .../grindstone_from_warped_planks.json | 28 + .../grindstone_from_warped_planks2.json | 22 + .../grindstone_from_warped_planks3.json | 22 + .../grindstone_from_warped_planks4.json | 22 + behavior_pack/recipes/hay_block.json | 29 + .../heavy_weighted_pressure_plate.json | 27 + behavior_pack/recipes/honey_block.json | 28 + behavior_pack/recipes/honey_bottle.json | 36 + .../recipes/honey_bottle_to_sugar.json | 26 + behavior_pack/recipes/honeycomb_block.json | 27 + behavior_pack/recipes/hopper.json | 32 + behavior_pack/recipes/hopper_minecart.json | 25 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/ingots_from_copper.json | 29 + .../recipes/ingots_from_waxed_copper.json | 29 + behavior_pack/recipes/iron_axe.json | 32 + behavior_pack/recipes/iron_bars.json | 29 + behavior_pack/recipes/iron_block.json | 29 + behavior_pack/recipes/iron_boots.json | 28 + behavior_pack/recipes/iron_chestplate.json | 29 + behavior_pack/recipes/iron_door.json | 30 + behavior_pack/recipes/iron_helmet.json | 28 + behavior_pack/recipes/iron_hoe.json | 32 + .../recipes/iron_ingot_from_block.json | 29 + .../recipes/iron_ingot_from_nuggets.json | 30 + behavior_pack/recipes/iron_leggings.json | 29 + behavior_pack/recipes/iron_nugget.json | 28 + behavior_pack/recipes/iron_pickaxe.json | 32 + behavior_pack/recipes/iron_shovel.json | 32 + behavior_pack/recipes/iron_sword.json | 32 + behavior_pack/recipes/iron_trapdoor.json | 28 + behavior_pack/recipes/item_frame.json | 32 + behavior_pack/recipes/jukebox.json | 34 + .../recipes/jukebox_from_crimson_planks.json | 29 + .../recipes/jukebox_from_mangrove_planks.json | 29 + .../recipes/jukebox_from_warped_planks.json | 29 + behavior_pack/recipes/jungle_boat.json | 26 + behavior_pack/recipes/jungle_chest_boat.json | 28 + behavior_pack/recipes/jungle_door.json | 31 + behavior_pack/recipes/jungle_fence.json | 32 + behavior_pack/recipes/jungle_fence_gate.json | 32 + .../recipes/jungle_hanging_sign.json | 32 + behavior_pack/recipes/jungle_planks.json | 29 + .../recipes/jungle_planks_from_stripped.json | 29 + .../jungle_planks_from_stripped_wood.json | 29 + .../recipes/jungle_planks_from_wood.json | 29 + behavior_pack/recipes/jungle_stairs.json | 31 + behavior_pack/recipes/jungle_wood.json | 30 + .../recipes/jungle_wood_stripped.json | 30 + behavior_pack/recipes/jungle_wooden_slab.json | 29 + behavior_pack/recipes/ladder.json | 30 + behavior_pack/recipes/lantern.json | 36 + behavior_pack/recipes/lapis_block.json | 31 + behavior_pack/recipes/lapis_lazuli.json | 29 + behavior_pack/recipes/lead.json | 33 + behavior_pack/recipes/leather.json | 28 + behavior_pack/recipes/leather_boots.json | 28 + behavior_pack/recipes/leather_chestplate.json | 29 + behavior_pack/recipes/leather_helmet.json | 28 + .../recipes/leather_horse_armor.json | 29 + behavior_pack/recipes/leather_leggings.json | 29 + behavior_pack/recipes/lectern.json | 31 + .../recipes/lectern_from_crimson_slab.json | 29 + .../recipes/lectern_from_mangrove_slab.json | 29 + .../recipes/lectern_from_warped_slab.json | 29 + behavior_pack/recipes/lever.json | 31 + behavior_pack/recipes/light_blue_banner.json | 34 + behavior_pack/recipes/light_blue_candle.json | 31 + behavior_pack/recipes/light_blue_carpet.json | 29 + .../recipes/light_blue_carpet_from_white.json | 37 + .../recipes/light_blue_concrete_powder.json | 58 + behavior_pack/recipes/light_blue_dye.json | 38 + .../light_blue_dye_from_blue_bonemeal.json | 38 + .../light_blue_dye_from_blue_orchid.json | 26 + .../light_blue_dye_from_lapis_bonemeal.json | 38 + .../light_blue_dye_from_lapis_white.json | 38 + .../recipes/light_blue_stained_glass.json | 34 + .../light_blue_stained_glass_pane.json | 30 + ...ght_blue_stained_glass_pane_from_pane.json | 37 + .../light_blue_stained_hardened_clay.json | 34 + .../light_gray__carpet_from_white.json | 42 + behavior_pack/recipes/light_gray_banner.json | 34 + behavior_pack/recipes/light_gray_candle.json | 31 + behavior_pack/recipes/light_gray_carpet.json | 29 + .../recipes/light_gray_carpet_from_white.json | 37 + .../recipes/light_gray_concrete_powder.json | 58 + behavior_pack/recipes/light_gray_dye.json | 42 + .../light_gray_dye_from_azure_bluet.json | 27 + .../light_gray_dye_from_black_bonemeal.json | 42 + .../light_gray_dye_from_gray_bonemeal.json | 38 + .../light_gray_dye_from_gray_white.json | 38 + .../light_gray_dye_from_ink_bonemeal.json | 42 + .../light_gray_dye_from_ink_white.json | 42 + .../light_gray_dye_from_oxeye_daisy.json | 27 + .../light_gray_dye_from_white_tulip.json | 26 + .../recipes/light_gray_stained_glass.json | 34 + .../light_gray_stained_glass_pane.json | 30 + ...ght_gray_stained_glass_pane_from_pane.json | 37 + .../light_gray_stained_hardened_clay.json | 34 + .../light_weighted_pressure_plate.json | 27 + behavior_pack/recipes/lightning_rod.json | 31 + .../recipes/lime__carpet_from_white.json | 42 + behavior_pack/recipes/lime_banner.json | 34 + behavior_pack/recipes/lime_candle.json | 31 + behavior_pack/recipes/lime_carpet.json | 29 + .../recipes/lime_carpet_from_white.json | 37 + .../recipes/lime_concrete_powder.json | 58 + behavior_pack/recipes/lime_dye.json | 36 + .../recipes/lime_dye_from_bonemeal.json | 37 + behavior_pack/recipes/lime_stained_glass.json | 34 + .../recipes/lime_stained_glass_pane.json | 30 + .../lime_stained_glass_pane_from_pane.json | 37 + .../recipes/lime_stained_hardened_clay.json | 34 + behavior_pack/recipes/lit_pumpkin.json | 31 + behavior_pack/recipes/locator_map.json | 33 + behavior_pack/recipes/lodestone.json | 33 + behavior_pack/recipes/loom.json | 32 + .../recipes/loom_from_crimson_planks.json | 28 + .../recipes/loom_from_mangrove_planks.json | 28 + .../recipes/loom_from_warped_planks.json | 28 + behavior_pack/recipes/mace.json | 33 + behavior_pack/recipes/magenta_banner.json | 34 + behavior_pack/recipes/magenta_candle.json | 31 + behavior_pack/recipes/magenta_carpet.json | 29 + .../recipes/magenta_carpet_from_white.json | 37 + .../recipes/magenta_concrete_powder.json | 58 + behavior_pack/recipes/magenta_dye.json | 46 + .../recipes/magenta_dye_from_allium.json | 27 + .../magenta_dye_from_blue_ink_bonemeal.json | 50 + .../magenta_dye_from_blue_ink_white.json | 50 + .../magenta_dye_from_lapis_ink_bonemeal.json | 50 + .../magenta_dye_from_lapis_ink_white.json | 50 + .../magenta_dye_from_lapis_red_pink.json | 46 + .../recipes/magenta_dye_from_lilac.json | 26 + .../magenta_dye_from_purple_and_pink.json | 38 + .../recipes/magenta_stained_glass.json | 34 + .../recipes/magenta_stained_glass_pane.json | 30 + .../magenta_stained_glass_pane_from_pane.json | 37 + .../magenta_stained_hardened_clay.json | 34 + behavior_pack/recipes/magma.json | 28 + behavior_pack/recipes/magma_cream.json | 27 + behavior_pack/recipes/mangrove_boat.json | 25 + behavior_pack/recipes/mangrove_button.json | 25 + .../recipes/mangrove_chest_boat.json | 28 + behavior_pack/recipes/mangrove_door.json | 29 + behavior_pack/recipes/mangrove_fence.json | 30 + .../recipes/mangrove_fence_gate.json | 30 + .../recipes/mangrove_hanging_sign.json | 32 + behavior_pack/recipes/mangrove_planks.json | 27 + .../mangrove_planks_from_stripped_log.json | 27 + .../mangrove_planks_from_stripped_wood.json | 27 + .../recipes/mangrove_planks_from_wood.json | 27 + .../recipes/mangrove_pressure_plate.json | 25 + behavior_pack/recipes/mangrove_sign.json | 32 + behavior_pack/recipes/mangrove_slab.json | 27 + behavior_pack/recipes/mangrove_stairs.json | 29 + behavior_pack/recipes/mangrove_trapdoor.json | 30 + behavior_pack/recipes/mangrove_wood.json | 28 + .../recipes/mangrove_wood_stripped.json | 28 + behavior_pack/recipes/map.json | 30 + behavior_pack/recipes/melon_block.json | 29 + behavior_pack/recipes/melon_seeds.json | 27 + behavior_pack/recipes/minecart.json | 28 + behavior_pack/recipes/moss_carpet.json | 27 + behavior_pack/recipes/mossy_cobblestone.json | 27 + .../recipes/mossy_cobblestone_from_moss.json | 25 + .../recipes/mossy_cobblestone_stairs.json | 30 + .../recipes/mossy_cobblestone_wall.json | 29 + .../recipes/mossy_stone_brick_stairs.json | 30 + .../recipes/mossy_stone_brick_wall.json | 29 + behavior_pack/recipes/mossy_stonebrick.json | 27 + .../recipes/mossy_stonebrick_from_moss.json | 25 + behavior_pack/recipes/mud_brick_slab.json | 28 + behavior_pack/recipes/mud_brick_stairs.json | 30 + behavior_pack/recipes/mud_brick_wall.json | 29 + behavior_pack/recipes/mud_bricks.json | 29 + .../recipes/muddy_mangrove_roots.json | 25 + behavior_pack/recipes/mushroom_stew.json | 36 + behavior_pack/recipes/nether_brick.json | 28 + behavior_pack/recipes/nether_brick_fence.json | 32 + .../recipes/nether_brick_stairs.json | 30 + behavior_pack/recipes/nether_brick_wall.json | 29 + behavior_pack/recipes/nether_wart_block.json | 29 + behavior_pack/recipes/netherite_block.json | 29 + behavior_pack/recipes/netherite_ingot.json | 31 + .../recipes/netherite_ingot_from_block.json | 29 + ...e_upgrade_smithing_template_duplicate.json | 34 + behavior_pack/recipes/noteblock.json | 34 + .../noteblock_from_crimson_planks.json | 29 + .../noteblock_from_mangrove_planks.json | 29 + .../recipes/noteblock_from_warped_planks.json | 29 + behavior_pack/recipes/oak_fence.json | 32 + behavior_pack/recipes/oak_hanging_sign.json | 32 + behavior_pack/recipes/oak_planks.json | 29 + .../recipes/oak_planks_from_stripped.json | 29 + .../oak_planks_from_stripped_wood.json | 29 + .../recipes/oak_planks_from_wood.json | 29 + behavior_pack/recipes/oak_stairs.json | 31 + behavior_pack/recipes/oak_wood.json | 30 + behavior_pack/recipes/oak_wood_stripped.json | 30 + behavior_pack/recipes/oak_wooden_slab.json | 29 + behavior_pack/recipes/observer.json | 35 + behavior_pack/recipes/orange_banner.json | 34 + behavior_pack/recipes/orange_candle.json | 31 + behavior_pack/recipes/orange_carpet.json | 29 + .../recipes/orange_carpet_from_white.json | 37 + .../recipes/orange_concrete_powder.json | 58 + .../orange_dye_from_open_eyeblossom.json | 25 + .../recipes/orange_dye_from_orange_tulip.json | 26 + .../recipes/orange_dye_from_red_yellow.json | 37 + .../recipes/orange_dye_from_torchflower.json | 26 + .../recipes/orange_stained_glass.json | 34 + .../recipes/orange_stained_glass_pane.json | 30 + .../orange_stained_glass_pane_from_pane.json | 37 + .../recipes/orange_stained_hardened_clay.json | 34 + behavior_pack/recipes/packed_ice.json | 30 + behavior_pack/recipes/packed_mud.json | 27 + behavior_pack/recipes/painting.json | 78 + behavior_pack/recipes/pale_moss_carpet.json | 27 + behavior_pack/recipes/pale_oak_boat.json | 24 + behavior_pack/recipes/pale_oak_button.json | 25 + .../recipes/pale_oak_chest_boat.json | 25 + behavior_pack/recipes/pale_oak_door.json | 29 + behavior_pack/recipes/pale_oak_fence.json | 30 + .../recipes/pale_oak_fence_gate.json | 30 + .../recipes/pale_oak_hanging_sign.json | 32 + .../recipes/pale_oak_planks_from_log.json | 27 + .../pale_oak_planks_from_stripped_log.json | 27 + .../pale_oak_planks_from_stripped_wood.json | 27 + .../recipes/pale_oak_planks_from_wood.json | 27 + .../recipes/pale_oak_pressure_plate.json | 25 + behavior_pack/recipes/pale_oak_sign.json | 32 + behavior_pack/recipes/pale_oak_slab.json | 27 + behavior_pack/recipes/pale_oak_stairs.json | 29 + ...e_oak_stripped_wood_from_stripped_log.json | 28 + behavior_pack/recipes/pale_oak_trapdoor.json | 28 + .../recipes/pale_oak_wood_from_log.json | 28 + behavior_pack/recipes/paper.json | 28 + .../recipes/pillar_quartz_block.json | 32 + behavior_pack/recipes/pink_banner.json | 34 + behavior_pack/recipes/pink_candle.json | 31 + behavior_pack/recipes/pink_carpet.json | 29 + .../recipes/pink_carpet_from_white.json | 37 + .../recipes/pink_concrete_powder.json | 58 + behavior_pack/recipes/pink_dye.json | 37 + .../recipes/pink_dye_from_peony.json | 26 + .../recipes/pink_dye_from_pink_petals.json | 25 + .../recipes/pink_dye_from_pink_tulip.json | 26 + .../recipes/pink_dye_from_red_bonemeal.json | 37 + behavior_pack/recipes/pink_stained_glass.json | 34 + .../recipes/pink_stained_glass_pane.json | 30 + .../pink_stained_glass_pane_from_pane.json | 37 + .../recipes/pink_stained_hardened_clay.json | 34 + behavior_pack/recipes/piston.json | 41 + .../recipes/piston_from_crimson_planks.json | 36 + .../recipes/piston_from_mangrove_planks.json | 36 + .../recipes/piston_from_warped_planks.json | 36 + behavior_pack/recipes/polished_andesite.json | 29 + .../recipes/polished_andesite_stairs.json | 30 + behavior_pack/recipes/polished_basalt.json | 29 + .../recipes/polished_blackstone.json | 27 + .../polished_blackstone_brick_slab.json | 26 + .../polished_blackstone_brick_stairs.json | 28 + .../polished_blackstone_brick_wall.json | 27 + .../recipes/polished_blackstone_bricks.json | 27 + .../recipes/polished_blackstone_button.json | 25 + .../polished_blackstone_pressure_plate.json | 25 + .../recipes/polished_blackstone_slab.json | 26 + .../recipes/polished_blackstone_stairs.json | 28 + .../recipes/polished_blackstone_wall.json | 27 + behavior_pack/recipes/polished_deepslate.json | 30 + ...e_from_cobbled_deepslate_stonecutting.json | 28 + .../recipes/polished_deepslate_slab.json | 29 + ..._slab_from_cobbled_deepslate_stonecut.json | 28 + ..._slab_from_polished_deepslate_cutting.json | 28 + .../recipes/polished_deepslate_stairs.json | 31 + ...stairs_from_cobbled_deepslate_cutting.json | 28 + ...tairs_from_polished_deepslate_cutting.json | 28 + .../recipes/polished_deepslate_wall.json | 30 + ..._wall_from_cobbled_deepslate_stonecut.json | 28 + ...wall_from_polished_deepslate_stonecut.json | 28 + behavior_pack/recipes/polished_diorite.json | 29 + .../recipes/polished_diorite_stairs.json | 30 + behavior_pack/recipes/polished_granite.json | 29 + .../recipes/polished_granite_stairs.json | 30 + behavior_pack/recipes/polished_tuff.json | 29 + behavior_pack/recipes/polished_tuff_slab.json | 29 + .../recipes/polished_tuff_stairs.json | 31 + behavior_pack/recipes/polished_tuff_wall.json | 29 + behavior_pack/recipes/prismarine.json | 29 + behavior_pack/recipes/prismarine_bricks.json | 29 + behavior_pack/recipes/prismarine_stairs.json | 32 + .../recipes/prismarine_stairs_bricks.json | 30 + .../recipes/prismarine_stairs_dark.json | 30 + behavior_pack/recipes/prismarine_wall.json | 31 + behavior_pack/recipes/pumpkin_pie.json | 33 + behavior_pack/recipes/pumpkin_seeds.json | 28 + behavior_pack/recipes/purple_banner.json | 34 + behavior_pack/recipes/purple_candle.json | 31 + behavior_pack/recipes/purple_carpet.json | 29 + .../recipes/purple_carpet_from_white.json | 37 + .../recipes/purple_concrete_powder.json | 58 + behavior_pack/recipes/purple_dye.json | 36 + .../recipes/purple_dye_from_lapis_lazuli.json | 37 + .../recipes/purple_stained_glass.json | 34 + .../recipes/purple_stained_glass_pane.json | 30 + .../purple_stained_glass_pane_from_pane.json | 37 + .../recipes/purple_stained_hardened_clay.json | 34 + behavior_pack/recipes/purpur_block.json | 29 + behavior_pack/recipes/purpur_slab.json | 28 + behavior_pack/recipes/purpur_stairs.json | 30 + behavior_pack/recipes/quartz_block.json | 26 + behavior_pack/recipes/quartz_bricks.json | 29 + behavior_pack/recipes/quartz_pillar.json | 29 + behavior_pack/recipes/quartz_stairs.json | 32 + .../rabbit_stew_from_brown_mushroom.json | 37 + .../rabbit_stew_from_red_mushroom.json | 37 + behavior_pack/recipes/rail.json | 33 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/raw_copper.json | 28 + behavior_pack/recipes/raw_copper_block.json | 29 + behavior_pack/recipes/raw_gold.json | 28 + behavior_pack/recipes/raw_gold_block.json | 29 + behavior_pack/recipes/raw_iron.json | 28 + behavior_pack/recipes/raw_iron_block.json | 29 + behavior_pack/recipes/record_5.json | 31 + behavior_pack/recipes/recovery_compass.json | 34 + ...covery_compass_from_lodestone_compass.json | 34 + behavior_pack/recipes/red_banner.json | 34 + behavior_pack/recipes/red_candle.json | 31 + behavior_pack/recipes/red_carpet.json | 29 + .../recipes/red_carpet_from_white.json | 37 + .../recipes/red_concrete_powder.json | 58 + .../recipes/red_dye_from_beetroot.json | 24 + behavior_pack/recipes/red_dye_from_poppy.json | 24 + .../recipes/red_dye_from_rose_bush.json | 24 + behavior_pack/recipes/red_dye_from_tulip.json | 24 + behavior_pack/recipes/red_nether_brick.json | 31 + .../recipes/red_nether_brick_stairs.json | 30 + .../recipes/red_nether_brick_wall.json | 29 + behavior_pack/recipes/red_sandstone.json | 28 + .../recipes/red_sandstone_stairs.json | 32 + .../red_sandstone_stairs_from_chiseled.json | 30 + .../red_sandstone_stairs_from_cut.json | 30 + behavior_pack/recipes/red_sandstone_wall.json | 31 + behavior_pack/recipes/red_stained_glass.json | 34 + .../recipes/red_stained_glass_pane.json | 30 + .../red_stained_glass_pane_from_pane.json | 37 + .../recipes/red_stained_hardened_clay.json | 34 + behavior_pack/recipes/redstone.json | 28 + behavior_pack/recipes/redstone_block.json | 29 + behavior_pack/recipes/redstone_lamp.json | 32 + behavior_pack/recipes/redstone_torch.json | 31 + .../recipes/reducer_andesite_slab.json | 24 + .../reducer_andesite_slab_polished.json | 24 + .../recipes/reducer_andesite_stairs.json | 25 + .../reducer_andesite_stairs_polished.json | 25 + .../recipes/reducer_andesite_wall.json | 24 + .../recipes/reducer_bucket_lava.json | 48 + .../recipes/reducer_bucket_water.json | 28 + .../reducer_chiseled_quartz_block.json | 24 + behavior_pack/recipes/reducer_clay_block.json | 40 + behavior_pack/recipes/reducer_coal_block.json | 28 + behavior_pack/recipes/reducer_coal_gem.json | 28 + behavior_pack/recipes/reducer_coal_ore.json | 28 + .../recipes/reducer_cobblestone_block.json | 45 + .../reducer_cobblestone_block_mossy.json | 49 + .../recipes/reducer_cobblestone_slab.json | 45 + .../reducer_cobblestone_slab_mossy.json | 50 + .../recipes/reducer_cobblestone_stairs.json | 45 + .../reducer_cobblestone_stairs_mossy.json | 48 + .../recipes/reducer_cobblestone_wall.json | 44 + .../reducer_cobblestone_wall_mossy.json | 48 + .../recipes/reducer_diamond_block.json | 20 + .../recipes/reducer_diamond_gem.json | 20 + .../recipes/reducer_diamond_ore.json | 24 + .../recipes/reducer_diorite_slab.json | 24 + .../reducer_diorite_slab_polished.json | 24 + .../recipes/reducer_diorite_stairs.json | 25 + .../reducer_diorite_stairs_polished.json | 25 + .../recipes/reducer_diorite_wall.json | 24 + behavior_pack/recipes/reducer_dirt.json | 51 + .../recipes/reducer_emerald_block.json | 28 + .../recipes/reducer_emerald_gem.json | 28 + .../recipes/reducer_emerald_ore.json | 28 + behavior_pack/recipes/reducer_end_stone.json | 36 + behavior_pack/recipes/reducer_glowstone.json | 32 + .../recipes/reducer_glowstone_gem.json | 32 + behavior_pack/recipes/reducer_gold_block.json | 20 + behavior_pack/recipes/reducer_gold_ingot.json | 20 + .../recipes/reducer_gold_nugget.json | 20 + behavior_pack/recipes/reducer_gold_ore.json | 24 + .../recipes/reducer_granite_slab.json | 24 + .../reducer_granite_slab_polished.json | 24 + .../recipes/reducer_granite_stairs.json | 25 + .../reducer_granite_stairs_polished.json | 25 + .../recipes/reducer_granite_wall.json | 24 + behavior_pack/recipes/reducer_grass.json | 32 + behavior_pack/recipes/reducer_gravel.json | 24 + behavior_pack/recipes/reducer_ice.json | 24 + behavior_pack/recipes/reducer_ice_blue.json | 24 + behavior_pack/recipes/reducer_iron_block.json | 20 + behavior_pack/recipes/reducer_iron_ingot.json | 20 + .../recipes/reducer_iron_nugget.json | 20 + behavior_pack/recipes/reducer_iron_ore.json | 24 + .../recipes/reducer_lapis_block.json | 32 + behavior_pack/recipes/reducer_lapis_gem.json | 33 + behavior_pack/recipes/reducer_lapis_ore.json | 32 + behavior_pack/recipes/reducer_magma.json | 44 + behavior_pack/recipes/reducer_mycelium.json | 32 + behavior_pack/recipes/reducer_netherrack.json | 28 + behavior_pack/recipes/reducer_obsidian.json | 24 + behavior_pack/recipes/reducer_packed_ice.json | 24 + .../recipes/reducer_quartz_block.json | 24 + behavior_pack/recipes/reducer_quartz_gem.json | 25 + behavior_pack/recipes/reducer_quartz_ore.json | 24 + .../recipes/reducer_quartz_pillar.json | 24 + .../recipes/reducer_quartz_slab.json | 25 + .../recipes/reducer_quartz_slab_smooth.json | 25 + .../recipes/reducer_quartz_stairs.json | 25 + .../recipes/reducer_quartz_stairs_smooth.json | 25 + .../recipes/reducer_redstone_block.json | 24 + .../recipes/reducer_redstone_gem.json | 24 + .../recipes/reducer_redstone_ore.json | 24 + behavior_pack/recipes/reducer_sand_block.json | 24 + .../recipes/reducer_sand_block_red.json | 24 + .../recipes/reducer_sandstone_block.json | 27 + .../reducer_sandstone_block_chiseled.json | 24 + .../reducer_sandstone_block_chiseled_red.json | 25 + .../recipes/reducer_sandstone_block_cut.json | 24 + .../reducer_sandstone_block_cut_red.json | 26 + .../recipes/reducer_sandstone_block_red.json | 27 + .../reducer_sandstone_block_smooth.json | 24 + .../reducer_sandstone_block_smooth_red.json | 26 + .../recipes/reducer_sandstone_slab.json | 24 + .../recipes/reducer_sandstone_slab_cut.json | 24 + .../reducer_sandstone_slab_cut_red.json | 24 + .../recipes/reducer_sandstone_slab_red.json | 24 + .../reducer_sandstone_slab_smooth.json | 24 + .../reducer_sandstone_slab_smooth_red.json | 24 + .../recipes/reducer_sandstone_stairs.json | 24 + .../recipes/reducer_sandstone_stairs_red.json | 24 + .../reducer_sandstone_stairs_smooth.json | 24 + .../reducer_sandstone_stairs_smooth_red.json | 24 + .../recipes/reducer_sandstone_wall.json | 24 + .../recipes/reducer_sandstone_wall_red.json | 24 + .../recipes/reducer_smooth_quartz.json | 24 + behavior_pack/recipes/reducer_snow.json | 24 + behavior_pack/recipes/reducer_snow_layer.json | 24 + behavior_pack/recipes/reducer_snowball.json | 24 + behavior_pack/recipes/reducer_soul_sand.json | 32 + .../reducer_stone_block_all_group.json | 30 + .../recipes/reducer_terracotta_block.json | 41 + .../reducer_terracotta_block_all_colors.json | 43 + .../reducer_terracotta_glazed_black.json | 40 + .../reducer_terracotta_glazed_blue.json | 40 + .../reducer_terracotta_glazed_blue_light.json | 40 + .../reducer_terracotta_glazed_brown.json | 40 + .../reducer_terracotta_glazed_cyan.json | 40 + .../reducer_terracotta_glazed_gray.json | 40 + .../reducer_terracotta_glazed_green.json | 40 + .../reducer_terracotta_glazed_lime.json | 40 + .../reducer_terracotta_glazed_magenta.json | 40 + .../reducer_terracotta_glazed_orange.json | 40 + .../reducer_terracotta_glazed_pink.json | 40 + .../reducer_terracotta_glazed_purple.json | 40 + .../reducer_terracotta_glazed_red.json | 40 + .../reducer_terracotta_glazed_silver.json | 40 + .../reducer_terracotta_glazed_white.json | 40 + .../reducer_terracotta_glazed_yellow.json | 41 + .../reducer_wood_block_and stripped_all.json | 34 + .../recipes/reducer_wood_log_group1.json | 33 + .../recipes/reducer_wood_log_group2.json | 32 + .../recipes/reducer_wood_planks_all.json | 33 + .../recipes/reducer_wood_stairs_acacia.json | 28 + .../recipes/reducer_wood_stairs_birch.json | 28 + .../recipes/reducer_wood_stairs_dark_oak.json | 28 + .../recipes/reducer_wood_stairs_jungle.json | 28 + .../recipes/reducer_wood_stairs_oak.json | 28 + .../recipes/reducer_wood_stairs_spruce.json | 28 + .../reducer_wood_stripped_log_acacia.json | 28 + .../reducer_wood_stripped_log_birch.json | 28 + .../reducer_wood_stripped_log_dark_oak.json | 28 + .../reducer_wood_stripped_log_jungle.json | 28 + .../reducer_wood_stripped_log_oak.json | 28 + .../reducer_wood_stripped_log_spruce.json | 28 + .../reducer_wooden_slab_group_all.json | 32 + behavior_pack/recipes/repeater.json | 35 + behavior_pack/recipes/resin_block.json | 27 + behavior_pack/recipes/resin_brick_slab.json | 26 + behavior_pack/recipes/resin_brick_stairs.json | 28 + behavior_pack/recipes/resin_brick_wall.json | 27 + behavior_pack/recipes/resin_bricks.json | 26 + .../recipes/resin_clump_from_resin_block.json | 26 + behavior_pack/recipes/respawn_anchor.json | 31 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/sandstone.json | 30 + behavior_pack/recipes/sandstone_stairs.json | 32 + .../sandstone_stairs_from_chiseled.json | 30 + .../recipes/sandstone_stairs_from_cut.json | 30 + behavior_pack/recipes/sandstone_wall.json | 31 + behavior_pack/recipes/scaffolding.json | 33 + behavior_pack/recipes/sealantern.json | 32 + ...rmor_trim_smithing_template_duplicate.json | 34 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/shears.json | 28 + behavior_pack/recipes/shield.json | 31 + .../recipes/shield_from_crimson_planks.json | 29 + .../recipes/shield_from_mangrove_planks.json | 29 + .../recipes/shield_from_warped_planks.json | 29 + behavior_pack/recipes/shulker_box.json | 32 + behavior_pack/recipes/sign_acacia.json | 34 + behavior_pack/recipes/sign_birch.json | 34 + behavior_pack/recipes/sign_darkoak.json | 34 + behavior_pack/recipes/sign_jungle.json | 34 + behavior_pack/recipes/sign_oak.json | 34 + behavior_pack/recipes/sign_spruce.json | 34 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/slime.json | 29 + behavior_pack/recipes/slime_ball.json | 28 + .../recipes/smithing_armor_trim.json | 18 + .../recipes/smithing_netherite_axe.json | 13 + .../recipes/smithing_netherite_boots.json | 13 + .../smithing_netherite_chestplate.json | 13 + .../recipes/smithing_netherite_helmet.json | 13 + .../recipes/smithing_netherite_hoe.json | 13 + .../recipes/smithing_netherite_leggings.json | 13 + .../recipes/smithing_netherite_pickaxe.json | 13 + .../recipes/smithing_netherite_shovel.json | 13 + .../recipes/smithing_netherite_sword.json | 13 + behavior_pack/recipes/smithing_table.json | 31 + .../smithing_table_from_crimson_planks.json | 29 + .../smithing_table_from_mangrove_planks.json | 29 + .../smithing_table_from_warped_planks.json | 29 + behavior_pack/recipes/smoker.json | 31 + .../recipes/smoker_from_crimson_stem.json | 29 + behavior_pack/recipes/smoker_from_log2.json | 27 + .../recipes/smoker_from_mangrove_log.json | 29 + .../recipes/smoker_from_mangrove_wood.json | 29 + .../recipes/smoker_from_stripped_acacia.json | 27 + .../recipes/smoker_from_stripped_birch.json | 27 + .../smoker_from_stripped_crimson_stem.json | 29 + .../smoker_from_stripped_dark_oak.json | 27 + .../recipes/smoker_from_stripped_jungle.json | 27 + .../smoker_from_stripped_mangrove_log.json | 25 + .../smoker_from_stripped_mangrove_wood.json | 29 + .../recipes/smoker_from_stripped_oak.json | 27 + .../recipes/smoker_from_stripped_spruce.json | 27 + .../smoker_from_stripped_warped_stem.json | 29 + .../recipes/smoker_from_warped_stem.json | 29 + .../recipes/smooth_quartz_stairs.json | 28 + .../recipes/smooth_red_sandstone.json | 31 + .../recipes/smooth_red_sandstone_stairs.json | 30 + behavior_pack/recipes/smooth_sandstone.json | 31 + .../recipes/smooth_sandstone_stairs.json | 30 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/snow.json | 28 + behavior_pack/recipes/snow_layer.json | 28 + behavior_pack/recipes/soul_campfire.json | 37 + .../soul_campfire_from_crimson_stem.json | 32 + .../soul_campfire_from_crimson_stem2.json | 32 + .../soul_campfire_from_mangrove_log.json | 32 + .../soul_campfire_from_mangrove_log2.json | 32 + .../soul_campfire_from_mangrove_wood.json | 32 + .../soul_campfire_from_mangrove_wood2.json | 32 + .../recipes/soul_campfire_from_soul_sand.json | 32 + ...soul_campfire_from_soul_sand_and_log2.json | 32 + ...rom_soul_sand_and_stripped_acacia_log.json | 32 + ...from_soul_sand_and_stripped_birch_log.json | 32 + ...m_soul_sand_and_stripped_dark_oak_log.json | 32 + ...rom_soul_sand_and_stripped_jungle_log.json | 32 + ...e_from_soul_sand_and_stripped_oak_log.json | 32 + ...rom_soul_sand_and_stripped_spruce_log.json | 32 + ...soul_campfire_from_soul_sand_and_wood.json | 32 + .../recipes/soul_campfire_from_soul_soil.json | 32 + ...soul_campfire_from_soul_soil_and_log2.json | 32 + ...rom_soul_soil_and_stripped_acacia_log.json | 32 + ...from_soul_soil_and_stripped_birch_log.json | 32 + ...m_soul_soil_and_stripped_dark_oak_log.json | 32 + ...rom_soul_soil_and_stripped_jungle_log.json | 32 + ...e_from_soul_soil_and_stripped_oak_log.json | 32 + ...rom_soul_soil_and_stripped_spruce_log.json | 32 + ...soul_campfire_from_soul_soil_and_wood.json | 32 + ...l_campfire_from_stripped_crimson_stem.json | 32 + ..._campfire_from_stripped_crimson_stem2.json | 32 + ...l_campfire_from_stripped_mangrove_log.json | 32 + ..._campfire_from_stripped_mangrove_log2.json | 32 + ..._campfire_from_stripped_mangrove_wood.json | 32 + ...campfire_from_stripped_mangrove_wood2.json | 32 + ...ul_campfire_from_stripped_warped_stem.json | 32 + ...l_campfire_from_stripped_warped_stem2.json | 32 + .../soul_campfire_from_warped_stem.json | 32 + .../soul_campfire_from_warped_stem2.json | 32 + behavior_pack/recipes/soul_lantern.json | 30 + behavior_pack/recipes/soul_torch.json | 35 + .../recipes/soul_torch_from_soul_sand.json | 29 + .../recipes/soul_torch_from_soul_soil.json | 29 + behavior_pack/recipes/speckled_melon.json | 32 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/spruce_boat.json | 26 + behavior_pack/recipes/spruce_chest_boat.json | 28 + behavior_pack/recipes/spruce_door.json | 31 + behavior_pack/recipes/spruce_fence.json | 32 + behavior_pack/recipes/spruce_fence_gate.json | 32 + .../recipes/spruce_hanging_sign.json | 32 + behavior_pack/recipes/spruce_planks.json | 29 + .../recipes/spruce_planks_from_stripped.json | 29 + .../spruce_planks_from_stripped_wood.json | 29 + .../recipes/spruce_planks_from_wood.json | 29 + behavior_pack/recipes/spruce_stairs.json | 31 + behavior_pack/recipes/spruce_wood.json | 30 + .../recipes/spruce_wood_stripped.json | 30 + behavior_pack/recipes/spruce_wooden_slab.json | 29 + behavior_pack/recipes/spyglass.json | 34 + behavior_pack/recipes/stick.json | 30 + .../recipes/stick_from_crimson_planks.json | 25 + .../recipes/stick_from_mangrove_planks.json | 25 + .../recipes/stick_from_warped_planks.json | 25 + behavior_pack/recipes/sticky_piston.json | 32 + behavior_pack/recipes/stone_axe.json | 31 + .../recipes/stone_axe_from_blackstone.json | 26 + .../stone_axe_from_cobbled_deepslate.json | 26 + behavior_pack/recipes/stone_brick_stairs.json | 30 + behavior_pack/recipes/stone_brick_wall.json | 29 + behavior_pack/recipes/stone_button.json | 29 + behavior_pack/recipes/stone_hoe.json | 31 + .../recipes/stone_hoe_from_blackstone.json | 26 + .../stone_hoe_from_cobbled_deepslate.json | 26 + behavior_pack/recipes/stone_pickaxe.json | 31 + .../stone_pickaxe_from_blackstone.json | 26 + .../stone_pickaxe_from_cobbled_deepslate.json | 26 + .../recipes/stone_pressure_plate.json | 29 + behavior_pack/recipes/stone_shovel.json | 31 + .../recipes/stone_shovel_from_blackstone.json | 26 + .../stone_shovel_from_cobbled_deepslate.json | 26 + behavior_pack/recipes/stone_stairs.json | 32 + behavior_pack/recipes/stone_sword.json | 31 + .../recipes/stone_sword_from_blackstone.json | 26 + .../stone_sword_from_cobbled_deepslate.json | 26 + behavior_pack/recipes/stonebrick.json | 31 + behavior_pack/recipes/stonecutter.json | 31 + .../recipes/stonecutter_andesite_slab.json | 27 + .../recipes/stonecutter_andesite_stairs.json | 28 + .../recipes/stonecutter_andesite_wall.json | 27 + ...utter_blackstone_slab_from_blackstone.json | 24 + ...ter_blackstone_stairs_from_blackstone.json | 24 + ...utter_blackstone_wall_from_blackstone.json | 24 + .../recipes/stonecutter_brick_slab.json | 27 + ...r_brick_slab_from_polished_blackstone.json | 24 + .../recipes/stonecutter_brick_stairs.json | 30 + ...brick_stairs_from_polished_blackstone.json | 24 + .../recipes/stonecutter_brick_wall.json | 27 + ...r_brick_wall_from_polished_blackstone.json | 24 + ...utter_bricks_from_polished_blackstone.json | 24 + ...ter_chiseled_from_polished_blackstone.json | 24 + ...seled_nether_bricks_from_nether_brick.json | 24 + ...ter_chiseled_polished_from_blackstone.json | 24 + .../recipes/stonecutter_cobblestone_slab.json | 27 + .../stonecutter_cobblestone_stairs.json | 30 + .../recipes/stonecutter_cobblestone_wall.json | 28 + ...utter_copper_block_to_chiseled_copper.json | 24 + ...necutter_copper_block_to_copper_grate.json | 24 + ...tonecutter_copper_block_to_cut_copper.json | 27 + ...utter_copper_block_to_cut_copper_slab.json | 27 + ...ter_copper_block_to_cut_copper_stairs.json | 27 + ...ecutter_cut_copper_to_chiseled_copper.json | 24 + ...ecutter_cut_copper_to_cut_copper_slab.json | 27 + ...utter_cut_copper_to_cut_copper_stairs.json | 26 + .../stonecutter_dark_prismarine_slab.json | 27 + .../stonecutter_dark_prismarine_stairs.json | 28 + .../recipes/stonecutter_diorite_slab.json | 27 + .../recipes/stonecutter_diorite_stairs.json | 28 + .../recipes/stonecutter_diorite_wall.json | 27 + .../recipes/stonecutter_endbrick_slab.json | 27 + .../recipes/stonecutter_endbrick_slab2.json | 27 + .../recipes/stonecutter_endbrick_stairs.json | 30 + .../recipes/stonecutter_endbrick_stairs2.json | 30 + .../recipes/stonecutter_endbrick_wall.json | 27 + .../recipes/stonecutter_endbrick_wall2.json | 27 + .../recipes/stonecutter_endbricks.json | 30 + ...exp_cut_copper_to_exp_chiseled_copper.json | 24 + ...er_exposed_copper_block_to_cut_copper.json | 27 + ...posed_copper_block_to_cut_copper_slab.json | 27 + ...sed_copper_block_to_cut_copper_stairs.json | 27 + ...sed_copper_to_exposed_chiseled_copper.json | 24 + ...xposed_copper_to_exposed_copper_grate.json | 24 + ...exposed_cut_copper_to_cut_copper_slab.json | 27 + ...posed_cut_copper_to_cut_copper_stairs.json | 26 + .../recipes/stonecutter_granite_slab.json | 27 + .../recipes/stonecutter_granite_stairs.json | 28 + .../recipes/stonecutter_granite_wall.json | 27 + .../stonecutter_mossy_cobblestone_slab.json | 27 + .../stonecutter_mossy_cobblestone_stairs.json | 30 + .../stonecutter_mossy_cobblestone_wall.json | 27 + .../stonecutter_mossy_stonebrick_slab.json | 27 + .../stonecutter_mossy_stonebrick_stairs.json | 28 + .../stonecutter_mossy_stonebrick_wall.json | 27 + .../recipes/stonecutter_mud_brick_slab.json | 27 + .../recipes/stonecutter_mud_brick_stairs.json | 27 + .../recipes/stonecutter_mud_brick_wall.json | 27 + .../stonecutter_nether_brick_slab.json | 27 + .../stonecutter_nether_brick_stairs.json | 29 + .../stonecutter_nether_brick_wall.json | 27 + ...oxi_cut_copper_to_oxi_chiseled_copper.json | 24 + ...r_oxidized_copper_block_to_cut_copper.json | 27 + ...dized_copper_block_to_cut_copper_slab.json | 27 + ...zed_copper_block_to_cut_copper_stairs.json | 27 + ...ed_copper_to_oxidized_chiseled_copper.json | 24 + ...dized_copper_to_oxidized_copper_grate.json | 24 + ...xidized_cut_copper_to_cut_copper_slab.json | 27 + ...dized_cut_copper_to_cut_copper_stairs.json | 26 + .../stonecutter_polished_andesite.json | 27 + .../stonecutter_polished_andesite_slab.json | 27 + .../stonecutter_polished_andesite_slab2.json | 27 + .../stonecutter_polished_andesite_stairs.json | 28 + ...stonecutter_polished_andesite_stairs2.json | 28 + ...onecutter_polished_basalt_from_basalt.json | 24 + ...r_polished_brick_slab_from_blackstone.json | 24 + ...polished_brick_stairs_from_blackstone.json | 25 + ...r_polished_brick_wall_from_blackstone.json | 24 + ...utter_polished_bricks_from_blackstone.json | 24 + .../recipes/stonecutter_polished_diorite.json | 27 + .../stonecutter_polished_diorite_slab.json | 27 + .../stonecutter_polished_diorite_slab2.json | 27 + .../stonecutter_polished_diorite_stairs.json | 28 + .../stonecutter_polished_diorite_stairs2.json | 28 + .../stonecutter_polished_from_blackstone.json | 24 + .../recipes/stonecutter_polished_granite.json | 27 + .../stonecutter_polished_granite_slab.json | 27 + .../stonecutter_polished_granite_slab2.json | 27 + .../stonecutter_polished_granite_stairs.json | 28 + .../stonecutter_polished_granite_stairs2.json | 28 + ...ecutter_polished_slab_from_blackstone.json | 24 + ...utter_polished_stairs_from_blackstone.json | 24 + ...polished_tuff_to_chiseled_tuff_bricks.json | 24 + ...r_polished_tuff_to_polished_tuff_slab.json | 24 + ...polished_tuff_to_polished_tuff_stairs.json | 24 + ...r_polished_tuff_to_polished_tuff_wall.json | 24 + ...tter_polished_tuff_to_tuff_brick_slab.json | 24 + ...er_polished_tuff_to_tuff_brick_stairs.json | 24 + ...tter_polished_tuff_to_tuff_brick_wall.json | 24 + ...necutter_polished_tuff_to_tuff_bricks.json | 24 + ...ecutter_polished_wall_from_blackstone.json | 24 + .../stonecutter_prismarine_brick_slab.json | 27 + .../stonecutter_prismarine_brick_stairs.json | 28 + .../recipes/stonecutter_prismarine_slab.json | 29 + .../stonecutter_prismarine_stairs.json | 30 + .../recipes/stonecutter_prismarine_wall.json | 29 + .../recipes/stonecutter_purpur_lines.json | 30 + .../recipes/stonecutter_purpur_pillar.json | 29 + .../recipes/stonecutter_purpur_slab.json | 29 + .../recipes/stonecutter_purpur_stairs.json | 30 + ...utter_quartz_bricks_from_quartz_block.json | 25 + .../recipes/stonecutter_quartz_chiseled.json | 27 + .../recipes/stonecutter_quartz_lines.json | 30 + .../recipes/stonecutter_quartz_pillar.json | 27 + .../recipes/stonecutter_quartz_slab.json | 29 + .../recipes/stonecutter_quartz_stairs.json | 30 + .../stonecutter_red_nether_brick_slab.json | 27 + .../stonecutter_red_nether_brick_stairs.json | 30 + .../stonecutter_red_nether_brick_wall.json | 27 + .../stonecutter_red_sandstone_cut.json | 29 + ...stonecutter_red_sandstone_heiroglyphs.json | 29 + .../stonecutter_red_sandstone_slab.json | 29 + .../stonecutter_red_sandstone_stairs.json | 30 + .../stonecutter_red_sandstone_wall.json | 29 + .../stonecutter_resin_brick_chiseled.json | 24 + .../recipes/stonecutter_resin_brick_slab.json | 24 + .../stonecutter_resin_brick_stairs.json | 24 + .../recipes/stonecutter_resin_brick_wall.json | 24 + .../recipes/stonecutter_sandstone_cut.json | 29 + .../stonecutter_sandstone_heiroglyphs.json | 29 + .../recipes/stonecutter_sandstone_slab.json | 29 + .../recipes/stonecutter_sandstone_stairs.json | 30 + .../recipes/stonecutter_sandstone_wall.json | 29 + ...ecutter_slab_from_polished_blackstone.json | 24 + ..._slab_from_polished_blackstone_bricks.json | 24 + .../stonecutter_smooth_quartz_slab.json | 25 + .../stonecutter_smooth_quartz_stairs.json | 26 + ...stonecutter_smooth_red_sandstone_slab.json | 27 + ...onecutter_smooth_red_sandstone_stairs.json | 28 + .../stonecutter_smooth_sandstone_slab.json | 27 + .../stonecutter_smooth_sandstone_stairs.json | 30 + .../stonecutter_smooth_stone_slab.json | 27 + ...utter_stairs_from_polished_blackstone.json | 24 + ...tairs_from_polished_blackstone_bricks.json | 24 + .../recipes/stonecutter_stone_slab.json | 29 + .../recipes/stonecutter_stone_stairs.json | 30 + .../recipes/stonecutter_stonebrick.json | 29 + .../stonecutter_stonebrick_chiseled.json | 29 + .../stonecutter_stonebrick_chiseled2.json | 27 + .../recipes/stonecutter_stonebrick_slab.json | 29 + .../recipes/stonecutter_stonebrick_slab2.json | 27 + .../stonecutter_stonebrick_stairs.json | 30 + .../stonecutter_stonebrick_stairs2.json | 28 + .../recipes/stonecutter_stonebrick_wall.json | 29 + .../recipes/stonecutter_stonebrick_wall2.json | 27 + ...r_tuff_bricks_to_chiseled_tuff_bricks.json | 24 + ...cutter_tuff_bricks_to_tuff_brick_slab.json | 24 + ...tter_tuff_bricks_to_tuff_brick_stairs.json | 24 + ...cutter_tuff_bricks_to_tuff_brick_wall.json | 24 + .../stonecutter_tuff_to_chiseled_tuff.json | 24 + ...necutter_tuff_to_chiseled_tuff_bricks.json | 24 + .../stonecutter_tuff_to_polished_tuff.json | 24 + ...tonecutter_tuff_to_polished_tuff_slab.json | 24 + ...necutter_tuff_to_polished_tuff_stairs.json | 24 + ...tonecutter_tuff_to_polished_tuff_wall.json | 24 + .../stonecutter_tuff_to_tuff_brick_slab.json | 24 + ...stonecutter_tuff_to_tuff_brick_stairs.json | 24 + .../stonecutter_tuff_to_tuff_brick_wall.json | 24 + .../stonecutter_tuff_to_tuff_bricks.json | 24 + .../stonecutter_tuff_to_tuff_slab.json | 24 + .../stonecutter_tuff_to_tuff_stairs.json | 24 + .../stonecutter_tuff_to_tuff_wall.json | 24 + ...necutter_w_copper_block_to_cut_copper.json | 27 + ...ter_w_copper_block_to_cut_copper_slab.json | 27 + ...r_w_copper_block_to_cut_copper_stairs.json | 27 + ...ecutter_w_copper_to_w_chiseled_copper.json | 26 + ...tonecutter_w_copper_to_w_copper_grate.json | 26 + ...utter_w_cut_copper_to_cut_copper_slab.json | 27 + ...ter_w_cut_copper_to_cut_copper_stairs.json | 26 + ..._w_exposed_copper_block_to_cut_copper.json | 27 + ...posed_copper_block_to_cut_copper_slab.json | 27 + ...sed_copper_block_to_cut_copper_stairs.json | 27 + ...d_copper_to_w_exposed_chiseled_copper.json | 26 + ...osed_copper_to_w_exposed_copper_grate.json | 26 + ...exposed_cut_copper_to_cut_copper_slab.json | 27 + ...posed_cut_copper_to_cut_copper_stairs.json | 26 + ...d_copper_2_w_oxidized_chiseled_copper.json | 26 + ...w_oxidized_copper_block_to_cut_copper.json | 27 + ...dized_copper_block_to_cut_copper_slab.json | 27 + ...zed_copper_block_to_cut_copper_stairs.json | 27 + ...zed_copper_to_w_oxidized_copper_grate.json | 26 + ...xidized_cut_copper_to_cut_copper_slab.json | 27 + ...dized_cut_copper_to_cut_copper_stairs.json | 26 + ...d_copper_2_w_weatherd_chiseled_copper.json | 26 + ..._weathered_copper_block_to_cut_copper.json | 27 + ...hered_copper_block_to_cut_copper_slab.json | 27 + ...red_copper_block_to_cut_copper_stairs.json | 27 + ...ed_copper_to_w_weathered_copper_grate.json | 26 + ...athered_cut_copper_to_cut_copper_slab.json | 27 + ...hered_cut_copper_to_cut_copper_stairs.json | 26 + ...ecutter_wall_from_polished_blackstone.json | 24 + ..._wall_from_polished_blackstone_bricks.json | 24 + ...wax_cut_copper_to_wax_chiseled_copper.json | 26 + ...cut_copper_to_wax_exp_chiseled_copper.json | 26 + ...cut_copper_to_wax_oxi_chiseled_copper.json | 26 + ...cut_copper_to_wax_wea_chiseled_copper.json | 26 + ...wea_cut_copper_to_wea_chiseled_copper.json | 24 + ..._weathered_copper_block_to_cut_copper.json | 27 + ...hered_copper_block_to_cut_copper_slab.json | 27 + ...red_copper_block_to_cut_copper_stairs.json | 27 + ...d_copper_to_weathered_chiseled_copper.json | 24 + ...ered_copper_to_weathered_copper_grate.json | 24 + ...athered_cut_copper_to_cut_copper_slab.json | 27 + ...hered_cut_copper_to_cut_copper_stairs.json | 26 + behavior_pack/recipes/string_to_wool.json | 28 + .../recipes/stripped_mangrove_wood.json | 28 + behavior_pack/recipes/sugar.json | 27 + .../recipes/suspicious_stew_from_allium.json | 32 + .../suspicious_stew_from_azure_bluet.json | 32 + .../suspicious_stew_from_blue_orchid.json | 32 + ...uspicious_stew_from_closed_eyeblossom.json | 30 + .../suspicious_stew_from_cornflower.json | 32 + .../suspicious_stew_from_dandelion.json | 32 + ...spicious_stew_from_lily_of_the_valley.json | 32 + .../suspicious_stew_from_open_eyeblossom.json | 30 + .../suspicious_stew_from_oxeye_daisy.json | 32 + .../recipes/suspicious_stew_from_poppy.json | 32 + .../suspicious_stew_from_torchflower.json | 30 + .../suspicious_stew_from_tulip_orange.json | 32 + .../suspicious_stew_from_tulip_pink.json | 32 + .../suspicious_stew_from_tulip_red.json | 32 + .../suspicious_stew_from_tulip_white.json | 32 + .../suspicious_stew_from_wither_rose.json | 32 + behavior_pack/recipes/target_block.json | 33 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/tinted_glass.json | 34 + behavior_pack/recipes/tnt.json | 32 + behavior_pack/recipes/tnt_minecart.json | 27 + behavior_pack/recipes/torch.json | 32 + behavior_pack/recipes/torch_charcoal.json | 26 + behavior_pack/recipes/torch_coal.json | 26 + behavior_pack/recipes/trapped_chest.json | 27 + behavior_pack/recipes/tripwire_hook.json | 37 + .../tripwire_hook_from_crimson_planks.json | 32 + .../tripwire_hook_from_mangrove_planks.json | 32 + .../tripwire_hook_from_warped_planks.json | 32 + behavior_pack/recipes/tuff_brick_slab.json | 29 + behavior_pack/recipes/tuff_brick_stairs.json | 31 + behavior_pack/recipes/tuff_brick_wall.json | 29 + behavior_pack/recipes/tuff_bricks.json | 29 + behavior_pack/recipes/tuff_slab.json | 29 + behavior_pack/recipes/tuff_stairs.json | 31 + behavior_pack/recipes/tuff_wall.json | 29 + behavior_pack/recipes/turtle_helmet.json | 28 + ...rmor_trim_smithing_template_duplicate.json | 34 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/warped_button.json | 29 + behavior_pack/recipes/warped_door.json | 31 + behavior_pack/recipes/warped_fence.json | 32 + behavior_pack/recipes/warped_fence_gate.json | 32 + .../recipes/warped_fungus_on_a_stick.json | 31 + .../recipes/warped_hanging_sign.json | 32 + behavior_pack/recipes/warped_hyphae.json | 29 + .../recipes/warped_hyphae_stripped.json | 29 + behavior_pack/recipes/warped_planks.json | 27 + .../warped_planks_from_stripped_log.json | 27 + ...ed_planks_from_stripped_warped_hyphae.json | 27 + .../warped_planks_from_warped_hyphae.json | 27 + .../recipes/warped_pressure_plate.json | 29 + behavior_pack/recipes/warped_sign.json | 33 + behavior_pack/recipes/warped_slab.json | 29 + behavior_pack/recipes/warped_stairs.json | 31 + behavior_pack/recipes/warped_trapdoor.json | 30 + .../recipes/waxing_chiseled_copper.json | 27 + .../recipes/waxing_copper_block.json | 27 + behavior_pack/recipes/waxing_copper_bulb.json | 27 + behavior_pack/recipes/waxing_copper_door.json | 27 + .../recipes/waxing_copper_grate.json | 27 + .../recipes/waxing_copper_trapdoor.json | 27 + .../recipes/waxing_cut_copper_block.json | 27 + .../recipes/waxing_cut_copper_slab.json | 27 + .../recipes/waxing_cut_copper_stairs.json | 27 + .../waxing_exposed_chiseled_copper.json | 27 + .../recipes/waxing_exposed_copper_block.json | 27 + .../recipes/waxing_exposed_copper_bulb.json | 27 + .../recipes/waxing_exposed_copper_door.json | 27 + .../recipes/waxing_exposed_copper_grate.json | 27 + .../waxing_exposed_copper_trapdoor.json | 27 + .../waxing_exposed_cut_copper_block.json | 27 + .../waxing_exposed_cut_copper_slab.json | 27 + .../waxing_exposed_cut_copper_stairs.json | 27 + .../waxing_oxidized_chiseled_copper.json | 27 + .../recipes/waxing_oxidized_copper_block.json | 27 + .../recipes/waxing_oxidized_copper_bulb.json | 27 + .../recipes/waxing_oxidized_copper_door.json | 27 + .../recipes/waxing_oxidized_copper_grate.json | 27 + .../waxing_oxidized_copper_trapdoor.json | 27 + .../waxing_oxidized_cut_copper_block.json | 27 + .../waxing_oxidized_cut_copper_slab.json | 27 + .../waxing_oxidized_cut_copper_stairs.json | 27 + .../waxing_weathered_chiseled_copper.json | 27 + .../waxing_weathered_copper_block.json | 27 + .../recipes/waxing_weathered_copper_bulb.json | 27 + .../recipes/waxing_weathered_copper_door.json | 27 + .../waxing_weathered_copper_grate.json | 27 + .../waxing_weathered_copper_trapdoor.json | 27 + .../waxing_weathered_cut_copper_block.json | 27 + .../waxing_weathered_cut_copper_slab.json | 27 + .../waxing_weathered_cut_copper_stairs.json | 27 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/wheat.json | 28 + behavior_pack/recipes/white_banner.json | 34 + behavior_pack/recipes/white_candle.json | 31 + .../recipes/white_candle_from_bonemeal.json | 31 + behavior_pack/recipes/white_carpet.json | 29 + .../recipes/white_concrete_powder.json | 58 + .../white_concrete_powder_from_bonemeal.json | 59 + .../recipes/white_dye_from_bone_meal.json | 28 + .../white_dye_from_lily_of_the_valley.json | 26 + .../recipes/white_stained_glass.json | 34 + .../white_stained_glass_from_bonemeal.json | 35 + .../recipes/white_stained_glass_pane.json | 30 + .../white_stained_glass_pane_from_pane.json | 37 + .../recipes/white_stained_hardened_clay.json | 34 + ...e_stained_hardened_clay_from_bonemeal.json | 35 + .../recipes/whtie_candle_from_bonemeal.json | 22 + ...rmor_trim_smithing_template_duplicate.json | 34 + behavior_pack/recipes/wind_charge.json | 23 + behavior_pack/recipes/wolf_armor.json | 27 + behavior_pack/recipes/wooden_axe.json | 31 + .../wooden_axe_from_crimson_planks.json | 29 + .../wooden_axe_from_mangrove_planks.json | 29 + .../wooden_axe_from_warped_planks.json | 29 + behavior_pack/recipes/wooden_door.json | 31 + behavior_pack/recipes/wooden_hoe.json | 31 + .../wooden_hoe_from_crimson_planks.json | 29 + .../wooden_hoe_from_mangrove_planks.json | 29 + .../wooden_hoe_from_warped_planks.json | 29 + behavior_pack/recipes/wooden_pickaxe.json | 31 + .../wooden_pickaxe_from_crimson_planks.json | 29 + .../wooden_pickaxe_from_mangrove_planks.json | 29 + .../wooden_pickaxe_from_warped_planks.json | 29 + behavior_pack/recipes/wooden_shovel.json | 31 + .../wooden_shovel_from_crimson_planks.json | 29 + .../wooden_shovel_from_mangrove_planks.json | 29 + .../wooden_shovel_from_warped_planks.json | 29 + behavior_pack/recipes/wooden_sword.json | 31 + .../wooden_sword_from_crimson_planks.json | 29 + .../wooden_sword_from_mangrove_planks.json | 29 + .../wooden_sword_from_warped_planks.json | 29 + behavior_pack/recipes/writable_book.json | 31 + behavior_pack/recipes/yellow_banner.json | 34 + behavior_pack/recipes/yellow_candle.json | 31 + behavior_pack/recipes/yellow_carpet.json | 29 + .../recipes/yellow_carpet_from_white.json | 37 + .../recipes/yellow_concrete_powder.json | 58 + .../recipes/yellow_dye_from_dandelion.json | 26 + .../recipes/yellow_dye_from_sunflower.json | 24 + .../recipes/yellow_stained_glass.json | 34 + .../recipes/yellow_stained_glass_pane.json | 30 + .../yellow_stained_glass_pane_from_pane.json | 37 + .../recipes/yellow_stained_hardened_clay.json | 34 + behavior_pack/spawn_rules/armadillo.json | 112 + behavior_pack/spawn_rules/axolotl.json | 34 + behavior_pack/spawn_rules/bat.json | 51 + behavior_pack/spawn_rules/bee.json | 32 + behavior_pack/spawn_rules/blaze.json | 9 + behavior_pack/spawn_rules/bogged.json | 41 + behavior_pack/spawn_rules/cat.json | 9 + behavior_pack/spawn_rules/chicken.json | 31 + behavior_pack/spawn_rules/cod.json | 39 + behavior_pack/spawn_rules/cow.json | 31 + behavior_pack/spawn_rules/creeper.json | 34 + behavior_pack/spawn_rules/dolphin.json | 35 + behavior_pack/spawn_rules/donkey.json | 53 + behavior_pack/spawn_rules/drowned.json | 107 + behavior_pack/spawn_rules/enderman.json | 96 + behavior_pack/spawn_rules/fox.json | 53 + behavior_pack/spawn_rules/frog.json | 28 + behavior_pack/spawn_rules/ghast.json | 37 + behavior_pack/spawn_rules/glow_squid.json | 26 + behavior_pack/spawn_rules/goat.json | 59 + behavior_pack/spawn_rules/guardian.json | 14 + behavior_pack/spawn_rules/hoglin.json | 38 + behavior_pack/spawn_rules/horse.json | 61 + behavior_pack/spawn_rules/husk.json | 33 + behavior_pack/spawn_rules/llama.json | 51 + behavior_pack/spawn_rules/magma_cube.json | 69 + behavior_pack/spawn_rules/mooshroom.json | 30 + behavior_pack/spawn_rules/ocelot.json | 31 + behavior_pack/spawn_rules/panda.json | 52 + behavior_pack/spawn_rules/parrot.json | 31 + behavior_pack/spawn_rules/phantom.json | 38 + behavior_pack/spawn_rules/pig.json | 41 + behavior_pack/spawn_rules/piglin.json | 66 + behavior_pack/spawn_rules/pillager.json | 9 + .../spawn_rules/pillager_patrol.json | 168 + behavior_pack/spawn_rules/polar_bear.json | 56 + behavior_pack/spawn_rules/pufferfish.json | 39 + behavior_pack/spawn_rules/rabbit.json | 122 + behavior_pack/spawn_rules/salmon.json | 66 + behavior_pack/spawn_rules/sheep.json | 62 + behavior_pack/spawn_rules/skeleton.json | 65 + behavior_pack/spawn_rules/slime.json | 30 + behavior_pack/spawn_rules/spider.json | 37 + behavior_pack/spawn_rules/squid.json | 49 + behavior_pack/spawn_rules/stray.json | 82 + behavior_pack/spawn_rules/strider.json | 39 + behavior_pack/spawn_rules/tropicalfish.json | 503 + behavior_pack/spawn_rules/turtle.json | 35 + behavior_pack/spawn_rules/witch.json | 30 + .../spawn_rules/wither_skeleton.json | 9 + behavior_pack/spawn_rules/wolf.json | 246 + behavior_pack/spawn_rules/zombie.json | 43 + behavior_pack/spawn_rules/zombie_pigman.json | 81 + behavior_pack/texts/language_names.json | 31 + behavior_pack/texts/languages.json | 31 + behavior_pack/trading/armorer_trades.json | 190 + behavior_pack/trading/butcher_trades.json | 92 + .../trading/cartographer_trades.json | 120 + behavior_pack/trading/cleric_trades.json | 132 + .../economy_trades/armorer_trades.json | 438 + .../economy_trades/butcher_trades.json | 262 + .../economy_trades/cartographer_trades.json | 307 + .../trading/economy_trades/cleric_trades.json | 277 + .../trading/economy_trades/farmer_trades.json | 335 + .../economy_trades/fisherman_trades.json | 342 + .../economy_trades/fletcher_trades.json | 475 + .../economy_trades/leather_worker_trades.json | 325 + .../economy_trades/librarian_trades.json | 385 + .../economy_trades/shepherd_trades.json | 483 + .../economy_trades/stone_mason_trades.json | 323 + .../economy_trades/tool_smith_trades.json | 422 + .../wandering_trader_trades.json | 719 + .../economy_trades/weapon_smith_trades.json | 267 + behavior_pack/trading/farmer_trades.json | 180 + behavior_pack/trading/fisherman_trades.json | 91 + behavior_pack/trading/fletcher_trades.json | 81 + .../trading/leather_worker_trades.json | 90 + behavior_pack/trading/librarian_trades.json | 248 + behavior_pack/trading/shepherd_trades.json | 316 + behavior_pack/trading/stone_mason_trades.json | 236 + behavior_pack/trading/tool_smith_trades.json | 142 + .../trading/weapon_smith_trades.json | 159 + .../jigsaw_structures/trail_ruins.json | 21 + .../trail_ruins_houses_archaeology.json | 92 + .../trail_ruins_roads_archaeology.json | 67 + .../trail_ruins_tower_top_archaeology.json | 32 + .../worldgen/structure_sets/trail_ruins.json | 21 + .../template_pools/trail_ruins/buildings.json | 130 + .../trail_ruins/buildings/grouped.json | 170 + .../template_pools/trail_ruins/decor.json | 66 + .../template_pools/trail_ruins/roads.json | 66 + .../template_pools/trail_ruins/tower.json | 50 + .../trail_ruins/tower/additions.json | 210 + .../trail_ruins/tower/tower_top.json | 50 + .../agent.animation_controllers.json | 37 + .../allay.animation_controllers.json | 80 + .../armadillo.animation_controllers.json | 79 + .../armor_stand.animation_controllers.json | 601 + .../axolotl.animation_controllers.json | 63 + .../bat.animation_controllers.json | 26 + .../bee.animation_controllers.json | 50 + .../blaze.animation_controllers.json | 37 + .../breeze.animation_controllers.json | 119 + .../camel.animation_controllers.json | 75 + .../cat.animation_controllers.json | 115 + .../creaking.animation_controllers.json | 65 + .../creeper.animation_controllers.json | 29 + .../dolphin.animation_controllers.json | 13 + .../drowned.animation_controllers.json | 26 + .../elytra.animation_controllers.json | 64 + .../enderman.animation_controllers.json | 53 + .../endermite.animation_controllers.json | 13 + .../evoker.animation_controllers.json | 82 + .../fish.animation_controllers.json | 26 + .../fox.animation_controllers.json | 119 + .../frog.animation_controllers.json | 81 + .../ghast.animation_controllers.json | 21 + .../goat.animation_controllers.json | 17 + .../hoglin.animation_controllers.json | 61 + .../humanoid.animation_controllers.json | 295 + .../iron_golem.animation_controllers.json | 92 + .../llama.animation_controllers.json | 31 + .../magma_cube.animation_controllers.json | 13 + .../animation_controllers/map_marker.json | 20 + .../mooshroom.animation_controllers.json | 34 + .../ocelot.animation_controllers.json | 86 + .../ocelot.animation_controllers.v1.0.json | 94 + .../panda.animation_controllers.json | 107 + .../parrot.animation_controllers.json | 74 + .../persona.animation_controllers.json | 25 + .../phantom.animation_controllers.json | 31 + .../piglin.animation_controllers.json | 64 + .../pillager.animation_controllers.json | 78 + .../player.animation_controllers.json | 274 + .../polar_bear.animation_controllers.json | 31 + .../rabbit.animation_controllers.json | 25 + .../ravager.animation_controllers.json | 69 + .../sheep.animation_controllers.json | 30 + .../shield.animation_controllers.json | 57 + .../shulker.animation_controllers.json | 21 + .../silverfish.animation_controllers.json | 13 + .../skeleton.animation_controllers.json | 25 + .../sniffer.animation_controllers.json | 185 + .../snow_golem.animation_controllers.json | 18 + ...snow_golem.animation_controllers.v1.0.json | 19 + .../spider.animation_controllers.json | 19 + .../tadpole.animation_controllers.json | 15 + .../trident.animation_controllers.json | 42 + .../tripod_camera.animation_controllers.json | 13 + .../turtle.animation_controllers.json | 45 + .../vex.animation_controllers.json | 33 + .../villager.animation_controllers.json | 42 + .../villager_v2.animation_controllers.json | 75 + .../vindicator.animation_controllers.json | 63 + .../warden.animation_controllers.json | 105 + .../witch.animation_controllers.json | 13 + .../wither_boss.animation_controllers.json | 13 + ...wither_skeleton.animation_controllers.json | 25 + .../wolf.animation_controllers.json | 118 + .../zombie.animation_controllers.json | 45 + resource_pack/animations/actor.animation.json | 13 + resource_pack/animations/agent.animation.json | 103 + resource_pack/animations/allay.animation.json | 484 + .../animations/armadillo.animation.json | 796 ++ resource_pack/animations/armor.animation.json | 88 + .../animations/armor_stand.animation.json | 360 + resource_pack/animations/arrow.animation.json | 14 + .../animations/axolotl.animation.json | 1414 ++ resource_pack/animations/bat.animation.json | 113 + resource_pack/animations/bee.animation.json | 176 + resource_pack/animations/blaze.animation.json | 46 + resource_pack/animations/bow.animation.json | 23 + .../animations/breeze.animation.json | 274 + resource_pack/animations/camel.animation.json | 803 ++ resource_pack/animations/cat.animation.json | 165 + .../animations/chicken.animation.json | 53 + resource_pack/animations/cod.animation.json | 33 + resource_pack/animations/cow.animation.json | 30 + .../animations/creaking.animation.json | 349 + .../animations/creeper.animation.json | 45 + .../animations/crossbow.animation.json | 22 + .../animations/dolphin.animation.json | 25 + .../dressing_room_idle_arm_1.anim.json | 75 + .../dressing_room_idle_back_1.anim.json | 66 + .../dressing_room_idle_bottom_1.anim.json | 97 + .../dressing_room_idle_torso_1.anim.json | 59 + .../dressing_room_react_arm_1.anim.json | 120 + .../dressing_room_react_arm_2.anim.json | 123 + .../dressing_room_react_back_1.anim.json | 155 + .../dressing_room_react_back_2.anim.json | 158 + .../dressing_room_react_bored_1.anim.json | 176 + .../dressing_room_react_bored_arm_1.anim.json | 176 + ...dressing_room_react_bored_back_1.anim.json | 176 + ...essing_room_react_bored_bottom_1.anim.json | 176 + ...dressing_room_react_bored_head_1.anim.json | 176 + ...ressing_room_react_bored_torso_1.anim.json | 176 + .../dressing_room_react_bottom_1.anim.json | 91 + .../dressing_room_react_bottom_2.anim.json | 232 + .../dressing_room_react_bottom_3.anim.json | 211 + .../dressing_room_react_confirm_1.anim.json | 287 + .../dressing_room_react_confirm_2.anim.json | 271 + .../dressing_room_react_head_1.anim.json | 178 + .../dressing_room_react_head_2.anim.json | 65 + .../dressing_room_react_idle.anim.json | 74 + .../dressing_room_react_offer_1.json | 232 + .../dressing_room_react_offer_2.json | 178 + .../dressing_room_react_offer_arm_1.json | 232 + .../dressing_room_react_offer_arm_2.json | 178 + .../dressing_room_react_offer_back_1.json | 178 + .../dressing_room_react_offer_back_2.json | 232 + .../dressing_room_react_offer_bottom_1.json | 178 + .../dressing_room_react_offer_bottom_2.json | 232 + .../dressing_room_react_offer_head_1.json | 232 + .../dressing_room_react_offer_head_2.json | 178 + .../dressing_room_react_offer_torso_1.json | 232 + .../dressing_room_react_offer_torso_2.json | 178 + .../dressing_room_react_torso_1.anim.json | 114 + .../dressing_room_react_torso_2.anim.json | 208 + .../animations/drowned.animation.json | 19 + .../animations/drowned.animation.v1.0.json | 40 + .../animations/elytra.animation.json | 86 + .../animations/ender_crystal.animation.json | 22 + .../animations/ender_dragon.animation.json | 157 + .../animations/enderman.animation.json | 72 + .../animations/enderman.animation.v1.0.json | 43 + .../animations/endermite.animation.json | 25 + .../animations/evocation_fang.animation.json | 19 + .../animations/evoker.animation.json | 71 + .../fireworks_rocket.animation.json | 15 + resource_pack/animations/fox.animation.json | 155 + resource_pack/animations/frog.animation.json | 593 + resource_pack/animations/ghast.animation.json | 45 + resource_pack/animations/goat.animation.json | 66 + .../animations/guardian.animation.json | 111 + .../animations/guardian.animation.v1.0.json | 54 + .../animations/hoglin.animation.json | 56 + .../animations/horse_v1.animation.json | 551 + .../animations/horse_v2.animation.json | 190 + .../animations/horse_v3.animation.json | 101 + .../animations/humanoid.animation.json | 337 + .../animations/iron_golem.animation.json | 80 + resource_pack/animations/llama.animation.json | 79 + .../animations/llama_spit.animation.json | 14 + .../location_pointer_idle.animation.json | 17 + .../location_pointer_selected.animation.json | 17 + .../animations/look_at_target.animation.json | 16 + .../animations/magma_cube.animation.json | 31 + .../animations/map_marker.animation.json | 25 + .../animations/minecart.animation.json | 14 + .../animations/minecart.animation.v1.0.json | 14 + .../animations/mooshroom.animation.json | 30 + resource_pack/animations/npc.animation.json | 51 + .../animations/ocelot.animation.json | 127 + .../animations/ocelot.animations.v1.0.json | 156 + resource_pack/animations/panda.animation.json | 111 + .../animations/parrot.animation.json | 130 + .../animations/phantom.animation.json | 42 + resource_pack/animations/pig.animation.json | 30 + .../animations/piglin.animation.json | 117 + .../animations/pillager.animation.json | 27 + .../animations/player.animation.json | 496 + .../player_firstperson.animation.json | 171 + .../animations/polar_bear.animation.json | 37 + .../animations/pufferfish.animation.json | 24 + .../animations/quadruped.animation.json | 23 + .../animations/rabbit.animation.json | 58 + .../animations/ravager.animation.json | 62 + .../animations/ruler_idle.animation.json | 17 + .../ruler_pointer_selected.animation.json | 17 + .../animations/salmon.animation.json | 33 + resource_pack/animations/sheep.animation.json | 49 + .../animations/shield.animation.json | 57 + .../animations/shulker.animation.json | 29 + .../animations/shulker.animations.v1.0.json | 33 + .../animations/shulker_bullet.animation.json | 13 + .../animations/silverfish.animation.json | 38 + .../animations/skeleton.animation.json | 16 + .../animations/skeleton.animations.v1.0.json | 275 + .../animations/sniffer.animation.json | 1143 ++ .../animations/snow_golem.animation.json | 13 + .../snow_golem.animations.v1.0.json | 26 + .../animations/spider.animation.json | 72 + .../animations/spyglass.animation.json | 23 + resource_pack/animations/squid.animation.json | 33 + .../animations/strider.animation.json | 74 + .../animations/tadpole.animation.json | 18 + .../animations/trident.animation.json | 64 + .../animations/tripod_camera.animation.json | 25 + .../animations/tropicalfish.animation.json | 24 + .../animations/turtle.animation.json | 55 + resource_pack/animations/vex.animation.json | 56 + .../animations/villager.animation.json | 60 + .../animations/vindicator.animation.json | 78 + .../animations/warden.animation.json | 2274 +++ .../animations/wind_charge.animation.json | 16 + resource_pack/animations/witch.animation.json | 13 + .../animations/wither_boss.animation.json | 39 + .../animations/wither_skeleton.animation.json | 16 + .../animations/wither_skull.animation.json | 13 + resource_pack/animations/wolf.animations.json | 126 + .../animations/zombie.animation.json | 37 + resource_pack/attachables/mace.json | 16 + resource_pack/attachables/saddle.json | 25 + resource_pack/attachables/shield.entity.json | 57 + resource_pack/attachables/spyglass.json | 34 + resource_pack/attachables/wolf_armor.json | 32 + .../biomes/bamboo_jungle.client_biome.json | 16 + .../bamboo_jungle_hills.client_biome.json | 16 + .../biomes/basalt_deltas.client_biome.json | 21 + resource_pack/biomes/beach.client_biome.json | 16 + .../biomes/birch_forest.client_biome.json | 16 + .../birch_forest_hills.client_biome.json | 16 + ...rch_forest_hills_mutated.client_biome.json | 16 + .../birch_forest_mutated.client_biome.json | 16 + .../biomes/cherry_grove.client_biome.json | 22 + .../biomes/cold_beach.client_biome.json | 16 + .../biomes/cold_ocean.client_biome.json | 16 + .../biomes/cold_taiga.client_biome.json | 16 + .../biomes/cold_taiga_hills.client_biome.json | 16 + .../cold_taiga_mutated.client_biome.json | 16 + .../biomes/crimson_forest.client_biome.json | 21 + .../biomes/deep_cold_ocean.client_biome.json | 16 + .../biomes/deep_dark.client_biome.json | 16 + .../deep_frozen_ocean.client_biome.json | 16 + .../deep_lukewarm_ocean.client_biome.json | 16 + .../biomes/deep_ocean.client_biome.json | 16 + .../biomes/deep_warm_ocean.client_biome.json | 16 + resource_pack/biomes/desert.client_biome.json | 16 + .../biomes/desert_hills.client_biome.json | 16 + .../biomes/desert_mutated.client_biome.json | 16 + .../biomes/dripstone_caves.client_biome.json | 16 + .../biomes/extreme_hills.client_biome.json | 16 + .../extreme_hills_edge.client_biome.json | 16 + .../extreme_hills_mutated.client_biome.json | 16 + ...extreme_hills_plus_trees.client_biome.json | 16 + ...hills_plus_trees_mutated.client_biome.json | 16 + .../biomes/flower_forest.client_biome.json | 16 + resource_pack/biomes/forest.client_biome.json | 16 + .../biomes/forest_hills.client_biome.json | 16 + .../biomes/frozen_ocean.client_biome.json | 16 + .../biomes/frozen_peaks.client_biome.json | 16 + .../biomes/frozen_river.client_biome.json | 16 + resource_pack/biomes/grove.client_biome.json | 16 + resource_pack/biomes/hell.client_biome.json | 21 + .../biomes/ice_mountains.client_biome.json | 16 + .../biomes/ice_plains.client_biome.json | 16 + .../ice_plains_spikes.client_biome.json | 16 + .../biomes/jagged_peaks.client_biome.json | 16 + resource_pack/biomes/jungle.client_biome.json | 16 + .../biomes/jungle_edge.client_biome.json | 16 + .../jungle_edge_mutated.client_biome.json | 16 + .../biomes/jungle_hills.client_biome.json | 16 + .../biomes/jungle_mutated.client_biome.json | 16 + .../legacy_frozen_ocean.client_biome.json | 16 + .../biomes/lukewarm_ocean.client_biome.json | 16 + .../biomes/lush_caves.client_biome.json | 16 + .../biomes/mangrove_swamp.client_biome.json | 26 + resource_pack/biomes/meadow.client_biome.json | 16 + .../biomes/mega_taiga.client_biome.json | 16 + .../biomes/mega_taiga_hills.client_biome.json | 16 + resource_pack/biomes/mesa.client_biome.json | 22 + .../biomes/mesa_bryce.client_biome.json | 22 + .../biomes/mesa_plateau.client_biome.json | 16 + .../mesa_plateau_mutated.client_biome.json | 22 + .../mesa_plateau_stone.client_biome.json | 22 + ...sa_plateau_stone_mutated.client_biome.json | 22 + .../biomes/mushroom_island.client_biome.json | 16 + .../mushroom_island_shore.client_biome.json | 16 + resource_pack/biomes/ocean.client_biome.json | 16 + .../biomes/pale_garden.client_biome.json | 28 + resource_pack/biomes/plains.client_biome.json | 16 + ...wood_taiga_hills_mutated.client_biome.json | 16 + .../redwood_taiga_mutated.client_biome.json | 16 + resource_pack/biomes/river.client_biome.json | 16 + .../biomes/roofed_forest.client_biome.json | 16 + .../roofed_forest_mutated.client_biome.json | 16 + .../biomes/savanna.client_biome.json | 16 + .../biomes/savanna_mutated.client_biome.json | 16 + .../biomes/savanna_plateau.client_biome.json | 16 + .../savanna_plateau_mutated.client_biome.json | 16 + .../biomes/snowy_slopes.client_biome.json | 16 + .../biomes/soulsand_valley.client_biome.json | 21 + .../biomes/stone_beach.client_biome.json | 16 + .../biomes/stony_peaks.client_biome.json | 16 + .../biomes/sunflower_plains.client_biome.json | 16 + .../biomes/swampland.client_biome.json | 27 + .../swampland_mutated.client_biome.json | 27 + resource_pack/biomes/taiga.client_biome.json | 16 + .../biomes/taiga_hills.client_biome.json | 16 + .../biomes/taiga_mutated.client_biome.json | 16 + .../biomes/the_end.client_biome.json | 19 + .../biomes/warm_ocean.client_biome.json | 17 + .../biomes/warped_forest.client_biome.json | 21 + resource_pack/biomes_client.json | 370 + resource_pack/blocks.json | 85 + resource_pack/cameras/death.json | 42 + resource_pack/cameras/first_person.json | 46 + resource_pack/cameras/fixed_boom.json | 45 + resource_pack/cameras/follow_orbit.json | 54 + resource_pack/cameras/free.json | 35 + resource_pack/cameras/third_person.json | 55 + resource_pack/cameras/third_person_front.json | 56 + resource_pack/entity/agent.entity.json | 38 + resource_pack/entity/allay.entity.json | 43 + resource_pack/entity/armadillo.entity.json | 63 + resource_pack/entity/armor_stand.entity.json | 51 + .../entity/armor_stand.v1.0.entity.json | 39 + resource_pack/entity/arrow.entity.json | 30 + resource_pack/entity/axolotl.entity.json | 48 + resource_pack/entity/balloon.entity.json | 19 + resource_pack/entity/bat.entity.json | 20 + resource_pack/entity/bed.entity.json | 30 + resource_pack/entity/bee.entity.json | 41 + resource_pack/entity/blaze.entity.json | 35 + resource_pack/entity/blaze.v1.0.entity.json | 34 + resource_pack/entity/boat.entity.json | 18 + resource_pack/entity/bogged.entity.json | 69 + resource_pack/entity/breeze.entity.json | 73 + .../breeze_wind_charge_projectile.entity.json | 26 + resource_pack/entity/camel.entity.json | 56 + resource_pack/entity/cat.entity.json | 55 + resource_pack/entity/cave_spider.entity.json | 35 + .../entity/cave_spider.v1.0.entity.json | 34 + resource_pack/entity/chest_boat.entity.json | 24 + .../entity/chest_minecart.entity.json | 30 + .../entity/chest_minecart.v1.0.entity.json | 29 + resource_pack/entity/chicken.entity.json | 38 + resource_pack/entity/chicken.v1.0.entity.json | 37 + resource_pack/entity/cod.entity.json | 35 + .../entity/command_block_minecart.entity.json | 30 + .../command_block_minecart.v1.0.entity.json | 29 + resource_pack/entity/cow.entity.json | 35 + resource_pack/entity/cow.v1.0.entity.json | 34 + resource_pack/entity/creaking.entity.json | 71 + resource_pack/entity/creeper.entity.json | 45 + resource_pack/entity/creeper.v1.0.entity.json | 44 + .../entity/decorated_pot.entity.json | 34 + resource_pack/entity/dolphin.entity.json | 26 + resource_pack/entity/donkey_v1.entity.json | 66 + resource_pack/entity/donkey_v2.entity.json | 59 + resource_pack/entity/donkey_v3.entity.json | 54 + .../entity/dragon_fireball.entity.json | 27 + resource_pack/entity/drowned.entity.json | 64 + resource_pack/entity/drowned.v1.0.entity.json | 65 + resource_pack/entity/egg.entity.json | 26 + .../entity/elder_guardian.entity.json | 57 + .../entity/elder_guardian.entity.v1.0.json | 56 + .../entity/ender_crystal.entity.json | 31 + resource_pack/entity/ender_dragon.entity.json | 12 + resource_pack/entity/ender_eye.entity.json | 26 + resource_pack/entity/ender_pearl.entity.json | 26 + resource_pack/entity/enderman.entity.json | 50 + .../entity/enderman.v1.0.entity.json | 49 + resource_pack/entity/endermite.entity.json | 26 + .../entity/evocation_fang.entity.json | 33 + .../entity/evocation_illager.entity.json | 44 + .../entity/evocation_illager.v1.0.entity.json | 40 + .../entity/experience_bottle.entity.json | 27 + .../entity/experience_orb.entity.json | 31 + resource_pack/entity/fireball.entity.json | 27 + .../entity/fireworks_rocket.entity.json | 26 + resource_pack/entity/fishing_hook.entity.json | 18 + resource_pack/entity/fox.entity.json | 41 + resource_pack/entity/frog.entity.json | 41 + resource_pack/entity/ghast.entity.json | 29 + resource_pack/entity/glow_squid.entity.json | 30 + resource_pack/entity/goat.entity.json | 41 + resource_pack/entity/guardian.entity.json | 56 + .../entity/guardian.entity.v1.0.json | 55 + resource_pack/entity/hoglin.entity.json | 39 + .../entity/hopper_minecart.entity.json | 30 + .../entity/hopper_minecart.v1.0.entity.json | 29 + resource_pack/entity/horse_v1.entity.json | 80 + resource_pack/entity/horse_v2.entity.json | 73 + resource_pack/entity/horse_v3.entity.json | 68 + resource_pack/entity/husk.entity.json | 60 + resource_pack/entity/husk.v1.0.entity.json | 63 + resource_pack/entity/ice_bomb.entity.json | 26 + resource_pack/entity/iron_golem.entity.json | 12 + resource_pack/entity/leash_knot.entity.json | 12 + .../entity/lingering_potion.entity.json | 57 + resource_pack/entity/llama.entity.json | 52 + resource_pack/entity/llama.v1.0.entity.json | 51 + resource_pack/entity/llama_spit.entity.json | 24 + .../entity/location_pointer_idle.entity.json | 21 + .../location_pointer_selected.entity.json | 27 + resource_pack/entity/magma_cube.entity.json | 37 + resource_pack/entity/map_marker.json | 29 + resource_pack/entity/minecart.entity.json | 30 + .../entity/minecart.v1.0.entity.json | 30 + resource_pack/entity/mooshroom.entity.json | 33 + .../entity/mooshroom.v1.0.entity.json | 32 + resource_pack/entity/mule_v1.entity.json | 66 + resource_pack/entity/mule_v2.entity.json | 59 + resource_pack/entity/mule_v3.entity.json | 54 + resource_pack/entity/npc.entity.json | 95 + resource_pack/entity/ocelot.entity.json | 37 + resource_pack/entity/ocelot.v1.0.entity.json | 38 + resource_pack/entity/panda.entity.json | 42 + resource_pack/entity/parrot.entity.json | 45 + resource_pack/entity/phantom.entity.json | 46 + resource_pack/entity/pig.entity.json | 36 + resource_pack/entity/pig.v1.0.entity.json | 35 + resource_pack/entity/piglin.entity.json | 67 + resource_pack/entity/piglin_brute.entity.json | 61 + resource_pack/entity/pillager.entity.json | 55 + resource_pack/entity/player.entity.json | 114 + resource_pack/entity/polar_bear.entity.json | 12 + resource_pack/entity/pufferfish.entity.json | 41 + .../entity/pufferfish.v1.0.entity.json | 40 + resource_pack/entity/rabbit.entity.json | 36 + resource_pack/entity/rabbit.v1.0.entity.json | 35 + resource_pack/entity/ravager.entity.json | 48 + resource_pack/entity/ruler_idle.entity.json | 21 + .../entity/ruler_pointer_selected.entity.json | 21 + resource_pack/entity/salmon.entity.json | 35 + resource_pack/entity/sheep.entity.json | 38 + resource_pack/entity/sheep.v1.0.entity.json | 40 + resource_pack/entity/shulker.entity.json | 62 + resource_pack/entity/shulker.v1.0.entity.json | 61 + .../entity/shulker_bullet.entity.json | 26 + resource_pack/entity/silverfish.entity.json | 29 + resource_pack/entity/skeleton.entity.json | 64 + .../entity/skeleton.v1.0.entity.json | 59 + .../entity/skeleton_horse_v1.entity.json | 65 + .../entity/skeleton_horse_v2.entity.json | 58 + .../entity/skeleton_horse_v3.entity.json | 53 + resource_pack/entity/skull.entity.json | 28 + resource_pack/entity/slime.entity.json | 38 + .../entity/small_fireball.entity.json | 27 + resource_pack/entity/sniffer.entity.json | 58 + resource_pack/entity/snow_golem.entity.json | 13 + .../entity/snow_golem.v1.0.entity.json | 12 + resource_pack/entity/snowball.entity.json | 26 + resource_pack/entity/spider.entity.json | 32 + resource_pack/entity/spider.v1.0.entity.json | 31 + .../entity/splash_potion.entity.json | 57 + resource_pack/entity/squid.entity.json | 30 + resource_pack/entity/stray.entity.json | 70 + resource_pack/entity/stray.v1.0.entity.json | 71 + resource_pack/entity/strider.entity.json | 44 + resource_pack/entity/tadpole.entity.json | 26 + .../entity/thrown_trident.entity.json | 15 + resource_pack/entity/tnt_minecart.entity.json | 30 + .../entity/tnt_minecart.v1.0.entity.json | 29 + resource_pack/entity/trader_llama.entity.json | 51 + .../entity/trial_spawner.entity.json | 11 + .../entity/tripod_camera.entity.json | 22 + resource_pack/entity/tropicalfish.entity.json | 47 + resource_pack/entity/turtle.entity.json | 39 + resource_pack/entity/vex.entity.json | 40 + resource_pack/entity/vex.v1.0.entity.json | 65 + resource_pack/entity/vex.v1.0.json | 64 + resource_pack/entity/villager.entity.json | 41 + .../entity/villager.v1.0.entity.json | 40 + resource_pack/entity/villager_v2.entity.json | 89 + resource_pack/entity/vindicator.entity.json | 45 + .../entity/vindicator.v1.0.entity.json | 33 + .../entity/wandering_trader.entity.json | 35 + resource_pack/entity/warden.entity.json | 107 + .../entity/wind_charge_projectile.entity.json | 26 + resource_pack/entity/witch.entity.json | 36 + resource_pack/entity/witch.v1.0.entity.json | 35 + resource_pack/entity/wither.entity.json | 13 + resource_pack/entity/wither.v1.0.entity.json | 12 + .../entity/wither_skeleton.entity.json | 61 + .../entity/wither_skeleton.v1.0.entity.json | 57 + resource_pack/entity/wither_skull.entity.json | 26 + .../entity/wither_skull_dangerous.entity.json | 26 + resource_pack/entity/wolf.entity.json | 85 + resource_pack/entity/zoglin.entity.json | 39 + resource_pack/entity/zombie.entity.json | 66 + resource_pack/entity/zombie.v1.0.entity.json | 63 + .../entity/zombie_horse_v1.entity.json | 65 + .../entity/zombie_horse_v2.entity.json | 58 + .../entity/zombie_horse_v3.entity.json | 53 + .../entity/zombie_pigman.entity.json | 66 + .../entity/zombie_pigman.v1.0.entity.json | 64 + .../entity/zombie_villager.entity.json | 70 + .../entity/zombie_villager.v1.0.entity.json | 67 + .../entity/zombie_villager_v2.entity.json | 99 + .../fogs/bamboo_jungle_fog_setting.json | 28 + .../fogs/bamboo_jungle_hills_fog_setting.json | 28 + .../fogs/basalt_deltas_fog_setting.json | 40 + resource_pack/fogs/beach_fog_setting.json | 28 + .../fogs/birch_forest_fog_setting.json | 28 + .../fogs/birch_forest_hills_fog_setting.json | 28 + .../fogs/cherry_grove_fog_setting.json | 28 + .../fogs/cold_beach_fog_setting.json | 28 + .../fogs/cold_ocean_fog_setting.json | 28 + .../fogs/cold_taiga_fog_setting.json | 28 + .../fogs/cold_taiga_hills_fog_setting.json | 28 + .../fogs/cold_taiga_mutated_fog_setting.json | 28 + .../fogs/crimson_forest_fog_setting.json | 40 + .../fogs/deep_cold_ocean_fog_setting.json | 28 + .../fogs/deep_frozen_ocean_fog_setting.json | 28 + .../fogs/deep_lukewarm_ocean_fog_setting.json | 28 + .../fogs/deep_ocean_fog_setting.json | 28 + .../fogs/deep_warm_ocean_fog_setting.json | 28 + resource_pack/fogs/default_fog_setting.json | 52 + resource_pack/fogs/desert_fog_setting.json | 28 + .../fogs/desert_hills_fog_setting.json | 28 + .../fogs/extreme_hills_edge_fog_setting.json | 28 + .../fogs/extreme_hills_fog_setting.json | 28 + .../extreme_hills_mutated_fog_setting.json | 28 + .../extreme_hills_plus_trees_fog_setting.json | 28 + ..._hills_plus_trees_mutated_fog_setting.json | 28 + .../fogs/flower_forest_fog_setting.json | 28 + resource_pack/fogs/forest_fog_setting.json | 28 + .../fogs/forest_hills_fog_setting.json | 28 + .../fogs/frozen_ocean_fog_setting.json | 28 + .../fogs/frozen_river_fog_setting.json | 28 + resource_pack/fogs/hell_fog_setting.json | 40 + .../fogs/ice_mountains_fog_setting.json | 28 + .../fogs/ice_plains_fog_setting.json | 28 + .../fogs/ice_plains_spikes_fog_setting.json | 28 + .../fogs/jungle_edge_fog_setting.json | 28 + resource_pack/fogs/jungle_fog_setting.json | 28 + .../fogs/jungle_hills_fog_setting.json | 28 + .../fogs/jungle_mutated_fog_setting.json | 28 + .../fogs/lukewarm_ocean_fog_setting.json | 28 + .../fogs/mangrove_swamp_fog_setting.json | 16 + .../fogs/mega_spruce_taiga_fog_setting.json | 28 + ...mega_spruse_taiga_mutated_fog_setting.json | 28 + .../fogs/mega_taiga_fog_setting.json | 28 + .../fogs/mega_taiga_hills_fog_setting.json | 28 + .../fogs/mega_taiga_mutated_fog_setting.json | 28 + .../fogs/mesa_bryce_fog_setting.json | 28 + resource_pack/fogs/mesa_fog_setting.json | 28 + .../fogs/mesa_mutated_fog_setting.json | 28 + .../fogs/mesa_plateau_fog_setting.json | 28 + .../fogs/mesa_plateau_stone_fog_setting.json | 28 + .../fogs/mushroom_island_fog_setting.json | 28 + .../mushroom_island_shore_fog_setting.json | 28 + resource_pack/fogs/ocean_fog_setting.json | 28 + .../fogs/pale_garden_fog_setting.json | 40 + resource_pack/fogs/plains_fog_setting.json | 28 + .../fogs/powder_snow_fog_setting.json | 16 + resource_pack/fogs/river_fog_setting.json | 28 + .../fogs/roofed_forest_fog_setting.json | 28 + resource_pack/fogs/savanna_fog_setting.json | 28 + .../fogs/savanna_mutated_fog_setting.json | 28 + .../fogs/savanna_plateau_fog_setting.json | 28 + .../fogs/soulsand_valley_fog_setting.json | 40 + .../fogs/stone_beach_fog_setting.json | 28 + .../fogs/sunflower_plains_fog_setting.json | 28 + resource_pack/fogs/swampland_fog_setting.json | 28 + .../fogs/swampland_mutated_fog_setting.json | 28 + resource_pack/fogs/taiga_fog_setting.json | 28 + .../fogs/taiga_hills_fog_setting.json | 28 + .../fogs/taiga_mutated_fog_setting.json | 28 + resource_pack/fogs/the_end_fog_setting.json | 34 + .../fogs/warm_ocean_fog_setting.json | 28 + .../fogs/warped_forest_fog_setting.json | 40 + resource_pack/font/emoticons.json | 626 + resource_pack/font/font_metadata.json | 93 + resource_pack/items/apple.json | 14 + resource_pack/items/appleEnchanted.json | 15 + resource_pack/items/baked_potato.json | 14 + resource_pack/items/beef.json | 14 + resource_pack/items/beetroot.json | 14 + resource_pack/items/beetroot_seeds.json | 13 + resource_pack/items/beetroot_soup.json | 14 + resource_pack/items/board.json | 13 + resource_pack/items/bread.json | 14 + resource_pack/items/camera.json | 13 + resource_pack/items/carrot.json | 14 + resource_pack/items/chicken.json | 14 + resource_pack/items/chorus_fruit.json | 14 + resource_pack/items/clownfish.json | 14 + resource_pack/items/cooked_beef.json | 14 + resource_pack/items/cooked_chicken.json | 14 + resource_pack/items/cooked_fish.json | 14 + resource_pack/items/cooked_porkchop.json | 14 + resource_pack/items/cooked_rabbit.json | 14 + resource_pack/items/cooked_salmon.json | 14 + resource_pack/items/cookie.json | 14 + resource_pack/items/dried_kelp.json | 14 + resource_pack/items/fish.json | 14 + resource_pack/items/glow_berries.json | 16 + resource_pack/items/golden_apple.json | 15 + resource_pack/items/golden_carrot.json | 14 + resource_pack/items/honey_bottle.json | 14 + resource_pack/items/honeycomb.json | 13 + resource_pack/items/melon.json | 14 + resource_pack/items/melon_seeds.json | 13 + resource_pack/items/mushroom_stew.json | 14 + resource_pack/items/muttonCooked.json | 14 + resource_pack/items/muttonRaw.json | 14 + resource_pack/items/nether_wart.json | 13 + resource_pack/items/photo.json | 12 + resource_pack/items/pitcher_pod.json | 13 + resource_pack/items/poisonous_potato.json | 14 + resource_pack/items/porkchop.json | 14 + resource_pack/items/portfolio.json | 14 + resource_pack/items/potato.json | 14 + resource_pack/items/pufferfish.json | 14 + resource_pack/items/pumpkin_pie.json | 14 + resource_pack/items/pumpkin_seeds.json | 13 + resource_pack/items/rabbit.json | 14 + resource_pack/items/rabbit_stew.json | 14 + resource_pack/items/rotten_flesh.json | 14 + resource_pack/items/salmon.json | 14 + resource_pack/items/spider_eye.json | 14 + resource_pack/items/suspicious_stew.json | 14 + resource_pack/items/sweet_berries.json | 14 + resource_pack/items/torchflower_seeds.json | 13 + resource_pack/items/wheat_seeds.json | 13 + resource_pack/library/categories.json | 871 ++ resource_pack/loading_messages.json | 423 + resource_pack/materials/common.json | 4 + resource_pack/materials/fancy.json | 6 + resource_pack/materials/gameface.json | 2 + resource_pack/materials/sad.json | 5 + resource_pack/models/entity/allay.geo.json | 84 + .../models/entity/armadillo.geo.json | 147 + .../models/entity/armor_stand.geo.json | 142 + resource_pack/models/entity/arrow.geo.json | 50 + resource_pack/models/entity/axolotl.geo.json | 118 + resource_pack/models/entity/balloon.geo.json | 165 + resource_pack/models/entity/bat.geo.json | 113 + resource_pack/models/entity/bat_v2.geo.json | 87 + resource_pack/models/entity/bee.geo.json | 74 + resource_pack/models/entity/blaze.geo.json | 155 + resource_pack/models/entity/bogged.geo.json | 105 + .../models/entity/bogged_armor.geo.json | 110 + resource_pack/models/entity/bow.geo.json | 85 + resource_pack/models/entity/breeze.geo.json | 282 + resource_pack/models/entity/camel.geo.json | 146 + resource_pack/models/entity/cat.geo.json | 138 + resource_pack/models/entity/chicken.geo.json | 216 + resource_pack/models/entity/cod.geo.json | 91 + resource_pack/models/entity/cow.geo.json | 104 + resource_pack/models/entity/cow_v1.0.geo.json | 98 + resource_pack/models/entity/creaking.geo.json | 148 + resource_pack/models/entity/creeper.geo.json | 167 + .../models/entity/creeper.v1.0.geo.json | 157 + resource_pack/models/entity/crossbow.geo.json | 125 + resource_pack/models/entity/dolphin.geo.json | 126 + resource_pack/models/entity/drowned.geo.json | 186 + .../models/entity/drowned_v1.0.geo.json | 191 + .../models/entity/ender_crystal.geo.json | 64 + .../models/entity/ender_dragon.geo.json | 309 + resource_pack/models/entity/enderman.geo.json | 111 + .../models/entity/enderman_v1.0.geo.json | 100 + .../models/entity/endermite.geo.json | 56 + .../models/entity/evocation_fang.json | 50 + resource_pack/models/entity/evoker.geo.json | 137 + .../models/entity/evoker_v1.0.geo.json | 89 + .../models/entity/experience_orb.geo.json | 27 + resource_pack/models/entity/fireball.geo.json | 29 + .../models/entity/fireworks_rocket.geo.json | 40 + .../models/entity/fishing_hook.geo.json | 57 + resource_pack/models/entity/fox.geo.json | 160 + resource_pack/models/entity/frog.geo.json | 115 + resource_pack/models/entity/ghast.geo.json | 131 + .../models/entity/glow_squid.geo.json | 138 + resource_pack/models/entity/goat.geo.json | 133 + resource_pack/models/entity/guardian.geo.json | 243 + .../models/entity/guardian.v1.0.geo.json | 243 + resource_pack/models/entity/hoglin.geo.json | 95 + resource_pack/models/entity/horse_v1.geo.json | 486 + resource_pack/models/entity/horse_v2.geo.json | 732 + resource_pack/models/entity/horse_v3.geo.json | 301 + resource_pack/models/entity/husk.geo.json | 126 + .../models/entity/husk.v1.0.geo.json | 8 + .../models/entity/item_sprite.geo.json | 26 + .../models/entity/leash_knot.geo.json | 23 + resource_pack/models/entity/llama.geo.json | 128 + resource_pack/models/entity/llama_spit.json | 53 + .../models/entity/llama_v1.0.geo.json | 170 + .../entity/location_pointer_idle.geo.json | 35 + .../entity/location_pointer_selected.geo.json | 35 + .../models/entity/magma_cube.geo.json | 119 + .../models/entity/magma_cube_v2.geo.json | 119 + .../models/entity/map_marker.geo.json | 111 + resource_pack/models/entity/minecart.geo.json | 77 + .../models/entity/minecart_v1.0.geo.json | 82 + .../models/entity/mooshroom.geo.json | 103 + .../models/entity/mooshroom_v1.0.geo.json | 98 + resource_pack/models/entity/npc.geo.json | 151 + resource_pack/models/entity/ocelot.geo.json | 128 + .../models/entity/ocelot_v1.0.geo.json | 120 + resource_pack/models/entity/panda.geo.json | 99 + resource_pack/models/entity/parrot.geo.json | 148 + resource_pack/models/entity/phantom.geo.json | 120 + resource_pack/models/entity/pig.geo.json | 94 + resource_pack/models/entity/pig.v3.geo.json | 108 + resource_pack/models/entity/pig_v1.0.geo.json | 88 + resource_pack/models/entity/piglin.geo.json | 106 + resource_pack/models/entity/pillager.geo.json | 124 + resource_pack/models/entity/player_armor.json | 76 + .../models/entity/polar_bear.geo.json | 109 + .../models/entity/pufferfish.geo.json | 613 + .../models/entity/pufferfish_v1.0.geo.json | 425 + resource_pack/models/entity/rabbit.geo.json | 178 + .../models/entity/rabbit_v1.0.geo.json | 167 + resource_pack/models/entity/ravager.geo.json | 310 + .../models/entity/ruler_idle.geo.json | 48 + .../entity/ruler_pointer_selected.geo.json | 48 + resource_pack/models/entity/saddle.geo.json | 29 + resource_pack/models/entity/salmon.geo.json | 112 + resource_pack/models/entity/sheep.geo.json | 171 + .../models/entity/sheep_v1.0.geo.json | 163 + resource_pack/models/entity/shield.geo.json | 31 + resource_pack/models/entity/shulker.geo.json | 47 + .../models/entity/shulker_bullet.geo.json | 30 + .../models/entity/shulker_v1.0.geo.json | 48 + .../models/entity/silverfish.geo.json | 131 + resource_pack/models/entity/skeleton.geo.json | 121 + .../models/entity/skeleton.v1.0.geo.json | 115 + resource_pack/models/entity/slime.geo.json | 59 + .../models/entity/slime_armor.geo.json | 59 + resource_pack/models/entity/sniffer.geo.json | 123 + .../models/entity/snow_golem.geo.json | 79 + .../models/entity/snow_golem.v1.0.geo.json | 73 + resource_pack/models/entity/spider.geo.json | 99 + .../models/entity/spider_v1.0.geo.json | 144 + resource_pack/models/entity/spyglass.geo.json | 34 + resource_pack/models/entity/squid.geo.json | 138 + resource_pack/models/entity/stray.geo.json | 119 + .../models/entity/stray_armor.geo.json | 117 + .../models/entity/stray_armor_v1.0.geo.json | 110 + .../models/entity/stray_v1.0.geo.json | 112 + resource_pack/models/entity/strider.geo.json | 93 + resource_pack/models/entity/tadpole.geo.json | 37 + resource_pack/models/entity/trident.geo.json | 42 + resource_pack/models/entity/tripod.geo.json | 67 + .../models/entity/tropical_fish.geo.json | 133 + resource_pack/models/entity/turtle.geo.json | 99 + resource_pack/models/entity/vex.geo.json | 75 + resource_pack/models/entity/vex.v1.0.geo.json | 102 + resource_pack/models/entity/villager.geo.json | 96 + .../models/entity/villager_v1.0.geo.json | 92 + .../models/entity/villager_v2.geo.json | 133 + .../models/entity/vindicator.geo.json | 137 + .../models/entity/vindicator_v1.0.geo.json | 131 + resource_pack/models/entity/warden.geo.json | 142 + .../models/entity/wind_charge.geo.json | 43 + resource_pack/models/entity/witch.geo.json | 76 + .../models/entity/witch_v1.0.geo.json | 76 + .../models/entity/wither_boss.geo.json | 98 + .../models/entity/wither_boss_armor.geo.json | 109 + .../entity/wither_boss_armor.v1.0.geo.json | 110 + .../models/entity/wither_skeleton.geo.json | 116 + .../entity/wither_skeleton.v1.0.geo.json | 110 + .../models/entity/wither_skull.geo.json | 26 + resource_pack/models/entity/wolf.geo.json | 118 + .../models/entity/wolf_armor.geo.json | 116 + resource_pack/models/entity/zombie.geo.json | 125 + .../models/entity/zombie.v1.0.geo.json | 10 + .../models/entity/zombie_pigman.geo.json | 119 + .../models/entity/zombie_pigman.v1.0.geo.json | 17 + .../models/entity/zombie_pigman_baby.geo.json | 111 + .../entity/zombie_pigman_baby.v1.0.geo.json | 8 + .../models/entity/zombie_villager.geo.json | 149 + .../entity/zombie_villager.v1.0.geo.json | 116 + .../models/entity/zombie_villager_v2.geo.json | 143 + resource_pack/models/mobs.json | 1330 ++ resource_pack/particles/arrowspell.json | 68 + .../particles/azalea_leaves_particle.json | 70 + resource_pack/particles/balloon_gas.json | 51 + resource_pack/particles/basic_bubble.json | 46 + .../particles/basic_bubble_manual.json | 47 + resource_pack/particles/basic_crit.json | 77 + resource_pack/particles/basic_flame.json | 41 + resource_pack/particles/basic_portal.json | 55 + resource_pack/particles/basic_smoke.json | 53 + .../biome_tinted_leaves_particle.json | 70 + resource_pack/particles/bleach.json | 45 + resource_pack/particles/block_destruct.json | 51 + resource_pack/particles/block_slide.json | 51 + resource_pack/particles/blue_flame.json | 41 + .../particles/breaking_item_icon.json | 48 + .../particles/breaking_item_terrain.json | 48 + .../particles/breeze_ground_particle.json | 51 + .../particles/breeze_wind_explosion.json | 45 + .../particles/bubble_column_bubble.json | 48 + .../particles/bubble_column_down.json | 52 + resource_pack/particles/bubble_column_up.json | 49 + .../particles/camera_shoot_explosion.json | 45 + resource_pack/particles/campfire_smoke.json | 51 + .../particles/campfire_smoke_tall.json | 51 + resource_pack/particles/candle_flame.json | 41 + resource_pack/particles/cauldron_bubble.json | 46 + resource_pack/particles/cauldron_splash.json | 49 + resource_pack/particles/cauldronspell.json | 69 + .../particles/cherry_leaves_particle.json | 70 + resource_pack/particles/colored_flame.json | 42 + resource_pack/particles/conduit.json | 52 + resource_pack/particles/conduit_absorb.json | 52 + resource_pack/particles/conduit_attack.json | 52 + .../particles/creaking_crumble_body.json | 47 + .../particles/creaking_crumble_head.json | 47 + .../particles/creaking_heart_trail.json | 45 + resource_pack/particles/critical_hit.json | 68 + resource_pack/particles/crop_growth.json | 42 + resource_pack/particles/crop_growth_area.json | 42 + resource_pack/particles/dolphin_move.json | 46 + .../particles/dragon_breath_fire.json | 54 + .../particles/dragon_breath_lingering.json | 52 + .../particles/dragon_breath_trail.json | 49 + .../particles/dragon_death_explosion.json | 48 + .../particles/dragon_destroy_block.json | 45 + .../particles/dragon_dying_explosion.json | 45 + .../particles/dripstone_lava_drip.json | 72 + .../particles/dripstone_water_drip.json | 85 + resource_pack/particles/dust_plume.json | 51 + .../editor_selected_marker.particle.json | 52 + resource_pack/particles/electric_spark.json | 53 + .../particles/enchanting_table_particle.json | 55 + resource_pack/particles/end_chest.json | 60 + resource_pack/particles/endrod.json | 53 + .../evaporation_elephant_toothpaste.json | 56 + resource_pack/particles/evocation_fang.json | 64 + resource_pack/particles/evoker_spell.json | 69 + .../particles/explosion_cauldron.json | 57 + resource_pack/particles/explosion_death.json | 58 + .../particles/explosion_egg_destroy.json | 58 + .../particles/explosion_eyeofender_death.json | 55 + .../particles/explosion_labtable_fire.json | 56 + resource_pack/particles/explosion_level.json | 55 + resource_pack/particles/explosion_manual.json | 59 + .../particles/eye_of_ender_bubble.json | 46 + resource_pack/particles/eyeblossom_close.json | 44 + resource_pack/particles/eyeblossom_open.json | 44 + .../particles/falling_border_dust.json | 51 + resource_pack/particles/falling_dust.json | 52 + .../falling_dust_concrete_powder.json | 52 + .../particles/falling_dust_dragon_egg.json | 52 + .../particles/falling_dust_gravel.json | 52 + .../particles/falling_dust_red_sand.json | 52 + .../particles/falling_dust_sand.json | 52 + .../particles/falling_dust_scaffolding.json | 52 + .../particles/falling_dust_top_snow.json | 52 + resource_pack/particles/fish_hook.json | 46 + resource_pack/particles/fish_pos.json | 46 + resource_pack/particles/glow.json | 43 + resource_pack/particles/guardian_attack.json | 46 + .../particles/guardian_water_move.json | 47 + resource_pack/particles/heart.json | 53 + resource_pack/particles/honey_drip.json | 76 + .../particles/huge_explosion_lab_misc.json | 48 + .../particles/huge_explosion_level.json | 48 + resource_pack/particles/ice_evaporation.json | 54 + resource_pack/particles/infested_ambient.json | 57 + resource_pack/particles/infested_emitter.json | 58 + resource_pack/particles/ink.json | 62 + resource_pack/particles/knockback_roar.json | 50 + .../particles/lab_table_heatblock_dust.json | 43 + .../particles/lab_table_misc_mystical.json | 55 + .../particles/large_explosion_level.json | 45 + resource_pack/particles/lava_drip.json | 59 + resource_pack/particles/lava_particle.json | 82 + resource_pack/particles/llama_spit.json | 54 + resource_pack/particles/magnesium_salts.json | 69 + resource_pack/particles/mob_block_spawn.json | 58 + resource_pack/particles/mob_portal.json | 56 + resource_pack/particles/mobflame.json | 54 + resource_pack/particles/mobflame_single.json | 46 + resource_pack/particles/mobspell.json | 69 + resource_pack/particles/mobspell_ambient.json | 68 + .../particles/mobspell_lingering.json | 70 + resource_pack/particles/mycelium_dust.json | 45 + resource_pack/particles/nectar_drip.json | 60 + resource_pack/particles/note.json | 52 + .../particles/obsidian_glow_dust.json | 55 + resource_pack/particles/obsidian_tear.json | 63 + .../particles/ominous_spawning_particle.json | 61 + resource_pack/particles/oozing_ambient.json | 46 + resource_pack/particles/oozing_emitter.json | 46 + .../particles/pale_oak_leaves_particle.json | 70 + resource_pack/particles/phantom_trail.json | 46 + .../particles/portal_directional.json | 55 + resource_pack/particles/portal_east_west.json | 62 + .../particles/portal_north_south.json | 61 + resource_pack/particles/portal_reverse.json | 63 + .../particles/raid_omen_ambient.json | 57 + .../particles/raid_omen_emitter.json | 58 + resource_pack/particles/rain_splash.json | 50 + .../particles/redstone_ore_dust.json | 55 + .../particles/redstone_repeater_dust.json | 55 + .../particles/redstone_torch_dust.json | 55 + .../particles/redstone_wire_dust.json | 55 + .../particles/rising_border_dust.json | 51 + resource_pack/particles/sculk_charge.json | 60 + resource_pack/particles/sculk_charge_pop.json | 60 + .../sculk_sensor_redstone_particle.json | 62 + resource_pack/particles/sculk_soul.json | 59 + resource_pack/particles/shriek.json | 50 + resource_pack/particles/shulker_bullet.json | 53 + resource_pack/particles/silverfish_grief.json | 59 + resource_pack/particles/small_flame.json | 79 + .../particles/small_soul_fire_flame.json | 79 + .../particles/smash_ground_particle.json | 61 + .../smash_ground_particle_center.json | 59 + resource_pack/particles/sneeze.json | 49 + resource_pack/particles/snowflake.json | 57 + resource_pack/particles/sonic_explosion.json | 53 + resource_pack/particles/soul.json | 55 + resource_pack/particles/sparkler.json | 63 + .../particles/splashpotionspell.json | 74 + .../particles/sponge_absorb_bubble.json | 46 + .../spore_blossom_ambient_block_actor.json | 46 + .../particles/spore_blossom_shower.json | 59 + resource_pack/particles/squid_flee.json | 46 + resource_pack/particles/squid_ink_bubble.json | 50 + resource_pack/particles/squid_move.json | 49 + resource_pack/particles/stunned.json | 64 + resource_pack/particles/totem.json | 75 + resource_pack/particles/totem_manual.json | 73 + .../particles/trial_omen_ambient.json | 57 + .../particles/trial_omen_emitter.json | 58 + .../particles/trial_omen_single.json | 60 + .../trial_spawner_detection.particle.json | 60 + ...al_spawner_detection_ominous.particle.json | 60 + .../particles/underwater_torch_bubble.json | 46 + resource_pack/particles/vault_connection.json | 53 + resource_pack/particles/vibration_signal.json | 57 + resource_pack/particles/villager_angry.json | 45 + resource_pack/particles/villager_happy.json | 45 + .../particles/warden_dig.particle.json | 52 + resource_pack/particles/water_drip.json | 76 + .../particles/water_evaporation_actor.json | 58 + .../particles/water_evaporation_bucket.json | 56 + .../particles/water_evaporation_manual.json | 58 + resource_pack/particles/water_splash.json | 53 + .../particles/water_splash_manual.json | 53 + resource_pack/particles/water_wake.json | 43 + resource_pack/particles/wax.json | 58 + resource_pack/particles/weaving_ambient.json | 46 + resource_pack/particles/weaving_emitter.json | 46 + resource_pack/particles/white_smoke.json | 56 + .../particles/wind_charged_ambient.json | 43 + .../particles/wind_charged_emitter.json | 43 + resource_pack/particles/wind_explosion.json | 45 + resource_pack/particles/witchspell.json | 72 + .../particles/wither_boss_invulnerable.json | 68 + .../pieces/alex_hair/alex_hair.meta.json | 19 + .../alex_hair/alex_hair.store_info.json | 4 + .../pieces/alex_pants/alex_pants.meta.json | 11 + .../alex_pants/alex_pants.store_info.json | 4 + .../pieces/alex_shirt/alex_shirt.meta.json | 10 + .../alex_shirt/alex_shirt.store_info.json | 4 + .../pieces/alex_shoes/alex_shoes.meta.json | 11 + .../alex_shoes/alex_shoes.store_info.json | 4 + .../pieces/alex_skin/alex_skin.meta.json | 19 + .../alex_skin/skin_alex.store_info.json | 4 + .../pieces/ari_hair/ari_hair.meta.json | 19 + .../pieces/ari_hair/ari_hair.store_info.json | 4 + .../pieces/ari_pants/ari_pants.meta.json | 10 + .../ari_pants/ari_pants.store_info.json | 4 + .../pieces/ari_shirt/ari_shirt.meta.json | 10 + .../ari_shirt/ari_shirt.store_info.json | 4 + .../pieces/ari_shoes/ari_shoes.meta.json | 10 + .../ari_shoes/ari_shoes.store_info.json | 4 + .../pieces/ari_skin/ari_skin.meta.json | 19 + .../pieces/ari_skin/ari_skin.store_info.json | 4 + .../pieces/body/medium/medium.geometry.json | 1802 +++ .../pieces/body/medium/medium.meta.json | 92 + .../medium_skeleton.geometry.json | 190 + .../medium_skeleton/medium_skeleton.meta.json | 60 + .../pieces/body/small/small.geometry.json | 1802 +++ .../pieces/body/small/small.meta.json | 92 + .../small_skeleton.geometry.json | 196 + .../small_skeleton/small_skeleton.meta.json | 60 + .../pieces/body/smaller/smaller.geometry.json | 1802 +++ .../pieces/body/smaller/smaller.meta.json | 92 + .../smaller_skeleton.geometry.json | 196 + .../smaller_skeleton.meta.json | 60 + .../pieces/body/tall/tall.geometry.json | 1802 +++ resource_pack/pieces/body/tall/tall.meta.json | 92 + .../tall_skeleton/tall_skeleton.geometry.json | 190 + .../tall_skeleton/tall_skeleton.meta.json | 60 + .../efe_cardigan/efe_cardigan.meta.json | 11 + .../efe_cardigan/efe_cardigan.store_info.json | 4 + .../pieces/efe_earring/efe_earring.meta.json | 11 + .../efe_earring/efe_earring.store_info.json | 4 + .../pieces/efe_hair/efe_hair.meta.json | 15 + .../pieces/efe_hair/efe_hair.store_info.json | 4 + .../pieces/efe_jewels/efe_jewelry.meta.json | 10 + .../efe_jewels/efe_jewels.store_info.json | 4 + .../pieces/efe_pants/efe_pants.meta.json | 18 + .../efe_pants/efe_pants.store_info.json | 4 + .../pieces/efe_shirt/efe_shirt.meta.json | 10 + .../efe_shirt/efe_shirt.store_info.json | 4 + .../pieces/efe_shoes/efe_shoes.meta.json | 10 + .../efe_shoes/efe_shoes.store_info.json | 4 + .../pieces/efe_skin/efe_skin.meta.json | 19 + .../pieces/efe_skin/efe_skin.store_info.json | 4 + .../communication_follow_me.animation.json | 377 + .../communication_follow_me.meta.json | 11 + .../communication_follow_me.store_info.json | 4 + .../communication_point.animation.json | 257 + .../communication_point.meta.json | 11 + .../communication_point.store_info.json | 4 + .../basic_clap.animation.json | 475 + .../emote_simpleClap/basic_clap.meta.json | 11 + .../basic_clap.store_info.json | 4 + .../emote_wave/overhead_wave.animation.json | 457 + .../pieces/emote_wave/overhead_wave.meta.json | 11 + .../emote_wave/overhead_wave.store_info.json | 4 + .../pieces/kai_dress/kai_dress.meta.json | 10 + .../kai_dress/kai_dress.store_info.json | 4 + .../pieces/kai_hair/kai_hair.meta.json | 15 + .../pieces/kai_hair/kai_hair.store_info.json | 4 + .../pieces/kai_jacket/kai_jacket.meta.json | 11 + .../kai_jacket/kai_jacket.store_info.json | 4 + .../pieces/kai_shoes/kai_shoes.meta.json | 10 + .../kai_shoes/kai_shoes.store_info.json | 4 + .../pieces/kai_skin/kai_skin.meta.json | 19 + .../pieces/kai_skin/kai_skin.store_info.json | 4 + .../pieces/makena_hair/makena_hair.meta.json | 19 + .../makena_hair/makena_hair.store_info.json | 4 + .../makena_pants/makena_pants.meta.json | 11 + .../makena_pants/makena_pants.store_info.json | 4 + .../makena_shirt/makena_shirt.meta.json | 10 + .../makena_shirt/makena_shirt.store_info.json | 4 + .../makena_shoes/makena_shoes.meta.json | 10 + .../makena_shoes/makena_shoes.store_info.json | 4 + .../pieces/makena_skin/makena_skin.meta.json | 19 + .../makena_skin/makena_skin.store_info.json | 4 + .../pieces/noor_hair/noor_hair.meta.json | 19 + .../noor_hair/noor_hair.store_info.json | 4 + .../pieces/noor_jacket/noor_jacket.meta.json | 11 + .../noor_jacket/noor_jacket.store_info.json | 4 + .../pieces/noor_pants/noor_pants.meta.json | 18 + .../noor_pants/noor_pants.store_info.json | 4 + .../pieces/noor_shirt/noor_shirt.meta.json | 10 + .../noor_shirt/noor_shirt.store_info.json | 4 + .../pieces/noor_shoes/noor_shoes.meta.json | 10 + .../noor_shoes/noor_shoes.store_info.json | 4 + .../pieces/noor_skin/noor_skin.meta.json | 19 + .../noor_skin/noor_skin.store_info.json | 4 + .../standard_eyes/standard_eyes.meta.json | 24 + .../standard_eyes.store_info.json | 4 + .../standard_mouth/standard_mouth.meta.json | 20 + .../standard_mouth.store_info.json | 4 + .../pieces/steve_beard/steve_beard.meta.json | 15 + .../steve_beard/steve_beard.store_info.json | 4 + .../pieces/steve_hair/steve_hair.meta.json | 15 + .../steve_hair/steve_hair.store_info.json | 4 + .../steve_mouth/steve_mouth.meta.meta.json | 20 + .../steve_mouth/steve_mouth.store_info.json | 4 + .../pieces/steve_pants/steve_pants.meta.json | 11 + .../steve_pants/steve_pants.store_info.json | 4 + .../pieces/steve_shirt/steve_shirt.meta.json | 10 + .../steve_shirt/steve_shirt.store_info.json | 4 + .../pieces/steve_shoes/steve_shoes.meta.json | 11 + .../steve_shoes/steve_shoes.store_info.json | 4 + .../steve_skin/skin_steve.store_info.json | 4 + .../pieces/steve_skin/steve_skin.meta.json | 19 + .../pieces/straight/straight.meta.json | 24 + .../pieces/straight/straight.store_info.json | 4 + .../pieces/sunny_hair/sunny_hair.meta.json | 15 + .../sunny_hair/sunny_hair.store_info.json | 4 + .../pieces/sunny_pants/sunny_pants.meta.json | 20 + .../sunny_pants/sunny_pants.store_info.json | 4 + .../pieces/sunny_shirt/sunny_shirt.meta.json | 10 + .../sunny_shirt/sunny_shirt.store_info.json | 4 + .../pieces/sunny_shoes/sunny_shoes.meta.json | 10 + .../sunny_shoes/sunny_shoes.store_info.json | 4 + .../pieces/sunny_skin/sunny_skin.meta.json | 19 + .../sunny_skin/sunny_skin.store_info.json | 4 + .../pieces/zuri_hair/zuri_hair.meta.json | 15 + .../zuri_hair/zuri_hair.store_info.json | 4 + .../pieces/zuri_pants/zuri_pants.meta.json | 11 + .../zuri_pants/zuri_pants.store_info.json | 4 + .../pieces/zuri_shirt/zuri_Shirt.meta.json | 10 + .../zuri_shirt/zuri_shirt.store_info.json | 4 + .../pieces/zuri_shoes/zuri_shoes.meta.json | 11 + .../zuri_shoes/zuri_shoes.store_info.json | 4 + .../pieces/zuri_skin/zuri_skin.meta.json | 19 + .../zuri_skin/zuri_skin.store_info.json | 4 + .../agent.render_controllers.json | 10 + .../allay.render_controllers.json | 11 + .../armadillo.render_controllers.json | 17 + .../armor.leather.render_controllers.json | 10 + .../armor.render_controllers.json | 10 + .../armor_stand.render_controllers.json | 17 + .../arrow.render_controllers.json | 11 + .../axolotl.render_controllers.json | 20 + .../balloon.render_controllers.json | 10 + .../bat.render_controllers.json | 10 + .../bee.render_controllers.json | 20 + .../blaze.render_controllers.json | 13 + .../bogged.render_controllers.json | 14 + .../bogged_clothes.render_controllers.json | 11 + .../bow.render_controllers.json | 28 + .../breeze.render_controllers.json | 55 + .../camel.render_controllers.json | 15 + .../cape.render_controllers.json | 20 + .../cat.render_controllers.json | 40 + .../chicken.render_controllers.json | 13 + .../cod.render_controllers.json | 10 + .../cow.render_controllers.json | 10 + .../creaking.render_controllers.json | 30 + .../creeper.render_controllers.json | 16 + .../creeper_armor.render_controllers.json | 26 + .../crossbow.render_controllers.json | 32 + .../default.render_controllers.json | 10 + .../dolphin.render_controllers.json | 10 + .../donkey_v1_and_v2.render_controllers.json | 19 + .../donkey_v3.render_controllers .json | 20 + .../drowned.render_controllers.json | 10 + .../ender_crystal.render_controllers.json | 11 + .../ender_dragon.render_controllers.json | 33 + .../enderman.render_controllers.json | 15 + .../endermite.render_controllers.json | 10 + .../evocation_fang.render_controllers.json | 11 + .../evoker.render_controllers.json | 16 + .../experience_bottle.render_controllers.json | 11 + .../experience_orb.render_controllers.json | 21 + .../fireball.render_controllers.json | 17 + .../fireworks_rocket.render_controllers.json | 14 + .../fishing_hook.render_controllers.json | 10 + .../fox.render_controllers.json | 23 + .../frog.render_controllers.json | 16 + .../ghast.render_controllers.json | 15 + .../glow_squid.render_controllers.json | 16 + .../goat.render_controllers.json | 15 + .../guardian.render_controllers.json | 10 + .../hoglin.render_controllers.json | 10 + .../horse_v1_and_v2.render_controllers.json | 56 + .../horse_v3.render_controllers.json | 57 + .../husk.render_controllers.json | 10 + .../iron_golem.render_controllers.json | 19 + .../item_default.render_controllers.json | 10 + .../item_sprite.render_controllers.json | 11 + .../leash_knot.render_controllers.json | 11 + .../lingering_potion.render_controllers.json | 48 + .../llama.render_controllers.json | 21 + .../llama_spit.render_controllers.json | 10 + .../magma_cube.render_controllers.json | 10 + .../render_controllers/map_marker.json | 16 + .../minecart.render_controllers.json | 10 + .../mooshroom.render_controllers.json | 18 + .../mule_v1_and_v2.render_controllers.json | 19 + .../mule_v3.render_controllers.json | 20 + .../npc.render_controllers.json | 89 + .../ocelot.render_controllers.json | 15 + .../panda.render_controllers.json | 23 + .../parrot.render_controllers.json | 15 + .../persona.render_controllers.json | 175 + .../phantom.render_controllers.json | 15 + .../pig.render_controllers.json | 15 + .../pig.v3.render_controllers.json | 19 + .../piglin.render_controllers.json | 10 + .../piglin_brute.render_controllers.json | 10 + .../pillager.render_controllers.json | 10 + .../player.render_controllers.json | 72 + .../polar_bear.render_controllers.json | 10 + .../pufferfish.render_controllers.json | 20 + .../rabbit.render_controllers.json | 15 + .../ravager.render_controllers.json | 10 + .../saddle.render_controllers.json | 13 + .../salmon.render_controllers.json | 10 + .../sheep.render_controllers.json | 15 + .../shield.render_controllers.json | 14 + .../shulker.render_controllers.json | 33 + .../shulker_bullet.render_controllers.json | 10 + .../silverfish.render_controllers.json | 26 + .../skeleton.render_controllers.json | 10 + ...on_horse_v1_and_v2.render_controllers.json | 19 + .../skeleton_horse_v3.render_controllers.json | 20 + .../slime.render_controllers.json | 10 + .../slime_armor.render_controllers.json | 10 + .../sniffer.render_controllers.json | 10 + .../snow_golem.render_controllers.json | 18 + .../spider.render_controllers.json | 15 + .../splash_potion.render_controllers.json | 48 + .../squid.render_controllers.json | 10 + .../stray.render_controllers.json | 11 + .../stray_clothes.render_controllers.json | 11 + .../strider.render_controllers.json | 26 + .../tadpole.render_controllers.json | 10 + .../tripod_camera.render_controllers.json | 16 + .../tropicalfish.render_controllers.json | 35 + .../turtle.render_controllers.json | 10 + .../vex.render_controllers.json | 16 + .../villager.render_controllers.json | 36 + .../villager_v2.render_controllers.json | 89 + .../vindicator.render_controllers.json | 16 + .../wandering_trader.render_controllers.json | 10 + .../warden.render_controllers.json | 70 + .../wind_charge.render_controllers.json | 20 + .../witch.render_controllers.json | 30 + .../wither_boss.render_controllers.json | 21 + .../wither_boss_armor.render_controllers.json | 34 + .../wither_skeleton.render_controllers.json | 10 + .../wither_skull.render_controllers.json | 10 + .../wolf.render_controllers.json | 47 + .../wolf_armor.render_controllers.json | 23 + .../zoglin.render_controllers.json | 10 + .../zombie.render_controllers.json | 10 + ...ie_horse_v1_and_v2.render_controllers.json | 19 + .../zombie_horse_v3.render_controllers.json | 20 + .../zombie_pigman.render_controllers.json | 10 + .../zombie_villager.render_controllers.json | 16 + ...zombie_villager_v2.render_controllers.json | 54 + resource_pack/sounds.json | 150 + resource_pack/sounds/music_definitions.json | 37 + resource_pack/sounds/sound_definitions.json | 148 + resource_pack/splashes.json | 409 + resource_pack/texts/language_names.json | 31 + resource_pack/texts/languages.json | 31 + resource_pack/textures/flipbook_textures.json | 50 + resource_pack/textures/item_texture.json | 46 + resource_pack/textures/terrain_texture.json | 14 + resource_pack/textures/textures_list.json | 8 + resource_pack/textures/ui/Banners.json | 7 + resource_pack/textures/ui/BannersLight.json | 7 + .../textures/ui/BannersTransparent.json | 7 + resource_pack/textures/ui/Black.json | 7 + .../textures/ui/DarkBannerNoBorder.json | 7 + resource_pack/textures/ui/Gray.json | 7 + resource_pack/textures/ui/Grey.json | 7 + .../textures/ui/HowToPlayDivider.json | 7 + resource_pack/textures/ui/Local.json | 7 + .../textures/ui/MainBannersHover.json | 7 + .../textures/ui/NormalButtonNoStroke.json | 7 + .../textures/ui/NormalButtonStroke.json | 7 + .../textures/ui/NormalButtonThin.json | 7 + .../textures/ui/NormalButtonThinStroke.json | 7 + resource_pack/textures/ui/ScrollBox.json | 7 + .../textures/ui/ScrollGutterWithBG.json | 7 + resource_pack/textures/ui/ScrollHandle.json | 12 + resource_pack/textures/ui/ScrollRail.json | 7 + resource_pack/textures/ui/StoreTopBar.json | 12 + .../textures/ui/StoreTopBarFiller.json | 12 + resource_pack/textures/ui/TabLeftBack.json | 7 + .../textures/ui/TabLeftBackBottomMost.json | 7 + .../ui/TabLeftBackBottomMostHover.json | 7 + .../textures/ui/TabLeftBackHover.json | 7 + .../textures/ui/TabLeftBackTopMost.json | 7 + .../textures/ui/TabLeftBackTopMostHover.json | 7 + resource_pack/textures/ui/TabLeftFront.json | 7 + .../textures/ui/TabLeftFrontBottomMost.json | 7 + .../ui/TabLeftFrontBottomMostHover.json | 7 + .../textures/ui/TabLeftFrontHover.json | 7 + .../textures/ui/TabLeftFrontTopMost.json | 7 + .../textures/ui/TabLeftFrontTopMostHover.json | 7 + resource_pack/textures/ui/TabRightBack.json | 7 + .../textures/ui/TabRightBackBottomMost.json | 7 + .../ui/TabRightBackBottomMostHover.json | 7 + .../textures/ui/TabRightBackHover.json | 7 + .../textures/ui/TabRightBackTopMost.json | 7 + .../textures/ui/TabRightBackTopMostHover.json | 7 + resource_pack/textures/ui/TabRightFront.json | 7 + .../textures/ui/TabRightFrontBottomMost.json | 7 + .../ui/TabRightFrontBottomMostHover.json | 7 + .../textures/ui/TabRightFrontHover.json | 7 + .../textures/ui/TabRightFrontTopMost.json | 7 + .../ui/TabRightFrontTopMostHover.json | 7 + resource_pack/textures/ui/TabTopBack.json | 7 + .../textures/ui/TabTopBackHover.json | 7 + .../textures/ui/TabTopBackLeftMost.json | 7 + .../textures/ui/TabTopBackLeftMostHover.json | 7 + .../textures/ui/TabTopBackRightMost.json | 7 + .../textures/ui/TabTopBackRightMostDark.json | 7 + .../ui/TabTopBackRightMostDarkHover.json | 7 + .../textures/ui/TabTopBackRightMostHover.json | 7 + resource_pack/textures/ui/TabTopFront.json | 7 + .../textures/ui/TabTopFrontHover.json | 7 + .../textures/ui/TabTopFrontLeftMost.json | 7 + .../textures/ui/TabTopFrontLeftMostHover.json | 7 + .../textures/ui/TabTopFrontRightMost.json | 7 + .../ui/TabTopFrontRightMostHover.json | 7 + resource_pack/textures/ui/White.json | 7 + .../textures/ui/Wishlist_PDP_UI.json | 299 + resource_pack/textures/ui/XTab.json | 7 + .../textures/ui/arrow_dark_left_stretch.json | 7 + .../textures/ui/arrow_dark_right_stretch.json | 7 + resource_pack/textures/ui/auto_save.json | 6 + .../textures/ui/background_image.json | 7 + .../textures/ui/background_indent_no_top.json | 7 + .../textures/ui/background_panel.json | 7 + .../textures/ui/background_with_border.json | 7 + resource_pack/textures/ui/banners_dark.json | 7 + .../textures/ui/banners_no_border.json | 7 + .../ui/banners_no_border_dark_hover.json | 7 + .../textures/ui/beacon_button_locked.json | 7 + .../ui/beacon_default_button_pocket.json | 7 + .../ui/beacon_selected_button_pocket.json | 7 + resource_pack/textures/ui/black_border.json | 7 + resource_pack/textures/ui/bonus_banner.json | 7 + resource_pack/textures/ui/book_back.json | 7 + resource_pack/textures/ui/book_binding.json | 12 + resource_pack/textures/ui/book_cover.json | 7 + resource_pack/textures/ui/book_frame.json | 7 + .../textures/ui/book_pagecrease_left.json | 8 + .../textures/ui/book_pagecrease_right.json | 8 + .../textures/ui/book_pageedge_left.json | 13 + .../textures/ui/book_pageedge_right.json | 13 + resource_pack/textures/ui/book_spine.json | 12 + .../textures/ui/book_texteditbox_hover.json | 7 + .../textures/ui/box_number_grey.json | 7 + resource_pack/textures/ui/break.json | 7 + .../textures/ui/bundle_item_background.json | 7 + .../textures/ui/button_border_dark.json | 7 + .../textures/ui/button_border_light.json | 7 + .../ui/button_border_light_bottom_right.json | 7 + .../textures/ui/button_borderless_dark.json | 7 + .../ui/button_borderless_darkhover.json | 7 + .../ui/button_borderless_darkpressed.json | 7 + .../button_borderless_darkpressednohover.json | 7 + .../button_borderless_imagelesshoverbg.json | 7 + .../textures/ui/button_borderless_light.json | 7 + .../ui/button_borderless_lighthover.json | 7 + .../ui/button_borderless_lightpressed.json | 7 + ...button_borderless_lightpressednohover.json | 7 + .../textures/ui/button_dark_color.json | 7 + resource_pack/textures/ui/button_purple.json | 7 + resource_pack/textures/ui/button_red.json | 7 + .../textures/ui/button_red_pressed.json | 7 + .../textures/ui/button_select_corner.json | 12 + .../textures/ui/button_trade_red.json | 7 + .../textures/ui/button_trade_red_pressed.json | 7 + .../textures/ui/call_out_header.json | 7 + resource_pack/textures/ui/cell_image.json | 7 + .../textures/ui/cell_image_darkgrey.json | 7 + .../textures/ui/cell_image_invert.json | 7 + .../textures/ui/cell_image_lock.json | 7 + .../textures/ui/cell_image_normal.json | 7 + resource_pack/textures/ui/cell_image_red.json | 7 + .../ui/chemistry_slider_background_hover.json | 7 + .../ui/chemistry_slider_button_default.json | 7 + .../textures/ui/classic-button-hover.json | 7 + .../textures/ui/classic-button-pressed.json | 7 + resource_pack/textures/ui/classic-button.json | 7 + .../textures/ui/clickable_overlay.json | 7 + .../ui/clickable_overlay_inverse.json | 7 + resource_pack/textures/ui/coin_bevel.json | 7 + .../textures/ui/coin_button_borderless.json | 7 + .../ui/coin_button_borderless_pressed.json | 7 + .../textures/ui/cointier_backdrop.json | 7 + .../textures/ui/common-classic_hover.json | 7 + .../textures/ui/common-classic_hover_1.json | 7 + .../common-classic_toggle_checked_state.json | 7 + ...common-classic_toggle_unchecked_state.json | 7 + .../textures/ui/compound_background.json | 7 + .../ui/container_weight_bar_fill.json | 12 + .../ui/container_weight_bar_full.json | 12 + resource_pack/textures/ui/control.json | 7 + resource_pack/textures/ui/control_gray.json | 7 + resource_pack/textures/ui/control_white.json | 7 + .../textures/ui/csbButtonContent.json | 7 + .../textures/ui/csbButtonContentHover.json | 7 + .../textures/ui/csbButtonContentPressed.json | 7 + .../ui/csb_button_borderless_default.json | 7 + .../ui/csb_button_borderless_hover.json | 7 + .../csb_button_borderless_hover_pressed.json | 7 + .../ui/csb_button_borderless_pressed.json | 7 + resource_pack/textures/ui/dark_bg.json | 7 + .../ftue/how_to_page_divider.json | 7 + resource_pack/textures/ui/default_indent.json | 7 + .../ui/dialog_background_hollow_1.json | 12 + .../ui/dialog_background_hollow_2.json | 12 + .../ui/dialog_background_hollow_3.json | 12 + .../ui/dialog_background_hollow_4.json | 7 + .../ui/dialog_background_hollow_4_thin.json | 7 + .../ui/dialog_background_hollow_5.json | 12 + .../ui/dialog_background_hollow_6.json | 12 + .../ui/dialog_background_hollow_7.json | 12 + .../ui/dialog_background_hollow_8.json | 12 + .../textures/ui/dialog_background_opaque.json | 7 + ...alog_background_opaque_overlap_bottom.json | 7 + resource_pack/textures/ui/dialog_bubble.json | 4 + resource_pack/textures/ui/dialog_divider.json | 12 + .../textures/ui/dialog_indent_horiz.json | 7 + resource_pack/textures/ui/disabledButton.json | 7 + .../textures/ui/disabledButtonNoBorder.json | 7 + resource_pack/textures/ui/divider.json | 7 + resource_pack/textures/ui/divider2.json | 7 + resource_pack/textures/ui/divider3.json | 7 + .../textures/ui/dressing_room_banner.json | 7 + .../textures/ui/dropdown_background.json | 7 + .../textures/ui/edit_box_indent.json | 7 + .../textures/ui/edit_box_indent_hover.json | 7 + .../edu_borderless_button_focus_pressed.json | 7 + .../ui/edu_borderless_button_normal_dark.json | 7 + .../ui/edu_borderless_button_pressed.json | 7 + .../ui/edu_no_templates_background.json | 7 + .../textures/ui/edu_templates_button.json | 7 + .../textures/ui/edu_worlds_search_bar.json | 7 + .../textures/ui/effect_background.json | 7 + resource_pack/textures/ui/emptyBar.json | 7 + .../textures/ui/empty_progress_bar.json | 12 + .../textures/ui/empty_stack_progress_bar.json | 12 + .../ui/enchanting_active_background.json | 7 + ...ing_active_background_with_hover_text.json | 7 + .../ui/enchanting_dark_background.json | 7 + .../textures/ui/equipped_item_border.json | 7 + .../ui/experience_bar_empty_blue.json | 12 + .../textures/ui/experience_bar_full_blue.json | 12 + .../ui/experience_bar_full_white.json | 12 + .../textures/ui/experiencebarempty.json | 12 + .../textures/ui/experiencebarfull.json | 12 + resource_pack/textures/ui/filledBar.json | 7 + .../textures/ui/filled_progress_bar.json | 12 + resource_pack/textures/ui/flyout.json | 7 + .../textures/ui/focus_border_selected.json | 7 + .../textures/ui/focus_border_white.json | 7 + resource_pack/textures/ui/gameTipBorder.json | 7 + .../break-block-mouse.json | 420 + .../break-block-touch.json | 420 + .../ui/game_tip_animations/camera-mouse.json | 200 + .../ui/game_tip_animations/camera-touch.json | 200 + .../game_tip_animations/chat-open-mouse.json | 234 + .../game_tip_animations/chat-open-touch.json | 234 + .../crafting-table-place-mouse.json | 117 + .../crafting-table-place-touch.json | 117 + .../crafting-table-use-mouse.json | 54 + .../ui/game_tip_animations/emote-mouse.json | 153 + .../ui/game_tip_animations/emote-touch.json | 153 + .../game_tip_animations/fly-down-mouse.json | 180 + .../ui/game_tip_animations/fly-mouse.json | 225 + .../ui/game_tip_animations/fly-touch.json | 225 + .../ui/game_tip_animations/fly-up-mouse.json | 135 + .../ui/game_tip_animations/hotbar-mouse.json | 222 + .../ui/game_tip_animations/hotbar-touch.json | 178 + .../ui/game_tip_animations/jump-mouse.json | 63 + .../movement-ZQSD-mouse.json | 72 + .../game_tip_animations/movement-mouse.json | 156 + .../game_tip_animations/movement-touch.json | 156 + .../open-inventory-creative-mouse.json | 596 + .../open-inventory-creative-touch.json | 596 + .../open-inventory-mouse.json | 46 + .../open-inventory-touch.json | 46 + .../place-block-mouse.json | 266 + .../place-block-touch.json | 266 + .../ui/game_tip_animations/sneak-mouse.json | 162 + .../ui/game_tip_animations/sneak-touch.json | 144 + .../game_tip_animations/stop-fly-mouse.json | 225 + .../game_tip_animations/stop-fly-touch.json | 225 + .../stop-sneaking-touch.json | 162 + .../ui/game_tip_animations/swim-mouse.json | 162 + .../ui/game_tip_animations/swim-touch.json | 162 + resource_pack/textures/ui/gamerpic_bevel.json | 7 + .../textures/ui/gamerpic_bevel_hover.json | 7 + resource_pack/textures/ui/greyBorder.json | 7 + resource_pack/textures/ui/header_bar.json | 12 + resource_pack/textures/ui/header_bar_2.json | 7 + resource_pack/textures/ui/highlight_slot.json | 7 + resource_pack/textures/ui/hollowbanner.json | 7 + .../textures/ui/horizontalbreak.json | 9 + resource_pack/textures/ui/hotbar_end_cap.json | 12 + .../textures/ui/hotbar_start_cap.json | 12 + .../textures/ui/hud_tip_text_background.json | 12 + .../textures/ui/imagetaggedcorner.json | 7 + .../textures/ui/imagetaggedcornerborder.json | 7 + .../textures/ui/imagetaggedcornergreen.json | 12 + .../ui/imagetaggedcornergreenhover.json | 12 + .../ui/imagetaggedcornergreenpressed.json | 12 + .../textures/ui/invite_number_background.json | 7 + resource_pack/textures/ui/item_cell.json | 7 + .../ui/keyboard_tooltip_background.json | 12 + .../textures/ui/keyboard_tooltip_icon.json | 12 + .../legacy_pocket_close_button_default.json | 7 + .../legacy_pocket_close_button_pressed.json | 7 + resource_pack/textures/ui/legacybanner.json | 7 + resource_pack/textures/ui/lightgreybars.json | 7 + .../ui/list_item_divider_line_light.json | 7 + resource_pack/textures/ui/loading_bar.json | 6 + resource_pack/textures/ui/loading_spin.json | 6 + resource_pack/textures/ui/mainbanners.json | 7 + .../textures/ui/mainbanners_transparency.json | 7 + .../marketplace_error_graphic_anim_tree.json | 3 + .../marketplace_error_graphic_anim_water.json | 3 + resource_pack/textures/ui/menubackground.json | 7 + resource_pack/textures/ui/middle_strip.json | 7 + .../textures/ui/mob_effect_background.json | 7 + resource_pack/textures/ui/newOffersIcon.json | 7 + .../textures/ui/newTouchScrollBox.json | 7 + .../textures/ui/normal_stroke_button.json | 7 + resource_pack/textures/ui/numberBGBack.json | 7 + resource_pack/textures/ui/numberBGFront.json | 7 + resource_pack/textures/ui/packs_border.json | 7 + resource_pack/textures/ui/panel_outline.json | 7 + .../textures/ui/pause_screen_border.json | 7 + .../ui/permissions_player_fade_overlay.json | 7 + .../textures/ui/player_preview_border.json | 7 + .../textures/ui/pocket_button_default.json | 7 + .../textures/ui/pocket_button_hover.json | 7 + .../textures/ui/pocket_button_pressed.json | 7 + .../textures/ui/pocket_tab_left_side.json | 7 + .../textures/ui/pocket_tab_right_side.json | 7 + .../ui/pocket_ui_highlight_selected_slot.json | 7 + .../textures/ui/pocket_ui_highlight_slot.json | 7 + resource_pack/textures/ui/previewIcon.json | 7 + .../textures/ui/progress_bar_simple.json | 12 + .../textures/ui/promo_background.json | 7 + resource_pack/textures/ui/promotion_slot.json | 7 + resource_pack/textures/ui/purpleBorder.json | 7 + resource_pack/textures/ui/rarity_common.json | 7 + resource_pack/textures/ui/rarity_epic.json | 7 + .../textures/ui/rarity_legendary.json | 7 + resource_pack/textures/ui/rarity_rare.json | 7 + .../textures/ui/rarity_uncommon.json | 7 + .../textures/ui/realmflagSmooth.json | 7 + .../textures/ui/realmflagtriangleSmooth.json | 7 + resource_pack/textures/ui/realmsContent.json | 7 + .../textures/ui/realmsContentHover.json | 7 + .../textures/ui/realmsContentPressed.json | 7 + .../ui/realms_button_borderless_default.json | 7 + .../ui/realms_button_borderless_hover.json | 7 + ...ealms_button_borderless_hover_pressed.json | 7 + ...alms_button_borderless_lighthoverflag.json | 7 + ...ms_button_borderless_lightpressedflag.json | 7 + ...ms_button_borderless_no_hover_pressed.json | 7 + .../textures/ui/realms_text_background.json | 7 + resource_pack/textures/ui/realmsparkle1.json | 4 + .../textures/ui/recipe_back_panel.json | 7 + .../recipe_book_button_borderless_light.json | 7 + ...ipe_book_button_borderless_lighthover.json | 7 + ...e_book_button_borderless_lightpressed.json | 7 + ...button_borderless_lightpressednohover.json | 7 + .../textures/ui/recipe_book_dark_button.json | 7 + .../ui/recipe_book_dark_button_pressed.json | 7 + .../textures/ui/recipe_book_group_bg.json | 7 + .../ui/recipe_book_group_collapsed.json | 7 + .../ui/recipe_book_group_expanded.json | 7 + .../textures/ui/recipe_book_item_bg.json | 7 + .../textures/ui/recipe_book_light_button.json | 7 + .../ui/recipe_book_light_button_pressed.json | 7 + .../textures/ui/recipe_book_pane_bg.json | 7 + .../textures/ui/recipe_book_red_button.json | 7 + .../ui/recipe_book_red_button_pressed.json | 7 + .../ui/recipe_book_side_toggle_dark.json | 7 + .../recipe_book_side_toggle_dark_hover.json | 7 + .../ui/recipe_book_touch_cell_selected.json | 7 + .../textures/ui/recolorable_background.json | 7 + resource_pack/textures/ui/red_slash.json | 7 + .../ui/ribbon_bar_text_background_hover.json | 7 + .../ui/sale_button_borderless_lighthover.json | 12 + ...sale_button_borderless_lighthoverflag.json | 12 + .../sale_button_borderless_lightpressed.json | 12 + ...le_button_borderless_lightpressedflag.json | 12 + resource_pack/textures/ui/saleflag.json | 12 + .../textures/ui/saleflagtriangle.json | 12 + .../ui/saleflagtrianglebeveldefault.json | 12 + .../saleflagtrianglebeveldefault_large.json | 12 + .../ui/saleflagtrianglebevelpress.json | 12 + .../ui/saleflagtrianglebevelpress_large.json | 12 + resource_pack/textures/ui/saleribbon.json | 12 + .../ui/scoreboard_list_background.json | 7 + .../textures/ui/screen_background.json | 7 + .../ui/sidebar_icons/button_panel.json | 7 + .../side_drawer_button_hover_focused.json | 7 + .../side_drawer_button_selected.json | 7 + .../sidebar_icons/side_drawer_left_panel.json | 7 + .../side_panel_button_hover_focused.json | 7 + .../side_panel_button_selected.json | 7 + .../ui/sidebar_icons/side_panel_divider.json | 7 + .../textures/ui/slider_background.json | 7 + .../textures/ui/slider_background_hover.json | 7 + resource_pack/textures/ui/slider_border.json | 7 + .../textures/ui/slider_button_default.json | 7 + .../textures/ui/slider_button_hover.json | 7 + .../textures/ui/slider_button_indent.json | 7 + .../textures/ui/slider_button_locked.json | 7 + .../ui/slider_locked_transparent_fade.json | 7 + .../textures/ui/slider_progress.json | 7 + .../textures/ui/slider_progress_hover.json | 7 + .../textures/ui/slider_step_background.json | 7 + .../ui/slider_step_background_hover.json | 7 + .../textures/ui/slider_step_progress.json | 7 + .../ui/slider_step_progress_hover.json | 7 + resource_pack/textures/ui/slots_bg.json | 7 + .../ui/square_image_border_white.json | 7 + .../textures/ui/store_background.json | 7 + .../textures/ui/store_banner_no_border.json | 7 + resource_pack/textures/ui/text_label_box.json | 7 + resource_pack/textures/ui/thin_dialog.json | 7 + resource_pack/textures/ui/tip_panel.json | 7 + .../textures/ui/toolbar_background.json | 7 + .../ui/tooltip_default_background.json | 7 + ...oltip_notification_default_background.json | 7 + .../textures/ui/topbar_off_left.json | 7 + .../textures/ui/topbar_off_middle.json | 7 + .../textures/ui/topbar_off_right.json | 7 + resource_pack/textures/ui/topbar_on_left.json | 7 + .../textures/ui/topbar_on_middle.json | 7 + .../textures/ui/topbar_on_right.json | 7 + resource_pack/textures/ui/touchScrollBox.json | 7 + resource_pack/textures/ui/unsynced_bevel.json | 7 + .../textures/ui/unsynced_bevel_hover.json | 7 + .../textures/ui/unsynced_bevel_pressed.json | 7 + .../textures/ui/unsynced_bg_hover.json | 7 + resource_pack/textures/ui/update_bevel.json | 7 + .../textures/ui/update_bevel_hover.json | 7 + .../textures/ui/update_bevel_pressed.json | 7 + .../textures/ui/white_slider_progress.json | 7 + .../ui/world_screenshot_focus_border.json | 7 + resource_pack/textures/ui/world_upgrade.json | 6 + resource_pack/textures/ui/yellow_banner.json | 9 + resource_pack/ui/_global_variables.json | 434 + resource_pack/ui/_ui_defs.json | 7 + resource_pack/ui/achievement_screen.json | 28 + .../ui/add_external_server_screen.json | 285 + resource_pack/ui/adhoc_inprogess_screen.json | 88 + resource_pack/ui/adhoc_screen.json | 137 + resource_pack/ui/anvil_screen.json | 426 + resource_pack/ui/anvil_screen_pocket.json | 341 + resource_pack/ui/authentication_modals.json | 165 + resource_pack/ui/authentication_screen.json | 1409 ++ resource_pack/ui/auto_save_info_screen.json | 178 + resource_pack/ui/beacon_screen.json | 678 + resource_pack/ui/beacon_screen_pocket.json | 904 ++ resource_pack/ui/blast_furnace_screen.json | 6 + resource_pack/ui/book_screen.json | 1186 ++ resource_pack/ui/brewing_stand_screen.json | 329 + .../ui/brewing_stand_screen_pocket.json | 428 + .../ui/bundle_purchase_warning_screen.json | 348 + resource_pack/ui/cartography_screen.json | 431 + .../ui/cartography_screen_pocket.json | 527 + resource_pack/ui/chalkboard_screen.json | 113 + resource_pack/ui/chat_screen.json | 892 ++ .../ui/chat_settings_menu_screen.json | 450 + resource_pack/ui/chemistry_common_pocket.json | 429 + resource_pack/ui/chest_screen.json | 275 + resource_pack/ui/choose_realm_screen.json | 724 + resource_pack/ui/classroom_settings.json | 255 + resource_pack/ui/cloud_upload_screen.json | 359 + resource_pack/ui/code_screen.json | 718 + resource_pack/ui/coin_purchase_screen.json | 1699 +++ resource_pack/ui/command_block_screen.json | 1108 ++ resource_pack/ui/compound_creator_screen.json | 200 + .../ui/compound_creator_screen_pocket.json | 97 + .../ui/confirm_delete_account_screen.json | 329 + resource_pack/ui/content_log.json | 110 + .../ui/content_log_history_screen.json | 269 + resource_pack/ui/course_screen.json | 1044 ++ resource_pack/ui/crafter_screen_pocket.json | 516 + .../ui/create_world_upsell_screen.json | 628 + resource_pack/ui/credits_screen.json | 175 + .../ui/csb_purchase_error_screen.json | 124 + resource_pack/ui/csb_screen.json | 628 + .../ui/csb_sections/content_section.json | 477 + resource_pack/ui/csb_sections/csb_banner.json | 315 + .../ui/csb_sections/csb_buy_now_screen.json | 460 + resource_pack/ui/csb_sections/csb_common.json | 172 + ...b_purchase_amazondevicewarning_screen.json | 100 + .../csb_purchase_warning_screen.json | 107 + .../csb_sections/csb_subscription_panel.json | 367 + .../ui/csb_sections/csb_upsell_dialog.json | 629 + .../csb_sections/csb_view_packs_screen.json | 117 + .../ui/csb_sections/csb_welcome_screen.json | 81 + .../ui/csb_sections/faq_section.json | 346 + .../ui/csb_sections/landing_section.json | 463 + resource_pack/ui/custom_templates_screen.json | 383 + .../ui/day_one_experience_intro_screen.json | 514 + .../ui/day_one_experience_screen.json | 750 + resource_pack/ui/death_screen.json | 229 + resource_pack/ui/debug_screen.json | 57 + resource_pack/ui/dev_console_screen.json | 156 + resource_pack/ui/disconnect_screen.json | 319 + .../ui/display_logged_error_screen.json | 306 + resource_pack/ui/edu_discovery_dialog.json | 95 + resource_pack/ui/edu_featured.json | 40 + .../ui/edu_library_category_screen.json | 260 + resource_pack/ui/edu_pause_screen.json | 1438 ++ .../ui/edu_pause_screen_pause_button.json | 12 + resource_pack/ui/edu_permissions_screen.json | 354 + resource_pack/ui/edu_play_screen.json | 237 + resource_pack/ui/edu_signin_screen.json | 381 + .../ui/edu_world_templates_screen.json | 592 + resource_pack/ui/edu_worlds_screen.json | 899 ++ .../ui/element_constructor_screen.json | 423 + .../ui/element_constructor_screen_pocket.json | 295 + resource_pack/ui/emote_wheel_screen.json | 259 + resource_pack/ui/enchanting_screen.json | 426 + .../ui/enchanting_screen_pocket.json | 660 + resource_pack/ui/encyclopedia_screen.json | 4526 ++++++ .../ui/expanded_skin_pack_screen.json | 856 ++ .../ui/experimental_code_screen.json | 409 + resource_pack/ui/feed_common.json | 750 + resource_pack/ui/file_upload_screen.json | 442 + resource_pack/ui/furnace_screen.json | 250 + resource_pack/ui/furnace_screen_pocket.json | 309 + resource_pack/ui/game_tip_screen.json | 232 + resource_pack/ui/gamepad_disconnected.json | 74 + resource_pack/ui/gamepad_layout_screen.json | 640 + resource_pack/ui/gameplay_common.json | 794 ++ .../ui/gamma_calibration_screen.json | 245 + resource_pack/ui/gathering_info_screen.json | 502 + resource_pack/ui/global_pause_screen.json | 63 + resource_pack/ui/grindstone_screen.json | 266 + .../ui/grindstone_screen_pocket.json | 243 + .../ui/holographic_postrender_screen.json | 20 + resource_pack/ui/horse_screen.json | 278 + resource_pack/ui/horse_screen_pocket.json | 649 + resource_pack/ui/host_options_screen.json | 702 + resource_pack/ui/how_to_play_common.json | 635 + resource_pack/ui/how_to_play_screen.json | 1726 +++ resource_pack/ui/hud_screen.json | 3893 +++++ resource_pack/ui/immersive_reader.json | 240 + resource_pack/ui/in_bed_screen.json | 115 + resource_pack/ui/inventory_screen.json | 2845 ++++ resource_pack/ui/inventory_screen_pocket.json | 1453 ++ resource_pack/ui/invite_screen.json | 1984 +++ resource_pack/ui/ip_join_screen.json | 247 + .../ui/item_detail_description_screen.json | 152 + resource_pack/ui/jigsaw_editor_screen.json | 354 + resource_pack/ui/joincode_entry_screen.json | 800 ++ resource_pack/ui/lab_table_screen.json | 220 + resource_pack/ui/lab_table_screen_pocket.json | 188 + .../ui/late_join_pregame_screen.json | 95 + resource_pack/ui/lesson_complete_dialog.json | 180 + resource_pack/ui/library_item_screen.json | 1084 ++ resource_pack/ui/library_modal_screen.json | 241 + resource_pack/ui/library_screen.json | 572 + .../ui/local_world_picker_screen.json | 62 + resource_pack/ui/loom_screen.json | 947 ++ resource_pack/ui/loom_screen_pocket.json | 502 + resource_pack/ui/manage_feed_screen.json | 633 + .../ui/manifest_validation_screen.json | 999 ++ .../ui/marketplace_sdl/sdl_dropdowns.json | 126 + .../ui/marketplace_sdl/sdl_image_row.json | 202 + .../ui/marketplace_sdl/sdl_label.json | 114 + .../ui/marketplace_sdl/sdl_text_row.json | 329 + resource_pack/ui/material_reducer_screen.json | 218 + .../ui/material_reducer_screen_pocket.json | 168 + resource_pack/ui/mob_effect_screen.json | 186 + .../ui/multiplayer_lesson_screen.json | 447 + .../ui/non_xbl_user_management_screen.json | 309 + resource_pack/ui/npc_interact_screen.json | 1537 ++ resource_pack/ui/online_safety_screen.json | 263 + resource_pack/ui/pack_settings_screen.json | 189 + resource_pack/ui/panorama_screen.json | 139 + resource_pack/ui/patch_notes_screen.json | 521 + resource_pack/ui/pause_screen.json | 1898 +++ resource_pack/ui/pdp_screen.json | 6434 +++++++++ resource_pack/ui/pdp_screenshots_section.json | 199 + resource_pack/ui/perf_turtle.json | 62 + resource_pack/ui/permissions_screen.json | 1101 ++ .../ui/persona_cast_character_screen.json | 990 ++ resource_pack/ui/persona_common.json | 850 ++ resource_pack/ui/persona_screen.json | 7440 ++++++++++ resource_pack/ui/persona_sdl.json | 4397 ++++++ resource_pack/ui/play_screen.json | 8210 +++++++++++ resource_pack/ui/pocket_containers.json | 180 + resource_pack/ui/popup_dialog.json | 879 ++ resource_pack/ui/portfolio_screen.json | 978 ++ resource_pack/ui/post_rating_screen.json | 331 + resource_pack/ui/profile_card.json | 1112 ++ resource_pack/ui/profile_screen.json | 1996 +++ resource_pack/ui/progress_screen.json | 2078 +++ resource_pack/ui/rating_prompt.json | 158 + resource_pack/ui/realmsPlus_screen.json | 718 + .../realmsPlus_sections/content_section.json | 456 + .../ui/realmsPlus_sections/faq_section.json | 337 + .../realmsPlus_sections/landing_section.json | 560 + .../realmsPlus_buy_now_screen.json | 390 + .../realmsPlus_purchase_warning_screen.json | 166 + .../realmsPlus_view_packs_screen.json | 116 + resource_pack/ui/realms_allowlist.json | 1662 +++ resource_pack/ui/realms_common.json | 396 + resource_pack/ui/realms_create.json | 629 + .../realms_invite_link_settings_screen.json | 473 + .../ui/realms_pending_invitations.json | 517 + .../ui/realms_plus_ended_screen.json | 184 + resource_pack/ui/realms_settings_screen.json | 1399 ++ resource_pack/ui/realms_slots_screen.json | 831 ++ .../ui/realms_stories_transition_screen.json | 11 + .../ui/realmsplus_upgrade_notice_screen.json | 177 + resource_pack/ui/redstone_screen.json | 533 + resource_pack/ui/resource_packs_screen.json | 3936 +++++ resource_pack/ui/safe_zone_screen.json | 313 + resource_pack/ui/scoreboards.json | 509 + resource_pack/ui/screenshot_screen.json | 42 + resource_pack/ui/select_world_screen.json | 421 + resource_pack/ui/server_form.json | 464 + resource_pack/ui/settings_screen.json | 642 + .../settings_sections/controls_section.json | 1389 ++ .../ui/settings_sections/general_section.json | 11867 ++++++++++++++++ .../realms_world_section.json | 520 + .../ui/settings_sections/settings_common.json | 1778 +++ .../ui/settings_sections/world_section.json | 3257 +++++ resource_pack/ui/sidebar_navigation.json | 1285 ++ resource_pack/ui/sign_screen.json | 117 + .../ui/simple_inprogress_screen.json | 96 + .../ui/skin_pack_purchase_screen.json | 692 + resource_pack/ui/skin_picker_screen.json | 1617 +++ resource_pack/ui/smithing_table_2_screen.json | 636 + .../ui/smithing_table_2_screen_pocket.json | 623 + resource_pack/ui/smithing_table_screen.json | 336 + .../ui/smithing_table_screen_pocket.json | 307 + resource_pack/ui/smoker_screen.json | 6 + resource_pack/ui/start_screen.json | 2414 ++++ resource_pack/ui/startup_screen.json | 36 + resource_pack/ui/stonecutter_screen.json | 871 ++ .../ui/stonecutter_screen_pocket.json | 481 + resource_pack/ui/storage_management.json | 2659 ++++ .../ui/storage_management_popup.json | 339 + .../ui/storage_migration_common.json | 426 + .../ui/storage_migration_generic_screen.json | 140 + resource_pack/ui/store_common.json | 10193 +++++++++++++ .../ui/store_data_driven_screen.json | 879 ++ .../ui/store_filter_menu_screen.json | 909 ++ resource_pack/ui/store_inventory_screen.json | 1555 ++ resource_pack/ui/store_item_list_screen.json | 757 + resource_pack/ui/store_progress_screen.json | 111 + .../ui/store_promo_timeline_screen.json | 3955 +++++ .../ui/store_sales_item_list_screen.json | 168 + resource_pack/ui/store_search_screen.json | 246 + resource_pack/ui/store_sort_menu_screen.json | 301 + resource_pack/ui/structure_editor_screen.json | 2102 +++ resource_pack/ui/submit_feedback_screen.json | 150 + resource_pack/ui/tabbed_upsell_screen.json | 635 + resource_pack/ui/test_anims_screen.json | 420 + .../ui/thanks_for_testing_screen.json | 635 + .../ui/third_party_store_screen.json | 19 + resource_pack/ui/toast_screen.json | 912 ++ resource_pack/ui/token_faq_screen.json | 189 + resource_pack/ui/trade_2_screen.json | 1705 +++ resource_pack/ui/trade_2_screen_pocket.json | 552 + resource_pack/ui/trade_screen.json | 553 + resource_pack/ui/trade_screen_pocket.json | 377 + resource_pack/ui/trial_upsell_screen.json | 229 + resource_pack/ui/ugc_viewer_screen.json | 247 + resource_pack/ui/ui_art_assets_common.json | 334 + resource_pack/ui/ui_common.json | 7127 ++++++++++ resource_pack/ui/ui_common_classic.json | 109 + resource_pack/ui/ui_edu_common.json | 1944 +++ resource_pack/ui/ui_holo_cursor.json | 30 + resource_pack/ui/ui_purchase_common.json | 346 + resource_pack/ui/ui_template_buttons.json | 2186 +++ resource_pack/ui/ui_template_dialogs.json | 517 + resource_pack/ui/ui_template_tabs.json | 405 + resource_pack/ui/ui_template_toggles.json | 1195 ++ resource_pack/ui/update_dimensions.json | 227 + resource_pack/ui/update_version.json | 147 + resource_pack/ui/vr_alignscreen.json | 210 + resource_pack/ui/vr_scheme_screen.json | 472 + .../ui/win10_trial_conversion_screen.json | 453 + .../ui/world_conversion_complete_screen.json | 316 + resource_pack/ui/world_recovery_screen.json | 89 + resource_pack/ui/world_templates_screen.json | 1241 ++ resource_pack/ui/xbl_console_qr_signin.json | 444 + resource_pack/ui/xbl_console_signin.json | 174 + .../ui/xbl_console_signin_succeeded.json | 285 + resource_pack/ui/xbl_immediate_signin.json | 36 + resource_pack/ui/xbl_optional_signin.json | 187 + 4426 files changed, 432386 insertions(+) create mode 100644 behavior_pack/aim_assist/categories/categories.json create mode 100644 behavior_pack/aim_assist/presets/aim_assist_preset.json create mode 100644 behavior_pack/behavior_trees/attack.json create mode 100644 behavior_pack/behavior_trees/attack_mob_test.json create mode 100644 behavior_pack/behavior_trees/attack_mob_test2.json create mode 100644 behavior_pack/behavior_trees/break_nearby_block.json create mode 100644 behavior_pack/behavior_trees/chop_wood.json create mode 100644 behavior_pack/behavior_trees/collect_items.json create mode 100644 behavior_pack/behavior_trees/consume_item.json create mode 100644 behavior_pack/behavior_trees/cooked_chicken_test.json create mode 100644 behavior_pack/behavior_trees/interact.json create mode 100644 behavior_pack/behavior_trees/interact_with_at.json create mode 100644 behavior_pack/behavior_trees/look_at_entity.json create mode 100644 behavior_pack/behavior_trees/mine_block_at_origin.json create mode 100644 behavior_pack/behavior_trees/pickup_nearby_item.json create mode 100644 behavior_pack/behavior_trees/place_block_at.json create mode 100644 behavior_pack/behavior_trees/silk_touch_test.json create mode 100644 behavior_pack/behavior_trees/test_nether_portal.json create mode 100644 behavior_pack/behavior_trees/use_entity.json create mode 100644 behavior_pack/behavior_trees/wait_one_second.json create mode 100644 behavior_pack/behavior_trees/wait_seconds.json create mode 100644 behavior_pack/behavior_trees/wait_ticks.json create mode 100644 behavior_pack/behavior_trees/wait_two_seconds.json create mode 100644 behavior_pack/behavior_trees/walk_forward.json create mode 100644 behavior_pack/biomes/cold_taiga.biome.json create mode 100644 behavior_pack/biomes/cold_taiga_hills.biome.json create mode 100644 behavior_pack/biomes/cold_taiga_mutated.biome.json create mode 100644 behavior_pack/cameras/presets/first_person.json create mode 100644 behavior_pack/cameras/presets/fixed_boom.json create mode 100644 behavior_pack/cameras/presets/follow_orbit.json create mode 100644 behavior_pack/cameras/presets/free.json create mode 100644 behavior_pack/cameras/presets/third_person.json create mode 100644 behavior_pack/cameras/presets/third_person_front.json create mode 100644 behavior_pack/entities/agent.json create mode 100644 behavior_pack/entities/allay.json create mode 100644 behavior_pack/entities/area_effect_cloud.json create mode 100644 behavior_pack/entities/armadillo.json create mode 100644 behavior_pack/entities/armor_stand.json create mode 100644 behavior_pack/entities/arrow.json create mode 100644 behavior_pack/entities/axolotl.json create mode 100644 behavior_pack/entities/balloon.json create mode 100644 behavior_pack/entities/bat.json create mode 100644 behavior_pack/entities/bee.json create mode 100644 behavior_pack/entities/blaze.json create mode 100644 behavior_pack/entities/boat.json create mode 100644 behavior_pack/entities/bogged.json create mode 100644 behavior_pack/entities/breeze.json create mode 100644 behavior_pack/entities/breeze_wind_charge_projectile.json create mode 100644 behavior_pack/entities/camel.json create mode 100644 behavior_pack/entities/cat.json create mode 100644 behavior_pack/entities/cave_spider.json create mode 100644 behavior_pack/entities/chest_boat.json create mode 100644 behavior_pack/entities/chest_minecart.json create mode 100644 behavior_pack/entities/chicken.json create mode 100644 behavior_pack/entities/command_block_minecart.json create mode 100644 behavior_pack/entities/cow.json create mode 100644 behavior_pack/entities/creaking.json create mode 100644 behavior_pack/entities/creeper.json create mode 100644 behavior_pack/entities/dolphin.json create mode 100644 behavior_pack/entities/donkey.json create mode 100644 behavior_pack/entities/dragon_fireball.json create mode 100644 behavior_pack/entities/drowned.json create mode 100644 behavior_pack/entities/egg.json create mode 100644 behavior_pack/entities/elder_guardian.json create mode 100644 behavior_pack/entities/ender_crystal.json create mode 100644 behavior_pack/entities/ender_dragon.json create mode 100644 behavior_pack/entities/ender_pearl.json create mode 100644 behavior_pack/entities/enderman.json create mode 100644 behavior_pack/entities/endermite.json create mode 100644 behavior_pack/entities/evocation_illager.json create mode 100644 behavior_pack/entities/eye_of_ender_signal.json create mode 100644 behavior_pack/entities/fireball.json create mode 100644 behavior_pack/entities/fireworks_rocket.json create mode 100644 behavior_pack/entities/fish.json create mode 100644 behavior_pack/entities/fishing_hook.json create mode 100644 behavior_pack/entities/fox.json create mode 100644 behavior_pack/entities/frog.json create mode 100644 behavior_pack/entities/ghast.json create mode 100644 behavior_pack/entities/glow_squid.json create mode 100644 behavior_pack/entities/goat.json create mode 100644 behavior_pack/entities/guardian.json create mode 100644 behavior_pack/entities/hoglin.json create mode 100644 behavior_pack/entities/hopper_minecart.json create mode 100644 behavior_pack/entities/horse.json create mode 100644 behavior_pack/entities/husk.json create mode 100644 behavior_pack/entities/ice_bomb.json create mode 100644 behavior_pack/entities/iron_golem.json create mode 100644 behavior_pack/entities/lightning_bolt.json create mode 100644 behavior_pack/entities/lingering_potion.json create mode 100644 behavior_pack/entities/llama.json create mode 100644 behavior_pack/entities/llama_spit.json create mode 100644 behavior_pack/entities/location_pointer_idle.json create mode 100644 behavior_pack/entities/location_pointer_selected.json create mode 100644 behavior_pack/entities/magma_cube.json create mode 100644 behavior_pack/entities/map_marker.json create mode 100644 behavior_pack/entities/minecart.json create mode 100644 behavior_pack/entities/mooshroom.json create mode 100644 behavior_pack/entities/mule.json create mode 100644 behavior_pack/entities/npc.json create mode 100644 behavior_pack/entities/ocelot.json create mode 100644 behavior_pack/entities/ominous_item_spawner.json create mode 100644 behavior_pack/entities/panda.json create mode 100644 behavior_pack/entities/parrot.json create mode 100644 behavior_pack/entities/phantom.json create mode 100644 behavior_pack/entities/pig.json create mode 100644 behavior_pack/entities/piglin.json create mode 100644 behavior_pack/entities/piglin_brute.json create mode 100644 behavior_pack/entities/pillager.json create mode 100644 behavior_pack/entities/player.json create mode 100644 behavior_pack/entities/polar_bear.json create mode 100644 behavior_pack/entities/pufferfish.json create mode 100644 behavior_pack/entities/rabbit.json create mode 100644 behavior_pack/entities/ravager.json create mode 100644 behavior_pack/entities/ruler_idle.json create mode 100644 behavior_pack/entities/ruler_pointer_selected.json create mode 100644 behavior_pack/entities/salmon.json create mode 100644 behavior_pack/entities/sheep.json create mode 100644 behavior_pack/entities/shulker.json create mode 100644 behavior_pack/entities/shulker_bullet.json create mode 100644 behavior_pack/entities/silverfish.json create mode 100644 behavior_pack/entities/skeleton.json create mode 100644 behavior_pack/entities/skeleton_horse.json create mode 100644 behavior_pack/entities/slime.json create mode 100644 behavior_pack/entities/small_fireball.json create mode 100644 behavior_pack/entities/sniffer.json create mode 100644 behavior_pack/entities/snow_golem.json create mode 100644 behavior_pack/entities/snowball.json create mode 100644 behavior_pack/entities/spider.json create mode 100644 behavior_pack/entities/splash_potion.json create mode 100644 behavior_pack/entities/squid.json create mode 100644 behavior_pack/entities/stray.json create mode 100644 behavior_pack/entities/strider.json create mode 100644 behavior_pack/entities/tadpole.json create mode 100644 behavior_pack/entities/thrown_trident.json create mode 100644 behavior_pack/entities/tnt.json create mode 100644 behavior_pack/entities/tnt_minecart.json create mode 100644 behavior_pack/entities/trader_llama.json create mode 100644 behavior_pack/entities/tripod_camera.json create mode 100644 behavior_pack/entities/tropicalfish.json create mode 100644 behavior_pack/entities/turtle.json create mode 100644 behavior_pack/entities/vex.json create mode 100644 behavior_pack/entities/villager.json create mode 100644 behavior_pack/entities/villager_v2.json create mode 100644 behavior_pack/entities/vindicator.json create mode 100644 behavior_pack/entities/wandering_trader.json create mode 100644 behavior_pack/entities/warden.json create mode 100644 behavior_pack/entities/wind_charge_projectile.json create mode 100644 behavior_pack/entities/witch.json create mode 100644 behavior_pack/entities/wither.json create mode 100644 behavior_pack/entities/wither_skeleton.json create mode 100644 behavior_pack/entities/wither_skull.json create mode 100644 behavior_pack/entities/wither_skull_dangerous.json create mode 100644 behavior_pack/entities/wolf.json create mode 100644 behavior_pack/entities/xp_bottle.json create mode 100644 behavior_pack/entities/xp_orb.json create mode 100644 behavior_pack/entities/zoglin.json create mode 100644 behavior_pack/entities/zombie.json create mode 100644 behavior_pack/entities/zombie_horse.json create mode 100644 behavior_pack/entities/zombie_pigman.json create mode 100644 behavior_pack/entities/zombie_villager.json create mode 100644 behavior_pack/entities/zombie_villager_v2.json create mode 100644 behavior_pack/feature_rules/after_surface_silverfish_feature.json create mode 100644 behavior_pack/feature_rules/bamboo_jungle_after_surface_bamboo_feature.json create mode 100644 behavior_pack/feature_rules/bamboo_jungle_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/bamboo_jungle_before_surface_bamboo_feature_rules.json create mode 100644 behavior_pack/feature_rules/bamboo_jungle_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/bamboo_jungle_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/birch_forest_mutated_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/birch_forest_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/cherry_biome_surface_double_plant_feature_rules.json create mode 100644 behavior_pack/feature_rules/cherry_biome_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/cherry_grove_after_surface_cherry_tree_feature_rules.json create mode 100644 behavior_pack/feature_rules/cherry_grove_cherry_tree_feature_rules.json create mode 100644 behavior_pack/feature_rules/cherry_grove_pink_petals_feature_rules.json create mode 100644 behavior_pack/feature_rules/cherry_grove_surface_pink_petals_feature_rules.json create mode 100644 behavior_pack/feature_rules/cold_taiga_after_surface_sweet_berry_bush_feature_rules.json create mode 100644 behavior_pack/feature_rules/cold_taiga_first_sweet_berry_bush_feature.json create mode 100644 behavior_pack/feature_rules/desert_after_surface_cactus_feature_rules.json create mode 100644 behavior_pack/feature_rules/desert_after_surface_dead_bush_feature_rules.json create mode 100644 behavior_pack/feature_rules/desert_after_surface_desert_well_feature.json create mode 100644 behavior_pack/feature_rules/desert_after_surface_reeds_feature_rules.json create mode 100644 behavior_pack/feature_rules/desert_or_swamp_after_surface_fossil_deepslate_feature.json create mode 100644 behavior_pack/feature_rules/desert_surface_cactus_feature.json create mode 100644 behavior_pack/feature_rules/desert_surface_dead_bush_feature.json create mode 100644 behavior_pack/feature_rules/desert_surface_reeds_feature.json create mode 100644 behavior_pack/feature_rules/dripstone_caves_underground_copper_ore_feature.json create mode 100644 behavior_pack/feature_rules/dripstone_cluster_feature.json create mode 100644 behavior_pack/feature_rules/extreme_hills_after_surface_emerald_ore_feature.json create mode 100644 behavior_pack/feature_rules/extreme_hills_after_surface_silverfish_feature.json create mode 100644 behavior_pack/feature_rules/extreme_hills_plus_trees_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/eyeblossom_feature_rules.json create mode 100644 behavior_pack/feature_rules/flower_forest_after_surface_flowers_feature_rules.json create mode 100644 behavior_pack/feature_rules/flower_forest_first_foliage_feature.json create mode 100644 behavior_pack/feature_rules/flower_forest_surface_flowers_feature.json create mode 100644 behavior_pack/feature_rules/flower_forest_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/forest_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/forest_first_foliage_feature.json create mode 100644 behavior_pack/feature_rules/forest_surface_flowers_feature.json create mode 100644 behavior_pack/feature_rules/forest_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/forest_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/frozen_ocean_after_surface_ice_feature.json create mode 100644 behavior_pack/feature_rules/grove_pine_tree_feature.json create mode 100644 behavior_pack/feature_rules/grove_spruce_tree_feature.json create mode 100644 behavior_pack/feature_rules/ice_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/jungle_after_surface_bamboo_feature.json create mode 100644 behavior_pack/feature_rules/jungle_after_surface_flowers_feature_rules.json create mode 100644 behavior_pack/feature_rules/jungle_after_surface_melon_feature.json create mode 100644 behavior_pack/feature_rules/jungle_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/jungle_after_surface_vines_feature.json create mode 100644 behavior_pack/feature_rules/jungle_edge_after_surface_melon_feature.json create mode 100644 behavior_pack/feature_rules/jungle_edge_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/jungle_surface_flowers_feature.json create mode 100644 behavior_pack/feature_rules/jungle_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/jungle_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/large_dripstone_feature.json create mode 100644 behavior_pack/feature_rules/lukewarm_ocean_after_surface_kelp_feature_rules.json create mode 100644 behavior_pack/feature_rules/lukewarm_ocean_surface_kelp_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_after_surface_azalea_root_system_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_after_surface_cave_vines_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_after_surface_leaf_clay_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_after_surface_moss_ceiling_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_after_surface_spore_blossom_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_after_surface_vegetation_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_after_surface_vines_feature.json create mode 100644 behavior_pack/feature_rules/lush_caves_underground_clay_ore_feature.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_after_surface_dead_bush_feature_rules.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_after_surface_seagrass_feature_rules.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_feature.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_with_beenest_feature.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_surface_dead_bush_feature.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_surface_seagrass_feature.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_feature.json create mode 100644 behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_with_beenest_feature.json create mode 100644 behavior_pack/feature_rules/meadow_after_surface_double_plant_feature_rules.json create mode 100644 behavior_pack/feature_rules/meadow_after_surface_flowers_feature_rules.json create mode 100644 behavior_pack/feature_rules/meadow_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/meadow_flowers_feature.json create mode 100644 behavior_pack/feature_rules/meadow_surface_double_plant_feature_rules.json create mode 100644 behavior_pack/feature_rules/meadow_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/meadow_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/mega_taiga_after_surface_brown_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/mega_taiga_after_surface_dead_bush_feature_rules.json create mode 100644 behavior_pack/feature_rules/mega_taiga_after_surface_red_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/mega_taiga_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/mega_taiga_first_forest_rock_feature.json create mode 100644 behavior_pack/feature_rules/mega_taiga_surface_dead_bush_feature.json create mode 100644 behavior_pack/feature_rules/mega_taiga_surface_mushrooms_feature.json create mode 100644 behavior_pack/feature_rules/mega_taiga_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/mega_taiga_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/mesa_after_surface_cactus_feature_rules.json create mode 100644 behavior_pack/feature_rules/mesa_after_surface_dead_bush_feature_rules.json create mode 100644 behavior_pack/feature_rules/mesa_after_surface_reeds_feature_rules.json create mode 100644 behavior_pack/feature_rules/mesa_before_surface_gold_ore_feature.json create mode 100644 behavior_pack/feature_rules/mesa_plateau_stone_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/mesa_surface_cactus_feature.json create mode 100644 behavior_pack/feature_rules/mesa_surface_dead_bush_feature.json create mode 100644 behavior_pack/feature_rules/mesa_surface_reeds_feature.json create mode 100644 behavior_pack/feature_rules/mesa_underground_gold_ore_feature.json create mode 100644 behavior_pack/feature_rules/mountains_underground_coal_ore_feature.json create mode 100644 behavior_pack/feature_rules/mushroom_island_after_surface_brown_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/mushroom_island_after_surface_red_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/mushroom_island_surface_mushrooms_feature.json create mode 100644 behavior_pack/feature_rules/ocean_after_surface_kelp_feature_rules.json create mode 100644 behavior_pack/feature_rules/ocean_after_surface_seagrass_feature_rules.json create mode 100644 behavior_pack/feature_rules/ocean_surface_kelp_feature.json create mode 100644 behavior_pack/feature_rules/ocean_surface_seagrass_feature.json create mode 100644 behavior_pack/feature_rules/overworld_after_surface_extra_brown_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/overworld_after_surface_extra_red_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/overworld_after_surface_flowers_feature_rules.json create mode 100644 behavior_pack/feature_rules/overworld_after_surface_kelp_feature_rules.json create mode 100644 behavior_pack/feature_rules/overworld_after_surface_pumpkin_feature_rules.json create mode 100644 behavior_pack/feature_rules/overworld_after_surface_reeds_feature_rules.json create mode 100644 behavior_pack/feature_rules/overworld_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/overworld_amethyst_geode_feature.json create mode 100644 behavior_pack/feature_rules/overworld_extra_cave_carver_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_extra_brown_mushroom_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_extra_red_mushroom_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_flowers_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_gravel_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_kelp_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_mangrove_grass_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_pumpkin_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_reeds_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_sand_feature.json create mode 100644 behavior_pack/feature_rules/overworld_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_andesite_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_andesite_lower_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_andesite_upper_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_coal_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_coal_ore_lower_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_coal_ore_upper_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_copper_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_deepslate_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_diamond_ore_buried_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_diamond_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_diamond_ore_feature_square.json create mode 100644 behavior_pack/feature_rules/overworld_underground_diamond_ore_large_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_diorite_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_diorite_lower_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_diorite_upper_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_dirt_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_emerald_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_extra_gravel_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_glow_lichen_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_gold_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_gold_ore_lower_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_granite_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_granite_lower_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_granite_upper_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_gravel_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_iron_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_iron_ore_middle_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_iron_ore_small_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_iron_ore_upper_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_lapis_ore_buried_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_lapis_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_redstone_ore_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_redstone_ore_lower_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underground_tuff_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underwater_cave_carver_feature.json create mode 100644 behavior_pack/feature_rules/overworld_underwater_magma_feature.json create mode 100644 behavior_pack/feature_rules/pale_garden_pale_oak_tree_feature_rules.json create mode 100644 behavior_pack/feature_rules/pale_garden_surface_double_plant_feature_rules.json create mode 100644 behavior_pack/feature_rules/pale_garden_surface_pale_moss_patch_feature_rules.json create mode 100644 behavior_pack/feature_rules/pale_garden_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/plains_after_surface_double_plant_sunflower_feature_rules.json create mode 100644 behavior_pack/feature_rules/plains_after_surface_flowers_feature_rules.json create mode 100644 behavior_pack/feature_rules/plains_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/plains_first_double_plant_grass_feature.json create mode 100644 behavior_pack/feature_rules/plains_first_double_plant_sunflower_feature.json create mode 100644 behavior_pack/feature_rules/plains_surface_flowers_feature.json create mode 100644 behavior_pack/feature_rules/plains_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/plains_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/redwood_taiga_hills_mutated_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/redwood_taiga_mutated_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/river_after_surface_seagrass_feature_rules.json create mode 100644 behavior_pack/feature_rules/river_surface_seagrass_feature.json create mode 100644 behavior_pack/feature_rules/roofed_forest_first_foliage_feature.json create mode 100644 behavior_pack/feature_rules/savanna_after_surface_flowers_feature_rules.json create mode 100644 behavior_pack/feature_rules/savanna_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/savanna_first_double_plant_grass_feature.json create mode 100644 behavior_pack/feature_rules/savanna_mutated_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/savanna_mutated_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/savanna_mutated_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/savanna_surface_flowers_feature.json create mode 100644 behavior_pack/feature_rules/savanna_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/savanna_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/sculk_patch_feature.json create mode 100644 behavior_pack/feature_rules/sculk_vein_feature.json create mode 100644 behavior_pack/feature_rules/small_dripstone_feature.json create mode 100644 behavior_pack/feature_rules/surface_pass_large_dripstone_feature.json create mode 100644 behavior_pack/feature_rules/swamp_after_surface_brown_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/swamp_after_surface_dead_bush_feature_rules.json create mode 100644 behavior_pack/feature_rules/swamp_after_surface_flowers_feature_rules.json create mode 100644 behavior_pack/feature_rules/swamp_after_surface_red_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/swamp_after_surface_reeds_feature_rules.json create mode 100644 behavior_pack/feature_rules/swamp_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/swamp_after_surface_waterlily_feature_rules.json create mode 100644 behavior_pack/feature_rules/swamp_surface_dead_bush_feature.json create mode 100644 behavior_pack/feature_rules/swamp_surface_flowers_feature.json create mode 100644 behavior_pack/feature_rules/swamp_surface_mushrooms_feature.json create mode 100644 behavior_pack/feature_rules/swamp_surface_reeds_feature.json create mode 100644 behavior_pack/feature_rules/swamp_surface_swamp_foliage_feature.json create mode 100644 behavior_pack/feature_rules/swamp_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/swamp_surface_waterlily_feature.json create mode 100644 behavior_pack/feature_rules/taiga_after_surface_brown_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/taiga_after_surface_red_mushroom_feature_rules.json create mode 100644 behavior_pack/feature_rules/taiga_after_surface_sweet_berry_bush_feature_rules.json create mode 100644 behavior_pack/feature_rules/taiga_after_surface_tall_grass_feature_rules.json create mode 100644 behavior_pack/feature_rules/taiga_first_double_plant_fern_feature.json create mode 100644 behavior_pack/feature_rules/taiga_first_sweet_berry_bush_feature.json create mode 100644 behavior_pack/feature_rules/taiga_surface_mushrooms_feature.json create mode 100644 behavior_pack/feature_rules/taiga_surface_tall_grass_feature.json create mode 100644 behavior_pack/feature_rules/taiga_surface_trees_feature.json create mode 100644 behavior_pack/feature_rules/warm_ocean_after_surface_coral_crust_feature.json create mode 100644 behavior_pack/feature_rules/warm_ocean_after_surface_coral_feature.json create mode 100644 behavior_pack/feature_rules/warm_ocean_after_surface_coral_hang_feature.json create mode 100644 behavior_pack/feature_rules/warm_ocean_after_surface_pickle_feature.json create mode 100644 behavior_pack/features/amethyst_geode_feature.json create mode 100644 behavior_pack/features/andesite_feature.json create mode 100644 behavior_pack/features/azalea_root_system_snap_to_ceiling_feature.json create mode 100644 behavior_pack/features/azalea_tree_feature.json create mode 100644 behavior_pack/features/beehive_feature.json create mode 100644 behavior_pack/features/beehive_search_feature.json create mode 100644 behavior_pack/features/big_dripleaf_east_feature.json create mode 100644 behavior_pack/features/big_dripleaf_north_feature.json create mode 100644 behavior_pack/features/big_dripleaf_south_feature.json create mode 100644 behavior_pack/features/big_dripleaf_west_feature.json create mode 100644 behavior_pack/features/birch_tree_feature.json create mode 100644 behavior_pack/features/cave_vine_feature.json create mode 100644 behavior_pack/features/cave_vine_in_moss_feature.json create mode 100644 behavior_pack/features/cave_vine_snap_to_ceiling_feature.json create mode 100644 behavior_pack/features/cherry_tree_feature.json create mode 100644 behavior_pack/features/cherry_tree_with_beehive_feature.json create mode 100644 behavior_pack/features/clay_ore_feature.json create mode 100644 behavior_pack/features/clay_pool_with_dripleaves_feature.json create mode 100644 behavior_pack/features/clay_with_dripleaves_feature.json create mode 100644 behavior_pack/features/coal_ore_feature.json create mode 100644 behavior_pack/features/coal_ore_upper_feature.json create mode 100644 behavior_pack/features/cocoa_age_0_feature.json create mode 100644 behavior_pack/features/cocoa_age_1_feature.json create mode 100644 behavior_pack/features/cocoa_age_2_feature.json create mode 100644 behavior_pack/features/copper_ore_feature.json create mode 100644 behavior_pack/features/creaking_heart_feature.json create mode 100644 behavior_pack/features/creaking_heart_search_feature.json create mode 100644 behavior_pack/features/crimson_fungus_scatter_feature.json create mode 100644 behavior_pack/features/crimson_roots_scatter_feature.json create mode 100644 behavior_pack/features/deepslate_diamond_fossil_feature.json create mode 100644 behavior_pack/features/deepslate_feature.json create mode 100644 behavior_pack/features/diamond_ore_buried_feature.json create mode 100644 behavior_pack/features/diamond_ore_feature.json create mode 100644 behavior_pack/features/diamond_ore_large_feature.json create mode 100644 behavior_pack/features/diorite_feature.json create mode 100644 behavior_pack/features/dripstone_caves_copper_ore_feature.json create mode 100644 behavior_pack/features/emerald_ore_feature.json create mode 100644 behavior_pack/features/fallen_birch_tree_feature.json create mode 100644 behavior_pack/features/fallen_jungle_tree_feature.json create mode 100644 behavior_pack/features/fallen_oak_tree_feature.json create mode 100644 behavior_pack/features/fallen_spruce_tree_feature.json create mode 100644 behavior_pack/features/fallen_super_birch_tree_feature.json create mode 100644 behavior_pack/features/fancy_oak_tree_feature.json create mode 100644 behavior_pack/features/fern_double_plant_patch_feature.json create mode 100644 behavior_pack/features/glow_lichen_feature.json create mode 100644 behavior_pack/features/gold_ore_extra_feature.json create mode 100644 behavior_pack/features/gold_ore_feature.json create mode 100644 behavior_pack/features/gold_ore_lower_feature.json create mode 100644 behavior_pack/features/granite_feature.json create mode 100644 behavior_pack/features/grass_double_plant_lower_feature.json create mode 100644 behavior_pack/features/grass_double_plant_patch_feature.json create mode 100644 behavior_pack/features/gravel_ore_feature.json create mode 100644 behavior_pack/features/iron_ore_feature.json create mode 100644 behavior_pack/features/iron_ore_small_feature.json create mode 100644 behavior_pack/features/jungle_bush_feature.json create mode 100644 behavior_pack/features/jungle_fern_feature.json create mode 100644 behavior_pack/features/jungle_tall_grass_feature.json create mode 100644 behavior_pack/features/jungle_tree_feature.json create mode 100644 behavior_pack/features/lapis_ore_buried_feature.json create mode 100644 behavior_pack/features/lapis_ore_feature.json create mode 100644 behavior_pack/features/mangrove_beehive_search_feature.json create mode 100644 behavior_pack/features/mangrove_tree_feature.json create mode 100644 behavior_pack/features/mangrove_tree_with_beenest_feature.json create mode 100644 behavior_pack/features/mega_jungle_tree_feature.json create mode 100644 behavior_pack/features/mega_pine_tree_feature.json create mode 100644 behavior_pack/features/mega_spruce_tree_feature.json create mode 100644 behavior_pack/features/moss_ceiling_feature.json create mode 100644 behavior_pack/features/moss_ceiling_snap_to_ceiling_feature.json create mode 100644 behavior_pack/features/moss_patch_bonemeal_feature.json create mode 100644 behavior_pack/features/moss_patch_feature.json create mode 100644 behavior_pack/features/moss_patch_snap_to_floor_feature.json create mode 100644 behavior_pack/features/mountain_pine_tree_feature.json create mode 100644 behavior_pack/features/mountain_spruce_tree_feature.json create mode 100644 behavior_pack/features/nether_sprouts_scatter_feature.json create mode 100644 behavior_pack/features/oak_tree_feature.json create mode 100644 behavior_pack/features/oak_tree_with_vines_feature.json create mode 100644 behavior_pack/features/pale_hanging_moss_feature.json create mode 100644 behavior_pack/features/pale_hanging_moss_snap_to_ceiling_feature.json create mode 100644 behavior_pack/features/pale_moss_patch_bonemeal_feature.json create mode 100644 behavior_pack/features/pale_moss_patch_feature.json create mode 100644 behavior_pack/features/pale_oak_tree_feature.json create mode 100644 behavior_pack/features/pale_oak_tree_with_decorations_and_creaking_heart_feature.json create mode 100644 behavior_pack/features/pale_oak_tree_with_decorations_feature.json create mode 100644 behavior_pack/features/pine_tree_feature.json create mode 100644 behavior_pack/features/pink_petals_scatter_feature.json create mode 100644 behavior_pack/features/random_cherry_tree_feature.json create mode 100644 behavior_pack/features/random_clay_with_dripleaves_feature.json create mode 100644 behavior_pack/features/random_clay_with_dripleaves_snap_to_floor_feature.json create mode 100644 behavior_pack/features/random_mangrove_tree_feature.json create mode 100644 behavior_pack/features/random_pale_oak_tree_feature.json create mode 100644 behavior_pack/features/redstone_ore_feature.json create mode 100644 behavior_pack/features/roofed_tree_feature.json create mode 100644 behavior_pack/features/roofed_tree_with_vines_feature.json create mode 100644 behavior_pack/features/savanna_tree_feature.json create mode 100644 behavior_pack/features/scatter_brown_mushroom_feature.json create mode 100644 behavior_pack/features/scatter_eyeblossom_feature.json create mode 100644 behavior_pack/features/scatter_fern_feature.json create mode 100644 behavior_pack/features/scatter_flower_forest_flower_feature.json create mode 100644 behavior_pack/features/scatter_jungle_plant_feature.json create mode 100644 behavior_pack/features/scatter_meadow_flower_feature.json create mode 100644 behavior_pack/features/scatter_overworld_flower_feature.json create mode 100644 behavior_pack/features/scatter_pale_hanging_moss_feature.json create mode 100644 behavior_pack/features/scatter_plains_flower_feature.json create mode 100644 behavior_pack/features/scatter_red_mushroom_feature.json create mode 100644 behavior_pack/features/scatter_swamp_flower_feature.json create mode 100644 behavior_pack/features/scatter_taiga_plant_feature.json create mode 100644 behavior_pack/features/scatter_tall_grass_around_forest_foliage_feature.json create mode 100644 behavior_pack/features/scatter_tall_grass_around_tree_feature.json create mode 100644 behavior_pack/features/scatter_tall_grass_feature.json create mode 100644 behavior_pack/features/sculk_patch_feature.json create mode 100644 behavior_pack/features/sculk_patch_feature_ancient_city.json create mode 100644 behavior_pack/features/sculk_vein_feature.json create mode 100644 behavior_pack/features/select_birch_tree_feature.json create mode 100644 behavior_pack/features/select_jungle_plant_feature.json create mode 100644 behavior_pack/features/select_standing_oak_tree_feature.json create mode 100644 behavior_pack/features/select_taiga_plant_feature.json create mode 100644 behavior_pack/features/silverfish_feature.json create mode 100644 behavior_pack/features/small_dripstone_feature.json create mode 100644 behavior_pack/features/small_dripstone_snap_to_surface_feature.json create mode 100644 behavior_pack/features/spore_blossom_feature.json create mode 100644 behavior_pack/features/spore_blossom_snap_to_ceiling_feature.json create mode 100644 behavior_pack/features/spruce_tree_feature.json create mode 100644 behavior_pack/features/spruce_tree_with_vines_feature.json create mode 100644 behavior_pack/features/sunflower_double_plant_patch_feature.json create mode 100644 behavior_pack/features/super_birch_tree_feature.json create mode 100644 behavior_pack/features/swamp_tree_feature.json create mode 100644 behavior_pack/features/tall_mangrove_tree_feature.json create mode 100644 behavior_pack/features/tall_mangrove_tree_with_beenest_feature.json create mode 100644 behavior_pack/features/tuff_feature.json create mode 100644 behavior_pack/features/undecorated_jungle_tree_feature.json create mode 100644 behavior_pack/features/undecorated_jungle_tree_with_vines_feature.json create mode 100644 behavior_pack/features/underground_cave_carver_feature.json create mode 100644 behavior_pack/features/underground_extra_cave_carver_feature.json create mode 100644 behavior_pack/features/underground_glow_lichen_feature.json create mode 100644 behavior_pack/features/underwater_magma_feature.json create mode 100644 behavior_pack/features/underwater_magma_snap_to_surface_feature.json create mode 100644 behavior_pack/features/underwater_magma_underground_feature.json create mode 100644 behavior_pack/features/vines_single_face_scatter_feature.json create mode 100644 behavior_pack/features/warped_fungus_scatter_feature.json create mode 100644 behavior_pack/features/warped_roots_scatter_feature.json create mode 100644 behavior_pack/item_catalog/crafting_item_catalog.json create mode 100644 behavior_pack/items/apple.json create mode 100644 behavior_pack/items/appleEnchanted.json create mode 100644 behavior_pack/items/baked_potato.json create mode 100644 behavior_pack/items/beef.json create mode 100644 behavior_pack/items/beetroot.json create mode 100644 behavior_pack/items/beetroot_seeds.json create mode 100644 behavior_pack/items/beetroot_soup.json create mode 100644 behavior_pack/items/black_bundle.json create mode 100644 behavior_pack/items/blue_bundle.json create mode 100644 behavior_pack/items/bread.json create mode 100644 behavior_pack/items/breeze_rod.json create mode 100644 behavior_pack/items/brown_bundle.json create mode 100644 behavior_pack/items/bundle.json create mode 100644 behavior_pack/items/camera.json create mode 100644 behavior_pack/items/carrot.json create mode 100644 behavior_pack/items/chicken.json create mode 100644 behavior_pack/items/chorus_fruit.json create mode 100644 behavior_pack/items/clownfish.json create mode 100644 behavior_pack/items/cooked_beef.json create mode 100644 behavior_pack/items/cooked_chicken.json create mode 100644 behavior_pack/items/cooked_fish.json create mode 100644 behavior_pack/items/cooked_porkchop.json create mode 100644 behavior_pack/items/cooked_rabbit.json create mode 100644 behavior_pack/items/cooked_salmon.json create mode 100644 behavior_pack/items/cookie.json create mode 100644 behavior_pack/items/cyan_bundle.json create mode 100644 behavior_pack/items/dried_kelp.json create mode 100644 behavior_pack/items/fish.json create mode 100644 behavior_pack/items/glow_berries.json create mode 100644 behavior_pack/items/golden_apple.json create mode 100644 behavior_pack/items/golden_carrot.json create mode 100644 behavior_pack/items/gray_bundle.json create mode 100644 behavior_pack/items/green_bundle.json create mode 100644 behavior_pack/items/honey_bottle.json create mode 100644 behavior_pack/items/honeycomb.json create mode 100644 behavior_pack/items/light_blue_bundle.json create mode 100644 behavior_pack/items/light_gray_bundle.json create mode 100644 behavior_pack/items/lime_bundle.json create mode 100644 behavior_pack/items/magenta_bundle.json create mode 100644 behavior_pack/items/melon.json create mode 100644 behavior_pack/items/melon_seeds.json create mode 100644 behavior_pack/items/mushroom_stew.json create mode 100644 behavior_pack/items/muttonCooked.json create mode 100644 behavior_pack/items/muttonRaw.json create mode 100644 behavior_pack/items/nether_wart.json create mode 100644 behavior_pack/items/ominous_trial_key.json create mode 100644 behavior_pack/items/orange_bundle.json create mode 100644 behavior_pack/items/pink_bundle.json create mode 100644 behavior_pack/items/pitcher_pod.json create mode 100644 behavior_pack/items/poisonous_potato.json create mode 100644 behavior_pack/items/porkchop.json create mode 100644 behavior_pack/items/portfolio.json create mode 100644 behavior_pack/items/potato.json create mode 100644 behavior_pack/items/pufferfish.json create mode 100644 behavior_pack/items/pumpkin_pie.json create mode 100644 behavior_pack/items/pumpkin_seeds.json create mode 100644 behavior_pack/items/purple_bundle.json create mode 100644 behavior_pack/items/rabbit.json create mode 100644 behavior_pack/items/rabbit_stew.json create mode 100644 behavior_pack/items/red_bundle.json create mode 100644 behavior_pack/items/rotten_flesh.json create mode 100644 behavior_pack/items/salmon.json create mode 100644 behavior_pack/items/spider_eye.json create mode 100644 behavior_pack/items/suspicious_stew.json create mode 100644 behavior_pack/items/sweet_berries.json create mode 100644 behavior_pack/items/torchflower_seeds.json create mode 100644 behavior_pack/items/trial_key.json create mode 100644 behavior_pack/items/wheat_seeds.json create mode 100644 behavior_pack/items/white_bundle.json create mode 100644 behavior_pack/items/wind_charge.json create mode 100644 behavior_pack/items/yellow_bundle.json create mode 100644 behavior_pack/loot_tables/chests/abandoned_mineshaft.json create mode 100644 behavior_pack/loot_tables/chests/ancient_city.json create mode 100644 behavior_pack/loot_tables/chests/ancient_city_ice_box.json create mode 100644 behavior_pack/loot_tables/chests/bastion_bridge.json create mode 100644 behavior_pack/loot_tables/chests/bastion_hoglin_stable.json create mode 100644 behavior_pack/loot_tables/chests/bastion_other.json create mode 100644 behavior_pack/loot_tables/chests/bastion_treasure.json create mode 100644 behavior_pack/loot_tables/chests/buriedtreasure.json create mode 100644 behavior_pack/loot_tables/chests/desert_pyramid.json create mode 100644 behavior_pack/loot_tables/chests/dispenser_trap.json create mode 100644 behavior_pack/loot_tables/chests/end_city_treasure.json create mode 100644 behavior_pack/loot_tables/chests/igloo_chest.json create mode 100644 behavior_pack/loot_tables/chests/jungle_temple.json create mode 100644 behavior_pack/loot_tables/chests/monster_room.json create mode 100644 behavior_pack/loot_tables/chests/nether_bridge.json create mode 100644 behavior_pack/loot_tables/chests/pillager_outpost.json create mode 100644 behavior_pack/loot_tables/chests/ruined_portal.json create mode 100644 behavior_pack/loot_tables/chests/shipwreck.json create mode 100644 behavior_pack/loot_tables/chests/shipwrecksupply.json create mode 100644 behavior_pack/loot_tables/chests/shipwrecktreasure.json create mode 100644 behavior_pack/loot_tables/chests/simple_dungeon.json create mode 100644 behavior_pack/loot_tables/chests/spawn_bonus_chest.json create mode 100644 behavior_pack/loot_tables/chests/stronghold_corridor.json create mode 100644 behavior_pack/loot_tables/chests/stronghold_crossing.json create mode 100644 behavior_pack/loot_tables/chests/stronghold_library.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/corridor.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/entrance.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/intersection.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/intersection_barrel.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward_common.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward_ominous.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_common.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_rare.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_unique.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward_rare.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/reward_unique.json create mode 100644 behavior_pack/loot_tables/chests/trial_chambers/supply.json create mode 100644 behavior_pack/loot_tables/chests/underwater_ruin_big.json create mode 100644 behavior_pack/loot_tables/chests/underwater_ruin_small.json create mode 100644 behavior_pack/loot_tables/chests/village/village_armorer.json create mode 100644 behavior_pack/loot_tables/chests/village/village_butcher.json create mode 100644 behavior_pack/loot_tables/chests/village/village_cartographer.json create mode 100644 behavior_pack/loot_tables/chests/village/village_desert_house.json create mode 100644 behavior_pack/loot_tables/chests/village/village_fletcher.json create mode 100644 behavior_pack/loot_tables/chests/village/village_mason.json create mode 100644 behavior_pack/loot_tables/chests/village/village_plains_house.json create mode 100644 behavior_pack/loot_tables/chests/village/village_savanna_house.json create mode 100644 behavior_pack/loot_tables/chests/village/village_shepherd.json create mode 100644 behavior_pack/loot_tables/chests/village/village_snowy_house.json create mode 100644 behavior_pack/loot_tables/chests/village/village_taiga_house.json create mode 100644 behavior_pack/loot_tables/chests/village/village_tannery.json create mode 100644 behavior_pack/loot_tables/chests/village/village_temple.json create mode 100644 behavior_pack/loot_tables/chests/village/village_toolsmith.json create mode 100644 behavior_pack/loot_tables/chests/village/village_weaponsmith.json create mode 100644 behavior_pack/loot_tables/chests/village_blacksmith.json create mode 100644 behavior_pack/loot_tables/chests/village_two_room_house.json create mode 100644 behavior_pack/loot_tables/chests/woodland_mansion.json create mode 100644 behavior_pack/loot_tables/dispensers/trial_chambers/chamber.json create mode 100644 behavior_pack/loot_tables/dispensers/trial_chambers/corridor.json create mode 100644 behavior_pack/loot_tables/dispensers/trial_chambers/water.json create mode 100644 behavior_pack/loot_tables/empty.json create mode 100644 behavior_pack/loot_tables/entities/armadillo_brush.json create mode 100644 behavior_pack/loot_tables/entities/armor_set_chain.json create mode 100644 behavior_pack/loot_tables/entities/armor_set_diamond.json create mode 100644 behavior_pack/loot_tables/entities/armor_set_gold.json create mode 100644 behavior_pack/loot_tables/entities/armor_set_iron.json create mode 100644 behavior_pack/loot_tables/entities/armor_set_leather.json create mode 100644 behavior_pack/loot_tables/entities/armor_stand.json create mode 100644 behavior_pack/loot_tables/entities/bat.json create mode 100644 behavior_pack/loot_tables/entities/blaze.json create mode 100644 behavior_pack/loot_tables/entities/boat.json create mode 100644 behavior_pack/loot_tables/entities/bogged.json create mode 100644 behavior_pack/loot_tables/entities/bogged_shear.json create mode 100644 behavior_pack/loot_tables/entities/breeze.json create mode 100644 behavior_pack/loot_tables/entities/brown_mooshroom_shear.json create mode 100644 behavior_pack/loot_tables/entities/cat.json create mode 100644 behavior_pack/loot_tables/entities/cat_gift.json create mode 100644 behavior_pack/loot_tables/entities/cave_spider.json create mode 100644 behavior_pack/loot_tables/entities/chicken.json create mode 100644 behavior_pack/loot_tables/entities/clownfish.json create mode 100644 behavior_pack/loot_tables/entities/cold_ocean_ruins_brushable_block.json create mode 100644 behavior_pack/loot_tables/entities/cow.json create mode 100644 behavior_pack/loot_tables/entities/creeper.json create mode 100644 behavior_pack/loot_tables/entities/desert_pyramid_brushable_block.json create mode 100644 behavior_pack/loot_tables/entities/desert_well_brushable_block.json create mode 100644 behavior_pack/loot_tables/entities/dolphin.json create mode 100644 behavior_pack/loot_tables/entities/drowned.json create mode 100644 behavior_pack/loot_tables/entities/drowned_equipment.json create mode 100644 behavior_pack/loot_tables/entities/drowned_ranged_equipment.json create mode 100644 behavior_pack/loot_tables/entities/elder_guardian.json create mode 100644 behavior_pack/loot_tables/entities/empty_brushable_block.json create mode 100644 behavior_pack/loot_tables/entities/enderman.json create mode 100644 behavior_pack/loot_tables/entities/endermite.json create mode 100644 behavior_pack/loot_tables/entities/evocation_illager.json create mode 100644 behavior_pack/loot_tables/entities/fish.json create mode 100644 behavior_pack/loot_tables/entities/fox_equipment.json create mode 100644 behavior_pack/loot_tables/entities/frog.json create mode 100644 behavior_pack/loot_tables/entities/ghast.json create mode 100644 behavior_pack/loot_tables/entities/giant.json create mode 100644 behavior_pack/loot_tables/entities/glow_squid.json create mode 100644 behavior_pack/loot_tables/entities/goat.json create mode 100644 behavior_pack/loot_tables/entities/guardian.json create mode 100644 behavior_pack/loot_tables/entities/hoglin.json create mode 100644 behavior_pack/loot_tables/entities/horse.json create mode 100644 behavior_pack/loot_tables/entities/iron_golem.json create mode 100644 behavior_pack/loot_tables/entities/llama.json create mode 100644 behavior_pack/loot_tables/entities/magma_cube.json create mode 100644 behavior_pack/loot_tables/entities/mooshroom.json create mode 100644 behavior_pack/loot_tables/entities/mooshroom_shear.json create mode 100644 behavior_pack/loot_tables/entities/ocelot.json create mode 100644 behavior_pack/loot_tables/entities/panda.json create mode 100644 behavior_pack/loot_tables/entities/panda_sneeze.json create mode 100644 behavior_pack/loot_tables/entities/parrot.json create mode 100644 behavior_pack/loot_tables/entities/phantom.json create mode 100644 behavior_pack/loot_tables/entities/pig.json create mode 100644 behavior_pack/loot_tables/entities/pig_saddled.json create mode 100644 behavior_pack/loot_tables/entities/piglin_barter.json create mode 100644 behavior_pack/loot_tables/entities/piglin_brute_gear.json create mode 100644 behavior_pack/loot_tables/entities/piglin_gear_melee.json create mode 100644 behavior_pack/loot_tables/entities/piglin_gear_ranged.json create mode 100644 behavior_pack/loot_tables/entities/pillager.json create mode 100644 behavior_pack/loot_tables/entities/pillager_captain.json create mode 100644 behavior_pack/loot_tables/entities/pillager_captain_equipment.json create mode 100644 behavior_pack/loot_tables/entities/pillager_gear.json create mode 100644 behavior_pack/loot_tables/entities/pillager_raid.json create mode 100644 behavior_pack/loot_tables/entities/polar_bear.json create mode 100644 behavior_pack/loot_tables/entities/pufferfish.json create mode 100644 behavior_pack/loot_tables/entities/rabbit.json create mode 100644 behavior_pack/loot_tables/entities/raider_drops.json create mode 100644 behavior_pack/loot_tables/entities/ravager.json create mode 100644 behavior_pack/loot_tables/entities/salmon_large.json create mode 100644 behavior_pack/loot_tables/entities/salmon_normal.json create mode 100644 behavior_pack/loot_tables/entities/sea_turtle.json create mode 100644 behavior_pack/loot_tables/entities/sheep.json create mode 100644 behavior_pack/loot_tables/entities/sheep_shear.json create mode 100644 behavior_pack/loot_tables/entities/sheep_sheared.json create mode 100644 behavior_pack/loot_tables/entities/shulker.json create mode 100644 behavior_pack/loot_tables/entities/silverfish.json create mode 100644 behavior_pack/loot_tables/entities/skeleton.json create mode 100644 behavior_pack/loot_tables/entities/skeleton_gear.json create mode 100644 behavior_pack/loot_tables/entities/skeleton_horse.json create mode 100644 behavior_pack/loot_tables/entities/slime.json create mode 100644 behavior_pack/loot_tables/entities/snow_golem_shear.json create mode 100644 behavior_pack/loot_tables/entities/snowman.json create mode 100644 behavior_pack/loot_tables/entities/spider.json create mode 100644 behavior_pack/loot_tables/entities/squid.json create mode 100644 behavior_pack/loot_tables/entities/stray.json create mode 100644 behavior_pack/loot_tables/entities/strider.json create mode 100644 behavior_pack/loot_tables/entities/strider_saddled.json create mode 100644 behavior_pack/loot_tables/entities/trail_ruins_brushable_block_common.json create mode 100644 behavior_pack/loot_tables/entities/trail_ruins_brushable_block_rare.json create mode 100644 behavior_pack/loot_tables/entities/tropicalfish.json create mode 100644 behavior_pack/loot_tables/entities/vex_gear.json create mode 100644 behavior_pack/loot_tables/entities/vindication_illager.json create mode 100644 behavior_pack/loot_tables/entities/vindicator_captain_equipment.json create mode 100644 behavior_pack/loot_tables/entities/vindicator_gear.json create mode 100644 behavior_pack/loot_tables/entities/vindicator_raid.json create mode 100644 behavior_pack/loot_tables/entities/warden.json create mode 100644 behavior_pack/loot_tables/entities/warm_ocean_ruins_brushable_block.json create mode 100644 behavior_pack/loot_tables/entities/witch.json create mode 100644 behavior_pack/loot_tables/entities/wither_boss.json create mode 100644 behavior_pack/loot_tables/entities/wither_skeleton.json create mode 100644 behavior_pack/loot_tables/entities/wither_skeleton_gear.json create mode 100644 behavior_pack/loot_tables/entities/wolf.json create mode 100644 behavior_pack/loot_tables/entities/zoglin.json create mode 100644 behavior_pack/loot_tables/entities/zombie.json create mode 100644 behavior_pack/loot_tables/entities/zombie_equipment.json create mode 100644 behavior_pack/loot_tables/entities/zombie_horse.json create mode 100644 behavior_pack/loot_tables/entities/zombie_pigman.json create mode 100644 behavior_pack/loot_tables/entities/zombie_pigman_gear.json create mode 100644 behavior_pack/loot_tables/entities/zombified_piglin_rider_gear.json create mode 100644 behavior_pack/loot_tables/equipment/low_tier_items.json create mode 100644 behavior_pack/loot_tables/equipment/trial_chamber.json create mode 100644 behavior_pack/loot_tables/equipment/trial_chamber_chainmail.json create mode 100644 behavior_pack/loot_tables/equipment/trial_chamber_diamond.json create mode 100644 behavior_pack/loot_tables/equipment/trial_chamber_iron.json create mode 100644 behavior_pack/loot_tables/equipment/trial_chamber_melee.json create mode 100644 behavior_pack/loot_tables/equipment/trial_chamber_ranged.json create mode 100644 behavior_pack/loot_tables/gameplay/entities/mooshroom_milking.json create mode 100644 behavior_pack/loot_tables/gameplay/entities/sniffer_seeds.json create mode 100644 behavior_pack/loot_tables/gameplay/fishing.json create mode 100644 behavior_pack/loot_tables/gameplay/fishing/fish.json create mode 100644 behavior_pack/loot_tables/gameplay/fishing/jungle_fish.json create mode 100644 behavior_pack/loot_tables/gameplay/fishing/jungle_junk.json create mode 100644 behavior_pack/loot_tables/gameplay/fishing/junk.json create mode 100644 behavior_pack/loot_tables/gameplay/fishing/treasure.json create mode 100644 behavior_pack/loot_tables/gameplay/jungle_fishing.json create mode 100644 behavior_pack/loot_tables/pots/trial_chambers/corridor.json create mode 100644 behavior_pack/loot_tables/spawners/ominous/trial_chamber/consumables.json create mode 100644 behavior_pack/loot_tables/spawners/ominous/trial_chamber/key.json create mode 100644 behavior_pack/loot_tables/spawners/trial_chamber/consumables.json create mode 100644 behavior_pack/loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json create mode 100644 behavior_pack/loot_tables/spawners/trial_chamber/key.json create mode 100644 behavior_pack/recipes/acacia_boat.json create mode 100644 behavior_pack/recipes/acacia_chest_boat.json create mode 100644 behavior_pack/recipes/acacia_door.json create mode 100644 behavior_pack/recipes/acacia_fence.json create mode 100644 behavior_pack/recipes/acacia_fence_gate.json create mode 100644 behavior_pack/recipes/acacia_hanging_sign.json create mode 100644 behavior_pack/recipes/acacia_planks.json create mode 100644 behavior_pack/recipes/acacia_planks_from_stripped.json create mode 100644 behavior_pack/recipes/acacia_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/acacia_planks_from_wood.json create mode 100644 behavior_pack/recipes/acacia_stairs.json create mode 100644 behavior_pack/recipes/acacia_wood.json create mode 100644 behavior_pack/recipes/acacia_wood_stripped.json create mode 100644 behavior_pack/recipes/acacia_wooden_slab.json create mode 100644 behavior_pack/recipes/activator_rail.json create mode 100644 behavior_pack/recipes/amethyst_block.json create mode 100644 behavior_pack/recipes/andesite.json create mode 100644 behavior_pack/recipes/andesite_stairs.json create mode 100644 behavior_pack/recipes/andesite_wall.json create mode 100644 behavior_pack/recipes/anvil.json create mode 100644 behavior_pack/recipes/armor_stand.json create mode 100644 behavior_pack/recipes/arrow.json create mode 100644 behavior_pack/recipes/bamboo_block.json create mode 100644 behavior_pack/recipes/bamboo_button.json create mode 100644 behavior_pack/recipes/bamboo_chest_raft.json create mode 100644 behavior_pack/recipes/bamboo_door.json create mode 100644 behavior_pack/recipes/bamboo_fence.json create mode 100644 behavior_pack/recipes/bamboo_fence_gate.json create mode 100644 behavior_pack/recipes/bamboo_hanging_sign.json create mode 100644 behavior_pack/recipes/bamboo_mosaic.json create mode 100644 behavior_pack/recipes/bamboo_mosaic_slab.json create mode 100644 behavior_pack/recipes/bamboo_mosiac_stairs.json create mode 100644 behavior_pack/recipes/bamboo_planks.json create mode 100644 behavior_pack/recipes/bamboo_planks_from_stripped.json create mode 100644 behavior_pack/recipes/bamboo_pressure_plate.json create mode 100644 behavior_pack/recipes/bamboo_raft.json create mode 100644 behavior_pack/recipes/bamboo_sign.json create mode 100644 behavior_pack/recipes/bamboo_slab.json create mode 100644 behavior_pack/recipes/bamboo_stairs.json create mode 100644 behavior_pack/recipes/bamboo_trapdoor.json create mode 100644 behavior_pack/recipes/banner_pattern_bricks.json create mode 100644 behavior_pack/recipes/banner_pattern_creeper.json create mode 100644 behavior_pack/recipes/banner_pattern_flower.json create mode 100644 behavior_pack/recipes/banner_pattern_skull.json create mode 100644 behavior_pack/recipes/banner_pattern_thing.json create mode 100644 behavior_pack/recipes/banner_pattern_vines.json create mode 100644 behavior_pack/recipes/barrel.json create mode 100644 behavior_pack/recipes/barrel_deprecated.json create mode 100644 behavior_pack/recipes/barrel_from_crimson_slab.json create mode 100644 behavior_pack/recipes/barrel_from_crimson_slab_deprecated.json create mode 100644 behavior_pack/recipes/barrel_from_mangrove_slab.json create mode 100644 behavior_pack/recipes/barrel_from_mangrove_slab_deprecated.json create mode 100644 behavior_pack/recipes/barrel_from_warped_slab.json create mode 100644 behavior_pack/recipes/barrel_from_warped_slab_deprecated.json create mode 100644 behavior_pack/recipes/barrel_with_tag_deprecated.json create mode 100644 behavior_pack/recipes/basic_map_to_enhanced.json create mode 100644 behavior_pack/recipes/beacon.json create mode 100644 behavior_pack/recipes/beehive.json create mode 100644 behavior_pack/recipes/beehive_from_crimson_planks.json create mode 100644 behavior_pack/recipes/beehive_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/beehive_from_warped_planks.json create mode 100644 behavior_pack/recipes/beetroot_soup.json create mode 100644 behavior_pack/recipes/birch_boat.json create mode 100644 behavior_pack/recipes/birch_chest_boat.json create mode 100644 behavior_pack/recipes/birch_door.json create mode 100644 behavior_pack/recipes/birch_fence.json create mode 100644 behavior_pack/recipes/birch_fence_gate.json create mode 100644 behavior_pack/recipes/birch_hanging_sign.json create mode 100644 behavior_pack/recipes/birch_planks.json create mode 100644 behavior_pack/recipes/birch_planks_from_stripped.json create mode 100644 behavior_pack/recipes/birch_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/birch_planks_from_wood.json create mode 100644 behavior_pack/recipes/birch_stairs.json create mode 100644 behavior_pack/recipes/birch_wood.json create mode 100644 behavior_pack/recipes/birch_wood_stripped.json create mode 100644 behavior_pack/recipes/birch_wooden_slab.json create mode 100644 behavior_pack/recipes/black_banner.json create mode 100644 behavior_pack/recipes/black_candle.json create mode 100644 behavior_pack/recipes/black_candle_from_ink_sac.json create mode 100644 behavior_pack/recipes/black_carpet.json create mode 100644 behavior_pack/recipes/black_carpet_from_white.json create mode 100644 behavior_pack/recipes/black_concrete_powder.json create mode 100644 behavior_pack/recipes/black_concrete_powder_from_ink_sac.json create mode 100644 behavior_pack/recipes/black_dye_from_ink_sac.json create mode 100644 behavior_pack/recipes/black_dye_from_wither_rose.json create mode 100644 behavior_pack/recipes/black_stained_glass.json create mode 100644 behavior_pack/recipes/black_stained_glass_from_ink_sac.json create mode 100644 behavior_pack/recipes/black_stained_glass_pane.json create mode 100644 behavior_pack/recipes/black_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/black_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/black_stained_hardened_clay_from_ink_sac.json create mode 100644 behavior_pack/recipes/blackstone_slab.json create mode 100644 behavior_pack/recipes/blackstone_stairs.json create mode 100644 behavior_pack/recipes/blackstone_wall.json create mode 100644 behavior_pack/recipes/blast_furnace.json create mode 100644 behavior_pack/recipes/blaze_powder.json create mode 100644 behavior_pack/recipes/blue_banner.json create mode 100644 behavior_pack/recipes/blue_candle.json create mode 100644 behavior_pack/recipes/blue_candle_from_lapis_lazuli.json create mode 100644 behavior_pack/recipes/blue_carpet.json create mode 100644 behavior_pack/recipes/blue_carpet_from_white.json create mode 100644 behavior_pack/recipes/blue_concrete_powder.json create mode 100644 behavior_pack/recipes/blue_concrete_powder_from_lapis_lazuli.json create mode 100644 behavior_pack/recipes/blue_dye_from_cornflower.json create mode 100644 behavior_pack/recipes/blue_dye_from_lapis_lazuli.json create mode 100644 behavior_pack/recipes/blue_ice.json create mode 100644 behavior_pack/recipes/blue_stained_glass.json create mode 100644 behavior_pack/recipes/blue_stained_glass_from_lapis_lazuli.json create mode 100644 behavior_pack/recipes/blue_stained_glass_pane.json create mode 100644 behavior_pack/recipes/blue_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/blue_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/blue_stained_hardened_clay_from_lapis_lazuli.json create mode 100644 behavior_pack/recipes/boat.json create mode 100644 behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate_waxed.json create mode 100644 behavior_pack/recipes/bone_block.json create mode 100644 behavior_pack/recipes/bone_meal_from_block.json create mode 100644 behavior_pack/recipes/bone_meal_from_bone.json create mode 100644 behavior_pack/recipes/book.json create mode 100644 behavior_pack/recipes/bookshelf.json create mode 100644 behavior_pack/recipes/bookshelf_from_crimson_planks.json create mode 100644 behavior_pack/recipes/bookshelf_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/bookshelf_from_warped_planks.json create mode 100644 behavior_pack/recipes/bow.json create mode 100644 behavior_pack/recipes/bowl.json create mode 100644 behavior_pack/recipes/bowl_from_crimson_planks.json create mode 100644 behavior_pack/recipes/bowl_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/bowl_from_warped_planks.json create mode 100644 behavior_pack/recipes/bread.json create mode 100644 behavior_pack/recipes/brew_awkward_blaze_powder.json create mode 100644 behavior_pack/recipes/brew_awkward_breeze_rod.json create mode 100644 behavior_pack/recipes/brew_awkward_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_awkward_ghast_tear.json create mode 100644 behavior_pack/recipes/brew_awkward_golden_carrot.json create mode 100644 behavior_pack/recipes/brew_awkward_magma_cream.json create mode 100644 behavior_pack/recipes/brew_awkward_phantom_membrane.json create mode 100644 behavior_pack/recipes/brew_awkward_puffer_fish.json create mode 100644 behavior_pack/recipes/brew_awkward_rabbit_foot.json create mode 100644 behavior_pack/recipes/brew_awkward_slime_block.json create mode 100644 behavior_pack/recipes/brew_awkward_speckled_melon.json create mode 100644 behavior_pack/recipes/brew_awkward_spider_eye.json create mode 100644 behavior_pack/recipes/brew_awkward_stone.json create mode 100644 behavior_pack/recipes/brew_awkward_sugar.json create mode 100644 behavior_pack/recipes/brew_awkward_turtle_helmet.json create mode 100644 behavior_pack/recipes/brew_awkward_web.json create mode 100644 behavior_pack/recipes/brew_fireresistance_redstone.json create mode 100644 behavior_pack/recipes/brew_harming_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_healing_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_healing_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_invisibility_red_stone.json create mode 100644 behavior_pack/recipes/brew_leaping_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_leaping_glow_stone.json create mode 100644 behavior_pack/recipes/brew_leaping_red_stone.json create mode 100644 behavior_pack/recipes/brew_long_leaping_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_long_mundane_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_long_poison_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_long_strength_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_longnightvision_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_longswiftness_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_mundane_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_nightvision_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_nightvision_redstone.json create mode 100644 behavior_pack/recipes/brew_poison_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_poison_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_poison_redstone.json create mode 100644 behavior_pack/recipes/brew_potion_sulphur.json create mode 100644 behavior_pack/recipes/brew_regeneration_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_regeneration_redstone.json create mode 100644 behavior_pack/recipes/brew_slow_falling_redstone.json create mode 100644 behavior_pack/recipes/brew_slowness_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_slowness_redstone.json create mode 100644 behavior_pack/recipes/brew_splash_potion_dragon_breath.json create mode 100644 behavior_pack/recipes/brew_strength_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_strength_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_strength_redstone.json create mode 100644 behavior_pack/recipes/brew_strong_healing_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_strong_poison_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_strong_strength_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_swiftness_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_swiftness_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_swiftness_redstone.json create mode 100644 behavior_pack/recipes/brew_thick_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_turtle_master_glowstone_dust.json create mode 100644 behavior_pack/recipes/brew_turtle_master_redstone.json create mode 100644 behavior_pack/recipes/brew_water_blaze_powder.json create mode 100644 behavior_pack/recipes/brew_water_breathing_redstone.json create mode 100644 behavior_pack/recipes/brew_water_breeze_rod.json create mode 100644 behavior_pack/recipes/brew_water_fermented_spider_eye.json create mode 100644 behavior_pack/recipes/brew_water_ghast_tear.json create mode 100644 behavior_pack/recipes/brew_water_glow_stone.json create mode 100644 behavior_pack/recipes/brew_water_magma_cream.json create mode 100644 behavior_pack/recipes/brew_water_nether_wart.json create mode 100644 behavior_pack/recipes/brew_water_rabbit_foot.json create mode 100644 behavior_pack/recipes/brew_water_red_stone.json create mode 100644 behavior_pack/recipes/brew_water_slime_block.json create mode 100644 behavior_pack/recipes/brew_water_speckled_melon.json create mode 100644 behavior_pack/recipes/brew_water_spider_eye.json create mode 100644 behavior_pack/recipes/brew_water_stone.json create mode 100644 behavior_pack/recipes/brew_water_sugar.json create mode 100644 behavior_pack/recipes/brew_water_web.json create mode 100644 behavior_pack/recipes/brew_weakness_redstone.json create mode 100644 behavior_pack/recipes/brewing_stand.json create mode 100644 behavior_pack/recipes/brewing_stand_from_blackstone.json create mode 100644 behavior_pack/recipes/brewing_stand_from_cobbled_deepslate.json create mode 100644 behavior_pack/recipes/brick_block.json create mode 100644 behavior_pack/recipes/brick_stairs.json create mode 100644 behavior_pack/recipes/brick_wall.json create mode 100644 behavior_pack/recipes/brown_banner.json create mode 100644 behavior_pack/recipes/brown_candle.json create mode 100644 behavior_pack/recipes/brown_candle_from_cocoa_beans.json create mode 100644 behavior_pack/recipes/brown_carpet.json create mode 100644 behavior_pack/recipes/brown_carpet_from_white.json create mode 100644 behavior_pack/recipes/brown_concrete_powder.json create mode 100644 behavior_pack/recipes/brown_concrete_powder_from_cocoa_beans.json create mode 100644 behavior_pack/recipes/brown_dye_from_cocoa_beans.json create mode 100644 behavior_pack/recipes/brown_stained_glass.json create mode 100644 behavior_pack/recipes/brown_stained_glass_from_cocoa_beans.json create mode 100644 behavior_pack/recipes/brown_stained_glass_pane.json create mode 100644 behavior_pack/recipes/brown_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/brown_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/brown_stained_hardened_clay_from_cocoa_beans.json create mode 100644 behavior_pack/recipes/brush.json create mode 100644 behavior_pack/recipes/bucket.json create mode 100644 behavior_pack/recipes/bundle.json create mode 100644 behavior_pack/recipes/cake.json create mode 100644 behavior_pack/recipes/calibrated_sculk_sensor.json create mode 100644 behavior_pack/recipes/campfire.json create mode 100644 behavior_pack/recipes/campfire_charcoal.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_log2.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_mangrove_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_mangrove_wood.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_acacia_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_birch_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_dark_oak_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_jungle_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_wood.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_oak_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_stripped_spruce_log.json create mode 100644 behavior_pack/recipes/campfire_from_charcoal_wood.json create mode 100644 behavior_pack/recipes/campfire_from_crimson_stem.json create mode 100644 behavior_pack/recipes/campfire_from_log2.json create mode 100644 behavior_pack/recipes/campfire_from_mangrove_log.json create mode 100644 behavior_pack/recipes/campfire_from_mangrove_wood.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_acacia_log.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_birch_log.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_crimson_stem.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_dark_oak_log.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_jungle_log.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_mangrove_log.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_mangrove_wood.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_oak_log.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_spruce_log.json create mode 100644 behavior_pack/recipes/campfire_from_stripped_warped_stem.json create mode 100644 behavior_pack/recipes/campfire_from_warped_stem.json create mode 100644 behavior_pack/recipes/campfire_from_wood.json create mode 100644 behavior_pack/recipes/candle.json create mode 100644 behavior_pack/recipes/carrot_on_a_stick.json create mode 100644 behavior_pack/recipes/cartography_table.json create mode 100644 behavior_pack/recipes/cartography_table_from_crimson_planks.json create mode 100644 behavior_pack/recipes/cartography_table_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/cartography_table_from_warped_planks.json create mode 100644 behavior_pack/recipes/cartography_table_locator_map.json create mode 100644 behavior_pack/recipes/cartography_table_map.json create mode 100644 behavior_pack/recipes/cauldron.json create mode 100644 behavior_pack/recipes/chain.json create mode 100644 behavior_pack/recipes/cherry_boat.json create mode 100644 behavior_pack/recipes/cherry_button.json create mode 100644 behavior_pack/recipes/cherry_chest_boat.json create mode 100644 behavior_pack/recipes/cherry_door.json create mode 100644 behavior_pack/recipes/cherry_fence.json create mode 100644 behavior_pack/recipes/cherry_fence_gate.json create mode 100644 behavior_pack/recipes/cherry_hanging_sign.json create mode 100644 behavior_pack/recipes/cherry_planks_from_log.json create mode 100644 behavior_pack/recipes/cherry_planks_from_stripped_log.json create mode 100644 behavior_pack/recipes/cherry_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/cherry_planks_from_wood.json create mode 100644 behavior_pack/recipes/cherry_pressure_plate.json create mode 100644 behavior_pack/recipes/cherry_sign.json create mode 100644 behavior_pack/recipes/cherry_slab.json create mode 100644 behavior_pack/recipes/cherry_stairs.json create mode 100644 behavior_pack/recipes/cherry_stripped_wood_from_stripped_log.json create mode 100644 behavior_pack/recipes/cherry_trapdoor.json create mode 100644 behavior_pack/recipes/cherry_wood_from_log.json create mode 100644 behavior_pack/recipes/chest.json create mode 100644 behavior_pack/recipes/chest_boat.json create mode 100644 behavior_pack/recipes/chest_from_crimson_planks.json create mode 100644 behavior_pack/recipes/chest_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/chest_from_warped_planks.json create mode 100644 behavior_pack/recipes/chest_minecart.json create mode 100644 behavior_pack/recipes/chiseled_bookshelf.json create mode 100644 behavior_pack/recipes/chiseled_deepslate.json create mode 100644 behavior_pack/recipes/chiseled_deepslate_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/chiseled_nether_bricks.json create mode 100644 behavior_pack/recipes/chiseled_polished_blackstone.json create mode 100644 behavior_pack/recipes/chiseled_resin_bricks_from_slabs.json create mode 100644 behavior_pack/recipes/chiseled_tuff.json create mode 100644 behavior_pack/recipes/chiseled_tuff_bricks.json create mode 100644 behavior_pack/recipes/clay.json create mode 100644 behavior_pack/recipes/clock.json create mode 100644 behavior_pack/recipes/coal.json create mode 100644 behavior_pack/recipes/coal_block.json create mode 100644 behavior_pack/recipes/coarse_dirt.json create mode 100644 behavior_pack/recipes/coast_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/cobbled_deepslate_slab.json create mode 100644 behavior_pack/recipes/cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/cobbled_deepslate_stairs.json create mode 100644 behavior_pack/recipes/cobbled_deepslate_stairs_from_cobbled_deepslate_cutting.json create mode 100644 behavior_pack/recipes/cobbled_deepslate_wall.json create mode 100644 behavior_pack/recipes/cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/cobblestone_stairs.json create mode 100644 behavior_pack/recipes/cobblestone_wall.json create mode 100644 behavior_pack/recipes/cobweb_to_string.json create mode 100644 behavior_pack/recipes/comparator.json create mode 100644 behavior_pack/recipes/compass.json create mode 100644 behavior_pack/recipes/composter.json create mode 100644 behavior_pack/recipes/composter_from_crimson_slab.json create mode 100644 behavior_pack/recipes/composter_from_mangrove_slab.json create mode 100644 behavior_pack/recipes/composter_from_warped_slab.json create mode 100644 behavior_pack/recipes/conduit.json create mode 100644 behavior_pack/recipes/cookie.json create mode 100644 behavior_pack/recipes/copper_block_from_ingots.json create mode 100644 behavior_pack/recipes/cracked_deepslate_bricks_furnace.json create mode 100644 behavior_pack/recipes/cracked_deepslate_tiles_furnace.json create mode 100644 behavior_pack/recipes/crafter.json create mode 100644 behavior_pack/recipes/crafting_table.json create mode 100644 behavior_pack/recipes/crafting_table_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_copper_door.json create mode 100644 behavior_pack/recipes/crafting_table_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_copper_trapdoor.json create mode 100644 behavior_pack/recipes/crafting_table_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/crafting_table_default.json create mode 100644 behavior_pack/recipes/crafting_table_exposed_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_exposed_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_exposed_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_exposed_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_exposed_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_exposed_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/crafting_table_from_crimson_planks.json create mode 100644 behavior_pack/recipes/crafting_table_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/crafting_table_from_warped_planks.json create mode 100644 behavior_pack/recipes/crafting_table_oxidized_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_oxidized_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_oxidized_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_oxidized_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_oxidized_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_oxidized_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_copper_door.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_exposed_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_exposed_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_exposed_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_oxidized_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_oxidized_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_oxidized_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_weathered_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_weathered_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_weathered_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/crafting_table_weathered_chiseled_copper.json create mode 100644 behavior_pack/recipes/crafting_table_weathered_copper_bulb.json create mode 100644 behavior_pack/recipes/crafting_table_weathered_copper_grate.json create mode 100644 behavior_pack/recipes/crafting_table_weathered_cut_copper.json create mode 100644 behavior_pack/recipes/crafting_table_weathered_cut_copper_slab.json create mode 100644 behavior_pack/recipes/crafting_table_weathered_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/creaking_heart.json create mode 100644 behavior_pack/recipes/crimson_button.json create mode 100644 behavior_pack/recipes/crimson_door.json create mode 100644 behavior_pack/recipes/crimson_fence.json create mode 100644 behavior_pack/recipes/crimson_fence_gate.json create mode 100644 behavior_pack/recipes/crimson_hanging_sign.json create mode 100644 behavior_pack/recipes/crimson_hyphae.json create mode 100644 behavior_pack/recipes/crimson_hyphae_stripped.json create mode 100644 behavior_pack/recipes/crimson_planks.json create mode 100644 behavior_pack/recipes/crimson_planks_from_crimson_hyphae.json create mode 100644 behavior_pack/recipes/crimson_planks_from_stripped_crimson_hyphae.json create mode 100644 behavior_pack/recipes/crimson_planks_from_stripped_log.json create mode 100644 behavior_pack/recipes/crimson_pressure_plate.json create mode 100644 behavior_pack/recipes/crimson_sign.json create mode 100644 behavior_pack/recipes/crimson_slab.json create mode 100644 behavior_pack/recipes/crimson_stairs.json create mode 100644 behavior_pack/recipes/crimson_trapdoor.json create mode 100644 behavior_pack/recipes/crossbow.json create mode 100644 behavior_pack/recipes/cyan_banner.json create mode 100644 behavior_pack/recipes/cyan_candle.json create mode 100644 behavior_pack/recipes/cyan_carpet.json create mode 100644 behavior_pack/recipes/cyan_carpet_from_white.json create mode 100644 behavior_pack/recipes/cyan_concrete_powder.json create mode 100644 behavior_pack/recipes/cyan_dye.json create mode 100644 behavior_pack/recipes/cyan_dye_from_lapis_lazuli.json create mode 100644 behavior_pack/recipes/cyan_dye_from_pitcher_plant.json create mode 100644 behavior_pack/recipes/cyan_stained_glass.json create mode 100644 behavior_pack/recipes/cyan_stained_glass_pane.json create mode 100644 behavior_pack/recipes/cyan_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/cyan_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/dark_oak_boat.json create mode 100644 behavior_pack/recipes/dark_oak_chest_boat.json create mode 100644 behavior_pack/recipes/dark_oak_door.json create mode 100644 behavior_pack/recipes/dark_oak_fence.json create mode 100644 behavior_pack/recipes/dark_oak_fence_gate.json create mode 100644 behavior_pack/recipes/dark_oak_hanging_sign.json create mode 100644 behavior_pack/recipes/dark_oak_planks.json create mode 100644 behavior_pack/recipes/dark_oak_planks_from_stripped.json create mode 100644 behavior_pack/recipes/dark_oak_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/dark_oak_planks_from_wood.json create mode 100644 behavior_pack/recipes/dark_oak_stairs.json create mode 100644 behavior_pack/recipes/dark_oak_wood.json create mode 100644 behavior_pack/recipes/dark_oak_wood_stripped.json create mode 100644 behavior_pack/recipes/dark_oak_wooden_slab.json create mode 100644 behavior_pack/recipes/dark_prismarine.json create mode 100644 behavior_pack/recipes/dark_prismarine_from_ink_sac.json create mode 100644 behavior_pack/recipes/daylight_detector.json create mode 100644 behavior_pack/recipes/daylight_detector_from_crimson_slab.json create mode 100644 behavior_pack/recipes/daylight_detector_from_mangrove_slab.json create mode 100644 behavior_pack/recipes/daylight_detector_from_warped_slab.json create mode 100644 behavior_pack/recipes/deepslate_brick_slab.json create mode 100644 behavior_pack/recipes/deepslate_brick_slab_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_brick_slab_from_deepslate_bricks_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_brick_slab_from_polished_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_brick_stairs.json create mode 100644 behavior_pack/recipes/deepslate_brick_stairs_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_brick_stairs_from_deepslate_bricks_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_brick_stairs_from_polished_deepslate_stonecut.json create mode 100644 behavior_pack/recipes/deepslate_brick_wall.json create mode 100644 behavior_pack/recipes/deepslate_brick_wall_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_brick_wall_from_deepslate_bricks_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_brick_wall_from_polished_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_bricks.json create mode 100644 behavior_pack/recipes/deepslate_bricks_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_bricks_from_polished_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_furnace.json create mode 100644 behavior_pack/recipes/deepslate_tile_slab.json create mode 100644 behavior_pack/recipes/deepslate_tile_slab_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_slab_from_deepslate_bricks_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_slab_from_deepslate_tiles_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_slab_from_polished_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_stairs.json create mode 100644 behavior_pack/recipes/deepslate_tile_stairs_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_bricks_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_tiles_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_stairs_from_polished_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_wall.json create mode 100644 behavior_pack/recipes/deepslate_tile_wall_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_wall_from_deepslate_bricks_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_wall_from_deepslate_tiles_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tile_wall_from_polished_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tiles.json create mode 100644 behavior_pack/recipes/deepslate_tiles_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tiles_from_deepslate_bricks_stonecutting.json create mode 100644 behavior_pack/recipes/deepslate_tiles_from_polished_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/deprecated_cobweb_to_string.json create mode 100644 behavior_pack/recipes/detector_rail.json create mode 100644 behavior_pack/recipes/diamond.json create mode 100644 behavior_pack/recipes/diamond_axe.json create mode 100644 behavior_pack/recipes/diamond_block.json create mode 100644 behavior_pack/recipes/diamond_boots.json create mode 100644 behavior_pack/recipes/diamond_chestplate.json create mode 100644 behavior_pack/recipes/diamond_helmet.json create mode 100644 behavior_pack/recipes/diamond_hoe.json create mode 100644 behavior_pack/recipes/diamond_leggings.json create mode 100644 behavior_pack/recipes/diamond_pickaxe.json create mode 100644 behavior_pack/recipes/diamond_shovel.json create mode 100644 behavior_pack/recipes/diamond_sword.json create mode 100644 behavior_pack/recipes/diorite.json create mode 100644 behavior_pack/recipes/diorite_stairs.json create mode 100644 behavior_pack/recipes/diorite_wall.json create mode 100644 behavior_pack/recipes/dispenser.json create mode 100644 behavior_pack/recipes/dried_kelp.json create mode 100644 behavior_pack/recipes/dried_kelp_block.json create mode 100644 behavior_pack/recipes/dripstone_block.json create mode 100644 behavior_pack/recipes/dripstone_block_from_pointed_dripstone.json create mode 100644 behavior_pack/recipes/dropper.json create mode 100644 behavior_pack/recipes/dune_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/emerald.json create mode 100644 behavior_pack/recipes/emerald_block.json create mode 100644 behavior_pack/recipes/empty_map_to_enhanced.json create mode 100644 behavior_pack/recipes/enchanting_table.json create mode 100644 behavior_pack/recipes/end_brick_stairs.json create mode 100644 behavior_pack/recipes/end_brick_wall.json create mode 100644 behavior_pack/recipes/end_bricks.json create mode 100644 behavior_pack/recipes/end_crystal.json create mode 100644 behavior_pack/recipes/end_rod.json create mode 100644 behavior_pack/recipes/ender_chest.json create mode 100644 behavior_pack/recipes/ender_eye.json create mode 100644 behavior_pack/recipes/eye_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/fence.json create mode 100644 behavior_pack/recipes/fence_gate.json create mode 100644 behavior_pack/recipes/fermented_spider_eye.json create mode 100644 behavior_pack/recipes/fire_charge.json create mode 100644 behavior_pack/recipes/fire_charge_charcoal.json create mode 100644 behavior_pack/recipes/fire_charge_coal.json create mode 100644 behavior_pack/recipes/fishing_rod.json create mode 100644 behavior_pack/recipes/fletching_table.json create mode 100644 behavior_pack/recipes/fletching_table_from_crimson_planks.json create mode 100644 behavior_pack/recipes/fletching_table_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/fletching_table_from_warped_planks.json create mode 100644 behavior_pack/recipes/flint_and_steel.json create mode 100644 behavior_pack/recipes/flow_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/flower_pot.json create mode 100644 behavior_pack/recipes/furnace.json create mode 100644 behavior_pack/recipes/furnace_acacia_wood.json create mode 100644 behavior_pack/recipes/furnace_ancient_debris.json create mode 100644 behavior_pack/recipes/furnace_beef.json create mode 100644 behavior_pack/recipes/furnace_birch_wood.json create mode 100644 behavior_pack/recipes/furnace_cactus.json create mode 100644 behavior_pack/recipes/furnace_chainmail_boots.json create mode 100644 behavior_pack/recipes/furnace_chainmail_chestplate.json create mode 100644 behavior_pack/recipes/furnace_chainmail_helmet.json create mode 100644 behavior_pack/recipes/furnace_chainmail_leggings.json create mode 100644 behavior_pack/recipes/furnace_chicken.json create mode 100644 behavior_pack/recipes/furnace_chorus_fruit.json create mode 100644 behavior_pack/recipes/furnace_clay.json create mode 100644 behavior_pack/recipes/furnace_clay_ball.json create mode 100644 behavior_pack/recipes/furnace_coal_ore.json create mode 100644 behavior_pack/recipes/furnace_cobblestone.json create mode 100644 behavior_pack/recipes/furnace_copper.json create mode 100644 behavior_pack/recipes/furnace_copper_ore.json create mode 100644 behavior_pack/recipes/furnace_cracked_nether_bricks.json create mode 100644 behavior_pack/recipes/furnace_cracked_polished_blackstone_bricks.json create mode 100644 behavior_pack/recipes/furnace_dark_oak_wood.json create mode 100644 behavior_pack/recipes/furnace_deepslate_coal_ore.json create mode 100644 behavior_pack/recipes/furnace_deepslate_copper_ore.json create mode 100644 behavior_pack/recipes/furnace_deepslate_diamond_ore.json create mode 100644 behavior_pack/recipes/furnace_deepslate_emerald_ore.json create mode 100644 behavior_pack/recipes/furnace_deepslate_gold_ore.json create mode 100644 behavior_pack/recipes/furnace_deepslate_iron_ore.json create mode 100644 behavior_pack/recipes/furnace_deepslate_lapis_ore.json create mode 100644 behavior_pack/recipes/furnace_deepslate_redstone_ore.json create mode 100644 behavior_pack/recipes/furnace_diamond_ore.json create mode 100644 behavior_pack/recipes/furnace_emerald_ore.json create mode 100644 behavior_pack/recipes/furnace_fish.json create mode 100644 behavior_pack/recipes/furnace_from_blackstone.json create mode 100644 behavior_pack/recipes/furnace_from_cobbled_deepslate.json create mode 100644 behavior_pack/recipes/furnace_gold.json create mode 100644 behavior_pack/recipes/furnace_gold_ore.json create mode 100644 behavior_pack/recipes/furnace_golden_axe.json create mode 100644 behavior_pack/recipes/furnace_golden_boots.json create mode 100644 behavior_pack/recipes/furnace_golden_chestplate.json create mode 100644 behavior_pack/recipes/furnace_golden_helmet.json create mode 100644 behavior_pack/recipes/furnace_golden_hoe.json create mode 100644 behavior_pack/recipes/furnace_golden_leggings.json create mode 100644 behavior_pack/recipes/furnace_golden_pickaxe.json create mode 100644 behavior_pack/recipes/furnace_golden_shovel.json create mode 100644 behavior_pack/recipes/furnace_golden_sword.json create mode 100644 behavior_pack/recipes/furnace_horse_armor_gold.json create mode 100644 behavior_pack/recipes/furnace_horse_armor_iron.json create mode 100644 behavior_pack/recipes/furnace_iron.json create mode 100644 behavior_pack/recipes/furnace_iron_axe.json create mode 100644 behavior_pack/recipes/furnace_iron_boots.json create mode 100644 behavior_pack/recipes/furnace_iron_chestplate.json create mode 100644 behavior_pack/recipes/furnace_iron_helmet.json create mode 100644 behavior_pack/recipes/furnace_iron_hoe.json create mode 100644 behavior_pack/recipes/furnace_iron_leggings.json create mode 100644 behavior_pack/recipes/furnace_iron_ore.json create mode 100644 behavior_pack/recipes/furnace_iron_pickaxe.json create mode 100644 behavior_pack/recipes/furnace_iron_shovel.json create mode 100644 behavior_pack/recipes/furnace_iron_sword.json create mode 100644 behavior_pack/recipes/furnace_jungle_wood.json create mode 100644 behavior_pack/recipes/furnace_kelp.json create mode 100644 behavior_pack/recipes/furnace_lapis_ore.json create mode 100644 behavior_pack/recipes/furnace_log.json create mode 100644 behavior_pack/recipes/furnace_log2_acacia.json create mode 100644 behavior_pack/recipes/furnace_log2_dark_oak.json create mode 100644 behavior_pack/recipes/furnace_log_birch.json create mode 100644 behavior_pack/recipes/furnace_log_jungle.json create mode 100644 behavior_pack/recipes/furnace_log_mangrove.json create mode 100644 behavior_pack/recipes/furnace_log_oak.json create mode 100644 behavior_pack/recipes/furnace_log_spruce.json create mode 100644 behavior_pack/recipes/furnace_mangrove_wood.json create mode 100644 behavior_pack/recipes/furnace_mutton_raw.json create mode 100644 behavior_pack/recipes/furnace_nether_gold_ore.json create mode 100644 behavior_pack/recipes/furnace_netherrack.json create mode 100644 behavior_pack/recipes/furnace_oak_wood.json create mode 100644 behavior_pack/recipes/furnace_porkchop.json create mode 100644 behavior_pack/recipes/furnace_potato.json create mode 100644 behavior_pack/recipes/furnace_quartz_block.json create mode 100644 behavior_pack/recipes/furnace_quartz_ore.json create mode 100644 behavior_pack/recipes/furnace_rabbit.json create mode 100644 behavior_pack/recipes/furnace_red_sand.json create mode 100644 behavior_pack/recipes/furnace_red_sandstone.json create mode 100644 behavior_pack/recipes/furnace_redstone_ore.json create mode 100644 behavior_pack/recipes/furnace_resin_brick.json create mode 100644 behavior_pack/recipes/furnace_salmon.json create mode 100644 behavior_pack/recipes/furnace_sand.json create mode 100644 behavior_pack/recipes/furnace_sandstone.json create mode 100644 behavior_pack/recipes/furnace_sea_pickle.json create mode 100644 behavior_pack/recipes/furnace_smooth_basalt.json create mode 100644 behavior_pack/recipes/furnace_sponge.json create mode 100644 behavior_pack/recipes/furnace_spruce_wood.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay0.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay1.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay10.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay11.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay12.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay13.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay14.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay15.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay2.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay3.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay4.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay5.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay6.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay7.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay8.json create mode 100644 behavior_pack/recipes/furnace_stained_hardened_clay9.json create mode 100644 behavior_pack/recipes/furnace_stone.json create mode 100644 behavior_pack/recipes/furnace_stone_brick.json create mode 100644 behavior_pack/recipes/furnace_stripped_acacia_log.json create mode 100644 behavior_pack/recipes/furnace_stripped_acacia_wood.json create mode 100644 behavior_pack/recipes/furnace_stripped_birch_log.json create mode 100644 behavior_pack/recipes/furnace_stripped_birch_wood.json create mode 100644 behavior_pack/recipes/furnace_stripped_dark_oak_log.json create mode 100644 behavior_pack/recipes/furnace_stripped_dark_oak_wood.json create mode 100644 behavior_pack/recipes/furnace_stripped_jungle_log.json create mode 100644 behavior_pack/recipes/furnace_stripped_jungle_wood.json create mode 100644 behavior_pack/recipes/furnace_stripped_mangrove_log.json create mode 100644 behavior_pack/recipes/furnace_stripped_mangrove_wood.json create mode 100644 behavior_pack/recipes/furnace_stripped_oak_log.json create mode 100644 behavior_pack/recipes/furnace_stripped_oak_wood.json create mode 100644 behavior_pack/recipes/furnace_stripped_spruce_log.json create mode 100644 behavior_pack/recipes/furnace_stripped_spruce_wood.json create mode 100644 behavior_pack/recipes/glass_bottle.json create mode 100644 behavior_pack/recipes/glass_pane.json create mode 100644 behavior_pack/recipes/glow_item_frame.json create mode 100644 behavior_pack/recipes/glowstone.json create mode 100644 behavior_pack/recipes/gold_block.json create mode 100644 behavior_pack/recipes/gold_ingot_from_block.json create mode 100644 behavior_pack/recipes/gold_ingot_from_nuggets.json create mode 100644 behavior_pack/recipes/gold_nugget.json create mode 100644 behavior_pack/recipes/golden_apple.json create mode 100644 behavior_pack/recipes/golden_axe.json create mode 100644 behavior_pack/recipes/golden_boots.json create mode 100644 behavior_pack/recipes/golden_carrot.json create mode 100644 behavior_pack/recipes/golden_chestplate.json create mode 100644 behavior_pack/recipes/golden_helmet.json create mode 100644 behavior_pack/recipes/golden_hoe.json create mode 100644 behavior_pack/recipes/golden_leggings.json create mode 100644 behavior_pack/recipes/golden_pickaxe.json create mode 100644 behavior_pack/recipes/golden_rail.json create mode 100644 behavior_pack/recipes/golden_shovel.json create mode 100644 behavior_pack/recipes/golden_sword.json create mode 100644 behavior_pack/recipes/granite.json create mode 100644 behavior_pack/recipes/granite_stairs.json create mode 100644 behavior_pack/recipes/granite_wall.json create mode 100644 behavior_pack/recipes/gray_banner.json create mode 100644 behavior_pack/recipes/gray_candle.json create mode 100644 behavior_pack/recipes/gray_carpet.json create mode 100644 behavior_pack/recipes/gray_carpet_from_white.json create mode 100644 behavior_pack/recipes/gray_concrete_powder.json create mode 100644 behavior_pack/recipes/gray_dye.json create mode 100644 behavior_pack/recipes/gray_dye_from_black_bonemeal.json create mode 100644 behavior_pack/recipes/gray_dye_from_closed_eyeblossom.json create mode 100644 behavior_pack/recipes/gray_dye_from_ink_bonemeal.json create mode 100644 behavior_pack/recipes/gray_dye_from_ink_white.json create mode 100644 behavior_pack/recipes/gray_stained_glass.json create mode 100644 behavior_pack/recipes/gray_stained_glass_pane.json create mode 100644 behavior_pack/recipes/gray_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/gray_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/green_banner.json create mode 100644 behavior_pack/recipes/green_candle.json create mode 100644 behavior_pack/recipes/green_carpet.json create mode 100644 behavior_pack/recipes/green_carpet_from_white.json create mode 100644 behavior_pack/recipes/green_concrete_powder.json create mode 100644 behavior_pack/recipes/green_stained_glass.json create mode 100644 behavior_pack/recipes/green_stained_glass_pane.json create mode 100644 behavior_pack/recipes/green_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/green_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/grindstone.json create mode 100644 behavior_pack/recipes/grindstone_from_crimson_planks.json create mode 100644 behavior_pack/recipes/grindstone_from_crimson_planks2.json create mode 100644 behavior_pack/recipes/grindstone_from_crimson_planks3.json create mode 100644 behavior_pack/recipes/grindstone_from_crimson_planks4.json create mode 100644 behavior_pack/recipes/grindstone_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/grindstone_from_mangrove_planks2.json create mode 100644 behavior_pack/recipes/grindstone_from_mangrove_planks3.json create mode 100644 behavior_pack/recipes/grindstone_from_mangrove_planks4.json create mode 100644 behavior_pack/recipes/grindstone_from_warped_planks.json create mode 100644 behavior_pack/recipes/grindstone_from_warped_planks2.json create mode 100644 behavior_pack/recipes/grindstone_from_warped_planks3.json create mode 100644 behavior_pack/recipes/grindstone_from_warped_planks4.json create mode 100644 behavior_pack/recipes/hay_block.json create mode 100644 behavior_pack/recipes/heavy_weighted_pressure_plate.json create mode 100644 behavior_pack/recipes/honey_block.json create mode 100644 behavior_pack/recipes/honey_bottle.json create mode 100644 behavior_pack/recipes/honey_bottle_to_sugar.json create mode 100644 behavior_pack/recipes/honeycomb_block.json create mode 100644 behavior_pack/recipes/hopper.json create mode 100644 behavior_pack/recipes/hopper_minecart.json create mode 100644 behavior_pack/recipes/host_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/ingots_from_copper.json create mode 100644 behavior_pack/recipes/ingots_from_waxed_copper.json create mode 100644 behavior_pack/recipes/iron_axe.json create mode 100644 behavior_pack/recipes/iron_bars.json create mode 100644 behavior_pack/recipes/iron_block.json create mode 100644 behavior_pack/recipes/iron_boots.json create mode 100644 behavior_pack/recipes/iron_chestplate.json create mode 100644 behavior_pack/recipes/iron_door.json create mode 100644 behavior_pack/recipes/iron_helmet.json create mode 100644 behavior_pack/recipes/iron_hoe.json create mode 100644 behavior_pack/recipes/iron_ingot_from_block.json create mode 100644 behavior_pack/recipes/iron_ingot_from_nuggets.json create mode 100644 behavior_pack/recipes/iron_leggings.json create mode 100644 behavior_pack/recipes/iron_nugget.json create mode 100644 behavior_pack/recipes/iron_pickaxe.json create mode 100644 behavior_pack/recipes/iron_shovel.json create mode 100644 behavior_pack/recipes/iron_sword.json create mode 100644 behavior_pack/recipes/iron_trapdoor.json create mode 100644 behavior_pack/recipes/item_frame.json create mode 100644 behavior_pack/recipes/jukebox.json create mode 100644 behavior_pack/recipes/jukebox_from_crimson_planks.json create mode 100644 behavior_pack/recipes/jukebox_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/jukebox_from_warped_planks.json create mode 100644 behavior_pack/recipes/jungle_boat.json create mode 100644 behavior_pack/recipes/jungle_chest_boat.json create mode 100644 behavior_pack/recipes/jungle_door.json create mode 100644 behavior_pack/recipes/jungle_fence.json create mode 100644 behavior_pack/recipes/jungle_fence_gate.json create mode 100644 behavior_pack/recipes/jungle_hanging_sign.json create mode 100644 behavior_pack/recipes/jungle_planks.json create mode 100644 behavior_pack/recipes/jungle_planks_from_stripped.json create mode 100644 behavior_pack/recipes/jungle_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/jungle_planks_from_wood.json create mode 100644 behavior_pack/recipes/jungle_stairs.json create mode 100644 behavior_pack/recipes/jungle_wood.json create mode 100644 behavior_pack/recipes/jungle_wood_stripped.json create mode 100644 behavior_pack/recipes/jungle_wooden_slab.json create mode 100644 behavior_pack/recipes/ladder.json create mode 100644 behavior_pack/recipes/lantern.json create mode 100644 behavior_pack/recipes/lapis_block.json create mode 100644 behavior_pack/recipes/lapis_lazuli.json create mode 100644 behavior_pack/recipes/lead.json create mode 100644 behavior_pack/recipes/leather.json create mode 100644 behavior_pack/recipes/leather_boots.json create mode 100644 behavior_pack/recipes/leather_chestplate.json create mode 100644 behavior_pack/recipes/leather_helmet.json create mode 100644 behavior_pack/recipes/leather_horse_armor.json create mode 100644 behavior_pack/recipes/leather_leggings.json create mode 100644 behavior_pack/recipes/lectern.json create mode 100644 behavior_pack/recipes/lectern_from_crimson_slab.json create mode 100644 behavior_pack/recipes/lectern_from_mangrove_slab.json create mode 100644 behavior_pack/recipes/lectern_from_warped_slab.json create mode 100644 behavior_pack/recipes/lever.json create mode 100644 behavior_pack/recipes/light_blue_banner.json create mode 100644 behavior_pack/recipes/light_blue_candle.json create mode 100644 behavior_pack/recipes/light_blue_carpet.json create mode 100644 behavior_pack/recipes/light_blue_carpet_from_white.json create mode 100644 behavior_pack/recipes/light_blue_concrete_powder.json create mode 100644 behavior_pack/recipes/light_blue_dye.json create mode 100644 behavior_pack/recipes/light_blue_dye_from_blue_bonemeal.json create mode 100644 behavior_pack/recipes/light_blue_dye_from_blue_orchid.json create mode 100644 behavior_pack/recipes/light_blue_dye_from_lapis_bonemeal.json create mode 100644 behavior_pack/recipes/light_blue_dye_from_lapis_white.json create mode 100644 behavior_pack/recipes/light_blue_stained_glass.json create mode 100644 behavior_pack/recipes/light_blue_stained_glass_pane.json create mode 100644 behavior_pack/recipes/light_blue_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/light_blue_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/light_gray__carpet_from_white.json create mode 100644 behavior_pack/recipes/light_gray_banner.json create mode 100644 behavior_pack/recipes/light_gray_candle.json create mode 100644 behavior_pack/recipes/light_gray_carpet.json create mode 100644 behavior_pack/recipes/light_gray_carpet_from_white.json create mode 100644 behavior_pack/recipes/light_gray_concrete_powder.json create mode 100644 behavior_pack/recipes/light_gray_dye.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_azure_bluet.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_black_bonemeal.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_gray_bonemeal.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_gray_white.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_ink_bonemeal.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_ink_white.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_oxeye_daisy.json create mode 100644 behavior_pack/recipes/light_gray_dye_from_white_tulip.json create mode 100644 behavior_pack/recipes/light_gray_stained_glass.json create mode 100644 behavior_pack/recipes/light_gray_stained_glass_pane.json create mode 100644 behavior_pack/recipes/light_gray_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/light_gray_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/light_weighted_pressure_plate.json create mode 100644 behavior_pack/recipes/lightning_rod.json create mode 100644 behavior_pack/recipes/lime__carpet_from_white.json create mode 100644 behavior_pack/recipes/lime_banner.json create mode 100644 behavior_pack/recipes/lime_candle.json create mode 100644 behavior_pack/recipes/lime_carpet.json create mode 100644 behavior_pack/recipes/lime_carpet_from_white.json create mode 100644 behavior_pack/recipes/lime_concrete_powder.json create mode 100644 behavior_pack/recipes/lime_dye.json create mode 100644 behavior_pack/recipes/lime_dye_from_bonemeal.json create mode 100644 behavior_pack/recipes/lime_stained_glass.json create mode 100644 behavior_pack/recipes/lime_stained_glass_pane.json create mode 100644 behavior_pack/recipes/lime_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/lime_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/lit_pumpkin.json create mode 100644 behavior_pack/recipes/locator_map.json create mode 100644 behavior_pack/recipes/lodestone.json create mode 100644 behavior_pack/recipes/loom.json create mode 100644 behavior_pack/recipes/loom_from_crimson_planks.json create mode 100644 behavior_pack/recipes/loom_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/loom_from_warped_planks.json create mode 100644 behavior_pack/recipes/mace.json create mode 100644 behavior_pack/recipes/magenta_banner.json create mode 100644 behavior_pack/recipes/magenta_candle.json create mode 100644 behavior_pack/recipes/magenta_carpet.json create mode 100644 behavior_pack/recipes/magenta_carpet_from_white.json create mode 100644 behavior_pack/recipes/magenta_concrete_powder.json create mode 100644 behavior_pack/recipes/magenta_dye.json create mode 100644 behavior_pack/recipes/magenta_dye_from_allium.json create mode 100644 behavior_pack/recipes/magenta_dye_from_blue_ink_bonemeal.json create mode 100644 behavior_pack/recipes/magenta_dye_from_blue_ink_white.json create mode 100644 behavior_pack/recipes/magenta_dye_from_lapis_ink_bonemeal.json create mode 100644 behavior_pack/recipes/magenta_dye_from_lapis_ink_white.json create mode 100644 behavior_pack/recipes/magenta_dye_from_lapis_red_pink.json create mode 100644 behavior_pack/recipes/magenta_dye_from_lilac.json create mode 100644 behavior_pack/recipes/magenta_dye_from_purple_and_pink.json create mode 100644 behavior_pack/recipes/magenta_stained_glass.json create mode 100644 behavior_pack/recipes/magenta_stained_glass_pane.json create mode 100644 behavior_pack/recipes/magenta_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/magenta_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/magma.json create mode 100644 behavior_pack/recipes/magma_cream.json create mode 100644 behavior_pack/recipes/mangrove_boat.json create mode 100644 behavior_pack/recipes/mangrove_button.json create mode 100644 behavior_pack/recipes/mangrove_chest_boat.json create mode 100644 behavior_pack/recipes/mangrove_door.json create mode 100644 behavior_pack/recipes/mangrove_fence.json create mode 100644 behavior_pack/recipes/mangrove_fence_gate.json create mode 100644 behavior_pack/recipes/mangrove_hanging_sign.json create mode 100644 behavior_pack/recipes/mangrove_planks.json create mode 100644 behavior_pack/recipes/mangrove_planks_from_stripped_log.json create mode 100644 behavior_pack/recipes/mangrove_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/mangrove_planks_from_wood.json create mode 100644 behavior_pack/recipes/mangrove_pressure_plate.json create mode 100644 behavior_pack/recipes/mangrove_sign.json create mode 100644 behavior_pack/recipes/mangrove_slab.json create mode 100644 behavior_pack/recipes/mangrove_stairs.json create mode 100644 behavior_pack/recipes/mangrove_trapdoor.json create mode 100644 behavior_pack/recipes/mangrove_wood.json create mode 100644 behavior_pack/recipes/mangrove_wood_stripped.json create mode 100644 behavior_pack/recipes/map.json create mode 100644 behavior_pack/recipes/melon_block.json create mode 100644 behavior_pack/recipes/melon_seeds.json create mode 100644 behavior_pack/recipes/minecart.json create mode 100644 behavior_pack/recipes/moss_carpet.json create mode 100644 behavior_pack/recipes/mossy_cobblestone.json create mode 100644 behavior_pack/recipes/mossy_cobblestone_from_moss.json create mode 100644 behavior_pack/recipes/mossy_cobblestone_stairs.json create mode 100644 behavior_pack/recipes/mossy_cobblestone_wall.json create mode 100644 behavior_pack/recipes/mossy_stone_brick_stairs.json create mode 100644 behavior_pack/recipes/mossy_stone_brick_wall.json create mode 100644 behavior_pack/recipes/mossy_stonebrick.json create mode 100644 behavior_pack/recipes/mossy_stonebrick_from_moss.json create mode 100644 behavior_pack/recipes/mud_brick_slab.json create mode 100644 behavior_pack/recipes/mud_brick_stairs.json create mode 100644 behavior_pack/recipes/mud_brick_wall.json create mode 100644 behavior_pack/recipes/mud_bricks.json create mode 100644 behavior_pack/recipes/muddy_mangrove_roots.json create mode 100644 behavior_pack/recipes/mushroom_stew.json create mode 100644 behavior_pack/recipes/nether_brick.json create mode 100644 behavior_pack/recipes/nether_brick_fence.json create mode 100644 behavior_pack/recipes/nether_brick_stairs.json create mode 100644 behavior_pack/recipes/nether_brick_wall.json create mode 100644 behavior_pack/recipes/nether_wart_block.json create mode 100644 behavior_pack/recipes/netherite_block.json create mode 100644 behavior_pack/recipes/netherite_ingot.json create mode 100644 behavior_pack/recipes/netherite_ingot_from_block.json create mode 100644 behavior_pack/recipes/netherite_upgrade_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/noteblock.json create mode 100644 behavior_pack/recipes/noteblock_from_crimson_planks.json create mode 100644 behavior_pack/recipes/noteblock_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/noteblock_from_warped_planks.json create mode 100644 behavior_pack/recipes/oak_fence.json create mode 100644 behavior_pack/recipes/oak_hanging_sign.json create mode 100644 behavior_pack/recipes/oak_planks.json create mode 100644 behavior_pack/recipes/oak_planks_from_stripped.json create mode 100644 behavior_pack/recipes/oak_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/oak_planks_from_wood.json create mode 100644 behavior_pack/recipes/oak_stairs.json create mode 100644 behavior_pack/recipes/oak_wood.json create mode 100644 behavior_pack/recipes/oak_wood_stripped.json create mode 100644 behavior_pack/recipes/oak_wooden_slab.json create mode 100644 behavior_pack/recipes/observer.json create mode 100644 behavior_pack/recipes/orange_banner.json create mode 100644 behavior_pack/recipes/orange_candle.json create mode 100644 behavior_pack/recipes/orange_carpet.json create mode 100644 behavior_pack/recipes/orange_carpet_from_white.json create mode 100644 behavior_pack/recipes/orange_concrete_powder.json create mode 100644 behavior_pack/recipes/orange_dye_from_open_eyeblossom.json create mode 100644 behavior_pack/recipes/orange_dye_from_orange_tulip.json create mode 100644 behavior_pack/recipes/orange_dye_from_red_yellow.json create mode 100644 behavior_pack/recipes/orange_dye_from_torchflower.json create mode 100644 behavior_pack/recipes/orange_stained_glass.json create mode 100644 behavior_pack/recipes/orange_stained_glass_pane.json create mode 100644 behavior_pack/recipes/orange_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/orange_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/packed_ice.json create mode 100644 behavior_pack/recipes/packed_mud.json create mode 100644 behavior_pack/recipes/painting.json create mode 100644 behavior_pack/recipes/pale_moss_carpet.json create mode 100644 behavior_pack/recipes/pale_oak_boat.json create mode 100644 behavior_pack/recipes/pale_oak_button.json create mode 100644 behavior_pack/recipes/pale_oak_chest_boat.json create mode 100644 behavior_pack/recipes/pale_oak_door.json create mode 100644 behavior_pack/recipes/pale_oak_fence.json create mode 100644 behavior_pack/recipes/pale_oak_fence_gate.json create mode 100644 behavior_pack/recipes/pale_oak_hanging_sign.json create mode 100644 behavior_pack/recipes/pale_oak_planks_from_log.json create mode 100644 behavior_pack/recipes/pale_oak_planks_from_stripped_log.json create mode 100644 behavior_pack/recipes/pale_oak_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/pale_oak_planks_from_wood.json create mode 100644 behavior_pack/recipes/pale_oak_pressure_plate.json create mode 100644 behavior_pack/recipes/pale_oak_sign.json create mode 100644 behavior_pack/recipes/pale_oak_slab.json create mode 100644 behavior_pack/recipes/pale_oak_stairs.json create mode 100644 behavior_pack/recipes/pale_oak_stripped_wood_from_stripped_log.json create mode 100644 behavior_pack/recipes/pale_oak_trapdoor.json create mode 100644 behavior_pack/recipes/pale_oak_wood_from_log.json create mode 100644 behavior_pack/recipes/paper.json create mode 100644 behavior_pack/recipes/pillar_quartz_block.json create mode 100644 behavior_pack/recipes/pink_banner.json create mode 100644 behavior_pack/recipes/pink_candle.json create mode 100644 behavior_pack/recipes/pink_carpet.json create mode 100644 behavior_pack/recipes/pink_carpet_from_white.json create mode 100644 behavior_pack/recipes/pink_concrete_powder.json create mode 100644 behavior_pack/recipes/pink_dye.json create mode 100644 behavior_pack/recipes/pink_dye_from_peony.json create mode 100644 behavior_pack/recipes/pink_dye_from_pink_petals.json create mode 100644 behavior_pack/recipes/pink_dye_from_pink_tulip.json create mode 100644 behavior_pack/recipes/pink_dye_from_red_bonemeal.json create mode 100644 behavior_pack/recipes/pink_stained_glass.json create mode 100644 behavior_pack/recipes/pink_stained_glass_pane.json create mode 100644 behavior_pack/recipes/pink_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/pink_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/piston.json create mode 100644 behavior_pack/recipes/piston_from_crimson_planks.json create mode 100644 behavior_pack/recipes/piston_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/piston_from_warped_planks.json create mode 100644 behavior_pack/recipes/polished_andesite.json create mode 100644 behavior_pack/recipes/polished_andesite_stairs.json create mode 100644 behavior_pack/recipes/polished_basalt.json create mode 100644 behavior_pack/recipes/polished_blackstone.json create mode 100644 behavior_pack/recipes/polished_blackstone_brick_slab.json create mode 100644 behavior_pack/recipes/polished_blackstone_brick_stairs.json create mode 100644 behavior_pack/recipes/polished_blackstone_brick_wall.json create mode 100644 behavior_pack/recipes/polished_blackstone_bricks.json create mode 100644 behavior_pack/recipes/polished_blackstone_button.json create mode 100644 behavior_pack/recipes/polished_blackstone_pressure_plate.json create mode 100644 behavior_pack/recipes/polished_blackstone_slab.json create mode 100644 behavior_pack/recipes/polished_blackstone_stairs.json create mode 100644 behavior_pack/recipes/polished_blackstone_wall.json create mode 100644 behavior_pack/recipes/polished_deepslate.json create mode 100644 behavior_pack/recipes/polished_deepslate_from_cobbled_deepslate_stonecutting.json create mode 100644 behavior_pack/recipes/polished_deepslate_slab.json create mode 100644 behavior_pack/recipes/polished_deepslate_slab_from_cobbled_deepslate_stonecut.json create mode 100644 behavior_pack/recipes/polished_deepslate_slab_from_polished_deepslate_cutting.json create mode 100644 behavior_pack/recipes/polished_deepslate_stairs.json create mode 100644 behavior_pack/recipes/polished_deepslate_stairs_from_cobbled_deepslate_cutting.json create mode 100644 behavior_pack/recipes/polished_deepslate_stairs_from_polished_deepslate_cutting.json create mode 100644 behavior_pack/recipes/polished_deepslate_wall.json create mode 100644 behavior_pack/recipes/polished_deepslate_wall_from_cobbled_deepslate_stonecut.json create mode 100644 behavior_pack/recipes/polished_deepslate_wall_from_polished_deepslate_stonecut.json create mode 100644 behavior_pack/recipes/polished_diorite.json create mode 100644 behavior_pack/recipes/polished_diorite_stairs.json create mode 100644 behavior_pack/recipes/polished_granite.json create mode 100644 behavior_pack/recipes/polished_granite_stairs.json create mode 100644 behavior_pack/recipes/polished_tuff.json create mode 100644 behavior_pack/recipes/polished_tuff_slab.json create mode 100644 behavior_pack/recipes/polished_tuff_stairs.json create mode 100644 behavior_pack/recipes/polished_tuff_wall.json create mode 100644 behavior_pack/recipes/prismarine.json create mode 100644 behavior_pack/recipes/prismarine_bricks.json create mode 100644 behavior_pack/recipes/prismarine_stairs.json create mode 100644 behavior_pack/recipes/prismarine_stairs_bricks.json create mode 100644 behavior_pack/recipes/prismarine_stairs_dark.json create mode 100644 behavior_pack/recipes/prismarine_wall.json create mode 100644 behavior_pack/recipes/pumpkin_pie.json create mode 100644 behavior_pack/recipes/pumpkin_seeds.json create mode 100644 behavior_pack/recipes/purple_banner.json create mode 100644 behavior_pack/recipes/purple_candle.json create mode 100644 behavior_pack/recipes/purple_carpet.json create mode 100644 behavior_pack/recipes/purple_carpet_from_white.json create mode 100644 behavior_pack/recipes/purple_concrete_powder.json create mode 100644 behavior_pack/recipes/purple_dye.json create mode 100644 behavior_pack/recipes/purple_dye_from_lapis_lazuli.json create mode 100644 behavior_pack/recipes/purple_stained_glass.json create mode 100644 behavior_pack/recipes/purple_stained_glass_pane.json create mode 100644 behavior_pack/recipes/purple_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/purple_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/purpur_block.json create mode 100644 behavior_pack/recipes/purpur_slab.json create mode 100644 behavior_pack/recipes/purpur_stairs.json create mode 100644 behavior_pack/recipes/quartz_block.json create mode 100644 behavior_pack/recipes/quartz_bricks.json create mode 100644 behavior_pack/recipes/quartz_pillar.json create mode 100644 behavior_pack/recipes/quartz_stairs.json create mode 100644 behavior_pack/recipes/rabbit_stew_from_brown_mushroom.json create mode 100644 behavior_pack/recipes/rabbit_stew_from_red_mushroom.json create mode 100644 behavior_pack/recipes/rail.json create mode 100644 behavior_pack/recipes/raiser_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/raw_copper.json create mode 100644 behavior_pack/recipes/raw_copper_block.json create mode 100644 behavior_pack/recipes/raw_gold.json create mode 100644 behavior_pack/recipes/raw_gold_block.json create mode 100644 behavior_pack/recipes/raw_iron.json create mode 100644 behavior_pack/recipes/raw_iron_block.json create mode 100644 behavior_pack/recipes/record_5.json create mode 100644 behavior_pack/recipes/recovery_compass.json create mode 100644 behavior_pack/recipes/recovery_compass_from_lodestone_compass.json create mode 100644 behavior_pack/recipes/red_banner.json create mode 100644 behavior_pack/recipes/red_candle.json create mode 100644 behavior_pack/recipes/red_carpet.json create mode 100644 behavior_pack/recipes/red_carpet_from_white.json create mode 100644 behavior_pack/recipes/red_concrete_powder.json create mode 100644 behavior_pack/recipes/red_dye_from_beetroot.json create mode 100644 behavior_pack/recipes/red_dye_from_poppy.json create mode 100644 behavior_pack/recipes/red_dye_from_rose_bush.json create mode 100644 behavior_pack/recipes/red_dye_from_tulip.json create mode 100644 behavior_pack/recipes/red_nether_brick.json create mode 100644 behavior_pack/recipes/red_nether_brick_stairs.json create mode 100644 behavior_pack/recipes/red_nether_brick_wall.json create mode 100644 behavior_pack/recipes/red_sandstone.json create mode 100644 behavior_pack/recipes/red_sandstone_stairs.json create mode 100644 behavior_pack/recipes/red_sandstone_stairs_from_chiseled.json create mode 100644 behavior_pack/recipes/red_sandstone_stairs_from_cut.json create mode 100644 behavior_pack/recipes/red_sandstone_wall.json create mode 100644 behavior_pack/recipes/red_stained_glass.json create mode 100644 behavior_pack/recipes/red_stained_glass_pane.json create mode 100644 behavior_pack/recipes/red_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/red_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/redstone.json create mode 100644 behavior_pack/recipes/redstone_block.json create mode 100644 behavior_pack/recipes/redstone_lamp.json create mode 100644 behavior_pack/recipes/redstone_torch.json create mode 100644 behavior_pack/recipes/reducer_andesite_slab.json create mode 100644 behavior_pack/recipes/reducer_andesite_slab_polished.json create mode 100644 behavior_pack/recipes/reducer_andesite_stairs.json create mode 100644 behavior_pack/recipes/reducer_andesite_stairs_polished.json create mode 100644 behavior_pack/recipes/reducer_andesite_wall.json create mode 100644 behavior_pack/recipes/reducer_bucket_lava.json create mode 100644 behavior_pack/recipes/reducer_bucket_water.json create mode 100644 behavior_pack/recipes/reducer_chiseled_quartz_block.json create mode 100644 behavior_pack/recipes/reducer_clay_block.json create mode 100644 behavior_pack/recipes/reducer_coal_block.json create mode 100644 behavior_pack/recipes/reducer_coal_gem.json create mode 100644 behavior_pack/recipes/reducer_coal_ore.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_block.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_block_mossy.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_slab.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_slab_mossy.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_stairs.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_stairs_mossy.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_wall.json create mode 100644 behavior_pack/recipes/reducer_cobblestone_wall_mossy.json create mode 100644 behavior_pack/recipes/reducer_diamond_block.json create mode 100644 behavior_pack/recipes/reducer_diamond_gem.json create mode 100644 behavior_pack/recipes/reducer_diamond_ore.json create mode 100644 behavior_pack/recipes/reducer_diorite_slab.json create mode 100644 behavior_pack/recipes/reducer_diorite_slab_polished.json create mode 100644 behavior_pack/recipes/reducer_diorite_stairs.json create mode 100644 behavior_pack/recipes/reducer_diorite_stairs_polished.json create mode 100644 behavior_pack/recipes/reducer_diorite_wall.json create mode 100644 behavior_pack/recipes/reducer_dirt.json create mode 100644 behavior_pack/recipes/reducer_emerald_block.json create mode 100644 behavior_pack/recipes/reducer_emerald_gem.json create mode 100644 behavior_pack/recipes/reducer_emerald_ore.json create mode 100644 behavior_pack/recipes/reducer_end_stone.json create mode 100644 behavior_pack/recipes/reducer_glowstone.json create mode 100644 behavior_pack/recipes/reducer_glowstone_gem.json create mode 100644 behavior_pack/recipes/reducer_gold_block.json create mode 100644 behavior_pack/recipes/reducer_gold_ingot.json create mode 100644 behavior_pack/recipes/reducer_gold_nugget.json create mode 100644 behavior_pack/recipes/reducer_gold_ore.json create mode 100644 behavior_pack/recipes/reducer_granite_slab.json create mode 100644 behavior_pack/recipes/reducer_granite_slab_polished.json create mode 100644 behavior_pack/recipes/reducer_granite_stairs.json create mode 100644 behavior_pack/recipes/reducer_granite_stairs_polished.json create mode 100644 behavior_pack/recipes/reducer_granite_wall.json create mode 100644 behavior_pack/recipes/reducer_grass.json create mode 100644 behavior_pack/recipes/reducer_gravel.json create mode 100644 behavior_pack/recipes/reducer_ice.json create mode 100644 behavior_pack/recipes/reducer_ice_blue.json create mode 100644 behavior_pack/recipes/reducer_iron_block.json create mode 100644 behavior_pack/recipes/reducer_iron_ingot.json create mode 100644 behavior_pack/recipes/reducer_iron_nugget.json create mode 100644 behavior_pack/recipes/reducer_iron_ore.json create mode 100644 behavior_pack/recipes/reducer_lapis_block.json create mode 100644 behavior_pack/recipes/reducer_lapis_gem.json create mode 100644 behavior_pack/recipes/reducer_lapis_ore.json create mode 100644 behavior_pack/recipes/reducer_magma.json create mode 100644 behavior_pack/recipes/reducer_mycelium.json create mode 100644 behavior_pack/recipes/reducer_netherrack.json create mode 100644 behavior_pack/recipes/reducer_obsidian.json create mode 100644 behavior_pack/recipes/reducer_packed_ice.json create mode 100644 behavior_pack/recipes/reducer_quartz_block.json create mode 100644 behavior_pack/recipes/reducer_quartz_gem.json create mode 100644 behavior_pack/recipes/reducer_quartz_ore.json create mode 100644 behavior_pack/recipes/reducer_quartz_pillar.json create mode 100644 behavior_pack/recipes/reducer_quartz_slab.json create mode 100644 behavior_pack/recipes/reducer_quartz_slab_smooth.json create mode 100644 behavior_pack/recipes/reducer_quartz_stairs.json create mode 100644 behavior_pack/recipes/reducer_quartz_stairs_smooth.json create mode 100644 behavior_pack/recipes/reducer_redstone_block.json create mode 100644 behavior_pack/recipes/reducer_redstone_gem.json create mode 100644 behavior_pack/recipes/reducer_redstone_ore.json create mode 100644 behavior_pack/recipes/reducer_sand_block.json create mode 100644 behavior_pack/recipes/reducer_sand_block_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block_chiseled.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block_chiseled_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block_cut.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block_cut_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block_smooth.json create mode 100644 behavior_pack/recipes/reducer_sandstone_block_smooth_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_slab.json create mode 100644 behavior_pack/recipes/reducer_sandstone_slab_cut.json create mode 100644 behavior_pack/recipes/reducer_sandstone_slab_cut_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_slab_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_slab_smooth.json create mode 100644 behavior_pack/recipes/reducer_sandstone_slab_smooth_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_stairs.json create mode 100644 behavior_pack/recipes/reducer_sandstone_stairs_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_stairs_smooth.json create mode 100644 behavior_pack/recipes/reducer_sandstone_stairs_smooth_red.json create mode 100644 behavior_pack/recipes/reducer_sandstone_wall.json create mode 100644 behavior_pack/recipes/reducer_sandstone_wall_red.json create mode 100644 behavior_pack/recipes/reducer_smooth_quartz.json create mode 100644 behavior_pack/recipes/reducer_snow.json create mode 100644 behavior_pack/recipes/reducer_snow_layer.json create mode 100644 behavior_pack/recipes/reducer_snowball.json create mode 100644 behavior_pack/recipes/reducer_soul_sand.json create mode 100644 behavior_pack/recipes/reducer_stone_block_all_group.json create mode 100644 behavior_pack/recipes/reducer_terracotta_block.json create mode 100644 behavior_pack/recipes/reducer_terracotta_block_all_colors.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_black.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_blue.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_blue_light.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_brown.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_cyan.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_gray.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_green.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_lime.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_magenta.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_orange.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_pink.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_purple.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_red.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_silver.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_white.json create mode 100644 behavior_pack/recipes/reducer_terracotta_glazed_yellow.json create mode 100644 behavior_pack/recipes/reducer_wood_block_and stripped_all.json create mode 100644 behavior_pack/recipes/reducer_wood_log_group1.json create mode 100644 behavior_pack/recipes/reducer_wood_log_group2.json create mode 100644 behavior_pack/recipes/reducer_wood_planks_all.json create mode 100644 behavior_pack/recipes/reducer_wood_stairs_acacia.json create mode 100644 behavior_pack/recipes/reducer_wood_stairs_birch.json create mode 100644 behavior_pack/recipes/reducer_wood_stairs_dark_oak.json create mode 100644 behavior_pack/recipes/reducer_wood_stairs_jungle.json create mode 100644 behavior_pack/recipes/reducer_wood_stairs_oak.json create mode 100644 behavior_pack/recipes/reducer_wood_stairs_spruce.json create mode 100644 behavior_pack/recipes/reducer_wood_stripped_log_acacia.json create mode 100644 behavior_pack/recipes/reducer_wood_stripped_log_birch.json create mode 100644 behavior_pack/recipes/reducer_wood_stripped_log_dark_oak.json create mode 100644 behavior_pack/recipes/reducer_wood_stripped_log_jungle.json create mode 100644 behavior_pack/recipes/reducer_wood_stripped_log_oak.json create mode 100644 behavior_pack/recipes/reducer_wood_stripped_log_spruce.json create mode 100644 behavior_pack/recipes/reducer_wooden_slab_group_all.json create mode 100644 behavior_pack/recipes/repeater.json create mode 100644 behavior_pack/recipes/resin_block.json create mode 100644 behavior_pack/recipes/resin_brick_slab.json create mode 100644 behavior_pack/recipes/resin_brick_stairs.json create mode 100644 behavior_pack/recipes/resin_brick_wall.json create mode 100644 behavior_pack/recipes/resin_bricks.json create mode 100644 behavior_pack/recipes/resin_clump_from_resin_block.json create mode 100644 behavior_pack/recipes/respawn_anchor.json create mode 100644 behavior_pack/recipes/rib_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/sandstone.json create mode 100644 behavior_pack/recipes/sandstone_stairs.json create mode 100644 behavior_pack/recipes/sandstone_stairs_from_chiseled.json create mode 100644 behavior_pack/recipes/sandstone_stairs_from_cut.json create mode 100644 behavior_pack/recipes/sandstone_wall.json create mode 100644 behavior_pack/recipes/scaffolding.json create mode 100644 behavior_pack/recipes/sealantern.json create mode 100644 behavior_pack/recipes/sentry_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/shaper_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/shears.json create mode 100644 behavior_pack/recipes/shield.json create mode 100644 behavior_pack/recipes/shield_from_crimson_planks.json create mode 100644 behavior_pack/recipes/shield_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/shield_from_warped_planks.json create mode 100644 behavior_pack/recipes/shulker_box.json create mode 100644 behavior_pack/recipes/sign_acacia.json create mode 100644 behavior_pack/recipes/sign_birch.json create mode 100644 behavior_pack/recipes/sign_darkoak.json create mode 100644 behavior_pack/recipes/sign_jungle.json create mode 100644 behavior_pack/recipes/sign_oak.json create mode 100644 behavior_pack/recipes/sign_spruce.json create mode 100644 behavior_pack/recipes/silence_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/slime.json create mode 100644 behavior_pack/recipes/slime_ball.json create mode 100644 behavior_pack/recipes/smithing_armor_trim.json create mode 100644 behavior_pack/recipes/smithing_netherite_axe.json create mode 100644 behavior_pack/recipes/smithing_netherite_boots.json create mode 100644 behavior_pack/recipes/smithing_netherite_chestplate.json create mode 100644 behavior_pack/recipes/smithing_netherite_helmet.json create mode 100644 behavior_pack/recipes/smithing_netherite_hoe.json create mode 100644 behavior_pack/recipes/smithing_netherite_leggings.json create mode 100644 behavior_pack/recipes/smithing_netherite_pickaxe.json create mode 100644 behavior_pack/recipes/smithing_netherite_shovel.json create mode 100644 behavior_pack/recipes/smithing_netherite_sword.json create mode 100644 behavior_pack/recipes/smithing_table.json create mode 100644 behavior_pack/recipes/smithing_table_from_crimson_planks.json create mode 100644 behavior_pack/recipes/smithing_table_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/smithing_table_from_warped_planks.json create mode 100644 behavior_pack/recipes/smoker.json create mode 100644 behavior_pack/recipes/smoker_from_crimson_stem.json create mode 100644 behavior_pack/recipes/smoker_from_log2.json create mode 100644 behavior_pack/recipes/smoker_from_mangrove_log.json create mode 100644 behavior_pack/recipes/smoker_from_mangrove_wood.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_acacia.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_birch.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_crimson_stem.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_dark_oak.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_jungle.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_mangrove_log.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_mangrove_wood.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_oak.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_spruce.json create mode 100644 behavior_pack/recipes/smoker_from_stripped_warped_stem.json create mode 100644 behavior_pack/recipes/smoker_from_warped_stem.json create mode 100644 behavior_pack/recipes/smooth_quartz_stairs.json create mode 100644 behavior_pack/recipes/smooth_red_sandstone.json create mode 100644 behavior_pack/recipes/smooth_red_sandstone_stairs.json create mode 100644 behavior_pack/recipes/smooth_sandstone.json create mode 100644 behavior_pack/recipes/smooth_sandstone_stairs.json create mode 100644 behavior_pack/recipes/snout_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/snow.json create mode 100644 behavior_pack/recipes/snow_layer.json create mode 100644 behavior_pack/recipes/soul_campfire.json create mode 100644 behavior_pack/recipes/soul_campfire_from_crimson_stem.json create mode 100644 behavior_pack/recipes/soul_campfire_from_crimson_stem2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_mangrove_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_mangrove_log2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_mangrove_wood.json create mode 100644 behavior_pack/recipes/soul_campfire_from_mangrove_wood2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_log2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_acacia_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_birch_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_dark_oak_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_jungle_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_oak_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_spruce_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_sand_and_wood.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_log2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_acacia_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_birch_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_dark_oak_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_jungle_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_oak_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_spruce_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_soul_soil_and_wood.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_warped_stem.json create mode 100644 behavior_pack/recipes/soul_campfire_from_stripped_warped_stem2.json create mode 100644 behavior_pack/recipes/soul_campfire_from_warped_stem.json create mode 100644 behavior_pack/recipes/soul_campfire_from_warped_stem2.json create mode 100644 behavior_pack/recipes/soul_lantern.json create mode 100644 behavior_pack/recipes/soul_torch.json create mode 100644 behavior_pack/recipes/soul_torch_from_soul_sand.json create mode 100644 behavior_pack/recipes/soul_torch_from_soul_soil.json create mode 100644 behavior_pack/recipes/speckled_melon.json create mode 100644 behavior_pack/recipes/spire_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/spruce_boat.json create mode 100644 behavior_pack/recipes/spruce_chest_boat.json create mode 100644 behavior_pack/recipes/spruce_door.json create mode 100644 behavior_pack/recipes/spruce_fence.json create mode 100644 behavior_pack/recipes/spruce_fence_gate.json create mode 100644 behavior_pack/recipes/spruce_hanging_sign.json create mode 100644 behavior_pack/recipes/spruce_planks.json create mode 100644 behavior_pack/recipes/spruce_planks_from_stripped.json create mode 100644 behavior_pack/recipes/spruce_planks_from_stripped_wood.json create mode 100644 behavior_pack/recipes/spruce_planks_from_wood.json create mode 100644 behavior_pack/recipes/spruce_stairs.json create mode 100644 behavior_pack/recipes/spruce_wood.json create mode 100644 behavior_pack/recipes/spruce_wood_stripped.json create mode 100644 behavior_pack/recipes/spruce_wooden_slab.json create mode 100644 behavior_pack/recipes/spyglass.json create mode 100644 behavior_pack/recipes/stick.json create mode 100644 behavior_pack/recipes/stick_from_crimson_planks.json create mode 100644 behavior_pack/recipes/stick_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/stick_from_warped_planks.json create mode 100644 behavior_pack/recipes/sticky_piston.json create mode 100644 behavior_pack/recipes/stone_axe.json create mode 100644 behavior_pack/recipes/stone_axe_from_blackstone.json create mode 100644 behavior_pack/recipes/stone_axe_from_cobbled_deepslate.json create mode 100644 behavior_pack/recipes/stone_brick_stairs.json create mode 100644 behavior_pack/recipes/stone_brick_wall.json create mode 100644 behavior_pack/recipes/stone_button.json create mode 100644 behavior_pack/recipes/stone_hoe.json create mode 100644 behavior_pack/recipes/stone_hoe_from_blackstone.json create mode 100644 behavior_pack/recipes/stone_hoe_from_cobbled_deepslate.json create mode 100644 behavior_pack/recipes/stone_pickaxe.json create mode 100644 behavior_pack/recipes/stone_pickaxe_from_blackstone.json create mode 100644 behavior_pack/recipes/stone_pickaxe_from_cobbled_deepslate.json create mode 100644 behavior_pack/recipes/stone_pressure_plate.json create mode 100644 behavior_pack/recipes/stone_shovel.json create mode 100644 behavior_pack/recipes/stone_shovel_from_blackstone.json create mode 100644 behavior_pack/recipes/stone_shovel_from_cobbled_deepslate.json create mode 100644 behavior_pack/recipes/stone_stairs.json create mode 100644 behavior_pack/recipes/stone_sword.json create mode 100644 behavior_pack/recipes/stone_sword_from_blackstone.json create mode 100644 behavior_pack/recipes/stone_sword_from_cobbled_deepslate.json create mode 100644 behavior_pack/recipes/stonebrick.json create mode 100644 behavior_pack/recipes/stonecutter.json create mode 100644 behavior_pack/recipes/stonecutter_andesite_slab.json create mode 100644 behavior_pack/recipes/stonecutter_andesite_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_andesite_wall.json create mode 100644 behavior_pack/recipes/stonecutter_blackstone_slab_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_blackstone_stairs_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_blackstone_wall_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_brick_slab_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_brick_stairs_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_brick_wall_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_bricks_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_chiseled_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_chiseled_nether_bricks_from_nether_brick.json create mode 100644 behavior_pack/recipes/stonecutter_chiseled_polished_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_cobblestone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_cobblestone_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_cobblestone_wall.json create mode 100644 behavior_pack/recipes/stonecutter_copper_block_to_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_copper_block_to_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_cut_copper_to_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_dark_prismarine_slab.json create mode 100644 behavior_pack/recipes/stonecutter_dark_prismarine_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_diorite_slab.json create mode 100644 behavior_pack/recipes/stonecutter_diorite_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_diorite_wall.json create mode 100644 behavior_pack/recipes/stonecutter_endbrick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_endbrick_slab2.json create mode 100644 behavior_pack/recipes/stonecutter_endbrick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_endbrick_stairs2.json create mode 100644 behavior_pack/recipes/stonecutter_endbrick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_endbrick_wall2.json create mode 100644 behavior_pack/recipes/stonecutter_endbricks.json create mode 100644 behavior_pack/recipes/stonecutter_exp_cut_copper_to_exp_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_granite_slab.json create mode 100644 behavior_pack/recipes/stonecutter_granite_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_granite_wall.json create mode 100644 behavior_pack/recipes/stonecutter_mossy_cobblestone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_mossy_cobblestone_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_mossy_cobblestone_wall.json create mode 100644 behavior_pack/recipes/stonecutter_mossy_stonebrick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_mossy_stonebrick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_mossy_stonebrick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_mud_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_mud_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_mud_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_nether_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_nether_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_nether_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_oxi_cut_copper_to_oxi_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_polished_andesite.json create mode 100644 behavior_pack/recipes/stonecutter_polished_andesite_slab.json create mode 100644 behavior_pack/recipes/stonecutter_polished_andesite_slab2.json create mode 100644 behavior_pack/recipes/stonecutter_polished_andesite_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_polished_andesite_stairs2.json create mode 100644 behavior_pack/recipes/stonecutter_polished_basalt_from_basalt.json create mode 100644 behavior_pack/recipes/stonecutter_polished_brick_slab_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_polished_brick_stairs_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_polished_brick_wall_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_polished_bricks_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_polished_diorite.json create mode 100644 behavior_pack/recipes/stonecutter_polished_diorite_slab.json create mode 100644 behavior_pack/recipes/stonecutter_polished_diorite_slab2.json create mode 100644 behavior_pack/recipes/stonecutter_polished_diorite_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_polished_diorite_stairs2.json create mode 100644 behavior_pack/recipes/stonecutter_polished_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_polished_granite.json create mode 100644 behavior_pack/recipes/stonecutter_polished_granite_slab.json create mode 100644 behavior_pack/recipes/stonecutter_polished_granite_slab2.json create mode 100644 behavior_pack/recipes/stonecutter_polished_granite_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_polished_granite_stairs2.json create mode 100644 behavior_pack/recipes/stonecutter_polished_slab_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_polished_stairs_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_chiseled_tuff_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_slab.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_wall.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_polished_wall_from_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_prismarine_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_prismarine_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_prismarine_slab.json create mode 100644 behavior_pack/recipes/stonecutter_prismarine_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_prismarine_wall.json create mode 100644 behavior_pack/recipes/stonecutter_purpur_lines.json create mode 100644 behavior_pack/recipes/stonecutter_purpur_pillar.json create mode 100644 behavior_pack/recipes/stonecutter_purpur_slab.json create mode 100644 behavior_pack/recipes/stonecutter_purpur_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_quartz_bricks_from_quartz_block.json create mode 100644 behavior_pack/recipes/stonecutter_quartz_chiseled.json create mode 100644 behavior_pack/recipes/stonecutter_quartz_lines.json create mode 100644 behavior_pack/recipes/stonecutter_quartz_pillar.json create mode 100644 behavior_pack/recipes/stonecutter_quartz_slab.json create mode 100644 behavior_pack/recipes/stonecutter_quartz_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_red_nether_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_red_nether_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_red_nether_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_red_sandstone_cut.json create mode 100644 behavior_pack/recipes/stonecutter_red_sandstone_heiroglyphs.json create mode 100644 behavior_pack/recipes/stonecutter_red_sandstone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_red_sandstone_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_red_sandstone_wall.json create mode 100644 behavior_pack/recipes/stonecutter_resin_brick_chiseled.json create mode 100644 behavior_pack/recipes/stonecutter_resin_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_resin_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_resin_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_sandstone_cut.json create mode 100644 behavior_pack/recipes/stonecutter_sandstone_heiroglyphs.json create mode 100644 behavior_pack/recipes/stonecutter_sandstone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_sandstone_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_sandstone_wall.json create mode 100644 behavior_pack/recipes/stonecutter_slab_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_slab_from_polished_blackstone_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_smooth_quartz_slab.json create mode 100644 behavior_pack/recipes/stonecutter_smooth_quartz_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_smooth_red_sandstone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_smooth_red_sandstone_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_smooth_sandstone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_smooth_sandstone_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_smooth_stone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_stone_slab.json create mode 100644 behavior_pack/recipes/stonecutter_stone_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_chiseled.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_chiseled2.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_slab2.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_stairs2.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_stonebrick_wall2.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_bricks_to_chiseled_tuff_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_polished_tuff.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_slab.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_wall.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_slab.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_wall.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_tuff_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_tuff_slab.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_tuff_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_tuff_to_tuff_wall.json create mode 100644 behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_w_copper_to_w_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_copper_to_w_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_w_oxidized_copper_2_w_oxidized_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_w_oxidized_copper_to_w_oxidized_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_w_weatherd_copper_2_w_weatherd_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_w_weathered_copper_to_w_weathered_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_wall_from_polished_blackstone.json create mode 100644 behavior_pack/recipes/stonecutter_wall_from_polished_blackstone_bricks.json create mode 100644 behavior_pack/recipes/stonecutter_wax_cut_copper_to_wax_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_wax_exp_cut_copper_to_wax_exp_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_wax_oxi_cut_copper_to_wax_oxi_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_wax_wea_cut_copper_to_wax_wea_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_wea_cut_copper_to_wea_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper.json create mode 100644 behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_chiseled_copper.json create mode 100644 behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_copper_grate.json create mode 100644 behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_slab.json create mode 100644 behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/string_to_wool.json create mode 100644 behavior_pack/recipes/stripped_mangrove_wood.json create mode 100644 behavior_pack/recipes/sugar.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_allium.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_azure_bluet.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_blue_orchid.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_closed_eyeblossom.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_cornflower.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_dandelion.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_lily_of_the_valley.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_open_eyeblossom.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_oxeye_daisy.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_poppy.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_torchflower.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_tulip_orange.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_tulip_pink.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_tulip_red.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_tulip_white.json create mode 100644 behavior_pack/recipes/suspicious_stew_from_wither_rose.json create mode 100644 behavior_pack/recipes/target_block.json create mode 100644 behavior_pack/recipes/tide_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/tinted_glass.json create mode 100644 behavior_pack/recipes/tnt.json create mode 100644 behavior_pack/recipes/tnt_minecart.json create mode 100644 behavior_pack/recipes/torch.json create mode 100644 behavior_pack/recipes/torch_charcoal.json create mode 100644 behavior_pack/recipes/torch_coal.json create mode 100644 behavior_pack/recipes/trapped_chest.json create mode 100644 behavior_pack/recipes/tripwire_hook.json create mode 100644 behavior_pack/recipes/tripwire_hook_from_crimson_planks.json create mode 100644 behavior_pack/recipes/tripwire_hook_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/tripwire_hook_from_warped_planks.json create mode 100644 behavior_pack/recipes/tuff_brick_slab.json create mode 100644 behavior_pack/recipes/tuff_brick_stairs.json create mode 100644 behavior_pack/recipes/tuff_brick_wall.json create mode 100644 behavior_pack/recipes/tuff_bricks.json create mode 100644 behavior_pack/recipes/tuff_slab.json create mode 100644 behavior_pack/recipes/tuff_stairs.json create mode 100644 behavior_pack/recipes/tuff_wall.json create mode 100644 behavior_pack/recipes/turtle_helmet.json create mode 100644 behavior_pack/recipes/vex_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/ward_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/warped_button.json create mode 100644 behavior_pack/recipes/warped_door.json create mode 100644 behavior_pack/recipes/warped_fence.json create mode 100644 behavior_pack/recipes/warped_fence_gate.json create mode 100644 behavior_pack/recipes/warped_fungus_on_a_stick.json create mode 100644 behavior_pack/recipes/warped_hanging_sign.json create mode 100644 behavior_pack/recipes/warped_hyphae.json create mode 100644 behavior_pack/recipes/warped_hyphae_stripped.json create mode 100644 behavior_pack/recipes/warped_planks.json create mode 100644 behavior_pack/recipes/warped_planks_from_stripped_log.json create mode 100644 behavior_pack/recipes/warped_planks_from_stripped_warped_hyphae.json create mode 100644 behavior_pack/recipes/warped_planks_from_warped_hyphae.json create mode 100644 behavior_pack/recipes/warped_pressure_plate.json create mode 100644 behavior_pack/recipes/warped_sign.json create mode 100644 behavior_pack/recipes/warped_slab.json create mode 100644 behavior_pack/recipes/warped_stairs.json create mode 100644 behavior_pack/recipes/warped_trapdoor.json create mode 100644 behavior_pack/recipes/waxing_chiseled_copper.json create mode 100644 behavior_pack/recipes/waxing_copper_block.json create mode 100644 behavior_pack/recipes/waxing_copper_bulb.json create mode 100644 behavior_pack/recipes/waxing_copper_door.json create mode 100644 behavior_pack/recipes/waxing_copper_grate.json create mode 100644 behavior_pack/recipes/waxing_copper_trapdoor.json create mode 100644 behavior_pack/recipes/waxing_cut_copper_block.json create mode 100644 behavior_pack/recipes/waxing_cut_copper_slab.json create mode 100644 behavior_pack/recipes/waxing_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/waxing_exposed_chiseled_copper.json create mode 100644 behavior_pack/recipes/waxing_exposed_copper_block.json create mode 100644 behavior_pack/recipes/waxing_exposed_copper_bulb.json create mode 100644 behavior_pack/recipes/waxing_exposed_copper_door.json create mode 100644 behavior_pack/recipes/waxing_exposed_copper_grate.json create mode 100644 behavior_pack/recipes/waxing_exposed_copper_trapdoor.json create mode 100644 behavior_pack/recipes/waxing_exposed_cut_copper_block.json create mode 100644 behavior_pack/recipes/waxing_exposed_cut_copper_slab.json create mode 100644 behavior_pack/recipes/waxing_exposed_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/waxing_oxidized_chiseled_copper.json create mode 100644 behavior_pack/recipes/waxing_oxidized_copper_block.json create mode 100644 behavior_pack/recipes/waxing_oxidized_copper_bulb.json create mode 100644 behavior_pack/recipes/waxing_oxidized_copper_door.json create mode 100644 behavior_pack/recipes/waxing_oxidized_copper_grate.json create mode 100644 behavior_pack/recipes/waxing_oxidized_copper_trapdoor.json create mode 100644 behavior_pack/recipes/waxing_oxidized_cut_copper_block.json create mode 100644 behavior_pack/recipes/waxing_oxidized_cut_copper_slab.json create mode 100644 behavior_pack/recipes/waxing_oxidized_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/waxing_weathered_chiseled_copper.json create mode 100644 behavior_pack/recipes/waxing_weathered_copper_block.json create mode 100644 behavior_pack/recipes/waxing_weathered_copper_bulb.json create mode 100644 behavior_pack/recipes/waxing_weathered_copper_door.json create mode 100644 behavior_pack/recipes/waxing_weathered_copper_grate.json create mode 100644 behavior_pack/recipes/waxing_weathered_copper_trapdoor.json create mode 100644 behavior_pack/recipes/waxing_weathered_cut_copper_block.json create mode 100644 behavior_pack/recipes/waxing_weathered_cut_copper_slab.json create mode 100644 behavior_pack/recipes/waxing_weathered_cut_copper_stairs.json create mode 100644 behavior_pack/recipes/wayfinder_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/wheat.json create mode 100644 behavior_pack/recipes/white_banner.json create mode 100644 behavior_pack/recipes/white_candle.json create mode 100644 behavior_pack/recipes/white_candle_from_bonemeal.json create mode 100644 behavior_pack/recipes/white_carpet.json create mode 100644 behavior_pack/recipes/white_concrete_powder.json create mode 100644 behavior_pack/recipes/white_concrete_powder_from_bonemeal.json create mode 100644 behavior_pack/recipes/white_dye_from_bone_meal.json create mode 100644 behavior_pack/recipes/white_dye_from_lily_of_the_valley.json create mode 100644 behavior_pack/recipes/white_stained_glass.json create mode 100644 behavior_pack/recipes/white_stained_glass_from_bonemeal.json create mode 100644 behavior_pack/recipes/white_stained_glass_pane.json create mode 100644 behavior_pack/recipes/white_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/white_stained_hardened_clay.json create mode 100644 behavior_pack/recipes/white_stained_hardened_clay_from_bonemeal.json create mode 100644 behavior_pack/recipes/whtie_candle_from_bonemeal.json create mode 100644 behavior_pack/recipes/wild_armor_trim_smithing_template_duplicate.json create mode 100644 behavior_pack/recipes/wind_charge.json create mode 100644 behavior_pack/recipes/wolf_armor.json create mode 100644 behavior_pack/recipes/wooden_axe.json create mode 100644 behavior_pack/recipes/wooden_axe_from_crimson_planks.json create mode 100644 behavior_pack/recipes/wooden_axe_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/wooden_axe_from_warped_planks.json create mode 100644 behavior_pack/recipes/wooden_door.json create mode 100644 behavior_pack/recipes/wooden_hoe.json create mode 100644 behavior_pack/recipes/wooden_hoe_from_crimson_planks.json create mode 100644 behavior_pack/recipes/wooden_hoe_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/wooden_hoe_from_warped_planks.json create mode 100644 behavior_pack/recipes/wooden_pickaxe.json create mode 100644 behavior_pack/recipes/wooden_pickaxe_from_crimson_planks.json create mode 100644 behavior_pack/recipes/wooden_pickaxe_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/wooden_pickaxe_from_warped_planks.json create mode 100644 behavior_pack/recipes/wooden_shovel.json create mode 100644 behavior_pack/recipes/wooden_shovel_from_crimson_planks.json create mode 100644 behavior_pack/recipes/wooden_shovel_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/wooden_shovel_from_warped_planks.json create mode 100644 behavior_pack/recipes/wooden_sword.json create mode 100644 behavior_pack/recipes/wooden_sword_from_crimson_planks.json create mode 100644 behavior_pack/recipes/wooden_sword_from_mangrove_planks.json create mode 100644 behavior_pack/recipes/wooden_sword_from_warped_planks.json create mode 100644 behavior_pack/recipes/writable_book.json create mode 100644 behavior_pack/recipes/yellow_banner.json create mode 100644 behavior_pack/recipes/yellow_candle.json create mode 100644 behavior_pack/recipes/yellow_carpet.json create mode 100644 behavior_pack/recipes/yellow_carpet_from_white.json create mode 100644 behavior_pack/recipes/yellow_concrete_powder.json create mode 100644 behavior_pack/recipes/yellow_dye_from_dandelion.json create mode 100644 behavior_pack/recipes/yellow_dye_from_sunflower.json create mode 100644 behavior_pack/recipes/yellow_stained_glass.json create mode 100644 behavior_pack/recipes/yellow_stained_glass_pane.json create mode 100644 behavior_pack/recipes/yellow_stained_glass_pane_from_pane.json create mode 100644 behavior_pack/recipes/yellow_stained_hardened_clay.json create mode 100644 behavior_pack/spawn_rules/armadillo.json create mode 100644 behavior_pack/spawn_rules/axolotl.json create mode 100644 behavior_pack/spawn_rules/bat.json create mode 100644 behavior_pack/spawn_rules/bee.json create mode 100644 behavior_pack/spawn_rules/blaze.json create mode 100644 behavior_pack/spawn_rules/bogged.json create mode 100644 behavior_pack/spawn_rules/cat.json create mode 100644 behavior_pack/spawn_rules/chicken.json create mode 100644 behavior_pack/spawn_rules/cod.json create mode 100644 behavior_pack/spawn_rules/cow.json create mode 100644 behavior_pack/spawn_rules/creeper.json create mode 100644 behavior_pack/spawn_rules/dolphin.json create mode 100644 behavior_pack/spawn_rules/donkey.json create mode 100644 behavior_pack/spawn_rules/drowned.json create mode 100644 behavior_pack/spawn_rules/enderman.json create mode 100644 behavior_pack/spawn_rules/fox.json create mode 100644 behavior_pack/spawn_rules/frog.json create mode 100644 behavior_pack/spawn_rules/ghast.json create mode 100644 behavior_pack/spawn_rules/glow_squid.json create mode 100644 behavior_pack/spawn_rules/goat.json create mode 100644 behavior_pack/spawn_rules/guardian.json create mode 100644 behavior_pack/spawn_rules/hoglin.json create mode 100644 behavior_pack/spawn_rules/horse.json create mode 100644 behavior_pack/spawn_rules/husk.json create mode 100644 behavior_pack/spawn_rules/llama.json create mode 100644 behavior_pack/spawn_rules/magma_cube.json create mode 100644 behavior_pack/spawn_rules/mooshroom.json create mode 100644 behavior_pack/spawn_rules/ocelot.json create mode 100644 behavior_pack/spawn_rules/panda.json create mode 100644 behavior_pack/spawn_rules/parrot.json create mode 100644 behavior_pack/spawn_rules/phantom.json create mode 100644 behavior_pack/spawn_rules/pig.json create mode 100644 behavior_pack/spawn_rules/piglin.json create mode 100644 behavior_pack/spawn_rules/pillager.json create mode 100644 behavior_pack/spawn_rules/pillager_patrol.json create mode 100644 behavior_pack/spawn_rules/polar_bear.json create mode 100644 behavior_pack/spawn_rules/pufferfish.json create mode 100644 behavior_pack/spawn_rules/rabbit.json create mode 100644 behavior_pack/spawn_rules/salmon.json create mode 100644 behavior_pack/spawn_rules/sheep.json create mode 100644 behavior_pack/spawn_rules/skeleton.json create mode 100644 behavior_pack/spawn_rules/slime.json create mode 100644 behavior_pack/spawn_rules/spider.json create mode 100644 behavior_pack/spawn_rules/squid.json create mode 100644 behavior_pack/spawn_rules/stray.json create mode 100644 behavior_pack/spawn_rules/strider.json create mode 100644 behavior_pack/spawn_rules/tropicalfish.json create mode 100644 behavior_pack/spawn_rules/turtle.json create mode 100644 behavior_pack/spawn_rules/witch.json create mode 100644 behavior_pack/spawn_rules/wither_skeleton.json create mode 100644 behavior_pack/spawn_rules/wolf.json create mode 100644 behavior_pack/spawn_rules/zombie.json create mode 100644 behavior_pack/spawn_rules/zombie_pigman.json create mode 100644 behavior_pack/texts/language_names.json create mode 100644 behavior_pack/texts/languages.json create mode 100644 behavior_pack/trading/armorer_trades.json create mode 100644 behavior_pack/trading/butcher_trades.json create mode 100644 behavior_pack/trading/cartographer_trades.json create mode 100644 behavior_pack/trading/cleric_trades.json create mode 100644 behavior_pack/trading/economy_trades/armorer_trades.json create mode 100644 behavior_pack/trading/economy_trades/butcher_trades.json create mode 100644 behavior_pack/trading/economy_trades/cartographer_trades.json create mode 100644 behavior_pack/trading/economy_trades/cleric_trades.json create mode 100644 behavior_pack/trading/economy_trades/farmer_trades.json create mode 100644 behavior_pack/trading/economy_trades/fisherman_trades.json create mode 100644 behavior_pack/trading/economy_trades/fletcher_trades.json create mode 100644 behavior_pack/trading/economy_trades/leather_worker_trades.json create mode 100644 behavior_pack/trading/economy_trades/librarian_trades.json create mode 100644 behavior_pack/trading/economy_trades/shepherd_trades.json create mode 100644 behavior_pack/trading/economy_trades/stone_mason_trades.json create mode 100644 behavior_pack/trading/economy_trades/tool_smith_trades.json create mode 100644 behavior_pack/trading/economy_trades/wandering_trader_trades.json create mode 100644 behavior_pack/trading/economy_trades/weapon_smith_trades.json create mode 100644 behavior_pack/trading/farmer_trades.json create mode 100644 behavior_pack/trading/fisherman_trades.json create mode 100644 behavior_pack/trading/fletcher_trades.json create mode 100644 behavior_pack/trading/leather_worker_trades.json create mode 100644 behavior_pack/trading/librarian_trades.json create mode 100644 behavior_pack/trading/shepherd_trades.json create mode 100644 behavior_pack/trading/stone_mason_trades.json create mode 100644 behavior_pack/trading/tool_smith_trades.json create mode 100644 behavior_pack/trading/weapon_smith_trades.json create mode 100644 behavior_pack/worldgen/jigsaw_structures/trail_ruins.json create mode 100644 behavior_pack/worldgen/processors/trail_ruins_houses_archaeology.json create mode 100644 behavior_pack/worldgen/processors/trail_ruins_roads_archaeology.json create mode 100644 behavior_pack/worldgen/processors/trail_ruins_tower_top_archaeology.json create mode 100644 behavior_pack/worldgen/structure_sets/trail_ruins.json create mode 100644 behavior_pack/worldgen/template_pools/trail_ruins/buildings.json create mode 100644 behavior_pack/worldgen/template_pools/trail_ruins/buildings/grouped.json create mode 100644 behavior_pack/worldgen/template_pools/trail_ruins/decor.json create mode 100644 behavior_pack/worldgen/template_pools/trail_ruins/roads.json create mode 100644 behavior_pack/worldgen/template_pools/trail_ruins/tower.json create mode 100644 behavior_pack/worldgen/template_pools/trail_ruins/tower/additions.json create mode 100644 behavior_pack/worldgen/template_pools/trail_ruins/tower/tower_top.json create mode 100644 resource_pack/animation_controllers/agent.animation_controllers.json create mode 100644 resource_pack/animation_controllers/allay.animation_controllers.json create mode 100644 resource_pack/animation_controllers/armadillo.animation_controllers.json create mode 100644 resource_pack/animation_controllers/armor_stand.animation_controllers.json create mode 100644 resource_pack/animation_controllers/axolotl.animation_controllers.json create mode 100644 resource_pack/animation_controllers/bat.animation_controllers.json create mode 100644 resource_pack/animation_controllers/bee.animation_controllers.json create mode 100644 resource_pack/animation_controllers/blaze.animation_controllers.json create mode 100644 resource_pack/animation_controllers/breeze.animation_controllers.json create mode 100644 resource_pack/animation_controllers/camel.animation_controllers.json create mode 100644 resource_pack/animation_controllers/cat.animation_controllers.json create mode 100644 resource_pack/animation_controllers/creaking.animation_controllers.json create mode 100644 resource_pack/animation_controllers/creeper.animation_controllers.json create mode 100644 resource_pack/animation_controllers/dolphin.animation_controllers.json create mode 100644 resource_pack/animation_controllers/drowned.animation_controllers.json create mode 100644 resource_pack/animation_controllers/elytra.animation_controllers.json create mode 100644 resource_pack/animation_controllers/enderman.animation_controllers.json create mode 100644 resource_pack/animation_controllers/endermite.animation_controllers.json create mode 100644 resource_pack/animation_controllers/evoker.animation_controllers.json create mode 100644 resource_pack/animation_controllers/fish.animation_controllers.json create mode 100644 resource_pack/animation_controllers/fox.animation_controllers.json create mode 100644 resource_pack/animation_controllers/frog.animation_controllers.json create mode 100644 resource_pack/animation_controllers/ghast.animation_controllers.json create mode 100644 resource_pack/animation_controllers/goat.animation_controllers.json create mode 100644 resource_pack/animation_controllers/hoglin.animation_controllers.json create mode 100644 resource_pack/animation_controllers/humanoid.animation_controllers.json create mode 100644 resource_pack/animation_controllers/iron_golem.animation_controllers.json create mode 100644 resource_pack/animation_controllers/llama.animation_controllers.json create mode 100644 resource_pack/animation_controllers/magma_cube.animation_controllers.json create mode 100644 resource_pack/animation_controllers/map_marker.json create mode 100644 resource_pack/animation_controllers/mooshroom.animation_controllers.json create mode 100644 resource_pack/animation_controllers/ocelot.animation_controllers.json create mode 100644 resource_pack/animation_controllers/ocelot.animation_controllers.v1.0.json create mode 100644 resource_pack/animation_controllers/panda.animation_controllers.json create mode 100644 resource_pack/animation_controllers/parrot.animation_controllers.json create mode 100644 resource_pack/animation_controllers/persona.animation_controllers.json create mode 100644 resource_pack/animation_controllers/phantom.animation_controllers.json create mode 100644 resource_pack/animation_controllers/piglin.animation_controllers.json create mode 100644 resource_pack/animation_controllers/pillager.animation_controllers.json create mode 100644 resource_pack/animation_controllers/player.animation_controllers.json create mode 100644 resource_pack/animation_controllers/polar_bear.animation_controllers.json create mode 100644 resource_pack/animation_controllers/rabbit.animation_controllers.json create mode 100644 resource_pack/animation_controllers/ravager.animation_controllers.json create mode 100644 resource_pack/animation_controllers/sheep.animation_controllers.json create mode 100644 resource_pack/animation_controllers/shield.animation_controllers.json create mode 100644 resource_pack/animation_controllers/shulker.animation_controllers.json create mode 100644 resource_pack/animation_controllers/silverfish.animation_controllers.json create mode 100644 resource_pack/animation_controllers/skeleton.animation_controllers.json create mode 100644 resource_pack/animation_controllers/sniffer.animation_controllers.json create mode 100644 resource_pack/animation_controllers/snow_golem.animation_controllers.json create mode 100644 resource_pack/animation_controllers/snow_golem.animation_controllers.v1.0.json create mode 100644 resource_pack/animation_controllers/spider.animation_controllers.json create mode 100644 resource_pack/animation_controllers/tadpole.animation_controllers.json create mode 100644 resource_pack/animation_controllers/trident.animation_controllers.json create mode 100644 resource_pack/animation_controllers/tripod_camera.animation_controllers.json create mode 100644 resource_pack/animation_controllers/turtle.animation_controllers.json create mode 100644 resource_pack/animation_controllers/vex.animation_controllers.json create mode 100644 resource_pack/animation_controllers/villager.animation_controllers.json create mode 100644 resource_pack/animation_controllers/villager_v2.animation_controllers.json create mode 100644 resource_pack/animation_controllers/vindicator.animation_controllers.json create mode 100644 resource_pack/animation_controllers/warden.animation_controllers.json create mode 100644 resource_pack/animation_controllers/witch.animation_controllers.json create mode 100644 resource_pack/animation_controllers/wither_boss.animation_controllers.json create mode 100644 resource_pack/animation_controllers/wither_skeleton.animation_controllers.json create mode 100644 resource_pack/animation_controllers/wolf.animation_controllers.json create mode 100644 resource_pack/animation_controllers/zombie.animation_controllers.json create mode 100644 resource_pack/animations/actor.animation.json create mode 100644 resource_pack/animations/agent.animation.json create mode 100644 resource_pack/animations/allay.animation.json create mode 100644 resource_pack/animations/armadillo.animation.json create mode 100644 resource_pack/animations/armor.animation.json create mode 100644 resource_pack/animations/armor_stand.animation.json create mode 100644 resource_pack/animations/arrow.animation.json create mode 100644 resource_pack/animations/axolotl.animation.json create mode 100644 resource_pack/animations/bat.animation.json create mode 100644 resource_pack/animations/bee.animation.json create mode 100644 resource_pack/animations/blaze.animation.json create mode 100644 resource_pack/animations/bow.animation.json create mode 100644 resource_pack/animations/breeze.animation.json create mode 100644 resource_pack/animations/camel.animation.json create mode 100644 resource_pack/animations/cat.animation.json create mode 100644 resource_pack/animations/chicken.animation.json create mode 100644 resource_pack/animations/cod.animation.json create mode 100644 resource_pack/animations/cow.animation.json create mode 100644 resource_pack/animations/creaking.animation.json create mode 100644 resource_pack/animations/creeper.animation.json create mode 100644 resource_pack/animations/crossbow.animation.json create mode 100644 resource_pack/animations/dolphin.animation.json create mode 100644 resource_pack/animations/dressing_room_idle_arm_1.anim.json create mode 100644 resource_pack/animations/dressing_room_idle_back_1.anim.json create mode 100644 resource_pack/animations/dressing_room_idle_bottom_1.anim.json create mode 100644 resource_pack/animations/dressing_room_idle_torso_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_arm_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_arm_2.anim.json create mode 100644 resource_pack/animations/dressing_room_react_back_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_back_2.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bored_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bored_arm_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bored_back_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bored_bottom_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bored_head_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bored_torso_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bottom_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bottom_2.anim.json create mode 100644 resource_pack/animations/dressing_room_react_bottom_3.anim.json create mode 100644 resource_pack/animations/dressing_room_react_confirm_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_confirm_2.anim.json create mode 100644 resource_pack/animations/dressing_room_react_head_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_head_2.anim.json create mode 100644 resource_pack/animations/dressing_room_react_idle.anim.json create mode 100644 resource_pack/animations/dressing_room_react_offer_1.json create mode 100644 resource_pack/animations/dressing_room_react_offer_2.json create mode 100644 resource_pack/animations/dressing_room_react_offer_arm_1.json create mode 100644 resource_pack/animations/dressing_room_react_offer_arm_2.json create mode 100644 resource_pack/animations/dressing_room_react_offer_back_1.json create mode 100644 resource_pack/animations/dressing_room_react_offer_back_2.json create mode 100644 resource_pack/animations/dressing_room_react_offer_bottom_1.json create mode 100644 resource_pack/animations/dressing_room_react_offer_bottom_2.json create mode 100644 resource_pack/animations/dressing_room_react_offer_head_1.json create mode 100644 resource_pack/animations/dressing_room_react_offer_head_2.json create mode 100644 resource_pack/animations/dressing_room_react_offer_torso_1.json create mode 100644 resource_pack/animations/dressing_room_react_offer_torso_2.json create mode 100644 resource_pack/animations/dressing_room_react_torso_1.anim.json create mode 100644 resource_pack/animations/dressing_room_react_torso_2.anim.json create mode 100644 resource_pack/animations/drowned.animation.json create mode 100644 resource_pack/animations/drowned.animation.v1.0.json create mode 100644 resource_pack/animations/elytra.animation.json create mode 100644 resource_pack/animations/ender_crystal.animation.json create mode 100644 resource_pack/animations/ender_dragon.animation.json create mode 100644 resource_pack/animations/enderman.animation.json create mode 100644 resource_pack/animations/enderman.animation.v1.0.json create mode 100644 resource_pack/animations/endermite.animation.json create mode 100644 resource_pack/animations/evocation_fang.animation.json create mode 100644 resource_pack/animations/evoker.animation.json create mode 100644 resource_pack/animations/fireworks_rocket.animation.json create mode 100644 resource_pack/animations/fox.animation.json create mode 100644 resource_pack/animations/frog.animation.json create mode 100644 resource_pack/animations/ghast.animation.json create mode 100644 resource_pack/animations/goat.animation.json create mode 100644 resource_pack/animations/guardian.animation.json create mode 100644 resource_pack/animations/guardian.animation.v1.0.json create mode 100644 resource_pack/animations/hoglin.animation.json create mode 100644 resource_pack/animations/horse_v1.animation.json create mode 100644 resource_pack/animations/horse_v2.animation.json create mode 100644 resource_pack/animations/horse_v3.animation.json create mode 100644 resource_pack/animations/humanoid.animation.json create mode 100644 resource_pack/animations/iron_golem.animation.json create mode 100644 resource_pack/animations/llama.animation.json create mode 100644 resource_pack/animations/llama_spit.animation.json create mode 100644 resource_pack/animations/location_pointer_idle.animation.json create mode 100644 resource_pack/animations/location_pointer_selected.animation.json create mode 100644 resource_pack/animations/look_at_target.animation.json create mode 100644 resource_pack/animations/magma_cube.animation.json create mode 100644 resource_pack/animations/map_marker.animation.json create mode 100644 resource_pack/animations/minecart.animation.json create mode 100644 resource_pack/animations/minecart.animation.v1.0.json create mode 100644 resource_pack/animations/mooshroom.animation.json create mode 100644 resource_pack/animations/npc.animation.json create mode 100644 resource_pack/animations/ocelot.animation.json create mode 100644 resource_pack/animations/ocelot.animations.v1.0.json create mode 100644 resource_pack/animations/panda.animation.json create mode 100644 resource_pack/animations/parrot.animation.json create mode 100644 resource_pack/animations/phantom.animation.json create mode 100644 resource_pack/animations/pig.animation.json create mode 100644 resource_pack/animations/piglin.animation.json create mode 100644 resource_pack/animations/pillager.animation.json create mode 100644 resource_pack/animations/player.animation.json create mode 100644 resource_pack/animations/player_firstperson.animation.json create mode 100644 resource_pack/animations/polar_bear.animation.json create mode 100644 resource_pack/animations/pufferfish.animation.json create mode 100644 resource_pack/animations/quadruped.animation.json create mode 100644 resource_pack/animations/rabbit.animation.json create mode 100644 resource_pack/animations/ravager.animation.json create mode 100644 resource_pack/animations/ruler_idle.animation.json create mode 100644 resource_pack/animations/ruler_pointer_selected.animation.json create mode 100644 resource_pack/animations/salmon.animation.json create mode 100644 resource_pack/animations/sheep.animation.json create mode 100644 resource_pack/animations/shield.animation.json create mode 100644 resource_pack/animations/shulker.animation.json create mode 100644 resource_pack/animations/shulker.animations.v1.0.json create mode 100644 resource_pack/animations/shulker_bullet.animation.json create mode 100644 resource_pack/animations/silverfish.animation.json create mode 100644 resource_pack/animations/skeleton.animation.json create mode 100644 resource_pack/animations/skeleton.animations.v1.0.json create mode 100644 resource_pack/animations/sniffer.animation.json create mode 100644 resource_pack/animations/snow_golem.animation.json create mode 100644 resource_pack/animations/snow_golem.animations.v1.0.json create mode 100644 resource_pack/animations/spider.animation.json create mode 100644 resource_pack/animations/spyglass.animation.json create mode 100644 resource_pack/animations/squid.animation.json create mode 100644 resource_pack/animations/strider.animation.json create mode 100644 resource_pack/animations/tadpole.animation.json create mode 100644 resource_pack/animations/trident.animation.json create mode 100644 resource_pack/animations/tripod_camera.animation.json create mode 100644 resource_pack/animations/tropicalfish.animation.json create mode 100644 resource_pack/animations/turtle.animation.json create mode 100644 resource_pack/animations/vex.animation.json create mode 100644 resource_pack/animations/villager.animation.json create mode 100644 resource_pack/animations/vindicator.animation.json create mode 100644 resource_pack/animations/warden.animation.json create mode 100644 resource_pack/animations/wind_charge.animation.json create mode 100644 resource_pack/animations/witch.animation.json create mode 100644 resource_pack/animations/wither_boss.animation.json create mode 100644 resource_pack/animations/wither_skeleton.animation.json create mode 100644 resource_pack/animations/wither_skull.animation.json create mode 100644 resource_pack/animations/wolf.animations.json create mode 100644 resource_pack/animations/zombie.animation.json create mode 100644 resource_pack/attachables/mace.json create mode 100644 resource_pack/attachables/saddle.json create mode 100644 resource_pack/attachables/shield.entity.json create mode 100644 resource_pack/attachables/spyglass.json create mode 100644 resource_pack/attachables/wolf_armor.json create mode 100644 resource_pack/biomes/bamboo_jungle.client_biome.json create mode 100644 resource_pack/biomes/bamboo_jungle_hills.client_biome.json create mode 100644 resource_pack/biomes/basalt_deltas.client_biome.json create mode 100644 resource_pack/biomes/beach.client_biome.json create mode 100644 resource_pack/biomes/birch_forest.client_biome.json create mode 100644 resource_pack/biomes/birch_forest_hills.client_biome.json create mode 100644 resource_pack/biomes/birch_forest_hills_mutated.client_biome.json create mode 100644 resource_pack/biomes/birch_forest_mutated.client_biome.json create mode 100644 resource_pack/biomes/cherry_grove.client_biome.json create mode 100644 resource_pack/biomes/cold_beach.client_biome.json create mode 100644 resource_pack/biomes/cold_ocean.client_biome.json create mode 100644 resource_pack/biomes/cold_taiga.client_biome.json create mode 100644 resource_pack/biomes/cold_taiga_hills.client_biome.json create mode 100644 resource_pack/biomes/cold_taiga_mutated.client_biome.json create mode 100644 resource_pack/biomes/crimson_forest.client_biome.json create mode 100644 resource_pack/biomes/deep_cold_ocean.client_biome.json create mode 100644 resource_pack/biomes/deep_dark.client_biome.json create mode 100644 resource_pack/biomes/deep_frozen_ocean.client_biome.json create mode 100644 resource_pack/biomes/deep_lukewarm_ocean.client_biome.json create mode 100644 resource_pack/biomes/deep_ocean.client_biome.json create mode 100644 resource_pack/biomes/deep_warm_ocean.client_biome.json create mode 100644 resource_pack/biomes/desert.client_biome.json create mode 100644 resource_pack/biomes/desert_hills.client_biome.json create mode 100644 resource_pack/biomes/desert_mutated.client_biome.json create mode 100644 resource_pack/biomes/dripstone_caves.client_biome.json create mode 100644 resource_pack/biomes/extreme_hills.client_biome.json create mode 100644 resource_pack/biomes/extreme_hills_edge.client_biome.json create mode 100644 resource_pack/biomes/extreme_hills_mutated.client_biome.json create mode 100644 resource_pack/biomes/extreme_hills_plus_trees.client_biome.json create mode 100644 resource_pack/biomes/extreme_hills_plus_trees_mutated.client_biome.json create mode 100644 resource_pack/biomes/flower_forest.client_biome.json create mode 100644 resource_pack/biomes/forest.client_biome.json create mode 100644 resource_pack/biomes/forest_hills.client_biome.json create mode 100644 resource_pack/biomes/frozen_ocean.client_biome.json create mode 100644 resource_pack/biomes/frozen_peaks.client_biome.json create mode 100644 resource_pack/biomes/frozen_river.client_biome.json create mode 100644 resource_pack/biomes/grove.client_biome.json create mode 100644 resource_pack/biomes/hell.client_biome.json create mode 100644 resource_pack/biomes/ice_mountains.client_biome.json create mode 100644 resource_pack/biomes/ice_plains.client_biome.json create mode 100644 resource_pack/biomes/ice_plains_spikes.client_biome.json create mode 100644 resource_pack/biomes/jagged_peaks.client_biome.json create mode 100644 resource_pack/biomes/jungle.client_biome.json create mode 100644 resource_pack/biomes/jungle_edge.client_biome.json create mode 100644 resource_pack/biomes/jungle_edge_mutated.client_biome.json create mode 100644 resource_pack/biomes/jungle_hills.client_biome.json create mode 100644 resource_pack/biomes/jungle_mutated.client_biome.json create mode 100644 resource_pack/biomes/legacy_frozen_ocean.client_biome.json create mode 100644 resource_pack/biomes/lukewarm_ocean.client_biome.json create mode 100644 resource_pack/biomes/lush_caves.client_biome.json create mode 100644 resource_pack/biomes/mangrove_swamp.client_biome.json create mode 100644 resource_pack/biomes/meadow.client_biome.json create mode 100644 resource_pack/biomes/mega_taiga.client_biome.json create mode 100644 resource_pack/biomes/mega_taiga_hills.client_biome.json create mode 100644 resource_pack/biomes/mesa.client_biome.json create mode 100644 resource_pack/biomes/mesa_bryce.client_biome.json create mode 100644 resource_pack/biomes/mesa_plateau.client_biome.json create mode 100644 resource_pack/biomes/mesa_plateau_mutated.client_biome.json create mode 100644 resource_pack/biomes/mesa_plateau_stone.client_biome.json create mode 100644 resource_pack/biomes/mesa_plateau_stone_mutated.client_biome.json create mode 100644 resource_pack/biomes/mushroom_island.client_biome.json create mode 100644 resource_pack/biomes/mushroom_island_shore.client_biome.json create mode 100644 resource_pack/biomes/ocean.client_biome.json create mode 100644 resource_pack/biomes/pale_garden.client_biome.json create mode 100644 resource_pack/biomes/plains.client_biome.json create mode 100644 resource_pack/biomes/redwood_taiga_hills_mutated.client_biome.json create mode 100644 resource_pack/biomes/redwood_taiga_mutated.client_biome.json create mode 100644 resource_pack/biomes/river.client_biome.json create mode 100644 resource_pack/biomes/roofed_forest.client_biome.json create mode 100644 resource_pack/biomes/roofed_forest_mutated.client_biome.json create mode 100644 resource_pack/biomes/savanna.client_biome.json create mode 100644 resource_pack/biomes/savanna_mutated.client_biome.json create mode 100644 resource_pack/biomes/savanna_plateau.client_biome.json create mode 100644 resource_pack/biomes/savanna_plateau_mutated.client_biome.json create mode 100644 resource_pack/biomes/snowy_slopes.client_biome.json create mode 100644 resource_pack/biomes/soulsand_valley.client_biome.json create mode 100644 resource_pack/biomes/stone_beach.client_biome.json create mode 100644 resource_pack/biomes/stony_peaks.client_biome.json create mode 100644 resource_pack/biomes/sunflower_plains.client_biome.json create mode 100644 resource_pack/biomes/swampland.client_biome.json create mode 100644 resource_pack/biomes/swampland_mutated.client_biome.json create mode 100644 resource_pack/biomes/taiga.client_biome.json create mode 100644 resource_pack/biomes/taiga_hills.client_biome.json create mode 100644 resource_pack/biomes/taiga_mutated.client_biome.json create mode 100644 resource_pack/biomes/the_end.client_biome.json create mode 100644 resource_pack/biomes/warm_ocean.client_biome.json create mode 100644 resource_pack/biomes/warped_forest.client_biome.json create mode 100644 resource_pack/biomes_client.json create mode 100644 resource_pack/blocks.json create mode 100644 resource_pack/cameras/death.json create mode 100644 resource_pack/cameras/first_person.json create mode 100644 resource_pack/cameras/fixed_boom.json create mode 100644 resource_pack/cameras/follow_orbit.json create mode 100644 resource_pack/cameras/free.json create mode 100644 resource_pack/cameras/third_person.json create mode 100644 resource_pack/cameras/third_person_front.json create mode 100644 resource_pack/entity/agent.entity.json create mode 100644 resource_pack/entity/allay.entity.json create mode 100644 resource_pack/entity/armadillo.entity.json create mode 100644 resource_pack/entity/armor_stand.entity.json create mode 100644 resource_pack/entity/armor_stand.v1.0.entity.json create mode 100644 resource_pack/entity/arrow.entity.json create mode 100644 resource_pack/entity/axolotl.entity.json create mode 100644 resource_pack/entity/balloon.entity.json create mode 100644 resource_pack/entity/bat.entity.json create mode 100644 resource_pack/entity/bed.entity.json create mode 100644 resource_pack/entity/bee.entity.json create mode 100644 resource_pack/entity/blaze.entity.json create mode 100644 resource_pack/entity/blaze.v1.0.entity.json create mode 100644 resource_pack/entity/boat.entity.json create mode 100644 resource_pack/entity/bogged.entity.json create mode 100644 resource_pack/entity/breeze.entity.json create mode 100644 resource_pack/entity/breeze_wind_charge_projectile.entity.json create mode 100644 resource_pack/entity/camel.entity.json create mode 100644 resource_pack/entity/cat.entity.json create mode 100644 resource_pack/entity/cave_spider.entity.json create mode 100644 resource_pack/entity/cave_spider.v1.0.entity.json create mode 100644 resource_pack/entity/chest_boat.entity.json create mode 100644 resource_pack/entity/chest_minecart.entity.json create mode 100644 resource_pack/entity/chest_minecart.v1.0.entity.json create mode 100644 resource_pack/entity/chicken.entity.json create mode 100644 resource_pack/entity/chicken.v1.0.entity.json create mode 100644 resource_pack/entity/cod.entity.json create mode 100644 resource_pack/entity/command_block_minecart.entity.json create mode 100644 resource_pack/entity/command_block_minecart.v1.0.entity.json create mode 100644 resource_pack/entity/cow.entity.json create mode 100644 resource_pack/entity/cow.v1.0.entity.json create mode 100644 resource_pack/entity/creaking.entity.json create mode 100644 resource_pack/entity/creeper.entity.json create mode 100644 resource_pack/entity/creeper.v1.0.entity.json create mode 100644 resource_pack/entity/decorated_pot.entity.json create mode 100644 resource_pack/entity/dolphin.entity.json create mode 100644 resource_pack/entity/donkey_v1.entity.json create mode 100644 resource_pack/entity/donkey_v2.entity.json create mode 100644 resource_pack/entity/donkey_v3.entity.json create mode 100644 resource_pack/entity/dragon_fireball.entity.json create mode 100644 resource_pack/entity/drowned.entity.json create mode 100644 resource_pack/entity/drowned.v1.0.entity.json create mode 100644 resource_pack/entity/egg.entity.json create mode 100644 resource_pack/entity/elder_guardian.entity.json create mode 100644 resource_pack/entity/elder_guardian.entity.v1.0.json create mode 100644 resource_pack/entity/ender_crystal.entity.json create mode 100644 resource_pack/entity/ender_dragon.entity.json create mode 100644 resource_pack/entity/ender_eye.entity.json create mode 100644 resource_pack/entity/ender_pearl.entity.json create mode 100644 resource_pack/entity/enderman.entity.json create mode 100644 resource_pack/entity/enderman.v1.0.entity.json create mode 100644 resource_pack/entity/endermite.entity.json create mode 100644 resource_pack/entity/evocation_fang.entity.json create mode 100644 resource_pack/entity/evocation_illager.entity.json create mode 100644 resource_pack/entity/evocation_illager.v1.0.entity.json create mode 100644 resource_pack/entity/experience_bottle.entity.json create mode 100644 resource_pack/entity/experience_orb.entity.json create mode 100644 resource_pack/entity/fireball.entity.json create mode 100644 resource_pack/entity/fireworks_rocket.entity.json create mode 100644 resource_pack/entity/fishing_hook.entity.json create mode 100644 resource_pack/entity/fox.entity.json create mode 100644 resource_pack/entity/frog.entity.json create mode 100644 resource_pack/entity/ghast.entity.json create mode 100644 resource_pack/entity/glow_squid.entity.json create mode 100644 resource_pack/entity/goat.entity.json create mode 100644 resource_pack/entity/guardian.entity.json create mode 100644 resource_pack/entity/guardian.entity.v1.0.json create mode 100644 resource_pack/entity/hoglin.entity.json create mode 100644 resource_pack/entity/hopper_minecart.entity.json create mode 100644 resource_pack/entity/hopper_minecart.v1.0.entity.json create mode 100644 resource_pack/entity/horse_v1.entity.json create mode 100644 resource_pack/entity/horse_v2.entity.json create mode 100644 resource_pack/entity/horse_v3.entity.json create mode 100644 resource_pack/entity/husk.entity.json create mode 100644 resource_pack/entity/husk.v1.0.entity.json create mode 100644 resource_pack/entity/ice_bomb.entity.json create mode 100644 resource_pack/entity/iron_golem.entity.json create mode 100644 resource_pack/entity/leash_knot.entity.json create mode 100644 resource_pack/entity/lingering_potion.entity.json create mode 100644 resource_pack/entity/llama.entity.json create mode 100644 resource_pack/entity/llama.v1.0.entity.json create mode 100644 resource_pack/entity/llama_spit.entity.json create mode 100644 resource_pack/entity/location_pointer_idle.entity.json create mode 100644 resource_pack/entity/location_pointer_selected.entity.json create mode 100644 resource_pack/entity/magma_cube.entity.json create mode 100644 resource_pack/entity/map_marker.json create mode 100644 resource_pack/entity/minecart.entity.json create mode 100644 resource_pack/entity/minecart.v1.0.entity.json create mode 100644 resource_pack/entity/mooshroom.entity.json create mode 100644 resource_pack/entity/mooshroom.v1.0.entity.json create mode 100644 resource_pack/entity/mule_v1.entity.json create mode 100644 resource_pack/entity/mule_v2.entity.json create mode 100644 resource_pack/entity/mule_v3.entity.json create mode 100644 resource_pack/entity/npc.entity.json create mode 100644 resource_pack/entity/ocelot.entity.json create mode 100644 resource_pack/entity/ocelot.v1.0.entity.json create mode 100644 resource_pack/entity/panda.entity.json create mode 100644 resource_pack/entity/parrot.entity.json create mode 100644 resource_pack/entity/phantom.entity.json create mode 100644 resource_pack/entity/pig.entity.json create mode 100644 resource_pack/entity/pig.v1.0.entity.json create mode 100644 resource_pack/entity/piglin.entity.json create mode 100644 resource_pack/entity/piglin_brute.entity.json create mode 100644 resource_pack/entity/pillager.entity.json create mode 100644 resource_pack/entity/player.entity.json create mode 100644 resource_pack/entity/polar_bear.entity.json create mode 100644 resource_pack/entity/pufferfish.entity.json create mode 100644 resource_pack/entity/pufferfish.v1.0.entity.json create mode 100644 resource_pack/entity/rabbit.entity.json create mode 100644 resource_pack/entity/rabbit.v1.0.entity.json create mode 100644 resource_pack/entity/ravager.entity.json create mode 100644 resource_pack/entity/ruler_idle.entity.json create mode 100644 resource_pack/entity/ruler_pointer_selected.entity.json create mode 100644 resource_pack/entity/salmon.entity.json create mode 100644 resource_pack/entity/sheep.entity.json create mode 100644 resource_pack/entity/sheep.v1.0.entity.json create mode 100644 resource_pack/entity/shulker.entity.json create mode 100644 resource_pack/entity/shulker.v1.0.entity.json create mode 100644 resource_pack/entity/shulker_bullet.entity.json create mode 100644 resource_pack/entity/silverfish.entity.json create mode 100644 resource_pack/entity/skeleton.entity.json create mode 100644 resource_pack/entity/skeleton.v1.0.entity.json create mode 100644 resource_pack/entity/skeleton_horse_v1.entity.json create mode 100644 resource_pack/entity/skeleton_horse_v2.entity.json create mode 100644 resource_pack/entity/skeleton_horse_v3.entity.json create mode 100644 resource_pack/entity/skull.entity.json create mode 100644 resource_pack/entity/slime.entity.json create mode 100644 resource_pack/entity/small_fireball.entity.json create mode 100644 resource_pack/entity/sniffer.entity.json create mode 100644 resource_pack/entity/snow_golem.entity.json create mode 100644 resource_pack/entity/snow_golem.v1.0.entity.json create mode 100644 resource_pack/entity/snowball.entity.json create mode 100644 resource_pack/entity/spider.entity.json create mode 100644 resource_pack/entity/spider.v1.0.entity.json create mode 100644 resource_pack/entity/splash_potion.entity.json create mode 100644 resource_pack/entity/squid.entity.json create mode 100644 resource_pack/entity/stray.entity.json create mode 100644 resource_pack/entity/stray.v1.0.entity.json create mode 100644 resource_pack/entity/strider.entity.json create mode 100644 resource_pack/entity/tadpole.entity.json create mode 100644 resource_pack/entity/thrown_trident.entity.json create mode 100644 resource_pack/entity/tnt_minecart.entity.json create mode 100644 resource_pack/entity/tnt_minecart.v1.0.entity.json create mode 100644 resource_pack/entity/trader_llama.entity.json create mode 100644 resource_pack/entity/trial_spawner.entity.json create mode 100644 resource_pack/entity/tripod_camera.entity.json create mode 100644 resource_pack/entity/tropicalfish.entity.json create mode 100644 resource_pack/entity/turtle.entity.json create mode 100644 resource_pack/entity/vex.entity.json create mode 100644 resource_pack/entity/vex.v1.0.entity.json create mode 100644 resource_pack/entity/vex.v1.0.json create mode 100644 resource_pack/entity/villager.entity.json create mode 100644 resource_pack/entity/villager.v1.0.entity.json create mode 100644 resource_pack/entity/villager_v2.entity.json create mode 100644 resource_pack/entity/vindicator.entity.json create mode 100644 resource_pack/entity/vindicator.v1.0.entity.json create mode 100644 resource_pack/entity/wandering_trader.entity.json create mode 100644 resource_pack/entity/warden.entity.json create mode 100644 resource_pack/entity/wind_charge_projectile.entity.json create mode 100644 resource_pack/entity/witch.entity.json create mode 100644 resource_pack/entity/witch.v1.0.entity.json create mode 100644 resource_pack/entity/wither.entity.json create mode 100644 resource_pack/entity/wither.v1.0.entity.json create mode 100644 resource_pack/entity/wither_skeleton.entity.json create mode 100644 resource_pack/entity/wither_skeleton.v1.0.entity.json create mode 100644 resource_pack/entity/wither_skull.entity.json create mode 100644 resource_pack/entity/wither_skull_dangerous.entity.json create mode 100644 resource_pack/entity/wolf.entity.json create mode 100644 resource_pack/entity/zoglin.entity.json create mode 100644 resource_pack/entity/zombie.entity.json create mode 100644 resource_pack/entity/zombie.v1.0.entity.json create mode 100644 resource_pack/entity/zombie_horse_v1.entity.json create mode 100644 resource_pack/entity/zombie_horse_v2.entity.json create mode 100644 resource_pack/entity/zombie_horse_v3.entity.json create mode 100644 resource_pack/entity/zombie_pigman.entity.json create mode 100644 resource_pack/entity/zombie_pigman.v1.0.entity.json create mode 100644 resource_pack/entity/zombie_villager.entity.json create mode 100644 resource_pack/entity/zombie_villager.v1.0.entity.json create mode 100644 resource_pack/entity/zombie_villager_v2.entity.json create mode 100644 resource_pack/fogs/bamboo_jungle_fog_setting.json create mode 100644 resource_pack/fogs/bamboo_jungle_hills_fog_setting.json create mode 100644 resource_pack/fogs/basalt_deltas_fog_setting.json create mode 100644 resource_pack/fogs/beach_fog_setting.json create mode 100644 resource_pack/fogs/birch_forest_fog_setting.json create mode 100644 resource_pack/fogs/birch_forest_hills_fog_setting.json create mode 100644 resource_pack/fogs/cherry_grove_fog_setting.json create mode 100644 resource_pack/fogs/cold_beach_fog_setting.json create mode 100644 resource_pack/fogs/cold_ocean_fog_setting.json create mode 100644 resource_pack/fogs/cold_taiga_fog_setting.json create mode 100644 resource_pack/fogs/cold_taiga_hills_fog_setting.json create mode 100644 resource_pack/fogs/cold_taiga_mutated_fog_setting.json create mode 100644 resource_pack/fogs/crimson_forest_fog_setting.json create mode 100644 resource_pack/fogs/deep_cold_ocean_fog_setting.json create mode 100644 resource_pack/fogs/deep_frozen_ocean_fog_setting.json create mode 100644 resource_pack/fogs/deep_lukewarm_ocean_fog_setting.json create mode 100644 resource_pack/fogs/deep_ocean_fog_setting.json create mode 100644 resource_pack/fogs/deep_warm_ocean_fog_setting.json create mode 100644 resource_pack/fogs/default_fog_setting.json create mode 100644 resource_pack/fogs/desert_fog_setting.json create mode 100644 resource_pack/fogs/desert_hills_fog_setting.json create mode 100644 resource_pack/fogs/extreme_hills_edge_fog_setting.json create mode 100644 resource_pack/fogs/extreme_hills_fog_setting.json create mode 100644 resource_pack/fogs/extreme_hills_mutated_fog_setting.json create mode 100644 resource_pack/fogs/extreme_hills_plus_trees_fog_setting.json create mode 100644 resource_pack/fogs/extreme_hills_plus_trees_mutated_fog_setting.json create mode 100644 resource_pack/fogs/flower_forest_fog_setting.json create mode 100644 resource_pack/fogs/forest_fog_setting.json create mode 100644 resource_pack/fogs/forest_hills_fog_setting.json create mode 100644 resource_pack/fogs/frozen_ocean_fog_setting.json create mode 100644 resource_pack/fogs/frozen_river_fog_setting.json create mode 100644 resource_pack/fogs/hell_fog_setting.json create mode 100644 resource_pack/fogs/ice_mountains_fog_setting.json create mode 100644 resource_pack/fogs/ice_plains_fog_setting.json create mode 100644 resource_pack/fogs/ice_plains_spikes_fog_setting.json create mode 100644 resource_pack/fogs/jungle_edge_fog_setting.json create mode 100644 resource_pack/fogs/jungle_fog_setting.json create mode 100644 resource_pack/fogs/jungle_hills_fog_setting.json create mode 100644 resource_pack/fogs/jungle_mutated_fog_setting.json create mode 100644 resource_pack/fogs/lukewarm_ocean_fog_setting.json create mode 100644 resource_pack/fogs/mangrove_swamp_fog_setting.json create mode 100644 resource_pack/fogs/mega_spruce_taiga_fog_setting.json create mode 100644 resource_pack/fogs/mega_spruse_taiga_mutated_fog_setting.json create mode 100644 resource_pack/fogs/mega_taiga_fog_setting.json create mode 100644 resource_pack/fogs/mega_taiga_hills_fog_setting.json create mode 100644 resource_pack/fogs/mega_taiga_mutated_fog_setting.json create mode 100644 resource_pack/fogs/mesa_bryce_fog_setting.json create mode 100644 resource_pack/fogs/mesa_fog_setting.json create mode 100644 resource_pack/fogs/mesa_mutated_fog_setting.json create mode 100644 resource_pack/fogs/mesa_plateau_fog_setting.json create mode 100644 resource_pack/fogs/mesa_plateau_stone_fog_setting.json create mode 100644 resource_pack/fogs/mushroom_island_fog_setting.json create mode 100644 resource_pack/fogs/mushroom_island_shore_fog_setting.json create mode 100644 resource_pack/fogs/ocean_fog_setting.json create mode 100644 resource_pack/fogs/pale_garden_fog_setting.json create mode 100644 resource_pack/fogs/plains_fog_setting.json create mode 100644 resource_pack/fogs/powder_snow_fog_setting.json create mode 100644 resource_pack/fogs/river_fog_setting.json create mode 100644 resource_pack/fogs/roofed_forest_fog_setting.json create mode 100644 resource_pack/fogs/savanna_fog_setting.json create mode 100644 resource_pack/fogs/savanna_mutated_fog_setting.json create mode 100644 resource_pack/fogs/savanna_plateau_fog_setting.json create mode 100644 resource_pack/fogs/soulsand_valley_fog_setting.json create mode 100644 resource_pack/fogs/stone_beach_fog_setting.json create mode 100644 resource_pack/fogs/sunflower_plains_fog_setting.json create mode 100644 resource_pack/fogs/swampland_fog_setting.json create mode 100644 resource_pack/fogs/swampland_mutated_fog_setting.json create mode 100644 resource_pack/fogs/taiga_fog_setting.json create mode 100644 resource_pack/fogs/taiga_hills_fog_setting.json create mode 100644 resource_pack/fogs/taiga_mutated_fog_setting.json create mode 100644 resource_pack/fogs/the_end_fog_setting.json create mode 100644 resource_pack/fogs/warm_ocean_fog_setting.json create mode 100644 resource_pack/fogs/warped_forest_fog_setting.json create mode 100644 resource_pack/font/emoticons.json create mode 100644 resource_pack/font/font_metadata.json create mode 100644 resource_pack/items/apple.json create mode 100644 resource_pack/items/appleEnchanted.json create mode 100644 resource_pack/items/baked_potato.json create mode 100644 resource_pack/items/beef.json create mode 100644 resource_pack/items/beetroot.json create mode 100644 resource_pack/items/beetroot_seeds.json create mode 100644 resource_pack/items/beetroot_soup.json create mode 100644 resource_pack/items/board.json create mode 100644 resource_pack/items/bread.json create mode 100644 resource_pack/items/camera.json create mode 100644 resource_pack/items/carrot.json create mode 100644 resource_pack/items/chicken.json create mode 100644 resource_pack/items/chorus_fruit.json create mode 100644 resource_pack/items/clownfish.json create mode 100644 resource_pack/items/cooked_beef.json create mode 100644 resource_pack/items/cooked_chicken.json create mode 100644 resource_pack/items/cooked_fish.json create mode 100644 resource_pack/items/cooked_porkchop.json create mode 100644 resource_pack/items/cooked_rabbit.json create mode 100644 resource_pack/items/cooked_salmon.json create mode 100644 resource_pack/items/cookie.json create mode 100644 resource_pack/items/dried_kelp.json create mode 100644 resource_pack/items/fish.json create mode 100644 resource_pack/items/glow_berries.json create mode 100644 resource_pack/items/golden_apple.json create mode 100644 resource_pack/items/golden_carrot.json create mode 100644 resource_pack/items/honey_bottle.json create mode 100644 resource_pack/items/honeycomb.json create mode 100644 resource_pack/items/melon.json create mode 100644 resource_pack/items/melon_seeds.json create mode 100644 resource_pack/items/mushroom_stew.json create mode 100644 resource_pack/items/muttonCooked.json create mode 100644 resource_pack/items/muttonRaw.json create mode 100644 resource_pack/items/nether_wart.json create mode 100644 resource_pack/items/photo.json create mode 100644 resource_pack/items/pitcher_pod.json create mode 100644 resource_pack/items/poisonous_potato.json create mode 100644 resource_pack/items/porkchop.json create mode 100644 resource_pack/items/portfolio.json create mode 100644 resource_pack/items/potato.json create mode 100644 resource_pack/items/pufferfish.json create mode 100644 resource_pack/items/pumpkin_pie.json create mode 100644 resource_pack/items/pumpkin_seeds.json create mode 100644 resource_pack/items/rabbit.json create mode 100644 resource_pack/items/rabbit_stew.json create mode 100644 resource_pack/items/rotten_flesh.json create mode 100644 resource_pack/items/salmon.json create mode 100644 resource_pack/items/spider_eye.json create mode 100644 resource_pack/items/suspicious_stew.json create mode 100644 resource_pack/items/sweet_berries.json create mode 100644 resource_pack/items/torchflower_seeds.json create mode 100644 resource_pack/items/wheat_seeds.json create mode 100644 resource_pack/library/categories.json create mode 100644 resource_pack/loading_messages.json create mode 100644 resource_pack/materials/common.json create mode 100644 resource_pack/materials/fancy.json create mode 100644 resource_pack/materials/gameface.json create mode 100644 resource_pack/materials/sad.json create mode 100644 resource_pack/models/entity/allay.geo.json create mode 100644 resource_pack/models/entity/armadillo.geo.json create mode 100644 resource_pack/models/entity/armor_stand.geo.json create mode 100644 resource_pack/models/entity/arrow.geo.json create mode 100644 resource_pack/models/entity/axolotl.geo.json create mode 100644 resource_pack/models/entity/balloon.geo.json create mode 100644 resource_pack/models/entity/bat.geo.json create mode 100644 resource_pack/models/entity/bat_v2.geo.json create mode 100644 resource_pack/models/entity/bee.geo.json create mode 100644 resource_pack/models/entity/blaze.geo.json create mode 100644 resource_pack/models/entity/bogged.geo.json create mode 100644 resource_pack/models/entity/bogged_armor.geo.json create mode 100644 resource_pack/models/entity/bow.geo.json create mode 100644 resource_pack/models/entity/breeze.geo.json create mode 100644 resource_pack/models/entity/camel.geo.json create mode 100644 resource_pack/models/entity/cat.geo.json create mode 100644 resource_pack/models/entity/chicken.geo.json create mode 100644 resource_pack/models/entity/cod.geo.json create mode 100644 resource_pack/models/entity/cow.geo.json create mode 100644 resource_pack/models/entity/cow_v1.0.geo.json create mode 100644 resource_pack/models/entity/creaking.geo.json create mode 100644 resource_pack/models/entity/creeper.geo.json create mode 100644 resource_pack/models/entity/creeper.v1.0.geo.json create mode 100644 resource_pack/models/entity/crossbow.geo.json create mode 100644 resource_pack/models/entity/dolphin.geo.json create mode 100644 resource_pack/models/entity/drowned.geo.json create mode 100644 resource_pack/models/entity/drowned_v1.0.geo.json create mode 100644 resource_pack/models/entity/ender_crystal.geo.json create mode 100644 resource_pack/models/entity/ender_dragon.geo.json create mode 100644 resource_pack/models/entity/enderman.geo.json create mode 100644 resource_pack/models/entity/enderman_v1.0.geo.json create mode 100644 resource_pack/models/entity/endermite.geo.json create mode 100644 resource_pack/models/entity/evocation_fang.json create mode 100644 resource_pack/models/entity/evoker.geo.json create mode 100644 resource_pack/models/entity/evoker_v1.0.geo.json create mode 100644 resource_pack/models/entity/experience_orb.geo.json create mode 100644 resource_pack/models/entity/fireball.geo.json create mode 100644 resource_pack/models/entity/fireworks_rocket.geo.json create mode 100644 resource_pack/models/entity/fishing_hook.geo.json create mode 100644 resource_pack/models/entity/fox.geo.json create mode 100644 resource_pack/models/entity/frog.geo.json create mode 100644 resource_pack/models/entity/ghast.geo.json create mode 100644 resource_pack/models/entity/glow_squid.geo.json create mode 100644 resource_pack/models/entity/goat.geo.json create mode 100644 resource_pack/models/entity/guardian.geo.json create mode 100644 resource_pack/models/entity/guardian.v1.0.geo.json create mode 100644 resource_pack/models/entity/hoglin.geo.json create mode 100644 resource_pack/models/entity/horse_v1.geo.json create mode 100644 resource_pack/models/entity/horse_v2.geo.json create mode 100644 resource_pack/models/entity/horse_v3.geo.json create mode 100644 resource_pack/models/entity/husk.geo.json create mode 100644 resource_pack/models/entity/husk.v1.0.geo.json create mode 100644 resource_pack/models/entity/item_sprite.geo.json create mode 100644 resource_pack/models/entity/leash_knot.geo.json create mode 100644 resource_pack/models/entity/llama.geo.json create mode 100644 resource_pack/models/entity/llama_spit.json create mode 100644 resource_pack/models/entity/llama_v1.0.geo.json create mode 100644 resource_pack/models/entity/location_pointer_idle.geo.json create mode 100644 resource_pack/models/entity/location_pointer_selected.geo.json create mode 100644 resource_pack/models/entity/magma_cube.geo.json create mode 100644 resource_pack/models/entity/magma_cube_v2.geo.json create mode 100644 resource_pack/models/entity/map_marker.geo.json create mode 100644 resource_pack/models/entity/minecart.geo.json create mode 100644 resource_pack/models/entity/minecart_v1.0.geo.json create mode 100644 resource_pack/models/entity/mooshroom.geo.json create mode 100644 resource_pack/models/entity/mooshroom_v1.0.geo.json create mode 100644 resource_pack/models/entity/npc.geo.json create mode 100644 resource_pack/models/entity/ocelot.geo.json create mode 100644 resource_pack/models/entity/ocelot_v1.0.geo.json create mode 100644 resource_pack/models/entity/panda.geo.json create mode 100644 resource_pack/models/entity/parrot.geo.json create mode 100644 resource_pack/models/entity/phantom.geo.json create mode 100644 resource_pack/models/entity/pig.geo.json create mode 100644 resource_pack/models/entity/pig.v3.geo.json create mode 100644 resource_pack/models/entity/pig_v1.0.geo.json create mode 100644 resource_pack/models/entity/piglin.geo.json create mode 100644 resource_pack/models/entity/pillager.geo.json create mode 100644 resource_pack/models/entity/player_armor.json create mode 100644 resource_pack/models/entity/polar_bear.geo.json create mode 100644 resource_pack/models/entity/pufferfish.geo.json create mode 100644 resource_pack/models/entity/pufferfish_v1.0.geo.json create mode 100644 resource_pack/models/entity/rabbit.geo.json create mode 100644 resource_pack/models/entity/rabbit_v1.0.geo.json create mode 100644 resource_pack/models/entity/ravager.geo.json create mode 100644 resource_pack/models/entity/ruler_idle.geo.json create mode 100644 resource_pack/models/entity/ruler_pointer_selected.geo.json create mode 100644 resource_pack/models/entity/saddle.geo.json create mode 100644 resource_pack/models/entity/salmon.geo.json create mode 100644 resource_pack/models/entity/sheep.geo.json create mode 100644 resource_pack/models/entity/sheep_v1.0.geo.json create mode 100644 resource_pack/models/entity/shield.geo.json create mode 100644 resource_pack/models/entity/shulker.geo.json create mode 100644 resource_pack/models/entity/shulker_bullet.geo.json create mode 100644 resource_pack/models/entity/shulker_v1.0.geo.json create mode 100644 resource_pack/models/entity/silverfish.geo.json create mode 100644 resource_pack/models/entity/skeleton.geo.json create mode 100644 resource_pack/models/entity/skeleton.v1.0.geo.json create mode 100644 resource_pack/models/entity/slime.geo.json create mode 100644 resource_pack/models/entity/slime_armor.geo.json create mode 100644 resource_pack/models/entity/sniffer.geo.json create mode 100644 resource_pack/models/entity/snow_golem.geo.json create mode 100644 resource_pack/models/entity/snow_golem.v1.0.geo.json create mode 100644 resource_pack/models/entity/spider.geo.json create mode 100644 resource_pack/models/entity/spider_v1.0.geo.json create mode 100644 resource_pack/models/entity/spyglass.geo.json create mode 100644 resource_pack/models/entity/squid.geo.json create mode 100644 resource_pack/models/entity/stray.geo.json create mode 100644 resource_pack/models/entity/stray_armor.geo.json create mode 100644 resource_pack/models/entity/stray_armor_v1.0.geo.json create mode 100644 resource_pack/models/entity/stray_v1.0.geo.json create mode 100644 resource_pack/models/entity/strider.geo.json create mode 100644 resource_pack/models/entity/tadpole.geo.json create mode 100644 resource_pack/models/entity/trident.geo.json create mode 100644 resource_pack/models/entity/tripod.geo.json create mode 100644 resource_pack/models/entity/tropical_fish.geo.json create mode 100644 resource_pack/models/entity/turtle.geo.json create mode 100644 resource_pack/models/entity/vex.geo.json create mode 100644 resource_pack/models/entity/vex.v1.0.geo.json create mode 100644 resource_pack/models/entity/villager.geo.json create mode 100644 resource_pack/models/entity/villager_v1.0.geo.json create mode 100644 resource_pack/models/entity/villager_v2.geo.json create mode 100644 resource_pack/models/entity/vindicator.geo.json create mode 100644 resource_pack/models/entity/vindicator_v1.0.geo.json create mode 100644 resource_pack/models/entity/warden.geo.json create mode 100644 resource_pack/models/entity/wind_charge.geo.json create mode 100644 resource_pack/models/entity/witch.geo.json create mode 100644 resource_pack/models/entity/witch_v1.0.geo.json create mode 100644 resource_pack/models/entity/wither_boss.geo.json create mode 100644 resource_pack/models/entity/wither_boss_armor.geo.json create mode 100644 resource_pack/models/entity/wither_boss_armor.v1.0.geo.json create mode 100644 resource_pack/models/entity/wither_skeleton.geo.json create mode 100644 resource_pack/models/entity/wither_skeleton.v1.0.geo.json create mode 100644 resource_pack/models/entity/wither_skull.geo.json create mode 100644 resource_pack/models/entity/wolf.geo.json create mode 100644 resource_pack/models/entity/wolf_armor.geo.json create mode 100644 resource_pack/models/entity/zombie.geo.json create mode 100644 resource_pack/models/entity/zombie.v1.0.geo.json create mode 100644 resource_pack/models/entity/zombie_pigman.geo.json create mode 100644 resource_pack/models/entity/zombie_pigman.v1.0.geo.json create mode 100644 resource_pack/models/entity/zombie_pigman_baby.geo.json create mode 100644 resource_pack/models/entity/zombie_pigman_baby.v1.0.geo.json create mode 100644 resource_pack/models/entity/zombie_villager.geo.json create mode 100644 resource_pack/models/entity/zombie_villager.v1.0.geo.json create mode 100644 resource_pack/models/entity/zombie_villager_v2.geo.json create mode 100644 resource_pack/models/mobs.json create mode 100644 resource_pack/particles/arrowspell.json create mode 100644 resource_pack/particles/azalea_leaves_particle.json create mode 100644 resource_pack/particles/balloon_gas.json create mode 100644 resource_pack/particles/basic_bubble.json create mode 100644 resource_pack/particles/basic_bubble_manual.json create mode 100644 resource_pack/particles/basic_crit.json create mode 100644 resource_pack/particles/basic_flame.json create mode 100644 resource_pack/particles/basic_portal.json create mode 100644 resource_pack/particles/basic_smoke.json create mode 100644 resource_pack/particles/biome_tinted_leaves_particle.json create mode 100644 resource_pack/particles/bleach.json create mode 100644 resource_pack/particles/block_destruct.json create mode 100644 resource_pack/particles/block_slide.json create mode 100644 resource_pack/particles/blue_flame.json create mode 100644 resource_pack/particles/breaking_item_icon.json create mode 100644 resource_pack/particles/breaking_item_terrain.json create mode 100644 resource_pack/particles/breeze_ground_particle.json create mode 100644 resource_pack/particles/breeze_wind_explosion.json create mode 100644 resource_pack/particles/bubble_column_bubble.json create mode 100644 resource_pack/particles/bubble_column_down.json create mode 100644 resource_pack/particles/bubble_column_up.json create mode 100644 resource_pack/particles/camera_shoot_explosion.json create mode 100644 resource_pack/particles/campfire_smoke.json create mode 100644 resource_pack/particles/campfire_smoke_tall.json create mode 100644 resource_pack/particles/candle_flame.json create mode 100644 resource_pack/particles/cauldron_bubble.json create mode 100644 resource_pack/particles/cauldron_splash.json create mode 100644 resource_pack/particles/cauldronspell.json create mode 100644 resource_pack/particles/cherry_leaves_particle.json create mode 100644 resource_pack/particles/colored_flame.json create mode 100644 resource_pack/particles/conduit.json create mode 100644 resource_pack/particles/conduit_absorb.json create mode 100644 resource_pack/particles/conduit_attack.json create mode 100644 resource_pack/particles/creaking_crumble_body.json create mode 100644 resource_pack/particles/creaking_crumble_head.json create mode 100644 resource_pack/particles/creaking_heart_trail.json create mode 100644 resource_pack/particles/critical_hit.json create mode 100644 resource_pack/particles/crop_growth.json create mode 100644 resource_pack/particles/crop_growth_area.json create mode 100644 resource_pack/particles/dolphin_move.json create mode 100644 resource_pack/particles/dragon_breath_fire.json create mode 100644 resource_pack/particles/dragon_breath_lingering.json create mode 100644 resource_pack/particles/dragon_breath_trail.json create mode 100644 resource_pack/particles/dragon_death_explosion.json create mode 100644 resource_pack/particles/dragon_destroy_block.json create mode 100644 resource_pack/particles/dragon_dying_explosion.json create mode 100644 resource_pack/particles/dripstone_lava_drip.json create mode 100644 resource_pack/particles/dripstone_water_drip.json create mode 100644 resource_pack/particles/dust_plume.json create mode 100644 resource_pack/particles/editor_selected_marker.particle.json create mode 100644 resource_pack/particles/electric_spark.json create mode 100644 resource_pack/particles/enchanting_table_particle.json create mode 100644 resource_pack/particles/end_chest.json create mode 100644 resource_pack/particles/endrod.json create mode 100644 resource_pack/particles/evaporation_elephant_toothpaste.json create mode 100644 resource_pack/particles/evocation_fang.json create mode 100644 resource_pack/particles/evoker_spell.json create mode 100644 resource_pack/particles/explosion_cauldron.json create mode 100644 resource_pack/particles/explosion_death.json create mode 100644 resource_pack/particles/explosion_egg_destroy.json create mode 100644 resource_pack/particles/explosion_eyeofender_death.json create mode 100644 resource_pack/particles/explosion_labtable_fire.json create mode 100644 resource_pack/particles/explosion_level.json create mode 100644 resource_pack/particles/explosion_manual.json create mode 100644 resource_pack/particles/eye_of_ender_bubble.json create mode 100644 resource_pack/particles/eyeblossom_close.json create mode 100644 resource_pack/particles/eyeblossom_open.json create mode 100644 resource_pack/particles/falling_border_dust.json create mode 100644 resource_pack/particles/falling_dust.json create mode 100644 resource_pack/particles/falling_dust_concrete_powder.json create mode 100644 resource_pack/particles/falling_dust_dragon_egg.json create mode 100644 resource_pack/particles/falling_dust_gravel.json create mode 100644 resource_pack/particles/falling_dust_red_sand.json create mode 100644 resource_pack/particles/falling_dust_sand.json create mode 100644 resource_pack/particles/falling_dust_scaffolding.json create mode 100644 resource_pack/particles/falling_dust_top_snow.json create mode 100644 resource_pack/particles/fish_hook.json create mode 100644 resource_pack/particles/fish_pos.json create mode 100644 resource_pack/particles/glow.json create mode 100644 resource_pack/particles/guardian_attack.json create mode 100644 resource_pack/particles/guardian_water_move.json create mode 100644 resource_pack/particles/heart.json create mode 100644 resource_pack/particles/honey_drip.json create mode 100644 resource_pack/particles/huge_explosion_lab_misc.json create mode 100644 resource_pack/particles/huge_explosion_level.json create mode 100644 resource_pack/particles/ice_evaporation.json create mode 100644 resource_pack/particles/infested_ambient.json create mode 100644 resource_pack/particles/infested_emitter.json create mode 100644 resource_pack/particles/ink.json create mode 100644 resource_pack/particles/knockback_roar.json create mode 100644 resource_pack/particles/lab_table_heatblock_dust.json create mode 100644 resource_pack/particles/lab_table_misc_mystical.json create mode 100644 resource_pack/particles/large_explosion_level.json create mode 100644 resource_pack/particles/lava_drip.json create mode 100644 resource_pack/particles/lava_particle.json create mode 100644 resource_pack/particles/llama_spit.json create mode 100644 resource_pack/particles/magnesium_salts.json create mode 100644 resource_pack/particles/mob_block_spawn.json create mode 100644 resource_pack/particles/mob_portal.json create mode 100644 resource_pack/particles/mobflame.json create mode 100644 resource_pack/particles/mobflame_single.json create mode 100644 resource_pack/particles/mobspell.json create mode 100644 resource_pack/particles/mobspell_ambient.json create mode 100644 resource_pack/particles/mobspell_lingering.json create mode 100644 resource_pack/particles/mycelium_dust.json create mode 100644 resource_pack/particles/nectar_drip.json create mode 100644 resource_pack/particles/note.json create mode 100644 resource_pack/particles/obsidian_glow_dust.json create mode 100644 resource_pack/particles/obsidian_tear.json create mode 100644 resource_pack/particles/ominous_spawning_particle.json create mode 100644 resource_pack/particles/oozing_ambient.json create mode 100644 resource_pack/particles/oozing_emitter.json create mode 100644 resource_pack/particles/pale_oak_leaves_particle.json create mode 100644 resource_pack/particles/phantom_trail.json create mode 100644 resource_pack/particles/portal_directional.json create mode 100644 resource_pack/particles/portal_east_west.json create mode 100644 resource_pack/particles/portal_north_south.json create mode 100644 resource_pack/particles/portal_reverse.json create mode 100644 resource_pack/particles/raid_omen_ambient.json create mode 100644 resource_pack/particles/raid_omen_emitter.json create mode 100644 resource_pack/particles/rain_splash.json create mode 100644 resource_pack/particles/redstone_ore_dust.json create mode 100644 resource_pack/particles/redstone_repeater_dust.json create mode 100644 resource_pack/particles/redstone_torch_dust.json create mode 100644 resource_pack/particles/redstone_wire_dust.json create mode 100644 resource_pack/particles/rising_border_dust.json create mode 100644 resource_pack/particles/sculk_charge.json create mode 100644 resource_pack/particles/sculk_charge_pop.json create mode 100644 resource_pack/particles/sculk_sensor_redstone_particle.json create mode 100644 resource_pack/particles/sculk_soul.json create mode 100644 resource_pack/particles/shriek.json create mode 100644 resource_pack/particles/shulker_bullet.json create mode 100644 resource_pack/particles/silverfish_grief.json create mode 100644 resource_pack/particles/small_flame.json create mode 100644 resource_pack/particles/small_soul_fire_flame.json create mode 100644 resource_pack/particles/smash_ground_particle.json create mode 100644 resource_pack/particles/smash_ground_particle_center.json create mode 100644 resource_pack/particles/sneeze.json create mode 100644 resource_pack/particles/snowflake.json create mode 100644 resource_pack/particles/sonic_explosion.json create mode 100644 resource_pack/particles/soul.json create mode 100644 resource_pack/particles/sparkler.json create mode 100644 resource_pack/particles/splashpotionspell.json create mode 100644 resource_pack/particles/sponge_absorb_bubble.json create mode 100644 resource_pack/particles/spore_blossom_ambient_block_actor.json create mode 100644 resource_pack/particles/spore_blossom_shower.json create mode 100644 resource_pack/particles/squid_flee.json create mode 100644 resource_pack/particles/squid_ink_bubble.json create mode 100644 resource_pack/particles/squid_move.json create mode 100644 resource_pack/particles/stunned.json create mode 100644 resource_pack/particles/totem.json create mode 100644 resource_pack/particles/totem_manual.json create mode 100644 resource_pack/particles/trial_omen_ambient.json create mode 100644 resource_pack/particles/trial_omen_emitter.json create mode 100644 resource_pack/particles/trial_omen_single.json create mode 100644 resource_pack/particles/trial_spawner_detection.particle.json create mode 100644 resource_pack/particles/trial_spawner_detection_ominous.particle.json create mode 100644 resource_pack/particles/underwater_torch_bubble.json create mode 100644 resource_pack/particles/vault_connection.json create mode 100644 resource_pack/particles/vibration_signal.json create mode 100644 resource_pack/particles/villager_angry.json create mode 100644 resource_pack/particles/villager_happy.json create mode 100644 resource_pack/particles/warden_dig.particle.json create mode 100644 resource_pack/particles/water_drip.json create mode 100644 resource_pack/particles/water_evaporation_actor.json create mode 100644 resource_pack/particles/water_evaporation_bucket.json create mode 100644 resource_pack/particles/water_evaporation_manual.json create mode 100644 resource_pack/particles/water_splash.json create mode 100644 resource_pack/particles/water_splash_manual.json create mode 100644 resource_pack/particles/water_wake.json create mode 100644 resource_pack/particles/wax.json create mode 100644 resource_pack/particles/weaving_ambient.json create mode 100644 resource_pack/particles/weaving_emitter.json create mode 100644 resource_pack/particles/white_smoke.json create mode 100644 resource_pack/particles/wind_charged_ambient.json create mode 100644 resource_pack/particles/wind_charged_emitter.json create mode 100644 resource_pack/particles/wind_explosion.json create mode 100644 resource_pack/particles/witchspell.json create mode 100644 resource_pack/particles/wither_boss_invulnerable.json create mode 100644 resource_pack/pieces/alex_hair/alex_hair.meta.json create mode 100644 resource_pack/pieces/alex_hair/alex_hair.store_info.json create mode 100644 resource_pack/pieces/alex_pants/alex_pants.meta.json create mode 100644 resource_pack/pieces/alex_pants/alex_pants.store_info.json create mode 100644 resource_pack/pieces/alex_shirt/alex_shirt.meta.json create mode 100644 resource_pack/pieces/alex_shirt/alex_shirt.store_info.json create mode 100644 resource_pack/pieces/alex_shoes/alex_shoes.meta.json create mode 100644 resource_pack/pieces/alex_shoes/alex_shoes.store_info.json create mode 100644 resource_pack/pieces/alex_skin/alex_skin.meta.json create mode 100644 resource_pack/pieces/alex_skin/skin_alex.store_info.json create mode 100644 resource_pack/pieces/ari_hair/ari_hair.meta.json create mode 100644 resource_pack/pieces/ari_hair/ari_hair.store_info.json create mode 100644 resource_pack/pieces/ari_pants/ari_pants.meta.json create mode 100644 resource_pack/pieces/ari_pants/ari_pants.store_info.json create mode 100644 resource_pack/pieces/ari_shirt/ari_shirt.meta.json create mode 100644 resource_pack/pieces/ari_shirt/ari_shirt.store_info.json create mode 100644 resource_pack/pieces/ari_shoes/ari_shoes.meta.json create mode 100644 resource_pack/pieces/ari_shoes/ari_shoes.store_info.json create mode 100644 resource_pack/pieces/ari_skin/ari_skin.meta.json create mode 100644 resource_pack/pieces/ari_skin/ari_skin.store_info.json create mode 100644 resource_pack/pieces/body/medium/medium.geometry.json create mode 100644 resource_pack/pieces/body/medium/medium.meta.json create mode 100644 resource_pack/pieces/body/medium_skeleton/medium_skeleton.geometry.json create mode 100644 resource_pack/pieces/body/medium_skeleton/medium_skeleton.meta.json create mode 100644 resource_pack/pieces/body/small/small.geometry.json create mode 100644 resource_pack/pieces/body/small/small.meta.json create mode 100644 resource_pack/pieces/body/small_skeleton/small_skeleton.geometry.json create mode 100644 resource_pack/pieces/body/small_skeleton/small_skeleton.meta.json create mode 100644 resource_pack/pieces/body/smaller/smaller.geometry.json create mode 100644 resource_pack/pieces/body/smaller/smaller.meta.json create mode 100644 resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.geometry.json create mode 100644 resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.meta.json create mode 100644 resource_pack/pieces/body/tall/tall.geometry.json create mode 100644 resource_pack/pieces/body/tall/tall.meta.json create mode 100644 resource_pack/pieces/body/tall_skeleton/tall_skeleton.geometry.json create mode 100644 resource_pack/pieces/body/tall_skeleton/tall_skeleton.meta.json create mode 100644 resource_pack/pieces/efe_cardigan/efe_cardigan.meta.json create mode 100644 resource_pack/pieces/efe_cardigan/efe_cardigan.store_info.json create mode 100644 resource_pack/pieces/efe_earring/efe_earring.meta.json create mode 100644 resource_pack/pieces/efe_earring/efe_earring.store_info.json create mode 100644 resource_pack/pieces/efe_hair/efe_hair.meta.json create mode 100644 resource_pack/pieces/efe_hair/efe_hair.store_info.json create mode 100644 resource_pack/pieces/efe_jewels/efe_jewelry.meta.json create mode 100644 resource_pack/pieces/efe_jewels/efe_jewels.store_info.json create mode 100644 resource_pack/pieces/efe_pants/efe_pants.meta.json create mode 100644 resource_pack/pieces/efe_pants/efe_pants.store_info.json create mode 100644 resource_pack/pieces/efe_shirt/efe_shirt.meta.json create mode 100644 resource_pack/pieces/efe_shirt/efe_shirt.store_info.json create mode 100644 resource_pack/pieces/efe_shoes/efe_shoes.meta.json create mode 100644 resource_pack/pieces/efe_shoes/efe_shoes.store_info.json create mode 100644 resource_pack/pieces/efe_skin/efe_skin.meta.json create mode 100644 resource_pack/pieces/efe_skin/efe_skin.store_info.json create mode 100644 resource_pack/pieces/emote_followMe/communication_follow_me.animation.json create mode 100644 resource_pack/pieces/emote_followMe/communication_follow_me.meta.json create mode 100644 resource_pack/pieces/emote_followMe/communication_follow_me.store_info.json create mode 100644 resource_pack/pieces/emote_overThere/communication_point.animation.json create mode 100644 resource_pack/pieces/emote_overThere/communication_point.meta.json create mode 100644 resource_pack/pieces/emote_overThere/communication_point.store_info.json create mode 100644 resource_pack/pieces/emote_simpleClap/basic_clap.animation.json create mode 100644 resource_pack/pieces/emote_simpleClap/basic_clap.meta.json create mode 100644 resource_pack/pieces/emote_simpleClap/basic_clap.store_info.json create mode 100644 resource_pack/pieces/emote_wave/overhead_wave.animation.json create mode 100644 resource_pack/pieces/emote_wave/overhead_wave.meta.json create mode 100644 resource_pack/pieces/emote_wave/overhead_wave.store_info.json create mode 100644 resource_pack/pieces/kai_dress/kai_dress.meta.json create mode 100644 resource_pack/pieces/kai_dress/kai_dress.store_info.json create mode 100644 resource_pack/pieces/kai_hair/kai_hair.meta.json create mode 100644 resource_pack/pieces/kai_hair/kai_hair.store_info.json create mode 100644 resource_pack/pieces/kai_jacket/kai_jacket.meta.json create mode 100644 resource_pack/pieces/kai_jacket/kai_jacket.store_info.json create mode 100644 resource_pack/pieces/kai_shoes/kai_shoes.meta.json create mode 100644 resource_pack/pieces/kai_shoes/kai_shoes.store_info.json create mode 100644 resource_pack/pieces/kai_skin/kai_skin.meta.json create mode 100644 resource_pack/pieces/kai_skin/kai_skin.store_info.json create mode 100644 resource_pack/pieces/makena_hair/makena_hair.meta.json create mode 100644 resource_pack/pieces/makena_hair/makena_hair.store_info.json create mode 100644 resource_pack/pieces/makena_pants/makena_pants.meta.json create mode 100644 resource_pack/pieces/makena_pants/makena_pants.store_info.json create mode 100644 resource_pack/pieces/makena_shirt/makena_shirt.meta.json create mode 100644 resource_pack/pieces/makena_shirt/makena_shirt.store_info.json create mode 100644 resource_pack/pieces/makena_shoes/makena_shoes.meta.json create mode 100644 resource_pack/pieces/makena_shoes/makena_shoes.store_info.json create mode 100644 resource_pack/pieces/makena_skin/makena_skin.meta.json create mode 100644 resource_pack/pieces/makena_skin/makena_skin.store_info.json create mode 100644 resource_pack/pieces/noor_hair/noor_hair.meta.json create mode 100644 resource_pack/pieces/noor_hair/noor_hair.store_info.json create mode 100644 resource_pack/pieces/noor_jacket/noor_jacket.meta.json create mode 100644 resource_pack/pieces/noor_jacket/noor_jacket.store_info.json create mode 100644 resource_pack/pieces/noor_pants/noor_pants.meta.json create mode 100644 resource_pack/pieces/noor_pants/noor_pants.store_info.json create mode 100644 resource_pack/pieces/noor_shirt/noor_shirt.meta.json create mode 100644 resource_pack/pieces/noor_shirt/noor_shirt.store_info.json create mode 100644 resource_pack/pieces/noor_shoes/noor_shoes.meta.json create mode 100644 resource_pack/pieces/noor_shoes/noor_shoes.store_info.json create mode 100644 resource_pack/pieces/noor_skin/noor_skin.meta.json create mode 100644 resource_pack/pieces/noor_skin/noor_skin.store_info.json create mode 100644 resource_pack/pieces/standard_eyes/standard_eyes.meta.json create mode 100644 resource_pack/pieces/standard_eyes/standard_eyes.store_info.json create mode 100644 resource_pack/pieces/standard_mouth/standard_mouth.meta.json create mode 100644 resource_pack/pieces/standard_mouth/standard_mouth.store_info.json create mode 100644 resource_pack/pieces/steve_beard/steve_beard.meta.json create mode 100644 resource_pack/pieces/steve_beard/steve_beard.store_info.json create mode 100644 resource_pack/pieces/steve_hair/steve_hair.meta.json create mode 100644 resource_pack/pieces/steve_hair/steve_hair.store_info.json create mode 100644 resource_pack/pieces/steve_mouth/steve_mouth.meta.meta.json create mode 100644 resource_pack/pieces/steve_mouth/steve_mouth.store_info.json create mode 100644 resource_pack/pieces/steve_pants/steve_pants.meta.json create mode 100644 resource_pack/pieces/steve_pants/steve_pants.store_info.json create mode 100644 resource_pack/pieces/steve_shirt/steve_shirt.meta.json create mode 100644 resource_pack/pieces/steve_shirt/steve_shirt.store_info.json create mode 100644 resource_pack/pieces/steve_shoes/steve_shoes.meta.json create mode 100644 resource_pack/pieces/steve_shoes/steve_shoes.store_info.json create mode 100644 resource_pack/pieces/steve_skin/skin_steve.store_info.json create mode 100644 resource_pack/pieces/steve_skin/steve_skin.meta.json create mode 100644 resource_pack/pieces/straight/straight.meta.json create mode 100644 resource_pack/pieces/straight/straight.store_info.json create mode 100644 resource_pack/pieces/sunny_hair/sunny_hair.meta.json create mode 100644 resource_pack/pieces/sunny_hair/sunny_hair.store_info.json create mode 100644 resource_pack/pieces/sunny_pants/sunny_pants.meta.json create mode 100644 resource_pack/pieces/sunny_pants/sunny_pants.store_info.json create mode 100644 resource_pack/pieces/sunny_shirt/sunny_shirt.meta.json create mode 100644 resource_pack/pieces/sunny_shirt/sunny_shirt.store_info.json create mode 100644 resource_pack/pieces/sunny_shoes/sunny_shoes.meta.json create mode 100644 resource_pack/pieces/sunny_shoes/sunny_shoes.store_info.json create mode 100644 resource_pack/pieces/sunny_skin/sunny_skin.meta.json create mode 100644 resource_pack/pieces/sunny_skin/sunny_skin.store_info.json create mode 100644 resource_pack/pieces/zuri_hair/zuri_hair.meta.json create mode 100644 resource_pack/pieces/zuri_hair/zuri_hair.store_info.json create mode 100644 resource_pack/pieces/zuri_pants/zuri_pants.meta.json create mode 100644 resource_pack/pieces/zuri_pants/zuri_pants.store_info.json create mode 100644 resource_pack/pieces/zuri_shirt/zuri_Shirt.meta.json create mode 100644 resource_pack/pieces/zuri_shirt/zuri_shirt.store_info.json create mode 100644 resource_pack/pieces/zuri_shoes/zuri_shoes.meta.json create mode 100644 resource_pack/pieces/zuri_shoes/zuri_shoes.store_info.json create mode 100644 resource_pack/pieces/zuri_skin/zuri_skin.meta.json create mode 100644 resource_pack/pieces/zuri_skin/zuri_skin.store_info.json create mode 100644 resource_pack/render_controllers/agent.render_controllers.json create mode 100644 resource_pack/render_controllers/allay.render_controllers.json create mode 100644 resource_pack/render_controllers/armadillo.render_controllers.json create mode 100644 resource_pack/render_controllers/armor.leather.render_controllers.json create mode 100644 resource_pack/render_controllers/armor.render_controllers.json create mode 100644 resource_pack/render_controllers/armor_stand.render_controllers.json create mode 100644 resource_pack/render_controllers/arrow.render_controllers.json create mode 100644 resource_pack/render_controllers/axolotl.render_controllers.json create mode 100644 resource_pack/render_controllers/balloon.render_controllers.json create mode 100644 resource_pack/render_controllers/bat.render_controllers.json create mode 100644 resource_pack/render_controllers/bee.render_controllers.json create mode 100644 resource_pack/render_controllers/blaze.render_controllers.json create mode 100644 resource_pack/render_controllers/bogged.render_controllers.json create mode 100644 resource_pack/render_controllers/bogged_clothes.render_controllers.json create mode 100644 resource_pack/render_controllers/bow.render_controllers.json create mode 100644 resource_pack/render_controllers/breeze.render_controllers.json create mode 100644 resource_pack/render_controllers/camel.render_controllers.json create mode 100644 resource_pack/render_controllers/cape.render_controllers.json create mode 100644 resource_pack/render_controllers/cat.render_controllers.json create mode 100644 resource_pack/render_controllers/chicken.render_controllers.json create mode 100644 resource_pack/render_controllers/cod.render_controllers.json create mode 100644 resource_pack/render_controllers/cow.render_controllers.json create mode 100644 resource_pack/render_controllers/creaking.render_controllers.json create mode 100644 resource_pack/render_controllers/creeper.render_controllers.json create mode 100644 resource_pack/render_controllers/creeper_armor.render_controllers.json create mode 100644 resource_pack/render_controllers/crossbow.render_controllers.json create mode 100644 resource_pack/render_controllers/default.render_controllers.json create mode 100644 resource_pack/render_controllers/dolphin.render_controllers.json create mode 100644 resource_pack/render_controllers/donkey_v1_and_v2.render_controllers.json create mode 100644 resource_pack/render_controllers/donkey_v3.render_controllers .json create mode 100644 resource_pack/render_controllers/drowned.render_controllers.json create mode 100644 resource_pack/render_controllers/ender_crystal.render_controllers.json create mode 100644 resource_pack/render_controllers/ender_dragon.render_controllers.json create mode 100644 resource_pack/render_controllers/enderman.render_controllers.json create mode 100644 resource_pack/render_controllers/endermite.render_controllers.json create mode 100644 resource_pack/render_controllers/evocation_fang.render_controllers.json create mode 100644 resource_pack/render_controllers/evoker.render_controllers.json create mode 100644 resource_pack/render_controllers/experience_bottle.render_controllers.json create mode 100644 resource_pack/render_controllers/experience_orb.render_controllers.json create mode 100644 resource_pack/render_controllers/fireball.render_controllers.json create mode 100644 resource_pack/render_controllers/fireworks_rocket.render_controllers.json create mode 100644 resource_pack/render_controllers/fishing_hook.render_controllers.json create mode 100644 resource_pack/render_controllers/fox.render_controllers.json create mode 100644 resource_pack/render_controllers/frog.render_controllers.json create mode 100644 resource_pack/render_controllers/ghast.render_controllers.json create mode 100644 resource_pack/render_controllers/glow_squid.render_controllers.json create mode 100644 resource_pack/render_controllers/goat.render_controllers.json create mode 100644 resource_pack/render_controllers/guardian.render_controllers.json create mode 100644 resource_pack/render_controllers/hoglin.render_controllers.json create mode 100644 resource_pack/render_controllers/horse_v1_and_v2.render_controllers.json create mode 100644 resource_pack/render_controllers/horse_v3.render_controllers.json create mode 100644 resource_pack/render_controllers/husk.render_controllers.json create mode 100644 resource_pack/render_controllers/iron_golem.render_controllers.json create mode 100644 resource_pack/render_controllers/item_default.render_controllers.json create mode 100644 resource_pack/render_controllers/item_sprite.render_controllers.json create mode 100644 resource_pack/render_controllers/leash_knot.render_controllers.json create mode 100644 resource_pack/render_controllers/lingering_potion.render_controllers.json create mode 100644 resource_pack/render_controllers/llama.render_controllers.json create mode 100644 resource_pack/render_controllers/llama_spit.render_controllers.json create mode 100644 resource_pack/render_controllers/magma_cube.render_controllers.json create mode 100644 resource_pack/render_controllers/map_marker.json create mode 100644 resource_pack/render_controllers/minecart.render_controllers.json create mode 100644 resource_pack/render_controllers/mooshroom.render_controllers.json create mode 100644 resource_pack/render_controllers/mule_v1_and_v2.render_controllers.json create mode 100644 resource_pack/render_controllers/mule_v3.render_controllers.json create mode 100644 resource_pack/render_controllers/npc.render_controllers.json create mode 100644 resource_pack/render_controllers/ocelot.render_controllers.json create mode 100644 resource_pack/render_controllers/panda.render_controllers.json create mode 100644 resource_pack/render_controllers/parrot.render_controllers.json create mode 100644 resource_pack/render_controllers/persona.render_controllers.json create mode 100644 resource_pack/render_controllers/phantom.render_controllers.json create mode 100644 resource_pack/render_controllers/pig.render_controllers.json create mode 100644 resource_pack/render_controllers/pig.v3.render_controllers.json create mode 100644 resource_pack/render_controllers/piglin.render_controllers.json create mode 100644 resource_pack/render_controllers/piglin_brute.render_controllers.json create mode 100644 resource_pack/render_controllers/pillager.render_controllers.json create mode 100644 resource_pack/render_controllers/player.render_controllers.json create mode 100644 resource_pack/render_controllers/polar_bear.render_controllers.json create mode 100644 resource_pack/render_controllers/pufferfish.render_controllers.json create mode 100644 resource_pack/render_controllers/rabbit.render_controllers.json create mode 100644 resource_pack/render_controllers/ravager.render_controllers.json create mode 100644 resource_pack/render_controllers/saddle.render_controllers.json create mode 100644 resource_pack/render_controllers/salmon.render_controllers.json create mode 100644 resource_pack/render_controllers/sheep.render_controllers.json create mode 100644 resource_pack/render_controllers/shield.render_controllers.json create mode 100644 resource_pack/render_controllers/shulker.render_controllers.json create mode 100644 resource_pack/render_controllers/shulker_bullet.render_controllers.json create mode 100644 resource_pack/render_controllers/silverfish.render_controllers.json create mode 100644 resource_pack/render_controllers/skeleton.render_controllers.json create mode 100644 resource_pack/render_controllers/skeleton_horse_v1_and_v2.render_controllers.json create mode 100644 resource_pack/render_controllers/skeleton_horse_v3.render_controllers.json create mode 100644 resource_pack/render_controllers/slime.render_controllers.json create mode 100644 resource_pack/render_controllers/slime_armor.render_controllers.json create mode 100644 resource_pack/render_controllers/sniffer.render_controllers.json create mode 100644 resource_pack/render_controllers/snow_golem.render_controllers.json create mode 100644 resource_pack/render_controllers/spider.render_controllers.json create mode 100644 resource_pack/render_controllers/splash_potion.render_controllers.json create mode 100644 resource_pack/render_controllers/squid.render_controllers.json create mode 100644 resource_pack/render_controllers/stray.render_controllers.json create mode 100644 resource_pack/render_controllers/stray_clothes.render_controllers.json create mode 100644 resource_pack/render_controllers/strider.render_controllers.json create mode 100644 resource_pack/render_controllers/tadpole.render_controllers.json create mode 100644 resource_pack/render_controllers/tripod_camera.render_controllers.json create mode 100644 resource_pack/render_controllers/tropicalfish.render_controllers.json create mode 100644 resource_pack/render_controllers/turtle.render_controllers.json create mode 100644 resource_pack/render_controllers/vex.render_controllers.json create mode 100644 resource_pack/render_controllers/villager.render_controllers.json create mode 100644 resource_pack/render_controllers/villager_v2.render_controllers.json create mode 100644 resource_pack/render_controllers/vindicator.render_controllers.json create mode 100644 resource_pack/render_controllers/wandering_trader.render_controllers.json create mode 100644 resource_pack/render_controllers/warden.render_controllers.json create mode 100644 resource_pack/render_controllers/wind_charge.render_controllers.json create mode 100644 resource_pack/render_controllers/witch.render_controllers.json create mode 100644 resource_pack/render_controllers/wither_boss.render_controllers.json create mode 100644 resource_pack/render_controllers/wither_boss_armor.render_controllers.json create mode 100644 resource_pack/render_controllers/wither_skeleton.render_controllers.json create mode 100644 resource_pack/render_controllers/wither_skull.render_controllers.json create mode 100644 resource_pack/render_controllers/wolf.render_controllers.json create mode 100644 resource_pack/render_controllers/wolf_armor.render_controllers.json create mode 100644 resource_pack/render_controllers/zoglin.render_controllers.json create mode 100644 resource_pack/render_controllers/zombie.render_controllers.json create mode 100644 resource_pack/render_controllers/zombie_horse_v1_and_v2.render_controllers.json create mode 100644 resource_pack/render_controllers/zombie_horse_v3.render_controllers.json create mode 100644 resource_pack/render_controllers/zombie_pigman.render_controllers.json create mode 100644 resource_pack/render_controllers/zombie_villager.render_controllers.json create mode 100644 resource_pack/render_controllers/zombie_villager_v2.render_controllers.json create mode 100644 resource_pack/sounds.json create mode 100644 resource_pack/sounds/music_definitions.json create mode 100644 resource_pack/sounds/sound_definitions.json create mode 100644 resource_pack/splashes.json create mode 100644 resource_pack/texts/language_names.json create mode 100644 resource_pack/texts/languages.json create mode 100644 resource_pack/textures/flipbook_textures.json create mode 100644 resource_pack/textures/item_texture.json create mode 100644 resource_pack/textures/terrain_texture.json create mode 100644 resource_pack/textures/textures_list.json create mode 100644 resource_pack/textures/ui/Banners.json create mode 100644 resource_pack/textures/ui/BannersLight.json create mode 100644 resource_pack/textures/ui/BannersTransparent.json create mode 100644 resource_pack/textures/ui/Black.json create mode 100644 resource_pack/textures/ui/DarkBannerNoBorder.json create mode 100644 resource_pack/textures/ui/Gray.json create mode 100644 resource_pack/textures/ui/Grey.json create mode 100644 resource_pack/textures/ui/HowToPlayDivider.json create mode 100644 resource_pack/textures/ui/Local.json create mode 100644 resource_pack/textures/ui/MainBannersHover.json create mode 100644 resource_pack/textures/ui/NormalButtonNoStroke.json create mode 100644 resource_pack/textures/ui/NormalButtonStroke.json create mode 100644 resource_pack/textures/ui/NormalButtonThin.json create mode 100644 resource_pack/textures/ui/NormalButtonThinStroke.json create mode 100644 resource_pack/textures/ui/ScrollBox.json create mode 100644 resource_pack/textures/ui/ScrollGutterWithBG.json create mode 100644 resource_pack/textures/ui/ScrollHandle.json create mode 100644 resource_pack/textures/ui/ScrollRail.json create mode 100644 resource_pack/textures/ui/StoreTopBar.json create mode 100644 resource_pack/textures/ui/StoreTopBarFiller.json create mode 100644 resource_pack/textures/ui/TabLeftBack.json create mode 100644 resource_pack/textures/ui/TabLeftBackBottomMost.json create mode 100644 resource_pack/textures/ui/TabLeftBackBottomMostHover.json create mode 100644 resource_pack/textures/ui/TabLeftBackHover.json create mode 100644 resource_pack/textures/ui/TabLeftBackTopMost.json create mode 100644 resource_pack/textures/ui/TabLeftBackTopMostHover.json create mode 100644 resource_pack/textures/ui/TabLeftFront.json create mode 100644 resource_pack/textures/ui/TabLeftFrontBottomMost.json create mode 100644 resource_pack/textures/ui/TabLeftFrontBottomMostHover.json create mode 100644 resource_pack/textures/ui/TabLeftFrontHover.json create mode 100644 resource_pack/textures/ui/TabLeftFrontTopMost.json create mode 100644 resource_pack/textures/ui/TabLeftFrontTopMostHover.json create mode 100644 resource_pack/textures/ui/TabRightBack.json create mode 100644 resource_pack/textures/ui/TabRightBackBottomMost.json create mode 100644 resource_pack/textures/ui/TabRightBackBottomMostHover.json create mode 100644 resource_pack/textures/ui/TabRightBackHover.json create mode 100644 resource_pack/textures/ui/TabRightBackTopMost.json create mode 100644 resource_pack/textures/ui/TabRightBackTopMostHover.json create mode 100644 resource_pack/textures/ui/TabRightFront.json create mode 100644 resource_pack/textures/ui/TabRightFrontBottomMost.json create mode 100644 resource_pack/textures/ui/TabRightFrontBottomMostHover.json create mode 100644 resource_pack/textures/ui/TabRightFrontHover.json create mode 100644 resource_pack/textures/ui/TabRightFrontTopMost.json create mode 100644 resource_pack/textures/ui/TabRightFrontTopMostHover.json create mode 100644 resource_pack/textures/ui/TabTopBack.json create mode 100644 resource_pack/textures/ui/TabTopBackHover.json create mode 100644 resource_pack/textures/ui/TabTopBackLeftMost.json create mode 100644 resource_pack/textures/ui/TabTopBackLeftMostHover.json create mode 100644 resource_pack/textures/ui/TabTopBackRightMost.json create mode 100644 resource_pack/textures/ui/TabTopBackRightMostDark.json create mode 100644 resource_pack/textures/ui/TabTopBackRightMostDarkHover.json create mode 100644 resource_pack/textures/ui/TabTopBackRightMostHover.json create mode 100644 resource_pack/textures/ui/TabTopFront.json create mode 100644 resource_pack/textures/ui/TabTopFrontHover.json create mode 100644 resource_pack/textures/ui/TabTopFrontLeftMost.json create mode 100644 resource_pack/textures/ui/TabTopFrontLeftMostHover.json create mode 100644 resource_pack/textures/ui/TabTopFrontRightMost.json create mode 100644 resource_pack/textures/ui/TabTopFrontRightMostHover.json create mode 100644 resource_pack/textures/ui/White.json create mode 100644 resource_pack/textures/ui/Wishlist_PDP_UI.json create mode 100644 resource_pack/textures/ui/XTab.json create mode 100644 resource_pack/textures/ui/arrow_dark_left_stretch.json create mode 100644 resource_pack/textures/ui/arrow_dark_right_stretch.json create mode 100644 resource_pack/textures/ui/auto_save.json create mode 100644 resource_pack/textures/ui/background_image.json create mode 100644 resource_pack/textures/ui/background_indent_no_top.json create mode 100644 resource_pack/textures/ui/background_panel.json create mode 100644 resource_pack/textures/ui/background_with_border.json create mode 100644 resource_pack/textures/ui/banners_dark.json create mode 100644 resource_pack/textures/ui/banners_no_border.json create mode 100644 resource_pack/textures/ui/banners_no_border_dark_hover.json create mode 100644 resource_pack/textures/ui/beacon_button_locked.json create mode 100644 resource_pack/textures/ui/beacon_default_button_pocket.json create mode 100644 resource_pack/textures/ui/beacon_selected_button_pocket.json create mode 100644 resource_pack/textures/ui/black_border.json create mode 100644 resource_pack/textures/ui/bonus_banner.json create mode 100644 resource_pack/textures/ui/book_back.json create mode 100644 resource_pack/textures/ui/book_binding.json create mode 100644 resource_pack/textures/ui/book_cover.json create mode 100644 resource_pack/textures/ui/book_frame.json create mode 100644 resource_pack/textures/ui/book_pagecrease_left.json create mode 100644 resource_pack/textures/ui/book_pagecrease_right.json create mode 100644 resource_pack/textures/ui/book_pageedge_left.json create mode 100644 resource_pack/textures/ui/book_pageedge_right.json create mode 100644 resource_pack/textures/ui/book_spine.json create mode 100644 resource_pack/textures/ui/book_texteditbox_hover.json create mode 100644 resource_pack/textures/ui/box_number_grey.json create mode 100644 resource_pack/textures/ui/break.json create mode 100644 resource_pack/textures/ui/bundle_item_background.json create mode 100644 resource_pack/textures/ui/button_border_dark.json create mode 100644 resource_pack/textures/ui/button_border_light.json create mode 100644 resource_pack/textures/ui/button_border_light_bottom_right.json create mode 100644 resource_pack/textures/ui/button_borderless_dark.json create mode 100644 resource_pack/textures/ui/button_borderless_darkhover.json create mode 100644 resource_pack/textures/ui/button_borderless_darkpressed.json create mode 100644 resource_pack/textures/ui/button_borderless_darkpressednohover.json create mode 100644 resource_pack/textures/ui/button_borderless_imagelesshoverbg.json create mode 100644 resource_pack/textures/ui/button_borderless_light.json create mode 100644 resource_pack/textures/ui/button_borderless_lighthover.json create mode 100644 resource_pack/textures/ui/button_borderless_lightpressed.json create mode 100644 resource_pack/textures/ui/button_borderless_lightpressednohover.json create mode 100644 resource_pack/textures/ui/button_dark_color.json create mode 100644 resource_pack/textures/ui/button_purple.json create mode 100644 resource_pack/textures/ui/button_red.json create mode 100644 resource_pack/textures/ui/button_red_pressed.json create mode 100644 resource_pack/textures/ui/button_select_corner.json create mode 100644 resource_pack/textures/ui/button_trade_red.json create mode 100644 resource_pack/textures/ui/button_trade_red_pressed.json create mode 100644 resource_pack/textures/ui/call_out_header.json create mode 100644 resource_pack/textures/ui/cell_image.json create mode 100644 resource_pack/textures/ui/cell_image_darkgrey.json create mode 100644 resource_pack/textures/ui/cell_image_invert.json create mode 100644 resource_pack/textures/ui/cell_image_lock.json create mode 100644 resource_pack/textures/ui/cell_image_normal.json create mode 100644 resource_pack/textures/ui/cell_image_red.json create mode 100644 resource_pack/textures/ui/chemistry_slider_background_hover.json create mode 100644 resource_pack/textures/ui/chemistry_slider_button_default.json create mode 100644 resource_pack/textures/ui/classic-button-hover.json create mode 100644 resource_pack/textures/ui/classic-button-pressed.json create mode 100644 resource_pack/textures/ui/classic-button.json create mode 100644 resource_pack/textures/ui/clickable_overlay.json create mode 100644 resource_pack/textures/ui/clickable_overlay_inverse.json create mode 100644 resource_pack/textures/ui/coin_bevel.json create mode 100644 resource_pack/textures/ui/coin_button_borderless.json create mode 100644 resource_pack/textures/ui/coin_button_borderless_pressed.json create mode 100644 resource_pack/textures/ui/cointier_backdrop.json create mode 100644 resource_pack/textures/ui/common-classic_hover.json create mode 100644 resource_pack/textures/ui/common-classic_hover_1.json create mode 100644 resource_pack/textures/ui/common-classic_toggle_checked_state.json create mode 100644 resource_pack/textures/ui/common-classic_toggle_unchecked_state.json create mode 100644 resource_pack/textures/ui/compound_background.json create mode 100644 resource_pack/textures/ui/container_weight_bar_fill.json create mode 100644 resource_pack/textures/ui/container_weight_bar_full.json create mode 100644 resource_pack/textures/ui/control.json create mode 100644 resource_pack/textures/ui/control_gray.json create mode 100644 resource_pack/textures/ui/control_white.json create mode 100644 resource_pack/textures/ui/csbButtonContent.json create mode 100644 resource_pack/textures/ui/csbButtonContentHover.json create mode 100644 resource_pack/textures/ui/csbButtonContentPressed.json create mode 100644 resource_pack/textures/ui/csb_button_borderless_default.json create mode 100644 resource_pack/textures/ui/csb_button_borderless_hover.json create mode 100644 resource_pack/textures/ui/csb_button_borderless_hover_pressed.json create mode 100644 resource_pack/textures/ui/csb_button_borderless_pressed.json create mode 100644 resource_pack/textures/ui/dark_bg.json create mode 100644 resource_pack/textures/ui/default_cast/ftue/how_to_page_divider.json create mode 100644 resource_pack/textures/ui/default_indent.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_1.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_2.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_3.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_4.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_4_thin.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_5.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_6.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_7.json create mode 100644 resource_pack/textures/ui/dialog_background_hollow_8.json create mode 100644 resource_pack/textures/ui/dialog_background_opaque.json create mode 100644 resource_pack/textures/ui/dialog_background_opaque_overlap_bottom.json create mode 100644 resource_pack/textures/ui/dialog_bubble.json create mode 100644 resource_pack/textures/ui/dialog_divider.json create mode 100644 resource_pack/textures/ui/dialog_indent_horiz.json create mode 100644 resource_pack/textures/ui/disabledButton.json create mode 100644 resource_pack/textures/ui/disabledButtonNoBorder.json create mode 100644 resource_pack/textures/ui/divider.json create mode 100644 resource_pack/textures/ui/divider2.json create mode 100644 resource_pack/textures/ui/divider3.json create mode 100644 resource_pack/textures/ui/dressing_room_banner.json create mode 100644 resource_pack/textures/ui/dropdown_background.json create mode 100644 resource_pack/textures/ui/edit_box_indent.json create mode 100644 resource_pack/textures/ui/edit_box_indent_hover.json create mode 100644 resource_pack/textures/ui/edu_borderless_button_focus_pressed.json create mode 100644 resource_pack/textures/ui/edu_borderless_button_normal_dark.json create mode 100644 resource_pack/textures/ui/edu_borderless_button_pressed.json create mode 100644 resource_pack/textures/ui/edu_no_templates_background.json create mode 100644 resource_pack/textures/ui/edu_templates_button.json create mode 100644 resource_pack/textures/ui/edu_worlds_search_bar.json create mode 100644 resource_pack/textures/ui/effect_background.json create mode 100644 resource_pack/textures/ui/emptyBar.json create mode 100644 resource_pack/textures/ui/empty_progress_bar.json create mode 100644 resource_pack/textures/ui/empty_stack_progress_bar.json create mode 100644 resource_pack/textures/ui/enchanting_active_background.json create mode 100644 resource_pack/textures/ui/enchanting_active_background_with_hover_text.json create mode 100644 resource_pack/textures/ui/enchanting_dark_background.json create mode 100644 resource_pack/textures/ui/equipped_item_border.json create mode 100644 resource_pack/textures/ui/experience_bar_empty_blue.json create mode 100644 resource_pack/textures/ui/experience_bar_full_blue.json create mode 100644 resource_pack/textures/ui/experience_bar_full_white.json create mode 100644 resource_pack/textures/ui/experiencebarempty.json create mode 100644 resource_pack/textures/ui/experiencebarfull.json create mode 100644 resource_pack/textures/ui/filledBar.json create mode 100644 resource_pack/textures/ui/filled_progress_bar.json create mode 100644 resource_pack/textures/ui/flyout.json create mode 100644 resource_pack/textures/ui/focus_border_selected.json create mode 100644 resource_pack/textures/ui/focus_border_white.json create mode 100644 resource_pack/textures/ui/gameTipBorder.json create mode 100644 resource_pack/textures/ui/game_tip_animations/break-block-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/break-block-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/camera-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/camera-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/chat-open-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/chat-open-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/crafting-table-place-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/crafting-table-place-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/crafting-table-use-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/emote-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/emote-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/fly-down-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/fly-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/fly-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/fly-up-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/hotbar-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/hotbar-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/jump-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/movement-ZQSD-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/movement-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/movement-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/open-inventory-creative-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/open-inventory-creative-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/open-inventory-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/open-inventory-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/place-block-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/place-block-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/sneak-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/sneak-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/stop-fly-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/stop-fly-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/stop-sneaking-touch.json create mode 100644 resource_pack/textures/ui/game_tip_animations/swim-mouse.json create mode 100644 resource_pack/textures/ui/game_tip_animations/swim-touch.json create mode 100644 resource_pack/textures/ui/gamerpic_bevel.json create mode 100644 resource_pack/textures/ui/gamerpic_bevel_hover.json create mode 100644 resource_pack/textures/ui/greyBorder.json create mode 100644 resource_pack/textures/ui/header_bar.json create mode 100644 resource_pack/textures/ui/header_bar_2.json create mode 100644 resource_pack/textures/ui/highlight_slot.json create mode 100644 resource_pack/textures/ui/hollowbanner.json create mode 100644 resource_pack/textures/ui/horizontalbreak.json create mode 100644 resource_pack/textures/ui/hotbar_end_cap.json create mode 100644 resource_pack/textures/ui/hotbar_start_cap.json create mode 100644 resource_pack/textures/ui/hud_tip_text_background.json create mode 100644 resource_pack/textures/ui/imagetaggedcorner.json create mode 100644 resource_pack/textures/ui/imagetaggedcornerborder.json create mode 100644 resource_pack/textures/ui/imagetaggedcornergreen.json create mode 100644 resource_pack/textures/ui/imagetaggedcornergreenhover.json create mode 100644 resource_pack/textures/ui/imagetaggedcornergreenpressed.json create mode 100644 resource_pack/textures/ui/invite_number_background.json create mode 100644 resource_pack/textures/ui/item_cell.json create mode 100644 resource_pack/textures/ui/keyboard_tooltip_background.json create mode 100644 resource_pack/textures/ui/keyboard_tooltip_icon.json create mode 100644 resource_pack/textures/ui/legacy_pocket_close_button_default.json create mode 100644 resource_pack/textures/ui/legacy_pocket_close_button_pressed.json create mode 100644 resource_pack/textures/ui/legacybanner.json create mode 100644 resource_pack/textures/ui/lightgreybars.json create mode 100644 resource_pack/textures/ui/list_item_divider_line_light.json create mode 100644 resource_pack/textures/ui/loading_bar.json create mode 100644 resource_pack/textures/ui/loading_spin.json create mode 100644 resource_pack/textures/ui/mainbanners.json create mode 100644 resource_pack/textures/ui/mainbanners_transparency.json create mode 100644 resource_pack/textures/ui/marketplace_error_graphic_anim_tree.json create mode 100644 resource_pack/textures/ui/marketplace_error_graphic_anim_water.json create mode 100644 resource_pack/textures/ui/menubackground.json create mode 100644 resource_pack/textures/ui/middle_strip.json create mode 100644 resource_pack/textures/ui/mob_effect_background.json create mode 100644 resource_pack/textures/ui/newOffersIcon.json create mode 100644 resource_pack/textures/ui/newTouchScrollBox.json create mode 100644 resource_pack/textures/ui/normal_stroke_button.json create mode 100644 resource_pack/textures/ui/numberBGBack.json create mode 100644 resource_pack/textures/ui/numberBGFront.json create mode 100644 resource_pack/textures/ui/packs_border.json create mode 100644 resource_pack/textures/ui/panel_outline.json create mode 100644 resource_pack/textures/ui/pause_screen_border.json create mode 100644 resource_pack/textures/ui/permissions_player_fade_overlay.json create mode 100644 resource_pack/textures/ui/player_preview_border.json create mode 100644 resource_pack/textures/ui/pocket_button_default.json create mode 100644 resource_pack/textures/ui/pocket_button_hover.json create mode 100644 resource_pack/textures/ui/pocket_button_pressed.json create mode 100644 resource_pack/textures/ui/pocket_tab_left_side.json create mode 100644 resource_pack/textures/ui/pocket_tab_right_side.json create mode 100644 resource_pack/textures/ui/pocket_ui_highlight_selected_slot.json create mode 100644 resource_pack/textures/ui/pocket_ui_highlight_slot.json create mode 100644 resource_pack/textures/ui/previewIcon.json create mode 100644 resource_pack/textures/ui/progress_bar_simple.json create mode 100644 resource_pack/textures/ui/promo_background.json create mode 100644 resource_pack/textures/ui/promotion_slot.json create mode 100644 resource_pack/textures/ui/purpleBorder.json create mode 100644 resource_pack/textures/ui/rarity_common.json create mode 100644 resource_pack/textures/ui/rarity_epic.json create mode 100644 resource_pack/textures/ui/rarity_legendary.json create mode 100644 resource_pack/textures/ui/rarity_rare.json create mode 100644 resource_pack/textures/ui/rarity_uncommon.json create mode 100644 resource_pack/textures/ui/realmflagSmooth.json create mode 100644 resource_pack/textures/ui/realmflagtriangleSmooth.json create mode 100644 resource_pack/textures/ui/realmsContent.json create mode 100644 resource_pack/textures/ui/realmsContentHover.json create mode 100644 resource_pack/textures/ui/realmsContentPressed.json create mode 100644 resource_pack/textures/ui/realms_button_borderless_default.json create mode 100644 resource_pack/textures/ui/realms_button_borderless_hover.json create mode 100644 resource_pack/textures/ui/realms_button_borderless_hover_pressed.json create mode 100644 resource_pack/textures/ui/realms_button_borderless_lighthoverflag.json create mode 100644 resource_pack/textures/ui/realms_button_borderless_lightpressedflag.json create mode 100644 resource_pack/textures/ui/realms_button_borderless_no_hover_pressed.json create mode 100644 resource_pack/textures/ui/realms_text_background.json create mode 100644 resource_pack/textures/ui/realmsparkle1.json create mode 100644 resource_pack/textures/ui/recipe_back_panel.json create mode 100644 resource_pack/textures/ui/recipe_book_button_borderless_light.json create mode 100644 resource_pack/textures/ui/recipe_book_button_borderless_lighthover.json create mode 100644 resource_pack/textures/ui/recipe_book_button_borderless_lightpressed.json create mode 100644 resource_pack/textures/ui/recipe_book_button_borderless_lightpressednohover.json create mode 100644 resource_pack/textures/ui/recipe_book_dark_button.json create mode 100644 resource_pack/textures/ui/recipe_book_dark_button_pressed.json create mode 100644 resource_pack/textures/ui/recipe_book_group_bg.json create mode 100644 resource_pack/textures/ui/recipe_book_group_collapsed.json create mode 100644 resource_pack/textures/ui/recipe_book_group_expanded.json create mode 100644 resource_pack/textures/ui/recipe_book_item_bg.json create mode 100644 resource_pack/textures/ui/recipe_book_light_button.json create mode 100644 resource_pack/textures/ui/recipe_book_light_button_pressed.json create mode 100644 resource_pack/textures/ui/recipe_book_pane_bg.json create mode 100644 resource_pack/textures/ui/recipe_book_red_button.json create mode 100644 resource_pack/textures/ui/recipe_book_red_button_pressed.json create mode 100644 resource_pack/textures/ui/recipe_book_side_toggle_dark.json create mode 100644 resource_pack/textures/ui/recipe_book_side_toggle_dark_hover.json create mode 100644 resource_pack/textures/ui/recipe_book_touch_cell_selected.json create mode 100644 resource_pack/textures/ui/recolorable_background.json create mode 100644 resource_pack/textures/ui/red_slash.json create mode 100644 resource_pack/textures/ui/ribbon_bar_text_background_hover.json create mode 100644 resource_pack/textures/ui/sale_button_borderless_lighthover.json create mode 100644 resource_pack/textures/ui/sale_button_borderless_lighthoverflag.json create mode 100644 resource_pack/textures/ui/sale_button_borderless_lightpressed.json create mode 100644 resource_pack/textures/ui/sale_button_borderless_lightpressedflag.json create mode 100644 resource_pack/textures/ui/saleflag.json create mode 100644 resource_pack/textures/ui/saleflagtriangle.json create mode 100644 resource_pack/textures/ui/saleflagtrianglebeveldefault.json create mode 100644 resource_pack/textures/ui/saleflagtrianglebeveldefault_large.json create mode 100644 resource_pack/textures/ui/saleflagtrianglebevelpress.json create mode 100644 resource_pack/textures/ui/saleflagtrianglebevelpress_large.json create mode 100644 resource_pack/textures/ui/saleribbon.json create mode 100644 resource_pack/textures/ui/scoreboard_list_background.json create mode 100644 resource_pack/textures/ui/screen_background.json create mode 100644 resource_pack/textures/ui/sidebar_icons/button_panel.json create mode 100644 resource_pack/textures/ui/sidebar_icons/side_drawer_button_hover_focused.json create mode 100644 resource_pack/textures/ui/sidebar_icons/side_drawer_button_selected.json create mode 100644 resource_pack/textures/ui/sidebar_icons/side_drawer_left_panel.json create mode 100644 resource_pack/textures/ui/sidebar_icons/side_panel_button_hover_focused.json create mode 100644 resource_pack/textures/ui/sidebar_icons/side_panel_button_selected.json create mode 100644 resource_pack/textures/ui/sidebar_icons/side_panel_divider.json create mode 100644 resource_pack/textures/ui/slider_background.json create mode 100644 resource_pack/textures/ui/slider_background_hover.json create mode 100644 resource_pack/textures/ui/slider_border.json create mode 100644 resource_pack/textures/ui/slider_button_default.json create mode 100644 resource_pack/textures/ui/slider_button_hover.json create mode 100644 resource_pack/textures/ui/slider_button_indent.json create mode 100644 resource_pack/textures/ui/slider_button_locked.json create mode 100644 resource_pack/textures/ui/slider_locked_transparent_fade.json create mode 100644 resource_pack/textures/ui/slider_progress.json create mode 100644 resource_pack/textures/ui/slider_progress_hover.json create mode 100644 resource_pack/textures/ui/slider_step_background.json create mode 100644 resource_pack/textures/ui/slider_step_background_hover.json create mode 100644 resource_pack/textures/ui/slider_step_progress.json create mode 100644 resource_pack/textures/ui/slider_step_progress_hover.json create mode 100644 resource_pack/textures/ui/slots_bg.json create mode 100644 resource_pack/textures/ui/square_image_border_white.json create mode 100644 resource_pack/textures/ui/store_background.json create mode 100644 resource_pack/textures/ui/store_banner_no_border.json create mode 100644 resource_pack/textures/ui/text_label_box.json create mode 100644 resource_pack/textures/ui/thin_dialog.json create mode 100644 resource_pack/textures/ui/tip_panel.json create mode 100644 resource_pack/textures/ui/toolbar_background.json create mode 100644 resource_pack/textures/ui/tooltip_default_background.json create mode 100644 resource_pack/textures/ui/tooltip_notification_default_background.json create mode 100644 resource_pack/textures/ui/topbar_off_left.json create mode 100644 resource_pack/textures/ui/topbar_off_middle.json create mode 100644 resource_pack/textures/ui/topbar_off_right.json create mode 100644 resource_pack/textures/ui/topbar_on_left.json create mode 100644 resource_pack/textures/ui/topbar_on_middle.json create mode 100644 resource_pack/textures/ui/topbar_on_right.json create mode 100644 resource_pack/textures/ui/touchScrollBox.json create mode 100644 resource_pack/textures/ui/unsynced_bevel.json create mode 100644 resource_pack/textures/ui/unsynced_bevel_hover.json create mode 100644 resource_pack/textures/ui/unsynced_bevel_pressed.json create mode 100644 resource_pack/textures/ui/unsynced_bg_hover.json create mode 100644 resource_pack/textures/ui/update_bevel.json create mode 100644 resource_pack/textures/ui/update_bevel_hover.json create mode 100644 resource_pack/textures/ui/update_bevel_pressed.json create mode 100644 resource_pack/textures/ui/white_slider_progress.json create mode 100644 resource_pack/textures/ui/world_screenshot_focus_border.json create mode 100644 resource_pack/textures/ui/world_upgrade.json create mode 100644 resource_pack/textures/ui/yellow_banner.json create mode 100644 resource_pack/ui/_global_variables.json create mode 100644 resource_pack/ui/_ui_defs.json create mode 100644 resource_pack/ui/achievement_screen.json create mode 100644 resource_pack/ui/add_external_server_screen.json create mode 100644 resource_pack/ui/adhoc_inprogess_screen.json create mode 100644 resource_pack/ui/adhoc_screen.json create mode 100644 resource_pack/ui/anvil_screen.json create mode 100644 resource_pack/ui/anvil_screen_pocket.json create mode 100644 resource_pack/ui/authentication_modals.json create mode 100644 resource_pack/ui/authentication_screen.json create mode 100644 resource_pack/ui/auto_save_info_screen.json create mode 100644 resource_pack/ui/beacon_screen.json create mode 100644 resource_pack/ui/beacon_screen_pocket.json create mode 100644 resource_pack/ui/blast_furnace_screen.json create mode 100644 resource_pack/ui/book_screen.json create mode 100644 resource_pack/ui/brewing_stand_screen.json create mode 100644 resource_pack/ui/brewing_stand_screen_pocket.json create mode 100644 resource_pack/ui/bundle_purchase_warning_screen.json create mode 100644 resource_pack/ui/cartography_screen.json create mode 100644 resource_pack/ui/cartography_screen_pocket.json create mode 100644 resource_pack/ui/chalkboard_screen.json create mode 100644 resource_pack/ui/chat_screen.json create mode 100644 resource_pack/ui/chat_settings_menu_screen.json create mode 100644 resource_pack/ui/chemistry_common_pocket.json create mode 100644 resource_pack/ui/chest_screen.json create mode 100644 resource_pack/ui/choose_realm_screen.json create mode 100644 resource_pack/ui/classroom_settings.json create mode 100644 resource_pack/ui/cloud_upload_screen.json create mode 100644 resource_pack/ui/code_screen.json create mode 100644 resource_pack/ui/coin_purchase_screen.json create mode 100644 resource_pack/ui/command_block_screen.json create mode 100644 resource_pack/ui/compound_creator_screen.json create mode 100644 resource_pack/ui/compound_creator_screen_pocket.json create mode 100644 resource_pack/ui/confirm_delete_account_screen.json create mode 100644 resource_pack/ui/content_log.json create mode 100644 resource_pack/ui/content_log_history_screen.json create mode 100644 resource_pack/ui/course_screen.json create mode 100644 resource_pack/ui/crafter_screen_pocket.json create mode 100644 resource_pack/ui/create_world_upsell_screen.json create mode 100644 resource_pack/ui/credits_screen.json create mode 100644 resource_pack/ui/csb_purchase_error_screen.json create mode 100644 resource_pack/ui/csb_screen.json create mode 100644 resource_pack/ui/csb_sections/content_section.json create mode 100644 resource_pack/ui/csb_sections/csb_banner.json create mode 100644 resource_pack/ui/csb_sections/csb_buy_now_screen.json create mode 100644 resource_pack/ui/csb_sections/csb_common.json create mode 100644 resource_pack/ui/csb_sections/csb_purchase_amazondevicewarning_screen.json create mode 100644 resource_pack/ui/csb_sections/csb_purchase_warning_screen.json create mode 100644 resource_pack/ui/csb_sections/csb_subscription_panel.json create mode 100644 resource_pack/ui/csb_sections/csb_upsell_dialog.json create mode 100644 resource_pack/ui/csb_sections/csb_view_packs_screen.json create mode 100644 resource_pack/ui/csb_sections/csb_welcome_screen.json create mode 100644 resource_pack/ui/csb_sections/faq_section.json create mode 100644 resource_pack/ui/csb_sections/landing_section.json create mode 100644 resource_pack/ui/custom_templates_screen.json create mode 100644 resource_pack/ui/day_one_experience_intro_screen.json create mode 100644 resource_pack/ui/day_one_experience_screen.json create mode 100644 resource_pack/ui/death_screen.json create mode 100644 resource_pack/ui/debug_screen.json create mode 100644 resource_pack/ui/dev_console_screen.json create mode 100644 resource_pack/ui/disconnect_screen.json create mode 100644 resource_pack/ui/display_logged_error_screen.json create mode 100644 resource_pack/ui/edu_discovery_dialog.json create mode 100644 resource_pack/ui/edu_featured.json create mode 100644 resource_pack/ui/edu_library_category_screen.json create mode 100644 resource_pack/ui/edu_pause_screen.json create mode 100644 resource_pack/ui/edu_pause_screen_pause_button.json create mode 100644 resource_pack/ui/edu_permissions_screen.json create mode 100644 resource_pack/ui/edu_play_screen.json create mode 100644 resource_pack/ui/edu_signin_screen.json create mode 100644 resource_pack/ui/edu_world_templates_screen.json create mode 100644 resource_pack/ui/edu_worlds_screen.json create mode 100644 resource_pack/ui/element_constructor_screen.json create mode 100644 resource_pack/ui/element_constructor_screen_pocket.json create mode 100644 resource_pack/ui/emote_wheel_screen.json create mode 100644 resource_pack/ui/enchanting_screen.json create mode 100644 resource_pack/ui/enchanting_screen_pocket.json create mode 100644 resource_pack/ui/encyclopedia_screen.json create mode 100644 resource_pack/ui/expanded_skin_pack_screen.json create mode 100644 resource_pack/ui/experimental_code_screen.json create mode 100644 resource_pack/ui/feed_common.json create mode 100644 resource_pack/ui/file_upload_screen.json create mode 100644 resource_pack/ui/furnace_screen.json create mode 100644 resource_pack/ui/furnace_screen_pocket.json create mode 100644 resource_pack/ui/game_tip_screen.json create mode 100644 resource_pack/ui/gamepad_disconnected.json create mode 100644 resource_pack/ui/gamepad_layout_screen.json create mode 100644 resource_pack/ui/gameplay_common.json create mode 100644 resource_pack/ui/gamma_calibration_screen.json create mode 100644 resource_pack/ui/gathering_info_screen.json create mode 100644 resource_pack/ui/global_pause_screen.json create mode 100644 resource_pack/ui/grindstone_screen.json create mode 100644 resource_pack/ui/grindstone_screen_pocket.json create mode 100644 resource_pack/ui/holographic_postrender_screen.json create mode 100644 resource_pack/ui/horse_screen.json create mode 100644 resource_pack/ui/horse_screen_pocket.json create mode 100644 resource_pack/ui/host_options_screen.json create mode 100644 resource_pack/ui/how_to_play_common.json create mode 100644 resource_pack/ui/how_to_play_screen.json create mode 100644 resource_pack/ui/hud_screen.json create mode 100644 resource_pack/ui/immersive_reader.json create mode 100644 resource_pack/ui/in_bed_screen.json create mode 100644 resource_pack/ui/inventory_screen.json create mode 100644 resource_pack/ui/inventory_screen_pocket.json create mode 100644 resource_pack/ui/invite_screen.json create mode 100644 resource_pack/ui/ip_join_screen.json create mode 100644 resource_pack/ui/item_detail_description_screen.json create mode 100644 resource_pack/ui/jigsaw_editor_screen.json create mode 100644 resource_pack/ui/joincode_entry_screen.json create mode 100644 resource_pack/ui/lab_table_screen.json create mode 100644 resource_pack/ui/lab_table_screen_pocket.json create mode 100644 resource_pack/ui/late_join_pregame_screen.json create mode 100644 resource_pack/ui/lesson_complete_dialog.json create mode 100644 resource_pack/ui/library_item_screen.json create mode 100644 resource_pack/ui/library_modal_screen.json create mode 100644 resource_pack/ui/library_screen.json create mode 100644 resource_pack/ui/local_world_picker_screen.json create mode 100644 resource_pack/ui/loom_screen.json create mode 100644 resource_pack/ui/loom_screen_pocket.json create mode 100644 resource_pack/ui/manage_feed_screen.json create mode 100644 resource_pack/ui/manifest_validation_screen.json create mode 100644 resource_pack/ui/marketplace_sdl/sdl_dropdowns.json create mode 100644 resource_pack/ui/marketplace_sdl/sdl_image_row.json create mode 100644 resource_pack/ui/marketplace_sdl/sdl_label.json create mode 100644 resource_pack/ui/marketplace_sdl/sdl_text_row.json create mode 100644 resource_pack/ui/material_reducer_screen.json create mode 100644 resource_pack/ui/material_reducer_screen_pocket.json create mode 100644 resource_pack/ui/mob_effect_screen.json create mode 100644 resource_pack/ui/multiplayer_lesson_screen.json create mode 100644 resource_pack/ui/non_xbl_user_management_screen.json create mode 100644 resource_pack/ui/npc_interact_screen.json create mode 100644 resource_pack/ui/online_safety_screen.json create mode 100644 resource_pack/ui/pack_settings_screen.json create mode 100644 resource_pack/ui/panorama_screen.json create mode 100644 resource_pack/ui/patch_notes_screen.json create mode 100644 resource_pack/ui/pause_screen.json create mode 100644 resource_pack/ui/pdp_screen.json create mode 100644 resource_pack/ui/pdp_screenshots_section.json create mode 100644 resource_pack/ui/perf_turtle.json create mode 100644 resource_pack/ui/permissions_screen.json create mode 100644 resource_pack/ui/persona_cast_character_screen.json create mode 100644 resource_pack/ui/persona_common.json create mode 100644 resource_pack/ui/persona_screen.json create mode 100644 resource_pack/ui/persona_sdl.json create mode 100644 resource_pack/ui/play_screen.json create mode 100644 resource_pack/ui/pocket_containers.json create mode 100644 resource_pack/ui/popup_dialog.json create mode 100644 resource_pack/ui/portfolio_screen.json create mode 100644 resource_pack/ui/post_rating_screen.json create mode 100644 resource_pack/ui/profile_card.json create mode 100644 resource_pack/ui/profile_screen.json create mode 100644 resource_pack/ui/progress_screen.json create mode 100644 resource_pack/ui/rating_prompt.json create mode 100644 resource_pack/ui/realmsPlus_screen.json create mode 100644 resource_pack/ui/realmsPlus_sections/content_section.json create mode 100644 resource_pack/ui/realmsPlus_sections/faq_section.json create mode 100644 resource_pack/ui/realmsPlus_sections/landing_section.json create mode 100644 resource_pack/ui/realmsPlus_sections/realmsPlus_buy_now_screen.json create mode 100644 resource_pack/ui/realmsPlus_sections/realmsPlus_purchase_warning_screen.json create mode 100644 resource_pack/ui/realmsPlus_sections/realmsPlus_view_packs_screen.json create mode 100644 resource_pack/ui/realms_allowlist.json create mode 100644 resource_pack/ui/realms_common.json create mode 100644 resource_pack/ui/realms_create.json create mode 100644 resource_pack/ui/realms_invite_link_settings_screen.json create mode 100644 resource_pack/ui/realms_pending_invitations.json create mode 100644 resource_pack/ui/realms_plus_ended_screen.json create mode 100644 resource_pack/ui/realms_settings_screen.json create mode 100644 resource_pack/ui/realms_slots_screen.json create mode 100644 resource_pack/ui/realms_stories_transition_screen.json create mode 100644 resource_pack/ui/realmsplus_upgrade_notice_screen.json create mode 100644 resource_pack/ui/redstone_screen.json create mode 100644 resource_pack/ui/resource_packs_screen.json create mode 100644 resource_pack/ui/safe_zone_screen.json create mode 100644 resource_pack/ui/scoreboards.json create mode 100644 resource_pack/ui/screenshot_screen.json create mode 100644 resource_pack/ui/select_world_screen.json create mode 100644 resource_pack/ui/server_form.json create mode 100644 resource_pack/ui/settings_screen.json create mode 100644 resource_pack/ui/settings_sections/controls_section.json create mode 100644 resource_pack/ui/settings_sections/general_section.json create mode 100644 resource_pack/ui/settings_sections/realms_world_section.json create mode 100644 resource_pack/ui/settings_sections/settings_common.json create mode 100644 resource_pack/ui/settings_sections/world_section.json create mode 100644 resource_pack/ui/sidebar_navigation.json create mode 100644 resource_pack/ui/sign_screen.json create mode 100644 resource_pack/ui/simple_inprogress_screen.json create mode 100644 resource_pack/ui/skin_pack_purchase_screen.json create mode 100644 resource_pack/ui/skin_picker_screen.json create mode 100644 resource_pack/ui/smithing_table_2_screen.json create mode 100644 resource_pack/ui/smithing_table_2_screen_pocket.json create mode 100644 resource_pack/ui/smithing_table_screen.json create mode 100644 resource_pack/ui/smithing_table_screen_pocket.json create mode 100644 resource_pack/ui/smoker_screen.json create mode 100644 resource_pack/ui/start_screen.json create mode 100644 resource_pack/ui/startup_screen.json create mode 100644 resource_pack/ui/stonecutter_screen.json create mode 100644 resource_pack/ui/stonecutter_screen_pocket.json create mode 100644 resource_pack/ui/storage_management.json create mode 100644 resource_pack/ui/storage_management_popup.json create mode 100644 resource_pack/ui/storage_migration_common.json create mode 100644 resource_pack/ui/storage_migration_generic_screen.json create mode 100644 resource_pack/ui/store_common.json create mode 100644 resource_pack/ui/store_data_driven_screen.json create mode 100644 resource_pack/ui/store_filter_menu_screen.json create mode 100644 resource_pack/ui/store_inventory_screen.json create mode 100644 resource_pack/ui/store_item_list_screen.json create mode 100644 resource_pack/ui/store_progress_screen.json create mode 100644 resource_pack/ui/store_promo_timeline_screen.json create mode 100644 resource_pack/ui/store_sales_item_list_screen.json create mode 100644 resource_pack/ui/store_search_screen.json create mode 100644 resource_pack/ui/store_sort_menu_screen.json create mode 100644 resource_pack/ui/structure_editor_screen.json create mode 100644 resource_pack/ui/submit_feedback_screen.json create mode 100644 resource_pack/ui/tabbed_upsell_screen.json create mode 100644 resource_pack/ui/test_anims_screen.json create mode 100644 resource_pack/ui/thanks_for_testing_screen.json create mode 100644 resource_pack/ui/third_party_store_screen.json create mode 100644 resource_pack/ui/toast_screen.json create mode 100644 resource_pack/ui/token_faq_screen.json create mode 100644 resource_pack/ui/trade_2_screen.json create mode 100644 resource_pack/ui/trade_2_screen_pocket.json create mode 100644 resource_pack/ui/trade_screen.json create mode 100644 resource_pack/ui/trade_screen_pocket.json create mode 100644 resource_pack/ui/trial_upsell_screen.json create mode 100644 resource_pack/ui/ugc_viewer_screen.json create mode 100644 resource_pack/ui/ui_art_assets_common.json create mode 100644 resource_pack/ui/ui_common.json create mode 100644 resource_pack/ui/ui_common_classic.json create mode 100644 resource_pack/ui/ui_edu_common.json create mode 100644 resource_pack/ui/ui_holo_cursor.json create mode 100644 resource_pack/ui/ui_purchase_common.json create mode 100644 resource_pack/ui/ui_template_buttons.json create mode 100644 resource_pack/ui/ui_template_dialogs.json create mode 100644 resource_pack/ui/ui_template_tabs.json create mode 100644 resource_pack/ui/ui_template_toggles.json create mode 100644 resource_pack/ui/update_dimensions.json create mode 100644 resource_pack/ui/update_version.json create mode 100644 resource_pack/ui/vr_alignscreen.json create mode 100644 resource_pack/ui/vr_scheme_screen.json create mode 100644 resource_pack/ui/win10_trial_conversion_screen.json create mode 100644 resource_pack/ui/world_conversion_complete_screen.json create mode 100644 resource_pack/ui/world_recovery_screen.json create mode 100644 resource_pack/ui/world_templates_screen.json create mode 100644 resource_pack/ui/xbl_console_qr_signin.json create mode 100644 resource_pack/ui/xbl_console_signin.json create mode 100644 resource_pack/ui/xbl_console_signin_succeeded.json create mode 100644 resource_pack/ui/xbl_immediate_signin.json create mode 100644 resource_pack/ui/xbl_optional_signin.json diff --git a/behavior_pack/aim_assist/categories/categories.json b/behavior_pack/aim_assist/categories/categories.json new file mode 100644 index 0000000..366cec8 --- /dev/null +++ b/behavior_pack/aim_assist/categories/categories.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.21.50", + "minecraft:aim_assist_categories": { + "categories": [ + { + "name": "minecraft:bucket", + "entity_default": 30, + "block_default": 30, + "priorities": { + "blocks": { + "minecraft:cauldron": 60, + "minecraft:water": 60, + "minecraft:lava": 60 + } + } + }, + { + "name": "minecraft:empty_hand", + "entity_default": 30, + "block_default": 30, + "priorities": { + "blocks": { + "minecraft:oak_log": 60, + "minecraft:birch_log": 60, + "minecraft:spruce_log": 60, + "minecraft:jungle_log": 60, + "minecraft:acacia_log": 60, + "minecraft:dark_oak_log": 60, + "minecraft:mangrove_log": 60, + "minecraft:cherry_log": 60 + } + } + }, + { + "name": "minecraft:default", + "priorities": { + "blocks": { + "minecraft:lever": 60, + "minecraft:oak_button": 60, + "minecraft:birch_button": 60, + "minecraft:spruce_button": 60, + "minecraft:dark_oak_button": 60 + } + } + } + ] + } +} diff --git a/behavior_pack/aim_assist/presets/aim_assist_preset.json b/behavior_pack/aim_assist/presets/aim_assist_preset.json new file mode 100644 index 0000000..06374f3 --- /dev/null +++ b/behavior_pack/aim_assist/presets/aim_assist_preset.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.21.50", + "minecraft:aim_assist_preset": { + "identifier": "minecraft:aim_assist_default", + "item_settings": { + "minecraft:bucket": "minecraft:bucket" + }, + "default_item_settings": "minecraft:default", + "hand_settings": "minecraft:empty_hand", + "exclusion_list": [ + "minecraft:bedrock", + "minecraft:arrow" + ], + "liquid_targeting_list": [ + "minecraft:bucket", + "minecraft:oak_boat", + "minecraft:birch_boat", + "minecraft:spruce_boat", + "minecraft:jungle_boat", + "minecraft:acacia_boat", + "minecraft:dark_oak_boat", + "minecraft:mangrove_boat", + "minecraft:cherry_boat", + "minecraft:bamboo_boat", + "minecraft:oak_chest_boat", + "minecraft:birch_chest_boat", + "minecraft:spruce_chest_boat", + "minecraft:jungle_chest_boat", + "minecraft:acacia_chest_boat", + "minecraft:dark_oak_chest_boat", + "minecraft:mangrove_chest_boat", + "minecraft:cherry_chest_boat", + "minecraft:bamboo_chest_boat" + ] + } +} diff --git a/behavior_pack/behavior_trees/attack.json b/behavior_pack/behavior_trees/attack.json new file mode 100644 index 0000000..a825cd6 --- /dev/null +++ b/behavior_pack/behavior_trees/attack.json @@ -0,0 +1,15 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "attack", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:attack": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/attack_mob_test.json b/behavior_pack/behavior_trees/attack_mob_test.json new file mode 100644 index 0000000..70868cd --- /dev/null +++ b/behavior_pack/behavior_trees/attack_mob_test.json @@ -0,0 +1,25 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "attack_mob_test", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at": { + "block_pos": [-1, 4, 0] + } + }, + { + "minecraft:shoot_bow": { + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/attack_mob_test2.json b/behavior_pack/behavior_trees/attack_mob_test2.json new file mode 100644 index 0000000..0414248 --- /dev/null +++ b/behavior_pack/behavior_trees/attack_mob_test2.json @@ -0,0 +1,21 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "attack_mob_test2", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at": { + "block_pos": [-1, 4, 0] + } + }, + { + "minecraft:attack": { + "num_of_ticks": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/break_nearby_block.json b/behavior_pack/behavior_trees/break_nearby_block.json new file mode 100644 index 0000000..0b03fc5 --- /dev/null +++ b/behavior_pack/behavior_trees/break_nearby_block.json @@ -0,0 +1,19 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "break_nearby_block", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:find_block": { + } + }, + { + "minecraft:break_block": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/chop_wood.json b/behavior_pack/behavior_trees/chop_wood.json new file mode 100644 index 0000000..02c1105 --- /dev/null +++ b/behavior_pack/behavior_trees/chop_wood.json @@ -0,0 +1,40 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "chop_wood", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:find_block": { + "block_name": "log" + } + }, + { + "minecraft:break_block": { + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + }, + { + "minecraft:find_entity": { + "entity_name": "item" + } + }, + { + "minecraft:move_to": { + + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/collect_items.json b/behavior_pack/behavior_trees/collect_items.json new file mode 100644 index 0000000..68f6f16 --- /dev/null +++ b/behavior_pack/behavior_trees/collect_items.json @@ -0,0 +1,27 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "collect_items", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:find_entity": { + "entity_name": "item" + } + }, + { + "minecraft:move_to": { + "block_pos_id": "target_pos", + "distance_epsilon": 1.5 + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/behavior_trees/consume_item.json b/behavior_pack/behavior_trees/consume_item.json new file mode 100644 index 0000000..f091cf6 --- /dev/null +++ b/behavior_pack/behavior_trees/consume_item.json @@ -0,0 +1,20 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "consume_item", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:consume_item": { + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/cooked_chicken_test.json b/behavior_pack/behavior_trees/cooked_chicken_test.json new file mode 100644 index 0000000..ed5cca5 --- /dev/null +++ b/behavior_pack/behavior_trees/cooked_chicken_test.json @@ -0,0 +1,32 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "cooked_chicken_test", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at": { + "block_pos": [1, 4, 1] + } + }, + { + "minecraft:activate_tool": { + "block_pos": [1, 4, 1] + } + }, + { + "minecraft:break_block": { + "block_pos": [1, 4, 1], + "num_of_ticks": 1 + } + }, + { + "minecraft:wait": { + "wait_duration": 10 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/interact.json b/behavior_pack/behavior_trees/interact.json new file mode 100644 index 0000000..e9cdf26 --- /dev/null +++ b/behavior_pack/behavior_trees/interact.json @@ -0,0 +1,15 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "interact", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:interact": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/interact_with_at.json b/behavior_pack/behavior_trees/interact_with_at.json new file mode 100644 index 0000000..98e4540 --- /dev/null +++ b/behavior_pack/behavior_trees/interact_with_at.json @@ -0,0 +1,19 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "interact_with_at", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at": { + } + }, + { + "minecraft:interact": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/look_at_entity.json b/behavior_pack/behavior_trees/look_at_entity.json new file mode 100644 index 0000000..c588980 --- /dev/null +++ b/behavior_pack/behavior_trees/look_at_entity.json @@ -0,0 +1,15 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "look_at_entity", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at_entity": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/mine_block_at_origin.json b/behavior_pack/behavior_trees/mine_block_at_origin.json new file mode 100644 index 0000000..04d2076 --- /dev/null +++ b/behavior_pack/behavior_trees/mine_block_at_origin.json @@ -0,0 +1,26 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "mine_block_at_origin", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at": { + "block_pos": [0, 4, 0] + } + }, + { + "minecraft:break_block": { + "block_pos": [0, 4, 0] + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/pickup_nearby_item.json b/behavior_pack/behavior_trees/pickup_nearby_item.json new file mode 100644 index 0000000..74281d9 --- /dev/null +++ b/behavior_pack/behavior_trees/pickup_nearby_item.json @@ -0,0 +1,25 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "pickup_nearby_item", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:find_entity": { + "entity_name": "item" + } + }, + { + "minecraft:move_to": { + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/place_block_at.json b/behavior_pack/behavior_trees/place_block_at.json new file mode 100644 index 0000000..fa1d2dd --- /dev/null +++ b/behavior_pack/behavior_trees/place_block_at.json @@ -0,0 +1,19 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "place_block_at", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at": { + } + }, + { + "minecraft:place_block": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/silk_touch_test.json b/behavior_pack/behavior_trees/silk_touch_test.json new file mode 100644 index 0000000..f4abc87 --- /dev/null +++ b/behavior_pack/behavior_trees/silk_touch_test.json @@ -0,0 +1,26 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "silk_touch_test", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:look_at": { + "block_pos": [0, 4, 0] + } + }, + { + "minecraft:break_block": { + "block_pos": [0, 4, 0] + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/test_nether_portal.json b/behavior_pack/behavior_trees/test_nether_portal.json new file mode 100644 index 0000000..6a10f38 --- /dev/null +++ b/behavior_pack/behavior_trees/test_nether_portal.json @@ -0,0 +1,27 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "test_nether_portal", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:wait": { + "wait_duration": 2 + } + }, + { + "minecraft:move": { + "max_number_of_ticks": 100, + "desired_direction": "forward" + } + }, + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/use_entity.json b/behavior_pack/behavior_trees/use_entity.json new file mode 100644 index 0000000..38378df --- /dev/null +++ b/behavior_pack/behavior_trees/use_entity.json @@ -0,0 +1,15 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "use_entity", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:use_entity": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/wait_one_second.json b/behavior_pack/behavior_trees/wait_one_second.json new file mode 100644 index 0000000..b377095 --- /dev/null +++ b/behavior_pack/behavior_trees/wait_one_second.json @@ -0,0 +1,16 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "wait_one_second", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:wait": { + "wait_duration": 1 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/wait_seconds.json b/behavior_pack/behavior_trees/wait_seconds.json new file mode 100644 index 0000000..45c5f1d --- /dev/null +++ b/behavior_pack/behavior_trees/wait_seconds.json @@ -0,0 +1,15 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "wait_seconds", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:wait": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/wait_ticks.json b/behavior_pack/behavior_trees/wait_ticks.json new file mode 100644 index 0000000..0b89a18 --- /dev/null +++ b/behavior_pack/behavior_trees/wait_ticks.json @@ -0,0 +1,15 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "wait_ticks", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:wait_ticks": { + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/wait_two_seconds.json b/behavior_pack/behavior_trees/wait_two_seconds.json new file mode 100644 index 0000000..26fa98d --- /dev/null +++ b/behavior_pack/behavior_trees/wait_two_seconds.json @@ -0,0 +1,16 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "wait_two_seconds", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:wait": { + "wait_duration": 2 + } + } + ] + } + } + } +} diff --git a/behavior_pack/behavior_trees/walk_forward.json b/behavior_pack/behavior_trees/walk_forward.json new file mode 100644 index 0000000..9af0ffe --- /dev/null +++ b/behavior_pack/behavior_trees/walk_forward.json @@ -0,0 +1,17 @@ +{ + "minecraft:behavior_tree": { + "minecraft:name": "walk_forward", + "minecraft:root": { + "minecraft:sequence": { + "children": [ + { + "minecraft:move": { + "desired_direction": "forward", + "max_number_of_ticks": 30 + } + } + ] + } + } + } +} diff --git a/behavior_pack/biomes/cold_taiga.biome.json b/behavior_pack/biomes/cold_taiga.biome.json new file mode 100644 index 0000000..e66ba72 --- /dev/null +++ b/behavior_pack/biomes/cold_taiga.biome.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.13.0", + "minecraft:biome": { + "description": { + "identifier": "cold_taiga" + }, + "components": { + "minecraft:climate": { + "downfall": 0.4, + "snow_accumulation": [ 0.125, 0.5 ], + "temperature": -0.5 + }, + "minecraft:overworld_height": { + "noise_type": "taiga" + }, + "minecraft:surface_parameters": { + "sea_floor_depth": 7, + "sea_floor_material": "minecraft:gravel", + "foundation_material": "minecraft:stone", + "mid_material": "minecraft:dirt", + "top_material": "minecraft:grass", + "sea_material": "minecraft:water" + }, + "minecraft:overworld_generation_rules": { + "hills_transformation": "cold_taiga_hills", + "mutate_transformation": "cold_taiga_mutated", + "generate_for_climates": [ + [ "frozen", 1 ] + ] + }, + + "animal": {}, + "cold": {}, + "forest": {}, + "monster": {}, + "overworld": {}, + "taiga": {} + } + } +} diff --git a/behavior_pack/biomes/cold_taiga_hills.biome.json b/behavior_pack/biomes/cold_taiga_hills.biome.json new file mode 100644 index 0000000..6dfa92b --- /dev/null +++ b/behavior_pack/biomes/cold_taiga_hills.biome.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.13.0", + "minecraft:biome": { + "description": { + "identifier": "cold_taiga_hills" + }, + "components": { + "minecraft:climate": { + "downfall": 0.4, + "snow_accumulation": [ 0.125, 0.5 ], + "temperature": -0.5 + }, + "minecraft:overworld_height": { + "noise_type": "mountains" + }, + "minecraft:surface_parameters": { + "sea_floor_depth": 7, + "sea_floor_material": "minecraft:gravel", + "foundation_material": "minecraft:stone", + "mid_material": "minecraft:dirt", + "top_material": "minecraft:grass", + "sea_material": "minecraft:water" + }, + + "animal": {}, + "cold": {}, + "forest": {}, + "hills": {}, + "monster": {}, + "overworld": {}, + "taiga": {} + } + } +} diff --git a/behavior_pack/biomes/cold_taiga_mutated.biome.json b/behavior_pack/biomes/cold_taiga_mutated.biome.json new file mode 100644 index 0000000..74614e8 --- /dev/null +++ b/behavior_pack/biomes/cold_taiga_mutated.biome.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:biome": { + "description": { + "identifier": "cold_taiga_mutated" + }, + "components": { + "minecraft:climate": { + "downfall": 0.4, + "snow_accumulation": [ 0.0, 0.125 ], + "temperature": -0.5 + }, + "minecraft:overworld_height": { + "noise_params": [ 0.3, 0.4 ] + }, + "minecraft:surface_parameters": { + "sea_floor_depth": 7, + "sea_floor_material": "minecraft:gravel", + "foundation_material": "minecraft:stone", + "mid_material": "minecraft:dirt", + "top_material": "minecraft:grass", + "sea_material": "minecraft:water" + }, + + "animal": {}, + "cold": {}, + "forest": {}, + "monster": {}, + "mutated": {}, + "taiga": {}, + // "overworld" tag cannot be present in order to match legacy behavior, but is + // required for correct world generation -- hence: overworld_generation + "overworld_generation": {} + } + } +} diff --git a/behavior_pack/cameras/presets/first_person.json b/behavior_pack/cameras/presets/first_person.json new file mode 100644 index 0000000..a897b9e --- /dev/null +++ b/behavior_pack/cameras/presets/first_person.json @@ -0,0 +1,6 @@ +{ + "format_version": "1.19.50", + "minecraft:camera_preset": { + "identifier": "minecraft:first_person" + } +} diff --git a/behavior_pack/cameras/presets/fixed_boom.json b/behavior_pack/cameras/presets/fixed_boom.json new file mode 100644 index 0000000..1911f09 --- /dev/null +++ b/behavior_pack/cameras/presets/fixed_boom.json @@ -0,0 +1,9 @@ +{ + "format_version": "1.21.0", + "minecraft:camera_preset": { + "identifier": "minecraft:fixed_boom", + "view_offset": [ 0.0, 0.0 ], + "entity_offset": [ 0.0, 0.0, 0.0 ], + "align_target_and_camera_forward": false + } +} diff --git a/behavior_pack/cameras/presets/follow_orbit.json b/behavior_pack/cameras/presets/follow_orbit.json new file mode 100644 index 0000000..3403819 --- /dev/null +++ b/behavior_pack/cameras/presets/follow_orbit.json @@ -0,0 +1,9 @@ +{ + "format_version": "1.21.0", + "minecraft:camera_preset": { + "identifier": "minecraft:follow_orbit", + "view_offset": [0.0, 0.0], + "entity_offset": [ 0.0, 0.0, 0.0 ], + "radius": 10 + } +} diff --git a/behavior_pack/cameras/presets/free.json b/behavior_pack/cameras/presets/free.json new file mode 100644 index 0000000..d8a5ce3 --- /dev/null +++ b/behavior_pack/cameras/presets/free.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.19.50", + "minecraft:camera_preset": { + "identifier": "minecraft:free", + "pos_x": 0, + "pos_y": 0, + "pos_z": 0, + "rot_x": 0, + "rot_y": 0 + } +} diff --git a/behavior_pack/cameras/presets/third_person.json b/behavior_pack/cameras/presets/third_person.json new file mode 100644 index 0000000..88e59e6 --- /dev/null +++ b/behavior_pack/cameras/presets/third_person.json @@ -0,0 +1,6 @@ +{ + "format_version": "1.19.50", + "minecraft:camera_preset": { + "identifier": "minecraft:third_person" + } +} diff --git a/behavior_pack/cameras/presets/third_person_front.json b/behavior_pack/cameras/presets/third_person_front.json new file mode 100644 index 0000000..c5039a4 --- /dev/null +++ b/behavior_pack/cameras/presets/third_person_front.json @@ -0,0 +1,6 @@ +{ + "format_version": "1.19.50", + "minecraft:camera_preset": { + "identifier": "minecraft:third_person_front" + } +} diff --git a/behavior_pack/entities/agent.json b/behavior_pack/entities/agent.json new file mode 100644 index 0000000..4d01d01 --- /dev/null +++ b/behavior_pack/entities/agent.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.13.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:agent", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + }, + + + "components": { + "minecraft:tick_world": { + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "all", + "deals_damage": false + } + }, + "minecraft:fire_immune": true, + "minecraft:inventory": { + "inventory_size": 27, + "container_type": "container", + "restrict_to_owner": true + }, + "minecraft:scale": { + "value":1.0 + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 0.93 + }, + "minecraft:nameable": { + "always_show": true, + "allow_name_tag_renaming": false + }, + "minecraft:movement": { + "value": 1, + "max": 1 + }, + "minecraft:behavior.look_at_entity": { + "priority": 2, + "look_distance": 6.0, + "probability": 1.0, + "angle_of_view_vertical": 135, + "angle_of_view_horizontal": 170, + "filters": { + "all_of": [ + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test" : "is_owner", "subject" : "other", "value" : true} + ] + } + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": false, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/entities/allay.json b/behavior_pack/entities/allay.json new file mode 100644 index 0000000..9efa18c --- /dev/null +++ b/behavior_pack/entities/allay.json @@ -0,0 +1,253 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:allay", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "pickup_item_delay": { + "minecraft:timer": { + "looping": false, + "time": 3, + "time_down_event": { + "event": "pickup_item_delay_complete" + } + } + }, + "pickup_item": { + "minecraft:behavior.pickup_items": { + "priority": 2, + "max_dist": 32, + "search_height": 32, + "goal_radius": 2.2, + "speed_multiplier": 6, + "pickup_based_on_chance": false, + "can_pickup_any_item": false, + "can_pickup_to_hand_or_equipment": false, + "pickup_same_items_as_in_hand": true + } + } + }, + "components": { + "minecraft:is_hidden_when_invisible": {}, + "minecraft:type_family": { + "family": [ + "allay", + "mob" + ] + }, + "minecraft:collision_box": { + "width": 0.35, + "height": 0.6 + }, + "minecraft:balloonable": { + "mass": 0.5 + }, + "minecraft:breathable": { + "totalSupply": 15, + "suffocateTime": 0 + }, + "minecraft:nameable": {}, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:health": { + "value": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self", "operator": "==", "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "on_damage": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_owner", "subject": "other", "value": true } + ] + } + }, + "deals_damage": false + } + ] + }, + "minecraft:movement": { + "value": 0.1 + }, + "minecraft:flying_speed": { + "value": 0.1 + }, + "minecraft:navigation.hover": { + "can_path_over_water": true, + "can_sink": false, + "can_pass_doors": false, + "can_path_from_air": true, + "avoid_water": true, + "avoid_damage_blocks": true, + "avoid_sun": false + }, + "minecraft:movement.hover": {}, + "minecraft:follow_range": { + "value": 1024 + }, + "minecraft:ambient_sound_interval": { + "value": 5.0, + "range": 5.0, + "event_name": "ambient", + "event_names": [ + { + "event_name": "ambient.tame", + "condition": "query.is_using_item" + }, + { + "event_name": "ambient", + "condition": "!query.is_using_item" + } + ] + }, + "minecraft:jump.static": {}, + "minecraft:can_fly": {}, + "minecraft:physics": { + "has_gravity": false + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:vibration_listener": {}, + "minecraft:conditional_bandwidth_optimization": {}, + "minecraft:game_event_movement_tracking": { + "emit_flap": true + }, + "minecraft:inventory": { + "inventory_size": 1 + }, + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + } + }, + "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" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/area_effect_cloud.json b/behavior_pack/entities/area_effect_cloud.json new file mode 100644 index 0000000..985b9f6 --- /dev/null +++ b/behavior_pack/entities/area_effect_cloud.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.8.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:area_effect_cloud", + "is_spawnable": false, + "is_summonable": false, + "is_experimental": false + }, + + "components": { + "minecraft:physics": { + "has_collision": false + }, + "minecraft:conditional_bandwidth_optimization": { + } + } + } +} diff --git a/behavior_pack/entities/armadillo.json b/behavior_pack/entities/armadillo.json new file mode 100644 index 0000000..8b27d81 --- /dev/null +++ b/behavior_pack/entities/armadillo.json @@ -0,0 +1,627 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:armadillo", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true, + "properties": { + "minecraft:armadillo_state": { + "type": "enum", + "values": [ "unrolled", "rolled_up", "rolled_up_peeking", "rolled_up_relaxing", "rolled_up_unrolling" ], + "default": "unrolled", + "client_sync": true + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "armadillo", "mob" ] + }, + "minecraft:physics": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:movement.basic": { + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_damage_blocks": true, + "avoid_water": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:nameable": { + }, + "minecraft:balloonable": { + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.7, + "height": 0.65 + }, + "minecraft:health": { + "value": 12 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self" + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + // Every four ticks, the Armadillo scans for threats. These are either undead mobs or players + // who are sprinting, on a vehicle, or the last one to recently attack it. + "minecraft:entity_sensor": { + "subsensors": [ + { + "event": "minecraft:no_threat_detected", + "cooldown": 0.2, + "range": [ 7.0, 2.0 ], + "minimum_count": 0, + "maximum_count": 0, + // This filter must be exactly the same as the one for minecraft:threat_detected. + "event_filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "undead" }, + { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { + "any_of": [ + { "test": "was_last_hurt_by", "subject": "other" }, + { "test": "is_sprinting", "subject": "other" }, + { "test": "is_riding", "subject": "other" } + ] + } + ] + } + ] + } + }, + { + "event": "minecraft:threat_detected", + "cooldown": 0.2, + "range": [ 7.0, 2.0 ], + "minimum_count": 1, + // This filter must be exactly the same as the one for minecraft:no_threat_detected. + "event_filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "undead" }, + { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { + "any_of": [ + { "test": "was_last_hurt_by", "subject": "other" }, + { "test": "is_sprinting", "subject": "other" }, + { "test": "is_riding", "subject": "other" } + ] + } + ] + } + ] + } + } + ] + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "ignore_mob_damage": true, + "speed_multiplier": 2.0 + } + }, + + "component_groups": { + "minecraft:baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.6 + }, + "minecraft:ageable": { + "duration": 1200, + "interact_filters": { + "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "unrolled" + }, + "feed_items": "spider_eye", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + } + }, + "minecraft:baby_unrolled": { + "minecraft:behavior.follow_parent": { + "priority": 5, + "speed_multiplier": 1.25 + } + }, + "minecraft:adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:spawn_entity": { + "entities": { + "min_wait_time": 300, + "max_wait_time": 600, + "spawn_sound": "mob.armadillo.scute_drop", + "spawn_item": "armadillo_scute" + } + }, + "minecraft:breedable": { + "love_filters": { + "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "unrolled" + }, + "require_tame": false, + "breeds_with": [ + { + "mate_type": "minecraft:armadillo", + "baby_type": "minecraft:armadillo", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + } + ], + "breed_items": [ + "spider_eye" + ] + }, + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "brush" } + ] + } + }, + "play_sounds": "mob.armadillo.brush", + "interact_text": "action.interact.brush", + "hurt_item": 16, + "swing": true, + "spawn_items": { "table": "loot_tables/entities/armadillo_brush.json" } + } + ] + } + }, + "minecraft:adult_unrolled": { + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 1.0 + } + }, + "minecraft:unrolled": { + "minecraft:movement": { + "value": 0.14 + }, + "minecraft:ambient_sound_interval": { + }, + "minecraft:damage_sensor": { + "triggers": { + "on_damage": { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "mob" }, + { "test": "is_family", "subject": "other", "value": "player" } + ] + }, + "event": "minecraft:threat_detected" + } + } + }, + "minecraft:behavior.tempt": { + "priority": 3, + "speed_multiplier": 1.25, + "can_tempt_vertically": true, + "items": [ "spider_eye" ] + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "target_distance": 6.0, + "probability": 0.02, + "min_look_time": 40, + "max_look_time": 80 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + } + }, + "minecraft:rolled_up": { + "minecraft:movement": { + "value": 0.0 + }, + "minecraft:body_rotation_blocked": { + }, + "minecraft:damage_sensor": { + "triggers": [ + // Consider damage coming from mobs and players as a threat, and adjust its value. + { + "on_damage": { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "mob" }, + { "test": "is_family", "subject": "other", "value": "player" } + ] + }, + "event": "minecraft:threat_detected" + }, + "damage_multiplier": 0.5, + "damage_modifier": -1.0 + }, + // For any other source other than mobs and players, just adjust the damage value. + { + "damage_multiplier": 0.5, + "damage_modifier": -1.0 + } + ] + }, + "minecraft:environment_sensor": { + "triggers": [ + { + // Immediately unroll if the Armadillo is not in a suitable state for being rolled-up. + "filters": { + "any_of": [ + { "test": "on_fire" }, + { "test": "in_water" }, + { "test": "is_panicking" }, + { "test": "is_leashed" }, + { "test": "is_riding" } + ] + }, + "event": "minecraft:unroll" + } + ] + } + }, + "minecraft:rolled_up_with_threats": { + // Since "cooldown_range" has to elapse before being able to start the goal, peeking on_end instead + // of on_start allows for a total delay of cooldown_range + duration_range before the first peek. + "minecraft:behavior.timer_flag_1": { + "priority": 0, + "cooldown_range": 2.5, // Peeking duration, since on_end starts the peeking. + "duration_range": [ 5.0, 20.0 ], // Peeking cooldown, since on_start stops the peeking. + "on_start": { + "event": "minecraft:stop_peeking" + }, + "on_end": { + "event": "minecraft:start_peeking" + } + } + }, + "minecraft:rolled_up_without_threats": { + // Unroll after 4 seconds without threats. The goal below will take care of + // starting the unrolling animation at the right time. + "minecraft:timer": { + "looping": true, // Makes sure we don't somehow get stuck in this state. + "time": 4, + "randomInterval": false, + "time_down_event": { + "event": "minecraft:unroll" + } + }, + // Since "cooldown_range" has to elapse before being able to start the goal, + // the event will be emitted after 2.5 seconds, making sure that the end of + // the resulting unrolling animation matches the end of the timer above. + "minecraft:behavior.timer_flag_1": { + "priority": 0, + "cooldown_range": 2.5, + "duration_range": 1.5, + "on_start": { + "event": "minecraft:start_unrolling" + } + } + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "trigger": "minecraft:spawn_adult" + }, + { + "weight": 5, + "trigger": "minecraft:spawn_baby" + } + ] + }, + "minecraft:entity_born": { + "trigger": "minecraft:spawn_baby" + }, + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "minecraft:adult", + "minecraft:adult_unrolled", + "minecraft:unrolled", + "minecraft:scanning" + ] + } + }, + "minecraft:spawn_baby": { + "add": { + "component_groups": [ + "minecraft:baby", + "minecraft:baby_unrolled", + "minecraft:unrolled", + "minecraft:scanning" + ] + } + }, + "minecraft:ageable_grow_up": { + "sequence": [ + { + "remove": { + "component_groups": [ + "minecraft:baby", + "minecraft:baby_unrolled" + ] + }, + "add": { + "component_groups": [ + "minecraft:adult" + ] + } + }, + { + "filters": { + "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "unrolled" + }, + "add": { + "component_groups": [ "minecraft:adult_unrolled" ] + } + } + ] + }, + "minecraft:no_threat_detected": { + "sequence": [ + { + // Relax instead of immediately unrolling only if the Armadillo is in a suitable state to do so. + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "rolled_up" }, + { "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "rolled_up_peeking" } + ] + }, + { "test": "on_fire", "value": false }, + { "test": "in_water", "value": false }, + { "test": "is_panicking", "value": false }, + { "test": "is_leashed", "value": false }, + { "test": "is_riding", "value": false } + ] + }, + "remove": { + "component_groups": [ + "minecraft:rolled_up_with_threats" + ] + }, + "add": { + "component_groups": [ + "minecraft:rolled_up_without_threats" + ] + }, + "set_property": { + "minecraft:armadillo_state": "rolled_up_relaxing" + } + } + ] + }, + "minecraft:threat_detected": { + "sequence": [ + { + // Roll up only if the Armadillo is in a suitable state to do so. + "filters": { + "all_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "unrolled" }, + { "test": "on_ground", "value": true }, + { "test": "on_fire", "value": false }, + { "test": "in_water", "value": false }, + { "test": "is_panicking", "value": false }, + { "test": "is_leashed", "value": false }, + { "test": "is_riding", "value": false } + ] + }, + "trigger": "minecraft:roll_up" + }, + { + "filters": { + "any_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "rolled_up_relaxing" }, + { "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "rolled_up_unrolling" } + ] + }, + "remove": { + "component_groups": [ + "minecraft:rolled_up_without_threats" + ] + }, + "add": { + "component_groups": [ + "minecraft:rolled_up_with_threats" + ] + }, + "set_property": { + "minecraft:armadillo_state": "rolled_up" + } + } + ] + }, + "minecraft:unroll": { + "sequence": [ + { + "filters": { + "all_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "operator": "not", "value": "unrolled" }, + // No unrolling on death, as the resulting animation may look silly. + { "test": "actor_health", "subject": "self", "operator" : ">", "value": 0 } + ] + }, + "remove": { + "component_groups": [ + "minecraft:rolled_up", + "minecraft:rolled_up_with_threats", + "minecraft:rolled_up_without_threats" + ] + }, + "add": { + "component_groups": [ + "minecraft:unrolled" + ] + }, + "set_property": { + "minecraft:armadillo_state": "unrolled" + }, + "emit_vibration": { + "vibration": "entity_act" + } + }, + { + "filters": { + "all_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "operator": "not", "value": "unrolled" }, + // No unrolling on death, as the resulting animation may look silly. + { "test": "actor_health", "subject": "self", "operator" : ">", "value": 0 }, + { "test": "has_component", "value": "minecraft:is_baby" } + ] + }, + "add": { + "component_groups": [ "minecraft:baby_unrolled" ] + } + }, + { + "filters": { + "all_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "operator": "not", "value": "unrolled" }, + // No unrolling on death, as the resulting animation may look silly. + { "test": "actor_health", "subject": "self", "operator" : ">", "value": 0 }, + { "test": "has_component", "operator": "not", "value": "minecraft:is_baby" } + ] + }, + "add": { + "component_groups": [ "minecraft:adult_unrolled" ] + } + } + ] + }, + "minecraft:roll_up": { + "sequence": [ + { + "filters": { + "all_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "operator": "not", "value": "rolled_up" }, + { "test": "enum_property", "domain": "minecraft:armadillo_state", "operator": "not", "value": "rolled_up_peeking" }, + // No rolling up on death, as the resulting animation may look silly. + { "test": "actor_health", "subject": "self", "operator" : ">", "value": 0 } + ] + }, + "remove": { + "component_groups": [ + "minecraft:unrolled", + "minecraft:baby_unrolled", + "minecraft:adult_unrolled", + "minecraft:rolled_up_without_threats" + ] + }, + "add": { + "component_groups": [ + "minecraft:rolled_up", + "minecraft:rolled_up_with_threats" + ] + }, + "set_property": { + "minecraft:armadillo_state": "rolled_up" + } + }, + { + "filters": { + "all_of": [ + { "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "unrolled" }, + // No rolling up on death, as the resulting animation may look silly. + { "test": "actor_health", "subject": "self", "operator" : ">", "value": 0 } + ] + }, + "emit_vibration": { + "vibration": "entity_act" + } + } + ] + }, + "minecraft:start_peeking": { + "sequence": [ + { + "filters": { + "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "rolled_up" + }, + "set_property": { + "minecraft:armadillo_state": "rolled_up_peeking" + } + } + ] + }, + "minecraft:stop_peeking": { + "sequence": [ + { + "filters": { + "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "rolled_up_peeking" + }, + "set_property": { + "minecraft:armadillo_state": "rolled_up" + } + } + ] + }, + "minecraft:start_unrolling": { + "sequence": [ + { + "filters": { + "test": "enum_property", "domain": "minecraft:armadillo_state", "value": "rolled_up_relaxing" + }, + "set_property": { + "minecraft:armadillo_state": "rolled_up_unrolling" + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/armor_stand.json b/behavior_pack/entities/armor_stand.json new file mode 100644 index 0000000..d3e0a99 --- /dev/null +++ b/behavior_pack/entities/armor_stand.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.16.210", + "minecraft:entity": { + "description": { + "identifier": "minecraft:armor_stand", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:type_family": { + "family": [ "armor_stand", "inanimate", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.5, + "height": 1.975 + }, + "minecraft:health": { + "value": 6, + "max": 6 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:knockback_resistance": { + "value": 1.0 + }, + "minecraft:loot": { + "table": "loot_tables/entities/armor_stand.json" + }, + "minecraft:nameable": { + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": false, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + } + } +} \ No newline at end of file diff --git a/behavior_pack/entities/arrow.json b/behavior_pack/entities/arrow.json new file mode 100644 index 0000000..b935c5e --- /dev/null +++ b/behavior_pack/entities/arrow.json @@ -0,0 +1,182 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:arrow", + "is_spawnable": false, + "is_summonable": true + }, + + "component_groups": { + "minecraft:hard_arrow": { + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": [ 1, 5 ], + "knockback": true, + "semi_random_diff_damage": false, + "destroy_on_hit": true + }, + "stick_in_ground": { + "shake_time": 0.35 + }, + "arrow_effect": { + "apply_effect_to_blocking_targets": false + } + }, + "hit_sound": "bow.hit", + "power": 1.6, + "gravity": 0.05, + "uncertainty_base": 16, + "uncertainty_multiplier": 4, + "anchor": 1, + "should_bounce": true, + "offset": [ 0, -0.1, 0 ] + } + }, + "minecraft:player_arrow": { + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": 1, + "knockback": true, + "semi_random_diff_damage": true, + "destroy_on_hit": true, + "max_critical_damage": 10, + "min_critical_damage": 9, + "power_multiplier": 0.97 + }, + "stick_in_ground": { + "shake_time": 0.35 + }, + "arrow_effect": { + "apply_effect_to_blocking_targets": false + } + }, + "hit_sound": "bow.hit", + "power": 5.0, + "gravity": 0.05, + "uncertainty_base": 1, + "uncertainty_multiplier": 0, + "anchor": 1, + "should_bounce": true, + "offset": [ 0, -0.1, 0 ] + } + }, + "minecraft:pillager_arrow": { + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": [ 3, 6 ], + "knockback": true, + "semi_random_diff_damage": false, + "destroy_on_hit": true + }, + "stick_in_ground": { + "shake_time": 0.35 + }, + "arrow_effect": { + "apply_effect_to_blocking_targets": false + } + }, + "hit_sound": "bow.hit", + "power": 1.6, + "gravity": 0.05, + "uncertainty_base": 16, + "uncertainty_multiplier": 4, + "anchor": 1, + "should_bounce": true, + "offset": [ 0, -0.1, 0 ] + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self", "operator": "==", "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": [ 1, 4 ], + "knockback": true, + "semi_random_diff_damage": false, + "destroy_on_hit": true + }, + "stick_in_ground": { + "shake_time": 0.35 + }, + "arrow_effect": { + "apply_effect_to_blocking_targets": false + } + }, + "hit_sound": "bow.hit", + "power": 1.6, + "gravity": 0.05, + "uncertainty_base": 16, + "uncertainty_multiplier": 4, + "anchor": 1, + "should_bounce": true, + "offset": [ 0, -0.1, 0 ] + }, + "minecraft:physics": { + }, + "minecraft:dimension_bound": { + }, + "minecraft:pushable": { + "is_pushable": false, + "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 + } + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "filters": { + "test": "is_difficulty", "value": "hard" + }, + "add": { + "component_groups": [ "minecraft:hard_arrow" ] + } + }, + { + "filters": { + "test": "is_family", "subject": "other", "value": "player" + }, + "add": { + "component_groups": [ "minecraft:player_arrow" ] + } + }, + { + "filters": { + "test": "is_family", "subject": "other", "value": "pillager" + }, + "add": { + "component_groups": [ "minecraft:pillager_arrow" ] + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/axolotl.json b/behavior_pack/entities/axolotl.json new file mode 100644 index 0000000..0a4295e --- /dev/null +++ b/behavior_pack/entities/axolotl.json @@ -0,0 +1,449 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:axolotl", + "spawn_category": "axolotls", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "attack_cooldown": { + "minecraft:attack_cooldown": { + "attack_cooldown_time": 120.0, + "attack_cooldown_complete_event": { + "event": "attack_cooldown_complete_event", + "target": "self" + } + } + }, + "axolotl_lucy": { + "minecraft:variant": { "value": 0 } + }, + "axolotl_cyan": { + "minecraft:variant": { "value": 1 } + }, + "axolotl_gold": { + "minecraft:variant": { "value": 2 } + }, + "axolotl_wild": { + "minecraft:variant": { "value": 3 } + }, + "axolotl_blue": { + "minecraft:variant": { "value": 4 } + }, + + "axolotl_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": "tropical_fish_bucket", + "transform_to_item": "water_bucket:0", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 5, + "speed_multiplier": 1.1 + } + }, + "axolotl_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:behavior.breed": { + "priority": 1, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "breed_items": "tropical_fish_bucket", + "transform_to_item": "water_bucket:0", + "breeds_with": { + "mate_type": "minecraft:axolotl", + "baby_type": "minecraft:axolotl", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "mutation_factor": { + "variant": 0.00083 // roughly 1/1200 + } + } + }, + + "axolotl_in_water": { + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { "test": "in_water", "operator": "!=", "value": true }, + "event": "start_drying_out" + } + ] + } + }, + "axolotl_dried": { + "minecraft:damage_over_time": { + "damage_per_hurt": 1, + "time_between_hurt": 0 + } + }, + "axolotl_on_land": { + "minecraft:drying_out_timer": { + "total_time": 300, + "water_bottle_refill_time": 90, + "dried_out_event": { + "event": "dried_out" + }, + "stopped_drying_out_event": { + "event": "stop_drying_out" + }, + "recover_after_dried_out_event": { + "event": "recover_after_dried_out" + } + } + }, + "axolotl_on_land_in_rain": { + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { "test": "in_water_or_rain", "operator": "!=", "value": true }, + "event": "start_drying_out" + }, + { + "filters": { "test": "in_water", "operator": "==", "value": true }, + "event": "enter_water" + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "axolotl", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.75, + "height": 0.42 + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true, + "breathes_air": true, + "generates_bubbles": false + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 14 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "lightning", + "deals_damage": true, + "damage_multiplier": 2000.0 + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": true, + "can_swim": true, + "can_walk": true, + "can_sink": false, + "avoid_damage_blocks": true + }, + "minecraft:movement.amphibious": { + "max_turn": 15.0 + }, + "minecraft:movement": { + "value": 0.1 + }, + "minecraft:underwater_movement": { + "value": 0.2 + }, + "minecraft:jump.static": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:attack": { + "damage": 2 + }, + "minecraft:combat_regeneration": {}, + + "minecraft:behavior.play_dead": { + "priority": 0, + "duration": 10, + "force_below_health": 8, + "random_start_chance": 0.33, + "random_damage_range": [ 0, 2 ], + "damage_sources": [ + "contact", + "entity_attack", + "entity_explosion", + "magic", + "projectile", + "thorns", + "wither" + ], + "apply_regeneration": true, + "filters": { "test": "in_water", "operator": "==", "value": true } + }, + "minecraft:behavior.tempt": { + "priority": 2, + "speed_multiplier": 1.1, + "can_tempt_vertically": true, + "items": [ + "tropical_fish_bucket" + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 3, + "must_see": true, + "reselect_targets": true, + "within_radius": 20.0, + "must_see_forget_duration": 17.0, + "entity_types": [ + { + "filters": { + "all_of": [ + { "test": "in_water", "subject": "other", "value": true }, + { "test": "has_component", "subject": "self", "operator": "!=", "value": "minecraft:attack_cooldown" }, + { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "squid" }, + { "test": "is_family", "subject": "other", "value": "fish" }, + { "test": "is_family", "subject": "other", "value": "tadpole" } + ] + } + ] + }, + "max_dist": 8 + }, + { + "filters": { + "all_of": [ + { "test": "in_water", "subject": "other", "value": true }, + { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "drowned" }, + { "test": "is_family", "subject": "other", "value": "guardian" }, + { "test": "is_family", "subject": "other", "value": "guardian_elder" } + ] + } + ] + }, + "max_dist": 8 + } + ] + }, + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "on_kill": { + "event": "killed_enemy_event", + "target": "self" + } + }, + "minecraft:behavior.move_to_water": { + "priority": 6, + "search_range": 16, + "search_height": 5, + "search_count": 1, + "goal_radius": 0.1 + }, + "minecraft:behavior.swim_idle": { + "priority": 7, + "idle_time": 5.0, + "success_rate": 0.05 + }, + "minecraft:behavior.random_swim": { + "priority": 8, + "interval": 0, + "xz_dist": 30, + "y_dist": 15 + }, + "minecraft:behavior.random_stroll": { + "priority": 9, + "interval": 100 + }, + "minecraft:behavior.look_at_player": { + "priority": 10, + "target_distance": 6.0, + "probability": 0.02 + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "add": { + "component_groups": [ + "axolotl_adult", + "axolotl_in_water" + ] + } + }, + { + "randomize": [ + { + "weight": 25, + "add": { + "component_groups": [ "axolotl_cyan" ] + } + }, + { + "weight": 25, + "add": { + "component_groups": [ "axolotl_gold" ] + } + }, + { + "weight": 25, + "add": { + "component_groups": [ "axolotl_lucy" ] + } + }, + { + "weight": 25, + "add": { + "component_groups": [ "axolotl_wild" ] + } + } + ] + } + ] + }, + "attack_cooldown_complete_event": { + "remove": { + "component_groups": [ + "attack_cooldown" + ] + } + }, + "killed_enemy_event": { + "add": { + "component_groups": [ + "attack_cooldown" + ] + } + }, + "minecraft:entity_born": { + "sequence": [ + { + "remove": { + "component_groups": [ + "axolotl_adult" + ] + }, + "add": { + "component_groups": [ + "axolotl_baby", + "axolotl_in_water" + ] + } + }, + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:variant" + }, + "add": { "component_groups": [ "axolotl_blue" ] } + } + ] + }, + + "minecraft:ageable_grow_up": { + "remove": { "component_groups": [ "axolotl_baby" ] }, + "add": { "component_groups": [ "axolotl_adult" ] } + }, + + "stop_drying_out": { + "remove": { + "component_groups": [ + "axolotl_on_land", + "axolotl_dried" + ] + }, + "add": { + "component_groups": [ "axolotl_on_land_in_rain" ] + } + }, + "start_drying_out": { + "remove": { + "component_groups": [ + "axolotl_on_land_in_rain", + "axolotl_in_water" + ] + }, + "add": { + "component_groups": [ "axolotl_on_land" ] + } + }, + "dried_out": { + "add": { + "component_groups": [ "axolotl_dried" ] + } + }, + "recover_after_dried_out": { + "remove": { + "component_groups": [ "axolotl_dried" ] + } + }, + "enter_water": { + "remove": { + "component_groups": [ + "axolotl_on_land", + "axolotl_on_land_in_rain", + "axolotl_dried" + ] + }, + "add": { + "component_groups": [ + "axolotl_in_water" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/balloon.json b/behavior_pack/entities/balloon.json new file mode 100644 index 0000000..31762f6 --- /dev/null +++ b/behavior_pack/entities/balloon.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.8.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:balloon", + "is_spawnable": false, + "is_summonable": false, + "is_experimental": false + }, + "components": { + "minecraft:collision_box": { + "width": 0.4, + "height": 0.4 + }, + "minecraft:physics": { + "has_gravity": false + }, + "minecraft:balloon": { + "lift_force": [ 0.0, 1.6, 0.0 ] + } + } + } +} diff --git a/behavior_pack/entities/bat.json b/behavior_pack/entities/bat.json new file mode 100644 index 0000000..20e27cf --- /dev/null +++ b/behavior_pack/entities/bat.json @@ -0,0 +1,86 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:bat", + "spawn_category": "ambient", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "bat", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.5, + "height": 0.9 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": false + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.1 + }, + "minecraft:navigation.float": { + "can_path_over_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.float_wander": { + "xz_dist": 10, + "y_dist": 7, + "y_offset": -2.0, + "random_reselect": true, + "float_duration": [ 0.1, 0.35 ] + }, + "minecraft:can_fly": { + }, + "minecraft:health": { + "value": 6, + "max": 6 + }, + "minecraft:nameable": { + }, + "minecraft:physics": { + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:game_event_movement_tracking": { + "emit_flap": true + } + }, + + "events": { + } + } +} diff --git a/behavior_pack/entities/bee.json b/behavior_pack/entities/bee.json new file mode 100644 index 0000000..ef4cb1d --- /dev/null +++ b/behavior_pack/entities/bee.json @@ -0,0 +1,1060 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:bee", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true, + "properties": { + "minecraft:has_nectar": { + "type": "bool", + "client_sync": true, + "default": "query.had_component_group('has_nectar')" + } + } + }, + + "component_groups": { + "bee_baby": { + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + "minecraft:poppy", + "minecraft:blue_orchid", + "minecraft:allium", + "minecraft:azure_bluet", + "minecraft:red_tulip", + "minecraft:orange_tulip", + "minecraft:white_tulip", + "minecraft:pink_tulip", + "minecraft:oxeye_daisy", + "minecraft:cornflower", + "minecraft:lily_of_the_valley", + "minecraft:dandelion", + "minecraft:wither_rose", + "minecraft:sunflower", + "minecraft:lilac", + "minecraft:rose_bush", + "minecraft:peony", + "minecraft:flowering_azalea", + "minecraft:azalea_leaves_flowered", + "minecraft:mangrove_propagule", + "minecraft:pitcher_plant", + "minecraft:torchflower", + "minecraft:cherry_leaves", + "minecraft:pink_petals" + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 11, // This has to be lower priority than move to block goal so that bee seek shelter in rain instead of following parents + "speed_multiplier": 1.1 + } + }, + "bee_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:behavior.breed": { + "priority": 4, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "breeds_with": { + "mate_type": "minecraft:bee", + "baby_type": "minecraft:bee", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ + "minecraft:poppy", + "minecraft:blue_orchid", + "minecraft:allium", + "minecraft:azure_bluet", + "minecraft:red_tulip", + "minecraft:orange_tulip", + "minecraft:white_tulip", + "minecraft:pink_tulip", + "minecraft:oxeye_daisy", + "minecraft:cornflower", + "minecraft:lily_of_the_valley", + "minecraft:dandelion", + "minecraft:wither_rose", + "minecraft:sunflower", + "minecraft:lilac", + "minecraft:rose_bush", + "minecraft:peony", + "minecraft:flowering_azalea", + "minecraft:azalea_leaves_flowered", + "minecraft:mangrove_propagule", + "minecraft:pitcher_plant", + "minecraft:torchflower", + "minecraft:cherry_leaves", + "minecraft:pink_petals" + ] + } + }, + "track_attacker": { + "minecraft:behavior.hurt_by_target": { + "priority": 1 + } + }, + "angry_bee": { + "minecraft:angry": { + "duration": 25, + "broadcastAnger": true, + "broadcastRange": 20, + "broadcast_anger_when_dying": false, + "broadcast_filters": { + "test": "is_family", "operator": "!=", "value": "pacified" + }, + "calm_event": { + "event": "calmed_down", + "target": "self" + } + }, + "minecraft:behavior.melee_box_attack": { + "priority": 2, + "attack_once": true, + "speed_multiplier": 1.4, + "on_attack": { + "event": "countdown_to_perish_event", + "target": "self" + } + } + }, + "escape_fire": { + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25, + "force": true + }, + "minecraft:timer": { + "looping": false, + "time": [ 20, 50 ], + "randomInterval": true, + "time_down_event": { + "event": "stop_panicking_after_fire", + "target": "self" + } + } + }, + "countdown_to_perish": { + "minecraft:mark_variant": { + "value": 1 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25, + "force": true + }, + "minecraft:timer": { + "looping": false, + "time": [ 10, 60 ], + "randomInterval": true, + "time_down_event": { + "event": "perish_event", + "target": "self" + } + }, + "minecraft:type_family": { + "family": [ "bee", "mob", "arthropod", "pacified" ] + } + }, + "perish": { + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "cause": "none", + "damage_per_tick": 999 + } + ] + } + }, + "take_nearest_target": { + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "entity_types": [ + { + "filters": { + "test": "is_family", "subject": "other", "value": "player" + }, + "max_dist": 10 + } + ] + }, + "minecraft:timer": { + "looping": true, + "time": 5, + "time_down_event": { + "event": "calmed_down", + "target": "self" + } + } + }, + "look_for_food": { + "minecraft:behavior.move_to_block": { + "priority": 10, + "tick_interval": 1, + "start_chance": 0.5, + "search_range": 6, + "search_height": 4, + "goal_radius": 1.0, + "stay_duration": 20.0, + "target_selection_method": "random", + "target_offset": [ 0, 0.25, 0 ], + "target_block_filters": { + "test": "is_waterlogged", "subject": "block", "operator": "==", + "value": false + }, + "target_blocks": [ + "minecraft:poppy", + "minecraft:blue_orchid", + "minecraft:allium", + "minecraft:azure_bluet", + "minecraft:red_tulip", + "minecraft:orange_tulip", + "minecraft:white_tulip", + "minecraft:pink_tulip", + "minecraft:oxeye_daisy", + "minecraft:cornflower", + "minecraft:lily_of_the_valley", + "minecraft:dandelion", + "minecraft:wither_rose", + "minecraft:sunflower", + "minecraft:lilac", + "minecraft:rose_bush", + "minecraft:peony", + "minecraft:flowering_azalea", + "minecraft:azalea_leaves_flowered", + "minecraft:mangrove_propagule", + "minecraft:pitcher_plant", + "minecraft:torchflower", + "minecraft:cherry_leaves", + "minecraft:pink_petals", + "minecraft:open_eyeblossom" + ], + "on_stay_completed": [ + { + "event": "collected_nectar", + "target": "self" + } + ] + }, + "minecraft:timer": { + "looping": true, + "time": 180, + "time_down_event": { + "event": "find_flower_timeout" + } + }, + "minecraft:ambient_sound_interval": { + "event_name": "ambient.pollinate", + "range": 3.0, + "value": 2.0 + } + }, + "has_nectar": { + "minecraft:grows_crop": { + "charges": 10, + "chance": 0.03 + } + }, + "return_to_home": { + "minecraft:behavior.go_home": { + "priority": 4, + "speed_multiplier": 1.0, + "interval": 1, + "goal_radius": 1.2, + "on_home": [ + { + "filters": { + "any_of": [ + { + "test": "is_block", "subject": "block", "value": "minecraft:bee_nest" + }, + { + "test": "is_block", "subject": "block", "value": "minecraft:beehive" + } + ] + }, + "event": "minecraft:bee_returned_to_hive", + "target": "block" + }, + { + "filters": { + "all_of": [ + { + "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:bee_nest" + }, + { + "test": "is_block", "subject": "block", "operator": "!=", "value": "minecraft:beehive" + } + ] + }, + "event": "find_hive_event", + "target": "self" + } + ], + "on_failed": [ + { + "event": "find_hive_event", + "target": "self" + } + ] + } + }, + "find_hive": { + "minecraft:behavior.move_to_block": { + "priority": 10, + "search_range": 16, + "search_height": 10, + "tick_interval": 1, + "goal_radius": 0.633, // Was tested with 0.4 when the goal radius wasn't squared (sqrt(0.4) == ~0.633). + "target_blocks": [ + "bee_nest", + "beehive" + ], + "on_reach": [ + { + "event": "minecraft:bee_returned_to_hive", + "target": "block" + } + ] + }, + "minecraft:timer": { + "looping": false, + "time": 180, + "time_down_event": { + "event": "find_hive_timeout", + "target": "self" + } + } + }, + "hive_full": { + "minecraft:timer": { + "looping": false, + "time": [ 5, 20 ], + "randomInterval": true, + "time_down_event": { + "event": "find_hive_event", + "target": "self" + } + } + }, + "shelter_detection": { + "minecraft:environment_sensor": { + "triggers": [ + { + "event": "seek_shelter", + "filters": { + "all_of": [ + { + "any_of": [ + { + "test": "is_daytime", "value": false + }, + { + "test": "weather", "operator": "==", "value": "precipitation" + } + ] + }, + // Assume we are already going home if we have nectar + { + "test": "bool_property", + "domain": "minecraft:has_nectar", + "operator": "!=" + }, + // Assume we are already going home if we have nectar + { + "test": "has_biome_tag", + "value": "overworld" + } + ] + } + } + ] + } + }, + "abort_shelter_detection": { + "minecraft:environment_sensor": { + "triggers": [ + { + "event": "abort_sheltering", + "filters": { + "all_of": [ + { + "test": "weather", "operator": "==", "value": "clear" + }, + { + "test": "is_daytime", "value": true + } + ] + } + } + ] + } + }, + "easy_attack": { + "minecraft:attack": { + "damage": 2 + } + }, + "normal_attack": { + "minecraft:attack": { + "damage": 2, + "effect_name": "poison", + "effect_duration": 10 + } + }, + "hard_attack": { + "minecraft:attack": { + "damage": 2, + "effect_name": "poison", + "effect_duration": 18 + } + }, + "default_sound": { + "minecraft:ambient_sound_interval": { + "event_name": "ambient", + "range": 0.0, + "value": 0.0 + } + }, + "add_poison_effect": { + "minecraft:spell_effects": { + "add_effects": [ + { + "effect": "poison", + "duration": 25, + "display_on_screen_animation": true + } + ], + "remove_effects": "poison" + }, + "minecraft:behavior.timer_flag_1": { + "priority": 0, + "cooldown_range": 0.0, + "duration_range": [ 0.05, 0.05 ], + "on_end": { + "event": "minecraft:on_poison_effect_added", + "target": "self" + } + } + }, + "add_wither_effect": { + "minecraft:spell_effects": { + "add_effects": [ + { + "effect": "wither", + "duration": 40, + "display_on_screen_animation": true + } + ], + "remove_effects": "wither" + }, + "minecraft:behavior.timer_flag_1": { + "priority": 0, + "cooldown_range": 0.0, + "duration_range": [ 0.05, 0.05 ], + "on_end": { + "event": "minecraft:on_wither_effect_added", + "target": "self" + } + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 1.25, + "within_radius": 8, + "can_tempt_vertically": true, + "items": [ + "minecraft:poppy", + "minecraft:blue_orchid", + "minecraft:allium", + "minecraft:azure_bluet", + "minecraft:red_tulip", + "minecraft:orange_tulip", + "minecraft:white_tulip", + "minecraft:pink_tulip", + "minecraft:oxeye_daisy", + "minecraft:cornflower", + "minecraft:lily_of_the_valley", + "minecraft:dandelion", + "minecraft:wither_rose", + "minecraft:sunflower", + "minecraft:lilac", + "minecraft:rose_bush", + "minecraft:peony", + "minecraft:flowering_azalea", + "minecraft:azalea_leaves_flowered", + "minecraft:mangrove_propagule", + "minecraft:pitcher_plant", + "minecraft:torchflower", + "minecraft:cherry_leaves", + "minecraft:pink_petals", + "minecraft:open_eyeblossom" + ] + }, + "minecraft:behavior.move_towards_home_restriction": { + "priority": 9 + }, + "minecraft:behavior.random_hover": { + "priority": 12, + "xz_dist": 8, + "y_dist": 8, + "y_offset": -1, + "interval": 1, + "hover_height": [ 1, 4 ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.5 + }, + "minecraft:behavior.float": { + "priority": 19 + }, + "minecraft:type_family": { + "family": [ "bee", "mob", "arthropod" ] + }, + "minecraft:on_target_acquired": { + "event": "attacked", + "target": "self" + }, + "minecraft:breathable": { + "totalSupply": 0, + "suffocateTime": -1 + }, + "minecraft:collision_box": { + "width": 0.55, + "height": 0.5 + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:game_event_movement_tracking": { + "emit_flap": true + }, + "minecraft:home": { + "restriction_type": "random_movement", + "restriction_radius": 22, + "home_block_list": [ + "minecraft:bee_nest", + "minecraft:beehive" + ] + }, + "minecraft:follow_range": { + "value": 1024 + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "cause": "fall", + "deals_damage": "no" + }, + { + "on_damage": { + "filters": { + "test": "is_block", "subject": "block", "value": "minecraft:sweet_berry_bush" + } + }, + "deals_damage": "no" + } + ] + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self" + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:flying_speed": { + "value": 0.15 + }, + "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:jump.static": { + }, + "minecraft:can_fly": { + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:nameable": { + }, + "minecraft:block_sensor": { + "sensor_radius": 16, + "sources": [ + { + "test": "has_silk_touch", + "subject": "other", + "value": false + } + ], + "on_break": [ + { + "block_list": [ + "minecraft:beehive", + "minecraft:bee_nest" + ], + "on_block_broken": "hive_destroyed" + } + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject" : "other", "value" : "player"}, + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "minecraft:open_eyeblossom" } + ] + }, + "event": "fed_open_eyeblossom" + }, + "use_item": true, + "particle_on_start": { "particle_type": "food" }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject" : "other", "value" : "player"}, + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "minecraft:wither_rose"} + ] + }, + "event": "fed_wither_rose" + }, + "use_item": true, + "particle_on_start": { "particle_type": "food" }, + "interact_text": "action.interact.feed" + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 95, + "add": { + "component_groups": [ + "bee_adult" + ] + } + }, + { + "weight": 5, + "add": { + "component_groups": [ + "bee_baby" + ] + } + } + ] + }, + { + "add": { + "component_groups": [ + "track_attacker", + "shelter_detection", + "look_for_food" + ] + } + } + ] + }, + "minecraft:entity_born": { + "add": { + "component_groups": [ + "bee_baby", + "shelter_detection", + "track_attacker", + "look_for_food" + ] + } + }, + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "bee_adult", + "shelter_detection", + "track_attacker", + "look_for_food" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "bee_baby" + ] + }, + "add": { + "component_groups": [ + "bee_adult" + ] + } + }, + "minecraft:exited_disturbed_hive": { + "add": { + "component_groups": [ + "take_nearest_target" + ] + }, + "remove": { + "component_groups": [ + "find_hive", + "return_to_home", + "has_nectar", + "abort_shelter_detection", + "shelter_detection", + "escape_fire" + ] + }, + "set_property": { + "minecraft:has_nectar": false + } + }, + "hive_destroyed": { + "sequence": [ + { + "filters": { + "test": "is_family", "subject": "self", "operator": "!=", "value": "pacified" + }, + "add": { + "component_groups": [ + "take_nearest_target" + ] + }, + "remove": { + "component_groups": [ + "escape_fire" + ] + } + } + ] + }, + "stop_panicking_after_fire": { + "remove": { + "component_groups": [ + "escape_fire" + ] + } + }, + "minecraft:exited_hive_on_fire": { + "add": { + "component_groups": [ + "escape_fire" + ] + } + }, + "minecraft:exited_hive": { + "add": { + "component_groups": [ + "look_for_food", + "shelter_detection" + ] + }, + "remove": { + "component_groups": [ + "find_hive", + "return_to_home", + "has_nectar", + "abort_shelter_detection" + ] + }, + "set_property": { + "minecraft:has_nectar": false + } + }, + "minecraft:hive_full": { + "add": { + "component_groups": [ + "hive_full" + ] + }, + "remove": { + "component_groups": [ + "find_hive", + "return_to_home" + ] + } + }, + "attacked": { + "sequence": [ + { + "add": { + "component_groups": [ + "angry_bee" + ] + }, + "remove": { + "component_groups": [ + "take_nearest_target" + ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "easy" + }, + "remove": { + "component_groups": [ "normal_attack", "hard_attack" ] + }, + "add": { + "component_groups": [ "easy_attack" ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "normal" + }, + "remove": { + "component_groups": [ "easy_attack", "hard_attack" ] + }, + "add": { + "component_groups": [ "normal_attack" ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "hard" + }, + "remove": { + "component_groups": [ "easy_attack", "normal_attack" ] + }, + "add": { + "component_groups": [ "hard_attack" ] + } + } + ] + }, + "calmed_down": { + "add": { + "component_groups": [ + "shelter_detection", + "return_to_home" + ] + }, + "remove": { + "component_groups": [ + "angry_bee", + "take_nearest_target" + ] + } + }, + "collected_nectar": { + "remove": { + "component_groups": [ + "look_for_food" + ] + }, + "add": { + "component_groups": [ + "return_to_home", + "has_nectar", + "default_sound" + ] + }, + "set_property": { + "minecraft:has_nectar": true + } + }, + "find_hive_event": { + "remove": { + "component_groups": [ + "return_to_home", + "hive_full" + ] + }, + "add": { + "component_groups": [ + "find_hive" + ] + } + }, + "find_hive_timeout": { + "sequence": [ + { + "filters": { + "test": "bool_property", "operator": "!=", "domain": "minecraft:has_nectar" + }, + "remove": { + "component_groups": [ + "find_hive", + "escape_fire" + ] + }, + "add": { + "component_groups": [ + "look_for_food" + ] + } + }, + { + "filters": { + "test": "bool_property", "domain": "minecraft:has_nectar" + }, + "remove": { + "component_groups": [ + "find_hive" + ] + }, + "add": { + "component_groups": [ + "return_to_home" + ] + } + } + ] + }, + "find_flower_timeout": { + "remove": { + "component_groups": [ + "look_for_food" + ] + }, + "add": { + "component_groups": [ + "return_to_home" + ] + } + }, + "seek_shelter": { + "remove": { + "component_groups": [ + "look_for_food", + "collect_nectar", + "shelter_detection" + ] + }, + "add": { + "component_groups": [ + "default_sound", + "return_to_home", + "abort_shelter_detection" + ] + } + }, + "abort_sheltering": { + "remove": { + "component_groups": [ + "abort_shelter_detection", + "return_to_home", + "escape_fire" + ] + }, + "add": { + "component_groups": [ + "shelter_detection", + "look_for_food" + ] + } + }, + "countdown_to_perish_event": { + "remove": { + "component_groups": [ + "collect_nectar", + "track_attacker", + "take_nearest_target", + "look_for_food", + "angry_bee", + "hive_full", + "find_hive", + "escape_fire" + ] + }, + "add": { + "component_groups": [ + "countdown_to_perish" + ] + } + }, + "perish_event": { + "add": { + "component_groups": [ + "perish" + ] + } + }, + "fed_open_eyeblossom": { + "add": { + "component_groups": [ + "add_poison_effect" + ] + } + }, + "on_poison_effect_added": { + "remove": { + "component_groups": [ + "add_poison_effect" + ] + } + }, + "fed_wither_rose": { + "add": { + "component_groups": [ + "add_wither_effect" + ] + } + }, + "on_wither_effect_added": { + "remove": { + "component_groups": [ + "add_wither_effect" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/blaze.json b/behavior_pack/entities/blaze.json new file mode 100644 index 0000000..1170b9b --- /dev/null +++ b/behavior_pack/entities/blaze.json @@ -0,0 +1,201 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:blaze", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "mode_switcher": { + "minecraft:target_nearby_sensor": { + "inside_range": 2.0, + "outside_range": 3.0, + "must_see": true, + "on_inside_range": { + "event": "switch_to_melee", + "target": "self" + }, + "on_outside_range": { + "event": "switch_to_ranged", + "target": "self" + } + } + }, + "ranged_mode": { + "minecraft:shooter": { + "def": "minecraft:small_fireball" + }, + "minecraft:behavior.ranged_attack": { + "priority": 3, + "burst_shots": 3, + "burst_interval": 0.3, + "charge_charged_trigger": 0.0, + "charge_shoot_trigger": 4.0, + "attack_interval_min": 3.0, + "attack_interval_max": 5.0, + "attack_radius": 16.0 + } + }, + "melee_mode": { + "minecraft:attack": { + "damage": 6 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 3 + } + } + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 10 : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/blaze.json" + }, + "minecraft:collision_box": { + "width": 0.5, + "height": 1.8 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": false + } + }, + "minecraft:movement": { + "value": 0.23 + }, + "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:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_contact_with_water", + "operator": "==", + "value": true + }, + "cause": "drowning", + "damage_per_tick": 1 + } + ] + }, + "minecraft:follow_range": { + "value": 48, + "max": 48 + }, + "minecraft:fire_immune": { + }, + "minecraft:nameable": { + + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 48.0 + } + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 4, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.random_look_around": { + "priority": 5 + }, + "minecraft:type_family": { + "family": [ "blaze", "monster", "mob" ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:on_hurt": { + "event": "minecraft:on_hurt_event", + "target": "self" + }, + "minecraft:on_hurt_by_player": { + "event": "minecraft:on_hurt_event", + "target": "self" + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "mode_switcher" + ] + } + }, + "switch_to_melee": { + "remove": { + "component_groups": [ + "ranged_mode" + ] + }, + "add": { + "component_groups": [ + "melee_mode" + ] + } + }, + "switch_to_ranged": { + "remove": { + "component_groups": [ + "melee_mode" + ] + }, + "add": { + "component_groups": [ + "ranged_mode" + ] + } + }, + "minecraft:on_hurt_event": { + "add": { + "component_groups": [ + "mode_switcher" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/boat.json b/behavior_pack/entities/boat.json new file mode 100644 index 0000000..b170cac --- /dev/null +++ b/behavior_pack/entities/boat.json @@ -0,0 +1,350 @@ +{ + "format_version": "1.19.80", + "minecraft:entity": { + "description": { + "identifier": "minecraft:boat", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "minecraft:floating": { + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": true, + "big_wave_probability": 0.03, + "big_wave_speed": 10.0, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ] + } + }, + "minecraft:can_ride_default": { + "minecraft:rideable": { + "seat_count": 2, + "passenger_max_width": 1.375, + "interact_text": "action.interact.ride.boat", + "pull_in_entities": true, + "seats": [ + { + "position": [ 0.0, -0.2, 0.0 ], + "min_rider_count": 0, + "max_rider_count": 1, + "rotate_rider_by": -90, + "lock_rider_rotation": 90 + }, + { + "position": [ 0.2, -0.2, 0.0 ], + "min_rider_count": 2, + "max_rider_count": 2, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + }, + { + "position": [ -0.6, -0.2, 0.0 ], + "min_rider_count": 2, + "max_rider_count": 2, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + } + ] + } + }, + "minecraft:can_ride_bamboo": { + "minecraft:rideable": { + "seat_count": 2, + "passenger_max_width": 1.375, + "interact_text": "action.interact.ride.boat", + "pull_in_entities": true, + "seats": [ + { + "position": [ 0.0, 0.1, 0.0 ], + "min_rider_count": 0, + "max_rider_count": 1, + "rotate_rider_by": -90, + "lock_rider_rotation": 90 + }, + { + "position": [ 0.2, 0.1, 0.0 ], + "min_rider_count": 2, + "max_rider_count": 2, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + }, + { + "position": [ -0.6, 0.1, 0.0 ], + "min_rider_count": 2, + "max_rider_count": 2, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + } + ] + } + }, + "minecraft:above_bubble_column_down": { + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": false, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ], + "drag_down_on_buoyancy_removed": 0.7 + }, + "minecraft:timer": { + "looping": false, + "time": 3, + "time_down_event": { + "event": "minecraft:sink", + "target": "self" + } + }, + "minecraft:out_of_control": { + } + }, + "minecraft:above_bubble_column_up": { + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": false, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ], + "drag_down_on_buoyancy_removed": 0.7 + }, + "minecraft:out_of_control": { + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "boat", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 0.455 + }, + "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/boat.json" + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:is_stackable": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": true, + "big_wave_probability": 0.03, + "big_wave_speed": 10.0, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ] + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 60.0, + "max_dropped_ticks": 20, + "use_motion_prediction_hints": true + }, + "conditional_values": [ + { + "max_optimized_distance": 0.0, + "max_dropped_ticks": 0, + "use_motion_prediction_hints": true, + "conditional_values": [ + { + "test": "is_moving", + "subject": "self", + "operator": "==", + "value": true + } + ] + } + ] + }, + "minecraft:inside_block_notifier": { + "block_list": [ + { + "block": { + "name": "minecraft:bubble_column", + "states": { + "drag_down": true + } + }, + "entered_block_event": { + "event": "minecraft:entered_bubble_column_down", + "target": "self" + }, + "exited_block_event": { + "event": "minecraft:exited_bubble_column", + "target": "self" + } + }, + { + "block": { + "name": "minecraft:bubble_column", + "states": { + "drag_down": false + } + }, + "entered_block_event": { + "event": "minecraft:entered_bubble_column_up", + "target": "self" + }, + "exited_block_event": { + "event": "minecraft:exited_bubble_column", + "target": "self" + } + } + ] + }, + "minecraft:rideable": { + "seat_count": 2, + "passenger_max_width": 1.375, + "interact_text": "action.interact.ride.boat", + "pull_in_entities": true, + "seats": [ + { + "position": [ 0.0, -0.2, 0.0 ], + "min_rider_count": 0, + "max_rider_count": 1, + "rotate_rider_by": -90, + "lock_rider_rotation": 90 + }, + { + "position": [ 0.2, -0.2, 0.0 ], + "min_rider_count": 2, + "max_rider_count": 2, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + }, + { + "position": [ -0.6, -0.2, 0.0 ], + "min_rider_count": 2, + "max_rider_count": 2, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "trigger": "minecraft:add_can_ride" + }, + "minecraft:add_can_ride": { + "sequence": [ + { + "filters": { + "test": "is_variant", + "subject": "self", + "operator": "!=", + "value": 7 + }, + "add": { + "component_groups": [ + "minecraft:can_ride_default" + ] + } + }, + { + "filters": { + "test": "is_variant", + "subject": "self", + "operator": "==", + "value": 7 + }, + "add": { + "component_groups": [ + "minecraft:can_ride_bamboo" + ] + } + } + ] + }, + "minecraft:entered_bubble_column_down": { + "remove": { + "component_groups": [ + "minecraft:floating" + ] + }, + "add": { + "component_groups": [ + "minecraft:above_bubble_column_down" + ] + } + }, + "minecraft:entered_bubble_column_up": { + "remove": { + "component_groups": [ + "minecraft:floating" + ] + }, + "add": { + "component_groups": [ + "minecraft:above_bubble_column_up" + ] + } + }, + "minecraft:exited_bubble_column": { + "remove": { + "component_groups": [ + "minecraft:above_bubble_column_down", + "minecraft:above_bubble_column_up" + ] + }, + "add": { + "component_groups": [ + "minecraft:floating" + ] + }, + "trigger": "minecraft:add_can_ride" + }, + "minecraft:sink": { + "remove": { + "component_groups": [ + "minecraft:floating", + "minecraft:can_ride_default", + "minecraft:can_ride_bamboo", + "minecraft:above_bubble_column_down", + "minecraft:above_bubble_column_up" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/bogged.json b/behavior_pack/entities/bogged.json new file mode 100644 index 0000000..0f085fa --- /dev/null +++ b/behavior_pack/entities/bogged.json @@ -0,0 +1,483 @@ +{ + "format_version": "1.21.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:bogged", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:bogged_sheared": { + "minecraft:is_sheared": { + } + }, + "minecraft:ranged_attack": { + "minecraft:behavior.ranged_attack": { + "priority": 0, + "attack_interval": 3.5, + "attack_radius": 15.0 + }, + "minecraft:shooter": { + "def": "minecraft:arrow", + "sound": "bow", + "aux_val": 26 + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { "test": "is_underwater", "subject": "self", "operator": "==", "value": true }, + "event": "minecraft:melee_mode" + }, + { + "filters": { "test": "has_ranged_weapon", "subject": "self", "operator": "==", "value": false }, + "event": "minecraft:melee_mode" + } + ] + } + }, + "minecraft:melee_attack": { + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "track_target": true, + "speed_multiplier": 1.25 + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + { "test": "in_water", "subject": "self", "operator": "==", "value": false }, + { "test": "has_ranged_weapon", "subject": "self", "operator": "==", "value": true } + ] + }, + "event": "minecraft:ranged_mode" + } + ] + } + } + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:burns_in_daylight": {}, + "minecraft:nameable": {}, + "minecraft:health": { + "value": 16, + "max": 16 + }, + "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/bogged.json" + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "avoid_sun": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:equipment": { + "table": "loot_tables/entities/skeleton_gear.json" + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { "test": "is_underwater", "subject": "self", "operator": "==", "value": true }, + "event": "minecraft:melee_mode" + }, + { + "filters": { "test": "has_ranged_weapon", "subject": "self", "operator": "==", "value": false }, + "event": "minecraft:melee_mode" + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:bow", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "operator": "!=", "value": "breeze" } + } + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "reselect_targets": true, + + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "player" }, + "max_dist": 16 + }, + { + "filters": { "test": "is_family", "subject": "other", "value": "irongolem" }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "baby_turtle" }, + { "test": "in_water", "subject": "other", "operator": "!=", "value": true } + ] + }, + "max_dist": 16 + } + ] + }, + + "minecraft:behavior.flee_sun": { + "priority": 2, + "speed_multiplier": 1 + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 4, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "wolf" }, + "max_dist": 6, + "walk_speed_multiplier": 1.2, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.pickup_items": { + "priority": 5, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:type_family": { + "family": [ "bogged", "skeleton", "monster", "mob", "undead" ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears" }, + { "test": "has_component", "operator": "!=", "value": "minecraft:is_sheared" } + ] + }, + "event": "be_sheared", + "target": "self" + }, + "use_item": false, + "hurt_item": 1, + "play_sounds": "shear", + "spawn_items": { "table": "loot_tables/entities/bogged_shear.json" }, + "interact_text": "action.interact.shear" + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "minecraft:ranged_attack" + ] + } + }, + "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" ] } + }, + "be_sheared": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:bogged_sheared" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/breeze.json b/behavior_pack/entities/breeze.json new file mode 100644 index 0000000..2f06491 --- /dev/null +++ b/behavior_pack/entities/breeze.json @@ -0,0 +1,317 @@ +{ + "format_version": "1.21.30", + "minecraft:entity": { + "description": { + "identifier": "minecraft:breeze", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "properties": { + "minecraft:is_playing_idle_ground_sound": { + "type": "bool", + "client_sync": false, + "default": false + } + } + }, + "components": { + "minecraft:type_family": { + "family": [ + "breeze", + "monster", + "mob" + ] + }, + "minecraft:nameable": {}, + "minecraft:health": { + "value": 30, + "max": 30 + }, + "minecraft:loot": { + "table": "loot_tables/entities/breeze.json" + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.77 + }, + "minecraft:knockback_resistance": { + "value": 0.0 + }, + "minecraft:jump.static": { + }, + "minecraft:physics": {}, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:persistent": { + }, + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? 10 : 0" + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:movement": { + "value": 0.4 + }, + "minecraft:follow_range": { + "value": 32.0 + }, + "minecraft:navigation.walk": { + "blocks_to_avoid": [ + { + "tags": "query.any_tag('trapdoors')" + } + ] + }, + "minecraft:movement.basic": {}, + "minecraft:can_climb": {}, + "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:damage_sensor": { + "triggers": [ + { + "cause": "fall", + "deals_damage": false + }, + { + "on_damage": { + "filters": { "test" : "is_family", "subject" : "damager", "operator": "!=", "value" : "wind_charge" } + }, + "cause": "projectile", + "deals_damage": false + } + ] + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + {"test": "on_ground", "subject": "self", "value": true}, + {"test": "has_target", "subject": "self", "value": true}, + {"test": "bool_property", "operator": "==", "domain": "minecraft:is_playing_idle_ground_sound"} + ] + }, + "event": "minecraft:stop_playing_idle_ground_sound" + }, + { + "filters": { + "all_of": [ + {"test": "bool_property", "operator": "!=", "domain": "minecraft:is_playing_idle_ground_sound"}, + { + "any_of": [ + {"test": "on_ground", "subject": "self", "value": false}, + {"test": "has_target", "subject": "self", "value": false} + ] + } + ] + }, + "event": "minecraft:start_playing_idle_ground_sound" + } + ] + }, + "minecraft:reflect_projectiles": { + "reflected_projectiles": [ + "xp_bottle", + "thrown_trident", + "shulker_bullet", + "dragon_fireball", + "arrow", + "snowball", + "egg", + "fireball", + "splash_potion", + "ender_pearl", + "wither_skull", + "wither_skull_dangerous", + "small_fireball", + "lingering_potion", + "llama_spit", + "fireworks_rocket", + "fishing_hook" + ], + "azimuth_angle": "180.0 + Math.random(-20.0, 20.0)", + "reflection_scale": "0.5" + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "within_radius": 24, + "scan_interval": 10, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 24 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "irongolem" + }, + "max_dist": 24 + } + ], + "must_see": true + }, + "minecraft:behavior.fire_at_target": { + "projectile_def": "minecraft:breeze_wind_charge_projectile", + "priority": 2, + "filters": { + "all_of": [ + { "test": "is_navigating", "value": false } + ] + }, + "attack_range": [ 0, 16 ], + "attack_cooldown": 0.5, + "pre_shoot_delay": 0.75, + "post_shoot_delay": 0.2, + "ranged_fov": 90.0, + "owner_anchor": 2, + "owner_offset": [ 0.0, 0.3, 0.0 ], + "target_anchor": 0, + "target_offset": [ 0.0, 0.5, 0.0 ] + }, + "minecraft:behavior.move_around_target": { + "priority": 3, + "destination_position_range": [4.0, 8.0], + "movement_speed": 1.2, + "destination_pos_spread_degrees": 360, + "filters": { + "all_of": [ + { + "test": "on_ground", + "value": true + }, + { + "test": "target_distance", + "subject": "self", + "value": 24.0, + "operator": "<=" + } + ] + } + }, + "minecraft:behavior.hurt_by_target": { + "priority": 4, + "entity_types": [ + { + "filters": { + "all_of": [ + { + "test": "is_family", "subject": "other", "operator": "!=", "value": "skeleton" + }, + { + "test": "is_family", "subject": "other", "operator": "!=", "value": "stray" + }, + { + "test": "is_family", "subject": "other", "operator": "!=", "value": "zombie" + }, + { + "test": "is_family", "subject": "other", "operator": "!=", "value": "husk" + }, + { + "test": "is_family", "subject": "other", "operator": "!=", "value": "spider" + }, + { + "test": "is_family", "subject": "other", "operator": "!=", "value": "cavespider" + }, + { + "test": "is_family", "subject": "other", "operator": "!=", "value": "slime" + } + ] + } + } + ] + }, + "minecraft:behavior.jump_around_target": { + "priority": 5, + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "in_water", "value": true }, + { "test": "on_ground", "value": true } + ] + }, + { "test": "is_riding", "value": false }, + { "test": "in_lava", "value": false } + ] + }, + "jump_cooldown_duration": 0.5, + "jump_cooldown_when_hurt_duration": 0.1, + "last_hurt_duration": 2.0, + "prepare_jump_duration": 0.5, + "max_jump_velocity": 1.4, + "check_collision": false, + "entity_bounding_box_scale": 0.7, + "line_of_sight_obstruction_height_ignore": 4, + "valid_distance_to_target": [4.0, 20.0], + "landing_position_spread_degrees": 90, + "landing_distance_from_target": [4.0, 8.0], + "required_vertical_space": 4, + "snap_to_surface_block_range": 10, + "jump_angles": [40.0, 55.0, 60.0, 75.0, 80.0] + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 16 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + } + }, + "events": { + "minecraft:start_playing_idle_ground_sound": { + "add": { + "component_groups": [ + "minecraft:playing_idle_ground_sound" + ] + }, + "set_property": { + "minecraft:is_playing_idle_ground_sound": true + } + }, + "minecraft:stop_playing_idle_ground_sound": { + "remove": { + "component_groups": [ + "minecraft:playing_idle_ground_sound" + ] + }, + "set_property": { + "minecraft:is_playing_idle_ground_sound": false + } + } + } + } +} diff --git a/behavior_pack/entities/breeze_wind_charge_projectile.json b/behavior_pack/entities/breeze_wind_charge_projectile.json new file mode 100644 index 0000000..ba0b50c --- /dev/null +++ b/behavior_pack/entities/breeze_wind_charge_projectile.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:breeze_wind_charge_projectile", + "is_spawnable": false, + "is_summonable": false + }, + "components": { + "minecraft:explode": { + "power": 3.0, + "particle_effect": "breeze_wind_burst", + "sound_effect": "breeze_wind_charge.burst", + "knockback_scaling": 0.6, + "negates_fall_damage": false, + "causes_fire": false, + "breaks_blocks": false, + "allow_underwater": true, + "toggles_blocks": true, + "damage_scaling": 0, + "max_resistance": 0 + }, + "minecraft:collision_box": { + "width": 0.3125, + "height": 0.3125 + }, + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": 1, + "knockback": true + }, + "wind_burst_on_hit": {} + }, + "power": 0.7, + "gravity": 0.00, + "inertia": 1.0, + "liquid_inertia": 1.0, + "uncertainty_base": 5.0, + "uncertainty_multiplier": 4.0, + "reflect_on_hurt": true, + "ignored_entities": [ + "ender_crystal", + "wind_charge_projectile", + "breeze_wind_charge_projectile" + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": false, + "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 + } + }, + "minecraft:type_family": { + "family": [ "wind_charge", "wind_charge_projectile" ] + } + } + } +} diff --git a/behavior_pack/entities/camel.json b/behavior_pack/entities/camel.json new file mode 100644 index 0000000..1a33fb4 --- /dev/null +++ b/behavior_pack/entities/camel.json @@ -0,0 +1,341 @@ +{ + "format_version": "1.21.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:camel", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:camel_saddled": { + "minecraft:is_saddled": { + }, + "minecraft:input_ground_controlled": { + }, + "minecraft:dash": { + "cooldown_time": 2.75, + "horizontal_momentum": 20.0, + "vertical_momentum": 0.6 + }, + "minecraft:behavior.player_ride_tamed": { + } + }, + "minecraft:camel_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.45 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": "cactus", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 5, + "speed_multiplier": 2.5 + } + }, + "minecraft:camel_adult": { + "minecraft:inventory": { + "container_type": "horse" + }, + "minecraft:equippable": { + "slots": [ + { + "slot": 0, + "item": "saddle", + "accepted_items": [ "saddle" ], + "on_equip": { + "event": "minecraft:camel_saddled" + }, + "on_unequip": { + "event": "minecraft:camel_unsaddled" + } + } + ] + }, + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "saddle", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.saddle" + } + ] + }, + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 1.0 + }, + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:breedable": { + "require_tame": false, + "breeds_with": [ + { + "mate_type": "minecraft:camel", + "baby_type": "minecraft:camel", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + } + ], + "breed_items": [ + "cactus" + ] + }, + "minecraft:rideable": { + "seat_count": 2, + "crouching_skip_interact": true, + "pull_in_entities": true, + "family_types": [ + "player" + ], + "interact_text": "action.interact.ride.horse", + "seats": [ + { + "min_rider_count": 0, + "max_rider_count": 2, + "position": [ 0.0, 1.905, 0.5 ] + }, + { + "min_rider_count": 1, + "max_rider_count": 2, + "position": [ 0.0, 1.905, -0.5 ] + } + ] + } + }, + "minecraft:camel_standing": { + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:collision_box": { + "width": 1.7, + "height": 2.375 + } + }, + "minecraft:camel_sitting": { + "minecraft:pushable": { + "is_pushable": false, + "is_pushable_by_piston": true + }, + "minecraft:collision_box": { + "width": 1.7, + "height": 0.945 + } + } + }, + "components": { + "minecraft:is_tamed": { + }, + "minecraft:healable": { + "items": [ + { + "item": "cactus", + "heal_amount": 2 + } + ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:type_family": { + "family": [ "camel", "mob" ] + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 32 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:movement": { + "value": 0.09 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:physics": { + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:behavior.float": { + "priority": 0, + "sink_with_passengers": true + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 4 + }, + "minecraft:behavior.tempt": { + "priority": 3, + "speed_multiplier": 2.5, + "can_tempt_vertically": true, + "items": [ "cactus" ] + }, + "minecraft:behavior.random_look_around_and_sit": { + "priority": 4, + "continue_if_leashed": true, + "continue_sitting_on_reload": true, + "min_look_count": 2, + "max_look_count": 5, + "min_look_time": 80, + "max_look_time": 100, + "min_angle_of_view_horizontal": -30, + "max_angle_of_view_horizontal": 30, + "random_look_around_cooldown": 5, + "probability": 0.001 + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 2 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "target_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:variable_max_auto_step": { + "base_value": 1.5625, + "controlled_value": 1.5625, + "jump_prevented_value": 0.5625 + } + }, + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "trigger": "minecraft:spawn_adult" + }, + { + "weight": 5, + "trigger": "minecraft:entity_born" + } + ] + }, + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "minecraft:camel_adult", + "minecraft:camel_standing" + ] + } + }, + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:camel_baby", + "minecraft:camel_standing" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:camel_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:camel_adult" + ] + } + }, + "minecraft:camel_saddled": { + "add": { + "component_groups": [ + "minecraft:camel_saddled" + ] + } + }, + "minecraft:camel_unsaddled": { + "remove": { + "component_groups": [ + "minecraft:camel_saddled" + ] + } + }, + "minecraft:start_sitting": { + "add": { + "component_groups": [ + "minecraft:camel_sitting" + ] + }, + "remove": { + "component_groups": [ + "minecraft:camel_standing" + ] + } + }, + "minecraft:stop_sitting": { + "add": { + "component_groups": [ + "minecraft:camel_standing" + ] + }, + "remove": { + "component_groups": [ + "minecraft:camel_sitting" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/cat.json b/behavior_pack/entities/cat.json new file mode 100644 index 0000000..179d258 --- /dev/null +++ b/behavior_pack/entities/cat.json @@ -0,0 +1,729 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:cat", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:cat_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.4 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ "fish", "salmon" ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + } + }, + "minecraft:cat_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/cat.json" + }, + "minecraft:scale": { + "value": 0.8 + }, + "minecraft:breedable": { + "require_tame": true, + "require_full_health": true, + "allow_sitting": true, + "combine_parent_colors": true, + "breeds_with": { + "mate_type": "minecraft:cat", + "baby_type": "minecraft:cat", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ "fish", "salmon" ] + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + } + }, + "minecraft:cat_wild": { + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:tameable": { + "probability": 0.33, + "tame_items": [ "fish", "salmon" ], + "tame_event": { + "event": "minecraft:on_tame", + "target": "self" + } + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.35, 0.0 ] + } + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "reselect_targets": true, + "within_radius": 16.0, + "entity_types": [ + { + "filters": { + "test": "is_family", "subject": "other", "value": "rabbit" + }, + "max_dist": 8 + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "baby_turtle" }, + { "test": "in_water", "subject": "other", "operator": "!=", "value": true + } + ] + }, + "max_dist": 8 + } + ] + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 0.5, + "within_radius": 16, + "can_get_scared": true, + "tempt_sound": "tempt", + "sound_interval": [0, 100], + "items": [ + "fish", + "salmon" + ] + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 6, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 10, + "walk_speed_multiplier": 0.8, + "sprint_speed_multiplier": 1.33 + } + ] + }, + "minecraft:behavior.move_towards_dwelling_restriction": { + "priority": 7 + } + }, + "minecraft:cat_tame": { + "minecraft:is_tamed": { + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:color": { + "value": 14 + }, + "minecraft:sittable": { + }, + "minecraft:is_dyeable": { + "interact_text": "action.interact.dye" + }, + "minecraft:on_wake_with_owner": { + "event": "minecraft:pet_slept_with_owner", + "target": "self" + }, + "minecraft:behavior.teleport_to_owner": { + "priority": 0, + "filters": { + "all_of": [ + { "test": "owner_distance", "operator": ">", "value": 12 }, + { "test": "is_panicking" } + ] + } + }, + "minecraft:behavior.pet_sleep_with_owner": { + "priority": 2, + "speed_multiplier": 1.2, + "search_radius": 10, + "search_height": 10, + "goal_radius": 1.0 + }, + "minecraft:behavior.stay_while_sitting": { + "priority": 3 + }, + "minecraft:behavior.follow_owner": { + "priority": 4, + "speed_multiplier": 1.0, + "start_distance": 10, + "stop_distance": 2 + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 0.5, + "within_radius": 16, + "items": [ + "fish", + "salmon" + ] + }, + "minecraft:behavior.ocelot_sit_on_block": { + "priority": 7, + "speed_multiplier": 1.0 + } + }, + "minecraft:cat_gift_for_owner": { + "minecraft:behavior.drop_item_for": { + "priority": 1, + "seconds_before_pickup": 0.0, + "cooldown": 0.25, + "drop_item_chance": 0.7, + "offering_distance": 5.0, + "minimum_teleport_distance": 2.0, + "max_head_look_at_height": 10.0, + "target_range": [ 5.0, 5.0, 5.0 ], + "teleport_offset": [ 0.0, 1.0, 0.0], + "time_of_day_range": [ 0.74999, 0.80 ], + "speed_multiplier": 1.0, + "search_range": 5, + "search_height": 2, + "search_count": 0, + "goal_radius": 1.0, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "player" }, + "max_dist": 6 + } + ], + "loot_table": "loot_tables/entities/cat_gift.json", + "on_drop_attempt": { + "event": "minecraft:cat_gifted_owner", + "target": "self" + } + } + }, + "minecraft:cat_white": { + "minecraft:variant": { + "value": 0 + } + }, + "minecraft:cat_tuxedo": { + "minecraft:variant": { + "value": 1 + } + }, + "minecraft:cat_red": { + "minecraft:variant": { + "value": 2 + } + }, + "minecraft:cat_siamese": { + "minecraft:variant": { + "value": 3 + } + }, + "minecraft:cat_british": { + "minecraft:variant": { + "value": 4 + } + }, + "minecraft:cat_calico": { + "minecraft:variant": { + "value": 5 + } + }, + "minecraft:cat_persian": { + "minecraft:variant": { + "value": 6 + } + }, + "minecraft:cat_ragdoll": { + "minecraft:variant": { + "value": 7 + } + }, + "minecraft:cat_tabby": { + "minecraft:variant": { + "value": 8 + } + }, + "minecraft:cat_black": { + "minecraft:variant": { + "value": 9 + } + }, + "minecraft:cat_jellie": { + "minecraft:variant": { + "value": 10 + } + } + }, + + "components": { + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.6 + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:attack_damage": { + "value": 4 + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family": [ "cat", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 0.7 + }, + "minecraft:healable": { + "items": [ + { + "item": "fish", + "heal_amount": 2 + }, + { + "item": "salmon", + "heal_amount": 2 + } + ] + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:navigation.walk": { + "can_float": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": "no" + } + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "passive", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": false, + "can_migrate": true, + "first_founding_reward": 0 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.mount_pathing": { + "priority": 1, + "speed_multiplier": 1.25, + "target_dist": 0, + "track_target": true + }, + "minecraft:behavior.leap_at_target": { + "priority": 3, + "target_dist": 0.3 + }, + "minecraft:behavior.ocelotattack": { + "priority": 4, + "cooldown_time": 1.0, + "x_max_rotation": 30.0, + "y_max_head_rotation": 30.0, + "max_distance": 15.0, + "max_sneak_range": 15.0, + "max_sprint_range": 4.0, + "reach_multiplier": 2.0, + "sneak_speed_multiplier": 0.6, + "sprint_speed_multiplier": 1.33, + "walk_speed_multiplier": 0.8 + }, + "minecraft:behavior.random_stroll": { + "priority": 8, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 9 + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 3, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:cat_adult", + "minecraft:cat_wild" + ] + } + }, + { + "weight": 1, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:cat_baby", + "minecraft:cat_wild" + ] + } + } + ] + }, + { + "randomize": [ + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_white" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_tuxedo" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_red" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_siamese" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_british" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_calico" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_persian" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_ragdoll" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_tabby" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_black" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_jellie" + ] + } + } + ] + } + ] + }, + "minecraft:spawn_from_village": { + "sequence": [ + { + "randomize": [ + { + "weight": 3, + "trigger": "minecraft:spawn_wild_adult" + }, + { + "weight": 1, + "trigger": "minecraft:spawn_wild_baby" + } + ] + }, + { + "randomize": [ + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_tuxedo" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_red" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_siamese" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_white" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_british" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_calico" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_persian" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_ragdoll" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_tabby" + ] + } + }, + { + "weight": 15, + "add": { + "component_groups": [ + "minecraft:cat_jellie" + ] + } + } + ] + } + ] + }, + "minecraft:spawn_midnight_cat": { + "sequence": [ + { + "trigger": "minecraft:spawn_wild_adult", + "add": { + "component_groups": [ + "minecraft:cat_black" + ] + } + } + ] + }, + "minecraft:entity_born": { + "sequence": [ + { + "filters": { + "test": "has_component", "operator": "!=", "value": "minecraft:is_baby" + }, + "trigger": "minecraft:spawn_tame_baby" + } + ] + }, + "minecraft:spawn_wild_baby": { + "add": { + "component_groups": [ + "minecraft:cat_baby", + "minecraft:cat_wild" + ] + } + }, + "minecraft:spawn_wild_adult": { + "add": { + "component_groups": [ + "minecraft:cat_adult", + "minecraft:cat_wild" + ] + } + }, + "minecraft:spawn_tame_baby": { + "add": { + "component_groups": [ + "minecraft:cat_baby", + "minecraft:cat_tame" + ] + } + }, + "minecraft:spawn_tame_adult": { + "add": { + "component_groups": [ + "minecraft:cat_adult", + "minecraft:cat_tame" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:cat_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:cat_adult" + ] + } + }, + "minecraft:on_tame": { + "sequence": [ + { + "remove": { + "component_groups": [ + "minecraft:cat_wild" + ] + } + }, + { + "add": { + "component_groups": [ + "minecraft:cat_tame" + ] + } + } + ] + }, + "minecraft:pet_slept_with_owner": { + "add": { + "component_groups": [ + "minecraft:cat_gift_for_owner" + ] + } + }, + "minecraft:cat_gifted_owner": { + "remove": { + "component_groups": [ + "minecraft:cat_gift_for_owner" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/cave_spider.json b/behavior_pack/entities/cave_spider.json new file mode 100644 index 0000000..75c004f --- /dev/null +++ b/behavior_pack/entities/cave_spider.json @@ -0,0 +1,498 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:cave_spider", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:spider_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:skeleton" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "skeleton" + ], + "seats": { + "position": [ 0.0, 0.3, -0.1 ] + } + } + }, + "minecraft:spider_stray_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:skeleton.stray" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "skeleton" + ], + "seats": { + "position": [ 0.0, 0.3, -0.1 ] + } + } + }, + "minecraft:spider_wither_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:skeleton.wither" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "skeleton" + ], + "seats": { + "position": [ 0.0, 0.25, -0.1 ] + } + } + }, + "minecraft:spider_neutral": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_brightness", + "operator": "<", + "value": 0.49 + }, + "event": "minecraft:become_hostile" + } + }, + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry" + } + }, + "minecraft:spider_hostile": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_brightness", + "operator": ">", + "value": 0.49 + }, + "event": "minecraft:become_neutral" + } + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "attack_interval": 5, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "snowgolem" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.leap_at_target": { + "priority": 4, + "yd": 0.4, + "must_be_on_ground": false + }, + "minecraft:behavior.melee_box_attack": { + "priority": 3, + "track_target": true, + "random_stop_interval": 100 + } + }, + "minecraft:spider_angry": { + "minecraft:angry": { + "duration": 10, + "duration_delta": 3, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "attack_interval": 10, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "snowgolem" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.leap_at_target": { + "priority": 4, + "yd": 0.4, + "must_be_on_ground": false + }, + "minecraft:behavior.melee_box_attack": { + "priority": 3, + "track_target": true + } + }, + "minecraft:spider_poison_easy": { + "minecraft:attack": { + "damage": 2, + "effect_name": "poison", + "effect_duration": 0 + } + }, + "minecraft:spider_poison_normal": { + "minecraft:attack": { + "damage": 2, + "effect_name": "poison", + "effect_duration": 7 + } + }, + "minecraft:spider_poison_hard": { + "minecraft:attack": { + "damage": 2, + "effect_name": "poison", + "effect_duration": 15 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:renders_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 : 0" + }, + "minecraft:type_family": { + "family": [ "cavespider", "monster", "arthropod", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/spider.json" + }, + "minecraft:collision_box": { + "width": 0.7, + "height": 0.5 + }, + "minecraft:health": { + "value": 12, + "max": 12 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self" + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:navigation.climb": { + "can_path_over_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 1 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 2, + "entity_types": [ + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "armadillo" }, + { "test": "enum_property", "subject": "other", "domain": "minecraft:armadillo_state", "value": "unrolled" } + ] + }, + "max_dist": 6, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.mount_pathing": { + "priority": 5, + "speed_multiplier": 1.25, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 7 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "breeze" + } + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.3, 0.0 ] + } + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 1, + "randomize": [ + { + "weight": 80, + "filters": { + "all_of": [ + { "test": "is_daytime", "value": false }, + { "test": "is_snow_covered", "value": true }, + { "test": "is_underground", "value": false } + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_stray_jockey", + "minecraft:spider_neutral" + ] + } + }, + { + "weight": 80, + "filters": { + "test": "is_biome", "value": "the_nether" + }, + "add": { + "component_groups": [ + "minecraft:spider_wither_jockey", + "minecraft:spider_neutral" + ] + } + }, + { + "weight": 20, + "filters": { + "all_of": [ + { "test": "is_daytime", "value": false }, + { "test": "is_underground", "value": true } + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_jockey", + "minecraft:spider_neutral" + ] + } + } + ] + }, + { + "weight": 99, + "add": { + "component_groups": [ + "minecraft:spider_neutral" + ] + } + } + ] + }, + "minecraft:become_hostile": { + "sequence": [ + { + "remove": { + "component_groups": [ + "minecraft:spider_neutral" + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_hostile" + ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "easy" + }, + "remove": { + "component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ] + }, + "add": { + "component_groups": [ "minecraft:spider_poison_easy" ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "normal" + }, + "remove": { + "component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ] + }, + "add": { + "component_groups": [ "minecraft:spider_poison_normal" ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "hard" + }, + "remove": { + "component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ] + }, + "add": { + "component_groups": [ "minecraft:spider_poison_hard" ] + } + } + ] + }, + "minecraft:become_neutral": { + "remove": { + "component_groups": [ + "minecraft:spider_hostile" + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_neutral" + ] + } + }, + "minecraft:become_angry": { + "sequence": [ + { + "remove": { + "component_groups": [ + "minecraft:spider_neutral" + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_angry" + ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "easy" + }, + "remove": { + "component_groups": [ "minecraft:spider_poison_hard", "minecraft:spider_poison_normal" ] + }, + "add": { + "component_groups": [ "minecraft:spider_poison_easy" ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "normal" + }, + "remove": { + "component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_hard" ] + }, + "add": { + "component_groups": [ "minecraft:spider_poison_normal" ] + } + }, + { + "filters": { + "test": "is_difficulty", "value": "hard" + }, + "remove": { + "component_groups": [ "minecraft:spider_poison_easy", "minecraft:spider_poison_normal" ] + }, + "add": { + "component_groups": [ "minecraft:spider_poison_hard" ] + } + } + ] + }, + "minecraft:on_calm": { + "remove": { + "component_groups": [ + "minecraft:spider_angry" + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_neutral" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/chest_boat.json b/behavior_pack/entities/chest_boat.json new file mode 100644 index 0000000..e426d58 --- /dev/null +++ b/behavior_pack/entities/chest_boat.json @@ -0,0 +1,310 @@ +{ + "format_version": "1.18.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:chest_boat", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "minecraft:floating": { + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": true, + "big_wave_probability": 0.03, + "big_wave_speed": 10.0, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ] + } + }, + "minecraft:can_ride_default": { + "minecraft:rideable": { + "seat_count": 1, + "passenger_max_width": 1.375, + "interact_text": "action.interact.ride.boat", + "pull_in_entities": true, + "seats": [ + { + "position": [ 0.2, -0.2, 0.0 ], + "min_rider_count": 0, + "max_rider_count": 1, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + } + ] + } + }, + "minecraft:can_ride_bamboo": { + "minecraft:rideable": { + "seat_count": 1, + "passenger_max_width": 1.375, + "interact_text": "action.interact.ride.boat", + "pull_in_entities": true, + "seats": [ + { + "position": [ 0.2, 0.1, 0.0 ], + "min_rider_count": 0, + "max_rider_count": 1, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + } + ] + } + }, + "minecraft:above_bubble_column_down": { + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": false, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ], + "drag_down_on_buoyancy_removed": 0.7 + }, + "minecraft:timer": { + "looping": false, + "time": 3, + "time_down_event": { + "event": "minecraft:sink", + "target": "self" + } + }, + "minecraft:out_of_control": { + } + }, + "minecraft:above_bubble_column_up": { + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": false, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ], + "drag_down_on_buoyancy_removed": 0.7 + }, + "minecraft:out_of_control": { + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "boat", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 0.455 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:inventory": { + "container_type": "chest_boat", + "inventory_size": 27, + "can_be_siphoned_from": true + }, + "minecraft:is_stackable": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:buoyant": { + "base_buoyancy": 1.0, + "apply_gravity": true, + "simulate_waves": true, + "big_wave_probability": 0.03, + "big_wave_speed": 10.0, + "liquid_blocks": [ + "minecraft:water", + "minecraft:flowing_water" + ] + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 60.0, + "max_dropped_ticks": 20, + "use_motion_prediction_hints": true + }, + "conditional_values": [ + { + "max_optimized_distance": 0.0, + "max_dropped_ticks": 0, + "use_motion_prediction_hints": true, + "conditional_values": [ + { + "test": "is_moving", + "subject": "self", + "operator": "==", + "value": true + } + ] + } + ] + }, + "minecraft:inside_block_notifier": { + "block_list": [ + { + "block": { + "name": "minecraft:bubble_column", + "states": { + "drag_down": true + } + }, + "entered_block_event": { + "event": "minecraft:entered_bubble_column_down", + "target": "self" + }, + "exited_block_event": { + "event": "minecraft:exited_bubble_column", + "target": "self" + } + }, + { + "block": { + "name": "minecraft:bubble_column", + "states": { + "drag_down": false + } + }, + "entered_block_event": { + "event": "minecraft:entered_bubble_column_up", + "target": "self" + }, + "exited_block_event": { + "event": "minecraft:exited_bubble_column", + "target": "self" + } + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "passenger_max_width": 1.375, + "interact_text": "action.interact.ride.boat", + "pull_in_entities": true, + "seats": [ + { + "position": [ 0.2, -0.2, 0.0 ], + "min_rider_count": 0, + "max_rider_count": 1, + "rotate_rider_by": "query.has_any_family('blaze', 'creeper', 'enderman', 'illager', 'magmacube', 'piglin', 'player', 'skeleton', 'slime', 'villager', 'wandering_trader', 'witch', 'zombie', 'zombie_pigman') ? -90 : 0", + "lock_rider_rotation": 90 + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "trigger": "minecraft:add_can_ride" + }, + "minecraft:add_can_ride": { + "sequence": [ + { + "filters": { + "test": "is_variant", + "subject": "self", + "operator": "!=", + "value": 7 + }, + "add": { + "component_groups": [ + "minecraft:can_ride_default" + ] + } + }, + { + "filters": { + "test": "is_variant", + "subject": "self", + "operator": "==", + "value": 7 + }, + "add": { + "component_groups": [ + "minecraft:can_ride_bamboo" + ] + } + } + ] + }, + "minecraft:entered_bubble_column_down": { + "remove": { + "component_groups": [ + "minecraft:floating" + ] + }, + "add": { + "component_groups": [ + "minecraft:above_bubble_column_down" + ] + } + }, + "minecraft:entered_bubble_column_up": { + "remove": { + "component_groups": [ + "minecraft:floating" + ] + }, + "add": { + "component_groups": [ + "minecraft:above_bubble_column_up" + ] + } + }, + "minecraft:exited_bubble_column": { + "remove": { + "component_groups": [ + "minecraft:above_bubble_column_down", + "minecraft:above_bubble_column_up" + ] + }, + "add": { + "component_groups": [ + "minecraft:floating" + ] + }, + "trigger": "minecraft:add_can_ride" + }, + "minecraft:sink": { + "remove": { + "component_groups": [ + "minecraft:floating", + "minecraft:can_ride_default", + "minecraft:can_ride_bamboo", + "minecraft:above_bubble_column_down", + "minecraft:above_bubble_column_up" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/chest_minecart.json b/behavior_pack/entities/chest_minecart.json new file mode 100644 index 0000000..85a85a0 --- /dev/null +++ b/behavior_pack/entities/chest_minecart.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:chest_minecart", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:type_family": { + "family": [ "minecart", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 0.98, + "height": 0.7 + }, + "minecraft:rail_movement": { + }, + "minecraft:inventory": { + "container_type": "minecart_chest", + "inventory_size": 27, + "can_be_siphoned_from": true + }, + "minecraft:is_stackable": { + "value": true + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 60.0, + "max_dropped_ticks": 20, + "use_motion_prediction_hints": true + }, + "conditional_values": [ + { + "max_optimized_distance": 0.0, + "max_dropped_ticks": 0, + "conditional_values": [ + { "test": "is_moving", "subject": "self", "operator": "==", "value": true} + ] + } + ] + } + } + + } +} diff --git a/behavior_pack/entities/chicken.json b/behavior_pack/entities/chicken.json new file mode 100644 index 0000000..3701cb2 --- /dev/null +++ b/behavior_pack/entities/chicken.json @@ -0,0 +1,256 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:chicken", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:chicken_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value":0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + "wheat_seeds", + "beetroot_seeds", + "melon_seeds", + "pumpkin_seeds", + "pitcher_pod", + "torchflower_seeds" + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 5, + "speed_multiplier": 1.1 + } + }, + + "minecraft:chicken_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/chicken.json" + }, + "minecraft:breedable": { + "require_tame": false, + "breeds_with": { + "mate_type": "minecraft:chicken", + "baby_type": "minecraft:chicken", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ + "wheat_seeds", + "beetroot_seeds", + "melon_seeds", + "pumpkin_seeds", + "pitcher_pod", + "torchflower_seeds" + ] + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.4, 0.0 ] + } + }, + "minecraft:spawn_entity": { + "entities": { + "min_wait_time": 300, + "max_wait_time": 600, + "spawn_sound": "plop", + "spawn_item": "egg", + "filters": { + "test": "rider_count", "subject": "self", "operator": "==", "value": 0 + } + } + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "chicken", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 0.8 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 4, + "max": 4 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": false + } + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.5 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.5 + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 1.0, + "items": [ + "wheat_seeds", + "beetroot_seeds", + "melon_seeds", + "pumpkin_seeds", + "pitcher_pod", + "torchflower_seeds" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:game_event_movement_tracking": { + "emit_flap": true + } + }, + + "events": { + "from_egg": { + "add": { "component_groups": [ "minecraft:chicken_baby" ] } + }, + + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "trigger": "minecraft:spawn_adult" + }, + { + "weight": 5, + "add": { + "component_groups": [ + "minecraft:chicken_baby" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:chicken_baby" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:chicken_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:chicken_adult" + ] + } + }, + + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "minecraft:chicken_adult" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/command_block_minecart.json b/behavior_pack/entities/command_block_minecart.json new file mode 100644 index 0000000..0a5d98c --- /dev/null +++ b/behavior_pack/entities/command_block_minecart.json @@ -0,0 +1,108 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:command_block_minecart", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "minecraft:command_block_active": { + "minecraft:rail_sensor": { + "check_block_types": true, + "eject_on_activate": false, + "eject_on_deactivate": false, + "tick_command_block_on_activate": true, + "tick_command_block_on_deactivate": false, + "on_deactivate": { + "event": "minecraft:command_block_deactivate" + } + } + }, + "minecraft:command_block_inactive": { + "minecraft:rail_sensor": { + "check_block_types": false, + "eject_on_activate": false, + "eject_on_deactivate": false, + "tick_command_block_on_activate": true, + "tick_command_block_on_deactivate": false, + "on_activate": { + "event": "minecraft:command_block_activate" + } + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "minecart", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 0.98, + "height": 0.7 + }, + "minecraft:rail_movement": { + + }, + "minecraft:inventory": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 60.0, + "max_dropped_ticks": 20, + "use_motion_prediction_hints": true + }, + "conditional_values": [ + { + "max_optimized_distance": 0.0, + "max_dropped_ticks": 0, + "conditional_values": [ + { "test": "is_moving", "subject": "self", "operator": "==", "value": true} + ] + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "minecraft:command_block_inactive" + ] + } + }, + "minecraft:command_block_activate": { + "remove": { + "component_groups": [ + "minecraft:command_block_inactive" + ] + }, + "add": { + "component_groups": [ + "minecraft:command_block_active" + ] + } + }, + "minecraft:command_block_deactivate": { + "remove": { + "component_groups": [ + "minecraft:command_block_active" + ] + }, + "add": { + "component_groups": [ + "minecraft:command_block_inactive" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/cow.json b/behavior_pack/entities/cow.json new file mode 100644 index 0000000..62fdf1c --- /dev/null +++ b/behavior_pack/entities/cow.json @@ -0,0 +1,251 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:cow", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:cow_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value":0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": "wheat", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 6, + "speed_multiplier": 1.1 + } + }, + "minecraft:cow_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/cow.json" + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "breed_items": "wheat", + "breeds_with": { + "mate_type": "minecraft:cow", + "baby_type": "minecraft:cow", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + } + }, + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject" : "other", "value" : "player"}, + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "bucket:0"} + ] + } + }, + "use_item": true, + "transform_to_item": "bucket:1", + "play_sounds": "milk", + "interact_text": "action.interact.milk" + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "cow", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 1.3 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 1.25, + "items": [ + "wheat" + ] + }, + "minecraft:behavior.follow_parent": { + "priority": 5, + "speed_multiplier": 1.1 + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.105, 0.0 ] + } + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "trigger": "minecraft:spawn_adult" + }, + { + "weight": 5, + "add": { + "component_groups": [ + "minecraft:cow_baby" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:cow_baby" + ] + } + }, + + "minecraft:entity_transformed": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:cow_adult" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:cow_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:cow_adult" + ] + } + }, + + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "minecraft:cow_adult" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/creaking.json b/behavior_pack/entities/creaking.json new file mode 100644 index 0000000..4b4fed5 --- /dev/null +++ b/behavior_pack/entities/creaking.json @@ -0,0 +1,568 @@ +{ + "format_version": "1.21.60", + "use_beta_features": true, + "minecraft:entity": { + "description": { + "identifier": "minecraft:creaking", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "properties": { + "minecraft:creaking_state": { + "type": "enum", + "values": [ "neutral", "hostile_observed", "hostile_unobserved", "twitching", "crumbling" ], + "default": "neutral", + "client_sync": true + }, + "minecraft:creaking_swaying_ticks": { + "type": "int", + "default": 0, + "range": [ 0, 6 ], + "client_sync": true + } + } + }, + "components": { + "minecraft:type_family": { + "family": [ "creaking", "monster", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 2.7 + }, + "minecraft:health": { + "value": 1, + "max": 1 + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:nameable": { + }, + "minecraft:physics": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:movement.basic": { + }, + "minecraft:variable_max_auto_step": { + "base_value": 1.0625, // 1 block + 1 pixel + "jump_prevented_value": 0.5625 // 0.5 blocks + 1 pixel + }, + "minecraft:follow_range": { + "value": 32, + "max": 32 + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:renders_when_invisible": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + } + }, + + "component_groups": { + "minecraft:spawned_by_player": { + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_path_over_lava": false, + "avoid_damage_blocks": true + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava" }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:environment_sensor": { + "triggers": [ + // This trigger needs to be aligned with the analogous one defined in "minecraft:spawned_by_creaking_heart". + { + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_observed" }, + { "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_unobserved" } + ] + }, + { + "any_of": [ + { "test": "has_target", "value": false }, + { "test": "actor_health", "subject": "target", "value": 0 }, + { "test": "target_distance", "operator": ">", "value": 24 } + ] + } + ] + }, + "event": "minecraft:become_neutral" + } + ] + } + }, + "minecraft:spawned_by_creaking_heart": { + "minecraft:dimension_bound": { + }, + "minecraft:fire_immune": { + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_path_over_lava": true, + "avoid_damage_blocks": false + }, + "minecraft:home": { + "restriction_type": "all_movement", + "restriction_radius": 32 + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "cause": "void", + "deals_damage": "yes" + }, + { + "on_damage": { + "filters": { "test": "is_family", "subject": "other", "value": "player" }, + "event": "minecraft:damaged_by_player" + }, + "cause": "all", + "deals_damage": "no_but_side_effects_apply" + }, + { + "on_damage": { + "filters": { "test": "is_family", "subject": "other", "value": "mob" }, + "event": "minecraft:damaged_by_entity" + }, + "cause": "all", + "deals_damage": "no_but_side_effects_apply" + }, + { + "on_damage": { + "event": "minecraft:damaged_by_entity" + }, + "cause": "projectile", + "deals_damage": "no_but_side_effects_apply" + }, + { + "cause": "all", + "deals_damage": "no_but_side_effects_apply" + } + ] + }, + "minecraft:environment_sensor": { + "triggers": [ + // This trigger needs to be aligned with the analogous one defined in "minecraft:spawned_by_player". + { + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_observed" }, + { "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_unobserved" } + ] + }, + { + "any_of": [ + { "test": "has_target", "value": false }, + { "test": "actor_health", "subject": "target", "value": 0 }, + { "test": "target_distance", "operator": ">", "value": 24 } + ] + } + ] + }, + "event": "minecraft:become_neutral" + }, + // Force the Creaking to despawn if the conditions for it being spawned are no longer met. + { + "filters": { + "all_of": [ + { + "none_of": [ + { "test": "enum_property", "domain": "minecraft:creaking_state", "value": "twitching" }, + { "test": "has_nametag" } + ] + }, + { + "any_of": [ + { "test": "home_distance", "operator": ">", "value": 34 }, + // These values correspond to the rising and setting times of the moon, as in Dimension::isMoonVisible + { "test": "hourly_clock_time", "operator": ">", "value": 23400 }, + { "test": "hourly_clock_time", "operator": "<=", "value": 12600 } + ] + } + ] + }, + "event": "minecraft:crumble_and_notify_creaking_heart" + }, + { + "filters": { + "all_of": [ + { "test": "enum_property", "domain": "minecraft:creaking_state", "operator": "not", "value": "twitching" }, + { "test": "is_bound_to_creaking_heart", "value": false } + ] + }, + "event": "minecraft:crumble" + }, + // Make sure that the Creaking sways for exactly 5 ticks. + { + "filters": { + "all_of": [ + { "test": "int_property", "domain": "minecraft:creaking_swaying_ticks", "operator": ">", "value": 0 }, + { "test": "int_property", "domain": "minecraft:creaking_swaying_ticks", "operator": "<=", "value": 5 } + ] + }, + "event": "minecraft:increment_swaying_ticks" + }, + { + "filters": { + "test": "int_property", "domain": "minecraft:creaking_swaying_ticks", "operator": ">", "value": 5 + }, + "event": "minecraft:reset_swaying_ticks" + } + ] + } + }, + "minecraft:mobile": { + "minecraft:movement": { + "value": 0.4 + }, + "minecraft:knockback_resistance": { + "value": 0.0 + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:behavior.float": { + "priority": 0 + } + }, + "minecraft:immobile": { + "minecraft:movement": { + "value": 0.0 + }, + "minecraft:knockback_resistance": { + "value": 1.0 + }, + "minecraft:pushable": { + "is_pushable": false, + "is_pushable_by_piston": false + }, + "minecraft:body_rotation_blocked": { + } + }, + "minecraft:neutral": { + "minecraft:looked_at": { + "search_radius": 12.0, + "look_at_locations": [ + { "location": "head" }, + { "location": "body" }, + { + "location": "feet", + "vertical_offset": 0.5 + } + ], + "set_target": "once_and_keep_scanning", + "find_players_only": true, + "looked_at_cooldown": 0.1, + "field_of_view": 120, + "scale_fov_by_distance": false, + "line_of_sight_obstruction_type": "collision_for_camera", + "looked_at_event": { + "event": "minecraft:become_hostile", + "filter": "self" + }, + "filters": { + "test": "actor_health", "subject": "other", "operator": ">", "value": 0 + } + }, + "minecraft:ambient_sound_interval": { + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 0.3 + } + }, + "minecraft:hostile": { + "minecraft:looked_at": { + "search_radius": 24.0, + "look_at_locations": [ + { "location": "head" }, + { "location": "body" }, + { + "location": "feet", + "vertical_offset": 0.5 + } + ], + "set_target": "never", + "find_players_only": true, + "looked_at_cooldown": 0.1, + "field_of_view": 120, + "scale_fov_by_distance": false, + "line_of_sight_obstruction_type": "collision_for_camera", + "looked_at_event": { + "event": "minecraft:on_target_start_looking", + "filter": "self" + }, + "not_looked_at_event": { + "event": "minecraft:on_target_stop_looking", + "filter": "self" + }, + "filters": { + "none_of": [ + { "test": "actor_health", "subject": "target", "value": 0 }, + { "test": "has_equipment", "subject": "other", "domain": "head", "value": "carved_pumpkin" } + ] + } + }, + "minecraft:ambient_sound_interval": { + // We need to override the ambient sound to be something else or it will play even after the component is removed. + "event_name": "undefined" + } + }, + "minecraft:hostile_unobserved": { + "minecraft:behavior.melee_box_attack": { + "priority": 2, + "cooldown_time": 2.0 + } + }, + "minecraft:twitching": { + "minecraft:behavior.timer_flag_1": { + "priority": 0, + "cooldown_range": 0.0, + "duration_range": [ 2.25, 2.25 ], + "on_end": { + "event": "minecraft:crumble", + "target": "self" + } + } + }, + "minecraft:crumbling": { + "minecraft:instant_despawn": { + } + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "minecraft:spawned_by_player", + "minecraft:neutral", + "minecraft:mobile" + ] + } + }, + "minecraft:entity_spawned_by_creaking_heart": { + "add": { + "component_groups": [ + "minecraft:spawned_by_creaking_heart", + "minecraft:neutral", + "minecraft:mobile" + ] + } + }, + "minecraft:become_hostile": { + "filters": { + "test": "enum_property", "domain": "minecraft:creaking_state", "value": "neutral" + }, + "add": { + "component_groups": [ + "minecraft:hostile", + "minecraft:immobile" + ] + }, + "remove": { + "component_groups": [ + "minecraft:neutral", + "minecraft:hostile_unobserved", + "minecraft:mobile" + ] + }, + "set_property": { + "minecraft:creaking_state": "hostile_observed" + }, + "emit_vibration": { + "vibration": "entity_act" + }, + "play_sound": { + "sound": "activate" + } + }, + "minecraft:become_neutral": { + "filters": { + "test": "enum_property", "domain": "minecraft:creaking_state", "operator": "not", "value": "neutral" + }, + "add": { + "component_groups": [ + "minecraft:neutral", + "minecraft:mobile" + ] + }, + "remove": { + "component_groups": [ + "minecraft:hostile", + "minecraft:hostile_unobserved", + "minecraft:immobile" + ] + }, + "set_property": { + "minecraft:creaking_state": "neutral" + }, + "emit_vibration": { + "vibration": "entity_act" + }, + "play_sound": { + "sound": "deactivate" + }, + "reset_target": { + } + }, + "minecraft:on_target_start_looking": { + "filters": { + "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_unobserved" + }, + "add": { + "component_groups": [ + "minecraft:hostile", + "minecraft:immobile" + ] + }, + "remove": { + "component_groups": [ + "minecraft:neutral", + "minecraft:hostile_unobserved", + "minecraft:mobile" + ] + }, + "set_property": { + "minecraft:creaking_state": "hostile_observed" + }, + "emit_vibration": { + "vibration": "entity_act" + }, + "play_sound": { + "sound": "freeze" + } + }, + "minecraft:on_target_stop_looking": { + "filters": { + "test": "enum_property", "domain": "minecraft:creaking_state", "value": "hostile_observed" + }, + "add": { + "component_groups": [ + "minecraft:hostile", + "minecraft:hostile_unobserved", + "minecraft:mobile" + ] + }, + "remove": { + "component_groups": [ + "minecraft:neutral", + "minecraft:immobile" + ] + }, + "set_property": { + "minecraft:creaking_state": "hostile_unobserved" + }, + "emit_vibration": { + "vibration": "entity_act" + }, + "play_sound": { + "sound": "unfreeze" + } + }, + "minecraft:start_twitching": { + "filters": { + "test": "enum_property", "domain": "minecraft:creaking_state", "operator": "not", "value": "twitching" + }, + "add": { + "component_groups": [ + "minecraft:immobile", + "minecraft:twitching" + ] + }, + "remove": { + "component_groups": [ + "minecraft:neutral", + "minecraft:hostile", + "minecraft:hostile_unobserved", + "minecraft:mobile" + ] + }, + "set_property": { + "minecraft:creaking_state": "twitching" + } + }, + "minecraft:crumble": { + "filters": { + "test": "enum_property", "domain": "minecraft:creaking_state", "operator": "not", "value": "crumbling" + }, + "remove": { + "component_groups": [ + "minecraft:neutral", + "minecraft:hostile", + "minecraft:hostile_unobserved", + "minecraft:twitching", + "minecraft:mobile" + ] + }, + "add": { + "component_groups": [ + "minecraft:immobile", + "minecraft:crumbling" + ] + }, + "set_property": { + "minecraft:creaking_state": "crumbling" + }, + "emit_vibration": { + "vibration": "entity_die" + }, + "emit_particle": { + "particle": "creakingcrumble" + }, + "play_sound": { + "sound": "death" + } + }, + "minecraft:crumble_and_notify_creaking_heart": { + "execute_event_on_home_block": { + "event": "minecraft:on_spawned_creaking_crumbling" + }, + "trigger": "minecraft:crumble" + }, + "minecraft:damaged_by_player": { + "execute_event_on_home_block": { + "event": "minecraft:on_spawned_creaking_damaged_by_player" + }, + "trigger": "minecraft:increment_swaying_ticks", + "emit_vibration": { + "vibration": "entity_act" + } + }, + "minecraft:damaged_by_entity": { + "trigger": "minecraft:increment_swaying_ticks", + "emit_vibration": { + "vibration": "entity_act" + } + }, + "minecraft:increment_swaying_ticks": { + "set_property": { + "minecraft:creaking_swaying_ticks": "math.clamp(query.property('minecraft:creaking_swaying_ticks') + 1, 0, 6)" + } + }, + "minecraft:reset_swaying_ticks": { + "set_property": { + "minecraft:creaking_swaying_ticks": "0" + } + } + } + } +} diff --git a/behavior_pack/entities/creeper.json b/behavior_pack/entities/creeper.json new file mode 100644 index 0000000..696c7f8 --- /dev/null +++ b/behavior_pack/entities/creeper.json @@ -0,0 +1,310 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:creeper", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "minecraft:exploding": { + "minecraft:explode": { + "fuse_length": 1.5, + "fuse_lit": true, + "power": 3, + "causes_fire": false, + "destroy_affected_by_griefing": true + } + }, + "minecraft:charged_creeper": { + "minecraft:is_charged": { + } + }, + "minecraft:charged_exploding": { + "minecraft:explode": { + "fuse_length": 1.5, + "fuse_lit": true, + "power": 6, + "causes_fire": false, + "destroy_affected_by_griefing": true + } + }, + "minecraft:forced_exploding": { + "minecraft:target_nearby_sensor": { + }, + "minecraft:explode": { + "fuse_length": 1.5, + "fuse_lit": true, + "power": 3, + "causes_fire": false, + "destroy_affected_by_griefing": true + }, + "minecraft:on_target_escape": { + } + }, + "minecraft:forced_charged_exploding": { + "minecraft:target_nearby_sensor": { + }, + "minecraft:explode": { + "fuse_length": 1.5, + "fuse_lit": true, + "power": 6, + "causes_fire": false, + "destroy_affected_by_griefing": true + }, + "minecraft:on_target_escape": { + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 : 0" + }, + "minecraft:type_family": { + "family": [ "creeper", "monster", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.8 + }, + "minecraft:movement": { + "value": 0.2 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true + }, + "minecraft:movement.basic": { + + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/creeper.json" + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:damage_sensor": { + "triggers": { + "on_damage": { + "filters": { "test": "is_family", "subject": "other", "value": "lightning" + }, + "event": "minecraft:become_charged" + }, + "deals_damage": false + } + }, + "minecraft:target_nearby_sensor": { + "inside_range": 2.5, + "outside_range": 6.0, + "must_see": true, + "on_inside_range": { + "event": "minecraft:start_exploding", + "target": "self" + }, + "on_outside_range": { + "event": "minecraft:stop_exploding", + "target": "self" + }, + "on_vision_lost_inside_range": { + "event": "minecraft:stop_exploding", + "target": "self" + } + }, + "minecraft:interact": { + "interactions": { + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "flint_and_steel" }, + { "test": "has_component", "operator": "!=", "value": "minecraft:explode" } + ] + }, + "event": "minecraft:start_exploding_forced", + "target": "self" + }, + "hurt_item": 1, + "swing": true, + "play_sounds": "ignite", + "interact_text": "action.interact.creeper" + } + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.swell": { + "start_distance": 2.5, + "stop_distance": 6.0, + "priority": 2 + }, + "minecraft:behavior.melee_attack": { + "priority": 4, + "speed_multiplier": 1.25, + "track_target": false, + "reach_multiplier": 0.0 // this prevents creepers from ocasionally performing melee attacks while using this goal to chase + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 3, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test" : "is_family", "subject" : "other", "value" : "ocelot"}, + { "test" : "is_family", "subject" : "other", "value" : "cat"} + ] + }, + "max_dist": 6, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 5, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 6, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 6 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "must_see": true, + "must_see_forget_duration": 3.0, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.hurt_by_target": { + "priority": 2 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:on_target_escape": { + "event": "minecraft:stop_exploding", + "target": "self" + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:start_exploding_forced": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:is_charged" + }, + "add": { + "component_groups": [ + "minecraft:forced_exploding" + ] + } + }, + { + "filters": { + "test": "has_component", + "value": "minecraft:is_charged" + }, + "add": { + "component_groups": [ + "minecraft:forced_charged_exploding" + ] + } + } + ] + }, + "minecraft:start_exploding": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:is_charged" + }, + "add": { + "component_groups": [ + "minecraft:exploding" + ] + } + }, + { + "filters": { + "test": "has_component", + "value": "minecraft:is_charged" + }, + "add": { + "component_groups": [ + "minecraft:charged_exploding" + ] + } + } + ] + }, + "minecraft:stop_exploding": { + "remove": { + "component_groups": [ + "minecraft:exploding" + ] + } + }, + "minecraft:become_charged": { + "remove": { + "component_groups": [ + "minecraft:exploding" + ] + }, + "add": { + "component_groups": [ + "minecraft:charged_creeper" + ] + } + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/entities/dolphin.json b/behavior_pack/entities/dolphin.json new file mode 100644 index 0000000..50b1c1d --- /dev/null +++ b/behavior_pack/entities/dolphin.json @@ -0,0 +1,430 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:dolphin", + "spawn_category": "water_creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "dolphin_adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/dolphin.json" + }, + "minecraft:bribeable": { + "bribe_items": [ "fish", "salmon" ] + }, + "minecraft:behavior.melee_box_attack": { + "priority": 2, + "track_target": true + } + }, + "dolphin_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.65 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ "fish", "salmon" ], + "grow_up": { + "event": "ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 4, + "speed_multiplier": 1.1 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + } + }, + "dolphin_angry": { + "minecraft:angry": { + "duration": 25, + "broadcast_anger": true, + "broadcast_range": 16, + "calm_event": { + "event": "on_calm", + "target": "self" + } + }, + "minecraft:on_target_acquired": { + } + }, + "dolphin_dried": { + "minecraft:damage_over_time": { + "damage_per_hurt": 1, + "time_between_hurt": 0 + } + }, + "dolphin_swimming_navigation": { + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6 + }, + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": false, + "can_swim": true, + "can_walk": false, + "can_breach": true, + "can_sink": false + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + { "test": "on_ground", "operator": "==", "value": true }, + { "test": "in_water", "operator": "!=", "value": true } + ] + }, + "event": "navigation_on_land" + } + ] + } + }, + "dolphin_on_land": { + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": true, + "can_swim": true, + "can_walk": true, + "can_breach": false, + "can_jump": false + }, + "minecraft:drying_out_timer": { + "total_time": 120, + "water_bottle_refill_time": 0, + "dried_out_event": { + "event": "dried_out" + }, + "stopped_drying_out_event": { + "event": "stop_dryingout" + }, + "recover_after_dried_out_event": { + "event": "recover_after_dried_out" + } + } + }, + "dolphin_on_land_in_rain": { + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": true, + "can_swim": true, + "can_walk": true, + "can_breach": false, + "can_jump": false + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "in_water", "operator": "==", "value": true + }, + "event": "navigation_off_land" + }, + { + "filters": { + "test": "in_water_or_rain", "operator": "!=", "value": true + }, + "event": "start_dryingout" + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family": [ "dolphin", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 0.6 + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:follow_range": { + "value": 48, + "max": 48 + }, + "minecraft:breathable": { + "total_supply": 240, + "suffocate_time": 0, + "breathes_air": true, + "breathes_water": false, + "generates_bubbles": false + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:movement": { + "value": 0.1 + }, + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": true, + "can_swim": true, + "can_walk": false, + "can_breach": true, + "can_sink": false + }, + + "minecraft:underwater_movement": { + "value": 0.15 + }, + + "minecraft:jump.static": { + "jump_power": 0.6 + }, + "minecraft:can_climb": { + }, + "minecraft:behavior.swim_up_for_breath": { + "priority": 1 + }, + "minecraft:behavior.swim_with_entity": { + "priority": 4, + "success_rate": 0.1, + "chance_to_stop": 0.0333, + "state_check_interval": 0.5, + "catch_up_threshold": 12.0, + "match_direction_threshold": 2.0, + "catch_up_multiplier": 2.5, + "speed_multiplier": 1.5, + "search_range": 20.0, + "stop_distance": 5.0, + + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "player" } + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.random_swim": { + "priority": 5, + "interval": 0, + "xz_dist": 20 + }, + "minecraft:behavior.random_breach": { + "priority": 6, + "interval": 50, + "xz_dist": 6, + "cooldown_time": 2.0 + }, + "minecraft:behavior.random_look_around": { + "priority": 7 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 2, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "guardian_elder" + }, + { + "test": "is_family", + "subject": "other", + "value": "guardian" + } + ] + }, + "max_dist": 8, + "walk_speed_multiplier": 1.0, + "sprint_speed_multiplier": 1.0 + } + ], + "probability_per_strength": 0.14 + }, + "minecraft:behavior.find_underwater_treasure": { + "priority": 2, + "speed_multiplier": 2.0, + "search_range": 30, + "stop_distance": 50 + }, + "minecraft:behavior.move_to_water": { + "priority": 1, + "search_range": 15, + "search_height": 5 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:flocking": { + "in_water": false, + "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": 6.0, + "breach_influence": 0.0, + "separation_weight": 1.75, + "separation_threshold": 3.0, + "cohesion_weight": 1.85, + "cohesion_threshold": 6.5, + "innner_cohesion_threshold": 3.5, + "min_height": 4.0, + "max_height": 4.0, + "block_distance": 1.0, + "block_weight": 0.0 + }, + "minecraft:on_target_acquired": { + "event": "become_angry", + "target": "self" + }, + "minecraft:on_target_escape": { + "target": "self" + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.4 + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 90, + "add": { + "component_groups": [ + "dolphin_adult", + "dolphin_swimming_navigation" + ] + } + }, + { + "weight": 10, + "add": { + "component_groups": [ + "dolphin_baby", + "dolphin_swimming_navigation" + ] + } + } + ] + }, + "ageable_grow_up": { + "remove": { + "component_groups": [ + "dolphin_baby" + ] + }, + "add": { + "component_groups": [ + "dolphin_adult" + ] + } + }, + "become_angry": { + "add": { + "component_groups": [ + "dolphin_angry" + ] + } + }, + "on_calm": { + "remove": { + "component_groups": [ + "dolphin_angry" + ] + } + }, + "stop_dryingout": { + "remove": { + "component_groups": [ + "dolphin_on_land", + "dolphin_dried" + ] + }, + "add": { + "component_groups": [ "dolphin_on_land_in_rain" ] + } + }, + "start_dryingout": { + "remove": { + "component_groups": [ "dolphin_on_land_in_rain" ] + }, + "add": { + "component_groups": [ + "dolphin_on_land" + ] + } + }, + "dried_out": { + "add": { + "component_groups": [ "dolphin_dried" ] + } + }, + "recover_after_dried_out": { + "remove": { + "component_groups": [ "dolphin_dried" ] + } + }, + "navigation_on_land": { + "add": { + "component_groups": [ "dolphin_on_land" ] + }, + "remove": { + "component_groups": [ "dolphin_swimming_navigation" ] + } + }, + "navigation_off_land": { + "add": { + "component_groups": [ "dolphin_swimming_navigation" ] + }, + "remove": { + "component_groups": [ + "dolphin_on_land_in_rain", + "dolphin_on_land", + "dolphin_dried" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/donkey.json b/behavior_pack/entities/donkey.json new file mode 100644 index 0000000..0e16271 --- /dev/null +++ b/behavior_pack/entities/donkey.json @@ -0,0 +1,534 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:donkey", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:donkey_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale_by_age": { + "start_scale": 0.5, + "end_scale": 1.0 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + { + "item": "wheat", + "growth": 0.016667 + }, + { + "item": "sugar", + "growth": 0.025 + }, + { + "item": "hay_block", + "growth": 0.15 + }, + { + "item": "apple", + "growth": 0.05 + }, + { + "item": "golden_carrot", + "growth": 0.05 + }, + { + "item": "golden_apple", + "growth": 0.2 + }, + { + "item": "appleEnchanted", + "growth": 0.2 + } + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 4, + "speed_multiplier": 1.0 + } + }, + + "minecraft:donkey_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/horse.json" + }, + "minecraft:behavior.run_around_like_crazy": { + "priority": 1, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 1.0 + } + }, + + "minecraft:donkey_wild": { + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "player", + "zombie" + ], + "interact_text": "action.interact.mount", + "seats": { + "position": [ 0.0, 0.925, -0.2 ] + } + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:tamemount": { + "min_temper": 0, + "max_temper": 100, + "feed_text": "action.interact.feed", + "ride_text": "action.interact.mount", + "feed_items": [ + { + "item": "wheat", + "temper_mod": 3 + }, + { + "item": "sugar", + "temper_mod": 3 + }, + { + "item": "apple", + "temper_mod": 3 + }, + { + "item": "golden_carrot", + "temper_mod": 5 + }, + { + "item": "golden_apple", + "temper_mod": 10 + }, + { + "item": "appleEnchanted", + "temper_mod": 10 + } + ], + "auto_reject_items": [ + { + "item": "horsearmorleather" + }, + { + "item": "horsearmoriron" + }, + { + "item": "horsearmorgold" + }, + { + "item": "horsearmordiamond" + }, + { + "item": "saddle" + } + ], + "tame_event": { + "event": "minecraft:on_tame", + "target": "self" + } + } + }, + + "minecraft:donkey_tamed": { + "minecraft:is_tamed": { + }, + "minecraft:equippable": { + "slots": [ + { + "slot": 0, + "item": "saddle", + "accepted_items": [ "saddle" ], + "on_equip": { + "event": "minecraft:donkey_saddled" + }, + "on_unequip": { + "event": "minecraft:donkey_unsaddled" + } + } + ] + }, + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.equip" + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "crouching_skip_interact": true, + "family_types": [ + "player" + ], + "interact_text": "action.interact.ride.horse", + "seats": { + "position": [ 0.0, 0.925, -0.2 ] + } + }, + "minecraft:behavior.player_ride_tamed": { + + }, + "minecraft:inventory": { + "inventory_size": 16, + "container_type": "horse" + }, + "minecraft:breedable": { + "parent_centric_attribute_blending": [ + "minecraft:health" + ], + "require_tame": true, + "inherit_tamed": false, + "breeds_with": [ + { + "mate_type": "minecraft:donkey", + "baby_type": "minecraft:donkey", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + { + "mate_type": "minecraft:horse", + "baby_type": "minecraft:mule", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + } + ], + "breed_items": [ + "golden_carrot", + "golden_apple", + "appleEnchanted" + ] + } + }, + "minecraft:donkey_unchested": { + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.saddle" + }, + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneaking", "subject": "other", "value": false }, + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "chest" } + ] + }, + "event": "minecraft:on_chest", + "target": "self" + }, + "use_item": true, + "interact_text": "action.interact.attachchest" + } + ] + } + }, + + "minecraft:donkey_chested": { + "minecraft:is_chested": { + }, + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneaking", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.saddle" + } + ] + } + }, + + "minecraft:donkey_saddled": { + "minecraft:is_saddled": { + }, + "minecraft:input_ground_controlled": { + }, + "minecraft:can_power_jump": { + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:ambient_sound_interval": { + }, + "minecraft:type_family": { + "family": [ "donkey", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 1.6 + }, + "minecraft:health": { + "value": { + "range_min": 15, + "range_max": 30 + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.175 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:nameable": { + }, + "minecraft:horse.jump_strength": { + "value": 0.5 + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:healable": { + "items": [ + { + "item": "wheat", + "heal_amount": 2 + }, + { + "item": "sugar", + "heal_amount": 1 + }, + { + "item": "hay_block", + "heal_amount": 20 + }, + { + "item": "apple", + "heal_amount": 3 + }, + { + "item": "golden_carrot", + "heal_amount": 4 + }, + { + "item": "golden_apple", + "heal_amount": 10 + }, + { + "item": "appleEnchanted", + "heal_amount": 10 + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 1.2, + "items": [ + "golden_apple", + "appleEnchanted", + "golden_carrot" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.7 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 80, + "add": { + "component_groups": [ + "minecraft:donkey_adult", + "minecraft:donkey_wild" + ] + } + }, + { + "weight": 20, + "add": { + "component_groups": [ + "minecraft:donkey_baby" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:donkey_baby" + ] + } + }, + + "minecraft:on_tame": { + "remove": { + "component_groups": [ + "minecraft:donkey_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:donkey_tamed", + "minecraft:donkey_unchested" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:donkey_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:donkey_adult", + "minecraft:donkey_wild" + ] + } + }, + + "minecraft:on_chest": { + "remove": { + "component_groups": [ + "minecraft:donkey_unchested" + ] + }, + "add": { + "component_groups": [ + "minecraft:donkey_chested" + ] + } + }, + + "minecraft:donkey_saddled": { + "add": { + "component_groups": [ + "minecraft:donkey_saddled" + ] + } + }, + "minecraft:donkey_unsaddled": { + "remove": { + "component_groups": [ + "minecraft:donkey_saddled" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/dragon_fireball.json b/behavior_pack/entities/dragon_fireball.json new file mode 100644 index 0000000..1a3bc53 --- /dev/null +++ b/behavior_pack/entities/dragon_fireball.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:dragon_fireball", + "is_spawnable": false, + "is_summonable": false + }, + + "components": { + "minecraft:collision_box": { + "width": 0.31, + "height": 0.31 + }, + "minecraft:projectile": { + "on_hit": { + "spawn_aoe_cloud": { + "radius": 6.0, + "radius_on_use": 0, + "potion": 23, + "particle": "dragonbreath", + "duration": 120, + "color": [ 220, 0, 239 ], + "affect_owner": false, + "reapplication_delay": 20 + }, + "remove_on_hit": {} + }, + "power": 1.3, + "gravity": 0.00, + "inertia": 1, + "anchor": 2, + "offset": [ 0, 0.5, 0 ], + "semi_random_diff_damage": true, + "uncertainty_base": 10.0, + "reflect_on_hurt": true, + "hit_sound": "explode" + }, + "minecraft:physics": { + }, + "minecraft:dimension_bound": { + }, + "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 + } + } + } + } +} diff --git a/behavior_pack/entities/drowned.json b/behavior_pack/entities/drowned.json new file mode 100644 index 0000000..265a706 --- /dev/null +++ b/behavior_pack/entities/drowned.json @@ -0,0 +1,666 @@ +{ + "format_version": "1.20.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:drowned", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "minecraft:baby_drowned": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:movement": { + "value": 0.35 + }, + "minecraft:underwater_movement": { + "value": 0.08 + } + }, + + "minecraft:adult_drowned": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/drowned.json" + } + }, + + "minecraft:mode_switcher": { + "minecraft:target_nearby_sensor": { + "inside_range": 3.0, + "outside_range": 5.0, + "on_inside_range": { + "event": "minecraft:switch_to_melee", + "target": "self" + }, + "on_outside_range": { + "event": "minecraft:switch_to_ranged", + "target": "self" + } + } + }, + + "minecraft:ranged_mode": { + "minecraft:shooter": { + "def": "minecraft:thrown_trident", + "sound": "item.trident.throw" + }, + "minecraft:behavior.ranged_attack": { + "priority": 3, + "attack_interval_min": 1.0, + "attack_interval_max": 3.0, + "attack_radius": 10.0, + "swing": true + } + }, + + "minecraft:ranged_equipment": { + "minecraft:equipment": { + "table": "loot_tables/entities/drowned_ranged_equipment.json", + "slot_drop_chance": [ + { + "slot": "slot.weapon.offhand", + "drop_chance": 1.0 + } + ] + } + }, + + "minecraft:melee_mode": { + "minecraft:attack": { + "damage": 3 + }, + "minecraft:behavior.melee_box_attack": { + "can_spread_on_fire": true, + "priority": 3, + "speed_multiplier": 1, + "track_target": false, + "require_complete_path": true + } + }, + + "minecraft:melee_equipment": { + "minecraft:equipment": { + "table": "loot_tables/entities/drowned_equipment.json", + "slot_drop_chance": [ + { + "slot": "slot.weapon.offhand", + "drop_chance": 1.0 + } + ] + } + }, + + "minecraft:hunter_mode": { + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": false, + "can_break_doors": true, + "can_swim": true, + "can_walk": true, + "avoid_sun": true + } + }, + + "minecraft:wander_mode": { + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": false, + "can_break_doors": true, + "can_swim": false, + "can_walk": true, + "avoid_sun": true + } + }, + + "minecraft:can_break_doors": { + "minecraft:annotation.break_door": { + } + } + }, + + "components": { + "minecraft:nameable": { + }, + + // Zombie Components + "minecraft:type_family": { + "family": [ "drowned", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:underwater_movement": { + "value": 0.06 + }, + "minecraft:movement.generic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.23 + }, + "minecraft:burns_in_daylight": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_air": true, + "breathes_water": true + }, + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": false, + "can_break_doors": true, + "can_swim": false, + "can_walk": true, + "avoid_sun": true + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:nautilus_shell", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:trident", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.flee_sun": { + "priority": 2, + "speed_multiplier": 1 + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.stomp_turtle_egg": { + "priority": 4, + "speed_multiplier": 1, + "search_range": 10, + "search_height": 2, + "goal_radius": 1.14, + "interval": 20 + }, + "minecraft:behavior.pickup_items": { + "priority": 6, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true, + "excluded_items": [ + "minecraft:glow_ink_sac" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "reselect_targets": true, + "must_see": true, + "within_radius": 12.0, + "must_see_forget_duration": 17.0, + "persist_time": 0.5, + "entity_types": [ + { + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "snowgolem" }, + { "test": "is_family", "subject": "other", "value": "irongolem" }, + { "test": "is_family", "subject": "other", "value": "axolotl" } + ] + }, + { + "any_of": [ + { "test": "in_water", "subject": "other", "value": true }, + { "test": "is_daytime", "value": false } + ] + } + ] + }, + "max_dist": 20 + }, + { + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "villager" }, + { "test": "is_family", "subject": "other", "value": "wandering_trader" } + ] + }, + { + "any_of": [ + { "test": "in_water", "subject": "other", "value": true }, + { "test": "is_daytime", "value": false } + ] + } + ] + }, + "max_dist": 20, + "must_see": false + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "baby_turtle" }, + { "test": "in_water", "subject": "other", "operator": "!=", "value": true } + ] + }, + "max_dist": 20 + } + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:on_target_acquired": { + "event": "minecraft:has_target", + "target": "self" + }, + "minecraft:on_target_escape": { + "event": "minecraft:lost_target", + "target": "self" + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 15, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:mode_switcher", + "minecraft:ranged_equipment", + "minecraft:ranged_mode", + "minecraft:adult_drowned" + ] + } + }, + { + "weight": 85, + "randomize": [ + { + "weight": 95, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:melee_equipment", + "minecraft:melee_mode", + "minecraft:adult_drowned" + ] + } + }, + { + "weight": 5, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:melee_equipment", + "minecraft:melee_mode", + "minecraft:baby_drowned" + ] + } + } + ] + } + ] + }, + { + "randomize": [ + { + "weight": 10, + "add": { + "component_groups": [ "minecraft:can_break_doors" ] + } + }, + { + "weight": 90 + } + ] + } + ] + }, + "minecraft:as_baby": { + "add": { + "component_groups": [ + "minecraft:melee_equipment", + "minecraft:melee_mode", + "minecraft:baby_drowned" + ] + } + }, + "minecraft:as_adult": { + "add": { + "component_groups": [ + "minecraft:melee_equipment", + "minecraft:melee_mode", + "minecraft:adult_drowned" + ] + } + }, + "minecraft:switch_to_melee": { + "remove": { + "component_groups": [ + "minecraft:ranged_mode" + ] + }, + "add": { + "component_groups": [ + "minecraft:melee_mode" + ] + } + }, + "minecraft:switch_to_ranged": { + "remove": { + "component_groups": [ + "minecraft:melee_mode" + ] + }, + "add": { + "component_groups": [ + "minecraft:ranged_mode" + ] + } + }, + "minecraft:has_target": { + "remove": { + "component_groups": [ + "minecraft:wander_mode" + ] + }, + "add": { + "component_groups": [ + "minecraft:hunter_mode" + ] + } + }, + "minecraft:lost_target": { + "remove": { + "component_groups": [ + "minecraft:hunter_mode" + ] + }, + "add": { + "component_groups": [ + "minecraft:wander_mode" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/egg.json b/behavior_pack/entities/egg.json new file mode 100644 index 0000000..5506e21 --- /dev/null +++ b/behavior_pack/entities/egg.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:egg", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": 0, + "knockback": true, + "destroy_on_hit": true + }, + "spawn_chance": { + "first_spawn_chance": 8, + "second_spawn_chance": 32, + "first_spawn_count": 1, + "second_spawn_count": 4, + "spawn_definition": "minecraft:chicken", + "spawn_baby": true + }, + "remove_on_hit": {}, + "particle_on_hit": { + "particle_type": "iconcrack", + "num_particles": 6, + "on_entity_hit": true, + "on_other_hit": true + } + }, + "power": 1.5, + "gravity": 0.03, + "angle_offset": 0.0 + }, + "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 + } + } + } + } +} diff --git a/behavior_pack/entities/elder_guardian.json b/behavior_pack/entities/elder_guardian.json new file mode 100644 index 0000000..c45adfb --- /dev/null +++ b/behavior_pack/entities/elder_guardian.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:elder_guardian", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 10 : 0" + }, + "minecraft:collision_box": { + "width": 1.99, + "height": 1.99 + }, + "minecraft:nameable": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/elder_guardian.json" + }, + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": false, + "can_swim": true, + "can_walk": false, + "can_breach": true + }, + "minecraft:movement.sway": { + }, + "minecraft:jump.static": { + }, + "minecraft:health": { + "value": 80, + "max": 80 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:underwater_movement": { + "value": 0.3 + }, + "minecraft:attack": { + "damage": 5 + }, + "minecraft:follow_range": { + "value": 16, + "max": 16 + }, + "minecraft:breathable": { + "breathes_water": true + }, + "minecraft:home": { + "restriction_radius": 16 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test" : "is_family", "subject" : "other", "value" : "squid"}, + { "test" : "is_family", "subject" : "other", "value" : "axolotl"} + ] + }, + "max_dist": 16 + } + ], + "attack_interval_min": 1.0, + "must_see": true + }, + "minecraft:behavior.guardian_attack": { + "priority": 4 + }, + "minecraft:behavior.move_towards_home_restriction": { + "priority": 5, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.random_swim": { + "priority": 7, + "speed_multiplier": 0.5, + "avoid_surface": false + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 12.0, + "probability": 0.01 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:type_family": { + "family": [ "guardian_elder", "monster", "mob" ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + } + } +} diff --git a/behavior_pack/entities/ender_crystal.json b/behavior_pack/entities/ender_crystal.json new file mode 100644 index 0000000..03c9347 --- /dev/null +++ b/behavior_pack/entities/ender_crystal.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ender_crystal", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "crystal_exploding": { + "minecraft:explode": { + "fuse_length": 0, + "fuse_lit": true, + "power": 6, + "causes_fire": false, + "destroy_affected_by_griefing": true + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 2, + "height": 2 + }, + "minecraft:health": { + "value": 1, + "max": 1 + }, + "minecraft:fire_immune": true, + "minecraft:on_hurt": { + "event": "minecraft:crystal_explode", + "target": "self" + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:crystal_explode": { + "remove": { + }, + "add": { + "component_groups": [ + "crystal_exploding" + ] + } + } + } + + } +} diff --git a/behavior_pack/entities/ender_dragon.json b/behavior_pack/entities/ender_dragon.json new file mode 100644 index 0000000..bbc3d6a --- /dev/null +++ b/behavior_pack/entities/ender_dragon.json @@ -0,0 +1,159 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ender_dragon", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "dragon_sitting": { + "minecraft:behavior.dragonlanding": { + "priority": 0 + }, + "minecraft:behavior.dragonflaming": { + "priority": 1 + }, + "minecraft:behavior.dragonscanning": { + "priority": 2 + } + }, + "dragon_flying": { + "minecraft:behavior.dragontakeoff": { + "priority": 0 + }, + "minecraft:behavior.dragonchargeplayer": { + "priority": 1 + }, + "minecraft:behavior.dragonstrafeplayer": { + "priority": 2 + }, + "minecraft:behavior.dragonholdingpattern": { + "priority": 3 + }, + "minecraft:shooter": { + "def": "minecraft:dragon_fireball" + } + }, + "dragon_death": { + "minecraft:behavior.dragondeath": { + "priority": 0 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:dimension_bound": { + }, + "minecraft:type_family": { + "family": [ "dragon", "mob" ] + }, + "minecraft:health": { + "value": 200, + "max": 200 + }, + "minecraft:boss": { + "should_darken_sky": false, + "hud_range": 125 + }, + "minecraft:collision_box": { + "width": 13, + "height": 4 + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:fire_immune": true, + "minecraft:knockback_resistance": { + "value": 100, + "max": 100 + }, + "minecraft:flying_speed": { + "value": 0.6 + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": "no" + } + }, + "minecraft:on_start_landing": { + "event": "minecraft:start_land", + "target": "self" + }, + "minecraft:on_start_takeoff": { + "event": "minecraft:start_fly", + "target": "self" + }, + "minecraft:on_death": { + "event": "minecraft:start_death", + "target": "self" + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + "has_gravity": false, + "has_collision": false + }, + "minecraft:game_event_movement_tracking": { + "emit_flap": true + } + }, + + "events": { + "minecraft:entity_spawned": { + "remove": { + }, + "add": { + "component_groups": [ + "dragon_flying" + ] + } + }, + "minecraft:start_land": { + "remove": { + "component_groups": [ + "dragon_flying" + ] + }, + "add": { + "component_groups": [ + "dragon_sitting" + ] + } + }, + "minecraft:start_fly": { + "remove": { + "component_groups": [ + "dragon_sitting" + ] + }, + "add": { + "component_groups": [ + "dragon_flying" + ] + } + }, + "minecraft:start_death": { + "remove": { + "component_groups": [ + "dragon_sitting", + "dragon_flying" + ] + }, + "add": { + "component_groups": [ + "dragon_death" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/ender_pearl.json b/behavior_pack/entities/ender_pearl.json new file mode 100644 index 0000000..b567785 --- /dev/null +++ b/behavior_pack/entities/ender_pearl.json @@ -0,0 +1,75 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ender_pearl", + "is_spawnable": false, + "is_summonable": false, + "is_experimental": false + }, + "component_groups": { + "minecraft:no_spawn": { + "minecraft:projectile": { + "on_hit": { + "teleport_owner": { }, + "remove_on_hit": { } + }, + "power": 1.5, + "gravity": 0.025, + "angle_offset": 0.0, + "inertia": 1, + "liquid_inertia": 1 + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:projectile": { + "on_hit": { + "teleport_owner": { }, + "spawn_chance": { + "first_spawn_percent_chance": 5.0, + "first_spawn_count": 1, + "spawn_definition": "minecraft:endermite" + }, + "remove_on_hit": { } + }, + "power": 1.5, + "gravity": 0.025, + "angle_offset": 0.0, + "inertia": 1, + "liquid_inertia": 1 + }, + "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 + } + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "filters": {"test": "is_game_rule", "domain": "domobspawning", "value": false}, + "add": { + "component_groups": [ "minecraft:no_spawn" ] + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/enderman.json b/behavior_pack/entities/enderman.json new file mode 100644 index 0000000..72491e8 --- /dev/null +++ b/behavior_pack/entities/enderman.json @@ -0,0 +1,209 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:enderman", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:enderman_calm": { + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry", + "target": "self" + }, + "minecraft:movement": { + "value": 0.3 + } + }, + "minecraft:enderman_angry": { + "minecraft:angry": { + "duration": 25, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + "minecraft:movement": { + "value": 0.45 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 2 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:renders_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 : 0" + }, + "minecraft:type_family": { + "family": [ "enderman", "monster", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/enderman.json" + }, + "minecraft:health": { + "value": 40, + "max": 40 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self" }, + "cause": "lava", + "damage_per_tick": 4 + }, + { + "filters": { "test": "in_contact_with_water" }, + "cause": "drowning", + "damage_per_tick": 1 + } + ] + }, + "minecraft:attack": { + "damage": 7 + }, + "minecraft:follow_range": { + "value": 64, + "max": 64 + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 2.9 + }, + "minecraft:teleport": { + "random_teleports": true, + "max_random_teleport_time": 30, + "random_teleport_cube": [ 32, 32, 32 ], + "target_distance": 16, + "target_teleport_chance": 0.05, + "light_teleport_chance": 0.05 + }, + "minecraft:looked_at": { + "search_radius": 64.0, + "set_target": "once_and_stop_scanning", + "find_players_only": true, + "min_looked_at_duration": 0.25, + "filters": { + "test": "has_equipment", "domain": "head", "subject": "other", "operator": "not", "value": "carved_pumpkin" + } + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 5, + "must_see": true, + "attack_interval": 10, + "entity_types": [ + { + "filters": { + "test": "is_family", "subject": "other", "value": "endermite" + }, + "max_dist": 64 + } + ] + }, + "minecraft:navigation.walk": { + "can_path_over_water": false, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "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": 10, + "use_motion_prediction_hints": true + } + }, + "minecraft:variable_max_auto_step": { + "base_value": 1.0625, // 1 block + 1 pixel + "jump_prevented_value": 0.5625 // 0.5 blocks + 1 pixel + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 8.0, + "probability": 8.0 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 3 + }, + "minecraft:behavior.enderman_leave_block": { + "priority": 10 + }, + "minecraft:behavior.enderman_take_block": { + "priority": 11 + } + }, + + "events": { + "minecraft:entity_spawned": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:enderman_calm" + ] + } + }, + "minecraft:become_angry": { + "remove": { + "component_groups": [ + "minecraft:enderman_calm" + ] + }, + "add": { + "component_groups": [ + "minecraft:enderman_angry" + ] + } + }, + "minecraft:on_calm": { + "remove": { + "component_groups": [ + "minecraft:enderman_angry" + ] + }, + "add": { + "component_groups": [ + "minecraft:enderman_calm" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/endermite.json b/behavior_pack/entities/endermite.json new file mode 100644 index 0000000..6c93be2 --- /dev/null +++ b/behavior_pack/entities/endermite.json @@ -0,0 +1,112 @@ +{ + "format_version": "1.17.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:endermite", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 3 : 0" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + + "minecraft:type_family": { + "family": [ "endermite", "arthropod", "monster", "lightweight", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.4, + "height": 0.3 + }, + + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:health": { + "value": 8, + "max": 8 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:attack": { + "damage": 2 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + + "minecraft:behavior.melee_box_attack": { + "priority": 3, + "track_target": true + }, + + "minecraft:behavior.nearest_attackable_target": { + "priority": 5, + "must_see": true, + "within_radius": 16.0, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "enderman" + } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:block_climber": { + } + } + } +} diff --git a/behavior_pack/entities/evocation_illager.json b/behavior_pack/entities/evocation_illager.json new file mode 100644 index 0000000..d355192 --- /dev/null +++ b/behavior_pack/entities/evocation_illager.json @@ -0,0 +1,355 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:evocation_illager", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "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: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": 6, + "speed_multiplier": 0.7 + }, + "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": {} + } + } + }, + + "components": { + "minecraft:equip_item": { + }, + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:banner:15", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + } + ] + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "10" + }, + "minecraft:type_family": { + "family": [ "evocation_illager", "monster", "illager", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/evocation_illager.json" + }, + "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: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": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.summon_entity": { + "priority": 2, + "summon_choices": [ + { + "min_activation_range": 0.0, + "max_activation_range": 3.0, + "cooldown_time": 5.0, + "weight": 3, + "cast_duration": 2.0, + "particle_color": "#FF664D59", + "start_sound_event": "cast.spell", + "sequence": [ + { + "shape": "circle", + "target": "self", + "base_delay": 1.0, + "delay_per_summon": 0.0, + "num_entities_spawned": 5, + "entity_type": "minecraft:evocation_fang", + "size": 1.5, + "entity_lifespan": 1.1, + "sound_event": "prepare.attack" + }, + { + "shape": "circle", + "target": "self", + "base_delay": 0.15, + "delay_per_summon": 0.0, + "num_entities_spawned": 8, + "entity_type": "minecraft:evocation_fang", + "size": 2.5, + "entity_lifespan": 1.1 + } + ] + }, + { + "min_activation_range": 3.0, + "weight": 3, + "cooldown_time": 5.0, + "cast_duration": 2.0, + "particle_color": "#FF664D59", + "start_sound_event": "cast.spell", + "sequence": [ + { + "shape": "line", + "target": "self", + "base_delay": 1.0, + "delay_per_summon": 0.05, + "num_entities_spawned": 16, + "entity_type": "minecraft:evocation_fang", + "size": 20, + "entity_lifespan": 1.1 + } + ] + }, + { + "weight": 1, + "cooldown_time": 17.0, + "cast_duration": 5.0, + "particle_color": "#FFB3B3CC", + "sequence": [ + { + "shape": "circle", + "target": "self", + "base_delay": 5.0, + "num_entities_spawned": 3, + "entity_type": "minecraft:vex", + "summon_cap": 8, + "summon_cap_radius": 16.0, + "size": 1.0, + "sound_event": "prepare.summon", + "summon_event": "minecraft:add_damage_timer" + } + ] + } + ] + }, + "minecraft:behavior.send_event": { + "priority": 3, + "event_choices": [ + { + "min_activation_range": 0.0, + "max_activation_range": 16.0, + "cooldown_time": 5.0, + "cast_duration": 3.0, + "particle_color": "#FFB38033", + "weight": 3, + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "sheep" }, + { "test": "is_color", "subject": "other", "value": "blue" } + ] + }, + "start_sound_event": "cast.spell", + "sequence": [ + { + "base_delay": 2.0, + "event": "wololo", + "sound_event": "prepare.wololo" + } + ] + } + ] + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 5, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "player" }, + "max_dist": 8, + "walk_speed_multiplier": 0.6, + "sprint_speed_multiplier": 1.0 + }, + { + "filters": { "test": "is_family", "subject": "other", "value": "creaking" }, + "max_dist": 8, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 8, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "snowgolem" }, + { "test": "is_family", "subject": "other", "value": "irongolem" }, + { "test": "is_family", "subject": "other", "value": "wandering_trader" } + ] + }, + "max_dist": 20 + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "villager" }, + { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" } + ] + }, + "max_dist": 20 + } + ], + "must_see": true + }, + "minecraft:behavior.look_at_player": { + "priority": 9, + "look_distance": 3.0, + "probability": 1.0 + }, + "minecraft:behavior.look_at_entity": { + "priority": 10, + "look_distance": 8.0, + "filters": { "test": "is_family", "subject": "other", "value": "mob" } + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": { + "filters": { + "test": "is_family", "subject": "other", "operator": "!=", "value": "illager" + }, + "max_dist": 64 + } + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.pickup_items": { + "priority": 7, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0 + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:follow_range": { + "value": 64 + }, + "minecraft:can_join_raid": { + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:spawn_for_raid": { + "add": { + "component_groups": [ + "minecraft:raid_configuration", + "minecraft:raid_despawn", + "minecraft:raid_persistence" + ] + } + }, + "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" ] } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/eye_of_ender_signal.json b/behavior_pack/entities/eye_of_ender_signal.json new file mode 100644 index 0000000..8ba74b9 --- /dev/null +++ b/behavior_pack/entities/eye_of_ender_signal.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:eye_of_ender_signal", + "is_spawnable": false, + "is_summonable": false, + "is_experimental": false + }, + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "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": 10, + "use_motion_prediction_hints": true + } + } + } + } +} diff --git a/behavior_pack/entities/fireball.json b/behavior_pack/entities/fireball.json new file mode 100644 index 0000000..cfddcb9 --- /dev/null +++ b/behavior_pack/entities/fireball.json @@ -0,0 +1,81 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:fireball", + "is_spawnable": false, + "is_summonable": false + }, + + "component_groups": { + "minecraft:exploding": { + "minecraft:explode": { + "fuse_length": 0, + "fuse_lit": true, + "power": 1, + "causes_fire": true, + "fire_affected_by_griefing": true, + "destroy_affected_by_griefing": true + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 1.0, + "height": 1.0 + }, + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": 6, + "knockback": false, + "semi_random_diff_damage": false + }, + "definition_event": { + "affect_projectile": true, + "event_trigger": { + "event": "minecraft:explode", + "target": "self" + } + } + }, + "power": 1.6, + "gravity": 0.00, + "inertia": 1, + "liquid_inertia": 1, + "uncertainty_base": 0, + "uncertainty_multiplier": 0, + "anchor": 2, + "offset": [ 0, -1.5, 0 ], + "reflect_on_hurt": true, + "catch_fire": true + }, + "minecraft:physics": { + }, + "minecraft:dimension_bound": { + }, + "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 + } + } + }, + + "events": { + "minecraft:explode": { + "add": { + "component_groups": [ + "minecraft:exploding" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/fireworks_rocket.json b/behavior_pack/entities/fireworks_rocket.json new file mode 100644 index 0000000..57b8cbb --- /dev/null +++ b/behavior_pack/entities/fireworks_rocket.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:fireworks_rocket", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "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": 10, + "use_motion_prediction_hints": true + } + } + } + } +} diff --git a/behavior_pack/entities/fish.json b/behavior_pack/entities/fish.json new file mode 100644 index 0000000..dd0d0d2 --- /dev/null +++ b/behavior_pack/entities/fish.json @@ -0,0 +1,153 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:cod", + "spawn_category": "water_ambient", + "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": { + } + } + } +} diff --git a/behavior_pack/entities/fishing_hook.json b/behavior_pack/entities/fishing_hook.json new file mode 100644 index 0000000..3f62c29 --- /dev/null +++ b/behavior_pack/entities/fishing_hook.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:fishing_hook", + "is_spawnable": false, + "is_summonable": false + }, + + "component_groups": { + "loot_jungle": { + "minecraft:loot": { + "table": "loot_tables/gameplay/jungle_fishing.json" + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 0.15, + "height": 0.15 + }, + "minecraft:projectile": { + "on_hit": { "stick_in_ground": {} } + }, + "minecraft:loot": { + "table": "loot_tables/gameplay/fishing.json" + }, + "minecraft:physics": { + }, + "minecraft:dimension_bound": { + }, + "minecraft:transient": { + }, + "minecraft:pushable": { + "is_pushable": false, + "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 + } + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "filters": { + "test": "is_biome", "value": "jungle" + }, + "add": { "component_groups": [ "loot_jungle" ] } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/fox.json b/behavior_pack/entities/fox.json new file mode 100644 index 0000000..b1fd365 --- /dev/null +++ b/behavior_pack/entities/fox.json @@ -0,0 +1,858 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:fox", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:fox_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + "sweet_berries", + "glow_berries" + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 9, + "speed_multiplier": 1.1 + } + }, + + "minecraft:fox_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/fox.json" + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "breed_items": [ + "sweet_berries", + "glow_berries" + ], + "breeds_with": { + "mate_type": "minecraft:fox", + "baby_type": "minecraft:fox", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + } + } + }, + + "minecraft:fox_with_item": { + "minecraft:equipment": { + "table": "loot_tables/entities/fox_equipment.json", + "slot_drop_chance": [ + { + "slot": "slot.weapon.mainhand", + "drop_chance": 1.0 + } + ] + } + }, + + "minecraft:trusting_fox" : { + "minecraft:trust": {}, + "minecraft:behavior.defend_trusted_target": { + "priority": 0, + "within_radius": 25, + "must_see": false, + "aggro_sound": "mad", + "sound_chance": 0.05, + "on_defend_start": { + "event": "minecraft:fox_configure_defending", + "target": "self" + } + } + }, + + "minecraft:docile_fox": { + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 10, + "track_target": true, + "require_complete_path": true + } + }, + + "minecraft:defending_fox": { + "minecraft:behavior.melee_box_attack": { + "priority": 1, + "track_target": true, + "require_complete_path": true + }, + "minecraft:behavior.panic": { + "priority": 2, + "speed_multiplier": 1.25 + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + { "test": "is_daytime", "value": true }, + { "test": "has_target", "operator": "==", "value": false } + ] + }, + "event": "minecraft:fox_configure_docile_day" + }, + { + "filters": { + "all_of": [ + { "test": "is_daytime", "value": false }, + { "test": "has_target", "operator": "==", "value": false } + ] + }, + "event": "minecraft:fox_configure_docile_night" + } + ] + } + }, + + "minecraft:fox_red": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:behavior.nearest_prioritized_attackable_target": { + "priority": 6, + "attack_interval": 2, + "reselect_targets": true, + "target_search_height": 5, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "rabbit" + }, + "max_dist": 12, + "priority": 0 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "chicken" + }, + "max_dist": 12, + "priority": 0 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "cod" + }, + "max_dist": 12, + "priority": 1 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "salmon" + }, + "max_dist": 12, + "priority": 1 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "tropicalfish" + }, + "max_dist": 12, + "priority": 1 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 12, + "priority": 0 + } + ] + } + }, + + "minecraft:fox_arctic": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:behavior.nearest_prioritized_attackable_target": { + "priority": 6, + "attack_interval": 2, + "reselect_targets": true, + "target_search_height": 5, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "rabbit" + }, + "max_dist": 12, + "priority": 1 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "chicken" + }, + "max_dist": 12, + "priority": 1 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "cod" + }, + "max_dist": 12, + "priority": 0 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "salmon" + }, + "max_dist": 12, + "priority": 0 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "tropicalfish" + }, + "max_dist": 12, + "priority": 0 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 12, + "priority": 1 + } + ] + } + }, + + "minecraft:fox_thunderstorm": { + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + { "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" }, + { "test": "is_daytime", "value": true } + ] + }, + "event": "minecraft:fox_configure_day" + }, + { + "filters": { + "all_of": [ + { "test": "weather_at_position", "operator": "!=", "value": "thunderstorm" }, + { "test": "is_daytime", "value": false } + ] + }, + "event": "minecraft:fox_configure_night" + } + ] + }, + + "minecraft:behavior.find_cover": { + "priority": 0, + "speed_multiplier": 1, + "cooldown_time": 0.0 + } + }, + + "minecraft:fox_day": { + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { "test" : "weather_at_position", "value" : "thunderstorm" }, + "event": "minecraft:fox_configure_thunderstorm" + }, + { + "filters": { "test": "is_daytime", "value": false }, + "event": "minecraft:fox_configure_night" + } + ] + }, + "minecraft:behavior.nap": { + "priority": 8, + "cooldown_min": 2.0, + "cooldown_max": 7.0, + "mob_detect_dist": 12.0, + "mob_detect_height": 6.0, + "can_nap_filters": { + "all_of": [ + { "test": "in_water", "subject": "self", "operator": "==", "value": false }, + { "test": "on_ground", "subject": "self", "operator": "==", "value": true }, + { "test": "is_underground", "subject": "self", "operator": "==", "value": true }, + { "test": "weather_at_position", "subject": "self", "operator": "!=", "value": "thunderstorm" } + ] + }, + "wake_mob_exceptions": { + "any_of": [ + { "test": "trusts", "subject": "other", "operator": "==", "value": true }, + { "test": "is_family", "subject": "other", "operator": "==", "value": "fox" }, + { "test": "is_sneaking", "subject": "other", "operator": "==", "value": true } + ] + } + }, + "minecraft:behavior.find_cover": { + "priority": 9, + "speed_multiplier": 1, + "cooldown_time": 5.0 + } + }, + + "minecraft:fox_night": { + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { "test" : "weather_at_position", "value" : "thunderstorm" }, + "event": "minecraft:fox_configure_thunderstorm" + }, + { + "filters": { "test": "is_daytime", "value": true }, + "event": "minecraft:fox_configure_day" + } + ] + }, + "minecraft:behavior.stroll_towards_village": { + "priority": 11, + "speed_multiplier": 1.0, + "goal_radius": 3.0, + "cooldown_time": 10.0, + "search_range": 32, + "start_chance": 0.005 + } + }, + + "minecraft:fox_ambient_normal": { + "minecraft:ambient_sound_interval": { + "event_name": "ambient" + } + }, + + "minecraft:fox_ambient_sleep": { + "minecraft:ambient_sound_interval": { + "event_name": "sleep" + } + }, + + "minecraft:fox_ambient_night": { + "minecraft:ambient_sound_interval": { + "event_name": "screech", + "value": 80, + "range": 160 + } + }, + + "minecraft:fox_ambient_defending_target": { + "minecraft:ambient_sound_interval": { + "event_name": "mad" + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "fox", "lightweight", "mob" ] + }, + "minecraft:breathable": { + "totalSupply": 15, + "suffocateTime": 0 + }, + "minecraft:equip_item": { + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 0.7 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:attack": { + "damage": 2 + }, + "minecraft:shareables": { + "singular_pickup": true, + "all_items": true, + "all_items_max_amount": 1, + "items": [ + { "item": "minecraft:apple", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:appleEnchanted", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:baked_potato", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:beef", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:beetroot", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:beetroot_soup", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:bread", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:bundle", "priority": 1, "max_amount": 1 }, + { "item": "minecraft:carrot", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:chicken", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:chorus_fruit", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:clownfish", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:cooked_beef", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:cooked_chicken", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:cooked_fish", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:cooked_porkchop", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:cooked_rabbit", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:cooked_salmon", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:cookie", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:dried_kelp", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:fish", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:golden_apple", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:golden_carrot", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:melon", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:mushroom_stew", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:muttonCooked", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:muttonRaw", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:poisonous_potato", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:porkchop", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:potato", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:pufferfish", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:pumpkin_pie", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:rabbit", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:rabbit_stew", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:rotten_flesh", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:salmon", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:spider_eye", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:sweet_berries", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:glow_berries", "priority": 0, "max_amount": 1 }, + { "item": "minecraft:suspicious_stew", "priority": 0, "max_amount": 1 } + ] + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "on_damage": { + "filters": { + "test": "is_block", + "subject": "block", + "value": "minecraft:sweet_berry_bush" + } + }, + "deals_damage": "no" + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.equip_item": { + "priority": 2 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 5, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "trusts", "subject": "other", "operator": "!=", "value": true }, + { "test": "is_sneaking", "subject": "other", "operator": "!=", "value": true } + ] + }, + { "test": "is_family", "subject": "other", "value": "polarbear" }, + { "test": "is_family", "subject": "other", "value": "wolf" } + ] + }, + "max_dist": 10, + "walk_speed_multiplier": 1.0, + "sprint_speed_multiplier": 1.5 + } + ] + }, + "minecraft:behavior.tempt": { + "priority": 3, + "speed_multiplier": 0.5, + "within_radius": 16, + "can_get_scared": true, + "items": [ + "sweet_berries", + "glow_berries" + ] + }, + "minecraft:behavior.stalk_and_pounce_on_target": { + "priority": 7, + "stalk_speed": 1.2, + "max_stalk_dist": 12.0, + "leap_height": 0.9, + "leap_dist": 0.8, + "pounce_max_dist": 5.0, + "interest_time": 2.0, + "stuck_time": 2.0, + "strike_dist": 2.0, + "stuck_blocks": { "test": "is_block", "subject": "block", "operator": "==", "value": "snow_layer" } + }, + "minecraft:behavior.pickup_items": { + "priority": 11, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 0.5 + }, + "minecraft:behavior.eat_carried_item": { + "priority": 12, + "delay_before_eating": 28 + }, + "minecraft:behavior.random_look_around_and_sit": { + "priority": 12, + "min_look_count": 2, + "max_look_count": 5, + "min_look_time": 80, + "max_look_time": 100, + "probability": 0.001 + }, + "minecraft:behavior.raid_garden": { + "priority": 12, + "blocks": [ + "minecraft:sweet_berry_bush", + "minecraft:cave_vines_head_with_berries", + "minecraft:cave_vines_body_with_berries" + ], + "speed_multiplier": 1.2, + "search_range": 12, + "search_height": 2, + "goal_radius": 0.8, + "max_to_eat": 0, + "initial_eat_delay": 2 + }, + "minecraft:behavior.random_stroll": { + "priority": 13, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 14, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 15 + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.6 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 0, + "scheduled_events": [ + { + "filters": [ + { "test": "is_sleeping", "value": true } + ], + "event": "minecraft:ambient_sleep" + }, + { + "filters": { + "all_of":[ + { "test" : "is_daytime", "value" : false }, + { "test": "distance_to_nearest_player", "operator": ">", "value": 16 } + ] + }, + "event": "minecraft:ambient_night" + }, + { + "filters": { + "all_of":[ + { "test" : "is_sleeping", "value" : false }, + { + "any_of":[ + { "test" : "is_daytime", "value" : true }, + { "test": "distance_to_nearest_player", "operator": "<=", "value": 16 } + ] + } + ] + }, + "event": "minecraft:ambient_normal" + } + ] + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { "test" : "is_daytime", "value" : false }, + "event": "minecraft:fox_configure_night" + }, + { + "filters": { "test" : "is_daytime", "value" : true }, + "event": "minecraft:fox_configure_day" + } + ] + }, + "minecraft:block_climber": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 95, + "add": { + "component_groups": [ + "minecraft:fox_adult", + "minecraft:fox_with_item", + "minecraft:docile_fox" + ] + } + }, + { + "weight": 5, + "add": { + "component_groups": [ + "minecraft:fox_baby", + "minecraft:docile_fox" + ] + } + } + ] + }, + { + "filters": { + "test": "is_snow_covered", + "value": true + }, + "add": { "component_groups": [ "minecraft:fox_arctic" ] } + }, + { + "filters": { + "test": "is_snow_covered", + "value": false + }, + "add": { "component_groups": [ "minecraft:fox_red" ] } + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:fox_baby", + "minecraft:trusting_fox", + "minecraft:docile_fox" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:fox_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:fox_adult" + ] + } + }, + + "minecraft:fox_configure_thunderstorm": { + "remove": { + "component_groups": [ + "minecraft:fox_night", + "minecraft:fox_day" + ] + }, + "add": { + "component_groups": [ + "minecraft:fox_thunderstorm" + ] + } + }, + + "minecraft:fox_configure_day": { + "remove": { + "component_groups": [ + "minecraft:fox_night", + "minecraft:fox_thunderstorm" + ] + }, + "add": { + "component_groups": [ + "minecraft:fox_day" + ] + } + }, + + "minecraft:fox_configure_night": { + "remove": { + "component_groups": [ + "minecraft:fox_day", + "minecraft:fox_thunderstorm" + ] + }, + "add": { + "component_groups": [ + "minecraft:fox_night" + ] + } + }, + + "minecraft:ambient_normal": { + "add": { + "component_groups": [ + "minecraft:fox_ambient_normal" + ] + } + }, + "minecraft:ambient_sleep": { + "add": { + "component_groups": [ + "minecraft:fox_ambient_sleep" + ] + } + }, + "minecraft:ambient_night": { + "add": { + "component_groups": [ + "minecraft:fox_ambient_night" + ] + } + }, + + "minecraft:fox_configure_defending": { + "remove": { + "component_groups": [ + "minecraft:docile_fox", + "minecraft:fox_day", + "minecraft:fox_night" + ] + }, + "add": { + "component_groups": [ + "minecraft:defending_fox", + "minecraft:fox_ambient_defending_target" + ] + } + }, + + "minecraft:fox_configure_docile_day": { + "remove": { + "component_groups": [ + "minecraft:defending_fox", + "minecraft:fox_night" + ] + }, + "add": { + "component_groups": [ + "minecraft:docile_fox", + "minecraft:fox_day" + ] + } + }, + + "minecraft:fox_configure_docile_night": { + "remove": { + "component_groups": [ + "minecraft:defending_fox", + "minecraft:fox_day" + ] + }, + "add": { + "component_groups": [ + "minecraft:docile_fox", + "minecraft:fox_night" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/frog.json b/behavior_pack/entities/frog.json new file mode 100644 index 0000000..b5c79b7 --- /dev/null +++ b/behavior_pack/entities/frog.json @@ -0,0 +1,527 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:frog", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "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": "cherry_grove" + }, + { + "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": "cherry_grove" + }, + { + "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" ] + } + } + } + } +} diff --git a/behavior_pack/entities/ghast.json b/behavior_pack/entities/ghast.json new file mode 100644 index 0000000..46d5168 --- /dev/null +++ b/behavior_pack/entities/ghast.json @@ -0,0 +1,108 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ghast", + "spawn_category": "monster", + "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 ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:fire_immune": { + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:collision_box": { + "width": 4.02, + "height": 4 + }, + "minecraft:movement": { + "value": 0.03 + }, + "minecraft:navigation.float": { + "can_path_over_water": true + }, + "minecraft:behavior.float_wander": { + "priority": 2, + "must_reach": true + }, + "minecraft:can_fly": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/ghast.json" + }, + "minecraft:shooter": { + "def": "minecraft:fireball" + }, + "minecraft:type_family": { + "family": [ "ghast", "monster", "mob" ] + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": false + } + }, + "minecraft:jump.static": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.ranged_attack": { + "priority": 1, + "attack_radius": 64, + "charge_shoot_trigger": 2, + "charge_charged_trigger": 1 + }, + "minecraft:follow_range": { + "value": 64, + "max": 64 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 28 + } + ], + "must_see": true + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:cannot_be_attacked": { + } + } + } +} diff --git a/behavior_pack/entities/glow_squid.json b/behavior_pack/entities/glow_squid.json new file mode 100644 index 0000000..73cd8d2 --- /dev/null +++ b/behavior_pack/entities/glow_squid.json @@ -0,0 +1,136 @@ +{ + "format_version": "1.18.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:glow_squid", + "spawn_category": "underground_water_creature", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups":{ + "minecraft:squid_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "!query.is_baby && query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family": [ "squid", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.95, + "height": 0.95 + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "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/glow_squid.json" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_air": false, + "breathes_water": true + }, + "minecraft:movement": { + "value": 0.2 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_sink": false + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.5 + }, + "minecraft:behavior.squid_move_away_from_ground": { + "priority": 1 + }, + "minecraft:behavior.squid_flee": { + "priority": 2 + }, + "minecraft:behavior.squid_idle": { + "priority": 2 + }, + "minecraft:behavior.squid_dive": { + "priority": 2 + }, + "minecraft:behavior.squid_out_of_water": { + "priority": 2 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + } + }, + + "events":{ + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "remove": { + }, + "add": { + } + }, + { + "weight": 5, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:squid_baby" + ] + } + } + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/entities/goat.json b/behavior_pack/entities/goat.json new file mode 100644 index 0000000..725a861 --- /dev/null +++ b/behavior_pack/entities/goat.json @@ -0,0 +1,426 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:goat", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "goat_baby": { + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:behavior.follow_parent": { + "priority": 6, + "speed_multiplier": 1 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": "wheat", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:attack": { + "damage": 1 + } + }, + "goat_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/goat.json" + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 0.6 + }, + "minecraft:breedable": { + "require_tame": false, + "breed_items": "wheat", + "breeds_with": { + "mate_type": "minecraft:goat", + "baby_type": "minecraft:goat", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "mutation_factor": { + "variant": 0 + } + }, + "minecraft:attack": { + "damage": 2 + } + }, + "goat_default": { + "minecraft:variant": { + "value": 0 + } + }, + "goat_screamer": { + "minecraft:variant": { + "value": 1 + } + }, + "interact_default": { + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { + "test": "has_component", + "subject": "self", + "operator": "!=", + "value": "minecraft:is_baby" + }, + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "has_equipment", + "domain": "hand", + "subject": "other", + "value": "bucket:0" + } + ] + } + }, + "use_item": true, + "transform_to_item": "bucket:1", + "play_sounds": "milk_suspiciously", + "interact_text": "action.interact.milk" + } + ] + } + }, + "interact_screamer": { + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_component", "subject": "self", "operator": "!=", "value": "minecraft:is_baby" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "bucket:0" } + ] + } + }, + "use_item": true, + "transform_to_item": "bucket:1", + "play_sounds": "milk.screamer", + "interact_text": "action.interact.milk" + } + ] + } + }, + "ram_default": { + "minecraft:behavior.ram_attack": { + "priority": 5, + "run_speed": 0.7, + "ram_speed": 1.8, + "min_ram_distance": 4, + "ram_distance": 7, + "knockback_force": 2.5, + "knockback_height": 0.04, + "pre_ram_sound": "pre_ram", + "ram_impact_sound": "ram_impact", + "cooldown_range": [ + 30, + 300 + ], + "on_start": [ + { + "event": "start_event", + "target": "self" + } + ] + } + }, + "ram_screamer": { + "minecraft:behavior.ram_attack": { + "priority": 5, + "run_speed": 0.7, + "ram_speed": 1.8, + "min_ram_distance": 4, + "ram_distance": 7, + "knockback_force": 2.5, + "knockback_height": 0.04, + "pre_ram_sound": "pre_ram.screamer", + "ram_impact_sound": "ram_impact.screamer", + "cooldown_range": [ + 5, + 15 + ], + "on_start": [ + { + "event": "start_event", + "target": "self" + } + ] + } + }, + "attack_cooldown": { + "minecraft:attack_cooldown": { + "attack_cooldown_time": [ + 30, + 40 + ], + "attack_cooldown_complete_event": { + "event": "attack_cooldown_complete_event", + "target": "self" + } + } + } + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:behavior.jump_to_block": { + "priority": 8, + "search_width": 10, + "search_height": 10, + "minimum_path_length": 8, + "minimum_distance": 1, + "scale_factor": 0.6, + "cooldown_range": [ + 30, + 60 + ] + }, + "minecraft:genetics": { + "mutation_rate": 0.02, + "genes": [ + { + "name": "goat_variant", + "use_simplified_breeding": true, + "allele_range": { + "range_min": 1, + "range_max": 100 + }, + "genetic_variants": [ + { + "main_allele": { + "range_min": 1, + "range_max": 2 + }, + "birth_event": { + "event": "minecraft:born_screamer", + "target": "self" + } + }, + { + "main_allele": { + "range_min": 3, + "range_max": 100 + }, + "birth_event": { + "event": "minecraft:born_default", + "target": "self" + } + } + ] + } + ] + }, + "minecraft:type_family": { + "family": [ + "goat", + "animal" + ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true, + "blocks_to_avoid": [ + { + "name": "minecraft:powder_snow" + } + ] + }, + "minecraft:movement.basic": {}, + "minecraft:jump.static": {}, + "minecraft:can_climb": {}, + "minecraft:collision_box": { + "width": 0.9, + "height": 1.3 + }, + "minecraft:nameable": {}, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.4 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1 + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 0.75, + "items": [ + "wheat" + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 6, + "within_radius": 16, + "entity_types": [ + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "operator": "!=", "value": "goat" }, + { "test": "has_component", "subject": "self", "operator": "!=", "value": "minecraft:attack_cooldown" } + ] + }, + "max_dist": 16 + } + ], + "must_see": true + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": true, + "damage_modifier": -10 + } + }, + "minecraft:behavior.random_stroll": { + "priority": 9, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.look_at_player": { + "priority": 10, + "look_distance": 6, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 11 + }, + "minecraft:leashable": { + "soft_distance": 4, + "hard_distance": 6, + "max_distance": 10 + }, + "minecraft:balloonable": { + }, + "minecraft:physics": {}, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + } + }, + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "add": { + "component_groups": [ + "goat_adult" + ] + } + }, + { + "weight": 5, + "add": { + "component_groups": [ + "goat_baby" + ] + } + } + ] + }, + "minecraft:entity_born": { + "add": { + "component_groups": [ + "goat_baby" + ] + } + }, + "minecraft:born_default": { + "add": { + "component_groups": [ + "goat_default", + "ram_default", + "interact_default" + ] + } + }, + "minecraft:born_screamer": { + "add": { + "component_groups": [ + "goat_screamer", + "ram_screamer", + "interact_screamer" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "goat_baby" + ] + }, + "add": { + "component_groups": [ + "goat_adult" + ] + } + }, + "start_event": { + "add": { + "component_groups": [ + "attack_cooldown" + ] + } + }, + "attack_cooldown_complete_event": { + "remove": { + "component_groups": [ + "attack_cooldown" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/guardian.json b/behavior_pack/entities/guardian.json new file mode 100644 index 0000000..291eeed --- /dev/null +++ b/behavior_pack/entities/guardian.json @@ -0,0 +1,214 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:guardian", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "minecraft:guardian_aggressive": { + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test" : "is_family", "subject" : "other", "value" : "squid"}, + { "test" : "is_family", "subject" : "other", "value" : "axolotl"} + ] + }, + "max_dist": 16 + } + ], + "attack_interval_min": 1.0, + "must_see": true + }, + "minecraft:target_nearby_sensor": { + "inside_range": 3.0, + "outside_range": 4.0, + "on_inside_range": { + "event": "minecraft:target_too_close", + "target": "self" + } + }, + "minecraft:behavior.guardian_attack": { + "priority": 4 + } + }, + + "minecraft:guardian_passive": { + "minecraft:timer": { + "time": [ 1, 3 ], + "looping": false, + "time_down_event": { + "event": "minecraft:target_far_enough", + "target": "self" + } + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 1, + "entity_types": [ + { + "filters": {"test" : "is_family", "subject" : "other", "value" : "player"}, + "max_dist": 8, + "walk_speed_multiplier": 1, + "sprint_speed_multiplier": 1 + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 10 : 0" + }, + "minecraft:nameable": { + }, + "minecraft:collision_box": { + "width": 0.85, + "height": 0.85 + }, + "minecraft:health": { + "value": 30, + "max": 30 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.12 + }, + "minecraft:underwater_movement": { + "value": 0.12 + }, + "minecraft:attack": { + "damage": 5 + }, + "minecraft:follow_range": { + "value": 16, + "max": 16 + }, + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": false, + "can_swim": true, + "can_walk": false, + "can_breach": true + }, + "minecraft:movement.sway": { + }, + "minecraft:jump.static": { + }, + "minecraft:breathable": { + "breathes_water": true + }, + "minecraft:loot": { + "table": "loot_tables/entities/guardian.json" + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:home": { + "restriction_radius": 16 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test" : "is_family", "subject" : "other", "value" : "squid"}, + { "test" : "is_family", "subject" : "other", "value" : "axolotl"} + ] + }, + "max_dist": 16 + } + ], + "attack_interval_min": 1.0, + "must_see": true + }, + "minecraft:target_nearby_sensor": { + "inside_range": 3.0, + "outside_range": 4.0, + "on_inside_range": { + "event": "minecraft:target_too_close", + "target": "self" + } + }, + "minecraft:behavior.guardian_attack": { + "priority": 4 + }, + "minecraft:behavior.move_towards_home_restriction": { + "priority": 5, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.random_swim": { + "priority": 7, + "speed_multiplier": 1.0, + "interval": 80, + "avoid_surface": false + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 12.0, + "probability": 0.01 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:type_family": { + "family": [ "guardian", "monster", "mob" ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:target_too_close": { + "remove": { + "component_groups": [ + "minecraft:guardian_aggressive" + ] + }, + "add": { + "component_groups": [ + "minecraft:guardian_passive" + ] + } + }, + "minecraft:target_far_enough": { + "remove": { + "component_groups": [ + "minecraft:guardian_passive" + ] + }, + "add": { + "component_groups": [ + "minecraft:guardian_aggressive" + ] + } + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/entities/hoglin.json b/behavior_pack/entities/hoglin.json new file mode 100644 index 0000000..5f0d41d --- /dev/null +++ b/behavior_pack/entities/hoglin.json @@ -0,0 +1,504 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:hoglin", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "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": "mob.hoglin.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_box_attack": { + "priority": 4, + "speed_multiplier": 1, + "track_target": true, + "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": 1.4, + "height": 1.4 + }, + "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_box_attack": { + "priority": 4, + "speed_multiplier": 1, + "track_target": true, + "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" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/hopper_minecart.json b/behavior_pack/entities/hopper_minecart.json new file mode 100644 index 0000000..99f2252 --- /dev/null +++ b/behavior_pack/entities/hopper_minecart.json @@ -0,0 +1,108 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:hopper_minecart", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "minecraft:hopper_active": { + "minecraft:item_hopper": { + + }, + "minecraft:rail_sensor": { + "on_activate": { + "event": "minecraft:hopper_deactivate" + } + } + }, + "minecraft:hopper_inactive": { + "minecraft:rail_sensor": { + "on_deactivate": { + "event": "minecraft:hopper_activate" + } + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "minecart", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 0.98, + "height": 0.7 + }, + "minecraft:rail_movement": { + + }, + "minecraft:inventory": { + "container_type": "minecart_hopper", + "inventory_size": 5, + "can_be_siphoned_from": true + }, + "minecraft:is_stackable": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 60.0, + "max_dropped_ticks": 20, + "use_motion_prediction_hints": true + }, + "conditional_values": [ + { + "max_optimized_distance": 0.0, + "max_dropped_ticks": 0, + "conditional_values": [ + { "test": "is_moving", "subject": "self", "operator": "==", "value": true} + ] + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "minecraft:hopper_active" + ] + } + }, + "minecraft:hopper_activate": { + "remove": { + "component_groups": [ + "minecraft:hopper_inactive" + ] + }, + "add": { + "component_groups": [ + "minecraft:hopper_active" + ] + } + }, + "minecraft:hopper_deactivate": { + "remove": { + "component_groups": [ + "minecraft:hopper_active" + ] + }, + "add": { + "component_groups": [ + "minecraft:hopper_inactive" + ] + } + } + } + + } +} diff --git a/behavior_pack/entities/horse.json b/behavior_pack/entities/horse.json new file mode 100644 index 0000000..5cfce58 --- /dev/null +++ b/behavior_pack/entities/horse.json @@ -0,0 +1,730 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:horse", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:horse_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale_by_age": { + "start_scale": 0.5, + "end_scale": 1.0 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + { + "item": "wheat", + "growth": 0.016667 + }, + { + "item": "sugar", + "growth": 0.025 + }, + { + "item": "hay_block", + "growth": 0.15 + }, + { + "item": "apple", + "growth": 0.05 + }, + { + "item": "golden_carrot", + "growth": 0.05 + }, + { + "item": "golden_apple", + "growth": 0.2 + }, + { + "item": "appleEnchanted", + "growth": 0.2 + } + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 4, + "speed_multiplier": 1.0 + } + }, + + "minecraft:horse_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/horse.json" + }, + "minecraft:behavior.run_around_like_crazy": { + "priority": 1, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 1.0 + } + }, + + "minecraft:horse_wild": { + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "player", + "zombie" + ], + "interact_text": "action.interact.mount", + "seats": { + "position": [ 0.0, 1.1, -0.2 ] + } + + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:tamemount": { + "min_temper": 0, + "max_temper": 100, + "feed_text": "action.interact.feed", + "ride_text": "action.interact.mount", + "feed_items": [ + { + "item": "wheat", + "temper_mod": 3 + }, + { + "item": "sugar", + "temper_mod": 3 + }, + { + "item": "apple", + "temper_mod": 3 + }, + { + "item": "golden_carrot", + "temper_mod": 5 + }, + { + "item": "golden_apple", + "temper_mod": 10 + }, + { + "item": "appleEnchanted", + "temper_mod": 10 + } + ], + "auto_reject_items": [ + { + "item": "horsearmorleather" + }, + { + "item": "horsearmoriron" + }, + { + "item": "horsearmorgold" + }, + { + "item": "horsearmordiamond" + }, + { + "item": "saddle" + } + ], + "tame_event": { + "event": "minecraft:on_tame", + "target": "self" + } + } + }, + + "minecraft:horse_tamed": { + "minecraft:is_tamed": { + }, + "minecraft:rideable": { + "seat_count": 1, + "crouching_skip_interact": true, + "family_types": [ + "player" + ], + "interact_text": "action.interact.ride.horse", + "seats": { + "position": [ 0.0, 1.1, -0.2 ] + } + + }, + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { + "none_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "leather_horse_armor" }, + { "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "iron_horse_armor" }, + { "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "golden_horse_armor" }, + { "test": "has_equipment", "subject": "self", "domain": "inventory", "value": "diamond_horse_armor" } + ] + }, + { + "any_of": [ + { "test": "has_equipment", "subject": "player", "domain": "hand", "value": "leather_horse_armor" }, + { "test": "has_equipment", "subject": "player", "domain": "hand", "value": "iron_horse_armor" }, + { "test": "has_equipment", "subject": "player", "domain": "hand", "value": "golden_horse_armor" }, + { "test": "has_equipment", "subject": "player", "domain": "hand", "value": "diamond_horse_armor" } + ] + }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "1", + "interact_text": "action.interact.equiphorsearmor" + }, + { + "play_sounds": "saddle", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.saddle" + } + ] + }, + "minecraft:inventory": { + "inventory_size": 2, + "container_type": "horse" + }, + "minecraft:breedable": { + "parent_centric_attribute_blending": [ + "minecraft:health", + "minecraft:movement", + "minecraft:horse.jump_strength" + ], + "require_tame": true, + "inherit_tamed": false, + "breeds_with": [ + { + "mate_type": "minecraft:horse", + "baby_type": "minecraft:horse", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + { + "mate_type": "minecraft:donkey", + "baby_type": "minecraft:mule", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + } + ], + "breed_items": [ + "golden_carrot", + "golden_apple", + "appleEnchanted" + ], + "mutation_factor": { + "extra_variant": 0.2, // 1/5 + "variant": 0.111 // ~1/9 + }, + "mutation_strategy": "random", + "random_variant_mutation_interval": [ 0, 7 ], + "random_extra_variant_mutation_interval": [ 0, 5 ] + } + }, + + "minecraft:horse_saddled": { + "minecraft:is_saddled": { + }, + "minecraft:input_ground_controlled": { + }, + "minecraft:can_power_jump": { + }, + "minecraft:behavior.player_ride_tamed": { + } + }, + + "minecraft:base_white": { + "minecraft:variant": { + "value": 0 + } + }, + + "minecraft:base_creamy": { + "minecraft:variant": { + "value": 1 + } + }, + + "minecraft:base_chestnut": { + "minecraft:variant": { + "value": 2 + } + }, + + "minecraft:base_brown": { + "minecraft:variant": { + "value": 3 + } + }, + + "minecraft:base_black": { + "minecraft:variant": { + "value": 4 + } + }, + + "minecraft:base_gray": { + "minecraft:variant": { + "value": 5 + } + }, + + "minecraft:base_darkbrown": { + "minecraft:variant": { + "value": 6 + } + }, + + "minecraft:markings_none": { + "minecraft:mark_variant": { + "value": 0 + } + }, + + "minecraft:markings_white_details": { + "minecraft:mark_variant": { + "value": 1 + } + }, + + "minecraft:markings_white_fields": { + "minecraft:mark_variant": { + "value": 2 + } + }, + + "minecraft:markings_white_dots": { + "minecraft:mark_variant": { + "value": 3 + } + }, + + "minecraft:markings_black_dots": { + "minecraft:mark_variant": { + "value": 4 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:ambient_sound_interval": { + }, + "minecraft:equippable": { + "slots": [ + { + "slot": 0, + "item": "saddle", + "accepted_items": [ "saddle" ], + "on_equip": { + "event": "minecraft:horse_saddled" + }, + "on_unequip": { + "event": "minecraft:horse_unsaddled" + } + }, + { + "slot": 1, + "item": "horsearmoriron", + "accepted_items": [ + "horsearmorleather", + "horsearmoriron", + "horsearmorgold", + "horsearmordiamond" + ] + } + ] + }, + "minecraft:type_family": { + "family": [ "horse", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 1.6 + }, + "minecraft:health": { + "value": { + "range_min": 15, + "range_max": 30 + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": { + "range_min": 0.1125, + "range_max": 0.3375 + } + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:nameable": { + }, + "minecraft:horse.jump_strength": { + "value": { + "range_min": 0.4, + "range_max": 1.0 + } + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:healable": { + "items": [ + { + "item": "wheat", + "heal_amount": 2 + }, + { + "item": "sugar", + "heal_amount": 1 + }, + { + "item": "hay_block", + "heal_amount": 20 + }, + { + "item": "apple", + "heal_amount": 3 + }, + { + "item": "golden_carrot", + "heal_amount": 4 + }, + { + "item": "golden_apple", + "heal_amount": 10 + }, + { + "item": "appleEnchanted", + "heal_amount": 10 + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 3, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 1.2, + "items": [ + "golden_apple", + "appleEnchanted", + "golden_carrot" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.7 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 36, + "add": { + "component_groups": [ + "minecraft:horse_adult", + "minecraft:horse_wild" + ] + } + }, + { + "weight": 9, + "add": { + "component_groups": [ + "minecraft:horse_baby" + ] + } + } + ] + }, + { + "randomize": [ + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:base_white" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:base_creamy" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:base_chestnut" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:base_brown" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:base_black" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:base_gray" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:base_darkbrown" ] + } + } + ] + }, + { + "randomize": [ + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:markings_none" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:markings_white_details" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:markings_white_fields" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:markings_white_dots" ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ "minecraft:markings_black_dots" ] + } + } + ] + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:horse_baby" + ] + } + }, + + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "minecraft:horse_adult", + "minecraft:horse_wild" + ] + } + }, + + "minecraft:spawn_tame_adult": { + "add": { + "component_groups": [ + "minecraft:horse_adult", + "minecraft:horse_tamed" + ] + } + }, + + "minecraft:on_tame": { + "remove": { + "component_groups": [ + "minecraft:horse_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:horse_tamed" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:horse_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:horse_adult", + "minecraft:horse_wild" + ] + } + }, + + "minecraft:horse_saddled": { + "add": { + "component_groups": [ + "minecraft:horse_saddled" + ] + } + }, + "minecraft:horse_unsaddled": { + "remove": { + "component_groups": [ + "minecraft:horse_saddled" + ] + } + }, + + "minecraft:make_white": { + "add": { + "component_groups": [ "minecraft:base_white" ] + } + }, + + "minecraft:make_creamy": { + "add": { + "component_groups": [ "minecraft:base_creamy" ] + } + }, + + "minecraft:make_chestnut": { + "add": { + "component_groups": [ "minecraft:base_chestnut" ] + } + }, + + "minecraft:make_brown": { + "add": { + "component_groups": [ "minecraft:base_brown" ] + } + }, + + "minecraft:make_black": { + "add": { + "component_groups": [ "minecraft:base_black" ] + } + }, + + "minecraft:make_gray": { + "add": { + "component_groups": [ "minecraft:base_gray" ] + } + }, + + "minecraft:make_darkbrown": { + "add": { + "component_groups": [ "minecraft:base_darkbrown" ] + } + } + } + } +} diff --git a/behavior_pack/entities/husk.json b/behavior_pack/entities/husk.json new file mode 100644 index 0000000..64a52e4 --- /dev/null +++ b/behavior_pack/entities/husk.json @@ -0,0 +1,649 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:husk", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:look_to_start_zombie_transformation": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_underwater", "subject": "self", "operator": "==", "value": true + }, + "event": "minecraft:start_transforming" + } + } + }, + "minecraft:start_zombie_transformation": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_underwater", "subject": "self", "operator": "==", "value": false + }, + "event": "minecraft:stop_transforming" + } + }, + "minecraft:timer": { + "looping": false, + "time": 30, + "time_down_event": { + "event": "minecraft:convert_to_zombie" + } + } + }, + + "minecraft:convert_to_zombie": { + "minecraft:transformation": { + "into": "minecraft:zombie", + "transformation_sound": "mob.husk.convert_to_zombie", + "drop_equipment": true, + "delay": { + "value": 15 + } + }, + "minecraft:is_shaking": { + } + }, + + "minecraft:convert_to_baby_zombie": { + "minecraft:transformation": { + "into": "minecraft:zombie", + "transformation_sound": "mob.husk.convert_to_zombie", + "drop_equipment": true, + "delay": { + "value": 15 + } + }, + "minecraft:is_shaking": { + } + }, + + "minecraft:zombie_husk_baby": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:movement": { + "value": 0.35 + } + }, + + "minecraft:zombie_husk_adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:movement": { + "value": 0.23 + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.1, -0.35 ], + "lock_rider_rotation": 0 + } + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.25, + "target_dist": 0.0, + "track_target": true + } + }, + + "minecraft:zombie_husk_jockey": { + "minecraft:behavior.find_mount": { + "priority": 1, + "within_radius": 16 + } + }, + "minecraft:can_break_doors": { + "minecraft:annotation.break_door": { + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:nameable": { + }, + + // Zombie_husk Components + "minecraft:type_family": { + "family": [ "husk", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:loot": { + "table": "loot_tables/entities/zombie.json" + }, + "minecraft:equipment": { + "table": "loot_tables/entities/zombie_equipment.json" + }, + + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:attack": { + "damage": 3, + "effect_name": "hunger", + "effect_duration": 30 + }, + "minecraft:variant": { + "value": 2 + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_pass_doors": true, + "can_break_doors": true, + "avoid_portals": false + }, + "minecraft:movement.basic": { + + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "is_underwater", + "subject": "self", + "operator": "==", + "value": true + }, + "event": "minecraft:start_transforming" + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + // Zombie_husk Behaviors + "minecraft:behavior.equip_item": { + "priority": 2 + }, + "minecraft:behavior.melee_box_attack": { + "can_spread_on_fire": true, + "priority": 3 + }, + "minecraft:behavior.stomp_turtle_egg": { + "priority": 4, + "speed_multiplier": 1, + "search_range": 10, + "search_height": 2, + "goal_radius": 1.14, + "interval": 20 + }, + "minecraft:behavior.pickup_items": { + "priority": 6, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true, + "excluded_items": [ + "minecraft:glow_ink_sac" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "breeze" + } + } + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "reselect_targets": true, + "within_radius": 25.0, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "snowgolem" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "max_dist": 35 + }, + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "villager" + }, + { + "test": "is_family", + "subject": "other", + "value": "wandering_trader" + } + ] + }, + "max_dist": 35, + "must_see": false + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 35 + } + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 9500, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:zombie_husk_adult" + ] + } + }, + { + "weight": 425, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:zombie_husk_baby" + ] + + } + }, + { + "weight": 75, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:zombie_husk_baby", + "minecraft:zombie_husk_jockey" + ] + + } + } + ] + }, + { + "randomize": [ + { + "weight": 10, + "add": { + "component_groups": [ "minecraft:can_break_doors" ] + } + }, + { + "weight": 90 + } + ] + } + ] + }, + "minecraft:start_transforming": { + "add": { + "component_groups": [ + "minecraft:start_zombie_transformation" + ] + }, + "remove": { + "component_groups": [ "minecraft:look_to_start_zombie_transformation" ] + } + }, + "minecraft:stop_transforming": { + "add": { + "component_groups": [ + "minecraft:look_to_start_zombie_transformation" + ] + }, + "remove": { + "component_groups": [ + "minecraft:start_zombie_transformation" + ] + } + }, + "minecraft:convert_to_zombie": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ "minecraft:convert_to_zombie" ] + }, + "remove": { + "component_groups": [ "minecraft:start_zombie_transformation" ] + } + }, + { + "filters": { + "test": "has_component", + "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ "minecraft:convert_to_baby_zombie" ] + }, + "remove": { + "component_groups": [ "minecraft:start_zombie_transformation" ] + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/ice_bomb.json b/behavior_pack/entities/ice_bomb.json new file mode 100644 index 0000000..accee84 --- /dev/null +++ b/behavior_pack/entities/ice_bomb.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.10.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ice_bomb", + "is_spawnable": false, + "is_summonable": false, + "is_experimental": false + }, + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:projectile": { + "on_hit": { + "freeze_on_hit": { + "size": 1.1, + "shape": "cube", + "snap_to_block": true + }, + "remove_on_hit": {}, + "particle_on_hit": { + "particle_type": "snowballpoof", + "num_particles": 6, + "on_entity_hit": true, + "on_other_hit": true + } + }, + "hit_sound": "icebomb.hit", + "power": 1.5, + "gravity": 0.025, + "angle_offset": 0.0, + "inertia": 1, + "liquid_inertia": 1, + "hit_water": true + }, + "minecraft:physics": { + } + } + } +} diff --git a/behavior_pack/entities/iron_golem.json b/behavior_pack/entities/iron_golem.json new file mode 100644 index 0000000..08b3d04 --- /dev/null +++ b/behavior_pack/entities/iron_golem.json @@ -0,0 +1,474 @@ +{ + "format_version": "1.21.20", + "minecraft:entity": { + "description": { + "identifier": "minecraft:iron_golem", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:player_created": { + "minecraft:behavior.hurt_by_target": { + "priority": 2, + "entity_types": { + "filters": { + "all_of": [ + { "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "player"}, + { "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper"} + ] + } + } + } + }, + "minecraft:village_created": { + "minecraft:behavior.defend_village_target": { + "priority": 1, + "must_reach": true, + "attack_chance": 0.05, + "entity_types": { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "mob" }, + { "test": "is_family", "subject": "other", "value": "player" } + ] + } + } + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "defender", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": false, + "can_migrate": true, + "first_founding_reward": 0 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "irongolem", "mob" ] + }, + "minecraft:nameable": { + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 2.9 + }, + "minecraft:loot": { + "table": "loot_tables/entities/iron_golem.json" + }, + "minecraft:health": { + "value": 100, + "max": 100 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "can_path_over_water": false, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "has_equipment", + "domain": "hand", + "subject": "other", + "value": "iron_ingot" + }, + { + "test": "is_missing_health", + "value": true + } + ] + } + }, + "use_item": true, + "health_amount": 25, + "play_sounds": "irongolem.repair", + "interact_text": "action.interact.repair" + } + ] + }, + "minecraft:attack": { + "damage": { + "range_min": 7, + "range_max": 21 + } + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": false + } + }, + "minecraft:knockback_resistance": { + "value": 1.0 + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 2.0 + }, + "minecraft:preferred_path": { + "max_fall_blocks": 1, + "jump_cost": 5, + "default_block_cost": 1.5, + "preferred_path_blocks": [ + { + "cost": 0, + "blocks": [ + "grass_path" + ] + }, + { + "cost": 1, + "blocks": [ + "cobblestone", + "stone", + "granite", + "polished_granite", + "diorite", + "polished_diorite", + "andesite", + "polished_andesite", + "stone_bricks", + "mossy_stone_bricks", + "cracked_stone_bricks", + "chiseled_stone_bricks", + "sandstone", + "cut_sandstone", + "chiseled_sandstone", + "smooth_sandstone", + "mossy_cobblestone", + "smooth_stone_slab", + "sandstone_slab", + "cobblestone_slab", + "brick_slab", + "stone_brick_slab", + "quartz_slab", + "nether_brick_slab", + "red_sandstone_slab", + "purpur_slab", + "prismarine_slab", + "dark_prismarine_slab", + "prismarine_brick_slab", + "mossy_cobblestone_slab", + "smooth_sandstone_slab", + "red_nether_brick_slab", + "end_stone_brick_slab", + "smooth_red_sandstone_slab", + "polished_andesite_slab", + "andesite_slab", + "diorite_slab", + "polished_diorite_slab", + "granite_slab", + "polished_granite_slab", + "mossy_stone_brick_slab", + "smooth_quartz_slab", + "normal_stone_slab", + "cut_sandstone_slab", + "cut_red_sandstone_slab", + "smooth_stone_double_slab", + "sandstone_double_slab", + "cobblestone_double_slab", + "brick_double_slab", + "stone_brick_double_slab", + "quartz_double_slab", + "nether_brick_double_slab", + "red_sandstone_double_slab", + "purpur_double_slab", + "prismarine_double_slab", + "dark_prismarine_double_slab", + "prismarine_brick_double_slab", + "mossy_cobblestone_double_slab", + "smooth_sandstone_double_slab", + "red_nether_brick_double_slab", + "end_stone_brick_double_slab", + "smooth_red_sandstone_double_slab", + "polished_andesite_double_slab", + "andesite_double_slab", + "diorite_double_slab", + "polished_diorite_double_slab", + "granite_double_slab", + "polished_granite_double_slab", + "mossy_stone_brick_double_slab", + "smooth_quartz_double_slab", + "normal_stone_double_slab", + "cut_sandstone_double_slab", + "cut_red_sandstone_double_slab", + "oak_slab", + "spruce_slab", + "birch_slab", + "jungle_slab", + "acacia_slab", + "dark_oak_slab", + "oak_double_slab", + "spruce_double_slab", + "birch_double_slab", + "jungle_double_slab", + "acacia_double_slab", + "dark_oak_double_slab", + "oak_planks", + "spruce_planks", + "birch_planks", + "jungle_planks", + "acacia_planks", + "dark_oak_planks", + "brick_block", + "nether_brick", + "red_nether_brick", + "end_bricks", + "red_sandstone", + "cut_red_sandstone", + "chiseled_red_sandstone", + "smooth_red_sandstone", + "white_stained_glass", + "orange_stained_glass", + "magenta_stained_glass", + "light_blue_stained_glass", + "yellow_stained_glass", + "lime_stained_glass", + "pink_stained_glass", + "gray_stained_glass", + "light_gray_stained_glass", + "cyan_stained_glass", + "purple_stained_glass", + "blue_stained_glass", + "brown_stained_glass", + "green_stained_glass", + "red_stained_glass", + "black_stained_glass", + "glass", + "glowstone", + "prismarine", + "emerald_block", + "diamond_block", + "lapis_block", + "gold_block", + "redstone_block", + "purple_glazed_terracotta", + "white_glazed_terracotta", + "orange_glazed_terracotta", + "magenta_glazed_terracotta", + "light_blue_glazed_terracotta", + "yellow_glazed_terracotta", + "lime_glazed_terracotta", + "pink_glazed_terracotta", + "gray_glazed_terracotta", + "silver_glazed_terracotta", + "cyan_glazed_terracotta", + "blue_glazed_terracotta", + "brown_glazed_terracotta", + "green_glazed_terracotta", + "red_glazed_terracotta", + "black_glazed_terracotta" + ] + }, + { + "cost": 50, + "blocks": [ + "bed", + "lectern", + "composter", + "grindstone", + "blast_furnace", + "smoker", + "fletching_table", + "cartography_table", + "brewing_stand", + "smithing_table", + "cauldron", + "barrel", + "loom", + "stonecutter" + ] + } + ] + }, + "minecraft:behavior.target_when_pushed": { + "priority": 1, + "percent_chance": 5.0, + "entity_types": [ + { + "filters": { + "all_of": [ + { "test" : "is_family", "subject" : "other", "value" : "monster" }, + { "test" : "is_family", "subject" : "other", "operator": "!=", "value" : "creeper" } + ] + } + } + ] + }, + "minecraft:behavior.melee_box_attack": { + "priority": 1, + "track_target": true + }, + "minecraft:behavior.move_towards_target": { + "priority": 2, + "speed_multiplier": 0.9, + "within_radius": 32 + }, + "minecraft:behavior.move_through_village": { + "priority": 3, + "speed_multiplier": 0.6, + "only_at_night": true + }, + "minecraft:behavior.move_towards_dwelling_restriction": { + "priority": 4, + "speed_multiplier": 1 + }, + "minecraft:behavior.offer_flower": { + "priority": 5, + "filters": { + "all_of": [ + { "test": "is_daytime", "value" : true } + ] + } + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.6, + "xz_dist": 16 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 3, + "must_reach": true, + "must_see": true, + + "entity_types": [ + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "monster" + }, + { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "creeper" + } + ] + }, + "within_default": 10 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "hoglin" + }, + { + "test": "is_difficulty", + "operator": "!=", + "value": "peaceful" + } + ] + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "zoglin" + }, + { + "test": "is_difficulty", + "operator": "!=", + "value": "peaceful" + } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.hurt_by_target": { + "priority": 2, + "entity_types": { + "filters": { "test": "is_family", "subject": "other", "operator": "!=", "value": "creeper" } + } + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:follow_range": { + "value": 64 + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:from_player": { + "add": { + "component_groups": [ + "minecraft:player_created" + ] + } + }, + "minecraft:from_village": { + "add": { + "component_groups": [ + "minecraft:village_created" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/lightning_bolt.json b/behavior_pack/entities/lightning_bolt.json new file mode 100644 index 0000000..ef0ec1a --- /dev/null +++ b/behavior_pack/entities/lightning_bolt.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.8.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:lightning_bolt", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + }, + + "components": { + "minecraft:type_family": { + "family":["lightning"] + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 80.0, + "max_dropped_ticks": 10, + "use_motion_prediction_hints": true + } + } + }, + + "events": { + } + } +} diff --git a/behavior_pack/entities/lingering_potion.json b/behavior_pack/entities/lingering_potion.json new file mode 100644 index 0000000..c557099 --- /dev/null +++ b/behavior_pack/entities/lingering_potion.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:lingering_potion", + "is_spawnable": false, + "is_summonable": false, + "is_experimental": false + }, + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:projectile": { + "on_hit": { + "douse_fire": { }, + "spawn_aoe_cloud": { + "radius": 3.0, + "radius_on_use": -0.5, + "duration": 30, + "reapplication_delay": 40 + }, + "remove_on_hit": { } + }, + "power": 0.5, + "gravity": 0.05, + "angle_offset": -20.0, + "hit_sound": "glass" + }, + "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": 5, + "use_motion_prediction_hints": true + } + } + } + } +} diff --git a/behavior_pack/entities/llama.json b/behavior_pack/entities/llama.json new file mode 100644 index 0000000..782b81b --- /dev/null +++ b/behavior_pack/entities/llama.json @@ -0,0 +1,712 @@ +{ + "format_version": "1.21.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:llama", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "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": { + "parent_centric_attribute_blending": [ + "minecraft:health" + ], + "require_tame": true, + "inherit_tamed": false, + "breeds_with": { + "mate_type": "minecraft:llama", + "baby_type": "minecraft:llama", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ "hay_block" ] + } + }, + + "minecraft:strength_1": { + "minecraft:strength": { + "value": 1, + "max": 5 + } + }, + + "minecraft:strength_2": { + "minecraft:strength": { + "value": 2, + "max": 5 + } + }, + + "minecraft:strength_3": { + "minecraft:strength": { + "value": 3, + "max": 5 + } + }, + + "minecraft:strength_4": { + "minecraft:strength": { + "value": 4, + "max": 5 + } + }, + + "minecraft:strength_5": { + "minecraft:strength": { + "value": 5, + "max": 5 + } + }, + + "minecraft:llama_creamy": { + "minecraft:variant": { + "value": 0 + } + }, + + "minecraft:llama_white": { + "minecraft:variant": { + "value": 1 + } + }, + + "minecraft:llama_brown": { + "minecraft:variant": { + "value": 2 + } + }, + + "minecraft:llama_gray": { + "minecraft:variant": { + "value": 3 + } + }, + + "minecraft:llama_wild": { + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "player" + ], + "interact_text": "action.interact.mount", + "seats": { + "position": [ 0.0, 1.17, -0.3 ] + } + }, + "minecraft:tamemount": { + "min_temper": 0, + "max_temper": 30, + "feed_text": "action.interact.feed", + "ride_text": "action.interact.mount", + "feed_items": [ + { + "item": "wheat", + "temper_mod": 3 + }, + { + "item": "hay_block", + "temper_mod": 6 + } + ], + "tame_event": { + "event": "minecraft:on_tame", + "target": "self" + } + } + }, + + "minecraft:llama_tamed": { + "minecraft:is_tamed": { + }, + "minecraft:rideable": { + "seat_count": 1, + "crouching_skip_interact": true, + "family_types": [ + "player" + ], + "interact_text": "action.interact.ride.horse", + "seats": { + "position": [ 0.0, 1.17, -0.3 ] + } + }, + "minecraft:inventory": { + "inventory_size": 16, + "container_type": "horse", + "additional_slots_per_strength": 3 + }, + "minecraft:equippable": { + "slots": [ + { + "slot": 1, + "item": "carpet", + "accepted_items": [ "carpet" ] + } + ] + } + }, + "minecraft:llama_unchested": { + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneaking", "subject": "other", "value": false }, + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "chest" } + ] + }, + "event": "minecraft:on_chest", + "target": "self" + }, + "use_item": true, + "interact_text": "action.interact.attachchest" + }, + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "carpet" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "carpet" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneaking", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.equipcarpet" + } + ] + } + }, + + "minecraft:llama_chested": { + "minecraft:is_chested": { + }, + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "carpet" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "carpet" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneaking", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.equipcarpet" + } + ] + } + }, + + "minecraft:llama_angry": { + "minecraft:angry": { + "duration": 4, + "broadcast_anger": false, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + "minecraft:behavior.ranged_attack": { + "priority": 2, + "attack_radius": 64, + "charge_shoot_trigger": 2, + "charge_charged_trigger": 1 + } + }, + + "minecraft:llama_angry_wolf": { + "minecraft:angry": { + "duration": -1, + "broadcast_anger": false, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + "minecraft:behavior.ranged_attack": { + "priority": 2, + "attack_radius": 64, + "charge_shoot_trigger": 2, + "charge_charged_trigger": 1 + } + }, + + "minecraft:in_caravan": { + "minecraft:damage_sensor": { + "triggers": { + "cause": "all", + "deals_damage": true + } + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "llama", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:mark_variant": { + "value": 0 + }, + "minecraft:health": { + "value": { + "range_min": 15, + "range_max": 30 + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self" + }, + "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.tempt": { + "priority": 5, + "speed_multiplier": 1.2, + "items": [ + "hay_block" + ] + }, + "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" + }, + + "minecraft:spawn_tame_adult": { + "add": { + "component_groups": [ + "minecraft:llama_adult", + "minecraft:llama_tamed", + "minecraft:llama_unchested" + ] + }, + "trigger": "minecraft:add_attributes" + } + } + } +} diff --git a/behavior_pack/entities/llama_spit.json b/behavior_pack/entities/llama_spit.json new file mode 100644 index 0000000..34ca570 --- /dev/null +++ b/behavior_pack/entities/llama_spit.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:llama_spit", + "spawn_category": "misc", + "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": 1, + "knockback": false + }, + "remove_on_hit": { } + }, + "power": 1.5, + "gravity": 0.06, + "inertia": 1, + "uncertainty_base": 10, + "uncertainty_multiplier": 4, + "anchor": 1, + "offset": [ 0, -0.1, 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 + } + } + } + } +} diff --git a/behavior_pack/entities/location_pointer_idle.json b/behavior_pack/entities/location_pointer_idle.json new file mode 100644 index 0000000..44dfe0e --- /dev/null +++ b/behavior_pack/entities/location_pointer_idle.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.16.100", + "minecraft:entity": { + "description": { + "identifier": "editor:location_pointer_idle", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:physics": { + "has_gravity": true, + "has_collision": true + }, + "minecraft:pushable": { + "is_pushable": false + }, + "minecraft:push_through": { + "value": 1 + } + } + } +} diff --git a/behavior_pack/entities/location_pointer_selected.json b/behavior_pack/entities/location_pointer_selected.json new file mode 100644 index 0000000..77b6a80 --- /dev/null +++ b/behavior_pack/entities/location_pointer_selected.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.16.100", + "minecraft:entity": { + "description": { + "identifier": "editor:location_pointer_selected", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:physics": { + "has_gravity": true, + "has_collision": true + }, + "minecraft:pushable": { + "is_pushable": false + }, + "minecraft:push_through": { + "value": 1 + } + } + } +} diff --git a/behavior_pack/entities/magma_cube.json b/behavior_pack/entities/magma_cube.json new file mode 100644 index 0000000..9115849 --- /dev/null +++ b/behavior_pack/entities/magma_cube.json @@ -0,0 +1,286 @@ +{ + "format_version": "1.19.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:magma_cube", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "minecraft:slime_large": { + "minecraft:variant": { + "value": 4 + }, + "minecraft:collision_box": { + "width": 2.08, + "height": 2.08 + }, + "minecraft:health": { + "value": 16, + "max": 16 + }, + "minecraft:movement": { + "value": 0.75 + }, + "minecraft:attack": { + "damage": 6 + }, + "minecraft:area_attack" : { + "damage_range": 0.15, + "damage_per_tick": 6, + "damage_cooldown" : 0.5, + "cause": "entity_attack", + "entity_filter": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "irongolem" } + ] + } + }, + "minecraft:loot": { + "table": "loot_tables/entities/magma_cube.json" + } + }, + + "minecraft:slime_medium": { + "minecraft:variant": { + "value": 2 + }, + "minecraft:collision_box": { + "width": 1.04, + "height": 1.02 + }, + "minecraft:health": { + "value": 4, + "max": 4 + }, + "minecraft:movement": { + "value": 0.66 + }, + "minecraft:attack": { + "damage": 4 + }, + "minecraft:area_attack" : { + "damage_range": 0.15, + "damage_per_tick": 4, + "damage_cooldown" : 0.5, + "cause": "entity_attack", + "entity_filter": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "irongolem" } + ] + } + }, + "minecraft:loot": { + "table": "loot_tables/entities/magma_cube.json" + } + }, + + "minecraft:slime_small": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:collision_box": { + "width": 0.52, + "height": 0.52 + }, + "minecraft:health": { + "value": 1, + "max": 1 + }, + "minecraft:movement": { + "value": 0.6 + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:area_attack" : { + "damage_range": 0.15, + "damage_per_tick": 3, + "damage_cooldown" : 0.5, + "cause": "entity_attack", + "entity_filter": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "irongolem" } + ] + } + } + }, + + "minecraft:slime_calm": { + "minecraft:movement.jump": { + "jump_delay": [ 2.0, 6.0 ] + } + }, + "minecraft:slime_aggressive": { + "minecraft:movement.jump": { + "jump_delay": [ 0.667, 2.0 ] + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 2.08, + "height": 2.08 + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? query.variant : 0" + }, + "minecraft:type_family": { + "family": [ "magmacube", "monster", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_lava": true + }, + "minecraft:nameable": { + }, + "minecraft:fire_immune": { + }, + "minecraft:burns_in_daylight": false, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": false + } + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true + }, + "minecraft:jump.static": { + }, + "minecraft:movement.jump": { + "jump_delay": [ 2.0, 6.0 ] + }, + "minecraft:can_climb": { + }, + "minecraft:on_target_acquired": { + "event": "minecraft:become_aggressive", + "target": "self" + }, + "minecraft:on_target_escape": { + "event": "minecraft:become_calm", + "target": "self" + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.slime_float": { + "priority": 1, + "jump_chance_percentage": 0.8, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.slime_attack": { + "priority": 3 + }, + "minecraft:behavior.slime_random_direction": { + "priority": 4, + "add_random_time_range": 3, + "turn_range": 360, + "min_change_direction_time": 2.0 + }, + "minecraft:behavior.slime_keep_on_jumping": { + "priority": 5, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "max_dist": 16 + } + ], + "must_see": true + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 1, + "trigger": "spawn_small" + }, + { + "weight": 1, + "trigger": "spawn_medium" + }, + { + "weight": 1, + "trigger": "spawn_large" + } + ] + }, + "spawn_small": { + "add": { + "component_groups": [ + "minecraft:slime_small", + "minecraft:slime_calm" + ] + } + }, + "spawn_medium": { + "add": { + "component_groups": [ + "minecraft:slime_medium", + "minecraft:slime_calm" + ] + } + }, + "spawn_large": { + "add": { + "component_groups": [ + "minecraft:slime_large", + "minecraft:slime_calm" + ] + } + }, + "minecraft:become_calm": { + "add": { + "component_groups": [ + "minecraft:slime_calm" + ] + } + }, + "minecraft:become_aggressive": { + "add": { + "component_groups": [ + "minecraft:slime_aggressive" + ] + } + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/entities/map_marker.json b/behavior_pack/entities/map_marker.json new file mode 100644 index 0000000..453d1cd --- /dev/null +++ b/behavior_pack/entities/map_marker.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "editor:map_marker", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": {}, + "components": { + "minecraft:physics": {}, + "minecraft:collision_box": { + "width": 1, + "height": 1 + } + }, + "events": {} + } +} diff --git a/behavior_pack/entities/minecart.json b/behavior_pack/entities/minecart.json new file mode 100644 index 0000000..9cd1b17 --- /dev/null +++ b/behavior_pack/entities/minecart.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:minecart", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "components": { + "minecraft:is_stackable": { + }, + "minecraft:type_family": { + "family": [ "minecart", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 0.98, + "height": 0.7 + }, + "minecraft:rail_movement": { + }, + "minecraft:rideable": { + "seat_count": 1, + "interact_text": "action.interact.ride.minecart", + "pull_in_entities": true, + + "seats": { + "position": [ 0.0, -0.2, 0.0 ] + } + }, + "minecraft:rail_sensor": { + "eject_on_activate": true + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 60.0, + "max_dropped_ticks": 20, + "use_motion_prediction_hints": true + }, + "conditional_values": [ + { + "max_optimized_distance": 0.0, + "max_dropped_ticks": 0, + "conditional_values": [ + { "test": "is_moving", "subject": "self", "operator": "==", "value": true} + ] + } + ] + } + } + } +} diff --git a/behavior_pack/entities/mooshroom.json b/behavior_pack/entities/mooshroom.json new file mode 100644 index 0000000..40e4df1 --- /dev/null +++ b/behavior_pack/entities/mooshroom.json @@ -0,0 +1,858 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:mooshroom", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:mooshroom_become_cow": { + "minecraft:transformation": { + "into": "minecraft:cow" + } + }, + "minecraft:cow_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value":0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": "wheat", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 6, + "speed_multiplier": 1.1 + } + }, + + "minecraft:cow_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/mooshroom.json" + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "breed_items": "wheat", + "breeds_with": { + "mate_type": "minecraft:mooshroom", + "baby_type": "minecraft:mooshroom", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "deny_parents_variant": { + "chance": 0.00098, // Roughly 1/1024 + "min_variant": 0, + "max_variant": 1 + } + }, + + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bowl"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"} + ] + }, + "event": "minecraft:flowerless", + "target": "self" + }, + "add_items": { + "table": "loot_tables/gameplay/entities/mooshroom_milking.json" + }, + "use_item": true, + "play_sounds": "milk_suspiciously", + "interact_text": "action.interact.moostew" + }, + { + "on_interact": { + "filters": { // allium + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "allium"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 7} + ] + }, + "event": "minecraft:ate_allium", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // bluet + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "azure_bluet"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 3} + ] + }, + "event": "minecraft:ate_bluet", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // orchid + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "blue_orchid"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 6} + ] + }, + "event": "minecraft:ate_orchid", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // cornflower + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "cornflower"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 1} + ] + }, + "event": "minecraft:ate_cornflower", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // Dandelion + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "dandelion"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 5} + ] + }, + "event": "minecraft:ate_dandelion", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // lily of the valley + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "lily_of_the_valley"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 4} + ] + }, + "event": "minecraft:ate_lily", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // daisy + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "oxeye_daisy"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 8} + ] + }, + "event": "minecraft:ate_daisy", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // poppy + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "poppy"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 0} + ] + }, + "event": "minecraft:ate_poppy", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // tulips + "any_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "red_tulip"}, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "orange_tulip"}, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "white_tulip"}, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "pink_tulip"} + ], + "all_of": [ + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 2} + ] + }, + "event": "minecraft:ate_tulip", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // rose + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "wither_rose"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 9} + ] + }, + "event": "minecraft:ate_rose", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // torchflower + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "torchflower"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 10} + ] + }, + "event": "minecraft:ate_torchflower", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // open eyeblossom + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "open_eyeblossom"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 11} + ] + }, + "event": "minecraft:ate_open_eyeblossom", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { // closed eyeblossom + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "closed_eyeblossom"}, + { "test" : "is_family", "subject" : "other", "value" : "player"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1}, + { "test": "is_mark_variant", "subject": "self", "operator": "!=", "value": 12} + ] + }, + "event": "minecraft:ate_closed_eyeblossom", + "target": "self" + }, + "use_item": true, + "play_sounds": "eat", + "particle_on_start": { "particle_type": "smoke", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.feed" + }, + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"}, + { "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 0} + ] + }, + "event": "become_cow", + "target": "self" + }, + "use_item": false, + "hurt_item": 1, + "play_sounds": "shear", + "spawn_items": { "table": "loot_tables/entities/mooshroom_shear.json" }, + "particle_on_start": { "particle_type": "largeexplode", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.mooshear", + "vibration": "shear" + }, + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"}, + { "test" : "has_component", "operator": "!=", "value" : "minecraft:transformation"}, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1} + ] + }, + "event": "become_cow", + "target": "self" + }, + "use_item": false, + "hurt_item": 1, + "play_sounds": "shear", + "spawn_items": { "table": "loot_tables/entities/brown_mooshroom_shear.json" }, + "particle_on_start": { "particle_type": "largeexplode", "particle_y_offset": 0.25, "particle_offset_towards_interactor": true }, + "interact_text": "action.interact.mooshear", + "vibration": "shear" + }, + { + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "bucket:0"}, + { "test" : "is_family", "subject" : "other", "value" : "player"} + ] + } + }, + "use_item": true, + "transform_to_item": "bucket:1", + "play_sounds": "milk", + "interact_text": "action.interact.milk" + } + ] + } + }, + + "minecraft:mooshroom_fed_nothing": { + "minecraft:mark_variant": { + "value": -1 + } + }, + + "minecraft:mooshroom_brown_fed_poppy": { + "minecraft:mark_variant": { + "value": 0 + } + }, + + "minecraft:mooshroom_brown_fed_cornflower": { + "minecraft:mark_variant": { + "value": 1 + } + }, + + "minecraft:mooshroom_brown_fed_tulips": { + "minecraft:mark_variant": { + "value": 2 + } + }, + + "minecraft:mooshroom_brown_fed_azure_bluet": { + "minecraft:mark_variant": { + "value": 3 + } + }, + + "minecraft:mooshroom_brown_fed_lily_of_the_valley": { + "minecraft:mark_variant": { + "value": 4 + } + }, + + "minecraft:mooshroom_brown_fed_dandelion": { + "minecraft:mark_variant": { + "value": 5 + } + }, + + "minecraft:mooshroom_brown_fed_blue_orchid": { + "minecraft:mark_variant": { + "value": 6 + } + }, + + "minecraft:mooshroom_brown_fed_allium": { + "minecraft:mark_variant": { + "value": 7 + } + }, + + "minecraft:mooshroom_brown_fed_oxeye_daisy": { + "minecraft:mark_variant": { + "value": 8 + } + }, + + "minecraft:mooshroom_brown_fed_wither_rose": { + "minecraft:mark_variant": { + "value": 9 + } + }, + + "minecraft:mooshroom_brown_fed_torchflower": { + "minecraft:mark_variant": { + "value": 10 + } + }, + + "minecraft:mooshroom_brown_fed_open_eyeblossom": { + "minecraft:mark_variant": { + "value": 11 + } + }, + + "minecraft:mooshroom_brown_fed_closed_eyeblossom": { + "minecraft:mark_variant": { + "value": 12 + } + }, + + "minecraft:mooshroom_red": { + "minecraft:variant": { + "value": 0 + } + }, + + "minecraft:mooshroom_brown": { + "minecraft:variant": { + "value": 1 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "mushroomcow", "mob" ] + }, + "minecraft:mark_variant": { + "value": -1 + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 1.3 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft: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:balloonable": { + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.105, 0.0 ] + } + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 1.25, + "items": [ + "wheat" + ] + }, + "minecraft:behavior.follow_parent": { + "priority": 5, + "speed_multiplier": 1.1 + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "on_damage": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "lightning" }, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 0 } + ] + }, + "event": "minecraft:become_brown" + }, + "deals_damage": "no", + "on_damage_sound_event": "convert_mooshroom" + }, + { + "on_damage": { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "lightning" }, + { "test": "is_variant", "subject": "self", "operator": "==", "value": 1 } + ] + }, + "event": "minecraft:become_red" + }, + "deals_damage": "no", + "on_damage_sound_event": "convert_mooshroom" + } + ] + } + }, + + "events": { + "become_cow": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:mooshroom_become_cow" + ] + } + }, + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:cow_adult", + "minecraft:mooshroom_red" + ] + } + }, + { + "weight": 5, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:cow_baby", + "minecraft:mooshroom_red" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:cow_baby" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:cow_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:cow_adult" + ] + } + }, + + "minecraft:flowerless": { + "add": { + "component_groups": [ + "minecraft:mooshroom_fed_nothing" + ] + } + }, + + "minecraft:ate_allium": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_allium" + ] + } + }, + + "minecraft:ate_cornflower": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_cornflower" + ] + } + }, + + "minecraft:ate_lily": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_lily_of_the_valley" + ] + } + }, + + "minecraft:ate_rose": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_wither_rose" + ] + } + }, + + "minecraft:ate_torchflower": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_torchflower" + ] + } + }, + + "minecraft:ate_open_eyeblossom": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_open_eyeblossom" + ] + } + }, + + "minecraft:ate_closed_eyeblossom": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_closed_eyeblossom" + ] + } + }, + + "minecraft:ate_orchid": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_blue_orchid" + ] + } + }, + + "minecraft:ate_daisy": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_oxeye_daisy" + ] + } + }, + + "minecraft:ate_tulip": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_tulips" + ] + } + }, + + "minecraft:ate_bluet": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_azure_bluet" + ] + } + }, + + "minecraft:ate_poppy": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_poppy" + ] + } + }, + + "minecraft:ate_dandelion": { + "add": { + "component_groups": [ + "minecraft:mooshroom_brown_fed_dandelion" + ] + } + }, + + "minecraft:become_red": { + "remove": { + "component_groups": [ + "minecraft:mooshroom_brown" + ] + }, + "add": { + "component_groups": [ + "minecraft:mooshroom_red", + "minecraft:mooshroom_fed_nothing" + ] + } + }, + + "minecraft:become_brown": { + "remove": { + "component_groups": [ + "minecraft:mooshroom_red" + ] + }, + "add": { + "component_groups": [ + "minecraft:mooshroom_brown", + "minecraft:mooshroom_fed_nothing" + ] + } + }, + + "minecraft:become_brown_adult": { + "remove": { + "component_groups": [ + "minecraft:mooshroom_red" + ] + }, + "add": { + "component_groups": [ + "minecraft:mooshroom_brown", + "minecraft:cow_adult", + "minecraft:mooshroom_fed_nothing" + ] + } + }, + + "minecraft:become_red_adult": { + "remove": { + "component_groups": [ + "minecraft:mooshroom_brown", + "minecraft:cow_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:mooshroom_red", + "minecraft:cow_adult" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/mule.json b/behavior_pack/entities/mule.json new file mode 100644 index 0000000..7a2d4aa --- /dev/null +++ b/behavior_pack/entities/mule.json @@ -0,0 +1,474 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:mule", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:mule_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale_by_age": { + "start_scale": 0.5, + "end_scale": 1.0 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + { + "item": "wheat", + "growth": 0.016667 + }, + { + "item": "sugar", + "growth": 0.025 + }, + { + "item": "hay_block", + "growth": 0.15 + }, + { + "item": "apple", + "growth": 0.05 + }, + { + "item": "golden_carrot", + "growth": 0.05 + }, + { + "item": "golden_apple", + "growth": 0.2 + }, + { + "item": "appleEnchanted", + "growth": 0.2 + } + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 4, + "speed_multiplier": 1.0 + } + }, + + "minecraft:mule_adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/horse.json" + }, + "minecraft:behavior.run_around_like_crazy": { + "priority": 1, + "speed_multiplier": 1.2 + } + }, + + "minecraft:mule_wild": { + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "player", + "zombie" + ], + "interact_text": "action.interact.mount", + "seats": { + "position": [ 0.0, 0.975, -0.2 ] + } + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:tamemount": { + "min_temper": 0, + "max_temper": 100, + "feed_text": "action.interact.feed", + "ride_text": "action.interact.mount", + "feed_items": [ + { + "item": "wheat", + "temper_mod": 3 + }, + { + "item": "sugar", + "temper_mod": 3 + }, + { + "item": "apple", + "temper_mod": 3 + }, + { + "item": "golden_carrot", + "temper_mod": 5 + }, + { + "item": "golden_apple", + "temper_mod": 10 + }, + { + "item": "appleEnchanted", + "temper_mod": 10 + } + ], + "auto_reject_items": [ + { + "item": "horsearmorleather" + }, + { + "item": "horsearmoriron" + }, + { + "item": "horsearmorgold" + }, + { + "item": "horsearmordiamond" + }, + { + "item": "saddle" + } + ], + "tame_event": { + "event": "minecraft:on_tame", + "target": "self" + } + } + }, + + "minecraft:mule_tamed": { + "minecraft:is_tamed": { + }, + "minecraft:equippable": { + "slots": [ + { + "slot": 0, + "item": "saddle", + "accepted_items": [ "saddle" ], + "on_equip": { + "event": "minecraft:mule_saddled" + }, + "on_unequip": { + "event": "minecraft:mule_unsaddled" + } + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "crouching_skip_interact": true, + "family_types": [ + "player" + ], + "interact_text": "action.interact.ride.horse", + "seats": { + "position": [ 0.0, 0.975, -0.2 ] + } + }, + "minecraft:inventory": { + "inventory_size": 16, + "container_type": "horse" + } + }, + "minecraft:mule_unchested": { + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "chest"}, + { "test": "is_family", "subject": "other", "value": "player"}, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "event": "minecraft:on_chest", + "target": "self" + }, + "use_item": true, + "interact_text": "action.interact.attachchest" + }, + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.saddle" + } + ] + } + }, + + "minecraft:mule_chested": { + "minecraft:is_chested": { + }, + "minecraft:interact": { + "interactions": [ + { + "play_sounds": "armor.equip_generic", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "self", "domain": "inventory", "operator": "not", "value": "saddle" }, + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_sneak_held", "subject": "other", "value": false } + ] + }, + "target": "self" + }, + "equip_item_slot": "0", + "interact_text": "action.interact.saddle" + } + ] + } + }, + + "minecraft:mule_saddled": { + "minecraft:is_saddled": { + }, + "minecraft:input_ground_controlled": { + }, + "minecraft:can_power_jump": { + }, + "minecraft:behavior.player_ride_tamed": { + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:ambient_sound_interval": { + }, + "minecraft:type_family": { + "family": [ "mule", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 1.6 + }, + "minecraft:health": { + "value": { + "range_min": 15, + "range_max": 30 + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.175 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:nameable": { + }, + "minecraft:horse.jump_strength": { + "value": 0.5 + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:healable": { + "items": [ + { + "item": "wheat", + "heal_amount": 2 + }, + { + "item": "sugar", + "heal_amount": 1 + }, + { + "item": "hay_block", + "heal_amount": 20 + }, + { + "item": "apple", + "heal_amount": 3 + }, + { + "item": "golden_carrot", + "heal_amount": 4 + }, + { + "item": "golden_apple", + "heal_amount": 10 + }, + { + "item": "appleEnchanted", + "heal_amount": 10 + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 1.2, + "items": [ + "golden_apple", + "appleEnchanted", + "golden_carrot" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.7 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 80, + "add": { + "component_groups": [ + "minecraft:mule_adult", + "minecraft:mule_wild" + ] + } + }, + { + "weight": 20, + "add": { + "component_groups": [ + "minecraft:mule_baby" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:mule_baby" + ] + } + }, + + "minecraft:on_tame": { + "remove": { + "component_groups": [ + "minecraft:mule_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:mule_tamed", + "minecraft:mule_unchested" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:mule_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:mule_adult", + "minecraft:mule_wild" + ] + } + }, + + "minecraft:on_chest": { + "remove": { + "component_groups": [ + "minecraft:mule_unchested" + ] + }, + "add": { + "component_groups": [ + "minecraft:mule_chested" + ] + } + }, + + "minecraft:mule_saddled": { + "add": { + "component_groups": [ + "minecraft:mule_saddled" + ] + } + }, + "minecraft:mule_unsaddled": { + "remove": { + "component_groups": [ + "minecraft:mule_saddled" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/npc.json b/behavior_pack/entities/npc.json new file mode 100644 index 0000000..6b09763 --- /dev/null +++ b/behavior_pack/entities/npc.json @@ -0,0 +1,242 @@ +{ + "format_version": "1.19.30", + "minecraft:entity": { + "description": { + "identifier": "minecraft:npc", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "components": { + "minecraft:damage_sensor": { + "triggers": { + "cause": "all", + "deals_damage": false + } + }, + "minecraft:type_family": { + "family": [ "npc", "mob" ] + }, + "minecraft:fire_immune": true, + "minecraft:movement": { + "value": 0.5 + }, + "minecraft:loot": { + "table": "loot_tables/empty.json" + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 2.1 + }, + "minecraft:behavior.look_at_player": { + "priority": 0, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:persistent": { + }, + "minecraft:npc": { + "npc_data": { + "portrait_offsets": { + "translate": [ -7, 50, 0 ], + "scale": [ 1.75, 1.75, 1.75 ] + }, + "picker_offsets": { + "translate": [ 0, 20, 0 ], + "scale": [ 1.7, 1.7, 1.7 ] + }, + "skin_list": [ + { + "variant": 0 + }, + { + "variant": 1 + }, + { + "variant": 2 + }, + { + "variant": 3 + }, + { + "variant": 4 + }, + { + "variant": 5 + }, + { + "variant": 6 + }, + { + "variant": 7 + }, + { + "variant": 8 + }, + { + "variant": 9 + }, + { + "variant": 10 + }, + { + "variant": 11 + }, + { + "variant": 12 + }, + { + "variant": 13 + }, + { + "variant": 14 + }, + { + "variant": 15 + }, + { + "variant": 16 + }, + { + "variant": 17 + }, + { + "variant": 18 + }, + { + "variant": 19 + }, + { + "variant": 25 + }, + { + "variant": 26 + }, + { + "variant": 27 + }, + { + "variant": 28 + }, + { + "variant": 29 + }, + { + "variant": 30 + }, + { + "variant": 31 + }, + { + "variant": 32 + }, + { + "variant": 33 + }, + { + "variant": 34 + }, + { + "variant": 20 + }, + { + "variant": 21 + }, + { + "variant": 22 + }, + { + "variant": 23 + }, + { + "variant": 24 + }, + { + "variant": 35 + }, + { + "variant": 36 + }, + { + "variant": 37 + }, + { + "variant": 38 + }, + { + "variant": 39 + }, + { + "variant": 40 + }, + { + "variant": 41 + }, + { + "variant": 42 + }, + { + "variant": 43 + }, + { + "variant": 44 + }, + { + "variant": 50 + }, + { + "variant": 51 + }, + { + "variant": 52 + }, + { + "variant": 53 + }, + { + "variant": 54 + }, + { + "variant": 45 + }, + { + "variant": 46 + }, + { + "variant": 47 + }, + { + "variant": 48 + }, + { + "variant": 49 + }, + { + "variant": 55 + }, + { + "variant": 56 + }, + { + "variant": 57 + }, + { + "variant": 58 + }, + { + "variant": 59 + } + ] + } + }, + "minecraft:nameable": { + "always_show": false, + "allow_name_tag_renaming": false + }, + "minecraft:physics": { + } + } + } +} diff --git a/behavior_pack/entities/ocelot.json b/behavior_pack/entities/ocelot.json new file mode 100644 index 0000000..603ceab --- /dev/null +++ b/behavior_pack/entities/ocelot.json @@ -0,0 +1,411 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ocelot", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:ocelot_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ "fish", "salmon" ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + } + }, + "minecraft:ocelot_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/ocelot.json" + }, + "minecraft:scale": { + "value": 1 + } + }, + "minecraft:wild_child_ocelot_spawn": { + "minecraft:spawn_entity": { + "entities": { + "filters": [ + { + "test": "random_chance", + "value": 7 + } + ], + "min_wait_time": 0, + "max_wait_time": 0, + "num_to_spawn": 2, + "single_use": true, + "spawn_entity": "minecraft:ocelot", + "spawn_event": "minecraft:entity_born", + "spawn_method": "born", + "spawn_sound": "" + } + } + }, + "minecraft:ocelot_wild": { + "minecraft:trusting": { + "probability": 0.33, + "trust_items": [ "fish", "salmon" ], + "trust_event": { + "event": "minecraft:on_trust", + "target": "self" + } + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 0.5, + "within_radius": 16, + "can_get_scared": true, + "items": [ + "fish", + "salmon" + ] + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 5, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 10, + "walk_speed_multiplier": 0.8, + "sprint_speed_multiplier": 1.33 + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.35, 0.0 ] + } + } + }, + "minecraft:ocelot_trusting": { + "minecraft:breedable": { + "require_tame": false, + "breeds_with": { + "mate_type": "minecraft:ocelot", + "baby_type": "minecraft:ocelot", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ "fish", "salmon" ] + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 0.5, + "within_radius": 16, + "items": [ + "fish", + "salmon" + ] + } + }, + // Taming is only here for backwards compatibility purposes, ocelots are no longer tameable in Vanilla Minecraft + "minecraft:ocelot_tame": { + "minecraft:is_tamed": { + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:sittable": { + }, + "minecraft:behavior.teleport_to_owner": { + "priority": 0, + "filters": { + "all_of": [ + { "test": "owner_distance", "operator": ">", "value": 12 }, + { "test": "is_panicking" } + ] + } + }, + "minecraft:behavior.stay_while_sitting": { + "priority": 3 + }, + "minecraft:behavior.follow_owner": { + "priority": 4, + "speed_multiplier": 1.0, + "start_distance": 10, + "stop_distance": 2 + }, + "minecraft:behavior.ocelot_sit_on_block": { + "priority": 6, + "speed_multiplier": 1.0 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:attack_damage": { + "value": 3 + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family": [ "ocelot", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 0.7 + }, + "minecraft:movement": { + "value": 0.3 + }, + "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:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": "no" + } + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0, + "on_leash": { + "event": "minecraft:on_leash", + "target": "self" + }, + "on_unleash": { + "event": "minecraft:on_unleash", + "target": "self" + } + }, + "minecraft:balloonable": { + "mass": 0.7 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "reselect_targets": true, + "entity_types": [ + { + "filters": { + "test": "is_family", "subject": "other", "value": "chicken" + }, + "max_dist": 8 + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "baby_turtle" }, + { "test": "in_water", "subject": "other", "operator": "!=", "value": true } + ] + }, + "max_dist": 8 + } + ] + }, + "minecraft:behavior.mount_pathing": { + "priority": 1, + "speed_multiplier": 1.25, + "target_dist": 0, + "track_target": true + }, + "minecraft:behavior.leap_at_target": { + "priority": 3, + "target_dist": 0.3 + }, + "minecraft:behavior.ocelotattack": { + "priority": 4, + "cooldown_time": 1.0, + "x_max_rotation": 30.0, + "y_max_head_rotation": 30.0, + "max_distance": 15.0, + "max_sneak_range": 15.0, + "max_sprint_range": 4.0, + "reach_multiplier": 2.0, + "sneak_speed_multiplier": 0.6, + "sprint_speed_multiplier": 1.33, + "walk_speed_multiplier": 0.8 + }, + "minecraft:behavior.random_stroll": { + "priority": 8, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 9 + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 3, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:ocelot_adult", + "minecraft:ocelot_wild", + "minecraft:wild_child_ocelot_spawn" + ] + } + }, + { + "weight": 1, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:ocelot_baby", + "minecraft:ocelot_wild" + ] + } + } + ] + } + ] + }, + "minecraft:entity_born": { + "sequence": [ + { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:ocelot_baby", + "minecraft:ocelot_trusting" + ] + } + } + ] + }, + "minecraft:entity_born_wild": { + "remove": { + "component_groups": [ + "minecraft:ocelot_trusting" + ] + }, + "add": { + "component_groups": [ + "minecraft:ocelot_baby", + "minecraft:ocelot_wild" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:ocelot_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:ocelot_adult" + ] + } + }, + "minecraft:on_trust": { + "sequence": [ + { + "remove": { + "component_groups": [ + "minecraft:ocelot_wild" + ] + } + }, + { + "add": { + "component_groups": [ + "minecraft:ocelot_trusting" + ] + } + } + ] + }, + // Leashing and unleashing are only here for backwards compatibility purposes, ocelots are no longer leashable in Vanilla Minecraft + "minecraft:on_leash": { + "add": { + "component_groups": [ + "minecraft:ocelot_leashed" + ] + } + }, + "minecraft:on_unleash": { + "remove": { + "component_groups": [ + "minecraft:ocelot_leashed" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/ominous_item_spawner.json b/behavior_pack/entities/ominous_item_spawner.json new file mode 100644 index 0000000..ea69870 --- /dev/null +++ b/behavior_pack/entities/ominous_item_spawner.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ominous_item_spawner", + "is_spawnable": false, + "is_summonable": false + } + } +} diff --git a/behavior_pack/entities/panda.json b/behavior_pack/entities/panda.json new file mode 100644 index 0000000..4e8bcb6 --- /dev/null +++ b/behavior_pack/entities/panda.json @@ -0,0 +1,675 @@ +{ + "format_version": "1.21.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:panda", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:panda_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.4 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": "bamboo", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.roll": { + "priority": 12, + "probability": 0.0016 + }, + "minecraft:behavior.follow_parent": { + "priority": 13, + "speed_multiplier": 1.1 + }, + "minecraft:on_target_acquired": { + "event": "minecraft:on_scared", + "target": "self" + }, + "minecraft:behavior.sneeze": { + "priority": 7, + "probability": 0.0001666, + "cooldown_time": 1.0, + "within_radius": 10.0, + "entity_types": [ + { + "filters": { + "all_of": [ + { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }, + { "test": "is_family", "subject": "other", "value": "panda" }, + { "test": "in_water", "subject": "other", "operator": "!=", "value": true }, + { "test": "on_ground", "operator": "==", "value": true } + ] + }, + "max_dist": 10 + } + ], + "drop_item_chance": 0.001, + "loot_table": "loot_tables/entities/panda_sneeze.json", + "prepare_sound": "presneeze", + "prepare_time": 1.0, + "sound": "sneeze" + } + }, + "minecraft:panda_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/panda.json" + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "blend_attributes": false, + "environment_requirements": { + "blocks": "bamboo", + "count": 8, + "radius": 5 + }, + "breed_items": "bamboo", + "breeds_with": { + "mate_type": "minecraft:panda", + "baby_type": "minecraft:panda", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "mutation_factor": { + "variant": 1.0 + } + }, + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry", + "target": "self" + }, + "minecraft:on_target_escape": { + "event": "minecraft:on_calm", + "target": "self" + }, + "minecraft:attack": { + "damage": 2.0 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 2, + "attack_once": true, + "track_target": true + } + }, + "minecraft:panda_lazy": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:behavior.lay_down": { + "priority": 5, + "interval": 400, + "random_stop_interval": 2000 + }, + "minecraft:behavior.random_sitting": { + "priority": 6, + "start_chance": 0.02, + "stop_chance": 0.2, + "cooldown": 25, + "min_sit_time": 15 + }, + "minecraft:behavior.snacking": { + "priority": 3, + "snacking_cooldown": 17.5, + "snacking_cooldown_min": 10, + "snacking_stop_chance": 0.0011, + "items": [ + "bamboo", + "cake" + ] + }, + "minecraft:behavior.panic": { + "priority": 1, + // Lazy panda's move half the speed, so double their multiplier when they panic + // Otherwise, they don't actually look like they're panicking + "speed_multiplier": 2.5 + }, + "minecraft:movement": { + "value": 0.07 + } + }, + "minecraft:panda_worried": { + "minecraft:variant": { + "value": 2 + }, + "minecraft:behavior.scared": { + "priority": 1, + "sound_interval": 20 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 5, + "max_dist": 16, + "max_flee": 20, + "entity_types": [ + { + "filters": { + "test": "is_family", + "operator": "!=", + "subject": "other", + "value": "panda" + }, + "max_dist": 16, + "sprint_speed_multiplier": 1.5 + } + ] + } + }, + "minecraft:panda_playful": { + "minecraft:variant": { + "value": 3 + }, + "minecraft:behavior.roll": { + "priority": 12, + "probability": 0.013 + } + }, + "minecraft:panda_brown": { + "minecraft:variant": { + "value": 4 + } + }, + "minecraft:panda_weak": { + "minecraft:variant": { + "value": 5 + }, + "minecraft:health": { + "value": 10, + "max": 10 + } + }, + "minecraft:panda_sneezing": { + "minecraft:behavior.sneeze": { + "priority": 7, + "probability": 0.002, + "cooldown_time": 1.0, + "within_radius": 10.0, + "entity_types": [ + { + "filters": { + "all_of": [ + { + "test": "has_component", + "subject": "other", + "operator": "!=", + "value": "minecraft:is_baby" + }, + { + "test": "is_family", + "subject": "other", + "value": "panda" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + }, + { + "test": "on_ground", + "operator": "==", + "value": true + } + ] + }, + "max_dist": 10 + } + ], + "drop_item_chance": 0.001, + "loot_table": "loot_tables/entities/panda_sneeze.json", + "prepare_sound": "presneeze", + "prepare_time": 1.0, + "sound": "sneeze" + } + }, + "minecraft:panda_aggressive": { + "minecraft:type_family": { + "family": [ "panda" , "panda_aggressive", "mob" ] + }, + "minecraft:variant": { + "value": 6 + }, + "minecraft:attack": { + "damage": 6.0 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 2, + "track_target": true + }, + "minecraft:on_friendly_anger": { + "event": "minecraft:on_anger", + "target": "self" + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25, + "damage_sources": [ "campfire", "fire", "fire_tick", "freezing", "lightning", "lava", "magma", "temperature", "soul_campfire" ], + "ignore_mob_damage": true + } + }, + "minecraft:panda_angry": { + "minecraft:angry": { + "duration": 500, + "broadcast_anger": true, + "broadcast_range": 41, + "broadcast_filters": { + "test": "is_family", + "operator": "==", + "value": "panda_aggressive" + }, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + "minecraft:on_target_acquired": { + } + }, + "minecraft:baby_scared": { + "minecraft:angry": { + "duration": 1, + "broadcast_anger": true, + "broadcast_range": 41, + "broadcast_filters": { + "test": "is_family", + "operator": "==", + "value": "panda_aggressive" + }, + "calm_event": { + "event": "minecraft:baby_on_calm", + "target": "self" + } + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "panda" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:navigation.walk": { + "can_float": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:scale": { + "value": 1.0 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:giveable": { + "triggers": { + "cooldown": 3.0, + "items": [ + "bamboo", + "cake" + ], + "on_give": { + "event": "minecraft:on_calm", + "target": "self" + } + } + }, + "minecraft:inventory": { + "inventory_size": 1, + "private": true + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:collision_box": { + "width": 1.3, + "height": 1.25 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.15 + }, + "minecraft:water_movement": { + "drag_factor": 0.98 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.random_sitting": { + "priority": 5, + "start_chance": 0.01, + "stop_chance": 0.3, + "cooldown": 30, + "min_sit_time": 10 + }, + "minecraft:behavior.snacking": { + "priority": 2, + "snacking_cooldown": 22.5, + "snacking_cooldown_min": 20, + "snacking_stop_chance": 0.001334, + "items": [ + "bamboo", + "cake" + ] + }, + "minecraft:behavior.mount_pathing": { + "priority": 5, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 1.25, + "items": [ + "bamboo" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 14, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + }, + "minecraft:balloonable": { + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.105, 0.0 ] + } + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:variant": { + "value": 0 + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:genetics": { + "mutation_rate": 0.03125, + "genes": [ + { + "name": "panda_variant", + "allele_range": { + "range_min": 0, + "range_max": 15 + }, + "genetic_variants": [ + { + "main_allele": 0, + "birth_event": { + "event": "minecraft:panda_lazy", + "target": "self" + } + }, + { + "main_allele": 1, + "birth_event": { + "event": "minecraft:panda_worried", + "target": "self" + } + }, + { + "main_allele": 2, + "birth_event": { + "event": "minecraft:panda_playful", + "target": "self" + } + }, + { + "main_allele": 3, + "birth_event": { + "event": "minecraft:panda_aggressive", + "target": "self" + } + }, + { + "both_allele": { + "range_min": 4, + "range_max": 7 + }, + "birth_event": { + "event": "minecraft:panda_weak", + "target": "self" + } + }, + { + "both_allele": { + "range_min": 8, + "range_max": 9 + }, + "birth_event": { + "event": "minecraft:panda_brown", + "target": "self" + } + } + ] + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "add": { + "component_groups": [ + "minecraft:panda_adult" + ] + } + }, + { + "weight": 5, + "add": { + "component_groups": [ + "minecraft:panda_baby" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:panda_baby" + ] + } + }, + + "minecraft:ageable_grow_up": { + "sequence": [ + { + "remove": { + "component_groups": [ + "minecraft:panda_baby" + ] + } + }, + { + "add": { + "component_groups": [ + "minecraft:panda_adult" + ] + } + }, + { + "filters": { + "test": "is_variant", + "subject": "self", + "operator": "==", + "value": 3 + }, + "add": { + "component_groups": [ + "minecraft:panda_playful" + ] + } + }, + { + "filters": { + "test": "is_variant", + "subject": "self", + "operator": "==", + "value": 6 + }, + "add": { + "component_groups": [ + "minecraft:panda_aggressive" + ] + } + } + ] + }, + "minecraft:panda_lazy": { + "add": { + "component_groups": [ + "minecraft:panda_lazy" + ] + } + }, + "minecraft:panda_worried": { + "add": { + "component_groups": [ + "minecraft:panda_worried" + ] + } + }, + "minecraft:panda_playful": { + "add": { + "component_groups": [ + "minecraft:panda_playful" + ] + } + }, + "minecraft:panda_brown": { + "add": { + "component_groups": [ + "minecraft:panda_brown" + ] + } + }, + "minecraft:panda_weak": { + "sequence": [ + { + "add": { + "component_groups": [ + "minecraft:panda_weak" + ] + } + }, + { + "filters": { + "test": "has_component", + "operator": "==", + "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ + "minecraft:panda_sneezing" + ] + } + } + ] + }, + "minecraft:panda_aggressive": { + "add": { + "component_groups": [ + "minecraft:panda_aggressive" + ] + } + }, + "minecraft:on_scared": { + "add": { + "component_groups": [ + "minecraft:baby_scared" + ] + } + }, + "minecraft:baby_on_calm": { + "remove": { + "component_groups": [ + "minecraft:baby_scared" + ] + } + }, + "minecraft:become_angry": { + "add": { + "component_groups": [ + "minecraft:panda_angry" + ] + } + }, + "minecraft:on_calm": { + "remove": { + "component_groups": [ + "minecraft:panda_angry" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/parrot.json b/behavior_pack/entities/parrot.json new file mode 100644 index 0000000..dfd4c8c --- /dev/null +++ b/behavior_pack/entities/parrot.json @@ -0,0 +1,342 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:parrot", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:parrot_red": { + "minecraft:variant": { "value": 0 } + }, + "minecraft:parrot_blue": { + "minecraft:variant": { "value": 1 } + }, + "minecraft:parrot_green": { + "minecraft:variant": { "value": 2 } + }, + "minecraft:parrot_cyan": { + "minecraft:variant": { "value": 3 } + }, + "minecraft:parrot_silver": { + "minecraft:variant": { "value": 4 } + }, + "minecraft:parrot_adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/parrot.json" + } + }, + "minecraft:parrot_wild": { + "minecraft:type_family": { + "family": [ "parrot_wild", "mob" ] + }, + "minecraft:tameable": { + "probability": 0.33, + "tame_items": [ + "wheat_seeds", + "pumpkin_seeds", + "melon_seeds", + "beetroot_seeds", + "pitcher_pod", + "torchflower_seeds" + ], + "tame_event": { + "event": "minecraft:on_tame", + "target": "self" + } + }, + "minecraft:behavior.random_fly": { + "priority": 3, + "xz_dist": 15, + "y_dist": 1, + "y_offset": 0, + "speed_multiplier": 1.0, + "can_land_on_trees": true, + "avoid_damage_blocks": true + }, + "minecraft:behavior.follow_mob": { + "priority": 4, + "speed_multiplier": 1.0, + "stop_distance": 3, + "search_range": 20 + } + }, + "minecraft:parrot_tame": { + "minecraft:type_family": { + "family": [ "parrot_tame", "mob" ] + }, + "minecraft:is_tamed": { + }, + "minecraft:sittable": { + }, + "minecraft:behavior.teleport_to_owner": { + "priority": 0, + "filters": { + "all_of": [ + { "test": "owner_distance", "operator": ">", "value": 12 }, + { "test": "is_panicking" } + ] + } + }, + "minecraft:behavior.stay_while_sitting": { + "priority": 2 + }, + "minecraft:behavior.follow_owner": { + "priority": 3, + "speed_multiplier": 1.0, + "start_distance": 5, + "stop_distance": 1 + }, + "minecraft:behavior.find_mount": { + "priority": 4, + "within_radius": 16, + "avoid_water": true, + "start_delay": 100, + "target_needed": false, + "mount_distance": 2.0 + } + }, + "minecraft:parrot_not_riding_player": { + "minecraft:entity_sensor": { + "relative_range": false, + "subsensors": [ + { + "range": [ 2.0, 2.0 ], + "event_filters": { + "all_of": [ + { "test": "is_riding", "subject": "self", "operator": "equals", "value": true }, + { "test": "has_component", "subject": "self", "operator": "equals", "value": "minecraft:behavior.look_at_player" } + ] + }, + "event": "minecraft:on_riding_player" + } + ] + }, + "minecraft:behavior.look_at_player": { + "priority": 2, + "look_distance": 8.0 + } + }, + "minecraft:parrot_riding_player": { + "minecraft:entity_sensor": { + "relative_range": false, + "subsensors": [ + { + "range": [ 2.0, 2.0 ], + "event_filters": { + "all_of": [ + { "test": "is_riding", "subject": "self", "operator": "equals", "value": false }, + { "test": "has_component", "subject": "self", "operator": "not", "value": "minecraft:behavior.look_at_player" } + ] + }, + "event": "minecraft:on_not_riding_player" + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.5, + "height": 1 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 6, + "max": 6 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self", "operator": "==", "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.4 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": "no" + } + }, + "minecraft:jump.static": { + }, + "minecraft:can_fly": { + }, + "minecraft:navigation.fly": { + "can_path_over_water": true, + "can_path_from_air": true + }, + "minecraft:movement.fly": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:game_event_movement_tracking": { + "emit_flap": true + }, + "minecraft:healable": { + "force_use": true, + "filters": { + "test": "is_riding", + "operator": "!=", + "value": true + }, + "items": [ + { + "item": "cookie", + "heal_amount": 0, + "effects": [ + { + "name": "fatal_poison", + "chance": 1.0, + "duration": 1000, + "amplifier": 0 + } + ] + } + ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:behavior.float": { + "priority": 1 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 20, + "add": { + "component_groups": [ + "minecraft:parrot_red", + "minecraft:parrot_adult", + "minecraft:parrot_wild", + "minecraft:parrot_not_riding_player" + ] + } + }, + { + "weight": 20, + "add": { + "component_groups": [ + "minecraft:parrot_blue", + "minecraft:parrot_adult", + "minecraft:parrot_wild", + "minecraft:parrot_not_riding_player" + ] + } + }, + { + "weight": 20, + "add": { + "component_groups": [ + "minecraft:parrot_green", + "minecraft:parrot_adult", + "minecraft:parrot_wild", + "minecraft:parrot_not_riding_player" + ] + } + }, + { + "weight": 20, + "add": { + "component_groups": [ + "minecraft:parrot_cyan", + "minecraft:parrot_adult", + "minecraft:parrot_wild", + "minecraft:parrot_not_riding_player" + ] + } + }, + { + "weight": 20, + "add": { + "component_groups": [ + "minecraft:parrot_silver", + "minecraft:parrot_adult", + "minecraft:parrot_wild", + "minecraft:parrot_not_riding_player" + ] + } + } + ] + }, + "minecraft:on_tame": { + "remove": { + "component_groups": [ + "minecraft:parrot_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:parrot_tame" + ] + } + }, + "minecraft:on_riding_player": { + "remove": { + "component_groups": [ + "minecraft:parrot_not_riding_player" + ] + }, + "add": { + "component_groups": [ + "minecraft:parrot_riding_player" + ] + } + }, + "minecraft:on_not_riding_player": { + "remove": { + "component_groups": [ + "minecraft:parrot_riding_player" + ] + }, + "add": { + "component_groups": [ + "minecraft:parrot_not_riding_player" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/phantom.json b/behavior_pack/entities/phantom.json new file mode 100644 index 0000000..15503b9 --- /dev/null +++ b/behavior_pack/entities/phantom.json @@ -0,0 +1,130 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:phantom", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:renders_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 : 0" + }, + "minecraft:type_family": { + "family": [ "phantom", "undead", "monster", "mob" ] + }, + "minecraft:loot": { + "table": "loot_tables/entities/phantom.json" + }, + "minecraft:nameable": { + }, + "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:physics": { + "has_gravity": false + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:game_event_movement_tracking": { + "emit_flap": true + }, + "minecraft:attack": { + "damage": 6 + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_air": true, + "breathes_water": false + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 0.5 + }, + "minecraft:movement": { + "value": 1.8 + }, + "minecraft:movement.glide": { + "start_speed": 0.1, + "speed_when_turning": 0.2 + }, + "minecraft:burns_in_daylight": { + }, + "minecraft:follow_range": { + "value": 64, + "max": 64 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 0, + "max_dist": 16.0, + "ignore_visibility": true, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "ocelot" }, + { "test": "is_family", "subject": "other", "value": "cat" } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "reselect_targets": true, + "scan_interval": 20, + "within_radius": 64.0, + "must_see_forget_duration": 0.5, + "target_search_height": 80.0, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "player" }, + "max_dist": 64 + } + ] + }, + "minecraft:behavior.swoop_attack": { + "priority": 2, + "damage_reach": 0.2, + "speed_multiplier": 1.0, + "delay_range": [ 10.0, 20.0 ] + }, + "minecraft:behavior.circle_around_anchor": { + "priority": 3, + "radius_change": 1.0, + "radius_adjustment_chance": 0.004, + "height_adjustment_chance": 0.002857, + "goal_radius": 1.0, + "angle_change": 15.0, + "radius_range": [ 5.0, 15.0 ], + "height_offset_range": [ -4.0, 5.0 ], + "height_above_target_range": [ 20.0, 40.0 ] + } + } + } +} diff --git a/behavior_pack/entities/pig.json b/behavior_pack/entities/pig.json new file mode 100644 index 0000000..339fab9 --- /dev/null +++ b/behavior_pack/entities/pig.json @@ -0,0 +1,320 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:pig", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:pig_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ "carrot", "beetroot", "potato" ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + + "minecraft:behavior.follow_parent": { + "priority": 6, + "speed_multiplier": 1.1 + } + }, + + "minecraft:pig_transform": { + "minecraft:transformation": { + "into": "minecraft:pig_zombie", + "transformation_sound": "mob.pig.death", + "delay": 0.5 + } + }, + + "minecraft:pig_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/pig.json" + }, + "minecraft:behavior.breed": { + "priority": 4, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "breeds_with": { + "mate_type": "minecraft:pig", + "baby_type": "minecraft:pig", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ "carrot", "beetroot", "potato" ] + } + }, + + "minecraft:pig_unsaddled": { + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle"}, + "event": "minecraft:on_saddled" + }, + "use_item": true, + "play_sounds": "saddle", + "interact_text": "action.interact.saddle" + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.63, 0.0 ] + } + } + }, + + "minecraft:pig_saddled": { + "minecraft:is_saddled": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/pig_saddled.json" + }, + "minecraft:boostable": { + "speed_multiplier": 1.35, + "duration": 3.0, + "boost_items": [ + { + "item": "carrotOnAStick", + "damage": 2, + "replace_item": "fishing_rod" + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "interact_text": "action.interact.ride.horse", + "family_types": [ + "player" + ], + "seats": { + "position": [ 0.0, 0.63, 0.0 ] + } + }, + "minecraft:item_controllable": { + "control_items": "carrotOnAStick" + }, + "minecraft:behavior.controlled_by_player": { + "priority": 0 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:damage_sensor": { + "triggers": { + "on_damage": { + "filters": [ + { + "test": "is_family", + "subject": "other", + "value": "lightning" + }, + { + "test": "is_difficulty", + "operator": "!=", + "value": "peaceful" + } + ], + "event": "become_zombie" + }, + "deals_damage": false + } + }, + "minecraft:type_family": { + "family": [ "pig", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 0.9 + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.9 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.mount_pathing": { + "priority": 1, + "speed_multiplier": 1.25, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.float": { + "priority": 2 + }, + "minecraft:behavior.panic": { + "priority": 3, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 1.2, + "items": [ + "potato", + "carrot", + "beetroot", + "carrotOnAStick" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "become_zombie": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:pig_transform" + ] + } + }, + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "trigger": "minecraft:spawn_adult" + }, + { + "weight": 5, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:pig_baby" + ] + + } + } + ] + }, + "minecraft:entity_born": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:pig_baby" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:pig_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:pig_adult", + "minecraft:pig_unsaddled" + ] + } + }, + "minecraft:on_saddled": { + "remove": { + "component_groups": [ + "minecraft:pig_unsaddled" + ] + }, + "add": { + "component_groups": [ + "minecraft:pig_saddled" + ] + } + }, + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "minecraft:pig_adult", + "minecraft:pig_unsaddled" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/piglin.json b/behavior_pack/entities/piglin.json new file mode 100644 index 0000000..c2081f3 --- /dev/null +++ b/behavior_pack/entities/piglin.json @@ -0,0 +1,1196 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:piglin", + "spawn_category": "monster", + "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:zombie_pigman", + "transformation_sound" : "converted_to_zombified", + "keep_level": true, + "drop_inventory": true, + "preserve_equipment": true + } + }, + + "ranged_unit": { + "minecraft:behavior.ranged_attack": { + "priority": 8, + "attack_interval_min": 1, + "attack_interval_max": 1, + "attack_radius": 8, + "attack_radius_min": 4, + "speed_multiplier": 1.0, + "target_in_sight_time": 0.1 + }, + "minecraft:shooter": { + "def": "minecraft:arrow" + }, + "minecraft:behavior.charge_held_item": { + "priority": 3, + "items": [ + "minecraft:arrow" + ] + }, + "minecraft:equipment": { + "table": "loot_tables/entities/piglin_gear_ranged.json" + }, + "minecraft:variant": { + "value": 0 + } + }, + + "melee_unit": { + "minecraft:behavior.melee_box_attack": { + "priority": 8, + "speed_multiplier": 1.0, + "track_target": true + }, + "minecraft:attack": { + "damage": 5 + }, + "minecraft:equipment": { + "table": "loot_tables/entities/piglin_gear_melee.json" + }, + "minecraft:variant": { + "value": 1 + } + }, + + "angry": { + "minecraft:angry": { + "duration": 30, + "broadcast_anger": true, + "broadcast_anger_on_attack": true, + "broadcast_anger_on_being_attacked": true, + "broadcast_range": 16, + "broadcast_targets": [ + "piglin" // we want to broadcast to both normal piglins and piglin_brute + ], + "calm_event": { + "event": "become_calm_event", + "target": "self" + }, + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "piglin" + }, + { + "test": "has_component", + "subject": "self", + "operator": "!=", + "value": "minecraft:attack_cooldown" + } + ] + }, + "angry_sound": "angry", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + } + } + }, + + "attack_cooldown": { + "minecraft:attack_cooldown": { + "attack_cooldown_time": [ 30.0, 120.0 ], + "attack_cooldown_complete_event": { + "event": "attack_cooldown_complete_event", + "target": "self" + } + } + }, + + "piglin_baby": { + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:movement": { + "value": 0.42 + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 1 + (query.equipment_count * Math.Random(1,2)) : 0" + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.1 + } + }, + + "piglin_adult": { + "minecraft:group_size": { + "radius": 32, + "filters": { + "all_of": [ + { + "test": "has_component", + "operator": "!=", + "value": "minecraft:is_baby" + }, + { + "test": "is_family", + "value": "piglin" + } + ] + } + }, + "minecraft:movement": { + "value": 0.35 + }, + "minecraft:barter": { + "barter_table": "loot_tables/entities/piglin_barter.json", + "cooldown_after_being_attacked": 20 + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:celebrate_hunt": { + "celebration_targets": { + "all_of": [ + { + "test": "is_family", + "value": "hoglin" + } + ] + }, + "broadcast": true, + "duration": 10, + "celebrate_sound": "celebrate", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + }, + "radius": 16 + }, + "minecraft:block_sensor": { + "sensor_radius": 16, + "on_break": [ + { + "block_list": [ + "minecraft:gold_block", + "minecraft:gilded_blackstone", + "minecraft:nether_gold_ore", + "minecraft:deepslate_gold_ore", + "minecraft:raw_gold_block", + "minecraft:gold_ore", + "minecraft:chest", + "minecraft:trapped_chest", + "minecraft:ender_chest", + "minecraft:barrel", + "minecraft:white_shulker_box", + "minecraft:orange_shulker_box", + "minecraft:magenta_shulker_box", + "minecraft:light_blue_shulker_box", + "minecraft:yellow_shulker_box", + "minecraft:lime_shulker_box", + "minecraft:pink_shulker_box", + "minecraft:gray_shulker_box", + "minecraft:light_gray_shulker_box", + "minecraft:cyan_shulker_box", + "minecraft:purple_shulker_box", + "minecraft:blue_shulker_box", + "minecraft:brown_shulker_box", + "minecraft:green_shulker_box", + "minecraft:red_shulker_box", + "minecraft:black_shulker_box", + "minecraft:undyed_shulker_box" + ], + "on_block_broken": "important_block_destroyed_event" + } + ] + } + }, + + "interactable_piglin": { + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { + "test": "has_equipment", + "subject": "other", + "domain": "hand", + "value": "gold_ingot" + }, + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "has_component", + "subject": "self", + "operator": "!=", + "value": "minecraft:is_baby" + } + ] + } + }, + "barter": true, + "admire": true, + "use_item": true, + "cooldown_after_being_attacked": 20, + "interact_text": "action.interact.barter" + } + ] + } + }, + + "hunter": { + "minecraft:type_family": { + "family": [ + "piglin", + "piglin_hunter", + "monster" + ] + } + }, + + "not_hunter": { + "minecraft:type_family": { + "family": [ + "piglin", + "monster" + ] + } + }, + + "alert_for_attack_targets": { + "minecraft:behavior.nearest_attackable_target": { + "priority": 7, + "within_radius": 16.0, + "persist_time": 0.0, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "wither" + } + ] + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "self", + "value": "piglin_hunter" + }, + { + "test": "is_family", + "subject": "other", + "value": "hoglin_huntable" + }, + { + "test": "has_component", + "subject": "other", + "operator": "!=", + "value": "minecraft:is_baby" + }, + { + "test": "has_component", + "subject": "self", + "operator": "!=", + "value": "minecraft:attack_cooldown" + } + ] + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "has_equipment", + "subject": "other", + "domain": "head", + "operator": "!=", + "value": "golden_helmet" + }, + { + "test": "has_equipment", + "subject": "other", + "domain": "torso", + "operator": "!=", + "value": "golden_chestplate" + }, + { + "test": "has_equipment", + "subject": "other", + "domain": "leg", + "operator": "!=", + "value": "golden_leggings" + }, + { + "test": "has_equipment", + "subject": "other", + "domain": "feet", + "operator": "!=", + "value": "golden_boots" + } + ] + }, + "max_dist": 16, + "reevaluate_description": true + }, + { + "filters": { + "any_of": [ + { + "test": "has_container_open", + "subject": "other", + "operator": "==", + "value": true + } + ] + }, + "max_dist": 16 + } + ], + "must_see": true + } + }, + + "take_target_as_response_to_block_break": { + "minecraft:behavior.nearest_attackable_target": { + "priority": 7, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 16 + } + ] + } + }, + + "piglin_jockey": { + "minecraft:behavior.find_mount": { + "priority": 1, + "within_radius": 16, + "start_delay": 15, + "max_failed_attempts": 20 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:admire_item": { + "duration": 8, + "cooldown_after_being_attacked": 20 + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:on_target_acquired": { + "event": "become_angry_event", + "target": "self" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:health": { + "value": 16, + "max": 16 + }, + "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/piglin.json" + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_open_doors": true + }, + "minecraft:annotation.open_door": { + }, + "minecraft:movement.basic": {}, + "minecraft:jump.static": {}, + "minecraft:nameable": {}, + "minecraft:inventory": { + "inventory_size": 8 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.admire_item": { + "priority": 2, + "admire_item_sound": "admire", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + }, + "on_admire_item_start": { + "event": "admire_item_started_event", + "target": "self" + }, + "on_admire_item_stop": { + "event": "admire_item_stopped_event", + "target": "self" + } + }, + "minecraft:behavior.barter": { + "priority": 3 + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 4, + "remove_target": true, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "zombie_pigman" + } + ] + }, + "max_dist": 6 + }, + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "zoglin" + } + ] + }, + "max_dist": 6 + }, + { + "filters": { + "all_of": [ + { + "test": "has_target", + "subject": "other", + "value": true + }, + { + "test": "is_family", + "subject": "other", + "value": "hoglin" + } + ] + }, + "sprint_speed_multiplier": 1.2, + "check_if_outnumbered": true + } + ], + "on_escape_event": { + "event": "become_calm_event", + "target": "self" + }, + "avoid_mob_sound": "retreat", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + } + }, + "minecraft:behavior.equip_item": { + "priority": 5 + }, + "minecraft:behavior.pickup_items": { + "priority": 6, + "max_dist": 10, + "goal_radius": 2, + "speed_multiplier": 0.8, + "pickup_based_on_chance": false, + "can_pickup_any_item": false, + "cooldown_after_being_attacked": 20.0 + }, + "minecraft:behavior.avoid_block": { + "priority": 9, + "tick_interval": 5, + "search_range": 8, + "search_height": 4, + "sprint_speed_modifier": 1.1, + "target_selection_method": "nearest", + "target_blocks": [ + "minecraft:soul_fire", + "minecraft:soul_lantern", + "minecraft:soul_torch", + "minecraft:item.soul_campfire" + ], + "avoid_block_sound": "retreat", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + } + }, + "minecraft:behavior.random_stroll": { + "priority": 10, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.look_at_player": { + "priority": 11, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 12 + }, + "minecraft:physics": {}, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:follow_range": { + "value": 64 + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:golden_sword", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_axe", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_hoe", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_pickaxe", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_shovel", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_helmet", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_chestplate", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_leggings", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_boots", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_apple", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:appleEnchanted", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:golden_carrot", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:gold_block", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:gold_nugget", + "priority": 2, + "stored_in_inventory": true + }, + { + "item": "minecraft:raw_gold", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:gold_ore", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:nether_gold_ore", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:deepslate_gold_ore", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:raw_gold_block", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:gilded_blackstone", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:horsearmorgold", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:crossbow", + "priority": 2 + }, + { + "item": "minecraft:porkchop", + "consume_item": true, + "priority": 3, + "max_amount": 64 + }, + { + "item": "minecraft:cooked_porkchop", + "consume_item": true, + "priority": 3, + "max_amount": 64 + }, + { + "item": "minecraft:netherite_helmet", + "priority": 3 + }, + { + "item": "minecraft:diamond_helmet", + "priority": 4 + }, + { + "item": "minecraft:iron_helmet", + "priority": 5 + }, + { + "item": "minecraft:chainmail_helmet", + "priority": 6 + }, + { + "item": "minecraft:leather_helmet", + "priority": 7 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:skull:2", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:skull:3", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:skull:4", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:skull:5", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 8 + }, + { + "item": "minecraft:netherite_chestplate", + "priority": 3 + }, + { + "item": "minecraft:diamond_chestplate", + "priority": 4 + }, + { + "item": "minecraft:iron_chestplate", + "priority": 5 + }, + { + "item": "minecraft:chainmail_chestplate", + "priority": 6 + }, + { + "item": "minecraft:leather_chestplate", + "priority": 7 + }, + { + "item": "minecraft:elytra", + "priority": 7 + }, + { + "item": "minecraft:netherite_leggings", + "priority": 3 + }, + { + "item": "minecraft:diamond_leggings", + "priority": 4 + }, + { + "item": "minecraft:iron_leggings", + "priority": 5 + }, + { + "item": "minecraft:chainmail_leggings", + "priority": 6 + }, + { + "item": "minecraft:leather_leggings", + "priority": 7 + }, + { + "item": "minecraft:netherite_boots", + "priority": 3 + }, + { + "item": "minecraft:diamond_boots", + "priority": 4 + }, + { + "item": "minecraft:iron_boots", + "priority": 5 + }, + { + "item": "minecraft:chainmail_boots", + "priority": 6 + }, + { + "item": "minecraft:bell", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:clock", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:speckled_melon", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:light_weighted_pressure_plate", + "priority": 2, + "admire": true, + "pickup_limit": 1, + "stored_in_inventory": true + }, + { + "item": "minecraft:leather_boots", + "priority": 7 + }, + { + "item": "minecraft:netherite_sword", + "priority": 3 + }, + { + "item": "minecraft:diamond_sword", + "priority": 4 + }, + { + "item": "minecraft:iron_sword", + "priority": 5 + }, + { + "item": "minecraft:stone_sword", + "priority": 6 + }, + { + "item": "minecraft:wooden_sword", + "priority": 7 + }, + { + "item": "minecraft:shield", + "priority": 7 + }, + { + "item": "minecraft:gold_ingot", + "priority": 1, + "pickup_limit": 1, + "admire": true, + "barter": true + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 5, + "trigger": "spawn_baby" + }, + { + "weight": 95, + "trigger": "spawn_adult" + } + ] + }, + "minecraft:entity_born": { + "trigger": "spawn_baby" + }, + "spawn_adult_no_hunting": { + "randomize": [ + { + "weight": 1, + "trigger": "spawn_adult_ranged_no_hunting" + }, + { + "weight": 1, + "trigger": "spawn_adult_melee_no_hunting" + } + ] + }, + "spawn_adult": { + "randomize": [ + { + "weight": 1, + "trigger": "spawn_adult_ranged" + }, + { + "weight": 1, + "trigger": "spawn_adult_melee" + } + ] + }, + "spawn_adult_ranged": { + "add": { + "component_groups": [ + "piglin_adult", + "zombification_sensor", + "alert_for_attack_targets", + "ranged_unit", + "attack_cooldown", + "hunter", + "interactable_piglin" + ] + } + }, + "spawn_adult_ranged_no_hunting": { + "add": { + "component_groups": [ + "piglin_adult", + "zombification_sensor", + "alert_for_attack_targets", + "ranged_unit", + "attack_cooldown", + "not_hunter", + "interactable_piglin" + ] + } + }, + "spawn_adult_melee": { + "add": { + "component_groups": [ + "piglin_adult", + "zombification_sensor", + "alert_for_attack_targets", + "melee_unit", + "attack_cooldown", + "hunter", + "interactable_piglin" + ] + } + }, + "spawn_adult_melee_no_hunting": { + "add": { + "component_groups": [ + "piglin_adult", + "zombification_sensor", + "alert_for_attack_targets", + "melee_unit", + "attack_cooldown", + "not_hunter", + "interactable_piglin" + ] + } + }, + "spawn_baby": { + "randomize": [ + { + "weight": 9, + "add": { + "component_groups": [ + "piglin_baby", + "zombification_sensor", + "not_hunter" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "piglin_baby", + "zombification_sensor", + "piglin_jockey", + "not_hunter" + ] + } + } + ] + }, + "stop_zombification_event": { + "add": { + "component_groups": [ + "zombification_sensor" + ] + }, + "remove": { + "component_groups": [ + "start_zombification" + ] + } + }, + "start_zombification_event": { + "add": { + "component_groups": [ + "start_zombification" + ] + }, + "remove": { + "component_groups": [ + "zombification_sensor" + ] + } + }, + "become_angry_event": { + "add": { + "component_groups": [ + "angry" + ] + } + }, + "become_calm_event": { + "remove": { + "component_groups": [ + "angry", + "take_target_as_response_to_block_break" + ] + }, + "add": { + "component_groups": [ + "alert_for_attack_targets", + "attack_cooldown" + ] + } + }, + "attack_cooldown_complete_event": { + "remove": { + "component_groups": [ + "attack_cooldown" + ] + } + }, + "become_zombie_event": { + "add": { + "component_groups": [ + "become_zombie" + ] + } + }, + "important_block_destroyed_event": { + "remove": { + "component_groups": [ + "alert_for_attack_targets" + ] + }, + "add": { + "component_groups": [ + "take_target_as_response_to_block_break" + ] + } + }, + "admire_item_started_event": { + "remove": { + "component_groups": [ + "interactable_piglin" + ] + } + }, + "admire_item_stopped_event": { + "add": { + "component_groups": [ + "interactable_piglin" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/piglin_brute.json b/behavior_pack/entities/piglin_brute.json new file mode 100644 index 0000000..50a4209 --- /dev/null +++ b/behavior_pack/entities/piglin_brute.json @@ -0,0 +1,378 @@ +{ + "format_version": "1.18.20", + "minecraft:entity": { + "description": { + "identifier": "minecraft:piglin_brute", + "spawn_category": "monster", + "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:zombie_pigman", + "transformation_sound" : "converted_to_zombified", + "keep_level": true, + "preserve_equipment": true + } + }, + + "melee_unit": { + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "speed_multiplier": 1, + "track_target": true + }, + "minecraft:attack": { + "damage": 7 + }, + "minecraft:equipment": { + "table": "loot_tables/entities/piglin_brute_gear.json" + }, + "minecraft:variant": { + "value": 1 + } + }, + + "angry": { + "minecraft:angry": { + "duration": 30, + "broadcast_anger": false, + "broadcast_anger_on_attack": false, + "broadcast_anger_on_being_attacked": true, + "broadcast_range": 16, + "broadcast_targets": [ + "piglin" // we want to broadcast to both normal piglins and piglin_brute + ], + "calm_event": { + "event": "become_calm_event", + "target": "self" + }, + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "piglin" + } + ] + }, + "angry_sound": "angry", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + } + } + }, + + "alert_for_attack_targets": { + "minecraft:behavior.nearest_prioritized_attackable_target": { + "priority": 3, + "within_radius": 12.0, + "persist_time": 2.0, + "must_see": true, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 12, + "priority": 0 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "wither" + }, + "max_dist": 12, + "priority": 1 + } + ] + } + }, + + "take_target_as_response_to_block_break": { + "minecraft:behavior.nearest_attackable_target": { + "priority": 3, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 16 + } + ] + } + }, + "go_back_to_spawn": { + "minecraft:behavior.go_home": { + "priority": 6, + "interval": 200, + "speed_multiplier": 0.6, + "goal_radius": 4.0, + "on_failed": [ + { + "event": "go_back_to_spawn_failed", + "target": "self" + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:type_family": { + "family": [ + "piglin", + "adult_piglin", + "piglin_brute", + "monster" + ] + }, + "minecraft:home": { + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 20 : 0" + }, + + "minecraft:on_target_acquired": { + "event": "become_angry_event", + "target": "self" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:health": { + "value": 50, + "max": 50 + }, + "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/piglin.json" + }, + "minecraft:movement": { + "value": 0.35 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_open_doors": true + }, + "minecraft:annotation.open_door": { + }, + "minecraft:movement.basic": {}, + "minecraft:jump.static": {}, + "minecraft:nameable": {}, + "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.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:physics": {}, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:follow_range": { + "value": 64 + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "zombification_sensor", + "alert_for_attack_targets", + "melee_unit", + "go_back_to_spawn" + ] + } + }, + "stop_zombification_event": { + "add": { + "component_groups": [ + "zombification_sensor" + ] + }, + "remove": { + "component_groups": [ + "start_zombification" + ] + } + }, + "start_zombification_event": { + "add": { + "component_groups": [ + "start_zombification" + ] + }, + "remove": { + "component_groups": [ + "zombification_sensor" + ] + } + }, + "become_angry_event": { + "add": { + "component_groups": [ + "angry" + ] + } + }, + "become_calm_event": { + "remove": { + "component_groups": [ + "angry" + ] + }, + "add": { + "component_groups": [ + "alert_for_attack_targets" + ] + } + }, + "become_zombie_event": { + "add": { + "component_groups": [ + "become_zombie" + ] + } + }, + "important_block_destroyed_event": { + "remove": { + "component_groups": [ + "alert_for_attack_targets" + ] + }, + "add": { + "component_groups": [ + "take_target_as_response_to_block_break" + ] + } + }, + "go_back_to_spawn_failed": { + "remove": { + "component_groups": [ + "go_back_to_spawn" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/pillager.json b/behavior_pack/entities/pillager.json new file mode 100644 index 0000000..9b31595 --- /dev/null +++ b/behavior_pack/entities/pillager.json @@ -0,0 +1,446 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:pillager", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "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:attack": { + "damage": 3 + }, + "minecraft:environment_sensor": { + "triggers": { + "filters": { "test": "in_water", "subject": "self", "operator": "==", "value": false }, + "event": "minecraft:ranged_mode" + } + }, + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "track_target": true + } + }, + "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:loot": { + "table": "loot_tables/entities/pillager_raid.json" + }, + "minecraft:ambient_sound_interval": { + "value": 2.0, + "range": 4.0, + "event_name": "ambient.in.raid" + }, + "minecraft:behavior.move_to_village": { + "priority": 5, + "speed_multiplier": 1.0, + "goal_radius": 2.0 + } + }, + "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:loot": { + "table": "loot_tables/entities/pillager_captain.json" + }, + "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:loot": { + "table": "loot_tables/entities/pillager_captain.json" + }, + "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: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.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" + } + } + } + }, + + "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:can_join_raid": { + }, + "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:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:follow_range": { + "value": 64 + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 1, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "creaking" }, + "max_dist": 8, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "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.charge_held_item": { + "priority": 3, + "items": [ + "minecraft:arrow" + ] + }, + "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 + } + }, + + "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" ] } + } + } + } +} diff --git a/behavior_pack/entities/player.json b/behavior_pack/entities/player.json new file mode 100644 index 0000000..3cfa94e --- /dev/null +++ b/behavior_pack/entities/player.json @@ -0,0 +1,212 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:player", + "spawn_category": "creature", + "is_spawnable": false, + "is_summonable": false + }, + + "component_groups": { + "minecraft:add_raid_omen": { + "minecraft:spell_effects": { + "add_effects": [ + { + "effect": "raid_omen", + "duration": 30, + "display_on_screen_animation": true + } + ], + "remove_effects": "bad_omen" + }, + "minecraft:timer": { + "time": [ 0.0, 0.0 ], + "looping": false, + "time_down_event": { + "event": "minecraft:clear_add_raid_omen", + "target": "self" + } + } + }, + "minecraft:clear_raid_omen_spell_effect": { + "minecraft:spell_effects": { + } + }, + "minecraft:raid_trigger": { + "minecraft:raid_trigger": { + "triggered_event": { + "event": "minecraft:remove_raid_trigger", + "target": "self" + } + } + } + }, + + "components": { + "minecraft:experience_reward": { + "on_death": "Math.Min(query.player_level * 7, 100)" + }, + "minecraft:type_family": { + "family": [ "player" ] + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:loot": { + "table": "loot_tables/empty.json" + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.8 + }, + "minecraft:can_climb": { + }, + "minecraft:movement": { + "value": 0.1 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:attack": { + "damage": 1 + }, + "minecraft:exhaustion_values": { + "heal": 6, + "jump": 0.05, + "sprint_jump": 0.2, + "mine": 0.005, + "attack": 0.1, + "damage": 0.1, + "walk": 0.0, + "sprint": 0.1, + "swim": 0.01 + }, + "minecraft:player.saturation": { + "value": 5, + "max": 20 + }, + "minecraft:player.exhaustion": { + "value": 0, + "max": 20 + }, + "minecraft:player.level": { + "value": 0, + "max": 24791 + }, + "minecraft:player.experience": { + "value": 0, + "max": 1 + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": -1, + "inhale_time": 3.75, + "generates_bubbles": false + }, + "minecraft:nameable": { + "always_show": true, + "allow_name_tag_renaming": false + }, + "minecraft:physics": { + "push_towards_closest_space": true + }, + "minecraft:pushable": { + "is_pushable": false, + "is_pushable_by_piston": true + }, + "minecraft:insomnia": { + "days_until_insomnia": 3 + }, + "minecraft:rideable": { + "seat_count": 2, + "family_types": [ + "parrot_tame" + ], + "pull_in_entities": true, + "seats": [ + { + "position": [ 0.4, -0.2, -0.1 ], + "min_rider_count": 0, + "max_rider_count": 0, + "lock_rider_rotation": 0 + }, + { + "position": [ -0.4, -0.2, -0.1 ], + "min_rider_count": 1, + "max_rider_count": 2, + "lock_rider_rotation": 0 + } + ] + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:block_climber": {}, + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "all_of": [ + { + "test": "has_mob_effect", + "subject": "self", + "value": "bad_omen" + }, + { + "test": "is_in_village", + "subject": "self", + "value": true + } + ] + }, + "event": "minecraft:gain_raid_omen" + } + } + }, + + "events": { + "minecraft:gain_raid_omen": { + "add": { + "component_groups": [ + "minecraft:add_raid_omen" + ] + } + }, + "minecraft:clear_add_raid_omen": { + "remove": { + "component_groups": [ + "minecraft:add_raid_omen" + ] + }, + "add": { + "component_groups": [ + "minecraft:clear_raid_omen_spell_effect" + ] + } + }, + "minecraft:trigger_raid": { + "add": { + "component_groups": [ "minecraft:raid_trigger" ] + } + }, + "minecraft:remove_raid_trigger": { + "remove": { + "component_groups": [ "minecraft:raid_trigger" ] + } + } + } + } +} + + + + diff --git a/behavior_pack/entities/polar_bear.json b/behavior_pack/entities/polar_bear.json new file mode 100644 index 0000000..3481bf2 --- /dev/null +++ b/behavior_pack/entities/polar_bear.json @@ -0,0 +1,311 @@ +{ + "format_version": "1.21.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:polar_bear", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 4, + "speed_multiplier": 1.25 + } + }, + + "minecraft:baby_wild": { + "minecraft:on_target_acquired": { + "event": "minecraft:on_scared", + "target": "self" + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 4, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "player" }, + "max_dist": 16 + } + ] + } + }, + + "minecraft:baby_scared": { + "minecraft:angry": { + "duration": 1, + "broadcast_anger": true, + "broadcast_range": 41, + "calm_event": { + "event": "minecraft:baby_on_calm", + "target": "self" + } + } + }, + + "minecraft:adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/polar_bear.json" + } + }, + + "minecraft:adult_wild": { + "minecraft:on_target_acquired": { + "event": "minecraft:on_anger", + "target": "self" + }, + "minecraft:on_friendly_anger": { + "event": "minecraft:on_anger", + "target": "self" + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 4, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "fox" }, + "max_dist": 16 + } + ], + "must_see": false + } + }, + + "minecraft:adult_hostile": { + "minecraft:attack": { + "damage": 6.0 + }, + "minecraft:angry": { + "duration": 500, + "broadcast_anger": false, + "broadcast_range": 20, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + + "minecraft:behavior.stomp_attack": { + "priority": 1, + "track_target": true, + "require_complete_path": true, + "stomp_range_multiplier": 2.0, + "no_damage_range_multiplier": 2.0 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "polarbear", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 30 + }, + "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": 1.4, + "height": 1.4 + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:water_movement": { + "drag_factor": 0.98 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:follow_range": { + "value": 48 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25, + "damage_sources": [ "campfire", "fire", "fire_tick", "freezing", "lightning", "lava", "magma", "temperature", "soul_campfire" ], + "ignore_mob_damage": true + }, + "minecraft:behavior.hurt_by_target": { + "priority": 2 + }, + "minecraft:behavior.random_stroll": { + "priority": 5 + }, + "minecraft:behavior.look_at_player": { + "priority": 6, + "target_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 7 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 9, + "add": { + "component_groups": [ + "minecraft:adult", + "minecraft:adult_wild" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:baby", + "minecraft:baby_wild" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:baby", + "minecraft:baby_wild" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:baby", + "minecraft:baby_wild", + "minecraft:baby_scared" + ] + }, + "add": { + "component_groups": [ + "minecraft:adult", + "minecraft:adult_wild" + ] + } + }, + + "minecraft:on_calm": { + "remove": { + "component_groups": [ + "minecraft:adult_hostile" + ] + }, + "add": { + "component_groups": [ + "minecraft:adult_wild" + ] + } + }, + + "minecraft:on_anger": { + "remove": { + "component_groups": [ + "minecraft:adult_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:adult_hostile" + ] + } + }, + + "minecraft:baby_on_calm": { + "remove": { + "component_groups": [ + "minecraft:baby_scared" + ] + }, + "add": { + "component_groups": [ + "minecraft:baby_wild" + ] + } + }, + + "minecraft:on_scared": { + "remove": { + "component_groups": [ + "minecraft:baby_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:baby_scared" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/pufferfish.json b/behavior_pack/entities/pufferfish.json new file mode 100644 index 0000000..00aacfe --- /dev/null +++ b/behavior_pack/entities/pufferfish.json @@ -0,0 +1,319 @@ +{ + "format_version": "1.20.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:pufferfish", + "spawn_category": "water_ambient", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:normal_puff": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:entity_sensor": { + "relative_range": false, + "subsensors": [{ + "range": 2.5, + "minimum_count": 1, + "event_filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "mob" }, + { "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "has_ability", "subject": "other", "operator": "not", "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": { + "relative_range": false, + "subsensors": [{ + "range": 2.5, + "minimum_count": 1, + "event_filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "mob" }, + { "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "has_ability", "subject": "other", "operator": "not", "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, + "damage_cooldown": 0.5, + "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": { + "relative_range": false, + "subsensors": [{ + "range": 2.9, + "minimum_count": 0, + "maximum_count": 0, + "event_filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "mob" }, + { "all_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "has_ability", "subject": "other", "operator": "not", "value": "instabuild" } + ]} + ] + }, + "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" ] } + } + } + } +} diff --git a/behavior_pack/entities/rabbit.json b/behavior_pack/entities/rabbit.json new file mode 100644 index 0000000..bb4af57 --- /dev/null +++ b/behavior_pack/entities/rabbit.json @@ -0,0 +1,333 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:rabbit", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value":0.4 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + "golden_carrot", + "carrot", + "dandelion" + ], + "grow_up": { + "event": "grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 6, + "speed_multiplier": 1.1 + } + }, + + "adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/rabbit.json" + }, + "minecraft:scale": { + "value": 0.6 + }, + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "breed_items": [ + "golden_carrot", + "carrot", + "dandelion" + ], + "breeds_with": { + "mate_type": "minecraft:rabbit", + "baby_type": "minecraft:rabbit" + }, + "require_tame": false, + "mutation_factor": { + "variant": 0.2 + } + } + }, + + "coat_brown": { + "minecraft:variant": { "value": 0 } + }, + "coat_white": { + "minecraft:variant": { "value": 1 } + }, + "coat_black": { + "minecraft:variant": { "value": 2 } + }, + "coat_splotched": { + "minecraft:variant": { "value": 3 } + }, + "coat_desert": { + "minecraft:variant": { "value": 4 } + }, + "coat_salt": { + "minecraft:variant": { "value": 5 } + } + + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "rabbit", "lightweight", "mob" ] + }, + + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 3, + "max": 3 + }, + "minecraft:scale": { + "value": 0.6 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:collision_box": { + "width": 0.67, + "height": 0.67 + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true + }, + "minecraft:movement.skip": { + }, + "minecraft:jump.dynamic": { + }, + "minecraft:can_climb": { + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.4 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 2.2 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 4, + "entity_types": [ + { + "filters": { "test" : "is_family", "subject" : "other", "value" : "player"}, + "max_dist": 8, + "walk_speed_multiplier": 1.5, + "sprint_speed_multiplier": 1.8 + }, + { + "filters": { "test" : "is_family", "subject" : "other", "value" : "wolf"}, + "max_dist": 4, + "walk_speed_multiplier": 1.5, + "sprint_speed_multiplier": 1.8 + }, + { + "filters": { "test" : "is_family", "subject" : "other", "value" : "monster"}, + "max_dist": 4, + "walk_speed_multiplier": 1.5, + "sprint_speed_multiplier": 1.5 + } + ] + }, + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.tempt": { + "priority": 3, + "speed_multiplier": 1, + "items": [ + "golden_carrot", + "carrot", + "dandelion" + ] + }, + "minecraft:behavior.raid_garden": { + "priority": 5, + "blocks": [ + "minecraft:carrots" + ], + "search_range": 16, + "goal_radius": 1.0, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.6, + "xz_dist": 2, + "y_dist": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 11 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:block_climber": { + } + }, + + "events": { + + "in_desert": { "add": { "component_groups": [ "coat_desert" ] } }, + + "in_snow": { + "randomize": [ + { + "weight": 80, + "add": { "component_groups": [ "coat_white" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "coat_splotched" ] } + } + ] + }, + + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 3, + "add": { "component_groups": [ "adult" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "baby" ] } + } + ] + }, + { + "filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"}, + "randomize": [ + { + "weight": 50, + "add": { "component_groups": [ "coat_brown" ] } + }, + { + "weight": 40, + "add": { "component_groups": [ "coat_black" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "coat_salt" ] } + } + ] + }, + { + "filters": { "test": "is_biome", "value": "desert" }, + "add": { "component_groups": [ "coat_desert" ] } + }, + { + "filters": { "test": "is_snow_covered", "value": true }, + "randomize": [ + { + "weight": 80, + "add": { "component_groups": [ "coat_white" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "coat_splotched" ] } + } + ] + } + ] + }, + + "minecraft:entity_born": { + "sequence": [ + { "add": { "component_groups": [ "baby" ] } }, + { + "filters": { "test" : "has_component", "operator": "!=", "value" : "minecraft:variant"}, + "randomize": [ + { + "weight": 50, + "add": { "component_groups": [ "coat_brown" ] } + }, + { + "weight": 40, + "add": { "component_groups": [ "coat_black" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "coat_salt" ] } + } + ] + }, + { + "filters": { "test": "is_biome", "value": "desert" }, + "add": { "component_groups": [ "coat_desert" ] } + }, + { + "filters": { "test": "is_snow_covered", "value": true }, + "randomize": [ + { + "weight": 80, + "add": { "component_groups": [ "coat_white" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "coat_splotched" ] } + } + ] + } + ] + }, + + "grow_up": { + "remove": { "component_groups": [ "baby" ] }, + "add": { "component_groups": [ "adult" ] } + } + } + } +} diff --git a/behavior_pack/entities/ravager.json b/behavior_pack/entities/ravager.json new file mode 100644 index 0000000..8aa1623 --- /dev/null +++ b/behavior_pack/entities/ravager.json @@ -0,0 +1,487 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:ravager", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "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": true, + "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.4 + }, + "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": 2.2, + "width": 1.95 + }, + "minecraft:health": { + "max": 100, + "value": 100 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self" + }, + "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:can_join_raid": { + }, + "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", + "dandelion", + "azalea", + "flowering_azalea", + "azalea_leaves", + "azalea_leaves_flowered", + "cave_vines", + "cave_vines_body_with_berries", + "cave_vines_head_with_berries", + "small_dripleaf_block", + "big_dripleaf", + "spore_blossom", + "hanging_roots", + "mangrove_leaves", + "pale_hanging_moss", + "cherry_leaves", + "pale_oak_leaves" + ] + }, + "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", + "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" ] } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/ruler_idle.json b/behavior_pack/entities/ruler_idle.json new file mode 100644 index 0000000..c120309 --- /dev/null +++ b/behavior_pack/entities/ruler_idle.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.16.100", + "minecraft:entity": { + "description": { + "identifier": "editor:ruler_idle", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:physics": { + "has_gravity": true, + "has_collision": true + }, + "minecraft:pushable": { + "is_pushable": false + }, + "minecraft:push_through": { + "value": 1 + } + } + } +} diff --git a/behavior_pack/entities/ruler_pointer_selected.json b/behavior_pack/entities/ruler_pointer_selected.json new file mode 100644 index 0000000..ade2334 --- /dev/null +++ b/behavior_pack/entities/ruler_pointer_selected.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.16.100", + "minecraft:entity": { + "description": { + "identifier": "editor:ruler_pointer_selected", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:physics": { + "has_gravity": true, + "has_collision": true + }, + "minecraft:pushable": { + "is_pushable": false + }, + "minecraft:push_through": { + "value": 1 + } + } + } +} diff --git a/behavior_pack/entities/salmon.json b/behavior_pack/entities/salmon.json new file mode 100644 index 0000000..bef91d6 --- /dev/null +++ b/behavior_pack/entities/salmon.json @@ -0,0 +1,195 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:salmon", + "spawn_category": "water_ambient", + "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" ] + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/sheep.json b/behavior_pack/entities/sheep.json new file mode 100644 index 0000000..c935c8b --- /dev/null +++ b/behavior_pack/entities/sheep.json @@ -0,0 +1,452 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:sheep", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:loot_sheared": { + "minecraft:loot": { + "table": "loot_tables/entities/sheep_sheared.json" + } + }, + "minecraft:loot_wooly": { + "minecraft:loot": { + "table": "loot_tables/entities/sheep.json" + } + }, + "minecraft:rideable_sheared": { + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.9, 0.0 ] + } + } + }, + "minecraft:rideable_wooly": { + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.975, 0.0 ] + } + } + }, + "minecraft:sheep_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": "wheat", + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 6, + "speed_multiplier": 1.1 + } + }, + + "minecraft:sheep_adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:breedable": { + "require_tame": false, + "combine_parent_colors": true, + "breeds_with": { + "mate_type": "minecraft:sheep", + "baby_type": "minecraft:sheep" + }, + "breed_items": "wheat" + } + }, + "minecraft:sheep_dyeable": { + "minecraft:is_dyeable": { + "interact_text": "action.interact.dye" + } + }, + "minecraft:sheep_sheared": { + "minecraft:is_sheared": { + } + }, + "minecraft:sheep_white": { + "minecraft:color": { + "value": 0 + } + }, + "minecraft:sheep_brown": { + "minecraft:color": { + "value": 12 + } + }, + "minecraft:sheep_black": { + "minecraft:color": { + "value": 15 + } + }, + "minecraft:sheep_gray": { + "minecraft:color": { + "value": 8 + } + }, + "minecraft:sheep_light_gray": { + "minecraft:color": { + "value": 7 + } + }, + "minecraft:sheep_pink": { + "minecraft:color": { + "value": 6 + } + }, + "minecraft:sheep_red": { + "minecraft:color": { + "value": 14 + } + } + }, + + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "sheep", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 1.3 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 8, + "max": 8 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:interact": { + "interactions": [ + { + "cooldown": 2.5, + "use_item": false, + "hurt_item": 1, + "spawn_items": { "table": "loot_tables/entities/sheep_shear.json" }, + "play_sounds": "shear", + "interact_text": "action.interact.shear", + "vibration": "shear", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears" }, + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "has_component", "operator": "!=", "value": "minecraft:is_baby" }, + { "test": "has_component", "value": "minecraft:is_dyeable" } + ] + }, + "event": "minecraft:on_sheared", + "target": "self" + } + } + ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.75 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 1.25, + "items": [ + "wheat" + ] + }, + "minecraft:behavior.follow_parent": { + "priority": 5, + "speed_multiplier": 1.1 + }, + "minecraft:behavior.eat_block": { + "priority": 6, + "success_chance": "query.is_baby ? 0.02 : 0.001", + "time_until_eat": 1.8, + "eat_and_replace_block_pairs": [ + { + "eat_block": "grass", + "replace_block": "dirt" + }, + { + "eat_block": "tallgrass", + "replace_block": "air" + } + ], + "on_eat": { + "event": "minecraft:on_eat_block", + "target": "self" + } + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 95, + "remove": { + }, + "trigger": "spawn_adult" + }, + { + "weight": 5, + "remove": { + }, + "trigger": "spawn_baby" + } + ] + }, + { + "randomize": [ + { + "weight": 81836, + "add": { + "component_groups": [ + "minecraft:sheep_white" + ] + } + }, + { + "weight": 5000, + "add": { + "component_groups": [ + "minecraft:sheep_black" + ] + } + }, + { + "weight": 5000, + "add": { + "component_groups": [ + "minecraft:sheep_light_gray" + ] + } + }, + { + "weight": 5000, + "add": { + "component_groups": [ + "minecraft:sheep_gray" + ] + } + }, + { + "weight": 3000, + "add": { + "component_groups": [ + "minecraft:sheep_brown" + ] + } + }, + { + "weight": 164, + "add": { + "component_groups": [ + "minecraft:sheep_pink" + ] + } + } + ] + } + ] + }, + "spawn_adult": { + "add": { + "component_groups": [ + "minecraft:sheep_adult", + "minecraft:sheep_dyeable", + "minecraft:rideable_wooly", + "minecraft:loot_wooly" + ] + } + }, + "spawn_baby": { + "add": { + "component_groups": [ + "minecraft:sheep_baby", + "minecraft:sheep_dyeable", + "minecraft:rideable_sheared" + ] + } + }, + "minecraft:entity_born": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:sheep_baby", + "minecraft:sheep_dyeable", + "minecraft:rideable_sheared" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:sheep_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:sheep_adult", + "minecraft:rideable_wooly", + "minecraft:loot_wooly" + ] + } + }, + "minecraft:on_sheared": { + "remove": { + "component_groups": [ + "minecraft:sheep_dyeable", + "minecraft:loot_wooly" + ] + }, + "add": { + "component_groups": [ + "minecraft:sheep_sheared", + "minecraft:rideable_sheared", + "minecraft:loot_sheared" + ] + } + }, + "minecraft:on_eat_block": { + "sequence": [ + { + "remove": { + "component_groups": [ + "minecraft:sheep_sheared" + ] + }, + "add": { + "component_groups": [ + "minecraft:sheep_dyeable" + ] + } + }, + { + "filters": { + "subject": "self", + "test": "has_component", "operator": "!=", "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ + "minecraft:rideable_wooly", + "minecraft:loot_wooly" + ] + }, + "remove": { + "component_groups": [ + "minecraft:loot_sheared" + ] + } + } + ] + }, + "wololo": { + "add": { + "component_groups": [ + "minecraft:sheep_red" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/shulker.json b/behavior_pack/entities/shulker.json new file mode 100644 index 0000000..5d8ad2c --- /dev/null +++ b/behavior_pack/entities/shulker.json @@ -0,0 +1,544 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:shulker", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "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:renders_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, + "breathes_lava": false, + "breathes_water": false + }, + "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:fire_immune": true, + "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" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/shulker_bullet.json b/behavior_pack/entities/shulker_bullet.json new file mode 100644 index 0000000..6e9b555 --- /dev/null +++ b/behavior_pack/entities/shulker_bullet.json @@ -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 + } + } + } + } +} diff --git a/behavior_pack/entities/silverfish.json b/behavior_pack/entities/silverfish.json new file mode 100644 index 0000000..a1b8fc7 --- /dev/null +++ b/behavior_pack/entities/silverfish.json @@ -0,0 +1,181 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:silverfish", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:silverfish_calm": { + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry", + "target": "self" + } + }, + "minecraft:silverfish_angry": { + "minecraft:angry": { + "duration": -1, + "broadcast_anger": true, + "broadcast_range": 20, + "broadcast_anger_when_dying": false, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "track_target": true + }, + "minecraft:behavior.silverfish_wake_up_friends": { + "priority": 1 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 : 0" + }, + "minecraft:type_family": { + "family": [ "silverfish", "monster", "lightweight", "mob", "arthropod" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/silverfish.json" + }, + "minecraft:health": { + "value": 8, + "max": 8 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:attack": { + "damage": 1 + }, + "minecraft:collision_box": { + "width": 0.4, + "height": 0.3 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 1 + }, + "minecraft:behavior.silverfish_merge_with_stone": { + "priority": 5 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "attack_interval": 10, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "snowgolem" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "max_dist": 8 + } + ] + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "alert_same_type": true + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:block_climber": { + }, + "minecraft:mob_effect_immunity": { + "mob_effects": [ "infested" ] + } + }, + "events": { + "minecraft:entity_spawned": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:silverfish_calm" + ] + } + }, + "minecraft:become_angry": { + "remove": { + "minecraft:silverfish_calm": {} + }, + "add": { + "component_groups": [ + "minecraft:silverfish_angry" + ] + } + }, + "minecraft:on_calm": { + "remove": { + "minecraft:silverfish_angry": {} + }, + "add": { + "component_groups": [ + "minecraft:silverfish_calm" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/skeleton.json b/behavior_pack/entities/skeleton.json new file mode 100644 index 0000000..8cc5533 --- /dev/null +++ b/behavior_pack/entities/skeleton.json @@ -0,0 +1,677 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:skeleton", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "in_powder_snow": { + "minecraft:is_shaking": {}, + "minecraft:timer": { + "looping": false, + "time": 20, + "time_down_event": { + "event": "become_stray_event" + } + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "in_block", + "subject": "self", + "operator": "!=", + "value": "minecraft:powder_snow" + }, + "event": "got_out_of_powder_snow" + } + ] + } + }, + "got_out_of_powder_snow_environment_sensor": { + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "is_underwater", + "subject": "self", + "operator": "==", + "value": true + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": false + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "all_of": [ + { + "test": "in_water", + "subject": "self", + "operator": "==", + "value": false + }, + { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": true + } + ] + }, + "event": "minecraft:ranged_mode" + } + ] + } + }, + "minecraft:lightning_immune": { + "minecraft:damage_sensor": { + "triggers": { + "on_damage": { "filters": { "other_with_families": "lightning" } }, + "deals_damage": false + } + } + }, + "become_stray": { + "minecraft:transformation": { + "into": "minecraft:stray", + "transformation_sound" : "convert_to_stray", + "keep_level": true, + "drop_inventory": true, + "preserve_equipment": true + } + }, + "minecraft:ranged_attack": { + "minecraft:behavior.ranged_attack": { + "priority": 0, + "attack_interval_min": 1.0, + "attack_interval_max": 3.0, + "attack_radius": 15.0 + }, + "minecraft:shooter": { + "def": "minecraft:arrow", + "sound": "bow" + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "is_underwater", + "subject": "self", + "operator": "==", + "value": true + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": false + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "test": "in_block", + "subject": "self", + "operator": "==", + "value": "minecraft:powder_snow" + }, + "event": "got_in_powder_snow" + } + ] + } + }, + "minecraft:melee_attack": { + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "track_target": true, + "speed_multiplier": 1.25 + }, + "minecraft:attack": { + "damage": 2 + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + { + "test": "in_water", + "subject": "self", + "operator": "==", + "value": false + }, + { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": true + } + ] + }, + "event": "minecraft:ranged_mode" + }, + { + "filters": { + "test": "in_block", + "subject": "self", + "operator": "==", + "value": "minecraft:powder_snow" + }, + "event": "got_in_powder_snow" + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:type_family": { + "family": [ "skeleton", "undead", "monster", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + + "minecraft:burns_in_daylight": { + }, + + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:loot": { + "table": "loot_tables/entities/skeleton.json" + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "avoid_sun": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:nameable": { + }, + "minecraft:equipment": { + "table": "loot_tables/entities/skeleton_gear.json" + }, + "minecraft:shooter": { + "def": "minecraft:arrow" + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "is_underwater", + "subject": "self", + "operator": "==", + "value": true + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": false + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "test": "in_block", + "subject": "self", + "operator": "==", + "value": "minecraft:powder_snow" + }, + "event": "got_in_powder_snow" + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:bow", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:behavior.ranged_attack": { + "priority": 0, + "attack_interval_min": 1.0, + "attack_interval_max": 3.0, + "attack_radius": 15.0 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "breeze" + } + } + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "reselect_targets": true, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 16 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "irongolem" + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.flee_sun": { + "priority": 2, + "speed_multiplier": 1 + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 4, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "wolf" + }, + "max_dist": 6, + "walk_speed_multiplier": 1.2, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.pickup_items": { + "priority": 5, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "minecraft:ranged_attack" + ] + } + }, + "become_stray_event": { + "add": { + "component_groups": [ + "become_stray" + ] + } + }, + "got_in_powder_snow": { + "add": { + "component_groups": [ + "in_powder_snow" + ] + } + }, + "got_out_of_powder_snow": { + "remove": { + "component_groups": [ + "in_powder_snow" + ] + }, + "add": { + "component_groups": [ + "got_out_of_powder_snow_environment_sensor" + ] + } + }, + "minecraft:spring_trap": { + "add": { + "component_groups": [ + "minecraft:lightning_immune" + ] + } + }, + "minecraft:melee_mode": { + "remove": { + "component_groups": [ + "minecraft:ranged_attack", + "got_out_of_powder_snow_environment_sensor" + ] + }, + "add": { + "component_groups": [ + "minecraft:melee_attack" + ] + } + }, + "minecraft:ranged_mode": { + "remove": { + "component_groups": [ + "minecraft:melee_attack", + "got_out_of_powder_snow_environment_sensor" + ] + }, + "add": { + "component_groups": [ + "minecraft:ranged_attack" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/skeleton_horse.json b/behavior_pack/entities/skeleton_horse.json new file mode 100644 index 0000000..de89d27 --- /dev/null +++ b/behavior_pack/entities/skeleton_horse.json @@ -0,0 +1,227 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:skeleton_horse", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:skeleton_horse_r5_upgrade": { + "minecraft:rideable": { + } + }, + "minecraft:skeleton_horse_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale_by_age": { + "start_scale": 0.5, + "end_scale": 1.0 + }, + "minecraft:ageable": { + "duration": 1200, + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 4, + "speed_multiplier": 1.0 + } + }, + "minecraft:skeleton_horse_adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/skeleton_horse.json" + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 1.6 + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "player", + "skeleton", + "zombie" + ], + "interact_text": "action.interact.ride.horse", + "seats": { + "position": [ 0.0, 1.2, -0.2 ] + } + } + }, + + "minecraft:skeleton_trap": { + "minecraft:behavior.skeleton_horse_trap": { + "within_radius": 10.0, + "duration": 900.0, + "priority": 2 + } + }, + + "minecraft:lightning_immune": { + "minecraft:damage_sensor": { + "triggers": { + "on_damage": { + "filters": { + "test": "is_family", "subject": "other", "value": "lightning" + } + }, + "deals_damage": "no" + } + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:ambient_sound_interval": { + }, + "minecraft:type_family": { + "family": [ "skeletonhorse", "undead", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:health": { + "value": 15, + "max": 15 + }, + "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.2 + }, + "minecraft:underwater_movement": { + "value": 0.08 + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:nameable": { + }, + "minecraft:horse.jump_strength": { + "value": { + "range_min": 0.4, + "range_max": 1.0 + } + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "player", + "skeleton", + "zombie" + ], + "interact_text": "action.interact.ride.horse", + "seats": { + "position": [ 0.0, 1.2, -0.2 ] + } + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 4.0, + "track_target": true + }, + "minecraft:behavior.player_ride_tamed": { + }, + "minecraft:input_ground_controlled": { + }, + "minecraft:can_power_jump": { + }, + "minecraft:balloonable": { + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.7 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:is_tamed": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 36, + "add": { + "component_groups": [ + "minecraft:skeleton_horse_adult" + ] + } + }, + { + "weight": 9, + "remove": { + "component_groups": [ + "minecraft:skeleton_horse_r5_upgrade" + ] + }, + "add": { + "component_groups": [ + "minecraft:skeleton_horse_baby" + ] + } + } + ] + }, + + "minecraft:set_trap": { + "add": { "component_groups": [ "minecraft:skeleton_trap", "minecraft:lightning_immune" ] } + }, + + "minecraft:spring_trap": { + "add": { "component_groups": [ "minecraft:skeleton_horse_adult", "minecraft:lightning_immune" ] } + } + } + } +} diff --git a/behavior_pack/entities/slime.json b/behavior_pack/entities/slime.json new file mode 100644 index 0000000..ed08262 --- /dev/null +++ b/behavior_pack/entities/slime.json @@ -0,0 +1,278 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:slime", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:slime_large": { + "minecraft:variant": { + "value": 4 + }, + "minecraft:collision_box": { + "width": 2.08, + "height": 2.08 + }, + "minecraft:health": { + "value": 16, + "max": 16 + }, + "minecraft:movement": { + "value": 0.6 + }, + "minecraft:attack": { + "damage": 4 + }, + "minecraft:area_attack" : { + "damage_range": 0.15, + "damage_per_tick": 4, + "damage_cooldown" : 0.5, + "cause": "entity_attack", + "entity_filter": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "irongolem" }, + { "test": "is_family", "subject": "other", "value": "snowgolem" } + ] + } + } + }, + + "minecraft:slime_medium": { + "minecraft:variant": { + "value": 2 + }, + "minecraft:collision_box": { + "width": 1.04, + "height": 1.04 + }, + "minecraft:health": { + "value": 4, + "max": 4 + }, + "minecraft:movement": { + "value": 0.4 + }, + "minecraft:attack": { + "damage": 2 + }, + "minecraft:area_attack" : { + "damage_range": 0.15, + "damage_per_tick": 2, + "damage_cooldown" : 0.5, + "cause": "entity_attack", + "entity_filter": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "irongolem" }, + { "test": "is_family", "subject": "other", "value": "snowgolem" } + ] + } + } + }, + + "minecraft:slime_small": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:collision_box": { + "width": 0.52, + "height": 0.52 + }, + "minecraft:health": { + "value": 1, + "max": 1 + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:attack": { + "damage": 0 + }, + "minecraft:loot": { + "table": "loot_tables/entities/slime.json" + } + }, + + "minecraft:slime_calm": { + "minecraft:movement.jump": { + "jump_delay": [ 0.5, 1.5 ] + } + }, + "minecraft:slime_aggressive": { + "minecraft:movement.jump": { + "jump_delay": [ 0.16, 0.5 ] + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 2.08, + "height": 2.08 + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? query.variant : 0" + }, + "minecraft:type_family": { + "family": [ "slime", "monster", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement.jump": { + "jump_delay": [ 0.5, 1.5 ] + }, + "minecraft:on_target_acquired": { + "event": "minecraft:become_aggressive", + "target": "self" + }, + "minecraft:on_target_escape": { + "event": "minecraft:become_calm", + "target": "self" + }, + "minecraft:nameable": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.slime_float": { + "priority": 1, + "jump_chance_percentage": 0.8, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.slime_attack": { + "priority": 3 + }, + "minecraft:behavior.slime_random_direction": { + "priority": 4, + "add_random_time_range": 3, + "turn_range": 360, + "min_change_direction_time": 2.0 + }, + "minecraft:behavior.slime_keep_on_jumping": { + "priority": 5, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "snowgolem" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "max_dist": 16 + } + ], + "must_see": true + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:mob_effect_immunity": { + "mob_effects": [ "oozing" ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 1, + "trigger": "spawn_small" + }, + { + "weight": 1, + "trigger": "spawn_medium" + }, + { + "weight": 1, + "trigger": "spawn_large" + } + ] + }, + "spawn_small": { + "add": { + "component_groups": [ + "minecraft:slime_small", + "minecraft:slime_calm" + ] + } + }, + "spawn_medium": { + "add": { + "component_groups": [ + "minecraft:slime_medium", + "minecraft:slime_calm" + ] + } + }, + "spawn_large": { + "add": { + "component_groups": [ + "minecraft:slime_large", + "minecraft:slime_calm" + ] + } + }, + "minecraft:become_calm": { + "add": { + "component_groups": [ + "minecraft:slime_calm" + ] + } + }, + "minecraft:become_aggressive": { + "add": { + "component_groups": [ + "minecraft:slime_aggressive" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/small_fireball.json b/behavior_pack/entities/small_fireball.json new file mode 100644 index 0000000..3cd67ac --- /dev/null +++ b/behavior_pack/entities/small_fireball.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:small_fireball", + "is_spawnable": false, + "is_summonable": 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:dimension_bound": { + }, + "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 + } + } + } + } +} diff --git a/behavior_pack/entities/sniffer.json b/behavior_pack/entities/sniffer.json new file mode 100644 index 0000000..278f089 --- /dev/null +++ b/behavior_pack/entities/sniffer.json @@ -0,0 +1,390 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:sniffer", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "components": { + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 2 + }, + "minecraft:behavior.tempt": { + "priority": 4, + "speed_multiplier": 1.25, + "items": [ + "torchflower_seeds" + ] + }, + "minecraft:behavior.timer_flag_1": { + "priority": 6, + "control_flags": [ "move", "look" ], + "cooldown_range": [ 400.0, 500.0 ], + "duration_range": 2.0, + "on_end": { + "event": "on_scenting_success", + "target": "self" + } + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "target_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:collision_box": { + "width": 1.9, + "height": 1.75 + }, + "minecraft:healable": { + "items": [ + { + "item": "torchflower_seeds", + "heal_amount": 2 + } + ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:type_family": { + "family": [ "sniffer", "mob" ] + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 14 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self" + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:follow_range": { + "value": 64.0 + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:movement": { + "value": 0.09 + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "component_groups": { + "sniffer_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.45 + }, + "minecraft:ageable": { + "duration": 2400, + "feed_items": [ + "torchflower_seeds" + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + } + }, + "sniffer_adult": { + "minecraft:behavior.breed": { + "priority": 3, + "speed_multiplier": 1.0 + }, + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:breedable": { + "require_tame": false, + "causes_pregnancy": true, + "breeds_with": [ + { + "mate_type": "minecraft:sniffer", + "breed_event": { + "event": "on_pregnant", + "target": "self" + } + } + ], + "breed_items": [ + "torchflower_seeds" + ] + } + }, + "feeling_happy": { + "minecraft:behavior.timer_flag_3": { + "priority": 5, + "cooldown_range": 0.0, + "duration_range": [ 2.0, 5.0 ], + "on_end": { + "event": "on_feeling_happy_end", + "target": "self" + } + } + }, + "stand_up": { + "minecraft:behavior.timer_flag_2": { + "priority": 2, + "control_flags": [ "move" ], + "cooldown_range": 0.0, + "duration_range": [ 2.0, 5.0 ], + "on_end": { + "event": "on_rising_end", + "target": "self" + } + } + }, + "pushable": { + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + } + }, + "sniffer_pregnant": { + "minecraft:spawn_entity": { + "entities": { + "min_wait_time": 0, + "max_wait_time": 0, + "spawn_sound": "plop", + "spawn_item": "sniffer_egg", + "spawn_item_event": { + "event": "on_egg_spawned", + "target": "self" + }, + "single_use": true + } + }, + "minecraft:is_pregnant": {} + }, + "sniffer_search_and_dig": { + "minecraft:behavior.random_search_and_dig": { + "priority": 5, + "speed_multiplier": 1.25, + "find_valid_position_retries": 5, + "target_blocks": [ + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:grass", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:moss_block", + "minecraft:pale_moss_block", + "minecraft:mud", + "minecraft:muddy_mangrove_roots" + ], + "goal_radius": 2.0, + "search_range_xz": 20.0, + "search_range_y": 3, + "cooldown_range": 0.0, + "digging_duration_range": [ 8.0, 10.0 ], + "item_table": "loot_tables/gameplay/entities/sniffer_seeds.json", + "spawn_item_after_seconds": 6.0, + "spawn_item_pos_offset": 2.25, + "on_searching_start": { + "event": "on_searching_start", + "target": "self" + }, + "on_fail_during_searching": { + "event": "on_fail_during_searching", + "target": "self" + }, + "on_digging_start": { + "event": "on_digging_start", + "target": "self" + }, + "on_item_found": { + "event": "on_item_found", + "target": "self" + }, + "on_fail_during_digging": { + "event": "on_fail_during_digging", + "target": "self" + }, + "on_success": { + "event": "on_search_and_digging_success", + "target": "self" + } + } + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "trigger": "minecraft:spawn_adult" + }, + { + "weight": 5, + "trigger": "minecraft:entity_born" + } + ] + }, + "minecraft:spawn_adult": { + "add": { + "component_groups": [ + "sniffer_adult", + "pushable" + ] + } + }, + "minecraft:entity_born": { + "add": { + "component_groups": [ + "sniffer_baby", + "pushable" + ] + } + }, + "on_pregnant": { + "add": { + "component_groups": [ + "sniffer_pregnant" + ] + } + }, + "on_egg_spawned": { + "remove": { + "component_groups": [ + "sniffer_pregnant" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "sniffer_baby" + ] + }, + "add": { + "component_groups": [ + "sniffer_adult" + ] + } + }, + "on_scenting_success": { + "sequence": [ + { + "filters": { + "test": "has_component", "subject": "self", "operator": "!=", "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ + "sniffer_search_and_dig" + ] + } + } + ] + }, + "on_digging_start": { + "remove": { + "component_groups": [ + "pushable" + ] + } + }, + "on_item_found": { + "add": { + "component_groups": [ + "feeling_happy" + ] + } + }, + "on_feeling_happy_end": { + "remove": { + "component_groups": [ + "feeling_happy" + ] + } + }, + "on_fail_during_searching": { + "remove": { + "component_groups": [ + "sniffer_search_and_dig" + ] + } + }, + "on_fail_during_digging": { + "remove": { + "component_groups": [ + "sniffer_search_and_dig" + ] + }, + "add": { + "component_groups": [ + "pushable", + "stand_up" + ] + } + }, + "on_search_and_digging_success": { + "remove": { + "component_groups": [ + "sniffer_search_and_dig" + ] + }, + "add": { + "component_groups": [ + "pushable", + "stand_up" + ] + } + }, + "on_rising_end": { + "remove": { + "component_groups": [ + "stand_up" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/snow_golem.json b/behavior_pack/entities/snow_golem.json new file mode 100644 index 0000000..e10fbea --- /dev/null +++ b/behavior_pack/entities/snow_golem.json @@ -0,0 +1,174 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:snow_golem", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "minecraft:snowman_sheared": { + "minecraft:is_sheared": { + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "snowgolem", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:collision_box": { + "width": 0.4, + "height": 1.8 + }, + "minecraft:loot": { + "table": "loot_tables/entities/snowman.json" + }, + "minecraft:health": { + "value": 4, + "max": 4 + }, + "minecraft:movement": { + "value": 0.2 + }, + "minecraft:navigation.walk": { + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:attack": { + "damage": 2 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "fall", + "deals_damage": false + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + }, + { + "filters": { + "all_of": [ + { "test": "is_temperature_value", "operator": ">", "value": 1.0 }, + { "test": "has_component", "subject": "self", "operator": "!=", "value": "minecraft:effect.fire_resistance" } + ] + }, + "cause": "temperature", + "damage_per_tick": 1 + }, + { + "filters": { "test": "in_contact_with_water", "operator": "==", "value": true }, + "cause": "drowning", + "damage_per_tick": 1 + } + ] + }, + "minecraft:interact": { + "interactions": [ + { + "cooldown": 2.5, + "use_item": false, + "hurt_item": 1, + "spawn_items": { "table": "loot_tables/entities/snow_golem_shear.json" }, + "play_sounds": "shear", + "interact_text": "action.interact.shear", + "vibration": "shear", + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "subject": "other", "domain": "hand", "value": "shears"}, + { "test": "is_family", "subject": "other", "value": "player"}, + { "test": "has_component", "operator": "!=", "value": "minecraft:is_sheared"} + ] + }, + "event": "minecraft:on_sheared", + "target": "self" + } + } + ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:behavior.ranged_attack": { + "priority": 1, + "speed_multiplier": 1.25, + "attack_interval": 1, + "attack_radius": 10 + }, + "minecraft:shooter": { + "def": "minecraft:snowball" + }, + "minecraft:trail": { + "block_type": "minecraft:snow_layer", + "spawn_filter": { "test": "is_temperature_value", "operator": "<", "value": 0.81 } + }, + "minecraft:behavior.random_stroll": { + "priority": 2, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 3, + "look_distance": 6.0 + }, + "minecraft:behavior.random_look_around": { + "priority": 4 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 1, + "entity_types": [ + { + "filters": { "test" : "is_family", "subject" : "other", "value" : "monster"}, + "within_default": 6 + } + ] + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:on_sheared": { + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:snowman_sheared" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/snowball.json b/behavior_pack/entities/snowball.json new file mode 100644 index 0000000..bf04eeb --- /dev/null +++ b/behavior_pack/entities/snowball.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:snowball", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "filter": "blaze", + "damage": 3, + "knockback": true + }, + "remove_on_hit": { }, + "particle_on_hit": { + "particle_type": "snowballpoof", + "num_particles": 6, + "on_entity_hit": true, + "on_other_hit": true + } + }, + "anchor": 1, + "power": 1.5, + "gravity": 0.03, + "angle_offset": 0.0, + "offset": [ 0, -0.1, 0 ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 100.0, + "max_dropped_ticks": 7, + "use_motion_prediction_hints": true + } + } + } + } +} diff --git a/behavior_pack/entities/spider.json b/behavior_pack/entities/spider.json new file mode 100644 index 0000000..7a34cc3 --- /dev/null +++ b/behavior_pack/entities/spider.json @@ -0,0 +1,350 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:spider", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:spider_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:skeleton" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "skeleton" + ], + "seats": { + "position": [ 0.0, 0.54, 0.0 ] + } + } + }, + "minecraft:spider_stray_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:skeleton.stray" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "skeleton" + ], + "seats": { + "position": [ 0.0, 0.54, 0.0 ] + } + } + }, + "minecraft:spider_wither_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:skeleton.wither" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "skeleton" + ], + "seats": { + "position": [ 0.0, 0.54, 0.0 ] + } + } + }, + "minecraft:spider_neutral": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_brightness", + "operator": "<", + "value": 0.49 + }, + "event": "minecraft:become_hostile" + } + }, + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry" + } + }, + "minecraft:spider_hostile": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_brightness", + "operator": ">", + "value": 0.49 + }, + "event": "minecraft:become_neutral" + } + }, + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry" + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "attack_interval": 5, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "snowgolem" }, + { "test": "is_family", "subject": "other", "value": "irongolem" } + ] + }, + "max_dist": 16 + } + ] + } + }, + "minecraft:spider_angry": { + "minecraft:angry": { + "duration": 10, + "duration_delta": 3, + "calm_event": { + "event": "minecraft:become_calm", + "target": "self" + } + }, + "minecraft:behavior.leap_at_target": { + "priority": 4, + "yd": 0.4, + "must_be_on_ground": false + }, + "minecraft:behavior.melee_box_attack": { + "priority": 3, + "track_target": true + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:renders_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 : 0" + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family": [ "spider", "monster", "mob", "arthropod" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:loot": { + "table": "loot_tables/entities/spider.json" + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 0.9 + }, + "minecraft:health": { + "value": 16, + "max": 16 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self" + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:navigation.climb": { + "can_path_over_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:attack": { + "damage": 2 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 1 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 2, + "entity_types": [ + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "armadillo" }, + { "test": "enum_property", "subject": "other", "domain": "minecraft:armadillo_state", "value": "unrolled" } + ] + }, + "max_dist": 6, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.mount_pathing": { + "priority": 5, + "speed_multiplier": 1.25, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 7 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "test": "is_family", "subject": "other", "operator": "!=", "value": "breeze" + } + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.54, -0.1 ] + } + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 1, + "randomize": [ + { + "weight": 80, + "filters": { + "all_of": [ + { "test": "is_daytime", "value": false }, + { "test": "is_snow_covered", "value": true }, + { "test": "is_underground", "value": false } + ] + }, + "remove": {}, + "add": { + "component_groups": [ + "minecraft:spider_stray_jockey", + "minecraft:spider_neutral" + ] + } + }, + { + "weight": 80, + "filters": { + "test": "is_biome", + "value": "the_nether" + }, + "remove": {}, + "add": { + "component_groups": [ + "minecraft:spider_wither_jockey", + "minecraft:spider_neutral" + ] + } + }, + { + "weight": 20, + "filters": { + "any_of": [ + { "test": "is_daytime", "value": false }, + { "test": "is_underground", "value": true } + ] + }, + "remove": {}, + "add": { + "component_groups": [ + "minecraft:spider_jockey", + "minecraft:spider_neutral" + ] + } + } + ] + }, + { + "weight": 99, + "remove": {}, + "add": { + "component_groups": [ + "minecraft:spider_neutral" + ] + } + } + ] + }, + "minecraft:become_hostile": { + "remove": { + "component_groups": [ + "minecraft:spider_neutral" + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_hostile" + ] + } + }, + "minecraft:become_neutral": { + "remove": { + "component_groups": [ + "minecraft:spider_hostile" + ] + }, + "add": { + "component_groups": [ + "minecraft:spider_neutral" + ] + } + }, + "minecraft:become_angry": { + "add": { + "component_groups": [ + "minecraft:spider_angry" + ] + } + }, + "minecraft:become_calm": { + "remove": { + "component_groups": [ + "minecraft:spider_angry" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/splash_potion.json b/behavior_pack/entities/splash_potion.json new file mode 100644 index 0000000..9c139be --- /dev/null +++ b/behavior_pack/entities/splash_potion.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:splash_potion", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:projectile": { + "on_hit": { + "douse_fire": { }, + "thrown_potion_effect": { }, + "remove_on_hit": { } + }, + "power": 0.5, + "gravity": 0.05, + "angle_offset": -20.0, + "hit_sound": "glass" + }, + "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": 5, + "use_motion_prediction_hints": true + } + } + } + } +} diff --git a/behavior_pack/entities/squid.json b/behavior_pack/entities/squid.json new file mode 100644 index 0000000..9a4abee --- /dev/null +++ b/behavior_pack/entities/squid.json @@ -0,0 +1,133 @@ +{ + "format_version": "1.18.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:squid", + "spawn_category": "water_creature", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups":{ + "minecraft:squid_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + } + } + }, + + "components":{ + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "!query.is_baby && query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family":["squid", "mob"] + }, + "minecraft:collision_box": { + "width": 0.95, + "height": 0.95 + }, + "minecraft:health": { + "value": 10, + "max": 10 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:loot": { + "table": "loot_tables/entities/squid.json" + }, + "minecraft:breathable":{ + "total_supply":15, + "suffocate_time":0, + "breathes_air": false, + "breathes_water": true + }, + "minecraft:movement": { + "value": 0.2 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_sink": false + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + "mass": 0.5 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.squid_move_away_from_ground": { + "priority": 1 + }, + "minecraft:behavior.squid_flee": { + "priority": 2 + }, + "minecraft:behavior.squid_idle": { + "priority": 2 + }, + "minecraft:behavior.squid_dive": { + "priority": 2 + }, + "minecraft:behavior.squid_out_of_water": { + "priority": 2 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events":{ + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "remove": { + }, + "add": { + } + }, + { + "weight": 5, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:squid_baby" + ] + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/stray.json b/behavior_pack/entities/stray.json new file mode 100644 index 0000000..481125c --- /dev/null +++ b/behavior_pack/entities/stray.json @@ -0,0 +1,557 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:stray", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:revert_to_skeleton": { + "minecraft:transformation": { + "into": "minecraft:skeleton", + "delay": 0.5 + } + }, + "minecraft:ranged_attack": { + "minecraft:behavior.ranged_attack": { + "priority": 0, + "attack_interval_min": 1.0, + "attack_interval_max": 3.0, + "attack_radius": 15.0 + }, + "minecraft:shooter": { + "def": "minecraft:arrow", + "sound": "bow", + "aux_val": 19 + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "is_underwater", + "subject": "self", + "operator": "==", + "value": true + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": false + }, + "event": "minecraft:melee_mode" + } + ] + } + }, + "minecraft:melee_attack": { + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "track_target": true, + "speed_multiplier": 1.25 + }, + "minecraft:attack": { + "damage": 3, + "effect_name": "slowness", + "effect_duration": 10 + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + { + "test": "in_water", + "subject": "self", + "operator": "==", + "value": false + }, + { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": true + } + ] + }, + "event": "minecraft:ranged_mode" + } + ] + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:burns_in_daylight": {}, + "minecraft:nameable": {}, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:loot": { + "table": "loot_tables/entities/stray.json" + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "avoid_sun": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:equipment": { + "table": "loot_tables/entities/skeleton_gear.json" + }, + "minecraft:shooter": { + "def": "minecraft:arrow", + "aux_val": 19 + }, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "test": "is_underwater", + "subject": "self", + "operator": "==", + "value": true + }, + "event": "minecraft:melee_mode" + }, + { + "filters": { + "test": "has_ranged_weapon", + "subject": "self", + "operator": "==", + "value": false + }, + "event": "minecraft:melee_mode" + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:bow", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:behavior.ranged_attack": { + "priority": 0, + "attack_interval_min": 1.0, + "attack_interval_max": 3.0, + "attack_radius": 15.0 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "breeze" + } + } + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "reselect_targets": true, + + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 16 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "irongolem" + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 16 + } + ] + }, + + "minecraft:behavior.flee_sun": { + "priority": 2, + "speed_multiplier": 1 + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 4, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "wolf" + }, + "max_dist": 6, + "walk_speed_multiplier": 1.2, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.pickup_items": { + "priority": 5, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:type_family": { + "family": [ "stray", "skeleton", "monster", "mob", "undead" ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "minecraft:ranged_attack" + ] + } + }, + "change_to_skeleton": { + "sequence": [ + { + "filters": { + "test": "is_underground", + "value": true + }, + "remove": {}, + "add": { + "component_groups": [ + "minecraft:revert_to_skeleton" + ] + } + }, + { + "randomize": [ + { + "weight": 20, + "remove": {}, + "add": { + "component_groups": [ "minecraft:revert_to_skeleton" ] + } + }, + { + "weight": 80, + "remove": {}, + "add": {} + } + ] + } + ] + }, + "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" ] } + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/entities/strider.json b/behavior_pack/entities/strider.json new file mode 100644 index 0000000..00f1edc --- /dev/null +++ b/behavior_pack/entities/strider.json @@ -0,0 +1,457 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:strider", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:strider_saddled": { + "minecraft:is_saddled": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/strider_saddled.json" + }, + "minecraft:boostable": { + "speed_multiplier": 1.35, + "duration": 16.0, + "boost_items": [ + { + "item": "warped_fungus_on_a_stick", + "damage": 1, + "replace_item": "fishing_rod" + } + ] + }, + "minecraft:rideable": { + "seat_count": 1, + "crouching_skip_interact": true, + "family_types": [ + "player" + ], + "interact_text": "action.interact.ride.strider", + "seats": { + "position": [ 0.0, 1.6, -0.2 ] + } + }, + "minecraft:item_controllable": { + "control_items": "warped_fungus_on_a_stick" + }, + "minecraft:behavior.controlled_by_player": { + "priority": 0, + "mount_speed_multiplier": 1.45 + } + }, + + "minecraft:strider_unsaddled": { + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "test": "has_equipment", "subject": "other", "domain": "hand", "value": "saddle" + }, + "event": "minecraft:on_saddled" + }, + "use_item": true, + "play_sounds": "saddle", + "interact_text": "action.interact.saddle" + } + ] + } + }, + + "minecraft:strider_piglin_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:zombie_pigman", + "spawn_event": "minecraft:spawn_as_strider_jockey" + }, + "minecraft:rideable": { + "seat_count": 1, + "crouching_skip_interact": true, + "family_types": [ + "player", + "zombie_pigman" + ], + "interact_text": "action.interact.ride.strider", + "seats": { + "position": [ 0.0, 1.65, -0.2 ] + } + } + }, + "minecraft:strider_parent_jockey": { + "minecraft:addrider": { + "entity_type": "minecraft:strider", + "spawn_event": "minecraft:spawn_baby_strider_jockey" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "strider" + ], + "seats": { + "position": [ 0.0, 1.6, 0.0 ] + } + } + }, + "minecraft:strider_baby": { + "minecraft:type_family": { + "family": [ "strider", "strider_baby", "mob" ] + }, + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ "warped_fungus" ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 6, + "speed_multiplier": 1.1 + } + }, + "minecraft:strider_adult": { + "minecraft:type_family": { + "family": [ "strider", "strider_adult", "mob" ] + }, + "minecraft:behavior.breed": { + "priority": 4, + "speed_multiplier": 1.0 + }, + "minecraft:loot": { + "table": "loot_tables/entities/strider.json" + }, + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:breedable": { + "require_tame": false, + "breeds_with": { + "mate_type": "minecraft:strider", + "baby_type": "minecraft:strider", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ "warped_fungus" ] + } + }, + "minecraft:start_suffocating": { + "minecraft:is_shaking": {}, + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "any_of": [ + { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + { "test": "in_lava", "subject": "other", "operator": "==", "value": true } + ] + }, + "event": "stop_suffocating" + }, + { + "filters": { + "all_of": [ + { "test": "is_riding", "subject": "self", "operator": "equals", "value": false }, + { "test": "has_component", "subject": "self", "operator": "not", "value": "minecraft:behavior.move_to_liquid" } + ] + }, + "event": "on_not_riding_parent" + } + ] + } + }, + + "minecraft:detect_suffocating": { + "minecraft:environment_sensor": { + "triggers": [ + { + "filters": { + "all_of": [ + { "test": "in_lava", "subject": "self", "operator": "==", "value": false }, + { + "any_of": [ + { "test": "is_riding", "subject": "self", "operator": "==", "value": false }, + { "test": "in_lava", "subject": "other", "operator": "==", "value": false } + ] + } + ] + }, + "event": "start_suffocating" + }, + { + "filters": { + "all_of": [ + { "test": "is_riding", "subject": "self", "operator": "equals", "value": false }, + { "test": "has_component", "subject": "self", "operator": "not", "value": "minecraft:behavior.move_to_liquid" } + ] + }, + "event": "on_not_riding_parent" + } + ] + } + }, + + "minecraft:strider_pathing_behaviors": { + "minecraft:behavior.rise_to_liquid_level": { + "priority": 0, + "liquid_y_offset": 0.25, + "rise_delta": 0.01, + "sink_delta": 0.01 + }, + "minecraft:behavior.move_to_liquid": { + "priority": 7, + "search_range": 16, + "search_height": 10, + "goal_radius": 0.9, + "material_type": "Lava", + "search_count": 30 + }, + "minecraft:behavior.random_stroll": { + "priority": 8, + "speed_multiplier": 0.8 + } + } + }, + + "components": { + "minecraft:movement_sound_distance_offset": { + "value": 0.6 + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "strider", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.9, + "height": 1.7 + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_contact_with_water", + "operator": "==", + "value": true + }, + "cause": "drowning", + "damage_per_tick": 1 + } + ] + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:movement": { + "value": 0.16 + }, + "minecraft:lava_movement": { + "value": 0.32 + }, + "minecraft:movement.basic": { + }, + "minecraft:navigation.walk": { + "can_path_over_lava": true, + "avoid_water": true, + "can_sink": false, + "can_walk_in_lava": true + }, + "minecraft:jump.static": { + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:fire_immune": { + }, + "minecraft:nameable": { + }, + "minecraft:physics": { + }, + "minecraft:behavior.look_at_player": { + "priority": 9, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 10 + }, + "minecraft:behavior.panic": { + "priority": 3, + "speed_multiplier": 1.1, + "panic_sound": "panic", + "sound_interval": { + "range_min": 1.0, + "range_max": 3.0 + } + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 1.2, + "items": [ + "warped_fungus", + "warped_fungus_on_a_stick" + ], + "can_tempt_while_ridden": true, + "tempt_sound": "tempt", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + } + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 40, + "trigger": "spawn_adult" + }, + { + "weight": 2, + "trigger": "spawn_adult_piglin_jockey" + }, + { + "weight": 8, + "trigger": "spawn_adult_parent_jockey" + }, + { + "weight": 50, + "trigger": "spawn_baby" + } + ] + }, + "minecraft:entity_born": { + "trigger": "spawn_baby" + }, + "spawn_adult": { + "add": { + "component_groups": [ + "minecraft:strider_adult", + "minecraft:strider_unsaddled", + "minecraft:detect_suffocating", + "minecraft:strider_pathing_behaviors" + ] + } + }, + "spawn_adult_parent_jockey": { + "add": { + "component_groups": [ + "minecraft:strider_adult", + "minecraft:strider_parent_jockey", + "minecraft:strider_unsaddled", + "minecraft:detect_suffocating", + "minecraft:strider_pathing_behaviors" + ] + } + }, + "spawn_adult_piglin_jockey": { + "add": { + "component_groups": [ + "minecraft:strider_adult", + "minecraft:strider_saddled", + "minecraft:strider_piglin_jockey", + "minecraft:detect_suffocating", + "minecraft:strider_pathing_behaviors" + ] + } + }, + "spawn_baby": { + "add": { + "component_groups": [ + "minecraft:strider_baby", + "minecraft:detect_suffocating", + "minecraft:strider_pathing_behaviors" + ] + } + }, + "minecraft:spawn_baby_strider_jockey": { + "add": { + "component_groups": [ + "minecraft:strider_baby", + "minecraft:detect_suffocating" + ] + } + }, + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:strider_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:strider_adult", + "minecraft:strider_unsaddled" + ] + } + }, + + "minecraft:on_saddled": { + "remove": { + "component_groups": [ + "minecraft:strider_unsaddled" + ] + }, + "add": { + "component_groups": [ + "minecraft:strider_saddled" + ] + } + }, + + "start_suffocating": { + "add": { + "component_groups": [ + "minecraft:start_suffocating" + ] + } + }, + + "stop_suffocating": { + "add": { + "component_groups": [ + "minecraft:detect_suffocating" + ] + }, + "remove": { + "component_groups": [ + "minecraft:start_suffocating" + ] + } + }, + "on_not_riding_parent": { + "add": { + "component_groups": [ + "minecraft:strider_pathing_behaviors" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/tadpole.json b/behavior_pack/entities/tadpole.json new file mode 100644 index 0000000..0e8933c --- /dev/null +++ b/behavior_pack/entities/tadpole.json @@ -0,0 +1,116 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:tadpole", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "grow_up": { + "minecraft:transformation": { + "into": "minecraft:frog", + "transformation_sound": "convert_to_frog" + } + } + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "tadpole", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.8, + "height": 0.6 + }, + "minecraft:breathable": { + "total_supply": 8, + "suffocate_time": 0, + "breathes_water": true, + "breathes_air": false, + "generates_bubbles": false + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 6 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", "subject": "self", "operator": "==", "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:navigation.generic": { + "can_path_over_water": true, + "can_swim": true, + "can_walk": false, + "can_sink": false, + "avoid_damage_blocks": true + }, + "minecraft:movement.sway": { //This is needed to allow the tadpole to swim + "sway_amplitude": 0.0 + }, + "minecraft:movement": { + "value": 0.1 + }, + "minecraft:underwater_movement": { + "value": 0.1 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:is_baby": { + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ "slime_ball" ], + "grow_up": { + "event": "ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 2.0 + }, + "minecraft:behavior.tempt": { + "priority": 5, + "speed_multiplier": 1.25, + "can_tempt_vertically": true, + "items": [ "slime_ball" ] + }, + "minecraft:behavior.random_swim": { + "priority": 2, + "interval": 100 + }, + "minecraft:behavior.look_at_player": { + "priority": 3, + "target_distance": 6.0, + "probability": 0.02 + } + }, + "events": { + "ageable_grow_up": { + "sequence": [ + { + "add": { + "component_groups": [ "grow_up" ] + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/thrown_trident.json b/behavior_pack/entities/thrown_trident.json new file mode 100644 index 0000000..28c20d0 --- /dev/null +++ b/behavior_pack/entities/thrown_trident.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:thrown_trident", + "is_spawnable": false, + "is_summonable": false + }, + + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.35 + }, + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": 8, + "knockback": true, + "semi_random_diff_damage": false, + "destroy_on_hit": false + }, + "stick_in_ground": { + "shake_time": 0 + } + }, + "liquid_inertia": 0.99, + "hit_sound": "item.trident.hit", + "hit_ground_sound": "item.trident.hit_ground", + "power": 4, + "gravity": 0.10, + "uncertainty_base": 1, + "uncertainty_multiplier": 0, + "stop_on_hurt": true, + "anchor": 1, + "should_bounce": true, + "multiple_targets": false, + "offset": [ 0, -0.1, 0 ] + }, + "minecraft:physics": { + }, + "minecraft:dimension_bound": { + }, + "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 + } + } + } + } +} diff --git a/behavior_pack/entities/tnt.json b/behavior_pack/entities/tnt.json new file mode 100644 index 0000000..317bedf --- /dev/null +++ b/behavior_pack/entities/tnt.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:tnt", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "from_explosion": { + "minecraft:explode": { + "fuse_length": { + "range_min": 0.5, + "range_max": 2.0 + }, + "fuse_lit": true, + "power": 4, + "causes_fire": false + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "tnt", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 0.98, + "height": 0.98 + }, + + "minecraft:explode": { + "fuse_length": 4, + "fuse_lit": true, + "power": 4, + "causes_fire": false + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": false, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 80.0, + "max_dropped_ticks": 5, + "use_motion_prediction_hints": true + } + } + }, + + "events": { + "from_explosion": { + "add": { + "component_groups": [ + "from_explosion" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/tnt_minecart.json b/behavior_pack/entities/tnt_minecart.json new file mode 100644 index 0000000..15e7f92 --- /dev/null +++ b/behavior_pack/entities/tnt_minecart.json @@ -0,0 +1,185 @@ +{ + "format_version": "1.13.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:tnt_minecart", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + "minecraft:primed_tnt": { + "minecraft:explode": { + "fuse_length": 4, + "fuse_lit": true, + "power": 3, + "causes_fire": false + }, + "minecraft:rail_sensor": { + + + }, + "minecraft:is_ignited": { + } + }, + "minecraft:instant_explode_tnt": { + "minecraft:explode": { + "fuse_length": 0, + "fuse_lit": true, + "power": 3, + "causes_fire": false + }, + "minecraft:rail_sensor": { + + + }, + "minecraft:is_ignited": { + } + }, + "minecraft:inactive": { + "minecraft:rail_sensor": { + "on_activate": { + + "filters": { + "all_of": [ + { + "test": "is_game_rule", + "domain": "tntexplodes", + "operator": "==", + "value": true + } + ] + }, + "event": "minecraft:on_prime" + } + + }, + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "any_of": [ + {"test": "has_equipment", "subject": "other", "domain": "hand", "value": "fireball:0"}, + { + "test": "has_equipment", + "subject": "other", + "domain": "hand", + "value": "flint_and_steel" + } + ], + "all_of": [ + {"test": "is_family", "subject": "other", "value": "player"}, + {"test": "is_game_rule", "domain": "tntexplodes", "operator": "==", "value": true} + ] + }, + "event": "minecraft:on_prime", + "target": "self" + }, + "swing": true, + "play_sounds": "ignite", + "interact_text": "action.interact.creeper" + }, + { + "on_interact": { + "filters": { + "any_of": [ + { + "test": "has_component", + "subject": "other", + "value": "fire_aspect" + } + ], + "all_of": [ + { + "test": "is_game_rule", + "domain": "tntexplodes", + "operator": "==", + "value": true + } + ] + }, + "event": "minecraft:on_prime", + "target": "self" + }, + "swing": true, + "interact_text": "action.interact.creeper" + } + ] + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "minecart", "inanimate" ] + }, + "minecraft:collision_box": { + "width": 0.98, + "height": 0.7 + }, + "minecraft:rail_movement": { + }, + "minecraft:is_stackable": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 60.0, + "max_dropped_ticks": 20, + "use_motion_prediction_hints": true + }, + "conditional_values": [ + { + "max_optimized_distance": 0.0, + "max_dropped_ticks": 0, + "conditional_values": [ + { "test": "is_moving", "subject": "self", "operator": "==", "value": true} + ] + } + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "add": { + "component_groups": [ + "minecraft:inactive" + ] + } + }, + "minecraft:on_prime": { + "remove": { + "component_groups": [ + "minecraft:inactive" + ] + }, + "add": { + "component_groups": [ + "minecraft:primed_tnt" + ] + } + }, + "minecraft:on_instant_prime": { + "remove": { + "component_groups": [ + "minecraft:inactive" + ] + }, + "add": { + "component_groups": [ + "minecraft:instant_explode_tnt" + ] + } + } + } + + } +} diff --git a/behavior_pack/entities/trader_llama.json b/behavior_pack/entities/trader_llama.json new file mode 100644 index 0000000..229100c --- /dev/null +++ b/behavior_pack/entities/trader_llama.json @@ -0,0 +1,760 @@ +{ + "format_version": "1.21.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:trader_llama", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "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.tempt": { + "priority": 5, + "speed_multiplier": 1.2, + "items": [ + "hay_block" + ] + }, + "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" + } + } + } +} diff --git a/behavior_pack/entities/tripod_camera.json b/behavior_pack/entities/tripod_camera.json new file mode 100644 index 0000000..df6310c --- /dev/null +++ b/behavior_pack/entities/tripod_camera.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.13.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:tripod_camera", + "is_spawnable": false, + "is_summonable": false, + "is_experimental": false + }, + + "components": { + "minecraft:type_family": { + "family": [ "tripodcamera", "inanimate", "mob" ] + }, + "minecraft:health": { + "value": 4, + "max": 4 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:loot": { + "table": "loot_tables/empty.json" + }, + "minecraft:collision_box": { + "width": 0.75, + "height": 1.8 + }, + "minecraft:physics": { + }, + "minecraft:conditional_bandwidth_optimization": { + } + } + } +} diff --git a/behavior_pack/entities/tropicalfish.json b/behavior_pack/entities/tropicalfish.json new file mode 100644 index 0000000..52cc616 --- /dev/null +++ b/behavior_pack/entities/tropicalfish.json @@ -0,0 +1,1063 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:tropicalfish", + "spawn_category": "water_ambient", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "component_groups": { + + "minecraft:tropicalfish_variant_a": { + "minecraft:variant": { + "value": 0 + } + }, + "minecraft:tropicalfish_variant_b": { + "minecraft:variant": { + "value": 1 + } + }, + + "minecraft:tropicalfish_variant_pattern_1": { + "minecraft:mark_variant": { + "value": 0 + } + }, + "minecraft:tropicalfish_variant_pattern_2": { + "minecraft:mark_variant": { + "value": 1 + } + }, + "minecraft:tropicalfish_variant_pattern_3": { + "minecraft:mark_variant": { + "value": 2 + } + }, + "minecraft:tropicalfish_variant_pattern_4": { + "minecraft:mark_variant": { + "value": 3 + } + }, + "minecraft:tropicalfish_variant_pattern_5": { + "minecraft:mark_variant": { + "value": 4 + } + }, + "minecraft:tropicalfish_variant_pattern_6": { + "minecraft:mark_variant": { + "value": 5 + } + }, + + + "minecraft:tropicalfish_base_white": { + "minecraft:color": { + "value": 0 + } + }, + "minecraft:tropicalfish_base_orange": { + "minecraft:color": { + "value": 1 + } + }, + "minecraft:tropicalfish_base_magenta": { + "minecraft:color": { + "value": 2 + } + }, + "minecraft:tropicalfish_base_lightblue": { + "minecraft:color": { + "value": 3 + } + }, + "minecraft:tropicalfish_base_yellow": { + "minecraft:color": { + "value": 4 + } + }, + "minecraft:tropicalfish_base_lightgreen": { + "minecraft:color": { + "value": 5 + } + }, + "minecraft:tropicalfish_base_pink": { + "minecraft:color": { + "value": 6 + } + }, + "minecraft:tropicalfish_base_gray": { + "minecraft:color": { + "value": 7 + } + }, + "minecraft:tropicalfish_base_silver": { + "minecraft:color": { + "value": 8 + } + }, + "minecraft:tropicalfish_base_cyan": { + "minecraft:color": { + "value": 9 + } + }, + "minecraft:tropicalfish_base_purple": { + "minecraft:color": { + "value": 10 + } + }, + "minecraft:tropicalfish_base_blue": { + "minecraft:color": { + "value": 11 + } + }, + "minecraft:tropicalfish_base_brown": { + "minecraft:color": { + "value": 12 + } + }, + "minecraft:tropicalfish_base_green": { + "minecraft:color": { + "value": 13 + } + }, + "minecraft:tropicalfish_base_red": { + "minecraft:color": { + "value": 14 + } + }, + + + "minecraft:tropicalfish_pattern_white": { + "minecraft:color2": { + "value": 0 + } + }, + "minecraft:tropicalfish_pattern_orange": { + "minecraft:color2": { + "value": 1 + } + }, + "minecraft:tropicalfish_pattern_magenta": { + "minecraft:color2": { + "value": 2 + } + }, + "minecraft:tropicalfish_pattern_lightblue": { + "minecraft:color2": { + "value": 3 + } + }, + "minecraft:tropicalfish_pattern_yellow": { + "minecraft:color2": { + "value": 4 + } + }, + "minecraft:tropicalfish_pattern_lightgreen": { + "minecraft:color2": { + "value": 5 + } + }, + "minecraft:tropicalfish_pattern_pink": { + "minecraft:color2": { + "value": 6 + } + }, + "minecraft:tropicalfish_pattern_gray": { + "minecraft:color2": { + "value": 7 + } + }, + "minecraft:tropicalfish_pattern_silver": { + "minecraft:color2": { + "value": 8 + } + }, + "minecraft:tropicalfish_pattern_cyan": { + "minecraft:color2": { + "value": 9 + } + }, + "minecraft:tropicalfish_pattern_purple": { + "minecraft:color2": { + "value": 10 + } + }, + "minecraft:tropicalfish_pattern_blue": { + "minecraft:color2": { + "value": 11 + } + }, + "minecraft:tropicalfish_pattern_brown": { + "minecraft:color2": { + "value": 12 + } + }, + "minecraft:tropicalfish_pattern_green": { + "minecraft:color2": { + "value": 13 + } + }, + "minecraft:tropicalfish_pattern_red": { + "minecraft:color2": { + "value": 14 + } + }, + + //predefined school types + "minecraft:anenonme": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 1 + }, + "minecraft:color": { + "value": 1 + }, + "minecraft:color2": { + "value": 7 + } + }, + "minecraft:black_tang": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 0 + }, + "minecraft:color": { + "value": 7 + }, + "minecraft:color2": { + "value": 7 + } + }, + "minecraft:blue_dory": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 1 + }, + "minecraft:color": { + "value": 7 + }, + "minecraft:color2": { + "value": 3 + } + }, + "minecraft:butterfly_fish": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 4 + }, + "minecraft:color": { + "value": 0 + }, + "minecraft:color2": { + "value": 7 + } + }, + "minecraft:cichlid": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 1 + }, + "minecraft:color": { + "value": 11 + }, + "minecraft:color2": { + "value": 7 + } + }, + "minecraft:clownfish": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 0 + }, + "minecraft:color": { + "value": 1 + }, + "minecraft:color2": { + "value": 0 + } + }, + "minecraft:cc_betta": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 5 + }, + "minecraft:color": { + "value": 6 + }, + "minecraft:color2": { + "value": 3 + } + }, + "minecraft:dog_fish": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 3 + }, + "minecraft:color": { + "value": 10 + }, + "minecraft:color2": { + "value": 4 + } + }, + "minecraft:e_red_snapper": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 5 + }, + "minecraft:color": { + "value": 0 + }, + "minecraft:color2": { + "value": 14 + } + }, + "minecraft:goat_fish": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 5 + }, + "minecraft:color": { + "value": 0 + }, + "minecraft:color2": { + "value": 4 + } + }, + "minecraft:moorish_idol": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 2 + }, + "minecraft:color": { + "value": 0 + }, + "minecraft:color2": { + "value": 7 + } + }, + "minecraft:ornate_butterfly": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 5 + }, + "minecraft:color": { + "value": 0 + }, + "minecraft:color2": { + "value": 1 + } + }, + "minecraft:parrot_fish": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 3 + }, + "minecraft:color": { + "value": 9 + }, + "minecraft:color2": { + "value": 6 + } + }, + "minecraft:queen_angel_fish": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 4 + }, + "minecraft:color": { + "value": 5 + }, + "minecraft:color2": { + "value": 3 + } + }, + "minecraft:red_cichlid": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 4 + }, + "minecraft:color": { + "value": 14 + }, + "minecraft:color2": { + "value": 0 + } + }, + "minecraft:red_lipped_benny": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 2 + }, + "minecraft:color": { + "value": 7 + }, + "minecraft:color2": { + "value": 14 + } + }, + "minecraft:red_snapper": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 3 + }, + "minecraft:color": { + "value": 14 + }, + "minecraft:color2": { + "value": 0 + } + }, + "minecraft:threadfin": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 0 + }, + "minecraft:color": { + "value": 0 + }, + "minecraft:color2": { + "value": 4 + } + }, + "minecraft:tomato_clown": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 1 + }, + "minecraft:color": { + "value": 14 + }, + "minecraft:color2": { + "value": 0 + } + }, + "minecraft:triggerfish": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 1 + }, + "minecraft:color": { + "value": 7 + }, + "minecraft:color2": { + "value": 0 + } + }, + "minecraft:yellow_tang": { + "minecraft:variant": { + "value": 1 + }, + "minecraft:mark_variant": { + "value": 1 + }, + "minecraft:color": { + "value": 4 + }, + "minecraft:color2": { + "value": 4 + } + }, + "minecraft:yellowtail_parrot": { + "minecraft:variant": { + "value": 0 + }, + "minecraft:mark_variant": { + "value": 3 + }, + "minecraft:color": { + "value": 9 + }, + "minecraft:color2": { + "value": 4 + } + } + }, + + "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": [ "tropicalfish", "fish" ] + }, + "minecraft:collision_box": { + "width": 0.4, + "height": 0.4 + }, + "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/tropicalfish.json" + }, + "minecraft:scale": { + "value": 1.3 + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_air": false, + "breathes_water": true + }, + "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.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.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:behavior.swim_wander": { + "priority": 4, + "interval": 0.1, + "look_ahead": 2.0, + "speed_multiplier": 1.0, + "wander_time": 5.0 + }, + "minecraft:flocking": { + "in_water": true, + "match_variants": true, + "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.75, + "cohesion_threshold": 1.5, + "innner_cohesion_threshold": 1.5, + "min_height": 1.5, + "max_height": 6.0, + "block_distance": 2.0, + "block_weight": 0.85 + }, + "minecraft:nameable": { + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:become_anenonme": { + "add": { "component_groups": [ "minecraft:anenonme" ] } + }, + "minecraft:become_black_tang": { + "add": { "component_groups": [ "minecraft:black_tang" ] } + }, + "minecraft:become_blue_dory": { + "add": { "component_groups": [ "minecraft:blue_dory" ] } + }, + "minecraft:become_butterfly_fish": { + "add": { "component_groups": [ "minecraft:butterfly_fish" ] } + }, + "minecraft:become_cichlid": { + "add": { "component_groups": [ "minecraft:cichlid" ] } + }, + "minecraft:become_clownfish": { + "add": { "component_groups": [ "minecraft:clownfish" ] } + }, + "minecraft:become_cc_betta": { + "add": { "component_groups": [ "minecraft:cc_betta" ] } + }, + "minecraft:become_dog_fish": { + "add": { "component_groups": [ "minecraft:dog_fish" ] } + }, + "minecraft:become_e_red_snapper": { + "add": { "component_groups": [ "minecraft:e_red_snapper" ] } + }, + "minecraft:become_goat_fish": { + "add": { "component_groups": [ "minecraft:goat_fish" ] } + }, + "minecraft:become_moorish_idol": { + "add": { "component_groups": [ "minecraft:moorish_idol" ] } + }, + "minecraft:become_ornate_butterfly": { + "add": { "component_groups": [ "minecraft:ornate_butterfly" ] } + }, + "minecraft:become_parrot_fish": { + "add": { "component_groups": [ "minecraft:parrot_fish" ] } + }, + "minecraft:become_queen_angel_fish": { + "add": { "component_groups": [ "minecraft:queen_angel_fish" ] } + }, + "minecraft:become_red_cichlid": { + "add": { "component_groups": [ "minecraft:red_cichlid" ] } + }, + "minecraft:become_red_lipped_benny": { + "add": { "component_groups": [ "minecraft:red_lipped_benny" ] } + }, + "minecraft:become_red_snapper": { + "add": { "component_groups": [ "minecraft:red_snapper" ] } + }, + "minecraft:become_threadfin": { + "add": { "component_groups": [ "minecraft:threadfin" ] } + }, + "minecraft:become_tomato_clown": { + "add": { "component_groups": [ "minecraft:tomato_clown" ] } + }, + "minecraft:become_triggerfish": { + "add": { "component_groups": [ "minecraft:triggerfish" ] } + }, + "minecraft:become_yellow_tang": { + "add": { "component_groups": [ "minecraft:yellow_tang" ] } + }, + "minecraft:become_yellow_tail_parrot": { + "add": { "component_groups": [ "minecraft:yellow_tail_parrot" ] } + }, + + + "minecraft:entity_spawned": { + "sequence": [ + { + "add": { + "component_groups": [ "adult" ] + } + }, + { + "randomize": [ + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_a" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_b" + ] + } + } + ] + }, + { + "randomize": [ + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_pattern_1" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_pattern_2" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_pattern_3" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_pattern_4" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_pattern_5" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_variant_pattern_6" + ] + } + } + ] + }, + { + "randomize": [ + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_white" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_orange" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_magenta" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_lightblue" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_yellow" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_lightgreen" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_pink" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_gray" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_silver" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_cyan" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_purple" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_blue" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_brown" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_green" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_base_red" + ] + } + } + ] + }, + { + "randomize": [ + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_white" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_orange" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_magenta" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_lightblue" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_yellow" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_lightgreen" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_pink" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_gray" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_silver" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_cyan" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_purple" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_blue" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_brown" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_green" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:tropicalfish_pattern_red" + ] + } + } + ] + } + ] + } + } + } +} diff --git a/behavior_pack/entities/turtle.json b/behavior_pack/entities/turtle.json new file mode 100644 index 0000000..e0f9fa8 --- /dev/null +++ b/behavior_pack/entities/turtle.json @@ -0,0 +1,303 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:turtle", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:baby": { + "minecraft:type_family": { + "family": [ "turtle", "baby_turtle", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 0.2 + }, + "minecraft:underwater_movement": { + "value": 0.06 + }, + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.16 + }, + "minecraft:behavior.move_to_water": { + "priority": 1, + "search_range": 15, + "search_height": 5, + "goal_radius": 0.1 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + "seagrass" + ], + "drop_items": [ + "turtle_shell_piece" + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + } + }, + + "minecraft:adult": { + "minecraft:experience_reward": { + "on_bred": "Math.Random(1,7)", + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:type_family": { + "family": [ "turtle", "mob" ] + }, + "minecraft:collision_box": { + "width": 1.2, + "height": 0.4 + }, + "minecraft:underwater_movement": { + "value": 0.12 + }, + "minecraft:loot": { + "table": "loot_tables/entities/sea_turtle.json" + }, + "minecraft:breedable": { + "require_tame": false, + "causes_pregnancy": true, + "breeds_with": { + "mate_type": "minecraft:turtle", + "baby_type": "minecraft:turtle", + "breed_event": { + "event": "minecraft:become_pregnant", + "target": "self" + } + }, + "breed_items": [ + "seagrass" + ] + }, + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.move_to_land": { + "priority": 6, + "search_range": 16, + "search_height": 5, + "goal_radius": 0.5 + }, + "minecraft:behavior.random_stroll": { + "priority": 9, + "interval": 100 + } + }, + + "minecraft:pregnant": { + "minecraft:behavior.go_home": { + "priority": 1, + "speed_multiplier": 1.0, + "interval": 700, + "goal_radius": 4.0, + "on_home": [ + { + "event": "minecraft:go_lay_egg", + "target": "self" + } + ] + } + }, + + "minecraft:wants_to_lay_egg": { + "minecraft:behavior.lay_egg": { + "priority": 1, + "speed_multiplier": 1.0, + "search_range": 16, + "search_height": 4, + "goal_radius": 1.5, + "on_lay": { + "event": "minecraft:laid_egg", + "target": "self" + } + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true, + "breathes_air": true, + "generates_bubbles": false + }, + "minecraft:nameable": { + }, + "minecraft:health": { + "value": 30 + }, + "minecraft:damage_sensor": { + "triggers": { + "cause": "lightning", + "deals_damage": true, + "damage_multiplier": 2000.0 + } + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.1 + }, + "minecraft:water_movement": { + "drag_factor": 0.9 + }, + "minecraft:navigation.generic": { + "is_amphibious": true, + "can_path_over_water": false, + "can_swim": true, + "can_walk": true, + "can_sink": false, + "avoid_damage_blocks": true + }, + "minecraft:movement.amphibious": { + "max_turn": 5.0 + }, + "minecraft:jump.static": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:home": { + }, + "minecraft:follow_range": { + "value": 1024 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + + "minecraft:behavior.panic": { + "priority": 0, + "prefer_water": true, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.tempt": { + "priority": 3, + "speed_multiplier": 1.1, + "can_tempt_vertically": true, + "items": [ + "seagrass" + ] + }, + "minecraft:behavior.move_to_water": { + "priority": 4, + "search_range": 16, + "search_height": 5, + "goal_radius": 1.5 + }, + "minecraft:behavior.random_swim": { + "priority": 7, + "interval": 0, + "xz_dist": 30, + "y_dist": 15 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "target_distance": 6.0, + "probability": 0.02 + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 9, + "add": { + "component_groups": [ + "minecraft:adult" + ] + } + }, + { + "weight": 1, + "add": { + "component_groups": [ + "minecraft:baby" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "add": { + "component_groups": [ + "minecraft:baby" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:adult" + ] + } + }, + + "minecraft:become_pregnant": { + "add": { + "component_groups": [ + "minecraft:pregnant" + ] + } + }, + + "minecraft:go_lay_egg": { + "add": { + "component_groups": [ + "minecraft:wants_to_lay_egg" + ] + }, + "remove": { + "component_groups": [ + "minecraft:pregnant" + ] + } + }, + + "minecraft:laid_egg": { + "remove": { + "component_groups": [ + "minecraft:wants_to_lay_egg" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/vex.json b/behavior_pack/entities/vex.json new file mode 100644 index 0000000..3a5d7d0 --- /dev/null +++ b/behavior_pack/entities/vex.json @@ -0,0 +1,144 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:vex", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "minecraft:start_damage_timer": { + "minecraft:timer": { + "looping": false, + "randomInterval": true, + "time": [ 30, 119 ], + "time_down_event": { + "event": "minecraft:add_periodic_damage" + } + } + }, + "minecraft:periodic_damage": { + "minecraft:damage_over_time": { + "damage_per_hurt": 1, + "time_between_hurt": 1.0 + } + } + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family": [ "vex", "monster", "mob" ] + }, + "minecraft:equipment": { + "table": "loot_tables/entities/vex_gear.json" + }, + "minecraft:health": { + "value": 14, + "max": 14 + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:collision_box": { + "width": 0.4, + "height": 0.8 + }, + "minecraft:movement": { + "value": 1.0 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true + }, + "minecraft:movement.basic": { + + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:fire_immune": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.charge_attack": { + "priority": 4 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 3, + "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": 70 + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "villager" }, + { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" } + ] + }, + "max_dist": 70 + } + ], + "must_see": true + }, + "minecraft:behavior.look_at_player": { + "priority": 9, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.look_at_entity": { + "priority": 9, + "look_distance": 6.0, + "probability": 0.02, + "filters": { "test" : "is_family", "subject" : "other", "value" : "mob"} + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:physics": { + "has_gravity": false, + "has_collision": false + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:game_event_movement_tracking": { + "emit_move": false, + "emit_swim": false + } + }, + "events": { + "minecraft:add_damage_timer": { + "add": { + "component_groups": [ "minecraft:start_damage_timer" ] + } + }, + "minecraft:add_periodic_damage": { + "add": { + "component_groups": [ "minecraft:periodic_damage" ] + }, + "remove": { + "component_groups": [ "minecraft:start_damage_timer" ] + } + } + } + } +} diff --git a/behavior_pack/entities/villager.json b/behavior_pack/entities/villager.json new file mode 100644 index 0000000..be2a026 --- /dev/null +++ b/behavior_pack/entities/villager.json @@ -0,0 +1,871 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:villager", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "minecraft:celebrate": { + "minecraft:behavior.celebrate_survive": { + "priority": 5, + "fireworks_interval": { + "range_min": 2.0, + "range_max": 7.0 + }, + "duration": 30.0, + "on_celebration_end_event": { + "event": "minecraft:stop_celebrating", + "target": "self" + } + }, + "minecraft:behavior.move_outdoors": { + "priority": 2, + "speed_multiplier": 0.8, + "timeout_cooldown": 8.0 + } + }, + + "become_witch": { + "minecraft:transformation": { + "into": "minecraft:witch", + "delay": 0.5 + } + }, + + "become_villager_v2": { + "minecraft:transformation": { + "into": "minecraft:villager_v2", + "keep_level": true + } + }, + + "become_zombie": { + "minecraft:transformation": { + "into": "minecraft:zombie_villager" + } + }, + + "behavior_peasant": { + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:bread", + "want_amount": 3, + "surplus_amount": 6, + "stored_in_inventory": true + }, + { + "item": "minecraft:carrot", + "want_amount": 60, + "surplus_amount": 4, + "stored_in_inventory": true + }, + { + "item": "minecraft:potato", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:beetroot", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:wheat_seeds", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:beetroot_seeds", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:wheat", + "want_amount": 45, + "surplus_amount": 18, + "craft_into": "minecraft:bread", + "stored_in_inventory": true + } + ] + }, + "minecraft:behavior.harvest_farm_block": { + "priority": 9, + "speed_multiplier": 0.5 + } + }, + + "behavior_non_peasant": { + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:bread", + "want_amount": 3, + "surplus_amount": 6, + "stored_in_inventory": true + }, + { + "item": "minecraft:carrot", + "want_amount": 12, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:potato", + "want_amount": 12, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:beetroot", + "want_amount": 12, + "surplus_amount": 24, + "stored_in_inventory": true + } + ] + } + }, + + "farmer":{ + "minecraft:type_family": { + "family":[ "villager", "peasant", "farmer", "mob" ] + }, + "minecraft:variant": { + "value": 0 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.farmer", + "table": "trading/farmer_trades.json", + "convert_trades_economy": true + } + }, + + "fisherman":{ + "minecraft:type_family": { + "family":[ "villager", "peasant", "fisherman", "mob" ] + }, + "minecraft:variant": { + "value": 0 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.fisherman", + "table": "trading/fisherman_trades.json", + "convert_trades_economy": true + } + }, + + "shepherd":{ + "minecraft:type_family": { + "family":[ "villager", "peasant", "shepherd", "mob" ] + }, + "minecraft:variant": { + "value": 0 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.shepherd", + "table": "trading/shepherd_trades.json", + "convert_trades_economy": true + } + }, + + "fletcher":{ + "minecraft:type_family": { + "family":[ "villager", "peasant", "fletcher", "mob" ] + }, + "minecraft:variant": { + "value": 0 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.fletcher", + "table": "trading/fletcher_trades.json", + "convert_trades_economy": true + } + }, + + "librarian":{ + "minecraft:type_family": { + "family":[ "villager", "librarian", "mob" ] + }, + "minecraft:variant": { + "value": 1 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.librarian", + "table": "trading/librarian_trades.json", + "convert_trades_economy": true + } + }, + + "cartographer":{ + "minecraft:type_family": { + "family":[ "villager", "cartographer", "mob" ] + }, + "minecraft:variant": { + "value": 1 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.cartographer", + "table": "trading/cartographer_trades.json", + "convert_trades_economy": true + } + }, + + "cleric":{ + "minecraft:type_family": { + "family":[ "villager", "priest", "cleric", "mob" ] + }, + "minecraft:variant": { + "value": 2 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.cleric", + "table": "trading/cleric_trades.json", + "convert_trades_economy": true + } + }, + + "armorer":{ + "minecraft:type_family": { + "family":[ "villager", "blacksmith", "armorer", "mob" ] + }, + "minecraft:variant": { + "value": 3 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.armor", + "table": "trading/armorer_trades.json", + "convert_trades_economy": true + } + }, + + "weaponsmith":{ + "minecraft:type_family": { + "family":[ "villager", "blacksmith", "weaponsmith", "mob" ] + }, + "minecraft:variant": { + "value": 3 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.weapon", + "table": "trading/weapon_smith_trades.json", + "convert_trades_economy": true + } + }, + + "toolsmith":{ + "minecraft:type_family": { + "family":[ "villager", "blacksmith", "toolsmith", "mob" ] + }, + "minecraft:variant": { + "value": 3 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.tool", + "table": "trading/tool_smith_trades.json", + "convert_trades_economy": true + } + }, + + "butcher":{ + "minecraft:type_family": { + "family":[ "villager", "artisan", "butcher", "mob" ] + }, + "minecraft:variant": { + "value": 4 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.butcher", + "table": "trading/butcher_trades.json", + "convert_trades_economy": true + } + }, + + "leatherworker":{ + "minecraft:type_family": { + "family":[ "villager", "artisan", "leatherworker", "mob" ] + }, + "minecraft:variant": { + "value": 4 + }, + + "minecraft:trade_table": { + "display_name": "entity.villager.leather", + "table": "trading/leather_worker_trades.json", + "convert_trades_economy": true + } + }, + + "baby": { + "minecraft:is_baby": { }, + "minecraft:scale": { + "value":0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.take_flower":{ + "priority": 7, + "filters": { + "all_of": [ + { "test": "is_daytime", "value" : true } + ] + } + }, + "minecraft:behavior.play": { + "priority": 8, + "speed_multiplier": 0.32 + } + }, + + "adult": { + "minecraft:behavior.make_love": { + "priority": 6 + }, + "minecraft:behavior.receive_love":{ + "priority": 7 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": ["villager", "mob"] + }, + + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:nameable": { + }, + "minecraft:movement": { + "value": 0.5 + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_path_over_water": true, + "can_pass_doors": true, + "can_open_doors": true, + "can_walk": true, + "avoid_water": true + }, + "minecraft:annotation.open_door": { + + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:inventory": { + "inventory_size": 8, + "private": true + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "on_damage": { + "filters": { "test" : "is_family", "subject" : "other", "value" : "lightning" }, + "event": "become_witch" + }, + "deals_damage": false + }, + { + "on_damage": { + "filters": { + "any_of": [ + {"test": "is_family", "subject": "other", "value": "zombie"}, + {"test": "is_family", "subject": "other", "value": "husk"} + ], + "all_of": [ + {"test": "has_damage", "value": "fatal"} + ] + }, + "event": "become_zombie" + } + } + ] + }, + "minecraft:persistent": { + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.trade_with_player": { + "priority": 1, + "filters": { + "all_of": [ + { + "all_of": [ + { "test": "in_water", "value": false } + ] + }, + { + "any_of": [ + { "test": "on_ground", "value": true }, + { "test": "is_sleeping", "value": true } + ] + } + ] + } + }, + "minecraft:behavior.look_at_trading_player": { + "priority": 2 + }, + "minecraft:behavior.panic": { + "priority": 3, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 3, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test" : "is_family", "subject" : "other", "value" : "zombie"}, + { "test" : "is_family", "subject" : "other", "value" : "zombie_villager"}, + { "test" : "is_family", "subject" : "other", "value" : "illager"}, + { "test" : "is_family", "subject" : "other", "value" : "vex"} + ] + }, + "max_dist": 8, + "walk_speed_multiplier": 0.6, + "sprint_speed_multiplier": 0.6 + } + ] + }, + "minecraft:behavior.move_indoors": { + "priority": 4, + "speed_multiplier": 0.8 + }, + "minecraft:behavior.restrict_open_door": { + "priority": 5 + }, + "minecraft:behavior.open_door": { + "priority": 6, + "close_door_after": true + }, + "minecraft:behavior.share_items": { + "priority": 8, + "max_dist": 3, + "goal_radius": 2.0, + "speed_multiplier": 0.5, + "entity_types": [ + { + "filters": { "test" : "is_family", "subject" : "other", "value" : "villager"} + } + ] + }, + "minecraft:behavior.pickup_items": { + "priority": 9, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 0.5, + "can_pickup_to_hand_or_equipment": false + }, + "minecraft:behavior.random_stroll": { + "priority": 11, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.look_at_player": { + "priority": 12, + "look_distance": 8, + "probability": 0.02 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + "events":{ + "become_witch": { + "add": { + "component_groups": [ + "become_witch" + ] + } + }, + "become_zombie": { + "sequence": [ + { + "filters": {"test": "is_difficulty", "value": "normal"}, + "randomize": [ + { + "weight": 50, + "add": { "component_groups": [ "become_zombie" ] } + }, + { + "weight": 50 + } + ] + }, + { + "filters": {"test": "is_difficulty", "value": "hard"}, + "add": { + "component_groups": [ + "become_zombie" + ] + } + } + ] + }, + "minecraft:entity_spawned": { + "sequence": [ + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "baby" ] } + }, + { + "weight": 95, + "add": { "component_groups": [ "adult" ] } + } + ] + }, + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "farmer", "behavior_peasant" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fisherman", "behavior_peasant" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "shepherd", "behavior_peasant" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fletcher", "behavior_peasant" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "librarian", "behavior_non_peasant" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cleric", "behavior_non_peasant" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "armorer", "behavior_non_peasant" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "butcher", "behavior_non_peasant" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] } + } + ] + } + ] + + }, + + "minecraft:entity_transformed": { + "sequence": [ + // Transform baby zombie to baby villager + { + "filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" }, + "add": { "component_groups": [ "baby" ] } + }, + // Transform adult zombie to adult villager + { + "filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }, + "add": { "component_groups": [ "adult" ] } + }, + + // Transform farmer zombie to farmer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "farmer"}, + "add": { "component_groups": [ "farmer", "behavior_peasant" ] } + }, + // Transform fisherman zombie to fisherman villager + { + "filters": { "test": "is_family", "subject": "other", "value": "fisherman"}, + "add": { "component_groups": [ "fisherman", "behavior_peasant" ] } + }, + // Transform shepherd zombie to shepherd villager + { + "filters": { "test": "is_family", "subject": "other", "value": "shepherd" }, + "add": { "component_groups": [ "shepherd", "behavior_peasant" ] } + }, + // Transform fletcher zombie to fletcher villager + { + "filters": { "test": "is_family", "subject": "other", "value": "fletcher" }, + "add": { "component_groups": [ "fletcher", "behavior_peasant" ] } + }, + // Transform librarian zombie to librarian villager + { + "filters": { "test": "is_family", "subject": "other", "value": "librarian" }, + "add": { "component_groups": [ "librarian", "behavior_non_peasant" ] } + }, + // Transform cartographer zombie to cartographer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "cartographer" }, + "add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] } + }, + // Transform cleric zombie to cleric villager + { + "filters": { "test": "is_family", "subject": "other", "value": "cleric" }, + "add": { "component_groups": [ "cleric", "behavior_non_peasant" ] } + }, + // Transform armorer zombie to armorer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "armorer" }, + "add": { "component_groups": [ "armorer", "behavior_non_peasant" ] } + }, + // Transform weaponsmith zombie to weaponsmith villager + { + "filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" }, + "add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] } + }, + // Transform toolsmith zombie to toolsmith villager + { + "filters": { "test": "is_family", "subject": "other", "value": "toolsmith" }, + "add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] } + }, + // Transform butcher zombie to butcher villager + { + "filters": { "test": "is_family", "subject": "other", "value": "butcher" }, + "add": { "component_groups": [ "butcher", "behavior_non_peasant" ] } + }, + // Transform leatherworker zombie to leatherworker villager + { + "filters": { "test": "is_family", "subject": "other", "value": "leatherworker" }, + "add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] } + } + ] + }, + + "minecraft:entity_born": { + "sequence": [ + { + "add": { "component_groups": [ "baby" ] } + }, + { + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "farmer", "behavior_peasant" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fisherman", "behavior_peasant" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "shepherd", "behavior_peasant" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fletcher", "behavior_peasant" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "librarian", "behavior_non_peasant" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cleric", "behavior_non_peasant" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "armorer", "behavior_non_peasant" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "weaponsmith", "behavior_non_peasant" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "toolsmith", "behavior_non_peasant" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "butcher", "behavior_non_peasant" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "leatherworker", "behavior_non_peasant" ] } + } + ] + } + ] + }, + + "minecraft:spawn_farmer": { + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "farmer", "adult", "behavior_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fisherman", "adult", "behavior_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "shepherd", "adult", "behavior_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fletcher", "adult", "behavior_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + } + ] + }, + + "minecraft:spawn_librarian": { + "randomize": [ + { + "weight": 20, + "add": { "component_groups": [ "librarian", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cartographer", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + } + ] + }, + + "minecraft:spawn_cleric": { + "add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + + "minecraft:spawn_armorer": { + "randomize": [ + { + "weight": 6, + "add": { "component_groups": [ "armorer", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "weaponsmith", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "toolsmith", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + } + ] + }, + + "minecraft:spawn_butcher": { + "randomize": [ + { + "weight": 10, + "add": { "component_groups": [ "butcher", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "leatherworker", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + } + ] + }, + + "minecraft:ageable_grow_up": { + "sequence": [ + { + "remove": { "component_groups": [ "baby" ] }, + "add": { "component_groups": [ "adult" ] } + } + ] + }, + + "minecraft:become_cleric": { + "add": { "component_groups": [ "cleric", "adult", "behavior_non_peasant" ] }, + "remove": { "component_groups": [ "baby" ] } + }, + + "minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is won + "add": { "component_groups": [ "minecraft:celebrate"] } + }, + + "minecraft:stop_celebrating": { + "remove": { "component_groups": [ "minecraft:celebrate" ] } + } + } + } +} diff --git a/behavior_pack/entities/villager_v2.json b/behavior_pack/entities/villager_v2.json new file mode 100644 index 0000000..6cd685e --- /dev/null +++ b/behavior_pack/entities/villager_v2.json @@ -0,0 +1,3293 @@ +{ + "format_version": "1.21.20", + "minecraft:entity": { + "description": { + "identifier": "minecraft:villager_v2", + "is_spawnable": true, + "is_summonable": false + }, + "component_groups": { + "minecraft:celebrate": { + "minecraft:behavior.celebrate_survive": { + "priority": 5, + "fireworks_interval": { + "range_min": 2.0, + "range_max": 7.0 + }, + "duration": 30.0, + "on_celebration_end_event": { + "event": "minecraft:stop_celebrating", + "target": "self" + } + }, + "minecraft:behavior.move_outdoors": { + "priority": 2, + "speed_multiplier": 0.8, + "timeout_cooldown": 8.0 + } + }, + "trade_resupply_component_group": { + "minecraft:trade_resupply": {} + }, + + "become_witch": { + "minecraft:transformation": { + "into": "minecraft:witch", + "delay": 0.5 + } + }, + + "become_zombie": { + "minecraft:transformation": { + "into": "minecraft:zombie_villager_v2", + "keep_level": true + } + }, + + "work_schedule": { + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 10, + "scheduled_events": [ + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 0 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 8000 + } + ] + }, + "event": "minecraft:schedule_work_pro_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 8000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 10000 + } + ] + }, + "event": "minecraft:schedule_gather_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 10000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 11000 + } + ] + }, + "event": "minecraft:schedule_work_pro_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 11000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 12000 + } + ] + }, + "event": "minecraft:schedule_home_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 12000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 24000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + } + ] + } + }, + + "basic_schedule": { + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 10, + "scheduled_events": [ + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 0 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 8000 + } + ] + }, + "event": "minecraft:schedule_wander_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 8000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 10000 + } + ] + }, + "event": "minecraft:schedule_gather_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 10000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 11000 + } + ] + }, + "event": "minecraft:schedule_wander_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 11000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 12000 + } + ] + }, + "event": "minecraft:schedule_home_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 12000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 24000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + } + ] + } + }, + + "child_schedule": { + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 10, + "scheduled_events": [ + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 0 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 11000 + } + ] + }, + "event": "minecraft:schedule_play_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 11000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 12000 + } + ] + }, + "event": "minecraft:schedule_home_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 12000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 24000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + } + ] + } + }, + + "jobless_schedule": { + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 10, + "scheduled_events": [ + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 2000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 13000 + } + ] + }, + "event": "minecraft:schedule_wander_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 13000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 14000 + } + ] + }, + "event": "minecraft:schedule_home_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 14000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 24000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 0 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 2000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + } + ] + } + }, + + "fisher_schedule": { + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 10, + "scheduled_events": [ + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 0 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 8000 + } + ] + }, + "event": "minecraft:schedule_work_fisher" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 8000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 10000 + } + ] + }, + "event": "minecraft:schedule_gather_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 10000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 11000 + } + ] + }, + "event": "minecraft:schedule_work_fisher" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 11000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 12000 + } + ] + }, + "event": "minecraft:schedule_home_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 12000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 24000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + } + ] + } + }, + + "librarian_schedule": { + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 10, + "scheduled_events": [ + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 0 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 8000 + } + ] + }, + "event": "minecraft:schedule_work_librarian" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 8000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 10000 + } + ] + }, + "event": "minecraft:schedule_gather_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 10000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 11000 + } + ] + }, + "event": "minecraft:schedule_work_librarian" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 11000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 12000 + } + ] + }, + "event": "minecraft:schedule_home_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 12000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 24000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + } + ] + } + }, + + "farmer_schedule": { + "minecraft:scheduler": { + "min_delay_secs": 0, + "max_delay_secs": 10, + "scheduled_events": [ + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 0 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 8000 + } + ] + }, + "event": "minecraft:schedule_work_farmer" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 8000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 10000 + } + ] + }, + "event": "minecraft:schedule_gather_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 10000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 11000 + } + ] + }, + "event": "minecraft:schedule_work_farmer" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 11000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 12000 + } + ] + }, + "event": "minecraft:schedule_home_villager" + }, + { + "filters": { + "all_of": [ + { + "test": "hourly_clock_time", + "operator": ">=", + "value": 12000 + }, + { + "test": "hourly_clock_time", + "operator": "<", + "value": 24000 + } + ] + }, + "event": "minecraft:schedule_bed_villager" + } + ] + } + }, + + // Every goal that has to do with villagers working should go here (work goals, secondary goals) + // so they can be successfuly removed on schedule change + "job_specific_goals": { + "minecraft:behavior.inspect_bookshelf": {}, + "minecraft:behavior.harvest_farm_block": {}, + "minecraft:behavior.explore_outskirts": {}, + "minecraft:behavior.work": {}, + "minecraft:behavior.work_composter": {}, + "minecraft:behavior.mingle": {}, + "minecraft:behavior.sleep": {} + }, + + "work_schedule_villager": { + "minecraft:behavior.work": { + "priority": 7, + "active_time": 250, + "speed_multiplier": 0.5, + "goal_cooldown": 200, + "sound_delay_min": 100, + "sound_delay_max": 200, + "can_work_in_rain": false, + "work_in_rain_tolerance": 100, + "on_arrival": { + "event": "minecraft:resupply_trades", + "target": "self" + } + } + }, + + "work_schedule_fisher": { + "minecraft:behavior.work": { + "priority": 7, + "active_time": 250, + "speed_multiplier": 0.5, + "goal_cooldown": 200, + "sound_delay_min": 100, + "sound_delay_max": 200, + "can_work_in_rain": false, + "work_in_rain_tolerance": 100, + "on_arrival": { + "event": "minecraft:resupply_trades", + "target": "self" + } + } + }, + + "work_schedule_farmer": { + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:bread", + "want_amount": 3, + "surplus_amount": 6, + "stored_in_inventory": true + }, + { + "item": "minecraft:carrot", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:potato", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:beetroot", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:wheat_seeds", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:beetroot_seeds", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:torchflower_seeds", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:pitcher_pod", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:bone_meal", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true + }, + { + "item": "minecraft:wheat", + "want_amount": 45, + "surplus_amount": 18, + "craft_into": "minecraft:bread", + "stored_in_inventory": true + } + ] + }, + "minecraft:behavior.work_composter": { + "priority": 9, + "active_time": 250, + "speed_multiplier": 0.5, + "goal_cooldown": 200, + "can_work_in_rain": false, + "work_in_rain_tolerance": 100, + "on_arrival": { + "event": "minecraft:resupply_trades", + "target": "self" + } + }, + "minecraft:behavior.harvest_farm_block": { + "priority": 7 + }, + "minecraft:behavior.fertilize_farm_block": { + "priority": 8 + } + }, + + "work_schedule_librarian": { + "minecraft:behavior.work": { + "priority": 7, + "active_time": 250, + "speed_multiplier": 0.5, + "goal_cooldown": 200, + "sound_delay_min": 100, + "sound_delay_max": 200, + "can_work_in_rain": false, + "work_in_rain_tolerance": 100, + "on_arrival": { + "event": "minecraft:resupply_trades", + "target": "self" + } + }, + "minecraft:behavior.inspect_bookshelf": { + "priority": 8, + "speed_multiplier": 0.6, + "search_range": 4, + "search_height": 3, + "goal_radius": 0.8, + "search_count": 0 + } + }, + + "play_schedule_villager": { + "minecraft:behavior.play": { + "priority": 8, + "speed_multiplier": 0.6, + "friend_types": [ + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "villager" + }, + { + "test": "is_baby", + "subject": "other", + "operator": "==", + "value": true + } + ] + } + } + ] + } + }, + + "gather_schedule_villager": { + "minecraft:behavior.mingle": { + "priority": 7, + "speed_multiplier": 0.5, + "duration": 30, + "cooldown_time": 10, + "mingle_partner_type": "minecraft:villager_v2", + "mingle_distance": 2.0 + } + }, + + "home_schedule_villager": { + + }, + + "bed_schedule_villager": { + "minecraft:behavior.sleep": { + "priority": 3, + "goal_radius": 1.5, + "speed_multiplier": 0.6, + "sleep_collider_height": 0.3, + "sleep_collider_width": 1.0, + "sleep_y_offset": 0.6, + "timeout_cooldown": 10.0 + } + }, + + + "wander_schedule_villager": { + "minecraft:behavior.explore_outskirts": { + "priority": 9, + "next_xz": 5, + "next_y": 3, + "min_wait_time": 3.0, + "max_wait_time": 10.0, + "max_travel_time": 60.0, + "speed_multiplier": 0.6, + "explore_dist": 6.0, + "min_perimeter": 1.0, + "min_dist_from_target": 2.5, + "timer_ratio": 2.0, + "dist_from_boundary": [ 5.0, 0.0, 5.0 ] + } + }, + + "behavior_peasant": { + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:bread", + "want_amount": 3, + "surplus_amount": 6, + "stored_in_inventory": true + }, + { + "item": "minecraft:carrot", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:potato", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:beetroot", + "want_amount": 60, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:wheat_seeds", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:beetroot_seeds", + "want_amount": 64, + "surplus_amount": 64, + "stored_in_inventory": true, + "pickup_only": true + }, + { + "item": "minecraft:wheat", + "want_amount": 45, + "surplus_amount": 18, + "craft_into": "minecraft:bread", + "stored_in_inventory": true + } + ] + } + }, + + "behavior_non_peasant": { + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:bread", + "want_amount": 3, + "surplus_amount": 6, + "stored_in_inventory": true + }, + { + "item": "minecraft:carrot", + "want_amount": 12, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:potato", + "want_amount": 12, + "surplus_amount": 24, + "stored_in_inventory": true + }, + { + "item": "minecraft:beetroot", + "want_amount": 12, + "surplus_amount": 24, + "stored_in_inventory": true + } + ] + } + }, + + // A grouping of components that should never be added + // however, they are here to flush out any artifact component groups + // that might linger between villager job switches + "trade_components": { + "minecraft:behavior.trade_interest": {}, + "minecraft:economy_trade_table": {} + }, + + "unskilled": { + "minecraft:type_family": { + "family": [ "villager", "peasant", "unskilled", "mob" ] + }, + "minecraft:variant": { + "value": 0 + } + }, + + "farmer": { + "minecraft:type_family": { + "family": [ "villager", "peasant", "farmer", "mob" ] + }, + "minecraft:variant": { + "value": 1 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.farmer", + "table": "trading/economy_trades/farmer_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "farmer", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "fisherman": { + "minecraft:type_family": { + "family": [ "villager", "peasant", "fisherman", "mob" ] + }, + "minecraft:variant": { + "value": 2 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.fisherman", + "table": "trading/economy_trades/fisherman_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "fisherman", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "shepherd": { + "minecraft:type_family": { + "family": [ "villager", "peasant", "shepherd", "mob" ] + }, + "minecraft:variant": { + "value": 3 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.shepherd", + "table": "trading/economy_trades/shepherd_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "shepherd", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "fletcher": { + "minecraft:type_family": { + "family": [ "villager", "peasant", "fletcher", "mob" ] + }, + "minecraft:variant": { + "value": 4 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.fletcher", + "table": "trading/economy_trades/fletcher_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "fletcher", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "librarian": { + "minecraft:type_family": { + "family": [ "villager", "librarian", "mob" ] + }, + "minecraft:variant": { + "value": 5 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.librarian", + "table": "trading/economy_trades/librarian_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "librarian", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "cartographer": { + "minecraft:type_family": { + "family": [ "villager", "cartographer", "mob" ] + }, + "minecraft:variant": { + "value": 6 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.cartographer", + "table": "trading/economy_trades/cartographer_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "cartographer", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "cleric": { + "minecraft:type_family": { + "family": [ "villager", "priest", "cleric", "mob" ] + }, + "minecraft:variant": { + "value": 7 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.cleric", + "table": "trading/economy_trades/cleric_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "cleric", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "armorer": { + "minecraft:type_family": { + "family": [ "villager", "blacksmith", "armorer", "mob" ] + }, + "minecraft:variant": { + "value": 8 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.armor", + "table": "trading/economy_trades/armorer_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "armorer", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "weaponsmith": { + "minecraft:type_family": { + "family": [ "villager", "blacksmith", "weaponsmith", "mob" ] + }, + "minecraft:variant": { + "value": 9 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.weapon", + "table": "trading/economy_trades/weapon_smith_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "weaponsmith", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "toolsmith": { + "minecraft:type_family": { + "family": [ "villager", "blacksmith", "toolsmith", "mob" ] + }, + "minecraft:variant": { + "value": 10 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.tool", + "table": "trading/economy_trades/tool_smith_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "toolsmith", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "butcher": { + "minecraft:type_family": { + "family": [ "villager", "artisan", "butcher", "mob" ] + }, + "minecraft:variant": { + "value": 11 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.butcher", + "table": "trading/economy_trades/butcher_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "butcher", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "leatherworker": { + "minecraft:type_family": { + "family": [ "villager", "artisan", "leatherworker", "mob" ] + }, + "minecraft:variant": { + "value": 12 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.leather", + "table": "trading/economy_trades/leather_worker_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "leatherworker", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "mason": { + "minecraft:type_family": { + "family": [ "villager", "artisan", "stone_mason", "mob" ] + }, + "minecraft:variant": { + "value": 13 + }, + "minecraft:behavior.trade_interest": { + "priority": 5, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:economy_trade_table": { + "display_name": "entity.villager.mason", + "table": "trading/economy_trades/stone_mason_trades.json", + "new_screen": true, + "persist_trades": true, + "cured_discount": [ -25, -20 ], + "max_cured_discount": [ -25, -20 ] + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "preferred_profession": "mason", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + } + }, + + "nitwit": { + "minecraft:type_family": { + "family": [ "villager", "peasant", "nitwit", "mob" ] + }, + "minecraft:variant": { + "value": 14 + } + }, + + "baby": { + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.take_flower": { + "priority": 9, + "filters": { + "all_of": [ + { + "test": "is_daytime", + "value": true + } + ] + } + }, + + "minecraft:preferred_path": { + "max_fall_blocks": 1, + "jump_cost": 5, + "default_block_cost": 1.5, + "preferred_path_blocks": [ + { + "cost": 0, + "blocks": [ + "grass_path" + ] + }, + { + "cost": 1, + "blocks": [ + "cobblestone", + "stone", + "granite", + "polished_granite", + "diorite", + "polished_diorite", + "andesite", + "polished_andesite", + "stone_bricks", + "mossy_stone_bricks", + "cracked_stone_bricks", + "chiseled_stone_bricks", + "sandstone", + "cut_sandstone", + "chiseled_sandstone", + "smooth_sandstone", + "mossy_cobblestone", + "smooth_stone_slab", + "sandstone_slab", + "cobblestone_slab", + "brick_slab", + "stone_brick_slab", + "quartz_slab", + "nether_brick_slab", + "red_sandstone_slab", + "purpur_slab", + "prismarine_slab", + "dark_prismarine_slab", + "prismarine_brick_slab", + "mossy_cobblestone", + "smooth_sandstone_slab", + "red_nether_brick_slab", + "end_stone_brick_slab", + "smooth_red_sandstone_slab", + "polished_andesite_slab", + "andesite_slab", + "diorite_slab", + "polished_diorite_slab", + "granite_slab", + "polished_granite_slab", + "mossy_stone_brick_slab", + "smooth_quartz_slab", + "normal_stone_slab", + "cut_sandstone_slab", + "cut_red_sandstone_slab", + "smooth_stone_double_slab", + "sandstone_double_slab", + "cobblestone_double_slab", + "brick_double_slab", + "stone_brick_double_slab", + "quartz_double_slab", + "nether_brick_double_slab", + "red_sandstone_double_slab", + "purpur_double_slab", + "prismarine_double_slab", + "dark_prismarine_double_slab", + "prismarine_brick_double_slab", + "mossy_cobblestone_double_slab", + "smooth_sandstone_double_slab", + "red_nether_brick_double_slab", + "end_stone_brick_double_slab", + "smooth_red_sandstone_double_slab", + "polished_andesite_double_slab", + "andesite_double_slab", + "diorite_double_slab", + "polished_diorite_double_slab", + "granite_double_slab", + "polished_granite_double_slab", + "mossy_stone_brick_double_slab", + "smooth_quartz_double_slab", + "normal_stone_double_slab", + "cut_sandstone_double_slab", + "cut_red_sandstone_double_slab", + "oak_slab", + "spruce_slab", + "birch_slab", + "jungle_slab", + "acacia_slab", + "dark_oak_slab", + "oak_double_slab", + "spruce_double_slab", + "birch_double_slab", + "jungle_double_slab", + "acacia_double_slab", + "dark_oak_double_slab", + "oak_planks", + "spruce_planks", + "birch_planks", + "jungle_planks", + "acacia_planks", + "dark_oak_planks", + "brick_block", + "nether_brick", + "red_nether_brick", + "end_bricks", + "red_sandstone", + "cut_red_sandstone", + "chiseled_red_sandstone", + "smooth_red_sandstone", + "white_stained_glass", + "orange_stained_glass", + "magenta_stained_glass", + "light_blue_stained_glass", + "yellow_stained_glass", + "lime_stained_glass", + "pink_stained_glass", + "gray_stained_glass", + "light_gray_stained_glass", + "cyan_stained_glass", + "purple_stained_glass", + "blue_stained_glass", + "brown_stained_glass", + "green_stained_glass", + "red_stained_glass", + "black_stained_glass", + "glass", + "glowstone", + "prismarine", + "emerald_block", + "diamond_block", + "lapis_block", + "gold_block", + "redstone_block", + "purple_glazed_terracotta", + "white_glazed_terracotta", + "orange_glazed_terracotta", + "magenta_glazed_terracotta", + "light_blue_glazed_terracotta", + "yellow_glazed_terracotta", + "lime_glazed_terracotta", + "pink_glazed_terracotta", + "gray_glazed_terracotta", + "silver_glazed_terracotta", + "cyan_glazed_terracotta", + "blue_glazed_terracotta", + "brown_glazed_terracotta", + "green_glazed_terracotta", + "red_glazed_terracotta", + "black_glazed_terracotta" + ] + }, + { + "cost": 50, + "blocks": [ + "bed", + "lectern", + "composter", + "grindstone", + "blast_furnace", + "smoker", + "fletching_table", + "cartography_table", + "brewing_stand", + "smithing_table", + "cauldron", + "barrel", + "loom", + "stonecutter" + ] + } + ] + } + }, + "make_and_receive_love": { + "minecraft:behavior.make_love": { + "priority": 5 + }, + "minecraft:behavior.receive_love": { + "priority": 6 + } + }, + "adult": { + "minecraft:preferred_path": { + "max_fall_blocks": 1, + "jump_cost": 20, + "default_block_cost": 3, + "preferred_path_blocks": [ + { + "cost": 0, + "blocks": [ + "grass_path" + ] + }, + { + "cost": 1, + "blocks": [ + "cobblestone", + "stone", + "granite", + "polished_granite", + "diorite", + "polished_diorite", + "andesite", + "polished_andesite", + "stone_bricks", + "mossy_stone_bricks", + "cracked_stone_bricks", + "chiseled_stone_bricks", + "sandstone", + "cut_sandstone", + "chiseled_sandstone", + "smooth_sandstone", + "mossy_cobblestone", + "smooth_stone_slab", + "sandstone_slab", + "cobblestone_slab", + "brick_slab", + "stone_brick_slab", + "quartz_slab", + "nether_brick_slab", + "red_sandstone_slab", + "purpur_slab", + "prismarine_slab", + "dark_prismarine_slab", + "prismarine_brick_slab", + "mossy_cobblestone_slab", + "smooth_sandstone_slab", + "red_nether_brick_slab", + "end_stone_brick_slab", + "smooth_red_sandstone_slab", + "polished_andesite_slab", + "andesite_slab", + "diorite_slab", + "polished_diorite_slab", + "granite_slab", + "polished_granite_slab", + "mossy_stone_brick_slab", + "smooth_quartz_slab", + "normal_stone_slab", + "cut_sandstone_slab", + "cut_red_sandstone_slab", + "smooth_stone_double_slab", + "sandstone_double_slab", + "cobblestone_double_slab", + "brick_double_slab", + "stone_brick_double_slab", + "quartz_double_slab", + "nether_brick_double_slab", + "red_sandstone_double_slab", + "purpur_double_slab", + "prismarine_double_slab", + "dark_prismarine_double_slab", + "prismarine_brick_double_slab", + "mossy_cobblestone_double_slab", + "smooth_sandstone_double_slab", + "red_nether_brick_double_slab", + "end_stone_brick_double_slab", + "smooth_red_sandstone_double_slab", + "polished_andesite_double_slab", + "andesite_double_slab", + "diorite_double_slab", + "polished_diorite_double_slab", + "granite_double_slab", + "polished_granite_double_slab", + "mossy_stone_brick_double_slab", + "smooth_quartz_double_slab", + "normal_stone_double_slab", + "cut_sandstone_double_slab", + "cut_red_sandstone_double_slab", + "oak_slab", + "spruce_slab", + "birch_slab", + "jungle_slab", + "acacia_slab", + "dark_oak_slab", + "oak_double_slab", + "spruce_double_slab", + "birch_double_slab", + "jungle_double_slab", + "acacia_double_slab", + "dark_oak_double_slab", + "oak_planks", + "spruce_planks", + "birch_planks", + "jungle_planks", + "acacia_planks", + "dark_oak_planks", + "brick_block", + "nether_brick", + "red_nether_brick", + "end_bricks", + "red_sandstone", + "cut_red_sandstone", + "chiseled_red_sandstone", + "smooth_red_sandstone", + "white_stained_glass", + "orange_stained_glass", + "magenta_stained_glass", + "light_blue_stained_glass", + "yellow_stained_glass", + "lime_stained_glass", + "pink_stained_glass", + "gray_stained_glass", + "light_gray_stained_glass", + "cyan_stained_glass", + "purple_stained_glass", + "blue_stained_glass", + "brown_stained_glass", + "green_stained_glass", + "red_stained_glass", + "black_stained_glass", + "glass", + "glowstone", + "prismarine", + "emerald_block", + "diamond_block", + "lapis_block", + "gold_block", + "redstone_block", + "purple_glazed_terracotta", + "white_glazed_terracotta", + "orange_glazed_terracotta", + "magenta_glazed_terracotta", + "light_blue_glazed_terracotta", + "yellow_glazed_terracotta", + "lime_glazed_terracotta", + "pink_glazed_terracotta", + "gray_glazed_terracotta", + "silver_glazed_terracotta", + "cyan_glazed_terracotta", + "blue_glazed_terracotta", + "brown_glazed_terracotta", + "green_glazed_terracotta", + "red_glazed_terracotta", + "black_glazed_terracotta" + ] + }, + { + "cost": 50, + "blocks": [ + "bed", + "lectern", + "composter", + "grindstone", + "blast_furnace", + "smoker", + "fletching_table", + "cartography_table", + "brewing_stand", + "smithing_table", + "cauldron", + "barrel", + "loom", + "stonecutter" + ] + } + ] + } + }, + + "villager_skin_0": { + "minecraft:skin_id": { + "value": 0 + } + }, + + "villager_skin_1": { + "minecraft:skin_id": { + "value": 1 + } + }, + + "villager_skin_2": { + "minecraft:skin_id": { + "value": 2 + } + }, + + "villager_skin_3": { + "minecraft:skin_id": { + "value": 3 + } + }, + + "villager_skin_4": { + "minecraft:skin_id": { + "value": 4 + } + }, + + "villager_skin_5": { + "minecraft:skin_id": { + "value": 5 + } + }, + + "desert_villager": { + "minecraft:mark_variant": { + "value": 1 + } + }, + + "jungle_villager": { + "minecraft:mark_variant": { + "value": 2 + } + }, + + "savanna_villager": { + "minecraft:mark_variant": { + "value": 3 + } + }, + + "snow_villager": { + "minecraft:mark_variant": { + "value": 4 + } + }, + + "swamp_villager": { + "minecraft:mark_variant": { + "value": 5 + } + }, + + "taiga_villager": { + "minecraft:mark_variant": { + "value": 6 + } + } + }, + + "components": { + "minecraft:equipment": { + "slot_drop_chance": [ + { + "slot": "slot.weapon.mainhand", + "drop_chance": 0.0 + } + ] + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:type_family": { + "family": [ "villager", "mob" ] + }, + "minecraft:mark_variant": { + "value": 0 // Villagers have the Plains biome skin by default + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "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:hide": { + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:nameable": { + }, + "minecraft:movement": { + "value": 0.5 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_pass_doors": true, + "can_open_doors": true, + "avoid_water": true + }, + "minecraft:follow_range": { + "value": 128 + }, + "minecraft:annotation.open_door": { + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:inventory": { + "inventory_size": 8, + "private": true + }, + "minecraft:dweller": { + "dwelling_type": "village", + "dweller_role": "inhabitant", + "update_interval_base": 60, + "update_interval_variant": 40, + "can_find_poi": true, + "can_migrate": true, + "first_founding_reward": 5 + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "on_damage": { + "filters": [ + { + "test": "is_family", + "subject": "other", + "value": "lightning" + }, + { + "test": "is_difficulty", + "operator": "!=", + "value": "peaceful" + } + ], + "event": "become_witch" + }, + "deals_damage": false + }, + { + "on_damage": { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "zombie" + }, + { + "test": "is_family", + "subject": "other", + "value": "husk" + } + ], + "all_of": [ + { + "test": "has_damage", + "value": "fatal" + } + ] + }, + "event": "become_zombie" + } + } + ] + }, + "minecraft:persistent": { + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.hide": { + "priority": 0, + "speed_multiplier": 0.8, + "poi_type": "bed", + "duration": 30.0 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.trade_with_player": { + "priority": 2, + "filters": { + "all_of": [ + { + "all_of": [ + { + "test": "in_water", + "value": false + } + ] + }, + { + "any_of": [ + { + "test": "on_ground", + "value": true + }, + { + "test": "is_sleeping", + "value": true + } + ] + } + ] + } + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 4, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "zombie" + }, + { + "test": "is_family", + "subject": "other", + "value": "zombie_villager" + }, + { + "test": "is_family", + "subject": "other", + "value": "illager" + }, + { + "test": "is_family", + "subject": "other", + "value": "vex" + }, + { + "test": "is_family", + "subject": "other", + "value": "zoglin" + } + ] + }, + "max_dist": 8, + "walk_speed_multiplier": 0.6, + "sprint_speed_multiplier": 0.6 + } + ] + }, + "minecraft:behavior.pickup_items": { + "priority": 4, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 0.5, + "can_pickup_to_hand_or_equipment": false + }, + "minecraft:behavior.move_indoors": { + "priority": 6, + "speed_multiplier": 0.8, + "timeout_cooldown": 8.0 + }, + "minecraft:behavior.look_at_trading_player": { + "priority": 7 + }, + "minecraft:behavior.look_at_player": { + "priority": 9, + "look_distance": 8, + "probability": 0.02 + }, + "minecraft:behavior.share_items": { + "priority": 10, + "max_dist": 3, + "goal_radius": 2.0, + "speed_multiplier": 0.5, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "villager" + } + } + ] + }, + "minecraft:behavior.move_towards_dwelling_restriction": { + "priority": 11, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.random_stroll": { + "priority": 11, + "speed_multiplier": 0.6 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + } + }, + "events": { + "become_witch": { + "add": { + "component_groups": [ + "become_witch" + ] + } + }, + "become_zombie": { + "sequence": [ + { + "filters": { + "test": "is_difficulty", + "value": "normal" + }, + "randomize": [ + { + "weight": 50, + "add": { "component_groups": [ "become_zombie" ] } + }, + { + "weight": 50 + } + ] + }, + { + "filters": { + "test": "is_difficulty", + "value": "hard" + }, + "add": { + "component_groups": [ + "become_zombie" + ] + } + } + ] + }, + "minecraft:entity_spawned": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:skin_id" + }, + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_0" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_1" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_2" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_3" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_4" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_5" ] } + } + ] + }, + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:variant" + }, + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 95, + "sequence": [ + { + "add": { "component_groups": [ "adult", "make_and_receive_love" ] } + }, + { + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "farmer", "behavior_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "fisherman", "behavior_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "shepherd", "behavior_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "fletcher", "behavior_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "librarian", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "cartographer", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "cleric", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "armorer", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "weaponsmith", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "toolsmith", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "butcher", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "leatherworker", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "mason", "behavior_non_peasant", "basic_schedule" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "nitwit", "behavior_peasant", "jobless_schedule" ] } + } + ] + } + ] + } + ] + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "desert" + }, + { + "test": "has_biome_tag", + "value": "mesa" + } + ] + }, + "add": { "component_groups": [ "desert_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "jungle" + }, + "add": { "component_groups": [ "jungle_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "savanna" + }, + "add": { "component_groups": [ "savanna_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "all_of": [ + { + "test": "has_biome_tag", + "value": "cold" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "ocean" + } + ] + }, + { + "test": "has_biome_tag", + "value": "frozen" + } + ] + }, + "add": { "component_groups": [ "snow_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "swamp" + }, + { + "test": "has_biome_tag", + "value": "mangrove_swamp" + } + ] + }, + "add": { "component_groups": [ "swamp_villager" ] } + }, + { + "filters": { + "all_of": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "value": "extreme_hills" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "cold" + } + ] + }, + "add": { "component_groups": [ "taiga_villager" ] } + } + ] + }, + + "minecraft:spawn_from_village": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:variant" + }, + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 95, + "add": { "component_groups": [ "adult", "make_and_receive_love" ] }, + "sequence": [ + { + "randomize": [ + { + "weight": 90, + "add": { "component_groups": [ "unskilled", "behavior_peasant", "basic_schedule" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "nitwit", "behavior_peasant", "jobless_schedule" ] } + } + ] + } + ] + } + ] + }, + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:skin_id" + }, + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_0" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_1" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_2" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_3" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_4" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_5" ] } + } + ] + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "desert" + }, + { + "test": "has_biome_tag", + "value": "mesa" + } + ] + }, + "add": { "component_groups": [ "desert_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "jungle" + }, + "add": { "component_groups": [ "jungle_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "savanna" + }, + "add": { "component_groups": [ "savanna_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "all_of": [ + { + "test": "has_biome_tag", + "value": "cold" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "ocean" + } + ] + }, + { + "test": "has_biome_tag", + "value": "frozen" + } + ] + }, + "add": { "component_groups": [ "snow_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "swamp" + }, + { + "test": "has_biome_tag", + "value": "mangrove_swamp" + } + ] + }, + "add": { "component_groups": [ "swamp_villager" ] } + }, + { + "filters": { + "all_of": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "value": "extreme_hills" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "cold" + } + ] + }, + "add": { "component_groups": [ "taiga_villager" ] } + } + ] + }, + + "minecraft:entity_transformed": { + "sequence": [ + // Transform to baby villager + { + "filters": { + "test": "has_component", + "subject": "other", + "operator": "==", + "value": "minecraft:is_baby" + }, + "add": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + // Transform to adult villager + "filters": { + "test": "has_component", + "subject": "other", + "operator": "!=", + "value": "minecraft:is_baby" + }, + "sequence": [ + // Transform to adult villager + { + "add": { "component_groups": [ "adult", "make_and_receive_love" ] } + }, + // Transform to farmer villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "farmer" + }, + "add": { "component_groups": [ "farmer", "behavior_peasant", "farmer_schedule" ] } + }, + // Transform to fisherman villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "fisherman" + }, + "add": { "component_groups": [ "fisherman", "behavior_peasant", "fisher_schedule" ] } + }, + // Transform to shepherd villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "shepherd" + }, + "add": { "component_groups": [ "shepherd", "behavior_peasant", "work_schedule" ] } + }, + // Transform to fletcher villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "fletcher" + }, + "add": { "component_groups": [ "fletcher", "behavior_peasant", "work_schedule" ] } + }, + // Transform to librarian villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "librarian" + }, + "add": { "component_groups": [ "librarian", "behavior_non_peasant", "librarian_schedule" ] } + }, + // Transform to cartographer villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "cartographer" + }, + "add": { "component_groups": [ "cartographer", "behavior_non_peasant", "work_schedule" ] } + }, + // Transform to cleric villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "cleric" + }, + "add": { "component_groups": [ "cleric", "behavior_non_peasant", "work_schedule" ] } + }, + // Transform to armorer villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "armorer" + }, + "add": { "component_groups": [ "armorer", "behavior_non_peasant", "work_schedule" ] } + }, + // Transform to weaponsmith villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "weaponsmith" + }, + "add": { "component_groups": [ "weaponsmith", "behavior_non_peasant", "work_schedule" ] } + }, + // Transform to toolsmith villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "toolsmith" + }, + "add": { "component_groups": [ "toolsmith", "behavior_non_peasant", "work_schedule" ] } + }, + // Transform to butcher villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "butcher" + }, + "add": { "component_groups": [ "butcher", "behavior_non_peasant", "work_schedule" ] } + }, + // Transform to leatherworker villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "leatherworker" + }, + "add": { "component_groups": [ "leatherworker", "behavior_non_peasant", "work_schedule" ] } + }, + // Transform to mason villager + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "stone_mason" + }, + "add": { "component_groups": [ "mason", "behavior_non_peasant", "work_schedule" ] } + } + ] + }, + { + // Transform from zombie to correct villager skin (mark var already set) + "filters": { + "test": "is_family", + "subject": "other", + "operator": "==", + "value": "zombie_villager" + }, + "sequence": [ + { + "filters": { + "test": "is_skin_id", + "subject": "other", + "value": 0 + }, + "add": { "component_groups": [ "villager_skin_0" ] } + }, + { + "filters": { + "test": "is_skin_id", + "subject": "other", + "value": 1 + }, + "add": { "component_groups": [ "villager_skin_1" ] } + }, + { + "filters": { + "test": "is_skin_id", + "subject": "other", + "value": 2 + }, + "add": { "component_groups": [ "villager_skin_2" ] } + }, + { + "filters": { + "test": "is_skin_id", + "subject": "other", + "value": 3 + }, + "add": { "component_groups": [ "villager_skin_3" ] } + }, + { + "filters": { + "test": "is_skin_id", + "subject": "other", + "value": 4 + }, + "add": { "component_groups": [ "villager_skin_4" ] } + }, + { + "filters": { + "test": "is_skin_id", + "subject": "other", + "value": 5 + }, + "add": { "component_groups": [ "villager_skin_5" ] } + }, + { + "filters": { + "test": "is_mark_variant", + "subject": "other", + "value": 1 + }, + "add": { "component_groups": [ "desert_villager" ] } + }, + { + "filters": { + "test": "is_mark_variant", + "subject": "other", + "value": 2 + }, + "add": { "component_groups": [ "jungle_villager" ] } + }, + { + "filters": { + "test": "is_mark_variant", + "subject": "other", + "value": 3 + }, + "add": { "component_groups": [ "savanna_villager" ] } + }, + { + "filters": { + "test": "is_mark_variant", + "subject": "other", + "value": 4 + }, + "add": { "component_groups": [ "snow_villager" ] } + }, + { + "filters": { + "test": "is_mark_variant", + "subject": "other", + "value": 5 + }, + "add": { "component_groups": [ "swamp_villager" ] } + }, + { + "filters": { + "test": "is_mark_variant", + "subject": "other", + "value": 6 + }, + "add": { "component_groups": [ "taiga_villager" ] } + } + ] + }, + { + // Transform from v1 - > v2 to correct villager skin (mark var not set so test biome) + "filters": { + "test": "is_family", + "subject": "other", + "operator": "==", + "value": "villager" + }, + "sequence": [ + { + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_0" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_1" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_2" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_3" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_4" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_5" ] } + } + ] + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "desert" + }, + { + "test": "has_biome_tag", + "value": "mesa" + } + ] + }, + "add": { "component_groups": [ "desert_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "jungle" + }, + "add": { "component_groups": [ "jungle_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "savanna" + }, + "add": { "component_groups": [ "savanna_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "all_of": [ + { + "test": "has_biome_tag", + "value": "cold" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "ocean" + } + ] + }, + { + "test": "has_biome_tag", + "value": "frozen" + } + ] + }, + "add": { "component_groups": [ "snow_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "swamp" + }, + { + "test": "has_biome_tag", + "value": "mangrove_swamp" + } + ] + }, + "add": { "component_groups": [ "swamp_villager" ] } + }, + { + "filters": { + "all_of": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "value": "extreme_hills" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "cold" + } + ] + }, + "add": { "component_groups": [ "taiga_villager" ] } + } + ] + } + ] + }, + + "minecraft:entity_born": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:skin_id" + }, + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_0" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_1" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_2" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_3" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_4" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_5" ] } + } + ] + }, + { + "add": { "component_groups": [ "baby", "unskilled", "child_schedule" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "desert" + }, + "add": { "component_groups": [ "desert_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "jungle" + }, + "add": { "component_groups": [ "jungle_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "savanna" + }, + "add": { "component_groups": [ "savanna_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "cold" + }, + { + "test": "has_biome_tag", + "value": "frozen" + } + ] + }, + "add": { "component_groups": [ "snow_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "test": "has_biome_tag", + "value": "swamp" + }, + { + "test": "has_biome_tag", + "value": "mangrove_swamp" + } + ] + }, + "add": { "component_groups": [ "swamp_villager" ] } + }, + { + "filters": { + "test": "has_biome_tag", + "value": "taiga" + }, + "add": { "component_groups": [ "taiga_villager" ] } + } + ] + }, + + "minecraft:spawn_farmer": { + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "farmer", "adult", "make_and_receive_love", "behavior_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fisherman", "adult", "make_and_receive_love", "behavior_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "shepherd", "adult", "make_and_receive_love", "behavior_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fletcher", "adult", "make_and_receive_love", "behavior_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "mason", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + } + ] + }, + + "minecraft:spawn_librarian": { + "randomize": [ + { + "weight": 20, + "add": { "component_groups": [ "librarian", "adult", "make_and_receive_love", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cartographer", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + } + ] + }, + + "minecraft:spawn_cleric": { + "add": { "component_groups": [ "cleric", "adult", "make_and_receive_love", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + + "minecraft:spawn_armorer": { + "randomize": [ + { + "weight": 6, + "add": { "component_groups": [ "armorer", "adult", "make_and_receive_love", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "weaponsmith", "adult", "make_and_receive_love", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "toolsmith", "adult", "make_and_receive_love", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + } + ] + }, + + "minecraft:spawn_butcher": { + "randomize": [ + { + "weight": 10, + "add": { "component_groups": [ "butcher", "adult", "make_and_receive_love", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "leatherworker", "adult", "make_and_receive_love", "behavior_non_peasant", "basic_schedule" ] }, + "remove": { "component_groups": [ "baby", "child_schedule" ] } + } + ] + }, + + "minecraft:ageable_grow_up": { + "randomize": [ + { + "weight": 10, + "remove": { "component_groups": [ "baby", "child_schedule" ] }, + "add": { "component_groups": [ "adult", "make_and_receive_love", "nitwit", "behavior_peasant", "jobless_schedule" ] } + }, + { + "weight": 90, + "remove": { "component_groups": [ "baby", "child_schedule" ] }, + "add": { "component_groups": [ "adult", "make_and_receive_love", "unskilled", "behavior_peasant", "basic_schedule" ] } + } + ] + }, + + "minecraft:become_unskilled": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "adult", "make_and_receive_love", "unskilled", "behavior_peasant", "basic_schedule" ] } + }, + + "minecraft:become_cleric": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "cleric", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_farmer": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "farmer", "adult", "make_and_receive_love", "behavior_peasant", "farmer_schedule" ] } + }, + + "minecraft:become_fisherman": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "fisherman", "adult", "make_and_receive_love", "behavior_non_peasant", "fisher_schedule" ] } + }, + + "minecraft:become_fletcher": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "fletcher", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_librarian": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "librarian", "adult", "make_and_receive_love", "behavior_non_peasant", "librarian_schedule" ] } + }, + + "minecraft:become_cartographer": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "cartographer", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_armorer": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "armorer", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_weaponsmith": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "weaponsmith", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_toolsmith": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "toolsmith", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_butcher": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "butcher", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_leatherworker": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "leatherworker", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_sheperd": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "shepherd", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:become_mason": { + "remove": { "component_groups": [ "baby", "child_schedule", "job_specific_goals", "trade_components" ] }, + "add": { "component_groups": [ "mason", "adult", "make_and_receive_love", "behavior_non_peasant", "work_schedule" ] } + }, + + "minecraft:schedule_wander_villager": { + "remove": { "component_groups": [ "home_schedule_villager", "bed_schedule_villager", "wander_schedule_villager", "job_specific_goals", "play_schedule_villager", "trade_resupply_component_group" ] }, + "add": { "component_groups": [ "make_and_receive_love", "wander_schedule_villager" ] } + }, + + "minecraft:schedule_gather_villager": { + "remove": { "component_groups": [ "bed_schedule_villager", "wander_schedule_villager", "home_schedule_villager", "job_specific_goals", "play_schedule_villager", "trade_resupply_component_group" ] }, + "add": { "component_groups": [ "make_and_receive_love", "gather_schedule_villager" ] } + }, + + "minecraft:schedule_home_villager": { + "remove": { "component_groups": [ "bed_schedule_villager", "wander_schedule_villager", "gather_schedule_villager", "job_specific_goals", "play_schedule_villager", "trade_resupply_component_group" ] }, + "add": { "component_groups": [ "make_and_receive_love", "home_schedule_villager" ] } + }, + + "minecraft:schedule_bed_villager": { + "remove": { "component_groups": [ "make_and_receive_love", "home_schedule_villager", "gather_schedule_villager", "wander_schedule_villager", "job_specific_goals", "play_schedule_villager", "trade_resupply_component_group" ] }, + "add": { "component_groups": [ "bed_schedule_villager" ] } + }, + + "minecraft:schedule_play_villager": { + "remove": { "component_groups": [ "home_schedule_villager", "gather_schedule_villager", "wander_schedule_villager", "bed_schedule_villager", "job_specific_goals", "trade_resupply_component_group" ] }, + "add": { "component_groups": [ "play_schedule_villager" ] } + }, + + "minecraft:schedule_work_pro_villager": { + "remove": { "component_groups": [ "home_schedule_villager", "gather_schedule_villager", "wander_schedule_villager", "bed_schedule_villager", "play_schedule_villager" ] }, + "add": { "component_groups": [ "make_and_receive_love", "work_schedule_villager" ] } + }, + + "minecraft:schedule_work_farmer": { + "remove": { "component_groups": [ "home_schedule_villager", "gather_schedule_villager", "wander_schedule_villager", "bed_schedule_villager", "job_specific_goals", "play_schedule_villager" ] }, + "add": { "component_groups": [ "make_and_receive_love", "work_schedule_farmer" ] } + }, + + "minecraft:schedule_work_fisher": { + "remove": { "component_groups": [ "home_schedule_villager", "gather_schedule_villager", "wander_schedule_villager", "bed_schedule_villager", "job_specific_goals", "play_schedule_villager" ] }, + "add": { "component_groups": [ "make_and_receive_love", "work_schedule_fisher" ] } + }, + + "minecraft:schedule_work_librarian": { + "remove": { "component_groups": [ "home_schedule_villager", "gather_schedule_villager", "wander_schedule_villager", "bed_schedule_villager", "job_specific_goals", "play_schedule_villager" ] }, + "add": { "component_groups": [ "make_and_receive_love", "work_schedule_librarian" ] } + }, + + "minecraft:resupply_trades": { + "add": { "component_groups": [ "trade_resupply_component_group" ] } + }, + + "minecraft:start_celebrating": { // Event must be called exactly this for village to fire it when a raid is won + "add": { "component_groups": [ "minecraft:celebrate" ] } + }, + + "minecraft:stop_celebrating": { + "remove": { "component_groups": [ "minecraft:celebrate" ] } + } + } + } +} diff --git a/behavior_pack/entities/vindicator.json b/behavior_pack/entities/vindicator.json new file mode 100644 index 0000000..44d7c76 --- /dev/null +++ b/behavior_pack/entities/vindicator.json @@ -0,0 +1,444 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:vindicator", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "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": { "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:loot": { + "table": "loot_tables/entities/pillager_captain.json" + } + }, + "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:loot": { + "table": "loot_tables/entities/pillager_captain.json" + }, + "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": { + // Components + "minecraft:equip_item": { + }, + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:banner:15", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + } + ] + }, + "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:can_join_raid": { + }, + "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" + } + } + ] + }, + "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" + }, + // Behaviors + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 2, + "entity_types": [ + { + "filters": { "test": "is_family", "subject": "other", "value": "creaking" }, + "max_dist": 8, + "sprint_speed_multiplier": 1.2 + } + ] + }, + "minecraft:behavior.melee_box_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, + "entity_types": { + "filters": { + "test": "is_family", "subject": "other", "operator": "!=", "value": "illager" + }, + "max_dist": 64 + } + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.pickup_items": { + "priority": 7, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0 + }, + "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" ] } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/wandering_trader.json b/behavior_pack/entities/wandering_trader.json new file mode 100644 index 0000000..b5c2a41 --- /dev/null +++ b/behavior_pack/entities/wandering_trader.json @@ -0,0 +1,324 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:wandering_trader", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "managed": { + "minecraft:managed_wandering_trader": {} + }, + "despawning": { + "minecraft:type_family": { + "family": [ "wandering_trader", "wandering_trader_despawning", "mob" ] + } + }, + "minecraft:scared": { + "minecraft:angry": { + "duration": 5, + "broadcastAnger": true, + "broadcastRange": 10, + "broadcast_targets": [ + "llama", + "trader_llama" + ], + "broadcast_filters": { "test": "is_leashed_to", "subject": "other", "value": true }, + "calm_event": { + "event": "minecraft:become_calm", + "target": "self" + } + } + } + }, + + "components": { + "minecraft:type_family": { + "family": [ "wandering_trader", "mob" ] + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:timer": { + "looping": false, + "random_time_choices": [ + { "weight": 50, "value": 2400 }, + { "weight": 50, "value": 3600 } + ], + "time_down_event": { + "event": "minecraft:start_despawn", + "target": "self" + } + }, + "minecraft:spawn_entity": { + "entities": [ + { + "min_wait_time": 0, + "max_wait_time": 0, + "spawn_entity": "trader_llama", + "spawn_event": "minecraft:from_wandering_trader", + "single_use": true, + "num_to_spawn": 2, + "should_leash": true + } + ] + }, + "minecraft:economy_trade_table": { + "display_name": "entity.wandering_trader.name", + "table": "trading/economy_trades/wandering_trader_trades.json", + "new_screen": true + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:movement": { + "value": 0.5 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "can_pass_doors": true, + "can_open_doors": false, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:home": { + "restriction_radius": 16 + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:despawn": { + "remove_child_entities": true, + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "is_family", "subject": "self", "value": "wandering_trader_despawning" }, + { "test": "has_trade_supply", "subject": "self", "value": false } + ] + }, + { "test": "distance_to_nearest_player", "operator": ">", "value": 24 } + ] + } + }, + "minecraft:damage_sensor": { + "triggers": [ + { + "cause": "entity_attack", + "deals_damage": true, + "on_damage": { + "event": "minecraft:become_scared" + } + }, + { + "cause": "projectile", + "deals_damage": true, + "on_damage": { + "event": "minecraft:become_scared" + } + }, + { + "cause": "magic", + "deals_damage": true, + "on_damage": { + "event": "minecraft:become_scared" + } + } + ] + }, + "minecraft:behavior.trade_with_player": { + "priority": 1, + "filters": { + "all_of": [ + { + "all_of": [ + { "test": "in_water", "value": false } + ] + }, + { + "any_of": [ + { "test": "on_ground", "value": true }, + { "test": "is_sleeping", "value": true } + ] + } + ] + } + }, + "minecraft:behavior.trade_interest": { + "priority": 3, + "within_radius": 6.0, + "interest_time": 45.0, + "remove_item_time": 1.0, + "carried_item_switch_time": 2.0, + "cooldown": 2.0 + }, + "minecraft:behavior.look_at_trading_player": { + "priority": 4 + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.drink_potion": { + "priority": 1, + "speed_modifier": -0.2, + "potions": [ + { + "id": 7, // Short invisibility + "chance": 1.0, + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "hourly_clock_time", "operator": ">=", "value": 18000 }, + { "test": "hourly_clock_time", "operator": "<", "value": 12000 } + ] + }, + { "test": "is_visible", "subject": "self", "value": true }, + { + "any_of": [ + { "test": "is_avoiding_mobs", "subject": "self", "value": true }, + { + "all_of": [ + { "test": "has_component", "subject": "self", "value": "minecraft:angry" }, + { "test": "is_family", "subject": "target", "operator": "!=", "value": "player" } + ] + } + ] + } + ] + } + }, + { + "id": 8, // Long invisibility + "chance": 1.0, + "filters": { + "all_of": [ + { "test": "hourly_clock_time", "operator": ">=", "value": 12000 }, + { "test": "hourly_clock_time", "operator": "<", "value": 18000 }, + { "test": "is_visible", "subject": "self", "value": true }, + { + "any_of": [ + { "test": "is_avoiding_mobs", "subject": "self", "value": true }, + { "test": "has_component", "subject": "self", "value": "minecraft:angry" } + ] + } + ] + } + } + ] + }, + "minecraft:behavior.avoid_mob_type": { + "priority": 2, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "zombie" }, + { "test": "is_family", "subject": "other", "value": "zombie_villager" }, + { "test": "is_family", "subject": "other", "value": "zombie_pigman" }, + { "test": "is_family", "subject": "other", "value": "illager" }, + { "test": "is_family", "subject": "other", "value": "vex" }, + { "test" : "is_family", "subject" : "other", "value" : "zoglin" } + ] + }, + "walk_speed_multiplier": 0.6, + "sprint_speed_multiplier": 0.6 + } + ], + "max_dist": 6 + }, + "minecraft:behavior.drink_milk": { + "priority": 5, + "filters": { + "all_of": [ + { "test": "is_daytime", "value" : true }, + { "test": "is_visible", "subject": "self", "value": false }, + { "test": "is_avoiding_mobs", "subject": "self", "value": false } + ] + } + }, + "minecraft:behavior.move_towards_home_restriction": { + "priority": 6, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 0.6 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 8, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:nameable": { + } + }, + "events": { + "minecraft:scheduled": { + "add": { + "component_groups": [ + "managed" + ] + } + }, + "minecraft:start_despawn": { + "add": { + "component_groups": [ + "despawning" + ] + } + }, + "minecraft:become_scared": { + "add": { + "component_groups": [ + "minecraft:scared" + ] + } + }, + "minecraft:become_calm": { + "remove": { + "component_groups": [ + "minecraft:scared" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/warden.json b/behavior_pack/entities/warden.json new file mode 100644 index 0000000..4abae6d --- /dev/null +++ b/behavior_pack/entities/warden.json @@ -0,0 +1,231 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:warden", + "spawn_category": "monster", + "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:preferred_path": { + "max_fall_blocks": 20 + }, + "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_box_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" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/wind_charge_projectile.json b/behavior_pack/entities/wind_charge_projectile.json new file mode 100644 index 0000000..5c36f51 --- /dev/null +++ b/behavior_pack/entities/wind_charge_projectile.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:wind_charge_projectile", + "is_spawnable": false, + "is_summonable": true + }, + "components": { + "minecraft:explode": { + "power": 1.2, + "particle_effect": "wind_burst", + "sound_effect": "wind_charge.burst", + "knockback_scaling": 1.22, + "negates_fall_damage": true, + "causes_fire": false, + "breaks_blocks": false, + "allow_underwater": true, + "toggles_blocks": true, + "damage_scaling": 0, + "max_resistance": 0 + }, + "minecraft:collision_box": { + "width": 0.3125, + "height": 0.3125 + }, + "minecraft:projectile": { + "on_hit": { + "impact_damage": { + "damage": 1, + "max_critical_damage": 1.0, + "knockback": true + }, + "wind_burst_on_hit": {} + }, + "power": 1.5, + "gravity": 0.0, + "inertia": 1.0, + "liquid_inertia": 1.0, + "uncertainty_base": 1.0, + "uncertainty_multiplier": 0.0, + "reflect_on_hurt": true, + "multiple_targets": false, + "reflect_immunity": 0.5, + "ignored_entities": [ + "ender_crystal", + "wind_charge_projectile", + "breeze_wind_charge_projectile" + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": false, + "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 + } + }, + "minecraft:type_family": { + "family": [ "wind_charge", "wind_charge_projectile" ] + } + } + } +} diff --git a/behavior_pack/entities/witch.json b/behavior_pack/entities/witch.json new file mode 100644 index 0000000..01da3a8 --- /dev/null +++ b/behavior_pack/entities/witch.json @@ -0,0 +1,374 @@ +{ + "format_version": "1.19.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:witch", + "spawn_category": "monster", + "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: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": 3, + "speed_multiplier": 1.2, + "goal_radius": 2.0 + }, + "minecraft:ambient_sound_interval": { + "value": 2.0, + "range": 4.0, + "event_name": "ambient.in.raid" + } + }, + "minecraft:raid_persistence": { + "minecraft:persistent": {} + } + }, + "components": { + "minecraft:damage_sensor": { }, + "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:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:nameable": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/witch.json" + }, + "minecraft:health": { + "value": 26, + "max": 26 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": false + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.float": { + "priority": 1 + }, + "minecraft:behavior.ranged_attack": { + "priority": 2, + "speed_multiplier": 1.0, + "attack_interval_min": 3, + "attack_interval_max": 3, + "attack_radius": 10.0 + }, + "minecraft:shooter": { + "power" : 0.75, + "def": "minecraft:splash_potion", + "aux_val" : 23, // harming + "sound" : "throw", + "projectiles" : [ + { + "def" : "minecraft:splash_potion", + "aux_val" : 21, // healing + "filters" : { + "all_of" : [ + { "test": "is_raider", "subject": "other", "value": true }, + { "test": "actor_health", "subject": "other", "value": 4, "operator" : "<=" } + ] + }, + "lose_target" : true + }, + { + "def" : "minecraft:splash_potion", + "aux_val" : 28, // regeneration + "filters" : { + "all_of" : [ + { "test": "is_raider", "subject": "other", "value": true } + ] + }, + "lose_target" : true + }, + { + "def" : "minecraft:splash_potion", + "aux_val" : 17, // slowness + "filters" : { + "all_of" : [ + { "test" : "target_distance", "subject" : "self", "value" : 8.0, "operator" : ">="}, + { + "none_of":[ + { "test": "has_mob_effect", "subject": "other", "value": "slowness" } + ] + } + ] + } + }, + { + "def" : "minecraft:splash_potion", + "aux_val" : 25, // poison + "filters" : { + "all_of" : [ + { "test" : "actor_health", "subject" : "other", "value" : 8, "operator" : ">="}, + { + "none_of": [ + { "test": "has_mob_effect", "subject": "other", "value": "poison" } + ] + } + ] + } + }, + { + "def" : "minecraft:splash_potion", + "aux_val" : 34, // weakness + "filters" : { + "all_of" : [ + { "test" : "target_distance", "subject" : "self", "value" : 3, "operator" : "<="}, + { + "none_of":[ + { "test": "has_mob_effect", "subject": "other", "value": "weakness" } + ] + } + ] + }, + "chance" : 0.25 + } + ], + "magic" : true + }, + "minecraft:behavior.random_stroll": { + "priority": 4, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.look_at_player": { + "priority": 5, + "look_distance": 16.0 + }, + "minecraft:behavior.random_look_around": { + "priority": 5, + "look_distance": 8.0 + }, + "minecraft:behavior.drink_potion": { + "priority": 1, + "speed_modifier": -0.25, + "potions": [ + { + "id": 19, // Water breathing + "chance": 0.15, + "filters": { + "all_of": [ + { "test": "is_underwater", "subject": "self", "value": true }, + { + "none_of": [ + { "test": "has_mob_effect", "subject": "self", "value": "water_breathing" } + ] + } + ] + } + }, + { + "id": 12, // Fire resistance + "chance": 0.15, + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "on_fire", "subject": "self", "value": true }, + { "test": "on_hot_block", "subject": "self", "value": true }, + { "test": "taking_fire_damage", "subject": "self", "value": true } + ] + }, + { + "none_of": [ + { "test": "has_mob_effect", "subject": "self", "value": "fire_resistance" } + ] + } + ] + } + }, + { + "id": 21, // Healing + "chance": 0.05, + "filters": { + "all_of": [ + { "test": "is_missing_health", "subject": "self", "value": true } + ] + } + }, + { + "id": 14, // Swiftness + "chance": 0.25, + "filters": { + "all_of": [ + { "test": "has_target", "subject": "self", "value": true }, + { + "none_of": [ + { "test": "has_mob_effect", "subject": "self", "value": "speed" } + ] + }, + { "test": "target_distance", "subject": "self", "value": 11.0, "operator": ">=" } + ] + } + } + ] + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.nearest_prioritized_attackable_target": { + "priority": 2, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "snowgolem" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "priority": 1, + "max_dist": 10 + }, + { + "filters": { + "all_of": [ + { + "test": "is_raider", + "subject": "other", + "value": true + }, + { + "test": "is_raider", + "subject": "self", + "value": true + }, + { + "none_of":[ + { + "test": "is_family", + "subject": "other", + "value": "witch" + } + ] + } + ] + }, + "priority": 2, + "cooldown" : 10, + "max_dist": 10 + } + ], + "must_reach": true + }, + "minecraft:type_family": { + "family": [ "witch", "monster", "mob" ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:follow_range": { + "value": 64 + }, + "minecraft:can_join_raid": { + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + "events": { + "minecraft:spawn_for_raid": { + "add": { + "component_groups": [ + "minecraft:raid_configuration", + "minecraft:raid_persistence" + ] + } + }, + "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" ] } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/wither.json b/behavior_pack/entities/wither.json new file mode 100644 index 0000000..1bfc62a --- /dev/null +++ b/behavior_pack/entities/wither.json @@ -0,0 +1,145 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:wither", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:experience_reward": { + "on_death": "50" + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:boss": { + "should_darken_sky": true, + "hud_range": 55 + }, + "minecraft:damage_sensor": { + "triggers": { + "on_damage": { + "filters": { + "test": "is_family", + "subject": "other", + "value": "undead" + } + }, + "deals_damage": false + } + }, + "minecraft:health": { + "value": 600, + "max": 600 + }, + "minecraft:collision_box": { + "width": 1, + "height": 3 + }, + "minecraft:fire_immune": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/wither_boss.json" + }, + "minecraft:nameable": { + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + "max_turn": 180.0 + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:can_fly": { + }, + "minecraft:behavior.float": { + "priority": 1 + }, + "minecraft:behavior.wither_random_attack_pos_goal": { + "priority": 3 + }, + "minecraft:behavior.wither_target_highest_damage": { + "priority": 1 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 2 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 3, + "entity_types": [ + { + "filters": { "test" : "is_family", "subject" : "other", "value" : "player"}, + "max_dist": 70 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "undead" + }, + { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "inanimate" + } + ] + }, + "max_dist": 70 + } + ], + "must_see": true + }, + "minecraft:behavior.random_stroll": { + "priority": 5, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_target": { + "priority": 5 + }, + "minecraft:behavior.look_at_player": { + "priority": 6, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 7 + }, + "minecraft:type_family": { + "family": [ "wither", "skeleton", "monster", "undead", "mob" ] + }, + "minecraft:persistent": { + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + + } + } + } +} diff --git a/behavior_pack/entities/wither_skeleton.json b/behavior_pack/entities/wither_skeleton.json new file mode 100644 index 0000000..40bb60f --- /dev/null +++ b/behavior_pack/entities/wither_skeleton.json @@ -0,0 +1,532 @@ +{ + "format_version": "1.16.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:wither_skeleton", + "spawn_category": "monster", + "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 ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:nameable": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.72, + "height": 2.01 + }, + "minecraft:attack": { + "damage": 4, + "effect_name": "wither", + "effect_duration": 10 + }, + "minecraft:loot": { + "table": "loot_tables/entities/wither_skeleton.json" + }, + "minecraft:equipment": { + "table": "loot_tables/entities/wither_skeleton_gear.json" + }, + "minecraft:movement": { + "value": 0.25 + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "avoid_sun": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:wooden_shovel", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:stone_shovel", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:golden_shovel", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:iron_shovel", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:diamond_shovel", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_shovel", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:wooden_pickaxe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:stone_pickaxe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:golden_pickaxe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:iron_pickaxe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:diamond_pickaxe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_pickaxe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:wooden_axe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:stone_axe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:golden_axe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:iron_axe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:diamond_axe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_axe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:wooden_hoe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:stone_hoe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:golden_hoe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:iron_hoe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:diamond_hoe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_hoe", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:scale": { + "value": 1.2 + }, + "minecraft:fire_immune": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "reselect_targets": true, + "must_see": true, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "player" + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "piglin" + }, + { + "test": "is_difficulty", + "operator": "!=", + "value": "peaceful" + } + ] + }, + "max_dist": 16 + }, + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "irongolem" + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "track_target": true, + "speed_multiplier": 1.25 + }, + "minecraft:behavior.pickup_items": { + "priority": 5, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 8 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:type_family": { + "family": [ "wither", "monster", "undead", "skeleton", "mob" ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + + } + } + } +} diff --git a/behavior_pack/entities/wither_skull.json b/behavior_pack/entities/wither_skull.json new file mode 100644 index 0000000..ec48691 --- /dev/null +++ b/behavior_pack/entities/wither_skull.json @@ -0,0 +1,83 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:wither_skull", + "is_spawnable": false, + "is_summonable": false + }, + + "component_groups": { + "minecraft:exploding": { + "minecraft:explode": { + "fuse_length": 0, + "fuse_lit": true, + "power": 1, + "causes_fire": false, + "destroy_affected_by_griefing": true + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 0.15, + "height": 0.15 + }, + "minecraft:projectile": { + "on_hit": { + "definition_event": { + "affect_projectile": true, + "event_trigger": { + "event": "minecraft:explode", + "target": "self" + } + }, + "mob_effect": { + "effect": "wither", + "durationeasy": 0, + "durationnormal": 200, + "durationhard": 800, + "amplifier": 1 + } + }, + "power": 1.2, + "gravity": 0.00, + "uncertainty_base": 7.5, + "uncertainty_multiplier": 1, + "shoot_sound": "bow", + "hit_sound": "bow.hit", + "anchor": 1, + "offset": [ 0, -0.1, 0 ], + "inertia": 1.0, + "liquid_inertia": 1.0, + "shoot_target": false + }, + "minecraft:physics": { + }, + "minecraft:dimension_bound": { + }, + "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 + } + } + }, + + "events": { + "minecraft:explode": { + "add": { + "component_groups": [ + "minecraft:exploding" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/wither_skull_dangerous.json b/behavior_pack/entities/wither_skull_dangerous.json new file mode 100644 index 0000000..5c1a2d8 --- /dev/null +++ b/behavior_pack/entities/wither_skull_dangerous.json @@ -0,0 +1,86 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:wither_skull_dangerous", + "is_spawnable": false, + "is_summonable": false + }, + + "component_groups": { + "minecraft:exploding": { + "minecraft:explode": { + "fuse_length": 0, + "fuse_lit": true, + "power": 1, + "causes_fire": false, + "max_resistance": 4.0, + "destroy_affected_by_griefing": true + } + } + }, + + "components": { + "minecraft:collision_box": { + "width": 0.15, + "height": 0.15 + }, + "minecraft:projectile": { + "on_hit": { + "definition_event": { + "affect_projectile": true, + "event_trigger": { + "event": "minecraft:explode", + "target": "self" + } + }, + "mob_effect": { + "effect": "wither", + "durationeasy": 0, + "durationnormal": 200, + "durationhard": 800, + "amplifier": 1 + } + }, + "power": 0.6, + "gravity": 0.00, + "uncertainty_base": 7.5, + "uncertainty_multiplier": 1, + "shoot_sound": "bow", + "hit_sound": "bow.hit", + "anchor": 1, + "offset": [ 0, -0.1, 0 ], + "is_dangerous": true, + "inertia": 1.0, + "liquid_inertia": 1.0, + "shoot_target": false, + "reflect_on_hurt": true + }, + "minecraft:physics": { + }, + "minecraft:dimension_bound": { + }, + "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 + } + } + }, + + "events": { + "minecraft:explode": { + "add": { + "component_groups": [ + "minecraft:exploding" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/wolf.json b/behavior_pack/entities/wolf.json new file mode 100644 index 0000000..15b8706 --- /dev/null +++ b/behavior_pack/entities/wolf.json @@ -0,0 +1,1189 @@ +{ + "format_version": "1.21.40", + "minecraft:entity": { + "description": { + "identifier": "minecraft:wolf", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true, + "properties": { + "minecraft:is_armorable": { + "type": "bool", + "client_sync": false, + "default": false + }, + "minecraft:has_increased_max_health": { + "type": "bool", + "client_sync": false, + "default": false + } + } + }, + + "component_groups": { + "minecraft:wolf_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:ageable": { + "duration": 1200, + "feed_items": [ + "chicken", + "cooked_chicken", + "beef", + "cooked_beef", + "muttonRaw", + "muttonCooked", + "porkchop", + "cooked_porkchop", + "rabbit", + "cooked_rabbit", + "rotten_flesh" + ], + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.25 + } + }, + + "minecraft:wolf_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/wolf.json" + }, + "minecraft:breedable": { + "require_tame": true, + "require_full_health": true, + "combine_parent_colors": true, + "breeds_with": { + "mate_type": "minecraft:wolf", + "baby_type": "minecraft:wolf", + "breed_event": { + "event": "minecraft:entity_born", + "target": "baby" + } + }, + "breed_items": [ + "chicken", + "cooked_chicken", + "beef", + "cooked_beef", + "muttonRaw", + "muttonCooked", + "porkchop", + "cooked_porkchop", + "rabbit", + "cooked_rabbit", + "rotten_flesh" + ] + } + }, + + "minecraft:wolf_angry": { + "minecraft:angry": { + "duration": 25, + "broadcast_anger": true, + "broadcast_range": 20, + "broadcast_anger_when_dying": false, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + }, + "minecraft:on_target_acquired": { + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.675, -0.1 ] + } + } + }, + + "minecraft:wolf_wild": { + "minecraft:behavior.avoid_mob_type": { + "priority": 3, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "llama" + }, + "max_dist": 24, + "walk_speed_multiplier": 1.5, + "sprint_speed_multiplier": 1.5 + } + ], + "probability_per_strength": 0.14 + }, + "minecraft:tameable": { + "probability": 0.33, + "tame_items": "bone", + "tame_event": { + "event": "minecraft:on_tame", + "target": "self" + } + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 4, + "reselect_targets": true, + "must_see": true, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "skeleton" + }, + { + "test": "is_family", + "subject": "other", + "value": "sheep" + }, + { + "test": "is_family", + "subject": "other", + "value": "rabbit" + }, + { + "test": "is_family", + "subject": "other", + "value": "fox" + } + ] + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 16 + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "skeleton" + }, + { + "test": "is_underwater", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 16 + } + ] + }, + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry", + "target": "self" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 0.675, -0.1 ] + } + } + }, + + "minecraft:wolf_increased_max_health": { + "minecraft:health": { + "value": 40, + "max": 40 + } + }, + + "minecraft:on_tame_collar_color": { + "minecraft:color": { + "value": 14 + } + }, + + "minecraft:wolf_tame": { + "minecraft:is_tamed": { + }, + "minecraft:attack": { + "damage": 4 + }, + "minecraft:behavior.teleport_to_owner": { + "priority": 1, + "filters": { + "any_of": [ + { + "all_of": [ + { + "test": "owner_distance", + "operator": ">", + "value": 12 + }, + { "test": "is_panicking" } + ] + }, + { + "all_of": [ + { + "test": "owner_distance", + "operator": ">", + "value": 24 + }, + { "test": "has_target" } + ] + } + ] + } + }, + "minecraft:behavior.owner_hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.breed": { + "priority": 2, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.owner_hurt_target": { + "priority": 2 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 5, + "must_see": true, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "value": "skeleton" + }, + "max_dist": 16 + } + ] + }, + "minecraft:behavior.follow_owner": { + "priority": 6, + "speed_multiplier": 1.0, + "start_distance": 10, + "stop_distance": 2 + }, + "minecraft:sittable": { + }, + "minecraft:is_dyeable": { + "interact_text": "action.interact.dye" + } + }, + + "minecraft:wolf_armorable": { + "minecraft:interact": { + "interactions": [ + { + "on_interact": { + "filters": { + "all_of": [ + { + "test": "has_equipment", + "subject": "self", + "domain": "armor", + "operator": "not", + "value": "wolf_armor" + }, + { + "test": "has_equipment", + "subject": "other", + "domain": "hand", + "value": "wolf_armor" + }, + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_owner", + "subject": "other", + "value": true + }, + { + "test": "is_sneak_held", + "subject": "other", + "value": false + } + ] + }, + "target": "self" + }, + "equip_item_slot": "slot.armor.body", + "play_sounds": "armor.equip_wolf", + "interact_text": "action.interact.equipwolfarmor" + }, + { + "on_interact": { + "filters": { + "all_of": [ + { + "test": "has_equipment", + "subject": "self", + "domain": "armor", + "value": "wolf_armor" + }, + { + "test": "has_equipment", + "subject": "other", + "domain": "hand", + "value": "shears" + }, + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_owner", + "subject": "other", + "value": true + }, + { + "test": "is_sneak_held", + "subject": "other", + "value": false + } + ] + }, + "target": "self" + }, + "hurt_item": 1, + "drop_item_slot": "slot.armor.body", + "play_sounds": "armor.unequip_wolf", + "interact_text": "action.interact.removewolfarmor", + "vibration": "shear" + }, + { + "on_interact": { + "filters": { + "all_of": [ + { + "test": "is_sitting", + "subject": "self" + }, + { + "test": "has_damaged_equipment", + "subject": "self", + "domain": "armor", + "value": "wolf_armor" + }, + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_owner", + "subject": "other", + "value": true + }, + { + "test": "is_sneak_held", + "subject": "other", + "value": false + }, + { + "test": "has_equipment", + "domain": "hand", + "subject": "other", + "value": "armadillo_scute" + } + ] + }, + "target": "self" + }, + "repair_entity_item": { + "slot": "slot.armor.body", + "amount": 8 + }, + "use_item": true, + "play_sounds": "armor.repair_wolf", + "interact_text": "action.interact.repairwolfarmor" + } + ] + } + }, + + "minecraft:wolf_pale": { + "minecraft:variant": { + "value": 0 + } + }, + + "minecraft:wolf_ashen": { + "minecraft:variant": { + "value": 1 + } + }, + + "minecraft:wolf_black": { + "minecraft:variant": { + "value": 2 + } + }, + + "minecraft:wolf_chestnut": { + "minecraft:variant": { + "value": 3 + } + }, + + "minecraft:wolf_rusty": { + "minecraft:variant": { + "value": 4 + } + }, + + "minecraft:wolf_snowy": { + "minecraft:variant": { + "value": 5 + } + }, + + "minecraft:wolf_spotted": { + "minecraft:variant": { + "value": 6 + } + }, + + "minecraft:wolf_striped": { + "minecraft:variant": { + "value": 7 + } + }, + + "minecraft:wolf_woods": { + "minecraft:variant": { + "value": 8 + } + } + }, + + "components": { + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0, + "on_leash": { + "event": "minecraft:on_leash", + "target": "self" + }, + "on_unleash": { + "event": "minecraft:on_unleash", + "target": "self" + } + }, + "minecraft:balloonable": { + "mass": 0.8 + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:nameable": { + }, + "minecraft:type_family": { + "family": [ "wolf", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0 + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 0.8 + }, + "minecraft:health": { + "value": 8, + "max": 8 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:movement": { + "value": 0.3 + }, + "minecraft:navigation.walk": { + "can_path_over_water": true, + "avoid_damage_blocks": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:healable": { + "items": [ + { + "item": "porkchop", + "heal_amount": 6 + }, + { + "item": "cooked_porkchop", + "heal_amount": 16 + }, + { + "item": "fish", + "heal_amount": 4 + }, + { + "item": "salmon", + "heal_amount": 4 + }, + { + "item": "clownfish", + "heal_amount": 2 + }, + { + "item": "pufferfish", + "heal_amount": 2 + }, + { + "item": "cooked_fish", + "heal_amount": 10 + }, + { + "item": "cooked_salmon", + "heal_amount": 12 + }, + { + "item": "beef", + "heal_amount": 6 + }, + { + "item": "cooked_beef", + "heal_amount": 16 + }, + { + "item": "chicken", + "heal_amount": 4 + }, + { + "item": "cooked_chicken", + "heal_amount": 12 + }, + { + "item": "muttonRaw", + "heal_amount": 4 + }, + { + "item": "muttonCooked", + "heal_amount": 12 + }, + { + "item": "rotten_flesh", + "heal_amount": 8 + }, + { + "item": "rabbit", + "heal_amount": 6 + }, + { + "item": "cooked_rabbit", + "heal_amount": 10 + }, + { + "item": "rabbit_stew", + "heal_amount": 20 + } + ] + }, + "minecraft:environment_sensor": { + "triggers": [ + { + // Pre 1.20.70, we overwrote the "health" attribute in "wolf_tame". In 1.20.70, we tweaked its values. As attributes are applied + // to pre-existing runtime entities only after composition changes, this alone wouldn't have affected old Wolves. To ensure all + // Wolves receive the adjustment, we now overwrite the "health" attribute via a separate component group, applying it at runtime. + "filters": { + "all_of": [ + { + "test": "bool_property", + "operator": "!=", + "domain": "minecraft:has_increased_max_health" + }, + { + "test": "has_component", + "value": "minecraft:is_tamed" + } + ] + }, + "event": "minecraft:increase_max_health" + }, + { + // We apply "wolf_armorable" this way instead of reacting to "ageable_grow_up" and "on_tame" as that will fail if + // the events are emittied in the same tick. Moreover, this takes care of upgrading pre-existing adult tame Wolves. + "filters": { + "all_of": [ + { + "test": "bool_property", + "operator": "!=", + "domain": "minecraft:is_armorable" + }, + { + "test": "has_component", + "operator": "!=", + "value": "minecraft:is_baby" + }, + { + "test": "has_component", + "value": "minecraft:is_tamed" + } + ] + }, + "event": "minecraft:become_armorable" + } + ] + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:behavior.float": { + "priority": 0 + }, + "minecraft:behavior.mount_pathing": { + "priority": 1, + "speed_multiplier": 1.25, + "target_dist": 0, + "track_target": true + }, + "minecraft:behavior.panic": { + "priority": 2, + "speed_multiplier": 1.25, + "damage_sources": [ "campfire", "fire", "fire_tick", "freezing", "lightning", "lava", "magma", "temperature", "soul_campfire" ], + "ignore_mob_damage": true + }, + "minecraft:behavior.stay_while_sitting": { + "priority": 3 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 3 + }, + "minecraft:behavior.leap_at_target": { + "priority": 4, + "yd": 0.4 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 5 + }, + "minecraft:behavior.look_at_player": { + "priority": 6, + "target_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_stroll": { + "priority": 8, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.beg": { + "priority": 9, + "look_distance": 8, + "look_time": [ 2, 4 ], + "items": [ + "bone", + "porkchop", + "cooked_porkchop", + "chicken", + "cooked_chicken", + "beef", + "cooked_beef", + "rotten_flesh", + "muttonraw", + "muttoncooked", + "rabbit", + "cooked_rabbit" + ] + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + { + // Pale Wolf: every non-cold Taiga, except Old Growth Pine Taiga and Old Growth Spruce Taiga. + "filters": { + "all_of": [ + { + "test": "has_biome_tag", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "cold" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "mega" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "mutated" + } + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_pale" + ] + } + }, + { + // Ashen Wolf: every cold Taiga. + "filters": { + "all_of": [ + { + "test": "has_biome_tag", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "value": "cold" + } + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_ashen" + ] + } + }, + { + // Black Wolf: Old Growth Pine Taiga only. + "filters": { + "all_of": [ + { + "test": "has_biome_tag", + "value": "mega" + }, + { + "test": "has_biome_tag", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "value": "forest" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "mutated" + } + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_black" + ] + } + }, + { + // Chestnut Wolf: Old Growth Spruce Taiga only. + "filters": { + "all_of": [ + { + "test": "has_biome_tag", + "value": "mega" + }, + { + "test": "has_biome_tag", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "value": "forest" + }, + { + "test": "has_biome_tag", + "value": "mutated" + } + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_chestnut" + ] + } + }, + { + // Rusty Wolf: every Jungle, which is broader than the variant's spawn rule. + "filters": { + "test": "has_biome_tag", + "value": "jungle" + }, + "add": { + "component_groups": [ + "minecraft:wolf_rusty" + ] + } + }, + { + // Snowy Wolf: Grove only. + "filters": { + "test": "has_biome_tag", + "value": "grove" + }, + "add": { + "component_groups": [ + "minecraft:wolf_snowy" + ] + } + }, + { + // Spotted Wolf: every Savanna, which is broader than the variant's spawn rule. + "filters": { + "test": "has_biome_tag", + "value": "savanna" + }, + "add": { + "component_groups": [ + "minecraft:wolf_spotted" + ] + } + }, + { + // Striped Wolf: every Badland, which is broader than the variant's spawn rule. + "filters": { + "test": "has_biome_tag", + "value": "mesa" + }, + "add": { + "component_groups": [ + "minecraft:wolf_striped" + ] + } + }, + { + // Woods Wolf: Forest only. + "filters": { + "all_of": [ + { + "test": "has_biome_tag", + "value": "forest" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "birch" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "roofed" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "mutated" + }, + { + "test": "has_biome_tag", + "operator": "not", + "value": "mountain" + } + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_woods" + ] + } + } + ] + }, + + "minecraft:entity_born": { + "trigger": "minecraft:spawn_tame_baby" + }, + + "minecraft:spawn_wild_pale": { + "add": { + "component_groups": [ + "minecraft:wolf_pale" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_ashen": { + "add": { + "component_groups": [ + "minecraft:wolf_ashen" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_black": { + "add": { + "component_groups": [ + "minecraft:wolf_black" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_chestnut": { + "add": { + "component_groups": [ + "minecraft:wolf_chestnut" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_rusty": { + "add": { + "component_groups": [ + "minecraft:wolf_rusty" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_snowy": { + "add": { + "component_groups": [ + "minecraft:wolf_snowy" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_spotted": { + "add": { + "component_groups": [ + "minecraft:wolf_spotted" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_striped": { + "add": { + "component_groups": [ + "minecraft:wolf_striped" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_woods": { + "add": { + "component_groups": [ + "minecraft:wolf_woods" + ] + }, + "trigger": "minecraft:spawn_wild_baby_or_adult" + }, + + "minecraft:spawn_wild_baby_or_adult": { + "sequence": [ + { + "randomize": [ + { + "weight": 9, + "trigger": "minecraft:spawn_wild_adult" + }, + { + "weight": 1, + "trigger": "minecraft:spawn_wild_baby" + } + ] + } + ] + }, + + "minecraft:spawn_wild_baby": { + "add": { + "component_groups": [ + "minecraft:wolf_baby", + "minecraft:wolf_wild" + ] + } + }, + + "minecraft:spawn_wild_adult": { + "add": { + "component_groups": [ + "minecraft:wolf_adult", + "minecraft:wolf_wild" + ] + } + }, + + "minecraft:spawn_tame_baby": { + "add": { + "component_groups": [ + "minecraft:wolf_baby", + "minecraft:wolf_tame" + ] + } + }, + + "minecraft:spawn_tame_adult": { + "add": { + "component_groups": [ + "minecraft:wolf_adult", + "minecraft:wolf_tame" + ] + } + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:wolf_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_adult" + ] + } + }, + + "minecraft:ageable_set_baby": { + "remove": { + "component_groups": [ + "minecraft:wolf_adult" + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_baby" + ] + } + }, + + "minecraft:on_tame": { + "remove": { + "component_groups": [ + "minecraft:wolf_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_tame", + "minecraft:on_tame_collar_color" + ] + } + }, + + "minecraft:increase_max_health": { + "add": { + "component_groups": [ + "minecraft:wolf_increased_max_health" + ] + }, + "set_property": { + "minecraft:has_increased_max_health": true + } + }, + + "minecraft:become_angry": { + "remove": { + "component_groups": [ + "minecraft:wolf_wild" + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_angry" + ] + } + }, + + "minecraft:on_calm": { + "remove": { + "component_groups": [ + "minecraft:wolf_angry" + ] + }, + "add": { + "component_groups": [ + "minecraft:wolf_wild" + ] + } + }, + + "minecraft:become_armorable": { + "add": { + "component_groups": [ + "minecraft:wolf_armorable" + ] + }, + "set_property": { + "minecraft:is_armorable": true + } + } + } + } +} diff --git a/behavior_pack/entities/xp_bottle.json b/behavior_pack/entities/xp_bottle.json new file mode 100644 index 0000000..b3f7ac2 --- /dev/null +++ b/behavior_pack/entities/xp_bottle.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.12.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:xp_bottle", + "is_spawnable": false, + "is_summonable": true, + "is_experimental": false + }, + + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:projectile": { + "on_hit": { + "grant_xp": { + "minXP": 3, + "maxXP": 11 + }, + "remove_on_hit": { } + }, + "power": 0.5, + "gravity": 0.05, + "angle_offset": -20.0, + "hit_sound": "glass" + }, + "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": 5, + "use_motion_prediction_hints": true + } + } + } + } +} diff --git a/behavior_pack/entities/xp_orb.json b/behavior_pack/entities/xp_orb.json new file mode 100644 index 0000000..bb97ed7 --- /dev/null +++ b/behavior_pack/entities/xp_orb.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.20.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:xp_orb", + "is_spawnable": false, + "is_summonable": true + }, + "components": { + "minecraft:collision_box": { + "width": 0.25, + "height": 0.25 + }, + "minecraft:type_family": { + "family": [ "inanimate" ] + }, + "minecraft:health": { + "value": 5, + "max": 5 + }, + "minecraft:buoyant": { + "apply_gravity": false, + "liquid_blocks": [ "minecraft:flowing_water", "minecraft:water" ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": false, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + "default_values": { + "max_optimized_distance": 80.0, + "max_dropped_ticks": 10, + "use_motion_prediction_hints": true + } + } + } + } +} diff --git a/behavior_pack/entities/zoglin.json b/behavior_pack/entities/zoglin.json new file mode 100644 index 0000000..6c25dc9 --- /dev/null +++ b/behavior_pack/entities/zoglin.json @@ -0,0 +1,268 @@ +{ + "format_version": "1.20.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:zoglin", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + + "component_groups": { + "zoglin_baby": { + "minecraft:type_family": { + "family": [ "zoglin", "zoglin_baby", "undead", "monster", "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", "monster", "mob" ] + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 1.4 + }, + "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 ] + } + }, + "angry_zoglin": { + "minecraft:angry": { + "duration": 10, + "calm_event": { + "event": "become_calm_event", + "target": "self" + }, + "angry_sound": "angry", + "sound_interval": { + "range_min": 2.0, + "range_max": 5.0 + } + } + } + }, + + "components": { + "minecraft:on_target_acquired": { + "event": "become_angry_event", + "target": "self" + }, + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:nameable": { + }, + "minecraft:loot": { + "table": "loot_tables/entities/zoglin.json" + }, + "minecraft:experience_reward": { + "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_box_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": { + "become_angry_event": { + "add": { + "component_groups": [ + "angry_zoglin" + ] + } + }, + "become_calm_event": { + "remove": { + "component_groups": [ + "angry_zoglin" + ] + } + }, + "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" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/zombie.json b/behavior_pack/entities/zombie.json new file mode 100644 index 0000000..c6ad19f --- /dev/null +++ b/behavior_pack/entities/zombie.json @@ -0,0 +1,630 @@ +{ + "format_version": "1.21.0", + "minecraft:entity": { + "description": { + "identifier": "minecraft:zombie", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:look_to_start_drowned_transformation": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_underwater", "subject": "self", "operator": "==", "value": true + }, + "event": "minecraft:start_transforming" + } + } + }, + "minecraft:start_drowned_transformation": { + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_underwater", "subject": "self", "operator": "==", "value": false + }, + "event": "minecraft:stop_transforming" + } + }, + "minecraft:timer": { + "looping": false, + "time": 30, + "time_down_event": { + "event": "minecraft:convert_to_drowned" + } + } + }, + + "minecraft:convert_to_drowned": { + "minecraft:transformation": { + "into": "minecraft:drowned", + "transformation_sound": "convert_to_drowned", + "drop_equipment": true, + "delay": { + "value": 15 + } + }, + "minecraft:is_shaking": { + } + }, + + "minecraft:convert_to_baby_drowned": { + "minecraft:transformation": { + "into": "minecraft:drowned", + "transformation_sound": "convert_to_drowned", + "drop_equipment": true, + "delay": { + "value": 15 + } + }, + "minecraft:is_shaking": { + } + }, + + "minecraft:zombie_baby": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:movement": { + "value": 0.35 + } + }, + + "minecraft:zombie_adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:movement": { + "value": 0.23 + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.1, -0.35 ], + "lock_rider_rotation": 0 + } + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.25, + "target_dist": 0.0, + "track_target": true + } + }, + + "minecraft:zombie_jockey": { + "minecraft:behavior.find_mount": { + "priority": 1, + "within_radius": 16, + "start_delay": 15, + "max_failed_attempts": 20 + } + }, + "minecraft:can_have_equipment": { + "minecraft:equipment": { + "table": "loot_tables/entities/zombie_equipment.json" + } + }, + "minecraft:can_break_doors": { + "minecraft:annotation.break_door": { + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:nameable": { + }, + + // Zombie Components + "minecraft:type_family": { + "family": [ "zombie", "undead", "monster", "mob" ] + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:burns_in_daylight": { + }, + "minecraft:movement.basic": { + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_pass_doors": true, + "can_walk": true, + "can_break_doors": true + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_air": true, + "breathes_water": true + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:loot": { + "table": "loot_tables/entities/zombie.json" + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + + "minecraft:environment_sensor": { + "triggers": { + "filters": { + "test": "is_underwater", + "operator": "==", + "value": true + }, + "event": "minecraft:start_transforming" + } + }, + + "minecraft:despawn": { + "despawn_from_distance": {} + }, + + // Zombie Behaviors + "minecraft:behavior.equip_item": { + "priority": 2 + }, + "minecraft:behavior.melee_box_attack": { + "can_spread_on_fire": true, + "priority": 3 + }, + "minecraft:behavior.stomp_turtle_egg": { + "priority": 4, + "speed_multiplier": 1, + "search_range": 10, + "search_height": 2, + "goal_radius": 1.14, + "interval": 20 + }, + "minecraft:behavior.pickup_items": { + "priority": 6, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true, + "excluded_items": [ + "minecraft:glow_ink_sac" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1, + "entity_types": [ + { + "filters": { + "test": "is_family", + "subject": "other", + "operator": "!=", + "value": "breeze" + } + } + ] + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "reselect_targets": true, + "within_radius": 25.0, + "must_see_forget_duration": 17.0, + "entity_types": [ + { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "player" }, + { "test": "is_family", "subject": "other", "value": "snowgolem" }, + { "test": "is_family", "subject": "other", "value": "irongolem" } + ] + }, + "max_dist": 35 + }, + { + "filters": { + "any_of": [ + { "test": "is_family", "subject": "other", "value": "villager" }, + { "test": "is_family", "subject": "other", "value": "wandering_trader" } + ] + }, + "max_dist": 35, + "must_see": false + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "baby_turtle" }, + { "test": "in_water", "subject": "other", "operator": "!=", "value": true } + ] + }, + "max_dist": 35 + } + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "sequence": [ + { + "randomize": [ + { + "weight": 380, + "remove": {}, + "add": { + "component_groups": [ + "minecraft:zombie_adult", + "minecraft:can_have_equipment" + ] + } + }, + { + "weight": 17, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:zombie_baby", + "minecraft:can_have_equipment" + ] + + } + }, + { + "weight": 3, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:zombie_baby", + "minecraft:zombie_jockey", + "minecraft:can_have_equipment" + ] + } + } + ] + }, + { + "randomize": [ + { + "weight": 10, + "add": { + "component_groups": [ "minecraft:can_break_doors" ] + } + }, + { + "weight": 90 + } + ] + } + ] + }, + "minecraft:as_adult": { + "add": { + "component_groups": [ + "minecraft:zombie_adult" + ] + } + }, + "minecraft:as_baby": { + "add": { + "component_groups": [ + "minecraft:zombie_baby" + ] + } + }, + "minecraft:start_transforming": { + "add": { + "component_groups": [ + "minecraft:start_drowned_transformation" + ] + }, + "remove": { + "component_groups": [ "minecraft:look_to_start_drowned_transformation" ] + } + }, + "minecraft:stop_transforming": { + "add": { + "component_groups": [ + "minecraft:look_to_start_drowned_transformation" + ] + }, + "remove": { + "component_groups": [ + "minecraft:start_drowned_transformation" + ] + } + }, + "minecraft:convert_to_drowned": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ "minecraft:convert_to_drowned" ] + }, + "remove": { + "component_groups": [ "minecraft:start_drowned_transformation" ] + } + }, + { + "filters": { + "test": "has_component", + "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ "minecraft:convert_to_baby_drowned" ] + }, + "remove": { + "component_groups": [ "minecraft:start_drowned_transformation" ] + } + } + ] + } + } + } +} diff --git a/behavior_pack/entities/zombie_horse.json b/behavior_pack/entities/zombie_horse.json new file mode 100644 index 0000000..117f7ea --- /dev/null +++ b/behavior_pack/entities/zombie_horse.json @@ -0,0 +1,181 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:zombie_horse", + "spawn_category": "creature", + "is_spawnable": true, + "is_summonable": true + }, + "component_groups": { + "minecraft:horse_baby": { + "minecraft:is_baby": { + }, + "minecraft:scale_by_age": { + "start_scale": 0.5, + "end_scale": 1.0 + }, + "minecraft:ageable": { + "duration": 1200, + "grow_up": { + "event": "minecraft:ageable_grow_up", + "target": "self" + } + }, + "minecraft:behavior.follow_parent": { + "priority": 4, + "speed_multiplier": 1.0 + } + }, + "minecraft:horse_adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? Math.Random(1,3) : 0" + }, + "minecraft:loot": { + "table": "loot_tables/entities/zombie_horse.json" + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "interact_text": "action.interact.ride.horse", + "seats": { + "position": [ 0.0, 1.2, -0.2 ] + } + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.5, + "target_dist": 0.0, + "track_target": true + }, + "minecraft:behavior.player_ride_tamed": { + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:ambient_sound_interval": { + }, + "minecraft:type_family": { + "family": [ "zombiehorse", "undead", "mob" ] + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:collision_box": { + "width": 1.4, + "height": 1.6 + }, + "minecraft:health": { + "value": 15, + "max": 15 + }, + "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.2 + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "avoid_water": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:nameable": { + }, + "minecraft:is_tamed": { + }, + "minecraft:horse.jump_strength": { + "value": { + "range_min": 0.4, + "range_max": 1.0 + } + }, + "minecraft:leashable": { + "soft_distance": 4.0, + "hard_distance": 6.0, + "max_distance": 10.0 + }, + "minecraft:balloonable": { + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:behavior.panic": { + "priority": 1, + "speed_multiplier": 1.2 + }, + "minecraft:behavior.random_stroll": { + "priority": 6, + "speed_multiplier": 0.7 + }, + "minecraft:behavior.look_at_player": { + "priority": 7, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 8 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 36, + "add": { + "component_groups": [ + "minecraft:horse_adult" + ] + } + }, + { + "weight": 9, + "add": { + "component_groups": [ + "minecraft:horse_baby" + ] + } + } + ] + }, + + "minecraft:ageable_grow_up": { + "remove": { + "component_groups": [ + "minecraft:horse_baby" + ] + }, + "add": { + "component_groups": [ + "minecraft:horse_adult" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/zombie_pigman.json b/behavior_pack/entities/zombie_pigman.json new file mode 100644 index 0000000..43705ef --- /dev/null +++ b/behavior_pack/entities/zombie_pigman.json @@ -0,0 +1,472 @@ +{ + "format_version": "1.21.50", + "minecraft:entity": { + "description": { + "identifier": "minecraft:zombie_pigman", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "minecraft:pig_zombie_baby": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:is_baby": { + }, + "minecraft:scale": { + "value": 0.5 + } + }, + + "minecraft:pig_zombie_adult": { + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.1, -0.35 ], + "lock_rider_rotation": 0 + } + }, + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + } + }, + "minecraft:pig_zombie_angry": { + "minecraft:angry": { + "duration": 25, + "broadcast_anger": true, + "broadcast_range": 20, + "broadcast_anger_when_dying": false, + "calm_event": { + "event": "minecraft:on_calm", + "target": "self" + } + } + }, + "minecraft:pig_zombie_calm": { + "minecraft:on_target_acquired": { + "event": "minecraft:become_angry", + "target": "self" + } + }, + "minecraft:strider_jockey": { + "minecraft:equipment": { + "table": "loot_tables/entities/zombified_piglin_rider_gear.json" + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:equip_item": { + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:nameable": { + }, + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_pass_doors": true, + "can_open_doors": true, + "avoid_water": true, + "avoid_portals": true + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:fire_immune": { + }, + "minecraft:type_family": { + "family": [ "zombie_pigman", "undead", "monster", "mob" ] + }, + "minecraft:loot": { + "table": "loot_tables/entities/zombie_pigman.json" + }, + "minecraft:equipment": { + "table": "loot_tables/entities/zombie_pigman_gear.json" + }, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:movement": { + "value": 0.23 + }, + "minecraft:attack": { + "damage": 5 + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + "minecraft:shareables": { + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.mount_pathing": { + "priority": 2, + "speed_multiplier": 1.25, + "target_dist": 0, + "track_target": true + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.melee_box_attack": { + "priority": 4, + "speed_multiplier": 1.5 + }, + "minecraft:behavior.stomp_turtle_egg": { + "priority": 5, + "speed_multiplier": 1, + "search_range": 10, + "search_height": 2, + "goal_radius": 1.14, + "interval": 20 + }, + "minecraft:behavior.pickup_items": { + "priority": 6, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true + }, + "minecraft:behavior.random_stroll": { + "priority": 7, + "speed_multiplier": 1.0 + }, + "minecraft:behavior.look_at_player": { + "priority": 8, + "look_distance": 6.0, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 9 + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + + "events": { + "minecraft:entity_transformed": { + "sequence": [ + // Transform baby pig to baby zombie pigman + { + "filters": { + "test": "has_component", + "subject": "other", + "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ + "minecraft:pig_zombie_baby", + "minecraft:pig_zombie_calm" + ] + } + }, + // Transform adult pig to adult zombie pigman + { + "filters": { + "test": "has_component", + "subject": "other", + "operator": "!=", + "value": "minecraft:is_baby" + }, + "add": { + "component_groups": [ + "minecraft:pig_zombie_adult", + "minecraft:pig_zombie_calm" + ] + } + } + ] + }, + "minecraft:entity_spawned": { + "randomize": [ + { + "weight": 95, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:pig_zombie_adult", + "minecraft:pig_zombie_calm" + ] + } + }, + { + "weight": 5, + "remove": { + }, + "add": { + "component_groups": [ + "minecraft:pig_zombie_baby", + "minecraft:pig_zombie_calm" + ] + + } + } + ] + }, + "minecraft:on_calm": { + "remove": { + "component_groups": [ + "minecraft:pig_zombie_angry" + ] + }, + "add": { + "component_groups": [ + "minecraft:pig_zombie_calm" + ] + } + }, + "minecraft:become_angry": { + "remove": { + "component_groups": [ + "minecraft:pig_zombie_calm" + ] + }, + "add": { + "component_groups": [ + "minecraft:pig_zombie_angry" + ] + } + }, + "minecraft:spawn_as_strider_jockey": { + "add": { + "component_groups": [ + "minecraft:strider_jockey" + ] + } + } + } + } +} diff --git a/behavior_pack/entities/zombie_villager.json b/behavior_pack/entities/zombie_villager.json new file mode 100644 index 0000000..c0b7575 --- /dev/null +++ b/behavior_pack/entities/zombie_villager.json @@ -0,0 +1,939 @@ +{ + "format_version": "1.20.10", + "minecraft:entity": { + "description": { + "identifier": "minecraft:zombie_villager", + "spawn_category": "monster", + "is_spawnable": true, + "is_summonable": true, + "is_experimental": false + }, + "component_groups": { + "become_zombie_villager_v2": { + "minecraft:transformation": { + "into": "minecraft:zombie_villager_v2", + "keep_level": false + } + }, + "baby": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:movement": { + "value": 0.35 + } + }, + + "adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:movement": { + "value": 0.23 + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.1, -0.35 ] + } + }, + "minecraft:behavior.mount_pathing": { + "priority": 5, + "speed_multiplier": 1.25, + "target_dist": 0.0, + "track_target": true + } + }, + + "jockey": { + "minecraft:behavior.find_mount": { + "priority": 1, + "within_radius": 16 + } + }, + + "can_break_doors": { + "minecraft:annotation.break_door": { + } + }, + + "from_abandoned_village": { + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_pass_doors": true, + "can_open_doors": true, + "avoid_water": true, + "avoid_sun": true + }, + "minecraft:behavior.flee_sun": { + "priority": 4, + "speed_multiplier": 1 + } + }, + + "to_villager": { + "minecraft:transformation": { + "into": "minecraft:villager", + "begin_transform_sound": "remedy", + "transformation_sound": "unfect", + "delay": { + "value": 100, + "block_assist_chance": 0.01, + "block_radius": 4, + "block_chance": 0.3, + "block_types": [ + "minecraft:bed", + "minecraft:iron_bars" + ] + } + }, + "minecraft:spell_effects": { + "add_effects": [ + { + "effect": "strength", + "duration": 100 + }, + { + "effect": "heal", + "duration": 100 + } + ], + "remove_effects": "weakness" + }, + "minecraft:is_shaking": { + } + }, + + "farmer": { + "minecraft:type_family": { + "family": [ "farmer", "zombie", "zombie_villager", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 0 + } + }, + "fisherman": { + "minecraft:type_family": { + "family": [ "fisherman", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 0 + } + }, + "shepherd": { + "minecraft:type_family": { + "family": [ "shepherd", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 0 + } + }, + "fletcher": { + "minecraft:type_family": { + "family": [ "fletcher", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 0 + } + }, + + "librarian": { + "minecraft:type_family": { + "family": [ "librarian", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 1 + } + }, + + "cartographer": { + "minecraft:type_family": { + "family": [ "cartographer", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 1 + } + }, + + "cleric": { + "minecraft:type_family": { + "family": [ "cleric", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 2 + } + }, + + "armorer": { + "minecraft:type_family": { + "family": [ "armorer", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 3 + } + }, + "weaponsmith": { + "minecraft:type_family": { + "family": [ "weaponsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 3 + } + }, + "toolsmith": { + "minecraft:type_family": { + "family": [ "toolsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 3 + } + }, + + "butcher": { + "minecraft:type_family": { + "family": [ "butcher", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 4 + } + }, + "leatherworker": { + "minecraft:type_family": { + "family": [ "leatherworker", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 4 + } + } + }, + + "components": { + "minecraft:is_hidden_when_invisible": { + }, + // Zombie_villager Components + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_pass_doors": true, + "can_break_doors": true, + "avoid_sun": false + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:loot": { + "table": "loot_tables/entities/zombie.json" + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:burns_in_daylight": {}, + + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { + "test": "in_lava", + "subject": "self", + "operator": "==", + "value": true + }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:nameable": { + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + + "minecraft:interact": { + "interactions": { + // Curing the villager + "on_interact": { + "filters": { + "all_of": [ + { + "test": "has_equipment", + "domain": "hand", + "subject": "other", + "value": "golden_apple" + }, + { + "test": "has_component", + "subject": "self", + "value": "minecraft:effect.weakness" + } + ] + }, + "event": "villager_converted", + "target": "self" + }, + "use_item": true, + "interact_text": "action.interact.cure" + } + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + // Zombie_villager Behaviors + "minecraft:behavior.melee_box_attack": { + "can_spread_on_fire": true, + "priority": 6 + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.stomp_turtle_egg": { + "priority": 4, + "speed_multiplier": 1, + "search_range": 10, + "search_height": 2, + "goal_radius": 1.14, + "interval": 20 + }, + "minecraft:behavior.pickup_items": { + "priority": 8, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": false, + "can_pickup_any_item": true, + "excluded_items": [ + "minecraft:glow_ink_sac" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 9, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 10, + "look_distance": 6, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 11 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "reselect_targets": true, + "entity_types": [ + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "player" + }, + { + "test": "is_family", + "subject": "other", + "value": "snowgolem" + }, + { + "test": "is_family", + "subject": "other", + "value": "irongolem" + } + ] + }, + "max_dist": 35 + }, + { + "filters": { + "any_of": [ + { + "test": "is_family", + "subject": "other", + "value": "villager" + }, + { + "test": "is_family", + "subject": "other", + "value": "wandering_trader" + } + ] + }, + "max_dist": 35, + "must_see": false + }, + { + "filters": { + "all_of": [ + { + "test": "is_family", + "subject": "other", + "value": "baby_turtle" + }, + { + "test": "in_water", + "subject": "other", + "operator": "!=", + "value": true + } + ] + }, + "max_dist": 35 + } + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + }, + "minecraft:conditional_bandwidth_optimization": { + } + }, + + "events": { + "villager_converted": { + "remove": { + }, + "add": { + "component_groups": [ + "to_villager" + ] + } + }, + "minecraft:entity_spawned": { + "sequence": [ + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "randomize": [ + { + "weight": 9500, + "remove": { + }, + "add": { + "component_groups": [ + "adult" + ] + } + }, + { + "weight": 425, + "remove": { + }, + "add": { + "component_groups": [ + "baby" + ] + + } + }, + { + "weight": 75, + "remove": { + }, + "add": { + "component_groups": [ + "baby", + "jockey" + ] + + } + } + ] + }, + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" + }, + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "farmer" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fisherman" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "shepherd" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fletcher" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "librarian" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cartographer" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cleric" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "armorer" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "weaponsmith" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "toolsmith" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "butcher" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "leatherworker" ] } + } + ] + }, + { + "randomize": [ + { + "weight": 10, + "add": { + "component_groups": [ "can_break_doors" ] + } + }, + { + "weight": 90 + } + ] + } + ] + }, + + "minecraft:entity_transformed": { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "sequence": [ + // Transform baby villager to baby zombie + { + "filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" }, + "add": { "component_groups": [ "baby" ] } + }, + // Transform adult villager to adult zombie + { + "filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }, + "add": { "component_groups": [ "adult" ] } + }, + // Transform farmer zombie to farmer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "farmer" }, + "add": { "component_groups": [ "farmer" ] } + }, + // Transform fisherman zombie to fisherman villager + { + "filters": { "test": "is_family", "subject": "other", "value": "fisherman" }, + "add": { "component_groups": [ "fisherman" ] } + }, + // Transform shepherd zombie to shepherd villager + { + "filters": { "test": "is_family", "subject": "other", "value": "shepherd" }, + "add": { "component_groups": [ "shepherd" ] } + }, + // Transform fletcher zombie to fletcher villager + { + "filters": { "test": "is_family", "subject": "other", "value": "fletcher" }, + "add": { "component_groups": [ "fletcher" ] } + }, + // Transform librarian zombie to librarian villager + { + "filters": { "test": "is_family", "subject": "other", "value": "librarian" }, + "add": { "component_groups": [ "librarian" ] } + }, + // Transform cartographer zombie to cartographer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "cartographer" }, + "add": { "component_groups": [ "cartographer" ] } + }, + // Transform cleric zombie to cleric villager + { + "filters": { "test": "is_family", "subject": "other", "value": "cleric" }, + "add": { "component_groups": [ "cleric" ] } + }, + // Transform armorer zombie to armorer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "armorer" }, + "add": { "component_groups": [ "armorer" ] } + }, + // Transform weaponsmith zombie to weaponsmith villager + { + "filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" }, + "add": { "component_groups": [ "weaponsmith" ] } + }, + // Transform toolsmith zombie to toolsmith villager + { + "filters": { "test": "is_family", "subject": "other", "value": "toolsmith" }, + "add": { "component_groups": [ "toolsmith" ] } + }, + // Transform butcher zombie to butcher villager + { + "filters": { "test": "is_family", "subject": "other", "value": "butcher" }, + "add": { "component_groups": [ "butcher" ] } + }, + // Transform leatherworker zombie to leatherworker villager + { + "filters": { "test": "is_family", "subject": "other", "value": "leatherworker" }, + "add": { "component_groups": [ "leatherworker" ] } + } + ] + }, + + "minecraft:become_cleric": { + "add": { "component_groups": [ "cleric" ] } + }, + + "from_village": { + "sequence": [ + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:variant" + }, + "randomize": [ + { + "weight": 9500, + "remove": { + }, + "add": { + "component_groups": [ + "adult" + ] + } + }, + { + "weight": 425, + "remove": { + }, + "add": { + "component_groups": [ + "baby" + ] + + } + }, + { + "weight": 75, + "remove": { + }, + "add": { + "component_groups": [ + "baby", + "jockey" + ] + + } + } + ] + }, + { + "filters": { + "test": "has_component", + "operator": "!=", + "value": "minecraft:variant" + }, + "randomize": [ + { + "weight": 5, + "add": { "component_groups": [ "farmer" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fisherman" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "shepherd" ] } + }, + { + "weight": 5, + "add": { "component_groups": [ "fletcher" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "librarian" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cartographer" ] } + }, + { + "weight": 20, + "add": { "component_groups": [ "cleric" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "armorer" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "weaponsmith" ] } + }, + { + "weight": 6, + "add": { "component_groups": [ "toolsmith" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "butcher" ] } + }, + { + "weight": 10, + "add": { "component_groups": [ "leatherworker" ] } + } + ] + }, + { "add": { "component_groups": [ "from_abandoned_village" ] } } + ] + } + } + } +} diff --git a/behavior_pack/entities/zombie_villager_v2.json b/behavior_pack/entities/zombie_villager_v2.json new file mode 100644 index 0000000..7dd850a --- /dev/null +++ b/behavior_pack/entities/zombie_villager_v2.json @@ -0,0 +1,1106 @@ +{ + "format_version": "1.21.60", + "minecraft:entity": { + "description": { + "identifier": "minecraft:zombie_villager_v2", + "is_spawnable": true, + "is_summonable": false, + "is_experimental": false + }, + "component_groups": { + "baby": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 12 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:is_baby": {}, + "minecraft:scale": { + "value": 0.5 + }, + "minecraft:movement": { + "value": 0.35 + } + }, + "adult": { + "minecraft:experience_reward": { + "on_death": "query.last_hit_by_player ? 5 + (query.equipment_count * Math.Random(1,3)) : 0" + }, + "minecraft:movement": { + "value": 0.23 + }, + "minecraft:rideable": { + "seat_count": 1, + "family_types": [ + "zombie" + ], + "seats": { + "position": [ 0.0, 1.1, -0.35 ] + } + }, + "minecraft:behavior.mount_pathing": { + "priority": 5, + "speed_multiplier": 1.25, + "target_dist": 0.0, + "track_target": true + } + }, + "jockey": { + "minecraft:behavior.find_mount": { + "priority": 1, + "within_radius": 16 + } + }, + "can_break_doors": { + "minecraft:annotation.break_door": { + } + }, + "from_abandoned_village": { + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_pass_doors": true, + "can_open_doors": true, + "avoid_water": true, + "avoid_sun": true + }, + "minecraft:behavior.flee_sun": { + "priority": 4, + "speed_multiplier": 1 + } + }, + "to_villager": { + "minecraft:transformation": { + "into": "minecraft:villager_v2", + "begin_transform_sound": "remedy", + "transformation_sound": "unfect", + "drop_equipment": true, + "keep_level": true, + "delay": { + "value": 100, + "range_min": 80, + "range_max": 200, + "block_assist_chance": 0.01, + "block_radius": 4, + "block_chance": 0.3, + "block_types": [ + "minecraft:bed", + "minecraft:iron_bars" + ] + } + }, + "minecraft:spell_effects": { + "add_effects": [ + { + "effect": "strength", + "duration": 300 + }, + { + "effect": "heal", + "duration": 300 + } + ], + "remove_effects": "weakness" + }, + "minecraft:is_shaking": { + } + }, + "unskilled": { + "minecraft:type_family": { + "family": [ "unskilled", "zombie", "zombie_villager", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 0 + } + }, + "farmer": { + "minecraft:type_family": { + "family": [ "farmer", "zombie", "zombie_villager", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 1 + } + }, + "fisherman": { + "minecraft:type_family": { + "family": [ "fisherman", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 2 + } + }, + "shepherd": { + "minecraft:type_family": { + "family": [ "shepherd", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 3 + } + }, + "fletcher": { + "minecraft:type_family": { + "family": [ "fletcher", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 4 + } + }, + "librarian": { + "minecraft:type_family": { + "family": [ "librarian", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 5 + } + }, + "cartographer": { + "minecraft:type_family": { + "family": [ "cartographer", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 6 + } + }, + "cleric": { + "minecraft:type_family": { + "family": [ "cleric", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 7 + } + }, + "armorer": { + "minecraft:type_family": { + "family": [ "armorer", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 8 + } + }, + "weaponsmith": { + "minecraft:type_family": { + "family": [ "weaponsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 9 + } + }, + "toolsmith": { + "minecraft:type_family": { + "family": [ "toolsmith", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 10 + } + }, + "butcher": { + "minecraft:type_family": { + "family": [ "butcher", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 11 + } + }, + "leatherworker": { + "minecraft:type_family": { + "family": [ "leatherworker", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 12 + } + }, + "mason": { + "minecraft:type_family": { + "family": [ "stone_mason", "zombie_villager", "zombie", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 13 + } + }, + "nitwit": { + "minecraft:type_family": { + "family": [ "nitwit", "zombie", "zombie_villager", "undead", "monster", "mob" ] + }, + "minecraft:variant": { + "value": 14 + } + }, + "desert_villager": { + "minecraft:mark_variant": { + "value": 1 + } + }, + "jungle_villager": { + "minecraft:mark_variant": { + "value": 2 + } + }, + "savanna_villager": { + "minecraft:mark_variant": { + "value": 3 + } + }, + "snow_villager": { + "minecraft:mark_variant": { + "value": 4 + } + }, + "swamp_villager": { + "minecraft:mark_variant": { + "value": 5 + } + }, + "taiga_villager": { + "minecraft:mark_variant": { + "value": 6 + } + }, + "villager_skin_0": { + "minecraft:skin_id": { + "value": 0 + } + }, + "villager_skin_1": { + "minecraft:skin_id": { + "value": 1 + } + }, + "villager_skin_2": { + "minecraft:skin_id": { + "value": 2 + } + }, + "villager_skin_3": { + "minecraft:skin_id": { + "value": 3 + } + }, + "villager_skin_4": { + "minecraft:skin_id": { + "value": 4 + } + }, + "villager_skin_5": { + "minecraft:skin_id": { + "value": 5 + } + } + }, + "components": { + "minecraft:is_hidden_when_invisible": { + }, + // Zombie_villager Components + "minecraft:navigation.walk": { + "is_amphibious": true, + "can_pass_doors": true, + "can_break_doors": true, + "avoid_sun": false + }, + "minecraft:movement.basic": { + }, + "minecraft:jump.static": { + }, + "minecraft:can_climb": { + }, + "minecraft:breathable": { + "total_supply": 15, + "suffocate_time": 0, + "breathes_water": true + }, + "minecraft:loot": { + "table": "loot_tables/entities/zombie.json" + }, + "minecraft:equip_item": { + "excluded_items": [ + { + "item": "minecraft:banner:15" + } + ] + }, + "minecraft:conditional_bandwidth_optimization": { + }, + "minecraft:collision_box": { + "width": 0.6, + "height": 1.9 + }, + "minecraft:burns_in_daylight": {}, + "minecraft:health": { + "value": 20, + "max": 20 + }, + "minecraft:hurt_on_condition": { + "damage_conditions": [ + { + "filters": { "test": "in_lava", "subject": "self", "operator": "==", "value": true }, + "cause": "lava", + "damage_per_tick": 4 + } + ] + }, + "minecraft:attack": { + "damage": 3 + }, + "minecraft:nameable": { + }, + "minecraft:shareables": { + "singular_pickup": true, + "items": [ + { + "item": "minecraft:netherite_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:stone_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:wooden_sword", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:turtle_helmet", + "want_amount": 1, + "surplus_amount": 1, + "priority": 6 + }, + { + "item": "minecraft:skull:0", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:skull:1", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:carved_pumpkin", + "want_amount": 1, + "surplus_amount": 1, + "priority": 7 + }, + { + "item": "minecraft:netherite_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_chestplate", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_leggings", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + }, + { + "item": "minecraft:netherite_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 0 + }, + { + "item": "minecraft:diamond_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 1 + }, + { + "item": "minecraft:iron_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 2 + }, + { + "item": "minecraft:chainmail_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 3 + }, + { + "item": "minecraft:golden_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 4 + }, + { + "item": "minecraft:leather_boots", + "want_amount": 1, + "surplus_amount": 1, + "priority": 5 + } + ] + }, + "minecraft:interact": { + "interactions": { + // Curing the villager + "on_interact": { + "filters": { + "all_of": [ + { "test": "has_equipment", "domain": "hand", "subject": "other", "value": "golden_apple" }, + { "test": "has_component", "subject": "self", "value": "minecraft:effect.weakness" } + ] + }, + "event": "villager_converted", + "target": "self" + }, + "use_item": true, + "interact_text": "action.interact.cure" + } + }, + "minecraft:despawn": { + "despawn_from_distance": {} + }, + // Zombie_villager Behaviors + "minecraft:behavior.melee_box_attack": { + "can_spread_on_fire": true, + "priority": 6 + }, + "minecraft:behavior.equip_item": { + "priority": 3 + }, + "minecraft:behavior.stomp_turtle_egg": { + "priority": 4, + "speed_multiplier": 1, + "search_range": 10, + "search_height": 2, + "goal_radius": 1.14, + "interval": 20 + }, + "minecraft:behavior.pickup_items": { + "priority": 8, + "max_dist": 3, + "goal_radius": 2, + "speed_multiplier": 1.0, + "pickup_based_on_chance": true, + "can_pickup_any_item": true, + "excluded_items": [ + "minecraft:glow_ink_sac" + ] + }, + "minecraft:behavior.random_stroll": { + "priority": 9, + "speed_multiplier": 1 + }, + "minecraft:behavior.look_at_player": { + "priority": 10, + "look_distance": 6, + "probability": 0.02 + }, + "minecraft:behavior.random_look_around": { + "priority": 11 + }, + "minecraft:behavior.hurt_by_target": { + "priority": 1 + }, + "minecraft:behavior.nearest_attackable_target": { + "priority": 2, + "must_see": true, + "reselect_targets": true, + "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": "villager" }, + { "test": "is_family", "subject": "other", "value": "wandering_trader" } + ] + }, + "max_dist": 35 + }, + { + "filters": { + "all_of": [ + { "test": "is_family", "subject": "other", "value": "baby_turtle" }, + { "test": "in_water", "subject": "other", "operator": "!=", "value": true } + ] + }, + "max_dist": 35 + } + ] + }, + "minecraft:physics": { + }, + "minecraft:pushable": { + "is_pushable": true, + "is_pushable_by_piston": true + } + }, + "events": { + "villager_converted": { + "remove": { + }, + "add": { + "component_groups": [ + "to_villager" + ] + } + }, + "minecraft:entity_spawned": { + "sequence": [ + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "randomize": [ + { + "weight": 9500, + "remove": { + }, + "add": { + "component_groups": [ + "adult" + ] + } + }, + { + "weight": 425, + "remove": { + }, + "add": { + "component_groups": [ + "baby" + ] + } + }, + { + "weight": 75, + "remove": { + }, + "add": { + "component_groups": [ + "baby", + "jockey" + ] + } + } + ] + }, + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "unskilled" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "nitwit" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "farmer" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "fisherman" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "shepherd" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "fletcher" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "librarian" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "cartographer" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "cleric" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "armorer" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "weaponsmith" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "toolsmith" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "butcher" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "leatherworker" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "mason" ] } + } + ] + }, + { + "trigger": "minecraft:add_biome_and_skin" + }, + { + "randomize": [ + { + "weight": 10, + "add": { + "component_groups": [ "can_break_doors" ] + } + }, + { + "weight": 90 + } + ] + } + ] + }, + "minecraft:spawn_skilled_adult": { + "sequence": [ + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "add": { "component_groups": [ "adult" ] } + }, + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "farmer" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "fisherman" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "shepherd" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "fletcher" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "librarian" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "cartographer" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "cleric" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "armorer" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "weaponsmith" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "toolsmith" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "butcher" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "leatherworker" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "mason" ] } + } + ] + }, + { + "trigger": "minecraft:add_biome_and_skin" + } + ] + }, + "minecraft:entity_transformed": { + "sequence": [ + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:variant" }, + "sequence": [ + // Transform baby villager to baby zombie + { + "filters": { "test": "has_component", "subject": "other", "value": "minecraft:is_baby" }, + "add": { "component_groups": [ "baby" ] } + }, + // Transform adult villager to adult zombie + { + "filters": { "test": "has_component", "subject": "other", "operator": "!=", "value": "minecraft:is_baby" }, + "add": { "component_groups": [ "adult" ] } + }, + // Transform unskilled zombie to unskilled villager + { + "filters": { "test": "is_family", "subject": "other", "value": "unskilled" }, + "add": { "component_groups": [ "unskilled" ] } + }, + // Transform nitwit zombie to nitwit villager + { + "filters": { "test": "is_family", "subject": "other", "value": "nitwit" }, + "add": { "component_groups": [ "nitwit" ] } + }, + // Transform farmer zombie to farmer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "farmer" }, + "add": { "component_groups": [ "farmer" ] } + }, + // Transform fisherman zombie to fisherman villager + { + "filters": { "test": "is_family", "subject": "other", "value": "fisherman" }, + "add": { "component_groups": [ "fisherman" ] } + }, + // Transform shepherd zombie to shepherd villager + { + "filters": { "test": "is_family", "subject": "other", "value": "shepherd" }, + "add": { "component_groups": [ "shepherd" ] } + }, + // Transform fletcher zombie to fletcher villager + { + "filters": { "test": "is_family", "subject": "other", "value": "fletcher" }, + "add": { "component_groups": [ "fletcher" ] } + }, + // Transform librarian zombie to librarian villager + { + "filters": { "test": "is_family", "subject": "other", "value": "librarian" }, + "add": { "component_groups": [ "librarian" ] } + }, + // Transform cartographer zombie to cartographer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "cartographer" }, + "add": { "component_groups": [ "cartographer" ] } + }, + // Transform cleric zombie to cleric villager + { + "filters": { "test": "is_family", "subject": "other", "value": "cleric" }, + "add": { "component_groups": [ "cleric" ] } + }, + // Transform armorer zombie to armorer villager + { + "filters": { "test": "is_family", "subject": "other", "value": "armorer" }, + "add": { "component_groups": [ "armorer" ] } + }, + // Transform weaponsmith zombie to weaponsmith villager + { + "filters": { "test": "is_family", "subject": "other", "value": "weaponsmith" }, + "add": { "component_groups": [ "weaponsmith" ] } + }, + // Transform toolsmith zombie to toolsmith villager + { + "filters": { "test": "is_family", "subject": "other", "value": "toolsmith" }, + "add": { "component_groups": [ "toolsmith" ] } + }, + // Transform butcher zombie to butcher villager + { + "filters": { "test": "is_family", "subject": "other", "value": "butcher" }, + "add": { "component_groups": [ "butcher" ] } + }, + // Transform leatherworker zombie to leatherworker villager + { + "filters": { "test": "is_family", "subject": "other", "value": "leatherworker" }, + "add": { "component_groups": [ "leatherworker" ] } + }, + // Transform mason zombie to mason villager + { + "filters": { "test": "is_family", "subject": "other", "value": "stone_mason" }, + "add": { "component_groups": [ "mason" ] } + } + ] + }, + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:mark_variant" }, + "sequence": [ + // Transform desert zombie to desert villager + { + "filters": { "test": "is_mark_variant", "subject": "other", "value": 1 }, + "add": { "component_groups": [ "desert_villager" ] } + }, + // Transform jungle zombie to jungle villager + { + "filters": { "test": "is_mark_variant", "subject": "other", "value": 2 }, + "add": { "component_groups": [ "jungle_villager" ] } + }, + // Transform jungle zombie to jungle villager + { + "filters": { "test": "is_mark_variant", "subject": "other", "value": 3 }, + "add": { "component_groups": [ "savanna_villager" ] } + }, + // Transform jungle zombie to jungle villager + { + "filters": { "test": "is_mark_variant", "subject": "other", "value": 4 }, + "add": { "component_groups": [ "snow_villager" ] } + }, + // Transform jungle zombie to jungle villager + { + "filters": { "test": "is_mark_variant", "subject": "other", "value": 5 }, + "add": { "component_groups": [ "swamp_villager" ] } + }, + // Transform taiga zombie to taiga villager + { + "filters": { "test": "is_mark_variant", "subject": "other", "value": 6 }, + "add": { "component_groups": [ "taiga_villager" ] } + } + ] + }, + { + "filters": { "test": "has_component", "operator": "!=", "value": "minecraft:skin_id" }, + "sequence": [ + { + "filters": { "test": "is_skin_id", "subject": "other", "value": 0 }, + "add": { "component_groups": [ "villager_skin_0" ] } + }, + { + "filters": { "test": "is_skin_id", "subject": "other", "value": 1 }, + "add": { "component_groups": [ "villager_skin_1" ] } + }, + { + "filters": { "test": "is_skin_id", "subject": "other", "value": 2 }, + "add": { "component_groups": [ "villager_skin_2" ] } + }, + { + "filters": { "test": "is_skin_id", "subject": "other", "value": 3 }, + "add": { "component_groups": [ "villager_skin_3" ] } + }, + { + "filters": { "test": "is_skin_id", "subject": "other", "value": 4 }, + "add": { "component_groups": [ "villager_skin_4" ] } + }, + { + "filters": { "test": "is_skin_id", "subject": "other", "value": 5 }, + "add": { "component_groups": [ "villager_skin_5" ] } + } + ] + } + ] + }, + "minecraft:become_cleric": { + "add": { "component_groups": [ "cleric" ] } + }, + "from_village": { + "sequence": [ + { + "trigger": "minecraft:entity_spawned" + }, + { + "add": { "component_groups": [ "from_abandoned_village" ] } + } + ] + }, + "minecraft:add_biome_and_skin": { + "sequence": [ + { + "randomize": [ + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_0" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_1" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_2" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_3" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_4" ] } + }, + { + "weight": 1, + "add": { "component_groups": [ "villager_skin_5" ] } + } + ] + }, + { + "filters": { + "any_of": [ + { "test": "has_biome_tag", "value": "desert" }, + { "test": "has_biome_tag", "value": "mesa" } + ] + }, + "add": { "component_groups": [ "desert_villager" ] } + }, + { + "filters": { "test": "has_biome_tag", "value": "jungle" }, + "add": { "component_groups": [ "jungle_villager" ] } + }, + { + "filters": { "test": "has_biome_tag", "value": "savanna" }, + "add": { "component_groups": [ "savanna_villager" ] } + }, + { + "filters": { + "any_of": [ + { + "all_of": [ + { "test": "has_biome_tag", "value": "cold" }, + { "test": "has_biome_tag", "operator": "!=", "value": "ocean" } + ] + }, + { "test": "has_biome_tag", "value": "frozen" } + ] + }, + "add": { "component_groups": [ "snow_villager" ] } + }, + { + "filters": { + "any_of": [ + { "test": "has_biome_tag", "value": "swamp" }, + { "test": "has_biome_tag", "value": "mangrove_swamp" } + ] + }, + "add": { "component_groups": [ "swamp_villager" ] } + }, + { + "filters": { + "all_of": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "extreme_hills" } + ] + }, + { "test": "has_biome_tag", "operator": "!=", "value": "cold" } + ] + }, + "add": { "component_groups": [ "taiga_villager" ] } + } + ] + } + } + } +} diff --git a/behavior_pack/feature_rules/after_surface_silverfish_feature.json b/behavior_pack/feature_rules/after_surface_silverfish_feature.json new file mode 100644 index 0000000..2c35f67 --- /dev/null +++ b/behavior_pack/feature_rules/after_surface_silverfish_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:after_surface_silverfish_feature", + "places_feature": "minecraft:silverfish_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "extreme_hills" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mountains" + } + ] + } + ] + }, + "distribution": { + "iterations": 14, + "coordinate_eval_order": "xyz", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 0, 64 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/bamboo_jungle_after_surface_bamboo_feature.json b/behavior_pack/feature_rules/bamboo_jungle_after_surface_bamboo_feature.json new file mode 100644 index 0000000..eb13e7f --- /dev/null +++ b/behavior_pack/feature_rules/bamboo_jungle_after_surface_bamboo_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:bamboo_jungle_after_surface_bamboo_feature", + "places_feature": "minecraft:bamboo_then_podzol_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:bamboo_jungle_before_surface_bamboo_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/bamboo_jungle_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/bamboo_jungle_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..6a43dca --- /dev/null +++ b/behavior_pack/feature_rules/bamboo_jungle_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:bamboo_jungle_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:jungle_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "bamboo" }, + { "test": "has_biome_tag", "value": "jungle" } + ] + }, + "distribution": { + "iterations": 25, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/bamboo_jungle_before_surface_bamboo_feature_rules.json b/behavior_pack/feature_rules/bamboo_jungle_before_surface_bamboo_feature_rules.json new file mode 100644 index 0000000..f66e651 --- /dev/null +++ b/behavior_pack/feature_rules/bamboo_jungle_before_surface_bamboo_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:bamboo_jungle_before_surface_bamboo_feature_rules", + "places_feature": "minecraft:bamboo_then_podzol_feature" + }, + "conditions": { + "placement_pass": "before_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "bamboo" }, + { "test": "has_biome_tag", "value": "jungle" } + ] + }, + "distribution": { + "iterations": "math.ceil((query.noise(variable.originx / 80.0, variable.originz / 80.0) + 0.3) * 160.0)", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/bamboo_jungle_surface_tall_grass_feature.json b/behavior_pack/feature_rules/bamboo_jungle_surface_tall_grass_feature.json new file mode 100644 index 0000000..2af5ae6 --- /dev/null +++ b/behavior_pack/feature_rules/bamboo_jungle_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:bamboo_jungle_surface_tall_grass_feature", + "places_feature": "minecraft:jungle_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:bamboo_jungle_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/bamboo_jungle_surface_trees_feature.json b/behavior_pack/feature_rules/bamboo_jungle_surface_trees_feature.json new file mode 100644 index 0000000..956cc7c --- /dev/null +++ b/behavior_pack/feature_rules/bamboo_jungle_surface_trees_feature.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:bamboo_jungle_surface_trees_feature", + "places_feature": "minecraft:legacy:bamboo_jungle_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "bamboo" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "jungle" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/birch_forest_mutated_surface_trees_feature.json b/behavior_pack/feature_rules/birch_forest_mutated_surface_trees_feature.json new file mode 100644 index 0000000..ba662a7 --- /dev/null +++ b/behavior_pack/feature_rules/birch_forest_mutated_surface_trees_feature.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:birch_forest_mutated_surface_trees_feature", + "places_feature": "minecraft:legacy:birch_forest_mutated_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest" + }, + { + "all_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "birch" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mutated" + } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/birch_forest_surface_trees_feature.json b/behavior_pack/feature_rules/birch_forest_surface_trees_feature.json new file mode 100644 index 0000000..2d47b21 --- /dev/null +++ b/behavior_pack/feature_rules/birch_forest_surface_trees_feature.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:birch_forest_surface_trees_feature", + "places_feature": "minecraft:legacy:birch_forest_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest" + }, + { + "all_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "birch" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mutated" + } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/cherry_biome_surface_double_plant_feature_rules.json b/behavior_pack/feature_rules/cherry_biome_surface_double_plant_feature_rules.json new file mode 100644 index 0000000..852463f --- /dev/null +++ b/behavior_pack/feature_rules/cherry_biome_surface_double_plant_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cherry_biome_surface_double_plant_feature_rules", + "places_feature": "minecraft:grass_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "cherry_grove" } + ] + }, + "distribution": { + "iterations": "((query.noise((variable.originx + 8) / 200.0, (variable.originz + 8) / 200.0) >= -0.8) && variable.is_legacy == 0.0) ? 7 : 0", + "scatter_chance": { + "numerator": 1, + "denominator": 32 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/cherry_biome_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/cherry_biome_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..9db6b5c --- /dev/null +++ b/behavior_pack/feature_rules/cherry_biome_surface_tall_grass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cherry_biome_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "cherry_grove" } + ] + }, + "distribution": { + "iterations": "(query.noise((variable.originx + 8) / 200.0, (variable.originz + 8) / 200.0) < -0.8) ? 5 : 10", + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/cherry_grove_after_surface_cherry_tree_feature_rules.json b/behavior_pack/feature_rules/cherry_grove_after_surface_cherry_tree_feature_rules.json new file mode 100644 index 0000000..ea4773c --- /dev/null +++ b/behavior_pack/feature_rules/cherry_grove_after_surface_cherry_tree_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cherry_grove_after_surface_cherry_tree_feature_rules", + "places_feature": "minecraft:random_cherry_tree_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "cherry_grove" } + ] + }, + "distribution": { + // This value is out of parity, but the resulting behavior is. + "iterations": 5, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/cherry_grove_cherry_tree_feature_rules.json b/behavior_pack/feature_rules/cherry_grove_cherry_tree_feature_rules.json new file mode 100644 index 0000000..9f0c8d5 --- /dev/null +++ b/behavior_pack/feature_rules/cherry_grove_cherry_tree_feature_rules.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cherry_grove_cherry_tree_feature_rules", + "places_feature": "minecraft:random_cherry_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:cherry_grove_after_surface_cherry_tree_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/cherry_grove_pink_petals_feature_rules.json b/behavior_pack/feature_rules/cherry_grove_pink_petals_feature_rules.json new file mode 100644 index 0000000..edbf9d7 --- /dev/null +++ b/behavior_pack/feature_rules/cherry_grove_pink_petals_feature_rules.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cherry_grove_pink_petals_feature_rules", + "places_feature": "minecraft:pink_petals_scatter_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:cherry_grove_pink_petals_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/cherry_grove_surface_pink_petals_feature_rules.json b/behavior_pack/feature_rules/cherry_grove_surface_pink_petals_feature_rules.json new file mode 100644 index 0000000..0bd0345 --- /dev/null +++ b/behavior_pack/feature_rules/cherry_grove_surface_pink_petals_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cherry_grove_surface_pink_petals_feature_rules", + "places_feature": "minecraft:pink_petals_scatter_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "cherry_grove" } + ] + }, + "distribution": { + "iterations": "(query.noise((variable.originx) / 200.0, (variable.originz) / 200.0) < -0.8) ? 5 : 10", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/cold_taiga_after_surface_sweet_berry_bush_feature_rules.json b/behavior_pack/feature_rules/cold_taiga_after_surface_sweet_berry_bush_feature_rules.json new file mode 100644 index 0000000..27fd268 --- /dev/null +++ b/behavior_pack/feature_rules/cold_taiga_after_surface_sweet_berry_bush_feature_rules.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cold_taiga_after_surface_sweet_berry_bush_feature_rules", + "places_feature": "minecraft:scatter_sweet_berry_bush_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "mega" }, + { "test": "has_biome_tag", "value": "cold" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 384 + }, + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/cold_taiga_first_sweet_berry_bush_feature.json b/behavior_pack/feature_rules/cold_taiga_first_sweet_berry_bush_feature.json new file mode 100644 index 0000000..73e7ed0 --- /dev/null +++ b/behavior_pack/feature_rules/cold_taiga_first_sweet_berry_bush_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:cold_taiga_first_sweet_berry_bush_feature", + "places_feature": "minecraft:scatter_sweet_berry_bush_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:cold_taiga_after_surface_sweet_berry_bush_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/desert_after_surface_cactus_feature_rules.json b/behavior_pack/feature_rules/desert_after_surface_cactus_feature_rules.json new file mode 100644 index 0000000..2e27dca --- /dev/null +++ b/behavior_pack/feature_rules/desert_after_surface_cactus_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_after_surface_cactus_feature_rules", + "places_feature": "minecraft:cactus_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "desert" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 6 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/desert_after_surface_dead_bush_feature_rules.json b/behavior_pack/feature_rules/desert_after_surface_dead_bush_feature_rules.json new file mode 100644 index 0000000..c219223 --- /dev/null +++ b/behavior_pack/feature_rules/desert_after_surface_dead_bush_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_after_surface_dead_bush_feature_rules", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "desert" } + ] + }, + "distribution": { + "iterations": 2, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/desert_after_surface_desert_well_feature.json b/behavior_pack/feature_rules/desert_after_surface_desert_well_feature.json new file mode 100644 index 0000000..7e71ffa --- /dev/null +++ b/behavior_pack/feature_rules/desert_after_surface_desert_well_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_after_surface_desert_well_feature", + "places_feature": "minecraft:desert_well_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "desert" + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 500 + }, + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/desert_after_surface_reeds_feature_rules.json b/behavior_pack/feature_rules/desert_after_surface_reeds_feature_rules.json new file mode 100644 index 0000000..8230482 --- /dev/null +++ b/behavior_pack/feature_rules/desert_after_surface_reeds_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_after_surface_reeds_feature_rules", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "desert" } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/desert_or_swamp_after_surface_fossil_deepslate_feature.json b/behavior_pack/feature_rules/desert_or_swamp_after_surface_fossil_deepslate_feature.json new file mode 100644 index 0000000..e485f7c --- /dev/null +++ b/behavior_pack/feature_rules/desert_or_swamp_after_surface_fossil_deepslate_feature.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_or_swamp_after_surface_fossil_deepslate_feature", + "places_feature": "minecraft:deepslate_diamond_fossil_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "desert" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "swamp" + } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 64 + }, + "x": 0, + "y": { + "distribution": "uniform", + "extent": [ -64, -8 ] + }, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/desert_surface_cactus_feature.json b/behavior_pack/feature_rules/desert_surface_cactus_feature.json new file mode 100644 index 0000000..40c996f --- /dev/null +++ b/behavior_pack/feature_rules/desert_surface_cactus_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_surface_cactus_feature", + "places_feature": "minecraft:cactus_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:desert_after_surface_cactus_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/desert_surface_dead_bush_feature.json b/behavior_pack/feature_rules/desert_surface_dead_bush_feature.json new file mode 100644 index 0000000..5e5a6c6 --- /dev/null +++ b/behavior_pack/feature_rules/desert_surface_dead_bush_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_surface_dead_bush_feature", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:desert_after_surface_dead_bush_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/desert_surface_reeds_feature.json b/behavior_pack/feature_rules/desert_surface_reeds_feature.json new file mode 100644 index 0000000..c3484e9 --- /dev/null +++ b/behavior_pack/feature_rules/desert_surface_reeds_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:desert_surface_reeds_feature", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:desert_after_surface_reeds_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/dripstone_caves_underground_copper_ore_feature.json b/behavior_pack/feature_rules/dripstone_caves_underground_copper_ore_feature.json new file mode 100644 index 0000000..b283503 --- /dev/null +++ b/behavior_pack/feature_rules/dripstone_caves_underground_copper_ore_feature.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:dripstone_caves_underground_copper_ore_feature", + "places_feature": "minecraft:dripstone_caves_copper_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "dripstone_caves" + } + }, + "distribution": { + "iterations": 16, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -16, 112 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/dripstone_cluster_feature.json b/behavior_pack/feature_rules/dripstone_cluster_feature.json new file mode 100644 index 0000000..f45b3bb --- /dev/null +++ b/behavior_pack/feature_rules/dripstone_cluster_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:dripstone_cluster_feature", + "places_feature": "minecraft:dripstone_cluster_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "dripstone_caves" + } + ] + }, + "distribution": { + "iterations": "Math.Random(48, 96)", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/extreme_hills_after_surface_emerald_ore_feature.json b/behavior_pack/feature_rules/extreme_hills_after_surface_emerald_ore_feature.json new file mode 100644 index 0000000..dc1ac35 --- /dev/null +++ b/behavior_pack/feature_rules/extreme_hills_after_surface_emerald_ore_feature.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:extreme_hills_after_surface_emerald_ore_feature", + "places_feature": "minecraft:legacy:emerald_ore_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "extreme_hills" + } + ] + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/extreme_hills_after_surface_silverfish_feature.json b/behavior_pack/feature_rules/extreme_hills_after_surface_silverfish_feature.json new file mode 100644 index 0000000..1a16920 --- /dev/null +++ b/behavior_pack/feature_rules/extreme_hills_after_surface_silverfish_feature.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:extreme_hills_after_surface_silverfish_feature", + "places_feature": "minecraft:silverfish_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "extreme_hills" + } + ] + }, + "distribution": { + "iterations": 0, + "coordinate_eval_order": "xyz", + "x": { + "distribution": "uniform", + "extent": [ 0, 1 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 0, 1 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 1 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/extreme_hills_plus_trees_surface_trees_feature.json b/behavior_pack/feature_rules/extreme_hills_plus_trees_surface_trees_feature.json new file mode 100644 index 0000000..b7cec8e --- /dev/null +++ b/behavior_pack/feature_rules/extreme_hills_plus_trees_surface_trees_feature.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:extreme_hills_plus_trees_surface_trees_feature", + "places_feature": "minecraft:legacy:extreme_hills_plus_trees_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "edge" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "extreme_hills" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/eyeblossom_feature_rules.json b/behavior_pack/feature_rules/eyeblossom_feature_rules.json new file mode 100644 index 0000000..b5440d5 --- /dev/null +++ b/behavior_pack/feature_rules/eyeblossom_feature_rules.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:eyeblossom_feature_rules", + "places_feature": "minecraft:scatter_eyeblossom_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "operator": "==", "value": "pale_garden" } + ] + }, + "distribution": { + "iterations": 5, + "x": "math.random(-8, 8)", + "y": 0, + "z": "math.random(-8, 8)" + } + } +} \ No newline at end of file diff --git a/behavior_pack/feature_rules/flower_forest_after_surface_flowers_feature_rules.json b/behavior_pack/feature_rules/flower_forest_after_surface_flowers_feature_rules.json new file mode 100644 index 0000000..b3e6cb2 --- /dev/null +++ b/behavior_pack/feature_rules/flower_forest_after_surface_flowers_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:flower_forest_after_surface_flowers_feature_rules", + "places_feature": "minecraft:scatter_flower_forest_flower_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "flower_forest" } + ] + }, + "distribution": { + "iterations": 3, + "scatter_chance": { + "numerator": 1, + "denominator": 2 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/flower_forest_first_foliage_feature.json b/behavior_pack/feature_rules/flower_forest_first_foliage_feature.json new file mode 100644 index 0000000..7ee1587 --- /dev/null +++ b/behavior_pack/feature_rules/flower_forest_first_foliage_feature.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:flower_forest_first_foliage_feature", + "places_feature": "minecraft:legacy:flower_forest_foliage_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "flower_forest" + } + ] + }, + "distribution": { + "iterations": 1, + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/flower_forest_surface_flowers_feature.json b/behavior_pack/feature_rules/flower_forest_surface_flowers_feature.json new file mode 100644 index 0000000..102b1db --- /dev/null +++ b/behavior_pack/feature_rules/flower_forest_surface_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:flower_forest_surface_flowers_feature", + "places_feature": "minecraft:scatter_flower_forest_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:flower_forest_after_surface_flowers_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/flower_forest_surface_trees_feature.json b/behavior_pack/feature_rules/flower_forest_surface_trees_feature.json new file mode 100644 index 0000000..4a8eb5d --- /dev/null +++ b/behavior_pack/feature_rules/flower_forest_surface_trees_feature.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:flower_forest_surface_trees_feature", + "places_feature": "minecraft:legacy:flower_forest_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "flower_forest" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/forest_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/forest_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..4d2c172 --- /dev/null +++ b/behavior_pack/feature_rules/forest_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:forest_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "forest" }, + { "test": "has_biome_tag", "operator": "not", "value": "taiga" } + ] + }, + "distribution": { + "iterations": 2, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/forest_first_foliage_feature.json b/behavior_pack/feature_rules/forest_first_foliage_feature.json new file mode 100644 index 0000000..fc532d1 --- /dev/null +++ b/behavior_pack/feature_rules/forest_first_foliage_feature.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:forest_first_foliage_feature", + "places_feature": "minecraft:legacy:forest_foliage_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest_generation" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "roofed" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "extreme_hills" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "taiga" + } + ] + }, + "distribution": { + "iterations": 1, + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/forest_surface_flowers_feature.json b/behavior_pack/feature_rules/forest_surface_flowers_feature.json new file mode 100644 index 0000000..965cb65 --- /dev/null +++ b/behavior_pack/feature_rules/forest_surface_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:forest_surface_flowers_feature", + "places_feature": "minecraft:legacy:forest_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated and is no longer used. + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/forest_surface_tall_grass_feature.json b/behavior_pack/feature_rules/forest_surface_tall_grass_feature.json new file mode 100644 index 0000000..24c56ba --- /dev/null +++ b/behavior_pack/feature_rules/forest_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:forest_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:forest_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/forest_surface_trees_feature.json b/behavior_pack/feature_rules/forest_surface_trees_feature.json new file mode 100644 index 0000000..2fa0718 --- /dev/null +++ b/behavior_pack/feature_rules/forest_surface_trees_feature.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:forest_surface_trees_feature", + "places_feature": "minecraft:legacy:forest_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest_generation" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "birch" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "roofed" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "extreme_hills" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "taiga" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/frozen_ocean_after_surface_ice_feature.json b/behavior_pack/feature_rules/frozen_ocean_after_surface_ice_feature.json new file mode 100644 index 0000000..01ad94b --- /dev/null +++ b/behavior_pack/feature_rules/frozen_ocean_after_surface_ice_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:frozen_ocean_after_surface_ice_feature", + "places_feature": "minecraft:legacy:ice_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "frozen" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "ocean" + }, + // Needed to distinguish between frozen_ocean and legacy_frozen_ocean + { + "test": "has_biome_tag", + "operator": "==", + "value": "monster" + } + ] + }, + "distribution": { + "iterations": 1, + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/grove_pine_tree_feature.json b/behavior_pack/feature_rules/grove_pine_tree_feature.json new file mode 100644 index 0000000..54f6846 --- /dev/null +++ b/behavior_pack/feature_rules/grove_pine_tree_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:grove_pine_tree_feature", + "places_feature": "minecraft:mountain_pine_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "grove" + } + ] + }, + "distribution": { + "iterations": 3, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} + diff --git a/behavior_pack/feature_rules/grove_spruce_tree_feature.json b/behavior_pack/feature_rules/grove_spruce_tree_feature.json new file mode 100644 index 0000000..46f543c --- /dev/null +++ b/behavior_pack/feature_rules/grove_spruce_tree_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:grove_spruce_tree_feature", + "places_feature": "minecraft:mountain_spruce_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "grove" + } + ] + }, + "distribution": { + "iterations": 7, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} + diff --git a/behavior_pack/feature_rules/ice_surface_trees_feature.json b/behavior_pack/feature_rules/ice_surface_trees_feature.json new file mode 100644 index 0000000..3f06ffe --- /dev/null +++ b/behavior_pack/feature_rules/ice_surface_trees_feature.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:ice_surface_trees_feature", + "places_feature": "minecraft:legacy:ice_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "ice" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mutated" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/jungle_after_surface_bamboo_feature.json b/behavior_pack/feature_rules/jungle_after_surface_bamboo_feature.json new file mode 100644 index 0000000..ae97464 --- /dev/null +++ b/behavior_pack/feature_rules/jungle_after_surface_bamboo_feature.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_after_surface_bamboo_feature", + "places_feature": "minecraft:bamboo_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "jungle" }, + { "test": "has_biome_tag", "operator": "not", "value": "edge" }, + { "test": "has_biome_tag", "operator": "not", "value": "bamboo" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 4 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/jungle_after_surface_flowers_feature_rules.json b/behavior_pack/feature_rules/jungle_after_surface_flowers_feature_rules.json new file mode 100644 index 0000000..57ee9ca --- /dev/null +++ b/behavior_pack/feature_rules/jungle_after_surface_flowers_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_after_surface_flowers_feature_rules", + "places_feature": "minecraft:scatter_overworld_flower_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "jungle" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 16 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/jungle_after_surface_melon_feature.json b/behavior_pack/feature_rules/jungle_after_surface_melon_feature.json new file mode 100644 index 0000000..8ff876d --- /dev/null +++ b/behavior_pack/feature_rules/jungle_after_surface_melon_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_after_surface_melon_feature", + "places_feature": "minecraft:melon_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "jungle" }, + { "test": "has_biome_tag", "operator": "not", "value": "edge" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 6 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/jungle_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/jungle_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..1e09734 --- /dev/null +++ b/behavior_pack/feature_rules/jungle_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_jungle_plant_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "jungle" } + ] + }, + "distribution": { + "iterations": 25, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/jungle_after_surface_vines_feature.json b/behavior_pack/feature_rules/jungle_after_surface_vines_feature.json new file mode 100644 index 0000000..c63fde4 --- /dev/null +++ b/behavior_pack/feature_rules/jungle_after_surface_vines_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_after_surface_vines_feature", + "places_feature": "minecraft:fixup_vines_position_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "jungle" + } + ] + }, + "distribution": { + "iterations": 50, + "coordinate_eval_order": "xzy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/jungle_edge_after_surface_melon_feature.json b/behavior_pack/feature_rules/jungle_edge_after_surface_melon_feature.json new file mode 100644 index 0000000..4514136 --- /dev/null +++ b/behavior_pack/feature_rules/jungle_edge_after_surface_melon_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_edge_after_surface_melon_feature", + "places_feature": "minecraft:melon_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "jungle" }, + { "test": "has_biome_tag", "value": "edge" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 64 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/jungle_edge_surface_trees_feature.json b/behavior_pack/feature_rules/jungle_edge_surface_trees_feature.json new file mode 100644 index 0000000..a7fbedc --- /dev/null +++ b/behavior_pack/feature_rules/jungle_edge_surface_trees_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_edge_surface_trees_feature", + "places_feature": "minecraft:legacy:jungle_edge_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "!=", + "value": "bamboo" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "jungle" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "edge" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/jungle_surface_flowers_feature.json b/behavior_pack/feature_rules/jungle_surface_flowers_feature.json new file mode 100644 index 0000000..56173d8 --- /dev/null +++ b/behavior_pack/feature_rules/jungle_surface_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_surface_flowers_feature", + "places_feature": "minecraft:scatter_overworld_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:jungle_after_surface_flowers_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/jungle_surface_tall_grass_feature.json b/behavior_pack/feature_rules/jungle_surface_tall_grass_feature.json new file mode 100644 index 0000000..269d6a9 --- /dev/null +++ b/behavior_pack/feature_rules/jungle_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_surface_tall_grass_feature", + "places_feature": "minecraft:jungle_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:jungle_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/jungle_surface_trees_feature.json b/behavior_pack/feature_rules/jungle_surface_trees_feature.json new file mode 100644 index 0000000..5d7a2af --- /dev/null +++ b/behavior_pack/feature_rules/jungle_surface_trees_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:jungle_surface_trees_feature", + "places_feature": "minecraft:legacy:jungle_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "!=", + "value": "bamboo" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "jungle" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "edge" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/large_dripstone_feature.json b/behavior_pack/feature_rules/large_dripstone_feature.json new file mode 100644 index 0000000..c21e57e --- /dev/null +++ b/behavior_pack/feature_rules/large_dripstone_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:large_dripstone_feature", + "places_feature": "minecraft:large_dripstone_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "dripstone_caves" + } + ] + }, + "distribution": { + "iterations": "0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lukewarm_ocean_after_surface_kelp_feature_rules.json b/behavior_pack/feature_rules/lukewarm_ocean_after_surface_kelp_feature_rules.json new file mode 100644 index 0000000..334a723 --- /dev/null +++ b/behavior_pack/feature_rules/lukewarm_ocean_after_surface_kelp_feature_rules.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lukewarm_ocean_after_surface_kelp_feature_rules", + "places_feature": "minecraft:kelp_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "ocean" }, + { "test": "has_biome_tag", "value": "lukewarm" } + ] + }, + "distribution": { + "iterations": "math.ceil(query.noise(variable.originx / 80.0, variable.originz / 80.0) * 80.0)", + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lukewarm_ocean_surface_kelp_feature.json b/behavior_pack/feature_rules/lukewarm_ocean_surface_kelp_feature.json new file mode 100644 index 0000000..f034186 --- /dev/null +++ b/behavior_pack/feature_rules/lukewarm_ocean_surface_kelp_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lukewarm_ocean_surface_kelp_feature", + "places_feature": "minecraft:kelp_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:lukewarm_ocean_after_surface_kelp_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/lush_caves_after_surface_azalea_root_system_feature.json b/behavior_pack/feature_rules/lush_caves_after_surface_azalea_root_system_feature.json new file mode 100644 index 0000000..3a41476 --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_after_surface_azalea_root_system_feature.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_after_surface_azalea_root_system_feature", + "places_feature": "minecraft:azalea_root_system_snap_to_ceiling_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": "Math.Random(1, 2)", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/feature_rules/lush_caves_after_surface_cave_vines_feature.json b/behavior_pack/feature_rules/lush_caves_after_surface_cave_vines_feature.json new file mode 100644 index 0000000..08fa82a --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_after_surface_cave_vines_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_after_surface_cave_vines_feature", + "places_feature": "minecraft:cave_vine_snap_to_ceiling_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": 188, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lush_caves_after_surface_leaf_clay_feature.json b/behavior_pack/feature_rules/lush_caves_after_surface_leaf_clay_feature.json new file mode 100644 index 0000000..2f2e450 --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_after_surface_leaf_clay_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_after_surface_leaf_clay_feature", + "places_feature": "minecraft:random_clay_with_dripleaves_snap_to_floor_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": 62, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lush_caves_after_surface_moss_ceiling_feature.json b/behavior_pack/feature_rules/lush_caves_after_surface_moss_ceiling_feature.json new file mode 100644 index 0000000..9035a5f --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_after_surface_moss_ceiling_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_after_surface_moss_ceiling_feature", + "places_feature": "minecraft:moss_ceiling_snap_to_ceiling_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": 125, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lush_caves_after_surface_spore_blossom_feature.json b/behavior_pack/feature_rules/lush_caves_after_surface_spore_blossom_feature.json new file mode 100644 index 0000000..af1e1c1 --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_after_surface_spore_blossom_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_after_surface_spore_blossom_feature", + "places_feature": "minecraft:spore_blossom_snap_to_ceiling_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": 25, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lush_caves_after_surface_vegetation_feature.json b/behavior_pack/feature_rules/lush_caves_after_surface_vegetation_feature.json new file mode 100644 index 0000000..ddecf7f --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_after_surface_vegetation_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_after_surface_vegetation_feature", + "places_feature": "minecraft:moss_patch_snap_to_floor_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": 125, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lush_caves_after_surface_vines_feature.json b/behavior_pack/feature_rules/lush_caves_after_surface_vines_feature.json new file mode 100644 index 0000000..ee20afc --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_after_surface_vines_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_after_surface_vines_feature", + "places_feature": "minecraft:vines_single_face_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": 256, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/lush_caves_underground_clay_ore_feature.json b/behavior_pack/feature_rules/lush_caves_underground_clay_ore_feature.json new file mode 100644 index 0000000..c22dcbf --- /dev/null +++ b/behavior_pack/feature_rules/lush_caves_underground_clay_ore_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:lush_caves_underground_clay_ore_feature", + "places_feature": "minecraft:clay_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "lush_caves" + } + ] + }, + "distribution": { + "iterations": 46, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_after_surface_dead_bush_feature_rules.json b/behavior_pack/feature_rules/mangrove_swamp_after_surface_dead_bush_feature_rules.json new file mode 100644 index 0000000..0582c9d --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_after_surface_dead_bush_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mangrove_swamp_after_surface_dead_bush_feature_rules", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mangrove_swamp" } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_after_surface_seagrass_feature_rules.json b/behavior_pack/feature_rules/mangrove_swamp_after_surface_seagrass_feature_rules.json new file mode 100644 index 0000000..8507b02 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_after_surface_seagrass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mangrove_swamp_after_surface_seagrass_feature_rules", + "places_feature": "minecraft:seagrass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mangrove_swamp" } + ] + }, + "distribution": { + "iterations": 8, + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/mangrove_swamp_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..4c8a436 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mangrove_swamp_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mangrove_swamp" } + ] + }, + "distribution": { + "iterations": 5, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_feature.json b/behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_feature.json new file mode 100644 index 0000000..c840bf0 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mangrove_swamp_mangrove_tree_feature", + "places_feature": "minecraft:random_mangrove_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mangrove_swamp" } + ] + }, + "distribution": { + "iterations": 25, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "math.max(query.above_top_solid(variable.worldx, variable.worldz), query.heightmap(variable.worldx, variable.worldz) - 4)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_with_beenest_feature.json b/behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_with_beenest_feature.json new file mode 100644 index 0000000..a4ba0a6 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_mangrove_tree_with_beenest_feature.json @@ -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 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_surface_dead_bush_feature.json b/behavior_pack/feature_rules/mangrove_swamp_surface_dead_bush_feature.json new file mode 100644 index 0000000..a4869ff --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_surface_dead_bush_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mangrove_swamp_surface_dead_bush_feature", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mangrove_swamp_after_surface_dead_bush_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_surface_seagrass_feature.json b/behavior_pack/feature_rules/mangrove_swamp_surface_seagrass_feature.json new file mode 100644 index 0000000..c045559 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_surface_seagrass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mangrove_swamp_surface_seagrass_feature", + "places_feature": "minecraft:seagrass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mangrove_swamp_after_surface_seagrass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_surface_tall_grass_feature.json b/behavior_pack/feature_rules/mangrove_swamp_surface_tall_grass_feature.json new file mode 100644 index 0000000..8ae8533 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mangrove_swamp_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mangrove_swamp_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_feature.json b/behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_feature.json new file mode 100644 index 0000000..85efc58 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_feature.json @@ -0,0 +1,16 @@ +{ + "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": [ + // This feature has been deprecated in favor of "minecraft:random_mangrove_tree_feature". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_with_beenest_feature.json b/behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_with_beenest_feature.json new file mode 100644 index 0000000..8798077 --- /dev/null +++ b/behavior_pack/feature_rules/mangrove_swamp_tall_mangrove_tree_with_beenest_feature.json @@ -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 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/meadow_after_surface_double_plant_feature_rules.json b/behavior_pack/feature_rules/meadow_after_surface_double_plant_feature_rules.json new file mode 100644 index 0000000..c8a55cd --- /dev/null +++ b/behavior_pack/feature_rules/meadow_after_surface_double_plant_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:meadow_after_surface_double_plant_feature_rules", + "places_feature": "minecraft:grass_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "meadow" } + ] + }, + "distribution": { + "iterations": "((query.noise((variable.originx + 8) / 200.0, (variable.originz + 8) / 200.0) >= -0.8) && variable.is_legacy == 0.0) ? 7 : 0", + "scatter_chance": { + "numerator": 1, + "denominator": 32 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/meadow_after_surface_flowers_feature_rules.json b/behavior_pack/feature_rules/meadow_after_surface_flowers_feature_rules.json new file mode 100644 index 0000000..3cfe6b6 --- /dev/null +++ b/behavior_pack/feature_rules/meadow_after_surface_flowers_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:meadow_after_surface_flowers_feature_rules", + "places_feature": "minecraft:scatter_meadow_flower_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "meadow" } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/meadow_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/meadow_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..df5cd33 --- /dev/null +++ b/behavior_pack/feature_rules/meadow_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:meadow_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "meadow" } + ] + }, + "distribution": { + "iterations": "(query.noise((variable.originx + 8) / 200.0, (variable.originz + 8) / 200.0) < -0.8) ? 5 : 10", + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/meadow_flowers_feature.json b/behavior_pack/feature_rules/meadow_flowers_feature.json new file mode 100644 index 0000000..c19a2d1 --- /dev/null +++ b/behavior_pack/feature_rules/meadow_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:meadow_flowers_feature", + "places_feature": "minecraft:scatter_meadow_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:meadow_after_surface_flowers_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/meadow_surface_double_plant_feature_rules.json b/behavior_pack/feature_rules/meadow_surface_double_plant_feature_rules.json new file mode 100644 index 0000000..8fe2ef0 --- /dev/null +++ b/behavior_pack/feature_rules/meadow_surface_double_plant_feature_rules.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:meadow_surface_double_plant_feature_rules", + "places_feature": "minecraft:grass_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:meadow_after_surface_double_plant_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/meadow_surface_tall_grass_feature.json b/behavior_pack/feature_rules/meadow_surface_tall_grass_feature.json new file mode 100644 index 0000000..af23ec2 --- /dev/null +++ b/behavior_pack/feature_rules/meadow_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:meadow_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:meadow_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/meadow_surface_trees_feature.json b/behavior_pack/feature_rules/meadow_surface_trees_feature.json new file mode 100644 index 0000000..729dbf4 --- /dev/null +++ b/behavior_pack/feature_rules/meadow_surface_trees_feature.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:meadow_surface_trees_feature", + "places_feature": "minecraft:legacy:meadow_trees_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "meadow" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_after_surface_brown_mushroom_feature_rules.json b/behavior_pack/feature_rules/mega_taiga_after_surface_brown_mushroom_feature_rules.json new file mode 100644 index 0000000..3cb963b --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_after_surface_brown_mushroom_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_after_surface_brown_mushroom_feature_rules", + "places_feature": "minecraft:scatter_brown_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "mega" } + ] + }, + "distribution": { + "iterations": 3, + "scatter_chance": { + "numerator": 1, + "denominator": 4 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_after_surface_dead_bush_feature_rules.json b/behavior_pack/feature_rules/mega_taiga_after_surface_dead_bush_feature_rules.json new file mode 100644 index 0000000..9f60572 --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_after_surface_dead_bush_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_after_surface_dead_bush_feature_rules", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "mega" } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_after_surface_red_mushroom_feature_rules.json b/behavior_pack/feature_rules/mega_taiga_after_surface_red_mushroom_feature_rules.json new file mode 100644 index 0000000..5975e57 --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_after_surface_red_mushroom_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_after_surface_red_mushroom_feature_rules", + "places_feature": "minecraft:scatter_red_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "mega" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 171 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/mega_taiga_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..f10928d --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_taiga_plant_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "mega" } + ] + }, + "distribution": { + "iterations": 7, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_first_forest_rock_feature.json b/behavior_pack/feature_rules/mega_taiga_first_forest_rock_feature.json new file mode 100644 index 0000000..89a3fce --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_first_forest_rock_feature.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_first_forest_rock_feature", + "places_feature": "minecraft:legacy:forest_rock_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mega" + } + ] + }, + "distribution": { + "iterations": 1, + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_surface_dead_bush_feature.json b/behavior_pack/feature_rules/mega_taiga_surface_dead_bush_feature.json new file mode 100644 index 0000000..917db16 --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_surface_dead_bush_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_surface_dead_bush_feature", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mega_taiga_after_surface_dead_bush_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_surface_mushrooms_feature.json b/behavior_pack/feature_rules/mega_taiga_surface_mushrooms_feature.json new file mode 100644 index 0000000..274962d --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_surface_mushrooms_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_surface_mushrooms_feature", + "places_feature": "minecraft:legacy:small_mushrooms_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "mega_taiga_after_surface_brown_mushroom_feature_rules" and "mega_taiga_after_surface_red_mushroom_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_surface_tall_grass_feature.json b/behavior_pack/feature_rules/mega_taiga_surface_tall_grass_feature.json new file mode 100644 index 0000000..9bd000f --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_taiga_plant_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mega_taiga_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mega_taiga_surface_trees_feature.json b/behavior_pack/feature_rules/mega_taiga_surface_trees_feature.json new file mode 100644 index 0000000..374eda5 --- /dev/null +++ b/behavior_pack/feature_rules/mega_taiga_surface_trees_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mega_taiga_surface_trees_feature", + "places_feature": "minecraft:legacy:mega_taiga_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mega" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mutated" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/mesa_after_surface_cactus_feature_rules.json b/behavior_pack/feature_rules/mesa_after_surface_cactus_feature_rules.json new file mode 100644 index 0000000..4ba7799 --- /dev/null +++ b/behavior_pack/feature_rules/mesa_after_surface_cactus_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_after_surface_cactus_feature_rules", + "places_feature": "minecraft:cactus_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mesa" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 13 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mesa_after_surface_dead_bush_feature_rules.json b/behavior_pack/feature_rules/mesa_after_surface_dead_bush_feature_rules.json new file mode 100644 index 0000000..1016f4e --- /dev/null +++ b/behavior_pack/feature_rules/mesa_after_surface_dead_bush_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_after_surface_dead_bush_feature_rules", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mesa" } + ] + }, + "distribution": { + "iterations": 20, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mesa_after_surface_reeds_feature_rules.json b/behavior_pack/feature_rules/mesa_after_surface_reeds_feature_rules.json new file mode 100644 index 0000000..702c7a8 --- /dev/null +++ b/behavior_pack/feature_rules/mesa_after_surface_reeds_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_after_surface_reeds_feature_rules", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mesa" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 5 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mesa_before_surface_gold_ore_feature.json b/behavior_pack/feature_rules/mesa_before_surface_gold_ore_feature.json new file mode 100644 index 0000000..7e43192 --- /dev/null +++ b/behavior_pack/feature_rules/mesa_before_surface_gold_ore_feature.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_before_surface_gold_ore_feature", + "places_feature": "minecraft:fixup_mesa_gold_position_feature" + }, + "conditions": { + "placement_pass": "before_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "mesa" + } + ] + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/mesa_plateau_stone_surface_trees_feature.json b/behavior_pack/feature_rules/mesa_plateau_stone_surface_trees_feature.json new file mode 100644 index 0000000..3ca5c1b --- /dev/null +++ b/behavior_pack/feature_rules/mesa_plateau_stone_surface_trees_feature.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_plateau_stone_surface_trees_feature", + "places_feature": "minecraft:legacy:mesa_plateau_stone_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "stone" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mesa" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/mesa_surface_cactus_feature.json b/behavior_pack/feature_rules/mesa_surface_cactus_feature.json new file mode 100644 index 0000000..c523caa --- /dev/null +++ b/behavior_pack/feature_rules/mesa_surface_cactus_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_surface_cactus_feature", + "places_feature": "minecraft:cactus_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mesa_after_surface_cactus_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mesa_surface_dead_bush_feature.json b/behavior_pack/feature_rules/mesa_surface_dead_bush_feature.json new file mode 100644 index 0000000..0eeba6b --- /dev/null +++ b/behavior_pack/feature_rules/mesa_surface_dead_bush_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_surface_dead_bush_feature", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mesa_after_surface_dead_bush_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mesa_surface_reeds_feature.json b/behavior_pack/feature_rules/mesa_surface_reeds_feature.json new file mode 100644 index 0000000..f0519c3 --- /dev/null +++ b/behavior_pack/feature_rules/mesa_surface_reeds_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_surface_reeds_feature", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mesa_after_surface_reeds_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/mesa_underground_gold_ore_feature.json b/behavior_pack/feature_rules/mesa_underground_gold_ore_feature.json new file mode 100644 index 0000000..7670b99 --- /dev/null +++ b/behavior_pack/feature_rules/mesa_underground_gold_ore_feature.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mesa_underground_gold_ore_feature", + "places_feature": "minecraft:gold_ore_extra_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "mesa" + } + ] + }, + "distribution": { + "iterations": 50, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 32, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mountains_underground_coal_ore_feature.json b/behavior_pack/feature_rules/mountains_underground_coal_ore_feature.json new file mode 100644 index 0000000..4d60831 --- /dev/null +++ b/behavior_pack/feature_rules/mountains_underground_coal_ore_feature.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mountains_underground_coal_ore_feature", + "places_feature": "minecraft:coal_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "mountains" + } + }, + "distribution": { + "iterations": 20, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 128, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mushroom_island_after_surface_brown_mushroom_feature_rules.json b/behavior_pack/feature_rules/mushroom_island_after_surface_brown_mushroom_feature_rules.json new file mode 100644 index 0000000..4f762fd --- /dev/null +++ b/behavior_pack/feature_rules/mushroom_island_after_surface_brown_mushroom_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mushroom_island_after_surface_brown_mushroom_feature_rules", + "places_feature": "minecraft:scatter_brown_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mooshroom_island" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 4 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mushroom_island_after_surface_red_mushroom_feature_rules.json b/behavior_pack/feature_rules/mushroom_island_after_surface_red_mushroom_feature_rules.json new file mode 100644 index 0000000..97faf33 --- /dev/null +++ b/behavior_pack/feature_rules/mushroom_island_after_surface_red_mushroom_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mushroom_island_after_surface_red_mushroom_feature_rules", + "places_feature": "minecraft:scatter_red_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "mooshroom_island" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 256 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/mushroom_island_surface_mushrooms_feature.json b/behavior_pack/feature_rules/mushroom_island_surface_mushrooms_feature.json new file mode 100644 index 0000000..62d02ad --- /dev/null +++ b/behavior_pack/feature_rules/mushroom_island_surface_mushrooms_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:mushroom_island_surface_mushrooms_feature", + "places_feature": "minecraft:legacy:small_mushrooms_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:mushroom_island_after_surface_brown_mushroom_feature_rules" and "minecraft:mushroom_island_after_surface_red_mushroom_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/ocean_after_surface_kelp_feature_rules.json b/behavior_pack/feature_rules/ocean_after_surface_kelp_feature_rules.json new file mode 100644 index 0000000..06de9a0 --- /dev/null +++ b/behavior_pack/feature_rules/ocean_after_surface_kelp_feature_rules.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:ocean_after_surface_kelp_feature_rules", + "places_feature": "minecraft:kelp_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "ocean" }, + { "test": "has_biome_tag", "operator": "not", "value": "warm" }, + { "test": "has_biome_tag", "operator": "not", "value": "lukewarm" }, + { + "any_of": [ + { "test": "has_biome_tag", "operator": "not", "value": "frozen" }, + { "test": "has_biome_tag", "value": "legacy" } + ] + } + ] + }, + "distribution": { + "iterations": "math.ceil(query.noise(variable.originx / 80.0, variable.originz / 80.0) * 120.0)", + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/ocean_after_surface_seagrass_feature_rules.json b/behavior_pack/feature_rules/ocean_after_surface_seagrass_feature_rules.json new file mode 100644 index 0000000..8bade7a --- /dev/null +++ b/behavior_pack/feature_rules/ocean_after_surface_seagrass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:ocean_after_surface_seagrass_feature_rules", + "places_feature": "minecraft:seagrass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "ocean" } + ] + }, + "distribution": { + "iterations": 12, + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/ocean_surface_kelp_feature.json b/behavior_pack/feature_rules/ocean_surface_kelp_feature.json new file mode 100644 index 0000000..d766c76 --- /dev/null +++ b/behavior_pack/feature_rules/ocean_surface_kelp_feature.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:ocean_surface_kelp_feature", + "places_feature": "minecraft:kelp_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:ocean_after_surface_kelp_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} + diff --git a/behavior_pack/feature_rules/ocean_surface_seagrass_feature.json b/behavior_pack/feature_rules/ocean_surface_seagrass_feature.json new file mode 100644 index 0000000..4ef0b37 --- /dev/null +++ b/behavior_pack/feature_rules/ocean_surface_seagrass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:ocean_surface_seagrass_feature", + "places_feature": "minecraft:seagrass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:ocean_after_surface_seagrass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_after_surface_extra_brown_mushroom_feature_rules.json b/behavior_pack/feature_rules/overworld_after_surface_extra_brown_mushroom_feature_rules.json new file mode 100644 index 0000000..a46f549 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_after_surface_extra_brown_mushroom_feature_rules.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_after_surface_extra_brown_mushroom_feature_rules", + "places_feature": "minecraft:scatter_brown_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "overworld" }, + { "test": "has_biome_tag", "value": "overworld_generation" } + ] + }, + { "test": "has_biome_tag", "operator": "not", "value": "pale_garden" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 256 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_after_surface_extra_red_mushroom_feature_rules.json b/behavior_pack/feature_rules/overworld_after_surface_extra_red_mushroom_feature_rules.json new file mode 100644 index 0000000..a63725c --- /dev/null +++ b/behavior_pack/feature_rules/overworld_after_surface_extra_red_mushroom_feature_rules.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_after_surface_extra_red_mushroom_feature_rules", + "places_feature": "minecraft:scatter_red_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "overworld" }, + { "test": "has_biome_tag", "value": "overworld_generation" } + ] + }, + { "test": "has_biome_tag", "operator": "not", "value": "pale_garden" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 512 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_after_surface_flowers_feature_rules.json b/behavior_pack/feature_rules/overworld_after_surface_flowers_feature_rules.json new file mode 100644 index 0000000..61fdce8 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_after_surface_flowers_feature_rules.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_after_surface_flowers_feature_rules", + "places_feature": "minecraft:scatter_overworld_flower_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "overworld" }, + { "test": "has_biome_tag", "value": "overworld_generation" } + ] + }, + { "test": "has_biome_tag", "operator": "not", "value": "jungle" }, + { "test": "has_biome_tag", "operator": "not", "value": "flower_forest" }, + { "test": "has_biome_tag", "operator": "not", "value": "swamp" }, + { "test": "has_biome_tag", "operator": "not", "value": "mangrove_swamp" }, + { "test": "has_biome_tag", "operator": "not", "value": "mesa" }, + { "test": "has_biome_tag", "operator": "not", "value": "mooshroom_island" }, + { "test": "has_biome_tag", "operator": "not", "value": "plains" }, + { "test": "has_biome_tag", "operator": "not", "value": "cherry_grove" }, + { "test": "has_biome_tag", "operator": "not", "value": "pale_garden" }, + { + "any_of": [ + { "test": "has_biome_tag", "operator": "not", "value": "savanna" }, + { "test": "has_biome_tag", "value": "mutated" } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 32 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_after_surface_kelp_feature_rules.json b/behavior_pack/feature_rules/overworld_after_surface_kelp_feature_rules.json new file mode 100644 index 0000000..4d5d167 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_after_surface_kelp_feature_rules.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_after_surface_kelp_feature_rules", + "places_feature": "minecraft:kelp_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "all_of": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "overworld" }, + { "test": "has_biome_tag", "value": "overworld_generation" } + ] + }, + { "test": "has_biome_tag", "operator": "not", "value": "ocean" } + ] + }, + { + "all_of": [ + { "test": "has_biome_tag", "value": "ocean" }, + { + "any_of": [ + { "test": "has_biome_tag", "value": "warm" }, + { + "all_of": [ + { "test": "has_biome_tag", "value": "frozen" }, + { "test": "has_biome_tag", "operator": "not", "value": "legacy" } + ] + } + ] + } + ] + } + ] + } + ] + }, + "distribution": { + "iterations": 0, // Most biomes no-op, but we still need to roll our scatter chance to keep rand consistent. + "scatter_chance": { + "numerator": 1, + "denominator": 18 + }, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_after_surface_pumpkin_feature_rules.json b/behavior_pack/feature_rules/overworld_after_surface_pumpkin_feature_rules.json new file mode 100644 index 0000000..6dacead --- /dev/null +++ b/behavior_pack/feature_rules/overworld_after_surface_pumpkin_feature_rules.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_after_surface_pumpkin_feature_rules", + "places_feature": "minecraft:pumpkin_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "overworld" }, + { "test": "has_biome_tag", "value": "overworld_generation" } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 300 + }, + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_after_surface_reeds_feature_rules.json b/behavior_pack/feature_rules/overworld_after_surface_reeds_feature_rules.json new file mode 100644 index 0000000..628ac4c --- /dev/null +++ b/behavior_pack/feature_rules/overworld_after_surface_reeds_feature_rules.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_after_surface_reeds_feature_rules", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "overworld" }, + { "test": "has_biome_tag", "value": "overworld_generation" } + ] + }, + { "test": "has_biome_tag", "operator": "not", "value": "desert" }, + { "test": "has_biome_tag", "operator": "not", "value": "swamp" }, + { "test": "has_biome_tag", "operator": "not", "value": "mesa" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 6 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/overworld_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..ab573c0 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "overworld" }, + { "test": "has_biome_tag", "value": "overworld_generation" } + ] + }, + { "test": "has_biome_tag", "operator": "not", "value": "plains" }, + { "test": "has_biome_tag", "operator": "not", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "jungle" }, + { "test": "has_biome_tag", "operator": "not", "value": "mooshroom_island" }, + { "test": "has_biome_tag", "operator": "not", "value": "savanna" }, + { "test": "has_biome_tag", "operator": "not", "value": "swamp" }, + { "test": "has_biome_tag", "operator": "not", "value": "mangrove_swamp" }, + { + "any_of": [ + { + "all_of": [ + { "test": "has_biome_tag", "operator": "not", "value": "forest" }, + { "test": "has_biome_tag", "operator": "not", "value": "forest_generation" } + ] + }, + { "test": "has_biome_tag", "value": "extreme_hills" } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_amethyst_geode_feature.json b/behavior_pack/feature_rules/overworld_amethyst_geode_feature.json new file mode 100644 index 0000000..3afe2a4 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_amethyst_geode_feature.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_amethyst_geode_feature", + "places_feature": "minecraft:amethyst_geode_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 24 + }, + "x": 0, + "y": { + "distribution": "uniform", + "extent": [ -58, 30 ] + }, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_extra_cave_carver_feature.json b/behavior_pack/feature_rules/overworld_extra_cave_carver_feature.json new file mode 100644 index 0000000..0e44941 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_extra_cave_carver_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_extra_cave_carver_feature", + "places_feature": "minecraft:underground_extra_cave_carver_feature" + }, + "conditions": { + "placement_pass": "pregeneration_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_extra_brown_mushroom_feature.json b/behavior_pack/feature_rules/overworld_surface_extra_brown_mushroom_feature.json new file mode 100644 index 0000000..649c437 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_extra_brown_mushroom_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_extra_brown_mushroom_feature", + "places_feature": "minecraft:scatter_brown_mushroom_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:overworld_after_surface_extra_brown_mushroom_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_extra_red_mushroom_feature.json b/behavior_pack/feature_rules/overworld_surface_extra_red_mushroom_feature.json new file mode 100644 index 0000000..d1b4ea7 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_extra_red_mushroom_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_extra_red_mushroom_feature", + "places_feature": "minecraft:scatter_red_mushroom_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:overworld_after_surface_extra_red_mushroom_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_flowers_feature.json b/behavior_pack/feature_rules/overworld_surface_flowers_feature.json new file mode 100644 index 0000000..ae0eb48 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_flowers_feature", + "places_feature": "minecraft:scatter_overworld_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:overworld_after_surface_flowers_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_gravel_feature.json b/behavior_pack/feature_rules/overworld_surface_gravel_feature.json new file mode 100644 index 0000000..36ca5da --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_gravel_feature.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_gravel_feature", + "places_feature": "minecraft:gravel_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "swamp" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mangrove_swamp" + } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_kelp_feature.json b/behavior_pack/feature_rules/overworld_surface_kelp_feature.json new file mode 100644 index 0000000..6f2565f --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_kelp_feature.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_kelp_feature", + "places_feature": "minecraft:kelp_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:overworld_after_surface_kelp_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} + diff --git a/behavior_pack/feature_rules/overworld_surface_mangrove_grass_feature.json b/behavior_pack/feature_rules/overworld_surface_mangrove_grass_feature.json new file mode 100644 index 0000000..1fefe1a --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_mangrove_grass_feature.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_mangrove_grass_feature", + "places_feature": "minecraft:grass_disc_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "mangrove_swamp" + } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_pumpkin_feature.json b/behavior_pack/feature_rules/overworld_surface_pumpkin_feature.json new file mode 100644 index 0000000..66ca30f --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_pumpkin_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_pumpkin_feature", + "places_feature": "minecraft:pumpkin_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:overworld_after_surface_pumpkin_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_reeds_feature.json b/behavior_pack/feature_rules/overworld_surface_reeds_feature.json new file mode 100644 index 0000000..abaac49 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_reeds_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_reeds_feature", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:overworld_after_surface_reeds_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_sand_feature.json b/behavior_pack/feature_rules/overworld_surface_sand_feature.json new file mode 100644 index 0000000..a556899 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_sand_feature.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:minecraft:overworld_surface_sand_feature", + "places_feature": "minecraft:sand_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "swamp" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mangrove_swamp" + } + ] + }, + "distribution": { + "iterations": 3, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_surface_tall_grass_feature.json b/behavior_pack/feature_rules/overworld_surface_tall_grass_feature.json new file mode 100644 index 0000000..19dbb5c --- /dev/null +++ b/behavior_pack/feature_rules/overworld_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:overworld_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_andesite_feature.json b/behavior_pack/feature_rules/overworld_underground_andesite_feature.json new file mode 100644 index 0000000..34dbdcd --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_andesite_feature.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_andesite_feature", + "places_feature": "minecraft:andesite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_andesite_lower_feature.json b/behavior_pack/feature_rules/overworld_underground_andesite_lower_feature.json new file mode 100644 index 0000000..d30f787 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_andesite_lower_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_andesite_lower_feature", + "places_feature": "minecraft:andesite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 2, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 0, 60 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_andesite_upper_feature.json b/behavior_pack/feature_rules/overworld_underground_andesite_upper_feature.json new file mode 100644 index 0000000..59285c5 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_andesite_upper_feature.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_andesite_upper_feature", + "places_feature": "minecraft:andesite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "scatter_chance": { + "numerator": 1, + "denominator": 6 + }, + "iterations": 1, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 64, 128 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_coal_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_coal_ore_feature.json new file mode 100644 index 0000000..5a2c6dd --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_coal_ore_feature.json @@ -0,0 +1,19 @@ +{ + // No-op, this is just to override & remove the original config + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_coal_ore_feature", + "places_feature": "minecraft:coal_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass" + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_coal_ore_lower_feature.json b/behavior_pack/feature_rules/overworld_underground_coal_ore_lower_feature.json new file mode 100644 index 0000000..612c941 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_coal_ore_lower_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_coal_ore_lower_feature", + "places_feature": "minecraft:coal_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 20, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ 0, 192 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_coal_ore_upper_feature.json b/behavior_pack/feature_rules/overworld_underground_coal_ore_upper_feature.json new file mode 100644 index 0000000..489630e --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_coal_ore_upper_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_coal_ore_upper_feature", + "places_feature": "minecraft:coal_ore_upper_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 30, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 136, 320 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_copper_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_copper_ore_feature.json new file mode 100644 index 0000000..1d90c08 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_copper_ore_feature.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_copper_ore_feature", + "places_feature": "minecraft:copper_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": { + "all_of": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "dripstone_caves" + } + ] + } + }, + "distribution": { + "iterations": 16, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -16, 112 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_deepslate_feature.json b/behavior_pack/feature_rules/overworld_underground_deepslate_feature.json new file mode 100644 index 0000000..13c8793 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_deepslate_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_deepslate_feature", + "places_feature": "minecraft:deepslate_feature" + }, + "conditions": { + "placement_pass": "before_underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 0, //This disables the placement of this feature. + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_diamond_ore_buried_feature.json b/behavior_pack/feature_rules/overworld_underground_diamond_ore_buried_feature.json new file mode 100644 index 0000000..d0afef7 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_diamond_ore_buried_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_diamond_ore_buried_feature", + "places_feature": "minecraft:diamond_ore_buried_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 4, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -144, 16 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_diamond_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_diamond_ore_feature.json new file mode 100644 index 0000000..a40d3af --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_diamond_ore_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_diamond_ore_feature", + "places_feature": "minecraft:diamond_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 7, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -144, 16 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_diamond_ore_feature_square.json b/behavior_pack/feature_rules/overworld_underground_diamond_ore_feature_square.json new file mode 100644 index 0000000..f0407e6 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_diamond_ore_feature_square.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_diamond_ore_feature_square", + "places_feature": "minecraft:diamond_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 2, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, -4 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_diamond_ore_large_feature.json b/behavior_pack/feature_rules/overworld_underground_diamond_ore_large_feature.json new file mode 100644 index 0000000..800ebd8 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_diamond_ore_large_feature.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_diamond_ore_large_feature", + "places_feature": "minecraft:diamond_ore_large_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 9 + }, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -144, 16 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_diorite_feature.json b/behavior_pack/feature_rules/overworld_underground_diorite_feature.json new file mode 100644 index 0000000..7fe81a5 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_diorite_feature.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_diorite_feature", + "places_feature": "minecraft:diorite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_diorite_lower_feature.json b/behavior_pack/feature_rules/overworld_underground_diorite_lower_feature.json new file mode 100644 index 0000000..cc73ede --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_diorite_lower_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_diorite_lower_feature", + "places_feature": "minecraft:diorite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 2, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 0, 60 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_diorite_upper_feature.json b/behavior_pack/feature_rules/overworld_underground_diorite_upper_feature.json new file mode 100644 index 0000000..8135789 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_diorite_upper_feature.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_diorite_upper_feature", + "places_feature": "minecraft:diorite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "scatter_chance": { + "numerator": 1, + "denominator": 6 + }, + "iterations": 1, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 64, 128 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_dirt_feature.json b/behavior_pack/feature_rules/overworld_underground_dirt_feature.json new file mode 100644 index 0000000..84fdade --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_dirt_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_dirt_feature", + "places_feature": "minecraft:dirt_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 7, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 0, 160 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_emerald_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_emerald_ore_feature.json new file mode 100644 index 0000000..6584dc9 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_emerald_ore_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_emerald_ore_feature", + "places_feature": "minecraft:emerald_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "mountains" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "extreme_hills" + } + ] + } + ] + }, + "distribution": { + "iterations": 100, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -16, 480 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_extra_gravel_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_extra_gravel_ore_feature.json new file mode 100644 index 0000000..f541462 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_extra_gravel_ore_feature.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_extra_gravel_ore_feature", + "places_feature": "minecraft:gravel_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_glow_lichen_feature.json b/behavior_pack/feature_rules/overworld_underground_glow_lichen_feature.json new file mode 100644 index 0000000..9cfd4b9 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_glow_lichen_feature.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_glow_lichen_feature", + "places_feature": "minecraft:underground_glow_lichen_feature" + }, + "conditions": { + "placement_pass": "after_underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": "Math.Random(104, 157)", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_gold_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_gold_ore_feature.json new file mode 100644 index 0000000..074da87 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_gold_ore_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_gold_ore_feature", + "places_feature": "minecraft:gold_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 4, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -64, 32 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_gold_ore_lower_feature.json b/behavior_pack/feature_rules/overworld_underground_gold_ore_lower_feature.json new file mode 100644 index 0000000..323b49a --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_gold_ore_lower_feature.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_gold_ore_lower_feature", + "places_feature": "minecraft:gold_ore_lower_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 2 + }, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, -48 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_granite_feature.json b/behavior_pack/feature_rules/overworld_underground_granite_feature.json new file mode 100644 index 0000000..101f8a7 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_granite_feature.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_granite_feature", + "places_feature": "minecraft:granite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_granite_lower_feature.json b/behavior_pack/feature_rules/overworld_underground_granite_lower_feature.json new file mode 100644 index 0000000..6534dc4 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_granite_lower_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_granite_lower_feature", + "places_feature": "minecraft:granite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 2, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 0, 60 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_granite_upper_feature.json b/behavior_pack/feature_rules/overworld_underground_granite_upper_feature.json new file mode 100644 index 0000000..d637633 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_granite_upper_feature.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_granite_upper_feature", + "places_feature": "minecraft:granite_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "scatter_chance": { + "numerator": 1, + "denominator": 6 + }, + "iterations": 1, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ 64, 128 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_gravel_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_gravel_ore_feature.json new file mode 100644 index 0000000..3b3d45d --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_gravel_ore_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_gravel_ore_feature", + "places_feature": "minecraft:gravel_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 14, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 320 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_iron_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_iron_ore_feature.json new file mode 100644 index 0000000..68f34d2 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_iron_ore_feature.json @@ -0,0 +1,19 @@ +{ + // No-op, this is just to override & remove the original config + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_iron_ore_feature", + "places_feature": "minecraft:iron_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass" + }, + "distribution": { + "iterations": 0, + "x": 0, + "y": 0, + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_iron_ore_middle_feature.json b/behavior_pack/feature_rules/overworld_underground_iron_ore_middle_feature.json new file mode 100644 index 0000000..36028df --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_iron_ore_middle_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_iron_ore_middle_feature", + "places_feature": "minecraft:iron_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 10, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -24, 56 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_iron_ore_small_feature.json b/behavior_pack/feature_rules/overworld_underground_iron_ore_small_feature.json new file mode 100644 index 0000000..eb34c3c --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_iron_ore_small_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_iron_ore_small_feature", + "places_feature": "minecraft:iron_ore_small_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 10, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 72 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_iron_ore_upper_feature.json b/behavior_pack/feature_rules/overworld_underground_iron_ore_upper_feature.json new file mode 100644 index 0000000..2003c0a --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_iron_ore_upper_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_iron_ore_upper_feature", + "places_feature": "minecraft:iron_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 90, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ 80, 384 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_lapis_ore_buried_feature.json b/behavior_pack/feature_rules/overworld_underground_lapis_ore_buried_feature.json new file mode 100644 index 0000000..fb2288d --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_lapis_ore_buried_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_lapis_ore_buried_feature", + "places_feature": "minecraft:lapis_ore_buried_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 4, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 64 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_lapis_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_lapis_ore_feature.json new file mode 100644 index 0000000..725c698 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_lapis_ore_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_lapis_ore_feature", + "places_feature": "minecraft:lapis_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 2, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -32, 32 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_redstone_ore_feature.json b/behavior_pack/feature_rules/overworld_underground_redstone_ore_feature.json new file mode 100644 index 0000000..56bba53 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_redstone_ore_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_redstone_ore_feature", + "places_feature": "minecraft:redstone_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 4, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 15 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_redstone_ore_lower_feature.json b/behavior_pack/feature_rules/overworld_underground_redstone_ore_lower_feature.json new file mode 100644 index 0000000..ca0a145 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_redstone_ore_lower_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_redstone_ore_lower_feature", + "places_feature": "minecraft:redstone_ore_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 8, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -96, -32 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underground_tuff_feature.json b/behavior_pack/feature_rules/overworld_underground_tuff_feature.json new file mode 100644 index 0000000..ce4efee --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underground_tuff_feature.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underground_tuff_feature", + "places_feature": "minecraft:tuff_feature" + }, + "conditions": { + "placement_pass": "underground_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "overworld_generation" + } + ] + } + ] + }, + "distribution": { + "iterations": 2, + "coordinate_eval_order": "zyx", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 0 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/overworld_underwater_cave_carver_feature.json b/behavior_pack/feature_rules/overworld_underwater_cave_carver_feature.json new file mode 100644 index 0000000..fd112e3 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underwater_cave_carver_feature.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.16.100", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underwater_cave_carver_feature", + "places_feature": "minecraft:underground_underwater_cave_carver_feature" + }, + "conditions": { + "placement_pass": "pregeneration_pass", + "minecraft:biome_filter": [ + { + "any_of": [] + } + ] + } + } +} \ No newline at end of file diff --git a/behavior_pack/feature_rules/overworld_underwater_magma_feature.json b/behavior_pack/feature_rules/overworld_underwater_magma_feature.json new file mode 100644 index 0000000..6542517 --- /dev/null +++ b/behavior_pack/feature_rules/overworld_underwater_magma_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:overworld_underwater_magma_feature", + "places_feature": "minecraft:underwater_magma_underground_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass" + }, + "distribution": { + "iterations": "Math.Random(18, 30)", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 120 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/feature_rules/pale_garden_pale_oak_tree_feature_rules.json b/behavior_pack/feature_rules/pale_garden_pale_oak_tree_feature_rules.json new file mode 100644 index 0000000..c898fa1 --- /dev/null +++ b/behavior_pack/feature_rules/pale_garden_pale_oak_tree_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:pale_garden_pale_oak_tree_feature_rules", + "places_feature": "minecraft:random_pale_oak_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "pale_garden" } + ] + }, + "distribution": { + "iterations": 16, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/pale_garden_surface_double_plant_feature_rules.json b/behavior_pack/feature_rules/pale_garden_surface_double_plant_feature_rules.json new file mode 100644 index 0000000..ad53f61 --- /dev/null +++ b/behavior_pack/feature_rules/pale_garden_surface_double_plant_feature_rules.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:pale_garden_surface_double_plant_feature_rules", + "places_feature": "minecraft:grass_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated and is no longer used. + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/pale_garden_surface_pale_moss_patch_feature_rules.json b/behavior_pack/feature_rules/pale_garden_surface_pale_moss_patch_feature_rules.json new file mode 100644 index 0000000..2e40a1a --- /dev/null +++ b/behavior_pack/feature_rules/pale_garden_surface_pale_moss_patch_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:pale_garden_surface_pale_moss_patch_feature_rules", + "places_feature": "minecraft:pale_moss_patch_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "pale_garden" } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/pale_garden_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/pale_garden_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..ff1d697 --- /dev/null +++ b/behavior_pack/feature_rules/pale_garden_surface_tall_grass_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:pale_garden_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "pale_garden" } + ] + }, + "distribution": { + "iterations": 2, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/plains_after_surface_double_plant_sunflower_feature_rules.json b/behavior_pack/feature_rules/plains_after_surface_double_plant_sunflower_feature_rules.json new file mode 100644 index 0000000..2d2bd4f --- /dev/null +++ b/behavior_pack/feature_rules/plains_after_surface_double_plant_sunflower_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_after_surface_double_plant_sunflower_feature_rules", + "places_feature": "minecraft:sunflower_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "plains" }, + { "test": "has_biome_tag", "value": "mutated" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 3 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/plains_after_surface_flowers_feature_rules.json b/behavior_pack/feature_rules/plains_after_surface_flowers_feature_rules.json new file mode 100644 index 0000000..6819d77 --- /dev/null +++ b/behavior_pack/feature_rules/plains_after_surface_flowers_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_after_surface_flowers_feature_rules", + "places_feature": "minecraft:scatter_plains_flower_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "plains" } + ] + }, + "distribution": { + // These values are not in parity, but the resulting behavior is. + "iterations": "(query.noise((variable.originx + 8) / 200.0, (variable.originz + 8) / 200.0) < -0.8) ? 4 : 1", + "scatter_chance": { + "numerator": 1, + "denominator": 8 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/plains_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/plains_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..4834b85 --- /dev/null +++ b/behavior_pack/feature_rules/plains_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "plains" } + ] + }, + "distribution": { + "iterations": "(query.noise((variable.originx + 8) / 200.0, (variable.originz + 8) / 200.0) < -0.8) ? 5 : 10", + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/plains_first_double_plant_grass_feature.json b/behavior_pack/feature_rules/plains_first_double_plant_grass_feature.json new file mode 100644 index 0000000..50848f7 --- /dev/null +++ b/behavior_pack/feature_rules/plains_first_double_plant_grass_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_first_double_plant_grass_feature", + "places_feature": "minecraft:grass_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "plains" } + ] + }, + "distribution": { + // These values are not in parity, but the resulting behavior is. + "iterations": "variable.is_legacy == 0.0 ? 1 : 0", + "scatter_chance": { + "numerator": 1, + "denominator": 4 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/plains_first_double_plant_sunflower_feature.json b/behavior_pack/feature_rules/plains_first_double_plant_sunflower_feature.json new file mode 100644 index 0000000..2a4a717 --- /dev/null +++ b/behavior_pack/feature_rules/plains_first_double_plant_sunflower_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_first_double_plant_sunflower_feature", + "places_feature": "minecraft:sunflower_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:plains_after_surface_double_plant_sunflower_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/plains_surface_flowers_feature.json b/behavior_pack/feature_rules/plains_surface_flowers_feature.json new file mode 100644 index 0000000..147868a --- /dev/null +++ b/behavior_pack/feature_rules/plains_surface_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_surface_flowers_feature", + "places_feature": "minecraft:scatter_plains_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:plains_after_surface_flowers_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/plains_surface_tall_grass_feature.json b/behavior_pack/feature_rules/plains_surface_tall_grass_feature.json new file mode 100644 index 0000000..ea42eab --- /dev/null +++ b/behavior_pack/feature_rules/plains_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:plains_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/plains_surface_trees_feature.json b/behavior_pack/feature_rules/plains_surface_trees_feature.json new file mode 100644 index 0000000..720a1c0 --- /dev/null +++ b/behavior_pack/feature_rules/plains_surface_trees_feature.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:plains_surface_trees_feature", + "places_feature": "minecraft:legacy:plains_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "plains" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/redwood_taiga_hills_mutated_surface_trees_feature.json b/behavior_pack/feature_rules/redwood_taiga_hills_mutated_surface_trees_feature.json new file mode 100644 index 0000000..9140eb9 --- /dev/null +++ b/behavior_pack/feature_rules/redwood_taiga_hills_mutated_surface_trees_feature.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:redwood_taiga_hills_mutated_surface_trees_feature", + "places_feature": "minecraft:legacy:mega_taiga_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mega" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "hills" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mutated" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/redwood_taiga_mutated_surface_trees_feature.json b/behavior_pack/feature_rules/redwood_taiga_mutated_surface_trees_feature.json new file mode 100644 index 0000000..95deeca --- /dev/null +++ b/behavior_pack/feature_rules/redwood_taiga_mutated_surface_trees_feature.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:redwood_taiga_mutated_surface_trees_feature", + "places_feature": "minecraft:legacy:redwood_taiga_mutated_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mega" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "hills" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mutated" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/river_after_surface_seagrass_feature_rules.json b/behavior_pack/feature_rules/river_after_surface_seagrass_feature_rules.json new file mode 100644 index 0000000..8f079aa --- /dev/null +++ b/behavior_pack/feature_rules/river_after_surface_seagrass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:river_after_surface_seagrass_feature_rules", + "places_feature": "minecraft:seagrass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "river" } + ] + }, + "distribution": { + "iterations": 12, + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/river_surface_seagrass_feature.json b/behavior_pack/feature_rules/river_surface_seagrass_feature.json new file mode 100644 index 0000000..db4ba6a --- /dev/null +++ b/behavior_pack/feature_rules/river_surface_seagrass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:river_surface_seagrass_feature", + "places_feature": "minecraft:seagrass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:river_after_surface_seagrass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/roofed_forest_first_foliage_feature.json b/behavior_pack/feature_rules/roofed_forest_first_foliage_feature.json new file mode 100644 index 0000000..43a6132 --- /dev/null +++ b/behavior_pack/feature_rules/roofed_forest_first_foliage_feature.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:roofed_forest_first_foliage_feature", + "places_feature": "minecraft:legacy:roofed_forest_foliage_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "forest" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "roofed" + } + ] + }, + "distribution": { + "iterations": 1, + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/savanna_after_surface_flowers_feature_rules.json b/behavior_pack/feature_rules/savanna_after_surface_flowers_feature_rules.json new file mode 100644 index 0000000..863beb6 --- /dev/null +++ b/behavior_pack/feature_rules/savanna_after_surface_flowers_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:savanna_after_surface_flowers_feature_rules", + "places_feature": "minecraft:scatter_overworld_flower_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "savanna" }, + { "test": "has_biome_tag", "operator": "not", "value": "mutated" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 16 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/savanna_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/savanna_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..15475f8 --- /dev/null +++ b/behavior_pack/feature_rules/savanna_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:savanna_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "savanna" }, + { "test": "has_biome_tag", "operator": "not", "value": "mutated" } + ] + }, + "distribution": { + "iterations": 20, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/savanna_first_double_plant_grass_feature.json b/behavior_pack/feature_rules/savanna_first_double_plant_grass_feature.json new file mode 100644 index 0000000..d834c51 --- /dev/null +++ b/behavior_pack/feature_rules/savanna_first_double_plant_grass_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:savanna_first_double_plant_grass_feature", + "places_feature": "minecraft:grass_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "savanna" }, + { "test": "has_biome_tag", "operator": "not", "value": "mutated" } + ] + }, + "distribution": { + "iterations": "variable.is_legacy ? 0 : 1", + "scatter_chance": { + "numerator": 1, + "denominator": 5 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/savanna_mutated_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/savanna_mutated_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..1eda38f --- /dev/null +++ b/behavior_pack/feature_rules/savanna_mutated_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:minecraft:savanna_mutated_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "savanna" }, + { "test": "has_biome_tag", "value": "mutated" } + ] + }, + "distribution": { + "iterations": 5, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/savanna_mutated_surface_tall_grass_feature.json b/behavior_pack/feature_rules/savanna_mutated_surface_tall_grass_feature.json new file mode 100644 index 0000000..4f3d109 --- /dev/null +++ b/behavior_pack/feature_rules/savanna_mutated_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:minecraft:savanna_mutated_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:savanna_mutated_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/savanna_mutated_surface_trees_feature.json b/behavior_pack/feature_rules/savanna_mutated_surface_trees_feature.json new file mode 100644 index 0000000..23a780a --- /dev/null +++ b/behavior_pack/feature_rules/savanna_mutated_surface_trees_feature.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:savanna_mutated_surface_trees_feature", + "places_feature": "minecraft:legacy:savanna_mutated_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "savanna" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "mutated" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/savanna_surface_flowers_feature.json b/behavior_pack/feature_rules/savanna_surface_flowers_feature.json new file mode 100644 index 0000000..f83970d --- /dev/null +++ b/behavior_pack/feature_rules/savanna_surface_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:savanna_surface_flowers_feature", + "places_feature": "minecraft:scatter_overworld_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:savanna_after_surface_flowers_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/savanna_surface_tall_grass_feature.json b/behavior_pack/feature_rules/savanna_surface_tall_grass_feature.json new file mode 100644 index 0000000..02e7e94 --- /dev/null +++ b/behavior_pack/feature_rules/savanna_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:savanna_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:savanna_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/savanna_surface_trees_feature.json b/behavior_pack/feature_rules/savanna_surface_trees_feature.json new file mode 100644 index 0000000..7ff0bcd --- /dev/null +++ b/behavior_pack/feature_rules/savanna_surface_trees_feature.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:savanna_surface_trees_feature", + "places_feature": "minecraft:legacy:savanna_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "savanna" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mutated" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/sculk_patch_feature.json b/behavior_pack/feature_rules/sculk_patch_feature.json new file mode 100644 index 0000000..650a33e --- /dev/null +++ b/behavior_pack/feature_rules/sculk_patch_feature.json @@ -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 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/sculk_vein_feature.json b/behavior_pack/feature_rules/sculk_vein_feature.json new file mode 100644 index 0000000..6b5eda4 --- /dev/null +++ b/behavior_pack/feature_rules/sculk_vein_feature.json @@ -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": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/small_dripstone_feature.json b/behavior_pack/feature_rules/small_dripstone_feature.json new file mode 100644 index 0000000..17c76e9 --- /dev/null +++ b/behavior_pack/feature_rules/small_dripstone_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:small_dripstone_feature", + "places_feature": "minecraft:small_dripstone_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "dripstone_caves" + } + ] + }, + "distribution": { + "iterations": "Math.Random(192, 256)", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/feature_rules/surface_pass_large_dripstone_feature.json b/behavior_pack/feature_rules/surface_pass_large_dripstone_feature.json new file mode 100644 index 0000000..c42658c --- /dev/null +++ b/behavior_pack/feature_rules/surface_pass_large_dripstone_feature.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:surface_pass_large_dripstone_feature", + "places_feature": "minecraft:large_dripstone_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "dripstone_caves" + } + ] + }, + "distribution": { + "iterations": "Math.Random(10, 48)", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": { + "distribution": "uniform", + "extent": [ -64, 256 ] + }, + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_after_surface_brown_mushroom_feature_rules.json b/behavior_pack/feature_rules/swamp_after_surface_brown_mushroom_feature_rules.json new file mode 100644 index 0000000..b49a71f --- /dev/null +++ b/behavior_pack/feature_rules/swamp_after_surface_brown_mushroom_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_after_surface_brown_mushroom_feature_rules", + "places_feature": "minecraft:scatter_brown_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "swamp" } + ] + }, + "distribution": { + "iterations": 2, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_after_surface_dead_bush_feature_rules.json b/behavior_pack/feature_rules/swamp_after_surface_dead_bush_feature_rules.json new file mode 100644 index 0000000..86ad136 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_after_surface_dead_bush_feature_rules.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_after_surface_dead_bush_feature_rules", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "swamp" } + ] + }, + "distribution": { + "iterations": 1, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_after_surface_flowers_feature_rules.json b/behavior_pack/feature_rules/swamp_after_surface_flowers_feature_rules.json new file mode 100644 index 0000000..4b3d9a6 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_after_surface_flowers_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_after_surface_flowers_feature_rules", + "places_feature": "minecraft:scatter_swamp_flower_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "swamp" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 32 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_after_surface_red_mushroom_feature_rules.json b/behavior_pack/feature_rules/swamp_after_surface_red_mushroom_feature_rules.json new file mode 100644 index 0000000..8b46494 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_after_surface_red_mushroom_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_after_surface_red_mushroom_feature_rules", + "places_feature": "minecraft:scatter_red_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "swamp" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 64 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_after_surface_reeds_feature_rules.json b/behavior_pack/feature_rules/swamp_after_surface_reeds_feature_rules.json new file mode 100644 index 0000000..2440041 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_after_surface_reeds_feature_rules.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_after_surface_reeds_feature_rules", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "swamp" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 3 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/swamp_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..20f9f64 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "swamp" } + ] + }, + "distribution": { + "iterations": 5, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_after_surface_waterlily_feature_rules.json b/behavior_pack/feature_rules/swamp_after_surface_waterlily_feature_rules.json new file mode 100644 index 0000000..fc0ff26 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_after_surface_waterlily_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_after_surface_waterlily_feature_rules", + "places_feature": "minecraft:fixup_waterlily_position_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "any_of": [ + { "test": "has_biome_tag", "value": "swamp" }, + { "test": "has_biome_tag", "value": "mangrove_swamp" } + ] + } + ] + }, + "distribution": { + "iterations": 4, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/swamp_surface_dead_bush_feature.json b/behavior_pack/feature_rules/swamp_surface_dead_bush_feature.json new file mode 100644 index 0000000..674599f --- /dev/null +++ b/behavior_pack/feature_rules/swamp_surface_dead_bush_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_surface_dead_bush_feature", + "places_feature": "minecraft:dead_bush_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:swamp_after_surface_dead_bush_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/swamp_surface_flowers_feature.json b/behavior_pack/feature_rules/swamp_surface_flowers_feature.json new file mode 100644 index 0000000..8ae88f2 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_surface_flowers_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_surface_flowers_feature", + "places_feature": "minecraft:scatter_swamp_flower_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:swamp_after_surface_flowers_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/swamp_surface_mushrooms_feature.json b/behavior_pack/feature_rules/swamp_surface_mushrooms_feature.json new file mode 100644 index 0000000..ddb8893 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_surface_mushrooms_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_surface_mushrooms_feature", + "places_feature": "minecraft:legacy:small_mushrooms_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:swamp_after_surface_brown_mushroom_feature_rules" and "minecraft:swamp_after_surface_red_mushroom_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/swamp_surface_reeds_feature.json b/behavior_pack/feature_rules/swamp_surface_reeds_feature.json new file mode 100644 index 0000000..611b87b --- /dev/null +++ b/behavior_pack/feature_rules/swamp_surface_reeds_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_surface_reeds_feature", + "places_feature": "minecraft:reeds_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:swamp_after_surface_reeds_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/swamp_surface_swamp_foliage_feature.json b/behavior_pack/feature_rules/swamp_surface_swamp_foliage_feature.json new file mode 100644 index 0000000..f05153a --- /dev/null +++ b/behavior_pack/feature_rules/swamp_surface_swamp_foliage_feature.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_surface_swamp_foliage_feature", + "places_feature": "minecraft:legacy:swamp_foliage_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "swamp" + } + ] + }, + "distribution": { + "iterations": 1, + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/swamp_surface_tall_grass_feature.json b/behavior_pack/feature_rules/swamp_surface_tall_grass_feature.json new file mode 100644 index 0000000..69a38de --- /dev/null +++ b/behavior_pack/feature_rules/swamp_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_tall_grass_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:swamp_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/swamp_surface_waterlily_feature.json b/behavior_pack/feature_rules/swamp_surface_waterlily_feature.json new file mode 100644 index 0000000..92f74b3 --- /dev/null +++ b/behavior_pack/feature_rules/swamp_surface_waterlily_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:swamp_surface_waterlily_feature", + "places_feature": "minecraft:fixup_waterlily_position_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:swamp_after_surface_waterlily_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/taiga_after_surface_brown_mushroom_feature_rules.json b/behavior_pack/feature_rules/taiga_after_surface_brown_mushroom_feature_rules.json new file mode 100644 index 0000000..7321239 --- /dev/null +++ b/behavior_pack/feature_rules/taiga_after_surface_brown_mushroom_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_after_surface_brown_mushroom_feature_rules", + "places_feature": "minecraft:scatter_brown_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "mega" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 4 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/taiga_after_surface_red_mushroom_feature_rules.json b/behavior_pack/feature_rules/taiga_after_surface_red_mushroom_feature_rules.json new file mode 100644 index 0000000..ee8a3c6 --- /dev/null +++ b/behavior_pack/feature_rules/taiga_after_surface_red_mushroom_feature_rules.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_after_surface_red_mushroom_feature_rules", + "places_feature": "minecraft:scatter_red_mushroom_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "mega" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 256 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/taiga_after_surface_sweet_berry_bush_feature_rules.json b/behavior_pack/feature_rules/taiga_after_surface_sweet_berry_bush_feature_rules.json new file mode 100644 index 0000000..7887003 --- /dev/null +++ b/behavior_pack/feature_rules/taiga_after_surface_sweet_berry_bush_feature_rules.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_after_surface_sweet_berry_bush_feature_rules", + "places_feature": "minecraft:scatter_sweet_berry_bush_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "cold" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 32 + }, + "coordinate_eval_order": "zxy", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/taiga_after_surface_tall_grass_feature_rules.json b/behavior_pack/feature_rules/taiga_after_surface_tall_grass_feature_rules.json new file mode 100644 index 0000000..41ff173 --- /dev/null +++ b/behavior_pack/feature_rules/taiga_after_surface_tall_grass_feature_rules.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_after_surface_tall_grass_feature_rules", + "places_feature": "minecraft:scatter_taiga_plant_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "mega" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": "variable.is_legacy ? 0.0 : 100.0", + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/taiga_first_double_plant_fern_feature.json b/behavior_pack/feature_rules/taiga_first_double_plant_fern_feature.json new file mode 100644 index 0000000..56d652e --- /dev/null +++ b/behavior_pack/feature_rules/taiga_first_double_plant_fern_feature.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_first_double_plant_fern_feature", + "places_feature": "minecraft:fern_double_plant_patch_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "value": "taiga" } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 5 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/taiga_first_sweet_berry_bush_feature.json b/behavior_pack/feature_rules/taiga_first_sweet_berry_bush_feature.json new file mode 100644 index 0000000..4f77d9e --- /dev/null +++ b/behavior_pack/feature_rules/taiga_first_sweet_berry_bush_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_first_sweet_berry_bush_feature", + "places_feature": "minecraft:scatter_sweet_berry_bush_feature" + }, + "conditions": { + "placement_pass": "first_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:taiga_after_surface_sweet_berry_bush_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/taiga_surface_mushrooms_feature.json b/behavior_pack/feature_rules/taiga_surface_mushrooms_feature.json new file mode 100644 index 0000000..087b939 --- /dev/null +++ b/behavior_pack/feature_rules/taiga_surface_mushrooms_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_surface_mushrooms_feature", + "places_feature": "minecraft:legacy:small_mushrooms_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:taiga_after_surface_brown_mushroom_feature_rules" and "minecraft:taiga_after_surface_red_mushroom_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/taiga_surface_tall_grass_feature.json b/behavior_pack/feature_rules/taiga_surface_tall_grass_feature.json new file mode 100644 index 0000000..3b9ab3b --- /dev/null +++ b/behavior_pack/feature_rules/taiga_surface_tall_grass_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_surface_tall_grass_feature", + "places_feature": "minecraft:scatter_taiga_plant_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + // This feature has been deprecated in favor of "minecraft:taiga_after_surface_tall_grass_feature_rules". + { "test": "has_biome_tag", "value": "deprecated" } + ] + } + } +} diff --git a/behavior_pack/feature_rules/taiga_surface_trees_feature.json b/behavior_pack/feature_rules/taiga_surface_trees_feature.json new file mode 100644 index 0000000..9f3a28c --- /dev/null +++ b/behavior_pack/feature_rules/taiga_surface_trees_feature.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:taiga_surface_trees_feature", + "places_feature": "minecraft:legacy:taiga_tree_feature" + }, + "conditions": { + "placement_pass": "surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "taiga" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mega" + } + ] + }, + "distribution": { + "iterations": 1, + "coordinate_eval_order": "zxy", + "x": 0, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": 0 + } + } +} diff --git a/behavior_pack/feature_rules/warm_ocean_after_surface_coral_crust_feature.json b/behavior_pack/feature_rules/warm_ocean_after_surface_coral_crust_feature.json new file mode 100644 index 0000000..271a88d --- /dev/null +++ b/behavior_pack/feature_rules/warm_ocean_after_surface_coral_crust_feature.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:warm_ocean_after_surface_coral_crust_feature", + "places_feature": "minecraft:coral_crust_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "warm" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "ocean" + } + ] + }, + "distribution": { + "iterations": 1, + "scatter_chance": { + "numerator": 1, + "denominator": 3 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 10 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 10 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/warm_ocean_after_surface_coral_feature.json b/behavior_pack/feature_rules/warm_ocean_after_surface_coral_feature.json new file mode 100644 index 0000000..7bef6ff --- /dev/null +++ b/behavior_pack/feature_rules/warm_ocean_after_surface_coral_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:warm_ocean_after_surface_coral_feature", + "places_feature": "minecraft:coral_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "warm" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "ocean" + } + ] + }, + "distribution": { + "iterations": 4, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/warm_ocean_after_surface_coral_hang_feature.json b/behavior_pack/feature_rules/warm_ocean_after_surface_coral_hang_feature.json new file mode 100644 index 0000000..b7c0897 --- /dev/null +++ b/behavior_pack/feature_rules/warm_ocean_after_surface_coral_hang_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:warm_ocean_after_surface_coral_hang_feature", + "places_feature": "minecraft:coral_hang_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "warm" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "ocean" + } + ] + }, + "distribution": { + "iterations": 16, + "x": { + "distribution": "uniform", + "extent": [ 0, 16 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 16 ] + } + } + } +} diff --git a/behavior_pack/feature_rules/warm_ocean_after_surface_pickle_feature.json b/behavior_pack/feature_rules/warm_ocean_after_surface_pickle_feature.json new file mode 100644 index 0000000..d790d88 --- /dev/null +++ b/behavior_pack/feature_rules/warm_ocean_after_surface_pickle_feature.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.13.0", + "minecraft:feature_rules": { + "description": { + "identifier": "minecraft:warm_ocean_after_surface_pickle_feature", + "places_feature": "minecraft:pickle_feature" + }, + "conditions": { + "placement_pass": "after_surface_pass", + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "warm" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "ocean" + } + ] + }, + "distribution": { + "iterations": 4, + "scatter_chance": { + "numerator": 1, + "denominator": 6 + }, + "x": { + "distribution": "uniform", + "extent": [ 0, 24 ] + }, + "y": "query.above_top_solid(variable.worldx, variable.worldz)", + "z": { + "distribution": "uniform", + "extent": [ 0, 24 ] + } + } + } +} diff --git a/behavior_pack/features/amethyst_geode_feature.json b/behavior_pack/features/amethyst_geode_feature.json new file mode 100644 index 0000000..cb301a7 --- /dev/null +++ b/behavior_pack/features/amethyst_geode_feature.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.13.0", + "minecraft:geode_feature": { + "description": { + "identifier": "minecraft:amethyst_geode_feature" + }, + "filler": "minecraft:air", + "inner_layer": "minecraft:amethyst_block", + "alternate_inner_layer": "minecraft:budding_amethyst", + "middle_layer": "minecraft:calcite", + "outer_layer": "minecraft:smooth_basalt", + "inner_placements": [ + { + "name": "minecraft:amethyst_cluster" + }, + { + "name": "minecraft:large_amethyst_bud" + }, + { + "name": "minecraft:medium_amethyst_bud" + }, + { + "name": "minecraft:small_amethyst_bud" + } + ], + "min_outer_wall_distance": 4, + "max_outer_wall_distance": 7, + "min_distribution_points": 3, + "max_distribution_points": 5, + "min_point_offset": 1, + "max_point_offset": 3, + "max_radius": 16, + "crack_point_offset": 2.0, + "generate_crack_chance": 0.95, + "base_crack_size": 2.0, + "noise_multiplier": 0.025, + "use_potential_placements_chance": 0.35, + "use_alternate_layer0_chance": 0.083, + "placements_require_layer0_alternate": true, + "invalid_blocks_threshold": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/features/andesite_feature.json b/behavior_pack/features/andesite_feature.json new file mode 100644 index 0000000..06d9df4 --- /dev/null +++ b/behavior_pack/features/andesite_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:andesite_feature" + }, + "count": 64, + "replace_rules": [ + { + "places_block": { + "name": "minecraft:stone", + "states": { + "stone_type": "andesite" + } + }, + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/azalea_root_system_snap_to_ceiling_feature.json b/behavior_pack/features/azalea_root_system_snap_to_ceiling_feature.json new file mode 100644 index 0000000..970094a --- /dev/null +++ b/behavior_pack/features/azalea_root_system_snap_to_ceiling_feature.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:azalea_root_system_snap_to_ceiling_feature" + }, + "feature_to_snap": "minecraft:azalea_root_system_feature", + "vertical_search_range": 64, + "surface": "ceiling" + } +} \ No newline at end of file diff --git a/behavior_pack/features/azalea_tree_feature.json b/behavior_pack/features/azalea_tree_feature.json new file mode 100644 index 0000000..c2f11fa --- /dev/null +++ b/behavior_pack/features/azalea_tree_feature.json @@ -0,0 +1,91 @@ +{ + "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:oak_log" + }, + "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 ] + ] + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt_with_roots" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves", + // Water + "minecraft:water", + "minecraft:flowing_water", + // The plants this can grow from + "minecraft:azalea", + "minecraft:flowering_azalea", + // An arbitrary subset of plants + "minecraft:moss_carpet", + "minecraft:short_grass", + "minecraft:fern", + "minecraft:grass_block", + "minecraft:sunflower", + "minecraft:lilac", + "minecraft:tall_grass", + "minecraft:large_fern", + "minecraft:rose_bush", + "minecraft:peony" + ] + } +} diff --git a/behavior_pack/features/beehive_feature.json b/behavior_pack/features/beehive_feature.json new file mode 100644 index 0000000..7f74355 --- /dev/null +++ b/behavior_pack/features/beehive_feature.json @@ -0,0 +1,77 @@ +{ + "format_version": "1.13.0", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:beehive_feature" + }, + "places_block": { + "name": "minecraft:bee_nest", + "states": { + "direction": 0 + } + }, + "enforce_survivability_rules": true, + "enforce_placement_rules": true, + "may_attach_to": { + "auto_rotate": false, + "min_sides_must_attach": 2, + "top": [ + { + "name": "minecraft:oak_leaves" + }, + { + "name": "minecraft:birch_leaves" + }, + { + "name": "minecraft:mangrove_leaves" + }, + { + "name": "minecraft:cherry_leaves" + } + ], + "west": [ + { + "name": "minecraft:oak_log" + }, + { + "name": "minecraft:birch_log" + }, + { + "name": "minecraft:mangrove_roots" + }, + { + "name": "minecraft:cherry_log" + } + ], + "north": [ + { + "name": "minecraft:oak_log" + }, + { + "name": "minecraft:birch_log" + }, + { + "name": "minecraft:mangrove_roots" + }, + { + "name": "minecraft:cherry_log" + } + ], + "east": [ + { + "name": "minecraft:oak_log" + }, + { + "name": "minecraft:birch_log" + }, + { + "name": "minecraft:mangrove_roots" + }, + { + "name": "minecraft:cherry_log" + } + ], + "south": "minecraft:air" + } + } +} \ No newline at end of file diff --git a/behavior_pack/features/beehive_search_feature.json b/behavior_pack/features/beehive_search_feature.json new file mode 100644 index 0000000..02044ba --- /dev/null +++ b/behavior_pack/features/beehive_search_feature.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.13.0", + "minecraft:search_feature": { + "description": { + "identifier": "minecraft:beehive_search_feature" + }, + "places_feature": "minecraft:select_beehive_feature", + "search_volume": { + "min": [ 0, 0, 0 ], + "max": [ 0, 12, 0 ] + }, + "search_axis": "+y", + "required_successes": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/features/big_dripleaf_east_feature.json b/behavior_pack/features/big_dripleaf_east_feature.json new file mode 100644 index 0000000..31ec311 --- /dev/null +++ b/behavior_pack/features/big_dripleaf_east_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.16.0", + "minecraft:growing_plant_feature": { + "description": { + "identifier": "minecraft:big_dripleaf_east_feature" + }, + "height_distribution": [ + [{"range_min": 1, "range_max": 6}, 2], + [{"range_min": 1, "range_max": 2}, 1] + ], + "growth_direction": "UP", + "body_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": false, + "direction": 3 + } + }, 1 + ] + ], + "head_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": true, + "direction": 3 + } + }, 1 + ] + ], + "allow_water": true + } +} diff --git a/behavior_pack/features/big_dripleaf_north_feature.json b/behavior_pack/features/big_dripleaf_north_feature.json new file mode 100644 index 0000000..f43f1cf --- /dev/null +++ b/behavior_pack/features/big_dripleaf_north_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.16.0", + "minecraft:growing_plant_feature": { + "description": { + "identifier": "minecraft:big_dripleaf_north_feature" + }, + "height_distribution": [ + [{"range_min": 1, "range_max": 6}, 2], + [{"range_min": 1, "range_max": 2}, 1] + ], + "growth_direction": "UP", + "body_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": false, + "direction": 2 + } + }, 1 + ] + ], + "head_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": true, + "direction": 2 + } + }, 1 + ] + ], + "allow_water": true + } +} \ No newline at end of file diff --git a/behavior_pack/features/big_dripleaf_south_feature.json b/behavior_pack/features/big_dripleaf_south_feature.json new file mode 100644 index 0000000..c1f695c --- /dev/null +++ b/behavior_pack/features/big_dripleaf_south_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.16.0", + "minecraft:growing_plant_feature": { + "description": { + "identifier": "minecraft:big_dripleaf_south_feature" + }, + "height_distribution": [ + [{"range_min": 1, "range_max": 6}, 2], + [{"range_min": 1, "range_max": 2}, 1] + ], + "growth_direction": "UP", + "body_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": false, + "direction": 0 + } + }, 1 + ] + ], + "head_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": true, + "direction": 0 + } + }, 1 + ] + ], + "allow_water": true + } +} \ No newline at end of file diff --git a/behavior_pack/features/big_dripleaf_west_feature.json b/behavior_pack/features/big_dripleaf_west_feature.json new file mode 100644 index 0000000..6c4f898 --- /dev/null +++ b/behavior_pack/features/big_dripleaf_west_feature.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.16.0", + "minecraft:growing_plant_feature": { + "description": { + "identifier": "minecraft:big_dripleaf_west_feature" + }, + "height_distribution": [ + [{"range_min": 1, "range_max": 6}, 2], + [{"range_min": 1, "range_max": 2}, 1] + ], + "growth_direction": "UP", + "body_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": false, + "direction": 1 + } + }, 1 + ] + ], + "head_blocks": [ + [ + { + "name": "minecraft:big_dripleaf", + "states": { + "big_dripleaf_head": true, + "direction": 1 + } + }, 1 + ] + ], + "allow_water": true + } +} \ No newline at end of file diff --git a/behavior_pack/features/birch_tree_feature.json b/behavior_pack/features/birch_tree_feature.json new file mode 100644 index 0000000..e09c857 --- /dev/null +++ b/behavior_pack/features/birch_tree_feature.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:birch_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 5, + "range_max": 8 + }, + "trunk_block": { + "name": "minecraft:birch_log" + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "leaf_block": { + "name": "minecraft:birch_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/cave_vine_feature.json b/behavior_pack/features/cave_vine_feature.json new file mode 100644 index 0000000..c655707 --- /dev/null +++ b/behavior_pack/features/cave_vine_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.16.0", + "minecraft:growing_plant_feature": { + "description": { + "identifier": "minecraft:cave_vine_feature" + }, + "height_distribution": [ + [{"range_min": 1, "range_max": 13}, 2], + [{"range_min": 1, "range_max": 2}, 3], + [{"range_min": 1, "range_max": 7}, 10] + ], + "growth_direction": "DOWN", + "age": {"range_min": 17, "range_max": 26}, + "body_blocks": [ + ["minecraft:cave_vines", 4], + ["minecraft:cave_vines_body_with_berries", 1] + ], + "head_blocks": [ + ["minecraft:cave_vines", 4], + ["minecraft:cave_vines_head_with_berries", 1] + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/cave_vine_in_moss_feature.json b/behavior_pack/features/cave_vine_in_moss_feature.json new file mode 100644 index 0000000..4c34de4 --- /dev/null +++ b/behavior_pack/features/cave_vine_in_moss_feature.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16.0", + "minecraft:growing_plant_feature": { + "description": { + "identifier": "minecraft:cave_vine_in_moss_feature" + }, + "height_distribution": [ + [{"range_min": 1, "range_max": 4}, 5], + [{"range_min": 2, "range_max": 7}, 1] + ], + "growth_direction": "DOWN", + "age": {"range_min": 17, "range_max": 26}, + "body_blocks": [ + ["minecraft:cave_vines", 4], + ["minecraft:cave_vines_body_with_berries", 1] + ], + "head_blocks": [ + ["minecraft:cave_vines", 4], + ["minecraft:cave_vines_head_with_berries", 1] + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/cave_vine_snap_to_ceiling_feature.json b/behavior_pack/features/cave_vine_snap_to_ceiling_feature.json new file mode 100644 index 0000000..feff9af --- /dev/null +++ b/behavior_pack/features/cave_vine_snap_to_ceiling_feature.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:cave_vine_snap_to_ceiling_feature" + }, + "feature_to_snap": "minecraft:cave_vine_feature", + "vertical_search_range": 12, + "surface": "ceiling" + } +} \ No newline at end of file diff --git a/behavior_pack/features/cherry_tree_feature.json b/behavior_pack/features/cherry_tree_feature.json new file mode 100644 index 0000000..dc0f8de --- /dev/null +++ b/behavior_pack/features/cherry_tree_feature.json @@ -0,0 +1,84 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:cherry_tree_feature" + }, + "cherry_trunk": { + "trunk_block": "minecraft:cherry_log", + "trunk_height": { + "base": 7, + "intervals": [ 1 ] + }, + "branches": { + "tree_type_weights": { + "one_branch": 10, + "two_branches": 10, + "two_branches_and_trunk": 10 + }, + "branch_horizontal_length": { + "range_min": 2, + "range_max": 4 + }, + "branch_start_offset_from_top": { + "range_min": -4, + "range_max": -3 + }, + "branch_end_offset_from_top": { + "range_min": -1, + "range_max": 0 + }, + "branch_canopy": { + "cherry_canopy": { + "leaf_block": "minecraft:cherry_leaves", + "height": 5, + "radius": 4, + "wide_bottom_layer_hole_chance": 25, + "corner_hole_chance": 50, + "hanging_leaves_chance": 16.6666, + "hanging_leaves_extension_chance": 33.3333 + } + } + } + }, + "cherry_canopy": { + "leaf_block": "minecraft:cherry_leaves", + "height": 5, + "radius": 4, + "wide_bottom_layer_hole_chance": 25, + "corner_hole_chance": 50, + "hanging_leaves_chance": 16.6666, + "hanging_leaves_extension_chance": 33.3333 + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/cherry_tree_with_beehive_feature.json b/behavior_pack/features/cherry_tree_with_beehive_feature.json new file mode 100644 index 0000000..715cdf1 --- /dev/null +++ b/behavior_pack/features/cherry_tree_with_beehive_feature.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.13.0", + "minecraft:aggregate_feature": { + "description": { + "identifier": "minecraft:cherry_tree_with_beehive_feature" + }, + "early_out": "first_failure", + "features": [ + "minecraft:cherry_tree_feature", + "minecraft:beehive_search_feature" + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/clay_ore_feature.json b/behavior_pack/features/clay_ore_feature.json new file mode 100644 index 0000000..0965725 --- /dev/null +++ b/behavior_pack/features/clay_ore_feature.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.16.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:clay_ore_feature" + }, + "count": 33, + "replace_rules": [ + { + "places_block": "minecraft:clay", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/clay_pool_with_dripleaves_feature.json b/behavior_pack/features/clay_pool_with_dripleaves_feature.json new file mode 100644 index 0000000..db7799c --- /dev/null +++ b/behavior_pack/features/clay_pool_with_dripleaves_feature.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.16.0", + "minecraft:vegetation_patch_feature": { + "description": { + "identifier": "minecraft:clay_pool_with_dripleaves_feature" + }, + "replaceable_blocks": [ + "minecraft:clay", + "minecraft:sand", + "minecraft:gravel", + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:grass", + "minecraft:mycelium", + "minecraft:stone", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:moss_block", + "minecraft:cave_vines", + "minecraft:cave_vines_body_with_berries", + "minecraft:cave_vines_head_with_berries" + ], + "ground_block": "minecraft:clay", + "vegetation_feature": "minecraft:dripleaf_feature", + "surface": "floor", + "depth": 3, + "vertical_range": 5, + "vegetation_chance": 0.1, + "horizontal_radius": { + "range_min": 4, + "range_max": 8 + }, + "extra_deep_block_chance": 0.8, + "extra_edge_column_chance": 0.7, + "waterlogged": true + } +} diff --git a/behavior_pack/features/clay_with_dripleaves_feature.json b/behavior_pack/features/clay_with_dripleaves_feature.json new file mode 100644 index 0000000..35b8dab --- /dev/null +++ b/behavior_pack/features/clay_with_dripleaves_feature.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.16.0", + "minecraft:vegetation_patch_feature": { + "description": { + "identifier": "minecraft:clay_with_dripleaves_feature" + }, + "replaceable_blocks": [ + "minecraft:clay", + "minecraft:sand", + "minecraft:gravel", + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:grass", + "minecraft:mycelium", + "minecraft:stone", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:moss_block", + "minecraft:cave_vines", + "minecraft:cave_vines_body_with_berries", + "minecraft:cave_vines_head_with_berries" + ], + "ground_block": "minecraft:clay", + "vegetation_feature": "minecraft:dripleaf_feature", + "surface": "floor", + "depth": 3, + "vertical_range": 2, + "vegetation_chance": 0.05, + "horizontal_radius": { + "range_min": 4, + "range_max": 8 + }, + "extra_deep_block_chance": 0.8, + "extra_edge_column_chance": 0.7 + } +} diff --git a/behavior_pack/features/coal_ore_feature.json b/behavior_pack/features/coal_ore_feature.json new file mode 100644 index 0000000..2501b57 --- /dev/null +++ b/behavior_pack/features/coal_ore_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:coal_ore_feature" + }, + "count": 17, + "discard_chance_on_air_exposure": 0.5, + "replace_rules": [ + { + "places_block": "minecraft:coal_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_coal_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/coal_ore_upper_feature.json b/behavior_pack/features/coal_ore_upper_feature.json new file mode 100644 index 0000000..8c6639c --- /dev/null +++ b/behavior_pack/features/coal_ore_upper_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:coal_ore_upper_feature" + }, + "count": 17, + "replace_rules": [ + { + "places_block": "minecraft:coal_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_coal_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/cocoa_age_0_feature.json b/behavior_pack/features/cocoa_age_0_feature.json new file mode 100644 index 0000000..b843d96 --- /dev/null +++ b/behavior_pack/features/cocoa_age_0_feature.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.13.0", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:cocoa_age_0_feature" + }, + "places_block": { + "name": "minecraft:cocoa", + "states": { + "age": 0 + } + }, + "enforce_survivability_rules": false, + "enforce_placement_rules": false, + "may_attach_to": { + "min_sides_must_attach": 1, + "sides": { + "name": "minecraft:jungle_log" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/features/cocoa_age_1_feature.json b/behavior_pack/features/cocoa_age_1_feature.json new file mode 100644 index 0000000..6bdf732 --- /dev/null +++ b/behavior_pack/features/cocoa_age_1_feature.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.13.0", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:cocoa_age_1_feature" + }, + "places_block": { + "name": "minecraft:cocoa", + "states": { + "age": 1 + } + }, + "enforce_survivability_rules": false, + "enforce_placement_rules": false, + "may_attach_to": { + "min_sides_must_attach": 1, + "sides": { + "name": "minecraft:jungle_log" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/features/cocoa_age_2_feature.json b/behavior_pack/features/cocoa_age_2_feature.json new file mode 100644 index 0000000..492584b --- /dev/null +++ b/behavior_pack/features/cocoa_age_2_feature.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.13.0", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:cocoa_age_2_feature" + }, + "places_block": { + "name": "minecraft:cocoa", + "states": { + "age": 2 + } + }, + "enforce_survivability_rules": false, + "enforce_placement_rules": false, + "may_attach_to": { + "min_sides_must_attach": 1, + "sides": { + "name": "minecraft:jungle_log" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/features/copper_ore_feature.json b/behavior_pack/features/copper_ore_feature.json new file mode 100644 index 0000000..307ec47 --- /dev/null +++ b/behavior_pack/features/copper_ore_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.16.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:copper_ore_feature" + }, + "count": 10, + "replace_rules": [ + { + "places_block": "minecraft:copper_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_copper_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/creaking_heart_feature.json b/behavior_pack/features/creaking_heart_feature.json new file mode 100644 index 0000000..1c2bb84 --- /dev/null +++ b/behavior_pack/features/creaking_heart_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:creaking_heart_feature" + }, + "places_block": { + "name": "minecraft:creaking_heart", + "states": { + "pillar_axis": "y", + "creaking_heart_state": "dormant", + "natural": true + } + }, + "enforce_survivability_rules": false, + "enforce_placement_rules": false, + "may_attach_to": { + "auto_rotate": false, + "top": "minecraft:pale_oak_log", + "bottom": "minecraft:pale_oak_log", + "north": "minecraft:pale_oak_log", + "east": "minecraft:pale_oak_log", + "south": "minecraft:pale_oak_log", + "west": "minecraft:pale_oak_log" + }, + "may_replace": [ "minecraft:pale_oak_log" ] + } +} diff --git a/behavior_pack/features/creaking_heart_search_feature.json b/behavior_pack/features/creaking_heart_search_feature.json new file mode 100644 index 0000000..9283468 --- /dev/null +++ b/behavior_pack/features/creaking_heart_search_feature.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.13.0", + "minecraft:search_feature": { + "description": { + "identifier": "minecraft:creaking_heart_search_feature" + }, + "places_feature": "minecraft:creaking_heart_feature", + "search_volume": { + // Since the Creaking Heart can be placed only if surrounded by Pale Oak Logs, + // there's no point in searching at positions others than the ones where branches + // can generate, as they are what is going to provide the necessary coverage. + "min": [ 0, 1, 0 ], + "max": [ 2, 9, 2 ] + }, + "search_axis": "+y", + "required_successes": 1 + } +} diff --git a/behavior_pack/features/crimson_fungus_scatter_feature.json b/behavior_pack/features/crimson_fungus_scatter_feature.json new file mode 100644 index 0000000..c89599e --- /dev/null +++ b/behavior_pack/features/crimson_fungus_scatter_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:crimson_fungus_scatter_feature" + }, + "iterations": 24, + "coordinate_eval_order": "zyx", + "x": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "z": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "y": { + "extent": [ -4, 4 ], + "distribution": "triangle" + }, + "project_input_to_floor": false, + "places_feature": "minecraft:crimson_fungus_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/crimson_roots_scatter_feature.json b/behavior_pack/features/crimson_roots_scatter_feature.json new file mode 100644 index 0000000..d824c61 --- /dev/null +++ b/behavior_pack/features/crimson_roots_scatter_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:crimson_roots_scatter_feature" + }, + "iterations": 64, + "coordinate_eval_order": "zyx", + "x": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "z": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "y": { + "extent": [ -4, 4 ], + "distribution": "triangle" + }, + "project_input_to_floor": false, + "places_feature": "minecraft:crimson_roots_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/deepslate_diamond_fossil_feature.json b/behavior_pack/features/deepslate_diamond_fossil_feature.json new file mode 100644 index 0000000..0444eb6 --- /dev/null +++ b/behavior_pack/features/deepslate_diamond_fossil_feature.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.16.0", + "minecraft:fossil_feature": { + "description": { + "identifier": "minecraft:deepslate_diamond_fossil_feature" + }, + "ore_block": "minecraft:deepslate_diamond_ore", + "max_empty_corners": 4 + } +} \ No newline at end of file diff --git a/behavior_pack/features/deepslate_feature.json b/behavior_pack/features/deepslate_feature.json new file mode 100644 index 0000000..a0b3ca2 --- /dev/null +++ b/behavior_pack/features/deepslate_feature.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:deepslate_feature" + }, + "count": 33, + "replace_rules": [ + { + "places_block": { + "name": "minecraft:deepslate" + }, + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/diamond_ore_buried_feature.json b/behavior_pack/features/diamond_ore_buried_feature.json new file mode 100644 index 0000000..5a0c573 --- /dev/null +++ b/behavior_pack/features/diamond_ore_buried_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:diamond_ore_buried_feature" + }, + "count": 8, + "discard_chance_on_air_exposure": 1.0, + "replace_rules": [ + { + "places_block": "minecraft:diamond_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_diamond_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/diamond_ore_feature.json b/behavior_pack/features/diamond_ore_feature.json new file mode 100644 index 0000000..11a4e08 --- /dev/null +++ b/behavior_pack/features/diamond_ore_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:diamond_ore_feature" + }, + "count": 4, + "discard_chance_on_air_exposure": 0.5, + "replace_rules": [ + { + "places_block": "minecraft:diamond_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_diamond_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/diamond_ore_large_feature.json b/behavior_pack/features/diamond_ore_large_feature.json new file mode 100644 index 0000000..1d93d8e --- /dev/null +++ b/behavior_pack/features/diamond_ore_large_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:diamond_ore_large_feature" + }, + "count": 12, + "discard_chance_on_air_exposure": 0.7, + "replace_rules": [ + { + "places_block": "minecraft:diamond_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_diamond_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/diorite_feature.json b/behavior_pack/features/diorite_feature.json new file mode 100644 index 0000000..fd125fb --- /dev/null +++ b/behavior_pack/features/diorite_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:diorite_feature" + }, + "count": 64, + "replace_rules": [ + { + "places_block": { + "name": "minecraft:stone", + "states": { + "stone_type": "diorite" + } + }, + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/dripstone_caves_copper_ore_feature.json b/behavior_pack/features/dripstone_caves_copper_ore_feature.json new file mode 100644 index 0000000..ad84eba --- /dev/null +++ b/behavior_pack/features/dripstone_caves_copper_ore_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.16.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:dripstone_caves_copper_ore_feature" + }, + "count": 20, + "replace_rules": [ + { + "places_block": "minecraft:copper_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_copper_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/emerald_ore_feature.json b/behavior_pack/features/emerald_ore_feature.json new file mode 100644 index 0000000..7abefb9 --- /dev/null +++ b/behavior_pack/features/emerald_ore_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:emerald_ore_feature" + }, + "count": 3, + "replace_rules": [ + { + "places_block": "minecraft:emerald_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_emerald_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/fallen_birch_tree_feature.json b/behavior_pack/features/fallen_birch_tree_feature.json new file mode 100644 index 0000000..aecb7cf --- /dev/null +++ b/behavior_pack/features/fallen_birch_tree_feature.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:fallen_birch_tree_feature" + }, + "fallen_trunk": { + "log_length": { + "range_min": 5, + "range_max": 8 + }, + "trunk_block": { + "name": "minecraft:birch_log" + }, + "log_decoration_feature": "minecraft:optional_log_mushrooms_feature" + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/fallen_jungle_tree_feature.json b/behavior_pack/features/fallen_jungle_tree_feature.json new file mode 100644 index 0000000..42c215f --- /dev/null +++ b/behavior_pack/features/fallen_jungle_tree_feature.json @@ -0,0 +1,98 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:fallen_jungle_tree_feature" + }, + "fallen_trunk": { + "log_length": { + "range_min": 4, + "range_max": 11 + }, + "trunk_block": { + "name": "minecraft:jungle_log" + }, + "log_decoration_feature": "minecraft:optional_log_mushrooms_feature", + "trunk_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": 75.0 + } + }, + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + "may_grow_on": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:moss_block", + "minecraft:coarse_dirt", + // Block aliases sure would be sweet + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 0 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 1 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 2 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 3 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 4 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 5 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 6 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 7 + } + } + ], + "may_replace": [ + "minecraft:air", + "minecraft:oak_leaves", + "minecraft:spruce_leaves", + "minecraft:birch_leaves", + "minecraft:jungle_leaves", + "minecraft:acacia_leaves", + "minecraft:dark_oak_leaves" + ], + "may_grow_through": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:coarse_dirt" + ] + + } +} \ No newline at end of file diff --git a/behavior_pack/features/fallen_oak_tree_feature.json b/behavior_pack/features/fallen_oak_tree_feature.json new file mode 100644 index 0000000..618f651 --- /dev/null +++ b/behavior_pack/features/fallen_oak_tree_feature.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:fallen_oak_tree_feature" + }, + "fallen_trunk": { + "log_length": { + "range_min": 4, + "range_max": 7 + }, + "trunk_block": { + "name": "minecraft:oak_log" + }, + "log_decoration_feature": "minecraft:optional_log_mushrooms_feature", + "trunk_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": 75.0 + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/fallen_spruce_tree_feature.json b/behavior_pack/features/fallen_spruce_tree_feature.json new file mode 100644 index 0000000..f979b3f --- /dev/null +++ b/behavior_pack/features/fallen_spruce_tree_feature.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:fallen_spruce_tree_feature" + }, + "fallen_trunk": { + "log_length": { + "range_min": 6, + "range_max": 10 + }, + "trunk_block": { + "name": "minecraft:spruce_log" + }, + "log_decoration_feature": "minecraft:optional_log_mushrooms_feature" + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/fallen_super_birch_tree_feature.json b/behavior_pack/features/fallen_super_birch_tree_feature.json new file mode 100644 index 0000000..af39ee1 --- /dev/null +++ b/behavior_pack/features/fallen_super_birch_tree_feature.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:fallen_super_birch_tree_feature" + }, + "fallen_trunk": { + "log_length": { + "range_min": 5, + "range_max": 8 + }, + "height_modifier": { + "range_min": 0, + "range_max": 7 + }, + "trunk_block": { + "name": "minecraft:birch_log" + }, + "log_decoration_feature": "minecraft:optional_log_mushrooms_feature" + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/fancy_oak_tree_feature.json b/behavior_pack/features/fancy_oak_tree_feature.json new file mode 100644 index 0000000..5173afe --- /dev/null +++ b/behavior_pack/features/fancy_oak_tree_feature.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:fancy_oak_tree_feature" + }, + "fancy_trunk": { + "trunk_height": { + "base": 5, + "variance": 12, + "scale": 0.618 + }, + "trunk_width": 1, + "trunk_block": { + "name": "minecraft:oak_log" + }, + "branches": { + "slope": 0.381, + "density": 1.0, + "min_altitude_factor": 0.2 + }, + "width_scale": 1.0, + "foliage_altitude_factor": 0.3 + }, + "fancy_canopy": { + "height": 4, + "radius": 3, + "leaf_block": { + "name": "minecraft:oak_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/fern_double_plant_patch_feature.json b/behavior_pack/features/fern_double_plant_patch_feature.json new file mode 100644 index 0000000..c679f1e --- /dev/null +++ b/behavior_pack/features/fern_double_plant_patch_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:fern_double_plant_patch_feature" + }, + "iterations": 64, + "coordinate_eval_order": "zyx", + "x": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "z": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "y": { + "extent": [ -4, 4 ], + "distribution": "triangle" + }, + "project_input_to_floor": false, + "places_feature": "minecraft:fern_double_plant_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/glow_lichen_feature.json b/behavior_pack/features/glow_lichen_feature.json new file mode 100644 index 0000000..02d723e --- /dev/null +++ b/behavior_pack/features/glow_lichen_feature.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.16.0", + "minecraft:multiface_feature": { + "description": { + "identifier": "minecraft:glow_lichen_feature" + }, + "search_range": 20, + "places_block": "minecraft:glow_lichen", + "can_place_on_floor": false, + "can_place_on_ceiling": true, + "can_place_on_wall": true, + "chance_of_spreading": 0.5, + "can_place_on": [ + "minecraft:stone", + "minecraft:dripstone_block", + "minecraft:deepslate" + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/gold_ore_extra_feature.json b/behavior_pack/features/gold_ore_extra_feature.json new file mode 100644 index 0000000..f3dd130 --- /dev/null +++ b/behavior_pack/features/gold_ore_extra_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:gold_ore_extra_feature" + }, + "count": 9, + "replace_rules": [ + { + "places_block": "minecraft:gold_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_gold_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/gold_ore_feature.json b/behavior_pack/features/gold_ore_feature.json new file mode 100644 index 0000000..4bf73d3 --- /dev/null +++ b/behavior_pack/features/gold_ore_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:gold_ore_feature" + }, + "count": 9, + "discard_chance_on_air_exposure": 0.5, + "replace_rules": [ + { + "places_block": "minecraft:gold_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_gold_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/gold_ore_lower_feature.json b/behavior_pack/features/gold_ore_lower_feature.json new file mode 100644 index 0000000..99c9374 --- /dev/null +++ b/behavior_pack/features/gold_ore_lower_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:gold_ore_lower_feature" + }, + "count": 9, + "discard_chance_on_air_exposure": 0.5, + "replace_rules": [ + { + "places_block": "minecraft:gold_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_gold_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/granite_feature.json b/behavior_pack/features/granite_feature.json new file mode 100644 index 0000000..b4ee176 --- /dev/null +++ b/behavior_pack/features/granite_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:granite_feature" + }, + "count": 64, + "replace_rules": [ + { + "places_block": { + "name": "minecraft:stone", + "states": { + "stone_type": "granite" + } + }, + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/grass_double_plant_lower_feature.json b/behavior_pack/features/grass_double_plant_lower_feature.json new file mode 100644 index 0000000..03e2d38 --- /dev/null +++ b/behavior_pack/features/grass_double_plant_lower_feature.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.13.0", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:grass_double_plant_lower_feature" + }, + "places_block": { + "name": "minecraft:tall_grass", + "states": { + "upper_block_bit": false + } + }, + "enforce_survivability_rules": false, + "enforce_placement_rules": true, + "may_replace": [ + "minecraft:air", + "minecraft:short_grass" + ] + } +} diff --git a/behavior_pack/features/grass_double_plant_patch_feature.json b/behavior_pack/features/grass_double_plant_patch_feature.json new file mode 100644 index 0000000..0fed8c9 --- /dev/null +++ b/behavior_pack/features/grass_double_plant_patch_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:grass_double_plant_patch_feature" + }, + "iterations": 32, + "x": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:grass_double_plant_feature" + } +} diff --git a/behavior_pack/features/gravel_ore_feature.json b/behavior_pack/features/gravel_ore_feature.json new file mode 100644 index 0000000..1284542 --- /dev/null +++ b/behavior_pack/features/gravel_ore_feature.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:gravel_ore_feature" + }, + "count": 33, + "replace_rules": [ + { + "places_block": "minecraft:gravel", + "may_replace": [ + { + "name": "minecraft:stone" + }, + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/iron_ore_feature.json b/behavior_pack/features/iron_ore_feature.json new file mode 100644 index 0000000..77e92fa --- /dev/null +++ b/behavior_pack/features/iron_ore_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:iron_ore_feature" + }, + "count": 10, + "replace_rules": [ + { + "places_block": "minecraft:iron_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_iron_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/iron_ore_small_feature.json b/behavior_pack/features/iron_ore_small_feature.json new file mode 100644 index 0000000..b046759 --- /dev/null +++ b/behavior_pack/features/iron_ore_small_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:iron_ore_small_feature" + }, + "count": 4, + "replace_rules": [ + { + "places_block": "minecraft:iron_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_iron_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/jungle_bush_feature.json b/behavior_pack/features/jungle_bush_feature.json new file mode 100644 index 0000000..845ed84 --- /dev/null +++ b/behavior_pack/features/jungle_bush_feature.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:jungle_bush_feature" + }, + "trunk": { + "trunk_height": 1, + "trunk_block": { + "name": "minecraft:jungle_log" + } + }, + "canopy": { + "canopy_offset": { + "min": -1, + "max": 1 + }, + "leaf_block": { + "name": "minecraft:jungle_leaves" + }, + "min_width": 0, + "canopy_slope": { + "rise": 1, + "run": 1 + }, + "variation_chance": { + "numerator": 1, + "denominator": 2 + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/jungle_fern_feature.json b/behavior_pack/features/jungle_fern_feature.json new file mode 100644 index 0000000..d76736e --- /dev/null +++ b/behavior_pack/features/jungle_fern_feature.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.21.40", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:jungle_fern_feature" + }, + "places_block": { + "name": "minecraft:fern" + }, + "enforce_survivability_rules": true, + "enforce_placement_rules": false, + "may_replace": [ + "minecraft:air" + ], + "may_not_attach_to": { + "bottom": "minecraft:podzol" + } + } +} diff --git a/behavior_pack/features/jungle_tall_grass_feature.json b/behavior_pack/features/jungle_tall_grass_feature.json new file mode 100644 index 0000000..4f5a7e4 --- /dev/null +++ b/behavior_pack/features/jungle_tall_grass_feature.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.21.40", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:jungle_tall_grass_feature" + }, + "places_block": { + // "short_grass" used to be called "tall_grass". + "name": "minecraft:short_grass" + }, + "enforce_survivability_rules": true, + "enforce_placement_rules": false, + "may_replace": [ + "minecraft:air" + ], + "may_not_attach_to": { + "bottom": "minecraft:podzol" + } + } +} diff --git a/behavior_pack/features/jungle_tree_feature.json b/behavior_pack/features/jungle_tree_feature.json new file mode 100644 index 0000000..ae069c5 --- /dev/null +++ b/behavior_pack/features/jungle_tree_feature.json @@ -0,0 +1,88 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:jungle_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 4, + "range_max": 11 + }, + "trunk_block": { + "name": "minecraft:jungle_log" + }, + "trunk_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": 33.33 + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "leaf_block": { + "name": "minecraft:jungle_leaves" + }, + "canopy_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": { + "numerator": 1, + "denominator": 4 + }, + "num_steps": 4, + "step_direction": "down" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/lapis_ore_buried_feature.json b/behavior_pack/features/lapis_ore_buried_feature.json new file mode 100644 index 0000000..cad3346 --- /dev/null +++ b/behavior_pack/features/lapis_ore_buried_feature.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:lapis_ore_buried_feature" + }, + "count": 7, + "discard_chance_on_air_exposure": 1.0, + "replace_rules": [ + { + "places_block": "minecraft:lapis_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_lapis_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/lapis_ore_feature.json b/behavior_pack/features/lapis_ore_feature.json new file mode 100644 index 0000000..fe2fc21 --- /dev/null +++ b/behavior_pack/features/lapis_ore_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:lapis_ore_feature" + }, + "count": 7, + "replace_rules": [ + { + "places_block": "minecraft:lapis_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_lapis_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/mangrove_beehive_search_feature.json b/behavior_pack/features/mangrove_beehive_search_feature.json new file mode 100644 index 0000000..0e6fe85 --- /dev/null +++ b/behavior_pack/features/mangrove_beehive_search_feature.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.13.0", + "minecraft:search_feature": { + "description": { + "identifier": "minecraft:mangrove_beehive_search_feature" + }, + "places_feature": "minecraft:select_beehive_feature", + "search_volume": { + "min": [ 0, 0, 0 ], + "max": [ 0, 12, 0 ] + }, + "search_axis": "+y", + "required_successes": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/features/mangrove_tree_feature.json b/behavior_pack/features/mangrove_tree_feature.json new file mode 100644 index 0000000..3526076 --- /dev/null +++ b/behavior_pack/features/mangrove_tree_feature.json @@ -0,0 +1,134 @@ +{ + "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:air", + "minecraft:snow_layer", + // Root blocks + "minecraft:mud", + "minecraft:mangrove_roots", + "minecraft:muddy_mangrove_roots", + // Water + "minecraft:water", + "minecraft:flowing_water", + // Blocks used to decorate the tree + "minecraft:vine", + "minecraft:moss_carpet", + "minecraft:mangrove_propagule" + ] + }, + "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 + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:mud" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves", + // Water + "minecraft:water", + "minecraft:flowing_water", + // Blocks used to decorate the tree + "minecraft:vine", + "minecraft:moss_carpet", + "minecraft:mangrove_propagule" + ] + } +} diff --git a/behavior_pack/features/mangrove_tree_with_beenest_feature.json b/behavior_pack/features/mangrove_tree_with_beenest_feature.json new file mode 100644 index 0000000..facaf17 --- /dev/null +++ b/behavior_pack/features/mangrove_tree_with_beenest_feature.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.13.0", + "minecraft:aggregate_feature": { + "description": { + "identifier": "minecraft:mangrove_tree_with_beenest_feature" + }, + "early_out": "first_failure", + "features": [ + "minecraft:mangrove_tree_feature", + "minecraft:beehive_search_feature" + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/mega_jungle_tree_feature.json b/behavior_pack/features/mega_jungle_tree_feature.json new file mode 100644 index 0000000..1345a38 --- /dev/null +++ b/behavior_pack/features/mega_jungle_tree_feature.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:mega_jungle_tree_feature" + }, + "mega_trunk": { + "trunk_width": 2, + "trunk_height": { + "base": 10, + "intervals": [ 3, 20 ] + }, + "trunk_block": { + "name": "minecraft:jungle_log" + }, + "trunk_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": { + "numerator": 1, + "denominator": 3 + } + }, + "branches": { + "branch_length": 5, + "branch_slope": 0.5, + "branch_interval": { + "range_min": 2, + "range_max": 6 + }, + "branch_altitude_factor": { + "min": 0.5, + "max": 1.0 + }, + "branch_canopy": { + "mega_canopy": { + "canopy_height": { + "range_min": 2, + "range_max": 4 + }, + "base_radius": 1, + "simplify_canopy": true, + "leaf_block": { + "name": "minecraft:jungle_leaves" + } + } + } + } + }, + "mega_canopy": { + "canopy_height": 3, + "base_radius": 2, + "core_width": 2, + "leaf_block": { + "name": "minecraft:jungle_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/mega_pine_tree_feature.json b/behavior_pack/features/mega_pine_tree_feature.json new file mode 100644 index 0000000..5536768 --- /dev/null +++ b/behavior_pack/features/mega_pine_tree_feature.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:mega_pine_tree_feature" + }, + "mega_trunk": { + "trunk_width": 2, + "trunk_height": { + "base": 13, + "intervals": [ 3, 15 ] + }, + "trunk_block": { + "name": "minecraft:spruce_log" + } + }, + "mega_pine_canopy": { + "canopy_height": { + "range_min": 3, + "range_max": 8 + }, + "base_radius": 0, + "radius_step_modifier": 3.5, + "core_width": 2, + "leaf_block": { + "name": "minecraft:spruce_leaves" + } + }, + "base_cluster": { + "may_replace": [ + { "tags": "query.any_tag('dirt')" } + ], + "num_clusters": 5, + "cluster_radius": 2 + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:podzol" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/mega_spruce_tree_feature.json b/behavior_pack/features/mega_spruce_tree_feature.json new file mode 100644 index 0000000..4504fd7 --- /dev/null +++ b/behavior_pack/features/mega_spruce_tree_feature.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:mega_spruce_tree_feature" + }, + "mega_trunk": { + "trunk_width": 2, + "trunk_height": { + "base": 13, + "intervals": [ 3, 15 ] + }, + "trunk_block": { + "name": "minecraft:spruce_log" + } + }, + "mega_pine_canopy": { + "canopy_height": { + "range_min": 13, + "range_max": 18 + }, + "base_radius": 0, + "radius_step_modifier": 3.5, + "core_width": 2, + "leaf_block": { + "name": "minecraft:spruce_leaves" + } + }, + "base_cluster": { + "may_replace": [ + { "tags": "query.any_tag('dirt')" } + ], + "num_clusters": 5, + "cluster_radius": 2 + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:podzol" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/moss_ceiling_feature.json b/behavior_pack/features/moss_ceiling_feature.json new file mode 100644 index 0000000..283e7aa --- /dev/null +++ b/behavior_pack/features/moss_ceiling_feature.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.16.0", + "minecraft:vegetation_patch_feature": { + "description": { + "identifier": "minecraft:moss_ceiling_feature" + }, + "replaceable_blocks": [ + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:grass_block", + "minecraft:mycelium", + "minecraft:stone", + "minecraft:granite", + "minecraft:polished_granite", + "minecraft:diorite", + "minecraft:polished_diorite", + "minecraft:andesite", + "minecraft:polished_andesite", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:moss_block", + "minecraft:cave_vines", + "minecraft:cave_vines_body_with_berries", + "minecraft:cave_vines_head_with_berries" + ], + "ground_block": "minecraft:moss_block", + "vegetation_feature": "minecraft:cave_vine_in_moss_feature", + "surface": "ceiling", + "depth": { + "range_min": 1, + "range_max": 3 + }, + "vertical_range": 5, + "vegetation_chance": 0.08, + "horizontal_radius": { + "range_min": 4, + "range_max": 8 + }, + "extra_edge_column_chance": 0.3 + } +} diff --git a/behavior_pack/features/moss_ceiling_snap_to_ceiling_feature.json b/behavior_pack/features/moss_ceiling_snap_to_ceiling_feature.json new file mode 100644 index 0000000..849e5f3 --- /dev/null +++ b/behavior_pack/features/moss_ceiling_snap_to_ceiling_feature.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:moss_ceiling_snap_to_ceiling_feature" + }, + "feature_to_snap": "minecraft:moss_ceiling_feature", + "vertical_search_range": 12, + "surface": "ceiling" + } +} diff --git a/behavior_pack/features/moss_patch_bonemeal_feature.json b/behavior_pack/features/moss_patch_bonemeal_feature.json new file mode 100644 index 0000000..3579a7a --- /dev/null +++ b/behavior_pack/features/moss_patch_bonemeal_feature.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.16.0", + "minecraft:vegetation_patch_feature": { + "description": { + "identifier": "minecraft:moss_patch_bonemeal_feature" + }, + "replaceable_blocks": [ + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:grass_block", + "minecraft:mycelium", + "minecraft:stone", + "minecraft:granite", + "minecraft:polished_granite", + "minecraft:diorite", + "minecraft:polished_diorite", + "minecraft:andesite", + "minecraft:polished_andesite", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:moss_block", + "minecraft:pale_moss_block" + ], + "ground_block": "minecraft:moss_block", + "vegetation_feature": "minecraft:moss_vegetation_feature", + "surface": "floor", + "depth": { + "range_min": 1, + "range_max": 2 + }, + "vertical_range": 5, + "vegetation_chance": 0.6, + "horizontal_radius": { + "range_min": 1, + "range_max": 3 + }, + "extra_edge_column_chance": 0.75 + } +} diff --git a/behavior_pack/features/moss_patch_feature.json b/behavior_pack/features/moss_patch_feature.json new file mode 100644 index 0000000..5f890d0 --- /dev/null +++ b/behavior_pack/features/moss_patch_feature.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.16.0", + "minecraft:vegetation_patch_feature": { + "description": { + "identifier": "minecraft:moss_patch_feature" + }, + "replaceable_blocks": [ + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:grass_block", + "minecraft:mycelium", + "minecraft:stone", + "minecraft:granite", + "minecraft:polished_granite", + "minecraft:diorite", + "minecraft:polished_diorite", + "minecraft:andesite", + "minecraft:polished_andesite", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:moss_block", + "minecraft:cave_vines", + "minecraft:cave_vines_body_with_berries", + "minecraft:cave_vines_head_with_berries" + ], + "ground_block": "minecraft:moss_block", + "vegetation_feature": "minecraft:moss_vegetation_feature", + "surface": "floor", + "depth": { + "range_min": 1, + "range_max": 2 + }, + "vertical_range": 5, + "vegetation_chance": 0.8, + "horizontal_radius": { + "range_min": 4, + "range_max": 8 + }, + "extra_edge_column_chance": 0.3 + } +} diff --git a/behavior_pack/features/moss_patch_snap_to_floor_feature.json b/behavior_pack/features/moss_patch_snap_to_floor_feature.json new file mode 100644 index 0000000..a080133 --- /dev/null +++ b/behavior_pack/features/moss_patch_snap_to_floor_feature.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:moss_patch_snap_to_floor_feature" + }, + "feature_to_snap": "minecraft:moss_patch_feature", + "vertical_search_range": 12, + "surface": "floor" + } +} diff --git a/behavior_pack/features/mountain_pine_tree_feature.json b/behavior_pack/features/mountain_pine_tree_feature.json new file mode 100644 index 0000000..b1be7c0 --- /dev/null +++ b/behavior_pack/features/mountain_pine_tree_feature.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:mountain_pine_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 7, + "range_max": 12 + }, + "trunk_block": { + "name": "minecraft:spruce_log" + } + }, + "pine_canopy": { + "base_radius": 1, + "canopy_height": { + "range_min": 3, + "range_max": 5 + }, + "leaf_block": { + "name": "minecraft:spruce_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:snow" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:snow" + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/mountain_spruce_tree_feature.json b/behavior_pack/features/mountain_spruce_tree_feature.json new file mode 100644 index 0000000..2cab530 --- /dev/null +++ b/behavior_pack/features/mountain_spruce_tree_feature.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:mountain_spruce_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 6, + "range_max": 10 + }, + "height_modifier": { + "range_min": -2, + "range_max": 1 + }, + "trunk_block": { + "name": "minecraft:spruce_log" + } + }, + "spruce_canopy": { + "lower_offset": { + "range_min": 1, + "range_max": 3 + }, + "upper_offset": { + "range_min": 0, + "range_max": 3 + }, + "max_radius": { + "range_min": 2, + "range_max": 4 + }, + "leaf_block": { + "name": "minecraft:spruce_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:snow" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:snow" + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/nether_sprouts_scatter_feature.json b/behavior_pack/features/nether_sprouts_scatter_feature.json new file mode 100644 index 0000000..d4ee9bd --- /dev/null +++ b/behavior_pack/features/nether_sprouts_scatter_feature.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:nether_sprouts_scatter_feature" + }, + "iterations": 64, + "coordinate_eval_order": "zyx", + "x": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "y": { + "extent": [ -4, 4 ], + "distribution": "triangle" + }, + "z": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + + "project_input_to_floor": false, + "places_feature": "minecraft:nether_sprouts_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/oak_tree_feature.json b/behavior_pack/features/oak_tree_feature.json new file mode 100644 index 0000000..0267179 --- /dev/null +++ b/behavior_pack/features/oak_tree_feature.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:oak_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 4, + "range_max": 7 + }, + "trunk_block": { + "name": "minecraft:oak_log" + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "leaf_block": { + "name": "minecraft:oak_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/oak_tree_with_vines_feature.json b/behavior_pack/features/oak_tree_with_vines_feature.json new file mode 100644 index 0000000..933406d --- /dev/null +++ b/behavior_pack/features/oak_tree_with_vines_feature.json @@ -0,0 +1,129 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:oak_tree_with_vines_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 4, + "range_max": 7 + }, + "trunk_block": { + "name": "minecraft:oak_log" + }, + "trunk_decoration": { + "decoration_chance": 100.0, + "decoration_block": "minecraft:vine" + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "leaf_block": { + "name": "minecraft:oak_leaves" + } + }, + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + "may_grow_on": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:moss_block", + "minecraft:mycelium", + "minecraft:mud", + "minecraft:muddy_mangrove_roots", + "minecraft:coarse_dirt", + // Block aliases sure would be sweet + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 0 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 1 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 2 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 3 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 4 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 5 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 6 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 7 + } + } + ], + "may_replace": [ + "minecraft:air", + "minecraft:mangrove_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:oak_leaves", + "minecraft:spruce_leaves", + "minecraft:birch_leaves", + "minecraft:jungle_leaves", + "minecraft:acacia_leaves", + "minecraft:dark_oak_leaves" + ], + "may_grow_through": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:coarse_dirt" + ] + } +} diff --git a/behavior_pack/features/pale_hanging_moss_feature.json b/behavior_pack/features/pale_hanging_moss_feature.json new file mode 100644 index 0000000..b872ad9 --- /dev/null +++ b/behavior_pack/features/pale_hanging_moss_feature.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.13.0", + "minecraft:growing_plant_feature": { + "description": { + "identifier": "minecraft:pale_hanging_moss_feature" + }, + "height_distribution": [ + // This simulates Java's behavior where after placing a block there's a 50% chance of placing another one. + [{ "range_min": 1, "range_max": 1 }, 128], + [{ "range_min": 2, "range_max": 2 }, 64], + [{ "range_min": 3, "range_max": 3 }, 32], + [{ "range_min": 4, "range_max": 4 }, 16], + [{ "range_min": 5, "range_max": 5 }, 8], + [{ "range_min": 6, "range_max": 6 }, 4], + [{ "range_min": 7, "range_max": 7 }, 2], + [{ "range_min": 8, "range_max": 8 }, 1] + ], + "growth_direction": "DOWN", + "body_blocks": [ + ["minecraft:pale_hanging_moss", 1] + ], + "head_blocks": [ + [ + { + "name": "minecraft:pale_hanging_moss", + "states": { + "tip": true + } + }, + 1 + ] + ], + "allow_water": false + } +} diff --git a/behavior_pack/features/pale_hanging_moss_snap_to_ceiling_feature.json b/behavior_pack/features/pale_hanging_moss_snap_to_ceiling_feature.json new file mode 100644 index 0000000..ec00191 --- /dev/null +++ b/behavior_pack/features/pale_hanging_moss_snap_to_ceiling_feature.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:pale_hanging_moss_snap_to_ceiling_feature" + }, + "feature_to_snap": "minecraft:pale_hanging_moss_feature", + "vertical_search_range": 12, + "surface": "ceiling", + "allowed_surface_blocks": [ + { + "name": "minecraft:pale_oak_leaves" + }, + { + "name": "minecraft:pale_oak_log" + } + ] + } +} diff --git a/behavior_pack/features/pale_moss_patch_bonemeal_feature.json b/behavior_pack/features/pale_moss_patch_bonemeal_feature.json new file mode 100644 index 0000000..d373d94 --- /dev/null +++ b/behavior_pack/features/pale_moss_patch_bonemeal_feature.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.16.0", + "minecraft:vegetation_patch_feature": { + "description": { + "identifier": "minecraft:pale_moss_patch_bonemeal_feature" + }, + "replaceable_blocks": [ + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:grass_block", + "minecraft:mycelium", + "minecraft:stone", + "minecraft:granite", + "minecraft:polished_granite", + "minecraft:diorite", + "minecraft:polished_diorite", + "minecraft:andesite", + "minecraft:polished_andesite", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:moss_block", + "minecraft:pale_moss_block" + ], + "ground_block": "minecraft:pale_moss_block", + "vegetation_feature": "minecraft:pale_moss_vegetation_feature", + "surface": "floor", + "depth": { + "range_min": 1, + "range_max": 2 + }, + "vertical_range": 5, + "vegetation_chance": 0.6, + "horizontal_radius": { + "range_min": 1, + "range_max": 2 + }, + "extra_edge_column_chance": 0.75 + } +} diff --git a/behavior_pack/features/pale_moss_patch_feature.json b/behavior_pack/features/pale_moss_patch_feature.json new file mode 100644 index 0000000..78f9816 --- /dev/null +++ b/behavior_pack/features/pale_moss_patch_feature.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.16.0", + "minecraft:vegetation_patch_feature": { + "description": { + "identifier": "minecraft:pale_moss_patch_feature" + }, + "replaceable_blocks": [ + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:grass_block", + "minecraft:mycelium", + "minecraft:stone", + "minecraft:granite", + "minecraft:polished_granite", + "minecraft:diorite", + "minecraft:polished_diorite", + "minecraft:andesite", + "minecraft:polished_andesite", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:moss_block", + "minecraft:pale_moss_block" + ], + "ground_block": "minecraft:pale_moss_block", + "vegetation_feature": "minecraft:pale_moss_vegetation_feature", + "surface": "floor", + "depth": { + "range_min": 1, + "range_max": 2 + }, + "vertical_range": 5, + "vegetation_chance": 0.3, + "horizontal_radius": { + "range_min": 2, + "range_max": 4 + }, + "extra_edge_column_chance": 0.75 + } +} diff --git a/behavior_pack/features/pale_oak_tree_feature.json b/behavior_pack/features/pale_oak_tree_feature.json new file mode 100644 index 0000000..0520889 --- /dev/null +++ b/behavior_pack/features/pale_oak_tree_feature.json @@ -0,0 +1,88 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:pale_oak_tree_feature" + }, + "acacia_trunk": { + "trunk_width": 2, + "trunk_height": { + "base": 6, + "intervals": [ 3, 2 ] + }, + "trunk_block": { + "name": "minecraft:pale_oak_log" + }, + "trunk_lean": { + "allow_diagonal_growth": false, + "lean_height": { + "range_min": 0, + "range_max": 4 + }, + "lean_steps": { + "range_min": 0, + "range_max": 3 + } + }, + "branches": { + "branch_chance": { + "numerator": 1, + "denominator": 3 + }, + "branch_length": { + "range_min": 2, + "range_max": 5 + }, + "branch_position": 1, + "branch_canopy": { + "acacia_canopy": { + "canopy_size": 2, + "leaf_block": "minecraft:pale_oak_leaves", + "simplify_canopy": true + } + } + } + }, + "roofed_canopy": { + "canopy_height": 4, + "core_width": 2, + "outer_radius": 2, + "inner_radius": 3, + "leaf_block": "minecraft:pale_oak_leaves" + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves", + // Blocks that are naturally occuring in the Biome + "minecraft:closed_eyeblossom", + "minecraft:open_eyeblossom", + "minecraft:pale_moss_carpet" + ] + } +} diff --git a/behavior_pack/features/pale_oak_tree_with_decorations_and_creaking_heart_feature.json b/behavior_pack/features/pale_oak_tree_with_decorations_and_creaking_heart_feature.json new file mode 100644 index 0000000..f5dd851 --- /dev/null +++ b/behavior_pack/features/pale_oak_tree_with_decorations_and_creaking_heart_feature.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.13.0", + "minecraft:aggregate_feature": { + "description": { + "identifier": "minecraft:pale_oak_tree_with_decorations_and_creaking_heart_feature" + }, + "early_out": "first_failure", + "features": [ + "minecraft:pale_oak_tree_feature", + "minecraft:scatter_pale_hanging_moss_feature", + "minecraft:pale_moss_patch_feature", + "minecraft:creaking_heart_search_feature" + ] + } +} diff --git a/behavior_pack/features/pale_oak_tree_with_decorations_feature.json b/behavior_pack/features/pale_oak_tree_with_decorations_feature.json new file mode 100644 index 0000000..2596830 --- /dev/null +++ b/behavior_pack/features/pale_oak_tree_with_decorations_feature.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.13.0", + "minecraft:aggregate_feature": { + "description": { + "identifier": "minecraft:pale_oak_tree_with_decorations_feature" + }, + "early_out": "first_failure", + "features": [ + "minecraft:pale_oak_tree_feature", + "minecraft:scatter_pale_hanging_moss_feature", + "minecraft:pale_moss_patch_feature" + ] + } +} diff --git a/behavior_pack/features/pine_tree_feature.json b/behavior_pack/features/pine_tree_feature.json new file mode 100644 index 0000000..f6dbd3c --- /dev/null +++ b/behavior_pack/features/pine_tree_feature.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:pine_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 7, + "range_max": 12 + }, + "trunk_block": { + "name": "minecraft:spruce_log" + } + }, + "pine_canopy": { + "base_radius": 1, + "canopy_height": { + "range_min": 3, + "range_max": 5 + }, + "leaf_block": { + "name": "minecraft:spruce_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/pink_petals_scatter_feature.json b/behavior_pack/features/pink_petals_scatter_feature.json new file mode 100644 index 0000000..7cd9a81 --- /dev/null +++ b/behavior_pack/features/pink_petals_scatter_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:pink_petals_scatter_feature" + }, + "iterations": 96, + "x": { + "distribution": "triangle", + "extent": [ -5, 5 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -2, 2 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -5, 5 ] + }, + "coordinate_eval_order": "zxy", + "places_feature": "minecraft:pink_petals_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/random_cherry_tree_feature.json b/behavior_pack/features/random_cherry_tree_feature.json new file mode 100644 index 0000000..08df378 --- /dev/null +++ b/behavior_pack/features/random_cherry_tree_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.16.0", + "minecraft:weighted_random_feature": { + "description": { + "identifier": "minecraft:random_cherry_tree_feature" + }, + "features": [ + [ "minecraft:cherry_tree_feature", 19 ], + [ "minecraft:cherry_tree_with_beehive_feature", 1 ] + ] + } +} diff --git a/behavior_pack/features/random_clay_with_dripleaves_feature.json b/behavior_pack/features/random_clay_with_dripleaves_feature.json new file mode 100644 index 0000000..2cedee1 --- /dev/null +++ b/behavior_pack/features/random_clay_with_dripleaves_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.16.0", + "minecraft:weighted_random_feature": { + "description": { + "identifier": "minecraft:random_clay_with_dripleaves_feature" + }, + "features": [ + ["minecraft:clay_with_dripleaves_feature", 1], + ["minecraft:clay_pool_with_dripleaves_feature", 1] + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/random_clay_with_dripleaves_snap_to_floor_feature.json b/behavior_pack/features/random_clay_with_dripleaves_snap_to_floor_feature.json new file mode 100644 index 0000000..31a10be --- /dev/null +++ b/behavior_pack/features/random_clay_with_dripleaves_snap_to_floor_feature.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:random_clay_with_dripleaves_snap_to_floor_feature" + }, + "feature_to_snap": "minecraft:random_clay_with_dripleaves_feature", + "vertical_search_range": 12, + "surface": "floor" + } +} diff --git a/behavior_pack/features/random_mangrove_tree_feature.json b/behavior_pack/features/random_mangrove_tree_feature.json new file mode 100644 index 0000000..22148bc --- /dev/null +++ b/behavior_pack/features/random_mangrove_tree_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.16.0", + "minecraft:weighted_random_feature": { + "description": { + "identifier": "minecraft:random_mangrove_tree_feature" + }, + "features": [ + [ "minecraft:tall_mangrove_tree_feature", 85 ], + [ "minecraft:mangrove_tree_feature", 15 ] + ] + } +} diff --git a/behavior_pack/features/random_pale_oak_tree_feature.json b/behavior_pack/features/random_pale_oak_tree_feature.json new file mode 100644 index 0000000..60e39ee --- /dev/null +++ b/behavior_pack/features/random_pale_oak_tree_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.16.0", + "minecraft:weighted_random_feature": { + "description": { + "identifier": "minecraft:random_pale_oak_tree_feature" + }, + "features": [ + [ "minecraft:pale_oak_tree_with_decorations_feature", 9 ], + [ "minecraft:pale_oak_tree_with_decorations_and_creaking_heart_feature", 1 ] + ] + } +} diff --git a/behavior_pack/features/redstone_ore_feature.json b/behavior_pack/features/redstone_ore_feature.json new file mode 100644 index 0000000..5d02b6d --- /dev/null +++ b/behavior_pack/features/redstone_ore_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:redstone_ore_feature" + }, + "count": 8, + "replace_rules": [ + { + "places_block": "minecraft:redstone_ore", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:deepslate_redstone_ore", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/roofed_tree_feature.json b/behavior_pack/features/roofed_tree_feature.json new file mode 100644 index 0000000..221d302 --- /dev/null +++ b/behavior_pack/features/roofed_tree_feature.json @@ -0,0 +1,88 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:roofed_tree_feature" + }, + "acacia_trunk": { + "trunk_width": 2, + "trunk_height": { + "base": 6, + "intervals": [ 3, 2 ] + }, + "trunk_block": { + "name": "minecraft:dark_oak_log" + }, + "trunk_lean": { + "allow_diagonal_growth": false, + "lean_height": { + "range_min": 0, + "range_max": 4 + }, + "lean_steps": { + "range_min": 0, + "range_max": 3 + } + }, + "branches": { + "branch_chance": { + "numerator": 1, + "denominator": 3 + }, + "branch_length": { + "range_min": 2, + "range_max": 5 + }, + "branch_position": 1, + "branch_canopy": { + "acacia_canopy": { + "canopy_size": 2, + "leaf_block": { + "name": "minecraft:dark_oak_leaves" + }, + "simplify_canopy": true + } + } + } + }, + "roofed_canopy": { + "canopy_height": 4, + "core_width": 2, + "outer_radius": 2, + "inner_radius": 3, + "leaf_block": { + "name": "minecraft:dark_oak_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/roofed_tree_with_vines_feature.json b/behavior_pack/features/roofed_tree_with_vines_feature.json new file mode 100644 index 0000000..1981c90 --- /dev/null +++ b/behavior_pack/features/roofed_tree_with_vines_feature.json @@ -0,0 +1,146 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:roofed_tree_with_vines_feature" + }, + "acacia_trunk": { + "trunk_width": 2, + "trunk_height": { + "base": 6, + "intervals": [ 3, 2 ] + }, + "trunk_block": { + "name": "minecraft:dark_oak_log" + }, + "trunk_lean": { + "allow_diagonal_growth": false, + "lean_height": { + "range_min": 0, + "range_max": 4 + }, + "lean_steps": { + "range_min": 0, + "range_max": 3 + } + }, + "trunk_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": { + "numerator": 6, + "denominator": 7 + } + }, + "branches": { + "branch_chance": { + "numerator": 1, + "denominator": 3 + }, + "branch_length": { + "range_min": 2, + "range_max": 5 + }, + "branch_position": 1, + "branch_canopy": { + "acacia_canopy": { + "canopy_size": 2, + "leaf_block": { + "name": "minecraft:dark_oak_leaves" + }, + "simplify_canopy": true + } + } + } + }, + "roofed_canopy": { + "canopy_height": 4, + "core_width": 2, + "outer_radius": 2, + "inner_radius": 3, + "leaf_block": { + "name": "minecraft:dark_oak_leaves" + } + }, + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + "may_grow_on": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:moss_block", + "minecraft:mycelium", + "minecraft:mud", + "minecraft:muddy_mangrove_roots", + "minecraft:coarse_dirt", + // Block aliases sure would be sweet + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 0 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 1 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 2 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 3 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 4 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 5 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 6 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 7 + } + } + ], + "may_replace": [ + "minecraft:air", + "minecraft:mangrove_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:oak_leaves", + "minecraft:spruce_leaves", + "minecraft:birch_leaves", + "minecraft:jungle_leaves", + "minecraft:acacia_leaves", + "minecraft:dark_oak_leaves" + ], + "may_grow_through": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:coarse_dirt" + ] + } +} diff --git a/behavior_pack/features/savanna_tree_feature.json b/behavior_pack/features/savanna_tree_feature.json new file mode 100644 index 0000000..b7d8ebd --- /dev/null +++ b/behavior_pack/features/savanna_tree_feature.json @@ -0,0 +1,85 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:savanna_tree_feature" + }, + "acacia_trunk": { + "trunk_width": 1, + "trunk_height": { + "base": 5, + "intervals": [ 3, 3 ] + }, + "trunk_block": { + "name": "minecraft:acacia_log" + }, + "trunk_lean": { + "allow_diagonal_growth": true, + "lean_height": { + "range_min": 1, + "range_max": 5 + }, + "lean_steps": { + "range_min": 1, + "range_max": 4 + } + }, + "branches": { + "branch_chance": 100.0, + "branch_length": { + "range_min": 1, + "range_max": 4 + }, + "branch_position": { + "range_min": 1, + "range_max": 3 + }, + "branch_canopy": { + "acacia_canopy": { + "canopy_size": 2, + "leaf_block": { + "name": "minecraft:acacia_leaves" + }, + "simplify_canopy": true + } + } + } + }, + "acacia_canopy": { + "canopy_size": 3, + "leaf_block": { + "name": "minecraft:acacia_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/scatter_brown_mushroom_feature.json b/behavior_pack/features/scatter_brown_mushroom_feature.json new file mode 100644 index 0000000..68ad3c4 --- /dev/null +++ b/behavior_pack/features/scatter_brown_mushroom_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_brown_mushroom_feature" + }, + "iterations": 96, + "x": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:brown_mushroom_feature" + } +} diff --git a/behavior_pack/features/scatter_eyeblossom_feature.json b/behavior_pack/features/scatter_eyeblossom_feature.json new file mode 100644 index 0000000..d50bc9e --- /dev/null +++ b/behavior_pack/features/scatter_eyeblossom_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.16.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_eyeblossom_feature" + }, + "iterations": 5, + "scatter_chance": { + "numerator": 1, + "denominator": 8 + }, + "x": { + "distribution": "gaussian", + "extent": [ 0, 8 ] + }, + "y": "query.heightmap(variable.worldx, variable.worldz)", + "z": { + "distribution": "gaussian", + "extent": [ 0, 8 ] + }, + "places_feature": "minecraft:eyeblossom_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/scatter_fern_feature.json b/behavior_pack/features/scatter_fern_feature.json new file mode 100644 index 0000000..f3bb653 --- /dev/null +++ b/behavior_pack/features/scatter_fern_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_fern_feature" + }, + "iterations": 90, + "x": { + "distribution": "triangle", + "extent": [ -8, 8 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -4, 4 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -8, 8 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:fern_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/scatter_flower_forest_flower_feature.json b/behavior_pack/features/scatter_flower_forest_flower_feature.json new file mode 100644 index 0000000..4bc7ceb --- /dev/null +++ b/behavior_pack/features/scatter_flower_forest_flower_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_flower_forest_flower_feature" + }, + "iterations": 96, + "x": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -2, 2 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:legacy:flower_forest_flower_feature" + } +} diff --git a/behavior_pack/features/scatter_jungle_plant_feature.json b/behavior_pack/features/scatter_jungle_plant_feature.json new file mode 100644 index 0000000..4ab8b8d --- /dev/null +++ b/behavior_pack/features/scatter_jungle_plant_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_jungle_plant_feature" + }, + "iterations": 32, + "x": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:select_jungle_plant_feature" + } +} diff --git a/behavior_pack/features/scatter_meadow_flower_feature.json b/behavior_pack/features/scatter_meadow_flower_feature.json new file mode 100644 index 0000000..9ac60e3 --- /dev/null +++ b/behavior_pack/features/scatter_meadow_flower_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_meadow_flower_feature" + }, + "iterations": 96, + "x": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -2, 2 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:meadow_flower_feature" + } +} diff --git a/behavior_pack/features/scatter_overworld_flower_feature.json b/behavior_pack/features/scatter_overworld_flower_feature.json new file mode 100644 index 0000000..b93066c --- /dev/null +++ b/behavior_pack/features/scatter_overworld_flower_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_overworld_flower_feature" + }, + "iterations": 64, + "x": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:legacy:overworld_flower_feature" + } +} diff --git a/behavior_pack/features/scatter_pale_hanging_moss_feature.json b/behavior_pack/features/scatter_pale_hanging_moss_feature.json new file mode 100644 index 0000000..3fee0ad --- /dev/null +++ b/behavior_pack/features/scatter_pale_hanging_moss_feature.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_pale_hanging_moss_feature" + }, + "iterations": 20, + "scatter_chance": 100.0, + "x": { + "extent": [ -4, 4 ], + "distribution": "uniform" + }, + "z": { + "extent": [ -4, 4 ], + "distribution": "uniform" + }, + "y": 0, + "project_input_to_floor": false, + "places_feature": "minecraft:pale_hanging_moss_snap_to_ceiling_feature" + } +} diff --git a/behavior_pack/features/scatter_plains_flower_feature.json b/behavior_pack/features/scatter_plains_flower_feature.json new file mode 100644 index 0000000..a89851b --- /dev/null +++ b/behavior_pack/features/scatter_plains_flower_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_plains_flower_feature" + }, + "iterations": 64, + "x": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -2, 2 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:legacy:plains_flower_feature" + } +} diff --git a/behavior_pack/features/scatter_red_mushroom_feature.json b/behavior_pack/features/scatter_red_mushroom_feature.json new file mode 100644 index 0000000..644cabc --- /dev/null +++ b/behavior_pack/features/scatter_red_mushroom_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_red_mushroom_feature" + }, + "iterations": 96, + "x": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:red_mushroom_feature" + } +} diff --git a/behavior_pack/features/scatter_swamp_flower_feature.json b/behavior_pack/features/scatter_swamp_flower_feature.json new file mode 100644 index 0000000..aa8acc1 --- /dev/null +++ b/behavior_pack/features/scatter_swamp_flower_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_swamp_flower_feature" + }, + "iterations": 64, + "x": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -2, 2 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -6, 6 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:legacy:swamp_flower_feature" + } +} diff --git a/behavior_pack/features/scatter_taiga_plant_feature.json b/behavior_pack/features/scatter_taiga_plant_feature.json new file mode 100644 index 0000000..8fa2258 --- /dev/null +++ b/behavior_pack/features/scatter_taiga_plant_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_taiga_plant_feature" + }, + "iterations": 32, + "x": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:select_taiga_plant_feature" + } +} diff --git a/behavior_pack/features/scatter_tall_grass_around_forest_foliage_feature.json b/behavior_pack/features/scatter_tall_grass_around_forest_foliage_feature.json new file mode 100644 index 0000000..a542fcd --- /dev/null +++ b/behavior_pack/features/scatter_tall_grass_around_forest_foliage_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_tall_grass_around_forest_foliage_feature" + }, + "iterations": 20, + "x": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -4, 4 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:tall_grass_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/scatter_tall_grass_around_tree_feature.json b/behavior_pack/features/scatter_tall_grass_around_tree_feature.json new file mode 100644 index 0000000..78939c9 --- /dev/null +++ b/behavior_pack/features/scatter_tall_grass_around_tree_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_tall_grass_around_tree_feature" + }, + "iterations": 0, // Set to 0 to deprecate this feature and prevent it from being placed. + "x": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -4, 4 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:tall_grass_feature" + } +} diff --git a/behavior_pack/features/scatter_tall_grass_feature.json b/behavior_pack/features/scatter_tall_grass_feature.json new file mode 100644 index 0000000..d3a86e1 --- /dev/null +++ b/behavior_pack/features/scatter_tall_grass_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:scatter_tall_grass_feature" + }, + "iterations": 32, + "x": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "y": { + "distribution": "triangle", + "extent": [ -3, 3 ] + }, + "z": { + "distribution": "triangle", + "extent": [ -7, 7 ] + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:tall_grass_feature" + } +} diff --git a/behavior_pack/features/sculk_patch_feature.json b/behavior_pack/features/sculk_patch_feature.json new file mode 100644 index 0000000..4e717fc --- /dev/null +++ b/behavior_pack/features/sculk_patch_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.16.0", + "minecraft:sculk_patch_feature": { + "description": { + "identifier": "minecraft:sculk_patch_feature" + }, + "can_place_sculk_patch_on": [], + "central_block": "minecraft:sculk_catalyst", + "central_block_placement_chance": 0.5, + "cursor_count": 10, + "charge_amount": 32, + "spread_attempts": 64, + "growth_rounds": 0, + "spread_rounds": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/features/sculk_patch_feature_ancient_city.json b/behavior_pack/features/sculk_patch_feature_ancient_city.json new file mode 100644 index 0000000..0f3912d --- /dev/null +++ b/behavior_pack/features/sculk_patch_feature_ancient_city.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.16.0", + "minecraft:sculk_patch_feature": { + "description": { + "identifier": "minecraft:sculk_patch_feature_ancient_city" + }, + "can_place_sculk_patch_on": [], + "central_block": "minecraft:sculk_catalyst", + "central_block_placement_chance": 0.5, + "cursor_count": 10, + "charge_amount": 32, + "spread_attempts": 64, + "growth_rounds": 0, + "spread_rounds": 1, + "extra_growth_chance": { + "range_min": 1, + "range_max": 3 + } + } +} \ No newline at end of file diff --git a/behavior_pack/features/sculk_vein_feature.json b/behavior_pack/features/sculk_vein_feature.json new file mode 100644 index 0000000..dc5a0f6 --- /dev/null +++ b/behavior_pack/features/sculk_vein_feature.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16.0", + "minecraft:multiface_feature": { + "description": { + "identifier": "minecraft:sculk_vein_feature" + }, + "search_range": 20, + "places_block": "minecraft:sculk_vein", + "can_place_on_floor": true, + "can_place_on_ceiling": true, + "can_place_on_wall": true, + "chance_of_spreading": 1.0, + "can_place_on": [ + "minecraft:stone", + "minecraft:deepslate", + "minecraft:cobbled_deepslate", + "minecraft:deepslate_tiles", + "minecraft:cracked_deepslate_tiles", + "minecraft:deepslate_bricks", + "minecraft:cracked_deepslate_bricks", + "minecraft:tuff", + "minecraft:planks" + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/select_birch_tree_feature.json b/behavior_pack/features/select_birch_tree_feature.json new file mode 100644 index 0000000..35b8454 --- /dev/null +++ b/behavior_pack/features/select_birch_tree_feature.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.13.0", + "minecraft:aggregate_feature": { + "description": { + "identifier": "minecraft:select_birch_tree_feature" + }, + "early_out": "first_success", + "features": [ + "minecraft:optional_fallen_birch_tree_feature", + "minecraft:birch_tree_with_optional_beehive_feature" + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/select_jungle_plant_feature.json b/behavior_pack/features/select_jungle_plant_feature.json new file mode 100644 index 0000000..de51fc8 --- /dev/null +++ b/behavior_pack/features/select_jungle_plant_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.13.0", + "minecraft:weighted_random_feature": { + "description": { + "identifier": "minecraft:select_jungle_plant_feature" + }, + "features": [ + [ "minecraft:jungle_fern_feature", 1 ], + [ "minecraft:jungle_tall_grass_feature", 3 ] + ] + } +} diff --git a/behavior_pack/features/select_standing_oak_tree_feature.json b/behavior_pack/features/select_standing_oak_tree_feature.json new file mode 100644 index 0000000..d12efea --- /dev/null +++ b/behavior_pack/features/select_standing_oak_tree_feature.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.13.0", + "minecraft:aggregate_feature": { + "description": { + "identifier": "minecraft:select_standing_oak_tree_feature" + }, + "early_out": "first_success", + "features": [ + "minecraft:optional_oak_tree_with_vines_feature", + "minecraft:oak_tree_with_optional_beehive_feature" + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/select_taiga_plant_feature.json b/behavior_pack/features/select_taiga_plant_feature.json new file mode 100644 index 0000000..d75fd22 --- /dev/null +++ b/behavior_pack/features/select_taiga_plant_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.13.0", + "minecraft:weighted_random_feature": { + "description": { + "identifier": "minecraft:select_taiga_plant_feature" + }, + "features": [ + [ "minecraft:fern_feature", 4 ], + [ "minecraft:tall_grass_feature", 1 ] + ] + } +} diff --git a/behavior_pack/features/silverfish_feature.json b/behavior_pack/features/silverfish_feature.json new file mode 100644 index 0000000..e259e0f --- /dev/null +++ b/behavior_pack/features/silverfish_feature.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:silverfish_feature" + }, + "count": 8, + "replace_rules": [ + { + "places_block": "minecraft:infested_stone", + "may_replace": [ + { + "name": "minecraft:stone" + } + ] + }, + { + "places_block": "minecraft:infested_deepslate", + "may_replace": [ + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} diff --git a/behavior_pack/features/small_dripstone_feature.json b/behavior_pack/features/small_dripstone_feature.json new file mode 100644 index 0000000..54fc756 --- /dev/null +++ b/behavior_pack/features/small_dripstone_feature.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:small_dripstone_feature" + }, + "places_feature": "minecraft:small_dripstone_snap_to_surface_feature", + "iterations": "Math.Random(1, 5)", + "x": { + "distribution": "gaussian", + "extent": [ -10, 10 ] + }, + "y": { + "distribution": "gaussian", + "extent": [ -2, 2 ] + }, + "z": { + "distribution": "gaussian", + "extent": [ -10, 10 ] + } + } +} \ No newline at end of file diff --git a/behavior_pack/features/small_dripstone_snap_to_surface_feature.json b/behavior_pack/features/small_dripstone_snap_to_surface_feature.json new file mode 100644 index 0000000..86e5ca0 --- /dev/null +++ b/behavior_pack/features/small_dripstone_snap_to_surface_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:small_dripstone_snap_to_surface_feature" + }, + "feature_to_snap": "minecraft:pointed_dripstone_feature", + "vertical_search_range": 12, + "surface": "random_horizontal", + "allow_underwater_placement": true + } +} \ No newline at end of file diff --git a/behavior_pack/features/spore_blossom_feature.json b/behavior_pack/features/spore_blossom_feature.json new file mode 100644 index 0000000..faa592e --- /dev/null +++ b/behavior_pack/features/spore_blossom_feature.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.16.0", + "minecraft:single_block_feature": { + "description": { + "identifier": "minecraft:spore_blossom_feature" + }, + "places_block": "minecraft:spore_blossom", + "enforce_survivability_rules": true, + "enforce_placement_rules": false + } +} \ No newline at end of file diff --git a/behavior_pack/features/spore_blossom_snap_to_ceiling_feature.json b/behavior_pack/features/spore_blossom_snap_to_ceiling_feature.json new file mode 100644 index 0000000..271c7f6 --- /dev/null +++ b/behavior_pack/features/spore_blossom_snap_to_ceiling_feature.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:spore_blossom_snap_to_ceiling_feature" + }, + "feature_to_snap": "minecraft:spore_blossom_feature", + "vertical_search_range": 12, + "surface": "ceiling" + } +} diff --git a/behavior_pack/features/spruce_tree_feature.json b/behavior_pack/features/spruce_tree_feature.json new file mode 100644 index 0000000..3e13221 --- /dev/null +++ b/behavior_pack/features/spruce_tree_feature.json @@ -0,0 +1,68 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:spruce_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 6, + "range_max": 10 + }, + "height_modifier": { + "range_min": -2, + "range_max": 1 + }, + "trunk_block": { + "name": "minecraft:spruce_log" + } + }, + "spruce_canopy": { + "lower_offset": { + "range_min": 1, + "range_max": 3 + }, + "upper_offset": { + "range_min": 0, + "range_max": 3 + }, + "max_radius": { + "range_min": 2, + "range_max": 4 + }, + "leaf_block": { + "name": "minecraft:spruce_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/spruce_tree_with_vines_feature.json b/behavior_pack/features/spruce_tree_with_vines_feature.json new file mode 100644 index 0000000..89426dc --- /dev/null +++ b/behavior_pack/features/spruce_tree_with_vines_feature.json @@ -0,0 +1,122 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:spruce_tree_with_vines_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 6, + "range_max": 10 + }, + "height_modifier": { + "range_min": -2, + "range_max": 1 + }, + "trunk_block": { + "name": "minecraft:spruce_log" + }, + "trunk_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": 100.0 + } + }, + "spruce_canopy": { + "lower_offset": { + "range_min": 1, + "range_max": 3 + }, + "upper_offset": { + "range_min": 0, + "range_max": 3 + }, + "max_radius": { + "range_min": 2, + "range_max": 4 + }, + "leaf_block": { + "name": "minecraft:spruce_leaves" + } + }, + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + "may_grow_on": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:moss_block", + "minecraft:mycelium", + "minecraft:mud", + "minecraft:muddy_mangrove_roots", + "minecraft:coarse_dirt", + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 0 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 1 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 2 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 3 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 4 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 5 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 6 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 7 + } + } + ], + "may_replace": [ + "minecraft:air", + "minecraft:mangrove_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:oak_leaves", + "minecraft:spruce_leaves", + "minecraft:birch_leaves", + "minecraft:jungle_leaves", + "minecraft:acacia_leaves", + "minecraft:dark_oak_leaves" + ], + "may_grow_through": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:coarse_dirt" + ] + } +} diff --git a/behavior_pack/features/sunflower_double_plant_patch_feature.json b/behavior_pack/features/sunflower_double_plant_patch_feature.json new file mode 100644 index 0000000..ad7acdf --- /dev/null +++ b/behavior_pack/features/sunflower_double_plant_patch_feature.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:sunflower_double_plant_patch_feature" + }, + "iterations": 96, + "x": { + "extent": [ -7, 7 ], + "distribution": "triangle" + }, + "y": { + "extent": [ -3, 3 ], + "distribution": "triangle" + }, + "z": { + "extent": [ -7, 7 ], + "distribution": "triangle" + }, + "coordinate_eval_order": "zyx", + "places_feature": "minecraft:sunflower_double_plant_feature" + } +} diff --git a/behavior_pack/features/super_birch_tree_feature.json b/behavior_pack/features/super_birch_tree_feature.json new file mode 100644 index 0000000..53863ee --- /dev/null +++ b/behavior_pack/features/super_birch_tree_feature.json @@ -0,0 +1,78 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:super_birch_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 5, + "range_max": 8 + }, + "height_modifier": { + "range_min": 0, + "range_max": 7 + }, + "trunk_block": { + "name": "minecraft:birch_log" + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "leaf_block": { + "name": "minecraft:birch_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/swamp_tree_feature.json b/behavior_pack/features/swamp_tree_feature.json new file mode 100644 index 0000000..763988d --- /dev/null +++ b/behavior_pack/features/swamp_tree_feature.json @@ -0,0 +1,85 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:swamp_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 5, + "range_max": 9 + }, + "trunk_block": { + "name": "minecraft:oak_log" + }, + "can_be_submerged": { + "max_depth": 2 + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "min_width": 2, + "leaf_block": { + "name": "minecraft:oak_leaves" + }, + "canopy_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": { + "numerator": 1, + "denominator": 4 + }, + "num_steps": 4, + "step_direction": "down" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Unlike other trees, we avoid adding "query.any_tag('dirt')" to "may_grow_through" because, combined with "can_be_submerged", it would cause the trunk to start underground. + // "may_grow_through": [], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves", + // Water + "minecraft:water", + "minecraft:flowing_water" + ] + } +} diff --git a/behavior_pack/features/tall_mangrove_tree_feature.json b/behavior_pack/features/tall_mangrove_tree_feature.json new file mode 100644 index 0000000..5db0271 --- /dev/null +++ b/behavior_pack/features/tall_mangrove_tree_feature.json @@ -0,0 +1,134 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:tall_mangrove_tree_feature" + }, + "mangrove_roots": { + "max_root_width": 8, + "max_root_length": 15, + "y_offset": { + "range_min": 5, + "range_max": 8 + }, + "root_block": { + "name": "minecraft:mangrove_roots" + }, + "muddy_root_block": { + "name": "minecraft:muddy_mangrove_roots" + }, + "mud_block": { + "name": "minecraft:mud" + }, + "above_root": { + "above_root_block": "minecraft:moss_carpet", + "above_root_chance": { + "numerator": 1, + "denominator": 2 + } + }, + "roots_may_grow_through": [ + "minecraft:air", + "minecraft:snow_layer", + // Root blocks + "minecraft:mud", + "minecraft:mangrove_roots", + "minecraft:muddy_mangrove_roots", + // Water + "minecraft:water", + "minecraft:flowing_water", + // Blocks used to decorate the tree + "minecraft:vine", + "minecraft:moss_carpet", + "minecraft:mangrove_propagule" + ] + }, + "mangrove_trunk": { + "trunk_width": 1, + "trunk_height": { + "base": 4, + "height_rand_a": 1, + "height_rand_b": 9 + }, + "trunk_block": { + "name": "minecraft:mangrove_log" + }, + "branches": { + "branch_chance": 100.0, + "branch_length": { + "range_min": 0, + "range_max": 1 + }, + "branch_steps": { + "range_min": 1, + "range_max": 6 + } + } + }, + "mangrove_canopy": { + "canopy_height": 2, + "canopy_radius": 3, + "leaf_placement_attempts": 70, + "leaf_blocks": [ + [ "minecraft:mangrove_leaves", 1 ] + ], + "canopy_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": { + "numerator": 1, + "denominator": 4 + }, + "num_steps": 4, + "step_direction": "down" + }, + "hanging_block": { + "name": "minecraft:mangrove_propagule", + "states": { + "hanging": true + } + }, + "hanging_block_placement_chance": { + "numerator": 1, + "denominator": 7 + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:mud" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" }, + "minecraft:clay" + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves", + // Water + "minecraft:water", + "minecraft:flowing_water", + // Blocks used to decorate the tree + "minecraft:vine", + "minecraft:moss_carpet", + "minecraft:mangrove_propagule" + ] + } +} diff --git a/behavior_pack/features/tall_mangrove_tree_with_beenest_feature.json b/behavior_pack/features/tall_mangrove_tree_with_beenest_feature.json new file mode 100644 index 0000000..708190a --- /dev/null +++ b/behavior_pack/features/tall_mangrove_tree_with_beenest_feature.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.13.0", + "minecraft:aggregate_feature": { + "description": { + "identifier": "minecraft:tall_mangrove_tree_with_beenest_feature" + }, + "early_out": "first_failure", + "features": [ + "minecraft:tall_mangrove_tree_feature", + "minecraft:beehive_search_feature" + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/tuff_feature.json b/behavior_pack/features/tuff_feature.json new file mode 100644 index 0000000..f9c7e69 --- /dev/null +++ b/behavior_pack/features/tuff_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:ore_feature": { + "description": { + "identifier": "minecraft:tuff_feature" + }, + "count": 64, + "replace_rules": [ + { + "places_block": { + "name": "minecraft:tuff" + }, + "may_replace": [ + { + "name": "minecraft:stone" + }, + { + "name": "minecraft:deepslate" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/undecorated_jungle_tree_feature.json b/behavior_pack/features/undecorated_jungle_tree_feature.json new file mode 100644 index 0000000..7054de7 --- /dev/null +++ b/behavior_pack/features/undecorated_jungle_tree_feature.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:undecorated_jungle_tree_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 4, + "range_max": 11 + }, + "trunk_block": { + "name": "minecraft:jungle_log" + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "leaf_block": { + "name": "minecraft:jungle_leaves" + } + }, + // Blocks the tree can be placed on. + "may_grow_on": [ + { "tags": "query.any_tag('dirt')" } + ], + // Any "may_grow_on" block that is not specified here will be replaced with the first block in this list. + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + // Blocks to ignore when checking for clearance around the tree. Already includes all blocks specified in "may_replace". + "may_grow_through": [ + { "tags": "query.any_tag('dirt')" } + ], + // Blocks that can be replaced by the tree's trunk and canopy. + "may_replace": [ + "minecraft:air", + "minecraft:snow_layer", + // All leaves + "minecraft:acacia_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:birch_leaves", + "minecraft:cherry_leaves", + "minecraft:dark_oak_leaves", + "minecraft:jungle_leaves", + "minecraft:mangrove_leaves", + "minecraft:oak_leaves", + "minecraft:pale_oak_leaves", + "minecraft:spruce_leaves" + ] + } +} diff --git a/behavior_pack/features/undecorated_jungle_tree_with_vines_feature.json b/behavior_pack/features/undecorated_jungle_tree_with_vines_feature.json new file mode 100644 index 0000000..dbea850 --- /dev/null +++ b/behavior_pack/features/undecorated_jungle_tree_with_vines_feature.json @@ -0,0 +1,129 @@ +{ + "format_version": "1.13.0", + "minecraft:tree_feature": { + "description": { + "identifier": "minecraft:undecorated_jungle_tree_with_vines_feature" + }, + "trunk": { + "trunk_height": { + "range_min": 4, + "range_max": 11 + }, + "trunk_block": { + "name": "minecraft:jungle_log" + }, + "trunk_decoration": { + "decoration_block": "minecraft:vine", + "decoration_chance": 100.0 + } + }, + "canopy": { + "canopy_offset": { + "min": -3, + "max": 0 + }, + "variation_chance": [ + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 2 + }, + { + "numerator": 1, + "denominator": 1 + } + ], + "leaf_block": { + "name": "minecraft:jungle_leaves" + } + }, + "base_block": [ + "minecraft:dirt", + "minecraft:coarse_dirt" + ], + "may_grow_on": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:podzol", + "minecraft:dirt_with_roots", + "minecraft:moss_block", + "minecraft:mycelium", + "minecraft:mud", + "minecraft:muddy_mangrove_roots", + "minecraft:coarse_dirt", + // Block aliases sure would be sweet + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 0 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 1 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 2 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 3 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 4 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 5 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 6 + } + }, + { + "name": "minecraft:farmland", + "states": { + "moisturized_amount": 7 + } + } + ], + "may_replace": [ + "minecraft:air", + "minecraft:mangrove_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered", + "minecraft:oak_leaves", + "minecraft:spruce_leaves", + "minecraft:birch_leaves", + "minecraft:jungle_leaves", + "minecraft:acacia_leaves", + "minecraft:dark_oak_leaves" + ], + "may_grow_through": [ + "minecraft:dirt", + "minecraft:grass_block", + "minecraft:coarse_dirt" + ] + } +} diff --git a/behavior_pack/features/underground_cave_carver_feature.json b/behavior_pack/features/underground_cave_carver_feature.json new file mode 100644 index 0000000..3d44b0d --- /dev/null +++ b/behavior_pack/features/underground_cave_carver_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.16.100", + "minecraft:cave_carver_feature": { + "description": { + "identifier": "minecraft:underground_cave_carver_feature" + }, + "fill_with": "minecraft:air", + "width_modifier": 0.0, + "skip_carve_chance": 33, + "y_scale": [ 0.1, 0.9 ], + "height_limit": 236, + "horizontal_radius_multiplier": [ 0.7, 1.4 ], + "vertical_radius_multiplier": [ 0.8, 1.3 ], + "floor_level": [ -1.0, -0.4 ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/underground_extra_cave_carver_feature.json b/behavior_pack/features/underground_extra_cave_carver_feature.json new file mode 100644 index 0000000..20f8465 --- /dev/null +++ b/behavior_pack/features/underground_extra_cave_carver_feature.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.16.100", + "minecraft:cave_carver_feature": { + "description": { + "identifier": "minecraft:underground_extra_cave_carver_feature" + }, + "fill_with": "minecraft:air", + "width_modifier": 0.0, + "skip_carve_chance": 66, + "y_scale": [ 0.1, 0.9 ], + "height_limit": 103, + "horizontal_radius_multiplier": [ 0.7, 1.4 ], + "vertical_radius_multiplier": [ 0.8, 1.3 ], + "floor_level": [ -1.0, -0.4 ] + } +} \ No newline at end of file diff --git a/behavior_pack/features/underground_glow_lichen_feature.json b/behavior_pack/features/underground_glow_lichen_feature.json new file mode 100644 index 0000000..88e8576 --- /dev/null +++ b/behavior_pack/features/underground_glow_lichen_feature.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.16.0", + "minecraft:surface_relative_threshold_feature": { + "description": { + "identifier": "minecraft:underground_glow_lichen_feature" + }, + "feature_to_place": "minecraft:glow_lichen_feature", + "minimum_distance_below_surface": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/features/underwater_magma_feature.json b/behavior_pack/features/underwater_magma_feature.json new file mode 100644 index 0000000..933b268 --- /dev/null +++ b/behavior_pack/features/underwater_magma_feature.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.13.0", + "minecraft:partially_exposed_blob_feature": { + "description": { + "identifier": "minecraft:underwater_magma_feature" + }, + "places_block": "minecraft:magma", + "placement_radius_around_floor": 1, + "placement_probability_per_valid_position": 0.5, + "exposed_face": "up" + } + } \ No newline at end of file diff --git a/behavior_pack/features/underwater_magma_snap_to_surface_feature.json b/behavior_pack/features/underwater_magma_snap_to_surface_feature.json new file mode 100644 index 0000000..f0e339f --- /dev/null +++ b/behavior_pack/features/underwater_magma_snap_to_surface_feature.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.16.0", + "minecraft:snap_to_surface_feature": { + "description": { + "identifier": "minecraft:underwater_magma_snap_to_surface_feature" + }, + "feature_to_snap": "minecraft:underwater_magma_feature", + "vertical_search_range": 5, + "surface": "floor", + "allow_air_placement": false, + "allow_underwater_placement": true + } +} \ No newline at end of file diff --git a/behavior_pack/features/underwater_magma_underground_feature.json b/behavior_pack/features/underwater_magma_underground_feature.json new file mode 100644 index 0000000..cf04aa7 --- /dev/null +++ b/behavior_pack/features/underwater_magma_underground_feature.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.16.0", + "minecraft:surface_relative_threshold_feature": { + "description": { + "identifier": "minecraft:underwater_magma_underground_feature" + }, + "feature_to_place": "minecraft:underwater_magma_snap_to_surface_feature", + "minimum_distance_below_surface": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/features/vines_single_face_scatter_feature.json b/behavior_pack/features/vines_single_face_scatter_feature.json new file mode 100644 index 0000000..d397979 --- /dev/null +++ b/behavior_pack/features/vines_single_face_scatter_feature.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:vines_single_face_scatter_feature" + }, + "iterations": 10, + "x": 8, + "y": 0, + "z": 8, + "project_input_to_floor": false, + "places_feature": "minecraft:vines_single_face_feature" + } +} diff --git a/behavior_pack/features/warped_fungus_scatter_feature.json b/behavior_pack/features/warped_fungus_scatter_feature.json new file mode 100644 index 0000000..3923646 --- /dev/null +++ b/behavior_pack/features/warped_fungus_scatter_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:warped_fungus_scatter_feature" + }, + "iterations": 24, + "coordinate_eval_order": "zyx", + "x": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "z": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "y": { + "extent": [ -4, 4 ], + "distribution": "triangle" + }, + "project_input_to_floor": false, + "places_feature": "minecraft:warped_fungus_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/features/warped_roots_scatter_feature.json b/behavior_pack/features/warped_roots_scatter_feature.json new file mode 100644 index 0000000..df7ee3d --- /dev/null +++ b/behavior_pack/features/warped_roots_scatter_feature.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.13.0", + "minecraft:scatter_feature": { + "description": { + "identifier": "minecraft:warped_roots_scatter_feature" + }, + "iterations": 64, + "coordinate_eval_order": "zyx", + "x": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "z": { + "extent": [ -8, 8 ], + "distribution": "triangle" + }, + "y": { + "extent": [ -4, 4 ], + "distribution": "triangle" + }, + "project_input_to_floor": false, + "places_feature": "minecraft:warped_roots_feature" + } +} \ No newline at end of file diff --git a/behavior_pack/item_catalog/crafting_item_catalog.json b/behavior_pack/item_catalog/crafting_item_catalog.json new file mode 100644 index 0000000..bab488e --- /dev/null +++ b/behavior_pack/item_catalog/crafting_item_catalog.json @@ -0,0 +1,2252 @@ +{ + "format_version" : "1.21.60", + "minecraft:crafting_items_catalog" : { + "categories" : [ + { + "category_name" : "construction", + "groups" : [ + { + "group_identifier" : { + "icon" : "minecraft:oak_planks", + "name" : "minecraft:itemGroup.name.planks" + }, + "items" : [ + "minecraft:oak_planks", + "minecraft:spruce_planks", + "minecraft:birch_planks", + "minecraft:jungle_planks", + "minecraft:acacia_planks", + "minecraft:dark_oak_planks", + "minecraft:mangrove_planks", + "minecraft:cherry_planks", + "minecraft:pale_oak_planks", + "minecraft:bamboo_planks", + "minecraft:bamboo_mosaic", + "minecraft:crimson_planks", + "minecraft:warped_planks" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:cobblestone_wall", + "name" : "minecraft:itemGroup.name.walls" + }, + "items" : [ + "minecraft:cobblestone_wall", + "minecraft:mossy_cobblestone_wall", + "minecraft:granite_wall", + "minecraft:diorite_wall", + "minecraft:andesite_wall", + "minecraft:sandstone_wall", + "minecraft:red_sandstone_wall", + "minecraft:stone_brick_wall", + "minecraft:mossy_stone_brick_wall", + "minecraft:brick_wall", + "minecraft:nether_brick_wall", + "minecraft:red_nether_brick_wall", + "minecraft:end_stone_brick_wall", + "minecraft:prismarine_wall", + "minecraft:blackstone_wall", + "minecraft:polished_blackstone_wall", + "minecraft:polished_blackstone_brick_wall", + "minecraft:cobbled_deepslate_wall", + "minecraft:deepslate_tile_wall", + "minecraft:polished_deepslate_wall", + "minecraft:deepslate_brick_wall", + "minecraft:tuff_wall", + "minecraft:tuff_brick_wall", + "minecraft:polished_tuff_wall", + "minecraft:mud_brick_wall", + "minecraft:resin_brick_wall" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_fence", + "name" : "minecraft:itemGroup.name.fence" + }, + "items" : [ + "minecraft:oak_fence", + "minecraft:spruce_fence", + "minecraft:birch_fence", + "minecraft:jungle_fence", + "minecraft:acacia_fence", + "minecraft:dark_oak_fence", + "minecraft:mangrove_fence", + "minecraft:cherry_fence", + "minecraft:pale_oak_fence", + "minecraft:bamboo_fence", + "minecraft:nether_brick_fence", + "minecraft:crimson_fence", + "minecraft:warped_fence" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:fence_gate", + "name" : "minecraft:itemGroup.name.fenceGate" + }, + "items" : [ + "minecraft:fence_gate", + "minecraft:spruce_fence_gate", + "minecraft:birch_fence_gate", + "minecraft:jungle_fence_gate", + "minecraft:acacia_fence_gate", + "minecraft:dark_oak_fence_gate", + "minecraft:mangrove_fence_gate", + "minecraft:cherry_fence_gate", + "minecraft:pale_oak_fence_gate", + "minecraft:bamboo_fence_gate", + "minecraft:crimson_fence_gate", + "minecraft:warped_fence_gate" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:stone_stairs", + "name" : "minecraft:itemGroup.name.stairs" + }, + "items" : [ + "minecraft:normal_stone_stairs", + "minecraft:stone_stairs", + "minecraft:mossy_cobblestone_stairs", + "minecraft:oak_stairs", + "minecraft:spruce_stairs", + "minecraft:birch_stairs", + "minecraft:jungle_stairs", + "minecraft:acacia_stairs", + "minecraft:dark_oak_stairs", + "minecraft:mangrove_stairs", + "minecraft:cherry_stairs", + "minecraft:pale_oak_stairs", + "minecraft:bamboo_stairs", + "minecraft:bamboo_mosaic_stairs", + "minecraft:stone_brick_stairs", + "minecraft:mossy_stone_brick_stairs", + "minecraft:sandstone_stairs", + "minecraft:smooth_sandstone_stairs", + "minecraft:red_sandstone_stairs", + "minecraft:smooth_red_sandstone_stairs", + "minecraft:granite_stairs", + "minecraft:polished_granite_stairs", + "minecraft:diorite_stairs", + "minecraft:polished_diorite_stairs", + "minecraft:andesite_stairs", + "minecraft:polished_andesite_stairs", + "minecraft:brick_stairs", + "minecraft:nether_brick_stairs", + "minecraft:red_nether_brick_stairs", + "minecraft:end_brick_stairs", + "minecraft:quartz_stairs", + "minecraft:smooth_quartz_stairs", + "minecraft:purpur_stairs", + "minecraft:prismarine_stairs", + "minecraft:dark_prismarine_stairs", + "minecraft:prismarine_bricks_stairs", + "minecraft:crimson_stairs", + "minecraft:warped_stairs", + "minecraft:blackstone_stairs", + "minecraft:polished_blackstone_stairs", + "minecraft:polished_blackstone_brick_stairs", + "minecraft:cobbled_deepslate_stairs", + "minecraft:deepslate_tile_stairs", + "minecraft:polished_deepslate_stairs", + "minecraft:deepslate_brick_stairs", + "minecraft:tuff_stairs", + "minecraft:polished_tuff_stairs", + "minecraft:tuff_brick_stairs", + "minecraft:mud_brick_stairs", + "minecraft:cut_copper_stairs", + "minecraft:exposed_cut_copper_stairs", + "minecraft:weathered_cut_copper_stairs", + "minecraft:oxidized_cut_copper_stairs", + "minecraft:waxed_cut_copper_stairs", + "minecraft:waxed_exposed_cut_copper_stairs", + "minecraft:waxed_weathered_cut_copper_stairs", + "minecraft:waxed_oxidized_cut_copper_stairs", + "minecraft:resin_brick_stairs" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_door", + "name" : "minecraft:itemGroup.name.door" + }, + "items" : [ + "minecraft:wooden_door", + "minecraft:spruce_door", + "minecraft:birch_door", + "minecraft:jungle_door", + "minecraft:acacia_door", + "minecraft:dark_oak_door", + "minecraft:mangrove_door", + "minecraft:cherry_door", + "minecraft:pale_oak_door", + "minecraft:bamboo_door", + "minecraft:iron_door", + "minecraft:crimson_door", + "minecraft:warped_door", + "minecraft:copper_door", + "minecraft:exposed_copper_door", + "minecraft:weathered_copper_door", + "minecraft:oxidized_copper_door", + "minecraft:waxed_copper_door", + "minecraft:waxed_exposed_copper_door", + "minecraft:waxed_weathered_copper_door", + "minecraft:waxed_oxidized_copper_door" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:trapdoor", + "name" : "minecraft:itemGroup.name.trapdoor" + }, + "items" : [ + "minecraft:trapdoor", + "minecraft:spruce_trapdoor", + "minecraft:birch_trapdoor", + "minecraft:jungle_trapdoor", + "minecraft:acacia_trapdoor", + "minecraft:dark_oak_trapdoor", + "minecraft:mangrove_trapdoor", + "minecraft:cherry_trapdoor", + "minecraft:pale_oak_trapdoor", + "minecraft:bamboo_trapdoor", + "minecraft:iron_trapdoor", + "minecraft:crimson_trapdoor", + "minecraft:warped_trapdoor", + "minecraft:copper_trapdoor", + "minecraft:exposed_copper_trapdoor", + "minecraft:weathered_copper_trapdoor", + "minecraft:oxidized_copper_trapdoor", + "minecraft:waxed_copper_trapdoor", + "minecraft:waxed_exposed_copper_trapdoor", + "minecraft:waxed_weathered_copper_trapdoor", + "minecraft:waxed_oxidized_copper_trapdoor" + ] + }, + { + "items" : [ "minecraft:iron_bars" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:glass", + "name" : "minecraft:itemGroup.name.glass" + }, + "items" : [ + "minecraft:glass", + "minecraft:white_stained_glass", + "minecraft:light_gray_stained_glass", + "minecraft:gray_stained_glass", + "minecraft:black_stained_glass", + "minecraft:brown_stained_glass", + "minecraft:red_stained_glass", + "minecraft:orange_stained_glass", + "minecraft:yellow_stained_glass", + "minecraft:lime_stained_glass", + "minecraft:green_stained_glass", + "minecraft:cyan_stained_glass", + "minecraft:light_blue_stained_glass", + "minecraft:blue_stained_glass", + "minecraft:purple_stained_glass", + "minecraft:magenta_stained_glass", + "minecraft:pink_stained_glass", + "minecraft:tinted_glass" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:glass_pane", + "name" : "minecraft:itemGroup.name.glassPane" + }, + "items" : [ + "minecraft:glass_pane", + "minecraft:white_stained_glass_pane", + "minecraft:light_gray_stained_glass_pane", + "minecraft:gray_stained_glass_pane", + "minecraft:black_stained_glass_pane", + "minecraft:brown_stained_glass_pane", + "minecraft:red_stained_glass_pane", + "minecraft:orange_stained_glass_pane", + "minecraft:yellow_stained_glass_pane", + "minecraft:lime_stained_glass_pane", + "minecraft:green_stained_glass_pane", + "minecraft:cyan_stained_glass_pane", + "minecraft:light_blue_stained_glass_pane", + "minecraft:blue_stained_glass_pane", + "minecraft:purple_stained_glass_pane", + "minecraft:magenta_stained_glass_pane", + "minecraft:pink_stained_glass_pane" + ] + }, + { + "items" : [ "minecraft:ladder", "minecraft:scaffolding", "minecraft:brick_block" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:smooth_stone_slab", + "name" : "minecraft:itemGroup.name.slab" + }, + "items" : [ + "minecraft:smooth_stone_slab", + "minecraft:normal_stone_slab", + "minecraft:cobblestone_slab", + "minecraft:mossy_cobblestone_slab", + "minecraft:oak_slab", + "minecraft:spruce_slab", + "minecraft:birch_slab", + "minecraft:jungle_slab", + "minecraft:acacia_slab", + "minecraft:dark_oak_slab", + "minecraft:mangrove_slab", + "minecraft:cherry_slab", + "minecraft:pale_oak_slab", + "minecraft:bamboo_slab", + "minecraft:bamboo_mosaic_slab", + "minecraft:stone_brick_slab", + "minecraft:mossy_stone_brick_slab", + "minecraft:sandstone_slab", + "minecraft:cut_sandstone_slab", + "minecraft:smooth_sandstone_slab", + "minecraft:red_sandstone_slab", + "minecraft:cut_red_sandstone_slab", + "minecraft:smooth_red_sandstone_slab", + "minecraft:granite_slab", + "minecraft:polished_granite_slab", + "minecraft:diorite_slab", + "minecraft:polished_diorite_slab", + "minecraft:andesite_slab", + "minecraft:polished_andesite_slab", + "minecraft:brick_slab", + "minecraft:nether_brick_slab", + "minecraft:red_nether_brick_slab", + "minecraft:end_stone_brick_slab", + "minecraft:quartz_slab", + "minecraft:smooth_quartz_slab", + "minecraft:purpur_slab", + "minecraft:prismarine_slab", + "minecraft:dark_prismarine_slab", + "minecraft:prismarine_brick_slab", + "minecraft:crimson_slab", + "minecraft:warped_slab", + "minecraft:blackstone_slab", + "minecraft:polished_blackstone_slab", + "minecraft:polished_blackstone_brick_slab", + "minecraft:cobbled_deepslate_slab", + "minecraft:polished_deepslate_slab", + "minecraft:deepslate_tile_slab", + "minecraft:deepslate_brick_slab", + "minecraft:tuff_slab", + "minecraft:polished_tuff_slab", + "minecraft:tuff_brick_slab", + "minecraft:mud_brick_slab", + "minecraft:cut_copper_slab", + "minecraft:exposed_cut_copper_slab", + "minecraft:weathered_cut_copper_slab", + "minecraft:oxidized_cut_copper_slab", + "minecraft:waxed_cut_copper_slab", + "minecraft:waxed_exposed_cut_copper_slab", + "minecraft:waxed_weathered_cut_copper_slab", + "minecraft:waxed_oxidized_cut_copper_slab", + "minecraft:resin_brick_slab" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:stone_bricks", + "name" : "minecraft:itemGroup.name.stoneBrick" + }, + "items" : [ + "minecraft:stone_bricks", + "minecraft:mossy_stone_bricks", + "minecraft:cracked_stone_bricks", + "minecraft:chiseled_stone_bricks", + "minecraft:smooth_stone", + "minecraft:end_bricks", + "minecraft:polished_blackstone_bricks", + "minecraft:cracked_polished_blackstone_bricks", + "minecraft:gilded_blackstone", + "minecraft:chiseled_polished_blackstone", + "minecraft:deepslate_tiles", + "minecraft:cracked_deepslate_tiles", + "minecraft:deepslate_bricks", + "minecraft:tuff_bricks", + "minecraft:cracked_deepslate_bricks", + "minecraft:chiseled_deepslate", + "minecraft:chiseled_tuff", + "minecraft:chiseled_tuff_bricks" + ] + }, + { + "items" : [ + "minecraft:cobblestone", + "minecraft:mossy_cobblestone", + "minecraft:cobbled_deepslate" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:sandstone", + "name" : "minecraft:itemGroup.name.sandstone" + }, + "items" : [ + "minecraft:sandstone", + "minecraft:chiseled_sandstone", + "minecraft:cut_sandstone", + "minecraft:smooth_sandstone", + "minecraft:red_sandstone", + "minecraft:chiseled_red_sandstone", + "minecraft:cut_red_sandstone", + "minecraft:smooth_red_sandstone" + ] + }, + { + "items" : [ "minecraft:coal_block", "minecraft:dried_kelp_block" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:copper_block", + "name" : "minecraft:itemGroup.name.copper" + }, + "items" : [ + "minecraft:copper_block", + "minecraft:weathered_copper", + "minecraft:exposed_copper", + "minecraft:oxidized_copper", + "minecraft:waxed_copper", + "minecraft:waxed_exposed_copper", + "minecraft:waxed_weathered_copper", + "minecraft:waxed_oxidized_copper", + "minecraft:copper_grate", + "minecraft:exposed_copper_grate", + "minecraft:weathered_copper_grate", + "minecraft:oxidized_copper_grate", + "minecraft:waxed_copper_grate", + "minecraft:waxed_exposed_copper_grate", + "minecraft:waxed_weathered_copper_grate", + "minecraft:waxed_oxidized_copper_grate", + "minecraft:cut_copper", + "minecraft:exposed_cut_copper", + "minecraft:weathered_cut_copper", + "minecraft:oxidized_cut_copper", + "minecraft:waxed_cut_copper", + "minecraft:waxed_exposed_cut_copper", + "minecraft:waxed_weathered_cut_copper", + "minecraft:waxed_oxidized_cut_copper", + "minecraft:chiseled_copper", + "minecraft:exposed_chiseled_copper", + "minecraft:weathered_chiseled_copper", + "minecraft:oxidized_chiseled_copper", + "minecraft:waxed_chiseled_copper", + "minecraft:waxed_exposed_chiseled_copper", + "minecraft:waxed_oxidized_chiseled_copper", + "minecraft:waxed_weathered_chiseled_copper", + "minecraft:copper_bulb", + "minecraft:exposed_copper_bulb", + "minecraft:weathered_copper_bulb", + "minecraft:oxidized_copper_bulb", + "minecraft:waxed_copper_bulb", + "minecraft:waxed_exposed_copper_bulb", + "minecraft:waxed_weathered_copper_bulb", + "minecraft:waxed_oxidized_copper_bulb" + ] + }, + { + "items" : [ + "minecraft:iron_block", + "minecraft:gold_block", + "minecraft:emerald_block", + "minecraft:diamond_block", + "minecraft:lapis_block", + "minecraft:raw_copper_block", + "minecraft:raw_iron_block", + "minecraft:raw_gold_block", + "minecraft:quartz_block", + "minecraft:quartz_bricks", + "minecraft:quartz_pillar", + "minecraft:chiseled_quartz_block", + "minecraft:smooth_quartz", + "minecraft:prismarine", + "minecraft:prismarine_bricks", + "minecraft:dark_prismarine", + "minecraft:slime", + "minecraft:honey_block", + "minecraft:honeycomb_block", + "minecraft:resin_block", + "minecraft:hay_block", + "minecraft:bone_block", + "minecraft:resin_bricks", + "minecraft:chiseled_resin_bricks", + "minecraft:nether_brick", + "minecraft:red_nether_brick", + "minecraft:chiseled_nether_bricks", + "minecraft:cracked_nether_bricks", + "minecraft:netherite_block", + "minecraft:lodestone" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:white_wool", + "name" : "minecraft:itemGroup.name.wool" + }, + "items" : [ + "minecraft:white_wool", + "minecraft:light_gray_wool", + "minecraft:gray_wool", + "minecraft:black_wool", + "minecraft:brown_wool", + "minecraft:red_wool", + "minecraft:orange_wool", + "minecraft:yellow_wool", + "minecraft:lime_wool", + "minecraft:green_wool", + "minecraft:cyan_wool", + "minecraft:light_blue_wool", + "minecraft:blue_wool", + "minecraft:purple_wool", + "minecraft:magenta_wool", + "minecraft:pink_wool" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:white_carpet", + "name" : "minecraft:itemGroup.name.woolCarpet" + }, + "items" : [ + "minecraft:white_carpet", + "minecraft:light_gray_carpet", + "minecraft:gray_carpet", + "minecraft:black_carpet", + "minecraft:brown_carpet", + "minecraft:red_carpet", + "minecraft:orange_carpet", + "minecraft:yellow_carpet", + "minecraft:lime_carpet", + "minecraft:green_carpet", + "minecraft:cyan_carpet", + "minecraft:light_blue_carpet", + "minecraft:blue_carpet", + "minecraft:purple_carpet", + "minecraft:magenta_carpet", + "minecraft:pink_carpet" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:white_concrete_powder", + "name" : "minecraft:itemGroup.name.concretePowder" + }, + "items" : [ + "minecraft:white_concrete_powder", + "minecraft:light_gray_concrete_powder", + "minecraft:gray_concrete_powder", + "minecraft:black_concrete_powder", + "minecraft:brown_concrete_powder", + "minecraft:red_concrete_powder", + "minecraft:orange_concrete_powder", + "minecraft:yellow_concrete_powder", + "minecraft:lime_concrete_powder", + "minecraft:green_concrete_powder", + "minecraft:cyan_concrete_powder", + "minecraft:light_blue_concrete_powder", + "minecraft:blue_concrete_powder", + "minecraft:purple_concrete_powder", + "minecraft:magenta_concrete_powder", + "minecraft:pink_concrete_powder" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:white_concrete", + "name" : "minecraft:itemGroup.name.concrete" + }, + "items" : [ + "minecraft:white_concrete", + "minecraft:light_gray_concrete", + "minecraft:gray_concrete", + "minecraft:black_concrete", + "minecraft:brown_concrete", + "minecraft:red_concrete", + "minecraft:orange_concrete", + "minecraft:yellow_concrete", + "minecraft:lime_concrete", + "minecraft:green_concrete", + "minecraft:cyan_concrete", + "minecraft:light_blue_concrete", + "minecraft:blue_concrete", + "minecraft:purple_concrete", + "minecraft:magenta_concrete", + "minecraft:pink_concrete" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:hardened_clay", + "name" : "minecraft:itemGroup.name.stainedClay" + }, + "items" : [ + "minecraft:hardened_clay", + "minecraft:white_terracotta", + "minecraft:light_gray_terracotta", + "minecraft:gray_terracotta", + "minecraft:black_terracotta", + "minecraft:brown_terracotta", + "minecraft:red_terracotta", + "minecraft:orange_terracotta", + "minecraft:yellow_terracotta", + "minecraft:lime_terracotta", + "minecraft:green_terracotta", + "minecraft:cyan_terracotta", + "minecraft:light_blue_terracotta", + "minecraft:blue_terracotta", + "minecraft:purple_terracotta", + "minecraft:magenta_terracotta", + "minecraft:pink_terracotta" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:white_glazed_terracotta", + "name" : "minecraft:itemGroup.name.glazedTerracotta" + }, + "items" : [ + "minecraft:white_glazed_terracotta", + "minecraft:silver_glazed_terracotta", + "minecraft:gray_glazed_terracotta", + "minecraft:black_glazed_terracotta", + "minecraft:brown_glazed_terracotta", + "minecraft:red_glazed_terracotta", + "minecraft:orange_glazed_terracotta", + "minecraft:yellow_glazed_terracotta", + "minecraft:lime_glazed_terracotta", + "minecraft:green_glazed_terracotta", + "minecraft:cyan_glazed_terracotta", + "minecraft:light_blue_glazed_terracotta", + "minecraft:blue_glazed_terracotta", + "minecraft:purple_glazed_terracotta", + "minecraft:magenta_glazed_terracotta", + "minecraft:pink_glazed_terracotta" + ] + }, + { + "items" : [ + "minecraft:purpur_block", + "minecraft:purpur_pillar", + "minecraft:packed_mud", + "minecraft:mud_bricks" + ] + } + ] + }, + { + "category_name" : "nature", + "groups" : [ + { + "items" : [ + "minecraft:nether_wart_block", + "minecraft:warped_wart_block", + "minecraft:shroomlight", + "minecraft:crimson_nylium", + "minecraft:warped_nylium", + "minecraft:netherrack", + "minecraft:soul_soil", + "minecraft:grass_block", + "minecraft:podzol", + "minecraft:mycelium", + "minecraft:grass_path", + "minecraft:dirt", + "minecraft:coarse_dirt", + "minecraft:dirt_with_roots", + "minecraft:farmland", + "minecraft:mud", + "minecraft:clay" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:iron_ore", + "name" : "minecraft:itemGroup.name.ore" + }, + "items" : [ + "minecraft:iron_ore", + "minecraft:gold_ore", + "minecraft:diamond_ore", + "minecraft:lapis_ore", + "minecraft:redstone_ore", + "minecraft:coal_ore", + "minecraft:copper_ore", + "minecraft:emerald_ore", + "minecraft:quartz_ore", + "minecraft:nether_gold_ore", + "minecraft:ancient_debris", + "minecraft:deepslate_iron_ore", + "minecraft:deepslate_gold_ore", + "minecraft:deepslate_diamond_ore", + "minecraft:deepslate_lapis_ore", + "minecraft:deepslate_redstone_ore", + "minecraft:deepslate_emerald_ore", + "minecraft:deepslate_coal_ore", + "minecraft:deepslate_copper_ore" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:stone", + "name" : "minecraft:itemGroup.name.stone" + }, + "items" : [ + "minecraft:stone", + "minecraft:granite", + "minecraft:diorite", + "minecraft:andesite", + "minecraft:blackstone", + "minecraft:deepslate", + "minecraft:tuff", + "minecraft:basalt", + "minecraft:polished_granite", + "minecraft:polished_diorite", + "minecraft:polished_andesite", + "minecraft:polished_blackstone", + "minecraft:polished_deepslate", + "minecraft:polished_tuff", + "minecraft:polished_basalt", + "minecraft:smooth_basalt" + ] + }, + { + "items" : [ + "minecraft:gravel", + "minecraft:sand", + "minecraft:red_sand", + "minecraft:cactus" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_log", + "name" : "minecraft:itemGroup.name.log" + }, + "items" : [ + "minecraft:oak_log", + "minecraft:stripped_oak_log", + "minecraft:spruce_log", + "minecraft:stripped_spruce_log", + "minecraft:birch_log", + "minecraft:stripped_birch_log", + "minecraft:jungle_log", + "minecraft:stripped_jungle_log", + "minecraft:acacia_log", + "minecraft:stripped_acacia_log", + "minecraft:dark_oak_log", + "minecraft:stripped_dark_oak_log", + "minecraft:mangrove_log", + "minecraft:stripped_mangrove_log", + "minecraft:cherry_log", + "minecraft:stripped_cherry_log", + "minecraft:pale_oak_log", + "minecraft:stripped_pale_oak_log", + "minecraft:crimson_stem", + "minecraft:stripped_crimson_stem", + "minecraft:warped_stem", + "minecraft:stripped_warped_stem" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_wood", + "name" : "minecraft:itemGroup.name.wood" + }, + "items" : [ + "minecraft:oak_wood", + "minecraft:stripped_oak_wood", + "minecraft:spruce_wood", + "minecraft:stripped_spruce_wood", + "minecraft:birch_wood", + "minecraft:stripped_birch_wood", + "minecraft:jungle_wood", + "minecraft:stripped_jungle_wood", + "minecraft:acacia_wood", + "minecraft:stripped_acacia_wood", + "minecraft:dark_oak_wood", + "minecraft:stripped_dark_oak_wood", + "minecraft:mangrove_wood", + "minecraft:stripped_mangrove_wood", + "minecraft:cherry_wood", + "minecraft:stripped_cherry_wood", + "minecraft:pale_oak_wood", + "minecraft:stripped_pale_oak_wood", + "minecraft:crimson_hyphae", + "minecraft:stripped_crimson_hyphae", + "minecraft:warped_hyphae", + "minecraft:stripped_warped_hyphae", + "minecraft:bamboo_block", + "minecraft:stripped_bamboo_block" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_leaves", + "name" : "minecraft:itemGroup.name.leaves" + }, + "items" : [ + "minecraft:oak_leaves", + "minecraft:spruce_leaves", + "minecraft:birch_leaves", + "minecraft:jungle_leaves", + "minecraft:acacia_leaves", + "minecraft:dark_oak_leaves", + "minecraft:mangrove_leaves", + "minecraft:cherry_leaves", + "minecraft:pale_oak_leaves", + "minecraft:azalea_leaves", + "minecraft:azalea_leaves_flowered" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_sapling", + "name" : "minecraft:itemGroup.name.sapling" + }, + "items" : [ + "minecraft:oak_sapling", + "minecraft:spruce_sapling", + "minecraft:birch_sapling", + "minecraft:jungle_sapling", + "minecraft:acacia_sapling", + "minecraft:dark_oak_sapling", + "minecraft:mangrove_propagule", + "minecraft:cherry_sapling", + "minecraft:pale_oak_sapling" + ] + }, + { + "items" : [ "minecraft:bee_nest" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wheat_seeds", + "name" : "minecraft:itemGroup.name.seed" + }, + "items" : [ + "minecraft:wheat_seeds", + "minecraft:pumpkin_seeds", + "minecraft:melon_seeds", + "minecraft:beetroot_seeds", + "minecraft:torchflower_seeds", + "minecraft:pitcher_pod" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wheat", + "name" : "minecraft:itemGroup.name.crop" + }, + "items" : [ + "minecraft:wheat", + "minecraft:beetroot", + "minecraft:potato", + "minecraft:poisonous_potato", + "minecraft:carrot", + "minecraft:golden_carrot", + "minecraft:apple", + "minecraft:golden_apple", + "minecraft:enchanted_golden_apple", + "minecraft:melon_block", + "minecraft:melon_slice", + "minecraft:glistering_melon_slice", + "minecraft:sweet_berries", + "minecraft:glow_berries", + "minecraft:pumpkin" + ] + }, + { + "items" : [ + "minecraft:carved_pumpkin", + "minecraft:lit_pumpkin", + "minecraft:honeycomb", + "minecraft:resin_clump" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:fern", + "name" : "minecraft:itemGroup.name.grass" + }, + "items" : [ + "minecraft:fern", + "minecraft:large_fern", + "minecraft:short_grass", + "minecraft:tall_grass", + "minecraft:nether_sprouts" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:fire_coral", + "name" : "minecraft:itemGroup.name.coral_decorations" + }, + "items" : [ + "minecraft:fire_coral", + "minecraft:brain_coral", + "minecraft:bubble_coral", + "minecraft:tube_coral", + "minecraft:horn_coral", + "minecraft:dead_fire_coral", + "minecraft:dead_brain_coral", + "minecraft:dead_bubble_coral", + "minecraft:dead_tube_coral", + "minecraft:dead_horn_coral", + "minecraft:fire_coral_fan", + "minecraft:brain_coral_fan", + "minecraft:bubble_coral_fan", + "minecraft:tube_coral_fan", + "minecraft:horn_coral_fan", + "minecraft:dead_fire_coral_fan", + "minecraft:dead_brain_coral_fan", + "minecraft:dead_bubble_coral_fan", + "minecraft:dead_tube_coral_fan", + "minecraft:dead_horn_coral_fan" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:dandelion", + "name" : "minecraft:itemGroup.name.flower" + }, + "items" : [ + "minecraft:crimson_roots", + "minecraft:warped_roots", + "minecraft:dandelion", + "minecraft:poppy", + "minecraft:blue_orchid", + "minecraft:allium", + "minecraft:azure_bluet", + "minecraft:red_tulip", + "minecraft:orange_tulip", + "minecraft:white_tulip", + "minecraft:pink_tulip", + "minecraft:oxeye_daisy", + "minecraft:cornflower", + "minecraft:lily_of_the_valley", + "minecraft:sunflower", + "minecraft:lilac", + "minecraft:rose_bush", + "minecraft:peony", + "minecraft:pitcher_plant", + "minecraft:pink_petals", + "minecraft:wither_rose", + "minecraft:torchflower", + "minecraft:closed_eyeblossom", + "minecraft:open_eyeblossom" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:yellow_dye", + "name" : "minecraft:itemGroup.name.dye" + }, + "items" : [ + "minecraft:white_dye", + "minecraft:light_gray_dye", + "minecraft:gray_dye", + "minecraft:black_dye", + "minecraft:brown_dye", + "minecraft:red_dye", + "minecraft:orange_dye", + "minecraft:yellow_dye", + "minecraft:lime_dye", + "minecraft:green_dye", + "minecraft:cyan_dye", + "minecraft:light_blue_dye", + "minecraft:blue_dye", + "minecraft:purple_dye", + "minecraft:magenta_dye", + "minecraft:pink_dye" + ] + }, + { + "items" : [ + "minecraft:ink_sac", + "minecraft:glow_ink_sac", + "minecraft:cocoa_beans", + "minecraft:lapis_lazuli", + "minecraft:bone_meal", + "minecraft:vine", + "minecraft:weeping_vines", + "minecraft:twisting_vines", + "minecraft:waterlily", + "minecraft:seagrass", + "minecraft:kelp", + "minecraft:deadbush", + "minecraft:bamboo", + "minecraft:snow", + "minecraft:ice", + "minecraft:packed_ice", + "minecraft:blue_ice", + "minecraft:snow_layer", + "minecraft:pointed_dripstone", + "minecraft:dripstone_block", + "minecraft:moss_carpet", + "minecraft:moss_block", + "minecraft:pale_moss_carpet", + "minecraft:pale_moss_block", + "minecraft:pale_hanging_moss", + "minecraft:hanging_roots", + "minecraft:mangrove_roots", + "minecraft:muddy_mangrove_roots", + "minecraft:big_dripleaf", + "minecraft:small_dripleaf_block", + "minecraft:spore_blossom", + "minecraft:azalea", + "minecraft:flowering_azalea", + "minecraft:glow_lichen", + "minecraft:amethyst_block", + "minecraft:budding_amethyst", + "minecraft:amethyst_cluster", + "minecraft:large_amethyst_bud", + "minecraft:medium_amethyst_bud", + "minecraft:small_amethyst_bud", + "minecraft:calcite" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:chicken", + "name" : "minecraft:itemGroup.name.rawFood" + }, + "items" : [ + "minecraft:chicken", + "minecraft:porkchop", + "minecraft:beef", + "minecraft:mutton", + "minecraft:rabbit", + "minecraft:cod", + "minecraft:salmon", + "minecraft:tropical_fish", + "minecraft:pufferfish" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:brown_mushroom", + "name" : "minecraft:itemGroup.name.mushroom" + }, + "items" : [ + "minecraft:brown_mushroom", + "minecraft:red_mushroom", + "minecraft:crimson_fungus", + "minecraft:warped_fungus", + "minecraft:brown_mushroom_block:14", + "minecraft:red_mushroom_block:14", + "minecraft:mushroom_stem" + ] + }, + { + "items" : [ + "minecraft:egg", + "minecraft:sugar_cane", + "minecraft:sugar", + "minecraft:rotten_flesh", + "minecraft:bone", + "minecraft:web", + "minecraft:spider_eye", + "minecraft:mob_spawner", + "minecraft:trial_spawner", + "minecraft:vault", + "minecraft:creaking_heart", + "minecraft:end_portal_frame" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:infested_stone", + "name" : "minecraft:itemGroup.name.monsterStoneEgg" + }, + "items" : [ + "minecraft:infested_stone", + "minecraft:infested_cobblestone", + "minecraft:infested_stone_bricks", + "minecraft:infested_mossy_stone_bricks", + "minecraft:infested_cracked_stone_bricks", + "minecraft:infested_chiseled_stone_bricks", + "minecraft:infested_deepslate" + ] + }, + { + "items" : [ + "minecraft:dragon_egg", + "minecraft:turtle_egg", + "minecraft:sniffer_egg", + "minecraft:frog_spawn", + "minecraft:pearlescent_froglight", + "minecraft:verdant_froglight", + "minecraft:ochre_froglight" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:chicken_spawn_egg", + "name" : "minecraft:itemGroup.name.mobEgg" + }, + "items" : [ + "minecraft:chicken_spawn_egg", + "minecraft:bee_spawn_egg", + "minecraft:cow_spawn_egg", + "minecraft:pig_spawn_egg", + "minecraft:sheep_spawn_egg", + "minecraft:wolf_spawn_egg", + "minecraft:polar_bear_spawn_egg", + "minecraft:ocelot_spawn_egg", + "minecraft:cat_spawn_egg", + "minecraft:mooshroom_spawn_egg", + "minecraft:bat_spawn_egg", + "minecraft:parrot_spawn_egg", + "minecraft:rabbit_spawn_egg", + "minecraft:llama_spawn_egg", + "minecraft:horse_spawn_egg", + "minecraft:donkey_spawn_egg", + "minecraft:mule_spawn_egg", + "minecraft:skeleton_horse_spawn_egg", + "minecraft:zombie_horse_spawn_egg", + "minecraft:tropical_fish_spawn_egg", + "minecraft:cod_spawn_egg", + "minecraft:pufferfish_spawn_egg", + "minecraft:salmon_spawn_egg", + "minecraft:dolphin_spawn_egg", + "minecraft:turtle_spawn_egg", + "minecraft:panda_spawn_egg", + "minecraft:fox_spawn_egg", + "minecraft:creeper_spawn_egg", + "minecraft:enderman_spawn_egg", + "minecraft:silverfish_spawn_egg", + "minecraft:skeleton_spawn_egg", + "minecraft:wither_skeleton_spawn_egg", + "minecraft:stray_spawn_egg", + "minecraft:slime_spawn_egg", + "minecraft:spider_spawn_egg", + "minecraft:zombie_spawn_egg", + "minecraft:zombie_pigman_spawn_egg", + "minecraft:husk_spawn_egg", + "minecraft:drowned_spawn_egg", + "minecraft:squid_spawn_egg", + "minecraft:glow_squid_spawn_egg", + "minecraft:cave_spider_spawn_egg", + "minecraft:witch_spawn_egg", + "minecraft:guardian_spawn_egg", + "minecraft:elder_guardian_spawn_egg", + "minecraft:endermite_spawn_egg", + "minecraft:magma_cube_spawn_egg", + "minecraft:strider_spawn_egg", + "minecraft:hoglin_spawn_egg", + "minecraft:piglin_spawn_egg", + "minecraft:zoglin_spawn_egg", + "minecraft:piglin_brute_spawn_egg", + "minecraft:goat_spawn_egg", + "minecraft:axolotl_spawn_egg", + "minecraft:warden_spawn_egg", + "minecraft:allay_spawn_egg", + "minecraft:frog_spawn_egg", + "minecraft:tadpole_spawn_egg", + "minecraft:trader_llama_spawn_egg", + "minecraft:camel_spawn_egg", + "minecraft:ghast_spawn_egg", + "minecraft:blaze_spawn_egg", + "minecraft:shulker_spawn_egg", + "minecraft:vindicator_spawn_egg", + "minecraft:evoker_spawn_egg", + "minecraft:vex_spawn_egg", + "minecraft:villager_spawn_egg", + "minecraft:wandering_trader_spawn_egg", + "minecraft:zombie_villager_spawn_egg", + "minecraft:phantom_spawn_egg", + "minecraft:pillager_spawn_egg", + "minecraft:ravager_spawn_egg", + "minecraft:iron_golem_spawn_egg", + "minecraft:snow_golem_spawn_egg", + "minecraft:sniffer_spawn_egg", + "minecraft:breeze_spawn_egg", + "minecraft:armadillo_spawn_egg", + "minecraft:bogged_spawn_egg", + "minecraft:creaking_spawn_egg" + ] + }, + { + "items" : [ + "minecraft:obsidian", + "minecraft:crying_obsidian", + "minecraft:bedrock", + "minecraft:soul_sand", + "minecraft:magma", + "minecraft:nether_wart", + "minecraft:end_stone", + "minecraft:chorus_flower", + "minecraft:chorus_plant", + "minecraft:chorus_fruit", + "minecraft:popped_chorus_fruit", + "minecraft:sponge", + "minecraft:wet_sponge" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:tube_coral_block", + "name" : "minecraft:itemGroup.name.coral" + }, + "items" : [ + "minecraft:tube_coral_block", + "minecraft:brain_coral_block", + "minecraft:bubble_coral_block", + "minecraft:fire_coral_block", + "minecraft:horn_coral_block", + "minecraft:dead_tube_coral_block", + "minecraft:dead_brain_coral_block", + "minecraft:dead_bubble_coral_block", + "minecraft:dead_fire_coral_block", + "minecraft:dead_horn_coral_block" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:sculk", + "name" : "minecraft:itemGroup.name.sculk" + }, + "items" : [ + "minecraft:sculk", + "minecraft:sculk_vein", + "minecraft:sculk_catalyst", + "minecraft:sculk_shrieker", + "minecraft:sculk_sensor", + "minecraft:calibrated_sculk_sensor" + ] + }, + { + "items" : [ "minecraft:reinforced_deepslate" ] + } + ] + }, + { + "category_name" : "equipment", + "groups" : [ + { + "group_identifier" : { + "icon" : "minecraft:leather_helmet", + "name" : "minecraft:itemGroup.name.helmet" + }, + "items" : [ + "minecraft:leather_helmet", + "minecraft:chainmail_helmet", + "minecraft:iron_helmet", + "minecraft:golden_helmet", + "minecraft:diamond_helmet", + "minecraft:netherite_helmet" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:leather_chestplate", + "name" : "minecraft:itemGroup.name.chestplate" + }, + "items" : [ + "minecraft:leather_chestplate", + "minecraft:chainmail_chestplate", + "minecraft:iron_chestplate", + "minecraft:golden_chestplate", + "minecraft:diamond_chestplate", + "minecraft:netherite_chestplate" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:leather_leggings", + "name" : "minecraft:itemGroup.name.leggings" + }, + "items" : [ + "minecraft:leather_leggings", + "minecraft:chainmail_leggings", + "minecraft:iron_leggings", + "minecraft:golden_leggings", + "minecraft:diamond_leggings", + "minecraft:netherite_leggings" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:leather_boots", + "name" : "minecraft:itemGroup.name.boots" + }, + "items" : [ + "minecraft:leather_boots", + "minecraft:chainmail_boots", + "minecraft:iron_boots", + "minecraft:golden_boots", + "minecraft:diamond_boots", + "minecraft:netherite_boots" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_sword", + "name" : "minecraft:itemGroup.name.sword" + }, + "items" : [ + "minecraft:wooden_sword", + "minecraft:stone_sword", + "minecraft:iron_sword", + "minecraft:golden_sword", + "minecraft:diamond_sword", + "minecraft:netherite_sword" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_axe", + "name" : "minecraft:itemGroup.name.axe" + }, + "items" : [ + "minecraft:wooden_axe", + "minecraft:stone_axe", + "minecraft:iron_axe", + "minecraft:golden_axe", + "minecraft:diamond_axe", + "minecraft:netherite_axe" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_pickaxe", + "name" : "minecraft:itemGroup.name.pickaxe" + }, + "items" : [ + "minecraft:wooden_pickaxe", + "minecraft:stone_pickaxe", + "minecraft:iron_pickaxe", + "minecraft:golden_pickaxe", + "minecraft:diamond_pickaxe", + "minecraft:netherite_pickaxe" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_shovel", + "name" : "minecraft:itemGroup.name.shovel" + }, + "items" : [ + "minecraft:wooden_shovel", + "minecraft:stone_shovel", + "minecraft:iron_shovel", + "minecraft:golden_shovel", + "minecraft:diamond_shovel", + "minecraft:netherite_shovel" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_hoe", + "name" : "minecraft:itemGroup.name.hoe" + }, + "items" : [ + "minecraft:wooden_hoe", + "minecraft:stone_hoe", + "minecraft:iron_hoe", + "minecraft:golden_hoe", + "minecraft:diamond_hoe", + "minecraft:netherite_hoe" + ] + }, + { + "items" : [ "minecraft:bow", "minecraft:crossbow", "minecraft:mace" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:arrow", + "name" : "minecraft:itemGroup.name.arrow" + }, + "items" : [ + "minecraft:arrow", + "minecraft:arrow:6", + "minecraft:arrow:7", + "minecraft:arrow:8", + "minecraft:arrow:9", + "minecraft:arrow:10", + "minecraft:arrow:11", + "minecraft:arrow:12", + "minecraft:arrow:13", + "minecraft:arrow:14", + "minecraft:arrow:15", + "minecraft:arrow:16", + "minecraft:arrow:17", + "minecraft:arrow:18", + "minecraft:arrow:19", + "minecraft:arrow:20", + "minecraft:arrow:21", + "minecraft:arrow:22", + "minecraft:arrow:23", + "minecraft:arrow:24", + "minecraft:arrow:25", + "minecraft:arrow:26", + "minecraft:arrow:27", + "minecraft:arrow:28", + "minecraft:arrow:29", + "minecraft:arrow:30", + "minecraft:arrow:31", + "minecraft:arrow:32", + "minecraft:arrow:33", + "minecraft:arrow:34", + "minecraft:arrow:35", + "minecraft:arrow:36", + "minecraft:arrow:37", + "minecraft:arrow:38", + "minecraft:arrow:39", + "minecraft:arrow:40", + "minecraft:arrow:41", + "minecraft:arrow:42", + "minecraft:arrow:43", + "minecraft:arrow:44", + "minecraft:arrow:45", + "minecraft:arrow:46", + "minecraft:arrow:47" + ] + }, + { + "items" : [ "minecraft:shield" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:cooked_chicken", + "name" : "minecraft:itemGroup.name.cookedFood" + }, + "items" : [ + "minecraft:cooked_chicken", + "minecraft:cooked_porkchop", + "minecraft:cooked_beef", + "minecraft:cooked_mutton", + "minecraft:cooked_rabbit", + "minecraft:cooked_cod", + "minecraft:cooked_salmon" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:bread", + "name" : "minecraft:itemGroup.name.miscFood" + }, + "items" : [ + "minecraft:bread", + "minecraft:mushroom_stew", + "minecraft:beetroot_soup", + "minecraft:rabbit_stew", + "minecraft:baked_potato", + "minecraft:cookie", + "minecraft:pumpkin_pie", + "minecraft:cake", + "minecraft:dried_kelp" + ] + }, + { + "items" : [ + "minecraft:fishing_rod", + "minecraft:carrot_on_a_stick", + "minecraft:warped_fungus_on_a_stick", + "minecraft:snowball", + "minecraft:wind_charge", + "minecraft:shears", + "minecraft:flint_and_steel", + "minecraft:lead", + "minecraft:clock", + "minecraft:compass", + "minecraft:recovery_compass" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:goat_horn", + "name" : "minecraft:itemGroup.name.goatHorn" + }, + "items" : [ + "minecraft:goat_horn", + "minecraft:goat_horn:1", + "minecraft:goat_horn:2", + "minecraft:goat_horn:3", + "minecraft:goat_horn:4", + "minecraft:goat_horn:5", + "minecraft:goat_horn:6", + "minecraft:goat_horn:7" + ] + }, + { + "items" : [ "minecraft:empty_map", "minecraft:empty_map:2", "minecraft:saddle" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:bundle", + "name" : "minecraft:itemGroup.name.bundles" + }, + "items" : [ + "minecraft:bundle", + "minecraft:white_bundle", + "minecraft:light_gray_bundle", + "minecraft:gray_bundle", + "minecraft:black_bundle", + "minecraft:brown_bundle", + "minecraft:red_bundle", + "minecraft:orange_bundle", + "minecraft:yellow_bundle", + "minecraft:lime_bundle", + "minecraft:green_bundle", + "minecraft:cyan_bundle", + "minecraft:light_blue_bundle", + "minecraft:blue_bundle", + "minecraft:purple_bundle", + "minecraft:magenta_bundle", + "minecraft:pink_bundle" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:leather_horse_armor", + "name" : "minecraft:itemGroup.name.horseArmor" + }, + "items" : [ + "minecraft:leather_horse_armor", + "minecraft:iron_horse_armor", + "minecraft:golden_horse_armor", + "minecraft:diamond_horse_armor" + ] + }, + { + "items" : [ + "minecraft:wolf_armor", + "minecraft:trident", + "minecraft:turtle_helmet", + "minecraft:elytra", + "minecraft:totem_of_undying", + "minecraft:glass_bottle", + "minecraft:experience_bottle" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:potion", + "name" : "minecraft:itemGroup.name.potion" + }, + "items" : [ + "minecraft:potion", + "minecraft:potion:1", + "minecraft:potion:2", + "minecraft:potion:3", + "minecraft:potion:4", + "minecraft:potion:5", + "minecraft:potion:6", + "minecraft:potion:7", + "minecraft:potion:8", + "minecraft:potion:9", + "minecraft:potion:10", + "minecraft:potion:11", + "minecraft:potion:12", + "minecraft:potion:13", + "minecraft:potion:14", + "minecraft:potion:15", + "minecraft:potion:16", + "minecraft:potion:17", + "minecraft:potion:18", + "minecraft:potion:19", + "minecraft:potion:20", + "minecraft:potion:21", + "minecraft:potion:22", + "minecraft:potion:23", + "minecraft:potion:24", + "minecraft:potion:25", + "minecraft:potion:26", + "minecraft:potion:27", + "minecraft:potion:28", + "minecraft:potion:29", + "minecraft:potion:30", + "minecraft:potion:31", + "minecraft:potion:32", + "minecraft:potion:33", + "minecraft:potion:34", + "minecraft:potion:35", + "minecraft:potion:36", + "minecraft:potion:37", + "minecraft:potion:38", + "minecraft:potion:39", + "minecraft:potion:40", + "minecraft:potion:41", + "minecraft:potion:42", + "minecraft:potion:43", + "minecraft:potion:44", + "minecraft:potion:45", + "minecraft:potion:46" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:splash_potion", + "name" : "minecraft:itemGroup.name.splashPotion" + }, + "items" : [ + "minecraft:splash_potion", + "minecraft:splash_potion:1", + "minecraft:splash_potion:2", + "minecraft:splash_potion:3", + "minecraft:splash_potion:4", + "minecraft:splash_potion:5", + "minecraft:splash_potion:6", + "minecraft:splash_potion:7", + "minecraft:splash_potion:8", + "minecraft:splash_potion:9", + "minecraft:splash_potion:10", + "minecraft:splash_potion:11", + "minecraft:splash_potion:12", + "minecraft:splash_potion:13", + "minecraft:splash_potion:14", + "minecraft:splash_potion:15", + "minecraft:splash_potion:16", + "minecraft:splash_potion:17", + "minecraft:splash_potion:18", + "minecraft:splash_potion:19", + "minecraft:splash_potion:20", + "minecraft:splash_potion:21", + "minecraft:splash_potion:22", + "minecraft:splash_potion:23", + "minecraft:splash_potion:24", + "minecraft:splash_potion:25", + "minecraft:splash_potion:26", + "minecraft:splash_potion:27", + "minecraft:splash_potion:28", + "minecraft:splash_potion:29", + "minecraft:splash_potion:30", + "minecraft:splash_potion:31", + "minecraft:splash_potion:32", + "minecraft:splash_potion:33", + "minecraft:splash_potion:34", + "minecraft:splash_potion:35", + "minecraft:splash_potion:36", + "minecraft:splash_potion:37", + "minecraft:splash_potion:38", + "minecraft:splash_potion:39", + "minecraft:splash_potion:40", + "minecraft:splash_potion:41", + "minecraft:splash_potion:42", + "minecraft:splash_potion:43", + "minecraft:splash_potion:44", + "minecraft:splash_potion:45", + "minecraft:splash_potion:46" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:lingering_potion", + "name" : "minecraft:itemGroup.name.lingeringPotion" + }, + "items" : [ + "minecraft:lingering_potion", + "minecraft:lingering_potion:1", + "minecraft:lingering_potion:2", + "minecraft:lingering_potion:3", + "minecraft:lingering_potion:4", + "minecraft:lingering_potion:5", + "minecraft:lingering_potion:6", + "minecraft:lingering_potion:7", + "minecraft:lingering_potion:8", + "minecraft:lingering_potion:9", + "minecraft:lingering_potion:10", + "minecraft:lingering_potion:11", + "minecraft:lingering_potion:12", + "minecraft:lingering_potion:13", + "minecraft:lingering_potion:14", + "minecraft:lingering_potion:15", + "minecraft:lingering_potion:16", + "minecraft:lingering_potion:17", + "minecraft:lingering_potion:18", + "minecraft:lingering_potion:19", + "minecraft:lingering_potion:20", + "minecraft:lingering_potion:21", + "minecraft:lingering_potion:22", + "minecraft:lingering_potion:23", + "minecraft:lingering_potion:24", + "minecraft:lingering_potion:25", + "minecraft:lingering_potion:26", + "minecraft:lingering_potion:27", + "minecraft:lingering_potion:28", + "minecraft:lingering_potion:29", + "minecraft:lingering_potion:30", + "minecraft:lingering_potion:31", + "minecraft:lingering_potion:32", + "minecraft:lingering_potion:33", + "minecraft:lingering_potion:34", + "minecraft:lingering_potion:35", + "minecraft:lingering_potion:36", + "minecraft:lingering_potion:37", + "minecraft:lingering_potion:38", + "minecraft:lingering_potion:39", + "minecraft:lingering_potion:40", + "minecraft:lingering_potion:41", + "minecraft:lingering_potion:42", + "minecraft:lingering_potion:43", + "minecraft:lingering_potion:44", + "minecraft:lingering_potion:45", + "minecraft:lingering_potion:46" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:ominous_bottle", + "name" : "minecraft:itemGroup.name.ominousBottle" + }, + "items" : [ + "minecraft:ominous_bottle", + "minecraft:ominous_bottle:1", + "minecraft:ominous_bottle:2", + "minecraft:ominous_bottle:3", + "minecraft:ominous_bottle:4" + ] + }, + { + "items" : [ "minecraft:spyglass", "minecraft:brush" ] + } + ] + }, + { + "category_name" : "items", + "groups" : [ + { + "items" : [ "minecraft:stick" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:bed", + "name" : "minecraft:itemGroup.name.bed" + }, + "items" : [ + "minecraft:bed", + "minecraft:bed:8", + "minecraft:bed:7", + "minecraft:bed:15", + "minecraft:bed:12", + "minecraft:bed:14", + "minecraft:bed:1", + "minecraft:bed:4", + "minecraft:bed:5", + "minecraft:bed:13", + "minecraft:bed:9", + "minecraft:bed:3", + "minecraft:bed:11", + "minecraft:bed:10", + "minecraft:bed:2", + "minecraft:bed:6" + ] + }, + { + "items" : [ + "minecraft:torch", + "minecraft:soul_torch", + "minecraft:sea_pickle", + "minecraft:lantern", + "minecraft:soul_lantern" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:candle", + "name" : "minecraft:itemGroup.name.candles" + }, + "items" : [ + "minecraft:candle", + "minecraft:white_candle", + "minecraft:orange_candle", + "minecraft:magenta_candle", + "minecraft:light_blue_candle", + "minecraft:yellow_candle", + "minecraft:lime_candle", + "minecraft:pink_candle", + "minecraft:gray_candle", + "minecraft:light_gray_candle", + "minecraft:cyan_candle", + "minecraft:purple_candle", + "minecraft:blue_candle", + "minecraft:brown_candle", + "minecraft:green_candle", + "minecraft:red_candle", + "minecraft:black_candle" + ] + }, + { + "items" : [ + "minecraft:crafting_table", + "minecraft:cartography_table", + "minecraft:fletching_table", + "minecraft:smithing_table", + "minecraft:beehive", + "minecraft:suspicious_sand", + "minecraft:suspicious_gravel", + "minecraft:campfire", + "minecraft:soul_campfire", + "minecraft:furnace", + "minecraft:blast_furnace", + "minecraft:smoker", + "minecraft:respawn_anchor", + "minecraft:brewing_stand" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:anvil", + "name" : "minecraft:itemGroup.name.anvil" + }, + "items" : [ + "minecraft:anvil", + "minecraft:chipped_anvil", + "minecraft:damaged_anvil" + ] + }, + { + "items" : [ + "minecraft:grindstone", + "minecraft:enchanting_table", + "minecraft:bookshelf", + "minecraft:chiseled_bookshelf", + "minecraft:lectern", + "minecraft:cauldron", + "minecraft:composter" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:chest", + "name" : "minecraft:itemGroup.name.chest" + }, + "items" : [ "minecraft:chest", "minecraft:trapped_chest", "minecraft:ender_chest" ] + }, + { + "items" : [ "minecraft:barrel" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:undyed_shulker_box", + "name" : "minecraft:itemGroup.name.shulkerBox" + }, + "items" : [ + "minecraft:undyed_shulker_box", + "minecraft:white_shulker_box", + "minecraft:light_gray_shulker_box", + "minecraft:gray_shulker_box", + "minecraft:black_shulker_box", + "minecraft:brown_shulker_box", + "minecraft:red_shulker_box", + "minecraft:orange_shulker_box", + "minecraft:yellow_shulker_box", + "minecraft:lime_shulker_box", + "minecraft:green_shulker_box", + "minecraft:cyan_shulker_box", + "minecraft:light_blue_shulker_box", + "minecraft:blue_shulker_box", + "minecraft:purple_shulker_box", + "minecraft:magenta_shulker_box", + "minecraft:pink_shulker_box" + ] + }, + { + "items" : [ "minecraft:armor_stand", "minecraft:noteblock", "minecraft:jukebox" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:music_disc_13", + "name" : "minecraft:itemGroup.name.record" + }, + "items" : [ + "minecraft:music_disc_13", + "minecraft:music_disc_cat", + "minecraft:music_disc_blocks", + "minecraft:music_disc_chirp", + "minecraft:music_disc_far", + "minecraft:music_disc_mall", + "minecraft:music_disc_mellohi", + "minecraft:music_disc_stal", + "minecraft:music_disc_strad", + "minecraft:music_disc_ward", + "minecraft:music_disc_11", + "minecraft:music_disc_wait", + "minecraft:music_disc_otherside", + "minecraft:music_disc_5", + "minecraft:music_disc_pigstep", + "minecraft:music_disc_relic", + "minecraft:music_disc_creator", + "minecraft:music_disc_creator_music_box", + "minecraft:music_disc_precipice" + ] + }, + { + "items" : [ + "minecraft:disc_fragment_5", + "minecraft:glowstone_dust", + "minecraft:glowstone", + "minecraft:redstone_lamp", + "minecraft:sea_lantern" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_sign", + "name" : "minecraft:itemGroup.name.sign" + }, + "items" : [ + "minecraft:oak_sign", + "minecraft:spruce_sign", + "minecraft:birch_sign", + "minecraft:jungle_sign", + "minecraft:acacia_sign", + "minecraft:dark_oak_sign", + "minecraft:mangrove_sign", + "minecraft:cherry_sign", + "minecraft:pale_oak_sign", + "minecraft:bamboo_sign", + "minecraft:crimson_sign", + "minecraft:warped_sign" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_hanging_sign", + "name" : "minecraft:itemGroup.name.hanging_sign" + }, + "items" : [ + "minecraft:oak_hanging_sign", + "minecraft:spruce_hanging_sign", + "minecraft:birch_hanging_sign", + "minecraft:jungle_hanging_sign", + "minecraft:acacia_hanging_sign", + "minecraft:dark_oak_hanging_sign", + "minecraft:mangrove_hanging_sign", + "minecraft:cherry_hanging_sign", + "minecraft:pale_oak_hanging_sign", + "minecraft:bamboo_hanging_sign", + "minecraft:crimson_hanging_sign", + "minecraft:warped_hanging_sign" + ] + }, + { + "items" : [ + "minecraft:painting", + "minecraft:frame", + "minecraft:glow_frame", + "minecraft:honey_bottle", + "minecraft:flower_pot", + "minecraft:bowl", + "minecraft:bucket", + "minecraft:milk_bucket", + "minecraft:water_bucket", + "minecraft:lava_bucket", + "minecraft:cod_bucket", + "minecraft:salmon_bucket", + "minecraft:tropical_fish_bucket", + "minecraft:pufferfish_bucket", + "minecraft:powder_snow_bucket", + "minecraft:axolotl_bucket", + "minecraft:tadpole_bucket" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:creeper_head", + "name" : "minecraft:itemGroup.name.skull" + }, + "items" : [ + "minecraft:player_head", + "minecraft:zombie_head", + "minecraft:creeper_head", + "minecraft:dragon_head", + "minecraft:skeleton_skull", + "minecraft:wither_skeleton_skull", + "minecraft:piglin_head" + ] + }, + { + "items" : [ + "minecraft:beacon", + "minecraft:bell", + "minecraft:conduit", + "minecraft:stonecutter_block", + "minecraft:coal", + "minecraft:charcoal", + "minecraft:diamond", + "minecraft:iron_nugget", + "minecraft:raw_iron", + "minecraft:raw_gold", + "minecraft:raw_copper", + "minecraft:copper_ingot", + "minecraft:iron_ingot", + "minecraft:netherite_scrap", + "minecraft:netherite_ingot", + "minecraft:gold_nugget", + "minecraft:gold_ingot", + "minecraft:emerald", + "minecraft:quartz", + "minecraft:clay_ball", + "minecraft:brick", + "minecraft:netherbrick", + "minecraft:resin_brick", + "minecraft:prismarine_shard", + "minecraft:amethyst_shard", + "minecraft:prismarine_crystals", + "minecraft:nautilus_shell", + "minecraft:heart_of_the_sea", + "minecraft:turtle_scute", + "minecraft:armadillo_scute", + "minecraft:phantom_membrane", + "minecraft:string", + "minecraft:feather", + "minecraft:flint", + "minecraft:gunpowder", + "minecraft:leather", + "minecraft:rabbit_hide", + "minecraft:rabbit_foot", + "minecraft:fire_charge", + "minecraft:blaze_rod", + "minecraft:breeze_rod", + "minecraft:heavy_core", + "minecraft:blaze_powder", + "minecraft:magma_cream", + "minecraft:fermented_spider_eye", + "minecraft:echo_shard", + "minecraft:dragon_breath", + "minecraft:shulker_shell", + "minecraft:ghast_tear", + "minecraft:slime_ball", + "minecraft:ender_pearl", + "minecraft:ender_eye", + "minecraft:nether_star", + "minecraft:end_rod", + "minecraft:lightning_rod", + "minecraft:end_crystal", + "minecraft:paper", + "minecraft:book", + "minecraft:writable_book" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_boat", + "name" : "minecraft:itemGroup.name.boat" + }, + "items" : [ + "minecraft:oak_boat", + "minecraft:spruce_boat", + "minecraft:birch_boat", + "minecraft:jungle_boat", + "minecraft:acacia_boat", + "minecraft:dark_oak_boat", + "minecraft:mangrove_boat", + "minecraft:cherry_boat", + "minecraft:pale_oak_boat", + "minecraft:bamboo_raft" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:oak_chest_boat", + "name" : "minecraft:itemGroup.name.chestboat" + }, + "items" : [ + "minecraft:oak_chest_boat", + "minecraft:spruce_chest_boat", + "minecraft:birch_chest_boat", + "minecraft:jungle_chest_boat", + "minecraft:acacia_chest_boat", + "minecraft:dark_oak_chest_boat", + "minecraft:mangrove_chest_boat", + "minecraft:cherry_chest_boat", + "minecraft:pale_oak_chest_boat", + "minecraft:bamboo_chest_raft" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:rail", + "name" : "minecraft:itemGroup.name.rail" + }, + "items" : [ + "minecraft:rail", + "minecraft:golden_rail", + "minecraft:detector_rail", + "minecraft:activator_rail" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:minecart", + "name" : "minecraft:itemGroup.name.minecart" + }, + "items" : [ + "minecraft:minecart", + "minecraft:chest_minecart", + "minecraft:hopper_minecart", + "minecraft:tnt_minecart" + ] + }, + { + "items" : [ + "minecraft:redstone", + "minecraft:redstone_block", + "minecraft:redstone_torch", + "minecraft:lever" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_button", + "name" : "minecraft:itemGroup.name.buttons" + }, + "items" : [ + "minecraft:wooden_button", + "minecraft:spruce_button", + "minecraft:birch_button", + "minecraft:jungle_button", + "minecraft:acacia_button", + "minecraft:dark_oak_button", + "minecraft:mangrove_button", + "minecraft:cherry_button", + "minecraft:pale_oak_button", + "minecraft:bamboo_button", + "minecraft:stone_button", + "minecraft:crimson_button", + "minecraft:warped_button", + "minecraft:polished_blackstone_button" + ] + }, + { + "items" : [ "minecraft:tripwire_hook" ] + }, + { + "group_identifier" : { + "icon" : "minecraft:wooden_pressure_plate", + "name" : "minecraft:itemGroup.name.pressurePlate" + }, + "items" : [ + "minecraft:wooden_pressure_plate", + "minecraft:spruce_pressure_plate", + "minecraft:birch_pressure_plate", + "minecraft:jungle_pressure_plate", + "minecraft:acacia_pressure_plate", + "minecraft:dark_oak_pressure_plate", + "minecraft:mangrove_pressure_plate", + "minecraft:cherry_pressure_plate", + "minecraft:pale_oak_pressure_plate", + "minecraft:bamboo_pressure_plate", + "minecraft:crimson_pressure_plate", + "minecraft:warped_pressure_plate", + "minecraft:stone_pressure_plate", + "minecraft:light_weighted_pressure_plate", + "minecraft:heavy_weighted_pressure_plate", + "minecraft:polished_blackstone_pressure_plate" + ] + }, + { + "items" : [ + "minecraft:observer", + "minecraft:daylight_detector", + "minecraft:repeater", + "minecraft:comparator", + "minecraft:hopper", + "minecraft:dropper:3", + "minecraft:dispenser:3", + "minecraft:crafter", + "minecraft:piston:1", + "minecraft:sticky_piston:1", + "minecraft:tnt", + "minecraft:name_tag", + "minecraft:loom" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:creeper_banner_pattern", + "name" : "minecraft:itemGroup.name.banner_pattern" + }, + "items" : [ + "minecraft:creeper_banner_pattern", + "minecraft:skull_banner_pattern", + "minecraft:flower_banner_pattern", + "minecraft:mojang_banner_pattern", + "minecraft:field_masoned_banner_pattern", + "minecraft:bordure_indented_banner_pattern", + "minecraft:piglin_banner_pattern", + "minecraft:globe_banner_pattern", + "minecraft:flow_banner_pattern", + "minecraft:guster_banner_pattern" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:archer_pottery_sherd", + "name" : "minecraft:itemGroup.name.potterySherds" + }, + "items" : [ + "minecraft:angler_pottery_sherd", + "minecraft:archer_pottery_sherd", + "minecraft:arms_up_pottery_sherd", + "minecraft:blade_pottery_sherd", + "minecraft:brewer_pottery_sherd", + "minecraft:burn_pottery_sherd", + "minecraft:danger_pottery_sherd", + "minecraft:explorer_pottery_sherd", + "minecraft:flow_pottery_sherd", + "minecraft:friend_pottery_sherd", + "minecraft:guster_pottery_sherd", + "minecraft:heart_pottery_sherd", + "minecraft:heartbreak_pottery_sherd", + "minecraft:howl_pottery_sherd", + "minecraft:miner_pottery_sherd", + "minecraft:mourner_pottery_sherd", + "minecraft:plenty_pottery_sherd", + "minecraft:prize_pottery_sherd", + "minecraft:scrape_pottery_sherd", + "minecraft:sheaf_pottery_sherd", + "minecraft:shelter_pottery_sherd", + "minecraft:skull_pottery_sherd", + "minecraft:snort_pottery_sherd" + ] + }, + { + "group_identifier" : { + "icon" : "minecraft:netherite_upgrade_smithing_template", + "name" : "minecraft:itemGroup.name.smithing_templates" + }, + "items" : [ + "minecraft:netherite_upgrade_smithing_template", + "minecraft:sentry_armor_trim_smithing_template", + "minecraft:vex_armor_trim_smithing_template", + "minecraft:wild_armor_trim_smithing_template", + "minecraft:coast_armor_trim_smithing_template", + "minecraft:dune_armor_trim_smithing_template", + "minecraft:wayfinder_armor_trim_smithing_template", + "minecraft:shaper_armor_trim_smithing_template", + "minecraft:raiser_armor_trim_smithing_template", + "minecraft:host_armor_trim_smithing_template", + "minecraft:ward_armor_trim_smithing_template", + "minecraft:silence_armor_trim_smithing_template", + "minecraft:tide_armor_trim_smithing_template", + "minecraft:snout_armor_trim_smithing_template", + "minecraft:rib_armor_trim_smithing_template", + "minecraft:eye_armor_trim_smithing_template", + "minecraft:spire_armor_trim_smithing_template", + "minecraft:flow_armor_trim_smithing_template", + "minecraft:bolt_armor_trim_smithing_template" + ] + }, + { + "items" : [ + "minecraft:chain", + "minecraft:target", + "minecraft:decorated_pot", + "minecraft:trial_key", + "minecraft:ominous_trial_key" + ] + } + ] + } + ] + } +} diff --git a/behavior_pack/items/apple.json b/behavior_pack/items/apple.json new file mode 100644 index 0000000..19c8065 --- /dev/null +++ b/behavior_pack/items/apple.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.50", + "minecraft:item": { + "description": { + "identifier": "minecraft:apple", + "category": "nature" + }, + + "components": { + "minecraft:icon": { + "texture": "apple" + }, + "minecraft:display_name":{ + "value": "item.apple.name" + }, + "minecraft:tags": { + "tags": [ + "minecraft:is_food" + ] + }, + "minecraft:use_animation": "eat", + "minecraft:use_modifiers": { + "use_duration": 1.6, + "movement_modifier": 0.35 + }, + "minecraft:food": { + "nutrition": 4, + "saturation_modifier": 0.3 + } + } + } +} diff --git a/behavior_pack/items/appleEnchanted.json b/behavior_pack/items/appleEnchanted.json new file mode 100644 index 0000000..6108a5d --- /dev/null +++ b/behavior_pack/items/appleEnchanted.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:appleEnchanted" + }, + + "components": { + "minecraft:hand_equipped": false, + "minecraft:stacked_by_data": true, + "minecraft:use_duration": 32, + "minecraft:foil": true, + "minecraft:food": { + "nutrition": 4, + "saturation_modifier": "supernatural", + "can_always_eat": true, + "effects": [ + { + "name": "regeneration", + "chance": 1.0, + "duration": 30, + "amplifier": 1 + }, + { + "name": "absorption", + "chance": 1.0, + "duration": 120, // 2 * 60 + "amplifier": 3 + }, + { + "name": "resistance", // damage resistance + "chance": 1.0, + "duration": 300, + "amplifier": 0 + }, + { + "name": "fire_resistance", + "chance": 1.0, + "duration": 300, + "amplifier": 0 + } + ] + } + } + } +} diff --git a/behavior_pack/items/baked_potato.json b/behavior_pack/items/baked_potato.json new file mode 100644 index 0000000..3e683a0 --- /dev/null +++ b/behavior_pack/items/baked_potato.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:baked_potato" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 5, + "saturation_modifier": "normal" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/beef.json b/behavior_pack/items/beef.json new file mode 100644 index 0000000..f6bcbf3 --- /dev/null +++ b/behavior_pack/items/beef.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beef" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 3, + "saturation_modifier": "low" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/beetroot.json b/behavior_pack/items/beetroot.json new file mode 100644 index 0000000..7c79b5f --- /dev/null +++ b/behavior_pack/items/beetroot.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beetroot" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 1, + "saturation_modifier": "normal" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/beetroot_seeds.json b/behavior_pack/items/beetroot_seeds.json new file mode 100644 index 0000000..f61e06d --- /dev/null +++ b/behavior_pack/items/beetroot_seeds.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beetroot_seeds" + }, + + "components": { + "minecraft:seed": { + "crop_result": "beetroot" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/beetroot_soup.json b/behavior_pack/items/beetroot_soup.json new file mode 100644 index 0000000..f6e5da3 --- /dev/null +++ b/behavior_pack/items/beetroot_soup.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beetroot_soup" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_stack_size": 1, + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "normal", + "using_converts_to": "bowl" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/black_bundle.json b/behavior_pack/items/black_bundle.json new file mode 100644 index 0000000..36d6e72 --- /dev/null +++ b/behavior_pack/items/black_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:black_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_black" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/blue_bundle.json b/behavior_pack/items/blue_bundle.json new file mode 100644 index 0000000..2fea329 --- /dev/null +++ b/behavior_pack/items/blue_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:blue_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_blue" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/bread.json b/behavior_pack/items/bread.json new file mode 100644 index 0000000..8cbc529 --- /dev/null +++ b/behavior_pack/items/bread.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:bread" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 5, + "saturation_modifier": "normal" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/breeze_rod.json b/behavior_pack/items/breeze_rod.json new file mode 100644 index 0000000..3b9271d --- /dev/null +++ b/behavior_pack/items/breeze_rod.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.20.50", + "minecraft:item": { + "description": { + "identifier": "minecraft:breeze_rod" + }, + "components": { + "minecraft:icon": { + "texture": "breeze_rod" + }, + "minecraft:display_name": { + "value": "item.breeze_rod.name" + }, + "minecraft:hand_equipped": true + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/brown_bundle.json b/behavior_pack/items/brown_bundle.json new file mode 100644 index 0000000..c21e032 --- /dev/null +++ b/behavior_pack/items/brown_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:brown_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_brown" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/bundle.json b/behavior_pack/items/bundle.json new file mode 100644 index 0000000..5c4748d --- /dev/null +++ b/behavior_pack/items/bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/camera.json b/behavior_pack/items/camera.json new file mode 100644 index 0000000..a729a28 --- /dev/null +++ b/behavior_pack/items/camera.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:camera" + }, + + "components": { + "minecraft:use_duration": 100000, + "minecraft:block": "minecraft:camera", + "minecraft:camera": { + "black_bars_duration": 0.2, + "black_bars_screen_ratio": 0.08, + "shutter_duration": 0.2, + "picture_duration": 1.0, + "slide_away_duration": 0.2 + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/carrot.json b/behavior_pack/items/carrot.json new file mode 100644 index 0000000..d4b1bc9 --- /dev/null +++ b/behavior_pack/items/carrot.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:carrot" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 3, + "saturation_modifier": "normal" + }, + "minecraft:seed": { + "crop_result": "carrots" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/chicken.json b/behavior_pack/items/chicken.json new file mode 100644 index 0000000..75d2bcc --- /dev/null +++ b/behavior_pack/items/chicken.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:chicken" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "low", + "effects": [ + { + "name": "hunger", + "chance": 0.3, + "duration": 30, + "amplifier": 0 + } + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/chorus_fruit.json b/behavior_pack/items/chorus_fruit.json new file mode 100644 index 0000000..a4ea7f4 --- /dev/null +++ b/behavior_pack/items/chorus_fruit.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:chorus_fruit" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 4, + "saturation_modifier": "low", + "on_use_action": "chorus_teleport", + "on_use_range": [ 8, 8, 8 ], + "cooldown_type": "chorusfruit", + "cooldown_time": 20, + "can_always_eat": true + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/clownfish.json b/behavior_pack/items/clownfish.json new file mode 100644 index 0000000..c55cc3f --- /dev/null +++ b/behavior_pack/items/clownfish.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:clownfish" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_damage": 0, + "minecraft:stacked_by_data": true, + "minecraft:food": { + "nutrition": 1, + "saturation_modifier": "poor" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cooked_beef.json b/behavior_pack/items/cooked_beef.json new file mode 100644 index 0000000..67fc061 --- /dev/null +++ b/behavior_pack/items/cooked_beef.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_beef" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 8, + "saturation_modifier": "good" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cooked_chicken.json b/behavior_pack/items/cooked_chicken.json new file mode 100644 index 0000000..7afee04 --- /dev/null +++ b/behavior_pack/items/cooked_chicken.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_chicken" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "normal" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cooked_fish.json b/behavior_pack/items/cooked_fish.json new file mode 100644 index 0000000..97f2806 --- /dev/null +++ b/behavior_pack/items/cooked_fish.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_fish" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_damage": 0, + "minecraft:stacked_by_data": true, + "minecraft:food": { + "nutrition": 5, + "saturation_modifier": "normal" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cooked_porkchop.json b/behavior_pack/items/cooked_porkchop.json new file mode 100644 index 0000000..5dc661f --- /dev/null +++ b/behavior_pack/items/cooked_porkchop.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_porkchop" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 8, + "saturation_modifier": "good" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cooked_rabbit.json b/behavior_pack/items/cooked_rabbit.json new file mode 100644 index 0000000..b0ce5be --- /dev/null +++ b/behavior_pack/items/cooked_rabbit.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_rabbit" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 5, + "saturation_modifier": "normal" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cooked_salmon.json b/behavior_pack/items/cooked_salmon.json new file mode 100644 index 0000000..1506d28 --- /dev/null +++ b/behavior_pack/items/cooked_salmon.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_salmon" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_damage": 0, + "minecraft:stacked_by_data": true, + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "good" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cookie.json b/behavior_pack/items/cookie.json new file mode 100644 index 0000000..c7ce072 --- /dev/null +++ b/behavior_pack/items/cookie.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cookie" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "poor" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/cyan_bundle.json b/behavior_pack/items/cyan_bundle.json new file mode 100644 index 0000000..7f09c82 --- /dev/null +++ b/behavior_pack/items/cyan_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:cyan_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_cyan" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/dried_kelp.json b/behavior_pack/items/dried_kelp.json new file mode 100644 index 0000000..c72d011 --- /dev/null +++ b/behavior_pack/items/dried_kelp.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:dried_kelp" + }, + + "components": { + "minecraft:use_duration": 16, + + "minecraft:food": { + "nutrition": 1, + "saturation_modifier": "poor" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/fish.json b/behavior_pack/items/fish.json new file mode 100644 index 0000000..ca5f6c6 --- /dev/null +++ b/behavior_pack/items/fish.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:fish" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_damage": 0, + "minecraft:stacked_by_data": true, + + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "poor" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/glow_berries.json b/behavior_pack/items/glow_berries.json new file mode 100644 index 0000000..171269b --- /dev/null +++ b/behavior_pack/items/glow_berries.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.16.0", + "minecraft:item": { + "description": { + "identifier": "minecraft:glow_berries" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "low", + "is_meat": false + }, + "minecraft:seed": { + "crop_result": "cave_vines", + "plant_at": [ + "cave_vines", + "cave_vines_head_with_berries" + ], + "plant_at_any_solid_surface": true, + "plant_at_face": "DOWN" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/golden_apple.json b/behavior_pack/items/golden_apple.json new file mode 100644 index 0000000..6b356da --- /dev/null +++ b/behavior_pack/items/golden_apple.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:golden_apple" + }, + + "components": { + "minecraft:stacked_by_data": true, + "minecraft:use_duration": 32, + "minecraft:foil": false, + + "minecraft:food": { + "nutrition": 4, + "saturation_modifier": "supernatural", + "can_always_eat": true, + "effects": [ + { + "name": "regeneration", + "chance": 1.0, + "duration": 5, + "amplifier": 1 + }, + { + "name": "absorption", + "chance": 1.0, + "duration": 120, // 2 * 60 + "amplifier": 0 + } + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/golden_carrot.json b/behavior_pack/items/golden_carrot.json new file mode 100644 index 0000000..503cb4e --- /dev/null +++ b/behavior_pack/items/golden_carrot.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:golden_carrot" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "supernatural" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/gray_bundle.json b/behavior_pack/items/gray_bundle.json new file mode 100644 index 0000000..39c4eee --- /dev/null +++ b/behavior_pack/items/gray_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:gray_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_gray" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/green_bundle.json b/behavior_pack/items/green_bundle.json new file mode 100644 index 0000000..a3d89a6 --- /dev/null +++ b/behavior_pack/items/green_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:green_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_green" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/honey_bottle.json b/behavior_pack/items/honey_bottle.json new file mode 100644 index 0000000..d800526 --- /dev/null +++ b/behavior_pack/items/honey_bottle.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.14", + "minecraft:item": { + "description": { + "identifier": "minecraft:honey_bottle" + }, + "components": { + "minecraft:use_duration": 40, + "minecraft:max_stack_size": 16, + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "poor", + "can_always_eat": true, + "using_converts_to": "glass_bottle", + "remove_effects": [ + "poison" + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/honeycomb.json b/behavior_pack/items/honeycomb.json new file mode 100644 index 0000000..3031553 --- /dev/null +++ b/behavior_pack/items/honeycomb.json @@ -0,0 +1,8 @@ +{ + "format_version": "1.16", + "minecraft:item": { + "description": { + "identifier": "minecraft:honeycomb" + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/light_blue_bundle.json b/behavior_pack/items/light_blue_bundle.json new file mode 100644 index 0000000..97eebdb --- /dev/null +++ b/behavior_pack/items/light_blue_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:light_blue_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_light_blue" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/light_gray_bundle.json b/behavior_pack/items/light_gray_bundle.json new file mode 100644 index 0000000..0900c28 --- /dev/null +++ b/behavior_pack/items/light_gray_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:light_gray_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_light_gray" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/lime_bundle.json b/behavior_pack/items/lime_bundle.json new file mode 100644 index 0000000..53415f7 --- /dev/null +++ b/behavior_pack/items/lime_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:lime_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_lime" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/magenta_bundle.json b/behavior_pack/items/magenta_bundle.json new file mode 100644 index 0000000..36f6b42 --- /dev/null +++ b/behavior_pack/items/magenta_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:magenta_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_magenta" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/melon.json b/behavior_pack/items/melon.json new file mode 100644 index 0000000..09ef0fa --- /dev/null +++ b/behavior_pack/items/melon.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:melon" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "low" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/melon_seeds.json b/behavior_pack/items/melon_seeds.json new file mode 100644 index 0000000..cb86402 --- /dev/null +++ b/behavior_pack/items/melon_seeds.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:melon_seeds" + }, + + "components": { + "minecraft:seed": { + "crop_result": "melon_stem" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/mushroom_stew.json b/behavior_pack/items/mushroom_stew.json new file mode 100644 index 0000000..c49c132 --- /dev/null +++ b/behavior_pack/items/mushroom_stew.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:mushroom_stew" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_stack_size": 1, + + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "normal", + "using_converts_to": "bowl" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/muttonCooked.json b/behavior_pack/items/muttonCooked.json new file mode 100644 index 0000000..9cd1443 --- /dev/null +++ b/behavior_pack/items/muttonCooked.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:muttonCooked" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "good" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/muttonRaw.json b/behavior_pack/items/muttonRaw.json new file mode 100644 index 0000000..5558f30 --- /dev/null +++ b/behavior_pack/items/muttonRaw.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:muttonRaw" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "low" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/nether_wart.json b/behavior_pack/items/nether_wart.json new file mode 100644 index 0000000..3e95c1a --- /dev/null +++ b/behavior_pack/items/nether_wart.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:nether_wart" + }, + + "components": { + "minecraft:seed": { + "plant_at": "soul_sand", + "crop_result": "nether_wart" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/ominous_trial_key.json b/behavior_pack/items/ominous_trial_key.json new file mode 100644 index 0000000..d337275 --- /dev/null +++ b/behavior_pack/items/ominous_trial_key.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.20.50", + "minecraft:item": { + "description": { + "identifier": "minecraft:ominous_trial_key", + "category": "Items" + }, + "components": { + "minecraft:icon": { + "texture": "ominous_trial_key" + }, + "minecraft:display_name": { + "value": "item.ominous_trial_key.name" + } + } + } +} diff --git a/behavior_pack/items/orange_bundle.json b/behavior_pack/items/orange_bundle.json new file mode 100644 index 0000000..60d84e4 --- /dev/null +++ b/behavior_pack/items/orange_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:orange_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_orange" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/pink_bundle.json b/behavior_pack/items/pink_bundle.json new file mode 100644 index 0000000..8bfae78 --- /dev/null +++ b/behavior_pack/items/pink_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:pink_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_pink" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/pitcher_pod.json b/behavior_pack/items/pitcher_pod.json new file mode 100644 index 0000000..0c4a649 --- /dev/null +++ b/behavior_pack/items/pitcher_pod.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:pitcher_pod" + }, + "components": { + "minecraft:seed": { + "crop_result": "pitcher_crop" + } + } + } +} diff --git a/behavior_pack/items/poisonous_potato.json b/behavior_pack/items/poisonous_potato.json new file mode 100644 index 0000000..63afef1 --- /dev/null +++ b/behavior_pack/items/poisonous_potato.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:poisonous_potato" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "low", + "effects": [ + { + "name": "poison", + "chance": 0.6, + "duration": 5, + "amplifier": 0 + } + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/porkchop.json b/behavior_pack/items/porkchop.json new file mode 100644 index 0000000..45e813b --- /dev/null +++ b/behavior_pack/items/porkchop.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:porkchop" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 3, + "saturation_modifier": "low" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/portfolio.json b/behavior_pack/items/portfolio.json new file mode 100644 index 0000000..9273576 --- /dev/null +++ b/behavior_pack/items/portfolio.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:portfolio" + }, + "components": { + "minecraft:max_stack_size": 1, + "minecraft:portfolio": {} + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/potato.json b/behavior_pack/items/potato.json new file mode 100644 index 0000000..0a78db9 --- /dev/null +++ b/behavior_pack/items/potato.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:potato" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 1, + "saturation_modifier": "low" + }, + "minecraft:seed": { + "crop_result": "potatoes" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/pufferfish.json b/behavior_pack/items/pufferfish.json new file mode 100644 index 0000000..528fe40 --- /dev/null +++ b/behavior_pack/items/pufferfish.json @@ -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": 0 + }, + { + "name": "hunger", + "duration": 15, + "amplifier": 2 + } + ] + } + } + } +} diff --git a/behavior_pack/items/pumpkin_pie.json b/behavior_pack/items/pumpkin_pie.json new file mode 100644 index 0000000..f912655 --- /dev/null +++ b/behavior_pack/items/pumpkin_pie.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:pumpkin_pie" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 8, + "saturation_modifier": "low" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/pumpkin_seeds.json b/behavior_pack/items/pumpkin_seeds.json new file mode 100644 index 0000000..25f8a8e --- /dev/null +++ b/behavior_pack/items/pumpkin_seeds.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:pumpkin_seeds" + }, + + "components": { + "minecraft:seed": { + "crop_result": "pumpkin_stem" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/purple_bundle.json b/behavior_pack/items/purple_bundle.json new file mode 100644 index 0000000..d875524 --- /dev/null +++ b/behavior_pack/items/purple_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:purple_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_purple" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/rabbit.json b/behavior_pack/items/rabbit.json new file mode 100644 index 0000000..7e2e1d5 --- /dev/null +++ b/behavior_pack/items/rabbit.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:rabbit" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 3, + "saturation_modifier": "low" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/rabbit_stew.json b/behavior_pack/items/rabbit_stew.json new file mode 100644 index 0000000..320b566 --- /dev/null +++ b/behavior_pack/items/rabbit_stew.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:rabbit_stew" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_stack_size": 1, + + "minecraft:food": { + "nutrition": 10, + "saturation_modifier": "normal", + "using_converts_to": "bowl" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/red_bundle.json b/behavior_pack/items/red_bundle.json new file mode 100644 index 0000000..abc7a1d --- /dev/null +++ b/behavior_pack/items/red_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:red_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_red" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/rotten_flesh.json b/behavior_pack/items/rotten_flesh.json new file mode 100644 index 0000000..614573c --- /dev/null +++ b/behavior_pack/items/rotten_flesh.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:rotten_flesh" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:food": { + "nutrition": 4, + "saturation_modifier": "poor", + "effects": [ + { + "name": "hunger", + "chance": 0.8, + "duration": 30, + "amplifier": 0 + } + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/salmon.json b/behavior_pack/items/salmon.json new file mode 100644 index 0000000..418eb74 --- /dev/null +++ b/behavior_pack/items/salmon.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:salmon" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_damage": 0, + "minecraft:stacked_by_data": true, + + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "poor" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/spider_eye.json b/behavior_pack/items/spider_eye.json new file mode 100644 index 0000000..ac239bd --- /dev/null +++ b/behavior_pack/items/spider_eye.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:spider_eye" + }, + + "components": { + "minecraft:use_duration": 32, + + "minecraft:food": { + "nutrition": 2, + "saturation_modifier": "good", + "effects": [ + { + "name": "poison", + "chance": 1.0, + "duration": 5, + "amplifier": 0 + } + ] + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/suspicious_stew.json b/behavior_pack/items/suspicious_stew.json new file mode 100644 index 0000000..129a28e --- /dev/null +++ b/behavior_pack/items/suspicious_stew.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:suspicious_stew" + }, + + "components": { + "minecraft:use_duration": 32, + "minecraft:max_stack_size": 1, + "minecraft:food": { + "nutrition": 6, + "saturation_modifier": "normal", + "using_converts_to": "bowl", + "on_use_action": "suspicious_stew_effect", + "can_always_eat": true + } + } + } +} diff --git a/behavior_pack/items/sweet_berries.json b/behavior_pack/items/sweet_berries.json new file mode 100644 index 0000000..8939cee --- /dev/null +++ b/behavior_pack/items/sweet_berries.json @@ -0,0 +1,33 @@ +{ + "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": [ + "farmland", + "grass", + "dirt", + "coarse_dirt", + "podzol", + "moss_block", + "mycelium", + "mud", + "muddy_mangrove_roots", + "dirt_with_roots" + ] + } + } + } +} diff --git a/behavior_pack/items/torchflower_seeds.json b/behavior_pack/items/torchflower_seeds.json new file mode 100644 index 0000000..b2ba63f --- /dev/null +++ b/behavior_pack/items/torchflower_seeds.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:torchflower_seeds" + }, + "components": { + "minecraft:seed": { + "crop_result": "torchflower_crop" + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/trial_key.json b/behavior_pack/items/trial_key.json new file mode 100644 index 0000000..23b8509 --- /dev/null +++ b/behavior_pack/items/trial_key.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.20.50", + "minecraft:item": { + "description": { + "identifier": "minecraft:trial_key", + "category": "Items" + }, + "components": { + "minecraft:icon": { + "texture": "trial_key" + }, + "minecraft:display_name": { + "value": "item.trial_key.name" + } + } + } +} diff --git a/behavior_pack/items/wheat_seeds.json b/behavior_pack/items/wheat_seeds.json new file mode 100644 index 0000000..9d29304 --- /dev/null +++ b/behavior_pack/items/wheat_seeds.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:wheat_seeds" + }, + + "components": { + "minecraft:seed": { + "crop_result": "wheat" // wheatCrops + } + } + } +} \ No newline at end of file diff --git a/behavior_pack/items/white_bundle.json b/behavior_pack/items/white_bundle.json new file mode 100644 index 0000000..939f162 --- /dev/null +++ b/behavior_pack/items/white_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:white_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_white" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/items/wind_charge.json b/behavior_pack/items/wind_charge.json new file mode 100644 index 0000000..6a1b599 --- /dev/null +++ b/behavior_pack/items/wind_charge.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.50", + "minecraft:item": { + "description": { + "identifier": "minecraft:wind_charge", + "category": "Items" + }, + "components": { + "minecraft:icon": { + "texture": "wind_charge" + }, + "minecraft:projectile": { + "projectile_entity": "wind_charge_projectile" + }, + "minecraft:throwable": { + "do_swing_animation": true, + "launch_power_scale": 1.5, + "max_launch_power": 1.5 + }, + "minecraft:cooldown": { + "category": "wind_charge", + "duration": 0.5 + }, + "minecraft:display_name": { + "value": "item.wind_charge.name" + } + } + } +} diff --git a/behavior_pack/items/yellow_bundle.json b/behavior_pack/items/yellow_bundle.json new file mode 100644 index 0000000..1d82566 --- /dev/null +++ b/behavior_pack/items/yellow_bundle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.30", + "minecraft:item": { + "description": { + "identifier": "minecraft:yellow_bundle" + }, + + "components": { + "minecraft:icon": { + "textures": { + "default": "bundle_yellow" + } + }, + "minecraft:max_stack_size": 1, + "minecraft:storage_item": { + "max_slots": 64, + "max_weight_limit": 64, + "weight_in_storage_item": 4, + "allow_nested_storage_items": true, + "banned_items": [ "minecraft:shulker_box", "minecraft:undyed_shulker_box" ] + }, + "minecraft:bundle_interaction": { + "num_viewable_slots": 12 + } + } + } +} diff --git a/behavior_pack/loot_tables/chests/abandoned_mineshaft.json b/behavior_pack/loot_tables/chests/abandoned_mineshaft.json new file mode 100644 index 0000000..8da40f0 --- /dev/null +++ b/behavior_pack/loot_tables/chests/abandoned_mineshaft.json @@ -0,0 +1,284 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:appleEnchanted", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:name_tag", + "weight": 30 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 10, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_pickaxe", + "weight": 5 + }, + { + "type": "empty", + "weight": 5 + } + ] + }, + { + "rolls": { + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:redstone", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 9 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:dye", + "functions": [ + { + "function": "set_data", + "data": 4 + }, + { + "function": "set_count", + "count": { + "min": 4, + "max": 9 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:diamond", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:coal", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 8 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:bread", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:melon_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:pumpkin_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:glow_berries", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + } + ], + "weight": 15 + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "item", + "name": "minecraft:rail", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ], + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:golden_rail", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:detector_rail", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:activator_rail", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:torch", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 16 + } + } + ], + "weight": 15 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/ancient_city.json b/behavior_pack/loot_tables/chests/ancient_city.json new file mode 100644 index 0000000..f6bda2f --- /dev/null +++ b/behavior_pack/loot_tables/chests/ancient_city.json @@ -0,0 +1,416 @@ +{ + "pools": [ + { + "rolls": { + "min": 5, + "max": 10.0 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2.0 + }, + "add": false + } + ], + "name": "minecraft:enchanted_golden_apple", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:music_disc_otherside", + "weight": 1 + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1, + "add": false + } + ], + "name": "minecraft:compass" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2.0 + }, + "add": false + } + ], + "name": "minecraft:sculk_catalyst" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:name_tag" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1, + "add": false + }, + { + "function": "set_damage", + "damage": { + "min": 0.8, + "max": 1.0 + }, + "add": false + }, + { + "function": "enchant_with_levels", + "levels": { + "min": 30, + "max": 50.0 + }, + "treasure": true + } + ], + "name": "minecraft:diamond_hoe" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1, + "add": false + } + ], + "name": "minecraft:lead" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1, + "add": false + } + ], + "name": "minecraft:diamond_horse_armor" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1, + "add": false + } + ], + "name": "minecraft:saddle" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:music_disc_13" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:music_disc_cat" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 30, + "max": 50.0 + }, + "treasure": true + } + ], + "name": "minecraft:diamond_leggings" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "swift_sneak", + "level": [ + 1, + 3 + ] + } + ] + } + ], + "name": "minecraft:book" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 10.0 + }, + "add": false + } + ], + "name": "minecraft:sculk" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3.0 + }, + "add": false + } + ], + "name": "minecraft:sculk_sensor" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4.0 + }, + "add": false + } + ], + "name": "minecraft:candle" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 15.0 + }, + "add": false + } + ], + "name": "minecraft:amethyst_shard" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3.0 + }, + "add": false + } + ], + "name": "minecraft:experience_bottle" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 15.0 + }, + "add": false + } + ], + "name": "minecraft:glow_berries" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 20, + "max": 39.0 + }, + "treasure": true + } + ], + "name": "minecraft:iron_leggings" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3.0 + }, + "add": false + } + ], + "name": "minecraft:echo_shard" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3.0 + }, + "add": false + } + ], + "name": "minecraft:disc_fragment_5" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3.0 + }, + "add": false + }, + { + "function": "set_potion", + "id": "strong_regeneration" + } + ], + "name": "minecraft:potion" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:book" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 10.0 + }, + "add": false + } + ], + "name": "minecraft:book" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 15.0 + }, + "add": false + } + ], + "name": "minecraft:bone" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 15.0 + }, + "add": false + } + ], + "name": "minecraft:soul_torch" + }, + { + "type": "item", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 6, + "max": 15.0 + }, + "add": false + } + ], + "name": "minecraft:coal" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:ward_armor_trim_smithing_template", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:silence_armor_trim_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/ancient_city_ice_box.json b/behavior_pack/loot_tables/chests/ancient_city_ice_box.json new file mode 100644 index 0000000..578e748 --- /dev/null +++ b/behavior_pack/loot_tables/chests/ancient_city_ice_box.json @@ -0,0 +1,99 @@ +{ + "pools": [ + { + "rolls": { + "min": 4, + "max": 10.0 + }, + "bonus_rolls": 0, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_stew_effect", + "effects": [ + { + "id": 0 // night vision + }, + { + "id": 3 // blindness + } + ] + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 6.0 + }, + "add": false + } + ], + "name": "minecraft:suspicious_stew", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 10.0 + }, + "add": false + } + ], + "name": "minecraft:golden_carrot", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 10.0 + }, + "add": false + } + ], + "name": "minecraft:baked_potato", + "weight": 1 + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6.0 + }, + "add": false + } + ], + "name": "minecraft:packed_ice" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6.0 + }, + "add": false + } + ], + "name": "minecraft:snowball" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/bastion_bridge.json b/behavior_pack/loot_tables/chests/bastion_bridge.json new file mode 100644 index 0000000..4b9b0de --- /dev/null +++ b/behavior_pack/loot_tables/chests/bastion_bridge.json @@ -0,0 +1,312 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:lodestone" + } + ] + }, + { + "rolls": { + "min": 1, + "max": 2 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.1, + "max": 0.5 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:crossbow", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 10, + "max": 28 + } + } + ], + "name": "minecraft:arrow", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 12 + } + } + ], + "name": "minecraft:gilded_blackstone", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 8 + } + } + ], + "name": "minecraft:crying_obsidian", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:gold_block", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 9 + } + } + ], + "name": "minecraft:gold_ingot", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 9 + } + } + ], + "name": "minecraft:iron_ingot", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_sword", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:golden_chestplate", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:golden_helmet", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:golden_leggings", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:golden_boots", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:golden_axe", + "weight": 1 + } + ] + }, + { + "rolls": { + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 6 + } + } + ], + "name": "minecraft:string", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:leather", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 17 + } + } + ], + "name": "minecraft:arrow", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6 + } + } + ], + "name": "minecraft:iron_nugget", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6 + } + } + ], + "name": "minecraft:gold_nugget", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 11 + }, + { + "type": "item", + "name": "minecraft:snout_armor_trim_smithing_template", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 9 + }, + { + "type": "item", + "name": "minecraft:netherite_upgrade_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/bastion_hoglin_stable.json b/behavior_pack/loot_tables/chests/bastion_hoglin_stable.json new file mode 100644 index 0000000..08fec15 --- /dev/null +++ b/behavior_pack/loot_tables/chests/bastion_hoglin_stable.json @@ -0,0 +1,347 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_shovel" + }, + { + "type": "item", + "weight": 8, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:netherite_scrap" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:ancient_debris" + }, + { + "type": "item", + "weight": 12, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:saddle" + }, + { + "type": "item", + "weight": 16, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "name": "minecraft:gold_block" + }, + { + "type": "item", + "weight": 12, + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.15, + "max": 0.95 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_pickaxe" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 17 + } + } + ], + "name": "minecraft:golden_carrot" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_apple" + } + ] + }, + { + "rolls": { + "min": 3, + "max": 4 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + } + ], + "name": "minecraft:glowstone", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ], + "name": "minecraft:gilded_blackstone", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "name": "minecraft:soul_sand", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "name": "minecraft:crimson_nylium", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ], + "name": "minecraft:gold_nugget", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:leather", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 17 + } + } + ], + "name": "minecraft:arrow", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 8 + } + } + ], + "name": "minecraft:string", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ], + "name": "minecraft:porkchop", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ], + "name": "minecraft:cooked_porkchop", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "name": "minecraft:crimson_fungus", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "name": "minecraft:crimson_roots", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:crying_obsidian", + "weight": 1 + }, + { + "type": "item", + "weight": 1, + "functions": [ + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:golden_axe" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 11 + }, + { + "type": "item", + "name": "minecraft:snout_armor_trim_smithing_template", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 9 + }, + { + "type": "item", + "name": "minecraft:netherite_upgrade_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/bastion_other.json b/behavior_pack/loot_tables/chests/bastion_other.json new file mode 100644 index 0000000..5f7a40e --- /dev/null +++ b/behavior_pack/loot_tables/chests/bastion_other.json @@ -0,0 +1,505 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.1, + "max": 0.9 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:crossbow" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_pickaxe" + }, + { + "type": "item", + "weight": 6, + "name": "minecraft:diamond_shovel" + }, + { + "type": "item", + "weight": 12, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:ancient_debris" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:netherite_scrap" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 10, + "max": 22 + } + } + ], + "name": "minecraft:arrow" + }, + { + "type": "item", + "weight": 12, + "functions": [ + { + "function": "set_count", + "count": { + "min": 6, + "max": 17 + } + } + ], + "name": "minecraft:golden_carrot" + }, + { + "type": "item", + "weight": 9, + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "set_data", + "data": 6 + } + ], + "name": "minecraft:banner_pattern" + }, + { + "type": "item", + "weight": 9, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_apple" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:record_pigstep" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "soul_speed", + "level": [ + 1, + 3 + ] + } + ] + } + ], + "name": "minecraft:book" + } + ] + }, + { + "rolls": 2, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "specific_enchants", + "enchants": [ + { + "id": "soul_speed", + "level": [ + 1, + 3 + ] + } + ] + } + ], + "name": "minecraft:golden_boots", + "weight": 1 + }, + { + "type": "item", + "weight": 1, + "functions": [ + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:golden_axe" + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:gold_block", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:iron_block", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:crossbow", + "weight": 1 + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.1, + "max": 0.9 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:iron_sword" + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 6 + } + } + ], + "name": "minecraft:gold_ingot", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 6 + } + } + ], + "name": "minecraft:iron_ingot", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_sword", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_chestplate", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_helmet", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_leggings", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:golden_boots", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:crying_obsidian", + "weight": 1 + } + ] + }, + { + "rolls": { + "min": 3, + "max": 5 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:gilded_blackstone", + "weight": 2 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 10 + } + } + ], + "name": "minecraft:chain", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6 + } + } + ], + "name": "minecraft:magma_cream", + "weight": 2 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + } + ], + "name": "minecraft:bone_block", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ], + "name": "minecraft:iron_nugget", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 6 + } + } + ], + "name": "minecraft:obsidian", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ], + "name": "minecraft:gold_nugget", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 6 + } + } + ], + "name": "minecraft:string", + "weight": 1 + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 17 + } + } + ], + "name": "minecraft:arrow" + }, + { + "type": "item", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:cooked_porkchop" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 11 + }, + { + "type": "item", + "name": "minecraft:snout_armor_trim_smithing_template", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 9 + }, + { + "type": "item", + "name": "minecraft:netherite_upgrade_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/bastion_treasure.json b/behavior_pack/loot_tables/chests/bastion_treasure.json new file mode 100644 index 0000000..14997ee --- /dev/null +++ b/behavior_pack/loot_tables/chests/bastion_treasure.json @@ -0,0 +1,335 @@ +{ + "pools": [ + { + "rolls": 3, + "entries": [ + { + "type": "item", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:netherite_ingot" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:enchanted_golden_apple" + }, + { + "type": "item", + "weight": 8, + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "name": "minecraft:netherite_scrap" + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": 2 + } + ], + "name": "minecraft:ancient_debris", + "weight": 4 + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.8, + "max": 1 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_sword" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.8, + "max": 1 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_chestplate" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.8, + "max": 1 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_helmet" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.8, + "max": 1 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_leggings" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_damage", + "damage": { + "min": 0.8, + "max": 1 + } + }, + { + "function": "enchant_randomly" + } + ], + "name": "minecraft:diamond_boots" + }, + { + "type": "item", + "weight": 6, + "name": "minecraft:diamond_sword" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:diamond_chestplate" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:diamond_helmet" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:diamond_boots" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:diamond_leggings" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6 + } + } + ], + "name": "minecraft:diamond" + } + ] + }, + { + "rolls": { + "min": 3, + "max": 4 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 12, + "max": 25 + } + } + ], + "name": "minecraft:arrow", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ], + "name": "minecraft:gold_block", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 9 + } + } + ], + "name": "minecraft:gold_ingot", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 9 + } + } + ], + "name": "minecraft:iron_ingot", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 5 + } + } + ], + "name": "minecraft:crying_obsidian", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 23 + } + } + ], + "name": "minecraft:quartz", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 15 + } + } + ], + "name": "minecraft:gilded_blackstone", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 8 + } + } + ], + "name": "minecraft:magma_cream", + "weight": 1 + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ], + "name": "minecraft:iron_block", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 11 + }, + { + "type": "item", + "name": "minecraft:snout_armor_trim_smithing_template", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:netherite_upgrade_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/buriedtreasure.json b/behavior_pack/loot_tables/chests/buriedtreasure.json new file mode 100644 index 0000000..7b46f58 --- /dev/null +++ b/behavior_pack/loot_tables/chests/buriedtreasure.json @@ -0,0 +1,177 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:heart_of_the_sea" + } + ] + }, + { + "rolls": { + "min": 5, + "max": 12 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:prismarine_crystals", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 5 + } + } + ], + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:tnt", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:record_wait", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:record_mellohi", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:name_tag", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:chainmail_chestplate", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:chainmail_helmet", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:chainmail_leggings", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:chainmail_boots", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:writable_book", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:lead", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:experience_bottle", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:potion", + "functions": [ + { + "function": "set_potion", + "id": "water_breathing" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:potion", + "functions": [ + { + "function": "set_potion", + "id": "regeneration" + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:cake", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/desert_pyramid.json b/behavior_pack/loot_tables/chests/desert_pyramid.json new file mode 100644 index 0000000..c9f9592 --- /dev/null +++ b/behavior_pack/loot_tables/chests/desert_pyramid.json @@ -0,0 +1,249 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:bone", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 6 + } + } + ], + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:spider_eye", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 7 + } + } + ], + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:saddle", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 20, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:appleEnchanted", + "weight": 2 + }, + { + "type": "empty", + "weight": 15 + } + ] + }, + { + "rolls": 4, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:sand", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 6 + }, + { + "type": "item", + "name": "minecraft:dune_armor_trim_smithing_template", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/dispenser_trap.json b/behavior_pack/loot_tables/chests/dispenser_trap.json new file mode 100644 index 0000000..36778a1 --- /dev/null +++ b/behavior_pack/loot_tables/chests/dispenser_trap.json @@ -0,0 +1,26 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 2 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "weight": 30 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/end_city_treasure.json b/behavior_pack/loot_tables/chests/end_city_treasure.json new file mode 100644 index 0000000..7c55f9f --- /dev/null +++ b/behavior_pack/loot_tables/chests/end_city_treasure.json @@ -0,0 +1,326 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 6 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:beetroot_seeds", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:saddle", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:diamond_sword", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_boots", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_chestplate", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_leggings", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_helmet", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_pickaxe", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_shovel", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_boots", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_chestplate", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_leggings", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_helmet", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_pickaxe", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_shovel", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": true, + "levels": { + "min": 20, + "max": 39 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 14 + }, + { + "type": "item", + "name": "minecraft:spire_armor_trim_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/igloo_chest.json b/behavior_pack/loot_tables/chests/igloo_chest.json new file mode 100644 index 0000000..3590f52 --- /dev/null +++ b/behavior_pack/loot_tables/chests/igloo_chest.json @@ -0,0 +1,93 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:apple", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:coal", + "weight": 15, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gold_nugget", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:stone_axe", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2, + "max": 3 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/jungle_temple.json b/behavior_pack/loot_tables/chests/jungle_temple.json new file mode 100644 index 0000000..204a323 --- /dev/null +++ b/behavior_pack/loot_tables/chests/jungle_temple.json @@ -0,0 +1,162 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 6 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:bone", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 6 + } + } + ], + "weight": 100 + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 7 + } + } + ], + "weight": 80 + }, + { + "type": "item", + "name": "minecraft:bamboo", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:saddle", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 6, + "functions": [ + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wild_armor_trim_smithing_template", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/monster_room.json b/behavior_pack/loot_tables/chests/monster_room.json new file mode 100644 index 0000000..89e0a40 --- /dev/null +++ b/behavior_pack/loot_tables/chests/monster_room.json @@ -0,0 +1,119 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:redstone", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:bread", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:wheat", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:gunpowder", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:string", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:name_tag", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:bucket", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 1, + "functions": [ + { + "function": "enchant_randomly" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/nether_bridge.json b/behavior_pack/loot_tables/chests/nether_bridge.json new file mode 100644 index 0000000..6129cb3 --- /dev/null +++ b/behavior_pack/loot_tables/chests/nether_bridge.json @@ -0,0 +1,131 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 4 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_sword", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:golden_chestplate", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:flint_and_steel", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:nether_wart", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 7 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:saddle", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 8 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:obsidian", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 2 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 14 + }, + { + "type": "item", + "name": "minecraft:rib_armor_trim_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/pillager_outpost.json b/behavior_pack/loot_tables/chests/pillager_outpost.json new file mode 100644 index 0000000..d8e127c --- /dev/null +++ b/behavior_pack/loot_tables/chests/pillager_outpost.json @@ -0,0 +1,207 @@ +{ + "pools": [ + { + "rolls": { + "min": 0, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:crossbow" + } + ] + }, + { + "rolls": { + "min": 2, + "max": 3 + }, + "entries": [ + { + "type": "item", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 5 + } + } + ], + "name": "minecraft:wheat" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ], + "name": "minecraft:potato" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 5 + } + } + ], + "name": "minecraft:carrot" + } + ] + }, + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:dark_oak_log", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 3 + } + } + ] + } + ] + }, + { + "rolls": { + "min": 2, + "max": 3 + }, + "entries": [ + { + "type": "item", + "weight": 7, + "name": "minecraft:experience_bottle" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 6 + } + } + ], + "name": "minecraft:string" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "name": "minecraft:arrow" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:tripwire_hook" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "item", + "functions": [ + { + "function": "minecraft:enchant_randomly" + } + ], + "name": "minecraft:book" + } + ] + }, + { + "rolls": { + "min": 0, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:goat_horn", + "functions": [ + { + "function": "set_data", + "data": { + "min": 0, + "max": 3 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:sentry_armor_trim_smithing_template", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/ruined_portal.json b/behavior_pack/loot_tables/chests/ruined_portal.json new file mode 100644 index 0000000..a5764c7 --- /dev/null +++ b/behavior_pack/loot_tables/chests/ruined_portal.json @@ -0,0 +1,254 @@ +{ + "pools": [ + { + "rolls": { + "min": 4, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:obsidian", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "weight": 40 + }, + { + "type": "item", + "name": "minecraft:flint", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "weight": 40 + }, + { + "type": "item", + "name": "minecraft:iron_nugget", + "functions": [ + { + "function": "set_count", + "count": { + "min": 9, + "max": 18 + } + } + ], + "weight": 40 + }, + { + "type": "item", + "name": "minecraft:flint_and_steel", + "weight": 40 + }, + { + "type": "item", + "name": "minecraft:fireball", + "weight": 40 + }, + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:gold_nugget", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 24 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_sword", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_axe", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_hoe", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_shovel", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_pickaxe", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_boots", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_chestplate", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_helmet", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:golden_leggings", + "functions": [ + { + "function": "enchant_randomly" + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:speckled_melon", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 12 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:light_weighted_pressure_plate", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:golden_carrot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 12 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:clock", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:bell", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:appleEnchanted", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:gold_block", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/shipwreck.json b/behavior_pack/loot_tables/chests/shipwreck.json new file mode 100644 index 0000000..3729d05 --- /dev/null +++ b/behavior_pack/loot_tables/chests/shipwreck.json @@ -0,0 +1,101 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:map", + "functions": [ + { + "function": "exploration_map", + "destination": "buriedtreasure" + } + ] + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "item", + "name": "minecraft:compass", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:map", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:clock", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:paper", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:feather", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:coast_armor_trim_smithing_template", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/shipwrecksupply.json b/behavior_pack/loot_tables/chests/shipwrecksupply.json new file mode 100644 index 0000000..82f8d46 --- /dev/null +++ b/behavior_pack/loot_tables/chests/shipwrecksupply.json @@ -0,0 +1,254 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 10 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:paper", + "weight": 8, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 12 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:potato", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:moss_block", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:poisonous_potato", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 6 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:carrot", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 21 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:coal", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 24 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bamboo", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:pumpkin", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:tnt", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:leather_helmet", + "weight": 3, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:leather_chestplate", + "weight": 3, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:leather_leggings", + "weight": 3, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:leather_boots", + "weight": 3, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 10, + "functions": [ + { + "function": "random_aux_value", + "values": { + "min": 0, + "max": 6 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:coast_armor_trim_smithing_template", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/shipwrecktreasure.json b/behavior_pack/loot_tables/chests/shipwrecktreasure.json new file mode 100644 index 0000000..7633f83 --- /dev/null +++ b/behavior_pack/loot_tables/chests/shipwrecktreasure.json @@ -0,0 +1,138 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 6 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 90, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:experience_bottle", + "weight": 5 + } + ] + }, + { + "rolls": { + "min": 2, + "max": 5 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_nugget", + "weight": 50, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gold_nugget", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:dye", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 10 + } + }, + { + "function": "set_data", + "data": 4 + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:coast_armor_trim_smithing_template", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/simple_dungeon.json b/behavior_pack/loot_tables/chests/simple_dungeon.json new file mode 100644 index 0000000..0e36dd5 --- /dev/null +++ b/behavior_pack/loot_tables/chests/simple_dungeon.json @@ -0,0 +1,263 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:saddle", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:appleEnchanted", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:record_13", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:record_cat", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:record_otherside", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:name_tag", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 10, + "functions": [ + { + "function": "enchant_randomly" + } + ] + } + ] + }, + { + "rolls": { + "min": 1, + "max": 4 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bread", + "weight": 20 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bucket", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:redstone", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:coal", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:melon_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:pumpkin_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 10 + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/spawn_bonus_chest.json b/behavior_pack/loot_tables/chests/spawn_bonus_chest.json new file mode 100644 index 0000000..7529186 --- /dev/null +++ b/behavior_pack/loot_tables/chests/spawn_bonus_chest.json @@ -0,0 +1,458 @@ +{ + "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:oak_planks", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 12 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:acacia_log", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:dark_oak_log", + "weight": 1, + "functions": [ + { + "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:oak_log", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:spruce_log", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:birch_log", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:jungle_log", + "weight": 1, + "functions": [ + { + "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:oak_sapling", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:spruce_sapling", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:birch_sapling", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:jungle_sapling", + "weight": 4, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:acacia_sapling", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 4, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:dark_oak_sapling", + "weight": 2, + "functions": [ + { + "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:cocoa_beans", + "weight": 2, + "functions": [ + { + "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 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/stronghold_corridor.json b/behavior_pack/loot_tables/chests/stronghold_corridor.json new file mode 100644 index 0000000..3237ede --- /dev/null +++ b/behavior_pack/loot_tables/chests/stronghold_corridor.json @@ -0,0 +1,201 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:ender_pearl", + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:diamond", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:redstone", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 9 + } + } + ], + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:bread", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:apple", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:iron_pickaxe", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:iron_chestplate", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:iron_helmet", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:iron_leggings", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:iron_boots", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:saddle", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:record_otherside", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 6, + "functions": [ + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 9 + }, + { + "type": "item", + "name": "minecraft:eye_armor_trim_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/stronghold_crossing.json b/behavior_pack/loot_tables/chests/stronghold_crossing.json new file mode 100644 index 0000000..6257570 --- /dev/null +++ b/behavior_pack/loot_tables/chests/stronghold_crossing.json @@ -0,0 +1,131 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 4 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:redstone", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 9 + } + } + ], + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:coal", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 8 + } + } + ], + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:bread", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:apple", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:iron_pickaxe", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 6, + "functions": [ + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:dye", + "weight": 75, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "set_data", + "data": 0 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/stronghold_library.json b/behavior_pack/loot_tables/chests/stronghold_library.json new file mode 100644 index 0000000..9a1ecc5 --- /dev/null +++ b/behavior_pack/loot_tables/chests/stronghold_library.json @@ -0,0 +1,72 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 10 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:book", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 100 + }, + { + "type": "item", + "name": "minecraft:paper", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 7 + } + } + ], + "weight": 100 + }, + { + "type": "item", + "name": "minecraft:map", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:compass", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 60, + "functions": [ + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:eye_armor_trim_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/trial_chambers/corridor.json b/behavior_pack/loot_tables/chests/trial_chambers/corridor.json new file mode 100644 index 0000000..57a1d73 --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/corridor.json @@ -0,0 +1,167 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_axe", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.4, + "max": 0.9 + } + }, + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:honeycomb", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:stone_axe", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:stone_pickaxe", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:ender_pearl", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bamboo_hanging_sign", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bamboo_planks", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:scaffolding", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:torch", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:tuff", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 20 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/entrance.json b/behavior_pack/loot_tables/chests/trial_chambers/entrance.json new file mode 100644 index 0000000..98f6a1e --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/entrance.json @@ -0,0 +1,76 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:trial_key", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:stick", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:wooden_axe", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:honeycomb", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 10 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/intersection.json b/behavior_pack/loot_tables/chests/trial_chambers/intersection.json new file mode 100644 index 0000000..4c7dc6c --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/intersection.json @@ -0,0 +1,129 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond_block", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald_block", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_axe", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.1, + "max": 0.5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_pickaxe", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.1, + "max": 0.5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:cake", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:amethyst_shard", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 20 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_block", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/intersection_barrel.json b/behavior_pack/loot_tables/chests/trial_chambers/intersection_barrel.json new file mode 100644 index 0000000..39719c0 --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/intersection_barrel.json @@ -0,0 +1,161 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond_axe", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.4, + "max": 0.9 + } + }, + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_pickaxe", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:compass", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bucket", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:golden_axe", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:golden_pickaxe", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bamboo_planks", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 15 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:baked_potato", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 6, + "max": 10 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward.json b/behavior_pack/loot_tables/chests/trial_chambers/reward.json new file mode 100644 index 0000000..82cdcc0 --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward.json @@ -0,0 +1,48 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_common.json", + "weight": 8 + }, + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_rare.json", + "weight": 2 + } + ] + }, + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_common.json", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_unique.json", + "weight": 1 + } + ], + "conditions": [ + { + "condition": "random_chance", + "chance": 0.25 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward_common.json b/behavior_pack/loot_tables/chests/trial_chambers/reward_common.json new file mode 100644 index 0000000..202d7eb --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward_common.json @@ -0,0 +1,143 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + }, + { + "function": "set_potion", + "id": "poison" + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:wind_charge", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:honey_bottle", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:ominous_bottle", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_ominous_bottle_amplifier", + "amplifier": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:wind_charge", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 12 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous.json b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous.json new file mode 100644 index 0000000..1b65aeb --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous.json @@ -0,0 +1,48 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_ominous_common.json", + "weight": 2 + }, + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_ominous_rare.json", + "weight": 8 + } + ] + }, + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_ominous_common.json", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/chests/trial_chambers/reward_ominous_unique.json", + "weight": 1 + } + ], + "conditions": [ + { + "condition": "random_chance", + "chance": 0.75 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_common.json b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_common.json new file mode 100644 index 0000000..ad334e1 --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_common.json @@ -0,0 +1,87 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:wind_charge", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 12 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 12 + } + }, + { + "function": "set_potion", + "id": "strong_slowness" + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:ominous_bottle", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_ominous_bottle_amplifier", + "amplifier": { + "min": 2, + "max": 4 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_rare.json b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_rare.json new file mode 100644 index 0000000..058c2f3 --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_rare.json @@ -0,0 +1,150 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald_block", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_block", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:crossbow", + "weight": 4, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 5.0, + "max": 20.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:diamond_axe", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 10.0, + "max": 20.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_chestplate", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 10.0, + "max": 20.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 2, + "functions": [ + { + "function": "enchant_book_for_trading", + "enchantments": [ + { + "name": "knockback", + "min": 1, + "max": 2 + }, + { + "name": "punch", + "min": 1, + "max": 2 + }, + { + "name": "smite", + "min": 1, + "max": 5 + }, + { + "name": "looting", + "min": 1, + "max": 3 + }, + { + "name": "multishot", + "min": 1, + "max": 1 + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 2, + "functions": [ + { + "function": "enchant_book_for_trading", + "enchantments": [ + { + "name": "breach", + "min": 1, + "max": 4 + }, + { + "name": "density", + "min": 1, + "max": 5 + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 2, + "functions": [ + { + "function": "enchant_book_for_trading", + "enchantments": [ + { + "name": "wind_burst", + "min": 1, + "max": 1 + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_block", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_unique.json b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_unique.json new file mode 100644 index 0000000..718dff3 --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward_ominous_unique.json @@ -0,0 +1,34 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:enchanted_golden_apple", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:flow_armor_trim_smithing_template", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:flow_banner_pattern", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:music_disc_creator", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:heavy_core", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward_rare.json b/behavior_pack/loot_tables/chests/trial_chambers/reward_rare.json new file mode 100644 index 0000000..a40fbd2 --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward_rare.json @@ -0,0 +1,220 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:shield", + "weight": 3, + "functions": [ + { + "function": "set_damage", + "damage": { + "min": 0.5, + "max": 1.0 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bow", + "weight": 3, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 5.0, + "max": 15.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:crossbow", + "weight": 2, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 5.0, + "max": 20.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_axe", + "weight": 2, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 0.0, + "max": 10.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_chestplate", + "weight": 2, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 0.0, + "max": 10.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:golden_carrot", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 2, + "functions": [ + { + "function": "enchant_book_for_trading", + "enchantments": [ + { + "name": "sharpness", + "min": 1, + "max": 5 + }, + { + "name": "bane_of_arthropods", + "min": 1, + "max": 5 + }, + { + "name": "efficiency", + "min": 1, + "max": 5 + }, + { + "name": "fortune", + "min": 1, + "max": 3 + }, + { + "name": "silk_touch", + "min": 1, + "max": 1 + }, + { + "name": "feather_falling", + "min": 1, + "max": 4 + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 2, + "functions": [ + { + "function": "enchant_book_for_trading", + "enchantments": [ + { + "name": "riptide", + "min": 1, + "max": 3 + }, + { + "name": "loyalty", + "min": 1, + "max": 3 + }, + { + "name": "channeling", + "min": 1, + "max": 1 + }, + { + "name": "impaling", + "min": 1, + "max": 5 + }, + { + "name": "mending", + "min": 1, + "max": 1 + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_chestplate", + "weight": 1, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 5.0, + "max": 15.0 + }, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_axe", + "weight": 1, + "functions": [ + { + "function": "enchant_with_levels", + "levels": { + "min": 5.0, + "max": 15.0 + }, + "treasure": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/reward_unique.json b/behavior_pack/loot_tables/chests/trial_chambers/reward_unique.json new file mode 100644 index 0000000..5acf15c --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/reward_unique.json @@ -0,0 +1,34 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:bolt_armor_trim_smithing_template", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:guster_banner_pattern", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:music_disc_precipice", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:trident", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/trial_chambers/supply.json b/behavior_pack/loot_tables/chests/trial_chambers/supply.json new file mode 100644 index 0000000..0f93dfb --- /dev/null +++ b/behavior_pack/loot_tables/chests/trial_chambers/supply.json @@ -0,0 +1,219 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 5 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 14 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + }, + { + "function": "set_potion", + "id": "poison" + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + }, + { + "function": "set_potion", + "id": "slowness" + } + ] + }, + { + "type": "item", + "name": "minecraft:baked_potato", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:glow_berries", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:acacia_planks", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:moss_block", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bone_meal", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:tuff", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 10 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:torch", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 6 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2.0 + }, + { + "function": "set_potion", + "id": "regeneration" + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 2.0 + }, + { + "function": "set_potion", + "id": "strength" + } + ] + }, + { + "type": "item", + "name": "minecraft:stone_pickaxe", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_damage", + "damage": { + "min": 0.15, + "max": 0.8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:milk_bucket", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/underwater_ruin_big.json b/behavior_pack/loot_tables/chests/underwater_ruin_big.json new file mode 100644 index 0000000..b6c7be5 --- /dev/null +++ b/behavior_pack/loot_tables/chests/underwater_ruin_big.json @@ -0,0 +1,110 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:coal", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gold_nugget", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2, + "max": 3 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 5, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:leather_chestplate", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:golden_helmet", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:fishing_rod", + "weight": 5, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:map", + "weight": 10, + "functions": [ + { + "function": "exploration_map", + "destination": "buriedtreasure" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/underwater_ruin_small.json b/behavior_pack/loot_tables/chests/underwater_ruin_small.json new file mode 100644 index 0000000..1d13ccc --- /dev/null +++ b/behavior_pack/loot_tables/chests/underwater_ruin_small.json @@ -0,0 +1,91 @@ +{ + "pools": [ + { + "rolls": { + "min": 2, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:coal", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:stone_axe", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2, + "max": 3 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_chestplate", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:golden_helmet", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:fishing_rod", + "weight": 5, + "functions": [ + { + "function": "enchant_randomly" + } + ] + }, + { + "type": "item", + "name": "minecraft:map", + "weight": 5, + "functions": [ + { + "function": "exploration_map", + "destination": "buriedtreasure" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_armorer.json b/behavior_pack/loot_tables/chests/village/village_armorer.json new file mode 100644 index 0000000..72ed709 --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_armorer.json @@ -0,0 +1,48 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 5 + }, + "entries": [ + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "name": "minecraft:iron_helmet" + }, + { + "type": "item", + "name": "minecraft:emerald" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_butcher.json b/behavior_pack/loot_tables/chests/village/village_butcher.json new file mode 100644 index 0000000..5f0adc7 --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_butcher.json @@ -0,0 +1,86 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 5 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:porkchop" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:wheat" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:beef" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:muttonRaw" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:coal" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_cartographer.json b/behavior_pack/loot_tables/chests/village/village_cartographer.json new file mode 100644 index 0000000..73c14fe --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_cartographer.json @@ -0,0 +1,73 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 5 + }, + "entries": [ + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:map" + }, + { + "type": "item", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:paper" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:compass" + }, + { + "type": "item", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "name": "minecraft:oak_sapling" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_desert_house.json b/behavior_pack/loot_tables/chests/village/village_desert_house.json new file mode 100644 index 0000000..0f3bfaf --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_desert_house.json @@ -0,0 +1,99 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:clay_ball" + }, + { + "type": "item", + "functions": [ + { + "function": "set_data", + "data": 2 + } + ], + "name": "minecraft:dye" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:cactus" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 7 + } + } + ], + "name": "minecraft:wheat" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "name": "minecraft:book" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:deadbush" + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:emerald" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_fletcher.json b/behavior_pack/loot_tables/chests/village/village_fletcher.json new file mode 100644 index 0000000..6765ace --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_fletcher.json @@ -0,0 +1,87 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 1.0, + "max": 5.0 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1.0, + "max": 3.0 + } + } + ], + "name": "minecraft:arrow" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1.0, + "max": 3.0 + } + } + ], + "name": "minecraft:feather" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1.0, + "max": 3.0 + } + } + ], + "name": "minecraft:egg" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1.0, + "max": 3.0 + } + } + ], + "name": "minecraft:flint" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1.0, + "max": 3.0 + } + } + ], + "name": "minecraft:stick" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_mason.json b/behavior_pack/loot_tables/chests/village/village_mason.json new file mode 100644 index 0000000..1c3065a --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_mason.json @@ -0,0 +1,66 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 1, + "max": 5 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:clay_ball" + }, + { + "type": "item", + "name": "minecraft:flower_pot" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:stone" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:stone_bricks" + }, + { + "type": "item", + "weight": 4, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "name": "minecraft:yellow_dye" + }, + { + "type": "item", + "name": "minecraft:smooth_stone" + }, + { + "type": "item", + "name": "minecraft:emerald" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_plains_house.json b/behavior_pack/loot_tables/chests/village/village_plains_house.json new file mode 100644 index 0000000..a2d3b50 --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_plains_house.json @@ -0,0 +1,113 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:gold_nugget" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:dandelion" + }, + { + "type": "item", + "name": "minecraft:poppy" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 7 + } + } + ], + "name": "minecraft:potato" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:apple" + }, + { + "type": "item", + "name": "minecraft:book" + }, + { + "type": "item", + "name": "minecraft:feather" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "name": "minecraft:oak_sapling" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_savanna_house.json b/behavior_pack/loot_tables/chests/village/village_savanna_house.json new file mode 100644 index 0000000..4fa4d9b --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_savanna_house.json @@ -0,0 +1,113 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:gold_nugget" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:short_grass" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:tall_grass" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:wheat_seeds" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "name": "minecraft:acacia_sapling" + }, + { + "type": "item", + "name": "minecraft:saddle" + }, + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 2 + } + } + ], + "name": "minecraft:torch" + }, + { + "type": "item", + "name": "minecraft:bucket" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_shepherd.json b/behavior_pack/loot_tables/chests/village/village_shepherd.json new file mode 100644 index 0000000..5f7d73d --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_shepherd.json @@ -0,0 +1,105 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 1, + "max": 5 + }, + "entries": [ + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 8 + } + } + ], + "name": "minecraft:white_wool" + }, + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:black_wool" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:gray_wool" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:brown_wool" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:light_gray_wool" + }, + { + "type": "item", + "name": "minecraft:emerald" + }, + { + "type": "item", + "name": "minecraft:shears" + }, + { + "type": "item", + "weight": 6, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 6 + } + } + ], + "name": "minecraft:wheat" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_snowy_house.json b/behavior_pack/loot_tables/chests/village/village_snowy_house.json new file mode 100644 index 0000000..6fa1e7a --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_snowy_house.json @@ -0,0 +1,113 @@ +{ + "type": "minecraft:chest", + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:blue_ice" + }, + { + "type": "item", + "weight": 4, + "name": "minecraft:snow" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 7 + } + } + ], + "name": "minecraft:potato" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:beetroot_seeds" + }, + { + "type": "item", + "name": "minecraft:beetroot_soup" + }, + { + "type": "item", + "name": "minecraft:furnace" + }, + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 7 + } + } + ], + "name": "minecraft:snowball" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:coal" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_taiga_house.json b/behavior_pack/loot_tables/chests/village/village_taiga_house.json new file mode 100644 index 0000000..c3441c6 --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_taiga_house.json @@ -0,0 +1,133 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:iron_nugget" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:fern" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:large_fern" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 7 + } + } + ], + "name": "minecraft:potato" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:pumpkin_seeds" + }, + { + "type": "item", + "name": "minecraft:pumpkin_pie" + }, + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:emerald" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:spruce_sapling" + }, + { + "type": "item", + "functions": [ + { + "function": "set_data", + "data": 1 + } + ], + "name": "minecraft:sign" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:spruce_log" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_tannery.json b/behavior_pack/loot_tables/chests/village/village_tannery.json new file mode 100644 index 0000000..bfc0bf1 --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_tannery.json @@ -0,0 +1,76 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 5 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:leather" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:leather_chestplate" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:leather_boots" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:leather_helmet" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 2, + "name": "minecraft:leather_leggings" + }, + { + "type": "item", + "name": "minecraft:saddle" + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:emerald" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_temple.json b/behavior_pack/loot_tables/chests/village/village_temple.json new file mode 100644 index 0000000..d669e95 --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_temple.json @@ -0,0 +1,97 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:redstone" + }, + { + "type": "item", + "weight": 7, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 7, + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:rotten_flesh" + }, + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + }, + { + "function": "set_data", + "data": 4 + } + ], + "name": "minecraft:dye" + }, + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "item", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 1, + "max": 4 + } + } + ], + "name": "minecraft:emerald" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_toolsmith.json b/behavior_pack/loot_tables/chests/village/village_toolsmith.json new file mode 100644 index 0000000..8a2c20e --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_toolsmith.json @@ -0,0 +1,103 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:diamond" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "item", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_pickaxe" + }, + { + "type": "item", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:coal" + }, + { + "type": "item", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:stick" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_shovel" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village/village_weaponsmith.json b/behavior_pack/loot_tables/chests/village/village_weaponsmith.json new file mode 100644 index 0000000..4010c55 --- /dev/null +++ b/behavior_pack/loot_tables/chests/village/village_weaponsmith.json @@ -0,0 +1,157 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:diamond" + }, + { + "type": "item", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "name": "minecraft:iron_ingot" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:gold_ingot" + }, + { + "type": "item", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:bread" + }, + { + "type": "item", + "weight": 15, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "name": "minecraft:apple" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_pickaxe" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_sword" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_chestplate" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_helmet" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_leggings" + }, + { + "type": "item", + "weight": 5, + "name": "minecraft:iron_boots" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 7 + } + } + ], + "name": "minecraft:obsidian" + }, + { + "type": "item", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 7 + } + } + ], + "name": "minecraft:oak_sapling" + }, + { + "type": "item", + "weight": 3, + "name": "minecraft:saddle" + }, + { + "type": "item", + "name": "minecraft:horsearmoriron" + }, + { + "type": "item", + "name": "minecraft:horsearmorgold" + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village_blacksmith.json b/behavior_pack/loot_tables/chests/village_blacksmith.json new file mode 100644 index 0000000..9fb268a --- /dev/null +++ b/behavior_pack/loot_tables/chests/village_blacksmith.json @@ -0,0 +1,160 @@ +{ + "pools": [ + { + "rolls": { + "min": 3, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 5 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:bread", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:apple", + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:iron_pickaxe", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_chestplate", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_helmet", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_leggings", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:iron_boots", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:obsidian", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 7 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:sapling", + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 7 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:saddle", + "weight": 3 + }, + { + "type": "item", + "name": "minecraft:horsearmoriron", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:horsearmorgold", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:horsearmordiamond", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/village_two_room_house.json b/behavior_pack/loot_tables/chests/village_two_room_house.json new file mode 100644 index 0000000..e097a7e --- /dev/null +++ b/behavior_pack/loot_tables/chests/village_two_room_house.json @@ -0,0 +1,93 @@ +{ + "pools": [ + { + "rolls": { + "min": 6, + "max": 8 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:potato", + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 8 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:carrot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ], + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:wheat", + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 12 + } + } + ], + "weight": 15 + }, + { + "type": "item", + "name": "minecraft:wheat_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:beetroot", + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 8 + } + } + ], + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:wooden_hoe", + "functions": [ + { + "function": "set_count", + "count": 1 + } + ], + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/chests/woodland_mansion.json b/behavior_pack/loot_tables/chests/woodland_mansion.json new file mode 100644 index 0000000..95e3ed5 --- /dev/null +++ b/behavior_pack/loot_tables/chests/woodland_mansion.json @@ -0,0 +1,287 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:lead", + "weight": 100 + }, + { + "type": "item", + "name": "minecraft:golden_apple", + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:appleEnchanted", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:record_13", + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:record_cat", + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:name_tag", + "weight": 100 + }, + { + "type": "item", + "name": "minecraft:chainmail_chestplate", + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:diamond_hoe", + "weight": 75 + }, + { + "type": "item", + "name": "minecraft:diamond_chestplate", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 60, + "functions": [ + { + "function": "enchant_randomly", + "treasure": true + } + ] + } + ] + }, + { + "rolls": { + "min": 1, + "max": 4 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 50, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gold_ingot", + "weight": 25, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bread", + "weight": 100 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 100, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bucket", + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:redstone", + "weight": 75, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:coal", + "weight": 75, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:melon_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:pumpkin_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:beetroot_seeds", + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ], + "weight": 50 + }, + { + "type": "item", + "name": "minecraft:resin_clump", + "weight": 50, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ] + } + ] + }, + { + "rolls": 3, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 50, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 50, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 50, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 50, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 8 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:vex_armor_trim_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/dispensers/trial_chambers/chamber.json b/behavior_pack/loot_tables/dispensers/trial_chambers/chamber.json new file mode 100644 index 0000000..62bccf3 --- /dev/null +++ b/behavior_pack/loot_tables/dispensers/trial_chambers/chamber.json @@ -0,0 +1,202 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:water_bucket", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 4, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:snowball", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:egg", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:fire_charge", + "weight": 6, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:splash_potion", + "weight": 1, + "functions": [ + { + "function": "set_potion", + "id": "slowness" + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:splash_potion", + "weight": 1, + "functions": [ + { + "function": "set_potion", + "id": "poison" + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:splash_potion", + "weight": 1, + "functions": [ + { + "function": "set_potion", + "id": "weakness" + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_potion", + "id": "slowness" + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_potion", + "id": "poison" + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_potion", + "id": "weakness" + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_potion", + "id": "healing" + }, + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/dispensers/trial_chambers/corridor.json b/behavior_pack/loot_tables/dispensers/trial_chambers/corridor.json new file mode 100644 index 0000000..6fd08a1 --- /dev/null +++ b/behavior_pack/loot_tables/dispensers/trial_chambers/corridor.json @@ -0,0 +1,23 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/dispensers/trial_chambers/water.json b/behavior_pack/loot_tables/dispensers/trial_chambers/water.json new file mode 100644 index 0000000..456471e --- /dev/null +++ b/behavior_pack/loot_tables/dispensers/trial_chambers/water.json @@ -0,0 +1,20 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:water_bucket", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/empty.json b/behavior_pack/loot_tables/empty.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/empty.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/armadillo_brush.json b/behavior_pack/loot_tables/entities/armadillo_brush.json new file mode 100644 index 0000000..2662395 --- /dev/null +++ b/behavior_pack/loot_tables/entities/armadillo_brush.json @@ -0,0 +1,13 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:armadillo_scute" + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/armor_set_chain.json b/behavior_pack/loot_tables/entities/armor_set_chain.json new file mode 100644 index 0000000..b334aec --- /dev/null +++ b/behavior_pack/loot_tables/entities/armor_set_chain.json @@ -0,0 +1,98 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:chainmail_helmet", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.50, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:chainmail_chestplate", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.50, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:chainmail_leggings", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:chainmail_boots", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/armor_set_diamond.json b/behavior_pack/loot_tables/entities/armor_set_diamond.json new file mode 100644 index 0000000..6a5b3f9 --- /dev/null +++ b/behavior_pack/loot_tables/entities/armor_set_diamond.json @@ -0,0 +1,98 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond_helmet", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond_chestplate", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond_leggings", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:diamond_boots", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/armor_set_gold.json b/behavior_pack/loot_tables/entities/armor_set_gold.json new file mode 100644 index 0000000..d558fb2 --- /dev/null +++ b/behavior_pack/loot_tables/entities/armor_set_gold.json @@ -0,0 +1,98 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_helmet", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_chestplate", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_leggings", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_boots", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/armor_set_iron.json b/behavior_pack/loot_tables/entities/armor_set_iron.json new file mode 100644 index 0000000..562731c --- /dev/null +++ b/behavior_pack/loot_tables/entities/armor_set_iron.json @@ -0,0 +1,98 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_helmet", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_chestplate", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_leggings", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_boots", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/armor_set_leather.json b/behavior_pack/loot_tables/entities/armor_set_leather.json new file mode 100644 index 0000000..aada8f3 --- /dev/null +++ b/behavior_pack/loot_tables/entities/armor_set_leather.json @@ -0,0 +1,100 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_helmet", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_chestplate", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_leggings", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ], + + "pools": [ + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.5, + "peaceful": 0, + "hard": 0.6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_boots", + "weight": 1, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/armor_stand.json b/behavior_pack/loot_tables/entities/armor_stand.json new file mode 100644 index 0000000..78324e7 --- /dev/null +++ b/behavior_pack/loot_tables/entities/armor_stand.json @@ -0,0 +1,6 @@ +{ + "pools": [ + { + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/bat.json b/behavior_pack/loot_tables/entities/bat.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/bat.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/blaze.json b/behavior_pack/loot_tables/entities/blaze.json new file mode 100644 index 0000000..713ed64 --- /dev/null +++ b/behavior_pack/loot_tables/entities/blaze.json @@ -0,0 +1,35 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:blaze_rod", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player_or_pets" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/boat.json b/behavior_pack/loot_tables/entities/boat.json new file mode 100644 index 0000000..78324e7 --- /dev/null +++ b/behavior_pack/loot_tables/entities/boat.json @@ -0,0 +1,6 @@ +{ + "pools": [ + { + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/bogged.json b/behavior_pack/loot_tables/entities/bogged.json new file mode 100644 index 0000000..225a443 --- /dev/null +++ b/behavior_pack/loot_tables/entities/bogged.json @@ -0,0 +1,92 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + }, + "limit": 1 + }, + { + "function": "minecraft:set_potion", + "id": "poison" + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player_or_pets" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/bogged_shear.json b/behavior_pack/loot_tables/entities/bogged_shear.json new file mode 100644 index 0000000..b62e293 --- /dev/null +++ b/behavior_pack/loot_tables/entities/bogged_shear.json @@ -0,0 +1,37 @@ +{ + "pools": [ + { + "rolls": 2, + "entries": [ + { + "type": "item", + "name": "minecraft:brown_mushroom", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_data_from_color_index" + }, + { + "function": "set_count", + "count": 1 + } + ] + }, + { + "type": "item", + "name": "minecraft:red_mushroom", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_data_from_color_index" + }, + { + "function": "set_count", + "count": 1 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/breeze.json b/behavior_pack/loot_tables/entities/breeze.json new file mode 100644 index 0000000..4ec7318 --- /dev/null +++ b/behavior_pack/loot_tables/entities/breeze.json @@ -0,0 +1,35 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:breeze_rod", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player_or_pets" + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/brown_mooshroom_shear.json b/behavior_pack/loot_tables/entities/brown_mooshroom_shear.json new file mode 100644 index 0000000..09039ce --- /dev/null +++ b/behavior_pack/loot_tables/entities/brown_mooshroom_shear.json @@ -0,0 +1,26 @@ +{ + "pools": [ + { + "rolls": 5, + "entries": [ + { + "type": "item", + "name": "minecraft:brown_mushroom", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_data_from_color_index" + }, + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/cat.json b/behavior_pack/loot_tables/entities/cat.json new file mode 100644 index 0000000..0793e40 --- /dev/null +++ b/behavior_pack/loot_tables/entities/cat.json @@ -0,0 +1,23 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:string", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/cat_gift.json b/behavior_pack/loot_tables/entities/cat_gift.json new file mode 100644 index 0000000..7d806d6 --- /dev/null +++ b/behavior_pack/loot_tables/entities/cat_gift.json @@ -0,0 +1,44 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rabbit_hide", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:rabbit_foot", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:chicken", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:feather", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:phantom_membrane", + "weight": 2 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/cave_spider.json b/behavior_pack/loot_tables/entities/cave_spider.json new file mode 100644 index 0000000..fa910f5 --- /dev/null +++ b/behavior_pack/loot_tables/entities/cave_spider.json @@ -0,0 +1,61 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:string", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:spider_eye", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/chicken.json b/behavior_pack/loot_tables/entities/chicken.json new file mode 100644 index 0000000..f771d3b --- /dev/null +++ b/behavior_pack/loot_tables/entities/chicken.json @@ -0,0 +1,61 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:feather", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:chicken", + "weight": 1, + "functions": [ + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/clownfish.json b/behavior_pack/loot_tables/entities/clownfish.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/clownfish.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/cold_ocean_ruins_brushable_block.json b/behavior_pack/loot_tables/entities/cold_ocean_ruins_brushable_block.json new file mode 100644 index 0000000..a2e0304 --- /dev/null +++ b/behavior_pack/loot_tables/entities/cold_ocean_ruins_brushable_block.json @@ -0,0 +1,62 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:explorer_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:mourner_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:plenty_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:blade_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:iron_axe", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wooden_hoe", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:coal", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:gold_nugget", + "weight": 2 + } + ] + } + ] + } \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/cow.json b/behavior_pack/loot_tables/entities/cow.json new file mode 100644 index 0000000..14839a6 --- /dev/null +++ b/behavior_pack/loot_tables/entities/cow.json @@ -0,0 +1,68 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:beef", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/creeper.json b/behavior_pack/loot_tables/entities/creeper.json new file mode 100644 index 0000000..d5046eb --- /dev/null +++ b/behavior_pack/loot_tables/entities/creeper.json @@ -0,0 +1,207 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_entity", + "entity_type": "minecraft:skeleton" + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:record_13" + }, + { + "type": "item", + "name": "minecraft:record_cat" + }, + { + "type": "item", + "name": "minecraft:record_blocks" + }, + { + "type": "item", + "name": "minecraft:record_chirp" + }, + { + "type": "item", + "name": "minecraft:record_far" + }, + { + "type": "item", + "name": "minecraft:record_mall" + }, + { + "type": "item", + "name": "minecraft:record_mellohi" + }, + { + "type": "item", + "name": "minecraft:record_stal" + }, + { + "type": "item", + "name": "minecraft:record_strad" + }, + { + "type": "item", + "name": "minecraft:record_ward" + }, + { + "type": "item", + "name": "minecraft:record_11" + }, + { + "type": "item", + "name": "minecraft:record_wait" + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_entity", + "entity_type": "minecraft:stray" + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:record_13" + }, + { + "type": "item", + "name": "minecraft:record_cat" + }, + { + "type": "item", + "name": "minecraft:record_blocks" + }, + { + "type": "item", + "name": "minecraft:record_chirp" + }, + { + "type": "item", + "name": "minecraft:record_far" + }, + { + "type": "item", + "name": "minecraft:record_mall" + }, + { + "type": "item", + "name": "minecraft:record_mellohi" + }, + { + "type": "item", + "name": "minecraft:record_stal" + }, + { + "type": "item", + "name": "minecraft:record_strad" + }, + { + "type": "item", + "name": "minecraft:record_ward" + }, + { + "type": "item", + "name": "minecraft:record_11" + }, + { + "type": "item", + "name": "minecraft:record_wait" + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_entity", + "entity_type": "minecraft:bogged" + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:record_13" + }, + { + "type": "item", + "name": "minecraft:record_cat" + }, + { + "type": "item", + "name": "minecraft:record_blocks" + }, + { + "type": "item", + "name": "minecraft:record_chirp" + }, + { + "type": "item", + "name": "minecraft:record_far" + }, + { + "type": "item", + "name": "minecraft:record_mall" + }, + { + "type": "item", + "name": "minecraft:record_mellohi" + }, + { + "type": "item", + "name": "minecraft:record_stal" + }, + { + "type": "item", + "name": "minecraft:record_strad" + }, + { + "type": "item", + "name": "minecraft:record_ward" + }, + { + "type": "item", + "name": "minecraft:record_11" + }, + { + "type": "item", + "name": "minecraft:record_wait" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/desert_pyramid_brushable_block.json b/behavior_pack/loot_tables/entities/desert_pyramid_brushable_block.json new file mode 100644 index 0000000..b09a7b6 --- /dev/null +++ b/behavior_pack/loot_tables/entities/desert_pyramid_brushable_block.json @@ -0,0 +1,52 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:archer_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:miner_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:prize_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:skull_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:tnt", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/desert_well_brushable_block.json b/behavior_pack/loot_tables/entities/desert_well_brushable_block.json new file mode 100644 index 0000000..6ee578c --- /dev/null +++ b/behavior_pack/loot_tables/entities/desert_well_brushable_block.json @@ -0,0 +1,51 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:arms_up_pottery_sherd", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:brewer_pottery_sherd", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:brick", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:stick", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "random_aux_value", + "values": { + "min": 0, + "max": 6 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/dolphin.json b/behavior_pack/loot_tables/entities/dolphin.json new file mode 100644 index 0000000..2049d5a --- /dev/null +++ b/behavior_pack/loot_tables/entities/dolphin.json @@ -0,0 +1,42 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:fish", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/drowned.json b/behavior_pack/loot_tables/entities/drowned.json new file mode 100644 index 0000000..8e87764 --- /dev/null +++ b/behavior_pack/loot_tables/entities/drowned.json @@ -0,0 +1,51 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_player_or_pets" + }, + { + "condition": "random_chance_with_looting", + "chance": 0.11, + "looting_multiplier": 0.02 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:copper_ingot", + "weight": 5 + } + ] + } + ] +} + diff --git a/behavior_pack/loot_tables/entities/drowned_equipment.json b/behavior_pack/loot_tables/entities/drowned_equipment.json new file mode 100644 index 0000000..c4f8df2 --- /dev/null +++ b/behavior_pack/loot_tables/entities/drowned_equipment.json @@ -0,0 +1,36 @@ +{ + "pools": [ + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance", + "chance": 0.01 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:fishing_rod", + "weight": 5 + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance", + "chance": 0.08 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:nautilus_shell", + "weight": 5 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/drowned_ranged_equipment.json b/behavior_pack/loot_tables/entities/drowned_ranged_equipment.json new file mode 100644 index 0000000..0243703 --- /dev/null +++ b/behavior_pack/loot_tables/entities/drowned_ranged_equipment.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:trident", + "weight": 5 + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance", + "chance": 0.08 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:nautilus_shell", + "weight": 5 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/elder_guardian.json b/behavior_pack/loot_tables/entities/elder_guardian.json new file mode 100644 index 0000000..72f351e --- /dev/null +++ b/behavior_pack/loot_tables/entities/elder_guardian.json @@ -0,0 +1,116 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:prismarine_shard", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:fish", + "weight": 3, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:prismarine_crystals", + "weight": 2, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "empty", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:wet_sponge", + "weight": 1 + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_player" + }, + { + "condition": "random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ], + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/fish", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "empty", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:tide_armor_trim_smithing_template", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/empty_brushable_block.json b/behavior_pack/loot_tables/entities/empty_brushable_block.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/empty_brushable_block.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/enderman.json b/behavior_pack/loot_tables/entities/enderman.json new file mode 100644 index 0000000..67bc046 --- /dev/null +++ b/behavior_pack/loot_tables/entities/enderman.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:ender_pearl", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/endermite.json b/behavior_pack/loot_tables/entities/endermite.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/endermite.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/evocation_illager.json b/behavior_pack/loot_tables/entities/evocation_illager.json new file mode 100644 index 0000000..811babd --- /dev/null +++ b/behavior_pack/loot_tables/entities/evocation_illager.json @@ -0,0 +1,49 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:totem", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/fish.json b/behavior_pack/loot_tables/entities/fish.json new file mode 100644 index 0000000..4766aca --- /dev/null +++ b/behavior_pack/loot_tables/entities/fish.json @@ -0,0 +1,54 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:fish", + "weight": 1, + "functions": [ + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + } + ] + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance_with_looting", + "chance": 0.25, + "looting_multiplier": 0.01 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/fox_equipment.json b/behavior_pack/loot_tables/entities/fox_equipment.json new file mode 100644 index 0000000..8bc02be --- /dev/null +++ b/behavior_pack/loot_tables/entities/fox_equipment.json @@ -0,0 +1,50 @@ +{ + "pools": [ + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance", + "chance": 0.2 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:egg", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:rabbit_foot", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:rabbit_hide", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:leather", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:feather", + "weight": 3 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/frog.json b/behavior_pack/loot_tables/entities/frog.json new file mode 100644 index 0000000..233d2a4 --- /dev/null +++ b/behavior_pack/loot_tables/entities/frog.json @@ -0,0 +1,80 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:slime_ball", + "weight": 1 + } + ], + "conditions": [ + { + "condition": "entity_killed", + "entity_type": "minecraft:slime" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:ochre_froglight", + "weight": 1 + } + ], + "conditions": [ + { + "condition": "has_variant", + "value": 0 + }, + { + "condition": "entity_killed", + "entity_type": "minecraft:magma_cube" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:verdant_froglight", + "weight": 1 + } + ], + "conditions": [ + { + "condition": "has_variant", + "value": 1 + }, + { + "condition": "entity_killed", + "entity_type": "minecraft:magma_cube" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:pearlescent_froglight", + "weight": 1 + } + ], + "conditions": [ + { + "condition": "has_variant", + "value": 2 + }, + { + "condition": "entity_killed", + "entity_type": "minecraft:magma_cube" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/ghast.json b/behavior_pack/loot_tables/entities/ghast.json new file mode 100644 index 0000000..ebf4b0e --- /dev/null +++ b/behavior_pack/loot_tables/entities/ghast.json @@ -0,0 +1,56 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:ghast_tear", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/giant.json b/behavior_pack/loot_tables/entities/giant.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/giant.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/glow_squid.json b/behavior_pack/loot_tables/entities/glow_squid.json new file mode 100644 index 0000000..92bf213 --- /dev/null +++ b/behavior_pack/loot_tables/entities/glow_squid.json @@ -0,0 +1,34 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:glow_ink_sac", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "set_data", + "data": 0 + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/goat.json b/behavior_pack/loot_tables/entities/goat.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/behavior_pack/loot_tables/entities/goat.json @@ -0,0 +1 @@ +{} diff --git a/behavior_pack/loot_tables/entities/guardian.json b/behavior_pack/loot_tables/entities/guardian.json new file mode 100644 index 0000000..c01fc49 --- /dev/null +++ b/behavior_pack/loot_tables/entities/guardian.json @@ -0,0 +1,87 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:prismarine_shard", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:fish", + "weight": 2, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:prismarine_crystals", + "weight": 2, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "empty", + "weight": 1 + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_player" + }, + { + "condition": "random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ], + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/fish", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/hoglin.json b/behavior_pack/loot_tables/entities/hoglin.json new file mode 100644 index 0000000..f5cf2c9 --- /dev/null +++ b/behavior_pack/loot_tables/entities/hoglin.json @@ -0,0 +1,68 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:porkchop", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/horse.json b/behavior_pack/loot_tables/entities/horse.json new file mode 100644 index 0000000..2c87ecc --- /dev/null +++ b/behavior_pack/loot_tables/entities/horse.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather", + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/iron_golem.json b/behavior_pack/loot_tables/entities/iron_golem.json new file mode 100644 index 0000000..6894e64 --- /dev/null +++ b/behavior_pack/loot_tables/entities/iron_golem.json @@ -0,0 +1,42 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:poppy", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 5 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/llama.json b/behavior_pack/loot_tables/entities/llama.json new file mode 100644 index 0000000..2c87ecc --- /dev/null +++ b/behavior_pack/loot_tables/entities/llama.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather", + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/magma_cube.json b/behavior_pack/loot_tables/entities/magma_cube.json new file mode 100644 index 0000000..cdce036 --- /dev/null +++ b/behavior_pack/loot_tables/entities/magma_cube.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:magma_cream", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/mooshroom.json b/behavior_pack/loot_tables/entities/mooshroom.json new file mode 100644 index 0000000..14839a6 --- /dev/null +++ b/behavior_pack/loot_tables/entities/mooshroom.json @@ -0,0 +1,68 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:beef", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/mooshroom_shear.json b/behavior_pack/loot_tables/entities/mooshroom_shear.json new file mode 100644 index 0000000..16ca51e --- /dev/null +++ b/behavior_pack/loot_tables/entities/mooshroom_shear.json @@ -0,0 +1,26 @@ +{ + "pools": [ + { + "rolls": 5, + "entries": [ + { + "type": "item", + "name": "minecraft:red_mushroom", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_data_from_color_index" + }, + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/ocelot.json b/behavior_pack/loot_tables/entities/ocelot.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/ocelot.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/panda.json b/behavior_pack/loot_tables/entities/panda.json new file mode 100644 index 0000000..192f7b8 --- /dev/null +++ b/behavior_pack/loot_tables/entities/panda.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bamboo", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/panda_sneeze.json b/behavior_pack/loot_tables/entities/panda_sneeze.json new file mode 100644 index 0000000..682c063 --- /dev/null +++ b/behavior_pack/loot_tables/entities/panda_sneeze.json @@ -0,0 +1,14 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:slime_ball", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/parrot.json b/behavior_pack/loot_tables/entities/parrot.json new file mode 100644 index 0000000..502428d --- /dev/null +++ b/behavior_pack/loot_tables/entities/parrot.json @@ -0,0 +1,23 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:feather", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/phantom.json b/behavior_pack/loot_tables/entities/phantom.json new file mode 100644 index 0000000..36b4bca --- /dev/null +++ b/behavior_pack/loot_tables/entities/phantom.json @@ -0,0 +1,35 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:phantom_membrane", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/pig.json b/behavior_pack/loot_tables/entities/pig.json new file mode 100644 index 0000000..7247911 --- /dev/null +++ b/behavior_pack/loot_tables/entities/pig.json @@ -0,0 +1,42 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:porkchop", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/pig_saddled.json b/behavior_pack/loot_tables/entities/pig_saddled.json new file mode 100644 index 0000000..849dd3f --- /dev/null +++ b/behavior_pack/loot_tables/entities/pig_saddled.json @@ -0,0 +1,61 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:porkchop", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:saddle", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/piglin_barter.json b/behavior_pack/loot_tables/entities/piglin_barter.json new file mode 100644 index 0000000..e0e85bb --- /dev/null +++ b/behavior_pack/loot_tables/entities/piglin_barter.json @@ -0,0 +1,238 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:book", + "weight": 5, + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "soul_speed", + "level": [1, 3] + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_boots", + "weight": 8, + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "soul_speed", + "level": [1, 3] + } + ] + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 8, + "functions": [ + { + "function": "set_potion", + "id": "fire_resistance" + } + ] + }, + { + "type": "item", + "name": "minecraft:splash_potion", + "weight": 8, + "functions": [ + { + "function": "set_potion", + "id": "fire_resistance" + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 10, + "functions": [ + { + "function": "set_potion", + "id": "water" + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_nugget", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 10, + "max": 36 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:ender_pearl", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 3, + "max": 9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:quartz", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 5, + "max": 12 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:obsidian", + "weight": 40 + }, + { + "type": "item", + "name": "minecraft:crying_obsidian", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:fireball", + "weight": 40 + }, + { + "type": "item", + "name": "minecraft:leather", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:soul_sand", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:netherbrick", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 6, + "max": 12 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gravel", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 16 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:blackstone", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 8, + "max": 16 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/piglin_brute_gear.json b/behavior_pack/loot_tables/entities/piglin_brute_gear.json new file mode 100644 index 0000000..a393b7d --- /dev/null +++ b/behavior_pack/loot_tables/entities/piglin_brute_gear.json @@ -0,0 +1,14 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_axe", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/piglin_gear_melee.json b/behavior_pack/loot_tables/entities/piglin_gear_melee.json new file mode 100644 index 0000000..0adc0d4 --- /dev/null +++ b/behavior_pack/loot_tables/entities/piglin_gear_melee.json @@ -0,0 +1,50 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_sword", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.10 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 1.0, + "peaceful": 0, + "easy": 0 + }, + { + "condition": "random_regional_difficulty_chance", + "max_chance": 0.15 + } + ], + "tiers": { + "initial_range": 1 + }, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_gold.json" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/piglin_gear_ranged.json b/behavior_pack/loot_tables/entities/piglin_gear_ranged.json new file mode 100644 index 0000000..7f1323f --- /dev/null +++ b/behavior_pack/loot_tables/entities/piglin_gear_ranged.json @@ -0,0 +1,50 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:crossbow", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.10 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 1.0, + "peaceful": 0, + "easy": 0 + }, + { + "condition": "random_regional_difficulty_chance", + "max_chance": 0.15 + } + ], + "tiers": { + "initial_range": 1 + }, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_gold.json" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/pillager.json b/behavior_pack/loot_tables/entities/pillager.json new file mode 100644 index 0000000..c6baba7 --- /dev/null +++ b/behavior_pack/loot_tables/entities/pillager.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/pillager_captain.json b/behavior_pack/loot_tables/entities/pillager_captain.json new file mode 100644 index 0000000..b683cfd --- /dev/null +++ b/behavior_pack/loot_tables/entities/pillager_captain.json @@ -0,0 +1,32 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:ominous_bottle", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1 + }, + { + "function": "set_ominous_bottle_amplifier", + "amplifier": { + "min": 0, + "max": 4 + } + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/pillager_captain_equipment.json b/behavior_pack/loot_tables/entities/pillager_captain_equipment.json new file mode 100644 index 0000000..3862fe4 --- /dev/null +++ b/behavior_pack/loot_tables/entities/pillager_captain_equipment.json @@ -0,0 +1,43 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:banner", + "weight": 1, + "functions": [ + { + "function": "set_banner_details", + "type": 1 + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:crossbow", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.10 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/pillager_gear.json b/behavior_pack/loot_tables/entities/pillager_gear.json new file mode 100644 index 0000000..9efa2bd --- /dev/null +++ b/behavior_pack/loot_tables/entities/pillager_gear.json @@ -0,0 +1,27 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:crossbow", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.10 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/pillager_raid.json b/behavior_pack/loot_tables/entities/pillager_raid.json new file mode 100644 index 0000000..e2f4e42 --- /dev/null +++ b/behavior_pack/loot_tables/entities/pillager_raid.json @@ -0,0 +1,22 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/pillager.json" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/raider_drops.json" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/polar_bear.json b/behavior_pack/loot_tables/entities/polar_bear.json new file mode 100644 index 0000000..05d3d12 --- /dev/null +++ b/behavior_pack/loot_tables/entities/polar_bear.json @@ -0,0 +1,80 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:fish", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:salmon", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/pufferfish.json b/behavior_pack/loot_tables/entities/pufferfish.json new file mode 100644 index 0000000..03c6fbc --- /dev/null +++ b/behavior_pack/loot_tables/entities/pufferfish.json @@ -0,0 +1,40 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:pufferfish", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance_with_looting", + "chance": 0.25, + "looting_multiplier": 0.01 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/rabbit.json b/behavior_pack/loot_tables/entities/rabbit.json new file mode 100644 index 0000000..dadf77d --- /dev/null +++ b/behavior_pack/loot_tables/entities/rabbit.json @@ -0,0 +1,81 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rabbit_hide", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rabbit", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_player" + }, + { + "condition": "random_chance_with_looting", + "chance": 0.1, + "looting_multiplier": 0.03 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rabbit_foot", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/raider_drops.json b/behavior_pack/loot_tables/entities/raider_drops.json new file mode 100644 index 0000000..565d653 --- /dev/null +++ b/behavior_pack/loot_tables/entities/raider_drops.json @@ -0,0 +1,261 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 0.65, + "peaceful": 0, + "hard": 0.8 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 40, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 20, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 3 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 8, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 5 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 8, + "functions": [ + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_pickaxe", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_axe", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_shovel", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_helmet", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_chestplate", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_leggings", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_boots", + "weight": 10, + "functions": [ + { + "function": "enchant_random_gear", + "chance": 0.5 + }, + { + "function": "set_damage", + "damage": { + "min": 0.3, + "max": 0.9 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/ravager.json b/behavior_pack/loot_tables/entities/ravager.json new file mode 100644 index 0000000..daba303 --- /dev/null +++ b/behavior_pack/loot_tables/entities/ravager.json @@ -0,0 +1,18 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:saddle" + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/salmon_large.json b/behavior_pack/loot_tables/entities/salmon_large.json new file mode 100644 index 0000000..62f1b25 --- /dev/null +++ b/behavior_pack/loot_tables/entities/salmon_large.json @@ -0,0 +1,61 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:salmon", + "weight": 1, + "functions": [ + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + } + ] + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance_with_looting", + "chance": 0.25, + "looting_multiplier": 0.01 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/salmon_normal.json b/behavior_pack/loot_tables/entities/salmon_normal.json new file mode 100644 index 0000000..7fa786e --- /dev/null +++ b/behavior_pack/loot_tables/entities/salmon_normal.json @@ -0,0 +1,54 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:salmon", + "weight": 1, + "functions": [ + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + } + ] + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance_with_looting", + "chance": 0.25, + "looting_multiplier": 0.01 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/sea_turtle.json b/behavior_pack/loot_tables/entities/sea_turtle.json new file mode 100644 index 0000000..9ff7336 --- /dev/null +++ b/behavior_pack/loot_tables/entities/sea_turtle.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:seagrass", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/sheep.json b/behavior_pack/loot_tables/entities/sheep.json new file mode 100644 index 0000000..2aa8ca2 --- /dev/null +++ b/behavior_pack/loot_tables/entities/sheep.json @@ -0,0 +1,57 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:wool", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_data_from_color_index" + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:muttonRaw", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/sheep_shear.json b/behavior_pack/loot_tables/entities/sheep_shear.json new file mode 100644 index 0000000..7d696e3 --- /dev/null +++ b/behavior_pack/loot_tables/entities/sheep_shear.json @@ -0,0 +1,26 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:wool", + "weight": 1, + "functions": [ + { + "function": "minecraft:set_data_from_color_index" + }, + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/sheep_sheared.json b/behavior_pack/loot_tables/entities/sheep_sheared.json new file mode 100644 index 0000000..853fc3c --- /dev/null +++ b/behavior_pack/loot_tables/entities/sheep_sheared.json @@ -0,0 +1,42 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:muttonRaw", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + }, + { + "function": "furnace_smelt", + "conditions": [ + { + "condition": "entity_properties", + "entity": "this", + "properties": { + "on_fire": true + } + } + ] + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/shulker.json b/behavior_pack/loot_tables/entities/shulker.json new file mode 100644 index 0000000..36528b9 --- /dev/null +++ b/behavior_pack/loot_tables/entities/shulker.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:shulker_shell", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] + } \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/silverfish.json b/behavior_pack/loot_tables/entities/silverfish.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/silverfish.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/skeleton.json b/behavior_pack/loot_tables/entities/skeleton.json new file mode 100644 index 0000000..630df5b --- /dev/null +++ b/behavior_pack/loot_tables/entities/skeleton.json @@ -0,0 +1,56 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/skeleton_gear.json b/behavior_pack/loot_tables/entities/skeleton_gear.json new file mode 100644 index 0000000..3833296 --- /dev/null +++ b/behavior_pack/loot_tables/entities/skeleton_gear.json @@ -0,0 +1,69 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bow", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.10 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 1.0, + "peaceful": 0, + "easy": 0 + }, + { + "condition": "random_regional_difficulty_chance", + "max_chance": 0.15 + } + ], + "tiers": { + "initial_range": 2, + "bonus_rolls": 3, + "bonus_chance": 0.095 + }, + + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_leather.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_gold.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_chain.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_iron.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_diamond.json" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/skeleton_horse.json b/behavior_pack/loot_tables/entities/skeleton_horse.json new file mode 100644 index 0000000..a998e9e --- /dev/null +++ b/behavior_pack/loot_tables/entities/skeleton_horse.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/slime.json b/behavior_pack/loot_tables/entities/slime.json new file mode 100644 index 0000000..0e2ebe8 --- /dev/null +++ b/behavior_pack/loot_tables/entities/slime.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:slime_ball", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/snow_golem_shear.json b/behavior_pack/loot_tables/entities/snow_golem_shear.json new file mode 100644 index 0000000..2ba759b --- /dev/null +++ b/behavior_pack/loot_tables/entities/snow_golem_shear.json @@ -0,0 +1,15 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:carved_pumpkin", + "weight": 1, + "count": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/snowman.json b/behavior_pack/loot_tables/entities/snowman.json new file mode 100644 index 0000000..270433e --- /dev/null +++ b/behavior_pack/loot_tables/entities/snowman.json @@ -0,0 +1,23 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:snowball", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 15 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/spider.json b/behavior_pack/loot_tables/entities/spider.json new file mode 100644 index 0000000..fa910f5 --- /dev/null +++ b/behavior_pack/loot_tables/entities/spider.json @@ -0,0 +1,61 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:string", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:spider_eye", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/squid.json b/behavior_pack/loot_tables/entities/squid.json new file mode 100644 index 0000000..4d7926f --- /dev/null +++ b/behavior_pack/loot_tables/entities/squid.json @@ -0,0 +1,34 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:dye", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "set_data", + "data": 0 + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/stray.json b/behavior_pack/loot_tables/entities/stray.json new file mode 100644 index 0000000..16db952 --- /dev/null +++ b/behavior_pack/loot_tables/entities/stray.json @@ -0,0 +1,92 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + }, + "limit": 1 + }, + { + "function": "minecraft:set_potion", + "id": "slowness" + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/strider.json b/behavior_pack/loot_tables/entities/strider.json new file mode 100644 index 0000000..54d7034 --- /dev/null +++ b/behavior_pack/loot_tables/entities/strider.json @@ -0,0 +1,23 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:string", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/strider_saddled.json b/behavior_pack/loot_tables/entities/strider_saddled.json new file mode 100644 index 0000000..c9b1ba1 --- /dev/null +++ b/behavior_pack/loot_tables/entities/strider_saddled.json @@ -0,0 +1,42 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:string", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 5 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:saddle", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/trail_ruins_brushable_block_common.json b/behavior_pack/loot_tables/entities/trail_ruins_brushable_block_common.json new file mode 100644 index 0000000..d4f60f4 --- /dev/null +++ b/behavior_pack/loot_tables/entities/trail_ruins_brushable_block_common.json @@ -0,0 +1,167 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wooden_hoe", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:clay", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:brick", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:yellow_dye", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:blue_dye", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:light_blue_dye", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:white_dye", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:orange_dye", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:red_candle", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:green_candle", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:purple_candle", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:brown_candle", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:magenta_stained_glass_pane", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:pink_stained_glass_pane", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:blue_stained_glass_pane", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:light_blue_stained_glass_pane", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:red_stained_glass_pane", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:yellow_stained_glass_pane", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:purple_stained_glass_pane", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:spruce_hanging_sign", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:oak_hanging_sign", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:gold_nugget", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:coal", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:wheat_seeds", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:beetroot_seeds", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:deadbush", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:flower_pot", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:lead", + "weight": 1 + } + ] + } + ] + } diff --git a/behavior_pack/loot_tables/entities/trail_ruins_brushable_block_rare.json b/behavior_pack/loot_tables/entities/trail_ruins_brushable_block_rare.json new file mode 100644 index 0000000..1157b29 --- /dev/null +++ b/behavior_pack/loot_tables/entities/trail_ruins_brushable_block_rare.json @@ -0,0 +1,72 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:howl_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:sheaf_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:heart_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:heartbreak_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:friend_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:danger_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:burn_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:wayfinder_armor_trim_smithing_template", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:raiser_armor_trim_smithing_template", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:shaper_armor_trim_smithing_template", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:host_armor_trim_smithing_template", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:music_disc_relic", + "weight": 1 + } + ] + } + ] + } diff --git a/behavior_pack/loot_tables/entities/tropicalfish.json b/behavior_pack/loot_tables/entities/tropicalfish.json new file mode 100644 index 0000000..69b1a33 --- /dev/null +++ b/behavior_pack/loot_tables/entities/tropicalfish.json @@ -0,0 +1,40 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:clownfish", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "condition": "random_chance_with_looting", + "chance": 0.25, + "looting_multiplier": 0.01 + } + ], + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 1, + "max": 2 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/vex_gear.json b/behavior_pack/loot_tables/entities/vex_gear.json new file mode 100644 index 0000000..809c9a7 --- /dev/null +++ b/behavior_pack/loot_tables/entities/vex_gear.json @@ -0,0 +1,14 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/vindication_illager.json b/behavior_pack/loot_tables/entities/vindication_illager.json new file mode 100644 index 0000000..0a03c37 --- /dev/null +++ b/behavior_pack/loot_tables/entities/vindication_illager.json @@ -0,0 +1,35 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ], + "conditions": [ + { + "condition": "killed_by_player" + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/vindicator_captain_equipment.json b/behavior_pack/loot_tables/entities/vindicator_captain_equipment.json new file mode 100644 index 0000000..19bf6d1 --- /dev/null +++ b/behavior_pack/loot_tables/entities/vindicator_captain_equipment.json @@ -0,0 +1,43 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:banner", + "weight": 1, + "functions": [ + { + "function": "set_banner_details", + "type": 1 + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_axe", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/vindicator_gear.json b/behavior_pack/loot_tables/entities/vindicator_gear.json new file mode 100644 index 0000000..283dc72 --- /dev/null +++ b/behavior_pack/loot_tables/entities/vindicator_gear.json @@ -0,0 +1,27 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_axe", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/vindicator_raid.json b/behavior_pack/loot_tables/entities/vindicator_raid.json new file mode 100644 index 0000000..80446f2 --- /dev/null +++ b/behavior_pack/loot_tables/entities/vindicator_raid.json @@ -0,0 +1,22 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/vindication_illager.json" + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/raider_drops.json" + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/warden.json b/behavior_pack/loot_tables/entities/warden.json new file mode 100644 index 0000000..7111293 --- /dev/null +++ b/behavior_pack/loot_tables/entities/warden.json @@ -0,0 +1,13 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:sculk_catalyst" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/warm_ocean_ruins_brushable_block.json b/behavior_pack/loot_tables/entities/warm_ocean_ruins_brushable_block.json new file mode 100644 index 0000000..4703591 --- /dev/null +++ b/behavior_pack/loot_tables/entities/warm_ocean_ruins_brushable_block.json @@ -0,0 +1,62 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 1 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:snort_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:angler_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:shelter_pottery_sherd", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:iron_axe", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:emerald", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wheat", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:wooden_hoe", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:coal", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:gold_nugget", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:sniffer_egg", + "weight": 1 + } + ] + } + ] + } diff --git a/behavior_pack/loot_tables/entities/witch.json b/behavior_pack/loot_tables/entities/witch.json new file mode 100644 index 0000000..a96b918 --- /dev/null +++ b/behavior_pack/loot_tables/entities/witch.json @@ -0,0 +1,164 @@ +{ + "pools": [ + { + "rolls": { + "min": 1, + "max": 3 + }, + "entries": [ + { + "type": "item", + "name": "minecraft:glowstone_dust", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:sugar", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:spider_eye", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:glass_bottle", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:gunpowder", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:stick", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:redstone", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 4, + "max": 8 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/entities/wither_boss.json b/behavior_pack/loot_tables/entities/wither_boss.json new file mode 100644 index 0000000..70afbdb --- /dev/null +++ b/behavior_pack/loot_tables/entities/wither_boss.json @@ -0,0 +1,15 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:netherStar", + "weight": 1 + } + ] + } + ] +} + \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/wither_skeleton.json b/behavior_pack/loot_tables/entities/wither_skeleton.json new file mode 100644 index 0000000..f182089 --- /dev/null +++ b/behavior_pack/loot_tables/entities/wither_skeleton.json @@ -0,0 +1,82 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:coal", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bone", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_player" + }, + { + "condition": "random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.02 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:skull", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 1 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/wither_skeleton_gear.json b/behavior_pack/loot_tables/entities/wither_skeleton_gear.json new file mode 100644 index 0000000..4ecbd15 --- /dev/null +++ b/behavior_pack/loot_tables/entities/wither_skeleton_gear.json @@ -0,0 +1,14 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:stone_sword", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/wolf.json b/behavior_pack/loot_tables/entities/wolf.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/behavior_pack/loot_tables/entities/wolf.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/zoglin.json b/behavior_pack/loot_tables/entities/zoglin.json new file mode 100644 index 0000000..a55d13a --- /dev/null +++ b/behavior_pack/loot_tables/entities/zoglin.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/zombie.json b/behavior_pack/loot_tables/entities/zombie.json new file mode 100644 index 0000000..690c860 --- /dev/null +++ b/behavior_pack/loot_tables/entities/zombie.json @@ -0,0 +1,60 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_player_or_pets" + }, + { + "condition": "random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:carrot", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:potato", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/zombie_equipment.json b/behavior_pack/loot_tables/entities/zombie_equipment.json new file mode 100644 index 0000000..2d9139d --- /dev/null +++ b/behavior_pack/loot_tables/entities/zombie_equipment.json @@ -0,0 +1,93 @@ +{ + "pools": [ + { + "conditions": [ + { + "condition": "random_regional_difficulty_chance", + "max_chance": 0.05 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_shovel", + "weight": 3, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "random_difficulty_chance", + "default_chance": 1.0, + "peaceful": 0, + "easy": 0 + }, + { + "condition": "random_regional_difficulty_chance", + "max_chance": 0.15 + } + ], + "tiers": { + "initial_range": 2, + "bonus_rolls": 3, + "bonus_chance": 0.095 + }, + + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_leather.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_gold.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_chain.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_iron.json" + }, + { + "type": "loot_table", + "name": "loot_tables/entities/armor_set_diamond.json" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/zombie_horse.json b/behavior_pack/loot_tables/entities/zombie_horse.json new file mode 100644 index 0000000..12669bf --- /dev/null +++ b/behavior_pack/loot_tables/entities/zombie_horse.json @@ -0,0 +1,30 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 2 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/zombie_pigman.json b/behavior_pack/loot_tables/entities/zombie_pigman.json new file mode 100644 index 0000000..5e913f5 --- /dev/null +++ b/behavior_pack/loot_tables/entities/zombie_pigman.json @@ -0,0 +1,76 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:gold_nugget", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "killed_by_player_or_pets" + }, + { + "condition": "random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:gold_ingot", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/zombie_pigman_gear.json b/behavior_pack/loot_tables/entities/zombie_pigman_gear.json new file mode 100644 index 0000000..2011f85 --- /dev/null +++ b/behavior_pack/loot_tables/entities/zombie_pigman_gear.json @@ -0,0 +1,27 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:golden_sword", + "weight": 1, + "functions": [ + { + "function": "looting_enchant", + "count": { + "min": 0, + "max": 1 + } + }, + { + "function": "enchant_random_gear", + "chance": 0.25 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/entities/zombified_piglin_rider_gear.json b/behavior_pack/loot_tables/entities/zombified_piglin_rider_gear.json new file mode 100644 index 0000000..b6afd28 --- /dev/null +++ b/behavior_pack/loot_tables/entities/zombified_piglin_rider_gear.json @@ -0,0 +1,14 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:warped_fungus_on_a_stick", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/equipment/low_tier_items.json b/behavior_pack/loot_tables/equipment/low_tier_items.json new file mode 100644 index 0000000..75d16ac --- /dev/null +++ b/behavior_pack/loot_tables/equipment/low_tier_items.json @@ -0,0 +1,42 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_chestplate", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:iron_chestplate", + "weight": 1 + }, + { + "type": "empty", + "weight": 5 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_helmet", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:iron_helmet", + "weight": 1 + }, + { + "type": "empty", + "weight": 5 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/equipment/trial_chamber.json b/behavior_pack/loot_tables/equipment/trial_chamber.json new file mode 100644 index 0000000..a06f967 --- /dev/null +++ b/behavior_pack/loot_tables/equipment/trial_chamber.json @@ -0,0 +1,24 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/equipment/trial_chamber_chainmail.json", + "weight": 4 + }, + { + "type": "loot_table", + "name": "loot_tables/equipment/trial_chamber_iron.json", + "weight": 2 + }, + { + "type": "loot_table", + "name": "loot_tables/equipment/trial_chamber_diamond.json", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/equipment/trial_chamber_chainmail.json b/behavior_pack/loot_tables/equipment/trial_chamber_chainmail.json new file mode 100644 index 0000000..4e4a31e --- /dev/null +++ b/behavior_pack/loot_tables/equipment/trial_chamber_chainmail.json @@ -0,0 +1,82 @@ +{ + "pools": [ + { + "rolls": 1, + "conditions": [ + { + "chance": 0.5, + "condition": "random_chance" + } + ], + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_armor_trim", + "material": "copper", + "pattern": "bolt" + }, + { + "function": "specific_enchants", + "enchants": [ + { + "id": "protection", + "level": 4 + }, + { + "id": "fire_protection", + "level": 4 + }, + { + "id": "projectile_protection", + "level": 4 + } + ] + } + ], + "name": "minecraft:chainmail_helmet" + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "chance": 0.5, + "condition": "random_chance" + } + ], + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_armor_trim", + "material": "copper", + "pattern": "bolt" + }, + { + "function": "specific_enchants", + "enchants": [ + { + "id": "protection", + "level": 4 + }, + { + "id": "fire_protection", + "level": 4 + }, + { + "id": "projectile_protection", + "level": 4 + } + ] + } + ], + "name": "minecraft:chainmail_chestplate" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/equipment/trial_chamber_diamond.json b/behavior_pack/loot_tables/equipment/trial_chamber_diamond.json new file mode 100644 index 0000000..f22cae3 --- /dev/null +++ b/behavior_pack/loot_tables/equipment/trial_chamber_diamond.json @@ -0,0 +1,82 @@ +{ + "pools": [ + { + "rolls": 1, + "conditions": [ + { + "chance": 0.5, + "condition": "random_chance" + } + ], + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_armor_trim", + "material": "copper", + "pattern": "flow" + }, + { + "function": "specific_enchants", + "enchants": [ + { + "id": "protection", + "level": 4 + }, + { + "id": "fire_protection", + "level": 4 + }, + { + "id": "projectile_protection", + "level": 4 + } + ] + } + ], + "name": "minecraft:diamond_helmet" + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "chance": 0.5, + "condition": "random_chance" + } + ], + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_armor_trim", + "material": "copper", + "pattern": "flow" + }, + { + "function": "specific_enchants", + "enchants": [ + { + "id": "protection", + "level": 4 + }, + { + "id": "fire_protection", + "level": 4 + }, + { + "id": "projectile_protection", + "level": 4 + } + ] + } + ], + "name": "minecraft:diamond_chestplate" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/equipment/trial_chamber_iron.json b/behavior_pack/loot_tables/equipment/trial_chamber_iron.json new file mode 100644 index 0000000..b4d198d --- /dev/null +++ b/behavior_pack/loot_tables/equipment/trial_chamber_iron.json @@ -0,0 +1,82 @@ +{ + "pools": [ + { + "rolls": 1, + "conditions": [ + { + "chance": 0.5, + "condition": "random_chance" + } + ], + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_armor_trim", + "material": "copper", + "pattern": "flow" + }, + { + "function": "specific_enchants", + "enchants": [ + { + "id": "protection", + "level": 4 + }, + { + "id": "fire_protection", + "level": 4 + }, + { + "id": "projectile_protection", + "level": 4 + } + ] + } + ], + "name": "minecraft:iron_helmet" + } + ] + }, + { + "rolls": 1, + "conditions": [ + { + "chance": 0.5, + "condition": "random_chance" + } + ], + "entries": [ + { + "type": "item", + "functions": [ + { + "function": "set_armor_trim", + "material": "copper", + "pattern": "flow" + }, + { + "function": "specific_enchants", + "enchants": [ + { + "id": "protection", + "level": 4 + }, + { + "id": "fire_protection", + "level": 4 + }, + { + "id": "projectile_protection", + "level": 4 + } + ] + } + ], + "name": "minecraft:iron_chestplate" + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/equipment/trial_chamber_melee.json b/behavior_pack/loot_tables/equipment/trial_chamber_melee.json new file mode 100644 index 0000000..7fc169b --- /dev/null +++ b/behavior_pack/loot_tables/equipment/trial_chamber_melee.json @@ -0,0 +1,61 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/equipment/trial_chamber.json", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:iron_sword", + "weight": 4 + }, + { + "type": "item", + "name": "minecraft:iron_sword", + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "sharpness", + "level": 1 + } + ] + } + ], + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:iron_sword", + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "knockback", + "level": 1 + } + ] + } + ], + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:diamond_sword", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/equipment/trial_chamber_ranged.json b/behavior_pack/loot_tables/equipment/trial_chamber_ranged.json new file mode 100644 index 0000000..bdb4a5f --- /dev/null +++ b/behavior_pack/loot_tables/equipment/trial_chamber_ranged.json @@ -0,0 +1,56 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/equipment/trial_chamber.json", + "weight": 1 + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:bow", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:bow", + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "power", + "level": 1 + } + ] + } + ], + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:bow", + "functions": [ + { + "function": "specific_enchants", + "enchants": [ + { + "id": "punch", + "level": 1 + } + ] + } + ], + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/entities/mooshroom_milking.json b/behavior_pack/loot_tables/gameplay/entities/mooshroom_milking.json new file mode 100644 index 0000000..c90d966 --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/entities/mooshroom_milking.json @@ -0,0 +1,306 @@ +{ + "pools": [ + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": -1 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:mushroom_stew", + "weight": 1 + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 0 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 0 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 1 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 1 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 2 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 2 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 3 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 3 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 4 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 4 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 5 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 5 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 6 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 6 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 7 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 7 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 8 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 8 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 9 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 9 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 10 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 10 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 11 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 11 + } + ] + } + ] + }, + { + "conditions": [ + { + "condition": "has_mark_variant", + "value": 12 + } + ], + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:suspicious_stew", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 12 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/entities/sniffer_seeds.json b/behavior_pack/loot_tables/gameplay/entities/sniffer_seeds.json new file mode 100644 index 0000000..c13c1ed --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/entities/sniffer_seeds.json @@ -0,0 +1,19 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:torchflower_seeds", + "weight": 1 + }, + { + "type": "item", + "name": "minecraft:pitcher_pod", + "weight": 1 + } + ] + } + ] +} diff --git a/behavior_pack/loot_tables/gameplay/fishing.json b/behavior_pack/loot_tables/gameplay/fishing.json new file mode 100644 index 0000000..73b05ef --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/fishing.json @@ -0,0 +1,27 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/junk.json", + "weight": 10, + "quality": -2 + }, + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/treasure.json", + "weight": 5, + "quality": 2 + }, + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/fish.json", + "weight": 85, + "quality": -1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/fishing/fish.json b/behavior_pack/loot_tables/gameplay/fishing/fish.json new file mode 100644 index 0000000..2152ca1 --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/fishing/fish.json @@ -0,0 +1,29 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:fish", + "weight": 60 + }, + { + "type": "item", + "name": "minecraft:salmon", + "weight": 25 + }, + { + "type": "item", + "name": "minecraft:clownfish", + "weight": 2 + }, + { + "type": "item", + "name": "minecraft:pufferfish", + "weight": 13 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/fishing/jungle_fish.json b/behavior_pack/loot_tables/gameplay/fishing/jungle_fish.json new file mode 100644 index 0000000..62559ab --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/fishing/jungle_fish.json @@ -0,0 +1,19 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:fish", + "weight": 60 + }, + { + "type": "item", + "name": "minecraft:salmon", + "weight": 40 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/fishing/jungle_junk.json b/behavior_pack/loot_tables/gameplay/fishing/jungle_junk.json new file mode 100644 index 0000000..4258c2b --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/fishing/jungle_junk.json @@ -0,0 +1,112 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_boots", + "weight": 10, + "functions": [ + { + "function": "set_damage", + "damage": { + "min": 0, + "max": 0.90 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:leather", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:bone", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:fishing_rod", + "weight": 2, + "functions": [ + { + "function": "set_damage", + "damage": { + "min": 0, + "max": 0.90 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bowl", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:stick", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:dye", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 0 + }, + { + "function": "set_count", + "count": 10 + } + ] + }, + { + "type": "item", + "name": "minecraft:dye", + "weight": 10, + "functions": [ + { + "function": "set_data", + "data":3 + }, + { + "function": "set_count", + "count": 1 + } + ] + }, + { + "type": "item", + "name": "minecraft:tripwire_hook", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:bamboo", + "weight": 10 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/fishing/junk.json b/behavior_pack/loot_tables/gameplay/fishing/junk.json new file mode 100644 index 0000000..1d5264c --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/fishing/junk.json @@ -0,0 +1,92 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:leather_boots", + "weight": 10, + "functions": [ + { + "function": "set_damage", + "damage": { + "min": 0, + "max": 0.90 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:leather", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:bone", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:string", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:fishing_rod", + "weight": 2, + "functions": [ + { + "function": "set_damage", + "damage": { + "min": 0, + "max": 0.90 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:bowl", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:stick", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:dye", + "weight": 1, + "functions": [ + { + "function": "set_data", + "data": 0 + }, + { + "function": "set_count", + "count": 10 + } + ] + }, + { + "type": "item", + "name": "minecraft:tripwire_hook", + "weight": 10 + }, + { + "type": "item", + "name": "minecraft:rotten_flesh", + "weight": 10 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/fishing/treasure.json b/behavior_pack/loot_tables/gameplay/fishing/treasure.json new file mode 100644 index 0000000..a9591fa --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/fishing/treasure.json @@ -0,0 +1,79 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:nautilus_shell", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:waterlily", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:name_tag", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:saddle", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:bow", + "weight": 5, + "functions": [ + { + "function": "set_damage", + "damage": { + "min": 0, + "max": 0.25 + } + }, + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:fishing_rod", + "weight": 5, + "functions": [ + { + "function": "set_damage", + "damage": { + "min": 0, + "max": 0.25 + } + }, + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + }, + { + "type": "item", + "name": "minecraft:book", + "weight": 6, + "functions": [ + { + "function": "enchant_with_levels", + "levels": 30, + "treasure": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/gameplay/jungle_fishing.json b/behavior_pack/loot_tables/gameplay/jungle_fishing.json new file mode 100644 index 0000000..a33c9d9 --- /dev/null +++ b/behavior_pack/loot_tables/gameplay/jungle_fishing.json @@ -0,0 +1,27 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/jungle_junk.json", + "weight": 10, + "quality": -2 + }, + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/treasure.json", + "weight": 5, + "quality": 2 + }, + { + "type": "loot_table", + "name": "loot_tables/gameplay/fishing/jungle_fish.json", + "weight": 85, + "quality": -1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/pots/trial_chambers/corridor.json b/behavior_pack/loot_tables/pots/trial_chambers/corridor.json new file mode 100644 index 0000000..fe8f613 --- /dev/null +++ b/behavior_pack/loot_tables/pots/trial_chambers/corridor.json @@ -0,0 +1,103 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:emerald", + "weight": 125, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 100, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 8 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:iron_ingot", + "weight": 100, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:trial_key", + "weight": 10, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:music_disc_creator_music_box", + "weight": 5 + }, + { + "type": "item", + "name": "minecraft:diamond", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:emerald_block", + "weight": 5, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:diamond_block", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/spawners/ominous/trial_chamber/consumables.json b/behavior_pack/loot_tables/spawners/ominous/trial_chamber/consumables.json new file mode 100644 index 0000000..768e485 --- /dev/null +++ b/behavior_pack/loot_tables/spawners/ominous/trial_chamber/consumables.json @@ -0,0 +1,81 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:cooked_beef", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:baked_potato", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 2, + "max": 4 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:golden_carrot", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 2 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "regeneration" + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "strength" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/spawners/ominous/trial_chamber/key.json b/behavior_pack/loot_tables/spawners/ominous/trial_chamber/key.json new file mode 100644 index 0000000..c1fa780 --- /dev/null +++ b/behavior_pack/loot_tables/spawners/ominous/trial_chamber/key.json @@ -0,0 +1,14 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:ominous_trial_key", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/spawners/trial_chamber/consumables.json b/behavior_pack/loot_tables/spawners/trial_chamber/consumables.json new file mode 100644 index 0000000..8ab87d1 --- /dev/null +++ b/behavior_pack/loot_tables/spawners/trial_chamber/consumables.json @@ -0,0 +1,78 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:cooked_chicken", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:bread", + "weight": 3, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:baked_potato", + "weight": 2, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "regeneration" + } + ] + }, + { + "type": "item", + "name": "minecraft:potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "swiftness" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json b/behavior_pack/loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json new file mode 100644 index 0000000..2f49fa9 --- /dev/null +++ b/behavior_pack/loot_tables/spawners/trial_chamber/items_to_drop_when_ominous.json @@ -0,0 +1,188 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "wind_charged" + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "oozing" + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "weaving" + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "infested" + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "strength" + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "swiftness" + } + ] + }, + { + "type": "item", + "name": "minecraft:lingering_potion", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "slow_falling" + } + ] + } + ] + }, + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "poison" + } + ] + }, + { + "type": "item", + "name": "minecraft:arrow", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": 1.0 + }, + { + "function": "set_potion", + "id": "strong_slowness" + } + ] + }, + { + "type": "item", + "name": "minecraft:fire_charge", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "type": "item", + "name": "minecraft:wind_charge", + "weight": 1, + "functions": [ + { + "function": "set_count", + "count": { + "min": 1, + "max": 3 + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/loot_tables/spawners/trial_chamber/key.json b/behavior_pack/loot_tables/spawners/trial_chamber/key.json new file mode 100644 index 0000000..fde79b4 --- /dev/null +++ b/behavior_pack/loot_tables/spawners/trial_chamber/key.json @@ -0,0 +1,14 @@ +{ + "pools": [ + { + "rolls": 1, + "entries": [ + { + "type": "item", + "name": "minecraft:trial_key", + "weight": 1 + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/recipes/acacia_boat.json b/behavior_pack/recipes/acacia_boat.json new file mode 100644 index 0000000..219bfe8 --- /dev/null +++ b/behavior_pack/recipes/acacia_boat.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_boat" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:acacia_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:acacia_boat" + } + } + +} diff --git a/behavior_pack/recipes/acacia_chest_boat.json b/behavior_pack/recipes/acacia_chest_boat.json new file mode 100644 index 0000000..1d433a4 --- /dev/null +++ b/behavior_pack/recipes/acacia_chest_boat.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:acacia_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 4 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 4 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 4 + } + } + +} diff --git a/behavior_pack/recipes/acacia_door.json b/behavior_pack/recipes/acacia_door.json new file mode 100644 index 0000000..462cf97 --- /dev/null +++ b/behavior_pack/recipes/acacia_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_door" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:acacia_planks" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_planks" + } + ], + "result": { + "item": "minecraft:acacia_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/acacia_fence.json b/behavior_pack/recipes/acacia_fence.json new file mode 100644 index 0000000..393d61c --- /dev/null +++ b/behavior_pack/recipes/acacia_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:acacia_planks" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_planks" + } + ], + "result": { + "item": "minecraft:acacia_fence", + "count": 3 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/acacia_fence_gate.json b/behavior_pack/recipes/acacia_fence_gate.json new file mode 100644 index 0000000..41a6756 --- /dev/null +++ b/behavior_pack/recipes/acacia_fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_fence_gate" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:acacia_planks" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_planks" + } + ], + "result": { + "item": "minecraft:acacia_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/acacia_hanging_sign.json b/behavior_pack/recipes/acacia_hanging_sign.json new file mode 100644 index 0000000..db68b96 --- /dev/null +++ b/behavior_pack/recipes/acacia_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_acacia_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_acacia_log" + } + ], + "result": { + "item": "minecraft:acacia_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/acacia_planks.json b/behavior_pack/recipes/acacia_planks.json new file mode 100644 index 0000000..88bfaa4 --- /dev/null +++ b/behavior_pack/recipes/acacia_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_planks" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:acacia_log" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_log" + } + ], + "result": { + "item": "minecraft:acacia_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/acacia_planks_from_stripped.json b/behavior_pack/recipes/acacia_planks_from_stripped.json new file mode 100644 index 0000000..9209c24 --- /dev/null +++ b/behavior_pack/recipes/acacia_planks_from_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_planks_from_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_acacia_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_acacia_log" + } + ], + "result": { + "item": "minecraft:acacia_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/acacia_planks_from_stripped_wood.json b/behavior_pack/recipes/acacia_planks_from_stripped_wood.json new file mode 100644 index 0000000..dd57135 --- /dev/null +++ b/behavior_pack/recipes/acacia_planks_from_stripped_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_planks_from_stripped_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_acacia_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_acacia_wood" + } + ], + "result": { + "item": "minecraft:acacia_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/acacia_planks_from_wood.json b/behavior_pack/recipes/acacia_planks_from_wood.json new file mode 100644 index 0000000..fc0eb53 --- /dev/null +++ b/behavior_pack/recipes/acacia_planks_from_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_planks_from_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:acacia_wood" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_wood" + } + ], + "result": { + "item": "minecraft:acacia_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/acacia_stairs.json b/behavior_pack/recipes/acacia_stairs.json new file mode 100644 index 0000000..ece64c7 --- /dev/null +++ b/behavior_pack/recipes/acacia_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_stairs" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:acacia_planks" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_planks" + } + ], + "result": { + "item": "minecraft:acacia_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/acacia_wood.json b/behavior_pack/recipes/acacia_wood.json new file mode 100644 index 0000000..bff5c1f --- /dev/null +++ b/behavior_pack/recipes/acacia_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:acacia_log" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_log" + } + ], + "result": { + "item": "minecraft:acacia_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/acacia_wood_stripped.json b/behavior_pack/recipes/acacia_wood_stripped.json new file mode 100644 index 0000000..c5be2aa --- /dev/null +++ b/behavior_pack/recipes/acacia_wood_stripped.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_wood_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_acacia_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_acacia_log" + } + ], + "result": { + "item": "minecraft:stripped_acacia_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/acacia_wooden_slab.json b/behavior_pack/recipes/acacia_wooden_slab.json new file mode 100644 index 0000000..2547c55 --- /dev/null +++ b/behavior_pack/recipes/acacia_wooden_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:acacia_wooden_slab" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:acacia_planks" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_planks" + } + ], + "result": { + "item": "minecraft:acacia_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/activator_rail.json b/behavior_pack/recipes/activator_rail.json new file mode 100644 index 0000000..4307b86 --- /dev/null +++ b/behavior_pack/recipes/activator_rail.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:activator_rail" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XSX", + "X#X", + "XSX" + ], + "key": { + "#": { + "item": "minecraft:redstone_torch" + }, + "S": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:rail" + } + ], + "result": { + "item": "minecraft:activator_rail", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/amethyst_block.json b/behavior_pack/recipes/amethyst_block.json new file mode 100644 index 0000000..585177b --- /dev/null +++ b/behavior_pack/recipes/amethyst_block.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:amethyst_block" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:amethyst_shard" + } + }, + "unlock": [ + { + "item": "minecraft:amethyst_shard" + } + ], + "result": { + "item": "minecraft:amethyst_block", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/andesite.json b/behavior_pack/recipes/andesite.json new file mode 100644 index 0000000..a777a34 --- /dev/null +++ b/behavior_pack/recipes/andesite.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:andesite" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:diorite" + }, + { + "item": "minecraft:cobblestone" + } + ], + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:andesite", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/andesite_stairs.json b/behavior_pack/recipes/andesite_stairs.json new file mode 100644 index 0000000..7ffef1c --- /dev/null +++ b/behavior_pack/recipes/andesite_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:andesite_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:andesite" + } + }, + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:andesite_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/andesite_wall.json b/behavior_pack/recipes/andesite_wall.json new file mode 100644 index 0000000..5216132 --- /dev/null +++ b/behavior_pack/recipes/andesite_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:andesite_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:andesite" + } + }, + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:andesite_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/anvil.json b/behavior_pack/recipes/anvil.json new file mode 100644 index 0000000..4a9a75e --- /dev/null +++ b/behavior_pack/recipes/anvil.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:anvil" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "III", + " i ", + "iii" + ], + "key": { + "I": { + "item": "minecraft:iron_block" + }, + "i": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_block" + } + ], + "result": { + "item": "minecraft:anvil", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/armor_stand.json b/behavior_pack/recipes/armor_stand.json new file mode 100644 index 0000000..34409ba --- /dev/null +++ b/behavior_pack/recipes/armor_stand.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:armor_stand" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "///", + " / ", + "/_/" + ], + "key": { + "/": { + "item": "minecraft:stick" + }, + "_": { + "item": "minecraft:smooth_stone_slab" + } + }, + "unlock": [ + { + "item": "minecraft:smooth_stone_slab" + } + ], + "result": { + "item": "minecraft:armor_stand" + } + } +} diff --git a/behavior_pack/recipes/arrow.json b/behavior_pack/recipes/arrow.json new file mode 100644 index 0000000..c6908c7 --- /dev/null +++ b/behavior_pack/recipes/arrow.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:arrow" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "Y" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:flint" + }, + "Y": { + "item": "minecraft:feather" + } + }, + "unlock": [ + { + "item": "minecraft:flint" + }, + { + "item": "minecraft:feather" + } + ], + "result": { + "item": "minecraft:arrow", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/bamboo_block.json b/behavior_pack/recipes/bamboo_block.json new file mode 100644 index 0000000..2adf7d9 --- /dev/null +++ b/behavior_pack/recipes/bamboo_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_block" + }, + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:bamboo" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo" + } + ], + "result": { + "item": "minecraft:bamboo_block", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/bamboo_button.json b/behavior_pack/recipes/bamboo_button.json new file mode 100644 index 0000000..48e4b1f --- /dev/null +++ b/behavior_pack/recipes/bamboo_button.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_button" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_button" + } + } +} diff --git a/behavior_pack/recipes/bamboo_chest_raft.json b/behavior_pack/recipes/bamboo_chest_raft.json new file mode 100644 index 0000000..aec3c50 --- /dev/null +++ b/behavior_pack/recipes/bamboo_chest_raft.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:bamboo_chest_raft" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 7 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 7 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 7 + } + } +} diff --git a/behavior_pack/recipes/bamboo_door.json b/behavior_pack/recipes/bamboo_door.json new file mode 100644 index 0000000..4477c69 --- /dev/null +++ b/behavior_pack/recipes/bamboo_door.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_door" + }, + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/bamboo_fence.json b/behavior_pack/recipes/bamboo_fence.json new file mode 100644 index 0000000..85a399f --- /dev/null +++ b/behavior_pack/recipes/bamboo_fence.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_fence" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/bamboo_fence_gate.json b/behavior_pack/recipes/bamboo_fence_gate.json new file mode 100644 index 0000000..b4c4a5f --- /dev/null +++ b/behavior_pack/recipes/bamboo_fence_gate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_fence_gate" + }, + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/bamboo_hanging_sign.json b/behavior_pack/recipes/bamboo_hanging_sign.json new file mode 100644 index 0000000..f1ca2d8 --- /dev/null +++ b/behavior_pack/recipes/bamboo_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_bamboo_block" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_bamboo_block" + } + ], + "result": { + "item": "minecraft:bamboo_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/bamboo_mosaic.json b/behavior_pack/recipes/bamboo_mosaic.json new file mode 100644 index 0000000..5c9765c --- /dev/null +++ b/behavior_pack/recipes/bamboo_mosaic.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_mosaic" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:bamboo_slab" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_slab" + } + ], + "result": { + "item": "minecraft:bamboo_mosaic", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/bamboo_mosaic_slab.json b/behavior_pack/recipes/bamboo_mosaic_slab.json new file mode 100644 index 0000000..cc9e0f1 --- /dev/null +++ b/behavior_pack/recipes/bamboo_mosaic_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_mosaic_slab" + }, + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:bamboo_mosaic" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_mosaic" + } + ], + "result": { + "item": "minecraft:bamboo_mosaic_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/bamboo_mosiac_stairs.json b/behavior_pack/recipes/bamboo_mosiac_stairs.json new file mode 100644 index 0000000..8c1123b --- /dev/null +++ b/behavior_pack/recipes/bamboo_mosiac_stairs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_mosaic_stairs" + }, + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:bamboo_mosaic" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_mosaic" + } + ], + "result": { + "item": "minecraft:bamboo_mosaic_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/bamboo_planks.json b/behavior_pack/recipes/bamboo_planks.json new file mode 100644 index 0000000..5cc6e19 --- /dev/null +++ b/behavior_pack/recipes/bamboo_planks.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_planks" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:bamboo_block" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_block" + } + ], + "result": { + "item": "minecraft:bamboo_planks", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/bamboo_planks_from_stripped.json b/behavior_pack/recipes/bamboo_planks_from_stripped.json new file mode 100644 index 0000000..beef696 --- /dev/null +++ b/behavior_pack/recipes/bamboo_planks_from_stripped.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_planks_from_stripped" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_bamboo_block" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_bamboo_block" + } + ], + "result": { + "item": "minecraft:bamboo_planks", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/bamboo_pressure_plate.json b/behavior_pack/recipes/bamboo_pressure_plate.json new file mode 100644 index 0000000..972c6e4 --- /dev/null +++ b/behavior_pack/recipes/bamboo_pressure_plate.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_pressure_plate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/bamboo_raft.json b/behavior_pack/recipes/bamboo_raft.json new file mode 100644 index 0000000..9934752 --- /dev/null +++ b/behavior_pack/recipes/bamboo_raft.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_raft" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks", + "data": 4 + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:bamboo_raft" + } + } +} diff --git a/behavior_pack/recipes/bamboo_sign.json b/behavior_pack/recipes/bamboo_sign.json new file mode 100644 index 0000000..c40b1e0 --- /dev/null +++ b/behavior_pack/recipes/bamboo_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/bamboo_slab.json b/behavior_pack/recipes/bamboo_slab.json new file mode 100644 index 0000000..1766a49 --- /dev/null +++ b/behavior_pack/recipes/bamboo_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_slab" + }, + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/bamboo_stairs.json b/behavior_pack/recipes/bamboo_stairs.json new file mode 100644 index 0000000..5b4d062 --- /dev/null +++ b/behavior_pack/recipes/bamboo_stairs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_stairs" + }, + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/bamboo_trapdoor.json b/behavior_pack/recipes/bamboo_trapdoor.json new file mode 100644 index 0000000..c9b81a8 --- /dev/null +++ b/behavior_pack/recipes/bamboo_trapdoor.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bamboo_trapdoor" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_trap_door", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:bamboo_planks" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo_planks" + } + ], + "result": { + "item": "minecraft:bamboo_trapdoor", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/banner_pattern_bricks.json b/behavior_pack/recipes/banner_pattern_bricks.json new file mode 100644 index 0000000..f73e343 --- /dev/null +++ b/behavior_pack/recipes/banner_pattern_bricks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:banner_pattern_bricks" + }, + + + "tags": [ "crafting_table" ], + "group": "banner_pattern", + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:brick_block" + } + ], + "unlock": [ + { + "item": "minecraft:brick_block" + } + ], + "result": { + "item": "minecraft:banner_pattern", + "data": 4 + } + } +} diff --git a/behavior_pack/recipes/banner_pattern_creeper.json b/behavior_pack/recipes/banner_pattern_creeper.json new file mode 100644 index 0000000..d1f029b --- /dev/null +++ b/behavior_pack/recipes/banner_pattern_creeper.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:banner_pattern_creeper" + }, + + + "tags": [ "crafting_table" ], + "group": "banner_pattern", + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:skull", + "data": 4 + } + ], + "unlock": [ + { + "item": "minecraft:skull", + "data": 4 + } + ], + "result": { + "item": "minecraft:banner_pattern", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/banner_pattern_flower.json b/behavior_pack/recipes/banner_pattern_flower.json new file mode 100644 index 0000000..dd90e68 --- /dev/null +++ b/behavior_pack/recipes/banner_pattern_flower.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:banner_pattern_flower" + }, + + + "tags": [ "crafting_table" ], + "group": "banner_pattern", + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:oxeye_daisy" + } + ], + "unlock": [ + { + "item": "minecraft:oxeye_daisy" + } + ], + "result": { + "item": "minecraft:banner_pattern", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/banner_pattern_skull.json b/behavior_pack/recipes/banner_pattern_skull.json new file mode 100644 index 0000000..bfe4631 --- /dev/null +++ b/behavior_pack/recipes/banner_pattern_skull.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:banner_pattern_skull" + }, + + + "tags": [ "crafting_table" ], + "group": "banner_pattern", + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:skull", + "data": 1 + } + ], + "unlock": [ + { + "item": "minecraft:skull", + "data": 1 + } + ], + "result": { + "item": "minecraft:banner_pattern", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/banner_pattern_thing.json b/behavior_pack/recipes/banner_pattern_thing.json new file mode 100644 index 0000000..4946507 --- /dev/null +++ b/behavior_pack/recipes/banner_pattern_thing.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:banner_pattern_thing" + }, + + + "tags": [ "crafting_table" ], + "group": "banner_pattern", + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:appleenchanted" + } + ], + "unlock": [ + { + "item": "minecraft:appleenchanted" + } + ], + "result": { + "item": "minecraft:banner_pattern", + "data": 3 + } + } +} diff --git a/behavior_pack/recipes/banner_pattern_vines.json b/behavior_pack/recipes/banner_pattern_vines.json new file mode 100644 index 0000000..7cc932c --- /dev/null +++ b/behavior_pack/recipes/banner_pattern_vines.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:banner_pattern_vines" + }, + + + "tags": [ "crafting_table" ], + "group": "banner_pattern", + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:vine" + } + ], + "unlock": [ + { + "item": "minecraft:vine" + } + ], + "result": { + "item": "minecraft:banner_pattern", + "data": 5 + } + } +} diff --git a/behavior_pack/recipes/barrel.json b/behavior_pack/recipes/barrel.json new file mode 100644 index 0000000..314acdb --- /dev/null +++ b/behavior_pack/recipes/barrel.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_with_planks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#-#", + "# #", + "#-#" + ], + "key": { + "#": { + "tag": "minecraft:planks" + }, + "-": { + "tag": "minecraft:wooden_slabs" + } + }, + "unlock": [ + { + "tag": "minecraft:planks" + }, + { + "tag": "minecraft:wooden_slabs" + } + ], + "result": { + "item": "minecraft:barrel" + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_deprecated.json b/behavior_pack/recipes/barrel_deprecated.json new file mode 100644 index 0000000..2c77117 --- /dev/null +++ b/behavior_pack/recipes/barrel_deprecated.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel" + }, + "tags": [ "deprecated" ], + "pattern": [ + "#-#", + "# #", + "#-#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "-": { + "tag": "minecraft:wooden_slabs" + } + }, + "result": { + "item": "minecraft:barrel" + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_from_crimson_slab.json b/behavior_pack/recipes/barrel_from_crimson_slab.json new file mode 100644 index 0000000..86e9b2c --- /dev/null +++ b/behavior_pack/recipes/barrel_from_crimson_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_from_crimson_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "ABA", + "A A", + "ABA" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "crimson_slab" + } + }, + "result": { + "item": "minecraft:barrel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_from_crimson_slab_deprecated.json b/behavior_pack/recipes/barrel_from_crimson_slab_deprecated.json new file mode 100644 index 0000000..2083d89 --- /dev/null +++ b/behavior_pack/recipes/barrel_from_crimson_slab_deprecated.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_from_crimson_slab" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "ABA", + "A A", + "ABA" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "crimson_slab" + } + }, + "result": { + "item": "minecraft:barrel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_from_mangrove_slab.json b/behavior_pack/recipes/barrel_from_mangrove_slab.json new file mode 100644 index 0000000..7eabd1c --- /dev/null +++ b/behavior_pack/recipes/barrel_from_mangrove_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_from_mangrove_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "ABA", + "A A", + "ABA" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "mangrove_slab" + } + }, + "result": { + "item": "minecraft:barrel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_from_mangrove_slab_deprecated.json b/behavior_pack/recipes/barrel_from_mangrove_slab_deprecated.json new file mode 100644 index 0000000..aaba827 --- /dev/null +++ b/behavior_pack/recipes/barrel_from_mangrove_slab_deprecated.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_from_mangrove_slab" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "ABA", + "A A", + "ABA" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "mangrove_slab" + } + }, + "result": { + "item": "minecraft:barrel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_from_warped_slab.json b/behavior_pack/recipes/barrel_from_warped_slab.json new file mode 100644 index 0000000..45c8b36 --- /dev/null +++ b/behavior_pack/recipes/barrel_from_warped_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_from_warped_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "ABA", + "A A", + "ABA" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "warped_slab" + } + }, + "result": { + "item": "minecraft:barrel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_from_warped_slab_deprecated.json b/behavior_pack/recipes/barrel_from_warped_slab_deprecated.json new file mode 100644 index 0000000..0912651 --- /dev/null +++ b/behavior_pack/recipes/barrel_from_warped_slab_deprecated.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_from_warped_slab" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "ABA", + "A A", + "ABA" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "warped_slab" + } + }, + "result": { + "item": "minecraft:barrel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/barrel_with_tag_deprecated.json b/behavior_pack/recipes/barrel_with_tag_deprecated.json new file mode 100644 index 0000000..b3e26b5 --- /dev/null +++ b/behavior_pack/recipes/barrel_with_tag_deprecated.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:barrel_with_tag" + }, + "tags": [ "deprecated" ], + "pattern": [ + "#-#", + "# #", + "#-#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "-": { + "tag": "minecraft:wooden_slabs" + } + }, + "result": { + "item": "minecraft:barrel" + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/basic_map_to_enhanced.json b/behavior_pack/recipes/basic_map_to_enhanced.json new file mode 100644 index 0000000..1c2955f --- /dev/null +++ b/behavior_pack/recipes/basic_map_to_enhanced.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:basic_map_to_enhanced" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:emptymap", + "data": 1 + }, + { + "item": "minecraft:compass" + } + ], + "unlock": [ + { + "item": "minecraft:compass" + } + ], + "result": { + "item": "minecraft:emptymap", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/beacon.json b/behavior_pack/recipes/beacon.json new file mode 100644 index 0000000..a0ac18b --- /dev/null +++ b/behavior_pack/recipes/beacon.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:beacon" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "GGG", + "GSG", + "OOO" + ], + "key": { + "S": { + "item": "minecraft:netherstar" + }, + "G": { + "item": "minecraft:glass" + }, + "O": { + "item": "minecraft:obsidian" + } + }, + "unlock": [ + { + "item": "minecraft:netherstar" + } + ], + "result": { + "item": "minecraft:beacon" + } + } +} diff --git a/behavior_pack/recipes/beehive.json b/behavior_pack/recipes/beehive.json new file mode 100644 index 0000000..72c5a87 --- /dev/null +++ b/behavior_pack/recipes/beehive.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:beehive" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "ooo", + "###" + ], + "key": { + "#": { + "tag": "minecraft:planks" + }, + "o": { + "item": "minecraft:honeycomb" + } + }, + "unlock": [ + { + "item": "minecraft:honeycomb" + } + ], + "result": [ + { "item": "minecraft:beehive" } + ], + "priority": -1 + } +} diff --git a/behavior_pack/recipes/beehive_from_crimson_planks.json b/behavior_pack/recipes/beehive_from_crimson_planks.json new file mode 100644 index 0000000..370a6c5 --- /dev/null +++ b/behavior_pack/recipes/beehive_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:beehive_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "honeycomb" + } + }, + "result": { + "item": "beehive", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/beehive_from_mangrove_planks.json b/behavior_pack/recipes/beehive_from_mangrove_planks.json new file mode 100644 index 0000000..36866fc --- /dev/null +++ b/behavior_pack/recipes/beehive_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:beehive_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "honeycomb" + } + }, + "result": { + "item": "beehive", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/beehive_from_warped_planks.json b/behavior_pack/recipes/beehive_from_warped_planks.json new file mode 100644 index 0000000..1b9edfd --- /dev/null +++ b/behavior_pack/recipes/beehive_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:beehive_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "honeycomb" + } + }, + "result": { + "item": "beehive", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/beetroot_soup.json b/behavior_pack/recipes/beetroot_soup.json new file mode 100644 index 0000000..ef33b68 --- /dev/null +++ b/behavior_pack/recipes/beetroot_soup.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:beetroot_soup" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:beetroot", + "count": 6 + } + ], + "unlock": [ + { + "item": "minecraft:beetroot" + } + ], + "result": { + "item": "minecraft:beetroot_soup" + } + } +} diff --git a/behavior_pack/recipes/birch_boat.json b/behavior_pack/recipes/birch_boat.json new file mode 100644 index 0000000..6011dd8 --- /dev/null +++ b/behavior_pack/recipes/birch_boat.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_boat" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:birch_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:birch_boat" + } + } +} diff --git a/behavior_pack/recipes/birch_chest_boat.json b/behavior_pack/recipes/birch_chest_boat.json new file mode 100644 index 0000000..0e601d4 --- /dev/null +++ b/behavior_pack/recipes/birch_chest_boat.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:birch_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 2 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 2 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/birch_door.json b/behavior_pack/recipes/birch_door.json new file mode 100644 index 0000000..4cf78b9 --- /dev/null +++ b/behavior_pack/recipes/birch_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_door" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:birch_planks" + } + }, + "unlock": [ + { + "item": "minecraft:birch_planks" + } + ], + "result": { + "item": "minecraft:birch_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/birch_fence.json b/behavior_pack/recipes/birch_fence.json new file mode 100644 index 0000000..8a45cdb --- /dev/null +++ b/behavior_pack/recipes/birch_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:birch_planks" + } + }, + "unlock": [ + { + "item": "minecraft:birch_planks" + } + ], + "result": { + "item": "minecraft:birch_fence", + "count": 3 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/birch_fence_gate.json b/behavior_pack/recipes/birch_fence_gate.json new file mode 100644 index 0000000..66cb988 --- /dev/null +++ b/behavior_pack/recipes/birch_fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_fence_gate" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:birch_planks" + } + }, + "unlock": [ + { + "item": "minecraft:birch_planks" + } + ], + "result": { + "item": "minecraft:birch_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/birch_hanging_sign.json b/behavior_pack/recipes/birch_hanging_sign.json new file mode 100644 index 0000000..af345ea --- /dev/null +++ b/behavior_pack/recipes/birch_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_birch_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_birch_log" + } + ], + "result": { + "item": "minecraft:birch_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/birch_planks.json b/behavior_pack/recipes/birch_planks.json new file mode 100644 index 0000000..9816929 --- /dev/null +++ b/behavior_pack/recipes/birch_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_planks" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:birch_log" + } + }, + "unlock": [ + { + "item": "minecraft:birch_log" + } + ], + "result": { + "item": "minecraft:birch_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/birch_planks_from_stripped.json b/behavior_pack/recipes/birch_planks_from_stripped.json new file mode 100644 index 0000000..1dd2d49 --- /dev/null +++ b/behavior_pack/recipes/birch_planks_from_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_planks_from_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_birch_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_birch_log" + } + ], + "result": { + "item": "minecraft:birch_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/birch_planks_from_stripped_wood.json b/behavior_pack/recipes/birch_planks_from_stripped_wood.json new file mode 100644 index 0000000..01e8166 --- /dev/null +++ b/behavior_pack/recipes/birch_planks_from_stripped_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_planks_from_stripped_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_birch_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_birch_wood" + } + ], + "result": { + "item": "minecraft:birch_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/birch_planks_from_wood.json b/behavior_pack/recipes/birch_planks_from_wood.json new file mode 100644 index 0000000..0231fe3 --- /dev/null +++ b/behavior_pack/recipes/birch_planks_from_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_planks_from_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:birch_wood" + } + }, + "unlock": [ + { + "item": "minecraft:birch_wood" + } + ], + "result": { + "item": "minecraft:birch_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/birch_stairs.json b/behavior_pack/recipes/birch_stairs.json new file mode 100644 index 0000000..a42b4f1 --- /dev/null +++ b/behavior_pack/recipes/birch_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_stairs" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:birch_planks" + } + }, + "unlock": [ + { + "item": "minecraft:birch_planks" + } + ], + "result": { + "item": "minecraft:birch_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/birch_wood.json b/behavior_pack/recipes/birch_wood.json new file mode 100644 index 0000000..06e702b --- /dev/null +++ b/behavior_pack/recipes/birch_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:birch_log" + } + }, + "unlock": [ + { + "item": "minecraft:birch_log" + } + ], + "result": { + "item": "minecraft:birch_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/birch_wood_stripped.json b/behavior_pack/recipes/birch_wood_stripped.json new file mode 100644 index 0000000..0794973 --- /dev/null +++ b/behavior_pack/recipes/birch_wood_stripped.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_wood_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_birch_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_birch_log" + } + ], + "result": { + "item": "minecraft:stripped_birch_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/birch_wooden_slab.json b/behavior_pack/recipes/birch_wooden_slab.json new file mode 100644 index 0000000..c72a091 --- /dev/null +++ b/behavior_pack/recipes/birch_wooden_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:birch_wooden_slab" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:birch_planks" + } + }, + "unlock": [ + { + "item": "minecraft:birch_planks" + } + ], + "result": { + "item": "minecraft:birch_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/black_banner.json b/behavior_pack/recipes/black_banner.json new file mode 100644 index 0000000..5dc6ba8 --- /dev/null +++ b/behavior_pack/recipes/black_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:black_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:black_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/black_candle.json b/behavior_pack/recipes/black_candle.json new file mode 100644 index 0000000..e5a342b --- /dev/null +++ b/behavior_pack/recipes/black_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:black_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 16 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 16 + } + ], + "result": { + "item": "minecraft:black_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/black_candle_from_ink_sac.json b/behavior_pack/recipes/black_candle_from_ink_sac.json new file mode 100644 index 0000000..18c32b9 --- /dev/null +++ b/behavior_pack/recipes/black_candle_from_ink_sac.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:black_candle_from_ink_sac" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 0 + } + ], + "result": { + "item": "minecraft:black_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/black_carpet.json b/behavior_pack/recipes/black_carpet.json new file mode 100644 index 0000000..1b296dd --- /dev/null +++ b/behavior_pack/recipes/black_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:black_wool" + } + }, + "unlock": [ + { + "item": "minecraft:black_wool" + } + ], + "result": { + "item": "minecraft:black_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/black_carpet_from_white.json b/behavior_pack/recipes/black_carpet_from_white.json new file mode 100644 index 0000000..6a47644 --- /dev/null +++ b/behavior_pack/recipes/black_carpet_from_white.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:black_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:black_dye" + } + ], + "result": { + "item": "minecraft:black_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/black_concrete_powder.json b/behavior_pack/recipes/black_concrete_powder.json new file mode 100644 index 0000000..8bb33ba --- /dev/null +++ b/behavior_pack/recipes/black_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:black_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:black_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:black_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/black_concrete_powder_from_ink_sac.json b/behavior_pack/recipes/black_concrete_powder_from_ink_sac.json new file mode 100644 index 0000000..23615de --- /dev/null +++ b/behavior_pack/recipes/black_concrete_powder_from_ink_sac.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:black_concrete_powder_from_ink_sac" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "priority": 1, + "ingredients": [ + { + "item": "minecraft:ink_sac" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:black_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/black_dye_from_ink_sac.json b/behavior_pack/recipes/black_dye_from_ink_sac.json new file mode 100644 index 0000000..b0b73bb --- /dev/null +++ b/behavior_pack/recipes/black_dye_from_ink_sac.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:black_dye_from_ink_sac" + }, + + + "tags": [ "crafting_table" ], + "group": "black_dye", + "ingredients": [ + { + "item": "minecraft:dye", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 0 + } + ], + "result": { + "item": "minecraft:dye", + "data": 16 + } + } +} diff --git a/behavior_pack/recipes/black_dye_from_wither_rose.json b/behavior_pack/recipes/black_dye_from_wither_rose.json new file mode 100644 index 0000000..2eb37bc --- /dev/null +++ b/behavior_pack/recipes/black_dye_from_wither_rose.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:black_dye_from_wither_rose" + }, + "tags": [ "crafting_table" ], + "group": "black_dye", + "ingredients": [ + { + "item": "minecraft:wither_rose" + } + ], + "unlock": [ + { + "item": "minecraft:wither_rose" + } + ], + "result": { + "item": "minecraft:dye", + "data": 16 + } + } +} diff --git a/behavior_pack/recipes/black_stained_glass.json b/behavior_pack/recipes/black_stained_glass.json new file mode 100644 index 0000000..8502bd6 --- /dev/null +++ b/behavior_pack/recipes/black_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:black_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:black_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/black_stained_glass_from_ink_sac.json b/behavior_pack/recipes/black_stained_glass_from_ink_sac.json new file mode 100644 index 0000000..2ed49df --- /dev/null +++ b/behavior_pack/recipes/black_stained_glass_from_ink_sac.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_stained_glass_from_ink_sac" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:ink_sac" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:black_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/black_stained_glass_pane.json b/behavior_pack/recipes/black_stained_glass_pane.json new file mode 100644 index 0000000..8924e44 --- /dev/null +++ b/behavior_pack/recipes/black_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:black_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:black_stained_glass" + } + ], + "result": { + "item": "minecraft:black_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/black_stained_glass_pane_from_pane.json b/behavior_pack/recipes/black_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..70cce4d --- /dev/null +++ b/behavior_pack/recipes/black_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:black_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:black_dye" + } + ], + "result": { + "item": "minecraft:black_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/black_stained_hardened_clay.json b/behavior_pack/recipes/black_stained_hardened_clay.json new file mode 100644 index 0000000..27f782b --- /dev/null +++ b/behavior_pack/recipes/black_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:black_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:black_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/black_stained_hardened_clay_from_ink_sac.json b/behavior_pack/recipes/black_stained_hardened_clay_from_ink_sac.json new file mode 100644 index 0000000..2be39e7 --- /dev/null +++ b/behavior_pack/recipes/black_stained_hardened_clay_from_ink_sac.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:black_stained_hardened_clay_from_ink_sac" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:ink_sac" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:black_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blackstone_slab.json b/behavior_pack/recipes/blackstone_slab.json new file mode 100644 index 0000000..c14b88a --- /dev/null +++ b/behavior_pack/recipes/blackstone_slab.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blackstone_slab" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:blackstone_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/blackstone_stairs.json b/behavior_pack/recipes/blackstone_stairs.json new file mode 100644 index 0000000..21ad3a5 --- /dev/null +++ b/behavior_pack/recipes/blackstone_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blackstone_stairs" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:blackstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/blackstone_wall.json b/behavior_pack/recipes/blackstone_wall.json new file mode 100644 index 0000000..13041e0 --- /dev/null +++ b/behavior_pack/recipes/blackstone_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blackstone_wall" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:blackstone_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/blast_furnace.json b/behavior_pack/recipes/blast_furnace.json new file mode 100644 index 0000000..37eeae4 --- /dev/null +++ b/behavior_pack/recipes/blast_furnace.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blast_furnace" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "III", + "IFI", + "###" + ], + "key": { + "#": { + "item": "minecraft:smooth_stone" + }, + "I": { + "item": "minecraft:iron_ingot" + }, + "F": { + "item": "minecraft:furnace" + } + }, + "unlock": [ + { + "item": "minecraft:smooth_stone" + } + ], + "result": { + "item": "minecraft:blast_furnace" + } + } +} diff --git a/behavior_pack/recipes/blaze_powder.json b/behavior_pack/recipes/blaze_powder.json new file mode 100644 index 0000000..ca190d6 --- /dev/null +++ b/behavior_pack/recipes/blaze_powder.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:blaze_powder" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:blaze_rod" + } + ], + "unlock": [ + { + "item": "minecraft:blaze_rod" + } + ], + "result": { + "item": "minecraft:blaze_powder", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/blue_banner.json b/behavior_pack/recipes/blue_banner.json new file mode 100644 index 0000000..9dedd19 --- /dev/null +++ b/behavior_pack/recipes/blue_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:blue_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:blue_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 4 + } + } +} diff --git a/behavior_pack/recipes/blue_candle.json b/behavior_pack/recipes/blue_candle.json new file mode 100644 index 0000000..40937a9 --- /dev/null +++ b/behavior_pack/recipes/blue_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:blue_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 18 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 18 + } + ], + "result": { + "item": "minecraft:blue_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/blue_candle_from_lapis_lazuli.json b/behavior_pack/recipes/blue_candle_from_lapis_lazuli.json new file mode 100644 index 0000000..cb9877a --- /dev/null +++ b/behavior_pack/recipes/blue_candle_from_lapis_lazuli.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:blue_candle_from_lapis_lazuli" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 4 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 4 + } + ], + "result": { + "item": "minecraft:blue_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/blue_carpet.json b/behavior_pack/recipes/blue_carpet.json new file mode 100644 index 0000000..e96d96d --- /dev/null +++ b/behavior_pack/recipes/blue_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:blue_wool" + } + }, + "unlock": [ + { + "item": "minecraft:blue_wool" + } + ], + "result": { + "item": "minecraft:blue_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/blue_carpet_from_white.json b/behavior_pack/recipes/blue_carpet_from_white.json new file mode 100644 index 0000000..4562655 --- /dev/null +++ b/behavior_pack/recipes/blue_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:blue_dye" + } + ], + "result": { + "item": "minecraft:blue_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blue_concrete_powder.json b/behavior_pack/recipes/blue_concrete_powder.json new file mode 100644 index 0000000..818c7c9 --- /dev/null +++ b/behavior_pack/recipes/blue_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:blue_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:blue_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + } + ], + "result": { + "item": "minecraft:blue_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blue_concrete_powder_from_lapis_lazuli.json b/behavior_pack/recipes/blue_concrete_powder_from_lapis_lazuli.json new file mode 100644 index 0000000..c46c235 --- /dev/null +++ b/behavior_pack/recipes/blue_concrete_powder_from_lapis_lazuli.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:blue_concrete_powder_from_lapis_lazuli" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "priority": 1, + "ingredients": [ + { + "item": "minecraft:lapis_lazuli" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + } + ], + "result": { + "item": "minecraft:blue_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blue_dye_from_cornflower.json b/behavior_pack/recipes/blue_dye_from_cornflower.json new file mode 100644 index 0000000..72e3615 --- /dev/null +++ b/behavior_pack/recipes/blue_dye_from_cornflower.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:blue_dye_from_cornflower" + }, + + + "tags": [ "crafting_table" ], + "group": "blue_dye", + "ingredients": [ + { + "item": "minecraft:cornflower" + } + ], + "unlock": [ + { + "item": "minecraft:cornflower" + } + ], + "result": { + "item": "minecraft:dye", + "data": 18 + } + } +} diff --git a/behavior_pack/recipes/blue_dye_from_lapis_lazuli.json b/behavior_pack/recipes/blue_dye_from_lapis_lazuli.json new file mode 100644 index 0000000..1bd7d7d --- /dev/null +++ b/behavior_pack/recipes/blue_dye_from_lapis_lazuli.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:blue_dye_from_lapis_lazuli" + }, + + + "tags": [ "crafting_table" ], + "group": "blue_dye", + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + } + ], + "result": { + "item": "minecraft:dye", + "data": 18 + } + } +} diff --git a/behavior_pack/recipes/blue_ice.json b/behavior_pack/recipes/blue_ice.json new file mode 100644 index 0000000..8c9393e --- /dev/null +++ b/behavior_pack/recipes/blue_ice.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_ice" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:packed_ice" + } + }, + "unlock": [ + { + "item": "minecraft:packed_ice" + } + ], + "result": { + "item": "minecraft:blue_ice", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/blue_stained_glass.json b/behavior_pack/recipes/blue_stained_glass.json new file mode 100644 index 0000000..8f7a24a --- /dev/null +++ b/behavior_pack/recipes/blue_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:blue_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blue_stained_glass_from_lapis_lazuli.json b/behavior_pack/recipes/blue_stained_glass_from_lapis_lazuli.json new file mode 100644 index 0000000..0f55332 --- /dev/null +++ b/behavior_pack/recipes/blue_stained_glass_from_lapis_lazuli.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_stained_glass_from_lapis_lazuli" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:lapis_lazuli" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:blue_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blue_stained_glass_pane.json b/behavior_pack/recipes/blue_stained_glass_pane.json new file mode 100644 index 0000000..a3d1c7c --- /dev/null +++ b/behavior_pack/recipes/blue_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:blue_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:blue_stained_glass" + } + ], + "result": { + "item": "minecraft:blue_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/blue_stained_glass_pane_from_pane.json b/behavior_pack/recipes/blue_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..45711da --- /dev/null +++ b/behavior_pack/recipes/blue_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:blue_dye" + } + ], + "result": { + "item": "minecraft:blue_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blue_stained_hardened_clay.json b/behavior_pack/recipes/blue_stained_hardened_clay.json new file mode 100644 index 0000000..a0a1fc5 --- /dev/null +++ b/behavior_pack/recipes/blue_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:blue_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/blue_stained_hardened_clay_from_lapis_lazuli.json b/behavior_pack/recipes/blue_stained_hardened_clay_from_lapis_lazuli.json new file mode 100644 index 0000000..8bc2edd --- /dev/null +++ b/behavior_pack/recipes/blue_stained_hardened_clay_from_lapis_lazuli.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:blue_stained_hardened_clay_from_lapis_lazuli" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:lapis_lazuli" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:blue_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/boat.json b/behavior_pack/recipes/boat.json new file mode 100644 index 0000000..e1821e3 --- /dev/null +++ b/behavior_pack/recipes/boat.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:boat" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:oak_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:oak_boat" + } + } +} diff --git a/behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..aef9059 --- /dev/null +++ b/behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.60", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bolt_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:bolt_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:copper_block" + } + }, + "unlock": [ + { + "item": "minecraft:bolt_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:bolt_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate_waxed.json b/behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate_waxed.json new file mode 100644 index 0000000..88d9cdc --- /dev/null +++ b/behavior_pack/recipes/bolt_armor_trim_smithing_template_duplicate_waxed.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.60", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bolt_armor_trim_smithing_template_duplicate_waxed" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:bolt_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:waxed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:bolt_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:bolt_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/bone_block.json b/behavior_pack/recipes/bone_block.json new file mode 100644 index 0000000..da55da5 --- /dev/null +++ b/behavior_pack/recipes/bone_block.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bone_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "XXX", + "XXX" + ], + "key": { + "X": { + "item": "minecraft:dye", + "data": 15 + } + }, + "unlock": [ + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:bone_block" + } + } +} diff --git a/behavior_pack/recipes/bone_meal_from_block.json b/behavior_pack/recipes/bone_meal_from_block.json new file mode 100644 index 0000000..86f1071 --- /dev/null +++ b/behavior_pack/recipes/bone_meal_from_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:bone_meal_from_block" + }, + + + "tags": [ "crafting_table" ], + "group": "bonemeal", + "ingredients": [ + { + "item": "minecraft:bone_block" + } + ], + "unlock": [ + { + "item": "minecraft:bone_block" + } + ], + "result": { + "item": "minecraft:dye", + "data": 15, + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/bone_meal_from_bone.json b/behavior_pack/recipes/bone_meal_from_bone.json new file mode 100644 index 0000000..b9cb4db --- /dev/null +++ b/behavior_pack/recipes/bone_meal_from_bone.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:bone_meal_from_bone" + }, + + + "tags": [ "crafting_table" ], + "group": "bonemeal", + "ingredients": [ + { + "item": "minecraft:bone" + } + ], + "unlock": [ + { + "item": "minecraft:bone" + } + ], + "result": { + "item": "minecraft:dye", + "data": 15, + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/book.json b/behavior_pack/recipes/book.json new file mode 100644 index 0000000..c43a940 --- /dev/null +++ b/behavior_pack/recipes/book.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:book" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:paper", + "data": 0 + }, + { + "item": "minecraft:paper", + "data": 0 + }, + { + "item": "minecraft:paper", + "data": 0 + }, + { + "item": "minecraft:leather", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:paper", + "data": 0 + } + ], + "result": { + "item": "minecraft:book", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/bookshelf.json b/behavior_pack/recipes/bookshelf.json new file mode 100644 index 0000000..8158745 --- /dev/null +++ b/behavior_pack/recipes/bookshelf.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:Bookshelf_woodplanks_recipeId" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "tag": "minecraft:planks" + }, + "B": { + "item": "book" + } + }, + "unlock": [ + { + "item": "minecraft:book" + } + ], + "result": { + "item": "bookshelf", + "count": 1 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bookshelf_from_crimson_planks.json b/behavior_pack/recipes/bookshelf_from_crimson_planks.json new file mode 100644 index 0000000..417c01b --- /dev/null +++ b/behavior_pack/recipes/bookshelf_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bookshelf_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "book" + } + }, + "result": { + "item": "bookshelf", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bookshelf_from_mangrove_planks.json b/behavior_pack/recipes/bookshelf_from_mangrove_planks.json new file mode 100644 index 0000000..bfee621 --- /dev/null +++ b/behavior_pack/recipes/bookshelf_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bookshelf_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "book" + } + }, + "result": { + "item": "bookshelf", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bookshelf_from_warped_planks.json b/behavior_pack/recipes/bookshelf_from_warped_planks.json new file mode 100644 index 0000000..230eb79 --- /dev/null +++ b/behavior_pack/recipes/bookshelf_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bookshelf_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "book" + } + }, + "result": { + "item": "bookshelf", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bow.json b/behavior_pack/recipes/bow.json new file mode 100644 index 0000000..e8429d6 --- /dev/null +++ b/behavior_pack/recipes/bow.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bow" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " #X", + "# X", + " #X" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:string" + } + }, + "unlock": [ + { + "item": "minecraft:string" + } + ], + "result": { + "item": "minecraft:bow" + } + } +} diff --git a/behavior_pack/recipes/bowl.json b/behavior_pack/recipes/bowl.json new file mode 100644 index 0000000..8dcc13b --- /dev/null +++ b/behavior_pack/recipes/bowl.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:Bowl_recipeId" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A A", + " A " + ], + "key": { + "A": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:mushroom_stew" + } + ], + "result": { + "item": "bowl", + "count": 4 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bowl_from_crimson_planks.json b/behavior_pack/recipes/bowl_from_crimson_planks.json new file mode 100644 index 0000000..11dcddf --- /dev/null +++ b/behavior_pack/recipes/bowl_from_crimson_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bowl_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A A", + " A " + ], + "key": { + "A": { + "item": "crimson_planks" + } + }, + "result": { + "item": "bowl", + "count": 4 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bowl_from_mangrove_planks.json b/behavior_pack/recipes/bowl_from_mangrove_planks.json new file mode 100644 index 0000000..86e4e23 --- /dev/null +++ b/behavior_pack/recipes/bowl_from_mangrove_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bowl_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A A", + " A " + ], + "key": { + "A": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "bowl", + "count": 4 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bowl_from_warped_planks.json b/behavior_pack/recipes/bowl_from_warped_planks.json new file mode 100644 index 0000000..dbdffe2 --- /dev/null +++ b/behavior_pack/recipes/bowl_from_warped_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bowl_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A A", + " A " + ], + "key": { + "A": { + "item": "warped_planks" + } + }, + "result": { + "item": "bowl", + "count": 4 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bread.json b/behavior_pack/recipes/bread.json new file mode 100644 index 0000000..68ec5aa --- /dev/null +++ b/behavior_pack/recipes/bread.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bread" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:wheat" + } + }, + "unlock": [ + { + "item": "minecraft:wheat" + } + ], + "result": { + "item": "minecraft:bread" + } + } +} diff --git a/behavior_pack/recipes/brew_awkward_blaze_powder.json b/behavior_pack/recipes/brew_awkward_blaze_powder.json new file mode 100644 index 0000000..778cc46 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_blaze_powder.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_blaze_powder" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:blaze_powder", + "output": "minecraft:potion_type:strength" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_breeze_rod.json b/behavior_pack/recipes/brew_awkward_breeze_rod.json new file mode 100644 index 0000000..ec60f86 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_breeze_rod.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_breeze_rod" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:breeze_rod", + "output": "minecraft:potion_type:wind_charged" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_fermented_spider_eye.json b/behavior_pack/recipes/brew_awkward_fermented_spider_eye.json new file mode 100644 index 0000000..1ff85f8 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:weakness" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_ghast_tear.json b/behavior_pack/recipes/brew_awkward_ghast_tear.json new file mode 100644 index 0000000..647b418 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_ghast_tear.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_ghast_tear" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:ghast_tear", + "output": "minecraft:potion_type:regeneration" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_golden_carrot.json b/behavior_pack/recipes/brew_awkward_golden_carrot.json new file mode 100644 index 0000000..efa5614 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_golden_carrot.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_golden_carrot" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:golden_carrot", + "output": "minecraft:potion_type:nightvision" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_magma_cream.json b/behavior_pack/recipes/brew_awkward_magma_cream.json new file mode 100644 index 0000000..399205c --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_magma_cream.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_magma_cream" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:magma_cream", + "output": "minecraft:potion_type:fire_resistance" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_phantom_membrane.json b/behavior_pack/recipes/brew_awkward_phantom_membrane.json new file mode 100644 index 0000000..20ef85b --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_phantom_membrane.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_phantom_membrane" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:phantom_membrane", + "output": "minecraft:potion_type:slow_falling" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_puffer_fish.json b/behavior_pack/recipes/brew_awkward_puffer_fish.json new file mode 100644 index 0000000..517dabe --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_puffer_fish.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_puffer_fish" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:pufferfish", + "output": "minecraft:potion_type:water_breathing" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_rabbit_foot.json b/behavior_pack/recipes/brew_awkward_rabbit_foot.json new file mode 100644 index 0000000..29d200e --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_rabbit_foot.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_rabbit_foot" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:rabbit_foot", + "output": "minecraft:potion_type:leaping" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_slime_block.json b/behavior_pack/recipes/brew_awkward_slime_block.json new file mode 100644 index 0000000..70c4fa3 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_slime_block.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_slime_block" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:slime", + "output": "minecraft:potion_type:oozing" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_speckled_melon.json b/behavior_pack/recipes/brew_awkward_speckled_melon.json new file mode 100644 index 0000000..c471e3c --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_speckled_melon.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_breathing_speckled_melon" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:speckled_melon", + "output": "minecraft:potion_type:healing" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_spider_eye.json b/behavior_pack/recipes/brew_awkward_spider_eye.json new file mode 100644 index 0000000..96f7ab0 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_poison" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:spider_eye", + "output": "minecraft:potion_type:poison" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_stone.json b/behavior_pack/recipes/brew_awkward_stone.json new file mode 100644 index 0000000..78333b3 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_stone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:stone", + "output": "minecraft:potion_type:infested" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_sugar.json b/behavior_pack/recipes/brew_awkward_sugar.json new file mode 100644 index 0000000..0a6f980 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_sugar.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_sugar" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:sugar", + "output": "minecraft:potion_type:swiftness" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_turtle_helmet.json b/behavior_pack/recipes/brew_awkward_turtle_helmet.json new file mode 100644 index 0000000..1863e51 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_turtle_helmet.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_turtle_helmet" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:turtle_helmet", + "output": "minecraft:potion_type:turtle_master" + } + +} diff --git a/behavior_pack/recipes/brew_awkward_web.json b/behavior_pack/recipes/brew_awkward_web.json new file mode 100644 index 0000000..9045309 --- /dev/null +++ b/behavior_pack/recipes/brew_awkward_web.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_awkward_web" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:awkward", + "reagent": "minecraft:web", + "output": "minecraft:potion_type:weaving" + } + +} diff --git a/behavior_pack/recipes/brew_fireresistance_redstone.json b/behavior_pack/recipes/brew_fireresistance_redstone.json new file mode 100644 index 0000000..66a5568 --- /dev/null +++ b/behavior_pack/recipes/brew_fireresistance_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_fireresistance_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:fire_resistance", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_fire_resistance" + } + +} diff --git a/behavior_pack/recipes/brew_harming_glowstone_dust.json b/behavior_pack/recipes/brew_harming_glowstone_dust.json new file mode 100644 index 0000000..755b52b --- /dev/null +++ b/behavior_pack/recipes/brew_harming_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_harming_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:harming", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_harming" + } + +} diff --git a/behavior_pack/recipes/brew_healing_fermented_spider_eye.json b/behavior_pack/recipes/brew_healing_fermented_spider_eye.json new file mode 100644 index 0000000..460d97f --- /dev/null +++ b/behavior_pack/recipes/brew_healing_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_healing_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:healing", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:harming" + } + +} diff --git a/behavior_pack/recipes/brew_healing_glowstone_dust.json b/behavior_pack/recipes/brew_healing_glowstone_dust.json new file mode 100644 index 0000000..0cf9e20 --- /dev/null +++ b/behavior_pack/recipes/brew_healing_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_healing_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:healing", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_healing" + } + +} diff --git a/behavior_pack/recipes/brew_invisibility_red_stone.json b/behavior_pack/recipes/brew_invisibility_red_stone.json new file mode 100644 index 0000000..d880451 --- /dev/null +++ b/behavior_pack/recipes/brew_invisibility_red_stone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_invisibility_red_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:invisibility", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_invisibility" + } + +} diff --git a/behavior_pack/recipes/brew_leaping_fermented_spider_eye.json b/behavior_pack/recipes/brew_leaping_fermented_spider_eye.json new file mode 100644 index 0000000..60f388c --- /dev/null +++ b/behavior_pack/recipes/brew_leaping_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_leaping_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:leaping", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:slowness" + } + +} diff --git a/behavior_pack/recipes/brew_leaping_glow_stone.json b/behavior_pack/recipes/brew_leaping_glow_stone.json new file mode 100644 index 0000000..329b1e0 --- /dev/null +++ b/behavior_pack/recipes/brew_leaping_glow_stone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_leaping_glow_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:leaping", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_leaping" + } + +} diff --git a/behavior_pack/recipes/brew_leaping_red_stone.json b/behavior_pack/recipes/brew_leaping_red_stone.json new file mode 100644 index 0000000..3045f7b --- /dev/null +++ b/behavior_pack/recipes/brew_leaping_red_stone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_leaping_red_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:leaping", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_leaping" + } + +} diff --git a/behavior_pack/recipes/brew_long_leaping_fermented_spider_eye.json b/behavior_pack/recipes/brew_long_leaping_fermented_spider_eye.json new file mode 100644 index 0000000..439e287 --- /dev/null +++ b/behavior_pack/recipes/brew_long_leaping_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_longleaping_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:long_leaping", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:long_slowness" + } + +} diff --git a/behavior_pack/recipes/brew_long_mundane_fermented_spider_eye.json b/behavior_pack/recipes/brew_long_mundane_fermented_spider_eye.json new file mode 100644 index 0000000..25adc55 --- /dev/null +++ b/behavior_pack/recipes/brew_long_mundane_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_long_mundane_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:long_mundane", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:long_weakness" + } + +} diff --git a/behavior_pack/recipes/brew_long_poison_fermented_spider_eye.json b/behavior_pack/recipes/brew_long_poison_fermented_spider_eye.json new file mode 100644 index 0000000..8effa00 --- /dev/null +++ b/behavior_pack/recipes/brew_long_poison_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_longPoison_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:long_poison", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:harming" + } + +} diff --git a/behavior_pack/recipes/brew_long_strength_fermented_spider_eye.json b/behavior_pack/recipes/brew_long_strength_fermented_spider_eye.json new file mode 100644 index 0000000..8bf3051 --- /dev/null +++ b/behavior_pack/recipes/brew_long_strength_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_long_strength_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:long_strength", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:long_weakness" + } + +} diff --git a/behavior_pack/recipes/brew_longnightvision_fermented_spider_eye.json b/behavior_pack/recipes/brew_longnightvision_fermented_spider_eye.json new file mode 100644 index 0000000..cb39ae1 --- /dev/null +++ b/behavior_pack/recipes/brew_longnightvision_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_longnightvision_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:long_nightvision", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:long_invisibility" + } + +} diff --git a/behavior_pack/recipes/brew_longswiftness_fermented_spider_eye.json b/behavior_pack/recipes/brew_longswiftness_fermented_spider_eye.json new file mode 100644 index 0000000..7e2481b --- /dev/null +++ b/behavior_pack/recipes/brew_longswiftness_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_longswiftness_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:long_swiftness", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:long_slowness" + } + +} diff --git a/behavior_pack/recipes/brew_mundane_fermented_spider_eye.json b/behavior_pack/recipes/brew_mundane_fermented_spider_eye.json new file mode 100644 index 0000000..1a03177 --- /dev/null +++ b/behavior_pack/recipes/brew_mundane_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_mundane_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:mundane", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:weakness" + } + +} diff --git a/behavior_pack/recipes/brew_nightvision_fermented_spider_eye.json b/behavior_pack/recipes/brew_nightvision_fermented_spider_eye.json new file mode 100644 index 0000000..5d61094 --- /dev/null +++ b/behavior_pack/recipes/brew_nightvision_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_nightvision_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:nightvision", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:invisibility" + } + +} diff --git a/behavior_pack/recipes/brew_nightvision_redstone.json b/behavior_pack/recipes/brew_nightvision_redstone.json new file mode 100644 index 0000000..ced769d --- /dev/null +++ b/behavior_pack/recipes/brew_nightvision_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_nightvision_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:nightvision", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_nightvision" + } + +} diff --git a/behavior_pack/recipes/brew_poison_fermented_spider_eye.json b/behavior_pack/recipes/brew_poison_fermented_spider_eye.json new file mode 100644 index 0000000..8ac0ab3 --- /dev/null +++ b/behavior_pack/recipes/brew_poison_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_poison_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:poison", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:harming" + } + +} diff --git a/behavior_pack/recipes/brew_poison_glowstone_dust.json b/behavior_pack/recipes/brew_poison_glowstone_dust.json new file mode 100644 index 0000000..08af134 --- /dev/null +++ b/behavior_pack/recipes/brew_poison_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_poison_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:poison", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_poison" + } + +} diff --git a/behavior_pack/recipes/brew_poison_redstone.json b/behavior_pack/recipes/brew_poison_redstone.json new file mode 100644 index 0000000..092b48a --- /dev/null +++ b/behavior_pack/recipes/brew_poison_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_poison_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:poison", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_poison" + } + +} diff --git a/behavior_pack/recipes/brew_potion_sulphur.json b/behavior_pack/recipes/brew_potion_sulphur.json new file mode 100644 index 0000000..d1bef61 --- /dev/null +++ b/behavior_pack/recipes/brew_potion_sulphur.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_container": { + "description": { + "identifier": "minecraft:brew_potion_sulphur" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion", + "reagent": "minecraft:gunpowder", + "output": "minecraft:splash_potion" + } + +} diff --git a/behavior_pack/recipes/brew_regeneration_glowstone_dust.json b/behavior_pack/recipes/brew_regeneration_glowstone_dust.json new file mode 100644 index 0000000..eecd528 --- /dev/null +++ b/behavior_pack/recipes/brew_regeneration_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_regeneration_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:regeneration", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_regeneration" + } + +} diff --git a/behavior_pack/recipes/brew_regeneration_redstone.json b/behavior_pack/recipes/brew_regeneration_redstone.json new file mode 100644 index 0000000..fbce7f7 --- /dev/null +++ b/behavior_pack/recipes/brew_regeneration_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_regeneration_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:regeneration", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_regeneration" + } + +} diff --git a/behavior_pack/recipes/brew_slow_falling_redstone.json b/behavior_pack/recipes/brew_slow_falling_redstone.json new file mode 100644 index 0000000..e1112da --- /dev/null +++ b/behavior_pack/recipes/brew_slow_falling_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_slow_falling_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:slow_falling", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_slow_falling" + } + +} diff --git a/behavior_pack/recipes/brew_slowness_glowstone_dust.json b/behavior_pack/recipes/brew_slowness_glowstone_dust.json new file mode 100644 index 0000000..32ca9b8 --- /dev/null +++ b/behavior_pack/recipes/brew_slowness_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_slowness_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:slowness", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_slowness" + } + +} diff --git a/behavior_pack/recipes/brew_slowness_redstone.json b/behavior_pack/recipes/brew_slowness_redstone.json new file mode 100644 index 0000000..27019e7 --- /dev/null +++ b/behavior_pack/recipes/brew_slowness_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_slowness_red_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:slowness", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_slowness" + } + +} diff --git a/behavior_pack/recipes/brew_splash_potion_dragon_breath.json b/behavior_pack/recipes/brew_splash_potion_dragon_breath.json new file mode 100644 index 0000000..9ac95d9 --- /dev/null +++ b/behavior_pack/recipes/brew_splash_potion_dragon_breath.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_container": { + "description": { + "identifier": "minecraft:brew_splash_potion_dragon_breath" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:splash_potion", + "reagent": "minecraft:dragon_breath", + "output": "minecraft:lingering_potion" + } + +} diff --git a/behavior_pack/recipes/brew_strength_fermented_spider_eye.json b/behavior_pack/recipes/brew_strength_fermented_spider_eye.json new file mode 100644 index 0000000..1c68246 --- /dev/null +++ b/behavior_pack/recipes/brew_strength_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_strength_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:strength", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:weakness" + } + +} diff --git a/behavior_pack/recipes/brew_strength_glowstone_dust.json b/behavior_pack/recipes/brew_strength_glowstone_dust.json new file mode 100644 index 0000000..a242ad3 --- /dev/null +++ b/behavior_pack/recipes/brew_strength_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_strength_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:strength", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_strength" + } + +} diff --git a/behavior_pack/recipes/brew_strength_redstone.json b/behavior_pack/recipes/brew_strength_redstone.json new file mode 100644 index 0000000..2f70884 --- /dev/null +++ b/behavior_pack/recipes/brew_strength_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_strength_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:strength", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_strength" + } + +} diff --git a/behavior_pack/recipes/brew_strong_healing_fermented_spider_eye.json b/behavior_pack/recipes/brew_strong_healing_fermented_spider_eye.json new file mode 100644 index 0000000..a6934fb --- /dev/null +++ b/behavior_pack/recipes/brew_strong_healing_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_strongHealing_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:strong_healing", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:strong_harming" + } + +} diff --git a/behavior_pack/recipes/brew_strong_poison_fermented_spider_eye.json b/behavior_pack/recipes/brew_strong_poison_fermented_spider_eye.json new file mode 100644 index 0000000..91ea8de --- /dev/null +++ b/behavior_pack/recipes/brew_strong_poison_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_strong_poison_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:strong_poison", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:strong_harming" + } + +} diff --git a/behavior_pack/recipes/brew_strong_strength_fermented_spider_eye.json b/behavior_pack/recipes/brew_strong_strength_fermented_spider_eye.json new file mode 100644 index 0000000..6f350c1 --- /dev/null +++ b/behavior_pack/recipes/brew_strong_strength_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_strong_strength_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:strong_strength", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:weakness" + } + +} diff --git a/behavior_pack/recipes/brew_swiftness_fermented_spider_eye.json b/behavior_pack/recipes/brew_swiftness_fermented_spider_eye.json new file mode 100644 index 0000000..17d6f37 --- /dev/null +++ b/behavior_pack/recipes/brew_swiftness_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_swiftness_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:swiftness", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:slowness" + } + +} diff --git a/behavior_pack/recipes/brew_swiftness_glowstone_dust.json b/behavior_pack/recipes/brew_swiftness_glowstone_dust.json new file mode 100644 index 0000000..8b872b6 --- /dev/null +++ b/behavior_pack/recipes/brew_swiftness_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_swiftness_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:swiftness", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_swiftness" + } + +} diff --git a/behavior_pack/recipes/brew_swiftness_redstone.json b/behavior_pack/recipes/brew_swiftness_redstone.json new file mode 100644 index 0000000..71abd37 --- /dev/null +++ b/behavior_pack/recipes/brew_swiftness_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_swiftness_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:swiftness", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_swiftness" + } + +} diff --git a/behavior_pack/recipes/brew_thick_fermented_spider_eye.json b/behavior_pack/recipes/brew_thick_fermented_spider_eye.json new file mode 100644 index 0000000..d2e0468 --- /dev/null +++ b/behavior_pack/recipes/brew_thick_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_thick_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:thick", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:weakness" + } + +} diff --git a/behavior_pack/recipes/brew_turtle_master_glowstone_dust.json b/behavior_pack/recipes/brew_turtle_master_glowstone_dust.json new file mode 100644 index 0000000..7eb02bc --- /dev/null +++ b/behavior_pack/recipes/brew_turtle_master_glowstone_dust.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_turtleMaster_glowstone_dust" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:turtle_master", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:strong_turtle_master" + } + +} diff --git a/behavior_pack/recipes/brew_turtle_master_redstone.json b/behavior_pack/recipes/brew_turtle_master_redstone.json new file mode 100644 index 0000000..20bba8d --- /dev/null +++ b/behavior_pack/recipes/brew_turtle_master_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_turtleMaster_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:turtle_master", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_turtle_master" + } + +} diff --git a/behavior_pack/recipes/brew_water_blaze_powder.json b/behavior_pack/recipes/brew_water_blaze_powder.json new file mode 100644 index 0000000..0ba9403 --- /dev/null +++ b/behavior_pack/recipes/brew_water_blaze_powder.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_blaze_powder" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:blaze_powder", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_breathing_redstone.json b/behavior_pack/recipes/brew_water_breathing_redstone.json new file mode 100644 index 0000000..480086f --- /dev/null +++ b/behavior_pack/recipes/brew_water_breathing_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_breathing_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water_breathing", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_water_breathing" + } + +} diff --git a/behavior_pack/recipes/brew_water_breeze_rod.json b/behavior_pack/recipes/brew_water_breeze_rod.json new file mode 100644 index 0000000..2a8682a --- /dev/null +++ b/behavior_pack/recipes/brew_water_breeze_rod.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_breeze_rod" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:breeze_rod", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_fermented_spider_eye.json b/behavior_pack/recipes/brew_water_fermented_spider_eye.json new file mode 100644 index 0000000..90e3403 --- /dev/null +++ b/behavior_pack/recipes/brew_water_fermented_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_fermented_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:fermented_spider_eye", + "output": "minecraft:potion_type:weakness" + } + +} diff --git a/behavior_pack/recipes/brew_water_ghast_tear.json b/behavior_pack/recipes/brew_water_ghast_tear.json new file mode 100644 index 0000000..c0db118 --- /dev/null +++ b/behavior_pack/recipes/brew_water_ghast_tear.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_ghast_tear" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:ghast_tear", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_glow_stone.json b/behavior_pack/recipes/brew_water_glow_stone.json new file mode 100644 index 0000000..55bdf3a --- /dev/null +++ b/behavior_pack/recipes/brew_water_glow_stone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_glow_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:glowstone_dust", + "output": "minecraft:potion_type:Thick" + } + +} diff --git a/behavior_pack/recipes/brew_water_magma_cream.json b/behavior_pack/recipes/brew_water_magma_cream.json new file mode 100644 index 0000000..93b6415 --- /dev/null +++ b/behavior_pack/recipes/brew_water_magma_cream.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_magma_cream" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:magma_cream", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_nether_wart.json b/behavior_pack/recipes/brew_water_nether_wart.json new file mode 100644 index 0000000..4ae79da --- /dev/null +++ b/behavior_pack/recipes/brew_water_nether_wart.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_nether_wart" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:nether_wart", + "output": "minecraft:potion_type:Awkward" + } + +} diff --git a/behavior_pack/recipes/brew_water_rabbit_foot.json b/behavior_pack/recipes/brew_water_rabbit_foot.json new file mode 100644 index 0000000..47cb18c --- /dev/null +++ b/behavior_pack/recipes/brew_water_rabbit_foot.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_rabbit_foot" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:rabbit_foot", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_red_stone.json b/behavior_pack/recipes/brew_water_red_stone.json new file mode 100644 index 0000000..e9133cc --- /dev/null +++ b/behavior_pack/recipes/brew_water_red_stone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_red_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_slime_block.json b/behavior_pack/recipes/brew_water_slime_block.json new file mode 100644 index 0000000..f403f9d --- /dev/null +++ b/behavior_pack/recipes/brew_water_slime_block.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_slime_block" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:slime", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_speckled_melon.json b/behavior_pack/recipes/brew_water_speckled_melon.json new file mode 100644 index 0000000..66e48c2 --- /dev/null +++ b/behavior_pack/recipes/brew_water_speckled_melon.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_speckled_melon" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:speckled_melon", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_spider_eye.json b/behavior_pack/recipes/brew_water_spider_eye.json new file mode 100644 index 0000000..cb8f405 --- /dev/null +++ b/behavior_pack/recipes/brew_water_spider_eye.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_spider_eye" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:spider_eye", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_stone.json b/behavior_pack/recipes/brew_water_stone.json new file mode 100644 index 0000000..cd51329 --- /dev/null +++ b/behavior_pack/recipes/brew_water_stone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_stone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:stone", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_sugar.json b/behavior_pack/recipes/brew_water_sugar.json new file mode 100644 index 0000000..4130e43 --- /dev/null +++ b/behavior_pack/recipes/brew_water_sugar.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_sugar" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:sugar", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_water_web.json b/behavior_pack/recipes/brew_water_web.json new file mode 100644 index 0000000..e499a72 --- /dev/null +++ b/behavior_pack/recipes/brew_water_web.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.12", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_water_web" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:water", + "reagent": "minecraft:web", + "output": "minecraft:potion_type:mundane" + } + +} diff --git a/behavior_pack/recipes/brew_weakness_redstone.json b/behavior_pack/recipes/brew_weakness_redstone.json new file mode 100644 index 0000000..795a593 --- /dev/null +++ b/behavior_pack/recipes/brew_weakness_redstone.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_brewing_mix": { + "description": { + "identifier": "minecraft:brew_weakness_redstone" + }, + + "tags": [ "brewing_stand" ], + + "input": "minecraft:potion_type:weakness", + "reagent": "minecraft:redstone", + "output": "minecraft:potion_type:long_weakness" + } + +} diff --git a/behavior_pack/recipes/brewing_stand.json b/behavior_pack/recipes/brewing_stand.json new file mode 100644 index 0000000..3f5e77f --- /dev/null +++ b/behavior_pack/recipes/brewing_stand.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brewing_stand" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " B ", + "###" + ], + "key": { + "B": { + "item": "minecraft:blaze_rod" + }, + "#": { + "tag": "minecraft:stone_crafting_materials" + } + }, + "unlock": [ + { + "item": "minecraft:blaze_rod" + } + ], + "result": { + "item": "minecraft:brewing_stand" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/brewing_stand_from_blackstone.json b/behavior_pack/recipes/brewing_stand_from_blackstone.json new file mode 100644 index 0000000..4e29c77 --- /dev/null +++ b/behavior_pack/recipes/brewing_stand_from_blackstone.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brewing_stand_from_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " B ", + "###" + ], + "key": { + "B": { + "item": "minecraft:blaze_rod" + }, + "#": { + "item": "minecraft:blackstone" + } + }, + "result": { + "item": "minecraft:brewing_stand" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/brewing_stand_from_cobbled_deepslate.json b/behavior_pack/recipes/brewing_stand_from_cobbled_deepslate.json new file mode 100644 index 0000000..4143edb --- /dev/null +++ b/behavior_pack/recipes/brewing_stand_from_cobbled_deepslate.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brewing_stand_from_cobbled_deepslate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " B ", + "###" + ], + "key": { + "B": { + "item": "minecraft:blaze_rod" + }, + "#": { + "item": "minecraft:cobbled_deepslate" + } + }, + "result": { + "item": "minecraft:brewing_stand" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/brick_block.json b/behavior_pack/recipes/brick_block.json new file mode 100644 index 0000000..3c157bb --- /dev/null +++ b/behavior_pack/recipes/brick_block.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brick_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:brick" + } + }, + "unlock": [ + { + "item": "minecraft:brick" + } + ], + "result": { + "item": "minecraft:brick_block" + } + } +} diff --git a/behavior_pack/recipes/brick_stairs.json b/behavior_pack/recipes/brick_stairs.json new file mode 100644 index 0000000..0748c7e --- /dev/null +++ b/behavior_pack/recipes/brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brick_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:brick_block" + } + }, + "unlock": [ + { + "item": "minecraft:brick_block" + } + ], + "result": { + "item": "minecraft:brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/brick_wall.json b/behavior_pack/recipes/brick_wall.json new file mode 100644 index 0000000..69f66ec --- /dev/null +++ b/behavior_pack/recipes/brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brick_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:brick_block" + } + }, + "unlock": [ + { + "item": "minecraft:brick_block" + } + ], + "result": { + "item": "minecraft:brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/brown_banner.json b/behavior_pack/recipes/brown_banner.json new file mode 100644 index 0000000..e911794 --- /dev/null +++ b/behavior_pack/recipes/brown_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:brown_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:brown_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 3 + } + } +} diff --git a/behavior_pack/recipes/brown_candle.json b/behavior_pack/recipes/brown_candle.json new file mode 100644 index 0000000..32966a1 --- /dev/null +++ b/behavior_pack/recipes/brown_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:brown_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 17 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 17 + } + ], + "result": { + "item": "minecraft:brown_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/brown_candle_from_cocoa_beans.json b/behavior_pack/recipes/brown_candle_from_cocoa_beans.json new file mode 100644 index 0000000..16bf3ce --- /dev/null +++ b/behavior_pack/recipes/brown_candle_from_cocoa_beans.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:brown_candle_from_cocoa_beans" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 3 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 3 + } + ], + "result": { + "item": "minecraft:brown_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/brown_carpet.json b/behavior_pack/recipes/brown_carpet.json new file mode 100644 index 0000000..1978251 --- /dev/null +++ b/behavior_pack/recipes/brown_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:brown_wool" + } + }, + "unlock": [ + { + "item": "minecraft:brown_wool" + } + ], + "result": { + "item": "minecraft:brown_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/brown_carpet_from_white.json b/behavior_pack/recipes/brown_carpet_from_white.json new file mode 100644 index 0000000..38333a7 --- /dev/null +++ b/behavior_pack/recipes/brown_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:brown_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:brown_dye" + } + ], + "result": { + "item": "minecraft:brown_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brown_concrete_powder.json b/behavior_pack/recipes/brown_concrete_powder.json new file mode 100644 index 0000000..ef4e5ed --- /dev/null +++ b/behavior_pack/recipes/brown_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:brown_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:brown_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:brown_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brown_concrete_powder_from_cocoa_beans.json b/behavior_pack/recipes/brown_concrete_powder_from_cocoa_beans.json new file mode 100644 index 0000000..3630bba --- /dev/null +++ b/behavior_pack/recipes/brown_concrete_powder_from_cocoa_beans.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:brown_concrete_powder_from_cocoa_beans" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "priority": 1, + "ingredients": [ + { + "item": "minecraft:cocoa_beans" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:brown_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brown_dye_from_cocoa_beans.json b/behavior_pack/recipes/brown_dye_from_cocoa_beans.json new file mode 100644 index 0000000..33b3335 --- /dev/null +++ b/behavior_pack/recipes/brown_dye_from_cocoa_beans.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:brown_dye_from_cocoa_beans" + }, + + + "tags": [ "crafting_table" ], + "group": "brown_dye", + "ingredients": [ + { + "item": "minecraft:dye", + "data": 3 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 3 + } + ], + "result": { + "item": "minecraft:dye", + "data": 17 + } + } +} diff --git a/behavior_pack/recipes/brown_stained_glass.json b/behavior_pack/recipes/brown_stained_glass.json new file mode 100644 index 0000000..cae7eed --- /dev/null +++ b/behavior_pack/recipes/brown_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:brown_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:brown_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brown_stained_glass_from_cocoa_beans.json b/behavior_pack/recipes/brown_stained_glass_from_cocoa_beans.json new file mode 100644 index 0000000..82c680b --- /dev/null +++ b/behavior_pack/recipes/brown_stained_glass_from_cocoa_beans.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_stained_glass_from_cocoa_beans" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:cocoa_beans" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:brown_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brown_stained_glass_pane.json b/behavior_pack/recipes/brown_stained_glass_pane.json new file mode 100644 index 0000000..e05d672 --- /dev/null +++ b/behavior_pack/recipes/brown_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:brown_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:brown_stained_glass" + } + ], + "result": { + "item": "minecraft:brown_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/brown_stained_glass_pane_from_pane.json b/behavior_pack/recipes/brown_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..153fdb0 --- /dev/null +++ b/behavior_pack/recipes/brown_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:brown_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:brown_dye" + } + ], + "result": { + "item": "minecraft:brown_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brown_stained_hardened_clay.json b/behavior_pack/recipes/brown_stained_hardened_clay.json new file mode 100644 index 0000000..6146150 --- /dev/null +++ b/behavior_pack/recipes/brown_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:brown_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:brown_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brown_stained_hardened_clay_from_cocoa_beans.json b/behavior_pack/recipes/brown_stained_hardened_clay_from_cocoa_beans.json new file mode 100644 index 0000000..2a828ca --- /dev/null +++ b/behavior_pack/recipes/brown_stained_hardened_clay_from_cocoa_beans.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brown_stained_hardened_clay_from_cocoa_beans" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:cocoa_beans" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:brown_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/brush.json b/behavior_pack/recipes/brush.json new file mode 100644 index 0000000..b9544ca --- /dev/null +++ b/behavior_pack/recipes/brush.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:brush" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "|" + ], + "key": { + "X": { + "item": "minecraft:feather" + }, + "#": { + "item": "minecraft:copper_ingot" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:copper_ingot" + } + ], + "result": { + "item": "minecraft:brush", + "count": 1 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/bucket.json b/behavior_pack/recipes/bucket.json new file mode 100644 index 0000000..0add27c --- /dev/null +++ b/behavior_pack/recipes/bucket.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bucket" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + " # " + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:bucket" + } + } +} diff --git a/behavior_pack/recipes/bundle.json b/behavior_pack/recipes/bundle.json new file mode 100644 index 0000000..314bfd3 --- /dev/null +++ b/behavior_pack/recipes/bundle.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.21.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:bundle" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#" + ], + "key": { + "X": { + "item": "minecraft:string" + }, + "#": { + "item": "minecraft:leather" + } + }, + "result": { + "item": "minecraft:bundle" + }, + "priority": 1, + "unlock": [ + { + "item": "minecraft:leather" + }, + { + "item": "minecraft:string" + } + ] + } +} diff --git a/behavior_pack/recipes/cake.json b/behavior_pack/recipes/cake.json new file mode 100644 index 0000000..a492272 --- /dev/null +++ b/behavior_pack/recipes/cake.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cake" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "AAA", + "BEB", + "CCC" + ], + "key": { + "A": { + "item": "minecraft:bucket", + "data": 1 + }, + "B": { + "item": "minecraft:sugar" + }, + "C": { + "item": "minecraft:wheat" + }, + "E": { + "item": "minecraft:egg" + } + }, + "unlock": [ + { + "item": "minecraft:egg" + } + ], + "result": [ + { "item": "minecraft:cake" }, + { "item": "minecraft:bucket", "count": 3, "data": 0 } + ] + } +} diff --git a/behavior_pack/recipes/calibrated_sculk_sensor.json b/behavior_pack/recipes/calibrated_sculk_sensor.json new file mode 100644 index 0000000..85433ab --- /dev/null +++ b/behavior_pack/recipes/calibrated_sculk_sensor.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:calibrated_sculk_sensor" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " X ", + "X#X" + ], + "key": { + "X": { + "item": "minecraft:amethyst_shard" + }, + "#": { + "item": "minecraft:sculk_sensor" + } + }, + "unlock": [ + { + "item": "minecraft:amethyst_shard" + } + ], + "result": { + "item": "minecraft:calibrated_sculk_sensor", + "count": 1 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/campfire.json b/behavior_pack/recipes/campfire.json new file mode 100644 index 0000000..5c46183 --- /dev/null +++ b/behavior_pack/recipes/campfire.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "tag": "minecraft:logs" + }, + "C": { + "tag": "minecraft:coals" + } + }, + "unlock": [ + { + "item": "minecraft:stick" + } + ], + "result": { + "item": "minecraft:campfire" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/campfire_charcoal.json b/behavior_pack/recipes/campfire_charcoal.json new file mode 100644 index 0000000..289a3ff --- /dev/null +++ b/behavior_pack/recipes/campfire_charcoal.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_log2.json b/behavior_pack/recipes/campfire_from_charcoal_log2.json new file mode 100644 index 0000000..7cb3aa2 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_log2.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_log2" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:log2" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_mangrove_log.json b/behavior_pack/recipes/campfire_from_charcoal_mangrove_log.json new file mode 100644 index 0000000..8268ef7 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_mangrove_log.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_mangrove_log" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "minecraft:charcoal" + }, + "C": { + "item": "minecraft:mangrove_log" + } + }, + "result": { + "item": "minecraft:campfire", + "count": 1 + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_mangrove_wood.json b/behavior_pack/recipes/campfire_from_charcoal_mangrove_wood.json new file mode 100644 index 0000000..54ddc2d --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_mangrove_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_mangrove_wood" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "minecraft:charcoal" + }, + "C": { + "item": "minecraft:mangrove_wood" + } + }, + "result": { + "item": "minecraft:campfire", + "count": 1 + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_acacia_log.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_acacia_log.json new file mode 100644 index 0000000..8b9b7d3 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_acacia_log.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_acacia_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_acacia_log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_birch_log.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_birch_log.json new file mode 100644 index 0000000..ba93474 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_birch_log.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_birch_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_birch_log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_dark_oak_log.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_dark_oak_log.json new file mode 100644 index 0000000..e20209b --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_dark_oak_log.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_dark_oak_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_dark_oak_log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_jungle_log.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_jungle_log.json new file mode 100644 index 0000000..f92a8e9 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_jungle_log.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_jungle_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_jungle_log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_log.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_log.json new file mode 100644 index 0000000..a8c8193 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_log.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_mangrove_log" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_mangrove_log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_wood.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_wood.json new file mode 100644 index 0000000..e7dd996 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_mangrove_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_mangrove_wood" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "item": "minecraft:charcoal" + }, + "C": { + "item": "minecraft:stripped_mangrove_wood" + } + }, + "result": { + "item": "minecraft:campfire", + "count": 1 + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_oak_log.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_oak_log.json new file mode 100644 index 0000000..cc58655 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_oak_log.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_oak_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_oak_log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_stripped_spruce_log.json b/behavior_pack/recipes/campfire_from_charcoal_stripped_spruce_log.json new file mode 100644 index 0000000..880538c --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_stripped_spruce_log.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_stripped_spruce_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_spruce_log" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_charcoal_wood.json b/behavior_pack/recipes/campfire_from_charcoal_wood.json new file mode 100644 index 0000000..7fd407f --- /dev/null +++ b/behavior_pack/recipes/campfire_from_charcoal_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_charcoal_wood" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:wood" + }, + "C": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_crimson_stem.json b/behavior_pack/recipes/campfire_from_crimson_stem.json new file mode 100644 index 0000000..1ca4851 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_crimson_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_crimson_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "coal" + }, + "C": { + "item": "crimson_stem" + } + }, + "result": { + "item": "campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/campfire_from_log2.json b/behavior_pack/recipes/campfire_from_log2.json new file mode 100644 index 0000000..fef1f02 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_log2.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_log2" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:log2" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_mangrove_log.json b/behavior_pack/recipes/campfire_from_mangrove_log.json new file mode 100644 index 0000000..fc1750f --- /dev/null +++ b/behavior_pack/recipes/campfire_from_mangrove_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_mangrove_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "coal" + }, + "C": { + "item": "mangrove_log" + } + }, + "result": { + "item": "campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/campfire_from_mangrove_wood.json b/behavior_pack/recipes/campfire_from_mangrove_wood.json new file mode 100644 index 0000000..7e4d248 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_mangrove_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_mangrove_wood" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:mangrove_wood" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_acacia_log.json b/behavior_pack/recipes/campfire_from_stripped_acacia_log.json new file mode 100644 index 0000000..e8164e8 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_acacia_log.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_acacia_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_acacia_log" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_birch_log.json b/behavior_pack/recipes/campfire_from_stripped_birch_log.json new file mode 100644 index 0000000..f06a80e --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_birch_log.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_birch_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_birch_log" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_crimson_stem.json b/behavior_pack/recipes/campfire_from_stripped_crimson_stem.json new file mode 100644 index 0000000..7df5b7b --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_crimson_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_crimson_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "coal" + }, + "C": { + "item": "stripped_crimson_stem" + } + }, + "result": { + "item": "campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/campfire_from_stripped_dark_oak_log.json b/behavior_pack/recipes/campfire_from_stripped_dark_oak_log.json new file mode 100644 index 0000000..b7e038f --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_dark_oak_log.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_dark_oak_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_dark_oak_log" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_jungle_log.json b/behavior_pack/recipes/campfire_from_stripped_jungle_log.json new file mode 100644 index 0000000..f2f05af --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_jungle_log.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_jungle_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_jungle_log" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_mangrove_log.json b/behavior_pack/recipes/campfire_from_stripped_mangrove_log.json new file mode 100644 index 0000000..239fe94 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_mangrove_log.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_mangrove_log" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_mangrove_log" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + } + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_mangrove_wood.json b/behavior_pack/recipes/campfire_from_stripped_mangrove_wood.json new file mode 100644 index 0000000..1999c96 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_mangrove_wood.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_mangrove_wood" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "coal" + }, + "C": { + "item": "stripped_mangrove_wood" + } + }, + "result": { + "item": "campfire", + "count": 1 + }, + "priority": 50 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/campfire_from_stripped_oak_log.json b/behavior_pack/recipes/campfire_from_stripped_oak_log.json new file mode 100644 index 0000000..a1bb64f --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_oak_log.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_oak_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_oak_log" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_spruce_log.json b/behavior_pack/recipes/campfire_from_stripped_spruce_log.json new file mode 100644 index 0000000..5914afc --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_spruce_log.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_spruce_log" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:stripped_spruce_log" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/campfire_from_stripped_warped_stem.json b/behavior_pack/recipes/campfire_from_stripped_warped_stem.json new file mode 100644 index 0000000..132f652 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_stripped_warped_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_stripped_warped_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "coal" + }, + "C": { + "item": "stripped_warped_stem" + } + }, + "result": { + "item": "campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/campfire_from_warped_stem.json b/behavior_pack/recipes/campfire_from_warped_stem.json new file mode 100644 index 0000000..7750684 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_warped_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_warped_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "coal" + }, + "C": { + "item": "warped_stem" + } + }, + "result": { + "item": "campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/campfire_from_wood.json b/behavior_pack/recipes/campfire_from_wood.json new file mode 100644 index 0000000..a506ba6 --- /dev/null +++ b/behavior_pack/recipes/campfire_from_wood.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:campfire_from_wood" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " | ", + "|C|", + "###" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:wood" + }, + "C": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:campfire" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/candle.json b/behavior_pack/recipes/candle.json new file mode 100644 index 0000000..aacec45 --- /dev/null +++ b/behavior_pack/recipes/candle.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:candle" + }, + "tags": [ + "crafting_table" + ], + "group": "candle", + "pattern": [ + "S", + "H" + ], + "key": { + "H": { + "item": "minecraft:honeycomb" + }, + "S": { + "item": "minecraft:string" + } + }, + "unlock": [ + { + "item": "minecraft:string" + }, + { + "item": "minecraft:honeycomb" + } + ], + "result": { + "item": "minecraft:candle", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/carrot_on_a_stick.json b/behavior_pack/recipes/carrot_on_a_stick.json new file mode 100644 index 0000000..a0d809e --- /dev/null +++ b/behavior_pack/recipes/carrot_on_a_stick.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:carrot_on_a_stick" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + " X" + ], + "key": { + "#": { + "item": "minecraft:fishing_rod" + }, + "X": { + "item": "minecraft:carrot" + } + }, + "unlock": [ + { + "item": "minecraft:carrot" + } + ], + "result": { + "item": "minecraft:carrotonastick" + } + } +} diff --git a/behavior_pack/recipes/cartography_table.json b/behavior_pack/recipes/cartography_table.json new file mode 100644 index 0000000..73e3ddd --- /dev/null +++ b/behavior_pack/recipes/cartography_table.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cartography_table" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "||", + "##", + "##" + ], + "key": { + "|": { + "item": "minecraft:paper" + }, + "#": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:paper" + } + ], + "result": { + "item": "minecraft:cartography_table" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/cartography_table_from_crimson_planks.json b/behavior_pack/recipes/cartography_table_from_crimson_planks.json new file mode 100644 index 0000000..c2c7aba --- /dev/null +++ b/behavior_pack/recipes/cartography_table_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cartography_table_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "paper" + }, + "B": { + "item": "crimson_planks" + } + }, + "result": { + "item": "cartography_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/cartography_table_from_mangrove_planks.json b/behavior_pack/recipes/cartography_table_from_mangrove_planks.json new file mode 100644 index 0000000..2a85d07 --- /dev/null +++ b/behavior_pack/recipes/cartography_table_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cartography_table_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "paper" + }, + "B": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "cartography_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/cartography_table_from_warped_planks.json b/behavior_pack/recipes/cartography_table_from_warped_planks.json new file mode 100644 index 0000000..b32c1ce --- /dev/null +++ b/behavior_pack/recipes/cartography_table_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cartography_table_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "paper" + }, + "B": { + "item": "warped_planks" + } + }, + "result": { + "item": "cartography_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/cartography_table_locator_map.json b/behavior_pack/recipes/cartography_table_locator_map.json new file mode 100644 index 0000000..c9d3232 --- /dev/null +++ b/behavior_pack/recipes/cartography_table_locator_map.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cartography_table_locator_map" + }, + + + "tags": [ "cartography_table" ], + "ingredients": [ + { + "item": "minecraft:paper" + }, + { + "item": "minecraft:compass" + } + ], + "unlock": [ + { + "item": "minecraft:compass" + } + ], + "result": { + "item": "minecraft:emptymap", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/cartography_table_map.json b/behavior_pack/recipes/cartography_table_map.json new file mode 100644 index 0000000..9bbc8b1 --- /dev/null +++ b/behavior_pack/recipes/cartography_table_map.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cartography_table_map" + }, + + + "tags": [ "cartography_table" ], + "ingredients": [ + { + "item": "minecraft:paper" + } + ], + "unlock": [ + { + "item": "minecraft:paper" + } + ], + "result": { + "item": "minecraft:emptymap", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/cauldron.json b/behavior_pack/recipes/cauldron.json new file mode 100644 index 0000000..41df0d7 --- /dev/null +++ b/behavior_pack/recipes/cauldron.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cauldron" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:water_bucket" + } + ], + "result": { + "item": "minecraft:cauldron" + } + } +} diff --git a/behavior_pack/recipes/chain.json b/behavior_pack/recipes/chain.json new file mode 100644 index 0000000..782843e --- /dev/null +++ b/behavior_pack/recipes/chain.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chain" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "N", + "G", + "N" + ], + "key": { + "N": { + "item": "iron_nugget" + }, + "G": { + "item": "iron_ingot" + } + }, + "unlock": [ + { + "item": "iron_ingot" + } + ], + "result": { + "item": "chain", + "count": 1 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/cherry_boat.json b/behavior_pack/recipes/cherry_boat.json new file mode 100644 index 0000000..4d51adc --- /dev/null +++ b/behavior_pack/recipes/cherry_boat.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_boat" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:cherry_boat" + } + } +} diff --git a/behavior_pack/recipes/cherry_button.json b/behavior_pack/recipes/cherry_button.json new file mode 100644 index 0000000..5c0c42d --- /dev/null +++ b/behavior_pack/recipes/cherry_button.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_button" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_button" + } + } +} diff --git a/behavior_pack/recipes/cherry_chest_boat.json b/behavior_pack/recipes/cherry_chest_boat.json new file mode 100644 index 0000000..506f8a8 --- /dev/null +++ b/behavior_pack/recipes/cherry_chest_boat.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cherry_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:cherry_boat" + } + ], + "unlock": [ + { + "item": "minecraft:cherry_boat" + } + ], + "result": { + "item": "minecraft:cherry_chest_boat" + } + } +} diff --git a/behavior_pack/recipes/cherry_door.json b/behavior_pack/recipes/cherry_door.json new file mode 100644 index 0000000..c10e2e7 --- /dev/null +++ b/behavior_pack/recipes/cherry_door.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_door" + }, + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/cherry_fence.json b/behavior_pack/recipes/cherry_fence.json new file mode 100644 index 0000000..7c53db0 --- /dev/null +++ b/behavior_pack/recipes/cherry_fence.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_fence" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/cherry_fence_gate.json b/behavior_pack/recipes/cherry_fence_gate.json new file mode 100644 index 0000000..2320a8a --- /dev/null +++ b/behavior_pack/recipes/cherry_fence_gate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_fence_gate" + }, + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/cherry_hanging_sign.json b/behavior_pack/recipes/cherry_hanging_sign.json new file mode 100644 index 0000000..bd9403a --- /dev/null +++ b/behavior_pack/recipes/cherry_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_cherry_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_cherry_log" + } + ], + "result": { + "item": "minecraft:cherry_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/cherry_planks_from_log.json b/behavior_pack/recipes/cherry_planks_from_log.json new file mode 100644 index 0000000..b2a1b0f --- /dev/null +++ b/behavior_pack/recipes/cherry_planks_from_log.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_planks_from_log" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:cherry_log" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_log" + } + ], + "result": { + "item": "minecraft:cherry_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/cherry_planks_from_stripped_log.json b/behavior_pack/recipes/cherry_planks_from_stripped_log.json new file mode 100644 index 0000000..751d8fa --- /dev/null +++ b/behavior_pack/recipes/cherry_planks_from_stripped_log.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_planks_from_stripped_log" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_cherry_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_cherry_log" + } + ], + "result": { + "item": "minecraft:cherry_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/cherry_planks_from_stripped_wood.json b/behavior_pack/recipes/cherry_planks_from_stripped_wood.json new file mode 100644 index 0000000..fe2c487 --- /dev/null +++ b/behavior_pack/recipes/cherry_planks_from_stripped_wood.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_planks_from_stripped_wood" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_cherry_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_cherry_wood" + } + ], + "result": { + "item": "minecraft:cherry_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/cherry_planks_from_wood.json b/behavior_pack/recipes/cherry_planks_from_wood.json new file mode 100644 index 0000000..974e14e --- /dev/null +++ b/behavior_pack/recipes/cherry_planks_from_wood.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_planks_from_wood" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:cherry_wood" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_wood" + } + ], + "result": { + "item": "minecraft:cherry_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/cherry_pressure_plate.json b/behavior_pack/recipes/cherry_pressure_plate.json new file mode 100644 index 0000000..321918a --- /dev/null +++ b/behavior_pack/recipes/cherry_pressure_plate.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_pressure_plate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/cherry_sign.json b/behavior_pack/recipes/cherry_sign.json new file mode 100644 index 0000000..444c8b8 --- /dev/null +++ b/behavior_pack/recipes/cherry_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/cherry_slab.json b/behavior_pack/recipes/cherry_slab.json new file mode 100644 index 0000000..fe7925d --- /dev/null +++ b/behavior_pack/recipes/cherry_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_slab" + }, + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/cherry_stairs.json b/behavior_pack/recipes/cherry_stairs.json new file mode 100644 index 0000000..637c63a --- /dev/null +++ b/behavior_pack/recipes/cherry_stairs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_stairs" + }, + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/cherry_stripped_wood_from_stripped_log.json b/behavior_pack/recipes/cherry_stripped_wood_from_stripped_log.json new file mode 100644 index 0000000..b4f5c3b --- /dev/null +++ b/behavior_pack/recipes/cherry_stripped_wood_from_stripped_log.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_wood_from_stripped_log" + }, + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_cherry_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_cherry_log" + } + ], + "result": { + "item": "minecraft:stripped_cherry_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/cherry_trapdoor.json b/behavior_pack/recipes/cherry_trapdoor.json new file mode 100644 index 0000000..b69297b --- /dev/null +++ b/behavior_pack/recipes/cherry_trapdoor.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_trapdoor" + }, + "tags": [ "crafting_table" ], + "group": "wooden_trap_door", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:cherry_planks" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_planks" + } + ], + "result": { + "item": "minecraft:cherry_trapdoor", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/cherry_wood_from_log.json b/behavior_pack/recipes/cherry_wood_from_log.json new file mode 100644 index 0000000..eefd0ff --- /dev/null +++ b/behavior_pack/recipes/cherry_wood_from_log.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cherry_wood_from_log" + }, + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:cherry_log" + } + }, + "unlock": [ + { + "item": "minecraft:cherry_log" + } + ], + "result": { + "item": "minecraft:cherry_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/chest.json b/behavior_pack/recipes/chest.json new file mode 100644 index 0000000..eb9e443 --- /dev/null +++ b/behavior_pack/recipes/chest.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:Chest_recipeId" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "A A", + "AAA" + ], + "key": { + "A": { + "tag": "minecraft:planks" + } + }, + "unlock": { + "context": "PlayerHasManyItems" + }, + "result": { + "item": "chest", + "count": 1 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/chest_boat.json b/behavior_pack/recipes/chest_boat.json new file mode 100644 index 0000000..c38ed42 --- /dev/null +++ b/behavior_pack/recipes/chest_boat.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 0 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/chest_from_crimson_planks.json b/behavior_pack/recipes/chest_from_crimson_planks.json new file mode 100644 index 0000000..c2a0ab5 --- /dev/null +++ b/behavior_pack/recipes/chest_from_crimson_planks.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chest_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "A A", + "AAA" + ], + "key": { + "A": { + "item": "crimson_planks" + } + }, + "result": { + "item": "chest", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/chest_from_mangrove_planks.json b/behavior_pack/recipes/chest_from_mangrove_planks.json new file mode 100644 index 0000000..c0eb65f --- /dev/null +++ b/behavior_pack/recipes/chest_from_mangrove_planks.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chest_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "A A", + "AAA" + ], + "key": { + "A": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "chest", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/chest_from_warped_planks.json b/behavior_pack/recipes/chest_from_warped_planks.json new file mode 100644 index 0000000..ce12454 --- /dev/null +++ b/behavior_pack/recipes/chest_from_warped_planks.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chest_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "A A", + "AAA" + ], + "key": { + "A": { + "item": "warped_planks" + } + }, + "result": { + "item": "chest", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/chest_minecart.json b/behavior_pack/recipes/chest_minecart.json new file mode 100644 index 0000000..25ff2f4 --- /dev/null +++ b/behavior_pack/recipes/chest_minecart.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:chest_minecart" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:minecart" + } + ], + "unlock": [ + { + "item": "minecraft:minecart" + } + ], + "result": { + "item": "minecraft:chest_minecart" + } + } +} diff --git a/behavior_pack/recipes/chiseled_bookshelf.json b/behavior_pack/recipes/chiseled_bookshelf.json new file mode 100644 index 0000000..d026d04 --- /dev/null +++ b/behavior_pack/recipes/chiseled_bookshelf.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chiseled_bookshelf" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "AAA" + ], + "key": { + "A": { + "tag": "minecraft:planks" + }, + "B": { + "tag": "minecraft:wooden_slabs" + } + }, + "unlock": [ + { + "item": "minecraft:book" + } + ], + "result": { + "item": "chiseled_bookshelf", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/chiseled_deepslate.json b/behavior_pack/recipes/chiseled_deepslate.json new file mode 100644 index 0000000..cb19902 --- /dev/null +++ b/behavior_pack/recipes/chiseled_deepslate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chiseled_deepslate" + }, + "key": { + "#": { + "item": "minecraft:cobbled_deepslate_slab" + } + }, + "pattern": [ + "#", + "#" + ], + "unlock": [ + { + "item": "minecraft:cobbled_deepslate_slab" + } + ], + "priority": 1, + "result": { + "item": "minecraft:chiseled_deepslate" + }, + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/chiseled_deepslate_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/chiseled_deepslate_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..f8e0dd8 --- /dev/null +++ b/behavior_pack/recipes/chiseled_deepslate_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:chiseled_deepslate_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:chiseled_deepslate" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/chiseled_nether_bricks.json b/behavior_pack/recipes/chiseled_nether_bricks.json new file mode 100644 index 0000000..e8d89f1 --- /dev/null +++ b/behavior_pack/recipes/chiseled_nether_bricks.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chiseled_nether_bricks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:nether_brick_slab" + } + }, + "unlock": [ + { + "item": "minecraft:nether_brick_slab" + } + ], + "result": { + "item": "minecraft:chiseled_nether_bricks" + } + } +} diff --git a/behavior_pack/recipes/chiseled_polished_blackstone.json b/behavior_pack/recipes/chiseled_polished_blackstone.json new file mode 100644 index 0000000..40bc529 --- /dev/null +++ b/behavior_pack/recipes/chiseled_polished_blackstone.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chiseled_polished_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone_slab" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone_slab" + } + ], + "result": { + "item": "minecraft:chiseled_polished_blackstone" + } + } +} diff --git a/behavior_pack/recipes/chiseled_resin_bricks_from_slabs.json b/behavior_pack/recipes/chiseled_resin_bricks_from_slabs.json new file mode 100644 index 0000000..1f9f52a --- /dev/null +++ b/behavior_pack/recipes/chiseled_resin_bricks_from_slabs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chiseled_resin_bricks_from_slabs" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:resin_brick_slab" + } + }, + "unlock": [ + { + "item": "minecraft:resin_brick" + } + ], + "result": { + "item": "minecraft:chiseled_resin_bricks" + } + } +} diff --git a/behavior_pack/recipes/chiseled_tuff.json b/behavior_pack/recipes/chiseled_tuff.json new file mode 100644 index 0000000..d81b3a2 --- /dev/null +++ b/behavior_pack/recipes/chiseled_tuff.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chiseled_tuff" + }, + "tags": [ + "crafting_table" + ], + "key": { + "#": { + "item": "minecraft:tuff_slab" + } + }, + "pattern": [ + "#", + "#" + ], + "unlock": [ + { + "item": "minecraft:tuff_slab" + } + ], + "priority": 1, + "result": { + "item": "minecraft:chiseled_tuff" + } + } +} diff --git a/behavior_pack/recipes/chiseled_tuff_bricks.json b/behavior_pack/recipes/chiseled_tuff_bricks.json new file mode 100644 index 0000000..4947d0d --- /dev/null +++ b/behavior_pack/recipes/chiseled_tuff_bricks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:chiseled_tuff_bricks" + }, + "tags": [ + "crafting_table" + ], + "key": { + "#": { + "item": "minecraft:tuff_brick_slab" + } + }, + "pattern": [ + "#", + "#" + ], + "unlock": [ + { + "item": "minecraft:tuff_brick_slab" + } + ], + "priority": 1, + "result": { + "item": "minecraft:chiseled_tuff_bricks" + } + } +} diff --git a/behavior_pack/recipes/clay.json b/behavior_pack/recipes/clay.json new file mode 100644 index 0000000..9a3ffe9 --- /dev/null +++ b/behavior_pack/recipes/clay.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:clay" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:clay_ball" + } + }, + "unlock": [ + { + "item": "minecraft:clay_ball" + } + ], + "result": { + "item": "minecraft:clay" + } + } +} diff --git a/behavior_pack/recipes/clock.json b/behavior_pack/recipes/clock.json new file mode 100644 index 0000000..e49c233 --- /dev/null +++ b/behavior_pack/recipes/clock.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:clock" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#X#", + " # " + ], + "key": { + "#": { + "item": "minecraft:gold_ingot" + }, + "X": { + "item": "minecraft:redstone" + } + }, + "unlock": [ + { + "item": "minecraft:redstone" + } + ], + "result": { + "item": "minecraft:clock" + } + } +} diff --git a/behavior_pack/recipes/coal.json b/behavior_pack/recipes/coal.json new file mode 100644 index 0000000..ad6aa31 --- /dev/null +++ b/behavior_pack/recipes/coal.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:coal" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:coal_block" + } + }, + "unlock": [ + { + "item": "minecraft:coal_block" + } + ], + "result": { + "item": "minecraft:coal", + "data": 0, + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/coal_block.json b/behavior_pack/recipes/coal_block.json new file mode 100644 index 0000000..29b9616 --- /dev/null +++ b/behavior_pack/recipes/coal_block.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:coal_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:coal", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:coal", + "data": 0 + } + ], + "result": { + "item": "minecraft:coal_block" + } + } +} diff --git a/behavior_pack/recipes/coarse_dirt.json b/behavior_pack/recipes/coarse_dirt.json new file mode 100644 index 0000000..916f45e --- /dev/null +++ b/behavior_pack/recipes/coarse_dirt.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:coarse_dirt" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "DG", + "GD" + ], + "key": { + "D": { + "item": "minecraft:dirt", + "data": 0 + }, + "G": { + "item": "minecraft:gravel" + } + }, + "unlock": [ + { + "item": "minecraft:gravel" + } + ], + "result": { + "item": "minecraft:coarse_dirt", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/coast_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/coast_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..b8196d4 --- /dev/null +++ b/behavior_pack/recipes/coast_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:coast_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:coast_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:coast_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:coast_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/cobbled_deepslate_slab.json b/behavior_pack/recipes/cobbled_deepslate_slab.json new file mode 100644 index 0000000..55cecc8 --- /dev/null +++ b/behavior_pack/recipes/cobbled_deepslate_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cobbled_deepslate_slab" + }, + "key": { + "#": { + "item": "minecraft:cobbled_deepslate" + } + }, + "pattern": [ + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:cobbled_deepslate_slab" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..4f0dd29 --- /dev/null +++ b/behavior_pack/recipes/cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cobbled_deepslate_slab_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:cobbled_deepslate_slab" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/cobbled_deepslate_stairs.json b/behavior_pack/recipes/cobbled_deepslate_stairs.json new file mode 100644 index 0000000..c8555e6 --- /dev/null +++ b/behavior_pack/recipes/cobbled_deepslate_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cobbled_deepslate_stairs" + }, + "key": { + "#": { + "item": "minecraft:cobbled_deepslate" + } + }, + "pattern": [ + "# ", + "## ", + "###" + ], + "priority": 1, + "result": { + "count": 4, + "item": "minecraft:cobbled_deepslate_stairs" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/cobbled_deepslate_stairs_from_cobbled_deepslate_cutting.json b/behavior_pack/recipes/cobbled_deepslate_stairs_from_cobbled_deepslate_cutting.json new file mode 100644 index 0000000..8972602 --- /dev/null +++ b/behavior_pack/recipes/cobbled_deepslate_stairs_from_cobbled_deepslate_cutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cobbled_deepslate_stairs_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:cobbled_deepslate_stairs" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/cobbled_deepslate_wall.json b/behavior_pack/recipes/cobbled_deepslate_wall.json new file mode 100644 index 0000000..3b83e15 --- /dev/null +++ b/behavior_pack/recipes/cobbled_deepslate_wall.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cobbled_deepslate_wall" + }, + "key": { + "#": { + "item": "minecraft:cobbled_deepslate" + } + }, + "pattern": [ + "###", + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:cobbled_deepslate_wall" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..03fd773 --- /dev/null +++ b/behavior_pack/recipes/cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cobbled_deepslate_wall_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:cobbled_deepslate_wall" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/cobblestone_stairs.json b/behavior_pack/recipes/cobblestone_stairs.json new file mode 100644 index 0000000..76b315b --- /dev/null +++ b/behavior_pack/recipes/cobblestone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cobblestone_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:cobblestone" + } + ], + "result": { + "item": "minecraft:stone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/cobblestone_wall.json b/behavior_pack/recipes/cobblestone_wall.json new file mode 100644 index 0000000..38321d9 --- /dev/null +++ b/behavior_pack/recipes/cobblestone_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cobblestone_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:cobblestone" + } + ], + "result": { + "item": "minecraft:cobblestone_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/cobweb_to_string.json b/behavior_pack/recipes/cobweb_to_string.json new file mode 100644 index 0000000..ade7015 --- /dev/null +++ b/behavior_pack/recipes/cobweb_to_string.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cobweb_to_string" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:web" + } + ], + "result": { + "item": "minecraft:string", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/comparator.json b/behavior_pack/recipes/comparator.json new file mode 100644 index 0000000..999aa69 --- /dev/null +++ b/behavior_pack/recipes/comparator.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:comparator" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#X#", + "III" + ], + "key": { + "#": { + "item": "minecraft:redstone_torch" + }, + "X": { + "item": "minecraft:quartz" + }, + "I": { + "item": "minecraft:stone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:quartz" + } + ], + "result": { + "item": "minecraft:comparator" + } + } +} diff --git a/behavior_pack/recipes/compass.json b/behavior_pack/recipes/compass.json new file mode 100644 index 0000000..b1cc08a --- /dev/null +++ b/behavior_pack/recipes/compass.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:compass" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#X#", + " # " + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + }, + "X": { + "item": "minecraft:redstone" + } + }, + "unlock": [ + { + "item": "minecraft:redstone" + } + ], + "result": { + "item": "minecraft:compass" + } + } +} diff --git a/behavior_pack/recipes/composter.json b/behavior_pack/recipes/composter.json new file mode 100644 index 0000000..bd84e35 --- /dev/null +++ b/behavior_pack/recipes/composter.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:composter" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "# #", + "###" + ], + "key": { + "#": { + "tag": "minecraft:wooden_slabs" + } + }, + "unlock": [ + { + "tag": "minecraft:wooden_slabs" + } + ], + "result": { + "item": "minecraft:composter" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/composter_from_crimson_slab.json b/behavior_pack/recipes/composter_from_crimson_slab.json new file mode 100644 index 0000000..6d00e63 --- /dev/null +++ b/behavior_pack/recipes/composter_from_crimson_slab.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:composter_from_crimson_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A A", + "A A", + "AAA" + ], + "key": { + "A": { + "item": "crimson_slab" + } + }, + "result": { + "item": "composter", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/composter_from_mangrove_slab.json b/behavior_pack/recipes/composter_from_mangrove_slab.json new file mode 100644 index 0000000..581c791 --- /dev/null +++ b/behavior_pack/recipes/composter_from_mangrove_slab.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:composter_from_mangrove_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A A", + "A A", + "AAA" + ], + "key": { + "A": { + "item": "mangrove_slab" + } + }, + "result": { + "item": "composter", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/composter_from_warped_slab.json b/behavior_pack/recipes/composter_from_warped_slab.json new file mode 100644 index 0000000..0874caa --- /dev/null +++ b/behavior_pack/recipes/composter_from_warped_slab.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:composter_from_warped_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A A", + "A A", + "AAA" + ], + "key": { + "A": { + "item": "warped_slab" + } + }, + "result": { + "item": "composter", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/conduit.json b/behavior_pack/recipes/conduit.json new file mode 100644 index 0000000..1df2c4d --- /dev/null +++ b/behavior_pack/recipes/conduit.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:conduit" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:nautilus_shell" + }, + "X": { + "item": "minecraft:heart_of_the_sea" + } + }, + "unlock": [ + { + "item": "minecraft:nautilus_shell" + }, + { + "item": "minecraft:heart_of_the_sea" + } + ], + "result": { + "item": "minecraft:conduit" + } + } +} diff --git a/behavior_pack/recipes/cookie.json b/behavior_pack/recipes/cookie.json new file mode 100644 index 0000000..03a417f --- /dev/null +++ b/behavior_pack/recipes/cookie.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cookie" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#X#" + ], + "key": { + "#": { + "item": "minecraft:wheat" + }, + "X": { + "item": "minecraft:dye", + "data": 3 + } + }, + "unlock": [ + { + "item": "minecraft:dye", + "data": 3 + } + ], + "result": { + "item": "minecraft:cookie", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/copper_block_from_ingots.json b/behavior_pack/recipes/copper_block_from_ingots.json new file mode 100644 index 0000000..d2332d7 --- /dev/null +++ b/behavior_pack/recipes/copper_block_from_ingots.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:copper_block_from_ingots" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:copper_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:copper_ingot" + } + ], + "result": { + "item": "minecraft:copper_block", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/cracked_deepslate_bricks_furnace.json b/behavior_pack/recipes/cracked_deepslate_bricks_furnace.json new file mode 100644 index 0000000..8cd07c1 --- /dev/null +++ b/behavior_pack/recipes/cracked_deepslate_bricks_furnace.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:cracked_deepslate_bricks_furnace" + }, + "input": "minecraft:deepslate_bricks", + "output": "minecraft:cracked_deepslate_bricks", + "unlock": [ + { + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "furnace" + ] + } +} diff --git a/behavior_pack/recipes/cracked_deepslate_tiles_furnace.json b/behavior_pack/recipes/cracked_deepslate_tiles_furnace.json new file mode 100644 index 0000000..2b6845c --- /dev/null +++ b/behavior_pack/recipes/cracked_deepslate_tiles_furnace.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:cracked_deepslate_tiles_furnace" + }, + "input": "minecraft:deepslate_tiles", + "output": "minecraft:cracked_deepslate_tiles", + "unlock": [ + { + "item": "minecraft:deepslate_tiles" + } + ], + "tags": [ + "furnace" + ] + } +} diff --git a/behavior_pack/recipes/crafter.json b/behavior_pack/recipes/crafter.json new file mode 100644 index 0000000..958f336 --- /dev/null +++ b/behavior_pack/recipes/crafter.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafter" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#C#", + "RDR" + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:iron_ingot" + }, + "D": { + "item": "minecraft:dropper" + }, + "C": { + "item": "minecraft:crafting_table" + } + }, + "unlock": [ + { + "item": "minecraft:dropper" + } + ], + "result": { + "item": "minecraft:crafter" + } + } +} diff --git a/behavior_pack/recipes/crafting_table.json b/behavior_pack/recipes/crafting_table.json new file mode 100644 index 0000000..19264e9 --- /dev/null +++ b/behavior_pack/recipes/crafting_table.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:WorkBench_recipeId" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "tag": "minecraft:planks" + } + }, + "unlock": { + "context": "AlwaysUnlocked" + }, + "result": { + "item": "crafting_table" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_chiseled_copper.json b/behavior_pack/recipes/crafting_table_chiseled_copper.json new file mode 100644 index 0000000..9caf975 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "key": { + "#": { + "item": "minecraft:cut_copper_slab" + } + }, + "pattern": [ + "#", + "#" + ], + "unlock": [ + { + "item": "minecraft:cut_copper_slab" + } + ], + "priority": 1, + "result": { + "item": "minecraft:chiseled_copper" + } + } +} diff --git a/behavior_pack/recipes/crafting_table_copper_bulb.json b/behavior_pack/recipes/crafting_table_copper_bulb.json new file mode 100644 index 0000000..5ee1cc6 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:copper_block" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_copper_door.json b/behavior_pack/recipes/crafting_table_copper_door.json new file mode 100644 index 0000000..c2dc324 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_copper_door.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:copper_door" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:copper_ingot" + } + ], + "result": { + "item": "minecraft:copper_door", + "count": 3 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_copper_grate.json b/behavior_pack/recipes/crafting_table_copper_grate.json new file mode 100644 index 0000000..e24f0b4 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_copper_grate.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:copper_grate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "# #", + " # " + ], + "key": { + "#": { + "item": "minecraft:copper_block" + } + }, + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_copper_trapdoor.json b/behavior_pack/recipes/crafting_table_copper_trapdoor.json new file mode 100644 index 0000000..ce35f80 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_copper_trapdoor.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:copper_trapdoor" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:copper_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:copper_ingot" + } + ], + "result": { + "item": "minecraft:copper_trapdoor", + "count": 2 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_cut_copper.json b/behavior_pack/recipes/crafting_table_cut_copper.json new file mode 100644 index 0000000..3d642f7 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:copper_block" + } + }, + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_cut_copper_slab.json new file mode 100644 index 0000000..63ba517 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:cut_copper" + } + ], + "result": { + "item": "minecraft:cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_cut_copper_stairs.json new file mode 100644 index 0000000..339a033 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:cut_copper" + } + ], + "result": { + "item": "minecraft:cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_default.json b/behavior_pack/recipes/crafting_table_default.json new file mode 100644 index 0000000..0b4af60 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_default.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:WorkBench_recipeId_from_oak" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:oak_planks" + } + }, + "unlock": { + "context": "AlwaysUnlocked" + }, + "result": { + "item": "crafting_table" + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_exposed_chiseled_copper.json b/behavior_pack/recipes/crafting_table_exposed_chiseled_copper.json new file mode 100644 index 0000000..8a41987 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_exposed_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:exposed_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:exposed_cut_copper_slab" + } + }, + "unlock": [ + { + "item": "minecraft:exposed_cut_copper_slab" + } + ], + "result": { + "count": 1, + "item": "minecraft:exposed_chiseled_copper" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_exposed_copper_bulb.json b/behavior_pack/recipes/crafting_table_exposed_copper_bulb.json new file mode 100644 index 0000000..9151a0e --- /dev/null +++ b/behavior_pack/recipes/crafting_table_exposed_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:exposed_copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:exposed_copper" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_exposed_copper_grate.json b/behavior_pack/recipes/crafting_table_exposed_copper_grate.json new file mode 100644 index 0000000..8c49f46 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_exposed_copper_grate.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:exposed_copper_grate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "# #", + " # " + ], + "key": { + "#": { + "item": "minecraft:exposed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_exposed_cut_copper.json b/behavior_pack/recipes/crafting_table_exposed_cut_copper.json new file mode 100644 index 0000000..973f899 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_exposed_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_exposed_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:exposed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_exposed_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_exposed_cut_copper_slab.json new file mode 100644 index 0000000..35c99b7 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_exposed_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_exposed_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:exposed_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_exposed_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_exposed_cut_copper_stairs.json new file mode 100644 index 0000000..5cdcd7d --- /dev/null +++ b/behavior_pack/recipes/crafting_table_exposed_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_exposed_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:exposed_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_from_crimson_planks.json b/behavior_pack/recipes/crafting_table_from_crimson_planks.json new file mode 100644 index 0000000..f2c2bb4 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_from_crimson_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "crimson_planks" + } + }, + "result": { + "item": "crafting_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_from_mangrove_planks.json b/behavior_pack/recipes/crafting_table_from_mangrove_planks.json new file mode 100644 index 0000000..208c59e --- /dev/null +++ b/behavior_pack/recipes/crafting_table_from_mangrove_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "crafting_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_from_warped_planks.json b/behavior_pack/recipes/crafting_table_from_warped_planks.json new file mode 100644 index 0000000..2825efc --- /dev/null +++ b/behavior_pack/recipes/crafting_table_from_warped_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "warped_planks" + } + }, + "result": { + "item": "crafting_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_oxidized_chiseled_copper.json b/behavior_pack/recipes/crafting_table_oxidized_chiseled_copper.json new file mode 100644 index 0000000..8cbe92e --- /dev/null +++ b/behavior_pack/recipes/crafting_table_oxidized_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oxidized_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:oxidized_cut_copper_slab" + } + }, + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper_slab" + } + ], + "result": { + "count": 1, + "item": "minecraft:oxidized_chiseled_copper" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_oxidized_copper_bulb.json b/behavior_pack/recipes/crafting_table_oxidized_copper_bulb.json new file mode 100644 index 0000000..28d2603 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_oxidized_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oxidized_copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:oxidized_copper" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_oxidized_copper_grate.json b/behavior_pack/recipes/crafting_table_oxidized_copper_grate.json new file mode 100644 index 0000000..fc1bcdc --- /dev/null +++ b/behavior_pack/recipes/crafting_table_oxidized_copper_grate.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oxidized_copper_grate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "# #", + " # " + ], + "key": { + "#": { + "item": "minecraft:oxidized_copper" + } + }, + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_oxidized_cut_copper.json b/behavior_pack/recipes/crafting_table_oxidized_cut_copper.json new file mode 100644 index 0000000..fc3c571 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_oxidized_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_oxidized_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:oxidized_copper" + } + }, + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_oxidized_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_oxidized_cut_copper_slab.json new file mode 100644 index 0000000..9fe1f9b --- /dev/null +++ b/behavior_pack/recipes/crafting_table_oxidized_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_oxidized_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:oxidized_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_oxidized_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_oxidized_cut_copper_stairs.json new file mode 100644 index 0000000..61604e4 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_oxidized_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_oxidized_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:oxidized_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_chiseled_copper.json b/behavior_pack/recipes/crafting_table_waxed_chiseled_copper.json new file mode 100644 index 0000000..70a4146 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:waxed_cut_copper_slab" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_cut_copper_slab" + } + ], + "result": { + "count": 1, + "item": "minecraft:waxed_chiseled_copper" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_copper_bulb.json b/behavior_pack/recipes/crafting_table_waxed_copper_bulb.json new file mode 100644 index 0000000..de3c747 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:waxed_copper" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_waxed_copper_door.json b/behavior_pack/recipes/crafting_table_waxed_copper_door.json new file mode 100644 index 0000000..77bbae3 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_copper_door.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_copper_door" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:waxed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_copper_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_waxed_copper_grate.json b/behavior_pack/recipes/crafting_table_waxed_copper_grate.json new file mode 100644 index 0000000..9d48f5d --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_copper_grate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_copper_grate" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " M ", + "M M", + " M " + ], + "key": { + "M": { + "item": "minecraft:waxed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "count": 4, + "item": "minecraft:waxed_copper_grate" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_cut_copper.json b/behavior_pack/recipes/crafting_table_waxed_cut_copper.json new file mode 100644 index 0000000..1b67be4 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:waxed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_waxed_cut_copper_slab.json new file mode 100644 index 0000000..41334cc --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_waxed_cut_copper_stairs.json new file mode 100644 index 0000000..c6d93df --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_exposed_chiseled_copper.json b/behavior_pack/recipes/crafting_table_waxed_exposed_chiseled_copper.json new file mode 100644 index 0000000..6ac16d1 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_exposed_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_exposed_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:waxed_exposed_cut_copper_slab" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_exposed_cut_copper_slab" + } + ], + "result": { + "count": 1, + "item": "minecraft:waxed_exposed_chiseled_copper" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_exposed_copper_bulb.json b/behavior_pack/recipes/crafting_table_waxed_exposed_copper_bulb.json new file mode 100644 index 0000000..456e91b --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_exposed_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_exposed_copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:waxed_exposed_copper" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_waxed_exposed_copper_grate.json b/behavior_pack/recipes/crafting_table_waxed_exposed_copper_grate.json new file mode 100644 index 0000000..97e159c --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_exposed_copper_grate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_exposed_copper_grate" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " M ", + "M M", + " M " + ], + "key": { + "M": { + "item": "minecraft:waxed_exposed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "count": 4, + "item": "minecraft:waxed_exposed_copper_grate" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper.json b/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper.json new file mode 100644 index 0000000..2e43ca6 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_exposed_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:waxed_exposed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_slab.json new file mode 100644 index 0000000..aca363c --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_exposed_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_exposed_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_stairs.json new file mode 100644 index 0000000..19779c5 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_exposed_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_exposed_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_exposed_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_oxidized_chiseled_copper.json b/behavior_pack/recipes/crafting_table_waxed_oxidized_chiseled_copper.json new file mode 100644 index 0000000..09e7bff --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_oxidized_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_oxidized_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:waxed_oxidized_cut_copper_slab" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_oxidized_cut_copper_slab" + } + ], + "result": { + "count": 1, + "item": "minecraft:waxed_oxidized_chiseled_copper" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_oxidized_copper_bulb.json b/behavior_pack/recipes/crafting_table_waxed_oxidized_copper_bulb.json new file mode 100644 index 0000000..1758614 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_oxidized_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_oxidized_copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:waxed_oxidized_copper" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_waxed_oxidized_copper_grate.json b/behavior_pack/recipes/crafting_table_waxed_oxidized_copper_grate.json new file mode 100644 index 0000000..4c53f2b --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_oxidized_copper_grate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_oxidized_copper_grate" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " M ", + "M M", + " M " + ], + "key": { + "M": { + "item": "minecraft:waxed_oxidized_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "count": 4, + "item": "minecraft:waxed_oxidized_copper_grate" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper.json b/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper.json new file mode 100644 index 0000000..7815838 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_oxidized_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:waxed_oxidized_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_slab.json new file mode 100644 index 0000000..bc7d706 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_oxidized_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_oxidized_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_stairs.json new file mode 100644 index 0000000..53b8bff --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_oxidized_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_oxidized_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_oxidized_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_weathered_chiseled_copper.json b/behavior_pack/recipes/crafting_table_waxed_weathered_chiseled_copper.json new file mode 100644 index 0000000..a8b7f28 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_weathered_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_weathered_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:waxed_weathered_cut_copper_slab" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_weathered_cut_copper_slab" + } + ], + "result": { + "count": 1, + "item": "minecraft:waxed_weathered_chiseled_copper" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_weathered_copper_bulb.json b/behavior_pack/recipes/crafting_table_waxed_weathered_copper_bulb.json new file mode 100644 index 0000000..7e1a986 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_weathered_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_weathered_copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:waxed_weathered_copper" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_waxed_weathered_copper_grate.json b/behavior_pack/recipes/crafting_table_waxed_weathered_copper_grate.json new file mode 100644 index 0000000..7bb3b23 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_weathered_copper_grate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:waxed_weathered_copper_grate" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " M ", + "M M", + " M " + ], + "key": { + "M": { + "item": "minecraft:waxed_weathered_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "count": 4, + "item": "minecraft:waxed_weathered_copper_grate" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper.json b/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper.json new file mode 100644 index 0000000..5e94632 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_weathered_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:waxed_weathered_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_slab.json new file mode 100644 index 0000000..4a387d9 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_weathered_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_weathered_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_stairs.json new file mode 100644 index 0000000..21013f3 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_waxed_weathered_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_waxed_weathered_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:waxed_weathered_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_weathered_chiseled_copper.json b/behavior_pack/recipes/crafting_table_weathered_chiseled_copper.json new file mode 100644 index 0000000..7f18844 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_weathered_chiseled_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:weathered_chiseled_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:weathered_cut_copper_slab" + } + }, + "unlock": [ + { + "item": "minecraft:weathered_cut_copper_slab" + } + ], + "result": { + "count": 1, + "item": "minecraft:weathered_chiseled_copper" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_weathered_copper_bulb.json b/behavior_pack/recipes/crafting_table_weathered_copper_bulb.json new file mode 100644 index 0000000..0a3c08f --- /dev/null +++ b/behavior_pack/recipes/crafting_table_weathered_copper_bulb.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:weathered_copper_bulb" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#B#", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:weathered_copper" + }, + "B": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_copper_bulb", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_weathered_copper_grate.json b/behavior_pack/recipes/crafting_table_weathered_copper_grate.json new file mode 100644 index 0000000..fc67576 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_weathered_copper_grate.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:weathered_copper_grate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "# #", + " # " + ], + "key": { + "#": { + "item": "minecraft:weathered_copper" + } + }, + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crafting_table_weathered_cut_copper.json b/behavior_pack/recipes/crafting_table_weathered_cut_copper.json new file mode 100644 index 0000000..914e3f4 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_weathered_cut_copper.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_weathered_cut_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AA" + ], + "key": { + "A": { + "item": "minecraft:weathered_copper" + } + }, + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_weathered_cut_copper_slab.json b/behavior_pack/recipes/crafting_table_weathered_cut_copper_slab.json new file mode 100644 index 0000000..51b0e1d --- /dev/null +++ b/behavior_pack/recipes/crafting_table_weathered_cut_copper_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_weathered_cut_copper_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:weathered_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper_slab", + "count": 6 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/crafting_table_weathered_cut_copper_stairs.json b/behavior_pack/recipes/crafting_table_weathered_cut_copper_stairs.json new file mode 100644 index 0000000..89ca5b1 --- /dev/null +++ b/behavior_pack/recipes/crafting_table_weathered_cut_copper_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crafting_table_weathered_cut_copper_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:weathered_cut_copper" + } + }, + "unlock": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper_stairs", + "count": 4 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/creaking_heart.json b/behavior_pack/recipes/creaking_heart.json new file mode 100644 index 0000000..8cd928a --- /dev/null +++ b/behavior_pack/recipes/creaking_heart.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:creaking_heart" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "R", + "#" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_log" + }, + "R": { + "item": "minecraft:resin_block" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_log" + }, + { + "item": "minecraft:resin_block" + } + ], + "result": { + "item": "minecraft:creaking_heart" + } + } +} diff --git a/behavior_pack/recipes/crimson_button.json b/behavior_pack/recipes/crimson_button.json new file mode 100644 index 0000000..c643005 --- /dev/null +++ b/behavior_pack/recipes/crimson_button.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_button" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_button", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_button", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/crimson_door.json b/behavior_pack/recipes/crimson_door.json new file mode 100644 index 0000000..49487d1 --- /dev/null +++ b/behavior_pack/recipes/crimson_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_door" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/crimson_fence.json b/behavior_pack/recipes/crimson_fence.json new file mode 100644 index 0000000..1dc13d3 --- /dev/null +++ b/behavior_pack/recipes/crimson_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/crimson_fence_gate.json b/behavior_pack/recipes/crimson_fence_gate.json new file mode 100644 index 0000000..79926eb --- /dev/null +++ b/behavior_pack/recipes/crimson_fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_fence_gate" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/crimson_hanging_sign.json b/behavior_pack/recipes/crimson_hanging_sign.json new file mode 100644 index 0000000..d64d290 --- /dev/null +++ b/behavior_pack/recipes/crimson_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_crimson_stem" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_crimson_stem" + } + ], + "result": { + "item": "minecraft:crimson_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/crimson_hyphae.json b/behavior_pack/recipes/crimson_hyphae.json new file mode 100644 index 0000000..1e4e636 --- /dev/null +++ b/behavior_pack/recipes/crimson_hyphae.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_hyphae" + }, + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:crimson_stem" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_stem" + } + ], + "result": { + "item": "minecraft:crimson_hyphae", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/crimson_hyphae_stripped.json b/behavior_pack/recipes/crimson_hyphae_stripped.json new file mode 100644 index 0000000..48441ac --- /dev/null +++ b/behavior_pack/recipes/crimson_hyphae_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stripped_crimson_hyphae" + }, + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_crimson_stem" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_crimson_stem" + } + ], + "result": { + "item": "minecraft:stripped_crimson_hyphae", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/crimson_planks.json b/behavior_pack/recipes/crimson_planks.json new file mode 100644 index 0000000..f4221ba --- /dev/null +++ b/behavior_pack/recipes/crimson_planks.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_planks" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:crimson_stem" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_stem" + } + ], + "result": { + "item": "minecraft:crimson_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crimson_planks_from_crimson_hyphae.json b/behavior_pack/recipes/crimson_planks_from_crimson_hyphae.json new file mode 100644 index 0000000..8859851 --- /dev/null +++ b/behavior_pack/recipes/crimson_planks_from_crimson_hyphae.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_planks_from_crimson_hyphae" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:crimson_hyphae" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_hyphae" + } + ], + "result": { + "item": "minecraft:crimson_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crimson_planks_from_stripped_crimson_hyphae.json b/behavior_pack/recipes/crimson_planks_from_stripped_crimson_hyphae.json new file mode 100644 index 0000000..f617da6 --- /dev/null +++ b/behavior_pack/recipes/crimson_planks_from_stripped_crimson_hyphae.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_planks_from_stripped_crimson_hyphae" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_crimson_hyphae" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_crimson_hyphae" + } + ], + "result": { + "item": "minecraft:crimson_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crimson_planks_from_stripped_log.json b/behavior_pack/recipes/crimson_planks_from_stripped_log.json new file mode 100644 index 0000000..238b6de --- /dev/null +++ b/behavior_pack/recipes/crimson_planks_from_stripped_log.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_planks_from_stripped_log" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_crimson_stem" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_crimson_stem" + } + ], + "result": { + "item": "minecraft:crimson_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crimson_pressure_plate.json b/behavior_pack/recipes/crimson_pressure_plate.json new file mode 100644 index 0000000..96ddf4c --- /dev/null +++ b/behavior_pack/recipes/crimson_pressure_plate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_pressure_plate" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_pressure_plate", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_pressure_plate", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/crimson_sign.json b/behavior_pack/recipes/crimson_sign.json new file mode 100644 index 0000000..cb51823 --- /dev/null +++ b/behavior_pack/recipes/crimson_sign.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_sign" + }, + "tags": [ + "crafting_table" + ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:crimson_planks" }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/crimson_slab.json b/behavior_pack/recipes/crimson_slab.json new file mode 100644 index 0000000..1c28f34 --- /dev/null +++ b/behavior_pack/recipes/crimson_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_slab" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/crimson_stairs.json b/behavior_pack/recipes/crimson_stairs.json new file mode 100644 index 0000000..54119ac --- /dev/null +++ b/behavior_pack/recipes/crimson_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_stairs" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/crimson_trapdoor.json b/behavior_pack/recipes/crimson_trapdoor.json new file mode 100644 index 0000000..e78e4ab --- /dev/null +++ b/behavior_pack/recipes/crimson_trapdoor.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crimson_trapdoor" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_trap_door", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:crimson_planks" + } + }, + "unlock": [ + { + "item": "minecraft:crimson_planks" + } + ], + "result": { + "item": "minecraft:crimson_trapdoor", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/crossbow.json b/behavior_pack/recipes/crossbow.json new file mode 100644 index 0000000..bb41439 --- /dev/null +++ b/behavior_pack/recipes/crossbow.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:crossbow" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#I#", + "STS", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "S": { + "item": "minecraft:string" + }, + "I": { + "item": "minecraft:iron_ingot" + }, + "T": { + "item": "minecraft:tripwire_hook" + } + }, + "unlock": [ + { + "item": "minecraft:tripwire_hook" + }, + { + "item": "minecraft:string" + }, + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:crossbow" + } + } +} diff --git a/behavior_pack/recipes/cyan_banner.json b/behavior_pack/recipes/cyan_banner.json new file mode 100644 index 0000000..21cf101 --- /dev/null +++ b/behavior_pack/recipes/cyan_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cyan_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:cyan_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:cyan_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 6 + } + } +} diff --git a/behavior_pack/recipes/cyan_candle.json b/behavior_pack/recipes/cyan_candle.json new file mode 100644 index 0000000..af91e8c --- /dev/null +++ b/behavior_pack/recipes/cyan_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cyan_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 6 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 6 + } + ], + "result": { + "item": "minecraft:cyan_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/cyan_carpet.json b/behavior_pack/recipes/cyan_carpet.json new file mode 100644 index 0000000..8b4e10f --- /dev/null +++ b/behavior_pack/recipes/cyan_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cyan_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:cyan_wool" + } + }, + "unlock": [ + { + "item": "minecraft:cyan_wool" + } + ], + "result": { + "item": "minecraft:cyan_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/cyan_carpet_from_white.json b/behavior_pack/recipes/cyan_carpet_from_white.json new file mode 100644 index 0000000..681c6a1 --- /dev/null +++ b/behavior_pack/recipes/cyan_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cyan_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:cyan_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:cyan_dye" + } + ], + "result": { + "item": "minecraft:cyan_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/cyan_concrete_powder.json b/behavior_pack/recipes/cyan_concrete_powder.json new file mode 100644 index 0000000..933a001 --- /dev/null +++ b/behavior_pack/recipes/cyan_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cyan_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:cyan_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:cyan_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/cyan_dye.json b/behavior_pack/recipes/cyan_dye.json new file mode 100644 index 0000000..ce73203 --- /dev/null +++ b/behavior_pack/recipes/cyan_dye.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cyan_dye" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 2 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 2 + } + ], + "result": { + "item": "minecraft:dye", + "data": 6, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/cyan_dye_from_lapis_lazuli.json b/behavior_pack/recipes/cyan_dye_from_lapis_lazuli.json new file mode 100644 index 0000000..6ad684d --- /dev/null +++ b/behavior_pack/recipes/cyan_dye_from_lapis_lazuli.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cyan_dye_from_lapis_lazuli" + }, + + + "tags": [ "crafting_table" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 2 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 2 + } + ], + "result": { + "item": "minecraft:dye", + "data": 6, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/cyan_dye_from_pitcher_plant.json b/behavior_pack/recipes/cyan_dye_from_pitcher_plant.json new file mode 100644 index 0000000..72bad10 --- /dev/null +++ b/behavior_pack/recipes/cyan_dye_from_pitcher_plant.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.21.30", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cyan_dye_from_pitcher_plant" + }, + "tags": [ + "crafting_table" + ], + "group": "cyan_dye", + "ingredients": [ + { + "item": "minecraft:pitcher_plant" + } + ], + "unlock": [ + { + "item": "minecraft:pitcher_plant" + } + ], + "result": { + "item": "minecraft:cyan_dye", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/cyan_stained_glass.json b/behavior_pack/recipes/cyan_stained_glass.json new file mode 100644 index 0000000..b05f969 --- /dev/null +++ b/behavior_pack/recipes/cyan_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cyan_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:cyan_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:cyan_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/cyan_stained_glass_pane.json b/behavior_pack/recipes/cyan_stained_glass_pane.json new file mode 100644 index 0000000..49aaae1 --- /dev/null +++ b/behavior_pack/recipes/cyan_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cyan_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:cyan_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:cyan_stained_glass" + } + ], + "result": { + "item": "minecraft:cyan_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/cyan_stained_glass_pane_from_pane.json b/behavior_pack/recipes/cyan_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..5b1ef6e --- /dev/null +++ b/behavior_pack/recipes/cyan_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cyan_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:cyan_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:cyan_dye" + } + ], + "result": { + "item": "minecraft:cyan_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/cyan_stained_hardened_clay.json b/behavior_pack/recipes/cyan_stained_hardened_clay.json new file mode 100644 index 0000000..af4e3f4 --- /dev/null +++ b/behavior_pack/recipes/cyan_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:cyan_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:cyan_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:cyan_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_boat.json b/behavior_pack/recipes/dark_oak_boat.json new file mode 100644 index 0000000..89ecc5b --- /dev/null +++ b/behavior_pack/recipes/dark_oak_boat.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_boat" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:dark_oak_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:dark_oak_boat" + } + } +} diff --git a/behavior_pack/recipes/dark_oak_chest_boat.json b/behavior_pack/recipes/dark_oak_chest_boat.json new file mode 100644 index 0000000..64675a4 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_chest_boat.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:dark_oak_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 5 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 5 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 5 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_door.json b/behavior_pack/recipes/dark_oak_door.json new file mode 100644 index 0000000..22cecc9 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_door" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:dark_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_planks" + } + ], + "result": { + "item": "minecraft:dark_oak_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_fence.json b/behavior_pack/recipes/dark_oak_fence.json new file mode 100644 index 0000000..c0f461e --- /dev/null +++ b/behavior_pack/recipes/dark_oak_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:dark_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_planks" + } + ], + "result": { + "item": "minecraft:dark_oak_fence", + "count": 3 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/dark_oak_fence_gate.json b/behavior_pack/recipes/dark_oak_fence_gate.json new file mode 100644 index 0000000..25e5c82 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_fence_gate" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:dark_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_planks" + } + ], + "result": { + "item": "minecraft:dark_oak_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/dark_oak_hanging_sign.json b/behavior_pack/recipes/dark_oak_hanging_sign.json new file mode 100644 index 0000000..e92b180 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_dark_oak_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_dark_oak_log" + } + ], + "result": { + "item": "minecraft:dark_oak_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_planks.json b/behavior_pack/recipes/dark_oak_planks.json new file mode 100644 index 0000000..2022c2f --- /dev/null +++ b/behavior_pack/recipes/dark_oak_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_planks" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:dark_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_log" + } + ], + "result": { + "item": "minecraft:dark_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_planks_from_stripped.json b/behavior_pack/recipes/dark_oak_planks_from_stripped.json new file mode 100644 index 0000000..9f1a851 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_planks_from_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_planks_from_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_dark_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_dark_oak_log" + } + ], + "result": { + "item": "minecraft:dark_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_planks_from_stripped_wood.json b/behavior_pack/recipes/dark_oak_planks_from_stripped_wood.json new file mode 100644 index 0000000..c695723 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_planks_from_stripped_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_planks_from_stripped_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_dark_oak_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_dark_oak_wood" + } + ], + "result": { + "item": "minecraft:dark_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_planks_from_wood.json b/behavior_pack/recipes/dark_oak_planks_from_wood.json new file mode 100644 index 0000000..a5f2b16 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_planks_from_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_planks_from_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:dark_oak_wood" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_wood" + } + ], + "result": { + "item": "minecraft:dark_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_stairs.json b/behavior_pack/recipes/dark_oak_stairs.json new file mode 100644 index 0000000..bb782d4 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_stairs" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:dark_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_planks" + } + ], + "result": { + "item": "minecraft:dark_oak_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_wood.json b/behavior_pack/recipes/dark_oak_wood.json new file mode 100644 index 0000000..4302811 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:dark_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_log" + } + ], + "result": { + "item": "minecraft:dark_oak_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_wood_stripped.json b/behavior_pack/recipes/dark_oak_wood_stripped.json new file mode 100644 index 0000000..79d8adf --- /dev/null +++ b/behavior_pack/recipes/dark_oak_wood_stripped.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_wood_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_dark_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_dark_oak_log" + } + ], + "result": { + "item": "minecraft:stripped_dark_oak_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/dark_oak_wooden_slab.json b/behavior_pack/recipes/dark_oak_wooden_slab.json new file mode 100644 index 0000000..3259383 --- /dev/null +++ b/behavior_pack/recipes/dark_oak_wooden_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_oak_wooden_slab" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:dark_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_planks" + } + ], + "result": { + "item": "minecraft:dark_oak_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/dark_prismarine.json b/behavior_pack/recipes/dark_prismarine.json new file mode 100644 index 0000000..1eb9e55 --- /dev/null +++ b/behavior_pack/recipes/dark_prismarine.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_prismarine" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "SSS", + "SIS", + "SSS" + ], + "key": { + "S": { + "item": "minecraft:prismarine_shard" + }, + "I": { + "item": "minecraft:black_dye" + } + }, + "unlock": [ + { + "item": "minecraft:prismarine_shard" + } + ], + "result": { + "item": "minecraft:dark_prismarine" + } + } +} diff --git a/behavior_pack/recipes/dark_prismarine_from_ink_sac.json b/behavior_pack/recipes/dark_prismarine_from_ink_sac.json new file mode 100644 index 0000000..c40d58b --- /dev/null +++ b/behavior_pack/recipes/dark_prismarine_from_ink_sac.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dark_prismarine_from_ink_sac" + }, + + + "tags": [ "crafting_table" ], + "priority": 1, + "pattern": [ + "SSS", + "SIS", + "SSS" + ], + "key": { + "S": { + "item": "minecraft:prismarine_shard" + }, + "I": { + "item": "minecraft:ink_sac" + } + }, + "unlock": [ + { + "item": "minecraft:prismarine_shard" + } + ], + "result": { + "item": "minecraft:dark_prismarine" + } + } +} diff --git a/behavior_pack/recipes/daylight_detector.json b/behavior_pack/recipes/daylight_detector.json new file mode 100644 index 0000000..3a40326 --- /dev/null +++ b/behavior_pack/recipes/daylight_detector.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:DaylightDetector_recipeId" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "CCC" + ], + "key": { + "A": { + "item": "glass" + }, + "B": { + "item": "quartz" + }, + "C": { + "tag": "minecraft:wooden_slabs" + } + }, + "unlock": [ + { + "item": "quartz" + } + ], + "result": { + "item": "daylight_detector", + "count": 1 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/daylight_detector_from_crimson_slab.json b/behavior_pack/recipes/daylight_detector_from_crimson_slab.json new file mode 100644 index 0000000..cb16421 --- /dev/null +++ b/behavior_pack/recipes/daylight_detector_from_crimson_slab.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:daylight_detector_from_crimson_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "CCC" + ], + "key": { + "A": { + "item": "glass" + }, + "B": { + "item": "quartz" + }, + "C": { + "item": "crimson_slab" + } + }, + "result": { + "item": "daylight_detector", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/daylight_detector_from_mangrove_slab.json b/behavior_pack/recipes/daylight_detector_from_mangrove_slab.json new file mode 100644 index 0000000..c8d8c4d --- /dev/null +++ b/behavior_pack/recipes/daylight_detector_from_mangrove_slab.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:daylight_detector_from_mangrove_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "CCC" + ], + "key": { + "A": { + "item": "glass" + }, + "B": { + "item": "quartz" + }, + "C": { + "item": "mangrove_slab" + } + }, + "result": { + "item": "daylight_detector", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/daylight_detector_from_warped_slab.json b/behavior_pack/recipes/daylight_detector_from_warped_slab.json new file mode 100644 index 0000000..fa50fd2 --- /dev/null +++ b/behavior_pack/recipes/daylight_detector_from_warped_slab.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:daylight_detector_from_warped_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BBB", + "CCC" + ], + "key": { + "A": { + "item": "glass" + }, + "B": { + "item": "quartz" + }, + "C": { + "item": "warped_slab" + } + }, + "result": { + "item": "daylight_detector", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/deepslate_brick_slab.json b/behavior_pack/recipes/deepslate_brick_slab.json new file mode 100644 index 0000000..a42f54e --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_brick_slab" + }, + "key": { + "#": { + "item": "minecraft:deepslate_bricks" + } + }, + "pattern": [ + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:deepslate_brick_slab" + }, + "unlock": [ + { + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_slab_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_brick_slab_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..05152a8 --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_slab_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_slab_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:deepslate_brick_slab" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_slab_from_deepslate_bricks_stonecutting.json b/behavior_pack/recipes/deepslate_brick_slab_from_deepslate_bricks_stonecutting.json new file mode 100644 index 0000000..92db273 --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_slab_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_slab_from_deepslate_bricks_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:deepslate_brick_slab" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_slab_from_polished_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_brick_slab_from_polished_deepslate_stonecutting.json new file mode 100644 index 0000000..6ac24d4 --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_slab_from_polished_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_slab_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:deepslate_brick_slab" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_stairs.json b/behavior_pack/recipes/deepslate_brick_stairs.json new file mode 100644 index 0000000..e5f1c02 --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_brick_stairs" + }, + "key": { + "#": { + "item": "minecraft:deepslate_bricks" + } + }, + "pattern": [ + "# ", + "## ", + "###" + ], + "priority": 1, + "result": { + "count": 4, + "item": "minecraft:deepslate_brick_stairs" + }, + "unlock": [ + { + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_stairs_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_brick_stairs_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..c94f6eb --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_stairs_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_stairs_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_brick_stairs" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_stairs_from_deepslate_bricks_stonecutting.json b/behavior_pack/recipes/deepslate_brick_stairs_from_deepslate_bricks_stonecutting.json new file mode 100644 index 0000000..f00dd43 --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_stairs_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_stairs_from_deepslate_bricks_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_brick_stairs" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_stairs_from_polished_deepslate_stonecut.json b/behavior_pack/recipes/deepslate_brick_stairs_from_polished_deepslate_stonecut.json new file mode 100644 index 0000000..027a2ac --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_stairs_from_polished_deepslate_stonecut.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_stairs_from_polished_deepslate_stonecut" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_brick_stairs" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_wall.json b/behavior_pack/recipes/deepslate_brick_wall.json new file mode 100644 index 0000000..3e16e3b --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_wall.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_brick_wall" + }, + "key": { + "#": { + "item": "minecraft:deepslate_bricks" + } + }, + "pattern": [ + "###", + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:deepslate_brick_wall" + }, + "unlock": [ + { + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_wall_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_brick_wall_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..8063c07 --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_wall_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_wall_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_brick_wall" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_wall_from_deepslate_bricks_stonecutting.json b/behavior_pack/recipes/deepslate_brick_wall_from_deepslate_bricks_stonecutting.json new file mode 100644 index 0000000..9ea0614 --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_wall_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_wall_from_deepslate_bricks_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_brick_wall" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_brick_wall_from_polished_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_brick_wall_from_polished_deepslate_stonecutting.json new file mode 100644 index 0000000..11bdabe --- /dev/null +++ b/behavior_pack/recipes/deepslate_brick_wall_from_polished_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_brick_wall_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_brick_wall" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_bricks.json b/behavior_pack/recipes/deepslate_bricks.json new file mode 100644 index 0000000..6ccd9ed --- /dev/null +++ b/behavior_pack/recipes/deepslate_bricks.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_bricks" + }, + "key": { + "S": { + "item": "minecraft:polished_deepslate" + } + }, + "pattern": [ + "SS", + "SS" + ], + "priority": 1, + "result": { + "count": 4, + "item": "minecraft:deepslate_bricks" + }, + "unlock": [ + { + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_bricks_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_bricks_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..4d6127a --- /dev/null +++ b/behavior_pack/recipes/deepslate_bricks_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_bricks_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_bricks" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_bricks_from_polished_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_bricks_from_polished_deepslate_stonecutting.json new file mode 100644 index 0000000..4112be2 --- /dev/null +++ b/behavior_pack/recipes/deepslate_bricks_from_polished_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_bricks_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_bricks" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_furnace.json b/behavior_pack/recipes/deepslate_furnace.json new file mode 100644 index 0000000..12c400f --- /dev/null +++ b/behavior_pack/recipes/deepslate_furnace.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:deepslate_furnace" + }, + "input": "minecraft:cobbled_deepslate", + "output": "minecraft:deepslate", + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "furnace" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_slab.json b/behavior_pack/recipes/deepslate_tile_slab.json new file mode 100644 index 0000000..0c81458 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_tile_slab" + }, + "key": { + "#": { + "item": "minecraft:deepslate_tiles" + } + }, + "pattern": [ + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:deepslate_tile_slab" + }, + "unlock": [ + { + "item": "minecraft:deepslate_tiles" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_slab_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tile_slab_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..16aea71 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_slab_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_slab_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:deepslate_tile_slab" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_slab_from_deepslate_bricks_stonecutting.json b/behavior_pack/recipes/deepslate_tile_slab_from_deepslate_bricks_stonecutting.json new file mode 100644 index 0000000..c27ca4e --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_slab_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_slab_from_deepslate_bricks_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:deepslate_tile_slab" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_slab_from_deepslate_tiles_stonecutting.json b/behavior_pack/recipes/deepslate_tile_slab_from_deepslate_tiles_stonecutting.json new file mode 100644 index 0000000..c2aa468 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_slab_from_deepslate_tiles_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_slab_from_deepslate_tiles_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_tiles" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:deepslate_tile_slab" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_tiles" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_slab_from_polished_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tile_slab_from_polished_deepslate_stonecutting.json new file mode 100644 index 0000000..db96da8 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_slab_from_polished_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_slab_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:deepslate_tile_slab" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_stairs.json b/behavior_pack/recipes/deepslate_tile_stairs.json new file mode 100644 index 0000000..e403754 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_tile_stairs" + }, + "key": { + "#": { + "item": "minecraft:deepslate_tiles" + } + }, + "pattern": [ + "# ", + "## ", + "###" + ], + "priority": 1, + "result": { + "count": 4, + "item": "minecraft:deepslate_tile_stairs" + }, + "unlock": [ + { + "item": "minecraft:deepslate_tiles" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_stairs_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tile_stairs_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..67c46ea --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_stairs_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_stairs_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_stairs" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_bricks_stonecutting.json b/behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_bricks_stonecutting.json new file mode 100644 index 0000000..77f4e70 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_stairs_from_deepslate_bricks_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_stairs" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_tiles_stonecutting.json b/behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_tiles_stonecutting.json new file mode 100644 index 0000000..52372b4 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_stairs_from_deepslate_tiles_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_stairs_from_deepslate_tiles_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_tiles" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_stairs" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_tiles" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_stairs_from_polished_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tile_stairs_from_polished_deepslate_stonecutting.json new file mode 100644 index 0000000..215efba --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_stairs_from_polished_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_stairs_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_stairs" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_wall.json b/behavior_pack/recipes/deepslate_tile_wall.json new file mode 100644 index 0000000..7507f04 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_wall.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_tile_wall" + }, + "key": { + "#": { + "item": "minecraft:deepslate_tiles" + } + }, + "pattern": [ + "###", + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:deepslate_tile_wall" + }, + "unlock": [ + { + "item": "minecraft:deepslate_tiles" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_wall_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tile_wall_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..fb11a3b --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_wall_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_wall_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_wall" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_wall_from_deepslate_bricks_stonecutting.json b/behavior_pack/recipes/deepslate_tile_wall_from_deepslate_bricks_stonecutting.json new file mode 100644 index 0000000..7bca317 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_wall_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_wall_from_deepslate_bricks_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_wall" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_wall_from_deepslate_tiles_stonecutting.json b/behavior_pack/recipes/deepslate_tile_wall_from_deepslate_tiles_stonecutting.json new file mode 100644 index 0000000..70bfc9e --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_wall_from_deepslate_tiles_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_wall_from_deepslate_tiles_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_tiles" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_wall" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_tiles" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tile_wall_from_polished_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tile_wall_from_polished_deepslate_stonecutting.json new file mode 100644 index 0000000..bcbede3 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tile_wall_from_polished_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tile_wall_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tile_wall" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tiles.json b/behavior_pack/recipes/deepslate_tiles.json new file mode 100644 index 0000000..f98051a --- /dev/null +++ b/behavior_pack/recipes/deepslate_tiles.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:deepslate_tiles" + }, + "key": { + "S": { + "item": "minecraft:deepslate_bricks" + } + }, + "pattern": [ + "SS", + "SS" + ], + "priority": 1, + "result": { + "count": 4, + "item": "minecraft:deepslate_tiles" + }, + "unlock": [ + { + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tiles_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tiles_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..4bc8a10 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tiles_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tiles_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tiles" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tiles_from_deepslate_bricks_stonecutting.json b/behavior_pack/recipes/deepslate_tiles_from_deepslate_bricks_stonecutting.json new file mode 100644 index 0000000..b9d6399 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tiles_from_deepslate_bricks_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tiles_from_deepslate_bricks_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tiles" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:deepslate_bricks" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deepslate_tiles_from_polished_deepslate_stonecutting.json b/behavior_pack/recipes/deepslate_tiles_from_polished_deepslate_stonecutting.json new file mode 100644 index 0000000..04a3fa5 --- /dev/null +++ b/behavior_pack/recipes/deepslate_tiles_from_polished_deepslate_stonecutting.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:deepslate_tiles_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:deepslate_tiles" + }, + "unlock": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/deprecated_cobweb_to_string.json b/behavior_pack/recipes/deprecated_cobweb_to_string.json new file mode 100644 index 0000000..22652bc --- /dev/null +++ b/behavior_pack/recipes/deprecated_cobweb_to_string.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:cobweb_to_string" + }, + + + "tags": [ "deprecated" ], + "ingredients": [ + { + "item": "minecraft:string" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:string" + } + } +} diff --git a/behavior_pack/recipes/detector_rail.json b/behavior_pack/recipes/detector_rail.json new file mode 100644 index 0000000..91b6f75 --- /dev/null +++ b/behavior_pack/recipes/detector_rail.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:detector_rail" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "X#X", + "XRX" + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:stone_pressure_plate" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:rail" + } + ], + "result": { + "item": "minecraft:detector_rail", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/diamond.json b/behavior_pack/recipes/diamond.json new file mode 100644 index 0000000..bc7564e --- /dev/null +++ b/behavior_pack/recipes/diamond.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:diamond_block" + } + }, + "unlock": [ + { + "item": "minecraft:diamond_block" + } + ], + "result": { + "item": "minecraft:diamond", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/diamond_axe.json b/behavior_pack/recipes/diamond_axe.json new file mode 100644 index 0000000..ecc0974 --- /dev/null +++ b/behavior_pack/recipes/diamond_axe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_axe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_axe" + } + } +} diff --git a/behavior_pack/recipes/diamond_block.json b/behavior_pack/recipes/diamond_block.json new file mode 100644 index 0000000..0cf6287 --- /dev/null +++ b/behavior_pack/recipes/diamond_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_block" + } + } +} diff --git a/behavior_pack/recipes/diamond_boots.json b/behavior_pack/recipes/diamond_boots.json new file mode 100644 index 0000000..dc96e57 --- /dev/null +++ b/behavior_pack/recipes/diamond_boots.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_boots" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_boots" + } + } +} diff --git a/behavior_pack/recipes/diamond_chestplate.json b/behavior_pack/recipes/diamond_chestplate.json new file mode 100644 index 0000000..1a50312 --- /dev/null +++ b/behavior_pack/recipes/diamond_chestplate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_chestplate" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "XXX", + "XXX" + ], + "key": { + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_chestplate" + } + } +} diff --git a/behavior_pack/recipes/diamond_helmet.json b/behavior_pack/recipes/diamond_helmet.json new file mode 100644 index 0000000..b545b6e --- /dev/null +++ b/behavior_pack/recipes/diamond_helmet.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_helmet" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X" + ], + "key": { + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_helmet" + } + } +} diff --git a/behavior_pack/recipes/diamond_hoe.json b/behavior_pack/recipes/diamond_hoe.json new file mode 100644 index 0000000..06b523c --- /dev/null +++ b/behavior_pack/recipes/diamond_hoe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_hoe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + " #", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_hoe" + } + } +} diff --git a/behavior_pack/recipes/diamond_leggings.json b/behavior_pack/recipes/diamond_leggings.json new file mode 100644 index 0000000..21fb9de --- /dev/null +++ b/behavior_pack/recipes/diamond_leggings.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_leggings" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_leggings" + } + } +} diff --git a/behavior_pack/recipes/diamond_pickaxe.json b/behavior_pack/recipes/diamond_pickaxe.json new file mode 100644 index 0000000..5a51cde --- /dev/null +++ b/behavior_pack/recipes/diamond_pickaxe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_pickaxe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_pickaxe" + } + } +} diff --git a/behavior_pack/recipes/diamond_shovel.json b/behavior_pack/recipes/diamond_shovel.json new file mode 100644 index 0000000..abb6f16 --- /dev/null +++ b/behavior_pack/recipes/diamond_shovel.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_shovel" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_shovel" + } + } +} diff --git a/behavior_pack/recipes/diamond_sword.json b/behavior_pack/recipes/diamond_sword.json new file mode 100644 index 0000000..2ffbf13 --- /dev/null +++ b/behavior_pack/recipes/diamond_sword.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diamond_sword" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "minecraft:diamond_sword" + } + } +} diff --git a/behavior_pack/recipes/diorite.json b/behavior_pack/recipes/diorite.json new file mode 100644 index 0000000..1016148 --- /dev/null +++ b/behavior_pack/recipes/diorite.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diorite" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "CQ", + "QC" + ], + "key": { + "Q": { + "item": "minecraft:quartz" + }, + "C": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:quartz" + } + ], + "result": { + "item": "minecraft:diorite", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/diorite_stairs.json b/behavior_pack/recipes/diorite_stairs.json new file mode 100644 index 0000000..104e447 --- /dev/null +++ b/behavior_pack/recipes/diorite_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diorite_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:diorite" + } + }, + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:diorite_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/diorite_wall.json b/behavior_pack/recipes/diorite_wall.json new file mode 100644 index 0000000..d372afc --- /dev/null +++ b/behavior_pack/recipes/diorite_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:diorite_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:diorite" + } + }, + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:diorite_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/dispenser.json b/behavior_pack/recipes/dispenser.json new file mode 100644 index 0000000..0a675bf --- /dev/null +++ b/behavior_pack/recipes/dispenser.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dispenser" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#X#", + "#R#" + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:cobblestone" + }, + "X": { + "item": "minecraft:bow" + } + }, + "unlock": [ + { + "item": "minecraft:bow" + } + ], + "result": { + "item": "minecraft:dispenser", + "data": 3 + } + } +} diff --git a/behavior_pack/recipes/dried_kelp.json b/behavior_pack/recipes/dried_kelp.json new file mode 100644 index 0000000..bffdcd5 --- /dev/null +++ b/behavior_pack/recipes/dried_kelp.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dried_kelp" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:dried_kelp_block" + } + }, + "unlock": [ + { + "item": "minecraft:dried_kelp_block" + } + ], + "result": { + "item": "minecraft:dried_kelp", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/dried_kelp_block.json b/behavior_pack/recipes/dried_kelp_block.json new file mode 100644 index 0000000..ee4dfb0 --- /dev/null +++ b/behavior_pack/recipes/dried_kelp_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dried_kelp_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:dried_kelp" + } + }, + "unlock": [ + { + "item": "minecraft:dried_kelp" + } + ], + "result": { + "item": "minecraft:dried_kelp_block" + } + } +} diff --git a/behavior_pack/recipes/dripstone_block.json b/behavior_pack/recipes/dripstone_block.json new file mode 100644 index 0000000..4615889 --- /dev/null +++ b/behavior_pack/recipes/dripstone_block.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dripstone_block" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:pointed_dripstone" + } + }, + "unlock": [ + { + "item": "minecraft:pointed_dripstone" + } + ], + "result": { + "item": "minecraft:dripstone_block", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/dripstone_block_from_pointed_dripstone.json b/behavior_pack/recipes/dripstone_block_from_pointed_dripstone.json new file mode 100644 index 0000000..db58878 --- /dev/null +++ b/behavior_pack/recipes/dripstone_block_from_pointed_dripstone.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dripstone_block_from_pointed_dripstone" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "XX" + ], + "key": { + "X": { + "item": "minecraft:pointed_dripstone" + } + }, + "result": [ + { "item": "minecraft:dripstone_block" } + ] + } +} diff --git a/behavior_pack/recipes/dropper.json b/behavior_pack/recipes/dropper.json new file mode 100644 index 0000000..81410ca --- /dev/null +++ b/behavior_pack/recipes/dropper.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dropper" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "# #", + "#R#" + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:redstone" + } + ], + "result": { + "item": "minecraft:dropper", + "data": 3 + } + } +} diff --git a/behavior_pack/recipes/dune_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/dune_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..2f3b49f --- /dev/null +++ b/behavior_pack/recipes/dune_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:dune_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:dune_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:sandstone" + } + }, + "unlock": [ + { + "item": "minecraft:dune_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:dune_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/emerald.json b/behavior_pack/recipes/emerald.json new file mode 100644 index 0000000..1720a87 --- /dev/null +++ b/behavior_pack/recipes/emerald.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:emerald" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:emerald_block" + } + }, + "unlock": [ + { + "item": "minecraft:emerald_block" + } + ], + "result": { + "item": "minecraft:emerald", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/emerald_block.json b/behavior_pack/recipes/emerald_block.json new file mode 100644 index 0000000..1e18429 --- /dev/null +++ b/behavior_pack/recipes/emerald_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:emerald_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:emerald" + } + }, + "unlock": [ + { + "item": "minecraft:emerald" + } + ], + "result": { + "item": "minecraft:emerald_block" + } + } +} diff --git a/behavior_pack/recipes/empty_map_to_enhanced.json b/behavior_pack/recipes/empty_map_to_enhanced.json new file mode 100644 index 0000000..dd78274 --- /dev/null +++ b/behavior_pack/recipes/empty_map_to_enhanced.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:empty_map_to_enhanced" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:emptymap", + "data": 0 + }, + { + "item": "minecraft:compass" + } + ], + "unlock": [ + { + "item": "minecraft:compass" + } + ], + "result": { + "item": "minecraft:emptymap", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/enchanting_table.json b/behavior_pack/recipes/enchanting_table.json new file mode 100644 index 0000000..64fa298 --- /dev/null +++ b/behavior_pack/recipes/enchanting_table.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:enchanting_table" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " B ", + "D#D", + "###" + ], + "key": { + "B": { + "item": "minecraft:book" + }, + "#": { + "item": "minecraft:obsidian" + }, + "D": { + "item": "minecraft:diamond" + } + }, + "unlock": [ + { + "item": "minecraft:obsidian" + } + ], + "result": { + "item": "minecraft:enchanting_table" + } + } +} diff --git a/behavior_pack/recipes/end_brick_stairs.json b/behavior_pack/recipes/end_brick_stairs.json new file mode 100644 index 0000000..080940e --- /dev/null +++ b/behavior_pack/recipes/end_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:end_brick_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:end_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:end_bricks" + } + ], + "result": { + "item": "minecraft:end_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/end_brick_wall.json b/behavior_pack/recipes/end_brick_wall.json new file mode 100644 index 0000000..a673b70 --- /dev/null +++ b/behavior_pack/recipes/end_brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:end_brick_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:end_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:end_bricks" + } + ], + "result": { + "item": "minecraft:end_stone_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/end_bricks.json b/behavior_pack/recipes/end_bricks.json new file mode 100644 index 0000000..6f04bf5 --- /dev/null +++ b/behavior_pack/recipes/end_bricks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:end_bricks" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:end_stone" + } + }, + "unlock": [ + { + "item": "minecraft:end_stone" + } + ], + "result": { + "item": "minecraft:end_bricks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/end_crystal.json b/behavior_pack/recipes/end_crystal.json new file mode 100644 index 0000000..5661168 --- /dev/null +++ b/behavior_pack/recipes/end_crystal.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:end_crystal" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "GGG", + "GEG", + "GTG" + ], + "key": { + "T": { + "item": "minecraft:ghast_tear" + }, + "E": { + "item": "minecraft:ender_eye" + }, + "G": { + "item": "minecraft:glass" + } + }, + "unlock": [ + { + "item": "minecraft:ender_eye" + } + ], + "result": { + "item": "minecraft:end_crystal" + } + } +} diff --git a/behavior_pack/recipes/end_rod.json b/behavior_pack/recipes/end_rod.json new file mode 100644 index 0000000..6e0da64 --- /dev/null +++ b/behavior_pack/recipes/end_rod.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:end_rod" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "/", + "#" + ], + "key": { + "#": { + "item": "minecraft:chorus_fruit_popped" + }, + "/": { + "item": "minecraft:blaze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:chorus_fruit_popped" + } + ], + "result": { + "item": "minecraft:end_rod", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/ender_chest.json b/behavior_pack/recipes/ender_chest.json new file mode 100644 index 0000000..0890c92 --- /dev/null +++ b/behavior_pack/recipes/ender_chest.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:ender_chest" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#E#", + "###" + ], + "key": { + "#": { + "item": "minecraft:obsidian" + }, + "E": { + "item": "minecraft:ender_eye" + } + }, + "unlock": [ + { + "item": "minecraft:ender_eye" + } + ], + "result": { + "item": "minecraft:ender_chest" + } + } +} diff --git a/behavior_pack/recipes/ender_eye.json b/behavior_pack/recipes/ender_eye.json new file mode 100644 index 0000000..6845fe0 --- /dev/null +++ b/behavior_pack/recipes/ender_eye.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:ender_eye" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:ender_pearl" + }, + { + "item": "minecraft:blaze_powder" + } + ], + "unlock": [ + { + "item": "minecraft:blaze_powder" + } + ], + "result": { + "item": "minecraft:ender_eye" + } + } +} diff --git a/behavior_pack/recipes/eye_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/eye_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..9a6d770 --- /dev/null +++ b/behavior_pack/recipes/eye_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:eye_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:eye_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:end_stone" + } + }, + "unlock": [ + { + "item": "minecraft:eye_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:eye_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/fence.json b/behavior_pack/recipes/fence.json new file mode 100644 index 0000000..64e4b03 --- /dev/null +++ b/behavior_pack/recipes/fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:fence" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:oak_planks" + } + ], + "result": { + "item": "minecraft:oak_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/fence_gate.json b/behavior_pack/recipes/fence_gate.json new file mode 100644 index 0000000..5c88f90 --- /dev/null +++ b/behavior_pack/recipes/fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:fence_gate" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:oak_planks" + } + ], + "result": { + "item": "minecraft:fence_gate" + } + } +} diff --git a/behavior_pack/recipes/fermented_spider_eye.json b/behavior_pack/recipes/fermented_spider_eye.json new file mode 100644 index 0000000..fc3cefc --- /dev/null +++ b/behavior_pack/recipes/fermented_spider_eye.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:fermented_spider_eye" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:spider_eye" + }, + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:sugar" + } + ], + "unlock": [ + { + "item": "minecraft:spider_eye" + } + ], + "result": { + "item": "minecraft:fermented_spider_eye" + } + } +} diff --git a/behavior_pack/recipes/fire_charge.json b/behavior_pack/recipes/fire_charge.json new file mode 100644 index 0000000..bcea82a --- /dev/null +++ b/behavior_pack/recipes/fire_charge.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:FireCharge_coal_sulphur_recipeId" + }, + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:blaze_powder" + }, + { + "tag": "minecraft:coals" + }, + { + "item": "minecraft:gunpowder" + } + ], + "unlock": [ + { + "item": "minecraft:blaze_powder" + } + ], + "result": { + "item": "minecraft:fire_charge", + "count": 3 + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/fire_charge_charcoal.json b/behavior_pack/recipes/fire_charge_charcoal.json new file mode 100644 index 0000000..85f8b1e --- /dev/null +++ b/behavior_pack/recipes/fire_charge_charcoal.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:FireCharge_blaze_powder_coal_sulphur_recipeId" + }, + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:blaze_powder" + }, + { + "item": "minecraft:charcoal" + }, + { + "item": "minecraft:gunpowder" + } + ], + "result": { + "item": "minecraft:fire_charge", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/fire_charge_coal.json b/behavior_pack/recipes/fire_charge_coal.json new file mode 100644 index 0000000..78285bb --- /dev/null +++ b/behavior_pack/recipes/fire_charge_coal.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:FireCharge_coal_sulphur_recipeId" + }, + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:blaze_powder" + }, + { + "item": "minecraft:coal" + }, + { + "item": "minecraft:gunpowder" + } + ], + "result": { + "item": "minecraft:fire_charge", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/fishing_rod.json b/behavior_pack/recipes/fishing_rod.json new file mode 100644 index 0000000..416789c --- /dev/null +++ b/behavior_pack/recipes/fishing_rod.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:fishing_rod" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " #", + " #X", + "# X" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:string" + } + }, + "unlock": [ + { + "item": "minecraft:string" + } + ], + "result": { + "item": "minecraft:fishing_rod" + } + } +} diff --git a/behavior_pack/recipes/fletching_table.json b/behavior_pack/recipes/fletching_table.json new file mode 100644 index 0000000..cafba4f --- /dev/null +++ b/behavior_pack/recipes/fletching_table.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:fletching_table" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "||", + "##", + "##" + ], + "key": { + "|": { + "item": "minecraft:flint" + }, + "#": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:flint" + } + ], + "result": [ + { "item": "minecraft:fletching_table" } + ], + "priority": -1 + } +} diff --git a/behavior_pack/recipes/fletching_table_from_crimson_planks.json b/behavior_pack/recipes/fletching_table_from_crimson_planks.json new file mode 100644 index 0000000..2d10932 --- /dev/null +++ b/behavior_pack/recipes/fletching_table_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:fletching_table_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "flint" + }, + "B": { + "item": "crimson_planks" + } + }, + "result": { + "item": "fletching_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/fletching_table_from_mangrove_planks.json b/behavior_pack/recipes/fletching_table_from_mangrove_planks.json new file mode 100644 index 0000000..7638fce --- /dev/null +++ b/behavior_pack/recipes/fletching_table_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:fletching_table_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "flint" + }, + "B": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "fletching_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/fletching_table_from_warped_planks.json b/behavior_pack/recipes/fletching_table_from_warped_planks.json new file mode 100644 index 0000000..646c663 --- /dev/null +++ b/behavior_pack/recipes/fletching_table_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:fletching_table_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "flint" + }, + "B": { + "item": "warped_planks" + } + }, + "result": { + "item": "fletching_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/flint_and_steel.json b/behavior_pack/recipes/flint_and_steel.json new file mode 100644 index 0000000..3f85cd9 --- /dev/null +++ b/behavior_pack/recipes/flint_and_steel.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:flint_and_steel" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:iron_ingot" + }, + { + "item": "minecraft:flint" + } + ], + "unlock": [ + { + "item": "minecraft:flint" + }, + { + "item": "minecraft:obsidian" + } + ], + "result": { + "item": "minecraft:flint_and_steel" + } + } +} diff --git a/behavior_pack/recipes/flow_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/flow_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..92ea22d --- /dev/null +++ b/behavior_pack/recipes/flow_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.60", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:flow_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:flow_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:breeze_rod" + } + }, + "unlock": [ + { + "item": "minecraft:flow_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:flow_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/flower_pot.json b/behavior_pack/recipes/flower_pot.json new file mode 100644 index 0000000..7564d76 --- /dev/null +++ b/behavior_pack/recipes/flower_pot.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:flower_pot" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + " # " + ], + "key": { + "#": { + "item": "minecraft:brick" + } + }, + "unlock": [ + { + "item": "minecraft:brick" + } + ], + "result": { + "item": "minecraft:flower_pot" + } + } +} diff --git a/behavior_pack/recipes/furnace.json b/behavior_pack/recipes/furnace.json new file mode 100644 index 0000000..8f46884 --- /dev/null +++ b/behavior_pack/recipes/furnace.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:furnace" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "# #", + "###" + ], + "key": { + "#": { + "tag": "minecraft:stone_crafting_materials" + } + }, + "unlock": [ + { + "tag": "minecraft:stone_crafting_materials" + } + ], + "result": { + "item": "minecraft:furnace" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/furnace_acacia_wood.json b/behavior_pack/recipes/furnace_acacia_wood.json new file mode 100644 index 0000000..f474833 --- /dev/null +++ b/behavior_pack/recipes/furnace_acacia_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_acacia_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:4", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_ancient_debris.json b/behavior_pack/recipes/furnace_ancient_debris.json new file mode 100644 index 0000000..4129080 --- /dev/null +++ b/behavior_pack/recipes/furnace_ancient_debris.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_ancient_debris" + }, + + "unlock": [ + { + "item": "minecraft:ancient_debris" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:ancient_debris", + "output": "minecraft:netherite_scrap" + } + +} diff --git a/behavior_pack/recipes/furnace_beef.json b/behavior_pack/recipes/furnace_beef.json new file mode 100644 index 0000000..1888527 --- /dev/null +++ b/behavior_pack/recipes/furnace_beef.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_beef" + }, + + "unlock": [ + { + "item": "minecraft:beef" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:beef", + "output": "minecraft:cooked_beef" + } + +} diff --git a/behavior_pack/recipes/furnace_birch_wood.json b/behavior_pack/recipes/furnace_birch_wood.json new file mode 100644 index 0000000..2a59fa7 --- /dev/null +++ b/behavior_pack/recipes/furnace_birch_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_birch_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:2", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_cactus.json b/behavior_pack/recipes/furnace_cactus.json new file mode 100644 index 0000000..beb84ec --- /dev/null +++ b/behavior_pack/recipes/furnace_cactus.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_cactus" + }, + + "unlock": [ + { + "item": "minecraft:cactus" + } + ], + "tags": ["furnace"], + "input": "minecraft:cactus", + "output": "minecraft:dye:2" + } + +} diff --git a/behavior_pack/recipes/furnace_chainmail_boots.json b/behavior_pack/recipes/furnace_chainmail_boots.json new file mode 100644 index 0000000..ed8f927 --- /dev/null +++ b/behavior_pack/recipes/furnace_chainmail_boots.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_chainmail_boots" + }, + + "unlock": [ + { + "item": "minecraft:chainmail_boots" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:chainmail_boots", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_chainmail_chestplate.json b/behavior_pack/recipes/furnace_chainmail_chestplate.json new file mode 100644 index 0000000..71ff0ae --- /dev/null +++ b/behavior_pack/recipes/furnace_chainmail_chestplate.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_chainmail_chestplate" + }, + + "unlock": [ + { + "item": "minecraft:chainmail_chestplate" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:chainmail_chestplate", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_chainmail_helmet.json b/behavior_pack/recipes/furnace_chainmail_helmet.json new file mode 100644 index 0000000..58525b3 --- /dev/null +++ b/behavior_pack/recipes/furnace_chainmail_helmet.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_chainmail_helmet" + }, + + "unlock": [ + { + "item": "minecraft:chainmail_helmet" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:chainmail_helmet", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_chainmail_leggings.json b/behavior_pack/recipes/furnace_chainmail_leggings.json new file mode 100644 index 0000000..10ea990 --- /dev/null +++ b/behavior_pack/recipes/furnace_chainmail_leggings.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_chainmail_leggings" + }, + + "unlock": [ + { + "item": "minecraft:chainmail_leggings" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:chainmail_leggings", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_chicken.json b/behavior_pack/recipes/furnace_chicken.json new file mode 100644 index 0000000..73261de --- /dev/null +++ b/behavior_pack/recipes/furnace_chicken.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_chicken" + }, + + "unlock": [ + { + "item": "minecraft:chicken" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:chicken", + "output": "minecraft:cooked_chicken" + } + +} diff --git a/behavior_pack/recipes/furnace_chorus_fruit.json b/behavior_pack/recipes/furnace_chorus_fruit.json new file mode 100644 index 0000000..931e76a --- /dev/null +++ b/behavior_pack/recipes/furnace_chorus_fruit.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_chorus_fruit" + }, + + "unlock": [ + { + "item": "minecraft:chorus_fruit" + } + ], + "tags": ["furnace"], + "input": "minecraft:chorus_fruit", + "output": "minecraft:chorus_fruit_popped" + } + +} diff --git a/behavior_pack/recipes/furnace_clay.json b/behavior_pack/recipes/furnace_clay.json new file mode 100644 index 0000000..21b9acc --- /dev/null +++ b/behavior_pack/recipes/furnace_clay.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_clay" + }, + + "unlock": [ + { + "item": "minecraft:clay" + } + ], + "tags": ["furnace"], + "input": "minecraft:clay", + "output": "minecraft:hardened_clay" + } + +} diff --git a/behavior_pack/recipes/furnace_clay_ball.json b/behavior_pack/recipes/furnace_clay_ball.json new file mode 100644 index 0000000..302995c --- /dev/null +++ b/behavior_pack/recipes/furnace_clay_ball.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_clay_ball" + }, + + "unlock": [ + { + "item": "minecraft:clay_ball" + } + ], + "tags": ["furnace"], + "input": "minecraft:clay_ball", + "output": "minecraft:brick" + } + +} diff --git a/behavior_pack/recipes/furnace_coal_ore.json b/behavior_pack/recipes/furnace_coal_ore.json new file mode 100644 index 0000000..3a59143 --- /dev/null +++ b/behavior_pack/recipes/furnace_coal_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_coal_ore" + }, + + "unlock": [ + { + "item": "minecraft:coal_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:coal_ore", + "output": "minecraft:coal" + } + +} diff --git a/behavior_pack/recipes/furnace_cobblestone.json b/behavior_pack/recipes/furnace_cobblestone.json new file mode 100644 index 0000000..a2f5385 --- /dev/null +++ b/behavior_pack/recipes/furnace_cobblestone.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_cobblestone" + }, + + "unlock": [ + { + "item": "minecraft:cobblestone" + } + ], + "tags": ["furnace"], + "input": "minecraft:cobblestone", + "output": "minecraft:stone" + } + +} diff --git a/behavior_pack/recipes/furnace_copper.json b/behavior_pack/recipes/furnace_copper.json new file mode 100644 index 0000000..d0e9087 --- /dev/null +++ b/behavior_pack/recipes/furnace_copper.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_copper" + }, + + "unlock": [ + { + "item": "minecraft:raw_copper" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:raw_copper", + "output": "minecraft:copper_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_copper_ore.json b/behavior_pack/recipes/furnace_copper_ore.json new file mode 100644 index 0000000..bb189a3 --- /dev/null +++ b/behavior_pack/recipes/furnace_copper_ore.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_copper_ore" + }, + + "unlock": [ + { + "item": "minecraft:copper_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:copper_ore", + "output": "minecraft:copper_ingot" + } + + } + \ No newline at end of file diff --git a/behavior_pack/recipes/furnace_cracked_nether_bricks.json b/behavior_pack/recipes/furnace_cracked_nether_bricks.json new file mode 100644 index 0000000..d62380c --- /dev/null +++ b/behavior_pack/recipes/furnace_cracked_nether_bricks.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_cracked_nether_bricks" + }, + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "tags": ["furnace"], + "input": "minecraft:nether_brick", + "output": "minecraft:cracked_nether_bricks" + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/furnace_cracked_polished_blackstone_bricks.json b/behavior_pack/recipes/furnace_cracked_polished_blackstone_bricks.json new file mode 100644 index 0000000..05d564b --- /dev/null +++ b/behavior_pack/recipes/furnace_cracked_polished_blackstone_bricks.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_cracked_polished_blackstone_bricks" + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "tags": ["furnace"], + "input": "minecraft:polished_blackstone_bricks", + "output": "minecraft:cracked_polished_blackstone_bricks" + } +} diff --git a/behavior_pack/recipes/furnace_dark_oak_wood.json b/behavior_pack/recipes/furnace_dark_oak_wood.json new file mode 100644 index 0000000..06d127a --- /dev/null +++ b/behavior_pack/recipes/furnace_dark_oak_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_dark_oak_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:5", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_deepslate_coal_ore.json b/behavior_pack/recipes/furnace_deepslate_coal_ore.json new file mode 100644 index 0000000..0ff2549 --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_coal_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_coal_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_coal_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_coal_ore", + "output": "minecraft:coal" + } + +} diff --git a/behavior_pack/recipes/furnace_deepslate_copper_ore.json b/behavior_pack/recipes/furnace_deepslate_copper_ore.json new file mode 100644 index 0000000..772b4a9 --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_copper_ore.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_copper_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_copper_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_copper_ore", + "output": "minecraft:copper_ingot" + } + + } + \ No newline at end of file diff --git a/behavior_pack/recipes/furnace_deepslate_diamond_ore.json b/behavior_pack/recipes/furnace_deepslate_diamond_ore.json new file mode 100644 index 0000000..138e9f4 --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_diamond_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_diamond_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_diamond_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_diamond_ore", + "output": "minecraft:diamond" + } + +} diff --git a/behavior_pack/recipes/furnace_deepslate_emerald_ore.json b/behavior_pack/recipes/furnace_deepslate_emerald_ore.json new file mode 100644 index 0000000..de80e94 --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_emerald_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_emerald_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_emerald_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_emerald_ore", + "output": "minecraft:emerald" + } + +} diff --git a/behavior_pack/recipes/furnace_deepslate_gold_ore.json b/behavior_pack/recipes/furnace_deepslate_gold_ore.json new file mode 100644 index 0000000..b7174d8 --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_gold_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_gold_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_gold_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_gold_ore", + "output": "minecraft:gold_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_deepslate_iron_ore.json b/behavior_pack/recipes/furnace_deepslate_iron_ore.json new file mode 100644 index 0000000..2bec672 --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_iron_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_iron_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_iron_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_iron_ore", + "output": "minecraft:iron_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_deepslate_lapis_ore.json b/behavior_pack/recipes/furnace_deepslate_lapis_ore.json new file mode 100644 index 0000000..8aabd64 --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_lapis_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_lapis_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_lapis_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_lapis_ore", + "output": "minecraft:dye:4" + } + +} diff --git a/behavior_pack/recipes/furnace_deepslate_redstone_ore.json b/behavior_pack/recipes/furnace_deepslate_redstone_ore.json new file mode 100644 index 0000000..8e170ae --- /dev/null +++ b/behavior_pack/recipes/furnace_deepslate_redstone_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_deepslate_redstone_ore" + }, + + "unlock": [ + { + "item": "minecraft:deepslate_redstone_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:deepslate_redstone_ore", + "output": "minecraft:redstone" + } + +} diff --git a/behavior_pack/recipes/furnace_diamond_ore.json b/behavior_pack/recipes/furnace_diamond_ore.json new file mode 100644 index 0000000..3db23f2 --- /dev/null +++ b/behavior_pack/recipes/furnace_diamond_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_diamond_ore" + }, + + "unlock": [ + { + "item": "minecraft:diamond_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:diamond_ore", + "output": "minecraft:diamond" + } + +} diff --git a/behavior_pack/recipes/furnace_emerald_ore.json b/behavior_pack/recipes/furnace_emerald_ore.json new file mode 100644 index 0000000..f8b3efa --- /dev/null +++ b/behavior_pack/recipes/furnace_emerald_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_emerald_ore" + }, + + "unlock": [ + { + "item": "minecraft:emerald_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:emerald_ore", + "output": "minecraft:emerald" + } + +} diff --git a/behavior_pack/recipes/furnace_fish.json b/behavior_pack/recipes/furnace_fish.json new file mode 100644 index 0000000..a0fd34a --- /dev/null +++ b/behavior_pack/recipes/furnace_fish.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_fish" + }, + "unlock": [ + { + "item": "minecraft:fish" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:fish", + "output": "minecraft:cooked_fish" + } + +} diff --git a/behavior_pack/recipes/furnace_from_blackstone.json b/behavior_pack/recipes/furnace_from_blackstone.json new file mode 100644 index 0000000..bf1e2d1 --- /dev/null +++ b/behavior_pack/recipes/furnace_from_blackstone.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:furnace_from_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:furnace" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/furnace_from_cobbled_deepslate.json b/behavior_pack/recipes/furnace_from_cobbled_deepslate.json new file mode 100644 index 0000000..1124a20 --- /dev/null +++ b/behavior_pack/recipes/furnace_from_cobbled_deepslate.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:furnace_from_cobbled_deepslate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:cobbled_deepslate" + } + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "result": { + "item": "minecraft:furnace" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/furnace_gold.json b/behavior_pack/recipes/furnace_gold.json new file mode 100644 index 0000000..458c516 --- /dev/null +++ b/behavior_pack/recipes/furnace_gold.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_gold" + }, + + "unlock": [ + { + "item": "minecraft:raw_gold" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:raw_gold", + "output": "minecraft:gold_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_gold_ore.json b/behavior_pack/recipes/furnace_gold_ore.json new file mode 100644 index 0000000..b13665d --- /dev/null +++ b/behavior_pack/recipes/furnace_gold_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_gold_ore" + }, + + "unlock": [ + { + "item": "minecraft:gold_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:gold_ore", + "output": "minecraft:gold_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_axe.json b/behavior_pack/recipes/furnace_golden_axe.json new file mode 100644 index 0000000..0aae688 --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_axe.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_axe" + }, + + "unlock": [ + { + "item": "minecraft:golden_axe" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_axe", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_boots.json b/behavior_pack/recipes/furnace_golden_boots.json new file mode 100644 index 0000000..59d2436 --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_boots.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_boots" + }, + + "unlock": [ + { + "item": "minecraft:golden_boots" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_boots", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_chestplate.json b/behavior_pack/recipes/furnace_golden_chestplate.json new file mode 100644 index 0000000..918a2f2 --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_chestplate.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_chestplate" + }, + + "unlock": [ + { + "item": "minecraft:golden_chestplate" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_chestplate", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_helmet.json b/behavior_pack/recipes/furnace_golden_helmet.json new file mode 100644 index 0000000..74d395d --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_helmet.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_helmet" + }, + + "unlock": [ + { + "item": "minecraft:golden_helmet" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_helmet", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_hoe.json b/behavior_pack/recipes/furnace_golden_hoe.json new file mode 100644 index 0000000..543eb6c --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_hoe.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_hoe" + }, + + "unlock": [ + { + "item": "minecraft:golden_hoe" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_hoe", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_leggings.json b/behavior_pack/recipes/furnace_golden_leggings.json new file mode 100644 index 0000000..4719598 --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_leggings.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_leggings" + }, + + "unlock": [ + { + "item": "minecraft:golden_leggings" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_leggings", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_pickaxe.json b/behavior_pack/recipes/furnace_golden_pickaxe.json new file mode 100644 index 0000000..8fad5ee --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_pickaxe.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_pickaxe" + }, + + "unlock": [ + { + "item": "minecraft:golden_pickaxe" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_pickaxe", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_shovel.json b/behavior_pack/recipes/furnace_golden_shovel.json new file mode 100644 index 0000000..dc1fd2a --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_shovel.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_shovel" + }, + + "unlock": [ + { + "item": "minecraft:golden_shovel" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_shovel", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_golden_sword.json b/behavior_pack/recipes/furnace_golden_sword.json new file mode 100644 index 0000000..c50a2b0 --- /dev/null +++ b/behavior_pack/recipes/furnace_golden_sword.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_golden_sword" + }, + + "unlock": [ + { + "item": "minecraft:golden_sword" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:golden_sword", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_horse_armor_gold.json b/behavior_pack/recipes/furnace_horse_armor_gold.json new file mode 100644 index 0000000..0323079 --- /dev/null +++ b/behavior_pack/recipes/furnace_horse_armor_gold.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_horse_armor_gold" + }, + + "unlock": [ + { + "item": "minecraft:horsearmorgold" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:horsearmorgold", + "output": "minecraft:gold_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_horse_armor_iron.json b/behavior_pack/recipes/furnace_horse_armor_iron.json new file mode 100644 index 0000000..662c06d --- /dev/null +++ b/behavior_pack/recipes/furnace_horse_armor_iron.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_horse_armor_iron" + }, + + "unlock": [ + { + "item": "minecraft:horsearmoriron" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:horsearmoriron", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron.json b/behavior_pack/recipes/furnace_iron.json new file mode 100644 index 0000000..319ffba --- /dev/null +++ b/behavior_pack/recipes/furnace_iron.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron" + }, + + "unlock": [ + { + "item": "minecraft:raw_iron" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:raw_iron", + "output": "minecraft:iron_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_axe.json b/behavior_pack/recipes/furnace_iron_axe.json new file mode 100644 index 0000000..45f64c6 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_axe.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_axe" + }, + + "unlock": [ + { + "item": "minecraft:iron_axe" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_axe", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_boots.json b/behavior_pack/recipes/furnace_iron_boots.json new file mode 100644 index 0000000..5ee53d8 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_boots.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_boots" + }, + + "unlock": [ + { + "item": "minecraft:iron_boots" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_boots", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_chestplate.json b/behavior_pack/recipes/furnace_iron_chestplate.json new file mode 100644 index 0000000..c5e5991 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_chestplate.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_chestplate" + }, + + "unlock": [ + { + "item": "minecraft:iron_chestplate" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_chestplate", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_helmet.json b/behavior_pack/recipes/furnace_iron_helmet.json new file mode 100644 index 0000000..c302dd3 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_helmet.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_helmet" + }, + + "unlock": [ + { + "item": "minecraft:iron_helmet" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_helmet", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_hoe.json b/behavior_pack/recipes/furnace_iron_hoe.json new file mode 100644 index 0000000..1db0268 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_hoe.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_hoe" + }, + + "unlock": [ + { + "item": "minecraft:iron_hoe" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_hoe", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_leggings.json b/behavior_pack/recipes/furnace_iron_leggings.json new file mode 100644 index 0000000..949bd39 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_leggings.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_leggings" + }, + + "unlock": [ + { + "item": "minecraft:iron_leggings" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_leggings", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_ore.json b/behavior_pack/recipes/furnace_iron_ore.json new file mode 100644 index 0000000..b1420d9 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_ore" + }, + + "unlock": [ + { + "item": "minecraft:iron_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_ore", + "output": "minecraft:iron_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_pickaxe.json b/behavior_pack/recipes/furnace_iron_pickaxe.json new file mode 100644 index 0000000..9f00741 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_pickaxe.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_pickaxe" + }, + + "unlock": [ + { + "item": "minecraft:iron_pickaxe" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_pickaxe", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_shovel.json b/behavior_pack/recipes/furnace_iron_shovel.json new file mode 100644 index 0000000..7a0cd9a --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_shovel.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_shovel" + }, + + "unlock": [ + { + "item": "minecraft:iron_shovel" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_shovel", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_iron_sword.json b/behavior_pack/recipes/furnace_iron_sword.json new file mode 100644 index 0000000..5bfabe0 --- /dev/null +++ b/behavior_pack/recipes/furnace_iron_sword.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_iron_sword" + }, + + "unlock": [ + { + "item": "minecraft:iron_sword" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:iron_sword", + "output": "minecraft:iron_nugget" + } + +} diff --git a/behavior_pack/recipes/furnace_jungle_wood.json b/behavior_pack/recipes/furnace_jungle_wood.json new file mode 100644 index 0000000..9f74984 --- /dev/null +++ b/behavior_pack/recipes/furnace_jungle_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_jungle_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:3", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_kelp.json b/behavior_pack/recipes/furnace_kelp.json new file mode 100644 index 0000000..23161b1 --- /dev/null +++ b/behavior_pack/recipes/furnace_kelp.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_kelp" + }, + + "unlock": [ + { + "item": "minecraft:kelp" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:kelp", + "output": "minecraft:dried_kelp" + } + +} diff --git a/behavior_pack/recipes/furnace_lapis_ore.json b/behavior_pack/recipes/furnace_lapis_ore.json new file mode 100644 index 0000000..7f95fe7 --- /dev/null +++ b/behavior_pack/recipes/furnace_lapis_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_lapis_ore" + }, + + "unlock": [ + { + "item": "minecraft:lapis_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:lapis_ore", + "output": "minecraft:dye:4" + } + +} diff --git a/behavior_pack/recipes/furnace_log.json b/behavior_pack/recipes/furnace_log.json new file mode 100644 index 0000000..2fa7be1 --- /dev/null +++ b/behavior_pack/recipes/furnace_log.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log" + }, + "unlock": [ + { + "tag": "minecraft:logs_that_burn" + } + ], + "tags": ["furnace"], + "input": { + "tag": "minecraft:logs_that_burn" + }, + "output": "minecraft:coal:1", + "priority": -1 + } + +} diff --git a/behavior_pack/recipes/furnace_log2_acacia.json b/behavior_pack/recipes/furnace_log2_acacia.json new file mode 100644 index 0000000..50f69d6 --- /dev/null +++ b/behavior_pack/recipes/furnace_log2_acacia.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log2_acacia" + }, + + + "tags": ["deprecated"], + "input": "minecraft:log2:0", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_log2_dark_oak.json b/behavior_pack/recipes/furnace_log2_dark_oak.json new file mode 100644 index 0000000..0ff5dd5 --- /dev/null +++ b/behavior_pack/recipes/furnace_log2_dark_oak.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log2_dark_oak" + }, + + + "tags": ["deprecated"], + "input": "minecraft:log2:1", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_log_birch.json b/behavior_pack/recipes/furnace_log_birch.json new file mode 100644 index 0000000..b599e5d --- /dev/null +++ b/behavior_pack/recipes/furnace_log_birch.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log_birch" + }, + + + "tags": ["deprecated"], + "input": "minecraft:log:2", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_log_jungle.json b/behavior_pack/recipes/furnace_log_jungle.json new file mode 100644 index 0000000..4e1ba90 --- /dev/null +++ b/behavior_pack/recipes/furnace_log_jungle.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log_jungle" + }, + + + "tags": ["deprecated"], + "input": "minecraft:log:3", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_log_mangrove.json b/behavior_pack/recipes/furnace_log_mangrove.json new file mode 100644 index 0000000..19d85f3 --- /dev/null +++ b/behavior_pack/recipes/furnace_log_mangrove.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log_mangrove" + }, + "tags": ["furnace"], + "input": "minecraft:mangrove_log", + "output": "minecraft:coal:1" + } +} diff --git a/behavior_pack/recipes/furnace_log_oak.json b/behavior_pack/recipes/furnace_log_oak.json new file mode 100644 index 0000000..65dc04b --- /dev/null +++ b/behavior_pack/recipes/furnace_log_oak.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log_oak" + }, + + + "tags": ["deprecated"], + "input": "minecraft:log:0", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_log_spruce.json b/behavior_pack/recipes/furnace_log_spruce.json new file mode 100644 index 0000000..b083eec --- /dev/null +++ b/behavior_pack/recipes/furnace_log_spruce.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_log_spruce" + }, + + + "tags": ["deprecated"], + "input": "minecraft:log:1", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_mangrove_wood.json b/behavior_pack/recipes/furnace_mangrove_wood.json new file mode 100644 index 0000000..729dc02 --- /dev/null +++ b/behavior_pack/recipes/furnace_mangrove_wood.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_mangrove_wood" + }, + "tags": ["furnace"], + "input": "minecraft:mangrove_wood", + "output": "minecraft:coal:1" + } +} diff --git a/behavior_pack/recipes/furnace_mutton_raw.json b/behavior_pack/recipes/furnace_mutton_raw.json new file mode 100644 index 0000000..ff6cbb6 --- /dev/null +++ b/behavior_pack/recipes/furnace_mutton_raw.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_mutton_raw" + }, + + "unlock": [ + { + "item": "minecraft:muttonRaw" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:muttonRaw", + "output": "minecraft:muttonCooked" + } + +} diff --git a/behavior_pack/recipes/furnace_nether_gold_ore.json b/behavior_pack/recipes/furnace_nether_gold_ore.json new file mode 100644 index 0000000..fff99be --- /dev/null +++ b/behavior_pack/recipes/furnace_nether_gold_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_nether_gold_ore" + }, + + "unlock": [ + { + "item": "minecraft:nether_gold_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:nether_gold_ore", + "output": "minecraft:gold_ingot" + } + +} diff --git a/behavior_pack/recipes/furnace_netherrack.json b/behavior_pack/recipes/furnace_netherrack.json new file mode 100644 index 0000000..f09fb56 --- /dev/null +++ b/behavior_pack/recipes/furnace_netherrack.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_netherrack" + }, + + "unlock": [ + { + "item": "minecraft:netherrack" + } + ], + "tags": ["furnace"], + "input": "minecraft:netherrack", + "output": "minecraft:netherbrick" + } + +} diff --git a/behavior_pack/recipes/furnace_oak_wood.json b/behavior_pack/recipes/furnace_oak_wood.json new file mode 100644 index 0000000..b6e1567 --- /dev/null +++ b/behavior_pack/recipes/furnace_oak_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_oak_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:0", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_porkchop.json b/behavior_pack/recipes/furnace_porkchop.json new file mode 100644 index 0000000..cc19563 --- /dev/null +++ b/behavior_pack/recipes/furnace_porkchop.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_porkchop" + }, + + "unlock": [ + { + "item": "minecraft:porkchop" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:porkchop", + "output": "minecraft:cooked_porkchop" + } + +} diff --git a/behavior_pack/recipes/furnace_potato.json b/behavior_pack/recipes/furnace_potato.json new file mode 100644 index 0000000..b2d4856 --- /dev/null +++ b/behavior_pack/recipes/furnace_potato.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_potato" + }, + + "unlock": [ + { + "item": "minecraft:potato" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:potato", + "output": "minecraft:baked_potato" + } + +} diff --git a/behavior_pack/recipes/furnace_quartz_block.json b/behavior_pack/recipes/furnace_quartz_block.json new file mode 100644 index 0000000..ab21f9c --- /dev/null +++ b/behavior_pack/recipes/furnace_quartz_block.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_quartz_block" + }, + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "tags": ["furnace"], + "input": "minecraft:quartz_block:0", + "output": "minecraft:smooth_quartz" + } +} diff --git a/behavior_pack/recipes/furnace_quartz_ore.json b/behavior_pack/recipes/furnace_quartz_ore.json new file mode 100644 index 0000000..1cf1bd1 --- /dev/null +++ b/behavior_pack/recipes/furnace_quartz_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_quartz_ore" + }, + + "unlock": [ + { + "item": "minecraft:quartz_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:quartz_ore", + "output": "minecraft:quartz" + } + +} diff --git a/behavior_pack/recipes/furnace_rabbit.json b/behavior_pack/recipes/furnace_rabbit.json new file mode 100644 index 0000000..b9d7d9f --- /dev/null +++ b/behavior_pack/recipes/furnace_rabbit.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_rabbit" + }, + + "unlock": [ + { + "item": "minecraft:rabbit" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:rabbit", + "output": "minecraft:cooked_rabbit" + } + +} diff --git a/behavior_pack/recipes/furnace_red_sand.json b/behavior_pack/recipes/furnace_red_sand.json new file mode 100644 index 0000000..357d975 --- /dev/null +++ b/behavior_pack/recipes/furnace_red_sand.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_red_sand" + }, + + "unlock": [ + { + "item": "minecraft:red_sand" + } + ], + "tags": ["furnace"], + "input": "minecraft:red_sand", + "output": "minecraft:glass" + } + +} diff --git a/behavior_pack/recipes/furnace_red_sandstone.json b/behavior_pack/recipes/furnace_red_sandstone.json new file mode 100644 index 0000000..6dc7197 --- /dev/null +++ b/behavior_pack/recipes/furnace_red_sandstone.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_red_sandstone" + }, + "unlock":[ + { + "item" : "minecraft:red_sandstone", + "data" : 0 + } + ], + "tags": [ "furnace" ], + "input": { + "item" : "minecraft:red_sandstone", + "data" : 0 + }, + "output": "minecraft:smooth_red_sandstone" + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/furnace_redstone_ore.json b/behavior_pack/recipes/furnace_redstone_ore.json new file mode 100644 index 0000000..cacf1b9 --- /dev/null +++ b/behavior_pack/recipes/furnace_redstone_ore.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_redstone_ore" + }, + + "unlock": [ + { + "item": "minecraft:redstone_ore" + } + ], + "tags": ["furnace", "blast_furnace"], + "input": "minecraft:redstone_ore", + "output": "minecraft:redstone" + } + +} diff --git a/behavior_pack/recipes/furnace_resin_brick.json b/behavior_pack/recipes/furnace_resin_brick.json new file mode 100644 index 0000000..8de9b74 --- /dev/null +++ b/behavior_pack/recipes/furnace_resin_brick.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_resin_brick" + }, + + "tags": [ "furnace" ], + "input": "minecraft:resin_clump", + "output": "minecraft:resin_brick" + } +} diff --git a/behavior_pack/recipes/furnace_salmon.json b/behavior_pack/recipes/furnace_salmon.json new file mode 100644 index 0000000..5b55e36 --- /dev/null +++ b/behavior_pack/recipes/furnace_salmon.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_salmon" + }, + + "unlock": [ + { + "item": "minecraft:salmon" + } + ], + "tags": ["furnace", "smoker", "campfire", "soul_campfire"], + "input": "minecraft:salmon", + "output": "minecraft:cooked_salmon" + } + +} diff --git a/behavior_pack/recipes/furnace_sand.json b/behavior_pack/recipes/furnace_sand.json new file mode 100644 index 0000000..4383ffd --- /dev/null +++ b/behavior_pack/recipes/furnace_sand.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_sand" + }, + + "unlock": [ + { + "item": "minecraft:sand", + "data": 0 + } + ], + "tags": ["furnace"], + "input": { + "item": "minecraft:sand", + "data": 0 + }, + "output": "minecraft:glass" + } +} diff --git a/behavior_pack/recipes/furnace_sandstone.json b/behavior_pack/recipes/furnace_sandstone.json new file mode 100644 index 0000000..e4bfebb --- /dev/null +++ b/behavior_pack/recipes/furnace_sandstone.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_sandstone" + }, + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "tags": [ "furnace" ], + "input": { + "item": "minecraft:sandstone", + "data": 0 + }, + "output": "minecraft:smooth_sandstone" + } +} diff --git a/behavior_pack/recipes/furnace_sea_pickle.json b/behavior_pack/recipes/furnace_sea_pickle.json new file mode 100644 index 0000000..60969fb --- /dev/null +++ b/behavior_pack/recipes/furnace_sea_pickle.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_sea_pickle" + }, + + "unlock": [ + { + "item": "minecraft:sea_pickle" + } + ], + "tags": ["furnace"], + "input": "minecraft:sea_pickle", + "output": "minecraft:dye:10" + } + +} diff --git a/behavior_pack/recipes/furnace_smooth_basalt.json b/behavior_pack/recipes/furnace_smooth_basalt.json new file mode 100644 index 0000000..76413e2 --- /dev/null +++ b/behavior_pack/recipes/furnace_smooth_basalt.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_smooth_basalt" + }, + "unlock": [ + { + "item": "minecraft:basalt" + } + ], + "tags": ["furnace"], + "input": "minecraft:basalt", + "output": "minecraft:smooth_basalt" + } + + } + \ No newline at end of file diff --git a/behavior_pack/recipes/furnace_sponge.json b/behavior_pack/recipes/furnace_sponge.json new file mode 100644 index 0000000..d01ecc5 --- /dev/null +++ b/behavior_pack/recipes/furnace_sponge.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_sponge" + }, + + "unlock": [ + { + "item": "minecraft:sponge" + } + ], + "tags": ["furnace"], + "input": "minecraft:wet_sponge", + "output": "minecraft:sponge" + } + +} diff --git a/behavior_pack/recipes/furnace_spruce_wood.json b/behavior_pack/recipes/furnace_spruce_wood.json new file mode 100644 index 0000000..65a3e73 --- /dev/null +++ b/behavior_pack/recipes/furnace_spruce_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_spruce_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:1", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay0.json b/behavior_pack/recipes/furnace_stained_hardened_clay0.json new file mode 100644 index 0000000..4f0c9c2 --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay0.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay0" + }, + + "unlock": [ + { + "item": "minecraft:white_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:white_terracotta", + "output": "minecraft:white_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay1.json b/behavior_pack/recipes/furnace_stained_hardened_clay1.json new file mode 100644 index 0000000..5676c99 --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay1.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay1" + }, + + "unlock": [ + { + "item": "minecraft:orange_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:orange_terracotta", + "output": "minecraft:orange_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay10.json b/behavior_pack/recipes/furnace_stained_hardened_clay10.json new file mode 100644 index 0000000..c0b23bf --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay10.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay10" + }, + + "unlock": [ + { + "item": "minecraft:purple_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:purple_terracotta", + "output": "minecraft:purple_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay11.json b/behavior_pack/recipes/furnace_stained_hardened_clay11.json new file mode 100644 index 0000000..05bfd60 --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay11.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay11" + }, + + "unlock": [ + { + "item": "minecraft:blue_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:blue_terracotta", + "output": "minecraft:blue_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay12.json b/behavior_pack/recipes/furnace_stained_hardened_clay12.json new file mode 100644 index 0000000..3cb0d3e --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay12.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay12" + }, + + "unlock": [ + { + "item": "minecraft:brown_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:brown_terracotta", + "output": "minecraft:brown_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay13.json b/behavior_pack/recipes/furnace_stained_hardened_clay13.json new file mode 100644 index 0000000..5502b9b --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay13.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay13" + }, + + "unlock": [ + { + "item": "minecraft:green_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:green_terracotta", + "output": "minecraft:green_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay14.json b/behavior_pack/recipes/furnace_stained_hardened_clay14.json new file mode 100644 index 0000000..6ab7ebb --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay14.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay14" + }, + + "unlock": [ + { + "item": "minecraft:red_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:red_terracotta", + "output": "minecraft:red_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay15.json b/behavior_pack/recipes/furnace_stained_hardened_clay15.json new file mode 100644 index 0000000..f148d4a --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay15.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay15" + }, + + "unlock": [ + { + "item": "minecraft:black_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:black_terracotta", + "output": "minecraft:black_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay2.json b/behavior_pack/recipes/furnace_stained_hardened_clay2.json new file mode 100644 index 0000000..3e3347f --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay2.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay2" + }, + + "unlock": [ + { + "item": "minecraft:magenta_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:magenta_terracotta", + "output": "minecraft:magenta_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay3.json b/behavior_pack/recipes/furnace_stained_hardened_clay3.json new file mode 100644 index 0000000..3be60bd --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay3.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay3" + }, + + "unlock": [ + { + "item": "minecraft:light_blue_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:light_blue_terracotta", + "output": "minecraft:light_blue_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay4.json b/behavior_pack/recipes/furnace_stained_hardened_clay4.json new file mode 100644 index 0000000..26368fc --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay4.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay4" + }, + + "unlock": [ + { + "item": "minecraft:yellow_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:yellow_terracotta", + "output": "minecraft:yellow_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay5.json b/behavior_pack/recipes/furnace_stained_hardened_clay5.json new file mode 100644 index 0000000..41a31bf --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay5.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay5" + }, + + "unlock": [ + { + "item": "minecraft:lime_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:lime_terracotta", + "output": "minecraft:lime_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay6.json b/behavior_pack/recipes/furnace_stained_hardened_clay6.json new file mode 100644 index 0000000..d745a72 --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay6.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay6" + }, + + "unlock": [ + { + "item": "minecraft:pink_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:pink_terracotta", + "output": "minecraft:pink_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay7.json b/behavior_pack/recipes/furnace_stained_hardened_clay7.json new file mode 100644 index 0000000..3307ffc --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay7.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay7" + }, + + "unlock": [ + { + "item": "minecraft:gray_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:gray_terracotta", + "output": "minecraft:gray_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay8.json b/behavior_pack/recipes/furnace_stained_hardened_clay8.json new file mode 100644 index 0000000..ce8aa26 --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay8.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay8" + }, + + "unlock": [ + { + "item": "minecraft:light_gray_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:light_gray_terracotta", + "output": "minecraft:silver_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stained_hardened_clay9.json b/behavior_pack/recipes/furnace_stained_hardened_clay9.json new file mode 100644 index 0000000..8ac3575 --- /dev/null +++ b/behavior_pack/recipes/furnace_stained_hardened_clay9.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stained_hardened_clay9" + }, + + "unlock": [ + { + "item": "minecraft:cyan_terracotta" + } + ], + "tags": ["furnace"], + "input": "minecraft:cyan_terracotta", + "output": "minecraft:cyan_glazed_terracotta" + } + +} diff --git a/behavior_pack/recipes/furnace_stone.json b/behavior_pack/recipes/furnace_stone.json new file mode 100644 index 0000000..1d15d56 --- /dev/null +++ b/behavior_pack/recipes/furnace_stone.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stone" + }, + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "tags": [ "furnace" ], + "input": "minecraft:stone:0", + "output": "minecraft:smooth_stone" + } +} diff --git a/behavior_pack/recipes/furnace_stone_brick.json b/behavior_pack/recipes/furnace_stone_brick.json new file mode 100644 index 0000000..2d1f086 --- /dev/null +++ b/behavior_pack/recipes/furnace_stone_brick.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stone_brick" + }, + "unlock": [ + { + "item": "minecraft:stone_bricks" + } + ], + "tags": ["furnace"], + "input": "minecraft:stone_bricks", + "output": "minecraft:cracked_stone_bricks" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_acacia_log.json b/behavior_pack/recipes/furnace_stripped_acacia_log.json new file mode 100644 index 0000000..193c714 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_acacia_log.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_acacia_log" + }, + + + "tags": ["furnace"], + "input": "minecraft:stripped_acacia_log", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_acacia_wood.json b/behavior_pack/recipes/furnace_stripped_acacia_wood.json new file mode 100644 index 0000000..b994312 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_acacia_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_acacia_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:12", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_birch_log.json b/behavior_pack/recipes/furnace_stripped_birch_log.json new file mode 100644 index 0000000..42ed33c --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_birch_log.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_birch_log" + }, + + + "tags": ["furnace"], + "input": "minecraft:stripped_birch_log", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_birch_wood.json b/behavior_pack/recipes/furnace_stripped_birch_wood.json new file mode 100644 index 0000000..bff95f4 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_birch_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_birch_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:10", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_dark_oak_log.json b/behavior_pack/recipes/furnace_stripped_dark_oak_log.json new file mode 100644 index 0000000..3702cc1 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_dark_oak_log.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_dark_oak_log" + }, + + + "tags": ["furnace"], + "input": "minecraft:stripped_dark_oak_log", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_dark_oak_wood.json b/behavior_pack/recipes/furnace_stripped_dark_oak_wood.json new file mode 100644 index 0000000..8afdb3d --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_dark_oak_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_dark_oak_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:13", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_jungle_log.json b/behavior_pack/recipes/furnace_stripped_jungle_log.json new file mode 100644 index 0000000..0c3ca2a --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_jungle_log.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_jungle_log" + }, + + + "tags": ["furnace"], + "input": "minecraft:stripped_jungle_log", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_jungle_wood.json b/behavior_pack/recipes/furnace_stripped_jungle_wood.json new file mode 100644 index 0000000..26ef2e5 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_jungle_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_jungle_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:11", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_mangrove_log.json b/behavior_pack/recipes/furnace_stripped_mangrove_log.json new file mode 100644 index 0000000..fc0291b --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_mangrove_log.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_mangrove_log" + }, + "tags": ["furnace"], + "input": "minecraft:stripped_mangrove_log", + "output": "minecraft:coal:1" + } +} diff --git a/behavior_pack/recipes/furnace_stripped_mangrove_wood.json b/behavior_pack/recipes/furnace_stripped_mangrove_wood.json new file mode 100644 index 0000000..697b66e --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_mangrove_wood.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_mangrove_wood" + }, + "tags": ["furnace"], + "input": "minecraft:stripped_mangrove_wood", + "output": "minecraft:coal:1" + } +} diff --git a/behavior_pack/recipes/furnace_stripped_oak_log.json b/behavior_pack/recipes/furnace_stripped_oak_log.json new file mode 100644 index 0000000..5e86839 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_oak_log.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_oak_log" + }, + + + "tags": ["furnace"], + "input": "minecraft:stripped_oak_log", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_oak_wood.json b/behavior_pack/recipes/furnace_stripped_oak_wood.json new file mode 100644 index 0000000..1245109 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_oak_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_oak_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:8", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_spruce_log.json b/behavior_pack/recipes/furnace_stripped_spruce_log.json new file mode 100644 index 0000000..e354901 --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_spruce_log.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.12", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_spruce_log" + }, + + + "tags": ["furnace"], + "input": "minecraft:stripped_spruce_log", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/furnace_stripped_spruce_wood.json b/behavior_pack/recipes/furnace_stripped_spruce_wood.json new file mode 100644 index 0000000..887e76a --- /dev/null +++ b/behavior_pack/recipes/furnace_stripped_spruce_wood.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_furnace": { + "description": { + "identifier": "minecraft:furnace_stripped_spruce_wood" + }, + + + "tags": ["deprecated"], + "input": "minecraft:wood:9", + "output": "minecraft:coal:1" + } + +} diff --git a/behavior_pack/recipes/glass_bottle.json b/behavior_pack/recipes/glass_bottle.json new file mode 100644 index 0000000..19b6556 --- /dev/null +++ b/behavior_pack/recipes/glass_bottle.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:glass_bottle" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + " # " + ], + "key": { + "#": { + "item": "minecraft:glass" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:glass_bottle", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/glass_pane.json b/behavior_pack/recipes/glass_pane.json new file mode 100644 index 0000000..c00972f --- /dev/null +++ b/behavior_pack/recipes/glass_pane.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:glass_pane" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/glow_item_frame.json b/behavior_pack/recipes/glow_item_frame.json new file mode 100644 index 0000000..ae2d806 --- /dev/null +++ b/behavior_pack/recipes/glow_item_frame.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:glow_frame" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:frame" + }, + { + "item": "minecraft:glow_ink_sac" + } + ], + "unlock": [ + { + "item": "minecraft:frame" + }, + { + "item": "minecraft:glow_ink_sac" + } + ], + "result": { + "item": "minecraft:glow_frame" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/glowstone.json b/behavior_pack/recipes/glowstone.json new file mode 100644 index 0000000..369f9e4 --- /dev/null +++ b/behavior_pack/recipes/glowstone.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:glowstone" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:glowstone_dust" + } + }, + "unlock": [ + { + "item": "minecraft:glowstone_dust" + } + ], + "result": { + "item": "minecraft:glowstone" + } + } +} diff --git a/behavior_pack/recipes/gold_block.json b/behavior_pack/recipes/gold_block.json new file mode 100644 index 0000000..787da58 --- /dev/null +++ b/behavior_pack/recipes/gold_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gold_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:gold_block" + } + } +} diff --git a/behavior_pack/recipes/gold_ingot_from_block.json b/behavior_pack/recipes/gold_ingot_from_block.json new file mode 100644 index 0000000..afc7bdf --- /dev/null +++ b/behavior_pack/recipes/gold_ingot_from_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gold_ingot_from_block" + }, + + + "tags": [ "crafting_table" ], + "group": "gold_ingot", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:gold_block" + } + }, + "unlock": [ + { + "item": "minecraft:gold_block" + } + ], + "result": { + "item": "minecraft:gold_ingot", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/gold_ingot_from_nuggets.json b/behavior_pack/recipes/gold_ingot_from_nuggets.json new file mode 100644 index 0000000..393c793 --- /dev/null +++ b/behavior_pack/recipes/gold_ingot_from_nuggets.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gold_ingot_from_nuggets" + }, + + + "tags": [ "crafting_table" ], + "group": "gold_ingot", + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:gold_nugget" + } + }, + "unlock": [ + { + "item": "minecraft:gold_nugget" + } + ], + "result": { + "item": "minecraft:gold_ingot" + } + } +} diff --git a/behavior_pack/recipes/gold_nugget.json b/behavior_pack/recipes/gold_nugget.json new file mode 100644 index 0000000..ce8be11 --- /dev/null +++ b/behavior_pack/recipes/gold_nugget.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gold_nugget" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:gold_nugget", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/golden_apple.json b/behavior_pack/recipes/golden_apple.json new file mode 100644 index 0000000..3c1e847 --- /dev/null +++ b/behavior_pack/recipes/golden_apple.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_apple" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:gold_ingot" + }, + "X": { + "item": "minecraft:apple" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_apple", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/golden_axe.json b/behavior_pack/recipes/golden_axe.json new file mode 100644 index 0000000..ea40da7 --- /dev/null +++ b/behavior_pack/recipes/golden_axe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_axe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_axe" + } + } +} diff --git a/behavior_pack/recipes/golden_boots.json b/behavior_pack/recipes/golden_boots.json new file mode 100644 index 0000000..4ea50cd --- /dev/null +++ b/behavior_pack/recipes/golden_boots.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_boots" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_boots" + } + } +} diff --git a/behavior_pack/recipes/golden_carrot.json b/behavior_pack/recipes/golden_carrot.json new file mode 100644 index 0000000..42560f5 --- /dev/null +++ b/behavior_pack/recipes/golden_carrot.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_carrot" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:gold_nugget" + }, + "X": { + "item": "minecraft:carrot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_nugget" + } + ], + "result": { + "item": "minecraft:golden_carrot" + } + } +} diff --git a/behavior_pack/recipes/golden_chestplate.json b/behavior_pack/recipes/golden_chestplate.json new file mode 100644 index 0000000..272fd92 --- /dev/null +++ b/behavior_pack/recipes/golden_chestplate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_chestplate" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "XXX", + "XXX" + ], + "key": { + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_chestplate" + } + } +} diff --git a/behavior_pack/recipes/golden_helmet.json b/behavior_pack/recipes/golden_helmet.json new file mode 100644 index 0000000..0e2dfe1 --- /dev/null +++ b/behavior_pack/recipes/golden_helmet.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_helmet" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X" + ], + "key": { + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_helmet" + } + } +} diff --git a/behavior_pack/recipes/golden_hoe.json b/behavior_pack/recipes/golden_hoe.json new file mode 100644 index 0000000..1adfdd3 --- /dev/null +++ b/behavior_pack/recipes/golden_hoe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_hoe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + " #", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_hoe" + } + } +} diff --git a/behavior_pack/recipes/golden_leggings.json b/behavior_pack/recipes/golden_leggings.json new file mode 100644 index 0000000..1bc7a96 --- /dev/null +++ b/behavior_pack/recipes/golden_leggings.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_leggings" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_leggings" + } + } +} diff --git a/behavior_pack/recipes/golden_pickaxe.json b/behavior_pack/recipes/golden_pickaxe.json new file mode 100644 index 0000000..a6ffa77 --- /dev/null +++ b/behavior_pack/recipes/golden_pickaxe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_pickaxe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_pickaxe" + } + } +} diff --git a/behavior_pack/recipes/golden_rail.json b/behavior_pack/recipes/golden_rail.json new file mode 100644 index 0000000..60ac9dc --- /dev/null +++ b/behavior_pack/recipes/golden_rail.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_rail" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "X#X", + "XRX" + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:rail" + } + ], + "result": { + "item": "minecraft:golden_rail", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/golden_shovel.json b/behavior_pack/recipes/golden_shovel.json new file mode 100644 index 0000000..fc44873 --- /dev/null +++ b/behavior_pack/recipes/golden_shovel.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_shovel" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_shovel" + } + } +} diff --git a/behavior_pack/recipes/golden_sword.json b/behavior_pack/recipes/golden_sword.json new file mode 100644 index 0000000..4a55c2f --- /dev/null +++ b/behavior_pack/recipes/golden_sword.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:golden_sword" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:golden_sword" + } + } +} diff --git a/behavior_pack/recipes/granite.json b/behavior_pack/recipes/granite.json new file mode 100644 index 0000000..d8f9b69 --- /dev/null +++ b/behavior_pack/recipes/granite.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:granite" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:diorite" + }, + { + "item": "minecraft:quartz" + } + ], + "unlock": [ + { + "item": "minecraft:quartz" + } + ], + "result": { + "item": "minecraft:granite" + } + } +} diff --git a/behavior_pack/recipes/granite_stairs.json b/behavior_pack/recipes/granite_stairs.json new file mode 100644 index 0000000..2c79cb7 --- /dev/null +++ b/behavior_pack/recipes/granite_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:granite_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:granite" + } + }, + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:granite_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/granite_wall.json b/behavior_pack/recipes/granite_wall.json new file mode 100644 index 0000000..bef7ebe --- /dev/null +++ b/behavior_pack/recipes/granite_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:granite_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:granite" + } + }, + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:granite_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/gray_banner.json b/behavior_pack/recipes/gray_banner.json new file mode 100644 index 0000000..cbced3c --- /dev/null +++ b/behavior_pack/recipes/gray_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gray_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:gray_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:gray_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 8 + } + } +} diff --git a/behavior_pack/recipes/gray_candle.json b/behavior_pack/recipes/gray_candle.json new file mode 100644 index 0000000..fc81817 --- /dev/null +++ b/behavior_pack/recipes/gray_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:gray_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 8 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 8 + } + ], + "result": { + "item": "minecraft:gray_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/gray_carpet.json b/behavior_pack/recipes/gray_carpet.json new file mode 100644 index 0000000..1fe7420 --- /dev/null +++ b/behavior_pack/recipes/gray_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gray_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:gray_wool" + } + }, + "unlock": [ + { + "item": "minecraft:gray_wool" + } + ], + "result": { + "item": "minecraft:gray_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/gray_carpet_from_white.json b/behavior_pack/recipes/gray_carpet_from_white.json new file mode 100644 index 0000000..fc7efd7 --- /dev/null +++ b/behavior_pack/recipes/gray_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gray_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:gray_dye" + } + ], + "result": { + "item": "minecraft:gray_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/gray_concrete_powder.json b/behavior_pack/recipes/gray_concrete_powder.json new file mode 100644 index 0000000..12c2c21 --- /dev/null +++ b/behavior_pack/recipes/gray_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:gray_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:gray_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:gray_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/gray_dye.json b/behavior_pack/recipes/gray_dye.json new file mode 100644 index 0000000..9d39b80 --- /dev/null +++ b/behavior_pack/recipes/gray_dye.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:gray_dye" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 8, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/gray_dye_from_black_bonemeal.json b/behavior_pack/recipes/gray_dye_from_black_bonemeal.json new file mode 100644 index 0000000..b775188 --- /dev/null +++ b/behavior_pack/recipes/gray_dye_from_black_bonemeal.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:gray_dye_from_black_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 8, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/gray_dye_from_closed_eyeblossom.json b/behavior_pack/recipes/gray_dye_from_closed_eyeblossom.json new file mode 100644 index 0000000..6e1f8a0 --- /dev/null +++ b/behavior_pack/recipes/gray_dye_from_closed_eyeblossom.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.21.40", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:gray_dye_from_closed_eyeblossom" + }, + "tags": [ + "crafting_table" + ], + "group": "gray_dye", + "ingredients": [ + { + "item": "minecraft:closed_eyeblossom" + } + ], + "unlock": [ + { + "item": "minecraft:closed_eyeblossom" + } + ], + "result": { + "item": "minecraft:gray_dye" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/gray_dye_from_ink_bonemeal.json b/behavior_pack/recipes/gray_dye_from_ink_bonemeal.json new file mode 100644 index 0000000..9da5c66 --- /dev/null +++ b/behavior_pack/recipes/gray_dye_from_ink_bonemeal.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:gray_dye_from_ink_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 8, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/gray_dye_from_ink_white.json b/behavior_pack/recipes/gray_dye_from_ink_white.json new file mode 100644 index 0000000..4af8156 --- /dev/null +++ b/behavior_pack/recipes/gray_dye_from_ink_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:gray_dye_from_ink_white" + }, + + + "tags": [ "crafting_table" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 8, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/gray_stained_glass.json b/behavior_pack/recipes/gray_stained_glass.json new file mode 100644 index 0000000..8f02aed --- /dev/null +++ b/behavior_pack/recipes/gray_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gray_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:gray_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/gray_stained_glass_pane.json b/behavior_pack/recipes/gray_stained_glass_pane.json new file mode 100644 index 0000000..de3409e --- /dev/null +++ b/behavior_pack/recipes/gray_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gray_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:gray_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:gray_stained_glass" + } + ], + "result": { + "item": "minecraft:gray_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/gray_stained_glass_pane_from_pane.json b/behavior_pack/recipes/gray_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..c1ae883 --- /dev/null +++ b/behavior_pack/recipes/gray_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gray_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:gray_dye" + } + ], + "result": { + "item": "minecraft:gray_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/gray_stained_hardened_clay.json b/behavior_pack/recipes/gray_stained_hardened_clay.json new file mode 100644 index 0000000..87231eb --- /dev/null +++ b/behavior_pack/recipes/gray_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:gray_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:gray_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/green_banner.json b/behavior_pack/recipes/green_banner.json new file mode 100644 index 0000000..f1e6ff3 --- /dev/null +++ b/behavior_pack/recipes/green_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:green_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:green_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:green_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/green_candle.json b/behavior_pack/recipes/green_candle.json new file mode 100644 index 0000000..b0da869 --- /dev/null +++ b/behavior_pack/recipes/green_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:green_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 2 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 2 + } + ], + "result": { + "item": "minecraft:green_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/green_carpet.json b/behavior_pack/recipes/green_carpet.json new file mode 100644 index 0000000..2479994 --- /dev/null +++ b/behavior_pack/recipes/green_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:green_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:green_wool" + } + }, + "unlock": [ + { + "item": "minecraft:green_wool" + } + ], + "result": { + "item": "minecraft:green_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/green_carpet_from_white.json b/behavior_pack/recipes/green_carpet_from_white.json new file mode 100644 index 0000000..4e70ccd --- /dev/null +++ b/behavior_pack/recipes/green_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:green_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:green_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:green_dye" + } + ], + "result": { + "item": "minecraft:green_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/green_concrete_powder.json b/behavior_pack/recipes/green_concrete_powder.json new file mode 100644 index 0000000..6ef1103 --- /dev/null +++ b/behavior_pack/recipes/green_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:green_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:green_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:green_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/green_stained_glass.json b/behavior_pack/recipes/green_stained_glass.json new file mode 100644 index 0000000..4e60ce5 --- /dev/null +++ b/behavior_pack/recipes/green_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:green_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:green_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:green_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/green_stained_glass_pane.json b/behavior_pack/recipes/green_stained_glass_pane.json new file mode 100644 index 0000000..d191ce9 --- /dev/null +++ b/behavior_pack/recipes/green_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:green_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:green_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:green_stained_glass" + } + ], + "result": { + "item": "minecraft:green_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/green_stained_glass_pane_from_pane.json b/behavior_pack/recipes/green_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..0466079 --- /dev/null +++ b/behavior_pack/recipes/green_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:green_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:green_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:green_dye" + } + ], + "result": { + "item": "minecraft:green_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/green_stained_hardened_clay.json b/behavior_pack/recipes/green_stained_hardened_clay.json new file mode 100644 index 0000000..f2865ba --- /dev/null +++ b/behavior_pack/recipes/green_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:green_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:green_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:green_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/grindstone.json b/behavior_pack/recipes/grindstone.json new file mode 100644 index 0000000..27f79f8 --- /dev/null +++ b/behavior_pack/recipes/grindstone.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "|_|", + "# #" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "tag": "minecraft:planks" + }, + "_": { + "item": "minecraft:normal_stone_slab" + } + }, + "unlock": [ + { + "item": "minecraft:normal_stone_slab" + } + ], + "result": { + "item": "minecraft:grindstone" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/grindstone_from_crimson_planks.json b/behavior_pack/recipes/grindstone_from_crimson_planks.json new file mode 100644 index 0000000..a2f0b3d --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_crimson_planks.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_crimson_planks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "|_|", + "# #" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:crimson_planks" + }, + "_": { + "item": "minecraft:normal_stone_slab" + } + }, + "result": { + "item": "minecraft:grindstone" + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_crimson_planks2.json b/behavior_pack/recipes/grindstone_from_crimson_planks2.json new file mode 100644 index 0000000..b3ee2e4 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_crimson_planks2.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_crimson_planks2" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_crimson_planks3.json b/behavior_pack/recipes/grindstone_from_crimson_planks3.json new file mode 100644 index 0000000..0e83e09 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_crimson_planks3.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_crimson_planks3" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_crimson_planks4.json b/behavior_pack/recipes/grindstone_from_crimson_planks4.json new file mode 100644 index 0000000..64d11de --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_crimson_planks4.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_crimson_planks4" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_mangrove_planks.json b/behavior_pack/recipes/grindstone_from_mangrove_planks.json new file mode 100644 index 0000000..a5d44c8 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_mangrove_planks.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_mangrove_planks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "|_|", + "# #" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:mangrove_planks" + }, + "_": { + "item": "minecraft:normal_stone_slab" + } + }, + "result": { + "item": "minecraft:grindstone" + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_mangrove_planks2.json b/behavior_pack/recipes/grindstone_from_mangrove_planks2.json new file mode 100644 index 0000000..20db604 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_mangrove_planks2.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_mangrove_planks2" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_mangrove_planks3.json b/behavior_pack/recipes/grindstone_from_mangrove_planks3.json new file mode 100644 index 0000000..c8fe42f --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_mangrove_planks3.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_mangrove_planks3" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_mangrove_planks4.json b/behavior_pack/recipes/grindstone_from_mangrove_planks4.json new file mode 100644 index 0000000..ab0ef95 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_mangrove_planks4.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_mangrove_planks4" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_warped_planks.json b/behavior_pack/recipes/grindstone_from_warped_planks.json new file mode 100644 index 0000000..441a0dc --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_warped_planks.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_warped_planks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "|_|", + "# #" + ], + "key": { + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:warped_planks" + }, + "_": { + "item": "minecraft:normal_stone_slab" + } + }, + "result": { + "item": "minecraft:grindstone" + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_warped_planks2.json b/behavior_pack/recipes/grindstone_from_warped_planks2.json new file mode 100644 index 0000000..95d7653 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_warped_planks2.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_warped_planks2" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_warped_planks3.json b/behavior_pack/recipes/grindstone_from_warped_planks3.json new file mode 100644 index 0000000..2429506 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_warped_planks3.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_warped_planks3" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/grindstone_from_warped_planks4.json b/behavior_pack/recipes/grindstone_from_warped_planks4.json new file mode 100644 index 0000000..5275f89 --- /dev/null +++ b/behavior_pack/recipes/grindstone_from_warped_planks4.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:grindstone_from_warped_planks4" + }, + "tags": [ + "deprecated" + ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "grindstone" + } + }, + "result": { + "item": "grindstone" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/hay_block.json b/behavior_pack/recipes/hay_block.json new file mode 100644 index 0000000..fa78e6f --- /dev/null +++ b/behavior_pack/recipes/hay_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:hay_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:wheat" + } + }, + "unlock": [ + { + "item": "minecraft:wheat" + } + ], + "result": { + "item": "minecraft:hay_block" + } + } +} diff --git a/behavior_pack/recipes/heavy_weighted_pressure_plate.json b/behavior_pack/recipes/heavy_weighted_pressure_plate.json new file mode 100644 index 0000000..b9e7487 --- /dev/null +++ b/behavior_pack/recipes/heavy_weighted_pressure_plate.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:heavy_weighted_pressure_plate" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:heavy_weighted_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/honey_block.json b/behavior_pack/recipes/honey_block.json new file mode 100644 index 0000000..60a1be4 --- /dev/null +++ b/behavior_pack/recipes/honey_block.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:honey_block" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "XX" + ], + "key": { + "X": { + "item": "minecraft:honey_bottle" + } + }, + "unlock": [ + { + "item": "minecraft:honey_bottle" + } + ], + "result": [ + { "item": "minecraft:honey_block" }, + { "item": "minecraft:glass_bottle", "count": 4, "data": 0 } + ] + } +} diff --git a/behavior_pack/recipes/honey_bottle.json b/behavior_pack/recipes/honey_bottle.json new file mode 100644 index 0000000..7630e91 --- /dev/null +++ b/behavior_pack/recipes/honey_bottle.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:honey_bottle" + }, + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:honey_block" + }, + { + "item": "minecraft:glass_bottle" + }, + { + "item": "minecraft:glass_bottle" + }, + { + "item": "minecraft:glass_bottle" + }, + { + "item": "minecraft:glass_bottle" + } + ], + "unlock": [ + { + "item": "minecraft:honey_block" + } + ], + "result": { + "item": "minecraft:honey_bottle", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/honey_bottle_to_sugar.json b/behavior_pack/recipes/honey_bottle_to_sugar.json new file mode 100644 index 0000000..d4ff726 --- /dev/null +++ b/behavior_pack/recipes/honey_bottle_to_sugar.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:honey_bottle_to_sugar" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:honey_bottle" + } + }, + "unlock": [ + { + "item": "minecraft:honey_bottle" + } + ], + "result": [ + { "item": "minecraft:sugar", "count": 3 }, + { "item": "minecraft:glass_bottle", "count": 1 } + ] + } +} diff --git a/behavior_pack/recipes/honeycomb_block.json b/behavior_pack/recipes/honeycomb_block.json new file mode 100644 index 0000000..3de38be --- /dev/null +++ b/behavior_pack/recipes/honeycomb_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:honeycomb_block" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "XX" + ], + "key": { + "X": { + "item": "minecraft:honeycomb" + } + }, + "unlock": [ + { + "item": "minecraft:honeycomb" + } + ], + "result": [ + { "item": "minecraft:honeycomb_block" } + ] + } +} diff --git a/behavior_pack/recipes/hopper.json b/behavior_pack/recipes/hopper.json new file mode 100644 index 0000000..942e9de --- /dev/null +++ b/behavior_pack/recipes/hopper.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:hopper" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "I I", + "ICI", + " I " + ], + "key": { + "C": { + "item": "minecraft:chest" + }, + "I": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:hopper" + } + } +} diff --git a/behavior_pack/recipes/hopper_minecart.json b/behavior_pack/recipes/hopper_minecart.json new file mode 100644 index 0000000..9763380 --- /dev/null +++ b/behavior_pack/recipes/hopper_minecart.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:hopper_minecart" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:hopper" + }, + { + "item": "minecraft:minecart" + } + ], + "unlock": [ + { + "item": "minecraft:minecart" + } + ], + "result": { + "item": "minecraft:hopper_minecart" + } + } +} diff --git a/behavior_pack/recipes/host_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/host_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..fc46186 --- /dev/null +++ b/behavior_pack/recipes/host_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:host_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:host_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:hardened_clay" + } + }, + "unlock": [ + { + "item": "minecraft:host_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:host_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/ingots_from_copper.json b/behavior_pack/recipes/ingots_from_copper.json new file mode 100644 index 0000000..9d14f31 --- /dev/null +++ b/behavior_pack/recipes/ingots_from_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:ingots_from_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A" + ], + "key": { + "A": { + "item": "minecraft:copper_block" + } + }, + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:copper_ingot", + "count": 9 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/ingots_from_waxed_copper.json b/behavior_pack/recipes/ingots_from_waxed_copper.json new file mode 100644 index 0000000..a856873 --- /dev/null +++ b/behavior_pack/recipes/ingots_from_waxed_copper.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:ingots_from_waxed_copper" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A" + ], + "key": { + "A": { + "item": "minecraft:waxed_copper" + } + }, + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:copper_ingot", + "count": 9 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/iron_axe.json b/behavior_pack/recipes/iron_axe.json new file mode 100644 index 0000000..e624741 --- /dev/null +++ b/behavior_pack/recipes/iron_axe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_axe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_axe" + } + } +} diff --git a/behavior_pack/recipes/iron_bars.json b/behavior_pack/recipes/iron_bars.json new file mode 100644 index 0000000..c94a05d --- /dev/null +++ b/behavior_pack/recipes/iron_bars.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_bars" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_bars", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/iron_block.json b/behavior_pack/recipes/iron_block.json new file mode 100644 index 0000000..425c54c --- /dev/null +++ b/behavior_pack/recipes/iron_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_block" + } + } +} diff --git a/behavior_pack/recipes/iron_boots.json b/behavior_pack/recipes/iron_boots.json new file mode 100644 index 0000000..923a71c --- /dev/null +++ b/behavior_pack/recipes/iron_boots.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_boots" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_boots" + } + } +} diff --git a/behavior_pack/recipes/iron_chestplate.json b/behavior_pack/recipes/iron_chestplate.json new file mode 100644 index 0000000..99311d0 --- /dev/null +++ b/behavior_pack/recipes/iron_chestplate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_chestplate" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "XXX", + "XXX" + ], + "key": { + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_chestplate" + } + } +} diff --git a/behavior_pack/recipes/iron_door.json b/behavior_pack/recipes/iron_door.json new file mode 100644 index 0000000..cf343fc --- /dev/null +++ b/behavior_pack/recipes/iron_door.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_door" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/iron_helmet.json b/behavior_pack/recipes/iron_helmet.json new file mode 100644 index 0000000..04fd9cc --- /dev/null +++ b/behavior_pack/recipes/iron_helmet.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_helmet" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X" + ], + "key": { + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_helmet" + } + } +} diff --git a/behavior_pack/recipes/iron_hoe.json b/behavior_pack/recipes/iron_hoe.json new file mode 100644 index 0000000..2402cbd --- /dev/null +++ b/behavior_pack/recipes/iron_hoe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_hoe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + " #", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_hoe" + } + } +} diff --git a/behavior_pack/recipes/iron_ingot_from_block.json b/behavior_pack/recipes/iron_ingot_from_block.json new file mode 100644 index 0000000..884f3e7 --- /dev/null +++ b/behavior_pack/recipes/iron_ingot_from_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_ingot_from_block" + }, + + + "tags": [ "crafting_table" ], + "group": "iron_ingot", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:iron_block" + } + }, + "unlock": [ + { + "item": "minecraft:iron_block" + } + ], + "result": { + "item": "minecraft:iron_ingot", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/iron_ingot_from_nuggets.json b/behavior_pack/recipes/iron_ingot_from_nuggets.json new file mode 100644 index 0000000..3a3c7be --- /dev/null +++ b/behavior_pack/recipes/iron_ingot_from_nuggets.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_ingot_from_nuggets" + }, + + + "tags": [ "crafting_table" ], + "group": "iron_ingot", + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:iron_nugget" + } + }, + "unlock": [ + { + "item": "minecraft:iron_nugget" + } + ], + "result": { + "item": "minecraft:iron_ingot" + } + } +} diff --git a/behavior_pack/recipes/iron_leggings.json b/behavior_pack/recipes/iron_leggings.json new file mode 100644 index 0000000..8ce639e --- /dev/null +++ b/behavior_pack/recipes/iron_leggings.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_leggings" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_leggings" + } + } +} diff --git a/behavior_pack/recipes/iron_nugget.json b/behavior_pack/recipes/iron_nugget.json new file mode 100644 index 0000000..2fe05fd --- /dev/null +++ b/behavior_pack/recipes/iron_nugget.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_nugget" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_nugget", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/iron_pickaxe.json b/behavior_pack/recipes/iron_pickaxe.json new file mode 100644 index 0000000..73a5648 --- /dev/null +++ b/behavior_pack/recipes/iron_pickaxe.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_pickaxe" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_pickaxe" + } + } +} diff --git a/behavior_pack/recipes/iron_shovel.json b/behavior_pack/recipes/iron_shovel.json new file mode 100644 index 0000000..5996437 --- /dev/null +++ b/behavior_pack/recipes/iron_shovel.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_shovel" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_shovel" + } + } +} diff --git a/behavior_pack/recipes/iron_sword.json b/behavior_pack/recipes/iron_sword.json new file mode 100644 index 0000000..30aa63c --- /dev/null +++ b/behavior_pack/recipes/iron_sword.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_sword" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_sword" + } + } +} diff --git a/behavior_pack/recipes/iron_trapdoor.json b/behavior_pack/recipes/iron_trapdoor.json new file mode 100644 index 0000000..6c2f7ae --- /dev/null +++ b/behavior_pack/recipes/iron_trapdoor.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:iron_trapdoor" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:iron_trapdoor" + } + } +} diff --git a/behavior_pack/recipes/item_frame.json b/behavior_pack/recipes/item_frame.json new file mode 100644 index 0000000..af3949e --- /dev/null +++ b/behavior_pack/recipes/item_frame.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:item_frame" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:leather" + } + }, + "unlock": [ + { + "item": "minecraft:leather" + } + ], + "result": { + "item": "minecraft:frame" + } + } +} diff --git a/behavior_pack/recipes/jukebox.json b/behavior_pack/recipes/jukebox.json new file mode 100644 index 0000000..344b287 --- /dev/null +++ b/behavior_pack/recipes/jukebox.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:Jukebox_recipeId" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "tag": "minecraft:planks" + }, + "B": { + "item": "diamond" + } + }, + "unlock": [ + { + "item": "minecraft:diamond" + } + ], + "result": { + "item": "jukebox", + "count": 1 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/jukebox_from_crimson_planks.json b/behavior_pack/recipes/jukebox_from_crimson_planks.json new file mode 100644 index 0000000..09f208b --- /dev/null +++ b/behavior_pack/recipes/jukebox_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jukebox_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "diamond" + } + }, + "result": { + "item": "jukebox", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/jukebox_from_mangrove_planks.json b/behavior_pack/recipes/jukebox_from_mangrove_planks.json new file mode 100644 index 0000000..9112ab0 --- /dev/null +++ b/behavior_pack/recipes/jukebox_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jukebox_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "diamond" + } + }, + "result": { + "item": "jukebox", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/jukebox_from_warped_planks.json b/behavior_pack/recipes/jukebox_from_warped_planks.json new file mode 100644 index 0000000..58e3955 --- /dev/null +++ b/behavior_pack/recipes/jukebox_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jukebox_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "diamond" + } + }, + "result": { + "item": "jukebox", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/jungle_boat.json b/behavior_pack/recipes/jungle_boat.json new file mode 100644 index 0000000..63e90df --- /dev/null +++ b/behavior_pack/recipes/jungle_boat.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_boat" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:jungle_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:jungle_boat" + } + } +} diff --git a/behavior_pack/recipes/jungle_chest_boat.json b/behavior_pack/recipes/jungle_chest_boat.json new file mode 100644 index 0000000..53e79e7 --- /dev/null +++ b/behavior_pack/recipes/jungle_chest_boat.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:jungle_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 3 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 3 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 3 + } + } +} diff --git a/behavior_pack/recipes/jungle_door.json b/behavior_pack/recipes/jungle_door.json new file mode 100644 index 0000000..c9dbe47 --- /dev/null +++ b/behavior_pack/recipes/jungle_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_door" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:jungle_planks" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_planks" + } + ], + "result": { + "item": "minecraft:jungle_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/jungle_fence.json b/behavior_pack/recipes/jungle_fence.json new file mode 100644 index 0000000..e2325a2 --- /dev/null +++ b/behavior_pack/recipes/jungle_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:jungle_planks" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_planks" + } + ], + "result": { + "item": "minecraft:jungle_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/jungle_fence_gate.json b/behavior_pack/recipes/jungle_fence_gate.json new file mode 100644 index 0000000..0f8ea11 --- /dev/null +++ b/behavior_pack/recipes/jungle_fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_fence_gate" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:jungle_planks" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_planks" + } + ], + "result": { + "item": "minecraft:jungle_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/jungle_hanging_sign.json b/behavior_pack/recipes/jungle_hanging_sign.json new file mode 100644 index 0000000..a38eb1f --- /dev/null +++ b/behavior_pack/recipes/jungle_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_jungle_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_jungle_log" + } + ], + "result": { + "item": "minecraft:jungle_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/jungle_planks.json b/behavior_pack/recipes/jungle_planks.json new file mode 100644 index 0000000..83bb66a --- /dev/null +++ b/behavior_pack/recipes/jungle_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_planks" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:jungle_log" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_log" + } + ], + "result": { + "item": "minecraft:jungle_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/jungle_planks_from_stripped.json b/behavior_pack/recipes/jungle_planks_from_stripped.json new file mode 100644 index 0000000..5687418 --- /dev/null +++ b/behavior_pack/recipes/jungle_planks_from_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_planks_from_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_jungle_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_jungle_log" + } + ], + "result": { + "item": "minecraft:jungle_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/jungle_planks_from_stripped_wood.json b/behavior_pack/recipes/jungle_planks_from_stripped_wood.json new file mode 100644 index 0000000..577f0ce --- /dev/null +++ b/behavior_pack/recipes/jungle_planks_from_stripped_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_planks_from_stripped_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_jungle_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_jungle_wood" + } + ], + "result": { + "item": "minecraft:jungle_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/jungle_planks_from_wood.json b/behavior_pack/recipes/jungle_planks_from_wood.json new file mode 100644 index 0000000..6f8a5d5 --- /dev/null +++ b/behavior_pack/recipes/jungle_planks_from_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_planks_from_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:jungle_wood" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_wood" + } + ], + "result": { + "item": "minecraft:jungle_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/jungle_stairs.json b/behavior_pack/recipes/jungle_stairs.json new file mode 100644 index 0000000..7170acb --- /dev/null +++ b/behavior_pack/recipes/jungle_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_stairs" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:jungle_planks" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_planks" + } + ], + "result": { + "item": "minecraft:jungle_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/jungle_wood.json b/behavior_pack/recipes/jungle_wood.json new file mode 100644 index 0000000..581627b --- /dev/null +++ b/behavior_pack/recipes/jungle_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:jungle_log" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_log" + } + ], + "result": { + "item": "minecraft:jungle_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/jungle_wood_stripped.json b/behavior_pack/recipes/jungle_wood_stripped.json new file mode 100644 index 0000000..7290a4b --- /dev/null +++ b/behavior_pack/recipes/jungle_wood_stripped.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_wood_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_jungle_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_jungle_log" + } + ], + "result": { + "item": "minecraft:stripped_jungle_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/jungle_wooden_slab.json b/behavior_pack/recipes/jungle_wooden_slab.json new file mode 100644 index 0000000..021bbc7 --- /dev/null +++ b/behavior_pack/recipes/jungle_wooden_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:jungle_wooden_slab" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:jungle_planks" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_planks" + } + ], + "result": { + "item": "minecraft:jungle_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/ladder.json b/behavior_pack/recipes/ladder.json new file mode 100644 index 0000000..5f768f3 --- /dev/null +++ b/behavior_pack/recipes/ladder.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:ladder" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###", + "# #" + ], + "key": { + "#": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:stick" + } + ], + "result": { + "item": "minecraft:ladder", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/lantern.json b/behavior_pack/recipes/lantern.json new file mode 100644 index 0000000..76a22af --- /dev/null +++ b/behavior_pack/recipes/lantern.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lantern" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#x#", + "###" + ], + "key": { + "#": { + "item": "minecraft:iron_nugget" + }, + "x": { + "item": "minecraft:torch" + } + }, + "unlock": [ + { + "item": "minecraft:iron_nugget" + }, + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:lantern", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/lapis_block.json b/behavior_pack/recipes/lapis_block.json new file mode 100644 index 0000000..ce03757 --- /dev/null +++ b/behavior_pack/recipes/lapis_block.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lapis_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:dye", + "data": 4 + } + }, + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + } + ], + "result": { + "item": "minecraft:lapis_block" + } + } +} diff --git a/behavior_pack/recipes/lapis_lazuli.json b/behavior_pack/recipes/lapis_lazuli.json new file mode 100644 index 0000000..caeaa68 --- /dev/null +++ b/behavior_pack/recipes/lapis_lazuli.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lapis_lazuli" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:lapis_block" + } + }, + "unlock": [ + { + "item": "minecraft:lapis_block" + } + ], + "result": { + "item": "minecraft:dye", + "data": 4, + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/lead.json b/behavior_pack/recipes/lead.json new file mode 100644 index 0000000..d7f0cbd --- /dev/null +++ b/behavior_pack/recipes/lead.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lead" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "~~ ", + "~O ", + " ~" + ], + "key": { + "~": { + "item": "minecraft:string" + }, + "O": { + "item": "minecraft:slime_ball" + } + }, + "unlock": [ + { + "item": "minecraft:slime_ball" + } + ], + "result": { + "item": "minecraft:lead", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/leather.json b/behavior_pack/recipes/leather.json new file mode 100644 index 0000000..1f44433 --- /dev/null +++ b/behavior_pack/recipes/leather.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:leather" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:rabbit_hide" + } + }, + "unlock": [ + { + "item": "minecraft:rabbit_hide" + } + ], + "result": { + "item": "minecraft:leather" + } + } +} diff --git a/behavior_pack/recipes/leather_boots.json b/behavior_pack/recipes/leather_boots.json new file mode 100644 index 0000000..17ba715 --- /dev/null +++ b/behavior_pack/recipes/leather_boots.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:leather_boots" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:leather" + } + }, + "unlock": [ + { + "item": "minecraft:leather" + } + ], + "result": { + "item": "minecraft:leather_boots" + } + } +} diff --git a/behavior_pack/recipes/leather_chestplate.json b/behavior_pack/recipes/leather_chestplate.json new file mode 100644 index 0000000..2d8dc1d --- /dev/null +++ b/behavior_pack/recipes/leather_chestplate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:leather_chestplate" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "XXX", + "XXX" + ], + "key": { + "X": { + "item": "minecraft:leather" + } + }, + "unlock": [ + { + "item": "minecraft:leather" + } + ], + "result": { + "item": "minecraft:leather_chestplate" + } + } +} diff --git a/behavior_pack/recipes/leather_helmet.json b/behavior_pack/recipes/leather_helmet.json new file mode 100644 index 0000000..227e4e7 --- /dev/null +++ b/behavior_pack/recipes/leather_helmet.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:leather_helmet" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X" + ], + "key": { + "X": { + "item": "minecraft:leather" + } + }, + "unlock": [ + { + "item": "minecraft:leather" + } + ], + "result": { + "item": "minecraft:leather_helmet" + } + } +} diff --git a/behavior_pack/recipes/leather_horse_armor.json b/behavior_pack/recipes/leather_horse_armor.json new file mode 100644 index 0000000..80a9e62 --- /dev/null +++ b/behavior_pack/recipes/leather_horse_armor.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:leather_horse_armor" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###", + "# #" + ], + "key": { + "#": { + "item": "minecraft:leather" + } + }, + "unlock": [ + { + "item": "minecraft:leather" + } + ], + "result": { + "item": "minecraft:horsearmorleather" + } + } +} diff --git a/behavior_pack/recipes/leather_leggings.json b/behavior_pack/recipes/leather_leggings.json new file mode 100644 index 0000000..3fe5258 --- /dev/null +++ b/behavior_pack/recipes/leather_leggings.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:leather_leggings" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X", + "X X" + ], + "key": { + "X": { + "item": "minecraft:leather" + } + }, + "unlock": [ + { + "item": "minecraft:leather" + } + ], + "result": { + "item": "minecraft:leather_leggings" + } + } +} diff --git a/behavior_pack/recipes/lectern.json b/behavior_pack/recipes/lectern.json new file mode 100644 index 0000000..77fe916 --- /dev/null +++ b/behavior_pack/recipes/lectern.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lectern" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + " B ", + " # " + ], + "key": { + "#": { + "tag": "minecraft:wooden_slabs" + }, + "B": { + "item": "minecraft:bookshelf" + } + }, + "unlock": [ + { + "item": "minecraft:book" + } + ], + "result": { + "item": "minecraft:lectern" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/lectern_from_crimson_slab.json b/behavior_pack/recipes/lectern_from_crimson_slab.json new file mode 100644 index 0000000..19bd789 --- /dev/null +++ b/behavior_pack/recipes/lectern_from_crimson_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lectern_from_crimson_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + " B ", + " A " + ], + "key": { + "A": { + "item": "crimson_slab" + }, + "B": { + "item": "bookshelf" + } + }, + "result": { + "item": "lectern", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/lectern_from_mangrove_slab.json b/behavior_pack/recipes/lectern_from_mangrove_slab.json new file mode 100644 index 0000000..6e8ba1c --- /dev/null +++ b/behavior_pack/recipes/lectern_from_mangrove_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lectern_from_mangrove_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + " B ", + " A " + ], + "key": { + "A": { + "item": "mangrove_slab" + }, + "B": { + "item": "bookshelf" + } + }, + "result": { + "item": "lectern", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/lectern_from_warped_slab.json b/behavior_pack/recipes/lectern_from_warped_slab.json new file mode 100644 index 0000000..050f8f2 --- /dev/null +++ b/behavior_pack/recipes/lectern_from_warped_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lectern_from_warped_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + " B ", + " A " + ], + "key": { + "A": { + "item": "warped_slab" + }, + "B": { + "item": "bookshelf" + } + }, + "result": { + "item": "lectern", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/lever.json b/behavior_pack/recipes/lever.json new file mode 100644 index 0000000..5291a5a --- /dev/null +++ b/behavior_pack/recipes/lever.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lever" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:cobblestone" + }, + "X": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:cobblestone" + } + ], + "result": { + "item": "minecraft:lever" + } + } +} diff --git a/behavior_pack/recipes/light_blue_banner.json b/behavior_pack/recipes/light_blue_banner.json new file mode 100644 index 0000000..9e895bb --- /dev/null +++ b/behavior_pack/recipes/light_blue_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_blue_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:light_blue_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:light_blue_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 12 + } + } +} diff --git a/behavior_pack/recipes/light_blue_candle.json b/behavior_pack/recipes/light_blue_candle.json new file mode 100644 index 0000000..5602745 --- /dev/null +++ b/behavior_pack/recipes/light_blue_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_blue_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 12 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 12 + } + ], + "result": { + "item": "minecraft:light_blue_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/light_blue_carpet.json b/behavior_pack/recipes/light_blue_carpet.json new file mode 100644 index 0000000..29ab7a9 --- /dev/null +++ b/behavior_pack/recipes/light_blue_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_blue_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:light_blue_wool" + } + }, + "unlock": [ + { + "item": "minecraft:light_blue_wool" + } + ], + "result": { + "item": "minecraft:light_blue_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/light_blue_carpet_from_white.json b/behavior_pack/recipes/light_blue_carpet_from_white.json new file mode 100644 index 0000000..716c617 --- /dev/null +++ b/behavior_pack/recipes/light_blue_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_blue_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:light_blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:light_blue_dye" + } + ], + "result": { + "item": "minecraft:light_blue_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_blue_concrete_powder.json b/behavior_pack/recipes/light_blue_concrete_powder.json new file mode 100644 index 0000000..920b963 --- /dev/null +++ b/behavior_pack/recipes/light_blue_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_blue_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:light_blue_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:light_blue_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_blue_dye.json b/behavior_pack/recipes/light_blue_dye.json new file mode 100644 index 0000000..8a4c340 --- /dev/null +++ b/behavior_pack/recipes/light_blue_dye.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_blue_dye" + }, + + + "tags": [ "crafting_table" ], + "group": "light_blue_dye", + "priority": 1, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 12, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/light_blue_dye_from_blue_bonemeal.json b/behavior_pack/recipes/light_blue_dye_from_blue_bonemeal.json new file mode 100644 index 0000000..7ce2dd2 --- /dev/null +++ b/behavior_pack/recipes/light_blue_dye_from_blue_bonemeal.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_blue_dye_from_blue_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "light_blue_dye", + "priority": 2, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 12, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/light_blue_dye_from_blue_orchid.json b/behavior_pack/recipes/light_blue_dye_from_blue_orchid.json new file mode 100644 index 0000000..41ec05d --- /dev/null +++ b/behavior_pack/recipes/light_blue_dye_from_blue_orchid.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_blue_dye_from_blue_orchid" + }, + + + "tags": [ "crafting_table" ], + "group": "light_blue_dye", + "ingredients": [ + { + "item": "minecraft:blue_orchid" + } + ], + "unlock": [ + { + "item": "minecraft:blue_orchid" + } + ], + "result": { + "item": "minecraft:dye", + "data": 12 + } + } +} diff --git a/behavior_pack/recipes/light_blue_dye_from_lapis_bonemeal.json b/behavior_pack/recipes/light_blue_dye_from_lapis_bonemeal.json new file mode 100644 index 0000000..deba60b --- /dev/null +++ b/behavior_pack/recipes/light_blue_dye_from_lapis_bonemeal.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_blue_dye_from_lapis_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "light_blue_dye", + "priority": 4, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 12, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/light_blue_dye_from_lapis_white.json b/behavior_pack/recipes/light_blue_dye_from_lapis_white.json new file mode 100644 index 0000000..7999719 --- /dev/null +++ b/behavior_pack/recipes/light_blue_dye_from_lapis_white.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_blue_dye_from_lapis_white" + }, + + + "tags": [ "crafting_table" ], + "group": "light_blue_dye", + "priority": 3, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 12, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/light_blue_stained_glass.json b/behavior_pack/recipes/light_blue_stained_glass.json new file mode 100644 index 0000000..48b7841 --- /dev/null +++ b/behavior_pack/recipes/light_blue_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_blue_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:light_blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:light_blue_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_blue_stained_glass_pane.json b/behavior_pack/recipes/light_blue_stained_glass_pane.json new file mode 100644 index 0000000..90e884c --- /dev/null +++ b/behavior_pack/recipes/light_blue_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_blue_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:light_blue_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:light_blue_stained_glass" + } + ], + "result": { + "item": "minecraft:light_blue_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/light_blue_stained_glass_pane_from_pane.json b/behavior_pack/recipes/light_blue_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..6a2bff8 --- /dev/null +++ b/behavior_pack/recipes/light_blue_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_blue_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:light_blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:light_blue_dye" + } + ], + "result": { + "item": "minecraft:light_blue_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_blue_stained_hardened_clay.json b/behavior_pack/recipes/light_blue_stained_hardened_clay.json new file mode 100644 index 0000000..5a4d4fb --- /dev/null +++ b/behavior_pack/recipes/light_blue_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_blue_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:light_blue_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:light_blue_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_gray__carpet_from_white.json b/behavior_pack/recipes/light_gray__carpet_from_white.json new file mode 100644 index 0000000..9afc6fa --- /dev/null +++ b/behavior_pack/recipes/light_gray__carpet_from_white.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray__carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:carpet", + "data": 0 + }, + "X": { + "item": "minecraft:dye", + "data": 7 + } + }, + "unlock": [ + { + "item": "minecraft:carpet", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 7 + } + ], + "result": { + "item": "minecraft:carpet", + "data": 8, + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_gray_banner.json b/behavior_pack/recipes/light_gray_banner.json new file mode 100644 index 0000000..de5a9a5 --- /dev/null +++ b/behavior_pack/recipes/light_gray_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:light_gray_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:light_gray_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 7 + } + } +} diff --git a/behavior_pack/recipes/light_gray_candle.json b/behavior_pack/recipes/light_gray_candle.json new file mode 100644 index 0000000..eeaca9a --- /dev/null +++ b/behavior_pack/recipes/light_gray_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 7 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 7 + } + ], + "result": { + "item": "minecraft:light_gray_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/light_gray_carpet.json b/behavior_pack/recipes/light_gray_carpet.json new file mode 100644 index 0000000..d42fc3e --- /dev/null +++ b/behavior_pack/recipes/light_gray_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:light_gray_wool" + } + }, + "unlock": [ + { + "item": "minecraft:light_gray_wool" + } + ], + "result": { + "item": "minecraft:light_gray_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/light_gray_carpet_from_white.json b/behavior_pack/recipes/light_gray_carpet_from_white.json new file mode 100644 index 0000000..10482bd --- /dev/null +++ b/behavior_pack/recipes/light_gray_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray__carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:light_gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:light_gray_dye" + } + ], + "result": { + "item": "minecraft:light_gray_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_gray_concrete_powder.json b/behavior_pack/recipes/light_gray_concrete_powder.json new file mode 100644 index 0000000..1349b2c --- /dev/null +++ b/behavior_pack/recipes/light_gray_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:light_gray_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:light_gray_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye.json b/behavior_pack/recipes/light_gray_dye.json new file mode 100644 index 0000000..7b0bd19 --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 3, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 19 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 7, + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_azure_bluet.json b/behavior_pack/recipes/light_gray_dye_from_azure_bluet.json new file mode 100644 index 0000000..007b17f --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_azure_bluet.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_azure_bluet" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 2, + "ingredients": [ + { + "item": "minecraft:azure_bluet" + } + ], + "unlock": [ + { + "item": "minecraft:azure_bluet" + } + ], + "result": { + "item": "minecraft:dye", + "data": 7 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_black_bonemeal.json b/behavior_pack/recipes/light_gray_dye_from_black_bonemeal.json new file mode 100644 index 0000000..2adb530 --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_black_bonemeal.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_black_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 7, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 15 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 16 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 7, + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_gray_bonemeal.json b/behavior_pack/recipes/light_gray_dye_from_gray_bonemeal.json new file mode 100644 index 0000000..39c4e0b --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_gray_bonemeal.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_gray_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 6, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 8 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 8 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 7, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_gray_white.json b/behavior_pack/recipes/light_gray_dye_from_gray_white.json new file mode 100644 index 0000000..ea3df51 --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_gray_white.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_gray_white" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 4, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 8 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 8 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 7, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_ink_bonemeal.json b/behavior_pack/recipes/light_gray_dye_from_ink_bonemeal.json new file mode 100644 index 0000000..fee196f --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_ink_bonemeal.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_ink_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 8, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 15 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 7, + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_ink_white.json b/behavior_pack/recipes/light_gray_dye_from_ink_white.json new file mode 100644 index 0000000..ab7f129 --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_ink_white.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_ink_white" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 5, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 19 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 7, + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_oxeye_daisy.json b/behavior_pack/recipes/light_gray_dye_from_oxeye_daisy.json new file mode 100644 index 0000000..25ef671 --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_oxeye_daisy.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_oxeye_daisy" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "priority": 1, + "ingredients": [ + { + "item": "minecraft:oxeye_daisy" + } + ], + "unlock": [ + { + "item": "minecraft:oxeye_daisy" + } + ], + "result": { + "item": "minecraft:dye", + "data": 7 + } + } +} diff --git a/behavior_pack/recipes/light_gray_dye_from_white_tulip.json b/behavior_pack/recipes/light_gray_dye_from_white_tulip.json new file mode 100644 index 0000000..9f8e19c --- /dev/null +++ b/behavior_pack/recipes/light_gray_dye_from_white_tulip.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:light_gray_dye_from_white_tulip" + }, + + + "tags": [ "crafting_table" ], + "group": "light_gray_dye", + "ingredients": [ + { + "item": "minecraft:white_tulip" + } + ], + "unlock": [ + { + "item": "minecraft:white_tulip" + } + ], + "result": { + "item": "minecraft:dye", + "data": 7 + } + } +} diff --git a/behavior_pack/recipes/light_gray_stained_glass.json b/behavior_pack/recipes/light_gray_stained_glass.json new file mode 100644 index 0000000..9fddcd8 --- /dev/null +++ b/behavior_pack/recipes/light_gray_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:light_gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:light_gray_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_gray_stained_glass_pane.json b/behavior_pack/recipes/light_gray_stained_glass_pane.json new file mode 100644 index 0000000..9c7eeb1 --- /dev/null +++ b/behavior_pack/recipes/light_gray_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:light_gray_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:light_gray_stained_glass" + } + ], + "result": { + "item": "minecraft:light_gray_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/light_gray_stained_glass_pane_from_pane.json b/behavior_pack/recipes/light_gray_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..430a759 --- /dev/null +++ b/behavior_pack/recipes/light_gray_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:light_gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:light_gray_dye" + } + ], + "result": { + "item": "minecraft:light_gray_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_gray_stained_hardened_clay.json b/behavior_pack/recipes/light_gray_stained_hardened_clay.json new file mode 100644 index 0000000..78384c8 --- /dev/null +++ b/behavior_pack/recipes/light_gray_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_gray_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:light_gray_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:light_gray_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/light_weighted_pressure_plate.json b/behavior_pack/recipes/light_weighted_pressure_plate.json new file mode 100644 index 0000000..69bcd3e --- /dev/null +++ b/behavior_pack/recipes/light_weighted_pressure_plate.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:light_weighted_pressure_plate" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:gold_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:gold_ingot" + } + ], + "result": { + "item": "minecraft:light_weighted_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/lightning_rod.json b/behavior_pack/recipes/lightning_rod.json new file mode 100644 index 0000000..1942165 --- /dev/null +++ b/behavior_pack/recipes/lightning_rod.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lightning_rod" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A", + "A" + ], + "key": { + "A": { + "item": "minecraft:copper_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:copper_ingot" + } + ], + "result": { + "item": "minecraft:lightning_rod", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/lime__carpet_from_white.json b/behavior_pack/recipes/lime__carpet_from_white.json new file mode 100644 index 0000000..d97f861 --- /dev/null +++ b/behavior_pack/recipes/lime__carpet_from_white.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime__carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:carpet", + "data": 0 + }, + "X": { + "item": "minecraft:dye", + "data": 10 + } + }, + "unlock": [ + { + "item": "minecraft:carpet", + "data": 0 + }, + { + "item": "minecraft:dye", + "data": 10 + } + ], + "result": { + "item": "minecraft:carpet", + "data": 5, + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/lime_banner.json b/behavior_pack/recipes/lime_banner.json new file mode 100644 index 0000000..13762f6 --- /dev/null +++ b/behavior_pack/recipes/lime_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:lime_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:lime_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 10 + } + } +} diff --git a/behavior_pack/recipes/lime_candle.json b/behavior_pack/recipes/lime_candle.json new file mode 100644 index 0000000..71d0cac --- /dev/null +++ b/behavior_pack/recipes/lime_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:lime_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 10 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 10 + } + ], + "result": { + "item": "minecraft:lime_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/lime_carpet.json b/behavior_pack/recipes/lime_carpet.json new file mode 100644 index 0000000..636d9a6 --- /dev/null +++ b/behavior_pack/recipes/lime_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:lime_wool" + } + }, + "unlock": [ + { + "item": "minecraft:lime_wool" + } + ], + "result": { + "item": "minecraft:lime_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/lime_carpet_from_white.json b/behavior_pack/recipes/lime_carpet_from_white.json new file mode 100644 index 0000000..ca13bfe --- /dev/null +++ b/behavior_pack/recipes/lime_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime__carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:lime_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:lime_dye" + } + ], + "result": { + "item": "minecraft:lime_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/lime_concrete_powder.json b/behavior_pack/recipes/lime_concrete_powder.json new file mode 100644 index 0000000..deb09e6 --- /dev/null +++ b/behavior_pack/recipes/lime_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:lime_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:lime_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:lime_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/lime_dye.json b/behavior_pack/recipes/lime_dye.json new file mode 100644 index 0000000..4eebe31 --- /dev/null +++ b/behavior_pack/recipes/lime_dye.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:lime_dye" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:dye", + "data": 2 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 2 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 10, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/lime_dye_from_bonemeal.json b/behavior_pack/recipes/lime_dye_from_bonemeal.json new file mode 100644 index 0000000..d72b32d --- /dev/null +++ b/behavior_pack/recipes/lime_dye_from_bonemeal.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:lime_dye_from_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 2 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 2 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 10, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/lime_stained_glass.json b/behavior_pack/recipes/lime_stained_glass.json new file mode 100644 index 0000000..d800253 --- /dev/null +++ b/behavior_pack/recipes/lime_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:lime_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:lime_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/lime_stained_glass_pane.json b/behavior_pack/recipes/lime_stained_glass_pane.json new file mode 100644 index 0000000..4ebce1b --- /dev/null +++ b/behavior_pack/recipes/lime_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:lime_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:lime_stained_glass" + } + ], + "result": { + "item": "minecraft:lime_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/lime_stained_glass_pane_from_pane.json b/behavior_pack/recipes/lime_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..f900650 --- /dev/null +++ b/behavior_pack/recipes/lime_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:lime_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:lime_dye" + } + ], + "result": { + "item": "minecraft:lime_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/lime_stained_hardened_clay.json b/behavior_pack/recipes/lime_stained_hardened_clay.json new file mode 100644 index 0000000..8811003 --- /dev/null +++ b/behavior_pack/recipes/lime_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lime_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:lime_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:lime_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/lit_pumpkin.json b/behavior_pack/recipes/lit_pumpkin.json new file mode 100644 index 0000000..bd0a040 --- /dev/null +++ b/behavior_pack/recipes/lit_pumpkin.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lit_pumpkin" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "A", + "B" + ], + "key": { + "A": { + "item": "minecraft:carved_pumpkin" + }, + "B": { + "item": "minecraft:torch" + } + }, + "unlock": [ + { + "item": "minecraft:carved_pumpkin" + } + ], + "result": { + "item": "minecraft:lit_pumpkin" + } + } +} diff --git a/behavior_pack/recipes/locator_map.json b/behavior_pack/recipes/locator_map.json new file mode 100644 index 0000000..3edd65d --- /dev/null +++ b/behavior_pack/recipes/locator_map.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:locator_map" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:paper" + }, + "X": { + "item": "minecraft:compass" + } + }, + "unlock": [ + { + "item": "minecraft:compass" + } + ], + "result": { + "item": "minecraft:emptymap", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/lodestone.json b/behavior_pack/recipes/lodestone.json new file mode 100644 index 0000000..208464d --- /dev/null +++ b/behavior_pack/recipes/lodestone.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:lodestone" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "SSS", + "S#S", + "SSS" + ], + "key": { + "S": { + "item": "minecraft:chiseled_stone_bricks" + }, + "#": { + "item": "minecraft:netherite_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:netherite_ingot" + } + ], + "result": { + "item": "minecraft:lodestone", + "count": 1 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/loom.json b/behavior_pack/recipes/loom.json new file mode 100644 index 0000000..882dbbc --- /dev/null +++ b/behavior_pack/recipes/loom.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:loom" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB" + ], + "key": { + "A": { + "item": "minecraft:string" + }, + "B": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:string" + } + ], + "result": { + "item": "loom" + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/loom_from_crimson_planks.json b/behavior_pack/recipes/loom_from_crimson_planks.json new file mode 100644 index 0000000..a4f0d48 --- /dev/null +++ b/behavior_pack/recipes/loom_from_crimson_planks.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:loom_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB" + ], + "key": { + "A": { + "item": "string" + }, + "B": { + "item": "crimson_planks" + } + }, + "result": { + "item": "loom", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/loom_from_mangrove_planks.json b/behavior_pack/recipes/loom_from_mangrove_planks.json new file mode 100644 index 0000000..6c623bc --- /dev/null +++ b/behavior_pack/recipes/loom_from_mangrove_planks.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:loom_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB" + ], + "key": { + "A": { + "item": "string" + }, + "B": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "loom", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/loom_from_warped_planks.json b/behavior_pack/recipes/loom_from_warped_planks.json new file mode 100644 index 0000000..8d25a91 --- /dev/null +++ b/behavior_pack/recipes/loom_from_warped_planks.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:loom_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB" + ], + "key": { + "A": { + "item": "string" + }, + "B": { + "item": "warped_planks" + } + }, + "result": { + "item": "loom", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/mace.json b/behavior_pack/recipes/mace.json new file mode 100644 index 0000000..b13025a --- /dev/null +++ b/behavior_pack/recipes/mace.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mace" + }, + "tags": [ "crafting_table" ], + "key": { + "#": { + "item": "minecraft:breeze_rod" + }, + "*": { + "item": "minecraft:heavy_core" + } + }, + "pattern": [ + "*", + "#" + ], + "unlock": [ + { + "item": "minecraft:breeze_rod" + }, + { + "item": "minecraft:heavy_core" + } + ], + "result": { + "item": "minecraft:mace", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/magenta_banner.json b/behavior_pack/recipes/magenta_banner.json new file mode 100644 index 0000000..1304fcd --- /dev/null +++ b/behavior_pack/recipes/magenta_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magenta_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:magenta_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:magenta_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 13 + } + } +} diff --git a/behavior_pack/recipes/magenta_candle.json b/behavior_pack/recipes/magenta_candle.json new file mode 100644 index 0000000..8e47510 --- /dev/null +++ b/behavior_pack/recipes/magenta_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 13 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 13 + } + ], + "result": { + "item": "minecraft:magenta_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/magenta_carpet.json b/behavior_pack/recipes/magenta_carpet.json new file mode 100644 index 0000000..905e5e7 --- /dev/null +++ b/behavior_pack/recipes/magenta_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magenta_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:magenta_wool" + } + }, + "unlock": [ + { + "item": "minecraft:magenta_wool" + } + ], + "result": { + "item": "minecraft:magenta_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/magenta_carpet_from_white.json b/behavior_pack/recipes/magenta_carpet_from_white.json new file mode 100644 index 0000000..a59dbf0 --- /dev/null +++ b/behavior_pack/recipes/magenta_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magenta_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:magenta_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:magenta_dye" + } + ], + "result": { + "item": "minecraft:magenta_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/magenta_concrete_powder.json b/behavior_pack/recipes/magenta_concrete_powder.json new file mode 100644 index 0000000..c2bb666 --- /dev/null +++ b/behavior_pack/recipes/magenta_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:magenta_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:magenta_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye.json b/behavior_pack/recipes/magenta_dye.json new file mode 100644 index 0000000..0e0e4db --- /dev/null +++ b/behavior_pack/recipes/magenta_dye.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 2, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "result": { + "item": "minecraft:dye", + "data": 13, + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_allium.json b/behavior_pack/recipes/magenta_dye_from_allium.json new file mode 100644 index 0000000..b6332a0 --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_allium.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_allium" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 1, + "ingredients": [ + { + "item": "minecraft:allium" + } + ], + "unlock": [ + { + "item": "minecraft:allium" + } + ], + "result": { + "item": "minecraft:dye", + "data": 13 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_blue_ink_bonemeal.json b/behavior_pack/recipes/magenta_dye_from_blue_ink_bonemeal.json new file mode 100644 index 0000000..110cf5c --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_blue_ink_bonemeal.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_blue_ink_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 6, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 13, + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_blue_ink_white.json b/behavior_pack/recipes/magenta_dye_from_blue_ink_white.json new file mode 100644 index 0000000..3754316 --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_blue_ink_white.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_blue_ink_white" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 4, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 13, + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_lapis_ink_bonemeal.json b/behavior_pack/recipes/magenta_dye_from_lapis_ink_bonemeal.json new file mode 100644 index 0000000..7895ac6 --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_lapis_ink_bonemeal.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_lapis_ink_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 8, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 13, + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_lapis_ink_white.json b/behavior_pack/recipes/magenta_dye_from_lapis_ink_white.json new file mode 100644 index 0000000..6a4ec21 --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_lapis_ink_white.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_lapis_ink_white" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 7, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 13, + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_lapis_red_pink.json b/behavior_pack/recipes/magenta_dye_from_lapis_red_pink.json new file mode 100644 index 0000000..ae1e506 --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_lapis_red_pink.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_lapis_red_pink" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 5, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "result": { + "item": "minecraft:dye", + "data": 13, + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_lilac.json b/behavior_pack/recipes/magenta_dye_from_lilac.json new file mode 100644 index 0000000..087c4c3 --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_lilac.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_lilac" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "ingredients": [ + { + "item": "minecraft:lilac" + } + ], + "unlock": [ + { + "item": "minecraft:lilac" + } + ], + "result": { + "item": "minecraft:magenta_dye", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/magenta_dye_from_purple_and_pink.json b/behavior_pack/recipes/magenta_dye_from_purple_and_pink.json new file mode 100644 index 0000000..59ff387 --- /dev/null +++ b/behavior_pack/recipes/magenta_dye_from_purple_and_pink.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magenta_dye_from_purple_and_pink" + }, + + + "tags": [ "crafting_table" ], + "group": "magenta_dye", + "priority": 3, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 5 + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 5 + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "result": { + "item": "minecraft:dye", + "data": 13, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/magenta_stained_glass.json b/behavior_pack/recipes/magenta_stained_glass.json new file mode 100644 index 0000000..a5d53fd --- /dev/null +++ b/behavior_pack/recipes/magenta_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magenta_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:magenta_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:magenta_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/magenta_stained_glass_pane.json b/behavior_pack/recipes/magenta_stained_glass_pane.json new file mode 100644 index 0000000..e4e0218 --- /dev/null +++ b/behavior_pack/recipes/magenta_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magenta_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:magenta_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:magenta_stained_glass" + } + ], + "result": { + "item": "minecraft:magenta_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/magenta_stained_glass_pane_from_pane.json b/behavior_pack/recipes/magenta_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..7d408b2 --- /dev/null +++ b/behavior_pack/recipes/magenta_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magenta_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:magenta_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:magenta_dye" + } + ], + "result": { + "item": "minecraft:magenta_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/magenta_stained_hardened_clay.json b/behavior_pack/recipes/magenta_stained_hardened_clay.json new file mode 100644 index 0000000..19a7ab5 --- /dev/null +++ b/behavior_pack/recipes/magenta_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magenta_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:magenta_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:magenta_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/magma.json b/behavior_pack/recipes/magma.json new file mode 100644 index 0000000..12c6619 --- /dev/null +++ b/behavior_pack/recipes/magma.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:magma" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:magma_cream" + } + }, + "unlock": [ + { + "item": "minecraft:magma_cream" + } + ], + "result": { + "item": "minecraft:magma" + } + } +} diff --git a/behavior_pack/recipes/magma_cream.json b/behavior_pack/recipes/magma_cream.json new file mode 100644 index 0000000..0901698 --- /dev/null +++ b/behavior_pack/recipes/magma_cream.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:magma_cream" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:blaze_powder" + }, + { + "item": "minecraft:slime_ball" + } + ], + "unlock": [ + { + "item": "minecraft:blaze_powder" + } + ], + "result": { + "item": "minecraft:magma_cream" + } + } +} diff --git a/behavior_pack/recipes/mangrove_boat.json b/behavior_pack/recipes/mangrove_boat.json new file mode 100644 index 0000000..ab94d11 --- /dev/null +++ b/behavior_pack/recipes/mangrove_boat.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_boat" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks", + "data": 4 + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:mangrove_boat" + } + } +} diff --git a/behavior_pack/recipes/mangrove_button.json b/behavior_pack/recipes/mangrove_button.json new file mode 100644 index 0000000..3b697cb --- /dev/null +++ b/behavior_pack/recipes/mangrove_button.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_button" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_button" + } + } +} diff --git a/behavior_pack/recipes/mangrove_chest_boat.json b/behavior_pack/recipes/mangrove_chest_boat.json new file mode 100644 index 0000000..d43dc4e --- /dev/null +++ b/behavior_pack/recipes/mangrove_chest_boat.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:mangrove_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 6 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 6 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 6 + } + } +} diff --git a/behavior_pack/recipes/mangrove_door.json b/behavior_pack/recipes/mangrove_door.json new file mode 100644 index 0000000..b9e2ad7 --- /dev/null +++ b/behavior_pack/recipes/mangrove_door.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_door" + }, + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/mangrove_fence.json b/behavior_pack/recipes/mangrove_fence.json new file mode 100644 index 0000000..8998f24 --- /dev/null +++ b/behavior_pack/recipes/mangrove_fence.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_fence" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/mangrove_fence_gate.json b/behavior_pack/recipes/mangrove_fence_gate.json new file mode 100644 index 0000000..e358b54 --- /dev/null +++ b/behavior_pack/recipes/mangrove_fence_gate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_fence_gate" + }, + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/mangrove_hanging_sign.json b/behavior_pack/recipes/mangrove_hanging_sign.json new file mode 100644 index 0000000..942b116 --- /dev/null +++ b/behavior_pack/recipes/mangrove_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_mangrove_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_mangrove_log" + } + ], + "result": { + "item": "minecraft:mangrove_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/mangrove_planks.json b/behavior_pack/recipes/mangrove_planks.json new file mode 100644 index 0000000..8671a69 --- /dev/null +++ b/behavior_pack/recipes/mangrove_planks.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_planks" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:mangrove_log" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_log" + } + ], + "result": { + "item": "minecraft:mangrove_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mangrove_planks_from_stripped_log.json b/behavior_pack/recipes/mangrove_planks_from_stripped_log.json new file mode 100644 index 0000000..3dc09d5 --- /dev/null +++ b/behavior_pack/recipes/mangrove_planks_from_stripped_log.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_planks_from_stripped_log" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_mangrove_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_mangrove_log" + } + ], + "result": { + "item": "minecraft:mangrove_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mangrove_planks_from_stripped_wood.json b/behavior_pack/recipes/mangrove_planks_from_stripped_wood.json new file mode 100644 index 0000000..fff32d8 --- /dev/null +++ b/behavior_pack/recipes/mangrove_planks_from_stripped_wood.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_planks_from_stripped_wood" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_mangrove_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_mangrove_wood" + } + ], + "result": { + "item": "minecraft:mangrove_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mangrove_planks_from_wood.json b/behavior_pack/recipes/mangrove_planks_from_wood.json new file mode 100644 index 0000000..570f3cd --- /dev/null +++ b/behavior_pack/recipes/mangrove_planks_from_wood.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_planks_from_wood" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:mangrove_wood" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_wood" + } + ], + "result": { + "item": "minecraft:mangrove_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mangrove_pressure_plate.json b/behavior_pack/recipes/mangrove_pressure_plate.json new file mode 100644 index 0000000..069fd81 --- /dev/null +++ b/behavior_pack/recipes/mangrove_pressure_plate.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_pressure_plate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/mangrove_sign.json b/behavior_pack/recipes/mangrove_sign.json new file mode 100644 index 0000000..191a335 --- /dev/null +++ b/behavior_pack/recipes/mangrove_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/mangrove_slab.json b/behavior_pack/recipes/mangrove_slab.json new file mode 100644 index 0000000..25bc58c --- /dev/null +++ b/behavior_pack/recipes/mangrove_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_slab" + }, + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/mangrove_stairs.json b/behavior_pack/recipes/mangrove_stairs.json new file mode 100644 index 0000000..63707b2 --- /dev/null +++ b/behavior_pack/recipes/mangrove_stairs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_stairs" + }, + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mangrove_trapdoor.json b/behavior_pack/recipes/mangrove_trapdoor.json new file mode 100644 index 0000000..e90c40b --- /dev/null +++ b/behavior_pack/recipes/mangrove_trapdoor.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_trapdoor" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_trap_door", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:mangrove_planks" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_planks" + } + ], + "result": { + "item": "minecraft:mangrove_trapdoor", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/mangrove_wood.json b/behavior_pack/recipes/mangrove_wood.json new file mode 100644 index 0000000..b93e784 --- /dev/null +++ b/behavior_pack/recipes/mangrove_wood.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_wood" + }, + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:mangrove_log" + } + }, + "unlock": [ + { + "item": "minecraft:mangrove_log" + } + ], + "result": { + "item": "minecraft:mangrove_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/mangrove_wood_stripped.json b/behavior_pack/recipes/mangrove_wood_stripped.json new file mode 100644 index 0000000..ef0d824 --- /dev/null +++ b/behavior_pack/recipes/mangrove_wood_stripped.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mangrove_wood_stripped" + }, + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_mangrove_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_mangrove_log" + } + ], + "result": { + "item": "minecraft:stripped_mangrove_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/map.json b/behavior_pack/recipes/map.json new file mode 100644 index 0000000..c6566ce --- /dev/null +++ b/behavior_pack/recipes/map.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:map" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:paper" + } + }, + "unlock": [ + { + "item": "minecraft:paper" + } + ], + "result": { + "item": "minecraft:emptymap", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/melon_block.json b/behavior_pack/recipes/melon_block.json new file mode 100644 index 0000000..8e21125 --- /dev/null +++ b/behavior_pack/recipes/melon_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:melon_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "MMM", + "MMM", + "MMM" + ], + "key": { + "M": { + "item": "minecraft:melon" + } + }, + "unlock": [ + { + "item": "minecraft:melon" + } + ], + "result": { + "item": "minecraft:melon_block" + } + } +} diff --git a/behavior_pack/recipes/melon_seeds.json b/behavior_pack/recipes/melon_seeds.json new file mode 100644 index 0000000..b583d07 --- /dev/null +++ b/behavior_pack/recipes/melon_seeds.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:melon_seeds" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "M" + ], + "key": { + "M": { + "item": "minecraft:melon" + } + }, + "unlock": [ + { + "item": "minecraft:melon" + } + ], + "result": { + "item": "minecraft:melon_seeds" + } + } +} diff --git a/behavior_pack/recipes/minecart.json b/behavior_pack/recipes/minecart.json new file mode 100644 index 0000000..016f1b9 --- /dev/null +++ b/behavior_pack/recipes/minecart.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:minecart" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:minecart" + } + } +} diff --git a/behavior_pack/recipes/moss_carpet.json b/behavior_pack/recipes/moss_carpet.json new file mode 100644 index 0000000..6c5b0bd --- /dev/null +++ b/behavior_pack/recipes/moss_carpet.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:moss_carpet" + }, + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:moss_block" + } + }, + "unlock": [ + { + "item": "minecraft:moss_block" + } + ], + "result": { + "item": "minecraft:moss_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/mossy_cobblestone.json b/behavior_pack/recipes/mossy_cobblestone.json new file mode 100644 index 0000000..381c14e --- /dev/null +++ b/behavior_pack/recipes/mossy_cobblestone.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:mossy_cobblestone" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:cobblestone" + }, + { + "item": "minecraft:vine" + } + ], + "unlock": [ + { + "item": "minecraft:vine" + } + ], + "result": { + "item": "minecraft:mossy_cobblestone" + } + } +} diff --git a/behavior_pack/recipes/mossy_cobblestone_from_moss.json b/behavior_pack/recipes/mossy_cobblestone_from_moss.json new file mode 100644 index 0000000..33cc1b9 --- /dev/null +++ b/behavior_pack/recipes/mossy_cobblestone_from_moss.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:mossy_cobblestone_from_moss" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:cobblestone" + }, + { + "item": "minecraft:moss_block" + } + ], + "unlock": [ + { + "item": "minecraft:moss_block" + } + ], + "result": { + "item": "minecraft:mossy_cobblestone" + } + } +} diff --git a/behavior_pack/recipes/mossy_cobblestone_stairs.json b/behavior_pack/recipes/mossy_cobblestone_stairs.json new file mode 100644 index 0000000..a722899 --- /dev/null +++ b/behavior_pack/recipes/mossy_cobblestone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mossy_cobblestone_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:mossy_cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:mossy_cobblestone" + } + ], + "result": { + "item": "minecraft:mossy_cobblestone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mossy_cobblestone_wall.json b/behavior_pack/recipes/mossy_cobblestone_wall.json new file mode 100644 index 0000000..41c5c2d --- /dev/null +++ b/behavior_pack/recipes/mossy_cobblestone_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mossy_cobblestone_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:mossy_cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:mossy_cobblestone" + } + ], + "result": { + "item": "minecraft:mossy_cobblestone_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/mossy_stone_brick_stairs.json b/behavior_pack/recipes/mossy_stone_brick_stairs.json new file mode 100644 index 0000000..c8a9058 --- /dev/null +++ b/behavior_pack/recipes/mossy_stone_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mossy_stone_brick_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:mossy_stone_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "result": { + "item": "minecraft:mossy_stone_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mossy_stone_brick_wall.json b/behavior_pack/recipes/mossy_stone_brick_wall.json new file mode 100644 index 0000000..235b98d --- /dev/null +++ b/behavior_pack/recipes/mossy_stone_brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mossy_stone_brick_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:mossy_stone_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "result": { + "item": "minecraft:mossy_stone_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/mossy_stonebrick.json b/behavior_pack/recipes/mossy_stonebrick.json new file mode 100644 index 0000000..2c19a47 --- /dev/null +++ b/behavior_pack/recipes/mossy_stonebrick.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:mossy_stonebrick" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:stone_bricks" + }, + { + "item": "minecraft:vine" + } + ], + "unlock": [ + { + "item": "minecraft:vine" + } + ], + "result": { + "item": "minecraft:mossy_stone_bricks" + } + } +} diff --git a/behavior_pack/recipes/mossy_stonebrick_from_moss.json b/behavior_pack/recipes/mossy_stonebrick_from_moss.json new file mode 100644 index 0000000..938787e --- /dev/null +++ b/behavior_pack/recipes/mossy_stonebrick_from_moss.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:mossy_stonebrick_from_moss" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:stone_bricks" + }, + { + "item": "minecraft:moss_block" + } + ], + "unlock": [ + { + "item": "minecraft:moss_block" + } + ], + "result": { + "item": "minecraft:mossy_stone_bricks" + } + } +} diff --git a/behavior_pack/recipes/mud_brick_slab.json b/behavior_pack/recipes/mud_brick_slab.json new file mode 100644 index 0000000..71517ed --- /dev/null +++ b/behavior_pack/recipes/mud_brick_slab.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mud_brick_slab" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:mud_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:mud_bricks" + } + ], + "result": { + "item": "minecraft:mud_brick_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/mud_brick_stairs.json b/behavior_pack/recipes/mud_brick_stairs.json new file mode 100644 index 0000000..a9991c0 --- /dev/null +++ b/behavior_pack/recipes/mud_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mud_brick_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:mud_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:mud_bricks" + } + ], + "result": { + "item": "minecraft:mud_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/mud_brick_wall.json b/behavior_pack/recipes/mud_brick_wall.json new file mode 100644 index 0000000..10c2692 --- /dev/null +++ b/behavior_pack/recipes/mud_brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mud_brick_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:mud_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:mud_bricks" + } + ], + "result": { + "item": "minecraft:mud_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/mud_bricks.json b/behavior_pack/recipes/mud_bricks.json new file mode 100644 index 0000000..983cec3 --- /dev/null +++ b/behavior_pack/recipes/mud_bricks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:mud_bricks" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:packed_mud" + } + }, + "unlock": [ + { + "item": "minecraft:packed_mud" + } + ], + "result": { + "item": "minecraft:mud_bricks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/muddy_mangrove_roots.json b/behavior_pack/recipes/muddy_mangrove_roots.json new file mode 100644 index 0000000..c1da052 --- /dev/null +++ b/behavior_pack/recipes/muddy_mangrove_roots.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:muddy_mangrove_roots" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:mangrove_roots" + }, + { + "item": "minecraft:mud" + } + ], + "unlock": [ + { + "item": "minecraft:mangrove_roots" + } + ], + "result": { + "item": "minecraft:muddy_mangrove_roots" + } + } +} diff --git a/behavior_pack/recipes/mushroom_stew.json b/behavior_pack/recipes/mushroom_stew.json new file mode 100644 index 0000000..ea1790f --- /dev/null +++ b/behavior_pack/recipes/mushroom_stew.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:mushroom_stew" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + } + ], + "unlock": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + } + ], + "result": { + "item": "minecraft:mushroom_stew" + } + } +} diff --git a/behavior_pack/recipes/nether_brick.json b/behavior_pack/recipes/nether_brick.json new file mode 100644 index 0000000..b938f0a --- /dev/null +++ b/behavior_pack/recipes/nether_brick.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:nether_brick" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "NN", + "NN" + ], + "key": { + "N": { + "item": "minecraft:netherbrick" + } + }, + "unlock": [ + { + "item": "minecraft:netherbrick" + } + ], + "result": { + "item": "minecraft:nether_brick" + } + } +} diff --git a/behavior_pack/recipes/nether_brick_fence.json b/behavior_pack/recipes/nether_brick_fence.json new file mode 100644 index 0000000..fdacebd --- /dev/null +++ b/behavior_pack/recipes/nether_brick_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:nether_brick_fence" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:netherbrick" + }, + "W": { + "item": "minecraft:nether_brick" + } + }, + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "result": { + "item": "minecraft:nether_brick_fence", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/nether_brick_stairs.json b/behavior_pack/recipes/nether_brick_stairs.json new file mode 100644 index 0000000..5b29f01 --- /dev/null +++ b/behavior_pack/recipes/nether_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:nether_brick_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:nether_brick" + } + }, + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "result": { + "item": "minecraft:nether_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/nether_brick_wall.json b/behavior_pack/recipes/nether_brick_wall.json new file mode 100644 index 0000000..abad9e1 --- /dev/null +++ b/behavior_pack/recipes/nether_brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:nether_brick_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:nether_brick" + } + }, + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "result": { + "item": "minecraft:nether_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/nether_wart_block.json b/behavior_pack/recipes/nether_wart_block.json new file mode 100644 index 0000000..88b96a7 --- /dev/null +++ b/behavior_pack/recipes/nether_wart_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:nether_wart_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:nether_wart" + } + }, + "unlock": [ + { + "item": "minecraft:nether_wart" + } + ], + "result": { + "item": "minecraft:nether_wart_block" + } + } +} diff --git a/behavior_pack/recipes/netherite_block.json b/behavior_pack/recipes/netherite_block.json new file mode 100644 index 0000000..ec57c5e --- /dev/null +++ b/behavior_pack/recipes/netherite_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:netherite_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:netherite_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:netherite_ingot" + } + ], + "result": { + "item": "minecraft:netherite_block" + } + } +} diff --git a/behavior_pack/recipes/netherite_ingot.json b/behavior_pack/recipes/netherite_ingot.json new file mode 100644 index 0000000..5a7be98 --- /dev/null +++ b/behavior_pack/recipes/netherite_ingot.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:netherite_ingot" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:netherite_scrap", + "count": 4 + }, + { + "item": "minecraft:gold_ingot", + "count": 4 + } + ], + "unlock": [ + { + "item": "minecraft:netherite_scrap" + } + ], + "result": { + "item": "minecraft:netherite_ingot", + "data": 0, + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/netherite_ingot_from_block.json b/behavior_pack/recipes/netherite_ingot_from_block.json new file mode 100644 index 0000000..c75c721 --- /dev/null +++ b/behavior_pack/recipes/netherite_ingot_from_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:netherite_ingot_from_block" + }, + + + "tags": [ "crafting_table" ], + "group": "netherite_ingot", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:netherite_block" + } + }, + "unlock": [ + { + "item": "minecraft:netherite_block" + } + ], + "result": { + "item": "minecraft:netherite_ingot", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/netherite_upgrade_smithing_template_duplicate.json b/behavior_pack/recipes/netherite_upgrade_smithing_template_duplicate.json new file mode 100644 index 0000000..4772c24 --- /dev/null +++ b/behavior_pack/recipes/netherite_upgrade_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:netherite_upgrade_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:netherite_upgrade_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:netherrack" + } + }, + "unlock": [ + { + "item": "minecraft:netherite_upgrade_smithing_template" + } + ], + "result": { + "item": "minecraft:netherite_upgrade_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/noteblock.json b/behavior_pack/recipes/noteblock.json new file mode 100644 index 0000000..fb92c9f --- /dev/null +++ b/behavior_pack/recipes/noteblock.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:noteblock" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "tag": "minecraft:planks" + }, + "B": { + "item": "redstone" + } + }, + "unlock": [ + { + "item": "redstone" + } + ], + "result": { + "item": "noteblock", + "count": 1 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/noteblock_from_crimson_planks.json b/behavior_pack/recipes/noteblock_from_crimson_planks.json new file mode 100644 index 0000000..4abae70 --- /dev/null +++ b/behavior_pack/recipes/noteblock_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:noteblock_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "redstone" + } + }, + "result": { + "item": "noteblock", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/noteblock_from_mangrove_planks.json b/behavior_pack/recipes/noteblock_from_mangrove_planks.json new file mode 100644 index 0000000..b7a3481 --- /dev/null +++ b/behavior_pack/recipes/noteblock_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:noteblock_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "redstone" + } + }, + "result": { + "item": "noteblock", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/noteblock_from_warped_planks.json b/behavior_pack/recipes/noteblock_from_warped_planks.json new file mode 100644 index 0000000..102cdc3 --- /dev/null +++ b/behavior_pack/recipes/noteblock_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:noteblock_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "redstone" + } + }, + "result": { + "item": "noteblock", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/oak_fence.json b/behavior_pack/recipes/oak_fence.json new file mode 100644 index 0000000..00face5 --- /dev/null +++ b/behavior_pack/recipes/oak_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:oak_planks" + } + ], + "result": { + "item": "minecraft:oak_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/oak_hanging_sign.json b/behavior_pack/recipes/oak_hanging_sign.json new file mode 100644 index 0000000..050932a --- /dev/null +++ b/behavior_pack/recipes/oak_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_oak_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_oak_log" + } + ], + "result": { + "item": "minecraft:oak_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/oak_planks.json b/behavior_pack/recipes/oak_planks.json new file mode 100644 index 0000000..1e5f990 --- /dev/null +++ b/behavior_pack/recipes/oak_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_planks" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:oak_log" + } + ], + "result": { + "item": "minecraft:oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/oak_planks_from_stripped.json b/behavior_pack/recipes/oak_planks_from_stripped.json new file mode 100644 index 0000000..aea8af7 --- /dev/null +++ b/behavior_pack/recipes/oak_planks_from_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_planks_from_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_oak_log" + } + ], + "result": { + "item": "minecraft:oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/oak_planks_from_stripped_wood.json b/behavior_pack/recipes/oak_planks_from_stripped_wood.json new file mode 100644 index 0000000..b6a854b --- /dev/null +++ b/behavior_pack/recipes/oak_planks_from_stripped_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_planks_from_stripped_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_oak_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_oak_wood" + } + ], + "result": { + "item": "minecraft:oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/oak_planks_from_wood.json b/behavior_pack/recipes/oak_planks_from_wood.json new file mode 100644 index 0000000..02c92a1 --- /dev/null +++ b/behavior_pack/recipes/oak_planks_from_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_planks_from_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:oak_wood" + } + }, + "unlock": [ + { + "item": "minecraft:oak_wood" + } + ], + "result": { + "item": "minecraft:oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/oak_stairs.json b/behavior_pack/recipes/oak_stairs.json new file mode 100644 index 0000000..ea54695 --- /dev/null +++ b/behavior_pack/recipes/oak_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_stairs" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:oak_planks" + } + ], + "result": { + "item": "minecraft:oak_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/oak_wood.json b/behavior_pack/recipes/oak_wood.json new file mode 100644 index 0000000..ddf4857 --- /dev/null +++ b/behavior_pack/recipes/oak_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:oak_log" + } + ], + "result": { + "item": "minecraft:oak_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/oak_wood_stripped.json b/behavior_pack/recipes/oak_wood_stripped.json new file mode 100644 index 0000000..354afdf --- /dev/null +++ b/behavior_pack/recipes/oak_wood_stripped.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_wood_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_oak_log" + } + ], + "result": { + "item": "minecraft:stripped_oak_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/oak_wooden_slab.json b/behavior_pack/recipes/oak_wooden_slab.json new file mode 100644 index 0000000..d2d2185 --- /dev/null +++ b/behavior_pack/recipes/oak_wooden_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:oak_wooden_slab" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:oak_planks" + } + ], + "result": { + "item": "minecraft:oak_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/observer.json b/behavior_pack/recipes/observer.json new file mode 100644 index 0000000..da2e872 --- /dev/null +++ b/behavior_pack/recipes/observer.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:observer" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "RRQ", + "###" + ], + "key": { + "Q": { + "item": "minecraft:quartz" + }, + "R": { + "item": "minecraft:redstone" + }, + "#": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:quartz" + } + ], + "result": { + "item": "minecraft:observer" + } + } +} diff --git a/behavior_pack/recipes/orange_banner.json b/behavior_pack/recipes/orange_banner.json new file mode 100644 index 0000000..5de1847 --- /dev/null +++ b/behavior_pack/recipes/orange_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:orange_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:orange_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:orange_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 14 + } + } +} diff --git a/behavior_pack/recipes/orange_candle.json b/behavior_pack/recipes/orange_candle.json new file mode 100644 index 0000000..9c500d9 --- /dev/null +++ b/behavior_pack/recipes/orange_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:orange_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 14 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 14 + } + ], + "result": { + "item": "minecraft:orange_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/orange_carpet.json b/behavior_pack/recipes/orange_carpet.json new file mode 100644 index 0000000..a14bb5c --- /dev/null +++ b/behavior_pack/recipes/orange_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:orange_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:orange_wool" + } + }, + "unlock": [ + { + "item": "minecraft:orange_wool" + } + ], + "result": { + "item": "minecraft:orange_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/orange_carpet_from_white.json b/behavior_pack/recipes/orange_carpet_from_white.json new file mode 100644 index 0000000..b114c47 --- /dev/null +++ b/behavior_pack/recipes/orange_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:orange_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:orange_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:orange_dye" + } + ], + "result": { + "item": "minecraft:orange_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/orange_concrete_powder.json b/behavior_pack/recipes/orange_concrete_powder.json new file mode 100644 index 0000000..da3cd62 --- /dev/null +++ b/behavior_pack/recipes/orange_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:orange_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:orange_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:orange_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/orange_dye_from_open_eyeblossom.json b/behavior_pack/recipes/orange_dye_from_open_eyeblossom.json new file mode 100644 index 0000000..ef3f2fe --- /dev/null +++ b/behavior_pack/recipes/orange_dye_from_open_eyeblossom.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.21.40", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:orange_dye_from_open_eyeblossom" + }, + "tags": [ + "crafting_table" + ], + "group": "orange_dye", + "ingredients": [ + { + "item": "minecraft:open_eyeblossom" + } + ], + "unlock": [ + { + "item": "minecraft:open_eyeblossom" + } + ], + "result": { + "item": "minecraft:orange_dye" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/orange_dye_from_orange_tulip.json b/behavior_pack/recipes/orange_dye_from_orange_tulip.json new file mode 100644 index 0000000..d7e1212 --- /dev/null +++ b/behavior_pack/recipes/orange_dye_from_orange_tulip.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:orange_dye_from_orange_tulip" + }, + + + "tags": [ "crafting_table" ], + "group": "orange_dye", + "ingredients": [ + { + "item": "minecraft:orange_tulip" + } + ], + "unlock": [ + { + "item": "minecraft:orange_tulip" + } + ], + "result": { + "item": "minecraft:dye", + "data": 14 + } + } +} diff --git a/behavior_pack/recipes/orange_dye_from_red_yellow.json b/behavior_pack/recipes/orange_dye_from_red_yellow.json new file mode 100644 index 0000000..c95f85e --- /dev/null +++ b/behavior_pack/recipes/orange_dye_from_red_yellow.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:orange_dye_from_red_yellow" + }, + + + "tags": [ "crafting_table" ], + "group": "orange_dye", + "ingredients": [ + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 11 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 11 + } + ], + "result": { + "item": "minecraft:dye", + "data": 14, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/orange_dye_from_torchflower.json b/behavior_pack/recipes/orange_dye_from_torchflower.json new file mode 100644 index 0000000..b668666 --- /dev/null +++ b/behavior_pack/recipes/orange_dye_from_torchflower.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:orange_dye_from_torchflower" + }, + "tags": [ + "crafting_table" + ], + "group": "orange_dye", + "ingredients": [ + { + "item": "minecraft:torchflower" + } + ], + "unlock": [ + { + "item": "minecraft:torchflower" + } + ], + "result": { + "item": "minecraft:dye", + "data": 14 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/orange_stained_glass.json b/behavior_pack/recipes/orange_stained_glass.json new file mode 100644 index 0000000..c90bcbe --- /dev/null +++ b/behavior_pack/recipes/orange_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:orange_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:orange_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:orange_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/orange_stained_glass_pane.json b/behavior_pack/recipes/orange_stained_glass_pane.json new file mode 100644 index 0000000..b5bdfb1 --- /dev/null +++ b/behavior_pack/recipes/orange_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:orange_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:orange_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:orange_stained_glass" + } + ], + "result": { + "item": "minecraft:orange_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/orange_stained_glass_pane_from_pane.json b/behavior_pack/recipes/orange_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..1e4d491 --- /dev/null +++ b/behavior_pack/recipes/orange_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:orange_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:orange_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:orange_dye" + } + ], + "result": { + "item": "minecraft:orange_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/orange_stained_hardened_clay.json b/behavior_pack/recipes/orange_stained_hardened_clay.json new file mode 100644 index 0000000..d6021dd --- /dev/null +++ b/behavior_pack/recipes/orange_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:orange_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:orange_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:orange_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/packed_ice.json b/behavior_pack/recipes/packed_ice.json new file mode 100644 index 0000000..497052e --- /dev/null +++ b/behavior_pack/recipes/packed_ice.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:packed_ice" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:ice" + } + }, + "unlock": [ + { + "item": "minecraft:ice" + } + ], + "result": { + "item": "minecraft:packed_ice", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/packed_mud.json b/behavior_pack/recipes/packed_mud.json new file mode 100644 index 0000000..070a447 --- /dev/null +++ b/behavior_pack/recipes/packed_mud.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:packed_mud" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:mud" + }, + { + "item": "minecraft:wheat" + } + ], + "unlock": [ + { + "item": "minecraft:mud" + } + ], + "result": { + "item": "minecraft:packed_mud" + } + } +} diff --git a/behavior_pack/recipes/painting.json b/behavior_pack/recipes/painting.json new file mode 100644 index 0000000..d8f6ca2 --- /dev/null +++ b/behavior_pack/recipes/painting.json @@ -0,0 +1,78 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:painting" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "ABA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:stick" + }, + "B": { + "tag": "minecraft:wool" + } + }, + "unlock": [ + { + "item": "minecraft:white_wool" + }, + { + "item": "minecraft:orange_wool" + }, + { + "item": "minecraft:magenta_wool" + }, + { + "item": "minecraft:light_blue_wool" + }, + { + "item": "minecraft:yellow_wool" + }, + { + "item": "minecraft:lime_wool" + }, + { + "item": "minecraft:pink_wool" + }, + { + "item": "minecraft:gray_wool" + }, + { + "item": "minecraft:light_gray_wool" + }, + { + "item": "minecraft:cyan_wool" + }, + { + "item": "minecraft:purple_wool" + }, + { + "item": "minecraft:blue_wool" + }, + { + "item": "minecraft:brown_wool" + }, + { + "item": "minecraft:green_wool" + }, + { + "item": "minecraft:red_wool" + }, + { + "item": "minecraft:black_wool" + } + ], + "result": { + "item": "painting", + "count": 1 + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/pale_moss_carpet.json b/behavior_pack/recipes/pale_moss_carpet.json new file mode 100644 index 0000000..22babed --- /dev/null +++ b/behavior_pack/recipes/pale_moss_carpet.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_moss_carpet" + }, + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:pale_moss_block" + } + }, + "result": { + "item": "minecraft:pale_moss_carpet", + "count": 3 + }, + "unlock": [ + { + "item": "minecraft:pale_moss_block" + } + ] + } +} diff --git a/behavior_pack/recipes/pale_oak_boat.json b/behavior_pack/recipes/pale_oak_boat.json new file mode 100644 index 0000000..1f39b6e --- /dev/null +++ b/behavior_pack/recipes/pale_oak_boat.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_boat" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:pale_oak_boat" + } + } +} diff --git a/behavior_pack/recipes/pale_oak_button.json b/behavior_pack/recipes/pale_oak_button.json new file mode 100644 index 0000000..269deff --- /dev/null +++ b/behavior_pack/recipes/pale_oak_button.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_button" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_button" + } + } +} diff --git a/behavior_pack/recipes/pale_oak_chest_boat.json b/behavior_pack/recipes/pale_oak_chest_boat.json new file mode 100644 index 0000000..3be14ed --- /dev/null +++ b/behavior_pack/recipes/pale_oak_chest_boat.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pale_oak_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:pale_oak_boat" + } + ], + "unlock": [ + { + "item": "minecraft:pale_oak_boat" + } + ], + "result": { + "item": "minecraft:pale_oak_chest_boat" + } + } +} diff --git a/behavior_pack/recipes/pale_oak_door.json b/behavior_pack/recipes/pale_oak_door.json new file mode 100644 index 0000000..f0caf84 --- /dev/null +++ b/behavior_pack/recipes/pale_oak_door.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_door" + }, + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_fence.json b/behavior_pack/recipes/pale_oak_fence.json new file mode 100644 index 0000000..9e2484f --- /dev/null +++ b/behavior_pack/recipes/pale_oak_fence.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_fence" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_fence_gate.json b/behavior_pack/recipes/pale_oak_fence_gate.json new file mode 100644 index 0000000..9b73da8 --- /dev/null +++ b/behavior_pack/recipes/pale_oak_fence_gate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_fence_gate" + }, + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/pale_oak_hanging_sign.json b/behavior_pack/recipes/pale_oak_hanging_sign.json new file mode 100644 index 0000000..2a82fee --- /dev/null +++ b/behavior_pack/recipes/pale_oak_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_pale_oak_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_pale_oak_log" + } + ], + "result": { + "item": "minecraft:pale_oak_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_planks_from_log.json b/behavior_pack/recipes/pale_oak_planks_from_log.json new file mode 100644 index 0000000..0ee5f7d --- /dev/null +++ b/behavior_pack/recipes/pale_oak_planks_from_log.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_planks_from_log" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_log" + } + ], + "result": { + "item": "minecraft:pale_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_planks_from_stripped_log.json b/behavior_pack/recipes/pale_oak_planks_from_stripped_log.json new file mode 100644 index 0000000..912367a --- /dev/null +++ b/behavior_pack/recipes/pale_oak_planks_from_stripped_log.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_planks_from_stripped_log" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_pale_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_pale_oak_log" + } + ], + "result": { + "item": "minecraft:pale_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_planks_from_stripped_wood.json b/behavior_pack/recipes/pale_oak_planks_from_stripped_wood.json new file mode 100644 index 0000000..c9d9651 --- /dev/null +++ b/behavior_pack/recipes/pale_oak_planks_from_stripped_wood.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_planks_from_stripped_wood" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_pale_oak_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_pale_oak_wood" + } + ], + "result": { + "item": "minecraft:pale_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_planks_from_wood.json b/behavior_pack/recipes/pale_oak_planks_from_wood.json new file mode 100644 index 0000000..e93c9d4 --- /dev/null +++ b/behavior_pack/recipes/pale_oak_planks_from_wood.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_planks_from_wood" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_wood" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_wood" + } + ], + "result": { + "item": "minecraft:pale_oak_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_pressure_plate.json b/behavior_pack/recipes/pale_oak_pressure_plate.json new file mode 100644 index 0000000..cfec2a3 --- /dev/null +++ b/behavior_pack/recipes/pale_oak_pressure_plate.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_pressure_plate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/pale_oak_sign.json b/behavior_pack/recipes/pale_oak_sign.json new file mode 100644 index 0000000..463d192 --- /dev/null +++ b/behavior_pack/recipes/pale_oak_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_slab.json b/behavior_pack/recipes/pale_oak_slab.json new file mode 100644 index 0000000..0f5e4fb --- /dev/null +++ b/behavior_pack/recipes/pale_oak_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_slab" + }, + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_stairs.json b/behavior_pack/recipes/pale_oak_stairs.json new file mode 100644 index 0000000..c60bd4d --- /dev/null +++ b/behavior_pack/recipes/pale_oak_stairs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_stairs" + }, + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_stripped_wood_from_stripped_log.json b/behavior_pack/recipes/pale_oak_stripped_wood_from_stripped_log.json new file mode 100644 index 0000000..4c2c54d --- /dev/null +++ b/behavior_pack/recipes/pale_oak_stripped_wood_from_stripped_log.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_wood_from_stripped_log" + }, + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_pale_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_pale_oak_log" + } + ], + "result": { + "item": "minecraft:stripped_pale_oak_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_trapdoor.json b/behavior_pack/recipes/pale_oak_trapdoor.json new file mode 100644 index 0000000..c3f9198 --- /dev/null +++ b/behavior_pack/recipes/pale_oak_trapdoor.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_trapdoor" + }, + "tags": [ "crafting_table" ], + "group": "wooden_trap_door", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_planks" + } + ], + "result": { + "item": "minecraft:pale_oak_trapdoor", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/pale_oak_wood_from_log.json b/behavior_pack/recipes/pale_oak_wood_from_log.json new file mode 100644 index 0000000..d148d0b --- /dev/null +++ b/behavior_pack/recipes/pale_oak_wood_from_log.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.30", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pale_oak_wood_from_log" + }, + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:pale_oak_log" + } + }, + "unlock": [ + { + "item": "minecraft:pale_oak_log" + } + ], + "result": { + "item": "minecraft:pale_oak_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/paper.json b/behavior_pack/recipes/paper.json new file mode 100644 index 0000000..f8ebaef --- /dev/null +++ b/behavior_pack/recipes/paper.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:paper" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:reeds" + } + }, + "unlock": [ + { + "item": "minecraft:reeds" + } + ], + "result": { + "item": "minecraft:paper", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/pillar_quartz_block.json b/behavior_pack/recipes/pillar_quartz_block.json new file mode 100644 index 0000000..93f3415 --- /dev/null +++ b/behavior_pack/recipes/pillar_quartz_block.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pillar_quartz_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:quartz_block", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_block", + "data": 2, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/pink_banner.json b/behavior_pack/recipes/pink_banner.json new file mode 100644 index 0000000..f38b758 --- /dev/null +++ b/behavior_pack/recipes/pink_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pink_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:pink_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:pink_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 9 + } + } +} diff --git a/behavior_pack/recipes/pink_candle.json b/behavior_pack/recipes/pink_candle.json new file mode 100644 index 0000000..32de03a --- /dev/null +++ b/behavior_pack/recipes/pink_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pink_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 9 + } + ], + "result": { + "item": "minecraft:pink_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/pink_carpet.json b/behavior_pack/recipes/pink_carpet.json new file mode 100644 index 0000000..a3711a8 --- /dev/null +++ b/behavior_pack/recipes/pink_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pink_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:pink_wool" + } + }, + "unlock": [ + { + "item": "minecraft:pink_wool" + } + ], + "result": { + "item": "minecraft:pink_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/pink_carpet_from_white.json b/behavior_pack/recipes/pink_carpet_from_white.json new file mode 100644 index 0000000..239a8b5 --- /dev/null +++ b/behavior_pack/recipes/pink_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pink_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:pink_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:pink_dye" + } + ], + "result": { + "item": "minecraft:pink_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/pink_concrete_powder.json b/behavior_pack/recipes/pink_concrete_powder.json new file mode 100644 index 0000000..d1c8297 --- /dev/null +++ b/behavior_pack/recipes/pink_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pink_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:pink_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:pink_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/pink_dye.json b/behavior_pack/recipes/pink_dye.json new file mode 100644 index 0000000..8e7b7fd --- /dev/null +++ b/behavior_pack/recipes/pink_dye.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pink_dye" + }, + + + "tags": [ "crafting_table" ], + "group": "pink_dye", + "ingredients": [ + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:dye", + "data": 9, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/pink_dye_from_peony.json b/behavior_pack/recipes/pink_dye_from_peony.json new file mode 100644 index 0000000..01f5ca8 --- /dev/null +++ b/behavior_pack/recipes/pink_dye_from_peony.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pink_dye_from_peony" + }, + + + "tags": [ "crafting_table" ], + "group": "pink_dye", + "ingredients": [ + { + "item": "minecraft:peony" + } + ], + "unlock": [ + { + "item": "minecraft:peony" + } + ], + "result": { + "item": "minecraft:pink_dye", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/pink_dye_from_pink_petals.json b/behavior_pack/recipes/pink_dye_from_pink_petals.json new file mode 100644 index 0000000..cf9e859 --- /dev/null +++ b/behavior_pack/recipes/pink_dye_from_pink_petals.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pink_dye_from_pink_petals" + }, + "tags": [ + "crafting_table" + ], + "group": "pink_dye", + "ingredients": [ + { + "item": "minecraft:pink_petals" + } + ], + "unlock": [ + { + "item": "minecraft:pink_petals" + } + ], + "result": { + "item": "minecraft:pink_dye" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/pink_dye_from_pink_tulip.json b/behavior_pack/recipes/pink_dye_from_pink_tulip.json new file mode 100644 index 0000000..7c5f92a --- /dev/null +++ b/behavior_pack/recipes/pink_dye_from_pink_tulip.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pink_dye_from_pink_tulip" + }, + + + "tags": [ "crafting_table" ], + "group": "pink_dye", + "ingredients": [ + { + "item": "minecraft:pink_tulip" + } + ], + "unlock": [ + { + "item": "minecraft:pink_tulip" + } + ], + "result": { + "item": "minecraft:dye", + "data": 9 + } + } +} diff --git a/behavior_pack/recipes/pink_dye_from_red_bonemeal.json b/behavior_pack/recipes/pink_dye_from_red_bonemeal.json new file mode 100644 index 0000000..bb29fba --- /dev/null +++ b/behavior_pack/recipes/pink_dye_from_red_bonemeal.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pink_dye_from_red_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "pink_dye", + "ingredients": [ + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 1 + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 9, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/pink_stained_glass.json b/behavior_pack/recipes/pink_stained_glass.json new file mode 100644 index 0000000..927e793 --- /dev/null +++ b/behavior_pack/recipes/pink_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pink_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:pink_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:pink_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/pink_stained_glass_pane.json b/behavior_pack/recipes/pink_stained_glass_pane.json new file mode 100644 index 0000000..1ae64d2 --- /dev/null +++ b/behavior_pack/recipes/pink_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pink_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:pink_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:pink_stained_glass" + } + ], + "result": { + "item": "minecraft:pink_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/pink_stained_glass_pane_from_pane.json b/behavior_pack/recipes/pink_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..a61f162 --- /dev/null +++ b/behavior_pack/recipes/pink_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pink_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:pink_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:pink_dye" + } + ], + "result": { + "item": "minecraft:pink_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/pink_stained_hardened_clay.json b/behavior_pack/recipes/pink_stained_hardened_clay.json new file mode 100644 index 0000000..bbfcc86 --- /dev/null +++ b/behavior_pack/recipes/pink_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pink_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:pink_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:pink_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/piston.json b/behavior_pack/recipes/piston.json new file mode 100644 index 0000000..b83a9b9 --- /dev/null +++ b/behavior_pack/recipes/piston.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:piston" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BCB", + "BDB" + ], + "key": { + "A": { + "tag": "minecraft:planks" + }, + "B": { + "item": "cobblestone" + }, + "C": { + "item": "iron_ingot" + }, + "D": { + "item": "redstone" + } + }, + "unlock": [ + { + "item": "minecraft:redstone" + } + ], + "result": { + "item": "piston", + "count": 1, + "data": 1 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/piston_from_crimson_planks.json b/behavior_pack/recipes/piston_from_crimson_planks.json new file mode 100644 index 0000000..4c27c3c --- /dev/null +++ b/behavior_pack/recipes/piston_from_crimson_planks.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:piston_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BCB", + "BDB" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "cobblestone" + }, + "C": { + "item": "iron_ingot" + }, + "D": { + "item": "redstone" + } + }, + "result": { + "item": "piston", + "count": 1, + "data": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/piston_from_mangrove_planks.json b/behavior_pack/recipes/piston_from_mangrove_planks.json new file mode 100644 index 0000000..725897a --- /dev/null +++ b/behavior_pack/recipes/piston_from_mangrove_planks.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:piston_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BCB", + "BDB" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "cobblestone" + }, + "C": { + "item": "iron_ingot" + }, + "D": { + "item": "redstone" + } + }, + "result": { + "item": "piston", + "count": 1, + "data": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/piston_from_warped_planks.json b/behavior_pack/recipes/piston_from_warped_planks.json new file mode 100644 index 0000000..fee4d3d --- /dev/null +++ b/behavior_pack/recipes/piston_from_warped_planks.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:piston_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "BCB", + "BDB" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "cobblestone" + }, + "C": { + "item": "iron_ingot" + }, + "D": { + "item": "redstone" + } + }, + "result": { + "item": "piston", + "count": 1, + "data": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/polished_andesite.json b/behavior_pack/recipes/polished_andesite.json new file mode 100644 index 0000000..b2c5659 --- /dev/null +++ b/behavior_pack/recipes/polished_andesite.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_andesite" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "SS", + "SS" + ], + "key": { + "S": { + "item": "minecraft:andesite" + } + }, + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:polished_andesite", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_andesite_stairs.json b/behavior_pack/recipes/polished_andesite_stairs.json new file mode 100644 index 0000000..50de0f3 --- /dev/null +++ b/behavior_pack/recipes/polished_andesite_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_andesite_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_andesite" + } + }, + "unlock": [ + { + "item": "minecraft:polished_andesite" + } + ], + "result": { + "item": "minecraft:polished_andesite_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_basalt.json b/behavior_pack/recipes/polished_basalt.json new file mode 100644 index 0000000..fb20fde --- /dev/null +++ b/behavior_pack/recipes/polished_basalt.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_basalt" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:basalt" + } + }, + "unlock": [ + { + "item": "minecraft:basalt" + } + ], + "result": { + "item": "minecraft:polished_basalt", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone.json b/behavior_pack/recipes/polished_blackstone.json new file mode 100644 index 0000000..6fd6836 --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_brick_slab.json b/behavior_pack/recipes/polished_blackstone_brick_slab.json new file mode 100644 index 0000000..c46fe65 --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_brick_slab.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_brick_slab" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_brick_stairs.json b/behavior_pack/recipes/polished_blackstone_brick_stairs.json new file mode 100644 index 0000000..e309ace --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_brick_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_brick_stairs" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_brick_wall.json b/behavior_pack/recipes/polished_blackstone_brick_wall.json new file mode 100644 index 0000000..8601bfe --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_brick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_brick_wall" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_bricks.json b/behavior_pack/recipes/polished_blackstone_bricks.json new file mode 100644 index 0000000..583c1b7 --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_bricks.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_bricks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_bricks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_button.json b/behavior_pack/recipes/polished_blackstone_button.json new file mode 100644 index 0000000..db8451d --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_button.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_button" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_button" + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_pressure_plate.json b/behavior_pack/recipes/polished_blackstone_pressure_plate.json new file mode 100644 index 0000000..73a80bb --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_pressure_plate.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_pressure_plate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_slab.json b/behavior_pack/recipes/polished_blackstone_slab.json new file mode 100644 index 0000000..29fd746 --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_slab.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_slab" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_stairs.json b/behavior_pack/recipes/polished_blackstone_stairs.json new file mode 100644 index 0000000..9ec593a --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_stairs" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_blackstone_wall.json b/behavior_pack/recipes/polished_blackstone_wall.json new file mode 100644 index 0000000..f065801 --- /dev/null +++ b/behavior_pack/recipes/polished_blackstone_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_blackstone_wall" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/polished_deepslate.json b/behavior_pack/recipes/polished_deepslate.json new file mode 100644 index 0000000..c7a8005 --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_deepslate" + }, + "key": { + "S": { + "item": "minecraft:cobbled_deepslate" + } + }, + "pattern": [ + "SS", + "SS" + ], + "priority": 1, + "result": { + "count": 4, + "item": "minecraft:polished_deepslate" + }, + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_from_cobbled_deepslate_stonecutting.json b/behavior_pack/recipes/polished_deepslate_from_cobbled_deepslate_stonecutting.json new file mode 100644 index 0000000..04a9dc5 --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_from_cobbled_deepslate_stonecutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:polished_deepslate_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:polished_deepslate" + }, + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_slab.json b/behavior_pack/recipes/polished_deepslate_slab.json new file mode 100644 index 0000000..22fb839 --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_deepslate_slab" + }, + "key": { + "#": { + "item": "minecraft:polished_deepslate" + } + }, + "pattern": [ + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:polished_deepslate_slab" + }, + "unlock": [ + { + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_slab_from_cobbled_deepslate_stonecut.json b/behavior_pack/recipes/polished_deepslate_slab_from_cobbled_deepslate_stonecut.json new file mode 100644 index 0000000..ae0eb73 --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_slab_from_cobbled_deepslate_stonecut.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:polished_deepslate_slab_from_cobbled_deepslate_stonecut" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:polished_deepslate_slab" + }, + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_slab_from_polished_deepslate_cutting.json b/behavior_pack/recipes/polished_deepslate_slab_from_polished_deepslate_cutting.json new file mode 100644 index 0000000..1af5896 --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_slab_from_polished_deepslate_cutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:polished_deepslate_slab_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "unlock": [ + { + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 2, + "data": 0, + "item": "minecraft:polished_deepslate_slab" + }, + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_stairs.json b/behavior_pack/recipes/polished_deepslate_stairs.json new file mode 100644 index 0000000..493355c --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_deepslate_stairs" + }, + "key": { + "#": { + "item": "minecraft:polished_deepslate" + } + }, + "pattern": [ + "# ", + "## ", + "###" + ], + "priority": 1, + "result": { + "count": 4, + "item": "minecraft:polished_deepslate_stairs" + }, + "unlock": [ + { + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_stairs_from_cobbled_deepslate_cutting.json b/behavior_pack/recipes/polished_deepslate_stairs_from_cobbled_deepslate_cutting.json new file mode 100644 index 0000000..bbb265b --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_stairs_from_cobbled_deepslate_cutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:polished_deepslate_stairs_from_cobbled_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:polished_deepslate_stairs" + }, + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_stairs_from_polished_deepslate_cutting.json b/behavior_pack/recipes/polished_deepslate_stairs_from_polished_deepslate_cutting.json new file mode 100644 index 0000000..28fbcce --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_stairs_from_polished_deepslate_cutting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:polished_deepslate_stairs_from_polished_deepslate_stonecutting" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "unlock": [ + { + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:polished_deepslate_stairs" + }, + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_wall.json b/behavior_pack/recipes/polished_deepslate_wall.json new file mode 100644 index 0000000..4692a90 --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_wall.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_deepslate_wall" + }, + "key": { + "#": { + "item": "minecraft:polished_deepslate" + } + }, + "pattern": [ + "###", + "###" + ], + "priority": 1, + "result": { + "count": 6, + "item": "minecraft:polished_deepslate_wall" + }, + "unlock": [ + { + "item": "minecraft:polished_deepslate" + } + ], + "tags": [ + "crafting_table" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_wall_from_cobbled_deepslate_stonecut.json b/behavior_pack/recipes/polished_deepslate_wall_from_cobbled_deepslate_stonecut.json new file mode 100644 index 0000000..efbde4c --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_wall_from_cobbled_deepslate_stonecut.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:polished_deepslate_wall_from_cobbled_deepslate_stonecut" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:cobbled_deepslate" + } + ], + "unlock": [ + { + "item": "minecraft:cobbled_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:polished_deepslate_wall" + }, + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/polished_deepslate_wall_from_polished_deepslate_stonecut.json b/behavior_pack/recipes/polished_deepslate_wall_from_polished_deepslate_stonecut.json new file mode 100644 index 0000000..670a1bc --- /dev/null +++ b/behavior_pack/recipes/polished_deepslate_wall_from_polished_deepslate_stonecut.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:polished_deepslate_wall_from_polished_deepslate_stonecut" + }, + "ingredients": [ + { + "data": 0, + "item": "minecraft:polished_deepslate" + } + ], + "unlock": [ + { + "item": "minecraft:polished_deepslate" + } + ], + "priority": 0, + "result": { + "count": 1, + "data": 0, + "item": "minecraft:polished_deepslate_wall" + }, + "tags": [ + "stonecutter" + ] + } +} diff --git a/behavior_pack/recipes/polished_diorite.json b/behavior_pack/recipes/polished_diorite.json new file mode 100644 index 0000000..9b16239 --- /dev/null +++ b/behavior_pack/recipes/polished_diorite.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_diorite" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "SS", + "SS" + ], + "key": { + "S": { + "item": "minecraft:diorite" + } + }, + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:polished_diorite", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_diorite_stairs.json b/behavior_pack/recipes/polished_diorite_stairs.json new file mode 100644 index 0000000..d51badf --- /dev/null +++ b/behavior_pack/recipes/polished_diorite_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_diorite_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_diorite" + } + }, + "unlock": [ + { + "item": "minecraft:polished_diorite" + } + ], + "result": { + "item": "minecraft:polished_diorite_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_granite.json b/behavior_pack/recipes/polished_granite.json new file mode 100644 index 0000000..3ccb3f2 --- /dev/null +++ b/behavior_pack/recipes/polished_granite.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_granite" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "SS", + "SS" + ], + "key": { + "S": { + "item": "minecraft:granite" + } + }, + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:polished_granite", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_granite_stairs.json b/behavior_pack/recipes/polished_granite_stairs.json new file mode 100644 index 0000000..2be94dc --- /dev/null +++ b/behavior_pack/recipes/polished_granite_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_granite_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_granite" + } + }, + "unlock": [ + { + "item": "minecraft:polished_granite" + } + ], + "result": { + "item": "minecraft:polished_granite_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_tuff.json b/behavior_pack/recipes/polished_tuff.json new file mode 100644 index 0000000..803f201 --- /dev/null +++ b/behavior_pack/recipes/polished_tuff.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_tuff" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:tuff" + } + }, + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/polished_tuff_slab.json b/behavior_pack/recipes/polished_tuff_slab.json new file mode 100644 index 0000000..9f94aba --- /dev/null +++ b/behavior_pack/recipes/polished_tuff_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_tuff_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:polished_tuff" + } + }, + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_slab", + "count": 6 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/polished_tuff_stairs.json b/behavior_pack/recipes/polished_tuff_stairs.json new file mode 100644 index 0000000..cf88d53 --- /dev/null +++ b/behavior_pack/recipes/polished_tuff_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_tuff_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:polished_tuff" + } + }, + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_stairs", + "count": 4 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/polished_tuff_wall.json b/behavior_pack/recipes/polished_tuff_wall.json new file mode 100644 index 0000000..6ee6746 --- /dev/null +++ b/behavior_pack/recipes/polished_tuff_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:polished_tuff_wall" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:polished_tuff" + } + }, + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/prismarine.json b/behavior_pack/recipes/prismarine.json new file mode 100644 index 0000000..3cddf65 --- /dev/null +++ b/behavior_pack/recipes/prismarine.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:prismarine" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "SS", + "SS" + ], + "key": { + "S": { + "item": "minecraft:prismarine_shard" + } + }, + "unlock": [ + { + "item": "minecraft:prismarine_shard" + } + ], + "result": { + "item": "minecraft:prismarine", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/prismarine_bricks.json b/behavior_pack/recipes/prismarine_bricks.json new file mode 100644 index 0000000..2bdab24 --- /dev/null +++ b/behavior_pack/recipes/prismarine_bricks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:prismarine_bricks" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "SSS", + "SSS", + "SSS" + ], + "key": { + "S": { + "item": "minecraft:prismarine_shard" + } + }, + "unlock": [ + { + "item": "minecraft:prismarine_shard" + } + ], + "result": { + "item": "minecraft:prismarine_bricks" + } + } +} diff --git a/behavior_pack/recipes/prismarine_stairs.json b/behavior_pack/recipes/prismarine_stairs.json new file mode 100644 index 0000000..b6d0786 --- /dev/null +++ b/behavior_pack/recipes/prismarine_stairs.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:prismarine_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:prismarine", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "result": { + "item": "minecraft:prismarine_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/prismarine_stairs_bricks.json b/behavior_pack/recipes/prismarine_stairs_bricks.json new file mode 100644 index 0000000..e039169 --- /dev/null +++ b/behavior_pack/recipes/prismarine_stairs_bricks.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:prismarine_stairs_bricks" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:prismarine_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:prismarine_bricks" + } + ], + "result": { + "item": "minecraft:prismarine_bricks_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/prismarine_stairs_dark.json b/behavior_pack/recipes/prismarine_stairs_dark.json new file mode 100644 index 0000000..7920ce6 --- /dev/null +++ b/behavior_pack/recipes/prismarine_stairs_dark.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:prismarine_stairs_dark" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:dark_prismarine" + } + }, + "unlock": [ + { + "item": "minecraft:dark_prismarine" + } + ], + "result": { + "item": "minecraft:dark_prismarine_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/prismarine_wall.json b/behavior_pack/recipes/prismarine_wall.json new file mode 100644 index 0000000..826c087 --- /dev/null +++ b/behavior_pack/recipes/prismarine_wall.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:prismarine_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:prismarine", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "result": { + "item": "minecraft:prismarine_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/pumpkin_pie.json b/behavior_pack/recipes/pumpkin_pie.json new file mode 100644 index 0000000..28045d8 --- /dev/null +++ b/behavior_pack/recipes/pumpkin_pie.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:pumpkin_pie" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:pumpkin" + }, + { + "item": "minecraft:sugar" + }, + { + "item": "minecraft:egg" + } + ], + "unlock": [ + { + "item": "minecraft:pumpkin" + }, + { + "item": "minecraft:carved_pumpkin" + } + ], + "result": { + "item": "minecraft:pumpkin_pie" + } + } +} diff --git a/behavior_pack/recipes/pumpkin_seeds.json b/behavior_pack/recipes/pumpkin_seeds.json new file mode 100644 index 0000000..378abe6 --- /dev/null +++ b/behavior_pack/recipes/pumpkin_seeds.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pumpkin_seeds" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "M" + ], + "key": { + "M": { + "item": "minecraft:pumpkin" + } + }, + "unlock": [ + { + "item": "minecraft:pumpkin" + } + ], + "result": { + "item": "minecraft:pumpkin_seeds", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/purple_banner.json b/behavior_pack/recipes/purple_banner.json new file mode 100644 index 0000000..6add358 --- /dev/null +++ b/behavior_pack/recipes/purple_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purple_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:purple_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:purple_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 5 + } + } +} diff --git a/behavior_pack/recipes/purple_candle.json b/behavior_pack/recipes/purple_candle.json new file mode 100644 index 0000000..73f90d2 --- /dev/null +++ b/behavior_pack/recipes/purple_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:purple_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 5 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 5 + } + ], + "result": { + "item": "minecraft:purple_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/purple_carpet.json b/behavior_pack/recipes/purple_carpet.json new file mode 100644 index 0000000..7c1dad6 --- /dev/null +++ b/behavior_pack/recipes/purple_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purple_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:purple_wool" + } + }, + "unlock": [ + { + "item": "minecraft:purple_wool" + } + ], + "result": { + "item": "minecraft:purple_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/purple_carpet_from_white.json b/behavior_pack/recipes/purple_carpet_from_white.json new file mode 100644 index 0000000..2933682 --- /dev/null +++ b/behavior_pack/recipes/purple_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purple_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:purple_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:purple_dye" + } + ], + "result": { + "item": "minecraft:purple_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/purple_concrete_powder.json b/behavior_pack/recipes/purple_concrete_powder.json new file mode 100644 index 0000000..e623e62 --- /dev/null +++ b/behavior_pack/recipes/purple_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:purple_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:purple_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:purple_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/purple_dye.json b/behavior_pack/recipes/purple_dye.json new file mode 100644 index 0000000..1693784 --- /dev/null +++ b/behavior_pack/recipes/purple_dye.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:purple_dye" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 18 + }, + { + "item": "minecraft:dye", + "data": 1 + } + ], + "result": { + "item": "minecraft:dye", + "data": 5, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/purple_dye_from_lapis_lazuli.json b/behavior_pack/recipes/purple_dye_from_lapis_lazuli.json new file mode 100644 index 0000000..90f81d7 --- /dev/null +++ b/behavior_pack/recipes/purple_dye_from_lapis_lazuli.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:purple_dye_from_lapis_lazuli" + }, + + + "tags": [ "crafting_table" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 4 + }, + { + "item": "minecraft:dye", + "data": 1 + } + ], + "result": { + "item": "minecraft:dye", + "data": 5, + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/purple_stained_glass.json b/behavior_pack/recipes/purple_stained_glass.json new file mode 100644 index 0000000..5ab2a06 --- /dev/null +++ b/behavior_pack/recipes/purple_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purple_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:purple_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:purple_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/purple_stained_glass_pane.json b/behavior_pack/recipes/purple_stained_glass_pane.json new file mode 100644 index 0000000..d10a473 --- /dev/null +++ b/behavior_pack/recipes/purple_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purple_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:purple_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:purple_stained_glass" + } + ], + "result": { + "item": "minecraft:purple_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/purple_stained_glass_pane_from_pane.json b/behavior_pack/recipes/purple_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..b2411f2 --- /dev/null +++ b/behavior_pack/recipes/purple_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purple_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:purple_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:purple_dye" + } + ], + "result": { + "item": "minecraft:purple_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/purple_stained_hardened_clay.json b/behavior_pack/recipes/purple_stained_hardened_clay.json new file mode 100644 index 0000000..0911dab --- /dev/null +++ b/behavior_pack/recipes/purple_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purple_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:purple_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:purple_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/purpur_block.json b/behavior_pack/recipes/purpur_block.json new file mode 100644 index 0000000..9577d7d --- /dev/null +++ b/behavior_pack/recipes/purpur_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purpur_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "FF", + "FF" + ], + "key": { + "F": { + "item": "minecraft:chorus_fruit_popped" + } + }, + "unlock": [ + { + "item": "minecraft:chorus_fruit_popped" + } + ], + "result": { + "item": "minecraft:purpur_block", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/purpur_slab.json b/behavior_pack/recipes/purpur_slab.json new file mode 100644 index 0000000..32ae63e --- /dev/null +++ b/behavior_pack/recipes/purpur_slab.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purpur_slab" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:purpur_pillar" + } + }, + "unlock": [ + { + "item": "minecraft:purpur_pillar" + } + ], + "result": { + "item": "minecraft:purpur_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/purpur_stairs.json b/behavior_pack/recipes/purpur_stairs.json new file mode 100644 index 0000000..a556bfc --- /dev/null +++ b/behavior_pack/recipes/purpur_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:purpur_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:purpur_block" + } + }, + "unlock": [ + { + "item": "minecraft:purpur_block" + } + ], + "result": { + "item": "minecraft:purpur_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/quartz_block.json b/behavior_pack/recipes/quartz_block.json new file mode 100644 index 0000000..a12007e --- /dev/null +++ b/behavior_pack/recipes/quartz_block.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:quartz_block" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:quartz" + } + }, + "unlock": [ + { + "item": "minecraft:quartz" + } + ], + "result": { + "item": "minecraft:quartz_block" + } + } +} diff --git a/behavior_pack/recipes/quartz_bricks.json b/behavior_pack/recipes/quartz_bricks.json new file mode 100644 index 0000000..ad0adef --- /dev/null +++ b/behavior_pack/recipes/quartz_bricks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:quartz_bricks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:quartz_block", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_bricks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/quartz_pillar.json b/behavior_pack/recipes/quartz_pillar.json new file mode 100644 index 0000000..77c92af --- /dev/null +++ b/behavior_pack/recipes/quartz_pillar.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:pillar_quartz_block" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:quartz_block", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_pillar", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/quartz_stairs.json b/behavior_pack/recipes/quartz_stairs.json new file mode 100644 index 0000000..b21228d --- /dev/null +++ b/behavior_pack/recipes/quartz_stairs.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:quartz_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:quartz_block", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/rabbit_stew_from_brown_mushroom.json b/behavior_pack/recipes/rabbit_stew_from_brown_mushroom.json new file mode 100644 index 0000000..6108c1a --- /dev/null +++ b/behavior_pack/recipes/rabbit_stew_from_brown_mushroom.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:rabbit_stew_from_brown_mushroom" + }, + + + "tags": [ "crafting_table" ], + "group": "rabbit_stew", + "ingredients": [ + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:baked_potato" + }, + { + "item": "minecraft:carrot" + }, + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:cooked_rabbit" + } + ], + "unlock": [ + { + "item": "minecraft:cooked_rabbit" + } + ], + "result": { + "item": "minecraft:rabbit_stew" + } + } +} diff --git a/behavior_pack/recipes/rabbit_stew_from_red_mushroom.json b/behavior_pack/recipes/rabbit_stew_from_red_mushroom.json new file mode 100644 index 0000000..ae99c5c --- /dev/null +++ b/behavior_pack/recipes/rabbit_stew_from_red_mushroom.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:rabbit_stew_from_red_mushroom" + }, + + + "tags": [ "crafting_table" ], + "group": "rabbit_stew", + "ingredients": [ + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:baked_potato" + }, + { + "item": "minecraft:carrot" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:cooked_rabbit" + } + ], + "unlock": [ + { + "item": "minecraft:cooked_rabbit" + } + ], + "result": { + "item": "minecraft:rabbit_stew" + } + } +} diff --git a/behavior_pack/recipes/rail.json b/behavior_pack/recipes/rail.json new file mode 100644 index 0000000..51b9200 --- /dev/null +++ b/behavior_pack/recipes/rail.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:rail" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X X", + "X#X", + "X X" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:minecart" + } + ], + "result": { + "item": "minecraft:rail", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/raiser_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/raiser_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..79b45b0 --- /dev/null +++ b/behavior_pack/recipes/raiser_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:raiser_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:raiser_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:hardened_clay" + } + }, + "unlock": [ + { + "item": "minecraft:raiser_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:raiser_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/raw_copper.json b/behavior_pack/recipes/raw_copper.json new file mode 100644 index 0000000..33844ad --- /dev/null +++ b/behavior_pack/recipes/raw_copper.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:raw_copper" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:raw_copper_block" + } + }, + "unlock": [ + { + "item": "minecraft:raw_copper_block" + } + ], + "result": { + "item": "minecraft:raw_copper", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/raw_copper_block.json b/behavior_pack/recipes/raw_copper_block.json new file mode 100644 index 0000000..ac2cd34 --- /dev/null +++ b/behavior_pack/recipes/raw_copper_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:raw_copper_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:raw_copper" + } + }, + "unlock": [ + { + "item": "minecraft:raw_copper" + } + ], + "result": { + "item": "minecraft:raw_copper_block" + } + } +} diff --git a/behavior_pack/recipes/raw_gold.json b/behavior_pack/recipes/raw_gold.json new file mode 100644 index 0000000..39ed47f --- /dev/null +++ b/behavior_pack/recipes/raw_gold.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:raw_gold" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:raw_gold_block" + } + }, + "unlock": [ + { + "item": "minecraft:raw_gold_block" + } + ], + "result": { + "item": "minecraft:raw_gold", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/raw_gold_block.json b/behavior_pack/recipes/raw_gold_block.json new file mode 100644 index 0000000..f54360a --- /dev/null +++ b/behavior_pack/recipes/raw_gold_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:raw_gold_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:raw_gold" + } + }, + "unlock": [ + { + "item": "minecraft:raw_gold" + } + ], + "result": { + "item": "minecraft:raw_gold_block" + } + } +} diff --git a/behavior_pack/recipes/raw_iron.json b/behavior_pack/recipes/raw_iron.json new file mode 100644 index 0000000..9c7e801 --- /dev/null +++ b/behavior_pack/recipes/raw_iron.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:raw_iron" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:raw_iron_block" + } + }, + "unlock": [ + { + "item": "minecraft:raw_iron_block" + } + ], + "result": { + "item": "minecraft:raw_iron", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/raw_iron_block.json b/behavior_pack/recipes/raw_iron_block.json new file mode 100644 index 0000000..5ce8b1d --- /dev/null +++ b/behavior_pack/recipes/raw_iron_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:raw_iron_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:raw_iron" + } + }, + "unlock": [ + { + "item": "minecraft:raw_iron" + } + ], + "result": { + "item": "minecraft:raw_iron_block" + } + } +} diff --git a/behavior_pack/recipes/record_5.json b/behavior_pack/recipes/record_5.json new file mode 100644 index 0000000..f59b305 --- /dev/null +++ b/behavior_pack/recipes/record_5.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:record_5" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + "AAA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:disc_fragment_5" + } + }, + "unlock": [ + { + "item": "minecraft:disc_fragment_5" + } + ], + "result": { + "item": "minecraft:record_5", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/recovery_compass.json b/behavior_pack/recipes/recovery_compass.json new file mode 100644 index 0000000..3640af5 --- /dev/null +++ b/behavior_pack/recipes/recovery_compass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:recovery_compass" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "SSS", + "SCS", + "SSS" + ], + "key": { + "S": { + "item": "minecraft:echo_shard" + }, + "C": { + "item": "minecraft:compass" + } + }, + "unlock": [ + { + "item": "minecraft:echo_shard" + } + ], + "result": { + "item": "minecraft:recovery_compass", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/recovery_compass_from_lodestone_compass.json b/behavior_pack/recipes/recovery_compass_from_lodestone_compass.json new file mode 100644 index 0000000..26e5663 --- /dev/null +++ b/behavior_pack/recipes/recovery_compass_from_lodestone_compass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:recovery_compass_from_lodestone_compass" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "SSS", + "SCS", + "SSS" + ], + "key": { + "S": { + "item": "minecraft:echo_shard" + }, + "C": { + "item": "minecraft:lodestone_compass" + } + }, + "unlock": [ + { + "item": "minecraft:echo_shard" + } + ], + "result": { + "item": "minecraft:recovery_compass", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/red_banner.json b/behavior_pack/recipes/red_banner.json new file mode 100644 index 0000000..1aaeb6e --- /dev/null +++ b/behavior_pack/recipes/red_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:red_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:red_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/red_candle.json b/behavior_pack/recipes/red_candle.json new file mode 100644 index 0000000..5779646 --- /dev/null +++ b/behavior_pack/recipes/red_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:red_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 1 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 1 + } + ], + "result": { + "item": "minecraft:red_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/red_carpet.json b/behavior_pack/recipes/red_carpet.json new file mode 100644 index 0000000..aa5cd13 --- /dev/null +++ b/behavior_pack/recipes/red_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:red_wool" + } + }, + "unlock": [ + { + "item": "minecraft:red_wool" + } + ], + "result": { + "item": "minecraft:red_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/red_carpet_from_white.json b/behavior_pack/recipes/red_carpet_from_white.json new file mode 100644 index 0000000..a5983b7 --- /dev/null +++ b/behavior_pack/recipes/red_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:red_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:red_dye" + } + ], + "result": { + "item": "minecraft:red_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/red_concrete_powder.json b/behavior_pack/recipes/red_concrete_powder.json new file mode 100644 index 0000000..2481936 --- /dev/null +++ b/behavior_pack/recipes/red_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:red_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:red_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:red_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/red_dye_from_beetroot.json b/behavior_pack/recipes/red_dye_from_beetroot.json new file mode 100644 index 0000000..e435365 --- /dev/null +++ b/behavior_pack/recipes/red_dye_from_beetroot.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:red_dye_from_beetroot" + }, + "tags": [ "crafting_table" ], + "group": "red_dye", + "ingredients": [ + { + "item": "minecraft:beetroot" + } + ], + "unlock": [ + { + "item": "minecraft:beetroot" + } + ], + "result": { + "item": "minecraft:dye", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/red_dye_from_poppy.json b/behavior_pack/recipes/red_dye_from_poppy.json new file mode 100644 index 0000000..df7694f --- /dev/null +++ b/behavior_pack/recipes/red_dye_from_poppy.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:red_dye_from_poppy" + }, + "tags": [ "crafting_table" ], + "group": "red_dye", + "ingredients": [ + { + "item": "minecraft:poppy" + } + ], + "unlock": [ + { + "item": "minecraft:poppy" + } + ], + "result": { + "item": "minecraft:dye", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/red_dye_from_rose_bush.json b/behavior_pack/recipes/red_dye_from_rose_bush.json new file mode 100644 index 0000000..73a4428 --- /dev/null +++ b/behavior_pack/recipes/red_dye_from_rose_bush.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:red_dye_from_rose_bush" + }, + "tags": [ "crafting_table" ], + "group": "red_dye", + "ingredients": [ + { + "item": "minecraft:rose_bush" + } + ], + "unlock": [ + { + "item": "minecraft:rose_bush" + } + ], + "result": { + "item": "minecraft:red_dye", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/red_dye_from_tulip.json b/behavior_pack/recipes/red_dye_from_tulip.json new file mode 100644 index 0000000..c8dd470 --- /dev/null +++ b/behavior_pack/recipes/red_dye_from_tulip.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:red_dye_from_tulip" + }, + "tags": [ "crafting_table" ], + "group": "red_dye", + "ingredients": [ + { + "item": "minecraft:red_tulip" + } + ], + "unlock": [ + { + "item": "minecraft:red_tulip" + } + ], + "result": { + "item": "minecraft:dye", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/red_nether_brick.json b/behavior_pack/recipes/red_nether_brick.json new file mode 100644 index 0000000..ce61312 --- /dev/null +++ b/behavior_pack/recipes/red_nether_brick.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_nether_brick" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "NW", + "WN" + ], + "key": { + "W": { + "item": "minecraft:nether_wart" + }, + "N": { + "item": "minecraft:netherbrick" + } + }, + "unlock": [ + { + "item": "minecraft:nether_wart" + } + ], + "result": { + "item": "minecraft:red_nether_brick" + } + } +} diff --git a/behavior_pack/recipes/red_nether_brick_stairs.json b/behavior_pack/recipes/red_nether_brick_stairs.json new file mode 100644 index 0000000..684c912 --- /dev/null +++ b/behavior_pack/recipes/red_nether_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_nether_brick_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:red_nether_brick" + } + }, + "unlock": [ + { + "item": "minecraft:red_nether_brick" + } + ], + "result": { + "item": "minecraft:red_nether_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/red_nether_brick_wall.json b/behavior_pack/recipes/red_nether_brick_wall.json new file mode 100644 index 0000000..8bc9fda --- /dev/null +++ b/behavior_pack/recipes/red_nether_brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_nether_brick_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:red_nether_brick" + } + }, + "unlock": [ + { + "item": "minecraft:red_nether_brick" + } + ], + "result": { + "item": "minecraft:red_nether_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/red_sandstone.json b/behavior_pack/recipes/red_sandstone.json new file mode 100644 index 0000000..a81525c --- /dev/null +++ b/behavior_pack/recipes/red_sandstone.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_sandstone" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:red_sand" + } + }, + "unlock": [ + { + "item": "minecraft:red_sand" + } + ], + "result": { + "item": "minecraft:red_sandstone" + } + } +} diff --git a/behavior_pack/recipes/red_sandstone_stairs.json b/behavior_pack/recipes/red_sandstone_stairs.json new file mode 100644 index 0000000..24b52c7 --- /dev/null +++ b/behavior_pack/recipes/red_sandstone_stairs.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_sandstone_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:red_sandstone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:red_sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/red_sandstone_stairs_from_chiseled.json b/behavior_pack/recipes/red_sandstone_stairs_from_chiseled.json new file mode 100644 index 0000000..e459346 --- /dev/null +++ b/behavior_pack/recipes/red_sandstone_stairs_from_chiseled.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_sandstone_stairs_from_chiseled" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:chiseled_red_sandstone" + } + }, + "unlock": [ + { + "item": "minecraft:chiseled_red_sandstone" + } + ], + "result": { + "item": "minecraft:red_sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/red_sandstone_stairs_from_cut.json b/behavior_pack/recipes/red_sandstone_stairs_from_cut.json new file mode 100644 index 0000000..da38559 --- /dev/null +++ b/behavior_pack/recipes/red_sandstone_stairs_from_cut.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_sandstone_stairs_from_cut" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:cut_red_sandstone" + } + }, + "unlock": [ + { + "item": "minecraft:cut_red_sandstone" + } + ], + "result": { + "item": "minecraft:red_sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/red_sandstone_wall.json b/behavior_pack/recipes/red_sandstone_wall.json new file mode 100644 index 0000000..3277acb --- /dev/null +++ b/behavior_pack/recipes/red_sandstone_wall.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_sandstone_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:red_sandstone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:red_sandstone_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/red_stained_glass.json b/behavior_pack/recipes/red_stained_glass.json new file mode 100644 index 0000000..4d692bb --- /dev/null +++ b/behavior_pack/recipes/red_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:red_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:red_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/red_stained_glass_pane.json b/behavior_pack/recipes/red_stained_glass_pane.json new file mode 100644 index 0000000..17dc57e --- /dev/null +++ b/behavior_pack/recipes/red_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:red_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:red_stained_glass" + } + ], + "result": { + "item": "minecraft:red_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/red_stained_glass_pane_from_pane.json b/behavior_pack/recipes/red_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..7b62fe6 --- /dev/null +++ b/behavior_pack/recipes/red_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:red_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:red_dye" + } + ], + "result": { + "item": "minecraft:red_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/red_stained_hardened_clay.json b/behavior_pack/recipes/red_stained_hardened_clay.json new file mode 100644 index 0000000..6d3f0c5 --- /dev/null +++ b/behavior_pack/recipes/red_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:red_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:red_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:red_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/redstone.json b/behavior_pack/recipes/redstone.json new file mode 100644 index 0000000..d7f806b --- /dev/null +++ b/behavior_pack/recipes/redstone.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:redstone" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:redstone_block" + } + }, + "unlock": [ + { + "item": "minecraft:redstone_block" + } + ], + "result": { + "item": "minecraft:redstone", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/redstone_block.json b/behavior_pack/recipes/redstone_block.json new file mode 100644 index 0000000..2f4e0e4 --- /dev/null +++ b/behavior_pack/recipes/redstone_block.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:redstone_block" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:redstone" + } + }, + "unlock": [ + { + "item": "minecraft:redstone" + } + ], + "result": { + "item": "minecraft:redstone_block" + } + } +} diff --git a/behavior_pack/recipes/redstone_lamp.json b/behavior_pack/recipes/redstone_lamp.json new file mode 100644 index 0000000..20b0730 --- /dev/null +++ b/behavior_pack/recipes/redstone_lamp.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:redstone_lamp" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " R ", + "RGR", + " R " + ], + "key": { + "R": { + "item": "minecraft:redstone" + }, + "G": { + "item": "minecraft:glowstone" + } + }, + "unlock": [ + { + "item": "minecraft:glowstone" + } + ], + "result": { + "item": "minecraft:redstone_lamp" + } + } +} diff --git a/behavior_pack/recipes/redstone_torch.json b/behavior_pack/recipes/redstone_torch.json new file mode 100644 index 0000000..2762b4c --- /dev/null +++ b/behavior_pack/recipes/redstone_torch.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:redstone_torch" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:redstone" + } + }, + "unlock": [ + { + "item": "minecraft:redstone" + } + ], + "result": { + "item": "minecraft:redstone_torch" + } + } +} diff --git a/behavior_pack/recipes/reducer_andesite_slab.json b/behavior_pack/recipes/reducer_andesite_slab.json new file mode 100644 index 0000000..6a1c5bd --- /dev/null +++ b/behavior_pack/recipes/reducer_andesite_slab.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab3:3" + }, + "input" : "minecraft:andesite_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_andesite_slab_polished.json b/behavior_pack/recipes/reducer_andesite_slab_polished.json new file mode 100644 index 0000000..74a1257 --- /dev/null +++ b/behavior_pack/recipes/reducer_andesite_slab_polished.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab3:2" + }, + "input" : "minecraft:polished_andesite_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_andesite_stairs.json b/behavior_pack/recipes/reducer_andesite_stairs.json new file mode 100644 index 0000000..88bda05 --- /dev/null +++ b/behavior_pack/recipes/reducer_andesite_stairs.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:andesite_stairs" + //andisite stairs + }, + "input" : "minecraft:andesite_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_andesite_stairs_polished.json b/behavior_pack/recipes/reducer_andesite_stairs_polished.json new file mode 100644 index 0000000..5b5a295 --- /dev/null +++ b/behavior_pack/recipes/reducer_andesite_stairs_polished.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:polished_andesite_stairs" + //andisite stairs + }, + "input" : "minecraft:polished_andesite_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_andesite_wall.json b/behavior_pack/recipes/reducer_andesite_wall.json new file mode 100644 index 0000000..7c3294e --- /dev/null +++ b/behavior_pack/recipes/reducer_andesite_wall.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone_wall:4" + }, + "input" : "minecraft:andesite_wall", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_bucket_lava.json b/behavior_pack/recipes/reducer_bucket_lava.json new file mode 100644 index 0000000..9b61071 --- /dev/null +++ b/behavior_pack/recipes/reducer_bucket_lava.json @@ -0,0 +1,48 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:bucket:10" + }, + "input" : "minecraft:bucket:10", + "output" : [ + { + "count" : 47, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:bucket" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_bucket_water.json b/behavior_pack/recipes/reducer_bucket_water.json new file mode 100644 index 0000000..a7c29a2 --- /dev/null +++ b/behavior_pack/recipes/reducer_bucket_water.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:bucket:8" + }, + "input" : "minecraft:bucket:8", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_1" + }, + { + "count" : 3, + "item" : "minecraft:element_1" + }, + { + "count" : 33, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:bucket" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_chiseled_quartz_block.json b/behavior_pack/recipes/reducer_chiseled_quartz_block.json new file mode 100644 index 0000000..8f34af9 --- /dev/null +++ b/behavior_pack/recipes/reducer_chiseled_quartz_block.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_material_reduction": { + "description": { + "identifier": "minecraft:chiseled_quartz_block" + }, + "input": "minecraft:chiseled_quartz_block", + "output": [ + { + "count": 33, + "item": "minecraft:element_14" + }, + { + "count": 64, + "item": "minecraft:element_8" + }, + { + "count": 3, + "item": "minecraft:element_8" + } + ], + "tags": "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_clay_block.json b/behavior_pack/recipes/reducer_clay_block.json new file mode 100644 index 0000000..0787d80 --- /dev/null +++ b/behavior_pack/recipes/reducer_clay_block.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:clay" + }, + "input" : "minecraft:clay", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_coal_block.json b/behavior_pack/recipes/reducer_coal_block.json new file mode 100644 index 0000000..fc95298 --- /dev/null +++ b/behavior_pack/recipes/reducer_coal_block.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:coal_block" + }, + "input" : "minecraft:coal_block", + "output" : [ + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 50, + "item" : "minecraft:element_6" + }, + { + "count" : 43, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_coal_gem.json b/behavior_pack/recipes/reducer_coal_gem.json new file mode 100644 index 0000000..9c91d10 --- /dev/null +++ b/behavior_pack/recipes/reducer_coal_gem.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:coal" + }, + "input" : "minecraft:coal", + "output" : [ + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 50, + "item" : "minecraft:element_6" + }, + { + "count" : 43, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_coal_ore.json b/behavior_pack/recipes/reducer_coal_ore.json new file mode 100644 index 0000000..4f69b10 --- /dev/null +++ b/behavior_pack/recipes/reducer_coal_ore.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:coal_ore" + }, + "input" : "minecraft:coal_ore", + "output" : [ + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 50, + "item" : "minecraft:element_6" + }, + { + "count" : 43, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_block.json b/behavior_pack/recipes/reducer_cobblestone_block.json new file mode 100644 index 0000000..be99038 --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_block.json @@ -0,0 +1,45 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone" + //cobblestone block + }, + "input" : "minecraft:cobblestone", + "output" : [ + { + "count" : 47, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_block_mossy.json b/behavior_pack/recipes/reducer_cobblestone_block_mossy.json new file mode 100644 index 0000000..1fb9166 --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_block_mossy.json @@ -0,0 +1,49 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:mossy_cobblestone" + //Mossy cobblestone block + }, + "input" : "minecraft:mossy_cobblestone", + "output" : [ + { + "count" : 45, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + }, + { + "count" : 2, + "item" : "minecraft:element_6" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_slab.json b/behavior_pack/recipes/reducer_cobblestone_slab.json new file mode 100644 index 0000000..51a5d03 --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_slab.json @@ -0,0 +1,45 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab:3" + //Cobblestone slab + }, + "input" : "minecraft:cobblestone_slab", + "output" : [ + { + "count" : 47, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_slab_mossy.json b/behavior_pack/recipes/reducer_cobblestone_slab_mossy.json new file mode 100644 index 0000000..dc58ec4 --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_slab_mossy.json @@ -0,0 +1,50 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:mossy_cobblestone_slab" + //stone slabs2 contains the slabs: red sandstone, Purpur, Prismarine, DarkPrismarine + //Prismarine Bricks, Mossy Cobblestone, Smooth Sandstone, Red Nether Brick + }, + "input" : "minecraft:mossy_cobblestone_slab", + "output" : [ + { + "count" : 45, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + }, + { + "count" : 2, + "item" : "minecraft:element_6" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_stairs.json b/behavior_pack/recipes/reducer_cobblestone_stairs.json new file mode 100644 index 0000000..f1434be --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_stairs.json @@ -0,0 +1,45 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_stairs" + //only cobblestone stairs + }, + "input" : "minecraft:stone_stairs", + "output" : [ + { + "count" : 47, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_stairs_mossy.json b/behavior_pack/recipes/reducer_cobblestone_stairs_mossy.json new file mode 100644 index 0000000..e8c993b --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_stairs_mossy.json @@ -0,0 +1,48 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:mossy_cobblestone_stairs" + }, + "input" : "minecraft:mossy_cobblestone_stairs", + "output" : [ + { + "count" : 45, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + }, + { + "count" : 2, + "item" : "minecraft:element_6" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_wall.json b/behavior_pack/recipes/reducer_cobblestone_wall.json new file mode 100644 index 0000000..e281b84 --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_wall.json @@ -0,0 +1,44 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone_wall:0" + }, + "input" : "minecraft:cobblestone_wall:0", + "output" : [ + { + "count" : 47, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_cobblestone_wall_mossy.json b/behavior_pack/recipes/reducer_cobblestone_wall_mossy.json new file mode 100644 index 0000000..de6dfaf --- /dev/null +++ b/behavior_pack/recipes/reducer_cobblestone_wall_mossy.json @@ -0,0 +1,48 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone_wall:1" + }, + "input" : "minecraft:mossy_cobblestone_wall", + "output" : [ + { + "count" : 45, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + }, + { + "count" : 2, + "item" : "minecraft:element_6" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diamond_block.json b/behavior_pack/recipes/reducer_diamond_block.json new file mode 100644 index 0000000..f1bb145 --- /dev/null +++ b/behavior_pack/recipes/reducer_diamond_block.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:diamond_block" + }, + "input" : "minecraft:diamond_block", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_6" + }, + { + "count" : 36, + "item" : "minecraft:element_6" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diamond_gem.json b/behavior_pack/recipes/reducer_diamond_gem.json new file mode 100644 index 0000000..0109e88 --- /dev/null +++ b/behavior_pack/recipes/reducer_diamond_gem.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:diamond" + }, + "input" : "minecraft:diamond", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_6" + }, + { + "count" : 36, + "item" : "minecraft:element_6" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diamond_ore.json b/behavior_pack/recipes/reducer_diamond_ore.json new file mode 100644 index 0000000..705fac0 --- /dev/null +++ b/behavior_pack/recipes/reducer_diamond_ore.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:diamond_ore" + }, + "input" : "minecraft:diamond_ore", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_6" + }, + { + "count" : 12, + "item" : "minecraft:element_14" + }, + { + "count" : 24, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diorite_slab.json b/behavior_pack/recipes/reducer_diorite_slab.json new file mode 100644 index 0000000..7b39e62 --- /dev/null +++ b/behavior_pack/recipes/reducer_diorite_slab.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab3:4" + }, + "input" : "minecraft:diorite_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diorite_slab_polished.json b/behavior_pack/recipes/reducer_diorite_slab_polished.json new file mode 100644 index 0000000..6580554 --- /dev/null +++ b/behavior_pack/recipes/reducer_diorite_slab_polished.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab3:5" + }, + "input" : "minecraft:polished_diorite_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diorite_stairs.json b/behavior_pack/recipes/reducer_diorite_stairs.json new file mode 100644 index 0000000..a855a95 --- /dev/null +++ b/behavior_pack/recipes/reducer_diorite_stairs.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:diorite_stairs" + //diorite stairs + }, + "input" : "minecraft:diorite_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diorite_stairs_polished.json b/behavior_pack/recipes/reducer_diorite_stairs_polished.json new file mode 100644 index 0000000..ca27844 --- /dev/null +++ b/behavior_pack/recipes/reducer_diorite_stairs_polished.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:polished_diorite_stairs" + //diorite stairs + }, + "input" : "minecraft:polished_diorite_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_diorite_wall.json b/behavior_pack/recipes/reducer_diorite_wall.json new file mode 100644 index 0000000..aba5e3c --- /dev/null +++ b/behavior_pack/recipes/reducer_diorite_wall.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone_wall:3" + }, + "input" : "minecraft:diorite_wall", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_dirt.json b/behavior_pack/recipes/reducer_dirt.json new file mode 100644 index 0000000..237803f --- /dev/null +++ b/behavior_pack/recipes/reducer_dirt.json @@ -0,0 +1,51 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:dirt:0" + }, + "input": { + "item": "minecraft:dirt", + "data": 0 + }, + "output" : [ + { + "count" : 21, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_15" + }, + { + "count" : 3, + "item" : "minecraft:element_7" + }, + { + "count" : 13, + "item" : "minecraft:element_26" + }, + { + "count" : 6, + "item" : "minecraft:element_12" + }, + { + "count" : 2, + "item" : "minecraft:element_30" + }, + { + "count" : 2, + "item" : "minecraft:element_29" + }, + { + "count" : 42, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_emerald_block.json b/behavior_pack/recipes/reducer_emerald_block.json new file mode 100644 index 0000000..b42b65f --- /dev/null +++ b/behavior_pack/recipes/reducer_emerald_block.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:emerald_block" + }, + "input" : "minecraft:emerald_block", + "output" : [ + { + "count" : 15, + "item" : "minecraft:element_13" + }, + { + "count" : 25, + "item" : "minecraft:element_4" + }, + { + "count" : 20, + "item" : "minecraft:element_14" + }, + { + "count" : 40, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_emerald_gem.json b/behavior_pack/recipes/reducer_emerald_gem.json new file mode 100644 index 0000000..a02d98d --- /dev/null +++ b/behavior_pack/recipes/reducer_emerald_gem.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:emerald" + }, + "input" : "minecraft:emerald", + "output" : [ + { + "count" : 15, + "item" : "minecraft:element_13" + }, + { + "count" : 25, + "item" : "minecraft:element_4" + }, + { + "count" : 20, + "item" : "minecraft:element_14" + }, + { + "count" : 40, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_emerald_ore.json b/behavior_pack/recipes/reducer_emerald_ore.json new file mode 100644 index 0000000..77f57ae --- /dev/null +++ b/behavior_pack/recipes/reducer_emerald_ore.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:emerald_ore" + }, + "input" : "minecraft:emerald_ore", + "output" : [ + { + "count" : 15, + "item" : "minecraft:element_13" + }, + { + "count" : 25, + "item" : "minecraft:element_4" + }, + { + "count" : 20, + "item" : "minecraft:element_14" + }, + { + "count" : 40, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_end_stone.json b/behavior_pack/recipes/reducer_end_stone.json new file mode 100644 index 0000000..b74c31b --- /dev/null +++ b/behavior_pack/recipes/reducer_end_stone.json @@ -0,0 +1,36 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:end_stone" + }, + "input" : "minecraft:end_stone", + "output" : [ + { + "count" : 59, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_6" + }, + { + "count" : 11, + "item" : "minecraft:element_0" + }, + { + "count" : 7, + "item" : "minecraft:element_0" + }, + { + "count" : 3, + "item" : "minecraft:element_0" + }, + { + "count" : 7, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_glowstone.json b/behavior_pack/recipes/reducer_glowstone.json new file mode 100644 index 0000000..9401007 --- /dev/null +++ b/behavior_pack/recipes/reducer_glowstone.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:glowstone" + }, + "input" : "minecraft:glowstone", + "output" : [ + { + "count" : 20, + "item" : "minecraft:element_18" + }, + { + "count" : 20, + "item" : "minecraft:element_5" + }, + { + "count" : 20, + "item" : "minecraft:element_36" + }, + { + "count" : 20, + "item" : "minecraft:element_10" + }, + { + "count" : 20, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_glowstone_gem.json b/behavior_pack/recipes/reducer_glowstone_gem.json new file mode 100644 index 0000000..73813c8 --- /dev/null +++ b/behavior_pack/recipes/reducer_glowstone_gem.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:glowstone_dust" + }, + "input" : "minecraft:glowstone_dust", + "output" : [ + { + "count" : 20, + "item" : "minecraft:element_18" + }, + { + "count" : 20, + "item" : "minecraft:element_5" + }, + { + "count" : 20, + "item" : "minecraft:element_36" + }, + { + "count" : 20, + "item" : "minecraft:element_10" + }, + { + "count" : 20, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_gold_block.json b/behavior_pack/recipes/reducer_gold_block.json new file mode 100644 index 0000000..3e09259 --- /dev/null +++ b/behavior_pack/recipes/reducer_gold_block.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:gold_block" + }, + "input" : "minecraft:gold_block", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_79" + }, + { + "count" : 36, + "item" : "minecraft:element_79" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_gold_ingot.json b/behavior_pack/recipes/reducer_gold_ingot.json new file mode 100644 index 0000000..7ddf265 --- /dev/null +++ b/behavior_pack/recipes/reducer_gold_ingot.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:gold_ingot" + }, + "input" : "minecraft:gold_ingot", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_79" + }, + { + "count" : 36, + "item" : "minecraft:element_79" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_gold_nugget.json b/behavior_pack/recipes/reducer_gold_nugget.json new file mode 100644 index 0000000..25b2c0b --- /dev/null +++ b/behavior_pack/recipes/reducer_gold_nugget.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:gold_nugget" + }, + "input" : "minecraft:gold_nugget", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_79" + }, + { + "count" : 36, + "item" : "minecraft:element_79" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_gold_ore.json b/behavior_pack/recipes/reducer_gold_ore.json new file mode 100644 index 0000000..8c82820 --- /dev/null +++ b/behavior_pack/recipes/reducer_gold_ore.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:gold_ore" + }, + "input" : "minecraft:gold_ore", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_79" + }, + { + "count" : 12, + "item" : "minecraft:element_14" + }, + { + "count" : 24, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_granite_slab.json b/behavior_pack/recipes/reducer_granite_slab.json new file mode 100644 index 0000000..3a4ffe5 --- /dev/null +++ b/behavior_pack/recipes/reducer_granite_slab.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab3:6" + }, + "input" : "minecraft:granite_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_granite_slab_polished.json b/behavior_pack/recipes/reducer_granite_slab_polished.json new file mode 100644 index 0000000..1df30cc --- /dev/null +++ b/behavior_pack/recipes/reducer_granite_slab_polished.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab3:7" + }, + "input" : "minecraft:polished_granite_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_granite_stairs.json b/behavior_pack/recipes/reducer_granite_stairs.json new file mode 100644 index 0000000..20255fd --- /dev/null +++ b/behavior_pack/recipes/reducer_granite_stairs.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:granite_stairs" + //granite stairs + }, + "input" : "minecraft:granite_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_granite_stairs_polished.json b/behavior_pack/recipes/reducer_granite_stairs_polished.json new file mode 100644 index 0000000..ddead3b --- /dev/null +++ b/behavior_pack/recipes/reducer_granite_stairs_polished.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:polished_granite_stairs" + //granite stairs polished + }, + "input" : "minecraft:polished_granite_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_granite_wall.json b/behavior_pack/recipes/reducer_granite_wall.json new file mode 100644 index 0000000..33dce60 --- /dev/null +++ b/behavior_pack/recipes/reducer_granite_wall.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone_wall:2" + }, + "input" : "minecraft:granite_wall", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_grass.json b/behavior_pack/recipes/reducer_grass.json new file mode 100644 index 0000000..a1b1210 --- /dev/null +++ b/behavior_pack/recipes/reducer_grass.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:grass" + }, + "input" : "minecraft:grass", + "output" : [ + { + "count" : 15, + "item" : "minecraft:element_6" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 6, + "item" : "minecraft:element_8" + }, + { + "count" : 8, + "item" : "minecraft:element_7" + }, + { + "count" : 7, + "item" : "minecraft:element_15" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_gravel.json b/behavior_pack/recipes/reducer_gravel.json new file mode 100644 index 0000000..c4bc03f --- /dev/null +++ b/behavior_pack/recipes/reducer_gravel.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:gravel" + }, + "input" : "minecraft:gravel", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_ice.json b/behavior_pack/recipes/reducer_ice.json new file mode 100644 index 0000000..f1ac30e --- /dev/null +++ b/behavior_pack/recipes/reducer_ice.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:ice" + }, + "input" : "minecraft:ice", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_1" + }, + { + "count" : 3, + "item" : "minecraft:element_1" + }, + { + "count" : 33, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_ice_blue.json b/behavior_pack/recipes/reducer_ice_blue.json new file mode 100644 index 0000000..0361a98 --- /dev/null +++ b/behavior_pack/recipes/reducer_ice_blue.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:blue_ice" + }, + "input" : "minecraft:blue_ice", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_1" + }, + { + "count" : 3, + "item" : "minecraft:element_1" + }, + { + "count" : 33, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_iron_block.json b/behavior_pack/recipes/reducer_iron_block.json new file mode 100644 index 0000000..c436b2c --- /dev/null +++ b/behavior_pack/recipes/reducer_iron_block.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:iron_block" + }, + "input" : "minecraft:iron_block", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_26" + }, + { + "count" : 36, + "item" : "minecraft:element_26" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_iron_ingot.json b/behavior_pack/recipes/reducer_iron_ingot.json new file mode 100644 index 0000000..642808c --- /dev/null +++ b/behavior_pack/recipes/reducer_iron_ingot.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:iron_ingot" + }, + "input" : "minecraft:iron_ingot", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_26" + }, + { + "count" : 36, + "item" : "minecraft:element_26" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_iron_nugget.json b/behavior_pack/recipes/reducer_iron_nugget.json new file mode 100644 index 0000000..2d05fc8 --- /dev/null +++ b/behavior_pack/recipes/reducer_iron_nugget.json @@ -0,0 +1,20 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:iron_nugget" + }, + "input" : "minecraft:iron_nugget", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_26" + }, + { + "count" : 36, + "item" : "minecraft:element_26" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_iron_ore.json b/behavior_pack/recipes/reducer_iron_ore.json new file mode 100644 index 0000000..b33d63a --- /dev/null +++ b/behavior_pack/recipes/reducer_iron_ore.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:iron_ore" + }, + "input" : "minecraft:iron_ore", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_26" + }, + { + "count" : 12, + "item" : "minecraft:element_14" + }, + { + "count" : 24, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_lapis_block.json b/behavior_pack/recipes/reducer_lapis_block.json new file mode 100644 index 0000000..e43624a --- /dev/null +++ b/behavior_pack/recipes/reducer_lapis_block.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:lapis_block" + }, + "input" : "minecraft:lapis_block", + "output" : [ + { + "count" : 13, + "item" : "minecraft:element_11" + }, + { + "count" : 8, + "item" : "minecraft:element_16" + }, + { + "count" : 13, + "item" : "minecraft:element_13" + }, + { + "count" : 53, + "item" : "minecraft:element_8" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_lapis_gem.json b/behavior_pack/recipes/reducer_lapis_gem.json new file mode 100644 index 0000000..5ebe675 --- /dev/null +++ b/behavior_pack/recipes/reducer_lapis_gem.json @@ -0,0 +1,33 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:dye:4" + //lapis lazuli gem + }, + "input" : "minecraft:dye:4", + "output" : [ + { + "count" : 13, + "item" : "minecraft:element_11" + }, + { + "count" : 8, + "item" : "minecraft:element_16" + }, + { + "count" : 13, + "item" : "minecraft:element_13" + }, + { + "count" : 53, + "item" : "minecraft:element_8" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_lapis_ore.json b/behavior_pack/recipes/reducer_lapis_ore.json new file mode 100644 index 0000000..a0e4413 --- /dev/null +++ b/behavior_pack/recipes/reducer_lapis_ore.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:lapis_ore" + }, + "input" : "minecraft:lapis_ore", + "output" : [ + { + "count" : 13, + "item" : "minecraft:element_11" + }, + { + "count" : 8, + "item" : "minecraft:element_16" + }, + { + "count" : 13, + "item" : "minecraft:element_13" + }, + { + "count" : 53, + "item" : "minecraft:element_8" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_magma.json b/behavior_pack/recipes/reducer_magma.json new file mode 100644 index 0000000..d937e1b --- /dev/null +++ b/behavior_pack/recipes/reducer_magma.json @@ -0,0 +1,44 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:magma" + }, + "input" : "minecraft:magma", + "output" : [ + { + "count" : 47, + "item" : "minecraft:element_8" + }, + { + "count" : 28, + "item" : "minecraft:element_14" + }, + { + "count" : 8, + "item" : "minecraft:element_13" + }, + { + "count" : 5, + "item" : "minecraft:element_26" + }, + { + "count" : 4, + "item" : "minecraft:element_20" + }, + { + "count" : 3, + "item" : "minecraft:element_11" + }, + { + "count" : 3, + "item" : "minecraft:element_19" + }, + { + "count" : 2, + "item" : "minecraft:element_12" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_mycelium.json b/behavior_pack/recipes/reducer_mycelium.json new file mode 100644 index 0000000..cf4566d --- /dev/null +++ b/behavior_pack/recipes/reducer_mycelium.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:mycelium" + }, + "input" : "minecraft:mycelium", + "output" : [ + { + "count" : 15, + "item" : "minecraft:element_6" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 6, + "item" : "minecraft:element_8" + }, + { + "count" : 8, + "item" : "minecraft:element_7" + }, + { + "count" : 7, + "item" : "minecraft:element_15" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_netherrack.json b/behavior_pack/recipes/reducer_netherrack.json new file mode 100644 index 0000000..3c21935 --- /dev/null +++ b/behavior_pack/recipes/reducer_netherrack.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:netherrack" + }, + "input" : "minecraft:netherrack", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 18, + "item" : "minecraft:element_8" + }, + { + "count" : 15, + "item" : "minecraft:element_80" + }, + { + "count" : 3, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_obsidian.json b/behavior_pack/recipes/reducer_obsidian.json new file mode 100644 index 0000000..d788185 --- /dev/null +++ b/behavior_pack/recipes/reducer_obsidian.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:obsidian" + }, + "input" : "minecraft:obsidian", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_packed_ice.json b/behavior_pack/recipes/reducer_packed_ice.json new file mode 100644 index 0000000..258f021 --- /dev/null +++ b/behavior_pack/recipes/reducer_packed_ice.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:packed_ice" + }, + "input" : "minecraft:packed_ice", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_1" + }, + { + "count" : 3, + "item" : "minecraft:element_1" + }, + { + "count" : 33, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_block.json b/behavior_pack/recipes/reducer_quartz_block.json new file mode 100644 index 0000000..9256d7f --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_block.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_material_reduction": { + "description": { + "identifier": "minecraft:quartz_block" + }, + "input": "minecraft:quartz_block:0", + "output": [ + { + "count": 33, + "item": "minecraft:element_14" + }, + { + "count": 64, + "item": "minecraft:element_8" + }, + { + "count": 3, + "item": "minecraft:element_8" + } + ], + "tags": "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_gem.json b/behavior_pack/recipes/reducer_quartz_gem.json new file mode 100644 index 0000000..f8f624f --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_gem.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:quartz" + //Nether quartz gems + }, + "input" : "minecraft:quartz", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_ore.json b/behavior_pack/recipes/reducer_quartz_ore.json new file mode 100644 index 0000000..3280dd4 --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_ore.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:quartz_ore" + }, + "input" : "minecraft:quartz_ore", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_pillar.json b/behavior_pack/recipes/reducer_quartz_pillar.json new file mode 100644 index 0000000..f2786e1 --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_pillar.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_material_reduction": { + "description": { + "identifier": "minecraft:quartz_pillar" + }, + "input": "minecraft:quartz_pillar", + "output": [ + { + "count": 33, + "item": "minecraft:element_14" + }, + { + "count": 64, + "item": "minecraft:element_8" + }, + { + "count": 3, + "item": "minecraft:element_8" + } + ], + "tags": "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_slab.json b/behavior_pack/recipes/reducer_quartz_slab.json new file mode 100644 index 0000000..bbc7d1b --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_slab.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab:6" + //Quarts slab + }, + "input" : "minecraft:quartz_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_slab_smooth.json b/behavior_pack/recipes/reducer_quartz_slab_smooth.json new file mode 100644 index 0000000..2ab9f4f --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_slab_smooth.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab4:1" + //Quarts slab smooth + }, + "input" : "minecraft:smooth_quartz_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_stairs.json b/behavior_pack/recipes/reducer_quartz_stairs.json new file mode 100644 index 0000000..d295ab0 --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_stairs.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:quartz_stairs" + //will only do quartz stairs if we want other variants of quarts stairs they will have to be built for each type + }, + "input" : "minecraft:quartz_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_quartz_stairs_smooth.json b/behavior_pack/recipes/reducer_quartz_stairs_smooth.json new file mode 100644 index 0000000..f9ac385 --- /dev/null +++ b/behavior_pack/recipes/reducer_quartz_stairs_smooth.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:smooth_quartz_stairs" + //will only do smooth quartz stairs if we want other variants of quarts stairs they will have to be built for each type + }, + "input" : "minecraft:smooth_quartz_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_redstone_block.json b/behavior_pack/recipes/reducer_redstone_block.json new file mode 100644 index 0000000..5326684 --- /dev/null +++ b/behavior_pack/recipes/reducer_redstone_block.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:redstone_block" + }, + "input" : "minecraft:redstone_block", + "output" : [ + { + "count" : 31, + "item" : "minecraft:element_6" + }, + { + "count" : 31, + "item" : "minecraft:element_92" + }, + { + "count" : 38, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_redstone_gem.json b/behavior_pack/recipes/reducer_redstone_gem.json new file mode 100644 index 0000000..52016d8 --- /dev/null +++ b/behavior_pack/recipes/reducer_redstone_gem.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:redstone" + }, + "input" : "minecraft:redstone", + "output" : [ + { + "count" : 31, + "item" : "minecraft:element_6" + }, + { + "count" : 31, + "item" : "minecraft:element_92" + }, + { + "count" : 38, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_redstone_ore.json b/behavior_pack/recipes/reducer_redstone_ore.json new file mode 100644 index 0000000..36b6395 --- /dev/null +++ b/behavior_pack/recipes/reducer_redstone_ore.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:redstone_ore" + }, + "input" : "minecraft:redstone_ore", + "output" : [ + { + "count" : 31, + "item" : "minecraft:element_6" + }, + { + "count" : 31, + "item" : "minecraft:element_92" + }, + { + "count" : 38, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sand_block.json b/behavior_pack/recipes/reducer_sand_block.json new file mode 100644 index 0000000..c07a691 --- /dev/null +++ b/behavior_pack/recipes/reducer_sand_block.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:sand" + }, + "input" : "minecraft:sand:0", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sand_block_red.json b/behavior_pack/recipes/reducer_sand_block_red.json new file mode 100644 index 0000000..3bfbcf5 --- /dev/null +++ b/behavior_pack/recipes/reducer_sand_block_red.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:sand:1" + }, + "input" : "minecraft:red_sand", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block.json b/behavior_pack/recipes/reducer_sandstone_block.json new file mode 100644 index 0000000..5241e78 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block.json @@ -0,0 +1,27 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:sandstone" + }, + "input": { + "item": "minecraft:sandstone", + "data": 0 + }, + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block_chiseled.json b/behavior_pack/recipes/reducer_sandstone_block_chiseled.json new file mode 100644 index 0000000..ab71402 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block_chiseled.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:sandstone:1" + }, + "input" : "minecraft:chiseled_sandstone", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block_chiseled_red.json b/behavior_pack/recipes/reducer_sandstone_block_chiseled_red.json new file mode 100644 index 0000000..59a2396 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block_chiseled_red.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:red_sandstone:1" + }, + "input" : { + "item" : "minecraft:chiseled_red_sandstone" + },"output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block_cut.json b/behavior_pack/recipes/reducer_sandstone_block_cut.json new file mode 100644 index 0000000..3dbc2dc --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block_cut.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:sandstone:2" + }, + "input" : "minecraft:cut_sandstone", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block_cut_red.json b/behavior_pack/recipes/reducer_sandstone_block_cut_red.json new file mode 100644 index 0000000..c4df945 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block_cut_red.json @@ -0,0 +1,26 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:red_sandstone:2" + }, + "input" : { + "item" : "minecraft:cut_red_sandstone" + }, + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block_red.json b/behavior_pack/recipes/reducer_sandstone_block_red.json new file mode 100644 index 0000000..1985681 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block_red.json @@ -0,0 +1,27 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:red_sandstone" + }, + "input" : { + "item" : "minecraft:red_sandstone", + "data" : 0 + }, + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block_smooth.json b/behavior_pack/recipes/reducer_sandstone_block_smooth.json new file mode 100644 index 0000000..2595422 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block_smooth.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:sandstone:3" + }, + "input" : "minecraft:smooth_sandstone", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_block_smooth_red.json b/behavior_pack/recipes/reducer_sandstone_block_smooth_red.json new file mode 100644 index 0000000..c3e2f4b --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_block_smooth_red.json @@ -0,0 +1,26 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:red_sandstone:3" + }, + "input" : { + "item" : "minecraft:smooth_red_sandstone" + }, + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_slab.json b/behavior_pack/recipes/reducer_sandstone_slab.json new file mode 100644 index 0000000..4147a33 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_slab.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab:1" + }, + "input" : "minecraft:sandstone_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_slab_cut.json b/behavior_pack/recipes/reducer_sandstone_slab_cut.json new file mode 100644 index 0000000..b66bead --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_slab_cut.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab4:3" + }, + "input" : "minecraft:cut_sandstone_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_slab_cut_red.json b/behavior_pack/recipes/reducer_sandstone_slab_cut_red.json new file mode 100644 index 0000000..5c2975c --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_slab_cut_red.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab4:4" + }, + "input" : "minecraft:cut_red_sandstone_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_slab_red.json b/behavior_pack/recipes/reducer_sandstone_slab_red.json new file mode 100644 index 0000000..0220bff --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_slab_red.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:red_standstone_slab" + }, + "input" : "minecraft:red_sandstone_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_slab_smooth.json b/behavior_pack/recipes/reducer_sandstone_slab_smooth.json new file mode 100644 index 0000000..a871e31 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_slab_smooth.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:smooth_sandstone_slab" + }, + "input" : "minecraft:smooth_sandstone_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_slab_smooth_red.json b/behavior_pack/recipes/reducer_sandstone_slab_smooth_red.json new file mode 100644 index 0000000..4a629f7 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_slab_smooth_red.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone_slab3:1" + }, + "input" : "minecraft:smooth_red_sandstone_slab", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_stairs.json b/behavior_pack/recipes/reducer_sandstone_stairs.json new file mode 100644 index 0000000..9a3b7b6 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:sandstone_stairs" + }, + "input" : "minecraft:sandstone_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_stairs_red.json b/behavior_pack/recipes/reducer_sandstone_stairs_red.json new file mode 100644 index 0000000..e54c5ba --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_stairs_red.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:red_sandstone_stairs" + }, + "input" : "minecraft:red_sandstone_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_stairs_smooth.json b/behavior_pack/recipes/reducer_sandstone_stairs_smooth.json new file mode 100644 index 0000000..7b04a4d --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_stairs_smooth.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:smooth_sandstone_stairs" + }, + "input" : "minecraft:smooth_sandstone_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_stairs_smooth_red.json b/behavior_pack/recipes/reducer_sandstone_stairs_smooth_red.json new file mode 100644 index 0000000..e967ad4 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_stairs_smooth_red.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:smooth_red_sandstone_stairs" + }, + "input" : "minecraft:smooth_red_sandstone_stairs", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_wall.json b/behavior_pack/recipes/reducer_sandstone_wall.json new file mode 100644 index 0000000..96502b3 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_wall.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone_wall:5" + }, + "input" : "minecraft:sandstone_wall", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_sandstone_wall_red.json b/behavior_pack/recipes/reducer_sandstone_wall_red.json new file mode 100644 index 0000000..f68e9c5 --- /dev/null +++ b/behavior_pack/recipes/reducer_sandstone_wall_red.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cobblestone_wall:12" + }, + "input" : "minecraft:red_sandstone_wall", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_smooth_quartz.json b/behavior_pack/recipes/reducer_smooth_quartz.json new file mode 100644 index 0000000..a0bb917 --- /dev/null +++ b/behavior_pack/recipes/reducer_smooth_quartz.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_material_reduction": { + "description": { + "identifier": "minecraft:smooth_quartz" + }, + "input": "minecraft:smooth_quartz", + "output": [ + { + "count": 33, + "item": "minecraft:element_14" + }, + { + "count": 64, + "item": "minecraft:element_8" + }, + { + "count": 3, + "item": "minecraft:element_8" + } + ], + "tags": "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_snow.json b/behavior_pack/recipes/reducer_snow.json new file mode 100644 index 0000000..c9881f2 --- /dev/null +++ b/behavior_pack/recipes/reducer_snow.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:snow" + }, + "input" : "minecraft:snow", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_1" + }, + { + "count" : 3, + "item" : "minecraft:element_1" + }, + { + "count" : 33, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_snow_layer.json b/behavior_pack/recipes/reducer_snow_layer.json new file mode 100644 index 0000000..be22d40 --- /dev/null +++ b/behavior_pack/recipes/reducer_snow_layer.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:snow_layer" + }, + "input" : "minecraft:snow_layer", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_1" + }, + { + "count" : 3, + "item" : "minecraft:element_1" + }, + { + "count" : 33, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_snowball.json b/behavior_pack/recipes/reducer_snowball.json new file mode 100644 index 0000000..a27a30d --- /dev/null +++ b/behavior_pack/recipes/reducer_snowball.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:snowball" + }, + "input" : "minecraft:snowball", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_1" + }, + { + "count" : 3, + "item" : "minecraft:element_1" + }, + { + "count" : 33, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_soul_sand.json b/behavior_pack/recipes/reducer_soul_sand.json new file mode 100644 index 0000000..7447a99 --- /dev/null +++ b/behavior_pack/recipes/reducer_soul_sand.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:soul_sand" + }, + "input" : "minecraft:soul_sand", + "output" : [ + { + "count" : 37, + "item" : "minecraft:element_14" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + }, + { + "count" : 29, + "item" : "minecraft:element_0" + }, + { + "count" : 1, + "item" : "minecraft:element_0" + }, + { + "count" : 30, + "item" : "minecraft:element_0" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_stone_block_all_group.json b/behavior_pack/recipes/reducer_stone_block_all_group.json new file mode 100644 index 0000000..73937ac --- /dev/null +++ b/behavior_pack/recipes/reducer_stone_block_all_group.json @@ -0,0 +1,30 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stone" + //Contains all stone objects: + //Change "minecraft:stone" to "minecraft:stone:aux value" + //Add aux values for each type of stone blocks + //stone block: 0, Granite block: 1, Polished Granite block: 2 + //Diorite block: 3, Polished Diorite block: 4, Andesite block: 5 + //Polished Adnesite block: 6 + }, + "input" : "minecraft:stone", + "output" : [ + { + "count" : 33, + "item" : "minecraft:element_14" + }, + { + "count" : 64, + "item" : "minecraft:element_8" + }, + { + "count" : 3, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_block.json b/behavior_pack/recipes/reducer_terracotta_block.json new file mode 100644 index 0000000..a27fd3f --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_block.json @@ -0,0 +1,41 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:hardened_clay" + //Hardened clay is terracotta - no color + }, + "input" : "minecraft:hardened_clay", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_block_all_colors.json b/behavior_pack/recipes/reducer_terracotta_block_all_colors.json new file mode 100644 index 0000000..17c2289 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_block_all_colors.json @@ -0,0 +1,43 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stained_hardened_clay" + //Change "minecraft:stained_hardened_clay" to "minecraft:stained_hardened_clay:aux value" + //Contains all colors of tarracotta block objects: + //Add aux values for each color of hardened_clay blocks + }, + "input" : "minecraft:stained_hardened_clay", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_black.json b/behavior_pack/recipes/reducer_terracotta_glazed_black.json new file mode 100644 index 0000000..2b30ae7 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_black.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:black_glazed_terracotta" + }, + "input" : "minecraft:black_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_blue.json b/behavior_pack/recipes/reducer_terracotta_glazed_blue.json new file mode 100644 index 0000000..770b2dd --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_blue.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:blue_glazed_terracotta" + }, + "input" : "minecraft:blue_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_blue_light.json b/behavior_pack/recipes/reducer_terracotta_glazed_blue_light.json new file mode 100644 index 0000000..b3fc75e --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_blue_light.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:light_blue_glazed_terracotta" + }, + "input" : "minecraft:light_blue_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_brown.json b/behavior_pack/recipes/reducer_terracotta_glazed_brown.json new file mode 100644 index 0000000..e7700d4 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_brown.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:brown_glazed_terracotta" + }, + "input" : "minecraft:brown_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_cyan.json b/behavior_pack/recipes/reducer_terracotta_glazed_cyan.json new file mode 100644 index 0000000..76725d5 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_cyan.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:cyan_glazed_terracotta" + }, + "input" : "minecraft:cyan_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_gray.json b/behavior_pack/recipes/reducer_terracotta_glazed_gray.json new file mode 100644 index 0000000..9be576a --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_gray.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:gray_glazed_terracotta" + }, + "input" : "minecraft:gray_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_green.json b/behavior_pack/recipes/reducer_terracotta_glazed_green.json new file mode 100644 index 0000000..8ebf58e --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_green.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:green_glazed_terracotta" + }, + "input" : "minecraft:green_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_lime.json b/behavior_pack/recipes/reducer_terracotta_glazed_lime.json new file mode 100644 index 0000000..19a25c8 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_lime.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:lime_glazed_terracotta" + }, + "input" : "minecraft:lime_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_magenta.json b/behavior_pack/recipes/reducer_terracotta_glazed_magenta.json new file mode 100644 index 0000000..acbf73c --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_magenta.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:magenta_glazed_terracotta" + }, + "input" : "minecraft:magenta_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_orange.json b/behavior_pack/recipes/reducer_terracotta_glazed_orange.json new file mode 100644 index 0000000..e38997d --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_orange.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:orange_glazed_terracotta" + }, + "input" : "minecraft:orange_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_pink.json b/behavior_pack/recipes/reducer_terracotta_glazed_pink.json new file mode 100644 index 0000000..a4cd1a6 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_pink.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:pink_glazed_terracotta" + }, + "input" : "minecraft:pink_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_purple.json b/behavior_pack/recipes/reducer_terracotta_glazed_purple.json new file mode 100644 index 0000000..7b5c5d7 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_purple.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:purple_glazed_terracotta" + }, + "input" : "minecraft:purple_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_red.json b/behavior_pack/recipes/reducer_terracotta_glazed_red.json new file mode 100644 index 0000000..51148d0 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_red.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:red_glazed_terracotta" + }, + "input" : "minecraft:red_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_silver.json b/behavior_pack/recipes/reducer_terracotta_glazed_silver.json new file mode 100644 index 0000000..ce2dad9 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_silver.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:silver_glazed_terracotta" + }, + "input" : "minecraft:silver_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_white.json b/behavior_pack/recipes/reducer_terracotta_glazed_white.json new file mode 100644 index 0000000..db7aefb --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_white.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:white_glazed_terracotta" + }, + "input" : "minecraft:white_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_terracotta_glazed_yellow.json b/behavior_pack/recipes/reducer_terracotta_glazed_yellow.json new file mode 100644 index 0000000..63b8469 --- /dev/null +++ b/behavior_pack/recipes/reducer_terracotta_glazed_yellow.json @@ -0,0 +1,41 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:yellow_glazed_terracotta" + //comments test comment does it break this json + }, + "input" : "minecraft:yellow_glazed_terracotta", + "output" : [ + { + "count" : 64, + "item" : "minecraft:element_14" + }, + { + "count" : 13, + "item" : "minecraft:element_14" + }, + { + "count" : 17, + "item" : "minecraft:element_13" + }, + { + "count" : 3, + "item" : "minecraft:element_26" + }, + { + "count" : 1, + "item" : "minecraft:element_12" + }, + { + "count" : 1, + "item" : "minecraft:element_20" + }, + { + "count" : 1, + "item" : "minecraft:element_8" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_block_and stripped_all.json b/behavior_pack/recipes/reducer_wood_block_and stripped_all.json new file mode 100644 index 0000000..dc551c3 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_block_and stripped_all.json @@ -0,0 +1,34 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:wood" + //Change "minecraft:wood" to "minecraft:wood:aux value" + //Contains all wood objects: + //Add aux values for each type of wood blocks + //oak:0, spruce:1, birch:2, jungle:3, acacia:4, dark oak:5 + //Add these aux values for each stripped wood blocks + //oak:8, spruce:9 , birch:10 , jungle:11 , acacia:12 , dark oak:13 + }, + "input" : "minecraft:wood", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_log_group1.json b/behavior_pack/recipes/reducer_wood_log_group1.json new file mode 100644 index 0000000..8fcea06 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_log_group1.json @@ -0,0 +1,33 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:log" + //Contains all log objects: + //Change "minecraft:log" to "minecraft:log:aux value" + //Add aux values for each type of log blocks + //oak:0, spruce:1, birch:2, jungle:3 + + }, + "input" : "minecraft:log", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_log_group2.json b/behavior_pack/recipes/reducer_wood_log_group2.json new file mode 100644 index 0000000..eebbd41 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_log_group2.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:log2" + //Contains all log2 objects: + //Change "minecraft:log2" to "minecraft:log2:aux value" + //Add aux values for each type of log2 blocks + //acecia: 0, dark oak: 1 + }, + "input" : "minecraft:log2", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_planks_all.json b/behavior_pack/recipes/reducer_wood_planks_all.json new file mode 100644 index 0000000..b5991a7 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_planks_all.json @@ -0,0 +1,33 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:planks" + //Change "minecraft:planks" to "minecraft:planks:aux value" + //Contains all planks objects: + //Add aux values for each type of planks blocks + //oak:0, spruce:1, birch:2, jungle:3, acacia:4, dark oak:5 + + }, + "input" : "minecraft:planks", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stairs_acacia.json b/behavior_pack/recipes/reducer_wood_stairs_acacia.json new file mode 100644 index 0000000..360dea3 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stairs_acacia.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:acacia_stairs" + }, + "input" : "minecraft:acacia_stairs", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stairs_birch.json b/behavior_pack/recipes/reducer_wood_stairs_birch.json new file mode 100644 index 0000000..49b00c1 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stairs_birch.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:birch_stairs" + }, + "input" : "minecraft:birch_stairs", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stairs_dark_oak.json b/behavior_pack/recipes/reducer_wood_stairs_dark_oak.json new file mode 100644 index 0000000..22a111e --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stairs_dark_oak.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:dark_oak_stairs" + }, + "input" : "minecraft:dark_oak_stairs", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stairs_jungle.json b/behavior_pack/recipes/reducer_wood_stairs_jungle.json new file mode 100644 index 0000000..9d0a2ec --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stairs_jungle.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:jungle_stairs" + }, + "input" : "minecraft:jungle_stairs", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stairs_oak.json b/behavior_pack/recipes/reducer_wood_stairs_oak.json new file mode 100644 index 0000000..6c15383 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stairs_oak.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:oak_stairs" + }, + "input" : "minecraft:oak_stairs", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stairs_spruce.json b/behavior_pack/recipes/reducer_wood_stairs_spruce.json new file mode 100644 index 0000000..bee9bfe --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stairs_spruce.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:spruce_stairs" + }, + "input" : "minecraft:spruce_stairs", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stripped_log_acacia.json b/behavior_pack/recipes/reducer_wood_stripped_log_acacia.json new file mode 100644 index 0000000..547cbcd --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stripped_log_acacia.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stripped_acacia_log" + }, + "input" : "minecraft:stripped_acacia_log", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stripped_log_birch.json b/behavior_pack/recipes/reducer_wood_stripped_log_birch.json new file mode 100644 index 0000000..490379a --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stripped_log_birch.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stripped_birch_log" + }, + "input" : "minecraft:stripped_birch_log", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stripped_log_dark_oak.json b/behavior_pack/recipes/reducer_wood_stripped_log_dark_oak.json new file mode 100644 index 0000000..80d1bdc --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stripped_log_dark_oak.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stripped_dark_oak_log" + }, + "input" : "minecraft:stripped_dark_oak_log", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stripped_log_jungle.json b/behavior_pack/recipes/reducer_wood_stripped_log_jungle.json new file mode 100644 index 0000000..faf09c5 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stripped_log_jungle.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stripped_jungle_log" + }, + "input" : "minecraft:stripped_jungle_log", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stripped_log_oak.json b/behavior_pack/recipes/reducer_wood_stripped_log_oak.json new file mode 100644 index 0000000..b5bc83e --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stripped_log_oak.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stripped_oak_log" + }, + "input" : "minecraft:stripped_oak_log", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wood_stripped_log_spruce.json b/behavior_pack/recipes/reducer_wood_stripped_log_spruce.json new file mode 100644 index 0000000..35114f9 --- /dev/null +++ b/behavior_pack/recipes/reducer_wood_stripped_log_spruce.json @@ -0,0 +1,28 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:stripped_spruce_log" + }, + "input" : "minecraft:stripped_spruce_log", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/reducer_wooden_slab_group_all.json b/behavior_pack/recipes/reducer_wooden_slab_group_all.json new file mode 100644 index 0000000..ba9e3b3 --- /dev/null +++ b/behavior_pack/recipes/reducer_wooden_slab_group_all.json @@ -0,0 +1,32 @@ +{ + "format_version" : "1.14", + "minecraft:recipe_material_reduction" : { + "description" : { + "identifier" : "minecraft:wooden_slab" + //Contains all wooden_slab objects: + //Change "minecraft:wooden_slab" to "minecraft:wooden_slab:aux value" + //Add aux values for each type of wooden_slab blocks + //oak:0, spruce:1, birch:2, jungle:3, acacia:4, Dark Oak:5 + }, + "input" : "minecraft:wooden_slab", + "output" : [ + { + "count" : 49, + "item" : "minecraft:element_6" + }, + { + "count" : 6, + "item" : "minecraft:element_1" + }, + { + "count" : 44, + "item" : "minecraft:element_8" + }, + { + "count" : 1, + "item" : "minecraft:element_7" + } + ], + "tags" : "material_reducer" + } +} diff --git a/behavior_pack/recipes/repeater.json b/behavior_pack/recipes/repeater.json new file mode 100644 index 0000000..bf7adbb --- /dev/null +++ b/behavior_pack/recipes/repeater.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:repeater" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#X#", + "III" + ], + "key": { + "#": { + "item": "minecraft:redstone_torch" + }, + "X": { + "item": "minecraft:redstone" + }, + "I": { + "item": "minecraft:stone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:redstone_torch" + } + ], + "result": { + "item": "minecraft:repeater" + } + } +} diff --git a/behavior_pack/recipes/resin_block.json b/behavior_pack/recipes/resin_block.json new file mode 100644 index 0000000..8b1f4e9 --- /dev/null +++ b/behavior_pack/recipes/resin_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:resin_block" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:resin_clump" + } + }, + "unlock": [ + { + "item": "minecraft:resin_clump" + } + ], + "result": { + "item": "minecraft:resin_block" + } + } +} diff --git a/behavior_pack/recipes/resin_brick_slab.json b/behavior_pack/recipes/resin_brick_slab.json new file mode 100644 index 0000000..e59cb82 --- /dev/null +++ b/behavior_pack/recipes/resin_brick_slab.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:resin_brick_slab" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:resin_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:resin_bricks" + } + ], + "result": { + "item": "minecraft:resin_brick_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/resin_brick_stairs.json b/behavior_pack/recipes/resin_brick_stairs.json new file mode 100644 index 0000000..599dbac --- /dev/null +++ b/behavior_pack/recipes/resin_brick_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:resin_brick_stairs" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#", + "##", + "###" + ], + "key": { + "#": { + "item": "minecraft:resin_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:resin_bricks" + } + ], + "result": { + "item": "minecraft:resin_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/resin_brick_wall.json b/behavior_pack/recipes/resin_brick_wall.json new file mode 100644 index 0000000..6b4d83f --- /dev/null +++ b/behavior_pack/recipes/resin_brick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:resin_brick_wall" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:resin_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:resin_bricks" + } + ], + "result": { + "item": "minecraft:resin_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/resin_bricks.json b/behavior_pack/recipes/resin_bricks.json new file mode 100644 index 0000000..45f6f25 --- /dev/null +++ b/behavior_pack/recipes/resin_bricks.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:resin_bricks" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:resin_brick" + } + }, + "unlock": [ + { + "item": "minecraft:resin_brick" + } + ], + "result": { + "item": "minecraft:resin_bricks" + } + } +} diff --git a/behavior_pack/recipes/resin_clump_from_resin_block.json b/behavior_pack/recipes/resin_clump_from_resin_block.json new file mode 100644 index 0000000..182d1ae --- /dev/null +++ b/behavior_pack/recipes/resin_clump_from_resin_block.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:resin_clump_from_resin_block" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:resin_block" + } + }, + "unlock": [ + { + "item": "minecraft:resin_block" + } + ], + "result": { + "item": "minecraft:resin_clump", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/respawn_anchor.json b/behavior_pack/recipes/respawn_anchor.json new file mode 100644 index 0000000..6695a8a --- /dev/null +++ b/behavior_pack/recipes/respawn_anchor.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:respawn_anchor" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "OOO", + "GGG", + "OOO" + ], + "key": { + "O": { + "item": "minecraft:crying_obsidian" + }, + "G": { + "item": "minecraft:glowstone" + } + }, + "unlock": [ + { + "item": "minecraft:crying_obsidian" + } + ], + "result": { + "item": "minecraft:respawn_anchor", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/rib_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/rib_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..97da308 --- /dev/null +++ b/behavior_pack/recipes/rib_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:rib_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:rib_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:netherrack" + } + }, + "unlock": [ + { + "item": "minecraft:rib_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:rib_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/sandstone.json b/behavior_pack/recipes/sandstone.json new file mode 100644 index 0000000..f844298 --- /dev/null +++ b/behavior_pack/recipes/sandstone.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sandstone" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:sand", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:sandstone" + } + } +} diff --git a/behavior_pack/recipes/sandstone_stairs.json b/behavior_pack/recipes/sandstone_stairs.json new file mode 100644 index 0000000..6a8ac24 --- /dev/null +++ b/behavior_pack/recipes/sandstone_stairs.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sandstone_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:sandstone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/sandstone_stairs_from_chiseled.json b/behavior_pack/recipes/sandstone_stairs_from_chiseled.json new file mode 100644 index 0000000..60f10a9 --- /dev/null +++ b/behavior_pack/recipes/sandstone_stairs_from_chiseled.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sandstone_stairs_from_chiseled" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:chiseled_sandstone" + } + }, + "unlock": [ + { + "item": "minecraft:chiseled_sandstone" + } + ], + "result": { + "item": "minecraft:sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/sandstone_stairs_from_cut.json b/behavior_pack/recipes/sandstone_stairs_from_cut.json new file mode 100644 index 0000000..79cd4e9 --- /dev/null +++ b/behavior_pack/recipes/sandstone_stairs_from_cut.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sandstone_stairs_from_cut" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:cut_sandstone" + } + }, + "unlock": [ + { + "item": "minecraft:cut_sandstone" + } + ], + "result": { + "item": "minecraft:sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/sandstone_wall.json b/behavior_pack/recipes/sandstone_wall.json new file mode 100644 index 0000000..3b17365 --- /dev/null +++ b/behavior_pack/recipes/sandstone_wall.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sandstone_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:sandstone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:sandstone_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/scaffolding.json b/behavior_pack/recipes/scaffolding.json new file mode 100644 index 0000000..6bb03bd --- /dev/null +++ b/behavior_pack/recipes/scaffolding.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:scaffolding" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "|S|", + "| |", + "| |" + ], + "key": { + "|": { + "item": "minecraft:bamboo" + }, + "S": { + "item": "minecraft:string" + } + }, + "unlock": [ + { + "item": "minecraft:bamboo" + } + ], + "result": { + "item": "minecraft:scaffolding", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/sealantern.json b/behavior_pack/recipes/sealantern.json new file mode 100644 index 0000000..51dbc9f --- /dev/null +++ b/behavior_pack/recipes/sealantern.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sealantern" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "SCS", + "CCC", + "SCS" + ], + "key": { + "S": { + "item": "minecraft:prismarine_shard" + }, + "C": { + "item": "minecraft:prismarine_crystals" + } + }, + "unlock": [ + { + "item": "minecraft:prismarine_crystals" + } + ], + "result": { + "item": "minecraft:sealantern" + } + } +} diff --git a/behavior_pack/recipes/sentry_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/sentry_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..78f831e --- /dev/null +++ b/behavior_pack/recipes/sentry_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sentry_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:sentry_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:sentry_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:sentry_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/shaper_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/shaper_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..9238194 --- /dev/null +++ b/behavior_pack/recipes/shaper_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:shaper_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:shaper_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:hardened_clay" + } + }, + "unlock": [ + { + "item": "minecraft:shaper_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:shaper_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/shears.json b/behavior_pack/recipes/shears.json new file mode 100644 index 0000000..ea26f73 --- /dev/null +++ b/behavior_pack/recipes/shears.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:shears" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " #", + "# " + ], + "key": { + "#": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:shears" + } + } +} diff --git a/behavior_pack/recipes/shield.json b/behavior_pack/recipes/shield.json new file mode 100644 index 0000000..ae2a87a --- /dev/null +++ b/behavior_pack/recipes/shield.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:shield" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#I#", + "###", + " # " + ], + "key": { + "#": { + "tag": "minecraft:planks" + }, + "I": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": { + "item": "minecraft:shield" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/shield_from_crimson_planks.json b/behavior_pack/recipes/shield_from_crimson_planks.json new file mode 100644 index 0000000..2a54ac1 --- /dev/null +++ b/behavior_pack/recipes/shield_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:shield_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "ABA", + "AAA", + " A " + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "iron_ingot" + } + }, + "result": { + "item": "shield", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/shield_from_mangrove_planks.json b/behavior_pack/recipes/shield_from_mangrove_planks.json new file mode 100644 index 0000000..939155a --- /dev/null +++ b/behavior_pack/recipes/shield_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:shield_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "ABA", + "AAA", + " A " + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "iron_ingot" + } + }, + "result": { + "item": "shield", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/shield_from_warped_planks.json b/behavior_pack/recipes/shield_from_warped_planks.json new file mode 100644 index 0000000..510e1e7 --- /dev/null +++ b/behavior_pack/recipes/shield_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:shield_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "ABA", + "AAA", + " A " + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "iron_ingot" + } + }, + "result": { + "item": "shield", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/shulker_box.json b/behavior_pack/recipes/shulker_box.json new file mode 100644 index 0000000..ecabc62 --- /dev/null +++ b/behavior_pack/recipes/shulker_box.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:shulker_box" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "-", + "#", + "-" + ], + "key": { + "#": { + "item": "minecraft:chest" + }, + "-": { + "item": "minecraft:shulker_shell" + } + }, + "unlock": [ + { + "item": "minecraft:shulker_shell" + } + ], + "result": { + "item": "minecraft:undyed_shulker_box" + } + } +} diff --git a/behavior_pack/recipes/sign_acacia.json b/behavior_pack/recipes/sign_acacia.json new file mode 100644 index 0000000..6ab7289 --- /dev/null +++ b/behavior_pack/recipes/sign_acacia.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sign_acacia" + }, + + + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:acacia_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:acacia_planks" + } + ], + "result": { + "item": "minecraft:acacia_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/sign_birch.json b/behavior_pack/recipes/sign_birch.json new file mode 100644 index 0000000..b0a8ff6 --- /dev/null +++ b/behavior_pack/recipes/sign_birch.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sign_birch" + }, + + + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:birch_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:birch_planks" + } + ], + "result": { + "item": "minecraft:birch_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/sign_darkoak.json b/behavior_pack/recipes/sign_darkoak.json new file mode 100644 index 0000000..8a6ec69 --- /dev/null +++ b/behavior_pack/recipes/sign_darkoak.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sign_darkoak" + }, + + + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:dark_oak_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:dark_oak_planks" + } + ], + "result": { + "item": "minecraft:darkoak_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/sign_jungle.json b/behavior_pack/recipes/sign_jungle.json new file mode 100644 index 0000000..7113c85 --- /dev/null +++ b/behavior_pack/recipes/sign_jungle.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sign_jungle" + }, + + + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:jungle_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:jungle_planks" + } + ], + "result": { + "item": "minecraft:jungle_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/sign_oak.json b/behavior_pack/recipes/sign_oak.json new file mode 100644 index 0000000..fe89473 --- /dev/null +++ b/behavior_pack/recipes/sign_oak.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sign_oak" + }, + + + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:oak_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:oak_planks" + } + ], + "result": { + "item": "minecraft:sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/sign_spruce.json b/behavior_pack/recipes/sign_spruce.json new file mode 100644 index 0000000..4ee288b --- /dev/null +++ b/behavior_pack/recipes/sign_spruce.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sign_spruce" + }, + + + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:spruce_planks" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_planks" + } + ], + "result": { + "item": "minecraft:spruce_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/silence_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/silence_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..3f26b03 --- /dev/null +++ b/behavior_pack/recipes/silence_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:silence_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:silence_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:cobbled_deepslate" + } + }, + "unlock": [ + { + "item": "minecraft:silence_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:silence_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/slime.json b/behavior_pack/recipes/slime.json new file mode 100644 index 0000000..f6072ca --- /dev/null +++ b/behavior_pack/recipes/slime.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:slime" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:slime_ball" + } + }, + "unlock": [ + { + "item": "minecraft:slime_ball" + } + ], + "result": { + "item": "minecraft:slime" + } + } +} diff --git a/behavior_pack/recipes/slime_ball.json b/behavior_pack/recipes/slime_ball.json new file mode 100644 index 0000000..4d42a3e --- /dev/null +++ b/behavior_pack/recipes/slime_ball.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:slime_ball" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:slime" + } + }, + "unlock": [ + { + "item": "minecraft:slime" + } + ], + "result": { + "item": "minecraft:slime_ball", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/smithing_armor_trim.json b/behavior_pack/recipes/smithing_armor_trim.json new file mode 100644 index 0000000..e3b36fb --- /dev/null +++ b/behavior_pack/recipes/smithing_armor_trim.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_trim": { + "description": { + "identifier": "minecraft:smithing_armor_trim" + }, + "tags": [ "smithing_table" ], + "template": { + "tag": "minecraft:trim_templates" + }, + "base": { + "tag": "minecraft:trimmable_armors" + }, + "addition": { + "tag": "minecraft:trim_materials" + } + } +} diff --git a/behavior_pack/recipes/smithing_netherite_axe.json b/behavior_pack/recipes/smithing_netherite_axe.json new file mode 100644 index 0000000..f9fd32f --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_axe.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_axe" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_axe", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_axe" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_boots.json b/behavior_pack/recipes/smithing_netherite_boots.json new file mode 100644 index 0000000..1b84d48 --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_boots.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_boots" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_boots", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_boots" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_chestplate.json b/behavior_pack/recipes/smithing_netherite_chestplate.json new file mode 100644 index 0000000..f94df11 --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_chestplate.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_chestplate" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_chestplate", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_chestplate" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_helmet.json b/behavior_pack/recipes/smithing_netherite_helmet.json new file mode 100644 index 0000000..edbbe56 --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_helmet.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_helmet" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_helmet", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_helmet" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_hoe.json b/behavior_pack/recipes/smithing_netherite_hoe.json new file mode 100644 index 0000000..fc97b3f --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_hoe.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_hoe" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_hoe", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_hoe" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_leggings.json b/behavior_pack/recipes/smithing_netherite_leggings.json new file mode 100644 index 0000000..538f9eb --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_leggings.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_leggings" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_leggings", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_leggings" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_pickaxe.json b/behavior_pack/recipes/smithing_netherite_pickaxe.json new file mode 100644 index 0000000..7a988ac --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_pickaxe.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_pickaxe" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_pickaxe", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_pickaxe" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_shovel.json b/behavior_pack/recipes/smithing_netherite_shovel.json new file mode 100644 index 0000000..4a10982 --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_shovel.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_shovel" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_shovel", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_shovel" + } +} diff --git a/behavior_pack/recipes/smithing_netherite_sword.json b/behavior_pack/recipes/smithing_netherite_sword.json new file mode 100644 index 0000000..1721aa4 --- /dev/null +++ b/behavior_pack/recipes/smithing_netherite_sword.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_smithing_transform": { + "description": { + "identifier": "minecraft:smithing_netherite_sword" + }, + "tags": [ "smithing_table" ], + "template": "minecraft:netherite_upgrade_smithing_template", + "base": "minecraft:diamond_sword", + "addition": "minecraft:netherite_ingot", + "result": "minecraft:netherite_sword" + } +} diff --git a/behavior_pack/recipes/smithing_table.json b/behavior_pack/recipes/smithing_table.json new file mode 100644 index 0000000..086c81c --- /dev/null +++ b/behavior_pack/recipes/smithing_table.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smithing_table" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "||", + "##", + "##" + ], + "key": { + "|": { + "item": "minecraft:iron_ingot" + }, + "#": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:iron_ingot" + } + ], + "result": [ + { "item": "minecraft:smithing_table" } + ], + "priority": -1 + } +} diff --git a/behavior_pack/recipes/smithing_table_from_crimson_planks.json b/behavior_pack/recipes/smithing_table_from_crimson_planks.json new file mode 100644 index 0000000..7caee3b --- /dev/null +++ b/behavior_pack/recipes/smithing_table_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smithing_table_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "iron_ingot" + }, + "B": { + "item": "crimson_planks" + } + }, + "result": { + "item": "smithing_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smithing_table_from_mangrove_planks.json b/behavior_pack/recipes/smithing_table_from_mangrove_planks.json new file mode 100644 index 0000000..3f31620 --- /dev/null +++ b/behavior_pack/recipes/smithing_table_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smithing_table_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "iron_ingot" + }, + "B": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "smithing_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smithing_table_from_warped_planks.json b/behavior_pack/recipes/smithing_table_from_warped_planks.json new file mode 100644 index 0000000..deea836 --- /dev/null +++ b/behavior_pack/recipes/smithing_table_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smithing_table_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "BB", + "BB" + ], + "key": { + "A": { + "item": "iron_ingot" + }, + "B": { + "item": "warped_planks" + } + }, + "result": { + "item": "smithing_table", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smoker.json b/behavior_pack/recipes/smoker.json new file mode 100644 index 0000000..f362067 --- /dev/null +++ b/behavior_pack/recipes/smoker.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "tag": "minecraft:logs" + } + }, + "unlock": [ + { + "item": "minecraft:furnace" + } + ], + "result": { + "item": "minecraft:smoker" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/smoker_from_crimson_stem.json b/behavior_pack/recipes/smoker_from_crimson_stem.json new file mode 100644 index 0000000..d7d2619 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_crimson_stem.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_crimson_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "crimson_stem" + }, + "B": { + "item": "furnace" + } + }, + "result": { + "item": "smoker", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smoker_from_log2.json b/behavior_pack/recipes/smoker_from_log2.json new file mode 100644 index 0000000..15937bc --- /dev/null +++ b/behavior_pack/recipes/smoker_from_log2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_log2" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:log2" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_mangrove_log.json b/behavior_pack/recipes/smoker_from_mangrove_log.json new file mode 100644 index 0000000..0f9aa27 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_mangrove_log.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_mangrove_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "mangrove_log" + }, + "B": { + "item": "furnace" + } + }, + "result": { + "item": "smoker", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smoker_from_mangrove_wood.json b/behavior_pack/recipes/smoker_from_mangrove_wood.json new file mode 100644 index 0000000..4376de9 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_mangrove_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_mangrove_wood" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "mangrove_wood" + }, + "B": { + "item": "furnace" + } + }, + "result": { + "item": "smoker", + "count": 1 + }, + "priority": 50 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smoker_from_stripped_acacia.json b/behavior_pack/recipes/smoker_from_stripped_acacia.json new file mode 100644 index 0000000..3fce205 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_acacia.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_acacia" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:stripped_acacia_log" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_stripped_birch.json b/behavior_pack/recipes/smoker_from_stripped_birch.json new file mode 100644 index 0000000..3148f8e --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_birch.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_birch" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:stripped_birch_log" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_stripped_crimson_stem.json b/behavior_pack/recipes/smoker_from_stripped_crimson_stem.json new file mode 100644 index 0000000..8903a6c --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_crimson_stem.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_crimson_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "stripped_crimson_stem" + }, + "B": { + "item": "furnace" + } + }, + "result": { + "item": "smoker", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smoker_from_stripped_dark_oak.json b/behavior_pack/recipes/smoker_from_stripped_dark_oak.json new file mode 100644 index 0000000..54dd790 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_dark_oak.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_dark_oak" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:stripped_dark_oak_log" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_stripped_jungle.json b/behavior_pack/recipes/smoker_from_stripped_jungle.json new file mode 100644 index 0000000..23e74ed --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_jungle.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_jungle" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:stripped_jungle_log" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_stripped_mangrove_log.json b/behavior_pack/recipes/smoker_from_stripped_mangrove_log.json new file mode 100644 index 0000000..27e1559 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_mangrove_log.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_mangrove_log" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:stripped_mangrove_log" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_stripped_mangrove_wood.json b/behavior_pack/recipes/smoker_from_stripped_mangrove_wood.json new file mode 100644 index 0000000..9f1bdff --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_mangrove_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_mangrove_wood" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "stripped_mangrove_wood" + }, + "B": { + "item": "furnace" + } + }, + "result": { + "item": "smoker", + "count": 1 + }, + "priority": 50 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smoker_from_stripped_oak.json b/behavior_pack/recipes/smoker_from_stripped_oak.json new file mode 100644 index 0000000..85c9131 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_oak.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_oak" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:stripped_oak_log" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_stripped_spruce.json b/behavior_pack/recipes/smoker_from_stripped_spruce.json new file mode 100644 index 0000000..0298384 --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_spruce.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_spruce" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " # ", + "#F#", + " # " + ], + "key": { + "F": { + "item": "minecraft:furnace" + }, + "#": { + "item": "minecraft:stripped_spruce_log" + } + }, + "result": { + "item": "minecraft:smoker" + } + } +} diff --git a/behavior_pack/recipes/smoker_from_stripped_warped_stem.json b/behavior_pack/recipes/smoker_from_stripped_warped_stem.json new file mode 100644 index 0000000..8ae944a --- /dev/null +++ b/behavior_pack/recipes/smoker_from_stripped_warped_stem.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_stripped_warped_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "stripped_warped_stem" + }, + "B": { + "item": "furnace" + } + }, + "result": { + "item": "smoker", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smoker_from_warped_stem.json b/behavior_pack/recipes/smoker_from_warped_stem.json new file mode 100644 index 0000000..f5d606a --- /dev/null +++ b/behavior_pack/recipes/smoker_from_warped_stem.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smoker_from_warped_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "warped_stem" + }, + "B": { + "item": "furnace" + } + }, + "result": { + "item": "smoker", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/smooth_quartz_stairs.json b/behavior_pack/recipes/smooth_quartz_stairs.json new file mode 100644 index 0000000..bc78610 --- /dev/null +++ b/behavior_pack/recipes/smooth_quartz_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smooth_quartz_stairs" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:smooth_quartz" + } + }, + "unlock": [ + { + "item": "minecraft:smooth_quartz" + } + ], + "result": { + "item": "minecraft:smooth_quartz_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/smooth_red_sandstone.json b/behavior_pack/recipes/smooth_red_sandstone.json new file mode 100644 index 0000000..2608aa3 --- /dev/null +++ b/behavior_pack/recipes/smooth_red_sandstone.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smooth_red_sandstone" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:red_sandstone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:cut_red_sandstone", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/smooth_red_sandstone_stairs.json b/behavior_pack/recipes/smooth_red_sandstone_stairs.json new file mode 100644 index 0000000..faa4cb0 --- /dev/null +++ b/behavior_pack/recipes/smooth_red_sandstone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smooth_red_sandstone_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:smooth_red_sandstone" + } + }, + "unlock": [ + { + "item": "minecraft:smooth_red_sandstone" + } + ], + "result": { + "item": "minecraft:smooth_red_sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/smooth_sandstone.json b/behavior_pack/recipes/smooth_sandstone.json new file mode 100644 index 0000000..cb2f958 --- /dev/null +++ b/behavior_pack/recipes/smooth_sandstone.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smooth_sandstone" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:sandstone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:cut_sandstone", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/smooth_sandstone_stairs.json b/behavior_pack/recipes/smooth_sandstone_stairs.json new file mode 100644 index 0000000..333e563 --- /dev/null +++ b/behavior_pack/recipes/smooth_sandstone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:smooth_sandstone_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:smooth_sandstone" + } + }, + "unlock": [ + { + "item": "minecraft:smooth_sandstone" + } + ], + "result": { + "item": "minecraft:smooth_sandstone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/snout_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/snout_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..f5773f7 --- /dev/null +++ b/behavior_pack/recipes/snout_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:snout_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:snout_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:blackstone" + } + }, + "unlock": [ + { + "item": "minecraft:snout_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:snout_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/snow.json b/behavior_pack/recipes/snow.json new file mode 100644 index 0000000..d82e600 --- /dev/null +++ b/behavior_pack/recipes/snow.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:snow" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:snowball" + } + }, + "unlock": [ + { + "item": "minecraft:snowball" + } + ], + "result": { + "item": "minecraft:snow" + } + } +} diff --git a/behavior_pack/recipes/snow_layer.json b/behavior_pack/recipes/snow_layer.json new file mode 100644 index 0000000..16613bd --- /dev/null +++ b/behavior_pack/recipes/snow_layer.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:snow_layer" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:snow" + } + }, + "unlock": [ + { + "item": "minecraft:snow" + } + ], + "result": { + "item": "minecraft:snow_layer", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/soul_campfire.json b/behavior_pack/recipes/soul_campfire.json new file mode 100644 index 0000000..303cffd --- /dev/null +++ b/behavior_pack/recipes/soul_campfire.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "tag": "minecraft:soul_fire_base_blocks" + }, + "C": { + "tag": "minecraft:logs" + } + }, + "unlock": [ + { + "tag": "minecraft:soul_fire_base_blocks" + } + ], + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_crimson_stem.json b/behavior_pack/recipes/soul_campfire_from_crimson_stem.json new file mode 100644 index 0000000..46dd43d --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_crimson_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_crimson_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "crimson_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_crimson_stem2.json b/behavior_pack/recipes/soul_campfire_from_crimson_stem2.json new file mode 100644 index 0000000..3429d21 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_crimson_stem2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_crimson_stem2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "crimson_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_mangrove_log.json b/behavior_pack/recipes/soul_campfire_from_mangrove_log.json new file mode 100644 index 0000000..2f8f460 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_mangrove_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_mangrove_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "mangrove_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_mangrove_log2.json b/behavior_pack/recipes/soul_campfire_from_mangrove_log2.json new file mode 100644 index 0000000..27e9644 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_mangrove_log2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_mangrove_log2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "mangrove_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_mangrove_wood.json b/behavior_pack/recipes/soul_campfire_from_mangrove_wood.json new file mode 100644 index 0000000..6d83501 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_mangrove_wood.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_mangrove_wood" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "mangrove_wood" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 50 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_mangrove_wood2.json b/behavior_pack/recipes/soul_campfire_from_mangrove_wood2.json new file mode 100644 index 0000000..078b6da --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_mangrove_wood2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_mangrove_wood2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "mangrove_wood" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 50 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand.json b/behavior_pack/recipes/soul_campfire_from_soul_sand.json new file mode 100644 index 0000000..b2b0fb6 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_log2.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_log2.json new file mode 100644 index 0000000..32e671a --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_log2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_log2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "log2" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_acacia_log.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_acacia_log.json new file mode 100644 index 0000000..2732c6f --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_acacia_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_stripped_acacia_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_acacia_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_birch_log.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_birch_log.json new file mode 100644 index 0000000..06a235f --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_birch_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_stripped_birch_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_birch_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_dark_oak_log.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_dark_oak_log.json new file mode 100644 index 0000000..f38c335 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_dark_oak_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_stripped_dark_oak_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_dark_oak_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_jungle_log.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_jungle_log.json new file mode 100644 index 0000000..dac2ec6 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_jungle_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_stripped_jungle_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_jungle_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_oak_log.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_oak_log.json new file mode 100644 index 0000000..3ac61fe --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_oak_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_stripped_oak_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_oak_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_spruce_log.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_spruce_log.json new file mode 100644 index 0000000..36ed2af --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_stripped_spruce_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_stripped_spruce_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_spruce_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_sand_and_wood.json b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_wood.json new file mode 100644 index 0000000..fbd5e6a --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_sand_and_wood.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_sand_and_wood" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "wood" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil.json b/behavior_pack/recipes/soul_campfire_from_soul_soil.json new file mode 100644 index 0000000..9bf7026 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_log2.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_log2.json new file mode 100644 index 0000000..0a0d493 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_log2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_log2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "log2" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_acacia_log.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_acacia_log.json new file mode 100644 index 0000000..fe5cc93 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_acacia_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_stripped_acacia_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_acacia_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_birch_log.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_birch_log.json new file mode 100644 index 0000000..ab3be01 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_birch_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_stripped_birch_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_birch_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_dark_oak_log.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_dark_oak_log.json new file mode 100644 index 0000000..47970af --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_dark_oak_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_stripped_dark_oak_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_dark_oak_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_jungle_log.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_jungle_log.json new file mode 100644 index 0000000..9fec8b4 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_jungle_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_stripped_jungle_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_jungle_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_oak_log.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_oak_log.json new file mode 100644 index 0000000..28465b9 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_oak_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_stripped_oak_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_oak_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_spruce_log.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_spruce_log.json new file mode 100644 index 0000000..64b0efa --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_stripped_spruce_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_stripped_spruce_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_spruce_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_soul_soil_and_wood.json b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_wood.json new file mode 100644 index 0000000..d2793c5 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_soul_soil_and_wood.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_soul_soil_and_wood" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "wood" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem.json b/behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem.json new file mode 100644 index 0000000..48eb653 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_crimson_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_crimson_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem2.json b/behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem2.json new file mode 100644 index 0000000..1d7b79e --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_crimson_stem2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_crimson_stem2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_crimson_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log.json b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log.json new file mode 100644 index 0000000..1589328 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_mangrove_log" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_mangrove_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log2.json b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log2.json new file mode 100644 index 0000000..7b3af46 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_log2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_mangrove_log2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_mangrove_log" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood.json b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood.json new file mode 100644 index 0000000..134d605 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_mangrove_wood" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_mangrove_wood" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 50 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood2.json b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood2.json new file mode 100644 index 0000000..d857485 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_mangrove_wood2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_mangrove_wood2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_mangrove_wood" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 50 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_warped_stem.json b/behavior_pack/recipes/soul_campfire_from_stripped_warped_stem.json new file mode 100644 index 0000000..39e3360 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_warped_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_warped_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "stripped_warped_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_stripped_warped_stem2.json b/behavior_pack/recipes/soul_campfire_from_stripped_warped_stem2.json new file mode 100644 index 0000000..e2880c1 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_stripped_warped_stem2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_stripped_warped_stem2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "stripped_warped_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_warped_stem.json b/behavior_pack/recipes/soul_campfire_from_warped_stem.json new file mode 100644 index 0000000..13af922 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_warped_stem.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_warped_stem" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_soil" + }, + "C": { + "item": "warped_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_campfire_from_warped_stem2.json b/behavior_pack/recipes/soul_campfire_from_warped_stem2.json new file mode 100644 index 0000000..0ef3434 --- /dev/null +++ b/behavior_pack/recipes/soul_campfire_from_warped_stem2.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_campfire_from_warped_stem2" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + "CCC" + ], + "key": { + "A": { + "item": "stick" + }, + "B": { + "item": "soul_sand" + }, + "C": { + "item": "warped_stem" + } + }, + "result": { + "item": "soul_campfire", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/soul_lantern.json b/behavior_pack/recipes/soul_lantern.json new file mode 100644 index 0000000..2b4e5e2 --- /dev/null +++ b/behavior_pack/recipes/soul_lantern.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_lantern" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "...", + ".|.", + "..." + ], + "key": { + "|": { + "item": "minecraft:soul_torch" + }, + ".": { + "item": "minecraft:iron_nugget" + } + }, + "unlock": [ + { + "item": "minecraft:soul_torch" + } + ], + "result": { + "item": "minecraft:soul_lantern" + } + } +} diff --git a/behavior_pack/recipes/soul_torch.json b/behavior_pack/recipes/soul_torch.json new file mode 100644 index 0000000..9431f65 --- /dev/null +++ b/behavior_pack/recipes/soul_torch.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_torch" + }, + "tags": [ "crafting_table" ], + "pattern": [ + ".", + "|", + "#" + ], + "key": { + ".": { + "tag": "minecraft:coals" + }, + "|": { + "item": "minecraft:stick" + }, + "#": { + "tag": "minecraft:soul_fire_base_blocks" + } + }, + "unlock": [ + { + "tag": "minecraft:soul_fire_base_blocks" + } + ], + "result": { + "item": "minecraft:soul_torch", + "count": 4 + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/soul_torch_from_soul_sand.json b/behavior_pack/recipes/soul_torch_from_soul_sand.json new file mode 100644 index 0000000..4fcade5 --- /dev/null +++ b/behavior_pack/recipes/soul_torch_from_soul_sand.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_torch_from_soul_sand" + }, + "tags": [ "crafting_table" ], + "pattern": [ + ".", + "|", + "#" + ], + "key": { + ".": { + "item": "minecraft:coal" + }, + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:soul_sand" + } + }, + "result": { + "item": "minecraft:soul_torch", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/soul_torch_from_soul_soil.json b/behavior_pack/recipes/soul_torch_from_soul_soil.json new file mode 100644 index 0000000..f2f79b8 --- /dev/null +++ b/behavior_pack/recipes/soul_torch_from_soul_soil.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:soul_torch_from_soul_soil" + }, + "tags": [ "crafting_table" ], + "pattern": [ + ".", + "|", + "#" + ], + "key": { + ".": { + "item": "minecraft:coal" + }, + "|": { + "item": "minecraft:stick" + }, + "#": { + "item": "minecraft:soul_soil" + } + }, + "result": { + "item": "minecraft:soul_torch", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/speckled_melon.json b/behavior_pack/recipes/speckled_melon.json new file mode 100644 index 0000000..94572eb --- /dev/null +++ b/behavior_pack/recipes/speckled_melon.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:speckled_melon" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:gold_nugget" + }, + "X": { + "item": "minecraft:melon" + } + }, + "unlock": [ + { + "item": "minecraft:melon" + } + ], + "result": { + "item": "minecraft:speckled_melon" + } + } +} diff --git a/behavior_pack/recipes/spire_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/spire_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..68c6681 --- /dev/null +++ b/behavior_pack/recipes/spire_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spire_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:spire_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:purpur_block" + } + }, + "unlock": [ + { + "item": "minecraft:spire_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:spire_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/spruce_boat.json b/behavior_pack/recipes/spruce_boat.json new file mode 100644 index 0000000..82c58bf --- /dev/null +++ b/behavior_pack/recipes/spruce_boat.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_boat" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# #", + "###" + ], + "key": { + "#": { + "item": "minecraft:spruce_planks" + } + }, + "unlock": { + "context": "PlayerInWater" + }, + "result": { + "item": "minecraft:spruce_boat" + } + } +} diff --git a/behavior_pack/recipes/spruce_chest_boat.json b/behavior_pack/recipes/spruce_chest_boat.json new file mode 100644 index 0000000..5444661 --- /dev/null +++ b/behavior_pack/recipes/spruce_chest_boat.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:spruce_chest_boat" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:boat", + "data": 1 + } + ], + "unlock": [ + { + "item": "minecraft:boat", + "data": 1 + } + ], + "result": { + "item": "minecraft:chest_boat", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/spruce_door.json b/behavior_pack/recipes/spruce_door.json new file mode 100644 index 0000000..32b5f8a --- /dev/null +++ b/behavior_pack/recipes/spruce_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_door" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:spruce_planks" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_planks" + } + ], + "result": { + "item": "minecraft:spruce_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/spruce_fence.json b/behavior_pack/recipes/spruce_fence.json new file mode 100644 index 0000000..b1d3e22 --- /dev/null +++ b/behavior_pack/recipes/spruce_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:spruce_planks" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_planks" + } + ], + "result": { + "item": "minecraft:spruce_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/spruce_fence_gate.json b/behavior_pack/recipes/spruce_fence_gate.json new file mode 100644 index 0000000..d27f28f --- /dev/null +++ b/behavior_pack/recipes/spruce_fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_fence_gate" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:spruce_planks" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_planks" + } + ], + "result": { + "item": "minecraft:spruce_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/spruce_hanging_sign.json b/behavior_pack/recipes/spruce_hanging_sign.json new file mode 100644 index 0000000..ce06ca4 --- /dev/null +++ b/behavior_pack/recipes/spruce_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_spruce_log" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_spruce_log" + } + ], + "result": { + "item": "minecraft:spruce_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/spruce_planks.json b/behavior_pack/recipes/spruce_planks.json new file mode 100644 index 0000000..935ff19 --- /dev/null +++ b/behavior_pack/recipes/spruce_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_planks" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:spruce_log" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_log" + } + ], + "result": { + "item": "minecraft:spruce_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/spruce_planks_from_stripped.json b/behavior_pack/recipes/spruce_planks_from_stripped.json new file mode 100644 index 0000000..ac56540 --- /dev/null +++ b/behavior_pack/recipes/spruce_planks_from_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_planks_from_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_spruce_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_spruce_log" + } + ], + "result": { + "item": "minecraft:spruce_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/spruce_planks_from_stripped_wood.json b/behavior_pack/recipes/spruce_planks_from_stripped_wood.json new file mode 100644 index 0000000..bee8933 --- /dev/null +++ b/behavior_pack/recipes/spruce_planks_from_stripped_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_planks_from_stripped_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_spruce_wood" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_spruce_wood" + } + ], + "result": { + "item": "minecraft:spruce_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/spruce_planks_from_wood.json b/behavior_pack/recipes/spruce_planks_from_wood.json new file mode 100644 index 0000000..08a5811 --- /dev/null +++ b/behavior_pack/recipes/spruce_planks_from_wood.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_planks_from_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:spruce_wood" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_wood" + } + ], + "result": { + "item": "minecraft:spruce_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/spruce_stairs.json b/behavior_pack/recipes/spruce_stairs.json new file mode 100644 index 0000000..f4c0c05 --- /dev/null +++ b/behavior_pack/recipes/spruce_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_stairs" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:spruce_planks" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_planks" + } + ], + "result": { + "item": "minecraft:spruce_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/spruce_wood.json b/behavior_pack/recipes/spruce_wood.json new file mode 100644 index 0000000..9442f85 --- /dev/null +++ b/behavior_pack/recipes/spruce_wood.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_wood" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:spruce_log" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_log" + } + ], + "result": { + "item": "minecraft:spruce_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/spruce_wood_stripped.json b/behavior_pack/recipes/spruce_wood_stripped.json new file mode 100644 index 0000000..c4f3f9d --- /dev/null +++ b/behavior_pack/recipes/spruce_wood_stripped.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_wood_stripped" + }, + + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_spruce_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_spruce_log" + } + ], + "result": { + "item": "minecraft:stripped_spruce_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/spruce_wooden_slab.json b/behavior_pack/recipes/spruce_wooden_slab.json new file mode 100644 index 0000000..cae2f8f --- /dev/null +++ b/behavior_pack/recipes/spruce_wooden_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spruce_wooden_slab" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:spruce_planks" + } + }, + "unlock": [ + { + "item": "minecraft:spruce_planks" + } + ], + "result": { + "item": "minecraft:spruce_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/spyglass.json b/behavior_pack/recipes/spyglass.json new file mode 100644 index 0000000..bc0fbb6 --- /dev/null +++ b/behavior_pack/recipes/spyglass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:spyglass" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "#", + "X", + "X" + ], + "key": { + "#": { + "item": "minecraft:amethyst_shard" + }, + "X": { + "item": "minecraft:copper_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:amethyst_shard" + } + ], + "result": { + "item": "minecraft:spyglass", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/stick.json b/behavior_pack/recipes/stick.json new file mode 100644 index 0000000..dd8ab6d --- /dev/null +++ b/behavior_pack/recipes/stick.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stick" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A" + ], + "key": { + "A": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "tag": "minecraft:planks" + } + ], + "result": { + "item": "stick", + "count": 4 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/stick_from_crimson_planks.json b/behavior_pack/recipes/stick_from_crimson_planks.json new file mode 100644 index 0000000..1d38f3f --- /dev/null +++ b/behavior_pack/recipes/stick_from_crimson_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stick_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A" + ], + "key": { + "A": { + "item": "crimson_planks" + } + }, + "result": { + "item": "stick", + "count": 4 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/stick_from_mangrove_planks.json b/behavior_pack/recipes/stick_from_mangrove_planks.json new file mode 100644 index 0000000..94a0535 --- /dev/null +++ b/behavior_pack/recipes/stick_from_mangrove_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stick_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A" + ], + "key": { + "A": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "stick", + "count": 4 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/stick_from_warped_planks.json b/behavior_pack/recipes/stick_from_warped_planks.json new file mode 100644 index 0000000..d2015d9 --- /dev/null +++ b/behavior_pack/recipes/stick_from_warped_planks.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stick_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A" + ], + "key": { + "A": { + "item": "warped_planks" + } + }, + "result": { + "item": "stick", + "count": 4 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/sticky_piston.json b/behavior_pack/recipes/sticky_piston.json new file mode 100644 index 0000000..e2f73eb --- /dev/null +++ b/behavior_pack/recipes/sticky_piston.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sticky_piston" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "S", + "P" + ], + "key": { + "P": { + "item": "minecraft:piston" + }, + "S": { + "item": "minecraft:slime_ball" + } + }, + "unlock": [ + { + "item": "minecraft:slime_ball" + } + ], + "result": { + "item": "minecraft:sticky_piston", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/stone_axe.json b/behavior_pack/recipes/stone_axe.json new file mode 100644 index 0000000..f152842 --- /dev/null +++ b/behavior_pack/recipes/stone_axe.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_axe" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:stone_tool_materials" + } + }, + "unlock": [ + { + "tag": "minecraft:stone_tool_materials" + } + ], + "result": { + "item": "minecraft:stone_axe" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/stone_axe_from_blackstone.json b/behavior_pack/recipes/stone_axe_from_blackstone.json new file mode 100644 index 0000000..7bba832 --- /dev/null +++ b/behavior_pack/recipes/stone_axe_from_blackstone.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_axe_from_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:blackstone" + } + }, + "result": { + "item": "minecraft:stone_axe" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_axe_from_cobbled_deepslate.json b/behavior_pack/recipes/stone_axe_from_cobbled_deepslate.json new file mode 100644 index 0000000..f44e7c8 --- /dev/null +++ b/behavior_pack/recipes/stone_axe_from_cobbled_deepslate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_axe_from_cobbled_deepslate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:cobbled_deepslate" + } + }, + "result": { + "item": "minecraft:stone_axe" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_brick_stairs.json b/behavior_pack/recipes/stone_brick_stairs.json new file mode 100644 index 0000000..bb58f4c --- /dev/null +++ b/behavior_pack/recipes/stone_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_brick_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:stone_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:stone_bricks" + } + ], + "result": { + "item": "minecraft:stone_brick_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stone_brick_wall.json b/behavior_pack/recipes/stone_brick_wall.json new file mode 100644 index 0000000..b6fff4e --- /dev/null +++ b/behavior_pack/recipes/stone_brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_brick_wall" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stone_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:stone_bricks" + } + ], + "result": { + "item": "minecraft:stone_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/stone_button.json b/behavior_pack/recipes/stone_button.json new file mode 100644 index 0000000..346f9e6 --- /dev/null +++ b/behavior_pack/recipes/stone_button.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_button" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_button" + } + } +} diff --git a/behavior_pack/recipes/stone_hoe.json b/behavior_pack/recipes/stone_hoe.json new file mode 100644 index 0000000..7eedc37 --- /dev/null +++ b/behavior_pack/recipes/stone_hoe.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_hoe" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + " #", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:stone_tool_materials" + } + }, + "unlock": [ + { + "tag": "minecraft:stone_tool_materials" + } + ], + "result": { + "item": "minecraft:stone_hoe" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/stone_hoe_from_blackstone.json b/behavior_pack/recipes/stone_hoe_from_blackstone.json new file mode 100644 index 0000000..0438da7 --- /dev/null +++ b/behavior_pack/recipes/stone_hoe_from_blackstone.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_hoe_from_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + " #", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:blackstone" + } + }, + "result": { + "item": "minecraft:stone_hoe" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_hoe_from_cobbled_deepslate.json b/behavior_pack/recipes/stone_hoe_from_cobbled_deepslate.json new file mode 100644 index 0000000..1b98025 --- /dev/null +++ b/behavior_pack/recipes/stone_hoe_from_cobbled_deepslate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_hoe_from_cobbled_deepslate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + " #", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:cobbled_deepslate" + } + }, + "result": { + "item": "minecraft:stone_hoe" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_pickaxe.json b/behavior_pack/recipes/stone_pickaxe.json new file mode 100644 index 0000000..1e5c9ee --- /dev/null +++ b/behavior_pack/recipes/stone_pickaxe.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_pickaxe" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:stone_tool_materials" + } + }, + "unlock": [ + { + "tag": "minecraft:stone_tool_materials" + } + ], + "result": { + "item": "minecraft:stone_pickaxe" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/stone_pickaxe_from_blackstone.json b/behavior_pack/recipes/stone_pickaxe_from_blackstone.json new file mode 100644 index 0000000..969f93e --- /dev/null +++ b/behavior_pack/recipes/stone_pickaxe_from_blackstone.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_pickaxe_from_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:blackstone" + } + }, + "result": { + "item": "minecraft:stone_pickaxe" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_pickaxe_from_cobbled_deepslate.json b/behavior_pack/recipes/stone_pickaxe_from_cobbled_deepslate.json new file mode 100644 index 0000000..364308a --- /dev/null +++ b/behavior_pack/recipes/stone_pickaxe_from_cobbled_deepslate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_pickaxe_from_cobbled_deepslate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:cobbled_deepslate" + } + }, + "result": { + "item": "minecraft:stone_pickaxe" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_pressure_plate.json b/behavior_pack/recipes/stone_pressure_plate.json new file mode 100644 index 0000000..26b0d43 --- /dev/null +++ b/behavior_pack/recipes/stone_pressure_plate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_pressure_plate" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:stone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_pressure_plate" + } + } +} diff --git a/behavior_pack/recipes/stone_shovel.json b/behavior_pack/recipes/stone_shovel.json new file mode 100644 index 0000000..8362c7a --- /dev/null +++ b/behavior_pack/recipes/stone_shovel.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_shovel" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:stone_tool_materials" + } + }, + "unlock": [ + { + "tag": "minecraft:stone_tool_materials" + } + ], + "result": { + "item": "minecraft:stone_shovel" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/stone_shovel_from_blackstone.json b/behavior_pack/recipes/stone_shovel_from_blackstone.json new file mode 100644 index 0000000..4c5744c --- /dev/null +++ b/behavior_pack/recipes/stone_shovel_from_blackstone.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_shovel_from_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:blackstone" + } + }, + "result": { + "item": "minecraft:stone_shovel" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_shovel_from_cobbled_deepslate.json b/behavior_pack/recipes/stone_shovel_from_cobbled_deepslate.json new file mode 100644 index 0000000..e63bd23 --- /dev/null +++ b/behavior_pack/recipes/stone_shovel_from_cobbled_deepslate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_shovel_from_cobbled_deepslate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:cobbled_deepslate" + } + }, + "result": { + "item": "minecraft:stone_shovel" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_stairs.json b/behavior_pack/recipes/stone_stairs.json new file mode 100644 index 0000000..550547c --- /dev/null +++ b/behavior_pack/recipes/stone_stairs.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_stairs" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:stone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:normal_stone_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stone_sword.json b/behavior_pack/recipes/stone_sword.json new file mode 100644 index 0000000..08b669e --- /dev/null +++ b/behavior_pack/recipes/stone_sword.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_sword" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:stone_tool_materials" + } + }, + "unlock": [ + { + "tag": "minecraft:stone_tool_materials" + } + ], + "result": { + "item": "minecraft:stone_sword" + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/stone_sword_from_blackstone.json b/behavior_pack/recipes/stone_sword_from_blackstone.json new file mode 100644 index 0000000..e17ef83 --- /dev/null +++ b/behavior_pack/recipes/stone_sword_from_blackstone.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_sword_from_blackstone" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:blackstone" + } + }, + "result": { + "item": "minecraft:stone_sword" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stone_sword_from_cobbled_deepslate.json b/behavior_pack/recipes/stone_sword_from_cobbled_deepslate.json new file mode 100644 index 0000000..8591007 --- /dev/null +++ b/behavior_pack/recipes/stone_sword_from_cobbled_deepslate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stone_sword_from_cobbled_deepslate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:cobbled_deepslate" + } + }, + "result": { + "item": "minecraft:stone_sword" + }, + "priority": 2 + } +} diff --git a/behavior_pack/recipes/stonebrick.json b/behavior_pack/recipes/stonebrick.json new file mode 100644 index 0000000..c65b085 --- /dev/null +++ b/behavior_pack/recipes/stonebrick.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stonebrick" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stone", + "data": 0 + } + }, + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_bricks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter.json b/behavior_pack/recipes/stonecutter.json new file mode 100644 index 0000000..0213d2b --- /dev/null +++ b/behavior_pack/recipes/stonecutter.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stonecutter" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + " X ", + "###" + ], + "key": { + "#": { + "item": "minecraft:stone" + }, + "X": { + "item": "minecraft:iron_ingot" + } + }, + "unlock": [ + { + "item": "minecraft:stone" + } + ], + "result": { + "item": "minecraft:stonecutter_block" + } + } +} diff --git a/behavior_pack/recipes/stonecutter_andesite_slab.json b/behavior_pack/recipes/stonecutter_andesite_slab.json new file mode 100644 index 0000000..9e8484a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_andesite_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_andesite_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:andesite" + } + ], + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:andesite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_andesite_stairs.json b/behavior_pack/recipes/stonecutter_andesite_stairs.json new file mode 100644 index 0000000..26205b6 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_andesite_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_andesite_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:andesite" + } + ], + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:andesite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_andesite_wall.json b/behavior_pack/recipes/stonecutter_andesite_wall.json new file mode 100644 index 0000000..78d79c8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_andesite_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_andesite_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:andesite" + } + ], + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:andesite_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_blackstone_slab_from_blackstone.json b/behavior_pack/recipes/stonecutter_blackstone_slab_from_blackstone.json new file mode 100644 index 0000000..9bf7eca --- /dev/null +++ b/behavior_pack/recipes/stonecutter_blackstone_slab_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_blackstone_slab_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:blackstone_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_blackstone_stairs_from_blackstone.json b/behavior_pack/recipes/stonecutter_blackstone_stairs_from_blackstone.json new file mode 100644 index 0000000..268ccd8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_blackstone_stairs_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_blackstone_stairs_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:blackstone_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_blackstone_wall_from_blackstone.json b/behavior_pack/recipes/stonecutter_blackstone_wall_from_blackstone.json new file mode 100644 index 0000000..e5520ce --- /dev/null +++ b/behavior_pack/recipes/stonecutter_blackstone_wall_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_blackstone_wall_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:blackstone_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_brick_slab.json b/behavior_pack/recipes/stonecutter_brick_slab.json new file mode 100644 index 0000000..65e0224 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_brick_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_brick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:brick_block" + } + ], + "unlock": [ + { + "item": "minecraft:brick_block" + } + ], + "result": { + "item": "minecraft:brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_brick_slab_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_brick_slab_from_polished_blackstone.json new file mode 100644 index 0000000..9c8a1ed --- /dev/null +++ b/behavior_pack/recipes/stonecutter_brick_slab_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_brick_slab_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_brick_stairs.json b/behavior_pack/recipes/stonecutter_brick_stairs.json new file mode 100644 index 0000000..bc83130 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_brick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:brick_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:brick_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_brick_stairs_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_brick_stairs_from_polished_blackstone.json new file mode 100644 index 0000000..0239a51 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_brick_stairs_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_brick_stairs_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_brick_wall.json b/behavior_pack/recipes/stonecutter_brick_wall.json new file mode 100644 index 0000000..6dccf18 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_brick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_brick_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:brick_block" + } + ], + "unlock": [ + { + "item": "minecraft:brick_block" + } + ], + "result": { + "item": "minecraft:brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_brick_wall_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_brick_wall_from_polished_blackstone.json new file mode 100644 index 0000000..a5b2628 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_brick_wall_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_brick_wall_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_bricks_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_bricks_from_polished_blackstone.json new file mode 100644 index 0000000..5a978e7 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_bricks_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_bricks_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_chiseled_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_chiseled_from_polished_blackstone.json new file mode 100644 index 0000000..1464d19 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_chiseled_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_chiseled_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:chiseled_polished_blackstone", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_chiseled_nether_bricks_from_nether_brick.json b/behavior_pack/recipes/stonecutter_chiseled_nether_bricks_from_nether_brick.json new file mode 100644 index 0000000..a63ec7f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_chiseled_nether_bricks_from_nether_brick.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_chiseled_nether_bricks_from_nether_brick" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:nether_brick" + } + ], + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "result": { + "item": "minecraft:chiseled_nether_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_chiseled_polished_from_blackstone.json b/behavior_pack/recipes/stonecutter_chiseled_polished_from_blackstone.json new file mode 100644 index 0000000..ca910ea --- /dev/null +++ b/behavior_pack/recipes/stonecutter_chiseled_polished_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_chiseled_polished_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:chiseled_polished_blackstone", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_cobblestone_slab.json b/behavior_pack/recipes/stonecutter_cobblestone_slab.json new file mode 100644 index 0000000..2a7ffc1 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_cobblestone_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_cobbledouble_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:cobblestone" + } + ], + "unlock": [ + { + "item": "minecraft:cobblestone" + } + ], + "result": { + "item": "minecraft:cobblestone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_cobblestone_stairs.json b/behavior_pack/recipes/stonecutter_cobblestone_stairs.json new file mode 100644 index 0000000..66b97dd --- /dev/null +++ b/behavior_pack/recipes/stonecutter_cobblestone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_cobblestone_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:cobblestone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:cobblestone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_cobblestone_wall.json b/behavior_pack/recipes/stonecutter_cobblestone_wall.json new file mode 100644 index 0000000..43611f0 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_cobblestone_wall.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_cobblestone_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:cobblestone" + } + ], + "unlock": [ + { + "item": "minecraft:cobblestone" + } + ], + "result": { + "item": "minecraft:cobblestone_wall", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_copper_block_to_chiseled_copper.json b/behavior_pack/recipes/stonecutter_copper_block_to_chiseled_copper.json new file mode 100644 index 0000000..420a5e1 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_copper_block_to_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_copper_block_to_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:copper_block" + } + ], + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_copper_block_to_copper_grate.json b/behavior_pack/recipes/stonecutter_copper_block_to_copper_grate.json new file mode 100644 index 0000000..0df505d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_copper_block_to_copper_grate.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_copper_block_to_copper_grate" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:copper_block" + } + ], + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper.json new file mode 100644 index 0000000..70fdb90 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_copper_block_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:copper_block" + } + ], + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..9ce600a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_copper_block_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:copper_block" + } + ], + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..70079d9 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_copper_block_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:copper_block" + } + ], + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_cut_copper_to_chiseled_copper.json b/behavior_pack/recipes/stonecutter_cut_copper_to_chiseled_copper.json new file mode 100644 index 0000000..cb57b61 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_cut_copper_to_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_cut_copper_to_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:cut_copper" + } + ], + "result": { + "item": "minecraft:chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..544f7d6 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:cut_copper" + } + ], + "result": { + "item": "minecraft:cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..94b77ab --- /dev/null +++ b/behavior_pack/recipes/stonecutter_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:cut_copper" + } + ], + "result": { + "item": "minecraft:cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_dark_prismarine_slab.json b/behavior_pack/recipes/stonecutter_dark_prismarine_slab.json new file mode 100644 index 0000000..80cfe1f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_dark_prismarine_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_dark_prismarine_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:dark_prismarine" + } + ], + "unlock": [ + { + "item": "minecraft:dark_prismarine" + } + ], + "result": { + "item": "minecraft:dark_prismarine_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_dark_prismarine_stairs.json b/behavior_pack/recipes/stonecutter_dark_prismarine_stairs.json new file mode 100644 index 0000000..26cc523 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_dark_prismarine_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_dark_prismarine_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:dark_prismarine" + } + ], + "unlock": [ + { + "item": "minecraft:dark_prismarine" + } + ], + "result": { + "item": "minecraft:dark_prismarine_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_diorite_slab.json b/behavior_pack/recipes/stonecutter_diorite_slab.json new file mode 100644 index 0000000..5577cc2 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_diorite_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_diorite_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:diorite" + } + ], + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:diorite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_diorite_stairs.json b/behavior_pack/recipes/stonecutter_diorite_stairs.json new file mode 100644 index 0000000..783a0d6 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_diorite_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_diorite_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:diorite" + } + ], + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:diorite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_diorite_wall.json b/behavior_pack/recipes/stonecutter_diorite_wall.json new file mode 100644 index 0000000..d86ca17 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_diorite_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_diorite_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:diorite" + } + ], + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:diorite_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_endbrick_slab.json b/behavior_pack/recipes/stonecutter_endbrick_slab.json new file mode 100644 index 0000000..6a24238 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_endbrick_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_endbrick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:end_stone" + } + ], + "unlock": [ + { + "item": "minecraft:end_stone" + } + ], + "result": { + "item": "minecraft:end_stone_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_endbrick_slab2.json b/behavior_pack/recipes/stonecutter_endbrick_slab2.json new file mode 100644 index 0000000..280ba02 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_endbrick_slab2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_endbrick_slab2" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:end_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:end_bricks" + } + ], + "result": { + "item": "minecraft:end_stone_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_endbrick_stairs.json b/behavior_pack/recipes/stonecutter_endbrick_stairs.json new file mode 100644 index 0000000..4b9b602 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_endbrick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_endbrick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:end_stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:end_stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:end_brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_endbrick_stairs2.json b/behavior_pack/recipes/stonecutter_endbrick_stairs2.json new file mode 100644 index 0000000..094c8f6 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_endbrick_stairs2.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_endbrick_stairs2" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:end_bricks", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:end_bricks", + "data": 0 + } + ], + "result": { + "item": "minecraft:end_brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_endbrick_wall.json b/behavior_pack/recipes/stonecutter_endbrick_wall.json new file mode 100644 index 0000000..ba6b7f7 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_endbrick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_endbrick_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:end_stone" + } + ], + "unlock": [ + { + "item": "minecraft:end_stone" + } + ], + "result": { + "item": "minecraft:end_stone_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_endbrick_wall2.json b/behavior_pack/recipes/stonecutter_endbrick_wall2.json new file mode 100644 index 0000000..fc3ac6a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_endbrick_wall2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_endbrick_wall2" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:end_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:end_bricks" + } + ], + "result": { + "item": "minecraft:end_stone_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_endbricks.json b/behavior_pack/recipes/stonecutter_endbricks.json new file mode 100644 index 0000000..d5577b0 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_endbricks.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_endbricks" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:end_stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:end_stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:end_bricks", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_exp_cut_copper_to_exp_chiseled_copper.json b/behavior_pack/recipes/stonecutter_exp_cut_copper_to_exp_chiseled_copper.json new file mode 100644 index 0000000..2d80ed6 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exp_cut_copper_to_exp_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_cut_copper_to_exposed_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:exposed_chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper.json new file mode 100644 index 0000000..c97383a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_copper_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..7cf0ef2 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_copper_to_exposed_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..5c4351a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exposed_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_chiseled_copper.json b/behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_chiseled_copper.json new file mode 100644 index 0000000..4a5bce4 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_copper_to_exposed_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_copper_grate.json b/behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_copper_grate.json new file mode 100644 index 0000000..d8cf492 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exposed_copper_to_exposed_copper_grate.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_copper_to_exposed_copper_grate" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:exposed_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..a35365b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..df8fe5b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_exposed_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_exposed_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:exposed_cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_granite_slab.json b/behavior_pack/recipes/stonecutter_granite_slab.json new file mode 100644 index 0000000..dcc2c3f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_granite_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_granite_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:granite" + } + ], + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:granite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_granite_stairs.json b/behavior_pack/recipes/stonecutter_granite_stairs.json new file mode 100644 index 0000000..26dd2ef --- /dev/null +++ b/behavior_pack/recipes/stonecutter_granite_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_granite_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:granite" + } + ], + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:granite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_granite_wall.json b/behavior_pack/recipes/stonecutter_granite_wall.json new file mode 100644 index 0000000..2ee03a5 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_granite_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_granite_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:granite" + } + ], + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:granite_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mossy_cobblestone_slab.json b/behavior_pack/recipes/stonecutter_mossy_cobblestone_slab.json new file mode 100644 index 0000000..1946e21 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mossy_cobblestone_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mossy_cobbledouble_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:mossy_cobblestone" + } + ], + "unlock": [ + { + "item": "minecraft:mossy_cobblestone" + } + ], + "result": { + "item": "minecraft:mossy_cobblestone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mossy_cobblestone_stairs.json b/behavior_pack/recipes/stonecutter_mossy_cobblestone_stairs.json new file mode 100644 index 0000000..a6030ab --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mossy_cobblestone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mossy_cobblestone_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:mossy_cobblestone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:mossy_cobblestone", + "data": 0 + } + ], + "result": { + "item": "minecraft:mossy_cobblestone_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mossy_cobblestone_wall.json b/behavior_pack/recipes/stonecutter_mossy_cobblestone_wall.json new file mode 100644 index 0000000..cb141dd --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mossy_cobblestone_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mossy_cobblestone_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:mossy_cobblestone" + } + ], + "unlock": [ + { + "item": "minecraft:mossy_cobblestone" + } + ], + "result": { + "item": "minecraft:mossy_cobblestone_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mossy_stonebrick_slab.json b/behavior_pack/recipes/stonecutter_mossy_stonebrick_slab.json new file mode 100644 index 0000000..130d399 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mossy_stonebrick_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mossy_stonebrick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "result": { + "item": "minecraft:mossy_stone_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mossy_stonebrick_stairs.json b/behavior_pack/recipes/stonecutter_mossy_stonebrick_stairs.json new file mode 100644 index 0000000..0fdd61d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mossy_stonebrick_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mossy_stonebrick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "result": { + "item": "minecraft:mossy_stone_brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mossy_stonebrick_wall.json b/behavior_pack/recipes/stonecutter_mossy_stonebrick_wall.json new file mode 100644 index 0000000..377a484 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mossy_stonebrick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mossy_stonebrick_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:mossy_stone_bricks" + } + ], + "result": { + "item": "minecraft:mossy_stone_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mud_brick_slab.json b/behavior_pack/recipes/stonecutter_mud_brick_slab.json new file mode 100644 index 0000000..4012d75 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mud_brick_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mud_brick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:mud_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:mud_bricks" + } + ], + "result": { + "item": "minecraft:mud_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mud_brick_stairs.json b/behavior_pack/recipes/stonecutter_mud_brick_stairs.json new file mode 100644 index 0000000..7cc5204 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mud_brick_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mud_brick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:mud_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:mud_bricks" + } + ], + "result": { + "item": "minecraft:mud_brick_stairs", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_mud_brick_wall.json b/behavior_pack/recipes/stonecutter_mud_brick_wall.json new file mode 100644 index 0000000..4c44f47 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_mud_brick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_mud_brick_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:mud_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:mud_bricks" + } + ], + "result": { + "item": "minecraft:mud_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_nether_brick_slab.json b/behavior_pack/recipes/stonecutter_nether_brick_slab.json new file mode 100644 index 0000000..df0c3e3 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_nether_brick_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_nether_brick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:nether_brick" + } + ], + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "result": { + "item": "minecraft:nether_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_nether_brick_stairs.json b/behavior_pack/recipes/stonecutter_nether_brick_stairs.json new file mode 100644 index 0000000..f48bbff --- /dev/null +++ b/behavior_pack/recipes/stonecutter_nether_brick_stairs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_nether_brick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:nether_brick", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "result": { + "item": "minecraft:nether_brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_nether_brick_wall.json b/behavior_pack/recipes/stonecutter_nether_brick_wall.json new file mode 100644 index 0000000..2e81177 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_nether_brick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_nether_brick_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:nether_brick" + } + ], + "unlock": [ + { + "item": "minecraft:nether_brick" + } + ], + "result": { + "item": "minecraft:nether_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_oxi_cut_copper_to_oxi_chiseled_copper.json b/behavior_pack/recipes/stonecutter_oxi_cut_copper_to_oxi_chiseled_copper.json new file mode 100644 index 0000000..26ff032 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxi_cut_copper_to_oxi_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_cut_copper_to_oxidized_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:oxidized_chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper.json new file mode 100644 index 0000000..87cedcb --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_copper_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..1e702a8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..e756dc4 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxidized_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_chiseled_copper.json b/behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_chiseled_copper.json new file mode 100644 index 0000000..7ef0165 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_copper_to_oxidized_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_copper_grate.json b/behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_copper_grate.json new file mode 100644 index 0000000..2b7e124 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxidized_copper_to_oxidized_copper_grate.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_copper_to_oxidized_copper_grate" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:oxidized_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..0e3d471 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..3c7a488 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_oxidized_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_oxidized_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:oxidized_cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_andesite.json b/behavior_pack/recipes/stonecutter_polished_andesite.json new file mode 100644 index 0000000..f3ae20d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_andesite.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_andesite" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:andesite" + } + ], + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:polished_andesite", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_andesite_slab.json b/behavior_pack/recipes/stonecutter_polished_andesite_slab.json new file mode 100644 index 0000000..51ce46e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_andesite_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_andesite_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 4, + "ingredients": [ + { + "item": "minecraft:andesite" + } + ], + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:polished_andesite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_andesite_slab2.json b/behavior_pack/recipes/stonecutter_polished_andesite_slab2.json new file mode 100644 index 0000000..861e5df --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_andesite_slab2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_andesite_slab2" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_andesite" + } + ], + "unlock": [ + { + "item": "minecraft:polished_andesite" + } + ], + "result": { + "item": "minecraft:polished_andesite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_andesite_stairs.json b/behavior_pack/recipes/stonecutter_polished_andesite_stairs.json new file mode 100644 index 0000000..ed11531 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_andesite_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_andesite_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 5, + "ingredients": [ + { + "item": "minecraft:andesite" + } + ], + "unlock": [ + { + "item": "minecraft:andesite" + } + ], + "result": { + "item": "minecraft:polished_andesite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_andesite_stairs2.json b/behavior_pack/recipes/stonecutter_polished_andesite_stairs2.json new file mode 100644 index 0000000..a5db439 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_andesite_stairs2.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_andesite_stairs2" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:polished_andesite" + } + ], + "unlock": [ + { + "item": "minecraft:polished_andesite" + } + ], + "result": { + "item": "minecraft:polished_andesite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_basalt_from_basalt.json b/behavior_pack/recipes/stonecutter_polished_basalt_from_basalt.json new file mode 100644 index 0000000..c75c7f8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_basalt_from_basalt.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_basalt_from_basalt" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:basalt" + } + ], + "unlock": [ + { + "item": "minecraft:basalt" + } + ], + "result": { + "item": "minecraft:polished_basalt", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_brick_slab_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_brick_slab_from_blackstone.json new file mode 100644 index 0000000..8865382 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_brick_slab_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_brick_slab_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_brick_stairs_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_brick_stairs_from_blackstone.json new file mode 100644 index 0000000..8249574 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_brick_stairs_from_blackstone.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_brick_stairs_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_stairs", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_brick_wall_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_brick_wall_from_blackstone.json new file mode 100644 index 0000000..06d748b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_brick_wall_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_brick_wall_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_bricks_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_bricks_from_blackstone.json new file mode 100644 index 0000000..37844fd --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_bricks_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_bricks_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_diorite.json b/behavior_pack/recipes/stonecutter_polished_diorite.json new file mode 100644 index 0000000..44e5bd8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_diorite.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_diorite" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:diorite" + } + ], + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:polished_diorite", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_diorite_slab.json b/behavior_pack/recipes/stonecutter_polished_diorite_slab.json new file mode 100644 index 0000000..9e8ba3e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_diorite_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_diorite_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 4, + "ingredients": [ + { + "item": "minecraft:diorite" + } + ], + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:polished_diorite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_diorite_slab2.json b/behavior_pack/recipes/stonecutter_polished_diorite_slab2.json new file mode 100644 index 0000000..40f71ea --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_diorite_slab2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_diorite_slab2" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_diorite" + } + ], + "unlock": [ + { + "item": "minecraft:polished_diorite" + } + ], + "result": { + "item": "minecraft:polished_diorite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_diorite_stairs.json b/behavior_pack/recipes/stonecutter_polished_diorite_stairs.json new file mode 100644 index 0000000..43aa14c --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_diorite_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_diorite_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 5, + "ingredients": [ + { + "item": "minecraft:diorite" + } + ], + "unlock": [ + { + "item": "minecraft:diorite" + } + ], + "result": { + "item": "minecraft:polished_diorite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_diorite_stairs2.json b/behavior_pack/recipes/stonecutter_polished_diorite_stairs2.json new file mode 100644 index 0000000..4f3d975 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_diorite_stairs2.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_diorite_stairs2" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:polished_diorite" + } + ], + "unlock": [ + { + "item": "minecraft:polished_diorite" + } + ], + "result": { + "item": "minecraft:polished_diorite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_from_blackstone.json new file mode 100644 index 0000000..cbb6ab4 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_granite.json b/behavior_pack/recipes/stonecutter_polished_granite.json new file mode 100644 index 0000000..8655bbd --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_granite.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_granite" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:granite" + } + ], + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:polished_granite", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_granite_slab.json b/behavior_pack/recipes/stonecutter_polished_granite_slab.json new file mode 100644 index 0000000..58f064c --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_granite_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_granite_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 4, + "ingredients": [ + { + "item": "minecraft:granite" + } + ], + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:polished_granite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_granite_slab2.json b/behavior_pack/recipes/stonecutter_polished_granite_slab2.json new file mode 100644 index 0000000..1b471d7 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_granite_slab2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_granite_slab2" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_granite" + } + ], + "unlock": [ + { + "item": "minecraft:polished_granite" + } + ], + "result": { + "item": "minecraft:polished_granite_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_granite_stairs.json b/behavior_pack/recipes/stonecutter_polished_granite_stairs.json new file mode 100644 index 0000000..5f44bfa --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_granite_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_granite_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 5, + "ingredients": [ + { + "item": "minecraft:granite" + } + ], + "unlock": [ + { + "item": "minecraft:granite" + } + ], + "result": { + "item": "minecraft:polished_granite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_granite_stairs2.json b/behavior_pack/recipes/stonecutter_polished_granite_stairs2.json new file mode 100644 index 0000000..1993a69 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_granite_stairs2.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_granite_stairs2" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:polished_granite" + } + ], + "unlock": [ + { + "item": "minecraft:polished_granite" + } + ], + "result": { + "item": "minecraft:polished_granite_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_polished_slab_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_slab_from_blackstone.json new file mode 100644 index 0000000..415b8b1 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_slab_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_slab_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_stairs_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_stairs_from_blackstone.json new file mode 100644 index 0000000..5677452 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_stairs_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_stairs_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_chiseled_tuff_bricks.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_chiseled_tuff_bricks.json new file mode 100644 index 0000000..610891a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_chiseled_tuff_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_chiseled_tuff_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:chiseled_tuff_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_slab.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_slab.json new file mode 100644 index 0000000..7bf5415 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_slab.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_polished_tuff_slab" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_stairs.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_stairs.json new file mode 100644 index 0000000..abee1ae --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_polished_tuff_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_wall.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_wall.json new file mode 100644 index 0000000..66e4328 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_polished_tuff_wall.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_polished_tuff_wall" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_slab.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_slab.json new file mode 100644 index 0000000..d6c0773 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_slab.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_tuff_brick_slab" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:tuff_brick_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_stairs.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_stairs.json new file mode 100644 index 0000000..93e6399 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_tuff_brick_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:tuff_brick_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_wall.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_wall.json new file mode 100644 index 0000000..427a52d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_brick_wall.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_tuff_brick_wall" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:tuff_brick_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_bricks.json b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_bricks.json new file mode 100644 index 0000000..4ab38d3 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_tuff_to_tuff_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_tuff_to_tuff_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:polished_tuff" + } + ], + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:tuff_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_polished_wall_from_blackstone.json b/behavior_pack/recipes/stonecutter_polished_wall_from_blackstone.json new file mode 100644 index 0000000..3390da9 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_polished_wall_from_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_polished_wall_from_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_prismarine_brick_slab.json b/behavior_pack/recipes/stonecutter_prismarine_brick_slab.json new file mode 100644 index 0000000..1295697 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_prismarine_brick_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_prismarine_brick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:prismarine_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:prismarine_bricks" + } + ], + "result": { + "item": "minecraft:prismarine_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_prismarine_brick_stairs.json b/behavior_pack/recipes/stonecutter_prismarine_brick_stairs.json new file mode 100644 index 0000000..9f578b7 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_prismarine_brick_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_prismarine_brick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:prismarine_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:prismarine_bricks" + } + ], + "result": { + "item": "minecraft:prismarine_bricks_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_prismarine_slab.json b/behavior_pack/recipes/stonecutter_prismarine_slab.json new file mode 100644 index 0000000..bdffa85 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_prismarine_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_prismarine_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "result": { + "item": "minecraft:prismarine_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_prismarine_stairs.json b/behavior_pack/recipes/stonecutter_prismarine_stairs.json new file mode 100644 index 0000000..fe93ecb --- /dev/null +++ b/behavior_pack/recipes/stonecutter_prismarine_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_prismarine_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "result": { + "item": "minecraft:prismarine_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_prismarine_wall.json b/behavior_pack/recipes/stonecutter_prismarine_wall.json new file mode 100644 index 0000000..a40ec0b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_prismarine_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_prismarine_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:prismarine", + "data": 0 + } + ], + "result": { + "item": "minecraft:prismarine_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_purpur_lines.json b/behavior_pack/recipes/stonecutter_purpur_lines.json new file mode 100644 index 0000000..0dae12e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_purpur_lines.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_purpur_lines" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:purpur_block", + "data": 2, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_purpur_pillar.json b/behavior_pack/recipes/stonecutter_purpur_pillar.json new file mode 100644 index 0000000..6069e4d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_purpur_pillar.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_purpur_lines" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:purpur_pillar", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_purpur_slab.json b/behavior_pack/recipes/stonecutter_purpur_slab.json new file mode 100644 index 0000000..ea36416 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_purpur_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_purpur_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:purpur_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_purpur_stairs.json b/behavior_pack/recipes/stonecutter_purpur_stairs.json new file mode 100644 index 0000000..278f72f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_purpur_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_purpur_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:purpur_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:purpur_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_quartz_bricks_from_quartz_block.json b/behavior_pack/recipes/stonecutter_quartz_bricks_from_quartz_block.json new file mode 100644 index 0000000..fe6027b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_quartz_bricks_from_quartz_block.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_quartz_bricks_from_quartz_block" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:quartz_block:0" + } + ], + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_quartz_chiseled.json b/behavior_pack/recipes/stonecutter_quartz_chiseled.json new file mode 100644 index 0000000..994cbf6 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_quartz_chiseled.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_quartz_chiseled" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:chiseled_quartz_block", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_quartz_lines.json b/behavior_pack/recipes/stonecutter_quartz_lines.json new file mode 100644 index 0000000..ba72e99 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_quartz_lines.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_quartz_lines" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_block", + "data": 2, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_quartz_pillar.json b/behavior_pack/recipes/stonecutter_quartz_pillar.json new file mode 100644 index 0000000..739ddb4 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_quartz_pillar.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_quartz_lines" + }, + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_pillar", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_quartz_slab.json b/behavior_pack/recipes/stonecutter_quartz_slab.json new file mode 100644 index 0000000..efa54df --- /dev/null +++ b/behavior_pack/recipes/stonecutter_quartz_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_quartz_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_quartz_stairs.json b/behavior_pack/recipes/stonecutter_quartz_stairs.json new file mode 100644 index 0000000..f68243a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_quartz_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_quartz_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:quartz_block", + "data": 0 + } + ], + "result": { + "item": "minecraft:quartz_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_nether_brick_slab.json b/behavior_pack/recipes/stonecutter_red_nether_brick_slab.json new file mode 100644 index 0000000..b743c93 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_nether_brick_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_nether_brick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:red_nether_brick" + } + ], + "unlock": [ + { + "item": "minecraft:red_nether_brick" + } + ], + "result": { + "item": "minecraft:red_nether_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_nether_brick_stairs.json b/behavior_pack/recipes/stonecutter_red_nether_brick_stairs.json new file mode 100644 index 0000000..bd02521 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_nether_brick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_nether_brick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:red_nether_brick", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:red_nether_brick", + "data": 0 + } + ], + "result": { + "item": "minecraft:red_nether_brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_nether_brick_wall.json b/behavior_pack/recipes/stonecutter_red_nether_brick_wall.json new file mode 100644 index 0000000..22a714d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_nether_brick_wall.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_nether_brick_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:red_nether_brick" + } + ], + "unlock": [ + { + "item": "minecraft:red_nether_brick" + } + ], + "result": { + "item": "minecraft:red_nether_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_sandstone_cut.json b/behavior_pack/recipes/stonecutter_red_sandstone_cut.json new file mode 100644 index 0000000..15cbc69 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_sandstone_cut.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_sandstone_cut" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:cut_red_sandstone", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_sandstone_heiroglyphs.json b/behavior_pack/recipes/stonecutter_red_sandstone_heiroglyphs.json new file mode 100644 index 0000000..1d88b40 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_sandstone_heiroglyphs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_sandstone_heiroglyphs" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:chiseled_red_sandstone", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_sandstone_slab.json b/behavior_pack/recipes/stonecutter_red_sandstone_slab.json new file mode 100644 index 0000000..c5070c4 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_sandstone_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_sanddouble_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:red_sandstone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_sandstone_stairs.json b/behavior_pack/recipes/stonecutter_red_sandstone_stairs.json new file mode 100644 index 0000000..8824a48 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_sandstone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_sandstone_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:red_sandstone_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_red_sandstone_wall.json b/behavior_pack/recipes/stonecutter_red_sandstone_wall.json new file mode 100644 index 0000000..99bef69 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_red_sandstone_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_red_sandstone_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 4, + "ingredients": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:red_sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:red_sandstone_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_resin_brick_chiseled.json b/behavior_pack/recipes/stonecutter_resin_brick_chiseled.json new file mode 100644 index 0000000..86994f0 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_resin_brick_chiseled.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_resin_brick_chiseled" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:resin_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:resin_bricks" + } + ], + "result": { + "item": "minecraft:chiseled_resin_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_resin_brick_slab.json b/behavior_pack/recipes/stonecutter_resin_brick_slab.json new file mode 100644 index 0000000..b74b744 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_resin_brick_slab.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_resin_brick_slab" + }, + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:resin_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:resin_bricks" + } + ], + "result": { + "item": "minecraft:resin_brick_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_resin_brick_stairs.json b/behavior_pack/recipes/stonecutter_resin_brick_stairs.json new file mode 100644 index 0000000..22ac129 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_resin_brick_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_resin_brick_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:resin_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:resin_bricks" + } + ], + "result": { + "item": "minecraft:resin_brick_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_resin_brick_wall.json b/behavior_pack/recipes/stonecutter_resin_brick_wall.json new file mode 100644 index 0000000..4c89433 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_resin_brick_wall.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.21.50", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_resin_brick_wall" + }, + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:resin_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:resin_bricks" + } + ], + "result": { + "item": "minecraft:resin_brick_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_sandstone_cut.json b/behavior_pack/recipes/stonecutter_sandstone_cut.json new file mode 100644 index 0000000..5554e0b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_sandstone_cut.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_sandstone_cut" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:cut_sandstone", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_sandstone_heiroglyphs.json b/behavior_pack/recipes/stonecutter_sandstone_heiroglyphs.json new file mode 100644 index 0000000..f825999 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_sandstone_heiroglyphs.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_sandstone_heiroglyphs" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:chiseled_sandstone", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_sandstone_slab.json b/behavior_pack/recipes/stonecutter_sandstone_slab.json new file mode 100644 index 0000000..5dddbf6 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_sandstone_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_sanddouble_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:sandstone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_sandstone_stairs.json b/behavior_pack/recipes/stonecutter_sandstone_stairs.json new file mode 100644 index 0000000..32714c7 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_sandstone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_sandstone_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:sandstone_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_sandstone_wall.json b/behavior_pack/recipes/stonecutter_sandstone_wall.json new file mode 100644 index 0000000..ca92ae2 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_sandstone_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_sandstone_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 4, + "ingredients": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 0 + } + ], + "result": { + "item": "minecraft:sandstone_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_slab_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_slab_from_polished_blackstone.json new file mode 100644 index 0000000..b2b7493 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_slab_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_slab_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_slab_from_polished_blackstone_bricks.json b/behavior_pack/recipes/stonecutter_slab_from_polished_blackstone_bricks.json new file mode 100644 index 0000000..0eec8d4 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_slab_from_polished_blackstone_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_slab_from_polished_blackstone_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_smooth_quartz_slab.json b/behavior_pack/recipes/stonecutter_smooth_quartz_slab.json new file mode 100644 index 0000000..4ef0d73 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_smooth_quartz_slab.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_smooth_quartz_slab" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:smooth_quartz" + } + ], + "unlock": [ + { + "item": "minecraft:smooth_quartz" + } + ], + "result": { + "item": "minecraft:smooth_quartz_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_smooth_quartz_stairs.json b/behavior_pack/recipes/stonecutter_smooth_quartz_stairs.json new file mode 100644 index 0000000..9c75929 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_smooth_quartz_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_smooth_quartz_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:smooth_quartz" + } + ], + "unlock": [ + { + "item": "minecraft:smooth_quartz" + } + ], + "result": { + "item": "minecraft:smooth_quartz_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_smooth_red_sandstone_slab.json b/behavior_pack/recipes/stonecutter_smooth_red_sandstone_slab.json new file mode 100644 index 0000000..5affdd8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_smooth_red_sandstone_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_smooth_red_sanddouble_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:smooth_red_sandstone" + } + ], + "unlock": [ + { + "item": "minecraft:smooth_red_sandstone" + } + ], + "result": { + "item": "minecraft:smooth_red_sandstone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_smooth_red_sandstone_stairs.json b/behavior_pack/recipes/stonecutter_smooth_red_sandstone_stairs.json new file mode 100644 index 0000000..3a7095f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_smooth_red_sandstone_stairs.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_smooth_red_sandstone_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:smooth_red_sandstone" + } + ], + "unlock": [ + { + "item": "minecraft:smooth_red_sandstone" + } + ], + "result": { + "item": "minecraft:smooth_red_sandstone_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_smooth_sandstone_slab.json b/behavior_pack/recipes/stonecutter_smooth_sandstone_slab.json new file mode 100644 index 0000000..e1d39c8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_smooth_sandstone_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_smooth_sanddouble_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:smooth_sandstone" + } + ], + "unlock": [ + { + "item": "minecraft:smooth_sandstone" + } + ], + "result": { + "item": "minecraft:smooth_sandstone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_smooth_sandstone_stairs.json b/behavior_pack/recipes/stonecutter_smooth_sandstone_stairs.json new file mode 100644 index 0000000..4d2fb9a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_smooth_sandstone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_smooth_sandstone_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:sandstone", + "data": 3 + } + ], + "unlock": [ + { + "item": "minecraft:sandstone", + "data": 3 + } + ], + "result": { + "item": "minecraft:smooth_sandstone_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_smooth_stone_slab.json b/behavior_pack/recipes/stonecutter_smooth_stone_slab.json new file mode 100644 index 0000000..4fca98f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_smooth_stone_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_smooth_double_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:smooth_stone" + } + ], + "unlock": [ + { + "item": "minecraft:smooth_stone" + } + ], + "result": { + "item": "minecraft:smooth_stone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone.json new file mode 100644 index 0000000..bf2397c --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stairs_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone_bricks.json b/behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone_bricks.json new file mode 100644 index 0000000..b484dd2 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stairs_from_polished_blackstone_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "stonecutter_stairs_from_polished_blackstone_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_stone_slab.json b/behavior_pack/recipes/stonecutter_stone_slab.json new file mode 100644 index 0000000..708f46b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stone_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_double_stone_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 5, + "ingredients": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:normal_stone_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stone_stairs.json b/behavior_pack/recipes/stonecutter_stone_stairs.json new file mode 100644 index 0000000..c06437c --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stone_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stone_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 6, + "ingredients": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:normal_stone_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick.json b/behavior_pack/recipes/stonecutter_stonebrick.json new file mode 100644 index 0000000..e7b8f64 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick" + }, + + + "tags": [ "stonecutter" ], + "priority": 4, + "ingredients": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_bricks", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_chiseled.json b/behavior_pack/recipes/stonecutter_stonebrick_chiseled.json new file mode 100644 index 0000000..50bcc61 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_chiseled.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_chiseled" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:chiseled_stone_bricks", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_chiseled2.json b/behavior_pack/recipes/stonecutter_stonebrick_chiseled2.json new file mode 100644 index 0000000..2960026 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_chiseled2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_chiseled2" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:stone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:stone_bricks" + } + ], + "result": { + "item": "minecraft:chiseled_stone_bricks", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_slab.json b/behavior_pack/recipes/stonecutter_stonebrick_slab.json new file mode 100644 index 0000000..3fb6f99 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_slab2.json b/behavior_pack/recipes/stonecutter_stonebrick_slab2.json new file mode 100644 index 0000000..9236070 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_slab2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_slab2" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:stone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:stone_bricks" + } + ], + "result": { + "item": "minecraft:stone_brick_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_stairs.json b/behavior_pack/recipes/stonecutter_stonebrick_stairs.json new file mode 100644 index 0000000..c8dcc78 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_stairs.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_stairs2.json b/behavior_pack/recipes/stonecutter_stonebrick_stairs2.json new file mode 100644 index 0000000..111a9e5 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_stairs2.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_stairs2" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:stone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:stone_bricks" + } + ], + "result": { + "item": "minecraft:stone_brick_stairs", + "data": 0, + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_wall.json b/behavior_pack/recipes/stonecutter_stonebrick_wall.json new file mode 100644 index 0000000..3ef629b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_wall" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:stone", + "data": 0 + } + ], + "result": { + "item": "minecraft:stone_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_stonebrick_wall2.json b/behavior_pack/recipes/stonecutter_stonebrick_wall2.json new file mode 100644 index 0000000..74bfb6e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_stonebrick_wall2.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_stonebrick_wall2" + }, + + + "tags": [ "stonecutter" ], + "priority": 3, + "ingredients": [ + { + "item": "minecraft:stone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:stone_bricks" + } + ], + "result": { + "item": "minecraft:stone_brick_wall", + "count": 1 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_tuff_bricks_to_chiseled_tuff_bricks.json b/behavior_pack/recipes/stonecutter_tuff_bricks_to_chiseled_tuff_bricks.json new file mode 100644 index 0000000..38f99bd --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_bricks_to_chiseled_tuff_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_bricks_to_chiseled_tuff_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "result": { + "item": "minecraft:chiseled_tuff_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_slab.json b/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_slab.json new file mode 100644 index 0000000..048d408 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_slab.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_bricks_to_tuff_brick_slab" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "result": { + "item": "minecraft:tuff_brick_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_stairs.json b/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_stairs.json new file mode 100644 index 0000000..48a6c73 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_bricks_to_tuff_brick_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "result": { + "item": "minecraft:tuff_brick_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_wall.json b/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_wall.json new file mode 100644 index 0000000..9403f1c --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_bricks_to_tuff_brick_wall.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_bricks_to_tuff_brick_wall" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "result": { + "item": "minecraft:tuff_brick_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff.json b/behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff.json new file mode 100644 index 0000000..f362218 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_chiseled_tuff" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:chiseled_tuff", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff_bricks.json b/behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff_bricks.json new file mode 100644 index 0000000..73bb6f4 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_chiseled_tuff_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_chiseled_tuff_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:chiseled_tuff_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff.json b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff.json new file mode 100644 index 0000000..3a0737e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_polished_tuff" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_slab.json b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_slab.json new file mode 100644 index 0000000..941ff0f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_slab.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_polished_tuff_slab" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_stairs.json b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_stairs.json new file mode 100644 index 0000000..352c725 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_polished_tuff_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_wall.json b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_wall.json new file mode 100644 index 0000000..58b9041 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_polished_tuff_wall.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_polished_tuff_wall" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:polished_tuff_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_slab.json b/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_slab.json new file mode 100644 index 0000000..a08b5e0 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_slab.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_tuff_brick_slab" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_brick_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_stairs.json b/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_stairs.json new file mode 100644 index 0000000..94e6305 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_tuff_brick_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_brick_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_wall.json b/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_wall.json new file mode 100644 index 0000000..d317754 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_tuff_brick_wall.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_tuff_brick_wall" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_brick_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_tuff_bricks.json b/behavior_pack/recipes/stonecutter_tuff_to_tuff_bricks.json new file mode 100644 index 0000000..ebad5ef --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_tuff_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_tuff_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_bricks", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_tuff_slab.json b/behavior_pack/recipes/stonecutter_tuff_to_tuff_slab.json new file mode 100644 index 0000000..5370109 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_tuff_slab.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_tuff_slab" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_slab", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_tuff_stairs.json b/behavior_pack/recipes/stonecutter_tuff_to_tuff_stairs.json new file mode 100644 index 0000000..8bf4d03 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_tuff_stairs.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_tuff_stairs" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_stairs", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_tuff_to_tuff_wall.json b/behavior_pack/recipes/stonecutter_tuff_to_tuff_wall.json new file mode 100644 index 0000000..4a6e199 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_tuff_to_tuff_wall.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_tuff_to_tuff_wall" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:tuff" + } + ], + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper.json new file mode 100644 index 0000000..e42a23d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_copper_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..40658fa --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..87d5c9d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_copper_to_w_chiseled_copper.json b/behavior_pack/recipes/stonecutter_w_copper_to_w_chiseled_copper.json new file mode 100644 index 0000000..5a005df --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_copper_to_w_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_copper_to_waxed_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_copper_to_w_copper_grate.json b/behavior_pack/recipes/stonecutter_w_copper_to_w_copper_grate.json new file mode 100644 index 0000000..961dbf5 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_copper_to_w_copper_grate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_copper_to_waxed_copper_grate" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_copper" + } + ], + "result": { + "item": "minecraft:waxed_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..cfbf614 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..d3cfa3d --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper.json new file mode 100644 index 0000000..8866423 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_exposed_copper_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..95146d2 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_copper_to_exposed_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..a21e6e8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_exposed_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_exposed_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_chiseled_copper.json b/behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_chiseled_copper.json new file mode 100644 index 0000000..b100084 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_exposed_copper_to_waxed_exposed_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_copper_grate.json b/behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_copper_grate.json new file mode 100644 index 0000000..79fa429 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_exposed_copper_to_w_exposed_copper_grate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_exposed_copper_to_waxed_exposed_copper_grate" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..2333119 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_exposed_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..3f6144b --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_exposed_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_exposed_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_oxidized_copper_2_w_oxidized_chiseled_copper.json b/behavior_pack/recipes/stonecutter_w_oxidized_copper_2_w_oxidized_chiseled_copper.json new file mode 100644 index 0000000..6c87b4f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_oxidized_copper_2_w_oxidized_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_copper_to_waxed_oxidized_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper.json new file mode 100644 index 0000000..ae9c0b0 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_copper_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..3541eb8 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..a106270 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_oxidized_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_oxidized_copper_to_w_oxidized_copper_grate.json b/behavior_pack/recipes/stonecutter_w_oxidized_copper_to_w_oxidized_copper_grate.json new file mode 100644 index 0000000..371c02e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_oxidized_copper_to_w_oxidized_copper_grate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_copper_to_waxed_oxidized_copper_grate" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..9b7eb1e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..6a37319 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_oxidized_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_weatherd_copper_2_w_weatherd_chiseled_copper.json b/behavior_pack/recipes/stonecutter_w_weatherd_copper_2_w_weatherd_chiseled_copper.json new file mode 100644 index 0000000..3e80e51 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_weatherd_copper_2_w_weatherd_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_copper_to_waxed_weathered_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper.json new file mode 100644 index 0000000..5cdb38e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_copper_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..d1a5476 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..e0e7c12 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_weathered_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_weathered_copper_to_w_weathered_copper_grate.json b/behavior_pack/recipes/stonecutter_w_weathered_copper_to_w_weathered_copper_grate.json new file mode 100644 index 0000000..45734d0 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_weathered_copper_to_w_weathered_copper_grate.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_copper_to_waxed_weathered_copper_grate" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..1c60625 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..61ba80a --- /dev/null +++ b/behavior_pack/recipes/stonecutter_w_weathered_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_wall_from_polished_blackstone.json b/behavior_pack/recipes/stonecutter_wall_from_polished_blackstone.json new file mode 100644 index 0000000..65d6ca9 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_wall_from_polished_blackstone.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_wall_from_polished_blackstone" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone" + } + ], + "result": { + "item": "minecraft:polished_blackstone_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_wall_from_polished_blackstone_bricks.json b/behavior_pack/recipes/stonecutter_wall_from_polished_blackstone_bricks.json new file mode 100644 index 0000000..dc05cdf --- /dev/null +++ b/behavior_pack/recipes/stonecutter_wall_from_polished_blackstone_bricks.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_wall_from_polished_blackstone_bricks" + }, + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "unlock": [ + { + "item": "minecraft:polished_blackstone_bricks" + } + ], + "result": { + "item": "minecraft:polished_blackstone_brick_wall", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_wax_cut_copper_to_wax_chiseled_copper.json b/behavior_pack/recipes/stonecutter_wax_cut_copper_to_wax_chiseled_copper.json new file mode 100644 index 0000000..79c10d1 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_wax_cut_copper_to_wax_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_cut_copper_to_waxed_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_wax_exp_cut_copper_to_wax_exp_chiseled_copper.json b/behavior_pack/recipes/stonecutter_wax_exp_cut_copper_to_wax_exp_chiseled_copper.json new file mode 100644 index 0000000..a7b9523 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_wax_exp_cut_copper_to_wax_exp_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_exposed_cut_copper_to_waxed_exposed_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_wax_oxi_cut_copper_to_wax_oxi_chiseled_copper.json b/behavior_pack/recipes/stonecutter_wax_oxi_cut_copper_to_wax_oxi_chiseled_copper.json new file mode 100644 index 0000000..d45ef20 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_wax_oxi_cut_copper_to_wax_oxi_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_oxidized_cut_copper_to_waxed_oxidized_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_wax_wea_cut_copper_to_wax_wea_chiseled_copper.json b/behavior_pack/recipes/stonecutter_wax_wea_cut_copper_to_wax_wea_chiseled_copper.json new file mode 100644 index 0000000..ffbbc52 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_wax_wea_cut_copper_to_wax_wea_chiseled_copper.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_waxed_weathered_cut_copper_to_waxed_weathered_chiseled_copper" + }, + "tags": [ + "stonecutter" + ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:waxed_weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_wea_cut_copper_to_wea_chiseled_copper.json b/behavior_pack/recipes/stonecutter_wea_cut_copper_to_wea_chiseled_copper.json new file mode 100644 index 0000000..52d66c1 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_wea_cut_copper_to_wea_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_cut_copper_to_weathered_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:weathered_chiseled_copper", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper.json b/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper.json new file mode 100644 index 0000000..f365781 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_copper_to_cut_copper" + }, + + + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_slab.json new file mode 100644 index 0000000..da3a7a1 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper_slab", + "count": 8 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_stairs.json new file mode 100644 index 0000000..e6a055e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_weathered_copper_block_to_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper_stairs", + "count": 4 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_chiseled_copper.json b/behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_chiseled_copper.json new file mode 100644 index 0000000..f7de93e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_chiseled_copper.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_copper_to_weathered_chiseled_copper" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_chiseled_copper", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_copper_grate.json b/behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_copper_grate.json new file mode 100644 index 0000000..2fe1706 --- /dev/null +++ b/behavior_pack/recipes/stonecutter_weathered_copper_to_weathered_copper_grate.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_copper_to_weathered_copper_grate" + }, + "tags": [ "stonecutter" ], + "priority": 0, + "ingredients": [ + { + "item": "minecraft:weathered_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:weathered_copper_grate", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_slab.json b/behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_slab.json new file mode 100644 index 0000000..a1d5a8f --- /dev/null +++ b/behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_cut_copper_to_cut_copper_slab" + }, + + + "tags": [ "stonecutter" ], + "priority": 1, + "ingredients": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper_slab", + "count": 2 + } + } + +} diff --git a/behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_stairs.json b/behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_stairs.json new file mode 100644 index 0000000..bbb518e --- /dev/null +++ b/behavior_pack/recipes/stonecutter_weathered_cut_copper_to_cut_copper_stairs.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:stonecutter_weathered_cut_copper_to_cut_copper_stairs" + }, + + + "tags": [ "stonecutter" ], + "priority": 2, + "ingredients": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:weathered_cut_copper_stairs" + } + } + +} diff --git a/behavior_pack/recipes/string_to_wool.json b/behavior_pack/recipes/string_to_wool.json new file mode 100644 index 0000000..4d2521b --- /dev/null +++ b/behavior_pack/recipes/string_to_wool.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:string_to_wool" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:string" + } + }, + "unlock": [ + { + "item": "minecraft:string" + } + ], + "result": { + "item": "minecraft:white_wool" + } + } +} diff --git a/behavior_pack/recipes/stripped_mangrove_wood.json b/behavior_pack/recipes/stripped_mangrove_wood.json new file mode 100644 index 0000000..560b01a --- /dev/null +++ b/behavior_pack/recipes/stripped_mangrove_wood.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stripped_mangrove_wood" + }, + "tags": [ "deprecated" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_mangrove_log" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_mangrove_log" + } + ], + "result": { + "item": "minecraft:stripped_mangrove_wood", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/sugar.json b/behavior_pack/recipes/sugar.json new file mode 100644 index 0000000..3dde2f2 --- /dev/null +++ b/behavior_pack/recipes/sugar.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:sugar" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:reeds" + } + }, + "unlock": [ + { + "item": "minecraft:reeds" + } + ], + "result": { + "item": "minecraft:sugar" + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_allium.json b/behavior_pack/recipes/suspicious_stew_from_allium.json new file mode 100644 index 0000000..b40dd59 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_allium.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_allium" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:allium" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 7 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_azure_bluet.json b/behavior_pack/recipes/suspicious_stew_from_azure_bluet.json new file mode 100644 index 0000000..2ac02d9 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_azure_bluet.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_azure_bluet" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:azure_bluet" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 3 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_blue_orchid.json b/behavior_pack/recipes/suspicious_stew_from_blue_orchid.json new file mode 100644 index 0000000..494c5e5 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_blue_orchid.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_blue_orchid" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:blue_orchid" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 6 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_closed_eyeblossom.json b/behavior_pack/recipes/suspicious_stew_from_closed_eyeblossom.json new file mode 100644 index 0000000..ec9e733 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_closed_eyeblossom.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.21.40", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_closed_eyeblossom" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:closed_eyeblossom" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 12 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_cornflower.json b/behavior_pack/recipes/suspicious_stew_from_cornflower.json new file mode 100644 index 0000000..3bd98ef --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_cornflower.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_cornflower" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:cornflower" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 1 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_dandelion.json b/behavior_pack/recipes/suspicious_stew_from_dandelion.json new file mode 100644 index 0000000..c2f32f2 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_dandelion.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_dandelion" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:dandelion" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 5 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_lily_of_the_valley.json b/behavior_pack/recipes/suspicious_stew_from_lily_of_the_valley.json new file mode 100644 index 0000000..d350df5 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_lily_of_the_valley.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_lily_of_the_valley" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:lily_of_the_valley" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 4 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_open_eyeblossom.json b/behavior_pack/recipes/suspicious_stew_from_open_eyeblossom.json new file mode 100644 index 0000000..b43c642 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_open_eyeblossom.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.21.40", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_open_eyeblossom" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:open_eyeblossom" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 11 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_oxeye_daisy.json b/behavior_pack/recipes/suspicious_stew_from_oxeye_daisy.json new file mode 100644 index 0000000..3992a41 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_oxeye_daisy.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_oxeye_daisy" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:oxeye_daisy" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 8 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_poppy.json b/behavior_pack/recipes/suspicious_stew_from_poppy.json new file mode 100644 index 0000000..5ea20cd --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_poppy.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_poppy" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:poppy" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 0 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_torchflower.json b/behavior_pack/recipes/suspicious_stew_from_torchflower.json new file mode 100644 index 0000000..bd5bf56 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_torchflower.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_torchflower" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:torchflower" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 10 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_tulip_orange.json b/behavior_pack/recipes/suspicious_stew_from_tulip_orange.json new file mode 100644 index 0000000..e815dda --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_tulip_orange.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_tulip_orange" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:orange_tulip" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_tulip_pink.json b/behavior_pack/recipes/suspicious_stew_from_tulip_pink.json new file mode 100644 index 0000000..1fe9391 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_tulip_pink.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_tulip_pink" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:pink_tulip" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_tulip_red.json b/behavior_pack/recipes/suspicious_stew_from_tulip_red.json new file mode 100644 index 0000000..eb48a9f --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_tulip_red.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_tulip_red" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:red_tulip" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_tulip_white.json b/behavior_pack/recipes/suspicious_stew_from_tulip_white.json new file mode 100644 index 0000000..9cd2295 --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_tulip_white.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_tulip_white" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:white_tulip" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 2 + } + } +} diff --git a/behavior_pack/recipes/suspicious_stew_from_wither_rose.json b/behavior_pack/recipes/suspicious_stew_from_wither_rose.json new file mode 100644 index 0000000..e60da5c --- /dev/null +++ b/behavior_pack/recipes/suspicious_stew_from_wither_rose.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:suspicious_stew_from_wither_rose" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + }, + { + "item": "minecraft:bowl" + }, + { + "item": "minecraft:wither_rose" + } + ], + "unlock": { + "context": "None" + }, + "result": { + "item": "minecraft:suspicious_stew", + "data": 9 + } + } +} diff --git a/behavior_pack/recipes/target_block.json b/behavior_pack/recipes/target_block.json new file mode 100644 index 0000000..822e39e --- /dev/null +++ b/behavior_pack/recipes/target_block.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:target" + }, + "tags": [ "crafting_table" ], + "pattern": [ + " . ", + ".#.", + " . " + ], + "key": { + "#": { + "item": "minecraft:hay_block" + }, + ".": { + "item": "minecraft:redstone" + } + }, + "unlock": [ + { + "item": "minecraft:redstone" + }, + { + "item": "minecraft:hay_block" + } + ], + "result": { + "item": "minecraft:target" + } + } +} diff --git a/behavior_pack/recipes/tide_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/tide_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..7f63fdb --- /dev/null +++ b/behavior_pack/recipes/tide_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tide_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:tide_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:prismarine" + } + }, + "unlock": [ + { + "item": "minecraft:tide_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:tide_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/tinted_glass.json b/behavior_pack/recipes/tinted_glass.json new file mode 100644 index 0000000..f671677 --- /dev/null +++ b/behavior_pack/recipes/tinted_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tinted_glass" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + " A ", + "ABA", + " A " + ], + "key": { + "A": { + "item": "minecraft:amethyst_shard" + }, + "B": { + "item": "minecraft:glass" + } + }, + "unlock": [ + { + "item": "minecraft:amethyst_shard" + } + ], + "result": { + "item": "minecraft:tinted_glass", + "count": 2 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/tnt.json b/behavior_pack/recipes/tnt.json new file mode 100644 index 0000000..78fe6d2 --- /dev/null +++ b/behavior_pack/recipes/tnt.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tnt" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "X#X", + "#X#", + "X#X" + ], + "key": { + "#": { + "item": "minecraft:sand" + }, + "X": { + "item": "minecraft:gunpowder" + } + }, + "unlock": [ + { + "item": "minecraft:gunpowder" + } + ], + "result": { + "item": "minecraft:tnt" + } + } +} diff --git a/behavior_pack/recipes/tnt_minecart.json b/behavior_pack/recipes/tnt_minecart.json new file mode 100644 index 0000000..f1a6298 --- /dev/null +++ b/behavior_pack/recipes/tnt_minecart.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:tnt_minecart" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:tnt", + "data": 0 + }, + { + "item": "minecraft:minecart" + } + ], + "unlock": [ + { + "item": "minecraft:tnt", + "data": 0 + } + ], + "result": { + "item": "minecraft:tnt_minecart" + } + } +} diff --git a/behavior_pack/recipes/torch.json b/behavior_pack/recipes/torch.json new file mode 100644 index 0000000..c1fb99b --- /dev/null +++ b/behavior_pack/recipes/torch.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:torch" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:coals" + } + }, + "unlock": [ + { + "item": "minecraft:stone_pickaxe" + } + ], + "result": { + "item": "minecraft:torch", + "count": 4 + }, + "priority": -1 + } +} diff --git a/behavior_pack/recipes/torch_charcoal.json b/behavior_pack/recipes/torch_charcoal.json new file mode 100644 index 0000000..a73f4d4 --- /dev/null +++ b/behavior_pack/recipes/torch_charcoal.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:Torch_charcoal_recipeId" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:charcoal" + } + }, + "result": { + "item": "minecraft:torch", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/torch_coal.json b/behavior_pack/recipes/torch_coal.json new file mode 100644 index 0000000..9892ff7 --- /dev/null +++ b/behavior_pack/recipes/torch_coal.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:Torch_recipeId" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "item": "minecraft:coal" + } + }, + "result": { + "item": "minecraft:torch", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/trapped_chest.json b/behavior_pack/recipes/trapped_chest.json new file mode 100644 index 0000000..8a9804d --- /dev/null +++ b/behavior_pack/recipes/trapped_chest.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:trapped_chest" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chest" + }, + { + "item": "minecraft:tripwire_hook" + } + ], + "unlock": [ + { + "item": "minecraft:tripwire_hook" + } + ], + "result": { + "item": "minecraft:trapped_chest" + } + } +} diff --git a/behavior_pack/recipes/tripwire_hook.json b/behavior_pack/recipes/tripwire_hook.json new file mode 100644 index 0000000..c19dc90 --- /dev/null +++ b/behavior_pack/recipes/tripwire_hook.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tripwire_hook" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "B", + "C" + ], + "key": { + "A": { + "item": "iron_ingot" + }, + "B": { + "item": "stick" + }, + "C": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:string" + } + ], + "result": { + "item": "tripwire_hook", + "count": 2 + }, + "priority": -1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/tripwire_hook_from_crimson_planks.json b/behavior_pack/recipes/tripwire_hook_from_crimson_planks.json new file mode 100644 index 0000000..b818e7b --- /dev/null +++ b/behavior_pack/recipes/tripwire_hook_from_crimson_planks.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tripwire_hook_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "B", + "C" + ], + "key": { + "A": { + "item": "iron_ingot" + }, + "B": { + "item": "stick" + }, + "C": { + "item": "crimson_planks" + } + }, + "result": { + "item": "tripwire_hook", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/tripwire_hook_from_mangrove_planks.json b/behavior_pack/recipes/tripwire_hook_from_mangrove_planks.json new file mode 100644 index 0000000..3223681 --- /dev/null +++ b/behavior_pack/recipes/tripwire_hook_from_mangrove_planks.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tripwire_hook_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "B", + "C" + ], + "key": { + "A": { + "item": "iron_ingot" + }, + "B": { + "item": "stick" + }, + "C": { + "item": "mangrove_planks" + } + }, + "result": { + "item": "tripwire_hook", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/tripwire_hook_from_warped_planks.json b/behavior_pack/recipes/tripwire_hook_from_warped_planks.json new file mode 100644 index 0000000..4c29c05 --- /dev/null +++ b/behavior_pack/recipes/tripwire_hook_from_warped_planks.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tripwire_hook_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "B", + "C" + ], + "key": { + "A": { + "item": "iron_ingot" + }, + "B": { + "item": "stick" + }, + "C": { + "item": "warped_planks" + } + }, + "result": { + "item": "tripwire_hook", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/tuff_brick_slab.json b/behavior_pack/recipes/tuff_brick_slab.json new file mode 100644 index 0000000..e4ad376 --- /dev/null +++ b/behavior_pack/recipes/tuff_brick_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tuff_brick_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:tuff_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "result": { + "item": "minecraft:tuff_brick_slab", + "count": 6 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/tuff_brick_stairs.json b/behavior_pack/recipes/tuff_brick_stairs.json new file mode 100644 index 0000000..305dec2 --- /dev/null +++ b/behavior_pack/recipes/tuff_brick_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tuff_brick_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:tuff_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "result": { + "item": "minecraft:tuff_brick_stairs", + "count": 4 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/tuff_brick_wall.json b/behavior_pack/recipes/tuff_brick_wall.json new file mode 100644 index 0000000..c1df9eb --- /dev/null +++ b/behavior_pack/recipes/tuff_brick_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tuff_brick_wall" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:tuff_bricks" + } + }, + "unlock": [ + { + "item": "minecraft:tuff_bricks" + } + ], + "result": { + "item": "minecraft:tuff_brick_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/tuff_bricks.json b/behavior_pack/recipes/tuff_bricks.json new file mode 100644 index 0000000..74ee02f --- /dev/null +++ b/behavior_pack/recipes/tuff_bricks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tuff_bricks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:polished_tuff" + } + }, + "unlock": [ + { + "item": "minecraft:polished_tuff" + } + ], + "result": { + "item": "minecraft:tuff_bricks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/tuff_slab.json b/behavior_pack/recipes/tuff_slab.json new file mode 100644 index 0000000..7e4af05 --- /dev/null +++ b/behavior_pack/recipes/tuff_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tuff_slab" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA" + ], + "key": { + "A": { + "item": "minecraft:tuff" + } + }, + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_slab", + "count": 6 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/tuff_stairs.json b/behavior_pack/recipes/tuff_stairs.json new file mode 100644 index 0000000..1086502 --- /dev/null +++ b/behavior_pack/recipes/tuff_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tuff_stairs" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "AA", + "AAA" + ], + "key": { + "A": { + "item": "minecraft:tuff" + } + }, + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_stairs", + "count": 4 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/tuff_wall.json b/behavior_pack/recipes/tuff_wall.json new file mode 100644 index 0000000..e8f608e --- /dev/null +++ b/behavior_pack/recipes/tuff_wall.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:tuff_wall" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:tuff" + } + }, + "unlock": [ + { + "item": "minecraft:tuff" + } + ], + "result": { + "item": "minecraft:tuff_wall", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/turtle_helmet.json b/behavior_pack/recipes/turtle_helmet.json new file mode 100644 index 0000000..8d3ef3f --- /dev/null +++ b/behavior_pack/recipes/turtle_helmet.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:turtle_helmet" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + "X X" + ], + "key": { + "X": { + "item": "minecraft:turtle_shell_piece" + } + }, + "unlock": [ + { + "item": "minecraft:turtle_shell_piece" + } + ], + "result": { + "item": "minecraft:turtle_helmet" + } + } +} diff --git a/behavior_pack/recipes/vex_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/vex_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..e55494b --- /dev/null +++ b/behavior_pack/recipes/vex_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:vex_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:vex_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:vex_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:vex_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/ward_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/ward_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..96b3531 --- /dev/null +++ b/behavior_pack/recipes/ward_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:ward_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:ward_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:cobbled_deepslate" + } + }, + "unlock": [ + { + "item": "minecraft:ward_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:ward_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/warped_button.json b/behavior_pack/recipes/warped_button.json new file mode 100644 index 0000000..3ebfa8b --- /dev/null +++ b/behavior_pack/recipes/warped_button.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_button" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_button", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_button", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/warped_door.json b/behavior_pack/recipes/warped_door.json new file mode 100644 index 0000000..cc9c66d --- /dev/null +++ b/behavior_pack/recipes/warped_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_door" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/warped_fence.json b/behavior_pack/recipes/warped_fence.json new file mode 100644 index 0000000..8a492ca --- /dev/null +++ b/behavior_pack/recipes/warped_fence.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_fence" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "W#W", + "W#W" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_fence", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/warped_fence_gate.json b/behavior_pack/recipes/warped_fence_gate.json new file mode 100644 index 0000000..a1843ee --- /dev/null +++ b/behavior_pack/recipes/warped_fence_gate.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_fence_gate" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_fence_gate", + "pattern": [ + "#W#", + "#W#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "W": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_fence_gate" + } + } +} diff --git a/behavior_pack/recipes/warped_fungus_on_a_stick.json b/behavior_pack/recipes/warped_fungus_on_a_stick.json new file mode 100644 index 0000000..5ba591c --- /dev/null +++ b/behavior_pack/recipes/warped_fungus_on_a_stick.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_fungus_on_a_stick" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + " X" + ], + "key": { + "#": { + "item": "minecraft:fishing_rod" + }, + "X": { + "item": "minecraft:warped_fungus" + } + }, + "unlock": [ + { + "item": "minecraft:warped_fungus" + } + ], + "result": { + "item": "minecraft:warped_fungus_on_a_stick" + } + } +} diff --git a/behavior_pack/recipes/warped_hanging_sign.json b/behavior_pack/recipes/warped_hanging_sign.json new file mode 100644 index 0000000..813609d --- /dev/null +++ b/behavior_pack/recipes/warped_hanging_sign.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_hanging_sign" + }, + "tags": [ "crafting_table" ], + "group": "sign", + "pattern": [ + "| |", + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:stripped_warped_stem" + }, + "|": { + "item": "minecraft:chain" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_warped_stem" + } + ], + "result": { + "item": "minecraft:warped_hanging_sign", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/warped_hyphae.json b/behavior_pack/recipes/warped_hyphae.json new file mode 100644 index 0000000..0ee6f61 --- /dev/null +++ b/behavior_pack/recipes/warped_hyphae.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_hyphae" + }, + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:warped_stem" + } + }, + "unlock": [ + { + "item": "minecraft:warped_stem" + } + ], + "result": { + "item": "minecraft:warped_hyphae", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/warped_hyphae_stripped.json b/behavior_pack/recipes/warped_hyphae_stripped.json new file mode 100644 index 0000000..d0dac4c --- /dev/null +++ b/behavior_pack/recipes/warped_hyphae_stripped.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:stripped_warped_hyphae" + }, + + "tags": [ "crafting_table" ], + "group": "wood", + "pattern": [ + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:stripped_warped_stem" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_warped_stem" + } + ], + "result": { + "item": "minecraft:stripped_warped_hyphae", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/warped_planks.json b/behavior_pack/recipes/warped_planks.json new file mode 100644 index 0000000..12db291 --- /dev/null +++ b/behavior_pack/recipes/warped_planks.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_planks" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:warped_stem" + } + }, + "unlock": [ + { + "item": "minecraft:warped_stem" + } + ], + "result": { + "item": "minecraft:warped_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/warped_planks_from_stripped_log.json b/behavior_pack/recipes/warped_planks_from_stripped_log.json new file mode 100644 index 0000000..e3a62e7 --- /dev/null +++ b/behavior_pack/recipes/warped_planks_from_stripped_log.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_planks_from_stripped_log" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_warped_stem" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_warped_stem" + } + ], + "result": { + "item": "minecraft:warped_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/warped_planks_from_stripped_warped_hyphae.json b/behavior_pack/recipes/warped_planks_from_stripped_warped_hyphae.json new file mode 100644 index 0000000..030be3c --- /dev/null +++ b/behavior_pack/recipes/warped_planks_from_stripped_warped_hyphae.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_planks_from_stripped_warped_hyphae" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:stripped_warped_hyphae" + } + }, + "unlock": [ + { + "item": "minecraft:stripped_warped_hyphae" + } + ], + "result": { + "item": "minecraft:warped_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/warped_planks_from_warped_hyphae.json b/behavior_pack/recipes/warped_planks_from_warped_hyphae.json new file mode 100644 index 0000000..cb1796b --- /dev/null +++ b/behavior_pack/recipes/warped_planks_from_warped_hyphae.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_planks_from_warped_hyphae" + }, + "tags": [ "crafting_table" ], + "group": "planks", + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:warped_hyphae" + } + }, + "unlock": [ + { + "item": "minecraft:warped_hyphae" + } + ], + "result": { + "item": "minecraft:warped_planks", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/warped_pressure_plate.json b/behavior_pack/recipes/warped_pressure_plate.json new file mode 100644 index 0000000..945e650 --- /dev/null +++ b/behavior_pack/recipes/warped_pressure_plate.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_pressure_plate" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_pressure_plate", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_pressure_plate", + "count": 1 + } + } +} diff --git a/behavior_pack/recipes/warped_sign.json b/behavior_pack/recipes/warped_sign.json new file mode 100644 index 0000000..35179bc --- /dev/null +++ b/behavior_pack/recipes/warped_sign.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_sign" + }, + "tags": [ + "crafting_table" + ], + "group": "sign", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:warped_planks" }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_sign", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/warped_slab.json b/behavior_pack/recipes/warped_slab.json new file mode 100644 index 0000000..2c8976d --- /dev/null +++ b/behavior_pack/recipes/warped_slab.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_slab" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_slab", + "pattern": [ + "###" + ], + "key": { + "#": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_slab", + "count": 6 + } + } +} diff --git a/behavior_pack/recipes/warped_stairs.json b/behavior_pack/recipes/warped_stairs.json new file mode 100644 index 0000000..ded1504 --- /dev/null +++ b/behavior_pack/recipes/warped_stairs.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_stairs" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_stairs", + "pattern": [ + "# ", + "## ", + "###" + ], + "key": { + "#": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_stairs", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/warped_trapdoor.json b/behavior_pack/recipes/warped_trapdoor.json new file mode 100644 index 0000000..e1d918d --- /dev/null +++ b/behavior_pack/recipes/warped_trapdoor.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:warped_trapdoor" + }, + "tags": [ + "crafting_table" + ], + "group": "wooden_trap_door", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:warped_planks" + } + }, + "unlock": [ + { + "item": "minecraft:warped_planks" + } + ], + "result": { + "item": "minecraft:warped_trapdoor", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/waxing_chiseled_copper.json b/behavior_pack/recipes/waxing_chiseled_copper.json new file mode 100644 index 0000000..db1622a --- /dev/null +++ b/behavior_pack/recipes/waxing_chiseled_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_chiseled_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:chiseled_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:chiseled_copper" + } + ], + "result": { + "item": "minecraft:waxed_chiseled_copper", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_copper_block.json b/behavior_pack/recipes/waxing_copper_block.json new file mode 100644 index 0000000..d2d7689 --- /dev/null +++ b/behavior_pack/recipes/waxing_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_copper_block" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:copper_block" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:copper_block" + } + ], + "result": { + "item": "minecraft:waxed_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_copper_bulb.json b/behavior_pack/recipes/waxing_copper_bulb.json new file mode 100644 index 0000000..1836282 --- /dev/null +++ b/behavior_pack/recipes/waxing_copper_bulb.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_copper_bulb" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:copper_bulb" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:copper_bulb" + } + ], + "result": { + "item": "minecraft:waxed_copper_bulb", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_copper_door.json b/behavior_pack/recipes/waxing_copper_door.json new file mode 100644 index 0000000..91a5286 --- /dev/null +++ b/behavior_pack/recipes/waxing_copper_door.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_copper_door" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:copper_door" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:copper_door" + } + ], + "result": { + "item": "minecraft:waxed_copper_door", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_copper_grate.json b/behavior_pack/recipes/waxing_copper_grate.json new file mode 100644 index 0000000..8643e7c --- /dev/null +++ b/behavior_pack/recipes/waxing_copper_grate.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_copper_grate" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:copper_grate" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:copper_grate" + } + ], + "result": { + "item": "minecraft:waxed_copper_grate", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_copper_trapdoor.json b/behavior_pack/recipes/waxing_copper_trapdoor.json new file mode 100644 index 0000000..08a8412 --- /dev/null +++ b/behavior_pack/recipes/waxing_copper_trapdoor.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_copper_trapdoor" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:copper_trapdoor" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:copper_trapdoor" + } + ], + "result": { + "item": "minecraft:waxed_copper_trapdoor", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_cut_copper_block.json b/behavior_pack/recipes/waxing_cut_copper_block.json new file mode 100644 index 0000000..bb5c3f5 --- /dev/null +++ b/behavior_pack/recipes/waxing_cut_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_cut_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:cut_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_cut_copper_slab.json b/behavior_pack/recipes/waxing_cut_copper_slab.json new file mode 100644 index 0000000..ddfa035 --- /dev/null +++ b/behavior_pack/recipes/waxing_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_cut_copper_slab" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:cut_copper_slab" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:cut_copper_slab" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_slab", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_cut_copper_stairs.json b/behavior_pack/recipes/waxing_cut_copper_stairs.json new file mode 100644 index 0000000..85de0db --- /dev/null +++ b/behavior_pack/recipes/waxing_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_cut_copper_stairs" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:cut_copper_stairs" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:cut_copper_stairs" + } + ], + "result": { + "item": "minecraft:waxed_cut_copper_stairs", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_exposed_chiseled_copper.json b/behavior_pack/recipes/waxing_exposed_chiseled_copper.json new file mode 100644 index 0000000..828ae6f --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_chiseled_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxed_exposed_chiseled_copper_from_honeycomb" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_chiseled_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_chiseled_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_chiseled_copper", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_exposed_copper_block.json b/behavior_pack/recipes/waxing_exposed_copper_block.json new file mode 100644 index 0000000..01101a1 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_exposed_copper_bulb.json b/behavior_pack/recipes/waxing_exposed_copper_bulb.json new file mode 100644 index 0000000..9fc33f7 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_copper_bulb.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_copper_bulb" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_copper_bulb" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper_bulb" + } + ], + "result": { + "item": "minecraft:waxed_exposed_copper_bulb", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_exposed_copper_door.json b/behavior_pack/recipes/waxing_exposed_copper_door.json new file mode 100644 index 0000000..6caaa13 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_copper_door.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_copper_door" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_copper_door" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper_door" + } + ], + "result": { + "item": "minecraft:waxed_exposed_copper_door", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_exposed_copper_grate.json b/behavior_pack/recipes/waxing_exposed_copper_grate.json new file mode 100644 index 0000000..0593842 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_copper_grate.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_copper_grate" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_copper_grate" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper_grate" + } + ], + "result": { + "item": "minecraft:waxed_exposed_copper_grate", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_exposed_copper_trapdoor.json b/behavior_pack/recipes/waxing_exposed_copper_trapdoor.json new file mode 100644 index 0000000..5c62401 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_copper_trapdoor.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_copper_trapdoor" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_copper_trapdoor" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_copper_trapdoor" + } + ], + "result": { + "item": "minecraft:waxed_exposed_copper_trapdoor", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_exposed_cut_copper_block.json b/behavior_pack/recipes/waxing_exposed_cut_copper_block.json new file mode 100644 index 0000000..065a221 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_cut_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_cut_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_cut_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_exposed_cut_copper_slab.json b/behavior_pack/recipes/waxing_exposed_cut_copper_slab.json new file mode 100644 index 0000000..2cf5699 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_cut_copper_slab" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_cut_copper_slab" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_cut_copper_slab" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_slab", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_exposed_cut_copper_stairs.json b/behavior_pack/recipes/waxing_exposed_cut_copper_stairs.json new file mode 100644 index 0000000..f37bd92 --- /dev/null +++ b/behavior_pack/recipes/waxing_exposed_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_exposed_cut_copper_stairs" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:exposed_cut_copper_stairs" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:exposed_cut_copper_stairs" + } + ], + "result": { + "item": "minecraft:waxed_exposed_cut_copper_stairs", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_oxidized_chiseled_copper.json b/behavior_pack/recipes/waxing_oxidized_chiseled_copper.json new file mode 100644 index 0000000..423504e --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_chiseled_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxed_oxidized_chiseled_copper_from_honeycomb" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_chiseled_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_chiseled_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_chiseled_copper", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_oxidized_copper_block.json b/behavior_pack/recipes/waxing_oxidized_copper_block.json new file mode 100644 index 0000000..c0750b8 --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_oxidized_copper_bulb.json b/behavior_pack/recipes/waxing_oxidized_copper_bulb.json new file mode 100644 index 0000000..b1ecfe1 --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_copper_bulb.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_copper_bulb" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_copper_bulb" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper_bulb" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_copper_bulb", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_oxidized_copper_door.json b/behavior_pack/recipes/waxing_oxidized_copper_door.json new file mode 100644 index 0000000..6687360 --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_copper_door.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_copper_door" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_copper_door" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper_door" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_copper_door", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_oxidized_copper_grate.json b/behavior_pack/recipes/waxing_oxidized_copper_grate.json new file mode 100644 index 0000000..435fd15 --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_copper_grate.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_copper_grate" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_copper_grate" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper_grate" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_copper_grate", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_oxidized_copper_trapdoor.json b/behavior_pack/recipes/waxing_oxidized_copper_trapdoor.json new file mode 100644 index 0000000..e80e43f --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_copper_trapdoor.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_copper_trapdoor" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_copper_trapdoor" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_copper_trapdoor" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_copper_trapdoor", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_oxidized_cut_copper_block.json b/behavior_pack/recipes/waxing_oxidized_cut_copper_block.json new file mode 100644 index 0000000..a500f8a --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_cut_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_cut_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_cut_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_oxidized_cut_copper_slab.json b/behavior_pack/recipes/waxing_oxidized_cut_copper_slab.json new file mode 100644 index 0000000..eb98220 --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_cut_copper_slab" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_cut_copper_slab" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper_slab" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_slab", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_oxidized_cut_copper_stairs.json b/behavior_pack/recipes/waxing_oxidized_cut_copper_stairs.json new file mode 100644 index 0000000..0e66418 --- /dev/null +++ b/behavior_pack/recipes/waxing_oxidized_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_oxidized_cut_copper_stairs" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:oxidized_cut_copper_stairs" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:oxidized_cut_copper_stairs" + } + ], + "result": { + "item": "minecraft:waxed_oxidized_cut_copper_stairs", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_weathered_chiseled_copper.json b/behavior_pack/recipes/waxing_weathered_chiseled_copper.json new file mode 100644 index 0000000..cd7b857 --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_chiseled_copper.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxed_weathered_chiseled_copper_from_honeycomb" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_chiseled_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_chiseled_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_chiseled_copper", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_weathered_copper_block.json b/behavior_pack/recipes/waxing_weathered_copper_block.json new file mode 100644 index 0000000..a9c1be7 --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_weathered_copper_bulb.json b/behavior_pack/recipes/waxing_weathered_copper_bulb.json new file mode 100644 index 0000000..ff53d16 --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_copper_bulb.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_copper_bulb" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_copper_bulb" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper_bulb" + } + ], + "result": { + "item": "minecraft:waxed_weathered_copper_bulb", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_weathered_copper_door.json b/behavior_pack/recipes/waxing_weathered_copper_door.json new file mode 100644 index 0000000..7afaceb --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_copper_door.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_copper_door" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_copper_door" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper_door" + } + ], + "result": { + "item": "minecraft:waxed_weathered_copper_door", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_weathered_copper_grate.json b/behavior_pack/recipes/waxing_weathered_copper_grate.json new file mode 100644 index 0000000..1e4dc54 --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_copper_grate.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_copper_grate" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_copper_grate" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper_grate" + } + ], + "result": { + "item": "minecraft:waxed_weathered_copper_grate", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_weathered_copper_trapdoor.json b/behavior_pack/recipes/waxing_weathered_copper_trapdoor.json new file mode 100644 index 0000000..e523fb9 --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_copper_trapdoor.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_copper_trapdoor" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_copper_trapdoor" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_copper_trapdoor" + } + ], + "result": { + "item": "minecraft:waxed_weathered_copper_trapdoor", + "count": 1 + }, + "priority": 1 + } +} diff --git a/behavior_pack/recipes/waxing_weathered_cut_copper_block.json b/behavior_pack/recipes/waxing_weathered_cut_copper_block.json new file mode 100644 index 0000000..0a7183d --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_cut_copper_block.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_cut_copper" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_cut_copper" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_cut_copper" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_weathered_cut_copper_slab.json b/behavior_pack/recipes/waxing_weathered_cut_copper_slab.json new file mode 100644 index 0000000..61fc3ff --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_cut_copper_slab.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_cut_copper_slab" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_cut_copper_slab" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_cut_copper_slab" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_slab", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/waxing_weathered_cut_copper_stairs.json b/behavior_pack/recipes/waxing_weathered_cut_copper_stairs.json new file mode 100644 index 0000000..83fcde6 --- /dev/null +++ b/behavior_pack/recipes/waxing_weathered_cut_copper_stairs.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:waxing_weathered_cut_copper_stairs" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:weathered_cut_copper_stairs" + }, + { + "item": "minecraft:honeycomb" + } + ], + "unlock": [ + { + "item": "minecraft:weathered_cut_copper_stairs" + } + ], + "result": { + "item": "minecraft:waxed_weathered_cut_copper_stairs", + "count": 1 + }, + "priority": 1 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wayfinder_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/wayfinder_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..94176f0 --- /dev/null +++ b/behavior_pack/recipes/wayfinder_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wayfinder_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:wayfinder_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:hardened_clay" + } + }, + "unlock": [ + { + "item": "minecraft:wayfinder_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:wayfinder_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/wheat.json b/behavior_pack/recipes/wheat.json new file mode 100644 index 0000000..bf307b4 --- /dev/null +++ b/behavior_pack/recipes/wheat.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wheat" + }, + + + "tags": [ "crafting_table" ], + "pattern": [ + "#" + ], + "key": { + "#": { + "item": "minecraft:hay_block" + } + }, + "unlock": [ + { + "item": "minecraft:hay_block" + } + ], + "result": { + "item": "minecraft:wheat", + "count": 9 + } + } +} diff --git a/behavior_pack/recipes/white_banner.json b/behavior_pack/recipes/white_banner.json new file mode 100644 index 0000000..0b58bf8 --- /dev/null +++ b/behavior_pack/recipes/white_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:white_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:white_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 15 + } + } +} diff --git a/behavior_pack/recipes/white_candle.json b/behavior_pack/recipes/white_candle.json new file mode 100644 index 0000000..32dde17 --- /dev/null +++ b/behavior_pack/recipes/white_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:white_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 19 + } + ], + "result": { + "item": "minecraft:white_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/white_candle_from_bonemeal.json b/behavior_pack/recipes/white_candle_from_bonemeal.json new file mode 100644 index 0000000..3293028 --- /dev/null +++ b/behavior_pack/recipes/white_candle_from_bonemeal.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:white_candle_from_bonemeal" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:white_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/white_carpet.json b/behavior_pack/recipes/white_carpet.json new file mode 100644 index 0000000..eae6df8 --- /dev/null +++ b/behavior_pack/recipes/white_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:white_wool" + } + }, + "unlock": [ + { + "item": "minecraft:white_wool" + } + ], + "result": { + "item": "minecraft:white_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/white_concrete_powder.json b/behavior_pack/recipes/white_concrete_powder.json new file mode 100644 index 0000000..d9418a9 --- /dev/null +++ b/behavior_pack/recipes/white_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:white_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:white_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:white_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/white_concrete_powder_from_bonemeal.json b/behavior_pack/recipes/white_concrete_powder_from_bonemeal.json new file mode 100644 index 0000000..b0261db --- /dev/null +++ b/behavior_pack/recipes/white_concrete_powder_from_bonemeal.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:white_concrete_powder_from_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "priority": 1, + "ingredients": [ + { + "item": "minecraft:bone_meal" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:white_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/white_dye_from_bone_meal.json b/behavior_pack/recipes/white_dye_from_bone_meal.json new file mode 100644 index 0000000..777f9fb --- /dev/null +++ b/behavior_pack/recipes/white_dye_from_bone_meal.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:white_dye_from_bone_meal" + }, + + + "tags": [ "crafting_table" ], + "group": "white_dye", + "ingredients": [ + { + "item": "minecraft:dye", + "data": 15 + } + ], + "unlock": [ + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:dye", + "data": 19 + } + } +} diff --git a/behavior_pack/recipes/white_dye_from_lily_of_the_valley.json b/behavior_pack/recipes/white_dye_from_lily_of_the_valley.json new file mode 100644 index 0000000..2ab7e3a --- /dev/null +++ b/behavior_pack/recipes/white_dye_from_lily_of_the_valley.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:white_dye_from_lily_of_the_valley" + }, + + + "tags": [ "crafting_table" ], + "group": "white_dye", + "ingredients": [ + { + "item": "minecraft:lily_of_the_valley" + } + ], + "unlock": [ + { + "item": "minecraft:lily_of_the_valley" + } + ], + "result": { + "item": "minecraft:dye", + "data": 19 + } + } +} diff --git a/behavior_pack/recipes/white_stained_glass.json b/behavior_pack/recipes/white_stained_glass.json new file mode 100644 index 0000000..3a1e23a --- /dev/null +++ b/behavior_pack/recipes/white_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:white_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:white_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/white_stained_glass_from_bonemeal.json b/behavior_pack/recipes/white_stained_glass_from_bonemeal.json new file mode 100644 index 0000000..5891488 --- /dev/null +++ b/behavior_pack/recipes/white_stained_glass_from_bonemeal.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_stained_glass_from_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:bone_meal" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:white_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/white_stained_glass_pane.json b/behavior_pack/recipes/white_stained_glass_pane.json new file mode 100644 index 0000000..dadfc3b --- /dev/null +++ b/behavior_pack/recipes/white_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:white_stained_glass" + } + ], + "result": { + "item": "minecraft:white_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/white_stained_glass_pane_from_pane.json b/behavior_pack/recipes/white_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..e8a4de5 --- /dev/null +++ b/behavior_pack/recipes/white_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:white_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:white_dye" + } + ], + "result": { + "item": "minecraft:white_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/white_stained_hardened_clay.json b/behavior_pack/recipes/white_stained_hardened_clay.json new file mode 100644 index 0000000..2f8caf1 --- /dev/null +++ b/behavior_pack/recipes/white_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:white_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:white_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/white_stained_hardened_clay_from_bonemeal.json b/behavior_pack/recipes/white_stained_hardened_clay_from_bonemeal.json new file mode 100644 index 0000000..0db06de --- /dev/null +++ b/behavior_pack/recipes/white_stained_hardened_clay_from_bonemeal.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:white_stained_hardened_clay_from_bonemeal" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "priority": 1, + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:bone_meal" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:white_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/whtie_candle_from_bonemeal.json b/behavior_pack/recipes/whtie_candle_from_bonemeal.json new file mode 100644 index 0000000..51989c8 --- /dev/null +++ b/behavior_pack/recipes/whtie_candle_from_bonemeal.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.12", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:white_candle_from_bonemeal" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 15 + } + ], + "result": { + "item": "minecraft:white_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wild_armor_trim_smithing_template_duplicate.json b/behavior_pack/recipes/wild_armor_trim_smithing_template_duplicate.json new file mode 100644 index 0000000..8489e92 --- /dev/null +++ b/behavior_pack/recipes/wild_armor_trim_smithing_template_duplicate.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wild_armor_trim_smithing_template_duplicate" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "#S#", + "#C#", + "###" + ], + "key": { + "S": { + "item": "minecraft:wild_armor_trim_smithing_template" + }, + "#": { + "item": "minecraft:diamond" + }, + "C": { + "item": "minecraft:mossy_cobblestone" + } + }, + "unlock": [ + { + "item": "minecraft:wild_armor_trim_smithing_template" + } + ], + "result": { + "item": "minecraft:wild_armor_trim_smithing_template", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/wind_charge.json b/behavior_pack/recipes/wind_charge.json new file mode 100644 index 0000000..f901a2b --- /dev/null +++ b/behavior_pack/recipes/wind_charge.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:wind_charge" + }, + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:breeze_rod" + } + ], + "unlock": [ + { + "item": "minecraft:breeze_rod" + } + ], + "result": { + "item": "minecraft:wind_charge", + "count": 4 + } + } +} diff --git a/behavior_pack/recipes/wolf_armor.json b/behavior_pack/recipes/wolf_armor.json new file mode 100644 index 0000000..a950974 --- /dev/null +++ b/behavior_pack/recipes/wolf_armor.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wolf_armor" + }, + "tags": [ "crafting_table" ], + "pattern": [ + "# ", + "###", + "# #" + ], + "key": { + "#": { + "item": "minecraft:armadillo_scute" + } + }, + "result": { + "item": "minecraft:wolf_armor" + }, + "unlock": [ + { + "item": "minecraft:armadillo_scute" + } + ] + } +} diff --git a/behavior_pack/recipes/wooden_axe.json b/behavior_pack/recipes/wooden_axe.json new file mode 100644 index 0000000..b989d29 --- /dev/null +++ b/behavior_pack/recipes/wooden_axe.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_axe" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + "X#", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:stick" + } + ], + "result": { + "item": "minecraft:wooden_axe" + } + } +} diff --git a/behavior_pack/recipes/wooden_axe_from_crimson_planks.json b/behavior_pack/recipes/wooden_axe_from_crimson_planks.json new file mode 100644 index 0000000..f1ef137 --- /dev/null +++ b/behavior_pack/recipes/wooden_axe_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_axe_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AB", + " B" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_axe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_axe_from_mangrove_planks.json b/behavior_pack/recipes/wooden_axe_from_mangrove_planks.json new file mode 100644 index 0000000..e42554d --- /dev/null +++ b/behavior_pack/recipes/wooden_axe_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_axe_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AB", + " B" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_axe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_axe_from_warped_planks.json b/behavior_pack/recipes/wooden_axe_from_warped_planks.json new file mode 100644 index 0000000..3fd2918 --- /dev/null +++ b/behavior_pack/recipes/wooden_axe_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_axe_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA", + "AB", + " B" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_axe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_door.json b/behavior_pack/recipes/wooden_door.json new file mode 100644 index 0000000..b4d5230 --- /dev/null +++ b/behavior_pack/recipes/wooden_door.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_door" + }, + + + "tags": [ "crafting_table" ], + "group": "wooden_door", + "pattern": [ + "##", + "##", + "##" + ], + "key": { + "#": { + "item": "minecraft:oak_planks" + } + }, + "unlock": [ + { + "item": "minecraft:oak_planks" + } + ], + "result": { + "item": "minecraft:wooden_door", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/wooden_hoe.json b/behavior_pack/recipes/wooden_hoe.json new file mode 100644 index 0000000..7938370 --- /dev/null +++ b/behavior_pack/recipes/wooden_hoe.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_hoe" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "XX", + " #", + " #" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:stick" + } + ], + "result": { + "item": "minecraft:wooden_hoe" + } + } +} diff --git a/behavior_pack/recipes/wooden_hoe_from_crimson_planks.json b/behavior_pack/recipes/wooden_hoe_from_crimson_planks.json new file mode 100644 index 0000000..b710c14 --- /dev/null +++ b/behavior_pack/recipes/wooden_hoe_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_hoe_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA ", + " B ", + " B " + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_hoe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_hoe_from_mangrove_planks.json b/behavior_pack/recipes/wooden_hoe_from_mangrove_planks.json new file mode 100644 index 0000000..48e4e3a --- /dev/null +++ b/behavior_pack/recipes/wooden_hoe_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_hoe_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA ", + " B ", + " B " + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_hoe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_hoe_from_warped_planks.json b/behavior_pack/recipes/wooden_hoe_from_warped_planks.json new file mode 100644 index 0000000..a1f91be --- /dev/null +++ b/behavior_pack/recipes/wooden_hoe_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_hoe_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AA ", + " B ", + " B " + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_hoe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_pickaxe.json b/behavior_pack/recipes/wooden_pickaxe.json new file mode 100644 index 0000000..614044c --- /dev/null +++ b/behavior_pack/recipes/wooden_pickaxe.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_pickaxe" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "XXX", + " # ", + " # " + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:stick" + } + ], + "result": { + "item": "minecraft:wooden_pickaxe" + } + } +} diff --git a/behavior_pack/recipes/wooden_pickaxe_from_crimson_planks.json b/behavior_pack/recipes/wooden_pickaxe_from_crimson_planks.json new file mode 100644 index 0000000..0f31598 --- /dev/null +++ b/behavior_pack/recipes/wooden_pickaxe_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_pickaxe_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + " B ", + " B " + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_pickaxe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_pickaxe_from_mangrove_planks.json b/behavior_pack/recipes/wooden_pickaxe_from_mangrove_planks.json new file mode 100644 index 0000000..12c0b1f --- /dev/null +++ b/behavior_pack/recipes/wooden_pickaxe_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_pickaxe_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + " B ", + " B " + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_pickaxe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_pickaxe_from_warped_planks.json b/behavior_pack/recipes/wooden_pickaxe_from_warped_planks.json new file mode 100644 index 0000000..8f60cfa --- /dev/null +++ b/behavior_pack/recipes/wooden_pickaxe_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_pickaxe_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "AAA", + " B ", + " B " + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_pickaxe", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_shovel.json b/behavior_pack/recipes/wooden_shovel.json new file mode 100644 index 0000000..9ae4f62 --- /dev/null +++ b/behavior_pack/recipes/wooden_shovel.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_shovel" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "#", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:stick" + } + ], + "result": { + "item": "minecraft:wooden_shovel" + } + } +} diff --git a/behavior_pack/recipes/wooden_shovel_from_crimson_planks.json b/behavior_pack/recipes/wooden_shovel_from_crimson_planks.json new file mode 100644 index 0000000..50f649d --- /dev/null +++ b/behavior_pack/recipes/wooden_shovel_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_shovel_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "B", + "B" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_shovel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_shovel_from_mangrove_planks.json b/behavior_pack/recipes/wooden_shovel_from_mangrove_planks.json new file mode 100644 index 0000000..f180cdd --- /dev/null +++ b/behavior_pack/recipes/wooden_shovel_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_shovel_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "B", + "B" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_shovel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_shovel_from_warped_planks.json b/behavior_pack/recipes/wooden_shovel_from_warped_planks.json new file mode 100644 index 0000000..db54601 --- /dev/null +++ b/behavior_pack/recipes/wooden_shovel_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_shovel_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "B", + "B" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_shovel", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_sword.json b/behavior_pack/recipes/wooden_sword.json new file mode 100644 index 0000000..e004a82 --- /dev/null +++ b/behavior_pack/recipes/wooden_sword.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_sword" + }, + + "tags": [ "crafting_table" ], + "pattern": [ + "X", + "X", + "#" + ], + "key": { + "#": { + "item": "minecraft:stick" + }, + "X": { + "tag": "minecraft:planks" + } + }, + "unlock": [ + { + "item": "minecraft:stick" + } + ], + "result": { + "item": "minecraft:wooden_sword" + } + } +} diff --git a/behavior_pack/recipes/wooden_sword_from_crimson_planks.json b/behavior_pack/recipes/wooden_sword_from_crimson_planks.json new file mode 100644 index 0000000..a03d245 --- /dev/null +++ b/behavior_pack/recipes/wooden_sword_from_crimson_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_sword_from_crimson_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A", + "B" + ], + "key": { + "A": { + "item": "crimson_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_sword", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_sword_from_mangrove_planks.json b/behavior_pack/recipes/wooden_sword_from_mangrove_planks.json new file mode 100644 index 0000000..e15fa69 --- /dev/null +++ b/behavior_pack/recipes/wooden_sword_from_mangrove_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_sword_from_mangrove_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A", + "B" + ], + "key": { + "A": { + "item": "mangrove_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_sword", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/wooden_sword_from_warped_planks.json b/behavior_pack/recipes/wooden_sword_from_warped_planks.json new file mode 100644 index 0000000..5e60732 --- /dev/null +++ b/behavior_pack/recipes/wooden_sword_from_warped_planks.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.16", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:wooden_sword_from_warped_planks" + }, + "tags": [ + "crafting_table" + ], + "pattern": [ + "A", + "A", + "B" + ], + "key": { + "A": { + "item": "warped_planks" + }, + "B": { + "item": "stick" + } + }, + "result": { + "item": "wooden_sword", + "count": 1 + }, + "priority": 2 + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/writable_book.json b/behavior_pack/recipes/writable_book.json new file mode 100644 index 0000000..42c10b2 --- /dev/null +++ b/behavior_pack/recipes/writable_book.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:writable_book" + }, + + + "tags": [ "crafting_table" ], + "ingredients": [ + { + "item": "minecraft:book" + }, + { + "item": "minecraft:dye", + "data": 0 + }, + { + "item": "minecraft:feather" + } + ], + "unlock": [ + { + "item": "minecraft:book" + } + ], + "result": { + "item": "minecraft:writable_book" + } + } +} diff --git a/behavior_pack/recipes/yellow_banner.json b/behavior_pack/recipes/yellow_banner.json new file mode 100644 index 0000000..6cbe7fb --- /dev/null +++ b/behavior_pack/recipes/yellow_banner.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:yellow_banner" + }, + + + "tags": [ "crafting_table" ], + "group": "banner", + "pattern": [ + "###", + "###", + " | " + ], + "key": { + "#": { + "item": "minecraft:yellow_wool" + }, + "|": { + "item": "minecraft:stick" + } + }, + "unlock": [ + { + "item": "minecraft:yellow_wool" + } + ], + "result": { + "item": "minecraft:banner", + "data": 11 + } + } +} diff --git a/behavior_pack/recipes/yellow_candle.json b/behavior_pack/recipes/yellow_candle.json new file mode 100644 index 0000000..8377ce0 --- /dev/null +++ b/behavior_pack/recipes/yellow_candle.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:yellow_candle" + }, + "tags": [ "crafting_table" ], + "group": "candle", + "ingredients": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 11 + } + ], + "unlock": [ + { + "item": "minecraft:candle" + }, + { + "item": "minecraft:dye", + "data": 11 + } + ], + "result": { + "item": "minecraft:yellow_candle" + } + } +} \ No newline at end of file diff --git a/behavior_pack/recipes/yellow_carpet.json b/behavior_pack/recipes/yellow_carpet.json new file mode 100644 index 0000000..5fb3f0b --- /dev/null +++ b/behavior_pack/recipes/yellow_carpet.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:yellow_carpet" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "##" + ], + "key": { + "#": { + "item": "minecraft:yellow_wool" + } + }, + "unlock": [ + { + "item": "minecraft:yellow_wool" + } + ], + "result": { + "item": "minecraft:yellow_carpet", + "count": 3 + } + } +} diff --git a/behavior_pack/recipes/yellow_carpet_from_white.json b/behavior_pack/recipes/yellow_carpet_from_white.json new file mode 100644 index 0000000..871a035 --- /dev/null +++ b/behavior_pack/recipes/yellow_carpet_from_white.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:yellow_carpet_from_white" + }, + + + "tags": [ "crafting_table" ], + "group": "carpet", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:white_carpet" + }, + "X": { + "item": "minecraft:yellow_dye" + } + }, + "unlock": [ + { + "item": "minecraft:white_carpet" + }, + { + "item": "minecraft:yellow_dye" + } + ], + "result": { + "item": "minecraft:yellow_carpet", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/yellow_concrete_powder.json b/behavior_pack/recipes/yellow_concrete_powder.json new file mode 100644 index 0000000..eaf6dbe --- /dev/null +++ b/behavior_pack/recipes/yellow_concrete_powder.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:yellow_concrete_powder" + }, + + + "tags": [ "crafting_table" ], + "group": "concrete_powder", + "ingredients": [ + { + "item": "minecraft:yellow_dye" + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:sand", + "data": 0 + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:gravel" + } + ], + "unlock": [ + { + "item": "minecraft:gravel" + }, + { + "item": "minecraft:sand", + "data": 0 + } + ], + "result": { + "item": "minecraft:yellow_concrete_powder", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/yellow_dye_from_dandelion.json b/behavior_pack/recipes/yellow_dye_from_dandelion.json new file mode 100644 index 0000000..820f6b4 --- /dev/null +++ b/behavior_pack/recipes/yellow_dye_from_dandelion.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:yellow_dye_from_dandelion" + }, + "tags": [ "crafting_table" ], + "group": "yellow_dye", + "ingredients": [ + { + "item": "minecraft:dandelion", + "data": 0 + } + ], + "unlock": [ + { + "item": "minecraft:dandelion", + "data": 0 + } + ], + "result": { + "item": "minecraft:dye", + "data": 11 + } + } +} diff --git a/behavior_pack/recipes/yellow_dye_from_sunflower.json b/behavior_pack/recipes/yellow_dye_from_sunflower.json new file mode 100644 index 0000000..faeb719 --- /dev/null +++ b/behavior_pack/recipes/yellow_dye_from_sunflower.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shapeless": { + "description": { + "identifier": "minecraft:yellow_dye_from_sunflower" + }, + "tags": [ "crafting_table" ], + "group": "yellow_dye", + "ingredients": [ + { + "item": "minecraft:sunflower" + } + ], + "unlock": [ + { + "item": "minecraft:sunflower" + } + ], + "result": { + "item": "minecraft:yellow_dye", + "count": 2 + } + } +} diff --git a/behavior_pack/recipes/yellow_stained_glass.json b/behavior_pack/recipes/yellow_stained_glass.json new file mode 100644 index 0000000..3da2b8c --- /dev/null +++ b/behavior_pack/recipes/yellow_stained_glass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:yellow_stained_glass" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass" + }, + "X": { + "item": "minecraft:yellow_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass" + } + ], + "result": { + "item": "minecraft:yellow_stained_glass", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/yellow_stained_glass_pane.json b/behavior_pack/recipes/yellow_stained_glass_pane.json new file mode 100644 index 0000000..af0b83d --- /dev/null +++ b/behavior_pack/recipes/yellow_stained_glass_pane.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:yellow_stained_glass_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "###" + ], + "key": { + "#": { + "item": "minecraft:yellow_stained_glass" + } + }, + "unlock": [ + { + "item": "minecraft:yellow_stained_glass" + } + ], + "result": { + "item": "minecraft:yellow_stained_glass_pane", + "count": 16 + } + } +} diff --git a/behavior_pack/recipes/yellow_stained_glass_pane_from_pane.json b/behavior_pack/recipes/yellow_stained_glass_pane_from_pane.json new file mode 100644 index 0000000..6ef4da2 --- /dev/null +++ b/behavior_pack/recipes/yellow_stained_glass_pane_from_pane.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:yellow_stained_glass_pane_from_pane" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_glass_pane", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:glass_pane" + }, + "X": { + "item": "minecraft:yellow_dye" + } + }, + "unlock": [ + { + "item": "minecraft:glass_pane" + }, + { + "item": "minecraft:yellow_dye" + } + ], + "result": { + "item": "minecraft:yellow_stained_glass_pane", + "count": 8 + } + } +} diff --git a/behavior_pack/recipes/yellow_stained_hardened_clay.json b/behavior_pack/recipes/yellow_stained_hardened_clay.json new file mode 100644 index 0000000..ea7c612 --- /dev/null +++ b/behavior_pack/recipes/yellow_stained_hardened_clay.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.20.10", + "minecraft:recipe_shaped": { + "description": { + "identifier": "minecraft:yellow_stained_hardened_clay" + }, + + + "tags": [ "crafting_table" ], + "group": "stained_hardened_clay", + "pattern": [ + "###", + "#X#", + "###" + ], + "key": { + "#": { + "item": "minecraft:hardened_clay" + }, + "X": { + "item": "minecraft:yellow_dye" + } + }, + "unlock": [ + { + "item": "minecraft:hardened_clay" + } + ], + "result": { + "item": "minecraft:yellow_terracotta", + "count": 8 + } + } +} diff --git a/behavior_pack/spawn_rules/armadillo.json b/behavior_pack/spawn_rules/armadillo.json new file mode 100644 index 0000000..784e2be --- /dev/null +++ b/behavior_pack/spawn_rules/armadillo.json @@ -0,0 +1,112 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:armadillo", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + { "name": "minecraft:grass_block" }, + { "name": "minecraft:red_sand" }, + { "name": "minecraft:coarse_dirt" }, + // Every Terracotta block found in Mesa. + { "name": "minecraft:brown_terracotta" }, + { "name": "minecraft:hardened_clay" }, + { "name": "minecraft:orange_terracotta" }, + { "name": "minecraft:light_gray_terracotta" }, + { "name": "minecraft:red_terracotta" }, + { "name": "minecraft:white_terracotta" }, + { "name": "minecraft:yellow_terracotta" } + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 3 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", "value": "savanna" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + { "name": "minecraft:grass_block" }, + { "name": "minecraft:red_sand" }, + { "name": "minecraft:coarse_dirt" }, + // Every Terracotta block found in Mesa. + { "name": "minecraft:brown_terracotta" }, + { "name": "minecraft:hardened_clay" }, + { "name": "minecraft:orange_terracotta" }, + { "name": "minecraft:light_gray_terracotta" }, + { "name": "minecraft:red_terracotta" }, + { "name": "minecraft:white_terracotta" }, + { "name": "minecraft:yellow_terracotta" } + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 6, + "rarity": 3 // Close enough to Java's 30% chance. + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "mesa" }, + { "test": "has_biome_tag", "operator": "not", "value": "plateau" } + ] + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + { "name": "minecraft:grass_block" }, + { "name": "minecraft:red_sand" }, + { "name": "minecraft:coarse_dirt" }, + // Every Terracotta block found in Mesa. + { "name": "minecraft:brown_terracotta" }, + { "name": "minecraft:hardened_clay" }, + { "name": "minecraft:orange_terracotta" }, + { "name": "minecraft:light_gray_terracotta" }, + { "name": "minecraft:red_terracotta" }, + { "name": "minecraft:white_terracotta" }, + { "name": "minecraft:yellow_terracotta" } + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 6, + "rarity": 2 // Close enough to Java's 40% chance. + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "mesa" }, + { "test": "has_biome_tag", "value": "plateau" } + ] + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/axolotl.json b/behavior_pack/spawn_rules/axolotl.json new file mode 100644 index 0000000..c10a344 --- /dev/null +++ b/behavior_pack/spawn_rules/axolotl.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:axolotl", + "population_control": "water_animal" + }, + "conditions": [ + { + "minecraft:spawns_underground": {}, + "minecraft:spawns_underwater": {}, + "minecraft:disallow_spawns_in_bubble": {}, + "minecraft:weight": { + "default": 10 + }, + "minecraft:density_limit": { + "underground": 5 + }, + "minecraft:spawns_on_block_filter": "minecraft:clay", + "minecraft:herd": { + "min_size": 4, + "max_size": 6, + "event": "minecraft:entity_born", + "event_skip_count": 2 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "lush_caves" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/bat.json b/behavior_pack/spawn_rules/bat.json new file mode 100644 index 0000000..e4af876 --- /dev/null +++ b/behavior_pack/spawn_rules/bat.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.17.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:bat", + "population_control": "ambient" + }, + "conditions": [ + { + "minecraft:spawns_underground": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:stone", + "minecraft:granite", + "minecraft:diorite", + "minecraft:andesite", + "minecraft:tuff", + "minecraft:deepslate" + ], + "minecraft:brightness_filter": { + "min": 0, + "max": 4, + "adjust_for_weather": true + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size": 8, + "max_size": 8 + }, + "minecraft:density_limit": { + "surface": 5 + }, + "minecraft:biome_filter": { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "caves" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "animal" + } + ] + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/bee.json b/behavior_pack/spawn_rules/bee.json new file mode 100644 index 0000000..4abc6e4 --- /dev/null +++ b/behavior_pack/spawn_rules/bee.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:bee", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size":1, + "max_size":1 + }, + + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "operator":"==", "value": "plains" }, + { "test": "has_biome_tag", "operator":"==", "value": "sunflower_plains" }, + { "test": "has_biome_tag", "operator":"==", "value": "flower_forest" } + ] + } + ] + } + } \ No newline at end of file diff --git a/behavior_pack/spawn_rules/blaze.json b/behavior_pack/spawn_rules/blaze.json new file mode 100644 index 0000000..910cdc5 --- /dev/null +++ b/behavior_pack/spawn_rules/blaze.json @@ -0,0 +1,9 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:blaze", + "population_control": "monster" + } + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/bogged.json b/behavior_pack/spawn_rules/bogged.json new file mode 100644 index 0000000..1f2ec2d --- /dev/null +++ b/behavior_pack/spawn_rules/bogged.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:bogged", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": { + }, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 40 + }, + + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + + "minecraft:biome_filter": { + "any_of": [ + {"test": "has_biome_tag", "operator": "==", "value": "swamp"}, + {"test": "has_biome_tag", "operator": "==", "value": "mangrove_swamp"} + ] + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/cat.json b/behavior_pack/spawn_rules/cat.json new file mode 100644 index 0000000..e007fd9 --- /dev/null +++ b/behavior_pack/spawn_rules/cat.json @@ -0,0 +1,9 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:cat", + "population_control": "cat" + } + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/chicken.json b/behavior_pack/spawn_rules/chicken.json new file mode 100644 index 0000000..9df8fd5 --- /dev/null +++ b/behavior_pack/spawn_rules/chicken.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:chicken", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size":2, + "max_size":4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "animal" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/cod.json b/behavior_pack/spawn_rules/cod.json new file mode 100644 index 0000000..64e47ad --- /dev/null +++ b/behavior_pack/spawn_rules/cod.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:cod", + "population_control": "water_animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 75 + }, + "minecraft:density_limit": { + "surface":20 + }, + "minecraft:height_filter": { + "min": 0, + "max": 64 + }, + "minecraft:herd": { + "min_size":4, + "max_size":7 + }, + + "minecraft:biome_filter": [ + {"test": "has_biome_tag", "operator":"==", "value": "ocean"}, + {"test": "has_biome_tag", "operator":"!=", "value": "warm"} + ] + } + ] + } +} diff --git a/behavior_pack/spawn_rules/cow.json b/behavior_pack/spawn_rules/cow.json new file mode 100644 index 0000000..389f52a --- /dev/null +++ b/behavior_pack/spawn_rules/cow.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:cow", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size":2, + "max_size":3 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "animal" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/creeper.json b/behavior_pack/spawn_rules/creeper.json new file mode 100644 index 0000000..6a299d2 --- /dev/null +++ b/behavior_pack/spawn_rules/creeper.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:creeper", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underground": {}, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 100 + }, + "minecraft:density_limit": { + "surface": 5 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "monster" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/dolphin.json b/behavior_pack/spawn_rules/dolphin.json new file mode 100644 index 0000000..51f1b36 --- /dev/null +++ b/behavior_pack/spawn_rules/dolphin.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:dolphin", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:weight": { + "default": 7 + }, + "minecraft:height_filter": { + "min": 0, + "max": 64 + }, + "minecraft:herd": { + "min_size": 3, + "max_size": 5 + }, + "minecraft:density_limit": { + "surface": 5, + "underground": 0 + }, + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "operator": "==", "value": "ocean" }, + { "test": "has_biome_tag", "operator": "!=", "value": "frozen"} + ] + } + ] + } +} diff --git a/behavior_pack/spawn_rules/donkey.json b/behavior_pack/spawn_rules/donkey.json new file mode 100644 index 0000000..b284e33 --- /dev/null +++ b/behavior_pack/spawn_rules/donkey.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:donkey", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 1 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 6 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "plains" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 1 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "meadow" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/drowned.json b/behavior_pack/spawn_rules/drowned.json new file mode 100644 index 0000000..b56abe5 --- /dev/null +++ b/behavior_pack/spawn_rules/drowned.json @@ -0,0 +1,107 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:drowned", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 100 + }, + + "minecraft:density_limit": { + "surface": 5 + }, + + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "ocean" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 5 + }, + + "minecraft:density_limit": { + "surface": 2 + }, + + "minecraft:herd": { + "min_size": 1, + "max_size": 1 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "river" + } + }, + { + "minecraft:spawns_underground": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 95 + }, + + "minecraft:density_limit": { + "underground": 5 + }, + + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "dripstone_caves" + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/enderman.json b/behavior_pack/spawn_rules/enderman.json new file mode 100644 index 0000000..a054ed0 --- /dev/null +++ b/behavior_pack/spawn_rules/enderman.json @@ -0,0 +1,96 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:enderman", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underground": {}, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "monster" + } + }, + { + "minecraft:spawns_underground": {}, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 6 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 1 + }, + "minecraft:biome_filter": { + "all_of": [ + {"test": "has_biome_tag", "operator": "==", "value": "nether"}, + {"test": "has_biome_tag", "operator": "==", "value": "spawn_endermen"} + ] + } + }, + { + "minecraft:spawns_underground": { + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 10 + }, + + "minecraft:herd": { + "min_size": 1, + "max_size": 1 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "warped_forest" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size": 4, + "max_size": 4 + }, + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", "operator": "==", "value": "the_end" + } + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/fox.json b/behavior_pack/spawn_rules/fox.json new file mode 100644 index 0000000..55f393b --- /dev/null +++ b/behavior_pack/spawn_rules/fox.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:fox", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4, + "event": "minecraft:entity_born", + "event_skip_count": 2 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "value": "taiga" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 4 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4, + "event": "minecraft:entity_born", + "event_skip_count": 2 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "value": "grove" + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/frog.json b/behavior_pack/spawn_rules/frog.json new file mode 100644 index 0000000..1b5cc27 --- /dev/null +++ b/behavior_pack/spawn_rules/frog.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:frog", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": { + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 5 + }, + "minecraft:biome_filter": { + "any_of": [ + {"test": "has_biome_tag", "operator": "==", "value": "swamp"}, + {"test": "has_biome_tag", "operator": "==", "value": "mangrove_swamp"} + ] + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/ghast.json b/behavior_pack/spawn_rules/ghast.json new file mode 100644 index 0000000..691eefd --- /dev/null +++ b/behavior_pack/spawn_rules/ghast.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:ghast", + "population_control": "monster" + }, + + "conditions": [ + { + "minecraft:spawns_underground": { + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 40 + }, + + "minecraft:density_limit": { + "surface": 0, + "underground": 2 + }, + + "minecraft:biome_filter": { + "all_of": [ + {"test": "has_biome_tag", "operator":"==", "value": "nether"}, + {"test": "has_biome_tag", "operator":"==", "value": "spawn_ghast"} + ] + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/glow_squid.json b/behavior_pack/spawn_rules/glow_squid.json new file mode 100644 index 0000000..5bed7b5 --- /dev/null +++ b/behavior_pack/spawn_rules/glow_squid.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:glow_squid", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_underground": {}, + "minecraft:spawns_underwater": {}, + "minecraft:weight": { + "default": 10 + }, + "minecraft:height_filter": { + "min": -64, + "max": 30 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/goat.json b/behavior_pack/spawn_rules/goat.json new file mode 100644 index 0000000..08c2db2 --- /dev/null +++ b/behavior_pack/spawn_rules/goat.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:goat", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:stone", + "minecraft:granite", + "minecraft:polished_granite", + "minecraft:diorite", + "minecraft:polished_diorite", + "minecraft:andesite", + "minecraft:polished_andesite", + "minecraft:snow", + "minecraft:powder_snow", + "minecraft:snow_layer", + "minecraft:packed_ice", + "minecraft:gravel" + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 5 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 3 + }, + "minecraft:biome_filter": { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "snowy_slopes" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "jagged_peaks" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "frozen_peaks" + } + ] + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/guardian.json b/behavior_pack/spawn_rules/guardian.json new file mode 100644 index 0000000..b441694 --- /dev/null +++ b/behavior_pack/spawn_rules/guardian.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:guardian", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_underwater": {} + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/hoglin.json b/behavior_pack/spawn_rules/hoglin.json new file mode 100644 index 0000000..7b837ad --- /dev/null +++ b/behavior_pack/spawn_rules/hoglin.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:hoglin", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_underground": {}, + + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + "minecraft:difficulty_filter": { + "min": "peaceful", + "max": "hard" + }, + + "minecraft:weight": { + "default": 20 + }, + + "minecraft:herd": { + "min_size": 4, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "crimson_forest" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/horse.json b/behavior_pack/spawn_rules/horse.json new file mode 100644 index 0000000..3ba7df5 --- /dev/null +++ b/behavior_pack/spawn_rules/horse.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:horse", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 4 + }, + "minecraft:herd": [ + {"min_size":2, "max_size":6, "event":"minecraft:make_white"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_creamy"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_chestnut"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_brown"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_black"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_gray"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_darkbrown"} + ], + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "plains" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 1 + }, + "minecraft:herd": [ + {"min_size":2, "max_size":6, "event":"minecraft:make_white"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_creamy"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_chestnut"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_brown"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_black"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_gray"}, + {"min_size":2, "max_size":6, "event":"minecraft:make_darkbrown"} + ], + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "savanna" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/husk.json b/behavior_pack/spawn_rules/husk.json new file mode 100644 index 0000000..53ee757 --- /dev/null +++ b/behavior_pack/spawn_rules/husk.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:husk", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 240 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "desert" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/llama.json b/behavior_pack/spawn_rules/llama.json new file mode 100644 index 0000000..5f4dbf8 --- /dev/null +++ b/behavior_pack/spawn_rules/llama.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:llama", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 5 + }, + "minecraft:herd": { + "min_size":4, + "max_size":6 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "extreme_hills" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size":4, + "max_size":4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "savanna" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/magma_cube.json b/behavior_pack/spawn_rules/magma_cube.json new file mode 100644 index 0000000..b6ffd00 --- /dev/null +++ b/behavior_pack/spawn_rules/magma_cube.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:magma_cube", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_underground": { + }, + + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 10 + }, + + "minecraft:herd": { + "min_size": 1, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "spawn_magma_cubes" + } + }, + { + "minecraft:spawns_underground": { + }, + + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 100 + }, + + "minecraft:herd": { + "min_size": 2, + "max_size": 5 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "spawn_many_magma_cubes" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/mooshroom.json b/behavior_pack/spawn_rules/mooshroom.json new file mode 100644 index 0000000..131a43c --- /dev/null +++ b/behavior_pack/spawn_rules/mooshroom.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:mooshroom", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:brightness_filter": { + "min": 9, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size":4, + "max_size":8 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "mooshroom_island" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/ocelot.json b/behavior_pack/spawn_rules/ocelot.json new file mode 100644 index 0000000..a12d271 --- /dev/null +++ b/behavior_pack/spawn_rules/ocelot.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:ocelot", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 30 + }, + "minecraft:herd": { + "min_size":1, + "max_size":2 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "jungle" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/panda.json b/behavior_pack/spawn_rules/panda.json new file mode 100644 index 0000000..1df373e --- /dev/null +++ b/behavior_pack/spawn_rules/panda.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:panda", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size":1, + "max_size":2 + }, + + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "operator":"==", "value": "jungle" }, + { "test": "has_biome_tag", "operator": "!=", "value": "bamboo" } + ] + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 40 + }, + "minecraft:herd": { + "min_size":1, + "max_size":2 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "bamboo" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/parrot.json b/behavior_pack/spawn_rules/parrot.json new file mode 100644 index 0000000..b803ca3 --- /dev/null +++ b/behavior_pack/spawn_rules/parrot.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:parrot", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 40 + }, + "minecraft:herd": { + "min_size":1, + "max_size":2 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "jungle" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/phantom.json b/behavior_pack/spawn_rules/phantom.json new file mode 100644 index 0000000..5e560c7 --- /dev/null +++ b/behavior_pack/spawn_rules/phantom.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:phantom", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": { + }, + + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 100 + }, + + "minecraft:density_limit": { + "surface": 5 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "monster" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/pig.json b/behavior_pack/spawn_rules/pig.json new file mode 100644 index 0000000..75f3d6e --- /dev/null +++ b/behavior_pack/spawn_rules/pig.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:pig", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 10 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 3 + }, + "minecraft:biome_filter": { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "animal" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "cherry_grove" + } + ] + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/piglin.json b/behavior_pack/spawn_rules/piglin.json new file mode 100644 index 0000000..c2c64e8 --- /dev/null +++ b/behavior_pack/spawn_rules/piglin.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:piglin", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_underground": {}, + + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + "minecraft:difficulty_filter": { + "min": "peaceful", + "max": "hard" + }, + + "minecraft:weight": { + "default": 5 + }, + + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "spawn_piglin" + } + }, + { + "minecraft:spawns_underground": {}, + + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + "minecraft:difficulty_filter": { + "min": "peaceful", + "max": "hard" + }, + + "minecraft:weight": { + "default": 15 + }, + + "minecraft:herd": { + "min_size": 4, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "spawn_few_piglins" + } + } + + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/pillager.json b/behavior_pack/spawn_rules/pillager.json new file mode 100644 index 0000000..783679a --- /dev/null +++ b/behavior_pack/spawn_rules/pillager.json @@ -0,0 +1,9 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:pillager", + "population_control": "pillager" + } + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/pillager_patrol.json b/behavior_pack/spawn_rules/pillager_patrol.json new file mode 100644 index 0000000..6cb70de --- /dev/null +++ b/behavior_pack/spawn_rules/pillager_patrol.json @@ -0,0 +1,168 @@ +{ + "format_version": "1.11.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:pillager_patrol", + "population_control": "pillager" + }, + "conditions": [ + { + "minecraft:mob_event_filter": { + "event": "minecraft:pillager_patrols_event" + }, + "minecraft:world_age_filter": { + "min": 6000 + }, + "minecraft:delay_filter": { + "min": 600, + "max": 660, + "identifier": "minecraft:pillager_patrol_easy", + "spawn_chance": 20 + }, + "minecraft:spawns_on_surface": {}, + "minecraft:distance_filter": { + "min": 24, + "max": 48 + }, + "minecraft:difficulty_filter": { + "max": "easy" + }, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": false + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 5, + "initial_event": "minecraft:promote_to_patrol_captain", + "initial_event_count": 1, + "event": "minecraft:spawn_as_patrol_follower", + "event_skip_count": 1 + }, + "minecraft:permute_type": [ + { + "weight": 100, + "entity_type": "minecraft:pillager" + } + ], + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" }, + { "test": "has_biome_tag", "operator": "!=", "value": "nether" }, + { "test": "has_biome_tag", "operator": "!=", "value": "the_end" } + ] + }, + "minecraft:player_in_village_filter": { + "distance": 48, + "village_border_tolerance": 32 + } + }, + { + "minecraft:mob_event_filter": { + "event": "minecraft:pillager_patrols_event" + }, + "minecraft:world_age_filter": { + "min": 6000 + }, + "minecraft:delay_filter": { + "min": 600, + "max": 660, + "identifier": "minecraft:pillager_patrol_normal", + "spawn_chance": 20 + }, + "minecraft:spawns_on_surface": {}, + "minecraft:distance_filter": { + "min": 24, + "max": 48 + }, + "minecraft:difficulty_filter": { + "min": "normal", + "max": "normal" + }, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": false + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 5, + "initial_event": "minecraft:promote_to_patrol_captain", + "initial_event_count": 1, + "event": "minecraft:spawn_as_patrol_follower", + "event_skip_count": 1 + }, + "minecraft:permute_type": [ + { + "weight": 100, + "entity_type": "minecraft:pillager" + } + ], + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" }, + { "test": "has_biome_tag", "operator": "!=", "value": "nether" }, + { "test": "has_biome_tag", "operator": "!=", "value": "the_end" } + ] + }, + "minecraft:player_in_village_filter": { + "distance": 48, + "village_border_tolerance": 32 + } + }, + { + "minecraft:mob_event_filter": { + "event": "minecraft:pillager_patrols_event" + }, + "minecraft:world_age_filter": { + "min": 6000 + }, + "minecraft:delay_filter": { + "min": 600, + "max": 660, + "identifier": "minecraft:pillager_patrol_hard", + "spawn_chance": 20 + }, + "minecraft:spawns_on_surface": {}, + "minecraft:distance_filter": { + "min": 24, + "max": 48 + }, + "minecraft:difficulty_filter": { + "min": "hard" + }, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": false + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 5, + "initial_event": "minecraft:promote_to_patrol_captain", + "initial_event_count": 1, + "event": "minecraft:spawn_as_patrol_follower", + "event_skip_count": 1 + }, + "minecraft:permute_type": [ + { + "weight": 100, + "entity_type": "minecraft:pillager" + } + ], + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "operator": "!=", "value": "mooshroom_island" }, + { "test": "has_biome_tag", "operator": "!=", "value": "nether" }, + { "test": "has_biome_tag", "operator": "!=", "value": "the_end" } + ] + }, + "minecraft:player_in_village_filter": { + "distance": 48, + "village_border_tolerance": 32 + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/polar_bear.json b/behavior_pack/spawn_rules/polar_bear.json new file mode 100644 index 0000000..5a819b1 --- /dev/null +++ b/behavior_pack/spawn_rules/polar_bear.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:polar_bear", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 1 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 2, + "event":"minecraft:entity_born", + "event_skip_count": 1 + }, + + "minecraft:biome_filter": [ + {"test": "has_biome_tag", "operator":"==", "value": "frozen"}, + {"test": "has_biome_tag", "operator":"!=", "value": "ocean"} + ] + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:ice", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 5 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 2, + "event":"minecraft:entity_born", + "event_skip_count": 1 + }, + + "minecraft:biome_filter": [ + {"test": "has_biome_tag", "operator":"==", "value": "frozen"}, + {"test": "has_biome_tag", "operator":"==", "value": "ocean"} + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/pufferfish.json b/behavior_pack/spawn_rules/pufferfish.json new file mode 100644 index 0000000..e845235 --- /dev/null +++ b/behavior_pack/spawn_rules/pufferfish.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:pufferfish", + "population_control": "water_animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 25 + }, + "minecraft:density_limit": { + "surface":3 + }, + "minecraft:height_filter": { + "min": 0, + "max": 64 + }, + "minecraft:herd": { + "min_size":3, + "max_size":5 + }, + + "minecraft:biome_filter": [ + {"test": "has_biome_tag", "operator":"==", "value": "ocean"}, + {"test": "has_biome_tag", "operator":"==", "value": "warm"} + ] + } + ] + } +} diff --git a/behavior_pack/spawn_rules/rabbit.json b/behavior_pack/spawn_rules/rabbit.json new file mode 100644 index 0000000..6116f25 --- /dev/null +++ b/behavior_pack/spawn_rules/rabbit.json @@ -0,0 +1,122 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:rabbit", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:grass_block", + "minecraft:snow", + "minecraft:sand", + "minecraft:snow_layer" + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 4 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 3 + }, + "minecraft:biome_filter": { + "any_of": [ + { + "all_of": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "mega" } + ] + }, + { "test": "is_snow_covered" }, + { "test": "has_biome_tag", "value": "desert" } + ] + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:grass_block", + "minecraft:snow", + "minecraft:sand", + "minecraft:snow_layer" + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 4 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 3 + }, + "minecraft:biome_filter": { + "any_of": [ + { "test": "has_biome_tag", "value": "flower_forest" }, + { "test": "has_biome_tag", "value": "snowy_slopes" } + ] + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:grass_block", + "minecraft:snow", + "minecraft:sand", + "minecraft:snow_layer" + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 3 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", "value": "grove" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:grass_block", + "minecraft:snow", + "minecraft:sand", + "minecraft:snow_layer" + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 2 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 6 + }, + "minecraft:biome_filter": { + "any_of": [ + { "test": "has_biome_tag", "value": "meadow" }, + { "test": "has_biome_tag", "value": "cherry_grove" } + ] + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/salmon.json b/behavior_pack/spawn_rules/salmon.json new file mode 100644 index 0000000..bed37d2 --- /dev/null +++ b/behavior_pack/spawn_rules/salmon.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:salmon", + "population_control": "water_animal" + }, + "conditions": [ + { + "minecraft:density_limit": { + "surface":10 + }, + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 26 + }, + "minecraft:height_filter": { + "min": 0, + "max": 64 + }, + "minecraft:herd": { + "min_size":3, + "max_size":5 + }, + + "minecraft:biome_filter": [ + {"test": "has_biome_tag", "operator":"==", "value": "ocean"}, + {"test": "has_biome_tag", "operator":"!=", "value": "warm"} + ] + }, + { + "minecraft:density_limit": { + "surface":4 + }, + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 16 + }, + "minecraft:height_filter": { + "min": 50, + "max": 64 + }, + "minecraft:herd": { + "min_size":3, + "max_size":5 + }, + + "minecraft:biome_filter": [ + {"test": "has_biome_tag", "operator":"==", "value": "river"} + ] + } + ] + } +} diff --git a/behavior_pack/spawn_rules/sheep.json b/behavior_pack/spawn_rules/sheep.json new file mode 100644 index 0000000..f441b7e --- /dev/null +++ b/behavior_pack/spawn_rules/sheep.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:sheep", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 12 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 3 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "animal" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 2 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + "minecraft:biome_filter": { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "meadow" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "cherry_grove" + } + ] + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/skeleton.json b/behavior_pack/spawn_rules/skeleton.json new file mode 100644 index 0000000..a78e5d3 --- /dev/null +++ b/behavior_pack/spawn_rules/skeleton.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:skeleton", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": { + }, + "minecraft:spawns_underground": { + }, + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 80 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + "minecraft:biome_filter": { + "any_of": [ + { + "all_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "monster" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "frozen" + }, + { + "test": "has_biome_tag", + "operator": "!=", + "value": "mangrove_swamp" + } + ] + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "soulsand_valley" + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/slime.json b/behavior_pack/spawn_rules/slime.json new file mode 100644 index 0000000..feb69ed --- /dev/null +++ b/behavior_pack/spawn_rules/slime.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:slime", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underground": {}, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 100 + }, + "minecraft:biome_filter": { + "any_of": [ + {"test": "has_biome_tag", "operator": "==", "value": "monster"}, + {"test": "has_biome_tag", "operator": "==", "value": "swamp"}, + {"test": "has_biome_tag", "operator": "==", "value": "mangrove_swamp"}, + {"test": "has_biome_tag", "operator": "==", "value": "frozen"} + ] + } + } + ] + } + } diff --git a/behavior_pack/spawn_rules/spider.json b/behavior_pack/spawn_rules/spider.json new file mode 100644 index 0000000..c31be74 --- /dev/null +++ b/behavior_pack/spawn_rules/spider.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:spider", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": { + }, + + "minecraft:spawns_underground": { + }, + + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 100 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator":"==", "value": "monster" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/squid.json b/behavior_pack/spawn_rules/squid.json new file mode 100644 index 0000000..2e633cb --- /dev/null +++ b/behavior_pack/spawn_rules/squid.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:squid", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + "minecraft:weight": { + "default": 8 + }, + "minecraft:density_limit": { + "surface": 4 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "ocean" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + "minecraft:weight": { + "default": 8 + }, + "minecraft:density_limit": { + "surface": 2 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "any_of": [ + { "test": "has_biome_tag", "operator": "==", "value": "river" } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/stray.json b/behavior_pack/spawn_rules/stray.json new file mode 100644 index 0000000..959c33d --- /dev/null +++ b/behavior_pack/spawn_rules/stray.json @@ -0,0 +1,82 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:stray", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": { + }, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:spawn_event": { + "event": "change_to_skeleton" + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 120 + }, + + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "operator":"==", "value": "frozen"}, + { "test": "has_biome_tag", "operator":"!=", "value": "ocean"} + ] + }, + { + "minecraft:spawns_on_surface": { + }, + "minecraft:spawns_underground": { + }, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + + "minecraft:spawn_event": { + "event": "change_to_skeleton" + }, + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:height_filter": { + "min": 60, + "max": 66 + }, + + "minecraft:weight": { + "default": 120 + }, + + "minecraft:herd": { + "min_size": 1, + "max_size": 2 + }, + + "minecraft:biome_filter": [ + { "test": "has_biome_tag", "operator":"==", "value": "frozen"}, + { "test": "has_biome_tag", "operator":"==", "value": "ocean"} + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/strider.json b/behavior_pack/spawn_rules/strider.json new file mode 100644 index 0000000..f2e7ba6 --- /dev/null +++ b/behavior_pack/spawn_rules/strider.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:strider", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_lava": {}, + "minecraft:spawns_underground": {}, + + "minecraft:difficulty_filter": { + "min": "peaceful", + "max": "hard" + }, + + "minecraft:weight": { + "default": 20 + }, + + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:density_limit": { + "surface": 3 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "nether" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/tropicalfish.json b/behavior_pack/spawn_rules/tropicalfish.json new file mode 100644 index 0000000..5676ac5 --- /dev/null +++ b/behavior_pack/spawn_rules/tropicalfish.json @@ -0,0 +1,503 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:tropicalfish", + "population_control": "water_animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 75 + }, + "minecraft:density_limit": { + "surface": 20 + }, + "minecraft:height_filter": { + "min": 0, + "max": 64 + }, + "minecraft:herd": [ + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_anenonme" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_black_tang" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_blue_dory" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_butterfly_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_cichlid" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_clownfish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_cc_betta" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_dog_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_e_red_snapper" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_goat_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_moorish_idol" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_ornate_butterfly" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_parrot_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_queen_angel_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_cichlid" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_lipped_benny" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_snapper" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_threadfin" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_tomato_clown" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_triggerfish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_yellow_tang" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_yellow_tail_parrot" + } + ], + + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "ocean" + }, + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "warm" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "lukewarm" + } + ] + } + ] + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 25 + }, + "minecraft:density_limit": { + "surface": 20 + }, + "minecraft:height_filter": { + "min": 50, + "max": 64 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 3 + }, + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "ocean" + }, + { + "any_of": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "warm" + }, + { + "test": "has_biome_tag", + "operator": "==", + "value": "lukewarm" + } + ] + } + ] + }, + { + "minecraft:spawns_underground": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 75 + }, + "minecraft:density_limit": { + "underground": 20 + }, + "minecraft:herd": [ + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_anenonme" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_black_tang" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_blue_dory" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_butterfly_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_cichlid" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_clownfish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_cc_betta" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_dog_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_e_red_snapper" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_goat_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_moorish_idol" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_ornate_butterfly" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_parrot_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_queen_angel_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_cichlid" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_lipped_benny" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_snapper" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_threadfin" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_tomato_clown" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_triggerfish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_yellow_tang" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_yellow_tail_parrot" + } + ], + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "lush_caves" + } + }, + { + "minecraft:spawns_underground": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 25 + }, + "minecraft:density_limit": { + "underground": 20 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 3 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "lush_caves" + } + }, + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underwater": {}, + + "minecraft:distance_filter": { + "min": 12, + "max": 32 + }, + "minecraft:weight": { + "default": 25 + }, + "minecraft:density_limit": { + "surface": 20 + }, + "minecraft:height_filter": { + "min": 0, + "max": 64 + }, + "minecraft:herd": [ + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_anenonme" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_black_tang" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_blue_dory" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_butterfly_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_cichlid" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_clownfish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_cc_betta" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_dog_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_e_red_snapper" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_goat_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_moorish_idol" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_ornate_butterfly" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_parrot_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_queen_angel_fish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_cichlid" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_lipped_benny" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_red_snapper" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_threadfin" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_tomato_clown" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_triggerfish" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_yellow_tang" + }, + { + "min_size": 3, + "max_size": 5, + "event": "minecraft:become_yellow_tail_parrot" + } + ], + + "minecraft:biome_filter": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "mangrove_swamp" + } + ] + } + ] + } +} diff --git a/behavior_pack/spawn_rules/turtle.json b/behavior_pack/spawn_rules/turtle.json new file mode 100644 index 0000000..29afa68 --- /dev/null +++ b/behavior_pack/spawn_rules/turtle.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:turtle", + "population_control": "animal" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:sand", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:height_filter": { + "min": 60, + "max": 67 + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 6 + }, + "minecraft:biome_filter": [ + {"test": "has_biome_tag", "operator": "==", "value": "beach" }, + {"test": "has_biome_tag", "operator": "==", "value": "warm"} + ] + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/witch.json b/behavior_pack/spawn_rules/witch.json new file mode 100644 index 0000000..9bf3d22 --- /dev/null +++ b/behavior_pack/spawn_rules/witch.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:witch", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underground": {}, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 5 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "monster" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/wither_skeleton.json b/behavior_pack/spawn_rules/wither_skeleton.json new file mode 100644 index 0000000..1c4a57e --- /dev/null +++ b/behavior_pack/spawn_rules/wither_skeleton.json @@ -0,0 +1,9 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:wither_skeleton", + "population_control": "monster" + } + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/wolf.json b/behavior_pack/spawn_rules/wolf.json new file mode 100644 index 0000000..076757f --- /dev/null +++ b/behavior_pack/spawn_rules/wolf.json @@ -0,0 +1,246 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:wolf", + "population_control": "animal" + }, + "conditions": [ + { + // Pale Wolf: every non-cold Taiga, except Old Growth Pine Taiga and Old Growth Spruce Taiga. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 4, + "max_size": 4 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "cold" }, + { "test": "has_biome_tag", "operator": "not", "value": "mega" }, + { "test": "has_biome_tag", "operator": "not", "value": "mutated" } + ] + } + }, + { + // Ashen Wolf: every cold Taiga. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:grass_block", + "minecraft:snow", + "minecraft:snow_layer" + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 4, + "max_size": 4 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "cold" } + ] + } + }, + { + // Black Wolf: Old Growth Pine Taiga only. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + { "name": "minecraft:podzol" }, + { "name": "minecraft:grass_block" }, + { "name": "minecraft:coarse_dirt" } + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "mega" }, + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "forest" }, + { "test": "has_biome_tag", "operator": "not", "value": "mutated" } + ] + } + }, + { + // Chestnut Wolf: Old Growth Spruce Taiga only. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + { "name": "minecraft:podzol" }, + { "name": "minecraft:grass_block" }, + { "name": "minecraft:coarse_dirt" } + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 4, + "max_size": 4 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "mega" }, + { "test": "has_biome_tag", "value": "taiga" }, + { "test": "has_biome_tag", "value": "forest" }, + { "test": "has_biome_tag", "value": "mutated" } + ] + } + }, + { + // Rusty Wolf: Jungle Edge only. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "edge" }, + { "test": "has_biome_tag", "value": "jungle" } + ] + } + }, + { + // Snowy Wolf: Grove only. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + "minecraft:grass_block", + "minecraft:snow", + "minecraft:snow_layer" + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 1 + }, + "minecraft:herd": { + "min_size": 1, + "max_size": 1 + }, + "minecraft:biome_filter": { + "test": "has_biome_tag", "value": "grove" + } + }, + { + // Spotted Wolf: Savanna Plateau only. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 8 + }, + "minecraft:herd": { + "min_size": 4, + "max_size": 8 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "savanna" }, + { "test": "has_biome_tag", "value": "plateau" } + ] + } + }, + { + // Striped Wolf: Wooded Badlands only. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": [ + { "name": "minecraft:grass_block" }, + { "name": "minecraft:coarse_dirt" } + ], + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 2, + "rarity": 2 // Close enough to Java's 40% chance. + }, + "minecraft:herd": { + "min_size": 4, + "max_size": 8 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "mesa" }, + { "test": "has_biome_tag", "value": "plateau" }, + { "test": "has_biome_tag", "value": "stone" } + ] + } + }, + { + // Woods Wolf: Forest only. + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_on_block_filter": "minecraft:grass_block", + "minecraft:brightness_filter": { + "min": 7, + "max": 15, + "adjust_for_weather": false + }, + "minecraft:weight": { + "default": 5 + }, + "minecraft:herd": { + "min_size": 4, + "max_size": 4 + }, + "minecraft:biome_filter": { + "all_of": [ + { "test": "has_biome_tag", "value": "forest" }, + { "test": "has_biome_tag", "operator": "not", "value": "birch" }, + { "test": "has_biome_tag", "operator": "not", "value": "taiga" }, + { "test": "has_biome_tag", "operator": "not", "value": "roofed" }, + { "test": "has_biome_tag", "operator": "not", "value": "mutated" }, + { "test": "has_biome_tag", "operator": "not", "value": "mountain" } + ] + } + } + ] + } +} diff --git a/behavior_pack/spawn_rules/zombie.json b/behavior_pack/spawn_rules/zombie.json new file mode 100644 index 0000000..f187763 --- /dev/null +++ b/behavior_pack/spawn_rules/zombie.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:zombie", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_on_surface": {}, + "minecraft:spawns_underground": {}, + "minecraft:brightness_filter": { + "min": 0, + "max": 7, + "adjust_for_weather": true + }, + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + "minecraft:weight": { + "default": 100 + }, + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + "minecraft:permute_type": [ + { + "weight": 95 + }, + { + "weight": 5, + "entity_type": "minecraft:zombie_villager_v2" + } + ], + "minecraft:biome_filter": { + "test": "has_biome_tag", "operator": "==", "value": "monster" + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/spawn_rules/zombie_pigman.json b/behavior_pack/spawn_rules/zombie_pigman.json new file mode 100644 index 0000000..2d6639f --- /dev/null +++ b/behavior_pack/spawn_rules/zombie_pigman.json @@ -0,0 +1,81 @@ +{ + "format_version": "1.8.0", + "minecraft:spawn_rules": { + "description": { + "identifier": "minecraft:zombie_pigman", + "population_control": "monster" + }, + "conditions": [ + { + "minecraft:spawns_underground": { + }, + + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 100 + }, + + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "spawn_zombified_piglin" + }, + + "minecraft:brightness_filter": { + "min": 0, + "max": 11, + "adjust_for_weather": true + } + }, + { + "minecraft:spawns_underground": { + }, + + "minecraft:spawns_on_block_prevented_filter": [ + "minecraft:nether_wart_block", + "minecraft:shroomlight" + ], + + "minecraft:difficulty_filter": { + "min": "easy", + "max": "hard" + }, + + "minecraft:weight": { + "default": 1 + }, + + "minecraft:herd": { + "min_size": 2, + "max_size": 4 + }, + + "minecraft:biome_filter": { + "test": "has_biome_tag", + "operator": "==", + "value": "spawn_few_zombified_piglins" + }, + + "minecraft:brightness_filter": { + "min": 0, + "max": 11, + "adjust_for_weather": true + } + } + ] + } +} diff --git a/behavior_pack/texts/language_names.json b/behavior_pack/texts/language_names.json new file mode 100644 index 0000000..5554ba6 --- /dev/null +++ b/behavior_pack/texts/language_names.json @@ -0,0 +1,31 @@ +[ + [ "en_US", "English (United States)" ], + [ "en_GB", "English (United Kingdom)" ], + [ "de_DE", "Deutsch (Deutschland)" ], + [ "es_ES", "Español (España)" ], + [ "es_MX", "Español (México)" ], + [ "fr_FR", "Français (France)" ], + [ "fr_CA", "Français (Canada)" ], + [ "it_IT", "Italiano (Italia)" ], + [ "ja_JP", "日本語 (日本)" ], + [ "ko_KR", "한국어 (대한민국)" ], + [ "pt_BR", "Português (Brasil)" ], + [ "pt_PT", "Português (Portugal)" ], + [ "ru_RU", "Русский (Россия)" ], + [ "zh_CN", "中文(简体)" ], + [ "zh_TW", "中文(繁體)" ], + [ "nl_NL", "Nederlands (Nederland)" ], + [ "bg_BG", "Български (България)" ], + [ "cs_CZ", "Čeština (Česko)" ], + [ "da_DK", "Dansk (Danmark)" ], + [ "el_GR", "Ελληνικά (Ελλάδα)" ], + [ "fi_FI", "Suomi (Suomi)" ], + [ "hu_HU", "Magyar (Magyarország)" ], + [ "id_ID", "Indonesia (Indonesia)" ], + [ "nb_NO", "Norsk bokmål (Norge)" ], + [ "pl_PL", "Polski (Polska)" ], + [ "sk_SK", "Slovenčina (Slovensko)" ], + [ "sv_SE", "Svenska (Sverige)" ], + [ "tr_TR", "Türkçe (Türkiye)" ], + [ "uk_UA", "Українська (Україна)" ] +] \ No newline at end of file diff --git a/behavior_pack/texts/languages.json b/behavior_pack/texts/languages.json new file mode 100644 index 0000000..019861c --- /dev/null +++ b/behavior_pack/texts/languages.json @@ -0,0 +1,31 @@ +[ + "en_US", + "en_GB", + "de_DE", + "es_ES", + "es_MX", + "fr_FR", + "fr_CA", + "it_IT", + "ja_JP", + "ko_KR", + "pt_BR", + "pt_PT", + "ru_RU", + "zh_CN", + "zh_TW", + "nl_NL", + "bg_BG", + "cs_CZ", + "da_DK", + "el_GR", + "fi_FI", + "hu_HU", + "id_ID", + "nb_NO", + "pl_PL", + "sk_SK", + "sv_SE", + "tr_TR", + "uk_UA" +] \ No newline at end of file diff --git a/behavior_pack/trading/armorer_trades.json b/behavior_pack/trading/armorer_trades.json new file mode 100644 index 0000000..7a2b424 --- /dev/null +++ b/behavior_pack/trading/armorer_trades.json @@ -0,0 +1,190 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": { + "min": 16, + "max": 24 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 4, + "max": 6 + } + } + ], + "gives": [ + { + "item": "minecraft:iron_helmet" + } + ] + } + ] + }, + { + "trades":[ + { + "wants": [ + { + "item": "minecraft:iron_ingot", + "quantity": { + "min": 7, + "max": 9 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 10, + "max": 14 + } + } + ], + "gives": [ + { + "item": "minecraft:iron_chestplate" + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:diamond", + "quantity": { + "min": 3, + "max": 4 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 16, + "max": 19 + } + } + ], + "gives": [ + { + "item": "minecraft:diamond_chestplate", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 5, + "max": 7 + } + } + ], + "gives": [ + { + "item": "minecraft:chainmail_boots" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 9, + "max": 11 + } + } + ], + "gives": [ + { + "item": "minecraft:chainmail_leggings" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 5, + "max": 7 + } + } + ], + "gives": [ + { + "item": "minecraft:chainmail_helmet" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 11, + "max": 15 + } + } + ], + "gives": [ + { + "item": "minecraft:chainmail_chestplate" + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/butcher_trades.json b/behavior_pack/trading/butcher_trades.json new file mode 100644 index 0000000..80c7649 --- /dev/null +++ b/behavior_pack/trading/butcher_trades.json @@ -0,0 +1,92 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:porkchop", + "quantity": { + "min": 14, + "max": 18 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:chicken", + "quantity": { + "min": 14, + "max": 18 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": { + "min": 16, + "max": 24 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:cooked_porkchop", + "quantity": { + "min": 5, + "max": 7 + } + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:cooked_chicken", + "quantity": { + "min": 6, + "max": 8 + } + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/cartographer_trades.json b/behavior_pack/trading/cartographer_trades.json new file mode 100644 index 0000000..64be8d2 --- /dev/null +++ b/behavior_pack/trading/cartographer_trades.json @@ -0,0 +1,120 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:paper", + "quantity": { + "min": 24, + "max": 36 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:compass", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 7, + "max": 11 + } + } + ], + "gives": [ + { + "item": "minecraft:emptyMap", + "quantity": 1 + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 12, + "max": 20 + } + }, + { + "item": "minecraft:compass", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:map", + "functions": [ + { + "function": "exploration_map", + "destination": "monument" + } + ] + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 16, + "max": 28 + } + }, + { + "item": "minecraft:compass", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:map", + "functions": [ + { + "function": "exploration_map", + "destination": "mansion" + } + ] + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/cleric_trades.json b/behavior_pack/trading/cleric_trades.json new file mode 100644 index 0000000..33cd31e --- /dev/null +++ b/behavior_pack/trading/cleric_trades.json @@ -0,0 +1,132 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:rotten_flesh", + "quantity": { + "min": 36, + "max": 40 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:gold_ingot", + "quantity": { + "min": 8, + "max": 10 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:redstone", + "quantity": { + "min": 1, + "max": 4 + } + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:dye:4", + "quantity": { + "min": 1, + "max": 2 + } + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:glowstone", + "quantity": { + "min": 1, + "max": 3 + } + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 4, + "max": 7 + } + } + ], + "gives": [ + { + "item": "minecraft:ender_pearl" + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 3, + "max": 11 + } + } + ], + "gives": [ + { + "item": "minecraft:experience_bottle" + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/armorer_trades.json b/behavior_pack/trading/economy_trades/armorer_trades.json new file mode 100644 index 0000000..31d6fd2 --- /dev/null +++ b/behavior_pack/trading/economy_trades/armorer_trades.json @@ -0,0 +1,438 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": 15, + "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.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_leggings", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 4, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_boots", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_helmet", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 9, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_chestplate", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:iron_ingot", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 36, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:bell", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:chainmail_boots", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:chainmail_leggings", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:bucket:10", + "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:diamond", + "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": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:chainmail_helmet", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 4, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:chainmail_chestplate", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:shield", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 14, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_leggings", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 3, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 8, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_boots", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 8, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_helmet", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 30, + "max_uses": 3, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 16, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_chestplate", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 30, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/butcher_trades.json b/behavior_pack/trading/economy_trades/butcher_trades.json new file mode 100644 index 0000000..c1af733 --- /dev/null +++ b/behavior_pack/trading/economy_trades/butcher_trades.json @@ -0,0 +1,262 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:chicken", + "quantity": 14, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 2, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:rabbit", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 2, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:porkchop", + "quantity": 7, + "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": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:rabbit_stew", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": 15, + "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": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:cooked_chicken", + "quantity": 8 + } + ], + "trader_exp": 5, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:cooked_porkchop", + "quantity": 5 + } + ], + "trader_exp": 5, + "max_uses": 16, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:beef", + "quantity": 10, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 20, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:muttonraw", + "quantity": 7, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 20, + "max_uses": 16, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:dried_kelp_block", + "quantity": 10, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:sweet_berries", + "quantity": 10, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/cartographer_trades.json b/behavior_pack/trading/economy_trades/cartographer_trades.json new file mode 100644 index 0000000..e8abc02 --- /dev/null +++ b/behavior_pack/trading/economy_trades/cartographer_trades.json @@ -0,0 +1,307 @@ +{ + "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", + "filters": { "test": "in_overworld", "subject": "self", "value": true, "operator": "="}, + "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", + "filters": { "test": "in_overworld", "subject": "self", "value": true, "operator": "="}, + "functions": [ + { + "function": "exploration_map", + "destination": "mansion" + } + ] + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 12, + "price_multiplier": 0.2 + }, + { + "item": "minecraft:compass", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:map", + "filters": { + "test": "in_overworld", + "subject": "self", + "value": true, + "operator": "=" + }, + "functions": [ + { + "function": "exploration_map", + "destination": "trial_chambers" + } + ] + } + ], + "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 + } + ] + } + ] + } + ] + } + \ No newline at end of file diff --git a/behavior_pack/trading/economy_trades/cleric_trades.json b/behavior_pack/trading/economy_trades/cleric_trades.json new file mode 100644 index 0000000..7fa9435 --- /dev/null +++ b/behavior_pack/trading/economy_trades/cleric_trades.json @@ -0,0 +1,277 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:rotten_flesh", + "quantity": 32, + "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": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:redstone", + "quantity": 2 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:gold_ingot", + "quantity": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:dye:4", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:rabbit_foot", + "quantity": 2, + "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": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:glowstone", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:turtle_shell_piece", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:glass_bottle", + "quantity": 9, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:ender_pearl", + "quantity": 1 + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:nether_wart", + "quantity": 22, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:experience_bottle", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/farmer_trades.json b/behavior_pack/trading/economy_trades/farmer_trades.json new file mode 100644 index 0000000..c6b2ec7 --- /dev/null +++ b/behavior_pack/trading/economy_trades/farmer_trades.json @@ -0,0 +1,335 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:wheat", + "quantity": 20, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 2, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:potato", + "quantity": 26, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 2, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:beetroot", + "quantity": 15, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 2, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:carrot", + "quantity": 22, + "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": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:bread", + "quantity": 6 + } + ], + "trader_exp": 1, + "max_uses": 16, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:pumpkin", + "quantity": 6, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:pumpkin_pie", + "quantity": 4 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:apple", + "quantity": 4 + } + ], + "trader_exp": 5, + "max_uses": 16, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:melon_block", + "quantity": 4, + "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": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:cookie", + "quantity": 18 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:suspicious_stew:0", + "quantity": 1, + "functions": [ + { + "function": "random_aux_value", + "values": { + "min": 0, + "max": 5 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:cake", + "quantity": 1 + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:golden_carrot", + "quantity": 3 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:speckled_melon", + "quantity": 3 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/fisherman_trades.json b/behavior_pack/trading/economy_trades/fisherman_trades.json new file mode 100644 index 0000000..fba7a6b --- /dev/null +++ b/behavior_pack/trading/economy_trades/fisherman_trades.json @@ -0,0 +1,342 @@ +{ + "format_version":"1.18.10", + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:string", + "quantity": 20, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 2, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": 10, + "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": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:bucket:2", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:fish", + "quantity": 6 + } + ], + "gives": [ + { + "item": "minecraft:cooked_fish", + "quantity": 6 + } + ], + "trader_exp": 1, + "max_uses": 16, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:fish", + "quantity": 15, + "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": 2, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:campfire", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:salmon", + "quantity": 6 + } + ], + "gives": [ + { + "item": "minecraft:cooked_salmon", + "quantity": 6 + } + ], + "trader_exp": 5, + "max_uses": 16, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:salmon", + "quantity": 13, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 20, + "max_uses": 16, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:fishing_rod", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 10, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:clownfish", + "quantity": 6, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:pufferfish", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "choice" : [ + { + "item": "minecraft:oak_boat", + "quantity": 1, + "price_multiplier": 0.05, + "filters": { "test": "is_mark_variant", "subject": "self", "value": 0, "operator": "="} + }, + { + "item": "minecraft:spruce_boat", + "quantity": 1, + "price_multiplier": 0.05, + "filters": { + "any_of": [ + { "test": "is_mark_variant", "subject": "self", "value": 4, "operator": "="}, + { "test": "is_mark_variant", "subject": "self", "value": 6, "operator": "="} + ] + } + }, + { + "item": "minecraft:jungle_boat", + "quantity": 1, + "price_multiplier": 0.05, + "filters": { + "any_of": [ + { "test": "is_mark_variant", "subject": "self", "value": 1, "operator": "="}, + { "test": "is_mark_variant", "subject": "self", "value": 2, "operator": "="} + ] + } + }, + { + "item": "minecraft:acacia_boat", + "quantity": 1, + "price_multiplier": 0.05, + "filters": { "test": "is_mark_variant", "subject": "self", "value": 3, "operator": "="} + }, + { + "item": "minecraft:dark_oak_boat", + "quantity": 1, + "price_multiplier": 0.05, + "filters": { "test": "is_mark_variant", "subject": "self", "value": 5, "operator": "="} + } + ] + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/fletcher_trades.json b/behavior_pack/trading/economy_trades/fletcher_trades.json new file mode 100644 index 0000000..fb6917c --- /dev/null +++ b/behavior_pack/trading/economy_trades/fletcher_trades.json @@ -0,0 +1,475 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:stick", + "quantity": 32, + "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": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:arrow", + "quantity": 16 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:gravel", + "quantity": 10, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:flint", + "quantity": 10 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:flint", + "quantity": 26, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 2, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:bow", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:string", + "quantity": 14, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 20, + "max_uses": 16, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:crossbow", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:feather", + "quantity": 24, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 16, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 2, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:bow", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:tripwire_hook", + "quantity": 8, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:crossbow", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 3, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 2, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "nightvision" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "invisibility" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "leaping" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "fire_resistance" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "swiftness" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "slowness" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "water_breathing" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "healing" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "harming" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "poison" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "regeneration" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "strength" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "weakness" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "turtle_master" + } + ] + }, + { + "item": "minecraft:arrow", + "quantity": 5, + "functions": [ + { + "function": "set_potion", + "id": "wither" + } + ] + } + ] + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/leather_worker_trades.json b/behavior_pack/trading/economy_trades/leather_worker_trades.json new file mode 100644 index 0000000..346d71c --- /dev/null +++ b/behavior_pack/trading/economy_trades/leather_worker_trades.json @@ -0,0 +1,325 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:leather", + "quantity": 6, + "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": 3, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:leather_leggings", + "quantity": 1, + "functions": [ + { + "function": "random_dye" + } + ] + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 7, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:leather_chestplate", + "quantity": 1, + "functions": [ + { + "function": "random_dye" + } + ] + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:flint", + "quantity": 26, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:leather_helmet", + "quantity": 1, + "functions": [ + { + "function": "random_dye" + } + ] + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 4, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:leather_boots", + "quantity": 1, + "functions": [ + { + "function": "random_dye" + } + ] + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:rabbit_hide", + "quantity": 9, + "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": 7, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:leather_chestplate", + "quantity": 1, + "functions": [ + { + "function": "random_dye" + } + ] + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:turtle_shell_piece", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 6, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:horsearmorleather", + "quantity": 1, + "functions": [ + { + "function": "random_dye" + } + ] + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:leather_helmet", + "quantity": 1, + "functions": [ + { + "function": "random_dye" + } + ] + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 6, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:saddle", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/librarian_trades.json b/behavior_pack/trading/economy_trades/librarian_trades.json new file mode 100644 index 0000000..d6ca7e0 --- /dev/null +++ b/behavior_pack/trading/economy_trades/librarian_trades.json @@ -0,0 +1,385 @@ +{ + "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": 9, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:bookshelf", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "price_multiplier": 0.2 + }, + { + "item": "minecraft:book", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:book", + "quantity": 1, + "functions": [ + { + "function": "enchant_book_for_trading", + "base_cost": 2, + "base_random_cost": 5, + "per_level_random_cost": 10, + "per_level_cost": 3 + } + ] + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:book", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:lantern", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "price_multiplier": 0.2 + }, + { + "item": "minecraft:book", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:book", + "quantity": 1, + "functions": [ + { + "function": "enchant_book_for_trading", + "base_cost": 2, + "base_random_cost": 5, + "per_level_random_cost": 10, + "per_level_cost": 3 + } + ] + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:dye:0", + "quantity": 5, + "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": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:glass", + "quantity": 4 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "price_multiplier": 0.2 + }, + { + "item": "minecraft:book", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:book", + "quantity": 1, + "functions": [ + { + "function": "enchant_book_for_trading", + "base_cost": 2, + "base_random_cost": 5, + "per_level_random_cost": 10, + "per_level_cost": 3 + } + ] + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + // Book and quill can only have a single item per stack + "wants": [ + { + "item": "minecraft:writable_book", + "quantity": 1, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:writable_book", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:compass", + "quantity": 1 + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:clock", + "quantity": 1 + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "price_multiplier": 0.2 + }, + { + "item": "minecraft:book", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:book", + "quantity": 1, + "functions": [ + { + "function": "enchant_book_for_trading", + "base_cost": 2, + "base_random_cost": 5, + "per_level_random_cost": 10, + "per_level_cost": 3 + } + ] + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 20, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:nametag", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/behavior_pack/trading/economy_trades/shepherd_trades.json b/behavior_pack/trading/economy_trades/shepherd_trades.json new file mode 100644 index 0000000..fc01fde --- /dev/null +++ b/behavior_pack/trading/economy_trades/shepherd_trades.json @@ -0,0 +1,483 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "choice": [ + { + "item": "minecraft:white_wool", + "quantity": 18, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:gray_wool", + "quantity": 18, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:brown_wool", + "quantity": 18, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:black_wool", + "quantity": 18, + "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": 2, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:shears", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "choice": [ + { + "item": "minecraft:black_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:gray_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:lime_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:light_blue_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:white_dye", + "quantity": 12, + "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": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:white_wool" + }, + { + "item": "minecraft:orange_wool" + }, + { + "item": "minecraft:magenta_wool" + }, + { + "item": "minecraft:light_blue_wool" + }, + { + "item": "minecraft:yellow_wool" + }, + { + "item": "minecraft:lime_wool" + }, + { + "item": "minecraft:pink_wool" + }, + { + "item": "minecraft:gray_wool" + }, + { + "item": "minecraft:light_gray_wool" + }, + { + "item": "minecraft:cyan_wool" + }, + { + "item": "minecraft:purple_wool" + }, + { + "item": "minecraft:blue_wool" + }, + { + "item": "minecraft:brown_wool" + }, + { + "item": "minecraft:green_wool" + }, + { + "item": "minecraft:red_wool" + }, + { + "item": "minecraft:black_wool" + } + ] + } + ], + "trader_exp": 5, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:white_carpet", + "quantity": 4 + }, + { + "item": "minecraft:orange_carpet", + "quantity": 4 + }, + { + "item": "minecraft:magenta_carpet", + "quantity": 4 + }, + { + "item": "minecraft:light_blue_carpet", + "quantity": 4 + }, + { + "item": "minecraft:yellow_carpet", + "quantity": 4 + }, + { + "item": "minecraft:lime_carpet", + "quantity": 4 + }, + { + "item": "minecraft:pink_carpet", + "quantity": 4 + }, + { + "item": "minecraft:gray_carpet", + "quantity": 4 + }, + { + "item": "minecraft:light_gray_carpet", + "quantity": 4 + }, + { + "item": "minecraft:cyan_carpet", + "quantity": 4 + }, + { + "item": "minecraft:purple_carpet", + "quantity": 4 + }, + { + "item": "minecraft:blue_carpet", + "quantity": 4 + }, + { + "item": "minecraft:brown_carpet", + "quantity": 4 + }, + { + "item": "minecraft:green_carpet", + "quantity": 4 + }, + { + "item": "minecraft:red_carpet", + "quantity": 4 + }, + { + "item": "minecraft:black_carpet", + "quantity": 4 + } + ] + } + ], + "trader_exp": 5, + "max_uses": 16, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "choice": [ + { + "item": "minecraft:red_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:light_gray_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:pink_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:yellow_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:orange_dye", + "quantity": 12, + "price_multiplier": 0.05 + } + ] + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 20, + "max_uses": 16, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:bed", + "functions": [ + { + "function": "random_aux_value", + "values": { + "min": 0, + "max": 15 + } + } + ] + } + ] + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "choice": [ + { + "item": "minecraft:green_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:brown_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:blue_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:purple_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:cyan_dye", + "quantity": 12, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:magenta_dye", + "quantity": 12, + "price_multiplier": 0.05 + } + ] + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 16, + "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": 2, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:painting", + "quantity": 3 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/stone_mason_trades.json b/behavior_pack/trading/economy_trades/stone_mason_trades.json new file mode 100644 index 0000000..6e03ded --- /dev/null +++ b/behavior_pack/trading/economy_trades/stone_mason_trades.json @@ -0,0 +1,323 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "trades": [ + { + "wants": [ + { + "item": "minecraft:clay_ball", + "quantity": 10, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 2, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:brick", + "quantity": 10 + } + ], + "trader_exp": 1, + "max_uses": 16, + "reward_exp": true + } + ] + }, + { + "total_exp_required": 10, + "trades": [ + { + "wants": [ + { + "item": "minecraft:stone", + "quantity": 20, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:chiseled_stone_bricks", + "quantity": 4 + } + ], + "trader_exp": 5, + "max_uses": 16, + "reward_exp": true + } + ] + }, + { + "total_exp_required": 70, + "trades": [ + { + "wants": [ + { + "choice": [ + { + "item": "minecraft:granite", + "quantity": 16, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:diorite", + "quantity": 16, + "price_multiplier": 0.05 + }, + { + "item": "minecraft:andesite", + "quantity": 16, + "price_multiplier": 0.05 + } + ] + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 20, + "max_uses": 16, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:polished_granite", + "quantity": 4 + }, + { + "item": "minecraft:polished_diorite", + "quantity": 4 + }, + { + "item": "minecraft:polished_andesite", + "quantity": 4 + }, + { + "item": "minecraft:dripstone_block", + "quantity": 4 + } + ] + } + ], + "trader_exp": 10, + "max_uses": 16, + "reward_exp": true + } + ] + }, + { + "total_exp_required": 150, + "trades": [ + { + "wants": [ + { + "item": "minecraft:quartz", + "quantity": 12, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:white_terracotta" + }, + { + "item": "minecraft:orange_terracotta" + }, + { + "item": "minecraft:magenta_terracotta" + }, + { + "item": "minecraft:light_blue_terracotta" + }, + { + "item": "minecraft:yellow_terracotta" + }, + { + "item": "minecraft:lime_terracotta" + }, + { + "item": "minecraft:pink_terracotta" + }, + { + "item": "minecraft:gray_terracotta" + }, + { + "item": "minecraft:light_gray_terracotta" + }, + { + "item": "minecraft:cyan_terracotta" + }, + { + "item": "minecraft:purple_terracotta" + }, + { + "item": "minecraft:blue_terracotta" + }, + { + "item": "minecraft:brown_terracotta" + }, + { + "item": "minecraft:green_terracotta" + }, + { + "item": "minecraft:red_terracotta" + }, + { + "item": "minecraft:black_terracotta" + }, + { + "item": "minecraft:black_glazed_terracotta" + }, + { + "item": "minecraft:blue_glazed_terracotta" + }, + { + "item": "minecraft:brown_glazed_terracotta" + }, + { + "item": "minecraft:cyan_glazed_terracotta" + }, + { + "item": "minecraft:gray_glazed_terracotta" + }, + { + "item": "minecraft:green_glazed_terracotta" + }, + { + "item": "minecraft:light_blue_glazed_terracotta" + }, + { + "item": "minecraft:lime_glazed_terracotta" + }, + { + "item": "minecraft:magenta_glazed_terracotta" + }, + { + "item": "minecraft:orange_glazed_terracotta" + }, + { + "item": "minecraft:pink_glazed_terracotta" + }, + { + "item": "minecraft:purple_glazed_terracotta" + }, + { + "item": "minecraft:red_glazed_terracotta" + }, + { + "item": "minecraft:silver_glazed_terracotta" + }, + { + "item": "minecraft:white_glazed_terracotta" + }, + { + "item": "minecraft:yellow_glazed_terracotta" + } + ] + } + ], + "trader_exp": 15, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "total_exp_required": 250, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:quartz_block" + }, + { + "item": "minecraft:quartz_pillar" + } + ] + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/tool_smith_trades.json b/behavior_pack/trading/economy_trades/tool_smith_trades.json new file mode 100644 index 0000000..fd11c06 --- /dev/null +++ b/behavior_pack/trading/economy_trades/tool_smith_trades.json @@ -0,0 +1,422 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": 15, + "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": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:stone_axe", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:stone_shovel", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:stone_pickaxe", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:stone_hoe", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:iron_ingot", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 36, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:bell", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:flint", + "quantity": 30, + "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": 1, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_axe", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 10, + "max_uses": 3, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 2, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_shovel", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 10, + "max_uses": 3, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_pickaxe", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 10, + "max_uses": 3, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 4, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_hoe", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:diamond", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 12, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_axe", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 3, + "reward_exp": true + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_shovel", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 13, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_pickaxe", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 30, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/wandering_trader_trades.json b/behavior_pack/trading/economy_trades/wandering_trader_trades.json new file mode 100644 index 0000000..9db519f --- /dev/null +++ b/behavior_pack/trading/economy_trades/wandering_trader_trades.json @@ -0,0 +1,719 @@ +{ + "tiers": [ + { + "groups": [ + { + "num_to_select": 5, + "trades": [ + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 2 + } + ], + "gives": [ + { + "item": "minecraft:sea_pickle" + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 4 + } + ], + "gives": [ + { + "item": "minecraft:slime_ball" + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 2 + } + ], + "gives": [ + { + "item": "minecraft:glowstone" + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5 + } + ], + "gives": [ + { + "item": "minecraft:nautilus_shell" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:fern" + } + ] + }, + { + "max_uses": 8, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:reeds" + } + ] + }, + { + "max_uses": 4, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:pumpkin" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3 + } + ], + "gives": [ + { + "item": "minecraft:kelp" + } + ] + }, + { + "max_uses": 8, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3 + } + ], + "gives": [ + { + "item": "minecraft:cactus" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:dandelion" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:poppy" + } + ] + }, + { + "max_uses": 8, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:blue_orchid" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:allium" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:azure_bluet" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:red_tulip" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:orange_tulip" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:white_tulip" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:pink_tulip" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:oxeye_daisy" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:cornflower" + } + ] + }, + { + "max_uses": 7, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:lily_of_the_valley" + } + ] + }, + { + "max_uses": 7, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:open_eyeblossom" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:wheat_seeds" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:beetroot_seeds" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:pumpkin_seeds" + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:melon_seeds" + } + ] + }, + { + "max_uses": 8, + "weight":6, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:oak_sapling" + }, + { + "item": "minecraft:spruce_sapling" + }, + { + "item": "minecraft:birch_sapling" + }, + { + "item": "minecraft:jungle_sapling" + }, + { + "item": "minecraft:acacia_sapling" + }, + { + "item": "minecraft:dark_oak_sapling" + }, + { + "item": "minecraft:cherry_sapling" + }, + { + "item": "minecraft:mangrove_propagule" + }, + { + "item": "minecraft:pale_oak_sapling" + } + ] + } + ] + }, + { + "max_uses": 12, + "weight":16, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "choice": [ + {"item": "minecraft:red_dye", "quantity": 3}, + {"item": "minecraft:white_dye", "quantity": 3}, + {"item": "minecraft:blue_dye", "quantity": 3}, + {"item": "minecraft:pink_dye", "quantity": 3}, + {"item": "minecraft:black_dye", "quantity": 3}, + {"item": "minecraft:green_dye", "quantity": 3}, + {"item": "minecraft:light_gray_dye", "quantity": 3}, + {"item": "minecraft:magenta_dye", "quantity": 3}, + {"item": "minecraft:yellow_dye", "quantity": 3}, + {"item": "minecraft:gray_dye", "quantity": 3}, + {"item": "minecraft:purple_dye", "quantity": 3}, + {"item": "minecraft:light_blue_dye", "quantity": 3}, + {"item": "minecraft:lime_dye", "quantity": 3}, + {"item": "minecraft:orange_dye", "quantity": 3}, + {"item": "minecraft:brown_dye", "quantity": 3}, + {"item": "minecraft:cyan_dye", "quantity": 3} + ] + } + ] + }, + { + "max_uses": 8, + "weight":5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:tube_coral_block" + }, + { + "item": "minecraft:brain_coral_block" + }, + { + "item": "minecraft:bubble_coral_block" + }, + { + "item": "minecraft:fire_coral_block" + }, + { + "item": "minecraft:horn_coral_block" + } + ] + } + ] + }, + { + "max_uses": 12, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "choice": [ + { "item": "minecraft:vine" }, + { "item": "minecraft:pale_hanging_moss" } + ] + } + ] + }, + { + "max_uses": 12, + "weight":2, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "choice": [ + { + "item": "minecraft:brown_mushroom" + }, + { + "item": "minecraft:red_mushroom" + } + ] + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:waterlily", + "quantity": 2 + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:small_dripleaf_block", + "quantity": 2 + } + ] + }, + { + "max_uses": 8, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:sand", + "quantity": 8 + } + ] + }, + { + "max_uses": 6, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:red_sand", + "quantity": 4 + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:pointed_dripstone", + "quantity": 2 + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:dirt_with_roots", + "quantity": 2 + } + ] + }, + { + "max_uses": 5, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "choice": [ + { "item": "minecraft:moss_block", "quantity": 2 }, + { "item": "minecraft:pale_moss_block", "quantity": 2 } + ] + } + ] + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "max_uses": 4, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5 + } + ], + "gives": [ + { + "item": "minecraft:bucket:4" + } + ] + }, + { + "max_uses": 4, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 5 + } + ], + "gives": [ + { + "item": "minecraft:bucket:5" + } + ] + }, + { + "max_uses": 6, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3 + } + ], + "gives": [ + { + "item": "minecraft:packed_ice" + } + ] + }, + { + "max_uses": 6, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 6 + } + ], + "gives": [ + { + "item": "minecraft:blue_ice" + } + ] + }, + { + "max_uses": 8, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:gunpowder" + } + ] + }, + { + "max_uses": 6, + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 3 + } + ], + "gives": [ + { + "item": "minecraft:podzol", + "quantity": 3 + } + ] + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/economy_trades/weapon_smith_trades.json b/behavior_pack/trading/economy_trades/weapon_smith_trades.json new file mode 100644 index 0000000..7854722 --- /dev/null +++ b/behavior_pack/trading/economy_trades/weapon_smith_trades.json @@ -0,0 +1,267 @@ +{ + "tiers": [ + { + "total_exp_required": 0, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": 15, + "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": 3, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_axe", + "quantity": 1 + } + ], + "trader_exp": 1, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 2, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:iron_sword", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 5, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 10, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:iron_ingot", + "quantity": 4, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 10, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 36, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:bell", + "quantity": 1 + } + ], + "trader_exp": 5, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 70, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:flint", + "quantity": 24, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 20, + "max_uses": 12, + "reward_exp": true + } + ] + } + ] + }, + + { + "total_exp_required": 150, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:diamond", + "quantity": 1, + "price_multiplier": 0.05 + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "trader_exp": 30, + "max_uses": 12, + "reward_exp": true + } + ] + }, + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 12, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_axe", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 15, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + }, + { + "total_exp_required": 250, + "groups": [ + { + "num_to_select": 1, + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 8, + "price_multiplier": 0.2 + } + ], + "gives": [ + { + "item": "minecraft:diamond_sword", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ], + "trader_exp": 30, + "max_uses": 3, + "reward_exp": true + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/farmer_trades.json b/behavior_pack/trading/farmer_trades.json new file mode 100644 index 0000000..b24193e --- /dev/null +++ b/behavior_pack/trading/farmer_trades.json @@ -0,0 +1,180 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:wheat", + "quantity": { + "min": 18, + "max": 22 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:potato", + "quantity": { + "min": 15, + "max": 19 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:carrot", + "quantity": { + "min": 15, + "max": 19 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:bread", + "quantity": { + "min": 2, + "max": 4 + } + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:pumpkin", + "quantity": { + "min": 8, + "max": 13 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:pumpkin_pie", + "quantity": { + "min": 2, + "max": 3 + } + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:melon_block", + "quantity": { + "min": 7, + "max": 12 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:apple", + "quantity": { + "min": 5, + "max": 7 + } + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:cookie", + "quantity": { + "min": 6, + "max": 10 + } + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:cake" + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/fisherman_trades.json b/behavior_pack/trading/fisherman_trades.json new file mode 100644 index 0000000..892cc12 --- /dev/null +++ b/behavior_pack/trading/fisherman_trades.json @@ -0,0 +1,91 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:fish", + "quantity": 6 + }, + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:cooked_fish", + "quantity": 6 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:string", + "quantity": { + "min": 15, + "max": 20 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": { + "min": 16, + "max": 24 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 7, + "max": 8 + } + } + ], + "gives": [ + { + "item": "minecraft:fishing_rod", + "quantity": 1, + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/fletcher_trades.json b/behavior_pack/trading/fletcher_trades.json new file mode 100644 index 0000000..76334eb --- /dev/null +++ b/behavior_pack/trading/fletcher_trades.json @@ -0,0 +1,81 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:string", + "quantity": { + "min": 15, + "max": 20 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald" + } + ], + "gives": [ + { + "item": "minecraft:arrow", + "quantity": { + "min": 8, + "max": 12 + } + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:gravel", + "quantity": 10 + }, + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:flint", + "quantity": { + "min": 6, + "max": 10 + } + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 2, + "max": 3 + } + } + ], + "gives": [ + { + "item": "minecraft:bow" + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/leather_worker_trades.json b/behavior_pack/trading/leather_worker_trades.json new file mode 100644 index 0000000..a82cb08 --- /dev/null +++ b/behavior_pack/trading/leather_worker_trades.json @@ -0,0 +1,90 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:leather", + "quantity": { + "min": 9, + "max": 12 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 2, + "max": 4 + } + } + ], + "gives": [ + { + "item": "minecraft:leather_leggings" + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 7, + "max": 12 + } + } + ], + "gives": [ + { + "item": "minecraft:leather_chestplate", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 8, + "max": 10 + } + } + ], + "gives": [ + { + "item": "minecraft:saddle" + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/librarian_trades.json b/behavior_pack/trading/librarian_trades.json new file mode 100644 index 0000000..bd2708f --- /dev/null +++ b/behavior_pack/trading/librarian_trades.json @@ -0,0 +1,248 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:paper", + "quantity": { + "min": 24, + "max": 36 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 5, + "max": 64 + } + }, + { + "item": "minecraft:book", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:enchanted_book", + "functions": [ + { + "function": "enchant_book_for_trading", + "base_cost": 2, + "base_random_cost": 5, + "per_level_random_cost": 10, + "per_level_cost": 3 + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:book", + "quantity": { + "min": 8, + "max": 10 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 10, + "max": 12 + } + } + ], + "gives": [ + { + "item": "minecraft:compass", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 3, + "max": 4 + } + } + ], + "gives": [ + { + "item": "minecraft:bookshelf", + "quantity": 1 + } + ] + } + ] + }, + { + "trades": [ + //{ + // "wants": [ + // { + // "item": "minecraft:book", // written book + // "quantity": 2 + // } + // ], + // "gives": [ + // { + // "item": "minecraft:emerald", + // "quantity": 1 + // } + // ] + //}, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 10, + "max": 12 + } + } + ], + "gives": [ + { + "item": "minecraft:clock", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:glass", + "quantity": { + "min": 3, + "max": 5 + } + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 5, + "max": 64 + } + }, + { + "item": "minecraft:book", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:enchanted_book", + "functions": [ + { + "function": "enchant_book_for_trading", + "base_cost": 2, + "base_random_cost": 5, + "per_level_random_cost": 10, + "per_level_cost": 3 + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 5, + "max": 64 + } + }, + { + "item": "minecraft:book", + "quantity": 1 + } + ], + "gives": [ + { + "item": "minecraft:enchanted_book", + "functions": [ + { + "function": "enchant_book_for_trading", + "base_cost": 2, + "base_random_cost": 5, + "per_level_random_cost": 10, + "per_level_cost": 3 + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 20, + "max": 22 + } + } + ], + "gives": [ + { + "item": "minecraft:name_tag", + "quantity": 1 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/shepherd_trades.json b/behavior_pack/trading/shepherd_trades.json new file mode 100644 index 0000000..25b2dbd --- /dev/null +++ b/behavior_pack/trading/shepherd_trades.json @@ -0,0 +1,316 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:wool", + "quantity": { + "min": 16, + "max": 22 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 3, + "max": 4 + } + } + ], + "gives": [ + { + "item": "minecraft:shears" + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:0", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:1", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:2", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:3", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:4", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:5", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:6", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:7", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:8", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:9", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:10", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:11", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:12", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:13", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:14", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:wool:15", + "quantity": 1 + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/stone_mason_trades.json b/behavior_pack/trading/stone_mason_trades.json new file mode 100644 index 0000000..84d3e54 --- /dev/null +++ b/behavior_pack/trading/stone_mason_trades.json @@ -0,0 +1,236 @@ +{ + "tiers": [ + { + "trades": [ // tier 1 + { + "wants": [ + { + "item": "minecraft:clay_ball", + "quantity": { + "min": 10, + "max": 13 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:brick", + "quantity": { + "min": 16, + "max": 16 + } + } + ] + } + ] + }, + { + "trades":[ // tier 2 + { + "wants": [ + { + "item": "minecraft:stone:0", + "quantity": { + "min": 20, + "max": 26 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:stonebrick:3", + "quantity": { + "min": 4, + "max": 4 + } + } + ] + } + ] + }, + { + "trades": [ // tier 3 + { + "wants": [ + { + "item": "minecraft:stone:1", + "quantity": { + "min": 16, + "max": 21 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:stone:5", + "quantity": { + "min": 16, + "max": 21 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:stone:3", + "quantity": { + "min": 16, + "max": 21 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:stone:2", + "quantity": { + "min": 4, + "max": 4 + } + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:stone:6", + "quantity": { + "min": 4, + "max": 4 + } + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:stone:4", + "quantity": { + "min": 4, + "max": 4 + } + } + ] + } + ] + }, + { + "trades": [ // tier 4 + { + "wants": [ + { + "item": "minecraft:quartz", + "quantity": { + "min": 20, + "max": 26 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + } + ] + }, + { + "trades": [ // tier 5 + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 1, + "max": 2 + } + } + ], + "gives": [ + { + "item": "minecraft:quartz_block:2" + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/tool_smith_trades.json b/behavior_pack/trading/tool_smith_trades.json new file mode 100644 index 0000000..fd08bc2 --- /dev/null +++ b/behavior_pack/trading/tool_smith_trades.json @@ -0,0 +1,142 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": { + "min": 16, + "max": 24 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 5, + "max": 7 + } + } + ], + "gives": [ + { + "item": "minecraft:iron_shovel", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:iron_ingot", + "quantity": { + "min": 7, + "max": 9 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 9, + "max": 10 + } + } + ], + "gives": [ + { + "item": "minecraft:iron_pickaxe", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:diamond", + "quantity": { + "min": 3, + "max": 4 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 12, + "max": 15 + } + } + ], + "gives": [ + { + "item": "minecraft:diamond_pickaxe", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/trading/weapon_smith_trades.json b/behavior_pack/trading/weapon_smith_trades.json new file mode 100644 index 0000000..ab2ca6c --- /dev/null +++ b/behavior_pack/trading/weapon_smith_trades.json @@ -0,0 +1,159 @@ +{ + "tiers": [ + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:coal:0", + "quantity": { + "min": 16, + "max": 24 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 6, + "max": 8 + } + } + ], + "gives": [ + { + "item": "minecraft:iron_axe" + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:iron_ingot", + "quantity": { + "min": 7, + "max": 9 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald", + "quantity": 1 + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 9, + "max": 10 + } + } + ], + "gives": [ + { + "item": "minecraft:iron_sword", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + }, + { + "trades": [ + { + "wants": [ + { + "item": "minecraft:diamond", + "quantity": { + "min": 3, + "max": 4 + } + } + ], + "gives": [ + { + "item": "minecraft:emerald" + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 12, + "max": 15 + } + } + ], + "gives": [ + { + "item": "minecraft:diamond_sword", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + }, + { + "wants": [ + { + "item": "minecraft:emerald", + "quantity": { + "min": 9, + "max": 12 + } + } + ], + "gives": [ + { + "item": "minecraft:diamond_axe", + "functions": [ + { + "function": "enchant_with_levels", + "treasure": false, + "levels": { + "min": 5, + "max": 19 + } + } + ] + } + ] + } + ] + } + ] +} diff --git a/behavior_pack/worldgen/jigsaw_structures/trail_ruins.json b/behavior_pack/worldgen/jigsaw_structures/trail_ruins.json new file mode 100644 index 0000000..9630a1c --- /dev/null +++ b/behavior_pack/worldgen/jigsaw_structures/trail_ruins.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.20", + "minecraft:jigsaw": { + "description": { + "identifier": "minecraft:trail_ruins" + }, + "biome_filters": [ + { + "test": "has_biome_tag", + "operator": "==", + "value": "has_structure_trail_ruins" + } + ], + "step": "underground_structures", + "terrain_adaptation": "bury", + "start_pool": "minecraft:trail_ruins/tower", + "max_depth": 7, + "start_height": -15, + "heightmap_projection": "world_surface" + } +} diff --git a/behavior_pack/worldgen/processors/trail_ruins_houses_archaeology.json b/behavior_pack/worldgen/processors/trail_ruins_houses_archaeology.json new file mode 100644 index 0000000..f20a0a6 --- /dev/null +++ b/behavior_pack/worldgen/processors/trail_ruins_houses_archaeology.json @@ -0,0 +1,92 @@ +{ + "format_version": "1.21.20", + "minecraft:processor_list": { + "description": { + "identifier": "minecraft:trail_ruins_houses_archaeology" + }, + "processors": [ + { + "processor_type": "minecraft:rule", + "rules": [ + { + "input_predicate": { + "predicate_type": "minecraft:random_block_match", + "block": "minecraft:gravel", + "probability": 0.2 + }, + "output_state": { + "name": "minecraft:dirt" + } + }, + { + "input_predicate": { + "predicate_type": "minecraft:random_block_match", + "block": "minecraft:gravel", + "probability": 0.1 + }, + "output_state": { + "name": "minecraft:dirt", + "states": { + "dirt_type": "coarse" + } + } + }, + { + "input_predicate": { + "predicate_type": "minecraft:random_block_match", + "block": "minecraft:mud_bricks", + "probability": 0.1 + }, + "output_state": { + "name": "minecraft:packed_mud" + } + } + ] + }, + { + "delegate": { + "processor_type": "minecraft:rule", + "rules": [ + { + "block_entity_modifier": { + "type": "minecraft:append_loot", + "loot_table": "loot_tables/entities/trail_ruins_brushable_block_common.json" + }, + "input_predicate": { + "predicate_type": "minecraft:block_match", + "block": "minecraft:gravel" + }, + "output_state": { + "name": "minecraft:suspicious_gravel" + } + } + ] + }, + "limit": 6, + "processor_type": "minecraft:capped" + }, + { + "delegate": { + "processor_type": "minecraft:rule", + "rules": [ + { + "block_entity_modifier": { + "type": "minecraft:append_loot", + "loot_table": "loot_tables/entities/trail_ruins_brushable_block_rare.json" + }, + "input_predicate": { + "predicate_type": "minecraft:block_match", + "block": "minecraft:gravel" + }, + "output_state": { + "name": "minecraft:suspicious_gravel" + } + } + ] + }, + "limit": 3, + "processor_type": "minecraft:capped" + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/worldgen/processors/trail_ruins_roads_archaeology.json b/behavior_pack/worldgen/processors/trail_ruins_roads_archaeology.json new file mode 100644 index 0000000..f35d3d0 --- /dev/null +++ b/behavior_pack/worldgen/processors/trail_ruins_roads_archaeology.json @@ -0,0 +1,67 @@ +{ + "format_version": "1.21.20", + "minecraft:processor_list": { + "description": { + "identifier": "minecraft:trail_ruins_roads_archaeology" + }, + "processors": [ + { + "processor_type": "minecraft:rule", + "rules": [ + { + "input_predicate": { + "predicate_type": "minecraft:random_block_match", + "block": "minecraft:gravel", + "probability": 0.2 + }, + "output_state": { + "name": "minecraft:dirt" + } + }, + { + "input_predicate": { + "predicate_type": "minecraft:random_block_match", + "block": "minecraft:gravel", + "probability": 0.1 + }, + "output_state": { + "name": "minecraft:gravel" + } + }, + { + "input_predicate": { + "predicate_type": "minecraft:random_block_match", + "block": "minecraft:mud_bricks", + "probability": 0.1 + }, + "output_state": { + "name": "minecraft:packed_mud" + } + } + ] + }, + { + "processor_type": "minecraft:capped", + "limit": 2, + "delegate": { + "processor_type": "minecraft:rule", + "rules": [ + { + "input_predicate": { + "predicate_type": "minecraft:block_match", + "block": "minecraft:gravel" + }, + "output_state": { + "name": "minecraft:suspicious_gravel" + }, + "block_entity_modifier": { + "type": "minecraft:append_loot", + "loot_table": "loot_tables/entities/trail_ruins_brushable_block_common.json" + } + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/worldgen/processors/trail_ruins_tower_top_archaeology.json b/behavior_pack/worldgen/processors/trail_ruins_tower_top_archaeology.json new file mode 100644 index 0000000..693a605 --- /dev/null +++ b/behavior_pack/worldgen/processors/trail_ruins_tower_top_archaeology.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.21.20", + "minecraft:processor_list": { + "description": { + "identifier": "minecraft:trail_ruins_tower_top_archaeology" + }, + "processors": [ + { + "processor_type": "minecraft:capped", + "limit": 2, + "delegate": { + "processor_type": "minecraft:rule", + "rules": [ + { + "input_predicate": { + "predicate_type": "minecraft:block_match", + "block": "minecraft:gravel" + }, + "output_state": { + "name": "minecraft:suspicious_gravel" + }, + "block_entity_modifier": { + "type": "minecraft:append_loot", + "loot_table": "loot_tables/entities/trail_ruins_brushable_block_common.json" + } + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/behavior_pack/worldgen/structure_sets/trail_ruins.json b/behavior_pack/worldgen/structure_sets/trail_ruins.json new file mode 100644 index 0000000..47d7b55 --- /dev/null +++ b/behavior_pack/worldgen/structure_sets/trail_ruins.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.20", + "minecraft:structure_set": { + "description": { + "identifier": "minecraft:trail_ruins" + }, + "placement": { + "type": "minecraft:random_spread", + "salt": 83469867, + "separation": 8, + "spacing": 34, + "spread_type": "linear" + }, + "structures": [ + { + "structure": "minecraft:trail_ruins", + "weight": 1 + } + ] + } +} diff --git a/behavior_pack/worldgen/template_pools/trail_ruins/buildings.json b/behavior_pack/worldgen/template_pools/trail_ruins/buildings.json new file mode 100644 index 0000000..76f84c1 --- /dev/null +++ b/behavior_pack/worldgen/template_pools/trail_ruins/buildings.json @@ -0,0 +1,130 @@ +{ + "format_version": "1.21.20", + "minecraft:template_pool": { + "description": { + "identifier": "minecraft:trail_ruins/buildings" + }, + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_hall_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_hall_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_hall_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_hall_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_hall_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/large_room_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/large_room_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/large_room_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/large_room_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/large_room_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/one_room_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/one_room_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/one_room_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/one_room_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/one_room_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + } + ] + } +} diff --git a/behavior_pack/worldgen/template_pools/trail_ruins/buildings/grouped.json b/behavior_pack/worldgen/template_pools/trail_ruins/buildings/grouped.json new file mode 100644 index 0000000..e72b648 --- /dev/null +++ b/behavior_pack/worldgen/template_pools/trail_ruins/buildings/grouped.json @@ -0,0 +1,170 @@ +{ + "format_version": "1.21.20", + "minecraft:template_pool": { + "description": { + "identifier": "minecraft:trail_ruins/buildings/grouped" + }, + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_full_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_full_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_full_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_full_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_full_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_lower_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_lower_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_lower_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_lower_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_lower_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_upper_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_upper_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_upper_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_upper_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_upper_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_room_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_room_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_room_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_room_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/buildings/group_room_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + } + ] + } +} diff --git a/behavior_pack/worldgen/template_pools/trail_ruins/decor.json b/behavior_pack/worldgen/template_pools/trail_ruins/decor.json new file mode 100644 index 0000000..11e37ef --- /dev/null +++ b/behavior_pack/worldgen/template_pools/trail_ruins/decor.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.21.20", + "minecraft:template_pool": { + "description": { + "identifier": "minecraft:trail_ruins/decor" + }, + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/decor/decor_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/decor/decor_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/decor/decor_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/decor/decor_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/decor/decor_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/decor/decor_6", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/decor/decor_7", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + } + ] + } +} diff --git a/behavior_pack/worldgen/template_pools/trail_ruins/roads.json b/behavior_pack/worldgen/template_pools/trail_ruins/roads.json new file mode 100644 index 0000000..532b5c2 --- /dev/null +++ b/behavior_pack/worldgen/template_pools/trail_ruins/roads.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.21.20", + "minecraft:template_pool": { + "description": { + "identifier": "minecraft:trail_ruins/roads" + }, + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/roads/long_road_end", + "processors": "minecraft:trail_ruins_roads_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/roads/road_end_1", + "processors": "minecraft:trail_ruins_roads_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/roads/road_section_1", + "processors": "minecraft:trail_ruins_roads_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/roads/road_section_2", + "processors": "minecraft:trail_ruins_roads_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/roads/road_section_3", + "processors": "minecraft:trail_ruins_roads_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/roads/road_section_4", + "processors": "minecraft:trail_ruins_roads_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/roads/road_spacer_1", + "processors": "minecraft:trail_ruins_roads_archaeology" + }, + "weight": 1 + } + ] + } +} diff --git a/behavior_pack/worldgen/template_pools/trail_ruins/tower.json b/behavior_pack/worldgen/template_pools/trail_ruins/tower.json new file mode 100644 index 0000000..5504bbc --- /dev/null +++ b/behavior_pack/worldgen/template_pools/trail_ruins/tower.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.21.20", + "minecraft:template_pool": { + "description": { + "identifier": "minecraft:trail_ruins/tower" + }, + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + } + ] + } +} diff --git a/behavior_pack/worldgen/template_pools/trail_ruins/tower/additions.json b/behavior_pack/worldgen/template_pools/trail_ruins/tower/additions.json new file mode 100644 index 0000000..3ed3af9 --- /dev/null +++ b/behavior_pack/worldgen/template_pools/trail_ruins/tower/additions.json @@ -0,0 +1,210 @@ +{ + "format_version": "1.21.20", + "minecraft:template_pool": { + "description": { + "identifier": "minecraft:trail_ruins/tower/additions" + }, + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/hall_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/hall_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/hall_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/hall_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/hall_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/large_hall_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/large_hall_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/large_hall_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/large_hall_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/large_hall_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/one_room_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/one_room_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/one_room_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/one_room_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/one_room_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/platform_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/platform_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/platform_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/platform_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/platform_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/stable_1", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/stable_2", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/stable_3", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/stable_4", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/stable_5", + "processors": "minecraft:trail_ruins_houses_archaeology" + }, + "weight": 1 + } + ] + } +} diff --git a/behavior_pack/worldgen/template_pools/trail_ruins/tower/tower_top.json b/behavior_pack/worldgen/template_pools/trail_ruins/tower/tower_top.json new file mode 100644 index 0000000..d4b15c6 --- /dev/null +++ b/behavior_pack/worldgen/template_pools/trail_ruins/tower/tower_top.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.21.20", + "minecraft:template_pool": { + "description": { + "identifier": "minecraft:trail_ruins/tower/tower_top" + }, + "elements": [ + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_top_1", + "processors": "minecraft:trail_ruins_tower_top_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_top_2", + "processors": "minecraft:trail_ruins_tower_top_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_top_3", + "processors": "minecraft:trail_ruins_tower_top_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_top_4", + "processors": "minecraft:trail_ruins_tower_top_archaeology" + }, + "weight": 1 + }, + { + "element": { + "element_type": "minecraft:single_pool_element", + "location": "trail_ruins/tower/tower_top_5", + "processors": "minecraft:trail_ruins_tower_top_archaeology" + }, + "weight": 1 + } + ] + } +} diff --git a/resource_pack/animation_controllers/agent.animation_controllers.json b/resource_pack/animation_controllers/agent.animation_controllers.json new file mode 100644 index 0000000..bd06516 --- /dev/null +++ b/resource_pack/animation_controllers/agent.animation_controllers.json @@ -0,0 +1,37 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.agent.move" : { + "initial_state" : "moving", + "states" : { + "moving" : { + "animations" : [ "move" ], + "transitions" : [ + { + "swinging_arms": "variable.agent.anim_state == 2" + }, + { + "shrug": "variable.agent.anim_state == 3" + } + ] + }, + "swinging_arms": { + "animations": [ "swing_arms" ], + "transitions": [ + { + "moving": "variable.agent.anim_state == 1" + } + ] + }, + "shrug": { + "animations": [ "shrug" ], + "transitions": [ + { + "moving": "variable.agent.anim_state == 1" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/allay.animation_controllers.json b/resource_pack/animation_controllers/allay.animation_controllers.json new file mode 100644 index 0000000..db9433c --- /dev/null +++ b/resource_pack/animation_controllers/allay.animation_controllers.json @@ -0,0 +1,80 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.allay.general": { + "initial_state": "idling", + "states": { + "idling": { + "animations": [ "idle" ], + "transitions": [ + { "flying": "query.modified_move_speed > 0.2"} + ], + "blend_transition": 0.2 + }, + "flying": { + "animations": [ "fly" ], + "transitions": [ + { "idling": "query.modified_move_speed < 0.2"} + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.allay.look_at_target": { + "initial_state": "default", + "states" : { + "default": { + "transitions": [ + { "looking_at_target": "!query.is_dancing" } + ] + }, + "looking_at_target" : { + "animations": [ "look_at_target_default" ], + "transitions": [ + { "default": "query.is_dancing" } + ] + } + } + }, + "controller.animation.allay.holding": { + "initial_state": "holding", + "states": { + "holding": { + "animations": [ + { "hold_item": "variable.is_holding_left || variable.is_holding_right" } + ], + "transitions": [ + { "fly_holding": "query.modified_move_speed > 0.2" } + ], + "blend_transition": 0.2 + }, + "fly_holding": { + "animations": [ + { "hold_item_fly": "variable.is_holding_left || variable.is_holding_right" } + ], + "transitions": [ + { "holding": "query.modified_move_speed < 0.2" } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.allay.dancing": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { "dancing": "query.is_dancing" } + ], + "blend_transition": 0.2 + }, + "dancing": { + "animations": [ "dance" ], + "transitions": [ + { "default": "!query.is_dancing" } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/armadillo.animation_controllers.json b/resource_pack/animation_controllers/armadillo.animation_controllers.json new file mode 100644 index 0000000..235e16f --- /dev/null +++ b/resource_pack/animation_controllers/armadillo.animation_controllers.json @@ -0,0 +1,79 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.armadillo.look_at_target": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ { "looking_at_target": "!variable.is_rolled_up" } ] + }, + "looking_at_target": { + "animations": [ "look_at_target" ], + "transitions": [ { "default": "variable.is_rolled_up" } ] + } + } + }, + "controller.animation.armadillo.walk": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ { "walking": "variable.walking" } ], + "blend_transition": 0.2 + }, + "walking": { + "animations": [ { "walk": "math.min(1.4, math.lerp(0.2, 2.4, query.modified_move_speed))" } ], + "transitions": [ { "default": "!variable.walking" } ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.armadillo.roll_up": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ { "roll_up": "variable.is_rolled_up" } ], + "blend_transition": 0.2 + }, + "roll_up": { + "animations": [ "roll_up" ], + "transitions": [ + { "rolled_up": "variable.is_rolled_up && query.all_animations_finished" }, + { "unroll_fast": "!variable.is_rolled_up" } + ], + "blend_transition": 0.2 + }, + "rolled_up": { + "animations": [ "rolled_up" ], + "transitions": [ + { "peek": "variable.is_rolled_up && variable.is_peeking" }, + { "unroll": "variable.is_rolled_up && variable.is_unrolling" }, + { "unroll_fast": "!variable.is_rolled_up" } + ], + "blend_transition": 0.2 + }, + "peek": { + "animations": [ "peek" ], + "transitions": [ + { "rolled_up": "variable.is_rolled_up && !variable.is_peeking && query.all_animations_finished" }, + { "unroll": "variable.is_rolled_up && variable.is_unrolling && query.all_animations_finished" }, + { "unroll_fast": "!variable.is_rolled_up" } + ], + "blend_transition": 0.2 + }, + "unroll": { + "animations": [ "unroll" ], + "transitions": [ + { "rolled_up": "variable.is_rolled_up && !variable.is_unrolling" }, + { "default": "!variable.is_rolled_up && query.all_animations_finished" } + ], + "blend_transition": 0.2 + }, + "unroll_fast": { + "animations": [ "unroll_fast" ], + "transitions": [ { "default": "query.all_animations_finished" } ], + "blend_transition": 0.2 + } + } + } + } +} diff --git a/resource_pack/animation_controllers/armor_stand.animation_controllers.json b/resource_pack/animation_controllers/armor_stand.animation_controllers.json new file mode 100644 index 0000000..acadffe --- /dev/null +++ b/resource_pack/animation_controllers/armor_stand.animation_controllers.json @@ -0,0 +1,601 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.armor_stand.pose" : { + "initial_state" : "default", + "states" : { + "athena" : { + "animations" : [ "athena_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "brandish" : { + "animations" : [ "brandish_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "cancan_a" : { + "animations" : [ "cancan_a_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "cancan_b" : { + "animations" : [ "cancan_b_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "default" : { + "animations" : [ "default_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "entertain" : { + "animations" : [ "entertain_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "hero" : { + "animations" : [ "hero_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + } + ] + }, + "honor" : { + "animations" : [ "honor_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "none" : { + "animations" : [ "no_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "riposte" : { + "animations" : [ "riposte_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "salute" : { + "animations" : [ "salute_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "solemn" : { + "animations" : [ "solemn_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "zombie" : "variable.armor_stand.pose_index == 9" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + }, + "zombie" : { + "animations" : [ "zombie_pose" ], + "blend_transition" : 0.1, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "variable.armor_stand.pose_index == 0" + }, + { + "none" : "variable.armor_stand.pose_index == 1" + }, + { + "solemn" : "variable.armor_stand.pose_index == 2" + }, + { + "athena" : "variable.armor_stand.pose_index == 3" + }, + { + "brandish" : "variable.armor_stand.pose_index == 4" + }, + { + "honor" : "variable.armor_stand.pose_index == 5" + }, + { + "entertain" : "variable.armor_stand.pose_index == 6" + }, + { + "salute" : "variable.armor_stand.pose_index == 7" + }, + { + "riposte" : "variable.armor_stand.pose_index == 8" + }, + { + "cancan_a" : "variable.armor_stand.pose_index == 10" + }, + { + "cancan_b" : "variable.armor_stand.pose_index == 11" + }, + { + "hero" : "variable.armor_stand.pose_index == 12" + } + ] + } + } + }, + "controller.animation.armor_stand.wiggle" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "wiggling" : "(variable.armor_stand.hurt_time - query.frame_alpha) > 0" + } + ] + }, + "wiggling" : { + "animations" : [ "wiggle" ], + "transitions" : [ + { + "default" : "(variable.armor_stand.hurt_time - query.frame_alpha) <= 0" + } + ] + } + } + }, + "controller.animation.armor_stand.holding_heavy_core" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "holding_heavy_core" : "query.is_item_name_any('slot.weapon.mainhand', 'minecraft:heavy_core')" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/axolotl.animation_controllers.json b/resource_pack/animation_controllers/axolotl.animation_controllers.json new file mode 100644 index 0000000..ab5932c --- /dev/null +++ b/resource_pack/animation_controllers/axolotl.animation_controllers.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.axolotl.general": { + "initial_state": "default", + "states": { + "default": { + "animations": [ + { + "play_dead": "query.is_playing_dead" + }, + { + "swim_angle": "variable.moving && query.is_in_water && !query.is_on_ground" + } + ] + } + } + }, + "controller.animation.axolotl.move": { + "initial_state": "idle", + "states": { + "idle": { + "animations": [ + { + "idle_float": "query.is_in_water && !query.is_on_ground && !query.is_playing_dead" + }, + { + "idle_floor": "!query.is_in_water" + }, + { + "idle_floor_water": "query.is_in_water && query.is_on_ground" + }, + "look_at_target" + ], + "transitions": [ + { + "moving": "variable.moving && !query.is_playing_dead" + } + ] + }, + "moving": { + "animations": [ + { + "swim": "query.is_in_water && !query.is_on_ground" + }, + { + "walk_floor": "!query.is_in_water" + }, + { + "walk_floor_water": "query.is_in_water && query.is_on_ground" + }, + "look_at_target" + ], + "transitions": [ + { + "idle": "!variable.moving || query.is_playing_dead" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/bat.animation_controllers.json b/resource_pack/animation_controllers/bat.animation_controllers.json new file mode 100644 index 0000000..9c20d31 --- /dev/null +++ b/resource_pack/animation_controllers/bat.animation_controllers.json @@ -0,0 +1,26 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.bat.move" : { + "initial_state" : "flying", + "states" : { + "flying" : { + "animations" : [ "flying" ], + "transitions" : [ + { + "resting" : "query.is_resting" + } + ] + }, + "resting" : { + "animations" : [ "resting" ], + "transitions" : [ + { + "flying" : "!query.is_resting" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/bee.animation_controllers.json b/resource_pack/animation_controllers/bee.animation_controllers.json new file mode 100644 index 0000000..56375e7 --- /dev/null +++ b/resource_pack/animation_controllers/bee.animation_controllers.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.bee.drip": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "dripping": "query.property('minecraft:has_nectar')" + } + ] + }, + "dripping": { + "particle_effects": [ + { + "effect": "nectar_dripping" + } + ], + "transitions": [ + { + "default": "!query.property('minecraft:has_nectar')" + } + ] + } + } + }, + "controller.animation.bee.sting": { + "initial_state": "default", + "states": { + "default": { + "animations": [ "bee_sting" ] + } + } + }, + "controller.animation.bee.root": { + "initial_state": "default", + "states": { + "default": { + "animations": [ + "flying", + "drip", + "bee_fly_bobbing", + "controller_bee_sting" + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/blaze.animation_controllers.json b/resource_pack/animation_controllers/blaze.animation_controllers.json new file mode 100644 index 0000000..bdb2cf5 --- /dev/null +++ b/resource_pack/animation_controllers/blaze.animation_controllers.json @@ -0,0 +1,37 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.blaze.flame" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "flaming" : "query.is_charged" + } + ] + }, + "flaming" : { + "particle_effects" : [ + { + "effect" : "charged_flames" + } + ], + "transitions" : [ + { + "default" : "!query.is_charged" + } + ] + } + } + }, + "controller.animation.blaze.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move", "look_at_target" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/breeze.animation_controllers.json b/resource_pack/animation_controllers/breeze.animation_controllers.json new file mode 100644 index 0000000..5398740 --- /dev/null +++ b/resource_pack/animation_controllers/breeze.animation_controllers.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.breeze.look_at": { + "initial_state": "default", + "states": { + "default": { + "animations": [ "look_at" ] + } + } + }, + "controller.animation.breeze.idle": { + "initial_state": "default", + "states": { + "default": { + "animations": [ "idle" ] + } + } + }, + "controller.animation.breeze.move": { + "initial_state": "default", + "states": { + "default": { + "animations": [ "whirl_sound" ], + "transitions": [ + { + "moving": "query.modified_move_speed > 0.1 && query.vertical_speed == 0" + } + ] + }, + "moving": { + "animations": [ "slide" ], + "sound_effects": [ + { + "effect": "slide" + } + ], + "transitions": [ + { + "default": "query.modified_move_speed < 0.1" + } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.breeze.ground_particles": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { "idling": "!query.is_moving && query.is_on_ground && query.vertical_speed > -2 && !query.is_riding" }, + { "moving": "query.is_moving && query.is_on_ground && query.vertical_speed > -2 && !query.is_riding" } + ] + }, + "idling": { + "animations": [ "idle_ground_particles" ], + "transitions": [ + { "default": "!query.is_on_ground || query.is_riding" }, + { "moving": "query.is_moving && query.is_on_ground && !query.is_riding" } + ] + }, + "moving": { + "animations": [ "slide_ground_particles" ], + "transitions": [ + { "default": "!query.is_on_ground || query.is_riding" }, + { "idling": "!query.is_moving && query.is_on_ground && !query.is_riding" } + ] + } + } + }, + "controller.animation.breeze.shoot": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "shoot": "query.facing_target_to_range_attack" + } + ] + }, + "shoot": { + "animations": [ "shoot" ], + "sound_effects": [ + { + "effect": "inhale" + } + ], + "transitions": [ + { + "default": "!query.facing_target_to_range_attack || query.all_animations_finished" + } + ] + } + } + }, + "controller.animation.breeze.jump": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { "jump": "query.is_jump_goal_jumping" } + ] + }, + "jump": { + "animations": [ "jump" ], + "sound_effects": [ + { + "effect": "charge" + } + ], + "transitions": [ + { "default": "!query.is_jump_goal_jumping" } + ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animation_controllers/camel.animation_controllers.json b/resource_pack/animation_controllers/camel.animation_controllers.json new file mode 100644 index 0000000..db9f031 --- /dev/null +++ b/resource_pack/animation_controllers/camel.animation_controllers.json @@ -0,0 +1,75 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.camel.general": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { "idling": "!query.is_sitting" }, + { "sitting": "query.is_sitting" } + ], + "blend_transition": 0.0 + }, + "idling": { + "transitions": [ + { "moving": "variable.moving" }, + { "sit_down": "query.is_sitting" }, + { "dashing": "query.has_dash_cooldown && !query.is_on_ground && !query.is_in_water && !query.is_in_lava && !query.is_riding" } + ], + "blend_transition": 0.5 + }, + "moving": { + "animations": [ + { "moving": "math.min(1.0, math.lerp(0.4, 1.25, query.modified_move_speed))" } + ], + "transitions": [ + { "idling": "!variable.moving" }, + { "sit_down": "query.is_sitting" }, + { "dashing": "query.has_dash_cooldown && !query.is_on_ground && !query.is_in_water && !query.is_in_lava && !query.is_riding" } + ], + "blend_transition": 0.2 + }, + "sitting": { + "animations": [ "sitting" ], + "transitions": [ + { "stand_up": "!query.is_sitting" } + ], + "blend_transition": 0.5 + }, + "sit_down": { + "animations": [ "sit_down" ], + "transitions": [ + { "stand_up": "!query.is_sitting" } + ], + "blend_transition": 0.5 + }, + "stand_up": { + "animations": [ "stand_up" ], + "transitions": [ + { "sit_down": "query.is_sitting" }, + { "idling": "query.all_animations_finished" }, + { "moving": "variable.moving" } + ], + "blend_transition": 0.5 + }, + "dashing": { + "animations": [ "dashing", "dashing_sound" ], + "transitions": [ + { "idling": "(query.is_on_ground || query.is_in_water || query.is_in_lava || query.is_riding) && !variable.moving" }, + { "moving": "(query.is_on_ground || query.is_in_water || query.is_in_lava || query.is_riding) && variable.moving" } + ], + "blend_transition": 0.5 + } + } + }, + "controller.animation.camel.idle": { + "initial_state": "idling", + "states": { + "idling": { + "animations": [ "idle" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/cat.animation_controllers.json b/resource_pack/animation_controllers/cat.animation_controllers.json new file mode 100644 index 0000000..ed66678 --- /dev/null +++ b/resource_pack/animation_controllers/cat.animation_controllers.json @@ -0,0 +1,115 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.cat.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.cat.look_at_target" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "look_at_target" ] + } + } + }, + "controller.animation.cat.move" : { + "initial_state" : "lie_down", + "states" : { + "lie_down" : { + "animations" : [ "lie_down" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sprinting" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + }, + { + "walking" : "variable.state == 3" + } + ] + }, + "sitting" : { + "animations" : [ "sit" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sprinting" : "variable.state == 1" + }, + { + "walking" : "variable.state == 3" + }, + { + "lie_down" : "variable.state == 4" + } + ] + }, + "sneaking" : { + "animations" : [ "sneak" ], + "transitions" : [ + { + "sprinting" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + }, + { + "walking" : "variable.state == 3" + }, + { + "lie_down" : "variable.state == 4" + } + ] + }, + "sprinting" : { + "animations" : [ "sprint" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sitting" : "variable.state == 2" + }, + { + "walking" : "variable.state == 3" + }, + { + "lie_down" : "variable.state == 4" + } + ] + }, + "walking" : { + "animations" : [ "walk" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sprinting" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + }, + { + "lie_down" : "variable.state == 4" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/creaking.animation_controllers.json b/resource_pack/animation_controllers/creaking.animation_controllers.json new file mode 100644 index 0000000..017b92d --- /dev/null +++ b/resource_pack/animation_controllers/creaking.animation_controllers.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.creaking.look_at_target": { + "initial_state": "looking_at_target", + "states": { + "looking_at_target": { + "animations": [ "look_at_target" ], + "transitions": [ { "default": "variable.twitching" } ] + }, + "default": { + } + } + }, + "controller.animation.creaking.walk": { + "initial_state": "default", + "states": { + "walking": { + "animations": [ { "walk": "1.5 - math.pow(1.5, 1.0 - 015.0 * query.modified_move_speed)" } ], + "transitions": [ { "default": "!variable.walking || variable.attacking" } ], + "blend_transition": 0.05 + }, + "default": { + "transitions": [ { "walking": "variable.walking && !variable.attacking" } ], + "blend_transition": 0.05 + } + } + }, + "controller.animation.creaking.attack": { + "initial_state": "default", + "states": { + "attack": { + "animations": [ "attack" ], + "transitions": [ { "default": "!variable.attacking" } ] + }, + "default": { + "transitions": [ { "attack": "variable.attacking && query.all_animations_finished" } ] + } + } + }, + "controller.animation.creaking.sway": { + "initial_state": "default", + "states": { + "sway": { + "animations": [ "sway" ], + "transitions": [ { "default": "!variable.swaying && query.all_animations_finished" } ] + }, + "default": { + "transitions": [ { "sway": "variable.swaying" } ] + } + } + }, + "controller.animation.creaking.twitch": { + "initial_state": "default", + "states": { + "twitch": { + "animations": [ "twitch" ] + }, + "default": { + "transitions": [ { "twitch": "variable.twitching" } ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/creeper.animation_controllers.json b/resource_pack/animation_controllers/creeper.animation_controllers.json new file mode 100644 index 0000000..d54b121 --- /dev/null +++ b/resource_pack/animation_controllers/creeper.animation_controllers.json @@ -0,0 +1,29 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.creeper.head" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "creeper_head" ] + } + } + }, + "controller.animation.creeper.legs" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "creeper_legs" ] + } + } + }, + "controller.animation.creeper.swelling" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "creeper_swelling" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/dolphin.animation_controllers.json b/resource_pack/animation_controllers/dolphin.animation_controllers.json new file mode 100644 index 0000000..d7753a7 --- /dev/null +++ b/resource_pack/animation_controllers/dolphin.animation_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.dolphin.general" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/drowned.animation_controllers.json b/resource_pack/animation_controllers/drowned.animation_controllers.json new file mode 100644 index 0000000..b4556ed --- /dev/null +++ b/resource_pack/animation_controllers/drowned.animation_controllers.json @@ -0,0 +1,26 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.drowned.attack.rotations" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "zombie_attack_bare_hand" ], + "transitions" : [ + { + "one_hand_attack" : "query.is_item_equipped('off_hand') || variable.is_brandishing_spear" + } + ] + }, + "one_hand_attack" : { + "animations" : [ "attack_rotations" ], + "transitions" : [ + { + "default" : "!query.is_item_equipped('off_hand') && !variable.is_brandishing_spear" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/elytra.animation_controllers.json b/resource_pack/animation_controllers/elytra.animation_controllers.json new file mode 100644 index 0000000..e51ea72 --- /dev/null +++ b/resource_pack/animation_controllers/elytra.animation_controllers.json @@ -0,0 +1,64 @@ +{ + "format_version" : "1.10.0", + "animation_controllers": { + "controller.animation.elytra.default": { + "initial_state": "default", + "states": { + "default": { + "animations": [ "default" ], + "transitions": [ + { "gliding": "query.is_gliding" }, + { "sneaking": "query.is_sneaking" }, + { "sleeping": "query.is_sleeping" }, + { "swimming": "query.is_swimming" } + ], + "blend_transition": 0.1, + "blend_via_shortest_path": true + }, + "gliding": { + "animations": [ "gliding" ], + "transitions": [ + { "sleeping": "query.is_sleeping" }, + { "swimming": "query.is_swimming" }, + { "default": "!query.is_gliding" } + ], + "blend_transition": 0.1, + "blend_via_shortest_path": true + }, + "sneaking": { + "animations": [ "sneaking" ], + "transitions": [ + { "gliding": "query.is_gliding" }, + { "sleeping": "query.is_sleeping" }, + { "swimming": "query.is_swimming" }, + { "default": "!query.is_sneaking" } + ], + "blend_transition": 0.1, + "blend_via_shortest_path": true + }, + "sleeping": { + "animations": [ "sleeping" ], + "transitions": [ + { "gliding": "query.is_gliding" }, + { "sneaking": "query.is_sneaking" }, + { "swimming": "query.is_swimming" }, + { "default": "!query.is_sleeping" } + ], + "blend_transition": 0.1, + "blend_via_shortest_path": true + }, + "swimming": { + "animations": [ "swimming" ], + "transitions": [ + { "gliding": "query.is_gliding" }, + { "sneaking": "query.is_sneaking" }, + { "sleeping": "query.is_sleeping" }, + { "default": "!query.is_swimming" } + ], + "blend_transition": 0.1, + "blend_via_shortest_path": true + } + } + } + } +} diff --git a/resource_pack/animation_controllers/enderman.animation_controllers.json b/resource_pack/animation_controllers/enderman.animation_controllers.json new file mode 100644 index 0000000..90bf513 --- /dev/null +++ b/resource_pack/animation_controllers/enderman.animation_controllers.json @@ -0,0 +1,53 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.enderman.base_pose" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "base_pose", "arms_legs" ] + } + } + }, + "controller.animation.enderman.carrying" : { + "initial_state" : "default", + "states" : { + "carry" : { + "animations" : [ "carrying" ], + "transitions" : [ + { + "default" : "!query.is_carrying_block" + } + ] + }, + "default" : { + "transitions" : [ + { + "carry" : "query.is_carrying_block" + } + ] + } + } + }, + "controller.animation.enderman.scary_face" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "scary" : "query.is_angry" + } + ] + }, + "scary" : { + "animations" : [ "scary_face" ], + "transitions" : [ + { + "default" : "!query.is_angry" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/endermite.animation_controllers.json b/resource_pack/animation_controllers/endermite.animation_controllers.json new file mode 100644 index 0000000..50dde30 --- /dev/null +++ b/resource_pack/animation_controllers/endermite.animation_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.endermite.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/evoker.animation_controllers.json b/resource_pack/animation_controllers/evoker.animation_controllers.json new file mode 100644 index 0000000..a23c339 --- /dev/null +++ b/resource_pack/animation_controllers/evoker.animation_controllers.json @@ -0,0 +1,82 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.evoker.general" : { + "initial_state" : "default", + "states" : { + "casting" : { + "animations" : [ "look_at_target", "casting", "controller_riding" ], + "particle_effects" : [ + { + "effect" : "spell", + "locator" : "left_hand" + }, + { + "effect" : "spell", + "locator" : "right_hand" + } + ], + "transitions" : [ + { + "default" : "!query.is_casting" + } + ] + }, + "celebrating" : { + "animations" : [ "celebrating", "controller_riding" ], + "blend_transition" : 0.2, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "default" : "!query.is_celebrating" + } + ] + }, + "default" : { + "animations" : [ "look_at_target", "general", "controller_riding" ], + "blend_transition" : 0.2, + "blend_via_shortest_path" : true, + "transitions" : [ + { + "casting" : "query.is_casting" + }, + { + "celebrating" : "query.is_celebrating" + } + ] + } + } + }, + "controller.animation.evoker.general.v1.0" : { + "initial_state" : "default", + "states" : { + "casting" : { + "animations" : [ "look_at_target", "casting", "controller_riding" ], + "particle_effects" : [ + { + "effect" : "spell", + "locator" : "left_hand" + }, + { + "effect" : "spell", + "locator" : "right_hand" + } + ], + "transitions" : [ + { + "default" : "!query.is_casting" + } + ] + }, + "default" : { + "animations" : [ "look_at_target", "general", "controller_riding" ], + "transitions" : [ + { + "casting" : "query.is_casting" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/fish.animation_controllers.json b/resource_pack/animation_controllers/fish.animation_controllers.json new file mode 100644 index 0000000..ca04e91 --- /dev/null +++ b/resource_pack/animation_controllers/fish.animation_controllers.json @@ -0,0 +1,26 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.fish.general" : { + "initial_state" : "flopping", + "states" : { + "flopping" : { + "animations" : [ "flop" ], + "transitions" : [ + { + "swimming" : "query.is_in_water || query.is_levitating" + } + ] + }, + "swimming" : { + "animations" : [ "swim" ], + "transitions" : [ + { + "flopping" : "!query.is_in_water && !query.is_levitating" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/fox.animation_controllers.json b/resource_pack/animation_controllers/fox.animation_controllers.json new file mode 100644 index 0000000..14a15b1 --- /dev/null +++ b/resource_pack/animation_controllers/fox.animation_controllers.json @@ -0,0 +1,119 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.fox.move" : { + "initial_state" : "default", + "states" : { + "crouch" : { + "animations" : [ + "look_at_target", + "crouch", + { + "walk" : "query.modified_move_speed" + } + ], + "blend_transition" : 0.4, + "transitions" : [ + { + "default" : "!query.is_stalking && !query.is_interested" + }, + { + "wiggle" : "query.is_interested" + } + ] + }, + "default" : { + "animations" : [ + "look_at_target", + { + "walk" : "query.modified_move_speed" + } + ], + "blend_transition" : 0.1, + "transitions" : [ + { + "crouch" : "query.is_stalking" + }, + { + "sleep" : "query.is_sleeping" + }, + { + "stuck" : "query.is_stunned" + }, + { + "sit" : "query.is_sitting" + } + ] + }, + "pounce" : { + "animations" : [ + "look_at_target", + "pounce", + { + "walk" : "query.modified_move_speed" + } + ], + "blend_transition": 2.0, + "transitions": [ + { + "default" : "query.is_on_ground" + } + ] + }, + "sit" : { + "animations" : [ "sit" ], + "blend_transition" : 0.2, + "transitions" : [ + { + "default" : "!query.is_sitting" + } + ] + }, + "sleep" : { + "animations" : [ "sleep" ], + "blend_transition" : 0.2, + "transitions" : [ + { + "default" : "!query.is_sleeping" + } + ] + }, + "stuck" : { + "animations" : [ + "stuck", + { + "walk" : "math.cos(query.life_time * 20.0 * 53.7)" + } + ], + "blend_transition" : 0.2, + "transitions" : [ + { + "default" : "!query.is_stunned" + } + ] + }, + "wiggle" : { + "animations" : [ + "look_at_target", + "wiggle", + { + "walk" : "query.modified_move_speed" + } + ], + "blend_transition" : 0.2, + "transitions" : [ + { + "default": "!query.has_target && query.is_on_ground" + }, + { + "crouch" : "query.is_on_ground && !query.is_interested && query.is_stalking" + }, + { + "pounce" : "!query.is_on_ground" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/frog.animation_controllers.json b/resource_pack/animation_controllers/frog.animation_controllers.json new file mode 100644 index 0000000..7f176a0 --- /dev/null +++ b/resource_pack/animation_controllers/frog.animation_controllers.json @@ -0,0 +1,81 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.frog.general": { + "initial_state": "on_land", + "states": { + "on_land": { + "animations": [ + { "walk": "math.min(1.0, query.modified_move_speed * 10)" } + ], + "transitions": [ + { "idling_water": "query.is_in_water && query.modified_move_speed < 0.15" }, + { "swimming": "query.is_in_water && query.modified_move_speed > 0.15" }, + { "jumping": "query.is_jump_goal_jumping"} + ] + }, + "jumping": { + "animations": [ + { "jump": "query.is_jump_goal_jumping" } + ], + "transitions": [ + { "on_land": "!query.is_in_water && !query.is_jump_goal_jumping" }, + { "idling_water": "query.is_in_water && query.modified_move_speed < 0.15" }, + { "swimming": "query.is_in_water && query.modified_move_speed > 0.15" } + ] + + }, + "idling_water": { + "animations": [ + "idle_water" + ], + "transitions": [ + { "on_land": "!query.is_in_water" }, + { "swimming": "query.is_in_water && query.modified_move_speed > 0.15" } + ] + }, + "swimming": { + "animations": [ + { "swim": "math.min(1.0, query.modified_move_speed * 10)" } + ], + "transitions": [ + { "on_land": "!query.is_in_water" }, + { "idling_water": "query.is_in_water && query.modified_move_speed < 0.15" } + ] + } + } + }, + "controller.animation.frog.eat_mob": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { "eating": "query.is_eating_mob" } + ] + }, + "eating": { + "animations": [ "tongue" ], + "transitions": [ + { "default": "!query.is_eating_mob" } + ] + } + } + }, + "controller.animation.frog.croaking": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { "croaking": "query.is_croaking" } + ] + }, + "croaking": { + "animations": [ "croak" ], + "transitions": [ + { "default": "!query.is_croaking || query.is_eating_mob" } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/ghast.animation_controllers.json b/resource_pack/animation_controllers/ghast.animation_controllers.json new file mode 100644 index 0000000..d04b9a5 --- /dev/null +++ b/resource_pack/animation_controllers/ghast.animation_controllers.json @@ -0,0 +1,21 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.ghast.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move" ] + } + } + }, + "controller.animation.ghast.scale" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "scale" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/goat.animation_controllers.json b/resource_pack/animation_controllers/goat.animation_controllers.json new file mode 100644 index 0000000..d6ce712 --- /dev/null +++ b/resource_pack/animation_controllers/goat.animation_controllers.json @@ -0,0 +1,17 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.goat.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "walk" : "query.modified_move_speed" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/hoglin.animation_controllers.json b/resource_pack/animation_controllers/hoglin.animation_controllers.json new file mode 100644 index 0000000..f9ac348 --- /dev/null +++ b/resource_pack/animation_controllers/hoglin.animation_controllers.json @@ -0,0 +1,61 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.hoglin.baby_scaling": { + "initial_state" : "default", + "states" : { + "baby" : { + "animations" : [ "hoglin_baby_scaling" ], + "transitions" : [ + { + "default" : "!query.is_baby" + } + ] + }, + "default" : { + "transitions" : [ + { + "baby" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.hoglin.look_at_target" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "look_at_target" ] + } + } + }, + "controller.animation.hoglin.walk" : { + "initial_state" : "walking", + "states" : { + "walking" : { + "animations" : [ "walk" ] + } + } + }, + "controller.animation.hoglin.attack" : { + "initial_state" : "default", + "states" : { + "attack" : { + "animations" : [ "attack" ], + "transitions": [ + { + "default" : "!variable.has_target || variable.attack_time < 0.0" + } + ] + }, + "default" : { + "transitions" : [ + { + "attack": "variable.has_target && variable.attack_time >= 0.0" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/humanoid.animation_controllers.json b/resource_pack/animation_controllers/humanoid.animation_controllers.json new file mode 100644 index 0000000..012cd25 --- /dev/null +++ b/resource_pack/animation_controllers/humanoid.animation_controllers.json @@ -0,0 +1,295 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.humanoid.attack" : { + "initial_state" : "default", + "states" : { + "attacking" : { + "animations" : [ "attack.rotations" ], + "transitions" : [ + { + "default" : "variable.attack_time < 0.0" + } + ] + }, + "default" : { + "transitions" : [ + { + "attacking" : "variable.attack_time >= 0.0" + } + ] + } + } + }, + "controller.animation.humanoid.baby_big_head" : { + "initial_state" : "default", + "states" : { + "baby" : { + "animations" : [ "humanoid_big_head" ], + "transitions" : [ + { + "default" : "!query.is_baby" + } + ] + }, + "default" : { + "transitions" : [ + { + "baby" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.humanoid.base_pose" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "humanoid_base_pose" ] + } + } + }, + "controller.animation.humanoid.bob" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "bob" ] + } + } + }, + "controller.animation.humanoid.bow_and_arrow" : { + "initial_state" : "default", + "states" : { + "bow_and_arrow" : { + "animations" : [ "bow_and_arrow" ], + "transitions" : [ + { + "default" : "!query.has_target" + } + ] + }, + "default" : { + "transitions" : [ + { + "bow_and_arrow" : "query.has_target" + } + ] + } + } + }, + "controller.animation.humanoid.brandish_spear" : { + "initial_state" : "default", + "states" : { + "brandish_spear" : { + "animations" : [ "brandish_spear" ], + "transitions" : [ + { + "default" : "!variable.is_brandishing_spear" + } + ] + }, + "default" : { + "transitions" : [ + { + "brandish_spear" : "variable.is_brandishing_spear" + } + ] + } + } + }, + "controller.animation.humanoid.charging" : { + "initial_state" : "default", + "states" : { + "charging" : { + "animations" : [ "charging" ], + "transitions" : [ + { + "default" : "!query.is_charging" + } + ] + }, + "default" : { + "transitions" : [ + { + "charging" : "query.is_charging" + } + ] + } + } + }, + "controller.animation.humanoid.damage_nearby_mobs" : { + "initial_state" : "default", + "states" : { + "damage_nearby_mobs" : { + "animations" : [ "damage_nearby_mobs" ], + "transitions" : [ + { + "default" : "!variable.damage_nearby_mobs" + } + ] + }, + "default" : { + "transitions" : [ + { + "damage_nearby_mobs" : "variable.damage_nearby_mobs" + } + ] + } + } + }, + "controller.animation.humanoid.holding" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "holding" ] + } + } + }, + "controller.animation.humanoid.look_at_target" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "look_at_target_default" ], + "transitions" : [ + { + "gliding" : "query.is_gliding" + }, + { + "swimming" : "query.is_swimming || query.is_crawling" + } + ] + }, + "gliding" : { + "animations" : [ "look_at_target_gliding" ], + "transitions" : [ + { + "swimming" : "query.is_swimming || query.is_crawling" + }, + { + "default" : "!query.is_gliding" + } + ] + }, + "swimming" : { + "animations" : [ "look_at_target_swimming" ], + "transitions" : [ + { + "gliding" : "query.is_gliding" + }, + { + "default" : "!query.is_swimming && !query.is_crawling" + } + ] + } + } + }, + "controller.animation.humanoid.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move" ] + } + } + }, + "controller.animation.humanoid.riding" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "riding" : "query.is_riding" + } + ] + }, + "riding" : { + "animations" : [ "riding.arms", "riding.legs" ], + "transitions" : [ + { + "default" : "!query.is_riding" + } + ] + } + } + }, + "controller.animation.humanoid.riding_legs_only" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "riding" : "query.is_riding" + } + ] + }, + "riding" : { + "animations" : [ "riding.legs" ], + "transitions" : [ + { + "default" : "!query.is_riding" + } + ] + } + } + }, + "controller.animation.humanoid.sneaking" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "sneaking" : "query.is_sneaking" + } + ] + }, + "sneaking" : { + "animations" : [ "sneaking" ], + "transitions" : [ + { + "default" : "!query.is_sneaking" + } + ] + } + } + }, + "controller.animation.humanoid.swimming" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "swimming" : "variable.swim_amount > 0.0" + } + ] + }, + "swimming" : { + "animations" : [ "swimming" ], + "transitions" : [ + { + "default" : "variable.swim_amount <= 0.0" + } + ] + } + } + }, + "controller.animation.humanoid.use_item_progress" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "use_item_progress" : "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 )" + } + ] + }, + "use_item_progress" : { + "animations" : [ "use_item_progress" ], + "transitions" : [ + { + "default" : "( variable.use_item_interval_progress <= 0.0 ) && ( variable.use_item_startup_progress <= 0.0 )" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/iron_golem.animation_controllers.json b/resource_pack/animation_controllers/iron_golem.animation_controllers.json new file mode 100644 index 0000000..d256c94 --- /dev/null +++ b/resource_pack/animation_controllers/iron_golem.animation_controllers.json @@ -0,0 +1,92 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.iron_golem.arm_movement" : { + "initial_state" : "default", + "states" : { + "attack" : { + "animations" : [ "attack" ], + "transitions" : [ + { + "default" : "!query.has_target && variable.attack_animation_tick <= 0.0" + }, + { + "has_target" : "query.has_target && variable.attack_animation_tick <= 0.0" + } + ] + }, + "default" : { + "animations" : [ "move" ], + "transitions" : [ + { + "attack" : "variable.attack_animation_tick > 0.0" + }, + { + "flower" : "variable.offer_flower_tick" + }, + { + "has_target" : "query.has_target" + } + ] + }, + "flower" : { + "animations" : [ "flower" ], + "transitions" : [ + { + "attack" : "variable.attack_animation_tick > 0.0" + }, + { + "default" : "variable.offer_flower_tick <= 0.0" + }, + { + "has_target" : "query.has_target" + } + ] + }, + "has_target" : { + "animations" : [ "move_to_target" ], + "transitions" : [ + { + "attack" : "variable.attack_animation_tick > 0.0" + }, + { + "default" : "!query.has_target" + }, + { + "flower" : "variable.offer_flower_tick" + } + ] + } + } + }, + "controller.animation.iron_golem.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "walk" : "query.modified_move_speed" + } + ], + "transitions" : [ + { + "has_target" : "query.has_target" + } + ] + }, + "has_target" : { + "animations" : [ + { + "walk_to_target" : "query.modified_move_speed" + } + ], + "transitions" : [ + { + "default" : "!query.has_target" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/llama.animation_controllers.json b/resource_pack/animation_controllers/llama.animation_controllers.json new file mode 100644 index 0000000..563c4b3 --- /dev/null +++ b/resource_pack/animation_controllers/llama.animation_controllers.json @@ -0,0 +1,31 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.llama.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.llama.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + "setup", + { + "walk" : "query.modified_move_speed" + }, + "look_at_target" + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/magma_cube.animation_controllers.json b/resource_pack/animation_controllers/magma_cube.animation_controllers.json new file mode 100644 index 0000000..084f939 --- /dev/null +++ b/resource_pack/animation_controllers/magma_cube.animation_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.magma_cube.general" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/map_marker.json b/resource_pack/animation_controllers/map_marker.json new file mode 100644 index 0000000..ffc5499 --- /dev/null +++ b/resource_pack/animation_controllers/map_marker.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.idle": { + "initial_state": "idle", + "states": { + "idle": { + "animations": [ + "idle" + ] + }, + "default": { + "animations": [ + "idle" + ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animation_controllers/mooshroom.animation_controllers.json b/resource_pack/animation_controllers/mooshroom.animation_controllers.json new file mode 100644 index 0000000..7b75b98 --- /dev/null +++ b/resource_pack/animation_controllers/mooshroom.animation_controllers.json @@ -0,0 +1,34 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.mooshroom.baby" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "baby_transform" ] + } + } + }, + "controller.animation.mooshroom.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "walk" : "query.modified_move_speed" + }, + "look_at_target" + ] + } + } + }, + "controller.animation.mooshroom.setup" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "setup" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/ocelot.animation_controllers.json b/resource_pack/animation_controllers/ocelot.animation_controllers.json new file mode 100644 index 0000000..e0978d3 --- /dev/null +++ b/resource_pack/animation_controllers/ocelot.animation_controllers.json @@ -0,0 +1,86 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.ocelot.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.ocelot.look_at_target" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "look_at_target" ] + } + } + }, + "controller.animation.ocelot.move" : { + "initial_state" : "sitting", + "states" : { + "sitting" : { + "animations" : [ "sit" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sprinting" : "variable.state == 1" + }, + { + "walking" : "variable.state == 3" + } + ] + }, + "sneaking" : { + "animations" : [ "sneak" ], + "transitions" : [ + { + "sprinting" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + }, + { + "walking" : "variable.state == 3" + } + ] + }, + "sprinting" : { + "animations" : [ "sprint" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sitting" : "variable.state == 2" + }, + { + "walking" : "variable.state == 3" + } + ] + }, + "walking" : { + "animations" : [ "walk" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sprinting" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/ocelot.animation_controllers.v1.0.json b/resource_pack/animation_controllers/ocelot.animation_controllers.v1.0.json new file mode 100644 index 0000000..f5ae457 --- /dev/null +++ b/resource_pack/animation_controllers/ocelot.animation_controllers.v1.0.json @@ -0,0 +1,94 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.ocelot_v1.0.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.ocelot_v1.0.look_at_target" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "look_at_target" ] + } + } + }, + "controller.animation.ocelot_v1.0.move" : { + "initial_state" : "sitting", + "states" : { + "sitting" : { + "animations" : [ "sit" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sprinting" : "variable.state == 1" + }, + { + "walking" : "variable.state == 3" + } + ] + }, + "sneaking" : { + "animations" : [ "sneak" ], + "transitions" : [ + { + "sprinting" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + }, + { + "walking" : "variable.state == 3" + } + ] + }, + "sprinting" : { + "animations" : [ "sprint" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sitting" : "variable.state == 2" + }, + { + "walking" : "variable.state == 3" + } + ] + }, + "walking" : { + "animations" : [ "walk" ], + "transitions" : [ + { + "sneaking" : "variable.state == 0" + }, + { + "sprinting" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + } + ] + } + } + }, + "controller.animation.ocelot_v1.0.setup" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "setup" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/panda.animation_controllers.json b/resource_pack/animation_controllers/panda.animation_controllers.json new file mode 100644 index 0000000..e19bef5 --- /dev/null +++ b/resource_pack/animation_controllers/panda.animation_controllers.json @@ -0,0 +1,107 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.panda.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.panda.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "walk" : "query.modified_move_speed" + }, + "look_at_target" + ], + "transitions" : [ + { + "rolling" : "query.roll_counter > 0" + }, + { + "sitting" : "query.sit_amount > 0" + }, + { + "lying" : "query.lie_amount > 0" + } + ] + }, + "lying" : { + "animations" : [ "lying" ], + "transitions" : [ + { + "default" : "query.lie_amount <= 0" + }, + { + "rolling" : "query.roll_counter > 0" + }, + { + "sitting" : "query.sit_amount > 0" + } + ] + }, + "rolling" : { + "animations" : [ "rolling" ], + "transitions" : [ + { + "default" : "query.roll_counter <= 0" + }, + { + "sitting" : "query.sit_amount > 0" + }, + { + "lying" : "query.lie_amount > 0" + } + ] + }, + "sitting" : { + "animations" : [ "sitting" ], + "transitions" : [ + { + "default" : "query.sit_amount <= 0" + }, + { + "rolling" : "query.roll_counter > 0" + }, + { + "lying" : "query.lie_amount > 0" + } + ] + } + } + }, + "controller.animation.panda.sneezing" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "sneezing" : "query.sneeze_counter" + } + ] + } + } + }, + "controller.animation.panda.unhappy" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "unhappy" : "query.unhappy_counter" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/parrot.animation_controllers.json b/resource_pack/animation_controllers/parrot.animation_controllers.json new file mode 100644 index 0000000..f32c3e6 --- /dev/null +++ b/resource_pack/animation_controllers/parrot.animation_controllers.json @@ -0,0 +1,74 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.parrot.move" : { + "initial_state" : "dancing", + "states" : { + "dancing" : { + "animations" : [ "dance" ], + "transitions" : [ + { + "flying" : "variable.state == 0" + }, + { + "standing" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + } + ] + }, + "flying" : { + "animations" : [ "moving", "flying" ], + "transitions" : [ + { + "standing" : "variable.state == 1" + }, + { + "sitting" : "variable.state == 2" + }, + { + "dancing" : "variable.state == 3" + } + ] + }, + "sitting" : { + "animations" : [ "sitting" ], + "transitions" : [ + { + "flying" : "variable.state == 0" + }, + { + "standing" : "variable.state == 1" + }, + { + "dancing" : "variable.state == 3" + } + ] + }, + "standing" : { + "animations" : [ "moving", "standing" ], + "transitions" : [ + { + "flying" : "variable.state == 0" + }, + { + "sitting" : "variable.state == 2" + }, + { + "dancing" : "variable.state == 3" + } + ] + } + } + }, + "controller.animation.parrot.setup" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "look_at_target", "base" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/persona.animation_controllers.json b/resource_pack/animation_controllers/persona.animation_controllers.json new file mode 100644 index 0000000..9f2ac83 --- /dev/null +++ b/resource_pack/animation_controllers/persona.animation_controllers.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.persona.blink": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { "open": "variable.is_blinking = 0; variable.return_from_blink = query.life_time + math.random(0, 0.2); variable.last_blink_time = query.life_time; return variable.last_blink_time != 0;" } + ] + }, + "open": { + "transitions": [ + { "blink": "variable.is_blinking = 0; variable.return_from_blink = query.life_time + math.random(0, 0.2); return query.life_time > (variable.last_blink_time + math.random(3, 40));" } + ] + }, + "blink": { + "transitions": [ + { "open": "variable.is_blinking = 1; variable.last_blink_time = query.life_time; return query.all_animations_finished && (query.life_time > (variable.return_from_blink ?? 0.2));" } + ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animation_controllers/phantom.animation_controllers.json b/resource_pack/animation_controllers/phantom.animation_controllers.json new file mode 100644 index 0000000..911cfde --- /dev/null +++ b/resource_pack/animation_controllers/phantom.animation_controllers.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.phantom.base_pose": { + "initial_state": "default", + "states": { + "default": { + "animations": [ "phantom_base_pose" ], + "particle_effects": [ + { + "effect": "wing_dust", + "locator": "left_wing" + }, + { + "effect": "wing_dust", + "locator": "right_wing" + } + ] + } + } + }, + "controller.animation.phantom.move": { + "initial_state": "default", + "states": { + "default": { + "animations": [ "move" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/piglin.animation_controllers.json b/resource_pack/animation_controllers/piglin.animation_controllers.json new file mode 100644 index 0000000..46f2ffc --- /dev/null +++ b/resource_pack/animation_controllers/piglin.animation_controllers.json @@ -0,0 +1,64 @@ +{ + "format_version" : "1.10.0", + "animation_controllers": { + "controller.animation.piglin.attack" : { + "initial_state" : "default", + "states" : { + "ranged_charge" : { + "animations" : [ "crossbow_charge" ], + "transitions" : [ + { + "default" : "variable.attack_state == 0 || query.is_admiring" + }, + { + "ranged_hold" : "variable.attack_state == 1" + } + ] + }, + "default" : { + "transitions" : [ + { + "ranged_hold" : "query.variant == 0 && variable.attack_state == 1 && !query.is_admiring" + }, + { + "ranged_charge" : "query.variant == 0 && variable.attack_state == 2 && !query.is_admiring" + }, + { + "hand_attack": "variable.has_target && query.variant == 1 && !query.is_item_equipped && variable.attack_time >= 0.0 && !query.is_admiring" + }, + { + "melee_attack": "variable.has_target && query.variant == 1 && query.is_item_equipped && variable.attack_time >= 0.0 && !query.is_admiring" + } + ] + }, + "ranged_hold" : { + "animations" : [ "crossbow_hold" ], + "transitions" : [ + { + "default" : "variable.attack_state == 0 || query.is_admiring" + }, + { + "ranged_charge" : "variable.attack_state == 2" + } + ] + }, + "melee_attack" : { + "animations": ["melee_attack"], + "transitions" : [ + { + "default" : "!query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 || query.is_admiring" + } + ] + }, + "hand_attack" : { + "animations": ["hand_attack"], + "transitions" : [ + { + "default" : "query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 || query.is_admiring" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/pillager.animation_controllers.json b/resource_pack/animation_controllers/pillager.animation_controllers.json new file mode 100644 index 0000000..02c7305 --- /dev/null +++ b/resource_pack/animation_controllers/pillager.animation_controllers.json @@ -0,0 +1,78 @@ +{ + "format_version" : "1.10.0", + "animation_controllers": { + "controller.animation.pillager.attack": { + "initial_state": "default", + "states": { + "charge": { + "animations": [ "crossbow_charge" ], + "transitions": [ + { + "default": "variable.attack_state == 0" + }, + { + "hold": "variable.attack_state == 1" + } + ] + }, + "default": { + "transitions": [ + { + "hold": "variable.attack_state == 1" + }, + { + "charge": "variable.attack_state == 2" + } + ] + }, + "hold": { + "animations": [ "crossbow_hold" ], + "transitions": [ + { + "default": "variable.attack_state == 0" + }, + { + "charge": "variable.attack_state == 2" + } + ] + } + } + }, + "controller.animation.pillager.root": { + "initial_state": "default", + "states": { + "default": { + "blend_transition": 0.2, + "blend_via_shortest_path": true, + "animations": [ + "controller_humanoid_base_pose", + "controller_look_at_target", + "controller_move", + "controller_riding", + "controller_attack", + "controller_bob", + "controller_pillager_attack" + ], + "transitions": [ + { + "celebrating": "query.is_celebrating" + } + ] + }, + "celebrating": { + "animations": [ + "celebrating", + { "riding.legs": "query.is_riding" } + ], + "blend_transition": 0.2, + "blend_via_shortest_path": true, + "transitions": [ + { + "default": "!query.is_celebrating" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/player.animation_controllers.json b/resource_pack/animation_controllers/player.animation_controllers.json new file mode 100644 index 0000000..f3c2cd8 --- /dev/null +++ b/resource_pack/animation_controllers/player.animation_controllers.json @@ -0,0 +1,274 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.player.crossbow" : { + "initial_state" : "default", + "states" : { + "charge" : { + "animations" : [ "third_person_crossbow_equipped" ], + "transitions" : [ + { + "default" : "query.get_equipped_item_name != 'crossbow' || (query.item_remaining_use_duration <= 0.0 && !query.item_is_charged)" + }, + { + "hold" : "query.item_is_charged" + } + ] + }, + "default" : { + "transitions" : [ + { + "hold" : "query.item_is_charged" + }, + { + "charge" : "query.item_remaining_use_duration > 0.0" + } + ] + }, + "hold" : { + "animations" : [ "crossbow_hold" ], + "transitions" : [ + { + "default" : "query.get_equipped_item_name != 'crossbow' || (query.item_remaining_use_duration <= 0.0 && !query.item_is_charged)" + }, + { + "charge" : "query.item_remaining_use_duration > 0.0" + } + ] + } + } + }, + "controller.animation.player.first_person_attack" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "first_person_attack_rotation" ], + "transitions" : [ + { + "vr_attack" : "variable.is_using_vr" + } + ] + }, + "vr_attack" : { + "animations" : [ "first_person_vr_attack_rotation" ], + "transitions" : [ + { + "default" : "!variable.is_using_vr" + } + ] + } + } + }, + "controller.animation.player.first_person_map" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "one_hand" : "query.get_equipped_item_name('off_hand') == 'filled_map' || query.get_equipped_item_name('off_hand') == 'shield'" + }, + { + "two_hand" : "query.get_equipped_item_name('off_hand') != 'filled_map' && query.get_equipped_item_name('off_hand') != 'shield'" + } + ] + }, + "one_hand" : { + "animations" : [ + { + "first_person_map_hold_main_hand" : "query.get_equipped_item_name(0, 1) == 'filled_map'" + }, + { + "first_person_map_hold_off_hand" : "query.get_equipped_item_name('off_hand') == 'filled_map' && (query.get_equipped_item_name == 'bow' ? !(variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0) : 1.0)" + } + ], + "transitions" : [ + { + "default" : "query.get_equipped_item_name(0, 1) != 'filled_map' && query.get_equipped_item_name('off_hand') != 'filled_map'" + }, + { + "two_hand" : "query.get_equipped_item_name('off_hand') != 'filled_map' && query.get_equipped_item_name('off_hand') != 'shield'" + } + ] + }, + "two_hand" : { + "animations" : [ "first_person_map_hold", "first_person_map_hold_attack" ], + "transitions" : [ + { + "default" : "query.get_equipped_item_name(0, 1) != 'filled_map' && query.get_equipped_item_name('off_hand') != 'filled_map'" + }, + { + "one_hand" : "query.get_equipped_item_name('off_hand') == 'filled_map' || query.get_equipped_item_name('off_hand') == 'shield'" + } + ] + } + } + }, + "controller.animation.player.root" : { + "initial_state" : "first_person", + "states" : { + "first_person" : { + "animations" : [ + { + "first_person_swap_item": "!query.blocking" + }, + { + "first_person_shield_block": "query.blocking" + }, + { + "first_person_attack_controller" : "variable.attack_time > 0.0f && query.get_equipped_item_name != 'filled_map'" + }, + "first_person_base_pose", + { + "first_person_empty_hand" : "query.get_equipped_item_name(0, 1) != 'filled_map'" + }, + { + "first_person_walk" : "variable.bob_animation" + }, + { + "first_person_map_controller" : "(query.get_equipped_item_name(0, 1) == 'filled_map' || query.get_equipped_item_name('off_hand') == 'filled_map')" + }, + { + "first_person_crossbow_equipped": "query.get_equipped_item_name == 'crossbow' && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0)" + }, + { + "first_person_breathing_bob": "variable.attack_time <= 0.0" + } + ], + "transitions" : [ + { + "paperdoll" : "variable.is_paperdoll" + }, + { + "map_player" : "variable.map_face_icon" + }, + { + "third_person" : "!variable.is_first_person" + } + ] + }, + "map_player" : { + "transitions" : [ + { + "paperdoll" : "variable.is_paperdoll" + }, + { + "first_person" : "variable.is_first_person" + }, + { + "third_person" : "!variable.map_face_icon && !variable.is_first_person" + } + ] + }, + "paperdoll" : { + "animations" : [ "humanoid_base_pose", "look_at_target_ui", "move.arms", "move.legs", "cape" ], + "transitions" : [ + { + "first_person" : "!variable.is_paperdoll && variable.is_first_person" + }, + { + "map_player" : "variable.map_face_icon" + }, + { + "third_person" : "!variable.is_paperdoll && !variable.is_first_person" + } + ] + }, + "third_person" : { + "animations" : [ + "humanoid_base_pose", + { + "look_at_target" : "!query.is_sleeping && !query.is_emoting" + }, + "move.arms", + "move.legs", + "cape", + { + "riding.arms" : "query.is_riding" + }, + { + "riding.legs" : "query.is_riding" + }, + "holding", + { + "brandish_spear" : "variable.is_brandishing_spear" + }, + { + "holding_spyglass": "variable.is_holding_spyglass" + }, + { + "charging" : "query.is_charging" + }, + { + "sneaking" : "query.is_sneaking && !query.is_sleeping" + }, + { + "bob": "!variable.is_holding_spyglass && !variable.is_tooting_goat_horn && !variable.is_using_brush" + }, + { + "damage_nearby_mobs" : "variable.damage_nearby_mobs" + }, + { + "swimming" : "variable.swim_amount > 0.0" + }, + { + "swimming.legs" : "variable.swim_amount > 0.0" + }, + { + "crawling" : "query.is_crawling" + }, + { + "crawling.legs" : "query.is_crawling" + }, + { + "use_item_progress": "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 ) && !variable.is_brandishing_spear && !variable.is_holding_spyglass && !variable.is_tooting_goat_horn && !variable.is_using_brush && !query.is_item_name_any('slot.weapon.mainhand', 'minecraft:bow')" + }, + { + "sleeping" : "query.is_sleeping && query.is_alive" + }, + { + "attack.positions" : "variable.attack_time >= 0.0" + }, + { + "attack.rotations" : "variable.attack_time >= 0.0" + }, + { + "shield_block_main_hand" : "query.blocking && query.get_equipped_item_name('off_hand') != 'shield' && query.get_equipped_item_name == 'shield'" + }, + { + "shield_block_off_hand" : "query.blocking && query.get_equipped_item_name('off_hand') == 'shield'" + }, + { + "crossbow_controller" : "query.get_equipped_item_name == 'crossbow'" + }, + { + "third_person_bow_equipped" : "query.get_equipped_item_name == 'bow' && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0)" + }, + { + "tooting_goat_horn": "variable.is_tooting_goat_horn" + }, + { + "holding_brush": "query.get_equipped_item_name == 'brush'" + }, + { + "brushing": "variable.is_using_brush" + }, + { + "holding_heavy_core" : "query.is_item_name_any('slot.weapon.mainhand', 'minecraft:heavy_core')" + } + ], + "transitions" : [ + { + "paperdoll" : "variable.is_paperdoll" + }, + { + "first_person" : "variable.is_first_person" + }, + { + "map_player" : "variable.map_face_icon" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/polar_bear.animation_controllers.json b/resource_pack/animation_controllers/polar_bear.animation_controllers.json new file mode 100644 index 0000000..7ef9a25 --- /dev/null +++ b/resource_pack/animation_controllers/polar_bear.animation_controllers.json @@ -0,0 +1,31 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.polarbear.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.polarbear.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "walk" : "query.modified_move_speed" + }, + "move", + "look_at_target" + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/rabbit.animation_controllers.json b/resource_pack/animation_controllers/rabbit.animation_controllers.json new file mode 100644 index 0000000..8b96c98 --- /dev/null +++ b/resource_pack/animation_controllers/rabbit.animation_controllers.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.rabbit.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.rabbit.general" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move", "look_at_target" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/ravager.animation_controllers.json b/resource_pack/animation_controllers/ravager.animation_controllers.json new file mode 100644 index 0000000..d540459 --- /dev/null +++ b/resource_pack/animation_controllers/ravager.animation_controllers.json @@ -0,0 +1,69 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.ravager.head_movement" : { + "initial_state" : "default", + "states" : { + "biting" : { + "animations" : [ "biting" ], + "transitions" : [ + { + "default" : "query.is_delayed_attacking == 0" + } + ] + }, + "default" : { + "animations" : [ "idle_mouth" ], + "transitions" : [ + { + "roaring" : "query.is_roaring == 1" + }, + { + "biting" : "query.is_delayed_attacking == 1" + } + ] + }, + "roaring" : { + "animations" : [ "roaring" ], + "transitions" : [ + { + "default" : "query.is_roaring == 0" + } + ] + } + } + }, + "controller.animation.ravager.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "walk" : "query.modified_move_speed" + }, + "look_at_target" + ], + "transitions" : [ + { + "stunned" : "query.is_stunned == 1" + } + ] + }, + "stunned" : { + "animations" : [ "stunned" ], + "particle_effects" : [ + { + "effect" : "stun_particles", + "locator" : "stun" + } + ], + "transitions" : [ + { + "default" : "query.is_stunned == 0" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/sheep.animation_controllers.json b/resource_pack/animation_controllers/sheep.animation_controllers.json new file mode 100644 index 0000000..25ec9a0 --- /dev/null +++ b/resource_pack/animation_controllers/sheep.animation_controllers.json @@ -0,0 +1,30 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.sheep.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "walk" : "query.modified_move_speed" + } + ], + "transitions" : [ + { + "grazing" : "query.is_grazing" + } + ] + }, + "grazing" : { + "animations" : [ "grazing" ], + "transitions" : [ + { + "default" : "query.all_animations_finished" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/shield.animation_controllers.json b/resource_pack/animation_controllers/shield.animation_controllers.json new file mode 100644 index 0000000..0334f1e --- /dev/null +++ b/resource_pack/animation_controllers/shield.animation_controllers.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.shield.wield": { + "initial_state": "default", + "states": { + "default": { + "animations": [ + { + "wield_main_hand_first_person": "c.item_slot == 'main_hand'" + }, + { + "wield_off_hand_first_person": "c.item_slot != 'main_hand'" + } + ], + "transitions": [ + { + "blocking": "query.blocking" + }, + { + "third_person": "!c.is_first_person" + } + ] + }, + "blocking": { + "animations": [ + { + "wield_main_hand_first_person": "!variable.is_blocking_main_hand && c.item_slot == 'main_hand'" + }, + { + "wield_main_hand_first_person_block": "variable.is_blocking_main_hand && c.item_slot == 'main_hand'" + }, + { + "wield_off_hand_first_person_block": "variable.is_blocking_off_hand && c.item_slot == 'off_hand'" + } + ], + "transitions": [ + { + "default": "!query.blocking" + }, + { + "third_person": "!c.is_first_person" + } + ] + }, + "third_person": { + "animations": [ "wield_third_person" ], + "transitions": [ + { + "default": "c.is_first_person" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/shulker.animation_controllers.json b/resource_pack/animation_controllers/shulker.animation_controllers.json new file mode 100644 index 0000000..b4536dd --- /dev/null +++ b/resource_pack/animation_controllers/shulker.animation_controllers.json @@ -0,0 +1,21 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.shulker.facing" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "facing" ] + } + } + }, + "controller.animation.shulker.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move", "look_at_target" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/silverfish.animation_controllers.json b/resource_pack/animation_controllers/silverfish.animation_controllers.json new file mode 100644 index 0000000..03883b8 --- /dev/null +++ b/resource_pack/animation_controllers/silverfish.animation_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.silverfish.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "move" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/skeleton.animation_controllers.json b/resource_pack/animation_controllers/skeleton.animation_controllers.json new file mode 100644 index 0000000..0167d7f --- /dev/null +++ b/resource_pack/animation_controllers/skeleton.animation_controllers.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.skeleton.attack" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "attack" : "query.has_target && !query.facing_target_to_range_attack" + } + ] + }, + "attack" : { + "animations": [ "skeleton_attack" ], + "transitions" : [ + { + "default" : "!query.has_target || query.facing_target_to_range_attack" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/sniffer.animation_controllers.json b/resource_pack/animation_controllers/sniffer.animation_controllers.json new file mode 100644 index 0000000..3754ede --- /dev/null +++ b/resource_pack/animation_controllers/sniffer.animation_controllers.json @@ -0,0 +1,185 @@ +{ + "format_version" : "1.10.0", + "animation_controllers": { + "controller.animation.sniffer.baby": { + "initial_state": "default", + "states": { + "default": { + "animations": [ + { + "baby_transform": "query.is_baby" + } + ] + } + } + }, + "controller.animation.sniffer.general": { + "initial_state": "default", + "states": { + "default": { + "animations": [ + "look_at_target" + ] + } + } + }, + "controller.animation.sniffer.walk": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "walking": "query.modified_move_speed" + } + ], + "blend_transition": 0.2 + }, + "walking": { + "animations": [ + { + "walk": "variable.moving" + } + ], + "transitions": [ + { + "default": "query.modified_move_speed < 0" + } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.sniffer.sniffsniff": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "sniffsniff": "query.modified_move_speed > 0.005 && !query.is_searching && !query.is_digging && !query.timer_flag_1 && !query.timer_flag_2" + } + ], + "blend_transition": 0.2 + }, + "sniffsniff": { + "animations": [ "sniffsniff" ], + "transitions": [ + { + "default": "query.modified_move_speed < 0.005" + } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.sniffer.long_sniff": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "long_sniff": "query.timer_flag_1" + } + ], + "blend_transition": 0.2 + }, + "long_sniff": { + "animations": [ "long_sniff" ], + "transitions": [ + { + "default": "!query.timer_flag_1" + } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.sniffer.search": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "search": "query.is_searching" + } + ], + "blend_transition": 0.2 + }, + "search": { + "animations": [ "search" ], + "transitions": [ + { + "default": "!query.is_searching" + } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.sniffer.dig": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "dig": "query.is_digging" + } + ], + "blend_transition": 0.2 + }, + "dig": { + "animations": [ "dig" ], + "transitions": [ + { + "default": "!query.is_digging" + } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.sniffer.stand_up": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "stand_up": "query.timer_flag_2" + } + ], + "blend_transition": 0.2 + }, + "stand_up": { + "animations": [ "stand_up" ], + "transitions": [ + { + "default": "!query.timer_flag_2" + } + ], + "blend_transition": 0.2 + } + } + }, + "controller.animation.sniffer.feeling_happy": { + "initial_state": "default", + "states": { + "default": { + "transitions": [ + { + "feeling_happy": "query.timer_flag_3" + } + ], + "blend_transition": 0.2 + }, + "feeling_happy": { + "animations": [ "feeling_happy" ], + "transitions": [ + { + "default": "!query.timer_flag_3" + } + ], + "blend_transition": 0.2 + } + } + } + } +} diff --git a/resource_pack/animation_controllers/snow_golem.animation_controllers.json b/resource_pack/animation_controllers/snow_golem.animation_controllers.json new file mode 100644 index 0000000..9f776c8 --- /dev/null +++ b/resource_pack/animation_controllers/snow_golem.animation_controllers.json @@ -0,0 +1,18 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.snowgolem.move.v1.8" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "move" : "query.modified_move_speed" + }, + "look_at_target" + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/snow_golem.animation_controllers.v1.0.json b/resource_pack/animation_controllers/snow_golem.animation_controllers.v1.0.json new file mode 100644 index 0000000..faea770 --- /dev/null +++ b/resource_pack/animation_controllers/snow_golem.animation_controllers.v1.0.json @@ -0,0 +1,19 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.snowgolem.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "move" : "query.modified_move_speed" + }, + "look_at_target", + "arms" + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/spider.animation_controllers.json b/resource_pack/animation_controllers/spider.animation_controllers.json new file mode 100644 index 0000000..70670f9 --- /dev/null +++ b/resource_pack/animation_controllers/spider.animation_controllers.json @@ -0,0 +1,19 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.spider.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + "default_leg_pose", + { + "walk" : "query.modified_move_speed" + }, + "look_at_target" + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/tadpole.animation_controllers.json b/resource_pack/animation_controllers/tadpole.animation_controllers.json new file mode 100644 index 0000000..b790a61 --- /dev/null +++ b/resource_pack/animation_controllers/tadpole.animation_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.tadpole.general": { + "initial_state": "default", + "states": { + "default": { + "animations": [ + { "swim": "math.min(1.0, query.modified_move_speed * 10)" } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/trident.animation_controllers.json b/resource_pack/animation_controllers/trident.animation_controllers.json new file mode 100644 index 0000000..856406a --- /dev/null +++ b/resource_pack/animation_controllers/trident.animation_controllers.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.10.0", + "animation_controllers": { + "controller.animation.trident.wield": { + "initial_state": "first_person", + "states": { + "first_person": { + "animations": [ + "wield_first_person", + { + "wield_first_person_raise": "query.main_hand_item_use_duration > 0.0f" + }, + { + "wield_first_person_raise_shake": "query.main_hand_item_use_duration > 0.0f" + }, + { + "wield_first_person_riptide": "query.can_damage_nearby_mobs > 0.0" + } + ], + "transitions": [ + { + "third_person": "!c.is_first_person" + } + ] + }, + "third_person": { + "animations": [ + "wield_third_person", + { + "wield_third_person_raise": "query.main_hand_item_use_duration > 0.0f || query.has_target" + } + ], + "transitions": [ + { + "first_person": "c.is_first_person" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/tripod_camera.animation_controllers.json b/resource_pack/animation_controllers/tripod_camera.animation_controllers.json new file mode 100644 index 0000000..ac9ff79 --- /dev/null +++ b/resource_pack/animation_controllers/tripod_camera.animation_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.tripod_camera.base_pose" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "neutral" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/turtle.animation_controllers.json b/resource_pack/animation_controllers/turtle.animation_controllers.json new file mode 100644 index 0000000..90ccae5 --- /dev/null +++ b/resource_pack/animation_controllers/turtle.animation_controllers.json @@ -0,0 +1,45 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.turtle.general" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "general" ] + } + } + }, + "controller.animation.turtle.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "look_at_target" ], + "transitions" : [ + { + "swimming" : "query.is_in_water && !query.is_on_ground" + }, + { + "walking" : "!query.is_in_water && query.is_on_ground" + } + ] + }, + "swimming" : { + "animations" : [ "move", "look_at_target" ], + "transitions" : [ + { + "walking" : "!query.is_in_water && query.is_on_ground" + } + ] + }, + "walking" : { + "animations" : [ "ground_move", "look_at_target" ], + "transitions" : [ + { + "swimming" : "query.is_in_water && !query.is_on_ground" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/vex.animation_controllers.json b/resource_pack/animation_controllers/vex.animation_controllers.json new file mode 100644 index 0000000..c9ab1f7 --- /dev/null +++ b/resource_pack/animation_controllers/vex.animation_controllers.json @@ -0,0 +1,33 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.vex.idle" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "vex_idle" ] + } + } + }, + "controller.animation.vex.charge" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "charging" : "query.is_charging" + } + ] + }, + "charging" : { + "animations" : [ "vex_charge" ], + "transitions" : [ + { + "default" : "!query.is_charging" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/villager.animation_controllers.json b/resource_pack/animation_controllers/villager.animation_controllers.json new file mode 100644 index 0000000..78f99b5 --- /dev/null +++ b/resource_pack/animation_controllers/villager.animation_controllers.json @@ -0,0 +1,42 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.villager.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.villager.general" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + "general", + { + "look_at_target" : "!query.is_sleeping" + } + ] + } + } + }, + "controller.animation.villager.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "move" : "query.modified_move_speed" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/villager_v2.animation_controllers.json b/resource_pack/animation_controllers/villager_v2.animation_controllers.json new file mode 100644 index 0000000..02d1078 --- /dev/null +++ b/resource_pack/animation_controllers/villager_v2.animation_controllers.json @@ -0,0 +1,75 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.villager_v2.baby" : { + "initial_state" : "baby", + "states" : { + "baby" : { + "animations" : [ + { + "baby_transform" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.villager_v2.general" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + "general", + { + "look_at_target" : "!query.is_sleeping" + } + ] + } + } + }, + "controller.animation.villager_v2.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ + { + "move" : "query.modified_move_speed" + } + ], + "transitions" : [ + { + "get_in_bed" : "query.is_sleeping" + } + ] + }, + "get_in_bed" : { + "animations" : [ "get_in_bed" ], + "transitions" : [ + { + "default" : "!query.is_sleeping" + } + ] + } + } + }, + "controller.animation.villager_v2.raise_arms" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "raising" : "variable.raise_arms > 0.0" + } + ] + }, + "raising" : { + "animations" : [ "raise_arms" ], + "transitions" : [ + { + "default" : "variable.raise_arms == 0.0" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/vindicator.animation_controllers.json b/resource_pack/animation_controllers/vindicator.animation_controllers.json new file mode 100644 index 0000000..bdb1c20 --- /dev/null +++ b/resource_pack/animation_controllers/vindicator.animation_controllers.json @@ -0,0 +1,63 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.vindicator.base": { + "initial_state": "default", + "states": { + "default": { + "blend_transition": 0.2, + "blend_via_shortest_path": true, + "transitions": [ + { + "celebrating": "query.is_celebrating" + }, + { + "hand_attack": "!query.is_item_equipped && variable.has_target && variable.attack_time >= 0.0" + }, + { + "melee_attack": "query.is_item_equipped && variable.has_target && variable.attack_time >= 0.0" + } + ] + }, + "hand_attack": { + "blend_transition": 0.2, + "blend_via_shortest_path": true, + "animations": [ "vindicator_hand_attack" ], + "transitions": [ + { + "default": "query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 || query.is_celebrating" + } + ] + }, + "melee_attack": { + "blend_transition": 0.2, + "blend_via_shortest_path": true, + "animations": [ "vindicator_attack" ], + "transitions": [ + { + "default": "!query.is_item_equipped || !variable.has_target || variable.attack_time < 0.0 || query.is_celebrating" + } + ] + }, + "celebrating": { + "animations": [ "celebrating" ], + "blend_transition": 0.2, + "blend_via_shortest_path": true, + "transitions": [ + { + "default": "!query.is_celebrating" + } + ] + } + } + }, + "controller.animation.vindicator.base.v1.0" : { + "initial_state" : "default", + "states" : { + "default": { + "animations": [ "vindicator_base", "vindicator_attack", "vindicator_walk" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/warden.animation_controllers.json b/resource_pack/animation_controllers/warden.animation_controllers.json new file mode 100644 index 0000000..2cb3efd --- /dev/null +++ b/resource_pack/animation_controllers/warden.animation_controllers.json @@ -0,0 +1,105 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.warden.shiver" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "shiver" : "variable.tendril_animation > 0" + } + ] + }, + "shiver" : { + "animations" : [ "shiver" ], + "transitions" : [ + { + "default" : "variable.tendril_animation <= 0" + } + ] + } + } + }, + "controller.animation.warden.sniff" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "sniff" : "query.is_sniffing" + } + ] + }, + "sniff" : { + "animations" : [ "sniff" ], + "transitions" : [ + { + "default" : "!query.is_sniffing" + } + ] + } + } + }, + "controller.animation.warden.roar" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "roar" : "query.is_roaring" + } + ] + }, + "roar" : { + "animations" : [ "roar" ], + "transitions" : [ + { + "default" : "!query.is_roaring" + } + ] + } + } + }, + "controller.animation.warden.melee_attacking" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "attack" : "variable.attack_time > 0.0" + } + ] + }, + "attack" : { + "animations" : [ "melee_attack" ], + "transitions" : [ + { + "default" : "variable.attack_time <= 0.0" + } + ] + } + } + }, + "controller.animation.warden.sonic_boom" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "sonic_attack" : "query.is_sonic_boom" + } + ] + }, + "sonic_attack" : { + "animations" : [ "sonic_boom" ], + "transitions" : [ + { + "default" : "!query.is_sonic_boom" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/witch.animation_controllers.json b/resource_pack/animation_controllers/witch.animation_controllers.json new file mode 100644 index 0000000..2e444a9 --- /dev/null +++ b/resource_pack/animation_controllers/witch.animation_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.witch.general" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "villager_general", "look_at_target", "general" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/wither_boss.animation_controllers.json b/resource_pack/animation_controllers/wither_boss.animation_controllers.json new file mode 100644 index 0000000..354c0a3 --- /dev/null +++ b/resource_pack/animation_controllers/wither_boss.animation_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.wither_boss.move" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "scale", "move", "look_at_target" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/wither_skeleton.animation_controllers.json b/resource_pack/animation_controllers/wither_skeleton.animation_controllers.json new file mode 100644 index 0000000..c5e8720 --- /dev/null +++ b/resource_pack/animation_controllers/wither_skeleton.animation_controllers.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.wither_skeleton.attack" : { + "initial_state" : "default", + "states" : { + "chase_target" : { + "animations" : [ "wither_skeleton_attack" ], + "transitions" : [ + { + "default" : "!variable.has_target" + } + ] + }, + "default" : { + "transitions" : [ + { + "chase_target" : "variable.has_target" + } + ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/wolf.animation_controllers.json b/resource_pack/animation_controllers/wolf.animation_controllers.json new file mode 100644 index 0000000..0d3efc2 --- /dev/null +++ b/resource_pack/animation_controllers/wolf.animation_controllers.json @@ -0,0 +1,118 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.wolf.angry" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "wolf_angry" ] + } + } + }, + "controller.animation.wolf.baby_scaling" : { + "initial_state" : "default", + "states" : { + "baby" : { + "animations" : [ "wolf_baby_scaling" ], + "transitions" : [ + { + "default" : "!query.is_baby" + } + ] + }, + "default" : { + "transitions" : [ + { + "baby" : "query.is_baby" + } + ] + } + } + }, + "controller.animation.wolf.head_rot_z" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "rot" : "query.is_interested || query.is_shaking_wetness" + } + ] + }, + "rot" : { + "animations" : [ "wolf_head_rot_z" ], + "transitions" : [ + { + "default" : "!query.is_interested && !query.is_shaking_wetness" + } + ] + } + } + }, + "controller.animation.wolf.look_at" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "wolf_look_at" ] + } + } + }, + "controller.animation.wolf.setup" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "wolf_setup" ] + } + } + }, + "controller.animation.wolf.shaking" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "shaking" : "query.is_shaking_wetness" + } + ] + }, + "shaking" : { + "animations" : [ "wolf_shaking" ], + "transitions" : [ + { + "default" : "!query.is_shaking_wetness" + } + ] + } + } + }, + "controller.animation.wolf.sitting" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "wolf_leg_default" ], + "transitions" : [ + { + "sitting" : "query.is_sitting" + } + ] + }, + "sitting" : { + "animations" : [ "wolf_sitting" ], + "transitions" : [ + { + "default" : "!query.is_sitting" + } + ] + } + } + }, + "controller.animation.wolf.tail_default" : { + "initial_state" : "default", + "states" : { + "default" : { + "animations" : [ "wolf_tail_default" ] + } + } + } + } +} diff --git a/resource_pack/animation_controllers/zombie.animation_controllers.json b/resource_pack/animation_controllers/zombie.animation_controllers.json new file mode 100644 index 0000000..2a3c79f --- /dev/null +++ b/resource_pack/animation_controllers/zombie.animation_controllers.json @@ -0,0 +1,45 @@ +{ + "format_version" : "1.10.0", + "animation_controllers" : { + "controller.animation.zombie.attack_bare_hand" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "is_bare_hand" : "variable.is_holding_left != 1.0" + } + ] + }, + "is_bare_hand" : { + "animations" : [ "zombie_attack_bare_hand" ], + "transitions" : [ + { + "default" : "variable.is_holding_left == 1.0" + } + ] + } + } + }, + "controller.animation.zombie.swimming" : { + "initial_state" : "default", + "states" : { + "default" : { + "transitions" : [ + { + "is_swimming" : "variable.swim_amount > 0.0" + } + ] + }, + "is_swimming" : { + "animations" : [ "swimming" ], + "transitions" : [ + { + "default" : "variable.swim_amount <= 0.0" + } + ] + } + } + } + } +} diff --git a/resource_pack/animations/actor.animation.json b/resource_pack/animations/actor.animation.json new file mode 100644 index 0000000..3a8a60d --- /dev/null +++ b/resource_pack/animations/actor.animation.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.actor.billboard" : { + "loop" : true, + "bones": { + "body": { + "rotation": [ "query.camera_rotation(0)", "query.camera_rotation(1)", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/agent.animation.json b/resource_pack/animations/agent.animation.json new file mode 100644 index 0000000..7399ad4 --- /dev/null +++ b/resource_pack/animations/agent.animation.json @@ -0,0 +1,103 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.agent.move": { + "loop": true, + "bones": { + "body": { + "position": [ 0, "variable.agent.easein * (math.sin(query.life_time * 114.6 * variable.agent.movespeedscalar) + 1.0) * 1.12", 0 ] + }, + "leftArm": { + "rotation": [ + "((-0.2 + 1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 - variable.agent.armxrotationfactor", + 0, + "-variable.agent.armzrotation" + ] + }, + "leftLeg": { + "rotation": [ + "((-1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 + (variable.agent.ishovering * variable.agent.legxrotationfactor)", + 0, + 0 + ] + }, + "rightArm": { + "rotation": [ + "((-0.2 - 1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 + variable.agent.armxrotationfactor", + 0, + "variable.agent.armzrotation" + ] + }, + "rightLeg": { + "rotation": [ + "((1.5 * (math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 3.25) * query.modified_move_speed) * 57.3 - (variable.agent.ishovering * variable.agent.legxrotationfactor)", + 0, + 0 + ] + } + } + }, + "animation.agent.swing_arms": { + "loop": true, + "animation_length": 1.5, + "bones": { + "rightArm": { + "rotation": [ + "(-2.0 + 1.5 * (math.abs(math.mod(variable.agent.swinganimationtick - query.frame_alpha, variable.agent.swinganimationduration) - variable.agent.swinganimationduration * 0.5) - variable.agent.swinganimationduration * 0.25) / (variable.agent.swinganimationduration * 0.25)) * 57.3", + 0, + 0 + ] + } + } + }, + "animation.agent.shrug": { + "animation_length": 1.5, + "bones": { + "head": { + "rotation": { + "0.3333": [ 0, 0, 0 ], + "0.5833": [ 0, 0, 0 ], + "0.8333": [ 0, 72.5, 0 ], + "1.0417": [ 0, 0, 0 ], + "1.2917": [ 0, -62.5, 0 ], + "1.5": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.125": [ 0, 0, 0 ] + } + }, + "leftArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ -64.03195, -33.38529, 26.32435 ], + "0.625": [ 0, 0, 0 ], + "0.75": [ 0, 0, 0 ], + "0.9583": [ 0, 0, -10 ], + "1.1667": [ 0, 0, 0 ] + }, + "position": { + "0.75": [ 0, 0, 0 ], + "0.9583": [ 0, 1, 0 ], + "1.1667": [ 0, 0, 0 ] + } + }, + "rightArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ -58.25703, 25.73828, -15.06695 ], + "0.625": [ 0, 0, 0 ], + "0.75": [ 0, 0, 0 ], + "0.9583": [ 0, 0, 10 ], + "1.1667": [ 0, 0, 0 ] + }, + "position": { + "0.75": [ 0, 0, 0 ], + "0.9583": [ 0, 1, 0 ], + "1.1667": [ 0, 0, 0 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/allay.animation.json b/resource_pack/animations/allay.animation.json new file mode 100644 index 0000000..d58dc38 --- /dev/null +++ b/resource_pack/animations/allay.animation.json @@ -0,0 +1,484 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.allay.look_at_target.default" : { + "loop" : true, + "bones" : { + "look_at" : { + "relative_to" : { + "rotation" : "entity" + }, + "rotation" : [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.allay.idle": { + "loop": true, + "animation_length": 2, + "bones": { + "head": { + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [0, -0.5, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [0, -0.5, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 15, 31.21], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, 15, 40], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, 15, 22.5], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 15, 31.21], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, -15, -31.21], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, -15, -40], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [0, -15, -22.5], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, -15, -31.21], + "lerp_mode": "catmullrom" + } + } + }, + "left_wing": { + "rotation": { + "0.0": { + "post": [37.98064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [22.5, 67.5, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [37.98064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [22.5, 67.5, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [37.98064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + } + } + }, + "right_wing": { + "rotation": { + "0.0": { + "post": [37.98064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [22.5, -67.5, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [37.98064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [22.5, -67.5, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [37.98064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.allay.fly": { + "loop": true, + "animation_length": 2, + "bones": { + "head": { + "rotation": { + "0.0": { + "post": [2.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [-2.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [2.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [-2.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [2.5, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "body": { + "rotation": { + "0.0": { + "post": [45, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [55, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.9167": { + "post": [45, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.4167": { + "post": [55, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [45, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": [0, 0, 1], + "2.0": [0, 0, 1] + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 22.5, 15], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [0, 22.5, 10], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [0, 22.5, 15], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [0, 22.5, 10], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 22.5, 15], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, -22.5, -15], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [0, -22.5, -10], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [0, -22.5, -15], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [0, -22.5, -10], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, -22.5, -15], + "lerp_mode": "catmullrom" + } + } + }, + "left_wing": { + "rotation": { + "0.0": { + "post": [15.48064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [0, 67.5, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [15.48064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, 67.5, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [15.48064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [0, 67.5, 0], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [15.48064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [0, 67.5, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [15.48064, 6.50284, 22.02407], + "lerp_mode": "catmullrom" + } + } + }, + "right_wing": { + "rotation": { + "0.0": { + "post": [15.48064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [0, -67.5, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [15.48064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [0, -67.5, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [15.48064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [0, -67.5, 0], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [15.48064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [0, -67.5, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [15.48064, -6.50284, -22.02407], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.allay.hold_item": { + "loop": "hold_on_last_frame", + "animation_length": 2, + "bones": { + "right_arm": { + "rotation": { + "0.0": { + "post": [-40, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [-40, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "rightItem": { + "scale": 0.7, + "rotation": [ "-15.0 * (variable.holding_trident)", 0, "90.0 * (variable.holding_trident)" ], + "position": [ 0.0, "3.50 * (variable.holding_trident)", 0.0 ] + } + } + }, + "animation.allay.hold_item_fly": { + "loop": "hold_on_last_frame", + "animation_length": 2, + "bones": { + "right_arm": { + "rotation": { + "0.0": { + "post": [-67.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [-67.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "rightItem": { + "scale": 0.7, + "rotation": [ "-15.0 * (variable.holding_trident)", 0, "90.0 * (variable.holding_trident)" ], + "position": [ 0.0, "3.50 * (variable.holding_trident)", 0.0 ] + } + } + }, + "animation.allay.dance": { + "loop": true, + "animation_length": 2.75, + "bones": { + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [0, -30, -30], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [0, 30, 30], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2917": { + "post": [0.63, 540, 0], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [0, 720, 0], + "lerp_mode": "catmullrom" + } + } + }, + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [10, -16, -16], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [-10, 16, 16], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2917": { + "post": [0.63, 540, 0], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [0, 720, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_wing": { + "rotation": { + "2.0": [0, 0, 0], + "2.1667": [45, 0, 0], + "2.5833": [45, 0, 0], + "2.75": [0, 0, 0] + } + }, + "right_wing": { + "rotation": { + "2.0": [0, 0, 0], + "2.1667": [45, 0, 0], + "2.5833": [45, 0, 0], + "2.75": [0, 0, 0] + } + } + } + } + } +} diff --git a/resource_pack/animations/armadillo.animation.json b/resource_pack/animations/armadillo.animation.json new file mode 100644 index 0000000..776d4bd --- /dev/null +++ b/resource_pack/animations/armadillo.animation.json @@ -0,0 +1,796 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.armadillo.look_at_target": { + "loop": true, + "bones": { + "head": { + "relative_to": { + "rotation": "entity" + }, + "rotation": [ "variable.x_head_rotation - this", "variable.y_head_rotation - this", 0.0 ] + } + } + }, + "animation.armadillo.walk": { + "loop": true, + "animation_length": 1.45833, + "anim_time_update": "variable.walk_anim_time_update", + "bones": { + "body": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.125": [ 0, 0, 0 ], + "0.25": [ 0, 0, 2.1 ], + "0.5": [ 0, 0, 0 ], + "0.8333": [ 0, 0, 0 ], + "0.9583": [ 0, 0, -2.1 ], + "1.25": [ 0, 0, 0 ], + "1.4583": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.125": [ 0, 0, 0 ], + "0.25": [ 0, -0.2, 0 ], + "0.5": [ 0, 0, 0 ], + "0.8333": [ 0, 0, 0 ], + "0.9583": [ 0, -0.2, 0 ], + "1.25": [ 0, 0, 0 ], + "1.4583": [ 0, 0, 0 ] + } + }, + "tail": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 5, 0, 0 ], + "0.5": [ -2.5, 0, 0 ], + "0.7083": [ 0, 0, 0 ], + "0.9583": [ 5, 0, 0 ], + "1.2083": [ -2.5, 0, 0 ], + "1.4583": [ 0, 0, 0 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": [ -50, 0, 0 ], + "0.25": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "0.75": [ 50, 0, 0 ], + "1.0": [ 50, 0, 0 ], + "1.2917": [ -20, 0, 0 ], + "1.4583": [ -50, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 0, -0.5 ], + "0.5": [ 0, 0, 0 ], + "1.0": [ 0, 0, -0.5 ], + "1.2917": [ 0, 1, -0.18 ], + "1.4583": [ 0, 0, 0 ] + } + }, + "left_hind_leg": { + "rotation": { + "0.0": [ 50, 0, 0 ], + "0.25": [ 50, 0, 0 ], + "0.5417": [ -20, 0, 0 ], + "0.7083": [ -50, 0, 0 ], + "0.9583": [ 0, 0, 0 ], + "1.2083": [ 0, 0, 0 ], + "1.4583": [ 50, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, -0.25 ], + "0.25": [ 0, 0, -0.5 ], + "0.5417": [ 0, 1, -0.18 ], + "0.7083": [ 0, 0, 0 ], + "0.9583": [ 0, 0, -0.5 ], + "1.2083": [ 0, 0, 0 ], + "1.4583": [ 0, 0, -0.25 ] + } + }, + "right_front_leg": { + "rotation": { + "0.0": [ 50, 0, 0 ], + "0.25": [ 50, 0, 0 ], + "0.5417": [ -20, 0, 0 ], + "0.7083": [ -50, 0, 0 ], + "0.9583": [ 0, 0, 0 ], + "1.2083": [ 0, 0, 0 ], + "1.4583": [ 50, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, -0.25 ], + "0.25": [ 0, 0, -0.5 ], + "0.5417": [ 0, 1, -0.18 ], + "0.7083": [ 0, 0, 0 ], + "0.9583": [ 0, 0, -0.5 ], + "1.2083": [ 0, 0, 0 ], + "1.4583": [ 0, 0, -0.25 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": [ -50, 0, 0 ], + "0.25": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "0.75": [ 50, 0, 0 ], + "1.0": [ 50, 0, 0 ], + "1.2917": [ -20, 0, 0 ], + "1.4583": [ -50, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 0, -0.5 ], + "0.5": [ 0, 0, 0 ], + "1.0": [ 0, 0, -0.5 ], + "1.2917": [ 0, 1, -0.18 ], + "1.4583": [ 0, 0, 0 ] + } + } + } + }, + "animation.armadillo.roll_up": { + "loop": "hold_on_last_frame", + "animation_length": 0.5, + "bones": { + "body": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 5, 0 ], + "0.2": [ 0, 6, -1 ], + "0.25": [ 0, 6, -1 ], + "0.4": [ 0, -1, -1 ] + } + }, + "tail": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 0, 0 ], + "0.2": [ 0, 0, -2 ], + "0.25": [ 0, 0, -2 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 17.5, 0, 0 ], + "0.25": [ -72.5, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, -1, 0 ], + "0.2": [ 0, 2, 1 ], + "0.25": [ 0, 2, 1 ], + "0.3": [ 0, 2, 6 ], + "0.4": [ 0, 2, 7 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ -35, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 5, -2 ], + "0.2": [ 0, 8, -2 ], + "0.25": [ 0, 8, -2 ], + "0.4": [ 1, 3, -6 ] + } + }, + "left_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ -45, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 5, -2 ], + "0.2": [ 0, 8, -2 ], + "0.25": [ 0, 8, -2 ], + "0.4": [ -1, 3, -6 ] + } + }, + "right_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ -27.5, 0, 0 ], + "0.2": [ -32.5, 0, 0 ], + "0.25": [ -85, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 5, 0 ], + "0.2": [ -1, 9, -1 ], + "0.25": [ -1, 9, -1 ], + "0.4": [ -1, 2, 3 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ -12.5, 0, 0 ], + "0.2": [ -35, 0, 0 ], + "0.25": [ -85, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 5, 0 ], + "0.2": [ 1, 9, -1 ], + "0.25": [ 1, 9, -1 ], + "0.4": [ 1, 2, 3 ] + } + }, + "body_rolled_up": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.15": [ 0, 0, 0 ], + "0.4": [ -2.5, 0, 0 ], + "0.45": [ 5, 0, 0 ], + "0.5": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 3, 0 ], + "0.15": [ 0, 8, 0 ], + "0.2": [ 0, 7, 0 ], + "0.25": [ 0, 7, 0 ], + "0.4": [ 0, 1, 0 ], + "0.45": [ 0, 0.6, 0 ], + "0.5": [ 0, 0, 0 ] + } + } + }, + "sound_effects": { + "0.0": { "effect": "roll" }, + "0.475": { "effect": "land" } + } + }, + "animation.armadillo.rolled_up": { + "loop": "hold_on_last_frame", + "bones": { + "body": { + "rotation": [ 0, 0, 0 ], + "position": [ 0, -1, -1 ] + }, + "tail": { + "rotation": [ 0, 0, 0 ], + "position": [ 0, 0, -2 ] + }, + "head": { + "rotation": [ -72.5, 0, 0 ], + "position": [ 0, 2, 7 ] + }, + "right_hind_leg": { + "rotation": [ -35, 0, 0 ], + "position": [ 1, 3, -6 ] + }, + "left_hind_leg": { + "rotation": [ -45, 0, 0 ], + "position": [ -1, 3, -6 ] + }, + "right_front_leg": { + "rotation": [ -85, 0, 0 ], + "position": [ -1, 2, 3 ] + }, + "left_front_leg": { + "rotation": [ -85, 0, 0 ], + "position": [ 1, 2, 3 ] + }, + "body_rolled_up": { + "rotation": [ 0, 0, 0 ], + "position": [ 0, 0, 0 ] + } + } + }, + "animation.armadillo.peek": { + "loop": "hold_on_last_frame", + "animation_length": 2.5, + "bones": { + "head": { + "rotation": { + "0.0": [ -70, 0, 0 ], + "0.15": [ -65, 0, 0 ], + "0.4": [ -50, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "0.7": [ 0, 0, 0 ], + "0.9": { + "pre": [ -7.5, 0, 45 ], + "post": [ -7.5, 0, 45 ], + "lerp_mode": "catmullrom" + }, + "1.15": [ -7.5, 0, 45 ], + "1.3": { + "pre": [ -0.8639, -1.49592, -39.12866 ], + "post": [ -0.8639, -1.49592, -39.12866 ], + "lerp_mode": "catmullrom" + }, + "1.6": [ -0.8639, -1.49592, -39.12866 ], + "1.75": [ 0, 0, 0 ], + "1.8": [ -25, 0, 0 ], + "1.85": [ -70, 0, 0 ] + }, + "position": { + "0.0": [ 0, 1, 7 ], + "0.1": [ 0, 1, 4 ], + "0.15": [ 0, 1, 4 ], + "0.25": [ 0, 1, 5 ], + "0.35": [ 0, 1, 0.2 ], + "0.4": [ 0, 1, 0.2 ], + "0.5": [ 0, 2.1, 1.2 ], + "0.6": [ 0, 1.1, 0.2 ], + "0.7": [ 0, 1.1, 0.2 ], + "1.75": [ 0, 1.1, 0.2 ], + "1.8": [ 0, 0.1, 0.2 ], + "1.95": [ 0, 0.1, 5.2 ], + "2.0": [ 0, 0.1, 7.2 ], + "2.15": [ 0, 0.1, 8.2 ], + "2.3": [ 0, 0.1, 5.2 ] + } + }, + "right_hind_leg": { + "position": [ 0, 3, -2 ] + }, + "left_hind_leg": { + "position": [ 0, 3, -2 ] + }, + "right_front_leg": { + "rotation": { + "0.0": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.6": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.85": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.8": [ -90, 0, 0 ], + "1.95": [ -90, 0, 0 ] + }, + "position": { + "0.0": { + "post": [ -1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "0.6": { + "post": [ -1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "0.65": { + "post": [ -1, 2, -2 ], + "lerp_mode": "catmullrom" + }, + "0.85": { + "post": [ -1, 2, -1 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ -1, 2, -1 ], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [ -1, 2, -1 ], + "lerp_mode": "catmullrom" + }, + "1.95": [ -1, 2, -1 ], + "2.0": [ -1, 2, 3 ], + "2.15": [ -1, 3, 4 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.65": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.85": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.8": [ -90, 0, 0 ], + "1.95": [ -90, 0, 0 ] + }, + "position": { + "0.0": { + "post": [ 1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "0.65": { + "post": [ 1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 1, 2, -2 ], + "lerp_mode": "catmullrom" + }, + "0.85": { + "post": [ 1, 2, -1 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 1, 2, -1 ], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [ 1, 2, -1 ], + "lerp_mode": "catmullrom" + }, + "1.95": [ 1, 2, -1 ], + "2.0": [ 1, 2, 3 ], + "2.15": [ 1, 3, 4 ] + } + }, + "body_rolled_up": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 0, 0 ], + "0.35": [ 15, 0, 0 ], + "0.5": [ -7.5, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ], + "2.05": [ -17.5, 0, 0 ], + "2.15": [ -25, 0, 0 ], + "2.25": [ 0, 0, 0 ], + "2.3": [ 12.5, 0, 0 ], + "2.5": [ 0, 0, 0 ] + }, + "position": { + "0.25": [ 0, 0, 0 ], + "0.35": [ 0, 1.6, 0 ], + "0.5": [ 0, 0.5, 0 ], + "0.6": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ], + "2.05": [ 0, 1.2, 0 ], + "2.15": [ 0, 1.7, 0 ], + "2.25": [ 0, 0, 0 ], + "2.3": [ 0, 1.3, 0 ], + "2.5": [ 0, 0, 0 ] + } + } + }, + "sound_effects": { + "0.0": { "effect": "peek" } + } + }, + "animation.armadillo.unroll": { + "loop": "hold_on_last_frame", + "animation_length": 1.5, + "bones": { + "head": { + "rotation": { + "0.1": [ -50, 0, 0 ], + "0.15": [ 0, 0, 0 ], + "0.25": [ 0, 0, 0 ], + "0.4": [ 0, 0, 0 ], + "0.65": [ 0, 0, 0 ], + "0.7": [ 0, 0, 0 ], + "0.85": [ -2.5, 0, 0 ], + "0.9": [ 0, 0, 0 ], + "0.95": [ -7.5, 0, 0 ], + "1.05": [ 0, 0, 0 ], + "1.1": [ 7.5, 0, 0 ] + }, + "position": { + "0.0": [ 0, 1, 5 ], + "0.05": [ 0, 1, 0.2 ], + "0.1": [ 0, 1, 0.2 ], + "0.15": [ 0, 2.1, 1.2 ], + "0.25": [ 0, 1.03, 0.13 ], + "0.4": [ 0, 1.03, 0.13 ], + "0.65": [ 0, 1.03, 0.13 ], + "0.7": [ 0, 1.1, 0.2 ], + "0.75": [ 0, 4.1, 2.2 ], + "0.85": [ 0, 5.1, 3.2 ], + "0.9": [ 0, 0.1, 0.2 ], + "0.95": [ 0, 0.9, -0.8 ], + "1.05": [ 0, 0.9, 0 ], + "1.1": [ 0, 2.6, 0.2 ], + "1.15": [ 0, 2.4, 0.2 ], + "1.2": [ 0, 0, 0.2 ], + "1.25": [ 0, 0, 0.2 ], + "1.3": [ 0, 0, 0.2 ] + } + }, + "right_hind_leg": { + "rotation": { + "1.1": [ 0, 0, 0 ], + "1.3": [ 0, 0, 30 ], + "1.4": [ 0, 0, 0 ], + "1.45": [ 0, 0, 0 ], + "1.5": [ 0, 0, 0 ] + }, + "position": { + "1.1": [ 0, 3, -2 ], + "1.2": [ 0, 8, -2 ], + "1.3": [ -1, 3, 0 ], + "1.4": [ 0, 0, 0 ], + "1.45": [ 0, 0, 0 ], + "1.5": [ 0, 0, 0 ] + } + }, + "left_hind_leg": { + "rotation": { + "1.1": [ 0, 0, 0 ], + "1.3": [ 0, 0, -30 ], + "1.4": [ 0, 0, 0 ], + "1.45": [ 0, 0, 0 ], + "1.5": [ 0, 0, 0 ] + }, + "position": { + "1.1": [ 0, 3, -2 ], + "1.2": [ 0, 8, -2 ], + "1.3": [ 1, 3, 0 ], + "1.35": [ 1, 3, 0 ], + "1.4": [ 0, 0, 0 ], + "1.45": [ 0, 0, 0 ], + "1.5": [ 0, 0, 0 ] + } + }, + "right_front_leg": { + "rotation": { + "0.0": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.05": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": [ -45, 0, 0 ], + "0.55": [ -45, 0, 0 ], + "0.6": { + "pre": [ -92.5, 0, 0 ], + "post": [ -92.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.1": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.3": { + "post": [ 0, 0, 30 ], + "lerp_mode": "catmullrom" + }, + "1.4": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.45": [ 0, 0, 0 ], + "1.5": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": [ -1, 2, 2 ], + "0.05": { + "pre": [ -1, 2, 2 ], + "post": [ -1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "0.25": [ -1, 2, -1 ], + "0.55": [ -1, 2, -1 ], + "0.7": { + "pre": [ -1, 2, 2.63 ], + "post": [ -1, 2, 2.63 ], + "lerp_mode": "catmullrom" + }, + "1.1": [ -1, 2, 2 ], + "1.2": [ -1, 7, 2 ], + "1.3": [ -1, 3, 0 ], + "1.4": [ 0, 0, 0 ], + "1.45": [ 0, 0, 0 ], + "1.5": [ 0, 0, 0 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.05": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": [ -45, 0, 0 ], + "0.55": [ -45, 0, 0 ], + "0.6": { + "pre": [ -87.5, 0, 0 ], + "post": [ -87.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.1": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.3": { + "post": [ 0, 0, -30 ], + "lerp_mode": "catmullrom" + }, + "1.4": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.45": [ 0, 0, 0 ], + "1.5": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [ 1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "0.05": { + "post": [ 1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "0.15": { + "post": [ 1, 2, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": [ 1, 2, -1 ], + "0.55": [ 1, 2, -1 ], + "0.7": { + "pre": [ 1, 2, 1.88 ], + "post": [ 1, 2, 1.88 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 1, 2, 2.67 ], + "lerp_mode": "catmullrom" + }, + "1.1": { + "post": [ 1, 2, 2 ], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [ 1, 8, 2 ], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [ 1.06, 5.06, 1 ], + "lerp_mode": "catmullrom" + }, + "1.3": { + "post": [ 1, 3, 0 ], + "lerp_mode": "catmullrom" + }, + "1.4": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.45": [ 0, 0, 0 ], + "1.5": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "body_rolled_up": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.05": [ 15, 0, 0 ], + "0.15": [ -7.5, 0, 0 ], + "0.25": [ 0, 0, 0 ], + "0.7": [ 0, 0, 0 ], + "0.75": [ -17.5, 0, 0 ], + "0.85": [ -25, 0, 0 ], + "0.9": [ 0, 0, 0 ], + "0.95": [ 12.5, 0, 0 ], + "1.05": [ 0, 0, 0 ], + "1.1": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.05": [ 0, 1.6, 0 ], + "0.15": [ 0, 0.5, 0 ], + "0.25": [ 0, 0, 0 ], + "0.7": [ 0, 0, 0 ], + "0.75": [ 0, 1.2, 0 ], + "0.85": [ 0, 1.7, 0 ], + "0.9": [ 0, 0, 0 ], + "0.95": [ 0, 1.3, 0 ], + "1.05": [ 0, 0, 0 ], + "1.2": [ 0, 5, 0 ], + "1.25": [ 0, 8, 0 ], + "1.5": [ 0, 1, 0 ] + } + }, + "body": { + "position": { + "1.1": [ 0, 0, 0 ], + "1.2": [ 0, 4, 0 ], + "1.25": [ 0, 5, 0 ], + "1.3": [ 0, 4, 0 ], + "1.4": [ 0, -1, 0 ], + "1.5": [ 0, 0, 0 ] + } + } + }, + "sound_effects": { + "0.0": { "effect": "unroll_start" }, + "1.5": { "effect": "unroll_finish" } + } + }, + // Keeps the last frame of roll_up and plays a sound, interpolation does the rest. + "animation.armadillo.unroll_fast": { + "animation_length": 0.05, + "loop": "hold_on_last_frame", + "bones": { + "body": { + "rotation": [ 0, 0, 0 ], + "position": [ 0, -1, -1 ] + }, + "tail": { + "rotation": [ 0, 0, 0 ], + "position": [ 0, 0, -2 ] + }, + "head": { + "rotation": [ -72.5, 0, 0 ], + "position": [ 0, 2, 7 ] + }, + "right_hind_leg": { + "rotation": [ -35, 0, 0 ], + "position": [ 1, 3, -6 ] + }, + "left_hind_leg": { + "rotation": [ -45, 0, 0 ], + "position": [ -1, 3, -6 ] + }, + "right_front_leg": { + "rotation": [ -85, 0, 0 ], + "position": [ -1, 2, 3 ] + }, + "left_front_leg": { + "rotation": [ -85, 0, 0 ], + "position": [ 1, 2, 3 ] + }, + "body_rolled_up": { + "rotation": [ 0, 0, 0 ], + "position": [ 0, 0, 0 ] + } + }, + "sound_effects": { + "0.0": { "effect": "unroll_finish" } + } + } + } +} diff --git a/resource_pack/animations/armor.animation.json b/resource_pack/animations/armor.animation.json new file mode 100644 index 0000000..12548db --- /dev/null +++ b/resource_pack/animations/armor.animation.json @@ -0,0 +1,88 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.armor.helmet.offset": { + "loop": true, + "bones": { + "head": { + "position": [ + "query.get_root_locator_offset('armor_offset.helmet', 0)", + "query.get_root_locator_offset('armor_offset.helmet', 1)", + "query.get_root_locator_offset('armor_offset.helmet', 2)" + ] + } + } + }, + "animation.armor.chestplate.offset": { + "loop": true, + "bones": { + "body": { + "position": [ + "query.get_root_locator_offset('armor_offset.chestplate', 0)", + "query.get_root_locator_offset('armor_offset.chestplate', 1)", + "query.get_root_locator_offset('armor_offset.chestplate', 2)" + ] + }, + "leftArm": { + "position": [ + "query.get_root_locator_offset('armor_offset.left_arm', 0)", + "query.get_root_locator_offset('armor_offset.left_arm', 1)", + "query.get_root_locator_offset('armor_offset.left_arm', 2)" + ] + }, + "rightArm": { + "position": [ + "query.get_root_locator_offset('armor_offset.right_arm', 0)", + "query.get_root_locator_offset('armor_offset.right_arm', 1)", + "query.get_root_locator_offset('armor_offset.right_arm', 2)" + ] + } + } + }, + "animation.armor.leggings.offset": { + "loop": true, + "bones": { + "body": { + "position": [ + "query.get_root_locator_offset('armor_offset.leggings', 0)", + "query.get_root_locator_offset('armor_offset.leggings', 1)", + "query.get_root_locator_offset('armor_offset.leggings', 2)" + ] + }, + "leftLeg": { + "position": [ + "query.get_root_locator_offset('armor_offset.left_leg', 0)", + "query.get_root_locator_offset('armor_offset.left_leg', 1)", + "query.get_root_locator_offset('armor_offset.left_leg', 2)" + ] + }, + "rightLeg": { + "position": [ + "query.get_root_locator_offset('armor_offset.right_leg', 0)", + "query.get_root_locator_offset('armor_offset.right_leg', 1)", + "query.get_root_locator_offset('armor_offset.right_leg', 2)" + ] + } + } + }, + "animation.armor.boots.offset": { + "loop": true, + "bones": { + "leftLeg": { + "position": [ + "query.get_root_locator_offset('armor_offset.left_boot', 0)", + "query.get_root_locator_offset('armor_offset.left_boot', 1)", + "query.get_root_locator_offset('armor_offset.left_boot', 2)" + ] + }, + "rightLeg": { + "position": [ + "query.get_root_locator_offset('armor_offset.right_boot', 0)", + "query.get_root_locator_offset('armor_offset.right_boot', 1)", + "query.get_root_locator_offset('armor_offset.right_boot', 2)" + ] + } + } + } + } +} diff --git a/resource_pack/animations/armor_stand.animation.json b/resource_pack/animations/armor_stand.animation.json new file mode 100644 index 0000000..b974fcc --- /dev/null +++ b/resource_pack/animations/armor_stand.animation.json @@ -0,0 +1,360 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.armor_stand.athena_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this + 2" ] + }, + "head" : { + "rotation" : [ "-this - 5", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this + 10", "-this", "-this - 5" ] + }, + "leftleg" : { + "rotation" : [ "-this - 3", "-this - 3", "-this - 3" ] + }, + "rightarm" : { + "rotation" : [ "-this - 60", "-this + 20", "-this - 10" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this + 3", "-this + 3", "-this + 3" ] + } + } + }, + "animation.armor_stand.brandish_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this - 2" ] + }, + "head" : { + "rotation" : [ "-this - 15", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this + 20", "-this", "-this - 10" ] + }, + "leftleg" : { + "rotation" : [ "-this + 5", "-this - 3", "-this - 3" ] + }, + "rightarm" : { + "rotation" : [ "-this - 110", "-this + 50", "-this" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this - 5", "-this + 3", "-this + 3" ] + } + } + }, + "animation.armor_stand.cancan_a_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this + 22", "-this" ] + }, + "head" : { + "rotation" : [ "-this - 5", "-this + 18", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this + 8", "-this", "-this - 114" ] + }, + "leftleg" : { + "rotation" : [ "-this - 111", "-this + 55", "-this" ] + }, + "rightarm" : { + "rotation" : [ "-this", "-this + 84", "-this + 111" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this", "-this + 23", "-this - 13" ] + } + } + }, + "animation.armor_stand.cancan_b_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this - 18", "-this" ] + }, + "head" : { + "rotation" : [ "-this - 10", "-this - 20", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this", "-this", "-this - 112" ] + }, + "leftleg" : { + "rotation" : [ "-this", "-this", "-this + 13" ] + }, + "rightarm" : { + "rotation" : [ "-this + 8", "-this + 90", "-this + 111" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this - 119", "-this - 42", "-this" ] + } + } + }, + "animation.armor_stand.default_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this - 10", "-this", "-this - 10" ] + }, + "leftleg" : { + "rotation" : [ "-this - 1", "-this", "-this - 1" ] + }, + "rightarm" : { + "rotation" : [ "-this - 15", "-this", "-this + 10" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this + 1", "-this", "-this + 1" ] + } + } + }, + "animation.armor_stand.entertain_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "rotation" : [ "-this - 15", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this - 110", "-this - 35", "-this" ] + }, + "leftleg" : { + "rotation" : [ "-this + 5", "-this - 3", "-this - 3" ] + }, + "rightarm" : { + "rotation" : [ "-this - 110", "-this + 35", "-this" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this - 5", "-this + 3", "-this + 3" ] + } + } + }, + "animation.armor_stand.hero_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this + 8", "-this" ] + }, + "head" : { + "rotation" : [ "-this - 4", "-this + 67", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this + 16", "-this + 32", "-this - 8" ] + }, + "leftleg" : { + "rotation" : [ "-this", "-this - 75", "-this - 8" ] + }, + "rightarm" : { + "rotation" : [ "-this - 99", "-this + 63", "-this" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this + 4", "-this + 63", "-this + 8" ] + } + } + }, + "animation.armor_stand.honor_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "rotation" : [ "-this - 15", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this - 110", "-this + 35", "-this" ] + }, + "leftleg" : { + "rotation" : [ "-this + 5", "-this - 3", "-this - 3" ] + }, + "rightarm" : { + "rotation" : [ "-this - 110", "-this - 35", "-this" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this - 5", "-this + 3", "-this + 3" ] + } + } + }, + "animation.armor_stand.no_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "leftleg" : { + "rotation" : [ "-this", "-this-0.1", "-this-0.01" ] + }, + "rightarm" : { + "rotation": [ "-this", "-this+0.01", "-this+0.01" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this", "-this", "-this" ] + } + } + }, + "animation.armor_stand.riposte_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "rotation" : [ "-this + 16", "-this + 20", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this + 4", "-this + 8", "-this + 237" ] + }, + "leftleg" : { + "rotation" : [ "-this - 14", "-this - 18", "-this - 16" ] + }, + "rightarm" : { + "rotation" : [ "-this + 246", "-this", "-this + 89" ] + }, + "rightitem" : { + "rotation" : [ "-this", "query.get_equipped_item_name == 'shield' ? -this + 90 : -this + 180", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this + 8", "-this + 20", "-this + 4" ] + } + } + }, + "animation.armor_stand.salute_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this + 10", "-this", "-this - 5" ] + }, + "leftleg" : { + "rotation" : [ "-this - 1", "-this", "-this - 1" ] + }, + "rightarm" : { + "rotation" : [ "-this - 70", "-this - 40", "-this" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this + 1", "-this", "-this + 1" ] + } + } + }, + "animation.armor_stand.solemn_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this + 2" ] + }, + "head" : { + "rotation" : [ "-this + 15", "-this", "-this" ] + }, + "leftarm" : { + "rotation" : [ "-this - 30", "-this + 15", "-this + 15" ] + }, + "leftleg" : { + "rotation" : [ "-this - 1", "-this", "-this - 1" ] + }, + "rightarm" : { + "rotation" : [ "-this - 60", "-this - 20", "-this - 10" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this + 1", "-this", "-this + 1" ] + } + } + }, + "animation.armor_stand.wiggle" : { + "loop" : true, + "bones" : { + "baseplate" : { + "rotation" : [ 0.0, "math.sin((variable.armor_stand.hurt_time - query.frame_alpha) * 120) * 3", 0.0 ] + } + } + }, + "animation.armor_stand.zombie_pose" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "rotation" : [ "-this - 10", "-this", "-this - 5" ] + }, + "leftarm" : { + "rotation" : [ "-this - 105", "-this", "-this" ] + }, + "leftleg" : { + "rotation" : [ "-this + 7", "-this", "-this" ] + }, + "rightarm" : { + "rotation" : [ "-this - 100", "-this", "-this" ] + }, + "rightitem" : { + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this - 46", "-this", "-this" ] + } + } + }, + "animation.armor_stand.holding_heavy_core" : { + "loop" : true, + "bones" : { + "rightitem" : { + "scale" : 0.7, + "position" : [ -1.0, 0.0, -2.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/arrow.animation.json b/resource_pack/animations/arrow.animation.json new file mode 100644 index 0000000..6cc2401 --- /dev/null +++ b/resource_pack/animations/arrow.animation.json @@ -0,0 +1,14 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.arrow.move" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "variable.shake_power - query.target_x_rotation", "-query.target_y_rotation", 0.0 ], + "scale" : [ 0.7, 0.7, 0.9 ] + } + } + } + } +} diff --git a/resource_pack/animations/axolotl.animation.json b/resource_pack/animations/axolotl.animation.json new file mode 100644 index 0000000..d504cc0 --- /dev/null +++ b/resource_pack/animations/axolotl.animation.json @@ -0,0 +1,1414 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.axolotl.idle_underwater": { + "loop": true, + "animation_length": 5.2, + "bones": { + "body": { + "rotation": { + "0.0": { + "pre": [-8.9, 0, 0], + "post": [-8.9, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [-2.6, 0, 0], + "post": [-2.6, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [-8.9, 0, 0], + "post": [-8.9, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [0, -0.5, 0], + "post": [0, -0.5, 0], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "pre": [49.1, -25.8, 0], + "post": [49.1, -25.8, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [29.1, -40.8, 12.5], + "post": [29.1, -40.8, 12.5], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [49.1, -25.8, 0], + "post": [49.1, -25.8, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0.25, 0, 1], + "post": [0.25, 0, 1], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [0.25, 0, 1], + "post": [0.25, 0, 1], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "pre": [-72.5, 117.5, 85], + "post": [-72.5, 117.5, 85], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [-80, 117.5, 85], + "post": [-80, 117.5, 85], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [-72.5, 117.5, 85], + "post": [-72.5, 117.5, 85], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0.25, 0, -1], + "post": [0.25, 0, -1], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [0.25, 0, -1], + "post": [0.25, 0, -1], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "pre": [49.1, 25.8, 0], + "post": [49.1, 25.8, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [29.1, 40.8, -12.5], + "post": [29.1, 40.8, -12.5], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [49.1, 25.8, 0], + "post": [49.1, 25.8, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [-0.25, 0, 1], + "post": [-0.25, 0, 1], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [-0.25, 0, 1], + "post": [-0.25, 0, 1], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "pre": [-72.5, -117.5, -85], + "post": [-72.5, -117.5, -85], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [-80, -117.5, -85], + "post": [-80, -117.5, -85], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [-72.5, -117.5, -85], + "post": [-72.5, -117.5, -85], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [-0.25, 0, -1], + "post": [-0.25, 0, -1], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [-0.25, 0, -1], + "post": [-0.25, 0, -1], + "lerp_mode": "catmullrom" + } + } + }, + "tail": { + "rotation": { + "0.0": { + "pre": [0, 15, 0], + "post": [0, 15, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [0, -32, 0], + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [0, 15, 0], + "post": [0, 15, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "pre": [11.7, 0, 0], + "post": [11.7, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [2.4, 0, 0], + "post": [2.4, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [11.7, 0, 0], + "post": [11.7, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_gills": { + "rotation": { + "0.0": { + "pre": [0, -25.6, 0], + "post": [0, -25.6, 0], + "lerp_mode": "catmullrom" + }, + "3.12": { + "pre": [0, 16, 0], + "post": [0, 16, 0], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [0, -25.6, 0], + "post": [0, -25.6, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_gills": { + "rotation": { + "0.0": { + "pre": [0, 23, 0], + "post": [0, 23, 0], + "lerp_mode": "catmullrom" + }, + "2.08": { + "pre": [0, -26, 0], + "post": [0, -26, 0], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [0, 23, 0], + "post": [0, 23, 0], + "lerp_mode": "catmullrom" + } + } + }, + "top_gills": { + "rotation": { + "0.0": { + "pre": [-19.2, 0, 0], + "post": [-19.2, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "pre": [12.3, 0, 0], + "post": [12.3, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.2": { + "pre": [-19.2, 0, 0], + "post": [-19.2, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.axolotl.idle_floor": { + "loop": true, + "animation_length": 2.8, + "bones": { + "body": { + "rotation": { + "0.0": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "pre": [77.5, -22.5, 0], + "post": [77.5, -22.5, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [77.5, -22.5, 0], + "post": [77.5, -22.5, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "pre": [-77.5, 0, 0], + "post": [-77.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [-77.5, 0, 0], + "post": [-77.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "pre": [77.5, 25, 0], + "post": [77.5, 25, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [77.5, 25, 0], + "post": [77.5, 25, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "pre": [-77.5, 0, 0], + "post": [-77.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [-77.5, 0, 0], + "post": [-77.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail": { + "rotation": { + "0.0": [0, 10, 0], + "0.32": [0, 10, 0], + "1.04": [0, -10, 0], + "1.76": [0, -10, 0], + "2.48": [0, 10, 0], + "2.8": [0, 10, 0] + } + }, + "head": { + "rotation": { + "0.0": { + "pre": [0, 0, -11], + "post": [0, 0, -11], + "lerp_mode": "catmullrom" + }, + "1.28": { + "pre": [-13.2, -2.7, -11.5], + "post": [-13.2, -2.7, -11.5], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [-13.2, -2.7, -11.5], + "post": [-13.2, -2.7, -11.5], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [0, 0, -11], + "post": [0, 0, -11], + "lerp_mode": "catmullrom" + } + } + }, + "left_gills": { + "rotation": { + "0.0": { + "pre": [0, 38, 0], + "post": [0, 38, 0], + "lerp_mode": "catmullrom" + }, + "1.28": { + "pre": [0, 45.5, 0], + "post": [0, 45.5, 0], + "lerp_mode": "catmullrom" + }, + "1.64": { + "pre": [0, 45.5, 0], + "post": [0, 45.5, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [0, 38, 0], + "post": [0, 38, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_gills": { + "rotation": { + "0.0": { + "pre": [0, -50, 0], + "post": [0, -50, 0], + "lerp_mode": "catmullrom" + }, + "1.28": { + "pre": [0, -59, 0], + "post": [0, -59, 0], + "lerp_mode": "catmullrom" + }, + "1.56": { + "pre": [0, -59, 0], + "post": [0, -59, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [0, -50, 0], + "post": [0, -50, 0], + "lerp_mode": "catmullrom" + } + } + }, + "top_gills": { + "rotation": { + "0.0": { + "pre": [33, 0, 0], + "post": [33, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.28": { + "pre": [47.4, 0, 0], + "post": [47.4, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.64": { + "pre": [47.4, 0, 0], + "post": [47.4, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "pre": [33, 0, 0], + "post": [33, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.axolotl.idle_floor_underwater": { + "loop": true, + "animation_length": 5.12, + "bones": { + "body": { + "rotation": { + "0.0": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0, 1.5, 0], + "post": [0, 1.5, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [0, 1.5, 0], + "post": [0, 1.5, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "pre": [-60, 145, 0], + "post": [-60, 145, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [-60, 145, 0], + "post": [-60, 145, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0.5, 0, 0.5], + "post": [0.5, 0, 0.5], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [0.5, 0, 0.5], + "post": [0.5, 0, 0.5], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "pre": [-60, 0, 0], + "post": [-60, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [-57.5, 0, 2.5], + "post": [-57.5, 0, 2.5], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "pre": [-60, 215, 0], + "post": [-60, 215, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [-60, 215, 0], + "post": [-60, 215, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [-0.5, 0, 0.5], + "post": [-0.5, 0, 0.5], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [-0.5, 0, 0.5], + "post": [-0.5, 0, 0.5], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "pre": [-60, 0, 0], + "post": [-60, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [-57.5, 0, -2.5], + "post": [-57.5, 0, -2.5], + "lerp_mode": "catmullrom" + } + } + }, + "tail": { + "rotation": { + "0.0": { + "pre": [0, 15, 0], + "post": [0, 15, 0], + "lerp_mode": "catmullrom" + }, + "2.56": { + "pre": [0, -18.8, 0], + "post": [0, -18.8, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [0, 15, 0], + "post": [0, 15, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_gills": { + "rotation": { + "0.0": { + "pre": [0, -25.6, 0], + "post": [0, -25.6, 0], + "lerp_mode": "catmullrom" + }, + "3.12": { + "pre": [0, 15.8, 0], + "post": [0, 15.8, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [0, -25.6, 0], + "post": [0, -25.6, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_gills": { + "rotation": { + "0.0": { + "pre": [0, 22.5, 0], + "post": [0, 22.5, 0], + "lerp_mode": "catmullrom" + }, + "2.08": { + "pre": [0, -25.9, 0], + "post": [0, -25.9, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [0, 22.5, 0], + "post": [0, 22.5, 0], + "lerp_mode": "catmullrom" + } + } + }, + "top_gills": { + "rotation": { + "0.0": { + "pre": [-19, 0, 0], + "post": [-19, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.56": { + "pre": [12.3, 0, 0], + "post": [12.3, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.12": { + "pre": [-19, 0, 0], + "post": [-19, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.axolotl.swim": { + "loop": true, + "animation_length": 1, + "bones": { + "body": { + "rotation": { + "0.0": { + "pre": [8.3, 0, 0], + "post": [8.3, 0, 0] + }, + "0.24": { + "pre": [11.83, 0, 0], + "post": [11.83, 0, 0] + }, + "0.68": { + "pre": [-7.5, 0, 0], + "post": [-7.5, 0, 0] + }, + "0.96": { + "pre": [6.84, 0, 0], + "post": [6.84, 0, 0] + } + }, + "position": { + "0.0": { + "pre": [0, 0, 0], + "post": [0, 0, 0] + }, + "0.52": { + "pre": [0, -1, 0], + "post": [0, -1, 0] + }, + "0.96": { + "pre": [0, -0.05, 0], + "post": [0, -0.05, 0] + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "pre": [72.5, 80, 95], + "post": [72.5, 80, 95] + }, + "0.52": { + "pre": [72.5, 110, 95], + "post": [72.5, 110, 95] + }, + "0.96": { + "pre": [72.5, 81.64, 95], + "post": [72.5, 81.64, 95] + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "pre": [-97.5, 87.5, -90], + "post": [-97.5, 87.5, -90] + }, + "0.28": { + "pre": [-97.5, 107.5, -90], + "post": [-97.5, 107.5, -90] + }, + "0.76": { + "pre": [-97.5, 68.71, -90], + "post": [-97.5, 68.71, -90] + }, + "0.96": { + "pre": [-97.5, 84.79, -90], + "post": [-97.5, 84.79, -90] + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "pre": [72.5, -80, -95], + "post": [72.5, -80, -95] + }, + "0.52": { + "pre": [72.5, -110, -95], + "post": [72.5, -110, -95] + }, + "0.96": { + "pre": [72.5, -81.64, -95], + "post": [72.5, -81.64, -95] + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "pre": [-97.5, -87.5, 90], + "post": [-97.5, -87.5, 90] + }, + "0.28": { + "pre": [-97.5, -108.75, 90], + "post": [-97.5, -108.75, 90] + }, + "0.76": { + "pre": [-97.5, -69.96, 90], + "post": [-97.5, -69.96, 90] + }, + "0.96": { + "pre": [-97.5, -84.94, 90], + "post": [-97.5, -84.94, 90] + } + } + }, + "tail": { + "rotation": { + "0.0": { + "pre": [0, 15, 0], + "post": [0, 15, 0] + }, + "0.52": { + "pre": [0, -15, 0], + "post": [0, -15, 0] + }, + "0.96": { + "pre": [0, 13.36, 0], + "post": [0, 13.36, 0] + } + } + }, + "head": { + "rotation": { + "0.0": { + "pre": [-7.5, 0, 0], + "post": [-7.5, 0, 0] + }, + "0.28": { + "pre": [-13.9, 0, 0], + "post": [-13.9, 0, 0] + }, + "0.72": { + "pre": [14.23, 0, 0], + "post": [14.23, 0, 0] + }, + "0.96": { + "pre": [-5.1, 0, 0], + "post": [-5.1, 0, 0] + } + } + }, + "left_gills": { + "rotation": { + "0.0": { + "pre": [0, -72, 0], + "post": [0, -72, 0] + }, + "0.2": { + "pre": [0, -79.9, 0], + "post": [0, -79.9, 0] + }, + "0.64": { + "pre": [0, -38.1, 0], + "post": [0, -38.1, 0] + }, + "0.96": { + "pre": [0, -69.31, 0], + "post": [0, -69.31, 0] + } + } + }, + "right_gills": { + "rotation": { + "0.0": { + "pre": [0, 72, 0], + "post": [0, 72, 0] + }, + "0.2": { + "pre": [0, 86.5, 0], + "post": [0, 86.5, 0] + }, + "0.64": { + "pre": [0, 26.7, 0], + "post": [0, 26.7, 0] + }, + "0.96": { + "pre": [0, 68.38, 0], + "post": [0, 68.38, 0] + } + } + }, + "top_gills": { + "rotation": { + "0.0": { + "pre": [-57, 0, 0], + "post": [-57, 0, 0] + }, + "0.2": { + "pre": [-68.7, 0, 0], + "post": [-68.7, 0, 0] + }, + "0.64": { + "pre": [-24.2, 0, 0], + "post": [-24.2, 0, 0] + }, + "0.96": { + "pre": [-54.37, 0, 0], + "post": [-54.37, 0, 0] + } + } + } + } + }, + "animation.axolotl.walk_floor": { + "loop": true, + "animation_length": 2.72, + "anim_time_update" : "0.5 * query.modified_distance_moved", + "bones": { + "body": { + "rotation": { + "0.0": [0, 0, 0], + "2.72": [0, 0, 0] + } + }, + "right_arm": { + "rotation": { + "0.0": { + "pre": [77.5, 35, 0], + "post": [77.5, 35, 0], + "lerp_mode": "catmullrom" + }, + "1.32": { + "pre": [77.5, -22.5, 0], + "post": [77.5, -22.5, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [77.5, 35, 0], + "post": [77.5, 35, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0.5, 0, 0], + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [0.5, 0, 0], + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "pre": [-77.5, -25, 0], + "post": [-77.5, -25, 0], + "lerp_mode": "catmullrom" + }, + "1.32": { + "pre": [-77.5, 22.5, 0], + "post": [-77.5, 22.5, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [-77.5, -25, 0], + "post": [-77.5, -25, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0.5, 0, 0], + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [0.5, 0, 0], + "post": [0.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "pre": [77.5, 32.5, 0], + "post": [77.5, 32.5, 0], + "lerp_mode": "catmullrom" + }, + "1.32": { + "pre": [77.5, -30, 0], + "post": [77.5, -30, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [77.5, 32.5, 0], + "post": [77.5, 32.5, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "pre": [-77.5, -30, 0], + "post": [-77.5, -30, 0], + "lerp_mode": "catmullrom" + }, + "1.32": { + "pre": [-77.5, 15, 0], + "post": [-77.5, 15, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [-77.5, -30, 0], + "post": [-77.5, -30, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail": { + "rotation": { + "0.0": { + "pre": [0, -10, 0], + "post": [0, -10, 0], + "lerp_mode": "catmullrom" + }, + "1.32": { + "pre": [0, 10, 0], + "post": [0, 10, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [0, -10, 0], + "post": [0, -10, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "pre": [0, -7.5, 0], + "post": [0, -7.5, 0], + "lerp_mode": "catmullrom" + }, + "1.32": { + "pre": [0, 6.7, 0], + "post": [0, 6.7, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [0, -7.5, 0], + "post": [0, -7.5, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_gills": { + "rotation": { + "0.0": { + "pre": [0, 38.1, 0], + "post": [0, 38.1, 0], + "lerp_mode": "catmullrom" + }, + "1.08": { + "pre": [0, 45.6, 0], + "post": [0, 45.6, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [0, 45.6, 0], + "post": [0, 45.6, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [0, 38.1, 0], + "post": [0, 38.1, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_gills": { + "rotation": { + "0.0": { + "pre": [0, -50, 0], + "post": [0, -50, 0], + "lerp_mode": "catmullrom" + }, + "1.08": { + "pre": [0, -59, 0], + "post": [0, -59, 0], + "lerp_mode": "catmullrom" + }, + "1.36": { + "pre": [0, -59, 0], + "post": [0, -59, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [0, -50, 0], + "post": [0, -50, 0], + "lerp_mode": "catmullrom" + } + } + }, + "top_gills": { + "rotation": { + "0.0": { + "pre": [33, 0, 0], + "post": [33, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.08": { + "pre": [47.4, 0, 0], + "post": [47.4, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [47.4, 0, 0], + "post": [47.4, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.72": { + "pre": [33, 0, 0], + "post": [33, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.axolotl.walk_floor_underwater": { + "loop": true, + "animation_length": 2.04, + "anim_time_update" : "0.5 * query.modified_distance_moved", + "bones": { + "body": { + "rotation": { + "0.0": { + "pre": [0, -5, 6], + "post": [0, -5, 6], + "lerp_mode": "catmullrom" + }, + "1.04": { + "pre": [0, 5, -4], + "post": [0, 5, -4], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [0, -5, 6], + "post": [0, -5, 6], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0, 1.5, 0], + "post": [0, 1.5, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [0, 1.5, 0], + "post": [0, 1.5, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "pre": [45, -52.5, 0], + "post": [45, -52.5, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "pre": [56.72, 2.34, 0], + "post": [56.72, 2.34, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [52.5, 45, 0], + "post": [52.5, 45, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [45, -52.5, 0], + "post": [45, -52.5, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [1, 0, 0], + "post": [1, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "pre": [-40, 55, 0], + "post": [-40, 55, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "pre": [-55, -35, 0], + "post": [-55, -35, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [-54.99, 10.03, 0], + "post": [-54.99, 10.03, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [-40, 55, 0], + "post": [-40, 55, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [1, 0, 0], + "post": [1, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [1, 0, 0], + "post": [1, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "pre": [65, -55, 0], + "post": [65, -55, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "pre": [50, 52.5, 0], + "post": [50, 52.5, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [50.01, -1.29, 0], + "post": [50.01, -1.29, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [65, -55, 0], + "post": [65, -55, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "pre": [0, 0, 0], + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "pre": [-62.5, 35, 0], + "post": [-62.5, 35, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "pre": [-46.87, -15.62, 0], + "post": [-46.87, -15.62, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [-52.5, -55, 0], + "post": [-52.5, -55, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [-62.5, 35, 0], + "post": [-62.5, 35, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.44": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [-0.5, 0, 0], + "post": [-0.5, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "tail": { + "rotation": { + "0.0": { + "pre": [0, 15, 0], + "post": [0, 15, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [0, 15, 0], + "post": [0, 15, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "pre": [0, 4, -5.8], + "post": [0, 4, -5.8], + "lerp_mode": "catmullrom" + }, + "1.04": { + "pre": [0, -4, 5], + "post": [0, -4, 5], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [0, 4, -5.8], + "post": [0, 4, -5.8], + "lerp_mode": "catmullrom" + } + } + }, + "left_gills": { + "rotation": { + "0.0": { + "pre": [0, -60, 0], + "post": [0, -60, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "pre": [0, -45, 0], + "post": [0, -45, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [0, -60, 0], + "post": [0, -60, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_gills": { + "rotation": { + "0.0": { + "pre": [0, 38, 0], + "post": [0, 38, 0], + "lerp_mode": "catmullrom" + }, + "0.64": { + "pre": [0, 53, 0], + "post": [0, 53, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [0, 38, 0], + "post": [0, 38, 0], + "lerp_mode": "catmullrom" + } + } + }, + "top_gills": { + "rotation": { + "0.0": { + "pre": [-34, 0, 0], + "post": [-34, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.04": { + "pre": [-41.5, 0, 0], + "post": [-41.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.04": { + "pre": [-34, 0, 0], + "post": [-34, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.axolotl.play_dead": { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, 0.0, 45.0 ] + }, + "head": { + "rotation": [ 0.0, 0.0, 45.0 ] + }, + "right_arm": { + "rotation": [ 49.1, -25.8, 0 ] + }, + "right_leg": { + "rotation": [ -72.5, 117.5, 85 ] + }, + "left_arm": { + "rotation": [ 49.1, 25.8, 0 ] + }, + "left_leg": { + "rotation": [ -72.5, -117.5, -85 ] + } + } + }, + "animation.axolotl.swim_angle": { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "variable.pitch", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/bat.animation.json b/resource_pack/animations/bat.animation.json new file mode 100644 index 0000000..e0db47b --- /dev/null +++ b/resource_pack/animations/bat.animation.json @@ -0,0 +1,113 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.bat.resting": { + "loop": true, + "bones": { + "Head": { + "rotation": ["query.target_x_rotation", "180.0f - query.target_y_rotation", 180], + "position": [0, 0.3, 0] + }, + "body": { + "rotation": [180, 0, 0], + "position": [0, 0.3, 0] + }, + "feet": { + "rotation": [0, 0, 0] + }, + "rightWing": { + "rotation": [0, -10, 0], + "position": [0, 0, 1] + }, + "rightWingTip": { + "rotation": [0, -120, 0] + }, + "leftWing": { + "rotation": [0, 10, 0], + "position": [0, 0, 1] + }, + "leftWingTip": { + "rotation": [0, 120, 0] + } + } + }, + "animation.bat.flying": { + "loop": true, + "animation_length": 0.5, + "bones": { + "Head": { + "rotation": { + "0.0": [0, 0, 0], + "0.125": [20, 0, 0], + "0.5": [0, 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.125": [0, 2, 0], + "0.25": [0, 1, 0], + "0.375": [0, 0, 0], + "0.4583": [0, -1, 0], + "0.5": [0, 0, 0] + } + }, + "body": { + "rotation": { + "0.0": [40, 0, 0], + "0.25": [52.5, 0, 0], + "0.5": [40, 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.125": [0, 2, 0], + "0.25": [0, 1, 0], + "0.375": [0, 0, 0], + "0.4583": [0, -1, 0], + "0.5": [0, 0, 0] + } + }, + "feet": { + "rotation": { + "0.0": [10, 0, 0], + "0.125": [-21.25, 0, 0], + "0.25": [-12.5, 0, 0], + "0.5": [10, 0, 0] + } + }, + "rightWing": { + "rotation": { + "0.0": [0, 85, 0], + "0.125": [0, -55, 0], + "0.25": [0, 50, 0], + "0.375": [0, 70, 0], + "0.5": [0, 85, 0] + } + }, + "rightWingTip": { + "rotation": { + "0.0": [0, 10.5, 0], + "0.0417": [0, 65.5, 0], + "0.2083": [0, -135, 0], + "0.5": [0, 10.5, 0] + } + }, + "leftWing": { + "rotation": { + "0.0": [0, -85, 0], + "0.125": [0, 55, 0], + "0.25": [0, -50, 0], + "0.375": [0, -70, 0], + "0.5": [0, -85, 0] + } + }, + "leftWingTip": { + "rotation": { + "0.0": [0, -10.5, 0], + "0.0417": [0, -65.5, 0], + "0.2083": [0, 135, 0], + "0.5": [0, -10.5, 0] + } + } + } + } + } +} diff --git a/resource_pack/animations/bee.animation.json b/resource_pack/animations/bee.animation.json new file mode 100644 index 0000000..a30f816 --- /dev/null +++ b/resource_pack/animations/bee.animation.json @@ -0,0 +1,176 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.bee.flying": { + "loop": true, + "animation_length": 2.55, + "bones": { + "body": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.30": [ 5, 0, 0 ], + "2.55": [ 0, 0, 0 ] + } + }, + "leftwing_bone": { + "rotation": { + "0.0": [ 0, 0, 35 ], + "0.05": [ 0, 0, 0 ], + "0.10": [ 0, 0, -35 ], + "0.15": [ 0, 0, 0 ], + "0.2": [ 0, 0, 35 ], + "0.25": [ 0, 0, 0 ], + "0.30": [ 0, 0, -35 ], + "0.35": [ 0, 0, 0 ], + "0.40": [ 0, 0, 35 ], + "0.45": [ 0, 0, 0 ], + "0.50": [ 0, 0, -35 ], + "0.55": [ 0, 0, 0 ], + "0.60": [ 0, 0, 35 ], + "0.65": [ 0, 0, 0 ], + "0.70": [ 0, 0, -35 ], + "0.75": [ 0, 0, 0 ], + "0.80": [ 0, 0, 35 ], + "0.85": [ 0, 0, 0 ], + "0.90": [ 0, 0, -35 ], + "0.95": [ 0, 0, 0 ], + "1.0": [ 0, 0, 35 ], + "1.05": [ 0, 0, 0 ], + "1.10": [ 0, 0, -35 ], + "1.15": [ 0, 0, 0 ], + "1.20": [ 0, 0, 35 ], + "1.25": [ 0, 0, 0 ], + "1.30": [ 0, 0, -35 ], + "1.35": [ 0, 0, 0 ], + "1.40": [ 0, 0, 35 ], + "1.45": [ 0, 0, 0 ], + "1.50": [ 0, 0, -35 ], + "1.55": [ 0, 0, 0 ], + "1.60": [ 0, 0, 35 ], + "1.65": [ 0, 0, 0 ], + "1.70": [ 0, 0, -35 ], + "1.75": [ 0, 0, 0 ], + "1.80": [ 0, 0, 35 ], + "1.85": [ 0, 0, 0 ], + "1.90": [ 0, 0, -35 ], + "1.95": [ 0, 0, 0 ], + "2.0": [ 0, 0, 35 ], + "2.05": [ 0, 0, 0 ], + "2.10": [ 0, 0, -35 ], + "2.15": [ 0, 0, 0 ], + "2.20": [ 0, 0, 35 ], + "2.25": [ 0, 0, 0 ], + "2.30": [ 0, 0, -35 ], + "2.35": [ 0, 0, 0 ], + "2.40": [ 0, 0, 35 ], + "2.45": [ 0, 0, 0 ], + "2.50": [ 0, 0, -35 ], + "2.55": [ 0, 0, 0 ] + } + }, + "leg_front": { + "rotation": { + "0.0": [ 15, 0, 0 ], + "1.20": [ 25, 0, 0 ], + "2.55": [ 15, 0, 0 ] + } + }, + "leg_mid": { + "rotation": { + "0.0": [ 15, 0, 0 ], + "1.30": [ 35, 0, 0 ], + "2.55": [ 15, 0, 0 ] + } + }, + "leg_back": { + "rotation": { + "0.0": [ 30, 0, 0 ], + "1.60": [ 45, 0, 0 ], + "2.55": [ 30, 0, 0 ] + } + }, + "rightwing_bone": { + "rotation": { + "0.0": [ 0, 0, -35 ], + "0.05": [ 0, 0, 0 ], + "0.10": [ 0, 0, 35 ], + "0.15": [ 0, 0, 0 ], + "0.2": [ 0, 0, -35 ], + "0.25": [ 0, 0, 0 ], + "0.30": [ 0, 0, 35 ], + "0.35": [ 0, 0, 0 ], + "0.40": [ 0, 0, -35 ], + "0.45": [ 0, 0, 0 ], + "0.50": [ 0, 0, 35 ], + "0.55": [ 0, 0, 0 ], + "0.60": [ 0, 0, -35 ], + "0.65": [ 0, 0, 0 ], + "0.70": [ 0, 0, 35 ], + "0.75": [ 0, 0, 0 ], + "0.80": [ 0, 0, -35 ], + "0.85": [ 0, 0, 0 ], + "0.90": [ 0, 0, 35 ], + "0.95": [ 0, 0, 0 ], + "1.0": [ 0, 0, -35 ], + "1.05": [ 0, 0, 0 ], + "1.10": [ 0, 0, 35 ], + "1.15": [ 0, 0, 0 ], + "1.20": [ 0, 0, -35 ], + "1.25": [ 0, 0, 0 ], + "1.30": [ 0, 0, 35 ], + "1.35": [ 0, 0, 0 ], + "1.40": [ 0, 0, -35 ], + "1.45": [ 0, 0, 0 ], + "1.50": [ 0, 0, 35 ], + "1.55": [ 0, 0, 0 ], + "1.60": [ 0, 0, -35 ], + "1.65": [ 0, 0, 0 ], + "1.70": [ 0, 0, 35 ], + "1.75": [ 0, 0, 0 ], + "1.80": [ 0, 0, -35 ], + "1.85": [ 0, 0, 0 ], + "1.90": [ 0, 0, 35 ], + "1.95": [ 0, 0, 0 ], + "2.0": [ 0, 0, -35 ], + "2.05": [ 0, 0, 0 ], + "2.10": [ 0, 0, 35 ], + "2.15": [ 0, 0, 0 ], + "2.20": [ 0, 0, -35 ], + "2.25": [ 0, 0, 0 ], + "2.30": [ 0, 0, 35 ], + "2.35": [ 0, 0, 0 ], + "2.40": [ 0, 0, -35 ], + "2.45": [ 0, 0, 0 ], + "2.50": [ 0, 0, 35 ], + "2.55": [ 0, 0, 0 ] + } + } + } + }, + "animation.bee.sting": { + "loop": true, + "bones": { + "body": { + "rotation": [ "-175 * math.sin(variable.attack_time * 180)", 0, 0 ] + } + } + }, + "animation.bee.no_stinger": { + "loop": true, + "bones": { + "stinger": { + "scale": 0.0 + } + } + }, + "animation.bee.fly.bobbing": { //This animation is mainly for pollination, but we thought it looked good even when flying around, so we just left it on always! + "loop": true, + "bones": { + "body": { + "position": [ 0.0, "math.cos(query.life_time * 343.774) * 1.6", 0.0 ], + "rotation": [ 0, "20 * math.cos(query.life_time * 343.774 / 2)", 0 ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/blaze.animation.json b/resource_pack/animations/blaze.animation.json new file mode 100644 index 0000000..2bbfec2 --- /dev/null +++ b/resource_pack/animations/blaze.animation.json @@ -0,0 +1,46 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.blaze.move" : { + "loop" : true, + "bones" : { + "upperbodyparts0" : { + "position" : [ "math.cos(query.life_time * -360.0 ) * 9.0", "2.0 + math.cos((0 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -360.0 ) * 9.0" ] + }, + "upperbodyparts1" : { + "position" : [ "math.cos(query.life_time * -360.0 + 90.0) * 9.0", "2.0 + math.cos((1 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -360.0 + 90.0) * 9.0" ] + }, + "upperbodyparts10" : { + "position" : [ "math.cos(query.life_time * -180.0 + 207.0) * 5.0", "-11.0 + math.cos((10 * 1.5 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -180.0 + 207.0) * 5.0" ] + }, + "upperbodyparts11" : { + "position" : [ "math.cos(query.life_time * -180.0 + 297.0) * 5.0", "-11.0 + math.cos((11 * 1.5 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -180.0 + 297.0) * 5.0" ] + }, + "upperbodyparts2" : { + "position" : [ "math.cos(query.life_time * -360.0 + 180.0) * 9.0", "2.0 + math.cos((2 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -360.0 + 180.0) * 9.0" ] + }, + "upperbodyparts3" : { + "position" : [ "math.cos(query.life_time * -360.0 + 270.0) * 9.0", "2.0 + math.cos((3 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -360.0 + 270.0) * 9.0" ] + }, + "upperbodyparts4" : { + "position" : [ "math.cos(query.life_time * 108.0 + 45.0) * 7.0", "-2.0 + math.cos((4 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * 108.0 + 45.0) * 7.0" ] + }, + "upperbodyparts5" : { + "position" : [ "math.cos(query.life_time * 108.0 + 135.0) * 7.0", "-2.0 + math.cos((5 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * 108.0 + 135.0) * 7.0" ] + }, + "upperbodyparts6" : { + "position" : [ "math.cos(query.life_time * 108.0 + 225.0) * 7.0", "-2.0 + math.cos((6 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * 108.0 + 225.0) * 7.0" ] + }, + "upperbodyparts7" : { + "position" : [ "math.cos(query.life_time * 108.0 + 315.0) * 7.0", "-2.0 + math.cos((7 * 2 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * 108.0 + 315.0) * 7.0" ] + }, + "upperbodyparts8" : { + "position" : [ "math.cos(query.life_time * -180.0 + 27.0) * 5.0", "-11.0 + math.cos((8 * 1.5 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -180.0 + 27.0) * 5.0" ] + }, + "upperbodyparts9" : { + "position" : [ "math.cos(query.life_time * -180.0 + 117.0) * 5.0", "-11.0 + math.cos((9 * 1.5 + query.life_time * 20.0) * 14.32)", "math.sin(query.life_time * -180.0 + 117.0) * 5.0" ] + } + } + } + } +} diff --git a/resource_pack/animations/bow.animation.json b/resource_pack/animations/bow.animation.json new file mode 100644 index 0000000..2debe6b --- /dev/null +++ b/resource_pack/animations/bow.animation.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.bow.wield": { + "loop": true, + "bones": { + "rightitem": { + "position": [ "c.is_first_person ? -5.5 : 0.5", "c.is_first_person ? -3.0 : -2.5", "c.is_first_person ? -3.0 : 1.0" ], + "rotation": [ "c.is_first_person ? 38.0 : 0.0", "c.is_first_person ? -120.0 : 0.0", "c.is_first_person ? -63.0 : 0.0" ] + } + } + }, + "animation.bow.wield_first_person_pull": { + "loop": true, + "bones": { + "rightitem": { + "position": [ -1.5, " 2.5 + ( variable.charge_amount >= 1.0 ? math.sin( (q.life_time) * 1000.0 * 1.3) * 0.1 - math.sin(q.life_time * 45.0) * 0.5 : 0.0)", -4.8 ], + "rotation": [ -53.0, 8.0, 35.0 ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/breeze.animation.json b/resource_pack/animations/breeze.animation.json new file mode 100644 index 0000000..cb9524a --- /dev/null +++ b/resource_pack/animations/breeze.animation.json @@ -0,0 +1,274 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.breeze.idle_ground_particles": { + "loop": true, + "animation_length": 0.1, + "particle_effects": { + "0.0": { + "effect": "ground_particles", + "pre_effect_script": "variable.ground_particle_amount = 1; variable.ground_particle_initial_speed = math.random( 2, 3 ); variable.ground_particle_texture_coordinate = query.surface_particle_texture_coordinate; variable.ground_particle_texture_size = query.surface_particle_texture_size; variable.ground_particle_color = query.surface_particle_color;" + } + } + }, + "animation.breeze.slide_ground_particles": { + "loop": true, + "animation_length": 0.1, + "particle_effects": { + "0.0": { + "effect": "ground_particles", + "pre_effect_script": "variable.ground_particle_amount = 5; variable.ground_particle_initial_speed = math.random( 3, 4 ); variable.ground_particle_texture_coordinate = query.surface_particle_texture_coordinate; variable.ground_particle_texture_size = query.surface_particle_texture_size; variable.ground_particle_color = query.surface_particle_color;" + } + } + }, + "animation.breeze.whirl_sound": { + "loop": true, + "animation_length": 1.5, + "sound_effects": { + "0.0": { + "effect": "whirl" + } + } + }, + "animation.breeze.idle": { + "loop": true, + "animation_length": 2, + "bones": { + "tornado_top": { + "position": { + "0.0": [ 0.5, 0, 0 ], + "0.25": [ 0.5, 0, -0.5 ], + "0.75": [ -0.5, 0, -0.5 ], + "1.25": [ -0.5, 0, 0.5 ], + "1.75": [ 0.5, 0, 0.5 ], + "2.0": [ 0.5, 0, 0 ] + } + }, + "tornado_mid": { + "position": { + "0.0": [ 0.5, 0, -0.5 ], + "0.5": [ -0.5, 0, -0.5 ], + "1.0": [ -0.5, 0, 0.5 ], + "1.5": [ 0.5, 0, 0.5 ], + "2.0": [ 0.5, 0, -0.5 ] + } + }, + "head": { + "position": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 0, 1, 0 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "rods": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "2.0": [ 0, 1080, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.0": [ 0, -1, 0 ], + "2.0": [ 0, 0, 0 ] + } + } + } + }, + "animation.breeze.shoot": { + "animation_length": 1.125, + "bones": { + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ -12.5, 0, 0 ], + "0.75": [ -12.5, 0, 0 ], + "0.9167": [ 5, 0, 0 ], + "1.125": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, -2, 0 ], + "0.7917": [ 0, -1, 2 ], + "0.9583": [ 0, -1, 0 ], + "1.125": [ 0, 0, 0 ] + } + }, + "tornado_bottom": { + "rotation": [ 0, 0, 0 ] + }, + "tornado_mid": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 12.5, 0, 0 ], + "0.75": [ 12.5, 0, 0 ], + "0.9167": [ -10, 0, 0 ], + "1.125": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 0, 5 ], + "0.75": [ 0, 0, 6 ], + "0.9167": [ 0, 0, -2 ], + "1.125": [ 0, 0, 0 ] + } + }, + "tornado_top": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 15, 0, 0 ], + "0.75": [ 15, 0, 0 ], + "0.9167": [ -10, 0, 0 ], + "1.125": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 0, 3 ], + "0.8333": [ 0, 0, 4 ], + "0.9583": [ 0, 0, -2 ], + "1.125": [ 0, 0, 0 ] + } + }, + "body": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 12.5, 0, 0 ], + "0.75": [ 12.5, 0, 0 ], + "0.9167": [ -2.5, 0, 0 ], + "1.125": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 3, 5 ], + "0.8333": [ 0, 3, 6 ], + "0.9583": [ 0, 3, -1 ], + "1.125": [ 0, 0, 0 ] + } + }, + "rods": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.0": [ 0, 360, 0 ] + } + } + } + }, + "animation.breeze.jump": { + "animation_length": 1.125, + "bones": { + "body": { + "position": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 0, -10, 0 ], + "0.625": [ 0, -10, 0 ], + "0.75": [ 0, 11, 0 ], + "1.125": [ 0, 0, 0 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 22.5, 0, 0 ], + "0.625": [ 22.5, 0, 0 ], + "0.8333": [ -19.25, 0, 0 ], + "1.125": [ 0, 0, 0 ] + } + }, + "tornado_body": { + "scale": { + "0.0": [ 1, 1, 1 ], + "0.5": [ 1, 1, 1 ], + "0.625": [ 1, 1, 1 ], + "0.75": [ 1, 1.3, 1 ], + "1.125": [ 1, 1, 1 ] + } + }, + "tornado_bottom": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.625": [ 0, 90, 0 ], + "1.125": [ 0, 360, 0 ] + }, + "scale": { + "0.0": [ 1, 1, 1 ], + "0.5": [ 1, 1, 1 ], + "0.625": [ 1, 1, 1 ], + "0.75": [ 1, 1.1, 1 ], + "1.125": [ 1, 1, 1 ] + } + }, + "tornado_mid": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.625": [ 0, 0, 0 ], + "1.125": [ 0, 180, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 0, -6, 0 ], + "0.625": [ 0, -6, 0 ], + "0.75": [ 0, 2, 0 ], + "1.125": [ 0, 0, 0 ] + } + }, + "tornado_top": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.625": [ 0, 0, 0 ], + "1.125": [ 0, 90, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 0, -5, 0 ], + "0.625": [ 0, -5, 0 ], + "0.75": [ 0, 2, 0 ], + "1.125": [ 0, 0, 0 ] + } + }, + "rods": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.8333": [ 0, 360, 0 ] + } + } + }, + "particle_effects": { + "0.75": { + "effect": "ground_particles", + "pre_effect_script": "variable.ground_particle_amount = math.round(math.random( 3, 4)); variable.ground_particle_initial_speed = math.random( 5, 6 ); variable.ground_particle_texture_coordinate = query.surface_particle_texture_coordinate; variable.ground_particle_texture_size = query.surface_particle_texture_size; variable.ground_particle_color = query.surface_particle_color;" + } + } + }, + "animation.breeze.slide": { + "loop": "hold_on_last_frame", + "animation_length": 0.2, + "bones": { + "body": { + "position": { + "0.0": [ 0, 0, 0 ], + "0.2": [ 0, 0, -6 ] + } + }, + "tornado_mid": { + "position": { + "0.0": [ 0, 0, 0 ], + "0.2": [ 0, 0, -3 ] + } + }, + "tornado_top": { + "position": { + "0.0": [ 0, 0, 0 ], + "0.2": [ 0, 0, -2 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/camel.animation.json b/resource_pack/animations/camel.animation.json new file mode 100644 index 0000000..28e92da --- /dev/null +++ b/resource_pack/animations/camel.animation.json @@ -0,0 +1,803 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.camel.walk": { + "loop": true, + "animation_length": 1.5, + "anim_time_update": "query.anim_time + math.max(1.215, math.pow(10, query.modified_move_speed) / 2.9) * query.delta_time", + "bones": { + "root": { + "rotation": { + "0.0": { + "post": [ 0, 0, 1.75 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, -1.75 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 1.75 ], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [ 2.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ -2.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 2.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.125": { + "post": [ -2.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 2.5, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_front_leg": { + "rotation": { + "0.0": { + "post": [ 22.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ -22.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 22.5, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [ 0, 4, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_front_leg": { + "rotation": { + "0.0": { + "post": [ -22.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 22.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ -22.5, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.2083": { + "post": [ 0, 4, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_hind_leg": { + "rotation": { + "0.0": { + "post": [ -20.4, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 22.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.375": [ -22.5, 0, 0 ], + "1.5": [ -20.4, 0, 0 ] + }, + "position": { + "0.0": { + "post": [ 0, -0.21, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [ 0, 4, 0 ], + "lerp_mode": "catmullrom" + }, + "1.375": [ 0, 0, 0 ], + "1.5": [ 0, -0.21, 0 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": { + "post": [ 22.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [ -22.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 22.5, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 0, 4, 0 ], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_ear": { + "rotation": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 0, 0, 22.5 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.125": { + "post": [ 0, 0, 22.5 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_ear": { + "rotation": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 0, 0, -22.5 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.125": { + "post": [ 0, 0, -22.5 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "tail": { + "rotation": { + "0.0": { + "post": [ 15.94102, -8.42106, 20.94102 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 15.94102, 8.42106, -20.94102 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 15.94102, -8.42106, 20.94102 ], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.camel.stand_up": { + "loop": "hold_on_last_frame", + "animation_length": 2.6, + "bones": { + "body": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.7": { + "pre": [ -17.5, 0, 0 ], + "post": [ -17.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [ -17.83, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "2.3": [ -5.83, 0, 0 ], + "2.6": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, -19.9, 0 ], + "0.7": [ 0, -19.9, -3 ], + "1.4": { + "pre": [ 0, -12.76, -4 ], + "post": [ 0, -12.76, -4 ], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [ 0, -10.1, -4 ], + "lerp_mode": "catmullrom" + }, + "2.3": [ 0, -2.9, -2 ], + "2.6": [ 0, 0, 0 ] + } + }, + "right_front_leg": { + "rotation": { + "0.0": [ -90, 10, 0 ], + "0.5": [ -90, 10, 0 ], + "1.1": [ -49.06, 10, 0 ], + "1.8": [ -22.5, 10, 0 ], + "2.3": [ -25, 10, 0 ], + "2.6": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, -20.6, 12 ], + "0.5": [ 0, -20.6, 8 ], + "1.1": [ 0, -7.14, 4.42 ], + "1.8": [ 0, -1.27, -1.33 ], + "2.3": [ 0, -1.27, -0.33 ], + "2.6": [ 0, 0, 0 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": [ -90, -10, 0 ], + "0.5": [ -90, -10, 0 ], + "1.1": [ -49.06, -10, 0 ], + "1.8": [ -22.5, -10, 0 ], + "2.3": [ -25, -10, 0 ], + "2.6": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, -20.6, 12 ], + "0.5": [ 0, -20.6, 8 ], + "1.1": [ 0, -7.14, 4.42 ], + "1.8": [ 0, -1.27, -1.33 ], + "2.3": [ 0, -1.27, -0.33 ], + "2.6": [ 0, 0, 0 ] + } + }, + "left_hind_leg": { + "rotation": { + "0.0": [ -90, -15, 0 ], + "0.3": [ -90, 0, 0 ], + "0.6": [ -90, 0, 0 ], + "1.1": [ -60, 0, 0 ], + "1.9": [ 35, 0, 0 ], + "2.2": [ 30, 0, 0 ], + "2.6": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 1, -20.5, 5 ], + "0.3": [ -2, -20.5, 3 ], + "0.6": [ -2, -20.5, 3 ], + "1.1": [ -2, -10.5, 2 ], + "1.5": [ -2, -0.4, -3.9 ], + "1.9": [ -2, -4.3, -9.8 ], + "2.2": [ -1, -2.5, -5 ], + "2.6": [ 0, 0, 0 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": [ -90, 15, 0 ], + "0.3": [ -90, 0, 0 ], + "0.6": [ -90, 0, 0 ], + "1.1": [ -60, 0, 0 ], + "1.9": [ 35, 0, 0 ], + "2.2": [ 30, 0, 0 ], + "2.6": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ -1, -20.5, 5 ], + "0.3": [ 2, -20.5, 3 ], + "0.6": [ 2, -20.5, 3 ], + "1.1": [ 2, -10.5, 2 ], + "1.5": [ 2, -0.4, -3.9 ], + "1.9": [ 2, -4.3, -9.8 ], + "2.2": [ 1, -2.5, -5 ], + "2.6": [ 0, 0, 0 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.8": [ 55, 0, 0 ], + "2.0": [ 65, 0, 0 ], + "2.4": [ 0, 0, 0 ] + } + }, + "tail": { + "rotation": { + "0.0": [ 50, 0, 0 ], + "0.4": [ 55, 0, 0 ], + "0.9": [ 55, 0, 0 ], + "1.5": [ 17.5, 0, 0 ], + "2.6": [ 5, 0, 0 ] + } + }, + "left_ear": { + "rotation": { + "0.0": [ 0, 0, -45 ], + "2.6": [ 0, 0, -45 ] + } + }, + "right_ear": { + "rotation": { + "0.0": [ 0, 0, 45 ], + "2.6": [ 0, 0, 45 ] + } + } + }, + "sound_effects": { + "0.0": { + "effect": "stand_up" + } + } + }, + "animation.camel.dash": { + "animation_length": 0.5, + "loop": true, + "bones": { + "body": { + "rotation": { + "0.0": [ 5, 0, 0 ], + "0.5": [ 5, 0, 0 ] + } + }, + "tail": { + "rotation": { + "0.0": { + "post": [ 67.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.125": { + "post": [ 112.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [ 67.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 112.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ 67.5, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [ 10, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.125": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [ 10, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ 10, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_front_leg": { + "rotation": { + "0.0": { + "post": [ 44.97272, 1.76749, -1.76833 ], + "lerp_mode": "catmullrom" + }, + "0.125": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [ 44.97272, 1.76749, -1.76833 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ 44.97272, 1.76749, -1.76833 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_front_leg": { + "rotation": { + "0.0": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.125": { + "post": [ 44.97272, -1.76749, 1.76833 ], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 44.97272, -1.76749, 1.76833 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ -90, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_hind_leg": { + "rotation": { + "0.0": { + "post": [ 90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.125": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [ 90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ 90, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_hind_leg": { + "rotation": { + "0.0": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.125": { + "post": [ 90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 90, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ -45, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_ear": { + "rotation": { + "0.0": [ 0, -67.5, 0 ], + "0.5": [ 0, -67.5, 0 ] + } + }, + "right_ear": { + "rotation": { + "0.0": [ 0, 67.5, 0 ], + "0.5": [ 0, 67.5, 0 ] + } + } + } + }, + "animation.camel.dash_sound": { + "animation_length": 0.5, + "loop": false, + "sound_effects": { + "0.0": { + "effect": "dash" + } + } + }, + "animation.camel.idle": { + "loop": true, + "animation_length": 4, + "bones": { + "head": { + "rotation": [ "variable.xHeadRot", "variable.yHeadRot", 0 ] + }, + "tail": { + "rotation": { + "0.0": { + "post": [ 5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 4.98107, 0.43523, -4.98107 ], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [ 4.9872, -0.29424, 3.36745 ], + "lerp_mode": "catmullrom" + }, + "4.0": { + "post": [ 5, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_ear": { + "rotation": { + "0.0": { + "post": [ 0, 0, -45 ], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [ 0, 0, -45 ], + "lerp_mode": "catmullrom" + }, + "2.625": { + "post": [ 0, 0, 22.5 ], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [ 0, 0, -45 ], + "lerp_mode": "catmullrom" + }, + "2.875": { + "post": [ 0, 0, 22.5 ], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [ 0, 0, -45 ], + "lerp_mode": "catmullrom" + }, + "4.0": { + "post": [ 0, 0, -45 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_ear": { + "rotation": { + "0.0": { + "post": [ 0, 0, 45 ], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [ 0, 0, 45 ], + "lerp_mode": "catmullrom" + }, + "2.625": { + "post": [ 0, 0, -22.5 ], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [ 0, 0, 45 ], + "lerp_mode": "catmullrom" + }, + "2.875": { + "post": [ 0, 0, -22.5 ], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [ 0, 0, 45 ], + "lerp_mode": "catmullrom" + }, + "4.0": { + "post": [ 0, 0, 45 ], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.camel.sit_down": { + "loop": "hold_on_last_frame", + "animation_length": 2, + "bones": { + "body": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.3": [ 30, 0, 0 ], + "1.8": [ 24, 0, 0 ], + "2.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.3": [ 0, 0, 1 ], + "1.8": [ 0, -6, 1 ], + "2.0": [ 0, -19.9, 0 ] + } + }, + "right_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.0": [ -30, 0, 0 ], + "1.5": [ -30, 0, 0 ], + "2.0": [ -90, 10, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.0": [ 0, -2, 11 ], + "1.5": [ 0, -2, 11 ], + "1.7": [ 0, -8.4, 11.4 ], + "2.0": [ 0, -20.6, 12 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.0": [ -30, 0, 0 ], + "1.5": [ -30, 0, 0 ], + "2.0": [ -90, -10, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.0": [ 0, -2, 11 ], + "1.5": [ 0, -2, 11 ], + "1.7": [ 0, -8.4, 11.4 ], + "2.0": [ 0, -20.6, 12 ] + } + }, + "left_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "1.5": [ -10, 0, 0 ], + "1.7": [ -15, -3, 0 ], + "1.9": [ -65, -9, 0 ], + "2.0": [ -90, -15, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "1.5": [ 0, 0, 1 ], + "1.7": [ 1, -0.62, 0.25 ], + "1.9": [ 0.5, -11.25, 2.5 ], + "2.0": [ 1, -20.5, 5 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "1.5": [ -10, 0, 0 ], + "1.7": [ -15, 3, 0 ], + "1.9": [ -65, 9, 0 ], + "2.0": [ -90, 15, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "1.5": [ 0, 0, 1 ], + "1.7": [ -1, -0.62, 0.25 ], + "1.9": [ -0.5, -11.25, 2.5 ], + "2.0": [ -1, -20.5, 5 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.7": [ -27.5, 0, 0 ], + "1.5": [ -21.25, 0, 0 ], + "2.0": [ 0, 0, 0 ] + } + }, + "tail": { + "rotation": { + "0.0": [ 5, 0, 0 ], + "1.7": [ 5, 0, 0 ], + "1.9": [ 80, 0, 0 ], + "2.0": [ 50, 0, 0 ] + } + } + }, + "sound_effects": { + "0.0": { + "effect": "sit_down" + } + } + }, + "animation.camel.sit": { + "loop": true, + "bones": { + "body": { + "rotation": [ 0, 0, 0 ], + "position": [ 0, -19.9, 0 ] + }, + "right_front_leg": { + "rotation": [ -90, 10, 0 ], + "position": [ 0, -20.6, 12 ] + }, + "left_front_leg": { + "rotation": [ -90, -10, 0 ], + "position": [ 0, -20.6, 12 ] + }, + "left_hind_leg": { + "rotation": [ -90, -15, 0 ], + "position": [ 1, -20.5, 5 ] + }, + "right_hind_leg": { + "rotation": [ -90, 15, 0 ], + "position": [ -1, -20.5, 5 ] + }, + "tail": { + "rotation": [ 50, 0, 0 ] + } + } + } + } +} diff --git a/resource_pack/animations/cat.animation.json b/resource_pack/animations/cat.animation.json new file mode 100644 index 0000000..90c9c7f --- /dev/null +++ b/resource_pack/animations/cat.animation.json @@ -0,0 +1,165 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.cat.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "scale" : 1.5 + } + } + }, + "animation.cat.lie_down" : { + "loop" : true, + "bones" : { + "backlegl" : { + "position" : [ 0.0, -0.7, 0.0 ], + "rotation" : [ -22.92, 0.0, 0.0 ] + }, + "backlegr" : { + "position" : [ 0.1, -1.2, 0.0 ], + "rotation" : [ 28.65, 0.0, -28.65 ] + }, + "body" : { + "position" : [ 0.0, "variable.liedownamount * -4.5 + variable.lieonplayer * (4.5 + query.is_baby * 6)", 0.0 ], + "rotation" : [ 0.0, 0.0, "math.lerprotate(0.0, 90.0, variable.liedownamount)" ] + }, + "frontlegl" : { + "position" : [ 0.0, -1.0, -1.5 ], + "rotation" : [ -72.81, 0.0, 0.0 ] + }, + "frontlegr" : { + "position" : [ 0.2, -0.9, 0.0 ], + "rotation" : [ -30.0, 0.0, -14.46 ] + }, + "head" : { + "position" : [ -0.1, 0.0, -0.5 ], + "rotation" : [ -10.0, "math.lerprotate(this, 75.81, variable.liedownamount)", 0.0 ] + }, + "tail1" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "math.lerprotate(this, -33.84, variable.liedownamounttail)", 0.0, 0.0 ] + }, + "tail2" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "math.lerprotate(this, -68.92, variable.liedownamounttail)", 0.0, 0.0 ] + } + } + }, + "animation.cat.sit" : { + "loop" : true, + "bones" : { + "backlegl" : { + "position" : [ 0.0, 0.0, 1.0 ], + "rotation" : [ -45.0, 0.0, 0.0 ] + }, + "backlegr" : { + "position" : [ 0.0, 0.0, 1.0 ], + "rotation" : [ -45.0, 0.0, 0.0 ] + }, + "body" : { + "position" : [ 0.0, -1.0, 0.0 ], + "rotation" : [ -45.0, 0.0, 0.0 ] + }, + "frontlegl" : { + "position" : [ 0.0, -4.5, -1.0 ], + "rotation" : [ 42.15, 0.0, 0.0 ] + }, + "frontlegr" : { + "position" : [ 0.0, -4.5, -1.0 ], + "rotation" : [ 42.15, 0.0, 0.0 ] + }, + "tail1" : { + "position" : [ 0.0, -3.0, 1.0 ], + "rotation" : [ 45.0, 0.0, 0.0 ] + }, + "tail2" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ 45.0, 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -1.25, 0.0 ] + } + } + }, + "animation.cat.sneak" : { + "loop" : true, + "bones" : { + "backlegl" : { + "position" : [ 0.0, 1.0, 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "backlegr" : { + "position" : [ 0.0, 1.0, 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "body" : { + "position" : [ 0.0, -1.0, 0.0 ] + }, + "frontlegl" : { + "position" : [ 0.0, 1.0, 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegr" : { + "position" : [ 0.0, 1.0, 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -1.0, 0.0 ] + }, + "tail1" : { + "position" : [ 0.0, 1.0, 0.0 ] + }, + "tail2" : { + "rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 27.0 * query.modified_move_speed", 0.0, 0.0 ] + } + } + }, + "animation.cat.sprint" : { + "loop" : true, + "bones" : { + "backlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "backlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 17.19) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 197.19) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "tail1" : { + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "tail2" : { + "rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 18.0 * query.modified_move_speed", 0.0, 0.0 ] + } + } + }, + "animation.cat.walk" : { + "loop" : true, + "bones" : { + "backlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "backlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "tail1" : { + "rotation" : [ -51.57, 0.0, 0.0 ] + }, + "tail2" : { + "rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 45.0 * query.modified_move_speed", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/chicken.animation.json b/resource_pack/animations/chicken.animation.json new file mode 100644 index 0000000..2b5aab3 --- /dev/null +++ b/resource_pack/animations/chicken.animation.json @@ -0,0 +1,53 @@ +{ + "format_version" : "1.8.0", + "animations": { + "animation.chicken.general.v1.0": { + "loop": true, + "bones": { + "body": { + "rotation": [ "90.0 - this", 0.0, 0.0 ] + }, + "wing0": { + "rotation": [ 0.0, 0.0, "variable.wing_flap - this" ] + }, + "wing1": { + "rotation": [ 0.0, 0.0, "-variable.wing_flap - this" ] + } + } + }, + "animation.chicken.baby_transform": { + "loop": true, + "bones": { + "head": { + "scale": 2.0 + } + } + }, + "animation.chicken.general": { + "loop": true, + "bones": { + "body": { + "rotation": [ "-this", 0.0, 0.0 ] + }, + "wing0": { + "rotation": [ 0.0, 0.0, "variable.wing_flap - this" ] + }, + "wing1": { + "rotation": [ 0.0, 0.0, "-variable.wing_flap - this" ] + } + } + }, + "animation.chicken.move": { + "anim_time_update": "query.modified_distance_moved", + "loop": true, + "bones": { + "leg0": { + "rotation": [ "math.cos(query.anim_time * 38.17) * 80.0", 0.0, 0.0 ] + }, + "leg1": { + "rotation": [ "math.cos(query.anim_time * 38.17) * -80.0", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/cod.animation.json b/resource_pack/animations/cod.animation.json new file mode 100644 index 0000000..2ae198d --- /dev/null +++ b/resource_pack/animations/cod.animation.json @@ -0,0 +1,33 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.cod.flop" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * 2.0", "variable.zrot" ] + }, + "head" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * 4.0", 0.0 ] + }, + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * -25.75", 0.0 ] + } + } + }, + "animation.cod.swim" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * 2.0", 0.0 ] + }, + "head" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * 4.0", 0.0 ] + }, + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * -25.75", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/cow.animation.json b/resource_pack/animations/cow.animation.json new file mode 100644 index 0000000..55b4ffe --- /dev/null +++ b/resource_pack/animations/cow.animation.json @@ -0,0 +1,30 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.cow.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, 4.0, 4.0 ], + "scale" : 2.0 + } + } + }, + "animation.cow.setup" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", 0.0, 0.0 ] + } + } + }, + "animation.cow.setup.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "90 - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/creaking.animation.json b/resource_pack/animations/creaking.animation.json new file mode 100644 index 0000000..febb388 --- /dev/null +++ b/resource_pack/animations/creaking.animation.json @@ -0,0 +1,349 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.creaking.look_at_target": { + "loop": true, + "bones": { + "head": { + "relative_to": { + "rotation": "entity" + }, + "rotation": [ 0.0, "variable.y_head_rotation - this", 0.0 ] + } + } + }, + "animation.creaking.walk": { + "loop": true, + "animation_length": 1.125, + "anim_time_update": "query.anim_time + (1.6 - math.pow(1.6, 1.0 - 10.0 * query.modified_move_speed)) * query.delta_time", + "bones": { + "upperBody": { + "rotation": { + "0.0": [ 26.88023, -23.39896, -9.06159 ], + "0.125": [ -2.20932, 5.91189, 0.06747 ], + "0.5417": [ 23.07779, 14.2906, 4.60659 ], + "0.7083": [ -10, 0, 0 ], + "0.875": [ 7.5, 0, 0 ], + "1.125": [ 26.88023, -23.39896, -9.06159 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.0417": [ -17.5, -62.5, 0 ], + "0.0833": [ 0, 0, 0 ], + "0.4167": [ 0, 0, 0 ], + "0.4583": [ 0, 15, 0 ], + "0.5": [ 0, 0, 0 ], + "1.0417": [ 0, 0, 0 ], + "1.0833": [ -37.15324, 81.11306, -28.36208 ], + "1.125": [ 0, 0, 0 ] + } + }, + "rightArm": { + "rotation": { + "0.0": [ 12.5, 0, 0 ], + "0.25": [ -32, 0, 0 ], + "0.875": [ 12, 0, 0 ], + "1.125": [ -15, 0, 0 ] + } + }, + "leftArm": { + "rotation": { + "0.0": [ -15, 0, 0 ], + "0.125": [ 10, 0, 0 ], + "0.5417": [ -25, 0, 0 ], + "0.75": [ -9.0923, 0, 0 ], + "0.7917": [ -15.13695, -66.77576, 13.96033 ], + "0.8333": [ -9.0923, 0, 0 ], + "1.0": [ 10, 0, 0 ], + "1.125": [ -15, 0, 0 ] + } + }, + "leftLeg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 30, 0, 0 ], + "0.375": [ 49.8924, -3.82821, 3.21873 ], + "0.5": [ 17.5, 0, 0 ], + "0.625": [ -56.56134, -12.2403, -8.73739 ], + "0.9167": [ 0, 0, 0 ], + "1.125": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 2 ], + "0.25": [ 0, 0.18459, 0.59789 ], + "0.375": [ 0, -0.06651, -2.21766 ], + "0.5": [ 0, 1.3563, -4.34736 ], + "0.625": [ 0, 0.10465, -1.65559 ], + "0.9167": [ 0, 0, -1 ], + "1.125": [ 0, 0, 2 ] + } + }, + "rightLeg": { + "rotation": { + "0.0": [ 25.53051, 11.31255, 5.35254 ], + "0.125": [ -49.56283, 7.35559, 6.79333 ], + "0.25": [ 0, 0, 0 ], + "0.4583": [ 0, 0, 0 ], + "0.9167": [ 30, 0, 0 ], + "1.0417": [ 55, 0, 0 ], + "1.125": [ 25.53051, 11.31255, 5.35254 ] + }, + "position": { + "0.0": [ 0, 0.96738, -3.65785 ], + "0.125": [ 0, -0.29785, -0.94108 ], + "0.25": [ 0, -0.3, -0.94 ], + "0.4583": [ 0, -0.3, 1.06 ], + "1.125": [ 0, 0.96738, -3.65785 ] + } + } + } + }, + "animation.creaking.attack": { + "animation_length": 0.7083, + "bones": { + "upperBody": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ 0, 45, 0 ], + "0.1667": [ -115, 67.5, -90 ], + "0.375": [ 67.5, 0, 0 ], + "0.5417": [ 0, 45, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ 0, 0, 0 ], + "0.2917": [ 0, -2.77164, -1.14805 ], + "0.375": [ 0, 0, 0 ], + "0.5417": [ 0, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "scale": { + "0.0": [ 1, 1, 1 ], + "0.7083": [ 1, 1, 1 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, -45, 0 ], + "0.25": [ -11.25, -45, 0 ], + "0.2917": [ -117.39395, 76.63306, -130.14825 ], + "0.4167": [ -45, -45, 0 ], + "0.5": [ 60, -45, 0 ], + "0.5833": [ 60, -45, 0 ], + "0.625": [ 0, -45, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "0.4167": [ 0, 0, 0 ], + "0.5": [ 0.38268, 0.51328, -0.76818 ], + "0.5833": [ 0.38268, 0.51328, -0.76818 ], + "0.625": [ 0, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "scale": { + "0.1667": [ 1, 1, 1 ], + "0.4167": [ 1, 1, 1 ], + "0.5": [ 1, 1.3, 1 ], + "0.625": [ 1, 1, 1 ] + } + }, + "rightArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "0.25": [ 7.5, 0, 0 ], + "0.4583": [ 55, 0, 0 ], + "0.625": [ 0, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "0.625": [ 0, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + } + }, + "leftLeg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "0.625": [ 0, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, -2 ], + "0.625": [ 0, 0, -2 ], + "0.7083": [ 0, 0, 0 ] + } + }, + "rightLeg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 45, 0 ], + "0.625": [ 0, 45, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0.70711, 0, 0 ], + "0.625": [ 0.70711, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + } + }, + "leftArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "0.25": [ 10.34527, 14.76689, 2.66399 ], + "0.4583": [ 57.5, 0, 0 ], + "0.625": [ 0, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.7083": [ 0, 0, 0 ] + } + } + } + }, + "animation.creaking.sway": { + "animation_length": 0.275, + "bones": { + "upperBody": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ -5, 0, 0 ], + "0.1667": [ 5, 0, 0 ], + "0.25": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ 0, 0, 0 ], + "0.25": [ 0, 0, 0 ] + } + }, + "rightArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ 17.5, 0, 0 ], + "0.1667": [ -15, 0, 0 ], + "0.25": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 0, 0 ] + } + }, + "leftArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ 20, 0, 0 ], + "0.1667": [ -15, 0, 0 ], + "0.25": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.25": [ 0, 0, 0 ] + } + } + }, + "sound_effects": { + "0.0": { "effect": "sway" } + } + }, + "animation.creaking.twitch": { + "loop": "hold_on_last_frame", + "animation_length": 2.25, + "bones": { + "upperBody": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ -40, 0, 0 ], + "0.1667": [ -5, 0, 0 ], + "0.2917": [ 7.5, 0, 0 ], + "0.5833": [ 16.25, 0, 0 ], + "0.6667": [ 29.08139, 62.55164, 26.5771 ], + "0.75": [ 12.21154, 0, 0 ], + "1.0": [ 10.25, 0, 0 ], + "1.0417": [ -47.64, 0, 0 ], + "1.125": [ 21.96, 0, 0 ], + "1.25": [ 12.5, 0, 0 ], + "2.25": [ 17.32657, 7.90223, -0.13813 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ 0, 0.55701, 1.2659 ], + "0.1667": [ 0, -2.08889, -0.34932 ], + "0.2917": [ 0, 0, 0 ] + }, + "scale": { + "0.0": [ 1, 1, 1 ], + "0.0833": [ 1, 1.1, 1 ], + "0.1667": [ 1, 0.9, 1 ], + "0.2917": [ 1, 1, 1 ] + } + }, + "rightArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.2917": [ -10, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "1.25": [ -10, 0, 0 ], + "1.5417": [ -10, 0, 0 ], + "1.5833": [ -12.14787, -34.39275, 6.93255 ], + "1.6667": [ -10, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.2917": [ 0, 0, 0 ] + } + }, + "leftArm": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.2917": [ -10, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "0.8333": [ -4.44444, 0, 0 ], + "0.875": [ -26.74021, -78.83105, 26.30249 ], + "0.9583": [ -5.55556, 0, 0 ], + "1.25": [ -10, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.2917": [ 0, 0, 0 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.0833": [ -5, 0, 0 ], + "0.2917": [ 10, 0, 0 ], + "0.5": [ 2.5, 0, 0 ], + "0.5417": [ 5.5, 0, 0 ], + "0.5833": [ -67.41676, -12.95522, -8.02315 ], + "0.6667": [ 8.5, 0, 0 ], + "1.0": [ 10.77302, -29.56081, -5.36265 ], + "1.25": [ 10, 0, 0 ], + "1.7917": [ 10, 0, 0 ], + "1.8333": [ 12.96248, 39.27345, 8.29012 ], + "1.9167": [ 10, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.2917": [ 0, 0, 0 ] + } + } + }, + "sound_effects": { + "0.0": { "effect": "twitch" } + } + } + } +} diff --git a/resource_pack/animations/creeper.animation.json b/resource_pack/animations/creeper.animation.json new file mode 100644 index 0000000..06a59db --- /dev/null +++ b/resource_pack/animations/creeper.animation.json @@ -0,0 +1,45 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.creeper.legs" : { + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "variable.leg_rot - this", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "-variable.leg_rot - this", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ "-variable.leg_rot - this", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "variable.leg_rot - this", 0.0, 0.0 ] + } + } + }, + "animation.creeper.swelling" : { + "loop" : true, + "bones" : { + "body" : { + "scale" : [ "variable.swelling_scale1", "variable.swelling_scale2", "variable.swelling_scale1" ] + }, + "head" : { + "scale" : [ "variable.swelling_scale1", "variable.swelling_scale2", "variable.swelling_scale1" ] + }, + "leg0" : { + "scale" : [ "variable.swelling_scale1", "variable.swelling_scale2", "variable.swelling_scale1" ] + }, + "leg1" : { + "scale" : [ "variable.swelling_scale1", "variable.swelling_scale2", "variable.swelling_scale1" ] + }, + "leg2" : { + "scale" : [ "variable.swelling_scale1", "variable.swelling_scale2", "variable.swelling_scale1" ] + }, + "leg3" : { + "scale" : [ "variable.swelling_scale1", "variable.swelling_scale2", "variable.swelling_scale1" ] + } + } + } + } +} diff --git a/resource_pack/animations/crossbow.animation.json b/resource_pack/animations/crossbow.animation.json new file mode 100644 index 0000000..c15bcd5 --- /dev/null +++ b/resource_pack/animations/crossbow.animation.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.crossbow.wield": { + "loop": true, + "bones": { + "rightitem": { + "position": [ "c.is_first_person ? 13.0 : 0.5", "c.is_first_person ? 7.0 : -0.5", "c.is_first_person ? 2.0 : -1.5" ], + "rotation": [ "c.is_first_person ? -9.0 : 0.0", "c.is_first_person ? 60.0 : -3.0", "c.is_first_person ? -47.0 : 3.25" ] + } + } + }, + "animation.crossbow.wield_first_person_pull": { + "loop": true, + "bones": { + "rightitem": { + "position": [ 0.0, "0.0 + ( variable.charge_amount >= 1.0 ? math.sin( (q.life_time) * 1000.0 * 1.3) * 0.1 - math.sin(q.life_time * 45.0) * 0.25 : 0.0)", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/dolphin.animation.json b/resource_pack/animations/dolphin.animation.json new file mode 100644 index 0000000..2179f86 --- /dev/null +++ b/resource_pack/animations/dolphin.animation.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.dolphin.move" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "query.target_x_rotation - 2.865 + (-2.865 * math.cos(query.life_time * 343.8))", "query.target_y_rotation", 0.0 ] + }, + "left_fin" : { + "rotation" : [ 0.0, 0.0, "17.19 * math.cos(query.life_time * 229.2) + 22.92" ] + }, + "right_fin" : { + "rotation" : [ 0.0, 0.0, "-17.19 * math.cos(query.life_time * 229.2) - 22.92" ] + }, + "tail" : { + "rotation" : [ "-5.73 * math.cos(query.life_time * 343.8)", 0.0, 0.0 ] + }, + "tail_fin" : { + "rotation" : [ "-11.46 * math.cos(query.life_time * 343.8)", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_idle_arm_1.anim.json b/resource_pack/animations/dressing_room_idle_arm_1.anim.json new file mode 100644 index 0000000..f5d47b4 --- /dev/null +++ b/resource_pack/animations/dressing_room_idle_arm_1.anim.json @@ -0,0 +1,75 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.idle_arm_1": { + "loop": true, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "6.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 38, -16, -8 ], + "1.966667": [ 38, -16, -8 ], + "2.633333": [ 36, 5, 8 ], + "6.1": [ 36, 5, 8 ], + "6.666667": [ 38, -16, -8 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "6.666667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0.006729143, 0, 0 ], + "7.966667": [ 0.006729143, 0, 0 ] + }, + "rotation": { + "0": [ -47, 22, -29 ], + "7.966667": [ -47, 22, -29 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "7.966667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "7.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -48, -22, 30 ], + "7.966667": [ -48, -22, 30 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "7.966667": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, -0.08 ], + "0.2666667": [ 0, -0.002566265, -0.08 ], + "1.9": [ 0, -0.2459337, -0.08 ], + "2.066667": [ 0, -0.2459337, -0.08 ], + "4": [ 0, 0, -0.08 ], + "6": [ 0, -0.2459337, -0.08 ], + "6.166667": [ 0, -0.2459337, -0.08 ], + "7.966667": [ 0, 0, -0.08 ] + }, + "rotation": { + "0": [ -3, 0, 0 ], + "7.966667": [ -3, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "7.966667": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_idle_back_1.anim.json b/resource_pack/animations/dressing_room_idle_back_1.anim.json new file mode 100644 index 0000000..f47a2f5 --- /dev/null +++ b/resource_pack/animations/dressing_room_idle_back_1.anim.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.idle_back_1": { + "loop": true, + "bones": { + "head": { + "position": { + "0": [ 0, 9.818813E-15, 0.8 ] + }, + "rotation": { + "0": [ 3.53083, -100, -3.389118 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0.224, 0.016, 0 ], + "4": [ 0.224, 0.016, 0 ] + }, + "rotation": { + "0": [ 0, 0, -5 ], + "1.966667": [ 0, 0, -7 ], + "4": [ 0, 0, -5 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ -0.048, 0, -0.112 ], + "3.966667": [ -0.048, 0, -0.112 ] + }, + "rotation": { + "0": [ 0, 0, 0.5 ], + "1.966667": [ 0, 0, 2 ], + "3.966667": [ 0, 0, 0.5 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "3.966667": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "1.966667": [ -8.067334E-17, -0.2268292, 1.81515E-16 ], + "4": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -1, -14.5, -1 ], + "4": [ -1, -14.5, -1 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_idle_bottom_1.anim.json b/resource_pack/animations/dressing_room_idle_bottom_1.anim.json new file mode 100644 index 0000000..8f1ae65 --- /dev/null +++ b/resource_pack/animations/dressing_room_idle_bottom_1.anim.json @@ -0,0 +1,97 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.idle_bottom_1": { + "loop": true, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "4": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 45, 0, 0 ], + "4": [ 45, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "4": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -0.5, -5.5, -4.5 ], + "1.966667": [ 0.5, -5.5, -2 ], + "4": [ -0.5, -5.5, -4.5 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "4": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 22, 0, 5 ], + "1.966667": [ 22, 0, 3.5 ], + "4": [ 22, 0, 5 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, -0.626612, 0 ], + "1.966667": [ 5.392475E-17, -0.8694675, -8.088712E-17 ], + "4": [ 0, -0.626612, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "4": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 1.122774E-17, -0.288, -1.184 ], + "4": [ 1.122774E-17, -0.288, -1.184 ] + }, + "rotation": { + "0": [ -3, -1, 2.3 ], + "4": [ -3, -1, 2.3 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 1.122774E-17, 0, 0.144 ], + "4": [ 1.122774E-17, 0, 0.144 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "4": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "4": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_idle_torso_1.anim.json b/resource_pack/animations/dressing_room_idle_torso_1.anim.json new file mode 100644 index 0000000..2ca7fb4 --- /dev/null +++ b/resource_pack/animations/dressing_room_idle_torso_1.anim.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.idle_torso_1": { + "loop": true, + "bones": { + "leftArm": { + "position": { + "0": [ 0.001447716, 0, 0.06482641 ], + "1.966667": [ 0.001447716, 0, 0.064 ], + "3.966667": [ 0.001447716, 0, 0.064 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.966667": [ 0, 0, -1.440429 ], + "3.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "3.966667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0.06482641 ], + "1.966667": [ 0, 0, 0.064 ], + "3.966667": [ 0, 0, 0.064 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 1.44 ], + "3.966667": [ 0, 0, 0.00114829 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "3.966667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, -0.08 ], + "0.2666667": [ 0, -0.002566265, -0.08 ], + "1.9": [ 0, -0.2459337, -0.078494 ], + "2.066667": [ 0, -0.2459337, -0.078494 ], + "3.966667": [ 0, 0, -0.08 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "3.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "3.966667": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_arm_1.anim.json b/resource_pack/animations/dressing_room_react_arm_1.anim.json new file mode 100644 index 0000000..eda0e39 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_arm_1.anim.json @@ -0,0 +1,120 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_arm_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1": [ 0, 0, 0 ], + "0.3666667": [ 0, 0, 0 ], + "0.9333333": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "1.266667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 23.77785, 0, 0 ], + "0.1": [ 35.57776, 0, 0 ], + "0.3666667": [ 25.78184, -22.02923, -10.26911 ], + "0.9333333": [ 25.78184, -22.02923, -10.26911 ], + "1.033333": [ 31.72938, -10.19392, -2.345672 ], + "1.133333": [ 27.13305, -3.133592, 0.9167296 ], + "1.266667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1": [ 1, 1, 1 ], + "0.3666667": [ 1, 1, 1 ], + "0.9333333": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "1.266667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0.064, 0.7114162, -1.136 ], + "0.1666667": [ 0.064, 0.7114162, -1.136 ], + "0.4666667": [ 0.064, 0.7114162, -1.136 ], + "0.9666666": [ 0.064, 0.7114162, -1.136 ], + "1.033333": [ 0.04375, 0.4863196, -0.7765625 ], + "1.2": [ 0.01360243, 0.151203, -0.2414432 ], + "1.3": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -47.474, 22.39, -29.999 ], + "0.1666667": [ -47.474, 22.39, -29.999 ], + "0.4666667": [ -44.62285, -14.05358, 6.031578 ], + "0.9666666": [ -48.09274, 23.70926, -31.57911 ], + "1.033333": [ -34.34443, 12.37734, -27.52755 ], + "1.2": [ -10.79953, 3.531621, -9.34613 ], + "1.3": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.2": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0.0842235, -0.688 ], + "0.1666667": [ 0, 0.0842235, -0.688 ], + "0.4666667": [ 0, 0.0842235, -0.688 ], + "0.9666666": [ 0, 0.0842235, -0.688 ], + "1.033333": [ 0, 0.04211175, -0.344 ], + "1.2": [ 0, 0.01181471, -0.09651133 ], + "1.3": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -46.999, -21.726, 29.192 ], + "0.1666667": [ -46.999, -21.726, 29.192 ], + "0.4666667": [ -43.05416, 5.634744, 2.300441 ], + "0.9666666": [ -45.47208, -17.63913, 24.66349 ], + "1.033333": [ -23.84569, -4.829697, 21.64388 ], + "1.2": [ -6.815479, -0.9040274, 7.409485 ], + "1.3": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.2": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 0, 0, 0 ], + "1": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 3, 0, 0 ], + "0.2": [ -4.630877, 0, 0 ], + "1": [ -4.630877, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "1": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_arm_2.anim.json b/resource_pack/animations/dressing_room_react_arm_2.anim.json new file mode 100644 index 0000000..a3db035 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_arm_2.anim.json @@ -0,0 +1,123 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_arm_2": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1": [ 0, 0, 0 ], + "0.3666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ], + "1.566667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 23.77785, 0, 0 ], + "0.1": [ 35.57776, 0, 0 ], + "0.3666667": [ 25.78184, -22.02923, -10.26911 ], + "0.7666667": [ 25.78184, -22.02923, -10.26911 ], + "0.9666666": [ 30.39682, -14.59285, -24.85601 ], + "1.333333": [ 30.39682, -14.59285, -24.85601 ], + "1.566667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1": [ 1, 1, 1 ], + "0.3666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ], + "1.566667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0.064, 0.7114162, -1.136 ], + "0.4333333": [ 0.064, 0.7114162, -1.136 ], + "0.6333333": [ 0, -0.1151865, -1.422047 ], + "0.8": [ 0, -0.1151865, -1.422047 ], + "1.133333": [ 0, -0.1151865, -1.422047 ], + "1.266667": [ 0, -0.1151865, -1.422047 ], + "1.466667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -47.474, 22.39, -29.999 ], + "0.4333333": [ -47.474, 22.39, -29.999 ], + "0.6333333": [ -52.40366, -9.679371, -5.386291 ], + "0.8": [ -64.59595, -30.15643, 28.90456 ], + "1.133333": [ -51.62526, 4.945101, -23.91643 ], + "1.266667": [ -51.62526, 4.945101, -23.91643 ], + "1.466667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "1.266667": [ 1, 1, 1 ], + "1.466667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0.0842235, -0.688 ], + "0.06666667": [ 0, 0.0842235, -0.688 ], + "0.1666667": [ 0, 0.0842235, -0.688 ], + "0.4666667": [ 1.480597, -0.5160402, -2.912812 ], + "1.133333": [ 1.480597, -0.5160402, -2.912812 ], + "1.3": [ 1.480597, -0.5160402, -2.912812 ], + "1.366667": [ 0.8978547, -0.312934, -1.76637 ], + "1.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -46.999, -21.726, 29.192 ], + "0.06666667": [ -48.90333, -15.45438, 35.15172 ], + "0.1666667": [ -46.999, -21.726, 29.192 ], + "0.4666667": [ -12.59278, -37.30053, -57.27499 ], + "1.133333": [ -12.59278, -37.30053, -57.27499 ], + "1.3": [ -12.59278, -37.30053, -57.27499 ], + "1.366667": [ -27.75937, -22.80587, -35.32948 ], + "1.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.06666667": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ], + "1.5": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 0, 0, 0 ], + "1.233333": [ 0, 0, 0 ], + "1.6": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 3, 0, 0 ], + "0.2": [ -4.630877, 0, 0 ], + "1.233333": [ -4.630877, 0, 0 ], + "1.6": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "1.233333": [ 1, 1, 1 ], + "1.6": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_back_1.anim.json b/resource_pack/animations/dressing_room_react_back_1.anim.json new file mode 100644 index 0000000..9f4f73a --- /dev/null +++ b/resource_pack/animations/dressing_room_react_back_1.anim.json @@ -0,0 +1,155 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_back_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ -0.1283712, 9.818813E-15, 0.8891773 ], + "0.5333334": [ -0.1283712, 9.818813E-15, 0.8891773 ], + "0.8666667": [ -0.1283712, 0, 0.8891773 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -5.68629, -98.21507, 0 ], + "0.5333334": [ -12.86924, -98.21507, 0 ], + "0.8666667": [ -12.86924, -98.21507, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8666667": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ -2.131628E-16, -2.566836E-15, 1.565684 ], + "0.5333334": [ -1.476818E-16, -1.778336E-15, 1.084725 ], + "0.8666667": [ 0, 0, 1.084725 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 7.221964, -17.73903, -22.58269 ], + "0.5333334": [ 5.003466, -12.28982, -15.64557 ], + "0.8666667": [ 5.003466, -12.28982, -15.64557 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8666667": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8666667": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 5.224597 ], + "0.5333334": [ 0, 0, 3.619666 ], + "0.8666667": [ 0, 0, 3.619666 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8666667": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8666667": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ -1.965302, -24.63182, -3.859101 ], + "0.8666667": [ -1.965302, -24.63182, -3.859101 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8666667": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.366667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.366667": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_back_2.anim.json b/resource_pack/animations/dressing_room_react_back_2.anim.json new file mode 100644 index 0000000..063d7a1 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_back_2.anim.json @@ -0,0 +1,158 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_back_2": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6666667": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "0.9": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.4666667": [ -2.764616, -29.19352, -7.667969 ], + "0.6666667": [ 1.370449, -30.81043, -4.31519 ], + "0.8": [ 1.370449, -30.81043, -4.31519 ], + "0.9": [ 1.370449, -30.81043, -4.31519 ], + "1.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "0.9": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, -0.6400242, -0.5626894 ], + "0.3": [ 0, 0.7641607, -0.6613559 ], + "0.4333333": [ 0, 0.9153641, 1.061251 ], + "0.5666667": [ 0, -0.1794864, 1.28897 ], + "0.7": [ 0, 0, 0 ], + "1": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, -4.523382 ], + "0.3": [ -7.115461, 12.15687, -15.00679 ], + "0.4333333": [ 7.703732, 1.186795, -18.00432 ], + "0.5666667": [ 0, 0, -10.60886 ], + "0.7": [ -2.098745, -0.057956, -4.194841 ], + "1": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.5666667": [ 1, 1, 1 ], + "0.7": [ 1, 1, 1 ], + "1": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, -0.6400242, -0.5626894 ], + "0.3": [ 0, 0.7641607, -0.6613559 ], + "0.4333333": [ 0, 0.9153641, 1.061251 ], + "0.5666667": [ 0, -0.1794864, 1.28897 ], + "0.7": [ 0, 0, 0 ], + "1": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 5.334206 ], + "0.3": [ -6.659491, -15.24031, 16.76609 ], + "0.4333333": [ 9.271987, 0, 16.76609 ], + "0.5666667": [ 0, 0, 6.267752 ], + "0.7": [ -6.913653, 0, 2.643217 ], + "1": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.5666667": [ 1, 1, 1 ], + "0.7": [ 1, 1, 1 ], + "1": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4333333": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.614036, 0, 0 ], + "0.4333333": [ -7.371233, 0, 0 ], + "0.6": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_bored_1.anim.json b/resource_pack/animations/dressing_room_react_bored_1.anim.json new file mode 100644 index 0000000..101a2b8 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bored_1.anim.json @@ -0,0 +1,176 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bored_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4663189, 0.08770285 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.133333": [ -10.65147, 0, 0 ], + "2.733333": [ -19.93827, 0, 0 ], + "3.033333": [ -0.5150262, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ 0.06847557, 3.063873, -0.09082612 ], + "2.733333": [ -0.1676165, 4.544347, 0.2452852 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.644, -1.949634, -8.62342 ], + "2.733333": [ -205.3233, -1.949634, -8.62342 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ -0.06834411, 3.063853, -0.09083065 ], + "2.733333": [ 0.1672947, 4.544396, 0.2452963 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.6446, 1.945889, 8.606719 ], + "2.733333": [ -205.3239, 1.945889, 8.606719 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4660488, 0.1191077 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 8.679557, 0, 0 ], + "1.133333": [ -14.33616, 0, 0 ], + "2.733333": [ -14.33616, 0, 0 ], + "3.033333": [ 1.509082, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0, 0 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -3.144116, 0, 0 ], + "1.133333": [ 10.76436, 0, 0 ], + "2.733333": [ 6.784551, 0, 0 ], + "3.033333": [ -5.019835, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_bored_arm_1.anim.json b/resource_pack/animations/dressing_room_react_bored_arm_1.anim.json new file mode 100644 index 0000000..4d58575 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bored_arm_1.anim.json @@ -0,0 +1,176 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bored_arm_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4663189, 0.08770285 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.133333": [ -10.65147, 0, 0 ], + "2.733333": [ -19.93827, 0, 0 ], + "3.033333": [ -0.5150262, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ 0.06847557, 3.063873, -0.09082612 ], + "2.733333": [ -0.1676165, 4.544347, 0.2452852 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.644, -1.949634, -8.62342 ], + "2.733333": [ -205.3233, -1.949634, -8.62342 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ -0.06834411, 3.063853, -0.09083065 ], + "2.733333": [ 0.1672947, 4.544396, 0.2452963 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.6446, 1.945889, 8.606719 ], + "2.733333": [ -205.3239, 1.945889, 8.606719 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4660488, 0.1191077 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 8.679557, 0, 0 ], + "1.133333": [ -14.33616, 0, 0 ], + "2.733333": [ -14.33616, 0, 0 ], + "3.033333": [ 1.509082, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0, 0 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -3.144116, 0, 0 ], + "1.133333": [ 10.76436, 0, 0 ], + "2.733333": [ 6.784551, 0, 0 ], + "3.033333": [ -5.019835, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_bored_back_1.anim.json b/resource_pack/animations/dressing_room_react_bored_back_1.anim.json new file mode 100644 index 0000000..38f8e9f --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bored_back_1.anim.json @@ -0,0 +1,176 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bored_back_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4663189, 0.08770285 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.133333": [ -10.65147, 0, 0 ], + "2.733333": [ -19.93827, 0, 0 ], + "3.033333": [ -0.5150262, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ 0.06847557, 3.063873, -0.09082612 ], + "2.733333": [ -0.1676165, 4.544347, 0.2452852 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.644, -1.949634, -8.62342 ], + "2.733333": [ -205.3233, -1.949634, -8.62342 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ -0.06834411, 3.063853, -0.09083065 ], + "2.733333": [ 0.1672947, 4.544396, 0.2452963 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.6446, 1.945889, 8.606719 ], + "2.733333": [ -205.3239, 1.945889, 8.606719 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4660488, 0.1191077 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 8.679557, 0, 0 ], + "1.133333": [ -14.33616, 0, 0 ], + "2.733333": [ -14.33616, 0, 0 ], + "3.033333": [ 1.509082, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0, 0 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -3.144116, 0, 0 ], + "1.133333": [ 10.76436, 0, 0 ], + "2.733333": [ 6.784551, 0, 0 ], + "3.033333": [ -5.019835, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_bored_bottom_1.anim.json b/resource_pack/animations/dressing_room_react_bored_bottom_1.anim.json new file mode 100644 index 0000000..b243cd2 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bored_bottom_1.anim.json @@ -0,0 +1,176 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bored_bottom_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4663189, 0.08770285 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.133333": [ -10.65147, 0, 0 ], + "2.733333": [ -19.93827, 0, 0 ], + "3.033333": [ -0.5150262, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ 0.06847557, 3.063873, -0.09082612 ], + "2.733333": [ -0.1676165, 4.544347, 0.2452852 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.644, -1.949634, -8.62342 ], + "2.733333": [ -205.3233, -1.949634, -8.62342 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ -0.06834411, 3.063853, -0.09083065 ], + "2.733333": [ 0.1672947, 4.544396, 0.2452963 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.6446, 1.945889, 8.606719 ], + "2.733333": [ -205.3239, 1.945889, 8.606719 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4660488, 0.1191077 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 8.679557, 0, 0 ], + "1.133333": [ -14.33616, 0, 0 ], + "2.733333": [ -14.33616, 0, 0 ], + "3.033333": [ 1.509082, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0, 0 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -3.144116, 0, 0 ], + "1.133333": [ 10.76436, 0, 0 ], + "2.733333": [ 6.784551, 0, 0 ], + "3.033333": [ -5.019835, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_bored_head_1.anim.json b/resource_pack/animations/dressing_room_react_bored_head_1.anim.json new file mode 100644 index 0000000..0d016a6 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bored_head_1.anim.json @@ -0,0 +1,176 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bored_head_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4663189, 0.08770285 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.133333": [ -10.65147, 0, 0 ], + "2.733333": [ -19.93827, 0, 0 ], + "3.033333": [ -0.5150262, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ 0.06847557, 3.063873, -0.09082612 ], + "2.733333": [ -0.1676165, 4.544347, 0.2452852 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.644, -1.949634, -8.62342 ], + "2.733333": [ -205.3233, -1.949634, -8.62342 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ -0.06834411, 3.063853, -0.09083065 ], + "2.733333": [ 0.1672947, 4.544396, 0.2452963 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.6446, 1.945889, 8.606719 ], + "2.733333": [ -205.3239, 1.945889, 8.606719 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4660488, 0.1191077 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 8.679557, 0, 0 ], + "1.133333": [ -14.33616, 0, 0 ], + "2.733333": [ -14.33616, 0, 0 ], + "3.033333": [ 1.509082, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0, 0 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -3.144116, 0, 0 ], + "1.133333": [ 10.76436, 0, 0 ], + "2.733333": [ 6.784551, 0, 0 ], + "3.033333": [ -5.019835, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_bored_torso_1.anim.json b/resource_pack/animations/dressing_room_react_bored_torso_1.anim.json new file mode 100644 index 0000000..6bc3db2 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bored_torso_1.anim.json @@ -0,0 +1,176 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bored_torso_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4663189, 0.08770285 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.133333": [ -10.65147, 0, 0 ], + "2.733333": [ -19.93827, 0, 0 ], + "3.033333": [ -0.5150262, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ 0.06847557, 3.063873, -0.09082612 ], + "2.733333": [ -0.1676165, 4.544347, 0.2452852 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.644, -1.949634, -8.62342 ], + "2.733333": [ -205.3233, -1.949634, -8.62342 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 1.541185, 0.8673859 ], + "1.133333": [ -0.06834411, 3.063853, -0.09083065 ], + "2.733333": [ 0.1672947, 4.544396, 0.2452963 ], + "3.133333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ -192.6446, 1.945889, 8.606719 ], + "2.733333": [ -205.3239, 1.945889, 8.606719 ], + "3.133333": [ 51.68896, 0, 0 ], + "3.5": [ -11.78692, 0, 0 ], + "3.666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.133333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ], + "3.666667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0.4660488, 0.1191077 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 8.679557, 0, 0 ], + "1.133333": [ -14.33616, 0, 0 ], + "2.733333": [ -14.33616, 0, 0 ], + "3.033333": [ 1.509082, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.133333": [ 0, 0, 0 ], + "2.733333": [ 0, 0, 0 ], + "3.033333": [ 0, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -3.144116, 0, 0 ], + "1.133333": [ 10.76436, 0, 0 ], + "2.733333": [ 6.784551, 0, 0 ], + "3.033333": [ -5.019835, 0, 0 ], + "3.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.133333": [ 1, 1, 1 ], + "2.733333": [ 1, 1, 1 ], + "3.033333": [ 1, 1, 1 ], + "3.5": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_bottom_1.anim.json b/resource_pack/animations/dressing_room_react_bottom_1.anim.json new file mode 100644 index 0000000..2e8bbd3 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bottom_1.anim.json @@ -0,0 +1,91 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bottom_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "1.3": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 26.2671, 0, 0 ], + "1.3": [ 26.2671, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2333333": [ 0, 0, 0 ], + "0.4": [ 0, 0, 0 ], + "1.3": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2333333": [ 0, 0, 0 ], + "0.4": [ 4.184879, 0, 0 ], + "1.3": [ 4.184879, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2333333": [ 1, 1, 1 ], + "0.4": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.06666667": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ], + "1.266667": [ 0, 0, 0 ], + "1.5": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.06666667": [ 6.050351, 0, 0 ], + "0.3": [ -38.33161, 0, 0 ], + "0.4666667": [ -38.33161, 0, 0 ], + "0.7": [ -39.36071, 12.05625, -9.72207 ], + "0.8": [ -39.36071, 12.05625, -9.72207 ], + "0.9666666": [ -38.3325, -0.3595352, 0.2842709 ], + "1.166667": [ -38.86629, -8.744014, 6.984908 ], + "1.266667": [ -38.86629, -8.744014, 6.984908 ], + "1.5": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.06666667": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.266667": [ 1, 1, 1 ], + "1.5": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_bottom_2.anim.json b/resource_pack/animations/dressing_room_react_bottom_2.anim.json new file mode 100644 index 0000000..67a63e5 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bottom_2.anim.json @@ -0,0 +1,232 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bottom_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 1.066662, 1.007835, -1.080186 ], + "0.5333334": [ 1.066662, 1.007835, -1.080186 ], + "0.6666667": [ 0.2944333, 0.7015443, -0.3851034 ], + "0.8": [ -0.6888477, 0.3838474, -1.957477 ], + "1.033333": [ -0.6888477, 0.3838474, -1.957477 ], + "1.166667": [ -0.2872561, 0.1600681, -0.8162867 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 47.94987, -51.92554, -5.973268 ], + "0.5333334": [ 47.94987, -51.92554, -5.973268 ], + "0.6666667": [ 43.80806, 5.319215, -0.3183346 ], + "0.8": [ 39.66625, 62.56398, 5.336598 ], + "1.033333": [ 39.66625, 62.56398, 5.336598 ], + "1.166667": [ 1.836954, 25.71018, -0.2125157 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0.333818, -0.02679555, 1.395765 ], + "0.5333334": [ 0.333818, -0.02679555, 1.395765 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 15.57593, -24.64598, -20.06145 ], + "0.5333334": [ 15.57593, -24.64598, -20.06145 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 1.56607 ], + "1.033333": [ 0, 0, 1.56607 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 24.26954, 30.84209, 31.3994 ], + "1.033333": [ 24.26954, 30.84209, 31.3994 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -3.096077, 15.78814, 10.31599 ], + "0.5333334": [ -3.096077, 15.78814, 10.31599 ], + "0.8": [ -6.4008, -17.76641, -7.294467 ], + "1.033333": [ -6.4008, -17.76641, -7.294467 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 4.874241, -6.907958 ], + "0.5333334": [ 0, 4.874241, -6.907958 ], + "0.8": [ 1.215341, -10.5478, 7.025933 ], + "1.033333": [ 1.215341, -10.5478, 7.025933 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_bottom_3.anim.json b/resource_pack/animations/dressing_room_react_bottom_3.anim.json new file mode 100644 index 0000000..1cc90d9 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_bottom_3.anim.json @@ -0,0 +1,211 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_bottom_3": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, -0.7588844, 0 ], + "0.2": [ 0, 0.1861154, -0.02458102 ], + "0.9": [ 0, 0.1861154, -0.02458102 ], + "1.066667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 34.40331, 0, 0 ], + "0.9": [ 34.40331, 0, 0 ], + "1.066667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.9": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 2.55507, 2.484808E-17, 5.722229 ], + "0.2": [ -5.890717, -52.90703, -92.67361 ], + "0.5": [ -5.890717, -52.90703, -92.67361 ], + "0.6333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.5": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 0, 0, 0 ], + "0.5": [ 0, 0, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 2.721228, 0, -6.398397 ], + "0.2": [ -33.14913, 63.71946, 70.10081 ], + "0.5": [ -33.14913, 63.71946, 70.10081 ], + "0.6333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.5": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, -0.9438915, 0 ], + "0.2": [ 0, 0.3543307, 0 ], + "0.4333333": [ 0, 0.3543307, 0 ], + "0.5666667": [ 0, -0.5950254, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 0, 0, 0 ], + "0.4333333": [ 0, 0, 0 ], + "0.5666667": [ 0, 0, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.5666667": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.1333333": [ -0.1549151, -2.063268, -0.1653927 ], + "0.2": [ 0, 0, 0 ], + "0.4333333": [ 0, 0, 0 ], + "0.5333334": [ -0.5033563, -2.070076, 0 ], + "0.5666667": [ 0, 0.8542442, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1333333": [ -4.670732, 11.89318, 3.329221 ], + "0.2": [ -8.325117E-16, 17.23295, 33.68845 ], + "0.4333333": [ 0, 17.23295, 33.68845 ], + "0.5333334": [ 0, 0, 4.174468 ], + "0.5666667": [ 0, 0, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1333333": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.5666667": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.1333333": [ 0.1743061, -2.23301, -0.2291534 ], + "0.2": [ 0, 0, 0 ], + "0.4333333": [ 0, 0, 0 ], + "0.5333334": [ 0.3760091, -1.890675, 0 ], + "0.5666667": [ 0, 0.8542442, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1333333": [ -5.846446, 2.332592, -4.702169 ], + "0.2": [ -8.495675, -3.975693E-16, -35.61169 ], + "0.4333333": [ -8.495675, 0, -35.61169 ], + "0.5333334": [ 0, 0, -7.4502 ], + "0.5666667": [ 0, 0, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1333333": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.5666667": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 0, 3.287701, 0 ], + "0.4333333": [ 0, 4.313436, 0 ], + "0.5666667": [ 0, -0.8886529, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.2": [ 0, 0, 0 ], + "0.4333333": [ 0, 0, 0 ], + "0.5666667": [ 0, 0, 0 ], + "0.6333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.5666667": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_confirm_1.anim.json b/resource_pack/animations/dressing_room_react_confirm_1.anim.json new file mode 100644 index 0000000..a6d8aa8 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_confirm_1.anim.json @@ -0,0 +1,287 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_confirm_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -0.2853151, 0, 0 ], + "0.06666667": [ -1.067631, 0, 0 ], + "0.1": [ -2.236502, 0, 0 ], + "0.1333333": [ -3.681485, 0, 0 ], + "0.1666667": [ -5.292135, 0, 0 ], + "0.2": [ -6.958007, 0, 0 ], + "0.2333333": [ -8.568657, 0, 0 ], + "0.2666667": [ -10.01364, 0, 0 ], + "0.3": [ -11.18251, 0, 0 ], + "0.3333333": [ -11.96483, 0, 0 ], + "0.3666667": [ -12.25014, 0, 0 ], + "1.133333": [ -12.25014, 0, 0 ], + "1.166667": [ -11.49318, 0, 0 ], + "1.2": [ -9.571321, 0, 0 ], + "1.233333": [ -7.008153, 0, 0 ], + "1.266667": [ -4.32724, 0, 0 ], + "1.3": [ -2.052154, 0, 0 ], + "1.333333": [ -0.7064654, 0, 0 ], + "1.533333": [ -0.7064654, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -4.186964, 0.0003717589, -0.09218756 ], + "0.06666667": [ -15.66735, 0.001391098, -0.3449599 ], + "0.1": [ -32.82039, 0.00291411, -0.7226316 ], + "0.1333333": [ -54.02534, 0.004796889, -1.189517 ], + "0.1666667": [ -77.66142, 0.006895528, -1.709931 ], + "0.2": [ -102.1079, 0.009066121, -2.248187 ], + "0.2333333": [ -125.744, 0.01116476, -2.768601 ], + "0.2666667": [ -146.9489, 0.01304754, -3.235486 ], + "0.3": [ -164.102, 0.01457055, -3.613158 ], + "0.3333333": [ -175.5824, 0.01558989, -3.86593 ], + "0.3666667": [ -179.7693, 0.01596165, -3.958118 ], + "1.233333": [ -179.7693, 0.01596165, -3.958118 ], + "1.266667": [ -173.3824, -3.025021, -3.962731 ], + "1.3": [ -156.7265, -10.27659, -3.973731 ], + "1.333333": [ -133.5588, -18.9317, -3.98686 ], + "1.366667": [ -107.6364, -26.18327, -3.997859 ], + "1.4": [ -82.71649, -29.22425, -4.002472 ], + "1.433333": [ -49.53378, -23.99643, -3.249104 ], + "1.466667": [ -12.17811, -12.89598, -1.674531 ], + "1.5": [ 5.560458, -2.797451, -0.3070539 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -4.186971, -0.0004647797, 0.1153063 ], + "0.06666667": [ -15.66738, -0.001739176, 0.4314689 ], + "0.1": [ -32.82045, -0.003643273, 0.9038529 ], + "0.1333333": [ -54.02543, -0.005997158, 1.487824 ], + "0.1666667": [ -77.66156, -0.008620915, 2.138747 ], + "0.2": [ -102.1081, -0.01133463, 2.811987 ], + "0.2333333": [ -125.7442, -0.01395839, 3.46291 ], + "0.2666667": [ -146.9492, -0.01631227, 4.046881 ], + "0.3": [ -164.1022, -0.01821637, 4.519265 ], + "0.3333333": [ -175.5827, -0.01949076, 4.835427 ], + "0.3666667": [ -179.7696, -0.01995554, 4.950734 ], + "1.233333": [ -179.7696, -0.01995554, 4.950734 ], + "1.266667": [ -173.5079, 2.750861, 5.10127 ], + "1.3": [ -157.1519, 9.358192, 5.46024 ], + "1.333333": [ -134.3454, 17.24436, 5.888688 ], + "1.366667": [ -108.7319, 23.85169, 6.247658 ], + "1.4": [ -83.95527, 26.62251, 6.398194 ], + "1.433333": [ -50.50823, 21.44376, 5.286608 ], + "1.466667": [ -12.63807, 10.7625, 2.917558 ], + "1.5": [ 5.379848, 1.86125, 0.7396061 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -0.05803267, 0, 0 ], + "0.06666667": [ -0.2171545, 0, 0 ], + "0.1": [ -0.4549013, 0, 0 ], + "0.1333333": [ -0.7488087, 0, 0 ], + "0.1666667": [ -1.076412, 0, 0 ], + "0.2": [ -1.415248, 0, 0 ], + "0.2333333": [ -1.742852, 0, 0 ], + "0.2666667": [ -2.03676, 0, 0 ], + "0.3": [ -2.274506, 0, 0 ], + "0.3333333": [ -2.433628, 0, 0 ], + "0.3666667": [ -2.491661, 0, 0 ], + "1.133333": [ -2.491661, 0, 0 ], + "1.166667": [ -1.891017, 0, 0 ], + "1.2": [ -0.3894076, 0, 0 ], + "1.233333": [ 1.562685, 0, 0 ], + "1.266667": [ 3.514777, 0, 0 ], + "1.3": [ 5.016387, 0, 0 ], + "1.333333": [ 5.617031, 0, 0 ], + "1.366667": [ 5.200954, 0, 0 ], + "1.4": [ 4.160763, 0, 0 ], + "1.433333": [ 2.808515, 0, 0 ], + "1.466667": [ 1.456267, 0, 0 ], + "1.5": [ 0.4160763, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -1.82788, -0.1297397, -0.1974937 ], + "0.06666667": [ -6.541684, -0.4643316, -0.7073345 ], + "0.1": [ -12.98666, -0.9218348, -1.405562 ], + "0.1333333": [ -20.00806, -1.420308, -2.168216 ], + "0.1666667": [ -26.45112, -1.877812, -2.871336 ], + "0.2": [ -31.1611, -2.212404, -3.390962 ], + "0.2333333": [ -32.98323, -2.342143, -3.603133 ], + "0.2666667": [ -33.03419, -2.342143, -3.61886 ], + "0.3": [ -33.19387, -2.342143, -3.631911 ], + "0.3333333": [ -33.45243, -2.342143, -3.642465 ], + "0.3666667": [ -33.80001, -2.342143, -3.6507 ], + "0.4": [ -34.22673, -2.342143, -3.656794 ], + "0.4333333": [ -34.72276, -2.342143, -3.660927 ], + "0.4666667": [ -35.27821, -2.342143, -3.663275 ], + "0.5": [ -35.88324, -2.342143, -3.664018 ], + "0.5333334": [ -36.52799, -2.342143, -3.663335 ], + "0.5666667": [ -37.20259, -2.342143, -3.661402 ], + "0.6": [ -37.8972, -2.342143, -3.6584 ], + "0.6333333": [ -38.60194, -2.342143, -3.654505 ], + "0.6666667": [ -39.30696, -2.342143, -3.649897 ], + "0.7": [ -40.0024, -2.342143, -3.644754 ], + "0.7333333": [ -40.6784, -2.342143, -3.639254 ], + "0.7666667": [ -41.3251, -2.342143, -3.633576 ], + "0.8": [ -41.93265, -2.342143, -3.627898 ], + "0.8333333": [ -42.49117, -2.342143, -3.622398 ], + "0.8666667": [ -42.99082, -2.342143, -3.617255 ], + "0.9": [ -43.42173, -2.342143, -3.612647 ], + "0.9333333": [ -43.77405, -2.342143, -3.608752 ], + "0.9666666": [ -44.03791, -2.342143, -3.60575 ], + "1": [ -44.20346, -2.342143, -3.603817 ], + "1.033333": [ -44.26083, -2.342143, -3.603133 ], + "1.333333": [ -44.26083, -2.342143, -3.603133 ], + "1.366667": [ -38.65631, -2.427935, -4.458459 ], + "1.4": [ -26.84281, -2.587263, -6.04692 ], + "1.433333": [ -16.32041, -2.673055, -6.902245 ], + "1.466667": [ -8.810615, -1.980041, -5.112774 ], + "1.5": [ -2.591928, -0.6930143, -1.789471 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, -26.49407, 0 ], + "0.06666667": [ 0, -51.71095, 0 ], + "0.1": [ 0, -75.67998, 0 ], + "0.1333333": [ 0, -98.43049, 0 ], + "0.1666667": [ 0, -119.9918, 0 ], + "0.2": [ 0, -140.3933, 0 ], + "0.2333333": [ 0, -159.6643, 0 ], + "0.2666667": [ 0, -177.8341, 0 ], + "0.3": [ 0, -194.932, 0 ], + "0.3333333": [ 0, -210.9874, 0 ], + "0.3666667": [ 0, -226.0297, 0 ], + "0.4": [ 0, -240.0881, 0 ], + "0.4333333": [ 0, -253.192, 0 ], + "0.4666667": [ 0, -265.3708, 0 ], + "0.5": [ 0, -276.6537, 0 ], + "0.5333334": [ 0, -287.0701, 0 ], + "0.5666667": [ 0, -296.6494, 0 ], + "0.6": [ 0, -305.4208, 0 ], + "0.6333333": [ 0, -313.4137, 0 ], + "0.6666667": [ 0, -320.6575, 0 ], + "0.7": [ 0, -327.1814, 0 ], + "0.7333333": [ 0, -333.0149, 0 ], + "0.7666667": [ 0, -338.1871, 0 ], + "0.8": [ 0, -342.7276, 0 ], + "0.8333333": [ 0, -346.6656, 0 ], + "0.8666667": [ 0, -350.0304, 0 ], + "0.9": [ 0, -352.8514, 0 ], + "0.9333333": [ 0, -355.1579, 0 ], + "0.9666666": [ 0, -356.9793, 0 ], + "1": [ 0, -358.3448, 0 ], + "1.033333": [ 0, -359.2839, 0 ], + "1.066667": [ 0, -359.8259, 0 ], + "1.1": [ 0, -360, 0 ], + "1.533333": [ 0, -360, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_confirm_2.anim.json b/resource_pack/animations/dressing_room_react_confirm_2.anim.json new file mode 100644 index 0000000..2421bab --- /dev/null +++ b/resource_pack/animations/dressing_room_react_confirm_2.anim.json @@ -0,0 +1,271 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_confirm_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, -1.123402, 1.776357E-17 ], + "0.1666667": [ 0, 1.416424, 0 ], + "0.2666667": [ 0, 0.2614985, 0 ], + "0.4": [ 0, 0.2614985, 0 ], + "0.6": [ 0.8519766, -0.6492984, -1.267829 ], + "0.8333333": [ 0.8519766, -0.6492984, -1.267829 ], + "1.033333": [ 0.3660436, -0.7288367, -1.458596 ], + "1.266667": [ -0.2463719, -0.8304141, -1.699017 ], + "1.666667": [ -0.24, -0.832, -1.696 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.2666667": [ 9.237998, 0, 0 ], + "0.4": [ 9.237998, 0, 0 ], + "0.6": [ 35.46358, -32.03178, -9.150302 ], + "0.8333333": [ 35.46358, -32.03178, -9.150302 ], + "1.033333": [ 54.2484, -4.475204, -0.5737035 ], + "1.266667": [ 32.47406, 29.21371, 12.28337 ], + "1.666667": [ 27.25324, 34.95906, 15.73856 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "0.4": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.8333333": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.266667": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -1.006275, 0, 0 ], + "0.1666667": [ 2.244969, 1.483948, -0.04085276 ], + "0.2666667": [ 0, 0, 0 ], + "0.4333333": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "1": [ 0, 0, 0 ], + "1.6": [ 0, 0, 0 ], + "1.666667": [ 0, 0, 0 ], + "1.866667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 1.816836, 0, -3.410568 ], + "0.1666667": [ 1.453856, 1.089702, -40.2555 ], + "0.2666667": [ -0.3543622, 8.471252, -39.60997 ], + "0.4333333": [ -0.3543622, 8.471252, -39.60997 ], + "0.7666667": [ -4.503809, 3.227345, -69.30062 ], + "1": [ -4.503809, 3.227345, -69.30062 ], + "1.6": [ -0.5713736, 11.59389, -43.55414 ], + "1.666667": [ -0.5713736, 11.59389, -43.55414 ], + "1.866667": [ -0.6569362, 2.936956, -21.08335 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "1": [ 1, 1, 1 ], + "1.6": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.866667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.9333035, 0, 0 ], + "0.1666667": [ -2.181183, 1.017608, -0.02725389 ], + "0.2666667": [ 0, 0, 0 ], + "1.066667": [ 0, 0, 0 ], + "1.4": [ 0, 0, 0 ], + "1.666667": [ 0, 0, 0 ], + "1.866667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 1.816836, -6.212021E-18, 2.891709 ], + "0.1666667": [ 1.300578, -1.268726, 47.17418 ], + "0.2666667": [ 0.1328516, -5.931589, 43.913 ], + "1.066667": [ 0.1328516, -5.931589, 43.913 ], + "1.4": [ -1.78792, -5.658187, 62.76641 ], + "1.666667": [ -1.78792, -5.658187, 62.76641 ], + "1.866667": [ -0.8602771, -1.275448, 32.73815 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.4": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.866667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "1.666667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "1.666667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "1.666667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, -1.170463, -0.1488649 ], + "0.1666667": [ 0, 1.232581, -0.07443245 ], + "0.2666667": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.6": [ 0, 0, 0 ], + "1.666667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.2666667": [ -8.077434, 0, 0 ], + "0.5333334": [ -13.08592, 0, 0 ], + "0.8": [ -13.0169, 1.354049, 5.836332 ], + "1.6": [ -13.04072, -1.096287, -4.722183 ], + "1.666667": [ -13.04072, -1.096287, -4.722183 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.6": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -0.7902597, 0, 0 ], + "0.2": [ -0.566245, 0.634858, 8.112109E-17 ], + "0.2666667": [ 0, 0, 0 ], + "1.666667": [ 0, 0, 0 ], + "1.866667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 8.07764, 0 ], + "0.2": [ 0, 10.54773, 1.726181 ], + "0.2666667": [ 0, 14.49833, 6.658125 ], + "1.666667": [ 0, 14.49833, 6.658125 ], + "1.866667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.866667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.7100883, 0, 0 ], + "0.2": [ 0.5077429, 0.6348841, -5.453388E-18 ], + "0.2666667": [ 0, 0, 0 ], + "1.666667": [ 0, 0, 0 ], + "1.866667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, -10.13497, 0 ], + "0.2": [ 0, -11.77193, -1.646396 ], + "0.2666667": [ 0, -13.5462, -6.350384 ], + "1.666667": [ 0, -13.5462, -6.350384 ], + "1.866667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.2": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.866667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.1666667": [ 0, 1.11703, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.666667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.666667": [ 0, 0, 0 ], + "1.966667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.03333334": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.966667": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_head_1.anim.json b/resource_pack/animations/dressing_room_react_head_1.anim.json new file mode 100644 index 0000000..a5bb332 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_head_1.anim.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_head_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -15.47443, 19.3838, 2.557317 ], + "0.4666667": [ -15.47443, 19.3838, 2.557317 ], + "0.7666667": [ -16.59691, -20.06949, 0.1299327 ], + "0.9666666": [ -16.59691, -20.06949, 0.1299327 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.4666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.7666667": [ 0.005685885, 0.04968877, 1.540455 ], + "0.9666666": [ 0.005685885, 0.04968877, 1.540455 ], + "1.066667": [ 0.002842942, 0.02484439, 0.7702275 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.107291, 7.142223, -8.633042 ], + "0.4666667": [ -3.107291, 7.142223, -8.633042 ], + "0.7666667": [ 8.276029, -16.63162, -10.07732 ], + "0.9666666": [ 8.276029, -16.63162, -10.07732 ], + "1.066667": [ 5.016912, -7.81937, -11.29508 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.4666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.7666667": [ -0.186621, -0.1244293, -1.45789 ], + "0.9666666": [ -0.186621, -0.1244293, -1.45789 ], + "1.066667": [ -0.09331049, -0.06221463, -0.728945 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 3.922788, 25.23067, 9.138837 ], + "0.4666667": [ 3.922788, 25.23067, 9.138837 ], + "0.7666667": [ -0.9013821, -15.90545, 5.421231 ], + "0.9666666": [ -0.9013821, -15.90545, 5.421231 ], + "1.066667": [ -1.492056, -7.825297, 10.28687 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.834379, 14.99824, 2.925156 ], + "0.4666667": [ -6.247176, 16.69529, 2.732869 ], + "0.6": [ 1.431161, -1.82121, 0.1438491 ], + "0.7666667": [ -2.227236, -27.70776, -3.285913 ], + "0.9666666": [ -4.187803, -27.70776, -3.285913 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_head_2.anim.json b/resource_pack/animations/dressing_room_react_head_2.anim.json new file mode 100644 index 0000000..8024d1a --- /dev/null +++ b/resource_pack/animations/dressing_room_react_head_2.anim.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_head_2": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1333333": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.2": [ 0, 0, 0 ], + "1.566667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -9.879876E-07, 0, 0 ], + "0.1333333": [ 13.38454, 0.375861, 1.62539 ], + "0.3": [ -12.80211, 2.97829, 12.87945 ], + "0.4666667": [ -12.80211, 2.97829, 12.87945 ], + "0.7": [ -12.68936, -3.433615, -14.89534 ], + "1.033333": [ -12.68936, -3.433615, -14.89534 ], + "1.2": [ -16.59949, -1.716808, -7.447668 ], + "1.566667": [ -9.879876E-07, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1333333": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.2": [ 1, 1, 1 ], + "1.566667": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.06666667": [ 0, 0, 0 ], + "0.3666667": [ 0, 0, 0 ], + "1.2": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.06666667": [ 3.964286, 0, 0 ], + "0.3666667": [ -6.412541, 0, 0 ], + "1.2": [ -6.412541, 0, 0 ], + "1.533333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.06666667": [ 1, 1, 1 ], + "0.3666667": [ 1, 1, 1 ], + "1.2": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_idle.anim.json b/resource_pack/animations/dressing_room_react_idle.anim.json new file mode 100644 index 0000000..19ed0e2 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_idle.anim.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_idle": { + "loop": true, + "bones": { + "leftArm": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, -2.572641 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -1.106001, -2.92237, 3.337212 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, -0.002566265, 0 ], + "1.9": [ 0, -0.2459337, 0 ], + "2.066667": [ 0, -0.2459337, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.9": [ 0, 0, 0 ], + "2.066667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.9": [ 1, 1, 1 ], + "2.066667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 1.31311 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, -3.069775 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_offer_1.json b/resource_pack/animations/dressing_room_react_offer_1.json new file mode 100644 index 0000000..f90a657 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_1.json @@ -0,0 +1,232 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 1.066662, 1.007835, -1.080186 ], + "0.5333334": [ 1.066662, 1.007835, -1.080186 ], + "0.6666667": [ 0.2944333, 0.7015443, -0.3851034 ], + "0.8": [ -0.6888477, 0.3838474, -1.957477 ], + "1.033333": [ -0.6888477, 0.3838474, -1.957477 ], + "1.166667": [ -0.2872561, 0.1600681, -0.8162867 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 47.94987, -51.92554, -5.973268 ], + "0.5333334": [ 47.94987, -51.92554, -5.973268 ], + "0.6666667": [ 43.80806, 5.319215, -0.3183346 ], + "0.8": [ 39.66625, 62.56398, 5.336598 ], + "1.033333": [ 39.66625, 62.56398, 5.336598 ], + "1.166667": [ 1.836954, 25.71018, -0.2125157 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0.333818, -0.02679555, 1.395765 ], + "0.5333334": [ 0.333818, -0.02679555, 1.395765 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 15.57593, -24.64598, -20.06145 ], + "0.5333334": [ 15.57593, -24.64598, -20.06145 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 1.56607 ], + "1.033333": [ 0, 0, 1.56607 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 24.26954, 30.84209, 31.3994 ], + "1.033333": [ 24.26954, 30.84209, 31.3994 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -3.096077, 15.78814, 10.31599 ], + "0.5333334": [ -3.096077, 15.78814, 10.31599 ], + "0.8": [ -6.4008, -17.76641, -7.294467 ], + "1.033333": [ -6.4008, -17.76641, -7.294467 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 4.874241, -6.907958 ], + "0.5333334": [ 0, 4.874241, -6.907958 ], + "0.8": [ 1.215341, -10.5478, 7.025933 ], + "1.033333": [ 1.215341, -10.5478, 7.025933 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_2.json b/resource_pack/animations/dressing_room_react_offer_2.json new file mode 100644 index 0000000..ffe7de4 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_2.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -15.47443, 19.3838, 2.557317 ], + "0.4666667": [ -15.47443, 19.3838, 2.557317 ], + "0.7666667": [ -16.59691, -20.06949, 0.1299327 ], + "0.9666666": [ -16.59691, -20.06949, 0.1299327 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.4666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.7666667": [ 0.005685885, 0.04968877, 1.540455 ], + "0.9666666": [ 0.005685885, 0.04968877, 1.540455 ], + "1.066667": [ 0.002842942, 0.02484439, 0.7702275 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.107291, 7.142223, -8.633042 ], + "0.4666667": [ -3.107291, 7.142223, -8.633042 ], + "0.7666667": [ 8.276029, -16.63162, -10.07732 ], + "0.9666666": [ 8.276029, -16.63162, -10.07732 ], + "1.066667": [ 5.016912, -7.81937, -11.29508 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.4666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.7666667": [ -0.186621, -0.1244293, -1.45789 ], + "0.9666666": [ -0.186621, -0.1244293, -1.45789 ], + "1.066667": [ -0.09331049, -0.06221463, -0.728945 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 3.922788, 25.23067, 9.138837 ], + "0.4666667": [ 3.922788, 25.23067, 9.138837 ], + "0.7666667": [ -0.9013821, -15.90545, 5.421231 ], + "0.9666666": [ -0.9013821, -15.90545, 5.421231 ], + "1.066667": [ -1.492056, -7.825297, 10.28687 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.834379, 14.99824, 2.925156 ], + "0.4666667": [ -6.247176, 16.69529, 2.732869 ], + "0.6": [ 1.431161, -1.82121, 0.1438491 ], + "0.7666667": [ -2.227236, -27.70776, -3.285913 ], + "0.9666666": [ -4.187803, -27.70776, -3.285913 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_arm_1.json b/resource_pack/animations/dressing_room_react_offer_arm_1.json new file mode 100644 index 0000000..0e4f9df --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_arm_1.json @@ -0,0 +1,232 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_arm_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 1.066662, 1.007835, -1.080186 ], + "0.5333334": [ 1.066662, 1.007835, -1.080186 ], + "0.6666667": [ 0.2944333, 0.7015443, -0.3851034 ], + "0.8": [ -0.6888477, 0.3838474, -1.957477 ], + "1.033333": [ -0.6888477, 0.3838474, -1.957477 ], + "1.166667": [ -0.2872561, 0.1600681, -0.8162867 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 47.94987, -51.92554, -5.973268 ], + "0.5333334": [ 47.94987, -51.92554, -5.973268 ], + "0.6666667": [ 43.80806, 5.319215, -0.3183346 ], + "0.8": [ 39.66625, 62.56398, 5.336598 ], + "1.033333": [ 39.66625, 62.56398, 5.336598 ], + "1.166667": [ 1.836954, 25.71018, -0.2125157 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0.333818, -0.02679555, 1.395765 ], + "0.5333334": [ 0.333818, -0.02679555, 1.395765 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 15.57593, -24.64598, -20.06145 ], + "0.5333334": [ 15.57593, -24.64598, -20.06145 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 1.56607 ], + "1.033333": [ 0, 0, 1.56607 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 24.26954, 30.84209, 31.3994 ], + "1.033333": [ 24.26954, 30.84209, 31.3994 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -3.096077, 15.78814, 10.31599 ], + "0.5333334": [ -3.096077, 15.78814, 10.31599 ], + "0.8": [ -6.4008, -17.76641, -7.294467 ], + "1.033333": [ -6.4008, -17.76641, -7.294467 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 4.874241, -6.907958 ], + "0.5333334": [ 0, 4.874241, -6.907958 ], + "0.8": [ 1.215341, -10.5478, 7.025933 ], + "1.033333": [ 1.215341, -10.5478, 7.025933 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_arm_2.json b/resource_pack/animations/dressing_room_react_offer_arm_2.json new file mode 100644 index 0000000..1ce413f --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_arm_2.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_arm_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -15.47443, 19.3838, 2.557317 ], + "0.4666667": [ -15.47443, 19.3838, 2.557317 ], + "0.7666667": [ -16.59691, -20.06949, 0.1299327 ], + "0.9666666": [ -16.59691, -20.06949, 0.1299327 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.4666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.7666667": [ 0.005685885, 0.04968877, 1.540455 ], + "0.9666666": [ 0.005685885, 0.04968877, 1.540455 ], + "1.066667": [ 0.002842942, 0.02484439, 0.7702275 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.107291, 7.142223, -8.633042 ], + "0.4666667": [ -3.107291, 7.142223, -8.633042 ], + "0.7666667": [ 8.276029, -16.63162, -10.07732 ], + "0.9666666": [ 8.276029, -16.63162, -10.07732 ], + "1.066667": [ 5.016912, -7.81937, -11.29508 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.4666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.7666667": [ -0.186621, -0.1244293, -1.45789 ], + "0.9666666": [ -0.186621, -0.1244293, -1.45789 ], + "1.066667": [ -0.09331049, -0.06221463, -0.728945 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 3.922788, 25.23067, 9.138837 ], + "0.4666667": [ 3.922788, 25.23067, 9.138837 ], + "0.7666667": [ -0.9013821, -15.90545, 5.421231 ], + "0.9666666": [ -0.9013821, -15.90545, 5.421231 ], + "1.066667": [ -1.492056, -7.825297, 10.28687 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.834379, 14.99824, 2.925156 ], + "0.4666667": [ -6.247176, 16.69529, 2.732869 ], + "0.6": [ 1.431161, -1.82121, 0.1438491 ], + "0.7666667": [ -2.227236, -27.70776, -3.285913 ], + "0.9666666": [ -4.187803, -27.70776, -3.285913 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_back_1.json b/resource_pack/animations/dressing_room_react_offer_back_1.json new file mode 100644 index 0000000..5ec0cc5 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_back_1.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_back_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -15.47443, 19.3838, 2.557317 ], + "0.4666667": [ -15.47443, 19.3838, 2.557317 ], + "0.7666667": [ -16.59691, -20.06949, 0.1299327 ], + "0.9666666": [ -16.59691, -20.06949, 0.1299327 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.4666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.7666667": [ 0.005685885, 0.04968877, 1.540455 ], + "0.9666666": [ 0.005685885, 0.04968877, 1.540455 ], + "1.066667": [ 0.002842942, 0.02484439, 0.7702275 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.107291, 7.142223, -8.633042 ], + "0.4666667": [ -3.107291, 7.142223, -8.633042 ], + "0.7666667": [ 8.276029, -16.63162, -10.07732 ], + "0.9666666": [ 8.276029, -16.63162, -10.07732 ], + "1.066667": [ 5.016912, -7.81937, -11.29508 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.4666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.7666667": [ -0.186621, -0.1244293, -1.45789 ], + "0.9666666": [ -0.186621, -0.1244293, -1.45789 ], + "1.066667": [ -0.09331049, -0.06221463, -0.728945 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 3.922788, 25.23067, 9.138837 ], + "0.4666667": [ 3.922788, 25.23067, 9.138837 ], + "0.7666667": [ -0.9013821, -15.90545, 5.421231 ], + "0.9666666": [ -0.9013821, -15.90545, 5.421231 ], + "1.066667": [ -1.492056, -7.825297, 10.28687 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.834379, 14.99824, 2.925156 ], + "0.4666667": [ -6.247176, 16.69529, 2.732869 ], + "0.6": [ 1.431161, -1.82121, 0.1438491 ], + "0.7666667": [ -2.227236, -27.70776, -3.285913 ], + "0.9666666": [ -4.187803, -27.70776, -3.285913 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_back_2.json b/resource_pack/animations/dressing_room_react_offer_back_2.json new file mode 100644 index 0000000..49b3308 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_back_2.json @@ -0,0 +1,232 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_back_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 1.066662, 1.007835, -1.080186 ], + "0.5333334": [ 1.066662, 1.007835, -1.080186 ], + "0.6666667": [ 0.2944333, 0.7015443, -0.3851034 ], + "0.8": [ -0.6888477, 0.3838474, -1.957477 ], + "1.033333": [ -0.6888477, 0.3838474, -1.957477 ], + "1.166667": [ -0.2872561, 0.1600681, -0.8162867 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 47.94987, -51.92554, -5.973268 ], + "0.5333334": [ 47.94987, -51.92554, -5.973268 ], + "0.6666667": [ 43.80806, 5.319215, -0.3183346 ], + "0.8": [ 39.66625, 62.56398, 5.336598 ], + "1.033333": [ 39.66625, 62.56398, 5.336598 ], + "1.166667": [ 1.836954, 25.71018, -0.2125157 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0.333818, -0.02679555, 1.395765 ], + "0.5333334": [ 0.333818, -0.02679555, 1.395765 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 15.57593, -24.64598, -20.06145 ], + "0.5333334": [ 15.57593, -24.64598, -20.06145 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 1.56607 ], + "1.033333": [ 0, 0, 1.56607 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 24.26954, 30.84209, 31.3994 ], + "1.033333": [ 24.26954, 30.84209, 31.3994 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -3.096077, 15.78814, 10.31599 ], + "0.5333334": [ -3.096077, 15.78814, 10.31599 ], + "0.8": [ -6.4008, -17.76641, -7.294467 ], + "1.033333": [ -6.4008, -17.76641, -7.294467 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 4.874241, -6.907958 ], + "0.5333334": [ 0, 4.874241, -6.907958 ], + "0.8": [ 1.215341, -10.5478, 7.025933 ], + "1.033333": [ 1.215341, -10.5478, 7.025933 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_bottom_1.json b/resource_pack/animations/dressing_room_react_offer_bottom_1.json new file mode 100644 index 0000000..7d1bdde --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_bottom_1.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_bottom_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -15.47443, 19.3838, 2.557317 ], + "0.4666667": [ -15.47443, 19.3838, 2.557317 ], + "0.7666667": [ -16.59691, -20.06949, 0.1299327 ], + "0.9666666": [ -16.59691, -20.06949, 0.1299327 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.4666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.7666667": [ 0.005685885, 0.04968877, 1.540455 ], + "0.9666666": [ 0.005685885, 0.04968877, 1.540455 ], + "1.066667": [ 0.002842942, 0.02484439, 0.7702275 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.107291, 7.142223, -8.633042 ], + "0.4666667": [ -3.107291, 7.142223, -8.633042 ], + "0.7666667": [ 8.276029, -16.63162, -10.07732 ], + "0.9666666": [ 8.276029, -16.63162, -10.07732 ], + "1.066667": [ 5.016912, -7.81937, -11.29508 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.4666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.7666667": [ -0.186621, -0.1244293, -1.45789 ], + "0.9666666": [ -0.186621, -0.1244293, -1.45789 ], + "1.066667": [ -0.09331049, -0.06221463, -0.728945 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 3.922788, 25.23067, 9.138837 ], + "0.4666667": [ 3.922788, 25.23067, 9.138837 ], + "0.7666667": [ -0.9013821, -15.90545, 5.421231 ], + "0.9666666": [ -0.9013821, -15.90545, 5.421231 ], + "1.066667": [ -1.492056, -7.825297, 10.28687 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.834379, 14.99824, 2.925156 ], + "0.4666667": [ -6.247176, 16.69529, 2.732869 ], + "0.6": [ 1.431161, -1.82121, 0.1438491 ], + "0.7666667": [ -2.227236, -27.70776, -3.285913 ], + "0.9666666": [ -4.187803, -27.70776, -3.285913 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_bottom_2.json b/resource_pack/animations/dressing_room_react_offer_bottom_2.json new file mode 100644 index 0000000..6666b1f --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_bottom_2.json @@ -0,0 +1,232 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_bottom_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 1.066662, 1.007835, -1.080186 ], + "0.5333334": [ 1.066662, 1.007835, -1.080186 ], + "0.6666667": [ 0.2944333, 0.7015443, -0.3851034 ], + "0.8": [ -0.6888477, 0.3838474, -1.957477 ], + "1.033333": [ -0.6888477, 0.3838474, -1.957477 ], + "1.166667": [ -0.2872561, 0.1600681, -0.8162867 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 47.94987, -51.92554, -5.973268 ], + "0.5333334": [ 47.94987, -51.92554, -5.973268 ], + "0.6666667": [ 43.80806, 5.319215, -0.3183346 ], + "0.8": [ 39.66625, 62.56398, 5.336598 ], + "1.033333": [ 39.66625, 62.56398, 5.336598 ], + "1.166667": [ 1.836954, 25.71018, -0.2125157 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0.333818, -0.02679555, 1.395765 ], + "0.5333334": [ 0.333818, -0.02679555, 1.395765 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 15.57593, -24.64598, -20.06145 ], + "0.5333334": [ 15.57593, -24.64598, -20.06145 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 1.56607 ], + "1.033333": [ 0, 0, 1.56607 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 24.26954, 30.84209, 31.3994 ], + "1.033333": [ 24.26954, 30.84209, 31.3994 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -3.096077, 15.78814, 10.31599 ], + "0.5333334": [ -3.096077, 15.78814, 10.31599 ], + "0.8": [ -6.4008, -17.76641, -7.294467 ], + "1.033333": [ -6.4008, -17.76641, -7.294467 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 4.874241, -6.907958 ], + "0.5333334": [ 0, 4.874241, -6.907958 ], + "0.8": [ 1.215341, -10.5478, 7.025933 ], + "1.033333": [ 1.215341, -10.5478, 7.025933 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_head_1.json b/resource_pack/animations/dressing_room_react_offer_head_1.json new file mode 100644 index 0000000..9ba2e22 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_head_1.json @@ -0,0 +1,232 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_head_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 1.066662, 1.007835, -1.080186 ], + "0.5333334": [ 1.066662, 1.007835, -1.080186 ], + "0.6666667": [ 0.2944333, 0.7015443, -0.3851034 ], + "0.8": [ -0.6888477, 0.3838474, -1.957477 ], + "1.033333": [ -0.6888477, 0.3838474, -1.957477 ], + "1.166667": [ -0.2872561, 0.1600681, -0.8162867 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 47.94987, -51.92554, -5.973268 ], + "0.5333334": [ 47.94987, -51.92554, -5.973268 ], + "0.6666667": [ 43.80806, 5.319215, -0.3183346 ], + "0.8": [ 39.66625, 62.56398, 5.336598 ], + "1.033333": [ 39.66625, 62.56398, 5.336598 ], + "1.166667": [ 1.836954, 25.71018, -0.2125157 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0.333818, -0.02679555, 1.395765 ], + "0.5333334": [ 0.333818, -0.02679555, 1.395765 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 15.57593, -24.64598, -20.06145 ], + "0.5333334": [ 15.57593, -24.64598, -20.06145 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 1.56607 ], + "1.033333": [ 0, 0, 1.56607 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 24.26954, 30.84209, 31.3994 ], + "1.033333": [ 24.26954, 30.84209, 31.3994 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -3.096077, 15.78814, 10.31599 ], + "0.5333334": [ -3.096077, 15.78814, 10.31599 ], + "0.8": [ -6.4008, -17.76641, -7.294467 ], + "1.033333": [ -6.4008, -17.76641, -7.294467 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 4.874241, -6.907958 ], + "0.5333334": [ 0, 4.874241, -6.907958 ], + "0.8": [ 1.215341, -10.5478, 7.025933 ], + "1.033333": [ 1.215341, -10.5478, 7.025933 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_head_2.json b/resource_pack/animations/dressing_room_react_offer_head_2.json new file mode 100644 index 0000000..7041aaf --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_head_2.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_head_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -15.47443, 19.3838, 2.557317 ], + "0.4666667": [ -15.47443, 19.3838, 2.557317 ], + "0.7666667": [ -16.59691, -20.06949, 0.1299327 ], + "0.9666666": [ -16.59691, -20.06949, 0.1299327 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.4666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.7666667": [ 0.005685885, 0.04968877, 1.540455 ], + "0.9666666": [ 0.005685885, 0.04968877, 1.540455 ], + "1.066667": [ 0.002842942, 0.02484439, 0.7702275 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.107291, 7.142223, -8.633042 ], + "0.4666667": [ -3.107291, 7.142223, -8.633042 ], + "0.7666667": [ 8.276029, -16.63162, -10.07732 ], + "0.9666666": [ 8.276029, -16.63162, -10.07732 ], + "1.066667": [ 5.016912, -7.81937, -11.29508 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.4666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.7666667": [ -0.186621, -0.1244293, -1.45789 ], + "0.9666666": [ -0.186621, -0.1244293, -1.45789 ], + "1.066667": [ -0.09331049, -0.06221463, -0.728945 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 3.922788, 25.23067, 9.138837 ], + "0.4666667": [ 3.922788, 25.23067, 9.138837 ], + "0.7666667": [ -0.9013821, -15.90545, 5.421231 ], + "0.9666666": [ -0.9013821, -15.90545, 5.421231 ], + "1.066667": [ -1.492056, -7.825297, 10.28687 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.834379, 14.99824, 2.925156 ], + "0.4666667": [ -6.247176, 16.69529, 2.732869 ], + "0.6": [ 1.431161, -1.82121, 0.1438491 ], + "0.7666667": [ -2.227236, -27.70776, -3.285913 ], + "0.9666666": [ -4.187803, -27.70776, -3.285913 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_torso_1.json b/resource_pack/animations/dressing_room_react_offer_torso_1.json new file mode 100644 index 0000000..f213eb3 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_torso_1.json @@ -0,0 +1,232 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_torso_1": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 1.066662, 1.007835, -1.080186 ], + "0.5333334": [ 1.066662, 1.007835, -1.080186 ], + "0.6666667": [ 0.2944333, 0.7015443, -0.3851034 ], + "0.8": [ -0.6888477, 0.3838474, -1.957477 ], + "1.033333": [ -0.6888477, 0.3838474, -1.957477 ], + "1.166667": [ -0.2872561, 0.1600681, -0.8162867 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 47.94987, -51.92554, -5.973268 ], + "0.5333334": [ 47.94987, -51.92554, -5.973268 ], + "0.6666667": [ 43.80806, 5.319215, -0.3183346 ], + "0.8": [ 39.66625, 62.56398, 5.336598 ], + "1.033333": [ 39.66625, 62.56398, 5.336598 ], + "1.166667": [ 1.836954, 25.71018, -0.2125157 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.6666667": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0.333818, -0.02679555, 1.395765 ], + "0.5333334": [ 0.333818, -0.02679555, 1.395765 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 15.57593, -24.64598, -20.06145 ], + "0.5333334": [ 15.57593, -24.64598, -20.06145 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 1.56607 ], + "1.033333": [ 0, 0, 1.56607 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 24.26954, 30.84209, 31.3994 ], + "1.033333": [ 24.26954, 30.84209, 31.3994 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ -3.096077, 15.78814, 10.31599 ], + "0.5333334": [ -3.096077, 15.78814, 10.31599 ], + "0.8": [ -6.4008, -17.76641, -7.294467 ], + "1.033333": [ -6.4008, -17.76641, -7.294467 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.5333334": [ 0, 0, 0 ], + "0.8": [ 0, 0, 0 ], + "1.033333": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.3": [ 0, 4.874241, -6.907958 ], + "0.5333334": [ 0, 4.874241, -6.907958 ], + "0.8": [ 1.215341, -10.5478, 7.025933 ], + "1.033333": [ 1.215341, -10.5478, 7.025933 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.8": [ 1, 1, 1 ], + "1.033333": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_offer_torso_2.json b/resource_pack/animations/dressing_room_react_offer_torso_2.json new file mode 100644 index 0000000..2354d98 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_offer_torso_2.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_offer_torso_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -15.47443, 19.3838, 2.557317 ], + "0.4666667": [ -15.47443, 19.3838, 2.557317 ], + "0.7666667": [ -16.59691, -20.06949, 0.1299327 ], + "0.9666666": [ -16.59691, -20.06949, 0.1299327 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.4666667": [ 0.005685885, 0.04968877, -0.8978199 ], + "0.7666667": [ 0.005685885, 0.04968877, 1.540455 ], + "0.9666666": [ 0.005685885, 0.04968877, 1.540455 ], + "1.066667": [ 0.002842942, 0.02484439, 0.7702275 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.107291, 7.142223, -8.633042 ], + "0.4666667": [ -3.107291, 7.142223, -8.633042 ], + "0.7666667": [ 8.276029, -16.63162, -10.07732 ], + "0.9666666": [ 8.276029, -16.63162, -10.07732 ], + "1.066667": [ 5.016912, -7.81937, -11.29508 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.4666667": [ 2.344791E-15, 2.859935E-15, 1.818486 ], + "0.7666667": [ -0.186621, -0.1244293, -1.45789 ], + "0.9666666": [ -0.186621, -0.1244293, -1.45789 ], + "1.066667": [ -0.09331049, -0.06221463, -0.728945 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 3.922788, 25.23067, 9.138837 ], + "0.4666667": [ 3.922788, 25.23067, 9.138837 ], + "0.7666667": [ -0.9013821, -15.90545, 5.421231 ], + "0.9666666": [ -0.9013821, -15.90545, 5.421231 ], + "1.066667": [ -1.492056, -7.825297, 10.28687 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.4666667": [ 0, 0, 0 ], + "0.6": [ 0, 0, 0 ], + "0.7666667": [ 0, 0, 0 ], + "0.9666666": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ -3.834379, 14.99824, 2.925156 ], + "0.4666667": [ -6.247176, 16.69529, 2.732869 ], + "0.6": [ 1.431161, -1.82121, 0.1438491 ], + "0.7666667": [ -2.227236, -27.70776, -3.285913 ], + "0.9666666": [ -4.187803, -27.70776, -3.285913 ], + "1.166667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.4666667": [ 1, 1, 1 ], + "0.6": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "0.9666666": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/dressing_room_react_torso_1.anim.json b/resource_pack/animations/dressing_room_react_torso_1.anim.json new file mode 100644 index 0000000..a629a88 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_torso_1.anim.json @@ -0,0 +1,114 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_torso_1": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.1": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "0.6333333": [ 0, 0, 0 ], + "0.7333333": [ 0, 0, 0 ], + "0.9333333": [ 0, 0, 0 ], + "1.166667": [ 0, 0, 0 ], + "1.3": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1": [ 15.3083, 0.125435, 3.991195 ], + "0.3": [ 23.42786, 0.4838209, 15.39461 ], + "0.6333333": [ 23.42786, 0.4838209, 15.39461 ], + "0.7333333": [ 26.2719, -6.216213, 4.999293 ], + "0.9333333": [ 30.24794, -15.58304, -9.533633 ], + "1.166667": [ 30.24794, -15.58304, -9.533633 ], + "1.3": [ 17.18065, -8.85107, -5.415047 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "0.6333333": [ 1, 1, 1 ], + "0.7333333": [ 1, 1, 1 ], + "0.9333333": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.3666667": [ 0, 0, 0 ], + "1.3": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.3666667": [ 0, 0, -16.54816 ], + "1.3": [ 0, 0, -16.54816 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.3666667": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.3666667": [ 0, 0, 0 ], + "1.3": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.3666667": [ 0, 0, 16.86056 ], + "1.3": [ 0, 0, 16.86056 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1666667": [ 1, 1, 1 ], + "0.3666667": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.1": [ 0, 0, 0 ], + "0.3": [ 0, 0, 0 ], + "1.066667": [ 0, 0, 0 ], + "1.566667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1": [ 5.681679, 0, 0 ], + "0.3": [ -14.66364, 0, 0 ], + "1.066667": [ -14.66364, 0, 0 ], + "1.566667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.1": [ 1, 1, 1 ], + "0.3": [ 1, 1, 1 ], + "1.066667": [ 1, 1, 1 ], + "1.566667": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/dressing_room_react_torso_2.anim.json b/resource_pack/animations/dressing_room_react_torso_2.anim.json new file mode 100644 index 0000000..ab31f27 --- /dev/null +++ b/resource_pack/animations/dressing_room_react_torso_2.anim.json @@ -0,0 +1,208 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.react_torso_2": { + "loop": false, + "bones": { + "world": { + "position": { + "0": [ 0, 0, 0 ], + "0.8666667": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.8666667": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.8666667": [ 1, 1, 1 ] + } + }, + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0.4172638, -0.02136757, 0.4131861 ], + "0.7666667": [ 0.4172638, -0.02136757, 0.4131861 ], + "1": [ -0.005451698, -0.003565799, 0.6295832 ], + "1.533333": [ -0.005451698, -0.003565799, 0.6295832 ], + "1.733333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 17.41828, -26.07364, -2.163806 ], + "0.7666667": [ 17.41828, -26.07364, -2.163806 ], + "1": [ 12.56482, 27.08829, 2.411466 ], + "1.533333": [ 12.56482, 27.08829, 2.411466 ], + "1.733333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "1": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ], + "1.733333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -0.1505766, 0.1184198, -0.7957145 ], + "0.7666667": [ -0.1505766, 0.1184198, -0.7957145 ], + "1": [ -1.168, -1.84, -1.92 ], + "1.166667": [ -1.168, -1.84, -1.92 ], + "1.3": [ -1.168, -1.84, -1.92 ], + "1.466667": [ -1.168, -1.84, -1.92 ], + "1.533333": [ -1.168, -1.84, -1.92 ], + "1.666667": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -65.89164, 0.6337012, -19.77185 ], + "0.7666667": [ -65.89164, 0.6337012, -19.77185 ], + "1": [ -167.8694, 27.26429, -75.36293 ], + "1.166667": [ -145.941, 27.26429, -75.36293 ], + "1.3": [ -167.8694, 27.26429, -75.36293 ], + "1.466667": [ -129.4591, 27.26429, -75.36293 ], + "1.533333": [ -129.4591, 27.26429, -75.36293 ], + "1.666667": [ -39.33422, -4.462393, -42.73814 ], + "1.733333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "1": [ 1, 1, 1 ], + "1.166667": [ 1, 1, 1 ], + "1.3": [ 1, 1, 1 ], + "1.466667": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.733333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 1.160682, -1.846991, -1.914545 ], + "0.4333333": [ 1.160682, -1.846991, -1.914545 ], + "0.5333334": [ 1.160682, -1.846991, -1.914545 ], + "0.7": [ 1.160682, -1.846991, -1.914545 ], + "0.7666667": [ 1.160682, -1.846991, -1.914545 ], + "1": [ 0.144, 0.112, -0.8 ], + "1.533333": [ 0.144, 0.112, -0.8 ], + "1.666667": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -168.1629, -37.15206, 72.32583 ], + "0.4333333": [ -139.0003, -37.15206, 72.32583 ], + "0.5333334": [ -168.1629, -37.15206, 72.32583 ], + "0.7": [ -127.2219, -37.15206, 72.32583 ], + "0.7666667": [ -127.2219, -37.15206, 72.32583 ], + "1": [ -65.892, 0.634, 19.772 ], + "1.533333": [ -65.892, 0.634, 19.772 ], + "1.666667": [ -25.26017, 11.19144, 30.09589 ], + "1.733333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "0.4333333": [ 1, 1, 1 ], + "0.5333334": [ 1, 1, 1 ], + "0.7": [ 1, 1, 1 ], + "0.7666667": [ 1, 1, 1 ], + "1": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ], + "1.666667": [ 1, 1, 1 ], + "1.733333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ], + "1.733333": [ 1, 1, 1 ] + } + }, + "waist": { + "position": { + "0": [ 0, 0, 0 ], + "0.2666667": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.2666667": [ -9.874162, 0, 0 ], + "1.533333": [ -9.874162, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "0.2666667": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ], + "1.733333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ], + "1.733333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.533333": [ 0, 0, 0 ], + "1.733333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.533333": [ 1, 1, 1 ], + "1.733333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/drowned.animation.json b/resource_pack/animations/drowned.animation.json new file mode 100644 index 0000000..0d7a8f5 --- /dev/null +++ b/resource_pack/animations/drowned.animation.json @@ -0,0 +1,19 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.drowned.attack.rotations" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "math.sin(math.sqrt(variable.attack_time) * 360.0) * 11.46", 0.0 ] + }, + "leftarm" : { + "rotation" : [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) + math.sin(variable.attack_time * 180.0)) * 5.73", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 34.38 + math.sin(variable.attack_time * 180.0) * 28.65) * (variable.is_brandishing_spear ? -2.5 : 1.0 )", "variable.is_brandishing_spear ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360.0) * 22.92", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/drowned.animation.v1.0.json b/resource_pack/animations/drowned.animation.v1.0.json new file mode 100644 index 0000000..910b9fa --- /dev/null +++ b/resource_pack/animations/drowned.animation.v1.0.json @@ -0,0 +1,40 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.drowned.attack.rotations.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "math.sin(math.sqrt(variable.attack_time) * 360.0) * 11.46", 0.0 ] + }, + "leftarm" : { + "rotation" : [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) + math.sin(variable.attack_time * 180.0)) * 5.73", "math.sin(math.sqrt(variable.attack_time) * 360.0) * 11.46", 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-(math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 34.38 + math.sin(variable.attack_time * 180.0) * 28.65) * (variable.is_brandishing_spear ? -2.5 : 1.0 )", "variable.is_brandishing_spear ? 0.0 : math.sin(math.sqrt(variable.attack_time) * 360.0) * 22.92", 0.0 ] + } + } + }, + "animation.drowned.swimming.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) - (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this", "math.lerp(this, -14.325, variable.swim_amount) - this", "math.lerp(this, 14.325, variable.swim_amount) - (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this" ] + }, + "leftleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.life_time * 390.0 + 180.0) * 0.3, variable.swim_amount) - this", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) + (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this", "math.lerp(this, 14.325, variable.swim_amount) - this", "math.lerp(this, -14.325, variable.swim_amount) + (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this" ] + }, + "rightleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.life_time * 390.0) * 0.3, variable.swim_amount)", 0.0, 0.0 ] + }, + "root" : { + "position" : [ 0.0, "variable.swim_amount * -10.0 - this", "variable.swim_amount * 9.0 - this" ], + "rotation" : [ "variable.swim_amount * (90.0 + query.target_x_rotation)", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/elytra.animation.json b/resource_pack/animations/elytra.animation.json new file mode 100644 index 0000000..74aceff --- /dev/null +++ b/resource_pack/animations/elytra.animation.json @@ -0,0 +1,86 @@ +{ + "format_version" : "1.8.0", + "animations": { + "animation.elytra.default": { + "loop": true, + "bones": { + "body": { "scale": 1.067 }, + "left_wing": { + "position": [ 4.5, 4, -2 ], + "rotation": [ 15, 0, -13 ], + "scale": [ 1, 1, 2 ] + }, + "right_wing": { + + "position": [ -4.5, 4, -2 ], + "rotation": [ 15, 0, 13 ], + "scale": [ 1, 1, 2 ] + } + } + }, + "animation.elytra.gliding": { + "loop": true, + "bones": { + "body": { "scale": 1.067 }, + "left_wing": { + "position": [ 2, 2, -2 ], + "rotation": [ "variable.ratio = (query.position_delta(1) < 0) ? 1 - math.pow(-query.movement_direction(1), 1.5) : 1; return math.lerp(15, 20, variable.ratio);", 0, "math.lerp(-15, -90, variable.ratio)" ], + "scale": [ 1, 1, 2 ] + }, + "right_wing": { + "position": [ -2, 2, -2 ], + "rotation": [ "variable.ratio = (query.position_delta(1) < 0) ? 1 - math.pow(-query.movement_direction(1), 1.5) : 1; return math.lerp(15, 20, variable.ratio);", 0, "math.lerp(15, 90, variable.ratio)" ], + "scale": [ 1, 1, 2 ] + } + } + }, + "animation.elytra.sneaking": { + "loop": true, + "bones": { + "body": { "scale": 1.067 }, + "left_wing": { + "position": [ 2, 3, -2 ], + "rotation": [ 20, -15, -45 ], + "scale": [ 1, 1, 2 ] + }, + "right_wing": { + "position": [ -2, 3, -2 ], + "rotation": [ 20, 15, 45 ], + "scale": [ 1, 1, 2 ] + } + } + }, + "animation.elytra.sleeping": { + "loop": true, + "bones": { + "body": { "scale": 1.067 }, + "left_wing": { + "position": [ 5, 4, -2 ], + "rotation": [ 0, 0, -15 ], + "scale": [ 1, 1, 2 ] + }, + "right_wing": { + "position": [ -5, 4, -2 ], + "rotation": [ 0, 0, 15 ], + "scale": [ 1, 1, 2 ] + } + } + }, + "animation.elytra.swimming": { + "loop": true, + "bones": { + "body": { "scale": 1.067 }, + "left_wing": { + "position": [ 5, 2, -2 ], + "rotation": [ "query.swim_amount * 15", 0, -15 ], + "scale": [ 1, 1, 2 ] + }, + "right_wing": { + "position": [ -5, 2, -2 ], + "rotation": [ "query.swim_amount * 15", 0, 15 ], + "scale": [ 1, 1, 2 ] + } + } + } + } +} diff --git a/resource_pack/animations/ender_crystal.animation.json b/resource_pack/animations/ender_crystal.animation.json new file mode 100644 index 0000000..8534c4f --- /dev/null +++ b/resource_pack/animations/ender_crystal.animation.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.ender_crystal.move": { + "loop": true, + "bones": { + "outerglass": { + "position": [ 0.0, "16.0 + Math.sin(query.life_time * 230.0 + variable.time_offset) * 8.0", 0.0 ], + "rotation": [ 39.2, "14.5 + (query.life_time * -60.0 + variable.time_offset)", -39.2 ] + }, + "innerglass": { + "scale": [ 0.875, 0.875, 0.875 ], + "rotation": [ 39.2, "14.5 + (query.life_time * -60.0 + variable.time_offset)", -39.2 ] + }, + "crystal": { + "scale": [ 0.875, 0.875, 0.875 ], + "rotation": [ 219.2, "14.5 + (query.life_time * -60.0 + variable.time_offset)", -39.2 ] + } + } + } + } +} diff --git a/resource_pack/animations/ender_dragon.animation.json b/resource_pack/animations/ender_dragon.animation.json new file mode 100644 index 0000000..5581304 --- /dev/null +++ b/resource_pack/animations/ender_dragon.animation.json @@ -0,0 +1,157 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.ender_dragon.setup": { + "loop": true, + "bones": { + "root": { + "position": [ -10.0, "30.0 + variable.rotation_factor_translate * 10.0", 30.0 ], + "rotation": [ "variable.clamped_pitch", 180.0, "variable.clamped_roll" ] + } + } + }, + "animation.ender_dragon.jaw_movement": { + "loop": true, + "bones": { + "jaw": { + "rotation": [ "75.0 + (Math.sin(variable.flap_time) + 57.3) * 11.46 - this", 0.0, 0.0 ] + } + } + }, + "animation.ender_dragon.neck_head_movement": { + "loop": true, + "bones": { + "neck1": { + "rotation": [ "variable.neck_1_rotation_x - this", "variable.neck_1_rotation_y - this", "variable.neck_1_rotation_z - this" ], + "position": [ "variable.neck_1_position_x - this", "variable.neck_1_position_y - this", "variable.neck_1_position_z - this" ] + }, + "neck2": { + "rotation": [ "variable.neck_2_rotation_x - this", "variable.neck_2_rotation_y - this", "variable.neck_2_rotation_z - this" ], + "position": [ "variable.neck_2_position_x - this", "variable.neck_2_position_y - this", "variable.neck_2_position_z - this" ] + }, + "neck3": { + "rotation": [ "variable.neck_3_rotation_x - this", "variable.neck_3_rotation_y - this", "variable.neck_3_rotation_z - this" ], + "position": [ "variable.neck_3_position_x - this", "variable.neck_3_position_y - this", "variable.neck_3_position_z - this" ] + }, + "neck4": { + "rotation": [ "variable.neck_4_rotation_x - this", "variable.neck_4_rotation_y - this", "variable.neck_4_rotation_z - this" ], + "position": [ "variable.neck_4_position_x - this", "variable.neck_4_position_y - this", "variable.neck_4_position_z - this" ] + }, + "neck5": { + "rotation": [ "variable.neck_5_rotation_x - this", "variable.neck_5_rotation_y - this", "variable.neck_5_rotation_z - this" ], + "position": [ "variable.neck_5_position_x - this", "variable.neck_5_position_y - this", "variable.neck_5_position_z - this" ] + }, + "head": { + "rotation": [ "variable.head_rotation_x - this", "variable.head_rotation_y - this", "variable.head_rotation_z - this" ], + "position": [ "variable.head_position_x - this", "variable.head_position_y - this", "variable.head_position_z - this" ] + } + } + }, + "animation.ender_dragon.wings_limbs_movement": { + "loop": true, + "bones": { + "wing": { + "rotation": [ "7.16 - Math.cos(variable.flap_time) * 11.46", 0.0, "(Math.sin(variable.flap_time) + 0.125) * 45.84" ] + }, + "wingtip": { + "rotation": [ 0.0, 0.0, "-(Math.sin(variable.flap_time + 114.6) + 0.5) * 43.0" ] + }, + "wing1": { + "rotation": [ "7.16 - Math.cos(variable.flap_time) * 11.46", 0.0, "(Math.sin(-variable.flap_time) + 0.125) * 45.84" ] + }, + "wingtip1": { + "rotation": [ 0.0, 0.0, "(Math.sin(variable.flap_time + 114.6) + 0.5) * 43.0" ] + }, + "rearleg": { + "rotation": [ "57.3 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "rearlegtip": { + "rotation": [ "28.65 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "rearfoot": { + "rotation": [ "43.0 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "frontleg": { + "rotation": [ "74.5 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "frontlegtip": { + "rotation": [ "-28.65 - variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "frontfoot": { + "rotation": [ "43.0 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "rearleg1": { + "rotation": [ "57.3 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "rearlegtip1": { + "rotation": [ "28.65 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "rearfoot1": { + "rotation": [ "43.0 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "frontleg1": { + "rotation": [ "74.5 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "frontlegtip1": { + "rotation": [ "-28.65 - variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + }, + "frontfoot1": { + "rotation": [ "43.0 + variable.rotation_factor_translate * 5.7", 0.0, 0.0 ] + } + } + }, + "animation.ender_dragon.tail_movement": { + "loop": true, + "bones": { + "tail1": { + "rotation": [ "variable.tail_1_rotation_x - this", "variable.tail_1_rotation_y", "variable.tail_1_rotation_z - this" ], + "position": [ "variable.tail_1_position_x - this", "variable.tail_1_position_y - this", "variable.tail_1_position_z - this" ] + }, + "tail2": { + "rotation": [ "variable.tail_2_rotation_x - this", "variable.tail_2_rotation_y", "variable.tail_2_rotation_z - this" ], + "position": [ "variable.tail_2_position_x - this", "variable.tail_2_position_y - this", "variable.tail_2_position_z - this" ] + }, + "tail3": { + "rotation": [ "variable.tail_3_rotation_x - this", "variable.tail_3_rotation_y", "variable.tail_3_rotation_z - this" ], + "position": [ "variable.tail_3_position_x - this", "variable.tail_3_position_y - this", "variable.tail_3_position_z - this" ] + }, + "tail4": { + "rotation": [ "variable.tail_4_rotation_x - this", "variable.tail_4_rotation_y", "variable.tail_4_rotation_z - this" ], + "position": [ "variable.tail_4_position_x - this", "variable.tail_4_position_y - this", "variable.tail_4_position_z - this" ] + }, + "tail5": { + "rotation": [ "variable.tail_5_rotation_x - this", "variable.tail_5_rotation_y", "variable.tail_5_rotation_z - this" ], + "position": [ "variable.tail_5_position_x - this", "variable.tail_5_position_y - this", "variable.tail_5_position_z - this" ] + }, + "tail6": { + "rotation": [ "variable.tail_6_rotation_x - this", "variable.tail_6_rotation_y", "variable.tail_6_rotation_z - this" ], + "position": [ "variable.tail_6_position_x - this", "variable.tail_6_position_y - this", "variable.tail_6_position_z - this" ] + }, + "tail7": { + "rotation": [ "variable.tail_7_rotation_x - this", "variable.tail_7_rotation_y", "variable.tail_7_rotation_z - this" ], + "position": [ "variable.tail_7_position_x - this", "variable.tail_7_position_y - this", "variable.tail_7_position_z - this" ] + }, + "tail8": { + "rotation": [ "variable.tail_8_rotation_x - this", "variable.tail_8_rotation_y", "variable.tail_8_rotation_z - this" ], + "position": [ "variable.tail_8_position_x - this", "variable.tail_8_position_y - this", "variable.tail_8_position_z - this" ] + }, + "tail9": { + "rotation": [ "variable.tail_9_rotation_x - this", "variable.tail_9_rotation_y", "variable.tail_9_rotation_z - this" ], + "position": [ "variable.tail_9_position_x - this", "variable.tail_9_position_y - this", "variable.tail_9_position_z - this" ] + }, + "tail10": { + "rotation": [ "variable.tail_10_rotation_x - this", "variable.tail_10_rotation_y", "variable.tail_10_rotation_z - this" ], + "position": [ "variable.tail_10_position_x - this", "variable.tail_10_position_y - this", "variable.tail_10_position_z - this" ] + }, + "tail11": { + "rotation": [ "variable.tail_11_rotation_x - this", "variable.tail_11_rotation_y", "variable.tail_11_rotation_z - this" ], + "position": [ "variable.tail_11_position_x - this", "variable.tail_11_position_y - this", "variable.tail_11_position_z - this" ] + }, + "tail12": { + "rotation": [ "variable.tail_12_rotation_x - this", "variable.tail_12_rotation_y", "variable.tail_12_rotation_z - this" ], + "position": [ "variable.tail_12_position_x - this", "variable.tail_12_position_y - this", "variable.tail_12_position_z - this" ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/enderman.animation.json b/resource_pack/animations/enderman.animation.json new file mode 100644 index 0000000..56f34b9 --- /dev/null +++ b/resource_pack/animations/enderman.animation.json @@ -0,0 +1,72 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.enderman.arms_legs" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "math.clamp(this, -22.92, 22.92) - this", 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ "math.clamp(this, -22.92, 22.92) - this", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "math.clamp(this, -22.92, 22.92) - this", 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ "math.clamp(this, -22.92, 22.92) - this", 0.0, 0.0 ] + } + } + }, + "animation.enderman.base_pose" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ "-this", "11.0 - this", "-this" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "hat" : { + "position" : [ "-this", "-this", "-this" ], + "rotation" : [ "-this", "-this", "-this" ] + }, + "head" : { + "position" : [ "-this", "-this", "-this" ] + }, + "leftarm" : { + "position" : [ "4.0-this", 0.0, "-this" ] + }, + "leftleg" : { + "position" : [ 0.0, "-5.0 - this", 0.0 ] + }, + "rightarm" : { + "position" : [ "-4.0-this", 0.0, "-this" ] + }, + "rightleg" : { + "position" : [ 0.0, "-5.0 - this", 0.0 ] + } + } + }, + "animation.enderman.carrying" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-28.65 - this", 0.0, "-2.87 - this" ] + }, + "rightarm" : { + "rotation" : [ "-28.65 - this", 0.0, "2.87 - this" ] + } + } + }, + "animation.enderman.scary_face" : { + "loop" : true, + "bones" : { + "hat" : { + "position" : [ 0.0, "-5.0 - this", 0.0 ] + }, + "head" : { + "position" : [ 0.0, "5.0 - this", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/enderman.animation.v1.0.json b/resource_pack/animations/enderman.animation.v1.0.json new file mode 100644 index 0000000..20d91d1 --- /dev/null +++ b/resource_pack/animations/enderman.animation.v1.0.json @@ -0,0 +1,43 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.enderman.base_pose_v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ "-this", "15.0 - this", "-this" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "hat" : { + "position" : [ 0.0, "-this", 0.0 ] + }, + "head" : { + "position" : [ 0.0, "14.0 - this", "-this" ] + }, + "leftarm" : { + "position" : [ "5.0 - this", 1.0, "-this" ] + }, + "leftleg" : { + "position" : [ 0.0, "6.0 - this", "-this" ] + }, + "rightarm" : { + "position" : [ "-5.0 - this", 1.0, "-this" ] + }, + "rightleg" : { + "position" : [ 0.0, "6.0 - this", "-this" ] + } + } + }, + "animation.enderman.scary_face_v1.0" : { + "loop" : true, + "bones" : { + "hat" : { + "position" : [ 0.0, -5.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, 5.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/endermite.animation.json b/resource_pack/animations/endermite.animation.json new file mode 100644 index 0000000..c66129e --- /dev/null +++ b/resource_pack/animations/endermite.animation.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.endermite.move" : { + "loop" : true, + "bones" : { + "section_0" : { + "position" : [ "(math.cos(-query.life_time * 928.26) * 1.26) - this", 0.0, 0.0 ], + "rotation" : [ 0.0, "(math.cos(query.life_time * 928.26) * 26.9) - this", 0.0 ] + }, + "section_1" : { + "position" : [ "(math.sin(query.life_time * 928.26) * 0.63) - this", 0.0, 0.0 ], + "rotation" : [ 0.0, "(math.cos(query.life_time * 928.26) * 16) - this", 0.0 ] + }, + "section_2" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ 0.0, "(math.cos(query.life_time * 928.26) * 9.17) - this", 0.0 ] + }, + "section_3" : { + "position" : [ "(math.cos(query.life_time * 928.26) * 0.8) - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/evocation_fang.animation.json b/resource_pack/animations/evocation_fang.animation.json new file mode 100644 index 0000000..b994c29 --- /dev/null +++ b/resource_pack/animations/evocation_fang.animation.json @@ -0,0 +1,19 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.evocation_fang.bite" : { + "loop" : true, + "bones" : { + "base" : { + "position" : [ 0.0, "-12.0 + variable.y_offset", 0.0 ] + }, + "lower_jaw" : { + "rotation" : [ 0.0, 0.0, "180.0 + variable.bite_amount" ] + }, + "upper_jaw" : { + "rotation" : [ 0.0, 0.0, "180.0 - variable.bite_amount" ] + } + } + } + } +} diff --git a/resource_pack/animations/evoker.animation.json b/resource_pack/animations/evoker.animation.json new file mode 100644 index 0000000..816a425 --- /dev/null +++ b/resource_pack/animations/evoker.animation.json @@ -0,0 +1,71 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.evoker.casting" : { + "loop" : true, + "bones" : { + "arms" : { + "scale" : 0.0 + }, + "leftarm" : { + "rotation" : [ "math.cos(query.life_time * 763.4) * 14.3239 - this", "-this", "-135.0 - this" ], + "scale" : 1.0 + }, + "rightarm" : { + "rotation" : [ "math.cos(query.life_time * 763.4) * 14.3239 - this", "-this", "135.0 - this" ], + "scale" : 1.0 + } + } + }, + "animation.evoker.casting.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "position" : [ "5.0 - this", 0.0, "-this" ], + "rotation" : [ "math.cos(query.life_time * 763.4) * 14.3239 - this", "-this", "-135.0 - this" ] + }, + "rightarm" : { + "position" : [ "-5.0 - this", 0.0, "-this" ], + "rotation" : [ "math.cos(query.life_time * 763.4) * 14.3239 - this", "-this", "135.0 - this" ] + } + } + }, + "animation.evoker.general" : { + "loop" : true, + "bones" : { + "arms" : { + "position" : [ 0.0, "-3.0 - this", "-1.0 - this" ], + "rotation" : [ "-42.97 - this", "- this", "- this" ], + "scale" : 1.0 + }, + "leftarm" : { + "scale" : 0.0 + }, + "rightarm" : { + "scale" : 0.0 + } + } + }, + "animation.evoker.general.v1.0" : { + "loop" : true, + "bones" : { + "arms" : { + "position" : [ 0.0, "-3.0 - this", "-1.0 - this" ], + "rotation" : [ "-42.97 - this", "- this", "- this" ] + } + } + }, + "animation.evoker.move" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leftLeg" : { + "rotation" : [ "(math.cos(query.anim_time * 38.17) * 40.0) - this", "-this", 0.0 ] + }, + "rightLeg" : { + "rotation" : [ "(math.cos(query.anim_time * 38.17 + 180) * 40.0) - this", "-this", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/fireworks_rocket.animation.json b/resource_pack/animations/fireworks_rocket.animation.json new file mode 100644 index 0000000..b4c76e7 --- /dev/null +++ b/resource_pack/animations/fireworks_rocket.animation.json @@ -0,0 +1,15 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.fireworks_rocket.move" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -3.5, 0.0 ], + "rotation" : [ "-query.target_x_rotation", "-query.target_y_rotation", 0.0 ], + "scale" : 0.6 + } + } + } + } +} diff --git a/resource_pack/animations/fox.animation.json b/resource_pack/animations/fox.animation.json new file mode 100644 index 0000000..d65d65a --- /dev/null +++ b/resource_pack/animations/fox.animation.json @@ -0,0 +1,155 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.fox.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, "query.is_baby ? 4.0 : 0.0", "query.is_baby ? 4.0 : 0.0" ], + "scale" : "query.is_baby ? 1.3 : 1.0" + } + } + }, + "animation.fox.crouch" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -1.8, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -0.8, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "leg0" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "leg1" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "leg2" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "leg3" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + } + } + }, + "animation.fox.pounce" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "query.vertical_speed * -7.0", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "query.vertical_speed * -7.0", 0.0, 0.0 ] + } + } + }, + "animation.fox.setup" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", 0.0, 0.0 ] + } + } + }, + "animation.fox.sit" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, 1.0, 0.0 ], + "rotation" : [ -60.0, 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, 3.0, -3.0 ], + "rotation" : [ 60.0, 0.0, 0.0 ] + }, + "leg0" : { + "position" : [ 0.0, 4.0, 2.5 ], + "rotation" : [ -15.0, 0.0, 0.0 ] + }, + "leg1" : { + "position" : [ 0.0, 4.0, 2.5 ], + "rotation" : [ -15.0, 0.0, 0.0 ] + }, + "leg2" : { + "position" : [ 0.0, 0.75, 3.5 ], + "rotation" : [ 40.0, 0.0, 0.0 ] + }, + "leg3" : { + "position" : [ 0.0, 0.75, 3.5 ], + "rotation" : [ 40.0, 0.0, 0.0 ] + }, + "tail" : { + "position" : [ 0.0, -0.075, -0.15 ], + "rotation" : [ 60.0, 0.0, 0.0 ] + } + } + }, + "animation.fox.sleep" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -4.8, 0.0 ], + "rotation" : [ 0.0, 0.0, -90.0 ] + }, + "head" : { + "position" : [ 1.8, -0.4, -2.0 ], + "rotation" : [ 0.0, -115.0, "math.cos(query.anim_time * 160.0) + 90 -this" ] + }, + "tail" : { + "position" : [ 0.0, 0.0, 1.5 ], + "rotation" : [ -125.0, 0.0, 0.0 ] + } + } + }, + "animation.fox.stuck" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -0.3, 0.0 ], + "rotation" : [ 60.0, 0.0, 0.0 ] + } + } + }, + "animation.fox.wiggle" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -1.8, 0.0 ], + "rotation" : [ 0.0, "math.cos(query.life_time * 20.0 * 53.7) * 5.0 -this", 0.0 ] + }, + "head" : { + "position" : [ 0.0, -0.8, 0.0 ], + "rotation" : [ "math.clamp(-5.0 * (query.anim_time / 2.0), -5.0, 0)", 0.0, "math.clamp(25.0 * (query.anim_time / 2.0), 0, 25.0)" ] + }, + "leg0" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "leg1" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "leg2" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "leg3" : { + "position" : [ 0.0, 1.6, 0.0 ], + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "tail" : { + "rotation" : [ 0.0, "math.cos(query.life_time * 20.0 * 53.7) * 10.0 -this", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/frog.animation.json b/resource_pack/animations/frog.animation.json new file mode 100644 index 0000000..3d77e37 --- /dev/null +++ b/resource_pack/animations/frog.animation.json @@ -0,0 +1,593 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.frog.croak": { + "animation_length": 3, + "bones": { + "croaking_body": { + "position": { + "0.0": [0, 0, 0], + "0.375": [0, 0, 0], + "0.4167": [0, 0, 0], + "0.4583": [0, 1, 0], + "2.9583": [0, 1, 0], + "3.0": [0, 0, 0] + }, + "scale": { + "0.0": [0, 0, 0], + "0.375": [0, 0, 0], + "0.4167": [1, 1, 1], + "0.4583": [1, 1, 1], + "0.5417": [1.3, 2.1, 1.6], + "0.625": [1.3, 2.1, 1.6], + "0.7083": [1, 1, 1], + "2.25": [1, 1, 1], + "2.3333": [1.3, 2.1, 1.6], + "2.4167": [1.3, 2.1, 1.6], + "2.5": [1, 1, 1], + "2.5833": [1, 1, 1], + "2.6667": [1.3, 2.1, 1.6], + "2.875": [1.3, 2.1, 1.8], + "2.9583": [1, 1, 1], + "3.0": [0, 0, 0] + } + } + } + }, + "animation.frog.walk": { + "loop": true, + "animation_length": 1.25, + "bones": { + "left_arm": { + "rotation": { + "0.0": [0, -5, 0], + "0.2917": [7.5, -2.67, -7.5], + "0.625": [0, 0, 0], + "0.7917": [22.5, 0, 0], + "1.125": [-45, 0, 0], + "1.25": [0, -5, 0] + }, + "position": { + "0.0": [0, 0.1, -2], + "0.2917": [-0.5, -0.25, -0.13], + "0.625": [-0.5, 0.1, 2], + "0.9583": [0.5, 1, -0.11], + "1.25": [0, 0.1, -2] + } + }, + "right_arm": { + "rotation": { + "0.0": [0, 0, 0], + "0.125": [22.5, 0, 0], + "0.4583": [-45, 0, 0], + "0.625": [0, 5, 0], + "0.9583": [7.5, 2.33, 7.5], + "1.25": [0, 0, 0] + }, + "position": { + "0.0": [0.5, 0.1, 2], + "0.2917": [-0.5, 1, 0.12], + "0.625": [0, 0.1, -2], + "0.9583": [0.5, -0.25, -0.13], + "1.25": [0.5, 0.1, 2] + } + }, + "left_leg": { + "rotation": { + "0.0": [0, 0, 0], + "0.1667": [0, 0, 0], + "0.2917": [45, 0, 0], + "0.625": [-45, 0, 0], + "0.7917": [0, 0, 0], + "1.25": [0, 0, 0] + }, + "position": { + "0.0": [0, 0.1, 1.2], + "0.1667": [0, 0.1, 2], + "0.4583": [0, 2, 1.06], + "0.7917": [0, 0.1, -1], + "1.25": [0, 0.1, 1.2] + } + }, + "right_leg": { + "rotation": { + "0.0": [-33.75, 0, 0], + "0.0417": [-45, 0, 0], + "0.1667": [0, 0, 0], + "0.7917": [0, 0, 0], + "0.9583": [45, 0, 0], + "1.25": [-33.75, 0, 0] + }, + "position": { + "0.0": [0, 1.14, 0.11], + "0.1667": [0, 0.1, -1], + "0.7917": [0, 0.1, 2], + "1.125": [0, 2, 0.95], + "1.25": [0, 1.14, 0.11] + } + }, + "body": { + "rotation": { + "0.0": [0, 5, 0], + "0.2917": [-7.5, 0.33, 7.5], + "0.625": [0, -5, 0], + "0.9583": [-7.5, 0.33, -7.5], + "1.25": [0, 5, 0] + } + } + } + }, + "animation.frog.jump": { + "loop": "hold_on_last_frame", + "animation_length": 0.375, + "bones": { + "body": { + "rotation": { + "0.0": [0, 0, 0], + "0.25": [-20, 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.25": [0, 0, 0] + } + }, + "left_arm": { + "rotation": { + "0.0": [0, 0, 0], + "0.25": [-56.14, 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.25": [0, 1, 0] + } + }, + "right_arm": { + "rotation": { + "0.0": [0, 0, 0], + "0.25": [-56.14, 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.25": [0, 1, 0] + } + }, + "left_leg": { + "rotation": { + "0.0": [0, 0, 0], + "0.25": [45, 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.25": [0, 0, 0] + } + }, + "right_leg": { + "rotation": { + "0.0": [0, 0, 0], + "0.25": [45, 0, 0] + }, + "position": { + "0.0": [0, 0, 0], + "0.25": [0, 0, 0] + } + } + } + }, + "animation.frog.tongue": { + "animation_length": 0.5, + "bones": { + "head": { + "rotation": { + "0.0": [0, 0, 0], + "0.0833": [-60, 0, 0], + "0.4167": [-60, 0, 0], + "0.5": [0, 0, 0] + }, + "scale": { + "0.0": [1, 1, 1], + "0.0833": [0.998, 1, 1], + "0.4167": [0.998, 1, 1], + "0.5": [1, 1, 1] + } + }, + "tongue": { + "rotation": { + "0.0": [0, 0, 0], + "0.0833": [0, 0, 0], + "0.4167": [-18, 0, 0], + "0.5": [0, 0, 0] + }, + "scale": { + "0.0833": [1, 1, 1], + "0.1667": [0.5, 1, 5], + "0.4167": [1, 1, 1] + } + } + } + }, + "animation.frog.swim": { + "loop": true, + "animation_length": 1.04167, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [10, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [-10, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [90, 22.5, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [45, 22.5, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [-22.5, -22.5, -22.5], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [-45, -22.5, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [22.5, 0, 22.5], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [90, 22.5, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, -0.64, 2], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [0, -0.64, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [0, -0.27, -1.14], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [0, -1.45, 0.43], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [0, -0.64, 2], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [90, -22.5, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [45, -22.5, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [-22.5, 22.5, 22.5], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [-45, 22.5, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [22.5, 0, -22.5], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [90, -22.5, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, -0.64, 2], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [0, -0.64, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [0, -0.27, -1.14], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [0, -1.45, 0.43], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [0, -0.64, 2], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [67.5, -45, 0], + "lerp_mode": "catmullrom" + }, + "0.7917": { + "post": [90, 45, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [-2.5, 0, 1], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [-2, 0, 1], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [1, -2, -1], + "lerp_mode": "catmullrom" + }, + "0.7917": { + "post": [0.58, 0, -2.83], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [-2.5, 0, 1], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [-2.5, 0, 1], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [67.5, 45, 0], + "lerp_mode": "catmullrom" + }, + "0.7917": { + "post": [90, -45, 0], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [2.5, 0, 1], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [2, 0, 1], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [-1, -2, -1], + "lerp_mode": "catmullrom" + }, + "0.7917": { + "post": [-0.58, 0, -2.83], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [2.5, 0, 1], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [2.5, 0, 1], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.frog.idle.water": { + "loop": true, + "animation_length": 3, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [-10, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, 0, -22.5], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [0, 0, -45], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, -22.5], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [-1, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [-1, -0.5, 0], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [-1, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 22.5], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [0, 0, 45], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 22.5], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [1, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [1, -0.5, 0], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [1, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "post": [22.5, -22.5, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [22.5, -22.5, -45], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [22.5, -22.5, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 1], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [0, -1, 1], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 1], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "post": [22.5, 22.5, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [22.5, 22.5, 45], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [22.5, 22.5, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 1], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [0, -1, 1], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 1], + "lerp_mode": "catmullrom" + } + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/ghast.animation.json b/resource_pack/animations/ghast.animation.json new file mode 100644 index 0000000..445bbd9 --- /dev/null +++ b/resource_pack/animations/ghast.animation.json @@ -0,0 +1,45 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.ghast.move" : { + "loop" : true, + "bones" : { + "tentacles_0" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 0) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_1" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 57) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_2" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 115) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_3" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 172) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_4" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 229) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_5" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 286) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_6" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 344) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_7" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 402) * 11.5 + 23", 0.0, 0.0 ] + }, + "tentacles_8" : { + "rotation" : [ "math.sin(query.life_time * 360.0 + 458) * 11.5 + 23", 0.0, 0.0 ] + } + } + }, + "animation.ghast.scale" : { + "loop" : true, + "bones" : { + "body" : { + "scale" : 4.5 + } + } + } + } +} diff --git a/resource_pack/animations/goat.animation.json b/resource_pack/animations/goat.animation.json new file mode 100644 index 0000000..ffa8908 --- /dev/null +++ b/resource_pack/animations/goat.animation.json @@ -0,0 +1,66 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.goat.baby_scaling": { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, 10.0, 4.0 ], + "scale" : 1.4 + } + } + }, + "animation.goat.look_at_target" : { + "loop" : true, + "bones" : { + "head" : { + "relative_to" : { + "rotation" : "entity" + }, + "rotation" : [ "math.clamp(query.target_x_rotation, -40, 40)", "math.clamp(query.target_y_rotation, -45, 25)", 0 ] + } + } + }, + "animation.goat.walk" : { + "loop" : true, + "bones": { + "right_back_leg" : { + "rotation" : [ "variable.tcos_right_side * 0.5", 0.0, 0.0 ] + }, + "left_back_leg" : { + "rotation" : [ "variable.tcos_left_side * 0.5", 0.0, 0.0 ] + }, + "right_front_leg" : { + "rotation" : [ "-variable.tcos_right_side * 0.5", 0.0, 0.0 ] + }, + "left_front_leg" : { + "rotation" : [ "-variable.tcos_left_side * 0.5", 0.0, 0.0 ] + } + } + }, + "animation.goat.attack": { + "loop": true, + "bones": { + "head" : { + "rotation" : [ "variable.attack_head_rot", 0, 0 ] + } + } + }, + "animation.goat.ram_attack": { + "loop": true, + "anim_time_update": "Math.max(query.anim_time + (variable.should_bow_head ? query.delta_time : -query.delta_time * 4), 0)", + "bones": { + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "2.0": [ 60, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "2.0": [ 0, -8, -3 ] + } + } + } + } + } +} diff --git a/resource_pack/animations/guardian.animation.json b/resource_pack/animations/guardian.animation.json new file mode 100644 index 0000000..1d2bb35 --- /dev/null +++ b/resource_pack/animations/guardian.animation.json @@ -0,0 +1,111 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.guardian.move_eye" : { + "loop" : true, + "bones" : { + "eye" : { + "position" : [ "query.eye_target_x_rotation - this", "24 + query.eye_target_y_rotation - this", "-8.25 - this" ] + } + } + }, + "animation.guardian.setup" : { + "loop" : true, + "bones" : { + "spikepart0" : { + "rotation" : [ "-45.0 - this", "0.0 - this", "0.0 - this" ] + }, + "spikepart1" : { + "rotation" : [ "45.0 - this", "0.0 - this", "0.0 - this" ] + }, + "spikepart10" : { + "rotation" : [ "0.0 - this", "0.0 - this", " 135.0 - this" ] + }, + "spikepart11" : { + "rotation" : [ "0.0 - this", "0.0 - this", " -135.0 - this" ] + }, + "spikepart2" : { + "rotation" : [ "0.0 - this", "0.0 - this", "45.0 - this" ] + }, + "spikepart3" : { + "rotation" : [ "0.0 - this", "0.0 - this", "-45.0 - this" ] + }, + "spikepart4" : { + "rotation" : [ "90.0 - this", "45.0 - this", " 0.0 - this" ] + }, + "spikepart5" : { + "rotation" : [ "90.0 - this", "-45.0 - this", " 0.0 - this" ] + }, + "spikepart6" : { + "rotation" : [ "90.0 - this", "-135.0 - this", "0.0 - this" ] + }, + "spikepart7" : { + "rotation" : [ "90.0 - this", "135.0 - this", " 0.0 - this" ] + }, + "spikepart8" : { + "rotation" : [ "-135.0 - this", "0.0 - this", " 0.0 - this" ] + }, + "spikepart9" : { + "rotation" : [ "135.0 - this", "0.0 - this", " 0.0 - this" ] + } + } + }, + "animation.guardian.spikes" : { + "loop" : true, + "bones" : { + "spikepart0" : { + "position" : [ "-this", "24 + -8 * (1 + math.cos(query.life_time * 20 * 1.5) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + }, + "spikepart1" : { + "position" : [ "-this", "24 + -8 * (1 + math.cos(query.life_time * 20 * 1.5 + 1) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 1) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + }, + "spikepart10" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 10) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "-8 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 10) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-this" ] + }, + "spikepart11" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 11) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "-8 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 11) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-this" ] + }, + "spikepart2" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 2) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "24 + -8 * (1 + math.cos(query.life_time * 20 * 1.5 + 2) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-this" ] + }, + "spikepart3" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 3) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "24 + -8 * (1 + math.cos(query.life_time * 20 * 1.5 + 3) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", 0.0 ] + }, + "spikepart4" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 4) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "8 - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 4) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart5" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 5) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "8 - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 5) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart6" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 6) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "8 - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 6) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart7" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 7) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "8 - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 7) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart8" : { + "position" : [ "-this", "-8 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 8) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 8) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + }, + "spikepart9" : { + "position" : [ "-this", "-8 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 9) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 9) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + } + } + }, + "animation.guardian.swim" : { + "loop" : true, + "bones" : { + "tailpart0" : { + "rotation" : [ 0.0, "variable.tail_base_angle * 11.6 - this", 0.0 ] + }, + "tailpart1" : { + "position" : [ "-1.5 - this", "-0.5 - this", "14.0 - this" ], + "rotation" : [ 0.0, "variable.tail_base_angle * 22.8 - this", 0.0 ] + }, + "tailpart2" : { + "position" : [ "0.5 - this", "-0.5 - this", "6.0 - this" ], + "rotation" : [ 0.0, "variable.tail_base_angle * 34.4 - this", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/guardian.animation.v1.0.json b/resource_pack/animations/guardian.animation.v1.0.json new file mode 100644 index 0000000..086d6c1 --- /dev/null +++ b/resource_pack/animations/guardian.animation.v1.0.json @@ -0,0 +1,54 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.guardian.move_eye.v1.0" : { + "loop" : true, + "bones" : { + "eye" : { + "position" : [ "query.eye_target_x_rotation - this", "query.eye_target_y_rotation - 1.0 - this", "-8.25 - this" ] + } + } + }, + "animation.guardian.spikes.v1.0" : { + "loop" : true, + "bones" : { + "spikepart0" : { + "position" : [ "-this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + }, + "spikepart1" : { + "position" : [ "-this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 1) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 1) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + }, + "spikepart10" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 10) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "-32 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 10) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-this" ] + }, + "spikepart11" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 11) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "-32 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 11) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-this" ] + }, + "spikepart2" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 2) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 2) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-this" ] + }, + "spikepart3" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 3) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 3) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", 0.0 ] + }, + "spikepart4" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 4) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "-16 - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 4) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart5" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 5) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "-16 - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 5) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart6" : { + "position" : [ "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 6) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "-16 - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 6) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart7" : { + "position" : [ "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 7) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this", "-16 - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 7) * 0.01 - (variable.spike_extension - variable.spike_shake)) - this" ] + }, + "spikepart8" : { + "position" : [ "-this", "-32 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 8) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "8 * (1 + math.cos(query.life_time * 20 * 1.5 + 8) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + }, + "spikepart9" : { + "position" : [ "-this", "-32 + 8 * (1 + math.cos(query.life_time * 20 * 1.5 + 9) * 0.01 + (variable.spike_extension + variable.spike_shake)) - this", "-8 * (1 + math.cos(query.life_time * 20 * 1.5 + 9) * 0.01 - (variable.spike_extension + variable.spike_shake)) - this" ] + } + } + } + } +} diff --git a/resource_pack/animations/hoglin.animation.json b/resource_pack/animations/hoglin.animation.json new file mode 100644 index 0000000..c3f07fd --- /dev/null +++ b/resource_pack/animations/hoglin.animation.json @@ -0,0 +1,56 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.hoglin.baby_scaling": { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, 10.0, 4.0 ], + "scale" : 1.4 + } + } + }, + "animation.hoglin.look_at_target" : { + "loop" : true, + "bones" : { + "head" : { + "relative_to" : { + "rotation" : "entity" + }, + "rotation" : [ 0, "query.target_y_rotation - this", 0 ] + } + } + }, + "animation.hoglin.walk" : { + "loop" : true, + "bones": { + "left_ear": { + "rotation" : [ 0.0, 0.0, "variable.tcos_left_side * 0.5" ] + }, + "right_ear": { + "rotation" : [ 0.0, 0.0, "variable.tcos_right_side * 0.5" ] + }, + "leg_back_right" : { + "rotation" : [ "variable.tcos_right_side", 0.0, 0.0 ] + }, + "leg_back_left" : { + "rotation" : [ "variable.tcos_left_side", 0.0, 0.0 ] + }, + "leg_front_right" : { + "rotation" : [ "-variable.tcos_right_side", 0.0, 0.0 ] + }, + "leg_front_left" : { + "rotation" : [ "-variable.tcos_left_side", 0.0, 0.0 ] + } + } + }, + "animation.hoglin.attack": { + "loop": true, + "bones": { + "head" : { + "rotation" : [ "variable.attack_head_rot", 0, 0 ] + } + } + } + } +} diff --git a/resource_pack/animations/horse_v1.animation.json b/resource_pack/animations/horse_v1.animation.json new file mode 100644 index 0000000..665f9cc --- /dev/null +++ b/resource_pack/animations/horse_v1.animation.json @@ -0,0 +1,551 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.horse.baby_transform" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ] + }, + "ear1" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ], + "scale" : "(0.5 + (math.pow(query.model_scale * 16.0, 2.0) * 0.5)) / (query.model_scale * 16.0)" + }, + "ear2" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ], + "scale" : "(0.5 + (math.pow(query.model_scale * 16.0, 2.0) * 0.5)) / (query.model_scale * 16.0)" + }, + "head" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ], + "scale" : "(0.5 + (math.pow(query.model_scale * 16.0, 2.0) * 0.5)) / (query.model_scale * 16.0)" + }, + "leg1a" : { + "position" : [ 0.0, "13.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "leg1b" : { + "position" : [ 0.0, "7.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (2.0 * variable.baby_ratio)", 1.0 ] + }, + "leg1c" : { + "position" : [ 0.0, "7.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "leg2a" : { + "position" : [ 0.0, "13.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "leg2b" : { + "position" : [ 0.0, "7.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (2.0 * variable.baby_ratio)", 1.0 ] + }, + "leg2c" : { + "position" : [ 0.0, "7.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "leg3a" : { + "position" : [ 0.0, "15.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "leg3b" : { + "position" : [ 0.0, "8.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 0.9, "1.0 + (2.0 * variable.baby_ratio)", 0.9 ] + }, + "leg3c" : { + "position" : [ 0.0, "7.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "leg4a" : { + "position" : [ 0.0, "15.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "leg4b" : { + "position" : [ 0.0, "8.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 0.9, "1.0 + (2.0 * variable.baby_ratio)", 0.9 ] + }, + "leg4c" : { + "position" : [ 0.0, "7.0 * variable.baby_ratio", 0.0 ], + "scale" : [ 1.0, "1.0 + (1.0 * variable.baby_ratio)", 1.0 ] + }, + "mane" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ] + }, + "muleearl" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ], + "scale" : "1.0 + 0.5 * (1.0 - this)" + }, + "muleearr" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ], + "scale" : "1.0 + 0.5 * (1.0 - this)" + }, + "neck" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ] + }, + "taila" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ] + }, + "tailb" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ] + }, + "tailc" : { + "position" : [ 0.0, "24.0 * variable.baby_ratio", 0.0 ] + } + } + }, + "animation.horse.eat" : { + "loop" : true, + "bones" : { + "ear1" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "ear2" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "headsaddle" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "mane" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "muleearl" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "muleearr" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "neck" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "saddlemouthl" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "saddlemouthline" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "saddlemouthliner" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "saddlemouthr" : { + "position" : [ 0.0, "-variable.eat_anim * 7.0", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + } + } + }, + "animation.horse.look_at_player" : { + "loop" : true, + "bones" : { + "ear1" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "ear2" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "head" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "headsaddle" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "mane" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "muleearl" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "muleearr" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "neck" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "saddlemouthl" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "saddlemouthline" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "saddlemouthliner" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + }, + "saddlemouthr" : { + "rotation" : [ 0.0, "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + } + } + }, + "animation.horse.mouth" : { + "loop" : true, + "bones" : { + "lmouth" : { + "position" : [ 0.0, 0.0, "variable.mouth_anim" ], + "rotation" : [ "variable.mouth_anim * 5.0 - this", 0.0, 0.0 ] + }, + "umouth" : { + "rotation" : [ "-variable.mouth_anim * 5.0 - this", 0.0, 0.0 ] + } + } + }, + "animation.horse.setup" : { + "loop" : true, + "bones" : { + "ear1" : { + "position" : [ 0.0, "-this - 3.0", "-this - 10.0" ], + "rotation" : [ "-this + variable.head_rotation.x", "-this", 0.0 ] + }, + "ear2" : { + "position" : [ 0.0, "-this - 3.0", "-this - 10.0" ], + "rotation" : [ "-this + variable.head_rotation.x", "-this", 0.0 ] + }, + "head" : { + "position" : [ 0.0, "-this - 3.0", "-this - 10.0" ], + "rotation" : [ 0.0, "-this", 0.0 ] + }, + "lmouth" : { + "position" : [ 0.0, "-this", "-this" ], + "rotation" : [ 0.0, "-this", 0.0 ] + }, + "leg1a" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg1b" : { + "position" : [ 0.0, "-this - variable.leg_back_origin.y - 7.0", "-this + variable.leg_back_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg1c" : { + "position" : [ 0.0, "-this - variable.leg_back_origin.y - 7.0", "-this + variable.leg_back_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg2a" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg2b" : { + "position" : [ 0.0, "-this - variable.leg_back_origin.y - 7.0", "-this + variable.leg_back_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg2c" : { + "position" : [ 0.0, "-this - variable.leg_back_origin.y - 7.0", "-this + variable.leg_back_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg3a" : { + "position" : [ 0.0, "-this - 9.0", 0.0 ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg3b" : { + "position" : [ 0.0, "-this - variable.leg_front_origin.y - 7.0", "-this + variable.leg_front_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg3c" : { + "position" : [ 0.0, "-this - variable.leg_front_origin.y - 7.0", "-this + variable.leg_front_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg4a" : { + "position" : [ 0.0, "-this - 9.0", 0.0 ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg4b" : { + "position" : [ 0.0, "-this - variable.leg_front_origin.y - 7.0", "-this + variable.leg_front_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg4c" : { + "position" : [ 0.0, "-this - variable.leg_front_origin.y - 7.0", "-this + variable.leg_front_origin.z" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "MuleEarL" : { + "position" : [ 0.0, "-this - 3.0", "-this - 10.0" ], + "rotation" : [ "-this + variable.head_rotation.x", "-this", 0.0 ] + }, + "MuleEarR" : { + "position" : [ 0.0, "-this - 3.0", "-this - 10.0" ], + "rotation" : [ "-this + variable.head_rotation.x", "-this", 0.0 ] + }, + "mane" : { + "position" : [ 0.0, "-this - 3.0", "-this - 9.95" ], + "rotation" : [ 0.0, "-this", 0.0 ] + }, + "neck" : { + "position" : [ 0.0, "-this - 3.0", "-this - 10.0" ], + "rotation" : [ 0.0, "-this", 0.0 ] + }, + "umouth" : { + "position" : [ 0.0, "-this", "-this" ], + "rotation" : [ 0.0, "-this", 0.0 ] + } + } + }, + "animation.horse.shake_tail" : { + "loop" : true, + "bones" : { + "taila" : { + "rotation" : [ 60.0, "math.cos(query.life_time * 802.0) * 57.3", 0.0 ] + }, + "tailb" : { + "rotation" : [ 60.0, "math.cos(query.life_time * 802.0) * 57.3", 0.0 ] + }, + "tailc" : { + "rotation" : [ 60.0, "math.cos(query.life_time * 802.0) * 57.3", 0.0 ] + } + } + }, + "animation.horse.stand" : { + "loop" : true, + "bones" : { + "bag1" : { + "position" : [ 0.0, "variable.stand_anim * -2.5", "variable.stand_anim * 4.0" ], + "rotation" : [ 90.0, "variable.stand_anim * 45.0", 90.0 ] + }, + "bag2" : { + "position" : [ 0.0, "variable.stand_anim * -2.5", "variable.stand_anim * 4.0" ], + "rotation" : [ 90.0, "variable.stand_anim * 45.0", 90.0 ] + }, + "body" : { + "rotation" : [ "variable.stand_anim * -45.0", 0.0, 0.0 ] + }, + "ear1" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "ear2" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "head" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "headsaddle" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "leg1a" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "variable.stand_anim * 10.0", 0.0, 0.0 ] + }, + "leg1b" : { + "position" : [ 0.0, 0.0, "variable.stand_anim * 1.0" ], + "rotation" : [ "variable.stand_anim * -10.0", 0.0, 0.0 ] + }, + "leg1c" : { + "position" : [ 0.0, 0.0, "variable.stand_anim * 1.0" ], + "rotation" : [ "variable.stand_anim * -10.0", 0.0, 0.0 ] + }, + "leg2a" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "variable.stand_anim * 10.0", 0.0, 0.0 ] + }, + "leg2b" : { + "position" : [ 0.0, 0.0, "variable.stand_anim * 1.0" ], + "rotation" : [ "variable.stand_anim * -10.0", 0.0, 0.0 ] + }, + "leg2c" : { + "position" : [ 0.0, 0.0, "variable.stand_anim * 1.0" ], + "rotation" : [ "variable.stand_anim * -10.0", 0.0, 0.0 ] + }, + "leg3a" : { + "position" : [ 0.0, "variable.stand_anim * (-this + 1.0)", "variable.stand_anim * 5.0" ], + "rotation" : [ "(-60.0 * variable.stand_anim + variable.leg_stand * 57.3) * variable.stand_anim", 0.0, 0.0 ] + }, + "leg3b" : { + "position" : [ 0.0, "-(variable.leg_stand * 5.0) - (variable.stand_anim * this + 1.0)", "(variable.leg_stand * 3.0) + variable.stand_anim * 2.0" ], + "rotation" : [ "(variable.leg_stand * 90.0) - 25.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "leg3c" : { + "position" : [ 0.0, "-(variable.leg_stand * 5.0) - (variable.stand_anim * this + 1.0)", "(variable.leg_stand * 3.0) + variable.stand_anim * 2.0" ], + "rotation" : [ "(variable.leg_stand * 90.0) - 25.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "leg4a" : { + "position" : [ 0.0, "variable.stand_anim * (-this + 1.0)", "variable.stand_anim * 5.0" ], + "rotation" : [ "(-60.0 * variable.stand_anim - variable.leg_stand * 57.3)", 0.0, 0.0 ] + }, + "leg4b" : { + "position" : [ 0.0, "(variable.leg_stand * 5.0) - (variable.stand_anim * this + 1.0)", "-(variable.leg_stand * 3.0) + variable.stand_anim * 2.0" ], + "rotation" : [ "-(variable.leg_stand * 90.0) - 25.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "leg4c" : { + "position" : [ 0.0, "(variable.leg_stand * 5.0) - (variable.stand_anim * this + 1.0)", "-(variable.leg_stand * 3.0) + variable.stand_anim * 2.0" ], + "rotation" : [ "-(variable.leg_stand * 90.0) - 25.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "mane" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "muleearl" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "muleearr" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "neck" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "saddle" : { + "position" : [ 0.0, "variable.stand_anim * 4.5", "variable.stand_anim * 6.5" ], + "rotation" : [ "variable.stand_anim * -45.0", 0.0, 0.0 ] + }, + "saddleb" : { + "position" : [ 0.0, "variable.stand_anim * 4.5", "variable.stand_anim * 6.5" ], + "rotation" : [ "variable.stand_anim * -45.0", 0.0, 0.0 ] + }, + "saddlec" : { + "position" : [ 0.0, "variable.stand_anim * 4.5", "variable.stand_anim * 6.5" ], + "rotation" : [ "variable.stand_anim * -45.0", 0.0, 0.0 ] + }, + "saddlel" : { + "position" : [ 0.0, "variable.stand_anim * 4.5", "variable.stand_anim * 6.5" ] + }, + "saddlel2" : { + "position" : [ 0.0, "variable.stand_anim * 4.5", "variable.stand_anim * 6.5" ] + }, + "saddlemouthl" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "saddlemouthline" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "saddlemouthliner" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "saddlemouthr" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "saddler" : { + "position" : [ 0.0, "variable.stand_anim * 4.5", "variable.stand_anim * 6.5" ] + }, + "saddler2" : { + "position" : [ 0.0, "variable.stand_anim * 4.5", "variable.stand_anim * 6.5" ] + }, + "taila" : { + "position" : [ 0.0, "variable.stand_anim * -5.0", 0.0 ], + "rotation" : [ "variable.stand_anim * -10.0", 0.0, 0.0 ] + }, + "tailb" : { + "position" : [ 0.0, "variable.stand_anim * -5.0", 0.0 ], + "rotation" : [ "variable.stand_anim * -10.0", 0.0, 0.0 ] + }, + "tailc" : { + "position" : [ 0.0, "variable.stand_anim * -5.0", 0.0 ], + "rotation" : [ "variable.stand_anim * -10.0", 0.0, 0.0 ] + } + } + }, + "animation.horse.walk" : { + "loop" : true, + "bones" : { + "bag1" : { + "rotation" : [ "variable.leg_x_rot_anim / 5.0", 0.0, 0.0 ] + }, + "bag2" : { + "rotation" : [ "-variable.leg_x_rot_anim / 5.0", 0.0, 0.0 ] + }, + "ear1" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "ear2" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "head" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "headsaddle" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "leg1a" : { + "rotation" : [ "(-variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg1b" : { + "position" : [ 0.0, "(math.abs(variable.leg_walk_factor) * 28.6 * query.modified_move_speed) * (0.066 + (variable.baby_ratio * 0.05))", "(-variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "(-variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg1c" : { + "position" : [ 0.0, "(math.abs(variable.leg_walk_factor) * 28.6 * query.modified_move_speed) * (0.066 + (variable.baby_ratio * 0.05)) + (6.0 * variable.baby_ratio * math.clamp(-variable.leg_x_rot_anim, -45.0, 0.0) / -45.0)", "(-variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "(-variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg2a" : { + "rotation" : [ "(variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg2b" : { + "position" : [ 0.0, "(math.abs(variable.leg_walk_factor) * 28.6 * query.modified_move_speed) * (0.066 + (variable.baby_ratio * 0.05))", "(variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "(variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg2c" : { + "position" : [ 0.0, "(math.abs(variable.leg_walk_factor) * 28.6 * query.modified_move_speed) * (0.066 + (variable.baby_ratio * 0.05)) + (6.0 * variable.baby_ratio * math.clamp(variable.leg_x_rot_anim, -45.0, 0.0) / -45)", "(variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "(variable.leg_walk_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg3a" : { + "rotation" : [ "variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg3b" : { + "position" : [ 0.0, "math.abs(variable.leg_x_rot_anim) * (0.066 + (variable.baby_ratio * 0.05))", "variable.leg_x_rot_anim * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg3c" : { + "position" : [ 0.0, "math.abs(variable.leg_x_rot_anim) * (0.066 + (variable.baby_ratio * 0.05)) + (6.0 * variable.baby_ratio * math.clamp(variable.leg_x_rot_anim, 0.0, 45.0) / 45.0)", "variable.leg_x_rot_anim * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg4a" : { + "rotation" : [ "-variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg4b" : { + "position" : [ 0.0, "math.abs(variable.leg_x_rot_anim) * (0.066 + (variable.baby_ratio * 0.05))", "-variable.leg_x_rot_anim * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "-variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg4c" : { + "position" : [ 0.0, "math.abs(variable.leg_x_rot_anim) * (0.066 + (variable.baby_ratio * 0.05)) + (6.0 * variable.baby_ratio * math.clamp(-variable.leg_x_rot_anim, 0.0, 45.0) / 45.0)", "-variable.leg_x_rot_anim * (0.09 + (variable.baby_ratio * 0.08))" ], + "rotation" : [ "-variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "mane" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "muleearl" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "muleearr" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "neck" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "saddlemouthl" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "saddlemouthline" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "saddlemouthliner" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "saddlemouthr" : { + "rotation" : [ "variable.head_x_rot", 0.0, 0.0 ] + }, + "taila" : { + "rotation" : [ "variable.walk_tail_angle", 0.0, 0.0 ] + }, + "tailb" : { + "rotation" : [ "variable.walk_tail_angle", 0.0, 0.0 ] + }, + "tailc" : { + "rotation" : [ "variable.walk_tail_angle", 0.0, 0.0 ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/horse_v2.animation.json b/resource_pack/animations/horse_v2.animation.json new file mode 100644 index 0000000..4d4e141 --- /dev/null +++ b/resource_pack/animations/horse_v2.animation.json @@ -0,0 +1,190 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.horse.v2.baby_transform" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "11 * ((0.0625 - query.model_scale) * 16.0)", 0.0 ] + }, + "head" : { + "scale" : "1.0 + 0.5 * (1.0 - (query.model_scale * 16.0))" + }, + "leg1a" : { + "position" : [ 0.0, "11 * ((0.0625 - query.model_scale) * 16.0)", 0.0 ], + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + }, + "leg2a" : { + "position" : [ 0.0, "(11 * ((0.0625 - query.model_scale) * 16.0))", 0.0 ], + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + }, + "leg3a" : { + "position" : [ 0.0, "11 * ((0.0625 - query.model_scale) * 16.0)", 0.0 ], + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + }, + "leg4a" : { + "position" : [ 0.0, "11 * ((0.0625 - query.model_scale) * 16.0)", 0.0 ], + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + }, + "mane" : { + "position" : [ 0.0, "11 * ((0.0625 - query.model_scale) * 16.0)", 0.0 ] + }, + "neck" : { + "position" : [ 0.0, "11 * ((0.0625 - query.model_scale) * 16.0)", 0.0 ] + } + } + }, + "animation.horse.v2.eat" : { + "loop" : true, + "bones" : { + "mane" : { + "position" : [ 0.0, "-variable.eat_anim", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + }, + "neck" : { + "position" : [ 0.0, "-variable.eat_anim", "variable.eat_anim * -2.0" ], + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + } + } + }, + "animation.horse.v2.setup" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "variable.y_adjust", 0.0 ] + }, + "ear1" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "ear2" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "head" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "headsaddle" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "leg1a" : { + "position" : [ 0.0, "variable.y_adjust", 0.0 ] + }, + "leg2a" : { + "position" : [ 0.0, "variable.y_adjust", 0.0 ] + }, + "leg3a" : { + "position" : [ 0.0, "variable.y_adjust", 0.0 ] + }, + "leg4a" : { + "position" : [ 0.0, "variable.y_adjust", 0.0 ] + }, + "mane" : { + "position" : [ 0.0, "-7.0 - this + variable.y_adjust", "-7.95 - this" ], + "rotation" : [ "variable.head_x_rot", "query.head_y_rotation(20)", 0.0 ] + }, + "muleearl" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "muleearr" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "neck" : { + "position" : [ 0.0, "-7.0 - this + variable.y_adjust", "-8.0 - this" ], + "rotation" : [ "variable.head_x_rot", "query.head_y_rotation(20)", 0.0 ] + }, + "saddlemouthl" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "saddlemouthline" : { + "position" : [ 0.0, "-7.0 - this", "-8.0 - this" ], + "rotation" : [ "variable.head_x_rot - this", "query.head_y_rotation(20)", 0.0 ] + }, + "saddlemouthliner" : { + "position" : [ 0.0, "-7.0 - this", "-8.0 - this" ], + "rotation" : [ "variable.head_x_rot - this", "query.head_y_rotation(20)", 0.0 ] + }, + "saddlemouthr" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "umouth" : { + "rotation" : [ "-this", 0.0, 0.0 ] + } + } + }, + "animation.horse.v2.stand" : { + "loop" : true, + "bones" : { + "bag1" : { + "position" : [ 0.0, "variable.stand_anim * -2.5", "variable.stand_anim * 4.0" ] + }, + "bag2" : { + "position" : [ 0.0, "variable.stand_anim * -2.5", "variable.stand_anim * 4.0" ] + }, + "body" : { + "rotation" : [ "variable.stand_anim * -45.0", 0.0, 0.0 ] + }, + "leg1a" : { + "rotation" : [ "5.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "leg2a" : { + "rotation" : [ "5.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "leg3a" : { + "position" : [ 0.0, "variable.stand_anim * -this", "variable.stand_anim * 4.0" ], + "rotation" : [ "(-60.0 + math.cos((query.life_time * 20.0) * 34.38) * 57.3) * variable.stand_anim", 0.0, 0.0 ] + }, + "leg4a" : { + "position" : [ 0.0, "variable.stand_anim * -this", "variable.stand_anim * 4.0" ], + "rotation" : [ "(-60.0 - math.cos((query.life_time * 20.0) * 34.38) * 57.3) * variable.stand_anim", 0.0, 0.0 ] + }, + "mane" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "neck" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ], + "rotation" : [ "variable.stand_anim * (15.0 + variable.head_x_rot) + variable.base_head_angle - this", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20) - this", 0.0 ] + }, + "saddlemouthline" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ] + }, + "saddlemouthliner" : { + "position" : [ 0.0, "variable.stand_anim * 11.0", "variable.stand_anim * 7.0" ] + }, + "taila" : { + "rotation" : [ "variable.stand_anim * 80.0 + (1.0 - variable.stand_anim) * 25.0 - this", 0.0, 0.0 ] + } + } + }, + "animation.horse.v2.tail" : { + "loop" : true, + "bones" : { + "taila" : { + "rotation" : [ 0.0, "math.cos(query.life_time * 802.0) * 57.3", 0.0 ] + } + } + }, + "animation.horse.v2.walk" : { + "loop" : true, + "bones" : { + "bag1" : { + "rotation" : [ "variable.leg_x_rot_anim / 5.0", 0.0, 0.0 ] + }, + "bag2" : { + "rotation" : [ "-variable.leg_x_rot_anim / 5.0", 0.0, 0.0 ] + }, + "leg1a" : { + "rotation" : [ "(-variable.leg_stand_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg2a" : { + "rotation" : [ "(variable.leg_stand_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg3a" : { + "rotation" : [ "variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "leg4a" : { + "rotation" : [ "-variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/horse_v3.animation.json b/resource_pack/animations/horse_v3.animation.json new file mode 100644 index 0000000..4d18d80 --- /dev/null +++ b/resource_pack/animations/horse_v3.animation.json @@ -0,0 +1,101 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.horse.v3.baby_transform" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "11 * ((0.0625 - query.model_scale) * 16.0)", 0.0 ] + }, + "head" : { + "scale" : "1.0 + 0.5 * (1.0 - (query.model_scale * 16.0))" + }, + "legbl" : { + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + }, + "legbr" : { + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + }, + "legfl" : { + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + }, + "legfr" : { + "scale" : [ 1.0, "1.0 + ((0.0625 - query.model_scale) * 16.0)", 1.0 ] + } + } + }, + "animation.horse.v3.eat" : { + "loop" : true, + "bones" : { + "neck" : { + "rotation" : [ "variable.eat_anim * (110.0 + math.sin((query.life_time * 20.0) * 57.3) * 2.86)", 0.0, 0.0 ] + } + } + }, + "animation.horse.v3.look_at_player" : { + "loop" : true, + "bones" : { + "neck" : { + "rotation" : [ "variable.head_x_rot", "(variable.stand_anim + variable.inverse_max_stand_eat) * query.head_y_rotation(20)", 0.0 ] + } + } + }, + "animation.horse.v3.rear" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-45.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "legbl" : { + "rotation" : [ "45.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "legbr" : { + "rotation" : [ "45.0 * variable.stand_anim", 0.0, 0.0 ] + }, + "legfl" : { + "rotation" : [ "(-60.0 + math.cos((query.life_time * 20.0) * 34.38) * 57.3) * variable.stand_anim", 0.0, 0.0 ] + }, + "legfr" : { + "rotation" : [ "(-60.0 - math.cos((query.life_time * 20.0) * 34.38) * 57.3) * variable.stand_anim", 0.0, 0.0 ] + }, + "neck" : { + "rotation" : [ "(15.0 + variable.head_x_rot) * variable.stand_anim", 0.0, 0.0 ] + }, + "tail" : { + "rotation" : [ "55.0 * variable.stand_anim", 0.0, 0.0 ] + } + } + }, + "animation.horse.v3.tail" : { + "loop" : true, + "bones" : { + "tail" : { + "rotation" : [ 0.0, "math.cos(query.life_time * 802.0) * 57.3", 0.0 ] + } + } + }, + "animation.horse.v3.walk" : { + "loop" : true, + "bones" : { + "bagl" : { + "rotation" : [ "variable.leg_x_rot_anim / 5.0", 0.0, 0.0 ] + }, + "bagr" : { + "rotation" : [ "-variable.leg_x_rot_anim / 5.0", 0.0, 0.0 ] + }, + "legbl" : { + "rotation" : [ "(-variable.leg_stand_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "legbr" : { + "rotation" : [ "(variable.leg_stand_factor * 28.6 * query.modified_move_speed) * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "legfl" : { + "rotation" : [ "variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + }, + "legfr" : { + "rotation" : [ "-variable.leg_x_rot_anim * (1.0 - variable.stand_anim)", 0.0, 0.0 ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/humanoid.animation.json b/resource_pack/animations/humanoid.animation.json new file mode 100644 index 0000000..d71de02 --- /dev/null +++ b/resource_pack/animations/humanoid.animation.json @@ -0,0 +1,337 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.humanoid.attack.rotations" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "math.sin(math.sqrt(variable.attack_time) * 360) * 11.46 - this", 0.0 ] + }, + "leftarm" : { + "rotation" : [ "math.sin(math.sqrt(variable.attack_time) * 360) * 11.46", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "math.sin(1.0 - math.pow(1.0 - variable.attack_time, 3.0) * 180.0) * (variable.is_brandishing_spear || variable.is_holding_spyglass ? -1.0 : 1.0 )", "variable.is_brandishing_spear || variable.is_holding_spyglass ? 0.0 : (math.sin(math.sqrt(variable.attack_time) * 360) * 11.46) * 2.0", 0.0 ] + } + } + }, + "animation.humanoid.base_pose" : { + "loop" : true, + "bones" : { + "waist" : { + "rotation" : [ 0.0, 0.0, 0.0 ] + } + } + }, + "animation.humanoid.big_head" : { + "loop" : true, + "bones" : { + "head" : { + "scale" : 1.4 + } + } + }, + "animation.humanoid.bob" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ 0.0, 0.0, "((math.cos(query.life_time * 103.2) * 2.865) + 2.865) *-1.0" ] + }, + "rightarm" : { + "rotation" : [ 0.0, 0.0, "(math.cos(query.life_time * 103.2) * 2.865) + 2.865" ] + } + } + }, + "animation.humanoid.bow_and_arrow" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "query.target_x_rotation - 90.0 - math.sin(query.life_time * 76.8) * 2.865 - this", "query.target_y_rotation + 28.65", "-(math.cos(query.life_time * 103.2) * 2.865) - 2.865" ] + }, + "rightarm" : { + "rotation" : [ "query.target_x_rotation - 90.0 + math.sin(query.life_time * 76.8) * 2.865 - this", "query.target_y_rotation - 5.73", "(math.cos(query.life_time * 103.2) * 2.865) + 2.865" ] + } + } + }, + "animation.humanoid.brandish_spear" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation": [ "this * -0.5 - 143.5 - 22.5 * variable.charge_amount", "-this", "-((math.cos(query.life_time * 103.2) * 2.865) + 2.865)" ] + } + } + }, + "animation.humanoid.holding_spyglass" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "math.clamp(query.target_x_rotation - 105 - (variable.is_sneaking ? 15 : 0), -170, 180)", "math.clamp(query.target_y_rotation - 15, -60, 90)", 5.0 ] + } + } + }, + "animation.humanoid.tooting_goat_horn" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "math.clamp(query.target_x_rotation, -43, 14) - 75", "math.clamp(query.target_y_rotation, -37, 43) - 30", 5.0 ] + }, + "rightitem": { + "rotation": [ 15, 0, 100 ], + "position": [ 4, 0, 1 ] + } + } + }, + "animation.humanoid.holding_brush" : { + "loop" : true, + "bones" : { + "rightitem": { + "scale": 1.5, + "position": { + "0.0": [ -7, -1, -1 ] + }, + "rotation": { + "0.0": [ 20, -30, -10 ] + } + } + } + }, + "animation.humanoid.brushing" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "math.clamp(query.target_x_rotation, -43, 14) - 50", "math.clamp(query.target_y_rotation, -37, 43)", 5.0 ] + }, + "rightitem": { + "position": { + "0.0": [ 0, 0, 0 ], + "0.1": { + "pre": [ 0, 0, 0 ], + "post": [ 1.5, 0, -3 ] + }, + "0.2": { + "pre": [ 1.5, 0, -3 ], + "post": [ 0, 0, 0 ] + }, + "0.3": { + "pre": [ 0, 0, 0 ], + "post": [ 1.5, 0, 3 ] + }, + "0.4": { + "pre": [ 1.5, 0, 3 ], + "post": [ 0, 0, 0 ] + }, + "0.5": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 0, 0 ] + } + }, + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1": { + "pre": [ 0, 0, 0 ], + "post": [ 0, -30, 0 ] + }, + "0.2": { + "pre": [ 0, -30, 0 ], + "post": [ 0, 0, 0 ] + }, + "0.3": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 30, 0 ] + }, + "0.4": { + "pre": [ 0, 30, 0 ], + "post": [ 0, 0, 0 ] + }, + "0.5": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 0, 0 ] + } + } + } + } + }, + "animation.humanoid.celebrating" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "(math.cos(query.life_time * 800.0) * 2.865)", 180.0, -135.0 ] + }, + "rightarm" : { + "rotation" : [ "(math.cos(query.life_time * 800.0) * 2.865)", 180.0, 153.0 ] + } + } + }, + "animation.humanoid.charging" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "22.5 * variable.charge_amount - this", "-this", 0.0 ] + } + } + }, + "animation.humanoid.damage_nearby_mobs" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-45.0-this", "-this", "-this" ] + }, + "leftleg" : { + "rotation" : [ "45.0-this", "-0.1-this", "-0.1-this" ] + }, + "rightarm" : { + "rotation" : [ "45.0-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-45.0-this", "0.1-this", "0.1-this" ] + } + } + }, + "animation.humanoid.holding" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.is_holding_left ? (-this * 0.5 - 18.0) : 0.0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "variable.is_holding_right ? (-this * 0.5 - 18.0) : 0.0", 0.0, 0.0 ] + } + } + }, + "animation.humanoid.look_at_target.default" : { + "loop" : true, + "bones" : { + "head" : { + "relative_to" : { + "rotation" : "entity" + }, + "rotation" : [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.humanoid.look_at_target.gliding" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ -45.0, "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.humanoid.look_at_target.swimming" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ "math.lerp(query.target_x_rotation, -45.0, variable.swim_amount)", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.humanoid.move" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.tcos0", 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ "variable.tcos0 * -1.4", -0.1, -0.1 ] + }, + "rightarm" : { + "rotation" : [ "-variable.tcos0", 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ "variable.tcos0 * 1.4", 0.1, 0.1 ] + } + } + }, + "animation.humanoid.riding.arms" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ -36.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ -36.0, 0.0, 0.0 ] + } + } + }, + "animation.humanoid.riding.legs" : { + "loop" : true, + "bones" : { + "leftleg" : { + "rotation" : [ "-72.0 - this", "-18.0 - this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-72.0 - this", "18.0 - this", "-this" ] + } + } + }, + "animation.humanoid.sneaking" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "0.5 - this", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, 1.0, 0.0 ] + }, + "leftarm" : { + "rotation" : [ 72.0, 0.0, 0.0 ] + }, + "leftleg" : { + "position" : [ 0.0, -3.1, 3.9 ] + }, + "rightarm" : { + "rotation" : [ 72.0, 0.0, 0.0 ] + }, + "rightleg" : { + "position" : [ 0.0, -2.9, 4.1 ] + } + } + }, + "animation.humanoid.swimming" : { + "animation_length" : 1.3, + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : { + "0.7" : { + "post" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.leftarmswim_amount)", "math.lerp(this, 180.0, variable.leftarmswim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.leftarmswim_amount)" ], + "pre" : [ "math.lerp(this, 0.0, variable.leftarmswim_amount)", "math.lerp(this, 180.0, variable.leftarmswim_amount)", "math.lerp(this, 180.0 - 0.01877 * (-65.0 * math.mod(query.modified_distance_moved, 26.0) + math.mod(query.modified_distance_moved, 26.0) * math.mod(query.modified_distance_moved, 26.0)), variable.leftarmswim_amount)" ] + }, + "1.1" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.leftarmswim_amount)", "math.lerp(this, 180.0, variable.leftarmswim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.leftarmswim_amount)" ], + "1.3" : { + "post" : [ "math.lerp(this, 90.0 - (22.5 * math.mod(query.modified_distance_moved, 26.0)), variable.leftarmswim_amount)", "math.lerp(this, 180.0, variable.leftarmswim_amount)", "math.lerp(this, 180.0, variable.leftarmswim_amount)" ], + "pre" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.leftarmswim_amount)", "math.lerp(this, 180.0, variable.leftarmswim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.leftarmswim_amount)" ] + } + } + }, + "leftleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.modified_distance_moved * 19.5 + 180.0) * 17.2, variable.leftarmswim_amount) - this", -0.1, -0.1 ] + }, + "rightarm" : { + "rotation" : { + "0.7" : { + "post" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.rightarmswim_amount)", "math.lerp(this, 180.0, variable.rightarmswim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.rightarmswim_amount)" ], + "pre" : [ "math.lerp(this, 0.0, variable.rightarmswim_amount)", "math.lerp(this, 180.0, variable.rightarmswim_amount)", "math.lerp(this, -0.1019 * (-65.0 * math.mod(query.modified_distance_moved, 26.0) + math.mod(query.modified_distance_moved, 26.0) * math.mod(query.modified_distance_moved, 26.0)), variable.rightarmswim_amount)" ] + }, + "1.1" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.rightarmswim_amount)", "math.lerp(this, 180.0, variable.rightarmswim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.rightarmswim_amount)" ], + "1.3" : { + "post" : [ "math.lerp(this, 90.0 - (22.5 * math.mod(query.modified_distance_moved, 26.0)), variable.rightarmswim_amount)", "math.lerp(this, 180.0, variable.rightarmswim_amount)", "math.lerp(this, 180.0, variable.rightarmswim_amount)" ], + "pre" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.rightarmswim_amount)", "math.lerp(this, 180.0, variable.rightarmswim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.rightarmswim_amount)" ] + } + } + }, + "rightleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.modified_distance_moved * 19.5) * 17.2, variable.leftarmswim_amount) - this", 0.1, 0.1 ] + } + } + }, + "animation.humanoid.use_item_progress" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "variable.use_item_startup_progress * -60.0 + variable.use_item_interval_progress * 11.25", "variable.use_item_startup_progress * -22.5 + variable.use_item_interval_progress * 11.25", "variable.use_item_startup_progress * -5.625 + variable.use_item_interval_progress * 11.25" ] + } + } + } + } +} diff --git a/resource_pack/animations/iron_golem.animation.json b/resource_pack/animations/iron_golem.animation.json new file mode 100644 index 0000000..18d61b2 --- /dev/null +++ b/resource_pack/animations/iron_golem.animation.json @@ -0,0 +1,80 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.iron_golem.attack" : { + "loop" : true, + "bones" : { + "arm0" : { + "rotation" : [ "-114 + ((1.5 * math.abs(math.mod(variable.attack_animation_tick - query.frame_alpha, 10) - 5) - 2.5) / 5) * 57.3", 0.0, 0.0 ] + }, + "arm1" : { + "rotation" : [ "-114 + ((1.5 * math.abs(math.mod(variable.attack_animation_tick - query.frame_alpha, 10) - 5) - 2.5) / 5) * 57.3", 0.0, 0.0 ] + } + } + }, + "animation.iron_golem.flower" : { + "loop" : true, + "bones" : { + "arm0" : { + "rotation" : [ "-45.8 + ((0.25 * math.abs(math.mod(variable.offer_flower_tick, 70) - 35) - 17.5) / 35)", 0.0, 0.0 ] + } + } + }, + "animation.iron_golem.move" : { + "loop" : true, + "bones" : { + "arm0" : { + "rotation": [ "-variable.modified_tcos0 * 2.0", 0.0, 0.0 ] + }, + "arm1" : { + "rotation": [ "variable.modified_tcos0 * 2.0", 0.0, 0.0 ] + } + } + }, + "animation.iron_golem.move_to_target" : { + "loop" : true, + "bones" : { + "arm0" : { + "rotation" : [ "((math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 2.25) * 30.0", 0.0, 0.0 ] + }, + "arm1" : { + "rotation" : [ "((math.abs(math.mod(query.modified_distance_moved, 13) - 6.5) - 3.25) / 2.25) * -30.0", 0.0, 0.0 ] + } + } + }, + "animation.iron_golem.walk" : { + "loop" : true, + "bones" : { + "body" : { + "rotation": [ 0.0, 0.0, "variable.modified_tcos0 / 1.5" ] + }, + "head" : { + "rotation": [ 0.0, 0.0, "variable.modified_tcos0 / 1.5" ] + }, + "leg0" : { + "rotation": [ "variable.modified_tcos0 * 6.0", 0.0, 0.0 ] + }, + "leg1" : { + "rotation": [ "-variable.modified_tcos0 * 6.0", 0.0, 0.0 ] + } + } + }, + "animation.iron_golem.walk_to_target" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, 0.0, "2.0 * (math.abs(math.mod(query.modified_distance_moved + 6, 13.0) - 6.5) - 3.25)" ] + }, + "head" : { + "rotation" : [ 0.0, 0.0, "2.0 * (math.abs(math.mod(query.modified_distance_moved + 6, 13.0) - 6.5) - 3.25)" ] + }, + "leg0" : { + "rotation" : [ "(math.cos(query.modified_distance_moved * 38.17) * 40.0)", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "(math.cos(query.modified_distance_moved * 38.17 + 180) * 40.0)", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/llama.animation.json b/resource_pack/animations/llama.animation.json new file mode 100644 index 0000000..ca1f63f --- /dev/null +++ b/resource_pack/animations/llama.animation.json @@ -0,0 +1,79 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.llama.baby_transform" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -5.5, -5.0 ], + "scale" : [ 1.2, 1.0, 1.0 ] + }, + "head" : { + "position" : [ 0.0, 2.0, 0.0 ], + "scale" : [ 1.3, 1.2, 1.2 ] + }, + "leg0" : { + "position" : [ 0.0, -1.0, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + }, + "leg1" : { + "position" : [ 0.0, -1.0, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + }, + "leg2" : { + "position" : [ 0.0, -1.0, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + }, + "leg3" : { + "position" : [ 0.0, -1.0, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + } + } + }, + "animation.llama.baby_transform.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -6.0, 0.0 ], + "scale" : [ 0.91, 0.83, 0.9 ] + }, + "head" : { + "position" : [ 0.0, -4.348, 1.587 ], + "scale" : [ 1.43, 1.2, 1.2 ] + }, + "leg0" : { + "position" : [ 0.0, -6.36, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + }, + "leg1" : { + "position" : [ 0.0, -6.36, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + }, + "leg2" : { + "position" : [ 0.0, -6.36, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + }, + "leg3" : { + "position" : [ 0.0, -6.36, 0.0 ], + "scale" : [ 0.91, 0.56, 0.91 ] + } + } + }, + "animation.llama.setup" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", 0.0, 0.0 ] + } + } + }, + "animation.llama.setup.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "90 - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/llama_spit.animation.json b/resource_pack/animations/llama_spit.animation.json new file mode 100644 index 0000000..e9b03de --- /dev/null +++ b/resource_pack/animations/llama_spit.animation.json @@ -0,0 +1,14 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.llama_spit.setup" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -15.0, 0.0 ], + "rotation" : [ 0.0, "query.target_y_rotation - 90.0 - this", "query.target_x_rotation - this" ] + } + } + } + } +} diff --git a/resource_pack/animations/location_pointer_idle.animation.json b/resource_pack/animations/location_pointer_idle.animation.json new file mode 100644 index 0000000..6044df9 --- /dev/null +++ b/resource_pack/animations/location_pointer_idle.animation.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.location_pointer_idle.spin": { + "loop": true, + "animation_length": 1, + "bones": { + "root": { + "rotation": { + "0.0": [0, 0, 0], + "1.0": [0, 180, 0] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/location_pointer_selected.animation.json b/resource_pack/animations/location_pointer_selected.animation.json new file mode 100644 index 0000000..3d14a61 --- /dev/null +++ b/resource_pack/animations/location_pointer_selected.animation.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.location_pointer_selected.spin": { + "loop": true, + "animation_length": 1, + "bones": { + "root": { + "rotation": { + "0.0": [0, 0, 0], + "1.0": [0, 180, 0] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/look_at_target.animation.json b/resource_pack/animations/look_at_target.animation.json new file mode 100644 index 0000000..c247ae5 --- /dev/null +++ b/resource_pack/animations/look_at_target.animation.json @@ -0,0 +1,16 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.common.look_at_target" : { + "loop" : true, + "bones" : { + "head" : { + "relative_to" : { + "rotation" : "entity" + }, + "rotation" : [ "query.target_x_rotation - this", "query.target_y_rotation - this", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/magma_cube.animation.json b/resource_pack/animations/magma_cube.animation.json new file mode 100644 index 0000000..25d7cfe --- /dev/null +++ b/resource_pack/animations/magma_cube.animation.json @@ -0,0 +1,31 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.magma_cube.move" : { + "loop" : true, + "bones" : { + "bodycube_0" : { + "position" : [ 0.0, "3.0 * (variable.slime_squish_factor < 0.0 ? 0.0 : variable.slime_squish_factor) * 1.7", 0.0 ] + }, + "bodycube_1" : { + "position" : [ 0.0, "2.0 * (variable.slime_squish_factor < 0.0 ? 0.0 : variable.slime_squish_factor) * 1.7", 0.0 ] + }, + "bodycube_2" : { + "position" : [ 0.0, "1.0 * (variable.slime_squish_factor < 0.0 ? 0.0 : variable.slime_squish_factor) * 1.7", 0.0 ] + }, + "bodycube_4" : { + "position" : [ 0.0, "-1.0 * (variable.slime_squish_factor < 0.0 ? 0.0 : variable.slime_squish_factor) * 1.7", 0.0 ] + }, + "bodycube_5" : { + "position" : [ 0.0, "-2.0 * (variable.slime_squish_factor < 0.0 ? 0.0 : variable.slime_squish_factor) * 1.7", 0.0 ] + }, + "bodycube_6" : { + "position" : [ 0.0, "-3.0 * (variable.slime_squish_factor < 0.0 ? 0.0 : variable.slime_squish_factor) * 1.7", 0.0 ] + }, + "bodycube_7" : { + "position" : [ 0.0, "-4.0 * (variable.slime_squish_factor < 0.0 ? 0.0 : variable.slime_squish_factor) * 1.7", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/map_marker.animation.json b/resource_pack/animations/map_marker.animation.json new file mode 100644 index 0000000..5539405 --- /dev/null +++ b/resource_pack/animations/map_marker.animation.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.map_marker.idle": { + "loop": true, + "animation_length": 1, + "bones": { + "bone": { + "rotation": { + "0.0": [ + 0, + 0, + 0 + ], + "1.0": [ + 0, + 359, + 0 + ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/minecart.animation.json b/resource_pack/animations/minecart.animation.json new file mode 100644 index 0000000..1261dd6 --- /dev/null +++ b/resource_pack/animations/minecart.animation.json @@ -0,0 +1,14 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.minecart.move" : { + "loop" : true, + "bones" : { + "bottom" : { + "position" : [ "variable.rail_offset.x / query.model_scale", "variable.rail_offset.y / query.model_scale", "variable.rail_offset.z / query.model_scale" ], + "rotation" : [ "variable.hurt > 0 ? -Math.sin(variable.hurt * 360 / (Math.pi * 2)) * variable.hurt * (((20 * 2 - query.structural_integrity) - query.frame_alpha) < 0 ? 0: (20 * 2 - query.structural_integrity) - query.frame_alpha) / 10 * query.hurt_direction : 0", 0.0, "-variable.rail_rotation.z" ] + } + } + } + } +} diff --git a/resource_pack/animations/minecart.animation.v1.0.json b/resource_pack/animations/minecart.animation.v1.0.json new file mode 100644 index 0000000..f3b31e3 --- /dev/null +++ b/resource_pack/animations/minecart.animation.v1.0.json @@ -0,0 +1,14 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.minecart.move.v1.0" : { + "loop" : true, + "bones" : { + "root" : { + "position" : [ "variable.rail_offset.x / query.model_scale", "variable.rail_offset.y / query.model_scale - 18.5", "variable.rail_offset.z / query.model_scale" ], + "rotation" : [ "variable.hurt > 0 ? -Math.sin(variable.hurt * 360 / (Math.pi * 2)) * variable.hurt * (((20 * 2 - query.structural_integrity) - query.frame_alpha) < 0 ? 0: (20 * 2 - query.structural_integrity) - query.frame_alpha) / 10 * query.hurt_direction : 0", 0.0, "-variable.rail_rotation.z" ] + } + } + } + } +} diff --git a/resource_pack/animations/mooshroom.animation.json b/resource_pack/animations/mooshroom.animation.json new file mode 100644 index 0000000..1f95209 --- /dev/null +++ b/resource_pack/animations/mooshroom.animation.json @@ -0,0 +1,30 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.mooshroom.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, "query.is_baby ? 4.0 : 0.0", "query.is_baby ? 4.0 : 0.0" ], + "scale" : "query.is_baby ? 2.0 : 1.0" + } + } + }, + "animation.mooshroom.setup" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", 0.0, 0.0 ] + } + } + }, + "animation.mooshroom.setup.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "90 - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/npc.animation.json b/resource_pack/animations/npc.animation.json new file mode 100644 index 0000000..64b6517 --- /dev/null +++ b/resource_pack/animations/npc.animation.json @@ -0,0 +1,51 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.npc.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "scale" : 1.5 + } + } + }, + "animation.npc.general" : { + "loop" : true, + "bones" : { + "arms" : { + "position" : [ 0.0, -1.0, -1.0 ], + "rotation" : [ "-42.97 - this", 0.0, 0.0 ] + } + } + }, + "animation.npc.get_in_bed" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, 1.0, -15.0 ], + "rotation" : [ -90.0, 0.0, 0.0 ] + } + } + }, + "animation.npc.move" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "(math.cos(query.anim_time * 38.17) * 40.0) - this", "-this", 0.0 ] + }, + "leg1" : { + "rotation" : [ "(math.cos(query.anim_time * 38.17 + 180) * 40.0) - this", "-this", 0.0 ] + } + } + }, + "animation.npc.raise_arms" : { + "loop" : true, + "bones" : { + "arms" : { + "rotation" : [ "variable.raise_arms * -15.0", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/ocelot.animation.json b/resource_pack/animations/ocelot.animation.json new file mode 100644 index 0000000..5f1d752 --- /dev/null +++ b/resource_pack/animations/ocelot.animation.json @@ -0,0 +1,127 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.ocelot.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "scale" : 1.5 + } + } + }, + "animation.ocelot.sit" : { + "loop" : true, + "bones" : { + "backlegl" : { + "position" : [ 0.0, "-2.0 - this", "6.0 - this" ], + "rotation" : [ -45.0, 0.0, 0.0 ] + }, + "backlegr" : { + "position" : [ 0.0, "-2.0 - this", "6.0 - this" ], + "rotation" : [ "-45 - this", 0.0, 0.0 ] + }, + "body" : { + "rotation" : [ "-45 - this", 0.0, 0.0 ] + }, + "frontlegl" : { + "position" : [ 0.0, "-1.5 - this", "-7.0 - this" ], + "rotation" : [ "42.15 - this", 0.0, 0.0 ] + }, + "frontlegr" : { + "position" : [ 0.0, "-1.5 - this", "-7.0 - this" ], + "rotation" : [ "42.15 - this", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -2.0, 0.0 ] + }, + "tail1" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "45 - this", 0.0, 0.0 ] + }, + "tail2" : { + "position" : [ 0.0, 0.0, 0.0 ], + "rotation" : [ "45 - this", 0.0, 0.0 ] + } + } + }, + "animation.ocelot.sneak" : { + "loop" : true, + "bones" : { + "backlegl" : { + "position" : [ 0.0, "1.0 - this", 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "backlegr" : { + "position" : [ 0.0, "1.0 - this", 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "body" : { + "position" : [ 0.0, -1.0, 0.0 ] + }, + "frontlegl" : { + "position" : [ 0.0, "1.0 - this", 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "frontlegr" : { + "position" : [ 0.0, "1.0 - this", 0.0 ], + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -1.0, 0.0 ] + }, + "tail1" : { + "position" : [ 0.0, "1.0 - this", 0.0 ] + }, + "tail2" : { + "rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 27.0 * query.modified_move_speed - this", 0.0, 0.0 ] + } + } + }, + "animation.ocelot.sprint" : { + "loop" : true, + "bones" : { + "backlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "backlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 17.19) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "frontlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 197.19) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "frontlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "tail1" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "tail2" : { + "rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 18.0 * query.modified_move_speed - this", 0.0, 0.0 ] + } + } + }, + "animation.ocelot.walk" : { + "loop" : true, + "bones" : { + "backlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "backlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "frontlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "frontlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "tail1" : { + "rotation" : [ "-51.57 - this", 0.0, 0.0 ] + }, + "tail2" : { + "rotation" : [ "62.0 + math.cos(query.modified_distance_moved * 57.3) * 45.0 * query.modified_move_speed - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/ocelot.animations.v1.0.json b/resource_pack/animations/ocelot.animations.v1.0.json new file mode 100644 index 0000000..fa78618 --- /dev/null +++ b/resource_pack/animations/ocelot.animations.v1.0.json @@ -0,0 +1,156 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.ocelot_v1.0.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "scale" : 1.5 + } + } + }, + "animation.ocelot_v1.0.setup" : { + "loop" : true, + "bones" : { + "backlegl" : { + "position" : [ 0.0, "-18 - this", "5 - this" ] + }, + "backlegr" : { + "position" : [ 0.0, "-18 - this", "5 - this" ] + }, + "body" : { + "position" : [ 0.0, "-12.0 - this", "-10.0 - this" ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "frontlegl" : { + "position" : [ 0.0, "-13.8 - this", "-5 - this" ] + }, + "frontlegr" : { + "position" : [ 0.0, "-13.8 - this", "-5 - this" ] + }, + "head" : { + "position" : [ 0.0, "-15 - this", "-9 - this" ] + }, + "tail1" : { + "position" : [ 0.0, "-15 - this", "8 - this" ], + "rotation" : [ "51.57 - this", 0.0, 0.0 ] + }, + "tail2" : { + "position" : [ 0.0, "-20 - this", "14 - this" ], + "rotation" : [ "-this", 0.0, 0.0 ] + } + } + }, + "animation.ocelot_v1.0.sit" : { + "loop" : true, + "bones" : { + "backlegl" : { + "position" : [ 0.0, -3.0, -4.0 ], + "rotation" : [ -90.0, 0.0, 0.0 ] + }, + "backlegr" : { + "position" : [ 0.0, -3.0, -4.0 ], + "rotation" : [ -90.0, 0.0, 0.0 ] + }, + "body" : { + "position" : [ 0.0, 4.0, 5.0 ], + "rotation" : [ -45.0, 0.0, 0.0 ] + }, + "frontlegl" : { + "position" : [ 0.0, -2.0, "-7 - this" ], + "rotation" : [ -2.86, 0.0, 0.0 ] + }, + "frontlegr" : { + "position" : [ 0.0, -2.0, "-7 - this" ], + "rotation" : [ -2.86, 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, 3.3, 1.0 ] + }, + "tail1" : { + "position" : [ 0.0, -8.0, -2.0 ], + "rotation" : [ "99.0 - this", 0.0, 0.0 ] + }, + "tail2" : { + "position" : [ 0.0, -2.0, -0.8 ], + "rotation" : [ "153.0 - this", 0.0, 0.0 ] + } + } + }, + "animation.ocelot_v1.0.sneak" : { + "loop" : true, + "bones" : { + "backlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "backlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0)* 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "body" : { + "position" : [ 0.0, -1.0, 0.0 ] + }, + "frontlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0)* 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -2.0, 0.0 ] + }, + "tail1" : { + "position" : [ 0.0, -1.0, 0.0 ], + "rotation" : [ "90.0 - this", 0.0, 0.0 ] + }, + "tail2" : { + "position" : [ 0.0, 4.0, 2.0 ], + "rotation" : [ "99.0 + 45.0 * math.cos(query.modified_distance_moved * 57.3) * query.modified_move_speed - this", 0.0, 0.0 ] + } + } + }, + "animation.ocelot_v1.0.sprint" : { + "loop" : true, + "bones" : { + "backlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17)* 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "backlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 17.19)* 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0 + 17.19) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "tail1" : { + "rotation" : [ "90.0 - this", 0.0, 0.0 ] + }, + "tail2" : { + "position" : [ 0.0, 5.0, 2.0 ], + "rotation" : [ "99.0 + 18.0 * math.cos(query.modified_distance_moved * 57.3) * query.modified_move_speed", 0.0, 0.0 ] + } + } + }, + "animation.ocelot_v1.0.walk" : { + "loop" : true, + "bones" : { + "backlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "backlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegl" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180.0) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "frontlegr" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 57.3 * query.modified_move_speed", 0.0, 0.0 ] + }, + "tail2" : { + "rotation" : [ "99.0 + 45.0 * math.cos(query.modified_distance_moved * 57.3) * query.modified_move_speed", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/panda.animation.json b/resource_pack/animations/panda.animation.json new file mode 100644 index 0000000..a870f2b --- /dev/null +++ b/resource_pack/animations/panda.animation.json @@ -0,0 +1,111 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.panda.baby_transform" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, 1.77, 0.0 ], + "scale" : [ 1.15, 1.15, 1.0 ] + }, + "head" : { + "position" : [ 0.0, -0.18, 0.15 ], + "scale" : 1.8 + } + } + }, + "animation.panda.lying" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "(query.is_baby ? -8.8 : -7.67) * query.lie_amount -10 - this", 0.0 ], + "rotation" : [ "query.lie_amount * -180 - this", 0.0, 0.0 ] + }, + "head" : { + "rotation" : [ "(query.lie_amount * 90) - this", 0.0, 0.0 ] + }, + "leg0" : { + "rotation" : [ "math.sin(query.life_time * 206.28) * -17.2 - this", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "math.sin(query.life_time * 263.58) * 17.2 - this", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ "math.sin(query.life_time * 172) * 17.2 - this", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "math.sin(query.life_time * 229.2) * -17.2 - this", 0.0, 0.0 ] + } + } + }, + "animation.panda.rolling" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "(query.roll_counter / 32) * 360", 0.0, 0.0 ] + }, + "head" : { + "rotation" : [ "(this * -118) + query.roll_counter - this", 0.0, 0.0 ] + }, + "leg0" : { + "rotation" : [ "math.sin(query.life_time * 60 * (query.is_baby ? 0.95 : 0.5) * 57.3) * 8.6 - this", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "math.sin(query.life_time * 60 * (query.is_baby ? 0.95 : 0.5) * 57.3) * -8.6 - this", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ "math.sin(query.life_time * 60 * (query.is_baby ? 0.95 : 0.5) * 57.3) * -8.6 - this", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "math.sin(query.life_time * 60 * (query.is_baby ? 0.95 : 0.5) * 57.3) * 8.6 - this", 0.0, 0.0 ] + } + } + }, + "animation.panda.sitting" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "-2.15 -10 -this", 0.0 ], + "rotation" : [ "(query.is_scared * math.cos(query.life_time * 71.62) * 16.2) + (query.sit_amount * -90) - this", 0.0, 0.0 ] + }, + "head" : { + "rotation" : [ "query.is_eating ? (90.0 + 11.5 * math.sin(query.life_time * 750)) : (query.sit_amount * (100 - this)) - this", 0.0, 0.0 ] + }, + "leg0" : { + "rotation" : [ 0.0, 0.0, "32.7 - this" ] + }, + "leg1" : { + "rotation" : [ 0.0, 0.0, "-32.7 - this" ] + }, + "leg2" : { + "rotation" : [ "(query.is_eating ? (-23 - (16.5 * math.sin(query.life_time * 750))) : 0) - this", 0.0, -15.0 ] + }, + "leg3" : { + "rotation" : [ "(query.is_eating ? (-23 - (16.5 * math.sin(query.life_time * 750))) : 0) - this", 0.0, 15.0 ] + } + } + }, + "animation.panda.sneezing" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ "(query.sneeze_counter < 15) ? (-45 * (query.sneeze_counter / 14)) : (-45 + (9 * (query.sneeze_counter - 15)) - this)", 0.0, 0.0 ] + } + } + }, + "animation.panda.unhappy" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ 0.0, "(math.sin(query.life_time * 327.6) * 20) - this", "(math.sin(query.life_time * 327.6) * 20) - this" ] + }, + "leg2" : { + "rotation" : [ "(math.sin(query.life_time * 343.8) * -43) - this", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "(math.sin(query.life_time * 343.8) * 43) - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/parrot.animation.json b/resource_pack/animations/parrot.animation.json new file mode 100644 index 0000000..db36283 --- /dev/null +++ b/resource_pack/animations/parrot.animation.json @@ -0,0 +1,130 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.parrot.base" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ "-this", 0.0, 0.0 ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "feather" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "head" : { + "position" : [ "-this", 0.0, 0.0 ], + "rotation" : [ 0.0, 0.0, "-this" ] + }, + "leg0" : { + "position" : [ 0.0, "-6.0-this", -0.5 ], + "rotation" : [ "-16.713-this", 0.0, "-this" ] + }, + "leg1" : { + "position" : [ 0.0, "-6.0-this", -0.5 ], + "rotation" : [ "-16.713-this", 0.0, "-this" ] + }, + "tail" : { + "position" : [ "-this", 0.0, 0.0 ] + }, + "wing0" : { + "position" : [ "1.5-this", 0.0, 0.0 ], + "rotation" : [ "-40.0-this", "-180.0-this", 0.0 ] + }, + "wing1" : { + "position" : [ "-1.5-this", 0.0, 0.0 ], + "rotation" : [ "-40.0-this", "-180.0-this", 0.0 ] + } + } + }, + "animation.parrot.dance" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ "variable.dance.x-this", "variable.dance.y", 0.0 ] + }, + "head" : { + "rotation" : [ "-this", "-this", "variable.dance.y*23.0 - this" ] + }, + "leg0" : { + "position" : [ "-variable.dance.x", "-variable.dance.y", 0.0 ], + "rotation" : [ 0.0, 0.0, "-20.0 - this" ] + }, + "leg1" : { + "position" : [ "-variable.dance.x", "-variable.dance.y", 0.0 ], + "rotation" : [ 0.0, 0.0, "20.0 - this" ] + }, + "tail" : { + "rotation" : [ "60.0 - this", 0.0, 0.0 ] + }, + "wing0" : { + "rotation" : [ 0.0, 0.0, "-5.0 - variable.wing_flap" ] + }, + "wing1" : { + "rotation" : [ 0.0, 0.0, "5.0 + variable.wing_flap" ] + } + } + }, + "animation.parrot.flying" : { + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * 80.0 * query.modified_move_speed", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * -80.0 * query.modified_move_speed", 0.0, 0.0 ] + } + } + }, + "animation.parrot.moving" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "variable.wing_flap * 0.3", 0.0 ] + }, + "tail" : { + "rotation" : [ "60.0 + math.cos(query.anim_time * 38.17) * 17.0 - this", 0.0, 0.0 ] + }, + "wing0" : { + "rotation" : [ 0.0, 0.0, "-5.0 - variable.wing_flap * 57.3" ] + }, + "wing1" : { + "rotation" : [ 0.0, 0.0, "5.0 + variable.wing_flap * 57.3" ] + } + } + }, + "animation.parrot.sitting" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -1.9, 0.0 ] + }, + "leg0" : { + "rotation" : [ 90.0, 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ 90.0, 0.0, 0.0 ] + }, + "tail" : { + "rotation" : [ "90.0 - this", 0.0, 0.0 ] + }, + "wing0" : { + "rotation" : [ 0.0, 0.0, "-5.0-this" ] + }, + "wing1" : { + "rotation" : [ 0.0, 0.0, "5.0-this" ] + } + } + }, + "animation.parrot.standing" : { + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ 20.0, 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ 20.0, 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/phantom.animation.json b/resource_pack/animations/phantom.animation.json new file mode 100644 index 0000000..1324985 --- /dev/null +++ b/resource_pack/animations/phantom.animation.json @@ -0,0 +1,42 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.phantom.base_pose" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -20.0, 0.0 ], + "rotation" : [ "-query.target_x_rotation", 0.0, 0.0 ] + } + } + }, + "animation.phantom.move": { + "loop": true, + "start_delay": "math.random(0, 2.417)", + "animation_length": 2.417, + "bones": { + "tail": { + "rotation": [ "-5.0 * Math.cos(297.9380535 * query.anim_time) - 5.0", 0.0, 0.0 ] + }, + "tailtip": { + "rotation": [ "-5.0 * Math.cos(297.9380535 * query.anim_time) - 5.0", 0.0, 0.0 ] + }, + "wing0": { + "rotation": [ 0.0, 0.0, "16.0 * Math.cos(148.9690267 * query.anim_time)" ] + }, + "wing1": { + "rotation": [ 0.0, 0.0, "-16.0 * Math.cos(148.9690267 * query.anim_time)" ] + }, + "wingtip0": { + "rotation": [ 0.0, 0.0, "16.0 * Math.cos(148.9690267 * query.anim_time)" ] + }, + "wingtip1": { + "rotation": [ 0.0, 0.0, "-16.0 * Math.cos(148.9690267 * query.anim_time)" ] + } + }, + "sound_effects": { + "1.4": { "effect": "flap" } + } + } + } +} diff --git a/resource_pack/animations/pig.animation.json b/resource_pack/animations/pig.animation.json new file mode 100644 index 0000000..54e7cc0 --- /dev/null +++ b/resource_pack/animations/pig.animation.json @@ -0,0 +1,30 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.pig.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, 4.0, 4.0 ], + "scale" : 2.0 + } + } + }, + "animation.pig.setup" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", 0.0, 0.0 ] + } + } + }, + "animation.pig.setup.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "90.0 - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/piglin.animation.json b/resource_pack/animations/piglin.animation.json new file mode 100644 index 0000000..8df7767 --- /dev/null +++ b/resource_pack/animations/piglin.animation.json @@ -0,0 +1,117 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.piglin.crossbow.charge" : { + "bones" : { + "leftarm" : { + "rotation" : [ "math.lerp(-90.0 + 34.38, -90.0, variable.crossbow_charge) -this", "math.lerp(22.92, 48.70, variable.crossbow_charge) -this", 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-90.0 + 34.38 -this", "-45.84 -this", 0.0 ] + } + }, + "loop" : true + }, + "animation.piglin.crossbow.hold" : { + "bones" : { + "leftarm" : { + "rotation" : [ "-85.94 + query.target_x_rotation -this", "34.38 + math.clamp(query.target_y_rotation, -45, 25) -this", 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-90.0 + 5.73 + query.target_x_rotation -this", "-17.19 + math.clamp(query.target_y_rotation, -25, 45) -this", 0.0 ] + } + }, + "loop" : true + }, + "animation.piglin.sword.attack" : { + "bones": { + "leftarm": { + "rotation": [ "(math.cos(query.life_time * 20.0 * 10.89) * 28.65) + (math.sin(variable.attack_time * 180.0) * 68.76 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92)", 0.0, 0.0 ] + }, + "rightarm": { + "rotation": [ "-100 + (variable.attack2 * 2.2 - variable.attack * 0.4) + variable.x_bob - this", "variable.attack2 * 0.6 - 5.73 - this", "variable.z_bob - this" ] + } + }, + "loop" : true + }, + "animation.piglin.hand.attack" : { + "bones": { + "leftarm" : { + "rotation" : [ "-(math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) * 1.2 + math.sin(variable.attack_time * 180)) * 10.0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-(math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) * 1.2 + math.sin(variable.attack_time * 180)) * 30.0", "-(math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) ? (-90.0 * math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180)) + 30.0 : 0.0)", 0.0 ] + } + }, + "loop" : true + }, + "animation.piglin.move" : { + "loop" : true, + "bones": { + "leftear": { + "rotation" : [ 0.0, 0.0, "variable.tcos0 * 0.5" ] + }, + "rightear": { + "rotation" : [ 0.0, 0.0, "-variable.tcos0 * 0.5" ] + }, + "leftarm" : { + "rotation" : [ "variable.tcos0", 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ "-variable.tcos0 * 1.4", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-variable.tcos0", 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ "variable.tcos0 * 1.4", 0.0, 0.0 ] + } + } + }, + "animation.piglin.admire" : { + "loop" : true, + "bones": { + "leftarm" : { + "rotation" : [ 320.0, 25.0, 0.0 ] + }, + "head" : { + "rotation" : [ 30.0, 0.0, 0.0 ] + } + } + }, + "animation.piglin.celebrate_hunt": { + "loop": true, + "bones": { + "leftear": { + "rotation": [ 0.0, 0.0, "Math.sin(query.time_stamp * 30) * 10" ] + }, + "rightear": { + "rotation": [ 0.0, 0.0, "Math.cos(query.time_stamp * 30) * 10" ] + } + } + }, + "animation.piglin.celebrate_hunt_special": { + "loop": true, + "bones": { + "leftear": { + "rotation": [ 0.0, 0.0, "Math.sin(query.time_stamp * 30) * 10" ] + }, + "rightear": { + "rotation": [ 0.0, 0.0, "Math.cos(query.time_stamp * 30) * 10" ] + }, + "head": { + "position": [ "Math.sin(query.time_stamp * 10)", "Math.sin(query.time_stamp * 40)", 0.0 ] + }, + "rightarm": { + "rotation": [ 0.0, 0.0, "70 + Math.cos(query.time_stamp * 40) * 10"] + }, + "leftarm": { + "rotation": [ 0.0, 0.0, "-70 - Math.cos(query.time_stamp * 40) * 10"] + }, + "body": { + "position": [ 0.0, "Math.sin(query.time_stamp * 40) * 0.35", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/pillager.animation.json b/resource_pack/animations/pillager.animation.json new file mode 100644 index 0000000..9e6dc21 --- /dev/null +++ b/resource_pack/animations/pillager.animation.json @@ -0,0 +1,27 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.pillager.crossbow.charge" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "math.lerp(-90.0 + 34.38, -90.0, variable.crossbow_charge) -this", "math.lerp(22.92, 48.70, variable.crossbow_charge) -this", 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-90.0 + 34.38 -this", "-45.84 -this", 0.0 ] + } + } + }, + "animation.pillager.crossbow.hold" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-85.94 + query.target_x_rotation -this", "34.38 + math.clamp(query.target_y_rotation, -45, 25) -this", 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-90.0 + 5.73 + query.target_x_rotation -this", "-17.19 + math.clamp(query.target_y_rotation, -25, 45) -this", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/player.animation.json b/resource_pack/animations/player.animation.json new file mode 100644 index 0000000..21952a6 --- /dev/null +++ b/resource_pack/animations/player.animation.json @@ -0,0 +1,496 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.player.attack.positions" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ 0.0, 0.0, 0.0 ] + } + } + }, + "animation.player.attack.rotations" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "variable.attack_body_rot_y", 0.0 ] + }, + "leftarm" : { + "rotation" : [ "-(math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) * 1.2 + math.sin(variable.attack_time * 180)) * 10.0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-(math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) * 1.2 + math.sin(variable.attack_time * 180)) * 30.0", "-(math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) ? (-90.0 * math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180)) + 30.0 : 0.0)", 0.0 ] + } + } + }, + "animation.player.base_pose.upside_down" : { + "loop" : true, + "bones" : { + "waist" : { + "position" : [ 0.0, 8.0, 0.0 ], + "rotation" : [ 0.0, 0.0, 180.0 ] + } + } + }, + "animation.player.bob" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ 0.0, 0.0, "-((math.cos(query.life_time * 103.2) * 2.865) + 2.865)" ] + }, + "rightarm" : { + "rotation" : [ 0.0, 0.0, "(math.cos(query.life_time * 103.2) * 2.865) + 2.865" ] + } + } + }, + "animation.player.bob.stationary" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ 0.0, 0.0, "-((math.cos(query.life_time * 103.2) * 2.865) + 2.865)" ] + }, + "rightarm" : { + "rotation" : [ 0.0, 0.0, "(math.cos(query.life_time * 103.2) * 2.865) + 2.865" ] + } + } + }, + "animation.player.bow_equipped" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-90.0 + query.target_x_rotation - query.is_sneaking * 15.0 - this", "27.5 + query.target_y_rotation", 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-90.0 + query.target_x_rotation - query.is_sneaking * 15.0 - this", "-5.0 + query.target_y_rotation", 0.0 ] + }, + "rightitem" : { + "rotation" : [ 0.0, -10.0, 0.0 ] + } + } + }, + "animation.player.cape" : { + "loop" : true, + "bones" : { + "cape" : { + "position" : [ 0.0, "query.get_root_locator_offset('armor_offset.default_neck', 1)", 0.0 ], + "rotation" : [ "math.lerp(0.0, -126.0, query.cape_flap_amount) - 6.0", 0.0, 0.0 ] + } + } + }, + "animation.player.crossbow_equipped" : { + "loop" : true, + "bones" : { + "leftarm" : { + "position" : [ 0.0, 0.0, 0.5 ], + "rotation" : [ "-this - 65.0 - (1.0 - variable.item_use_normalized) * 5.0", "-this + (1.0 - variable.item_use_normalized) * 30.0", "-this + 20.0 + (1.0 - variable.item_use_normalized) * 10.0" ] + }, + "rightarm" : { + "rotation" : [ "- 60.0 - this", "- 45.0 - this", "- 2.5 - this" ] + } + } + }, + "animation.player.crossbow_hold" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "query.is_swimming ? 0.0 : -93.0 + query.target_x_rotation - query.is_sneaking * 27.0 -this", "query.is_swimming ? 0.0 : 42.0 + math.clamp(query.target_y_rotation, -45.0, 5.0) -this", "query.is_sneaking * -15.0" ] + }, + "rightarm" : { + "rotation" : [ "query.is_swimming ? 0.0 : -93.0 + query.target_x_rotation - query.is_sneaking * 27.0 -this", "query.is_swimming ? 0.0 : math.clamp(query.target_y_rotation, -60.0, 45.0) -this", 0.0 ] + } + } + }, + "animation.player.glide" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.tcos0", 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ "variable.tcos0 * -1.4", -0.1, -0.1 ] + }, + "rightarm" : { + "rotation" : [ "-variable.tcos0", 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ "variable.tcos0 * 1.4", 0.1, 0.1 ] + } + } + }, + "animation.player.holding" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.is_holding_left ? (-this * 0.5 - 18.0) : 0.0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "variable.is_holding_right ? (-this * 0.5 - 18.0) : 0.0", 0.0, 0.0 ] + } + } + }, + "animation.player.holding_heavy_core" : { + "loop" : true, + "bones" : { + "rightItem" : { + "scale" : 0.7, + "position" : [ -1.0, 0.0, -2.0 ] + } + } + }, + "animation.player.holding.zombie" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ 0.0, 0.0, 0.0 ] + } + } + }, + "animation.player.look_at_target.inverted" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ "-query.target_x_rotation", "-query.target_y_rotation", 0.0 ] + } + } + }, + "animation.player.look_at_target.ui" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.player.move.arms" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.tcos0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-variable.tcos0", 0.0, 0.0 ] + } + } + }, + "animation.player.move.arms.single" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-variable.tcos0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-variable.tcos0", 0.0, 0.0 ] + } + } + }, + "animation.player.move.arms.stationary" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ 0.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ 0.0, 0.0, 0.0 ] + } + } + }, + "animation.player.move.arms.statue_of_liberty" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.tcos0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "variable.is_holding_right || math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) > 0.0 ? -variable.tcos0 : 180.0", 0.0, "variable.is_holding_right || math.sin((1 - math.pow((1 - variable.attack_time), 4)) * 180) > 0.0 ? 0.0 : -17.2" ] + } + } + }, + "animation.player.move.arms.zombie" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ -90.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ -90.0, 0.0, 0.0 ] + } + } + }, + "animation.player.move.legs" : { + "loop" : true, + "bones" : { + "leftleg" : { + "rotation" : [ "variable.tcos0 * -1.4", -0.1, -0.1 ] + }, + "rightleg" : { + "rotation" : [ "variable.tcos0 * 1.4", 0.1, 0.1 ] + } + } + }, + "animation.player.move.legs.inverted" : { + "loop" : true, + "bones" : { + "leftleg" : { + "position" : [ 0.0, 8.0, 0.0 ], + "rotation" : [ "variable.tcos0", -0.1, 179.9 ] + }, + "rightleg" : { + "position" : [ 0.0, 8.0, 0.0 ], + "rotation" : [ "-variable.tcos0", 0.1, 180.1 ] + } + } + }, + "animation.player.move.legs.single" : { + "loop" : true, + "bones" : { + "leftleg" : { + "rotation" : [ "variable.tcos0", -0.1, -0.1 ] + }, + "rightleg" : { + "rotation" : [ "variable.tcos0", 0.1, 0.1 ] + } + } + }, + "animation.player.move.legs.stationary" : { + "loop" : true, + "bones" : { + "leftleg" : { + "rotation" : [ 0.0, -0.1, -0.1 ] + }, + "rightleg" : { + "rotation" : [ 0.0, 0.1, 0.1 ] + } + } + }, + "animation.player.riding.arms" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ -36.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ -36.0, 0.0, 0.0 ] + } + } + }, + "animation.player.riding.arms.zombie" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ 45.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ 45.0, 0.0, 0.0 ] + } + } + }, + "animation.player.riding.legs" : { + "loop" : true, + "bones" : { + "leftleg" : { + "rotation" : [ "-72.0 - this", "-18.0 - this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-72.0 - this", "18.0 - this", "-this" ] + } + } + }, + "animation.player.shield_block_main_hand" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ -20.0, -30.0, -25.0 ] + }, + "rightitem" : { + "position" : [ -1.0, -3.0, 0.0 ], + "rotation" : [ 0.0, -60.0, -45.0 ] + } + } + }, + "animation.player.shield_block_off_hand" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ -20.0, 20.0, 20.0 ] + }, + "leftitem" : { + "position" : [ "1.0 + query.item_is_charged * 1.5", "-3.0 + query.item_is_charged", 0.0 ], + "rotation" : [ "query.item_is_charged * 30.0", "70.0 - query.item_is_charged * 60.0", "65.0 - query.item_is_charged * 15.0" ] + } + } + }, + "animation.player.sleeping" : { + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "head" : { + "rotation" : [ "30.0 - this", "-this", "-this" ] + }, + "root" : { + "position" : [ "24.0 * math.cos(query.body_y_rotation) * math.cos(query.sleep_rotation) - 24.0 * math.sin(query.body_y_rotation) * math.sin(query.sleep_rotation)", 0.0, "24.0 * math.cos(query.body_y_rotation) * math.sin(query.sleep_rotation) + 24.0 * math.sin(query.body_y_rotation) * math.cos(query.sleep_rotation)" ], + "rotation" : [ -90.0, "270.0 - query.sleep_rotation - query.body_y_rotation", 0.0 ] + } + } + }, + "animation.player.sneaking" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -2.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -1.0, 0.0 ] + }, + "leftarm" : { + "rotation" : [ -5.7, 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ -28.0, -0.1, -0.1 ] + }, + "rightarm" : { + "rotation" : [ -5.7, 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ -28.0, 0.1, 0.1 ] + }, + "root" : { + "position" : [ 0.0, 1.25, 9.0 ], + "rotation" : [ "28.0 - this", 0.0, 0.0 ] + } + } + }, + "animation.player.sneaking.inverted" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, -2.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, -1.0, 0.0 ], + "rotation" : [ -28.0, 0.0, 0.0 ] + }, + "leftarm" : { + "rotation" : [ -5.7, 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ 28.0, -0.1, -0.1 ] + }, + "rightarm" : { + "rotation" : [ -5.7, 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ 28.0, 0.1, 0.1 ] + }, + "root" : { + "position" : [ 0.0, 1.25, -8.0 ], + "rotation" : [ "-28.0 - this", 0.0, 0.0 ] + } + } + }, + "animation.player.swim" : { + "animation_length" : 1.3, + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "leftarm" : { + "rotation" : { + "0" : [ 0.0, 180.0, 180.0 ], + "0.7" : [ 0.0, 180.0, 287.2 ], + "1.1" : [ 90.0, 180.0, 180.0 ], + "1.3" : [ 0.0, 180.0, 180.0 ] + } + }, + "rightarm" : { + "rotation" : { + "0" : [ 0.0, 180.0, -180.0 ], + "0.7" : [ 0.0, 180.0, -287.2 ], + "1.1" : [ 90.0, 180.0, -180.0 ], + "1.3" : [ 0.0, 180.0, -180.0 ] + } + }, + "root" : { + "position" : [ 0.0, "(math.sin(query.target_x_rotation) * 17.0 + 5.0) * variable.swim_amount", "(math.cos(query.target_x_rotation) * 17.0) * variable.swim_amount" ], + "rotation" : [ "variable.swim_amount * (90 + query.target_x_rotation)", 0.0, 0.0 ] + } + } + }, + "animation.player.swim.legs" : { + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "leftleg" : { + "rotation" : [ "math.lerp(0.0, math.cos(query.life_time * 390.0 + 180.0) * 17.2, variable.swim_amount)", -0.1, -0.1 ] + }, + "rightleg" : { + "rotation" : [ "math.lerp(0.0, math.cos(query.life_time * 390.0) * 17.2, variable.swim_amount)", 0.1, 0.1 ] + } + } + }, + "animation.player.swim.legs.single" : { + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "leftleg" : { + "rotation" : [ "math.lerp(0.0, math.cos(query.life_time * 390.0) * 17.2, variable.swim_amount)", -0.1, -0.1 ] + }, + "rightleg" : { + "rotation" : [ "math.lerp(0.0, math.cos(query.life_time * 390.0) * 17.2, variable.swim_amount)", 0.1, 0.1 ] + } + } + }, + "animation.player.swim.legs.stationary" : { + "loop" : true, + "bones" : { + "leftleg" : { + "rotation" : [ 0.0, -0.1, -0.1 ] + }, + "rightleg" : { + "rotation" : [ 0.0, 0.1, 0.1 ] + } + } + }, + "animation.player.crawl" : { + "anim_time_update": "query.modified_distance_moved / 15.0", + "animation_length" : 1.3, + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "leftarm" : { + "rotation" : { + "0" : [ 0.0, 180.0, 180.0 ], + "0.7" : [ 0.0, 180.0, 287.2 ], + "1.1" : [ 90.0, 180.0, 180.0 ], + "1.3" : [ 0.0, 180.0, 180.0 ] + } + }, + "rightarm" : { + "rotation" : { + "0" : [ 0.0, 180.0, -180.0 ], + "0.7" : [ 0.0, 180.0, -287.2 ], + "1.1" : [ 90.0, 180.0, -180.0 ], + "1.3" : [ 0.0, 180.0, -180.0 ] + } + }, + "root" : { + "position" : [ 0.0, "5.0 * variable.swim_amount", "17.0 * variable.swim_amount" ], + "rotation" : [ "variable.swim_amount * 90", 0.0, 0.0 ] + } + } + }, + "animation.player.crawl.legs" : { + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "leftleg" : { + "rotation" : [ "math.lerp(0.0, math.cos(query.modified_distance_moved * 30.0 + 180.0) * 17.2, variable.swim_amount)", -0.1, -0.1 ] + }, + "rightleg" : { + "rotation" : [ "math.lerp(0.0, math.cos(query.modified_distance_moved * 30.0) * 17.2, variable.swim_amount)", 0.1, 0.1 ] + } + } + } + } +} diff --git a/resource_pack/animations/player_firstperson.animation.json b/resource_pack/animations/player_firstperson.animation.json new file mode 100644 index 0000000..2a3bfe1 --- /dev/null +++ b/resource_pack/animations/player_firstperson.animation.json @@ -0,0 +1,171 @@ +{ + "format_version" : "1.8.0", + "animations": { + "animation.player.first_person.attack_rotation": { + "loop": true, + "bones": { + "rightarm": { + "position": [ "math.clamp(-15.5 * math.sin(variable.first_person_rotation_factor * variable.attack_time * 112.0), -7.0, 999.0) * math.sin(variable.first_person_rotation_factor * variable.attack_time * 112.0)", "math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 200.0) * 7.5 - variable.first_person_rotation_factor * variable.attack_time * 15.0 + variable.short_arm_offset_right", "math.sin(variable.first_person_rotation_factor * variable.attack_time * 120.0) * 1.75" ], + "rotation": [ "math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 280.0) * -60.0", "math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 280.0) * 40.0", "math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 280.0) * 20.0" ] + } + } + }, + "animation.player.first_person.attack_rotation_item": { + "loop": true, + "override_previous_animation": true, + "bones": { + "rightitem": { + "position": [ "-math.sin(math.sqrt(variable.attack_time) * Math.Pi * 100) * 10", "math.sin(math.sqrt(variable.attack_time) * Math.Pi * 2 * 60) * 10", "-math.sin(variable.attack_time * Math.Pi * 65) * 2" ], + "rotation": [ "-math.sin(math.sqrt(variable.attack_time) * Math.Pi * 20) * 25", "-math.sin(math.sqrt(variable.attack_time) * 75.0) * 15.0", "-math.sin(math.sqrt(variable.attack_time) * 25) * 15" ] + } + } + }, + "animation.player.first_person.base_pose": { + "loop": true, + "bones": { + "body": { + "rotation": [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + }, + "head": { + "rotation": [ "query.target_x_rotation", "query.target_y_rotation + 180", 0.0 ] + } + } + }, + "animation.player.first_person.crossbow_equipped": { + "loop": true, + "override_previous_animation": true, + "bones": { + "leftarm": { + "position": [ "1.5 - variable.item_use_normalized * 3.5", "-3.799999952316284 + variable.short_arm_offset_left", "8.25 - (1 - variable.item_use_normalized)" ], + "rotation": [ 165.0, -60.0, 45.0 ], + "scale": [ 0.4, 0.4, 0.4 ] + }, + "rightitem": { + "position": [ 0.0, 2.0, "2.5 - query.item_remaining_use_duration('main_hand', 1.0) * 1.5" ], + "rotation": [ -20.0, -15.0, -30.0 ], + "scale": [ 1.0, "1.15 - query.item_remaining_use_duration('main_hand', 1.0) * 0.15", 1.0 ] + } + } + }, + "animation.player.first_person.crossbow_hold": { + "loop": true, + "bones": { + "rightitem": { + "position": [ "query.get_equipped_item_name('off_hand') == 'shield' ? -4.0 : 0.0", 0.0, 0.0 ] + } + } + }, + "animation.player.first_person.breathing_bob": { + "loop": true, + "bones": { + "rightitem": { + "position": [ 0.0, "variable.bob_animation * math.sin(q.life_time * 45.0) * 0.5", 0.0 ] + } + } + }, + "animation.player.first_person.empty_hand": { + "loop": true, + "bones": { + "rightarm": { + "position": [ 13.5, -10.0, 12.0 ], + "rotation": [ "95.0 + variable.is_using_vr * 7.5", "-45.0 + variable.is_using_vr * 7.5", "115.0 + variable.is_using_vr * -2.5" ] + }, + "rightitem": { + "position": [ 0.0, "q.get_default_bone_pivot('rightarm',1) - q.get_default_bone_pivot('rightitem',1) - 7.0", "-q.get_default_bone_pivot('rightitem',2)" ] + }, + "leftitem": { + "position": [ 0.0, "q.get_default_bone_pivot('leftarm',1) - q.get_default_bone_pivot('leftitem',1) - 7.0", "-q.get_default_bone_pivot('leftitem',2)" ] + } + } + }, + "animation.player.first_person.map_hold": { + "loop": true, + "bones": { + "leftarm": { + "position": [ "-16.250 + variable.is_vertical_splitscreen * 7.0", "-10.75 - variable.map_angle * 8.0 + variable.is_vertical_splitscreen * 0.6 - variable.short_arm_offset_left", "9.0 - variable.map_angle * 8.0 + variable.short_arm_offset_left" ], + "rotation": [ 40.0, -20.0, -155.0 ], + "scale": [ 1.15, 1.15, 1.15 ] + }, + "rightarm": { + "position": [ "12.50 + variable.is_vertical_splitscreen * 1.75", "-7.5 - variable.map_angle * 8.0 + variable.is_vertical_splitscreen * 0.5 - variable.short_arm_offset_right", "5.25 - variable.map_angle * 8.0 + variable.short_arm_offset_right" ], + "rotation": [ 77.5, 7.5, 160.0 ] + } + } + }, + "animation.player.first_person.map_hold_attack": { + "loop": true, + "bones": { + "leftarm": { + "position": [ "math.sin(variable.first_person_rotation_factor * variable.attack_time * 112.0) * -10.75", "math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 200.0) * 3.75 - variable.first_person_rotation_factor * variable.attack_time * 1.25 + variable.short_arm_offset_left", "math.sin(variable.first_person_rotation_factor * variable.attack_time * 120.0) * 5.75" ], + "rotation": [ "variable.map_angle * 90.0", "-15.0 * math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * -100.0)", 0.0 ] + }, + "rightarm": { + "position": [ "math.sin(variable.first_person_rotation_factor * variable.attack_time * 112.0) * -6.25", "math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 200.0) * 1.75 + variable.short_arm_offset_right", "math.sin(variable.first_person_rotation_factor * variable.attack_time * 120.0) * 5.25" ], + "rotation": [ "variable.map_angle * 90.0", 0.0, 0.0 ] + } + } + }, + "animation.player.first_person.map_hold_main_hand": { + "loop": true, + "bones": { + "rightarm": { + "position": [ "14.50 - variable.is_vertical_splitscreen * 0.75", "-8.25 + variable.short_arm_offset_right + math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 200.0) * 2.75 - variable.first_person_rotation_factor * variable.attack_time * 3.0 - variable.is_horizontal_splitscreen", "11.5 + math.sin(variable.first_person_rotation_factor * variable.attack_time * 120.0) * 3.5 + variable.is_horizontal_splitscreen * 3.5" ], + "rotation": [ 195.0, 182.5, -5.0 ], + "scale": [ 0.75, 0.75, 0.75 ] + } + } + }, + "animation.player.first_person.map_hold_off_hand": { + "loop": true, + "bones": { + "leftarm": { + "position": [ "-14.50 + variable.is_horizontal_splitscreen * 2.0 + variable.is_vertical_splitscreen * 8.7", "-8.250 + variable.short_arm_offset_left", "11.50 + variable.is_horizontal_splitscreen * 0.5" ], + "rotation": [ 195.0, 182.5, 2.5 ], + "scale": [ 0.75, 0.75, 0.75 ] + } + } + }, + "animation.player.first_person.swap_item": { + "loop": true, + "bones": { + "leftarm": { + "position": [ 0.0, "(query.get_equipped_item_name('off_hand') == 'filled_map' || query.get_equipped_item_name('off_hand') == 'shield') ? 0.0 : -10.0 * (1.0 - context.player_offhand_arm_height)", 0.0 ] + }, + "rightarm": { + "position": [ 0.0, "-10.0 * (1.0 - variable.player_arm_height)", 0.0 ] + } + } + }, + "animation.player.first_person.shield_block": { + "loop": true, + "bones": { + "leftarm": { + "position": [ 0.0, "-10.0 * (1.0 - context.player_offhand_arm_height)", 0.0 ] + }, + "rightarm": { + "position": [ 0.0, "query.get_equipped_item_name('off_hand') != 'shield' ? -10.0 * (1.0 - variable.player_arm_height) : 0.0", 0.0 ] + } + } + }, + "animation.player.first_person.vr_attack_rotation": { + "loop": true, + "bones": { + "rightarm": { + "position": [ "5.0 * math.sin(variable.first_person_rotation_factor * variable.attack_time * 112.0)", "(math.sin(variable.first_person_rotation_factor * (1.0 - variable.attack_time) * (1.0 - variable.attack_time) * 200.0) - 0.8) * 8.75 + 5.0", "math.sin(variable.first_person_rotation_factor * variable.attack_time * 120.0) * 15.0" ], + "rotation": [ "30.7 * math.sin(variable.first_person_rotation_factor * variable.attack_time * -180.0 - 45.0) * 1.5", 0.0, "21.8 * math.sin(variable.first_person_rotation_factor * variable.attack_time * 200.0 + 30.0) * 1.25" ] + } + } + }, + "animation.player.first_person.walk": { + "loop": true, + "bones": { + "leftarm": { + "position": [ "math.sin(-query.walk_distance * 180.0) * variable.hand_bob * 9.75", "-math.abs(math.cos(-query.walk_distance * 180.0)) * variable.hand_bob * 15.0 + variable.short_arm_offset_left", 0.0 ] + }, + "rightarm": { + "position": [ "math.sin(-query.walk_distance * 180.0) * variable.hand_bob * 9.75", "-math.abs(math.cos(-query.walk_distance * 180.0)) * variable.hand_bob * 15.0 + variable.short_arm_offset_right", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/polar_bear.animation.json b/resource_pack/animations/polar_bear.animation.json new file mode 100644 index 0000000..92dc943 --- /dev/null +++ b/resource_pack/animations/polar_bear.animation.json @@ -0,0 +1,37 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.polarbear.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, -1.0, 3.0 ], + "scale" : 1.25 + } + } + }, + "animation.polarbear.move" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "-9 - 2 * query.standing_scale - this", 0.0 ], + "rotation" : [ "(-(query.standing_scale) * 63) - this", 0.0, 0.0 ] + }, + "leg0" : { + "position" : [ 0.0, "-1 * query.standing_scale", "6 * query.standing_scale" ], + "rotation" : [ "query.standing_scale * 63", 0.0, 0.0 ] + }, + "leg1" : { + "position" : [ 0.0, "-1 * query.standing_scale", "6 * query.standing_scale" ], + "rotation" : [ "query.standing_scale * 63", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ "(query.standing_scale > 1) ? (query.standing_scale * 81) - this : 0", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "(query.standing_scale > 1) ? (query.standing_scale * 81) - this : 0", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/pufferfish.animation.json b/resource_pack/animations/pufferfish.animation.json new file mode 100644 index 0000000..1e58d67 --- /dev/null +++ b/resource_pack/animations/pufferfish.animation.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.pufferfish.flop" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, 0.0, "variable.zrot" ] + }, + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * -5.75", 0.0 ] + } + } + }, + "animation.pufferfish.swim" : { + "loop" : true, + "bones" : { + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * -5.75", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/quadruped.animation.json b/resource_pack/animations/quadruped.animation.json new file mode 100644 index 0000000..c879698 --- /dev/null +++ b/resource_pack/animations/quadruped.animation.json @@ -0,0 +1,23 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.quadruped.walk" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * 80.0", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * -80.0", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * -80.0", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * 80.0", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/rabbit.animation.json b/resource_pack/animations/rabbit.animation.json new file mode 100644 index 0000000..0ca9142 --- /dev/null +++ b/resource_pack/animations/rabbit.animation.json @@ -0,0 +1,58 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.rabbit.baby_transform" : { + "loop" : true, + "bones" : { + "earleft" : { + "position" : [ 0.0, -1.0, 1.0 ], + "scale" : 1.5 + }, + "earright" : { + "position" : [ 0.0, -1.0, 1.0 ], + "scale" : 1.5 + }, + "head" : { + "position" : [ 0.0, -1.0, 1.0 ], + "scale" : 1.5 + }, + "nose" : { + "position" : [ 0.0, -1.0, 1.0 ], + "scale" : 1.5 + } + } + }, + "animation.rabbit.move" : { + "loop" : true, + "bones" : { + "earleft" : { + "rotation" : [ "query.target_x_rotation - this", "query.target_y_rotation - this + 15.0", 0.0 ] + }, + "earright" : { + "rotation" : [ "query.target_x_rotation - this", "query.target_y_rotation - this - 15.0", 0.0 ] + }, + "frontlegleft" : { + "rotation" : [ "variable.jump_rotation * -40.0 - 11.0 - this", 0.0, 0.0 ] + }, + "frontlegright" : { + "rotation" : [ "variable.jump_rotation * -40.0 - 11.0 - this", 0.0, 0.0 ] + }, + "haunchleft" : { + "rotation" : [ "variable.jump_rotation * 50.0 - 21.0 - this", 0.0, 0.0 ] + }, + "haunchright" : { + "rotation" : [ "variable.jump_rotation * 50.0 - 21.0 - this", 0.0, 0.0 ] + }, + "nose" : { + "rotation" : [ "query.target_x_rotation - this", "query.target_y_rotation - this", 0.0 ] + }, + "rearfootleft" : { + "rotation" : [ "variable.jump_rotation * 50.0 - this", 0.0, 0.0 ] + }, + "rearfootright" : { + "rotation" : [ "variable.jump_rotation * 50.0 - this", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/ravager.animation.json b/resource_pack/animations/ravager.animation.json new file mode 100644 index 0000000..999d4e3 --- /dev/null +++ b/resource_pack/animations/ravager.animation.json @@ -0,0 +1,62 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.ravager.biting" : { + "loop" : true, + "bones" : { + "mouth" : { + "rotation" : [ "math.sin(math.min(query.anim_time / (variable.bite_anim_duration / 2.0f), 1.0f) * 180.0f) * 40.0f", 0.0, 0.0 ] + }, + "neck" : { + "position" : [ 0.0, 0.0, "-math.sin(math.min(query.anim_time / variable.bite_anim_duration, 1.0f) * 180.0f) * variable.bite_neck_length" ] + } + } + }, + "animation.ravager.idle_mouth" : { + "loop" : true, + "bones" : { + "mouth" : { + "rotation" : [ 1.8, 0.0, 0.0 ] + }, + "neck" : { + "position" : [ 0.0, 0.0, 0.0 ] + } + } + }, + "animation.ravager.roaring" : { + "loop" : true, + "bones" : { + "mouth" : { + "rotation" : [ "math.sin(math.min(query.anim_time / variable.roar_length, 1.0) * 180) * 40.0", 0.0, 0.0 ] + } + } + }, + "animation.ravager.stunned" : { + "loop" : true, + "bones" : { + "neck" : { + "position" : [ "math.sin(query.life_time * 180.0) * 2.8", -5.0, 0.0 ], + "rotation" : [ 15.0, 0.0, 0.0 ] + } + } + }, + "animation.ravager.walk" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * 22.92", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * -22.92", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * -22.92", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "math.cos(query.anim_time * 38.17) * 22.92", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/ruler_idle.animation.json b/resource_pack/animations/ruler_idle.animation.json new file mode 100644 index 0000000..6767023 --- /dev/null +++ b/resource_pack/animations/ruler_idle.animation.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.ruler_idle.spin": { + "loop": true, + "animation_length": 1, + "bones": { + "root": { + "rotation": { + "0.0": [0, 0, 0], + "1.0": [0, 180, 0] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/ruler_pointer_selected.animation.json b/resource_pack/animations/ruler_pointer_selected.animation.json new file mode 100644 index 0000000..d993031 --- /dev/null +++ b/resource_pack/animations/ruler_pointer_selected.animation.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.ruler_pointer_selected.spin": { + "loop": true, + "animation_length": 1, + "bones": { + "root": { + "rotation": { + "0.0": [0, 0, 0], + "1.0": [0, 180, 0] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/salmon.animation.json b/resource_pack/animations/salmon.animation.json new file mode 100644 index 0000000..00eb5bb --- /dev/null +++ b/resource_pack/animations/salmon.animation.json @@ -0,0 +1,33 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.salmon.flop" : { + "loop" : true, + "bones" : { + "body_back" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * -21.75", 0.0 ] + }, + "body_front" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * 4.0", "variable.zrot" ] + }, + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * -40.0", 0.0 ] + } + } + }, + "animation.salmon.swim" : { + "loop" : true, + "bones" : { + "body_back" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * -21.75", 0.0 ] + }, + "body_front" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * 4.0", 0.0 ] + }, + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * -40.0", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/sheep.animation.json b/resource_pack/animations/sheep.animation.json new file mode 100644 index 0000000..d0bf3dc --- /dev/null +++ b/resource_pack/animations/sheep.animation.json @@ -0,0 +1,49 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.sheep.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, 4.0, 4.0 ], + "scale" : 2.0 + } + } + }, + "animation.sheep.grazing" : { + "animation_length" : 2.0, + "loop" : true, + "bones" : { + "head" : { + "position" : { + "0" : [ 0.0, 0.0, 0.0 ], + "0.2" : [ 0.0, -9.0, 0.0 ], + "1.8" : [ 0.0, -9.0, 0.0 ], + "2" : [ 0.0, 0.0, 0.0 ] + }, + "rotation" : { + "0.2" : { + "post" : [ "180.0 * (0.2 + 0.07 * math.sin(query.key_frame_lerp_time * 1644.39))", 0.0, 0.0 ], + "pre" : [ 36.0, 0.0, 0.0 ] + }, + "1.8" : { + "post" : [ 36.0, 0.0, 0.0 ], + "pre" : [ "180.0 * (0.2 + 0.07 * math.sin(query.key_frame_lerp_time * 1644.39))", 0.0, 0.0 ] + } + } + } + } + }, + "animation.sheep.setup" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, "-6.0 - this", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/shield.animation.json b/resource_pack/animations/shield.animation.json new file mode 100644 index 0000000..f569a68 --- /dev/null +++ b/resource_pack/animations/shield.animation.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.shield.wield_main_hand_first_person": { + "loop": true, + "bones": { + "shield": { + "position": [ "variable.main_hand_first_person_pos_x", "variable.main_hand_first_person_pos_y", "variable.main_hand_first_person_pos_z" ], + "rotation": [ "variable.main_hand_first_person_rot_x", "variable.main_hand_first_person_rot_y", "variable.main_hand_first_person_rot_z" ] + } + } + }, + "animation.shield.wield_off_hand_first_person": { + "loop": true, + "bones": { + "shield": { + "position": [ "variable.off_hand_first_person_pos_x", "variable.off_hand_first_person_pos_y", "variable.is_using_bow ? variable.off_hand_first_person_with_bow_pos_z : variable.off_hand_first_person_pos_z" ], + "rotation": [ "variable.off_hand_first_person_rot_x", "variable.off_hand_first_person_rot_y", "variable.off_hand_first_person_rot_z" ] + } + } + }, + "animation.shield.wield_main_hand_first_person_blocking": { + "loop": "hold_on_last_frame", + "bones": { + "shield": { + "position": { + "0": [ "variable.main_hand_first_person_pos_x - 2", "variable.main_hand_first_person_pos_y", "variable.main_hand_first_person_pos_z" ], + "0.1": [ "variable.main_hand_first_person_pos_x - 2", "variable.main_hand_first_person_pos_y - 2", "variable.main_hand_first_person_pos_z - 2" ] + }, + "rotation": [ "variable.main_hand_first_person_rot_x", "variable.main_hand_first_person_rot_y - 12.0", "variable.main_hand_first_person_rot_z" ] + } + } + }, + "animation.shield.wield_off_hand_first_person_blocking": { + "loop": "hold_on_last_frame", + "bones": { + "shield": { + "position": { + "0": [ "variable.off_hand_first_person_pos_x + 0.5", "variable.off_hand_first_person_pos_y", "variable.is_using_bow ? variable.off_hand_first_person_with_bow_pos_z : variable.off_hand_first_person_pos_z" ], + "0.1": [ "variable.off_hand_first_person_pos_x + 0.5", "variable.off_hand_first_person_pos_y + 3.2", "variable.is_using_bow ? variable.off_hand_first_person_with_bow_pos_z : variable.off_hand_first_person_pos_z + 1.5" ] + }, + "rotation": [ "variable.off_hand_first_person_rot_x", "variable.off_hand_first_person_rot_y", "variable.off_hand_first_person_rot_z + 10.0" ] + } + } + }, + "animation.shield.wield_third_person": { + "loop": true, + "bones": { + "shield": { + "position": [ "c.item_slot == 'main_hand' ? -0.4 : -1.6", 9.0, 9.3 ], + "rotation": [ -90.0, 0.0, 90.0 ], + "scale": [ "c.item_slot == 'main_hand' ? 1.0 : -1.0", -1.0, "c.item_slot == 'main_hand' ? -1.0 : 1.0" ] + } + } + } + } +} diff --git a/resource_pack/animations/shulker.animation.json b/resource_pack/animations/shulker.animation.json new file mode 100644 index 0000000..7b0d00d --- /dev/null +++ b/resource_pack/animations/shulker.animation.json @@ -0,0 +1,29 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.shulker.facing" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "base" : { + "position" : [ "variable.shulker.xoffset", "variable.shulker.yoffset", "variable.shulker.zoffset" ], + "rotation" : [ "variable.shulker.xprerotation", 0.0, "variable.shulker.zprerotation" ], + "scale" : 0.98 + } + } + }, + "animation.shulker.move" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, "-variable.shulker.upfacing * 6 - (3 * (variable.shulker.northfacing + variable.shulker.southfacing + variable.shulker.westfacing + variable.shulker.eastfacing))", 0.0 ] + }, + "lid" : { + "position" : [ 0.0, "7.2 - math.sin(variable.shulker.lidpositionfactor * 1.16) * 7.5 + (variable.shulker.lidpositionfactor > 180 ? math.sin(query.life_time * 114.6) * 0.7 + 1.5: 0.0)", 0.0 ], + "rotation" : [ 0.0, "variable.shulker.peekamount > 0.3 ? math.pow(variable.shulker.lidrotationfactor, 4) * 22.5 : 0.0", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/shulker.animations.v1.0.json b/resource_pack/animations/shulker.animations.v1.0.json new file mode 100644 index 0000000..23ab2bc --- /dev/null +++ b/resource_pack/animations/shulker.animations.v1.0.json @@ -0,0 +1,33 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.shulker.facing.v1.0" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "base" : { + "position" : [ "variable.shulker.xoffset", "variable.shulker.yoffset", "variable.shulker.zoffset" ], + "rotation" : [ "variable.shulker.xprerotation", 0.0, "variable.shulker.zprerotation" ], + "scale" : 0.98 + }, + "lid" : { + "position" : [ "(variable.shulker.eastfacing - variable.shulker.westfacing) * 8", "(variable.shulker.northfacing + variable.shulker.southfacing + variable.shulker.eastfacing + variable.shulker.westfacing) * 8 + (variable.shulker.upfacing) * 16", "(variable.shulker.northfacing - variable.shulker.southfacing) * 8" ], + "rotation" : [ "variable.shulker.xprerotation", 0.0, "variable.shulker.zprerotation" ] + } + } + }, + "animation.shulker.move.v1.0" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, "-variable.shulker.upfacing * 3 - (3 * (variable.shulker.northfacing + variable.shulker.southfacing + variable.shulker.westfacing + variable.shulker.eastfacing))", 0.0 ] + }, + "lid" : { + "position" : [ "(7.2 - math.sin(variable.shulker.lidpositionfactor * 1.16) * 7.5 + (variable.shulker.lidpositionfactor > 180 ? math.sin(query.life_time * 114.6) * 0.7 + 1.5: 0.0)) * (variable.shulker.westfacing - variable.shulker.eastfacing)", "(7.2 - math.sin(variable.shulker.lidpositionfactor * 1.16) * 7.5 + (variable.shulker.lidpositionfactor > 180 ? math.sin(query.life_time * 114.6) * 0.7 + 1.5: 0.0)) * ((variable.shulker.facingdirection == 0 ? 1.0 : 0.0) - variable.shulker.upfacing)", "(7.2 - math.sin(variable.shulker.lidpositionfactor * 1.16) * 7.5 + (variable.shulker.lidpositionfactor > 180 ? math.sin(query.life_time * 114.6) * 0.7 + 1.5: 0.0)) * (variable.shulker.southfacing - variable.shulker.northfacing)" ], + "rotation" : [ 0.0, "(variable.shulker.peekamount > 0.3 ? math.pow(variable.shulker.lidrotationfactor, 4) * 22.5 : 0.0) * ((variable.shulker.facingdirection == 0 ? 1.0 : 0.0) + variable.shulker.westfacing + variable.shulker.eastfacing + variable.shulker.upfacing)", "(variable.shulker.peekamount > 0.3 ? math.pow(variable.shulker.lidrotationfactor, 4) * 22.5 : 0.0) * (variable.shulker.northfacing + variable.shulker.southfacing)" ] + } + } + } + } +} diff --git a/resource_pack/animations/shulker_bullet.animation.json b/resource_pack/animations/shulker_bullet.animation.json new file mode 100644 index 0000000..06e6116 --- /dev/null +++ b/resource_pack/animations/shulker_bullet.animation.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.shulker_bullet.move" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "math.cos(query.life_time * 120) * 180", "math.sin(query.life_time * 120) * 180", "math.sin(query.life_time * 170) * 360" ] + } + } + } + } +} diff --git a/resource_pack/animations/silverfish.animation.json b/resource_pack/animations/silverfish.animation.json new file mode 100644 index 0000000..43bd907 --- /dev/null +++ b/resource_pack/animations/silverfish.animation.json @@ -0,0 +1,38 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.silverfish.move" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "bodypart_0" : { + "position" : [ "math.sin(query.life_time * 1031.4) * 1.26", 0.0, 0.0 ], + "rotation" : [ 0.0, "math.cos(query.life_time * 1031.4) * 27", 0.0 ] + }, + "bodypart_1" : { + "position" : [ "math.sin(query.life_time * 1031.4 + 27) * 0.63", 0.0, 0.0 ], + "rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 27) * 18", 0.0 ] + }, + "bodypart_2" : { + "rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 54) * 9", 0.0 ] + }, + "bodypart_3" : { + "position" : [ "math.sin(query.life_time * 1031.4 + 81) * 0.63", 0.0, 0.0 ], + "rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 81) * 18", 0.0 ] + }, + "bodypart_4" : { + "position" : [ "math.sin(query.life_time * 1031.4 + 108) * 1.26", 0.0, 0.0 ], + "rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 108) * 27", 0.0 ] + }, + "bodypart_5" : { + "position" : [ "math.sin(query.life_time * 1031.4 + 135) * 1.89", 0.0, 0.0 ], + "rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 135) * 36", 0.0 ] + }, + "bodypart_6" : { + "position" : [ "math.sin(query.life_time * 1031.4 + 162) * 2.52", 0.0, 0.0 ], + "rotation" : [ 0.0, "math.cos(query.life_time * 1031.4 + 162) * 45", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/skeleton.animation.json b/resource_pack/animations/skeleton.animation.json new file mode 100644 index 0000000..83f1e71 --- /dev/null +++ b/resource_pack/animations/skeleton.animation.json @@ -0,0 +1,16 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.skeleton.attack" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) - 90.0 - this", "5.73 - math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ] + }, + "rightarm" : { + "rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) - 90.0 - this", "-5.73 + math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ] + } + } + } + } +} diff --git a/resource_pack/animations/skeleton.animations.v1.0.json b/resource_pack/animations/skeleton.animations.v1.0.json new file mode 100644 index 0000000..f02bd60 --- /dev/null +++ b/resource_pack/animations/skeleton.animations.v1.0.json @@ -0,0 +1,275 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.humanoid.attack.rotations.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "(math.sin(math.sqrt(variable.attack_time) * 360) * 11.46) - this", 0.0 ] + }, + "leftarm" : { + "rotation" : [ "(math.sin(math.sqrt(variable.attack_time) * 360) * 11.46)", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "math.sin(1.0 - math.pow(1.0 - variable.attack_time, 3.0) * 180.0) * (variable.is_brandishing_spear ? -1.0 : 1.0 )", "variable.is_brandishing_spear ? 0.0 : (math.sin(math.sqrt(variable.attack_time) * 360) * 11.46) * 2.0", 0.0 ] + } + } + }, + "animation.humanoid.base_pose.v1.0" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ 0.0, "-this", 0.0 ] + }, + "leftarm" : { + "position" : [ "5.0 - this", 0.0, "-this" ], + "rotation" : [ "-this", "-this", "-this" ] + }, + "leftleg" : { + "rotation" : [ "-this", "-this", 0.0 ] + }, + "rightarm" : { + "position" : [ "-5.0 - this", 0.0, "-this" ], + "rotation" : [ "-this", "-this", "-this" ] + }, + "rightleg" : { + "rotation" : [ "-this", "-this", 0.0 ] + }, + "waist" : { + "rotation" : [ "-this", "-this", "-this" ] + } + } + }, + "animation.humanoid.big_head.v1.0" : { + "loop" : true, + "bones" : { + "hat" : { + "scale" : 1.4 + }, + "head" : { + "scale" : 1.4 + } + } + }, + "animation.humanoid.bob.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ 0.0, 0.0, "-(math.cos(query.life_time * 103.2) * 2.865) - 2.865" ] + }, + "rightarm" : { + "rotation" : [ 0.0, 0.0, "(math.cos(query.life_time * 103.2) * 2.865) + 2.865" ] + } + } + }, + "animation.humanoid.bow_and_arrow.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "query.target_x_rotation - 90.0 - math.sin(query.life_time * 76.8) * 2.865 - this", "query.target_y_rotation + 28.65", "-(math.cos(query.life_time * 103.2) * 2.865) - 2.865" ] + }, + "rightarm" : { + "rotation" : [ "query.target_x_rotation - 90.0 + math.sin(query.life_time * 76.8) * 2.865 - this", "query.target_y_rotation - 5.73", "(math.cos(query.life_time * 103.2) * 2.865) + 2.865" ] + } + } + }, + "animation.humanoid.brandish_spear.v1.0" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "this * -0.5 - 157.5 - 22.5 * variable.charge_amount", "-this - (math.sin(math.sqrt(variable.attack_time) * 360) * 11.46)", 0.0 ] + } + } + }, + "animation.humanoid.charging.v1.0" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "22.5 * variable.charge_amount - this", "-this", 0.0 ] + } + } + }, + "animation.humanoid.damage_nearby_mobs.v1.0" : { + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "leftarm" : { + "rotation" : [ -45.0, 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ 45.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ 45.0, 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ -45.0, 0.0, 0.0 ] + } + } + }, + "animation.humanoid.holding.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.is_holding_left ? (-this * 0.5 - 18.0) : 0.0", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "variable.is_holding_right ? (-this * 0.5 - 18.0) : 0.0", 0.0, 0.0 ] + } + } + }, + "animation.humanoid.look_at_target.default.v1.0" : { + "loop" : true, + "bones" : { + "hat" : { + "rotation" : [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + }, + "head" : { + "rotation" : [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.humanoid.look_at_target.gliding.v1.0" : { + "loop" : true, + "bones" : { + "hat" : { + "rotation" : [ -45.0, "query.target_y_rotation", 0.0 ] + }, + "head" : { + "rotation" : [ -45.0, "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.humanoid.look_at_target.swimming.v1.0" : { + "loop" : true, + "bones" : { + "hat" : { + "rotation" : [ "math.lerp(query.target_x_rotation, -45.0, variable.swim_amount)", "query.target_y_rotation", 0.0 ] + }, + "head" : { + "rotation" : [ "math.lerp(query.target_x_rotation, -45.0, variable.swim_amount)", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.humanoid.move.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "variable.tcos0", 0.0, 0.0 ] + }, + "leftleg" : { + "rotation" : [ "variable.tcos0 * -1.4", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "-variable.tcos0", 0.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ "variable.tcos0 * 1.4", 0.0, 0.0 ] + } + } + }, + "animation.humanoid.riding.arms.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ -36.0, 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ -36.0, 0.0, 0.0 ] + } + } + }, + "animation.humanoid.riding.legs.v1.0" : { + "loop" : true, + "override_previous_animation" : true, + "bones" : { + "leftleg" : { + "rotation" : [ -72.0, -18.0, 0.0 ] + }, + "rightleg" : { + "rotation" : [ -72.0, 18.0, 0.0 ] + } + } + }, + "animation.humanoid.sneaking.v1.0" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ "0.5 - this", 0.0, 0.0 ] + }, + "head" : { + "position" : [ 0.0, 1.0, 0.0 ] + }, + "leftarm" : { + "rotation" : [ 72.0, 0.0, 0.0 ] + }, + "leftleg" : { + "position" : [ 0.0, -3.0, 4.0 ] + }, + "rightarm" : { + "rotation" : [ 72.0, 0.0, 0.0 ] + }, + "rightleg" : { + "position" : [ 0.0, -3.0, 4.0 ] + } + } + }, + "animation.humanoid.swimming.v1.0" : { + "animation_length" : 1.3, + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : { + "0.7" : { + "post" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.left_arm_swim_amount)", "math.lerp(this, 180.0, variable.left_arm_swim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.left_arm_swim_amount)" ], + "pre" : [ "math.lerp(this, 0.0, variable.left_arm_swim_amount)", "math.lerp(this, 180.0, variable.left_arm_swim_amount)", "math.lerp(this, 180.0 - 0.01877 * (-65.0 * math.mod(query.modified_distance_moved, 26.0) + math.mod(query.modified_distance_moved, 26.0) * math.mod(query.modified_distance_moved, 26.0)), variable.left_arm_swim_amount)" ] + }, + "1.1" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.left_arm_swim_amount)", "math.lerp(this, 180.0, variable.left_arm_swim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.left_arm_swim_amount)" ], + "1.3" : { + "post" : [ "math.lerp(this, 90.0 - (22.5 * math.mod(query.modified_distance_moved, 26.0)), variable.left_arm_swim_amount)", "math.lerp(this, 180.0, variable.left_arm_swim_amount)", "math.lerp(this, 180.0, variable.left_arm_swim_amount)" ], + "pre" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.left_arm_swim_amount)", "math.lerp(this, 180.0, variable.left_arm_swim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.left_arm_swim_amount)" ] + } + } + }, + "leftleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.modified_distance_moved * 19.5 + 180.0) * 17.2, variable.left_arm_swim_amount)", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : { + "0.7" : { + "post" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.right_arm_swim_amount)", "math.lerp(this, 180.0, variable.right_arm_swim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.right_arm_swim_amount)" ], + "pre" : [ "math.lerp(this, 0.0, variable.right_arm_swim_amount)", "math.lerp(this, 180.0, variable.right_arm_swim_amount)", "math.lerp(this, -0.1019 * (-65.0 * math.mod(query.modified_distance_moved, 26.0) + math.mod(query.modified_distance_moved, 26.0) * math.mod(query.modified_distance_moved, 26.0)), variable.right_arm_swim_amount)" ] + }, + "1.1" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.right_arm_swim_amount)", "math.lerp(this, 180.0, variable.right_arm_swim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.right_arm_swim_amount)" ], + "1.3" : { + "post" : [ "math.lerp(this, 90.0 - (22.5 * math.mod(query.modified_distance_moved, 26.0)), variable.right_arm_swim_amount)", "math.lerp(this, 180.0, variable.right_arm_swim_amount)", "math.lerp(this, 180.0, variable.right_arm_swim_amount)" ], + "pre" : [ "math.lerp(this, 11.25 * math.mod(query.modified_distance_moved, 26.0), variable.right_arm_swim_amount)", "math.lerp(this, 180.0, variable.right_arm_swim_amount)", "math.lerp(this, 72.77 + 13.4 * math.mod(query.modified_distance_moved, 26.0), variable.right_arm_swim_amount)" ] + } + } + }, + "rightleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.modified_distance_moved * 19.5) * 17.2, variable.left_arm_swim_amount)", 0.0, 0.0 ] + } + } + }, + "animation.humanoid.use_item_progress.v1.0" : { + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ "variable.use_item_startup_progress * -60.0 + variable.use_item_interval_progress * 11.25", "variable.use_item_startup_progress * -22.5 + variable.use_item_interval_progress * 11.25", "variable.use_item_startup_progress * -5.625 + variable.use_item_interval_progress * 11.25" ] + } + } + }, + "animation.skeleton.attack.v1.0" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3)", "5.73 - math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ] + }, + "rightarm" : { + "rotation" : [ "-68.75 * math.sin(variable.attack_time * 180.0) + 22.92 * (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3)", "-5.73 + math.sin(variable.attack_time * 180.0) * 34.38 - this", "-this" ] + } + } + } + } +} diff --git a/resource_pack/animations/sniffer.animation.json b/resource_pack/animations/sniffer.animation.json new file mode 100644 index 0000000..b6691b6 --- /dev/null +++ b/resource_pack/animations/sniffer.animation.json @@ -0,0 +1,1143 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.sniffer.baby_transform": { + "loop": true, + "bones": { + "head": { + "position": [ 0.0, 1.0, 1.0 ], + "scale": 1.2 + } + } + }, + "animation.sniffer.walk": { + "loop": true, + "animation_length": 2, + "bones": { + "right_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5833": [ 35, 0, 0 ], + "1.0": [ -35, 0, 0 ], + "1.1667": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 3 ], + "0.75": [ 0, 4, -1 ], + "1.0": [ 0, 0, 0 ], + "1.1667": [ 0, 0, -1 ], + "2.0": [ 0, 0, 3 ] + } + }, + "right_mid_leg": { + "rotation": { + "0.0": [ -7, 0, 0 ], + "0.1667": [ -35, 0, 0 ], + "0.3333": [ 0, 0, 0 ], + "1.0": [ 0, 0, 0 ], + "1.1667": [ 0, 0, 0 ], + "1.75": [ 35, 0, 0 ], + "2.0": [ -7, 0, 0 ] + }, + "position": { + "0.0": [ 0, 2.67, -0.67 ], + "0.1667": [ 0, 0, 0 ], + "0.3333": [ 0, 0, -2 ], + "1.0": [ 0, 0, 2 ], + "1.1667": [ 0, 0, 3 ], + "1.9167": [ 0, 4, -1 ], + "2.0": [ 0, 2.67, -0.67 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5833": [ 0, 0, 0 ], + "1.0": [ 25, 0, 0 ], + "1.1667": [ 35, 0, 0 ], + "1.5833": [ -35, 0, 0 ], + "1.75": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, -0.5 ], + "0.5833": [ 0, 0, 2 ], + "1.0": [ 0, 2.22, 0.78 ], + "1.3333": [ 0, 4, -1 ], + "1.5833": [ 0, 0, 0 ], + "1.75": [ 0, 0, -2 ], + "2.0": [ 0, 0, -0.5 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": [ -35, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "1.0": [ 0, 0, 0 ], + "1.5833": [ 35, 0, 0 ], + "2.0": [ -35, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, -1 ], + "1.0": [ 0, 0, 3 ], + "1.75": [ 0, 4, -1 ], + "2.0": [ 0, 0, 0 ] + } + }, + "left_mid_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "0.75": [ 35, 0, 0 ], + "1.1667": [ -35, 0, 0 ], + "1.3333": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 2 ], + "0.1667": [ 0, 0, 3 ], + "0.9167": [ 0, 4, -1 ], + "1.1667": [ 0, 0, 0 ], + "1.3333": [ 0, 0, -2 ], + "2.0": [ 0, 0, 2 ] + } + }, + "left_hind_leg": { + "rotation": { + "0.0": [ 25, 0, 0 ], + "0.1667": [ 35, 0, 0 ], + "0.5833": [ -35, 0, 0 ], + "0.75": [ 0, 0, 0 ], + "1.0": [ 0, 0, 0 ], + "1.5833": [ 0, 0, 0 ], + "2.0": [ 25, 0, 0 ] + }, + "position": { + "0.0": [ 0, 2.22, 0.78 ], + "0.3333": [ 0, 4, -1 ], + "0.5833": [ 0, 0, 0 ], + "0.75": [ 0, 0, -2 ], + "1.0": [ 0, 0, -0.5 ], + "1.5833": [ 0, 0, 2 ], + "2.0": [ 0, 2.22, 0.78 ] + } + }, + "body": { + "rotation": { + "0.0": { + "post": [ 1, 0, -2.5 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ -1, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 1, 0, 2.5 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ -1, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 1, 0, -2.5 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 0, -1, 0 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.2083": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.375": { + "post": [ 0, -1, 0 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [ 7.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.1667": { + "post": [ 9, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [ -1, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.25": { + "post": [ 7, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [ 5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 7.5, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_ear": { + "rotation": { + "0.0": { + "post": [ 0, 0, -2.5 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ 0, 0, -7.5 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 0, 0, -2.5 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, -7.5 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 0, 0, -2.5 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_ear": { + "rotation": { + "0.0": { + "post": [ 0, 0, 2.5 ], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [ 0, 0, 7.5 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 0, 0, 2.5 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 7.5 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 0, 0, 2.5 ], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.sniffer.sniffsniff": { + "loop": true, + "animation_length": 8, + "bones": { + "nose": { + "scale": { + "0.0": [ 1, 1, 1 ], + "0.5417": [ 1, 1, 1 ], + "0.5833": { + "pre": [ 1, 0.5, 1 ], + "post": [ 1, 0.5, 1 ], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [ 1, 2.5, 1 ], + "lerp_mode": "catmullrom" + }, + "0.7917": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "0.9167": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 1, 3, 1 ], + "lerp_mode": "catmullrom" + }, + "1.125": [ 1, 1, 1 ], + "2.0": [ 1, 1, 1 ] + } + } + }, + "sound_effects": { + "0.0": { + "effect": "sniffsniff" + } + } + }, + "animation.sniffer.longsniff": { + "animation_length": 1, + "bones": { + "nose": { + "scale": { + "0.0": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "0.0833": { + "post": [ 1, 0.7, 1 ], + "lerp_mode": "catmullrom" + }, + "0.125": { + "post": [ 1, 3, 1 ], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [ 1, 3, 1 ], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [ 1, 4, 1 ], + "lerp_mode": "catmullrom" + }, + "0.8333": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.125": [ -5, 0, 0 ], + "0.875": [ -20, 0, 0 ], + "1.0": [ 0, 0, 0 ] + } + } + }, + "sound_effects": { + "0.0": { + "effect": "long_sniff" + } + } + }, + "animation.sniffer.search": { + "loop": true, + "animation_length": 2, + "bones": { + "right_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5833": [ 35, 0, 0 ], + "1.0": [ -35, 0, 0 ], + "1.1667": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 3 ], + "0.75": [ 0, 4, -1 ], + "1.0": [ 0, 0, 0 ], + "1.1667": [ 0, 0, -1 ], + "2.0": [ 0, 0, 3 ] + } + }, + "right_mid_leg": { + "rotation": { + "0.0": [ -7, 0, 0 ], + "0.1667": [ -35, 0, 0 ], + "0.3333": [ 0, 0, 0 ], + "1.0": [ 0, 0, 0 ], + "1.1667": [ 0, 0, 0 ], + "1.75": [ 35, 0, 0 ], + "2.0": [ -7, 0, 0 ] + }, + "position": { + "0.0": [ 0, 2.67, -0.67 ], + "0.1667": [ 0, 0, 0 ], + "0.3333": [ 0, 0, -2 ], + "1.0": [ 0, 0, 2 ], + "1.1667": [ 0, 0, 3 ], + "1.9167": [ 0, 4, -1 ], + "2.0": [ 0, 2.67, -0.67 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5833": [ 0, 0, 0 ], + "1.0": [ 25, 0, 0 ], + "1.1667": [ 35, 0, 0 ], + "1.5833": [ -35, 0, 0 ], + "1.75": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, -0.5 ], + "0.5833": [ 0, 0, 2 ], + "1.0": [ 0, 2.22, 0.78 ], + "1.3333": [ 0, 4, -1 ], + "1.5833": [ 0, 0, 0 ], + "1.75": [ 0, 0, -2 ], + "2.0": [ 0, 0, -0.5 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": [ -35, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "1.0": [ 0, 0, 0 ], + "1.5833": [ 35, 0, 0 ], + "2.0": [ -35, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, -1 ], + "1.0": [ 0, 0, 3 ], + "1.75": [ 0, 4, -1 ], + "2.0": [ 0, 0, 0 ] + } + }, + "left_mid_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.1667": [ 0, 0, 0 ], + "0.75": [ 35, 0, 0 ], + "1.1667": [ -35, 0, 0 ], + "1.3333": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 2 ], + "0.1667": [ 0, 0, 3 ], + "0.9167": [ 0, 4, -1 ], + "1.1667": [ 0, 0, 0 ], + "1.3333": [ 0, 0, -2 ], + "2.0": [ 0, 0, 2 ] + } + }, + "left_hind_leg": { + "rotation": { + "0.0": [ 25, 0, 0 ], + "0.1667": [ 35, 0, 0 ], + "0.5833": [ -35, 0, 0 ], + "0.75": [ 0, 0, 0 ], + "1.0": [ 0, 0, 0 ], + "1.5833": [ 0, 0, 0 ], + "2.0": [ 25, 0, 0 ] + }, + "position": { + "0.0": [ 0, 2.22, 0.78 ], + "0.3333": [ 0, 4, -1 ], + "0.5833": [ 0, 0, 0 ], + "0.75": [ 0, 0, -2 ], + "1.0": [ 0, 0, -0.5 ], + "1.5833": [ 0, 0, 2 ], + "2.0": [ 0, 2.22, 0.78 ] + } + }, + "body": { + "rotation": { + "0.0": [ 2.5, 0, 0 ], + "0.5": [ 1.25, 0, 0 ], + "1.5": [ 0, 0, 0 ], + "2.0": [ 2.5, 0, 0 ] + } + }, + "head": { + "rotation": { + "0.0": [ 35, 0, 0 ], + "0.125": [ 33.61503, 11.46526, 9.803 ], + "0.875": [ 34.71128, 17.67415, 14.15251 ], + "1.125": [ 37.21128, -17.67415, -14.15251 ], + "1.875": [ 38.30529, -21.62827, -17.40292 ], + "2.0": [ 35, 0, 0 ] + }, + "position": [ 0, -2, 0 ] + }, + "left_ear": { + "rotation": { + "0.0": [ 0, 0, -2.5 ], + "0.25": [ 0, 0, -15 ], + "0.5": [ 0, 0, -2.5 ], + "0.75": [ 0, 0, -15 ], + "1.0": [ 0, 0, -2.5 ], + "1.25": [ 0, 0, -15 ], + "1.5": [ 0, 0, -2.5 ], + "1.75": [ 0, 0, -15 ], + "2.0": [ 0, 0, -2.5 ] + } + }, + "right_ear": { + "rotation": { + "0.0": [ 0, 0, 2.5 ], + "0.25": [ 0, 0, 15 ], + "0.5": [ 0, 0, 2.5 ], + "0.75": [ 0, 0, 15 ], + "1.0": [ 0, 0, 2.5 ], + "1.25": [ 0, 0, 15 ], + "1.5": [ 0, 0, 2.5 ], + "1.75": [ 0, 0, 15 ], + "2.0": [ 0, 0, 2.5 ] + } + }, + "nose": { + "scale": { + "0.0": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "0.0833": { + "post": [ 1, 1.5, 1 ], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "0.375": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [ 1, 2.5, 1 ], + "lerp_mode": "catmullrom" + }, + "0.625": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "0.8333": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "0.9167": { + "post": [ 1, 2.5, 1 ], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "1.2917": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [ 1, 2.5, 1 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [ 1, 3.5, 1 ], + "lerp_mode": "catmullrom" + }, + "1.8333": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 1, 1, 1 ], + "lerp_mode": "catmullrom" + } + } + } + }, + "sound_effects": { + "0.0": { + "effect": "searching" + }, + "1.0": { + "effect": "searching" + } + } + }, + "animation.sniffer.dig": { + "loop": "hold_on_last_frame", + "animation_length": 8, + "bones": { + "body": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5": [ 1.5, 0, 0 ], + "1.3333": [ -5, 0, 0 ], + "1.5": [ 0, 0, 0 ], + "2.0": [ 0, 0, 0 ], + "2.5": [ 2.5, 0, 0 ], + "3.0": [ 0, 0, 0 ], + "3.5": [ 2.5, 0, 0 ], + "4.0": [ 0, 0, 0 ], + "4.5": [ 2.5, 0, 0 ], + "5.6667": [ 5, 0, 0 ], + "5.8333": [ -2.5, 0, 0 ], + "6.0": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.3333": [ 0, 1, 0 ], + "1.5": [ 0, -7, 0 ] + }, + "scale": { + "0.0": [ 1, 1, 1 ], + "1.5": [ 1, 1, 1 ], + "1.5417": [ 1.04, 0.98, 1.02 ], + "1.5833": [ 1, 1, 1 ] + } + }, + "head": { + "rotation": { + "0.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": [ 10, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.4167": { + "post": [ -10, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5833": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.875": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "2.0833": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [ 47.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "2.6667": { + "post": [ 38.44, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "2.875": { + "post": [ 10.95951, 13.57454, -14.93501 ], + "lerp_mode": "catmullrom" + }, + "3.2083": { + "post": [ 47.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "3.5833": { + "post": [ 55, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "3.7917": { + "post": [ 4.2932, -16.187, 10.90042 ], + "lerp_mode": "catmullrom" + }, + "4.125": { + "post": [ 47.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "4.4167": { + "post": [ 54.71135, 7.98009, -5.56662 ], + "lerp_mode": "catmullrom" + }, + "4.5": { + "post": [ 55.72895, -6.77684, 4.46197 ], + "lerp_mode": "catmullrom" + }, + "4.5833": { + "post": [ 54.71135, 7.98009, -5.56662 ], + "lerp_mode": "catmullrom" + }, + "4.6667": { + "post": [ 55.72895, -6.77684, 4.46197 ], + "lerp_mode": "catmullrom" + }, + "4.75": { + "post": [ 54.71135, 7.98009, -5.56662 ], + "lerp_mode": "catmullrom" + }, + "4.8333": { + "post": [ 55.72895, -6.77684, 4.46197 ], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [ 65, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "5.75": { + "post": [ 65, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "5.9167": { + "post": [ -32.5, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "6.25": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "0.625": [ 0, 0, 0 ], + "1.375": [ 0, 1, 0 ], + "1.5": [ 0, 1, 0 ], + "1.5833": [ 0, 1, 0 ], + "1.875": [ 0, 1, 0 ], + "2.0833": [ 0, 3, 0 ], + "2.2917": [ 0, 6, 0 ], + "2.6667": [ 0, 0, 0 ], + "3.2083": [ 0, 4, 0 ], + "3.5833": [ 0, 0, 0 ], + "4.125": [ 0, 4, 0 ], + "5.0": [ 0, 0, 0 ], + "5.75": [ 0, 1, 0 ], + "6.0": [ 0, 1.5, 0 ], + "6.25": [ 0, 1, 0 ] + } + }, + "left_ear": { + "rotation": { + "0.0": [ 0, 0, -2.5 ], + "1.25": [ 0, 0, -2.5 ], + "1.4167": [ 0, 0, -50 ], + "1.5833": [ 0, 0, -30 ], + "5.9167": [ 0, 0, -30 ], + "6.0833": [ 0, 0, -65 ], + "6.3333": [ 0, 0, -30 ] + } + }, + "right_ear": { + "rotation": { + "0.0": [ 0, 0, 2.5 ], + "1.25": [ 0, 0, 2.5 ], + "1.4167": [ 0, 0, 50 ], + "1.5833": [ 0, 0, 30 ], + "5.9167": [ 0, 0, 30 ], + "6.0833": [ 0, 0, 65 ], + "6.3333": [ 0, 0, 30 ] + } + }, + "right_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.2083": [ 0, 0, 0 ], + "1.375": [ 0, 0, 90 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.2083": [ 0, 0, 0 ], + "1.2917": [ -2, -0.75, 0 ], + "1.375": [ -4, -5.5, 0 ] + } + }, + "right_mid_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.25": [ 0, 0, 0 ], + "1.4167": [ 0, 0, 90 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.25": [ 0, 0, 0 ], + "1.3333": [ -2, -0.75, 0 ], + "1.4167": [ -4, -5.5, 0 ] + } + }, + "right_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.3333": [ 0, 0, 0 ], + "1.5": [ 0, 0, 90 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.3333": [ 0, 0, 0 ], + "1.4167": [ -2, -0.75, 0 ], + "1.5": [ -4, -5.5, 0 ] + } + }, + "left_front_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.2083": [ 0, 0, 0 ], + "1.375": [ 0, 0, -90 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.2083": [ 0, 0, 0 ], + "1.2917": [ 2, -0.75, 0 ], + "1.375": [ 4, -5.5, 0 ] + } + }, + "left_mid_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.25": [ 0, 0, 0 ], + "1.4167": [ 0, 0, -90 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.25": [ 0, 0, 0 ], + "1.3333": [ 2, -0.75, 0 ], + "1.4167": [ 4, -5.5, 0 ] + } + }, + "left_hind_leg": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "1.3333": [ 0, 0, 0 ], + "1.5": [ 0, 0, -90 ] + }, + "position": { + "0.0": [ 0, 0, 0 ], + "1.3333": [ 0, 0, 0 ], + "1.4167": [ 2, -0.75, 0 ], + "1.5": [ 4, -5.5, 0 ] + } + } + }, + "sound_effects": { + "0.0": { + "effect": "digging" + }, + "6.0": { + "effect": "drop_seed" + } + } + }, + "animation.sniffer.stand_up": { + "loop": "hold_on_last_frame", + "animation_length": 3, + "bones": { + "body": { + "rotation": { + "0.25": [ 0, 0, 0 ], + "0.75": [ 2.5, 0, 0 ], + "1.5": [ -2.5, 0, 0 ], + "1.7083": [ 0, 0, 0 ] + }, + "position": { + "0.25": [ 0, -7, 0 ], + "0.75": [ 0, -7, 0 ], + "1.5": [ 0, 0, 0 ], + "1.7083": [ 0, 0, 0 ] + } + }, + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.3333": [ -5, 0, 0 ], + "0.7083": [ 0, 0, 0 ], + "1.0": [ 10, 0, 0 ], + "1.375": [ 0, 0, 0 ] + }, + "position": { + "0.0": [ 0, 1, 0 ], + "1.375": [ 0, 1, 0 ] + } + }, + "left_ear": { + "rotation": { + "0.0": [ 0, 0, -30 ], + "0.9167": [ 0, 0, -30 ], + "1.2083": [ 0, 0, -5 ] + } + }, + "right_ear": { + "rotation": { + "0.0": [ 0, 0, 30 ], + "0.9167": [ 0, 0, 30 ], + "1.2083": [ 0, 0, 5 ] + } + }, + "right_front_leg": { + "rotation": { + "0.0": { + "post": [ 0, 0, 90 ], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [ -4, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": [ 6, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_mid_leg": { + "rotation": { + "0.0833": { + "pre": [ 0, 0, 90 ], + "post": [ 0, 0, 90 ], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0833": { + "pre": [ -4, -5.5, 0 ], + "post": [ -4, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [ 6, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_hind_leg": { + "rotation": { + "0.1667": { + "pre": [ 0, 0, 90 ], + "post": [ 0, 0, 90 ], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.1667": { + "pre": [ -4, -5.5, 0 ], + "post": [ -4, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [ 6, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_front_leg": { + "rotation": { + "0.0": { + "post": [ 0, 0, -90 ], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [ 4, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": [ -6, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.4583": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_mid_leg": { + "rotation": { + "0.0833": { + "pre": [ 0, 0, -90 ], + "post": [ 0, 0, -90 ], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0833": { + "pre": [ 4, -5.5, 0 ], + "post": [ 4, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [ -6, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.5833": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_hind_leg": { + "rotation": { + "0.1667": { + "pre": [ 0, 0, -90 ], + "post": [ 0, 0, -90 ], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.1667": { + "pre": [ 4, -5.5, 0 ], + "post": [ 4, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.4167": { + "post": [ -6, -5.5, 0 ], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + } + }, + "sound_effects": { + "0.0": { + "effect": "stand_up" + } + } + }, + "animation.sniffer.feeling_happy": { + "loop": true, + "animation_length": 2, + "bones": { + "head": { + "rotation": { + "0.0": [ 0, 0, 0 ], + "0.5": { + "pre": [ -32.00206, 19.3546, -11.70092 ], + "post": [ -32.00206, 19.3546, -11.70092 ], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.5": { + "post": [ -32.00206, -19.3546, 11.70092 ], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "left_ear": { + "rotation": { + "0.5": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, -67.5 ], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.125": { + "post": [ 0, 0, -67.5 ], + "lerp_mode": "catmullrom" + }, + "1.2917": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + }, + "right_ear": { + "rotation": { + "0.5": { + "pre": [ 0, 0, 0 ], + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "0.75": { + "post": [ 0, 0, 67.5 ], + "lerp_mode": "catmullrom" + }, + "0.9583": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + }, + "1.125": { + "post": [ 0, 0, 67.5 ], + "lerp_mode": "catmullrom" + }, + "1.2917": { + "post": [ 0, 0, 0 ], + "lerp_mode": "catmullrom" + } + } + } + }, + "sound_effects": { + "0.0": { + "effect": "happy" + } + } + } + } +} diff --git a/resource_pack/animations/snow_golem.animation.json b/resource_pack/animations/snow_golem.animation.json new file mode 100644 index 0000000..f946aec --- /dev/null +++ b/resource_pack/animations/snow_golem.animation.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.snowgolem.move.v1.8" : { + "loop" : true, + "bones" : { + "piece1" : { + "rotation" : [ 0.0, "query.target_y_rotation * 0.25", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/snow_golem.animations.v1.0.json b/resource_pack/animations/snow_golem.animations.v1.0.json new file mode 100644 index 0000000..36e7206 --- /dev/null +++ b/resource_pack/animations/snow_golem.animations.v1.0.json @@ -0,0 +1,26 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.snowgolem.arms" : { + "loop" : true, + "bones" : { + "arm1" : { + "position" : [ "(math.cos(query.target_y_rotation * 0.25) * 5) - this", 0.0, "(math.sin(query.target_y_rotation * 0.25) * -5) - this" ], + "rotation" : [ 0.0, "(query.target_y_rotation * 0.25)", 57.3 ] + }, + "arm2" : { + "position" : [ "(math.cos(query.target_y_rotation * 0.25) * -5) - this", 0.0, "(math.sin(query.target_y_rotation * 0.25) * 5) - this" ], + "rotation" : [ 0.0, "((query.target_y_rotation * 0.25) + 180) - this", -57.3 ] + } + } + }, + "animation.snowgolem.move" : { + "loop" : true, + "bones" : { + "piece1" : { + "rotation" : [ 0.0, "query.target_y_rotation * 0.25", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/spider.animation.json b/resource_pack/animations/spider.animation.json new file mode 100644 index 0000000..4f80caa --- /dev/null +++ b/resource_pack/animations/spider.animation.json @@ -0,0 +1,72 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.spider.default_leg_pose" : { + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ 0.0, "45.0 - this", "-45.0 - this" ] + }, + "leg1" : { + "rotation" : [ 0.0, "-45.0 - this", "45.0 - this" ] + }, + "leg2" : { + "rotation" : [ 0.0, "22.5 - this", "-33.3 - this" ] + }, + "leg3" : { + "rotation" : [ 0.0, "-22.5 - this", "33.3 - this" ] + }, + "leg4" : { + "rotation" : [ 0.0, "-22.5 - this", "-33.3 - this" ] + }, + "leg5" : { + "rotation" : [ 0.0, "22.5 - this", "33.3 - this" ] + }, + "leg6" : { + "rotation" : [ 0.0, "-45.0 - this", "-45.0 - this" ] + }, + "leg7" : { + "rotation" : [ 0.0, "45.0 - this", "45.0 - this" ] + } + } + }, + "animation.spider.look_at_target" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.spider.walk" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ 0.0, "-math.abs(math.cos(query.anim_time * 76.34 + 90 * 0) * 22.92)", "math.abs(math.sin(query.anim_time * 38.17 + 90 * 0) * 22.92)" ] + }, + "leg1" : { + "rotation" : [ 0.0, "math.abs(math.cos(query.anim_time * 76.34 + 90 * 0) * 22.92)", "-math.abs(math.sin(query.anim_time * 38.17 + 90 * 0) * 22.92)" ] + }, + "leg2" : { + "rotation" : [ 0.0, "-math.abs(math.cos(query.anim_time * 76.34 + 90 * 1) * 22.92)", "math.abs(math.sin(query.anim_time * 38.17 + 90 * 1) * 22.92)" ] + }, + "leg3" : { + "rotation" : [ 0.0, "math.abs(math.cos(query.anim_time * 76.34 + 90 * 1) * 22.92)", "-math.abs(math.sin(query.anim_time * 38.17 + 90 * 1) * 22.92)" ] + }, + "leg4" : { + "rotation" : [ 0.0, "-math.abs(math.cos(query.anim_time * 76.34 + 90 * 2) * 22.92)", "math.abs(math.sin(query.anim_time * 38.17 + 90 * 2) * 22.92)" ] + }, + "leg5" : { + "rotation" : [ 0.0, "math.abs(math.cos(query.anim_time * 76.34 + 90 * 2) * 22.92)", "-math.abs(math.sin(query.anim_time * 38.17 + 90 * 2) * 22.92)" ] + }, + "leg6" : { + "rotation" : [ 0.0, "-math.abs(math.cos(query.anim_time * 76.34 + 90 * 3) * 22.92)", "math.abs(math.sin(query.anim_time * 38.17 + 90 * 3) * 22.92)" ] + }, + "leg7" : { + "rotation" : [ 0.0, "math.abs(math.cos(query.anim_time * 76.34 + 90 * 3) * 22.92)", "-math.abs(math.sin(query.anim_time * 38.17 + 90 * 3) * 22.92)" ] + } + } + } + } +} diff --git a/resource_pack/animations/spyglass.animation.json b/resource_pack/animations/spyglass.animation.json new file mode 100644 index 0000000..fa1f5f7 --- /dev/null +++ b/resource_pack/animations/spyglass.animation.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.spyglass.holding": { + "loop": true, + "bones": { + "spyglass": { + "position": [ "c.is_first_person ? 2.0 : 1.0", "c.is_first_person ? 25.0 : 22.0", "c.is_first_person ? -1.0 : 0.0" ], + "rotation": [ "c.is_first_person ? 58.0 : 0.0", "c.is_first_person ? -48.0 : -90.0", "c.is_first_person ? -44.0 : 0.0" ] + } + } + }, + "animation.spyglass.scoping": { + "loop": true, + "bones": { + "spyglass": { + "position": [ -1.0, 27.0, -3.0 ], + "rotation": [ 0.0, -90.0, 0.0 ] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/squid.animation.json b/resource_pack/animations/squid.animation.json new file mode 100644 index 0000000..35f3109 --- /dev/null +++ b/resource_pack/animations/squid.animation.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.squid.move": { + "anim_time_update": "query.modified_distance_moved", + "loop": true, + "bones": { + "body": { "position": [ 0.0, "query.is_baby ? 3.2 : 6.4", 0.0 ] }, + "tentacle1": { "rotation": [ "variable.squid.tentacle_angle - this", "90.0 - this", 0.0 ] }, + "tentacle2": { "rotation": [ "variable.squid.tentacle_angle - this", "45.0 - this", 0.0 ] }, + "tentacle3": { "rotation": [ "variable.squid.tentacle_angle - this", "0.0 - this", 0.0 ] }, + "tentacle4": { "rotation": [ "variable.squid.tentacle_angle - this", "-45.0 - this", 0.0 ] }, + "tentacle5": { "rotation": [ "variable.squid.tentacle_angle - this", "-90.0 - this", 0.0 ] }, + "tentacle6": { "rotation": [ "variable.squid.tentacle_angle - this", "-135.0 - this", 0.0 ] }, + "tentacle7": { "rotation": [ "variable.squid.tentacle_angle - this", "-180.0 - this", 0.0 ] }, + "tentacle8": { "rotation": [ "variable.squid.tentacle_angle - this", "-225.0 - this", 0.0 ] } + } + }, + "animation.squid.rotate": { + "anim_time_update": "query.modified_distance_moved", + "loop": true, + "bones": { + "body": { + "rotation": [ + { "y": "180.0 - this" }, + { "x": "query.body_x_rotation" }, + { "y": "variable.squid.swim_rotation" } + ] + } + } + } + } +} diff --git a/resource_pack/animations/strider.animation.json b/resource_pack/animations/strider.animation.json new file mode 100644 index 0000000..73fd005 --- /dev/null +++ b/resource_pack/animations/strider.animation.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.strider.look_at_target.default" : { + "loop" : true, + "bones" : { + "body" : { + "relative_to" : { + "rotation" : "entity" + }, + "rotation" : [ "query.target_x_rotation", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.strider.walk": { + "loop": true, + "bones": { + "right_leg": { + "rotation": ["Math.sin(query.modified_distance_moved * variable.speed * 0.5 + 180) * 114.592 * variable.animation_speed", 0, "10 * Math.cos(query.modified_distance_moved * variable.speed * 0.5f + 180) * variable.animation_speed"], + "position": [0, "-2 * Math.sin(query.modified_distance_moved * variable.speed * 0.5) * 2 * variable.animation_speed", 0] + }, + "left_leg": { + "rotation": ["Math.sin(query.modified_distance_moved * variable.speed * 0.5) * 114.592 * variable.animation_speed", 0, "10 * Math.cos(query.modified_distance_moved * variable.speed * 0.5f) * variable.animation_speed"], + "position": [0, "-2 * Math.sin(query.modified_distance_moved * variable.speed * 0.5 + 180) * 2 * variable.animation_speed", 0] + }, + "body": { + "rotation": [0, 0, "5.72958 * Math.sin(query.modified_distance_moved * variable.speed) * 4 * variable.animation_speed"], + "position": [0, "-2 * Math.cos(query.modified_distance_moved * variable.speed) * 2 * variable.animation_speed", 0] + }, + "bristle1": { + "rotation": [0, 0, "variable.bristle_flow * 74.4845"] + }, + "bristle2": { + "rotation": [0, 0, "variable.bristle_flow * 68.7549"] + }, + "bristle3": { + "rotation": [0, 0, "variable.bristle_flow * 34.3775"] + }, + "bristle3": { + "rotation": [0, 0, "variable.bristle_flow * 34.3775"] + }, + "bristle4": { + "rotation": [0, 0, "variable.bristle_flow * 68.7549"] + }, + "bristle5": { + "rotation": [0, 0, "variable.bristle_flow * 74.4845"] + } + } + }, + "animation.strider.bristle_flow": { + "loop": true, + "bones": { + "bristle0": { + "rotation": [0, 0, "2.864789 * variable.bristle_range_mod * Math.sin(query.life_time * 20 * variable.bristle_speed_mod * -22.9183)"] + }, + "bristle1": { + "rotation": [0, 0, "5.72958 * variable.bristle_range_mod * Math.sin(query.life_time * 20 * variable.bristle_speed_mod * 11.4592)"] + }, + "bristle2": { + "rotation": [0, 0, "5.72958 * variable.bristle_range_mod * Math.sin(query.life_time * 20 * variable.bristle_speed_mod * 22.9183)"] + }, + "bristle3": { + "rotation": [0, 0, "5.72958 * variable.bristle_range_mod * Math.sin(query.life_time * 20 * variable.bristle_speed_mod * 22.9183)"] + }, + "bristle4": { + "rotation": [0, 0, "5.72958 * variable.bristle_range_mod * Math.sin(query.life_time * 20 * variable.bristle_speed_mod * 11.4592)"] + }, + "bristle5": { + "rotation": [0, 0, "2.864789 * variable.bristle_range_mod * Math.sin(query.life_time * 20 * variable.bristle_speed_mod * -22.9183)"] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/tadpole.animation.json b/resource_pack/animations/tadpole.animation.json new file mode 100644 index 0000000..9c7606e --- /dev/null +++ b/resource_pack/animations/tadpole.animation.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.tadpole.swim": { + "loop": true, + "animation_length": 2, + "bones": { + "tail": { + "rotation": { + "0.0": [0, -22.5, 0], + "1.0": [0, 22.5, 0], + "2.0": [0, -22.5, 0] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/animations/trident.animation.json b/resource_pack/animations/trident.animation.json new file mode 100644 index 0000000..e0559ab --- /dev/null +++ b/resource_pack/animations/trident.animation.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.10.0", + "animations": { + "animation.trident.wield_first_person": { + "loop": true, + "bones": { + "pole": { + "position": [ -7.0, -3.0, -2.0 ], + "rotation": [ 152.0, -9.0, 25.0 ] + } + } + }, + "animation.trident.wield_first_person_raise": { + "loop": true, + "bones": { + "pole": { + "position": [ + "6.0 + (variable.charge_amount <= 0.25 ? math.lerp(0.0, -6.5, variable.charge_amount * 4.0) : -6.5) + (variable.charge_amount > 0.25 ? math.lerp(0.0, -4.0, (variable.charge_amount - 0.25) * 1.33) : 0.0)", + "-3.0 + (variable.charge_amount <= 0.25 ? math.lerp(0.0, -3.0, variable.charge_amount * 4.0) : -3.0) + (variable.charge_amount > 0.25 ? math.lerp(0.0, 3.0, (variable.charge_amount - 0.25) * 1.33) : 0.0)", + "8.0 + (variable.charge_amount <= 0.25 ? math.lerp(0.0, -16.5, variable.charge_amount * 4.0) : -16.5) + (variable.charge_amount > 0.25 ? math.lerp(0.0, 0.0, (variable.charge_amount - 0.25) * 1.33) : 0.0)" + ], + "rotation": [ 30.0, -20.0, -65.0 ] + } + } + }, + "animation.trident.wield_first_person_raise_shake": { + "loop": true, + "bones": { + "pole": { + "position": [ 0.0, "variable.charge_amount >= 1.0 ? math.sin(q.life_time * 1000.0 * 1.3) * 0.1 - math.sin(q.life_time * 45.0) * 0.5 : 0.0", 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ] + } + } + }, + "animation.trident.wield_first_person_riptide": { + "loop": true, + "override_previous_animation": true, + "bones": { + "pole": { + "position": [ -2.0, -7.0, -10.0 ], + "rotation": [ 180.0, 60.0, -36.0 ] + } + } + }, + "animation.trident.wield_third_person": { + "loop": true, + "bones": { + "pole": { + "position": [ 1.5, -2.5, -10.5 ], + "rotation": [ 97.0, -1.5, -49.0 ] + } + } + }, + "animation.trident.wield_third_person_raise": { + "loop": true, + "bones": { + "pole": { + "position": [ -0.7, 0, 17.5 ], + "rotation": [ -7, 180.0, -40.0 ] + } + } + } +} +} \ No newline at end of file diff --git a/resource_pack/animations/tripod_camera.animation.json b/resource_pack/animations/tripod_camera.animation.json new file mode 100644 index 0000000..42209dd --- /dev/null +++ b/resource_pack/animations/tripod_camera.animation.json @@ -0,0 +1,25 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.tripod_camera.neutral" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "-this", 0.0 ] + }, + "leg0" : { + "rotation" : [ "18 - this", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "-(18 + this)", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ 0.0, 0.0, "18 - this" ] + }, + "leg3" : { + "rotation" : [ 0.0, 0.0, "-(18 + this)" ] + } + } + } + } +} diff --git a/resource_pack/animations/tropicalfish.animation.json b/resource_pack/animations/tropicalfish.animation.json new file mode 100644 index 0000000..a73b2c9 --- /dev/null +++ b/resource_pack/animations/tropicalfish.animation.json @@ -0,0 +1,24 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.tropicalfish.flop" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * 2.0", "variable.zrot" ] + }, + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 45.0) * -25.75", 0.0 ] + } + } + }, + "animation.tropicalfish.swim" : { + "loop" : true, + "bones" : { + "tailfin" : { + "rotation" : [ 0.0, "math.cos(variable.animationamountblend * 30.0) * -25.75", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/turtle.animation.json b/resource_pack/animations/turtle.animation.json new file mode 100644 index 0000000..b0cbfbf --- /dev/null +++ b/resource_pack/animations/turtle.animation.json @@ -0,0 +1,55 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.turtle.general" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "query.is_pregnant ? 1.0 : 0.0", 0.0 ], + "rotation" : [ "-this", 0.0, 0.0 ] + }, + "eggbelly" : { + "position" : [ 0.0, -0.08, 0.0 ], + "rotation" : [ "-this", 0.0, 0.0 ], + "scale" : "query.is_pregnant ? 1.0 : 0.0" + } + } + }, + "animation.turtle.ground_move" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "-this", "math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3 + 180) * variable.backlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ] + }, + "leg1" : { + "rotation" : [ "-this", "math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3) * variable.backlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ] + }, + "leg2" : { + "rotation" : [ "-this", "query.is_laying_egg ? math.cos(query.life_time * 1146.0 + 180) * 90.0 : math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3 + 180) * variable.frontlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ] + }, + "leg3" : { + "rotation" : [ "-this", "query.is_laying_egg ? math.cos(query.life_time * 1146.0) * 90.0 : math.clamp(math.cos(query.anim_time * variable.timemultiplier * variable.legspeedmultiplier * 57.3) * variable.frontlegmultiplier * query.modified_move_speed * 57.3, -90.0, 90.0) - this", "-this" ] + } + } + }, + "animation.turtle.move" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "math.clamp(math.cos(query.anim_time * 22.92) * query.modified_move_speed * 28.65, -90.0, 90.0) - this", "-this", "-this" ] + }, + "leg1" : { + "rotation" : [ "math.clamp(math.cos(query.anim_time * 22.92 + 180) * query.modified_move_speed * 28.65, -90.0, 90.0) - this", "-this", "-this" ] + }, + "leg2" : { + "rotation" : [ "-this", "-this", "math.clamp(math.cos(query.anim_time * 22.92 + 180) * query.modified_move_speed * 28.65, -90.0, 90.0) - this" ] + }, + "leg3" : { + "rotation" : [ "-this", "-this", "math.clamp(math.cos(query.anim_time * 22.92) * query.modified_move_speed * 28.65, -90.0, 90.0) - this" ] + } + } + } + } +} diff --git a/resource_pack/animations/vex.animation.json b/resource_pack/animations/vex.animation.json new file mode 100644 index 0000000..9cbaf27 --- /dev/null +++ b/resource_pack/animations/vex.animation.json @@ -0,0 +1,56 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.vex.idle" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : { + "0.0": [ 0.0, 0.0, -32.34 ], + "0.75": [ 0.0, 0.0, -45 ], + "2.0": [ 0.0, 0.0, -32.34 ] + } + }, + "rightarm" : { + "rotation" : { + "0.0": [ 0.0, 0.0, 32.34 ], + "0.75": [ 0.0, 0.0, 45 ], + "2.0": [ 0.0, 0.0, 32.34 ] + } + }, + "leftwing" : { + "rotation" : [ "27.0 - this", "-(15.0 + math.cos(query.life_time * 916.8) * 9.0) - this", "-45.0 - this" ] + }, + "rightwing" : { + "rotation" : [ "27.0 - this", "15.0 + math.cos(query.life_time * 916.8) * 9.0 - this", "45.0 - this" ] + }, + "rightItem" : { + "scale": 0.7 + }, + "leftItem" : { + "scale": 0.7 + } + } + }, + "animation.vex.charge" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "rightarm" : { + "rotation" : [ + "variable.empty_handed ? -70.0 - this : (query.is_item_equipped(0) ? 210.0 - this : this)", + "variable.empty_handed ? this : (query.is_item_equipped(0) ? 15.0 - this : this)", + "variable.empty_handed ? this : (query.is_item_equipped(0) ? -25.0 - 32.34 - this : this)" + ] + }, + "leftarm" : { + "rotation" : [ + "variable.empty_handed ? -70.0 - this : (query.is_item_equipped(1) ? 210.0 - this : this)", + "variable.empty_handed ? this : (query.is_item_equipped(1) ? -15.0 - this : this)", + "variable.empty_handed ? this : (query.is_item_equipped(1) ? 25.0 + 32.34 - this : this)" + ] + } + } + } + } +} diff --git a/resource_pack/animations/villager.animation.json b/resource_pack/animations/villager.animation.json new file mode 100644 index 0000000..da6f4a1 --- /dev/null +++ b/resource_pack/animations/villager.animation.json @@ -0,0 +1,60 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.villager.baby_transform" : { + "loop" : true, + "bones" : { + "head" : { + "scale" : 1.5 + } + } + }, + "animation.villager.general" : { + "loop" : true, + "bones" : { + "arms" : { + "position" : [ 0.0, -1.0, -1.0 ], + "rotation" : [ "-42.97 - this", 0.0, 0.0 ] + } + } + }, + "animation.villager.general.v1.0" : { + "loop" : true, + "bones" : { + "arms" : { + "position" : [ 0.0, "-3.0 - this", "-1.0 - this" ], + "rotation" : [ "-42.97 - this", 0.0, 0.0 ] + } + } + }, + "animation.villager.get_in_bed" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, 1.0, -15.0 ], + "rotation" : [ -90.0, 0.0, 0.0 ] + } + } + }, + "animation.villager.move" : { + "anim_time_update" : "query.modified_distance_moved", + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "(math.cos(query.anim_time * 38.17) * 40.0) - this", "-this", 0.0 ] + }, + "leg1" : { + "rotation" : [ "(math.cos(query.anim_time * 38.17 + 180) * 40.0) - this", "-this", 0.0 ] + } + } + }, + "animation.villager.raise_arms" : { + "loop" : true, + "bones" : { + "arms" : { + "rotation" : [ "variable.raise_arms * -15.0", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/vindicator.animation.json b/resource_pack/animations/vindicator.animation.json new file mode 100644 index 0000000..dbde712 --- /dev/null +++ b/resource_pack/animations/vindicator.animation.json @@ -0,0 +1,78 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.vindicator.attack" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "query.is_riding ? 0.0 : ((math.cos(query.life_time * 20.0 * 10.89) * 28.65) + (math.sin(variable.attack_time * 180.0) * 68.76 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92))", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "(-108 + math.cos(query.life_time * 20.0 * 3.84) * 2.87) + (math.sin(variable.attack_time * 180.0) * 126.05 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92)", 0.0, 0.0 ] + } + } + }, + "animation.vindicator.hand_attack" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "(-108 + math.cos(query.life_time * 20.0 * 3.84) * 2.87) + (math.sin(variable.attack_time * 180.0) * 126.05 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92)", 0.0, 0.0 ] + }, + "rightarm" : { + "rotation" : [ "(-108 + math.cos(query.life_time * 20.0 * 3.84) * 2.87) + (math.sin(variable.attack_time * 180.0) * 126.05 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0)) * 22.92)", 0.0, 0.0 ] + } + } + }, + "animation.vindicator.base" : { + "loop" : true, + "bones" : { + "arms" : { + "position" : [ 0.0, "-3.0 - this", "-1.0 - this" ], + "rotation" : [ "-42.97 - this", 0.0, 0.0 ] + }, + "leftarm" : { + "rotation" : [ "math.cos(query.life_time * 20.0 * 3.84) * 2.87", -9.0, "-1 * (math.cos(query.life_time * 20.0 * 5.16) * 2.87 + 2.87)" ] + }, + "rightarm" : { + "rotation" : [ "math.cos(query.life_time * 20.0 * 3.84) * 2.87", 9.0, "math.cos(query.life_time * 20.0 * 5.16) * 2.87 + 2.87" ] + }, + "rightItem" : { + "scale": "query.is_angry ? 1.0 : 0.0" + }, + "leftItem" : { + "scale": "query.is_angry ? 1.0 : 0.0" + } + } + }, + "animation.vindicator.riding.arms" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ -36.0, 0.0, 0.0 ] + } + } + }, + "animation.vindicator.riding.legs" : { + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "-72.0 - this", "18.0 - this", "-this" ] + }, + "leg1" : { + "rotation" : [ "-72.0 - this", "-18.0 - this", "-this" ] + } + } + }, + "animation.vindicator.walk" : { + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "(math.cos(query.modified_distance_moved * 38.17) * 80.21) * query.modified_move_speed * 0.5", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "(math.cos(query.modified_distance_moved * 38.17 + 180) * 80.21) * query.modified_move_speed * 0.5", 0.0, 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/warden.animation.json b/resource_pack/animations/warden.animation.json new file mode 100644 index 0000000..ae68865 --- /dev/null +++ b/resource_pack/animations/warden.animation.json @@ -0,0 +1,2274 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.warden.look_at_target.default": { + "loop": true, + "bones": { + "head": { + "relative_to": { + "rotation": "entity" + }, + "rotation": ["query.target_x_rotation", "query.target_y_rotation", 0] + } + } + }, + "animation.warden.shiver": { + "loop": true, + "bones": { + "left_tendril": { + "rotation": ["variable.left_tendril_x_rot", 0, 0] + }, + "right_tendril": { + "rotation": ["variable.right_tendril_x_rot", 0, 0] + } + }, + "sound_effects": { + "0.0": { + "effect": "clicking" + } + } + }, + "animation.warden.move": { + "loop": true, + "bones": { + "head": { + "rotation": ["variable.head_x_rot", 0, "variable.head_z_rot"] + }, + "body": { + "rotation": ["variable.body_x_rot", 0, "variable.body_z_rot"] + }, + "left_leg": { + "rotation": ["variable.left_leg_x_rot", 0, 0] + }, + "right_leg": { + "rotation": ["variable.right_leg_x_rot", 0, 0] + }, + "left_arm": { + "rotation": ["variable.left_arm_x_rot", 0, 0] + }, + "right_arm": { + "rotation": ["variable.right_arm_x_rot", 0, 0] + } + } + }, + "animation.warden.emerge": { + "animation_length": 6.64, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, 0, -22.5], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [0, 0, -7.5], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [0, 0, 10], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [0, 0, 10], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [0, 0, 10], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [0, 0, 10], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [25, 0, -7.5], + "lerp_mode": "catmullrom" + }, + "3.92": { + "post": [35, 0, -7.5], + "lerp_mode": "catmullrom" + }, + "4.08": { + "post": [25, 0, -7.5], + "lerp_mode": "catmullrom" + }, + "4.44": { + "post": [47.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.56": { + "post": [47.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [47.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [70, 0, 2.5], + "lerp_mode": "catmullrom" + }, + "5.8": { + "post": [70, 0, 2.5], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, -63, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, -56, 0], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "3.16": { + "post": [0, -27, 0], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [0, -14, 0], + "lerp_mode": "catmullrom" + }, + "3.92": { + "post": [0, -11, 0], + "lerp_mode": "catmullrom" + }, + "4.08": { + "post": [0, -14, 0], + "lerp_mode": "catmullrom" + }, + "4.44": { + "post": [0, -6, -3], + "lerp_mode": "catmullrom" + }, + "4.56": { + "post": [0, -4, -3], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [0, -6, -3], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [0, -3, -4], + "lerp_mode": "catmullrom" + }, + "5.8": { + "post": [0, -3, -4], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.92": { + "post": [0.74, 0, -40.38], + "lerp_mode": "catmullrom" + }, + "1.16": { + "post": [-67.5, 0, -2.5], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [-67.5, 0, -2.5], + "lerp_mode": "catmullrom" + }, + "1.32": { + "post": [-47.5, 0, -2.5], + "lerp_mode": "catmullrom" + }, + "1.4": { + "post": [-67.5, 0, -2.5], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [-67.5, 0, 15], + "lerp_mode": "catmullrom" + }, + "1.76": { + "post": [-67.5, 0, -5], + "lerp_mode": "catmullrom" + }, + "1.84": { + "post": [-52.5, 0, -5], + "lerp_mode": "catmullrom" + }, + "1.92": { + "post": [-67.5, 0, -5], + "lerp_mode": "catmullrom" + }, + "2.64": { + "post": [-17.5, 0, -10], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [70, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "4.04": { + "post": [70, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "4.12": { + "post": [80, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "4.24": { + "post": [70, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [77.5, 0, -2.5], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [-8, -11, 0], + "lerp_mode": "catmullrom" + }, + "0.92": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [0, 0.47, -0.95], + "lerp_mode": "catmullrom" + }, + "1.32": { + "post": [0, 0.47, -0.95], + "lerp_mode": "catmullrom" + }, + "1.4": { + "post": [0, 0.47, -0.95], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [0, 1, -2], + "lerp_mode": "catmullrom" + }, + "1.76": { + "post": [0, 1, -2], + "lerp_mode": "catmullrom" + }, + "1.84": { + "post": [0, 1, -2], + "lerp_mode": "catmullrom" + }, + "1.92": { + "post": [0, 1, -2], + "lerp_mode": "catmullrom" + }, + "2.64": { + "post": [0, -2, -2], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [0, -4, 1], + "lerp_mode": "catmullrom" + }, + "4.04": { + "post": [0, -1, 1], + "lerp_mode": "catmullrom" + }, + "4.12": { + "post": [0, -1, 1], + "lerp_mode": "catmullrom" + }, + "4.24": { + "post": [0, -1, 1], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [0, -1, 1], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [-152.5, 2.5, 7.5], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [-180, 12.5, -10], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [-90, 12.5, -10], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [-90, 12.5, -10], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [-90, 12.5, -10], + "lerp_mode": "catmullrom" + }, + "3.08": { + "post": [-95, 12.5, -10], + "lerp_mode": "catmullrom" + }, + "3.24": { + "post": [-83.93, 3.93, 5.71], + "lerp_mode": "catmullrom" + }, + "3.36": { + "post": [-80, 7.5, 17.5], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [-67.5, 2.5, 0], + "lerp_mode": "catmullrom" + }, + "4.08": { + "post": [-67.5, 2.5, 0], + "lerp_mode": "catmullrom" + }, + "4.44": { + "post": [-55, 2.5, 0], + "lerp_mode": "catmullrom" + }, + "4.56": { + "post": [-60, 2.5, 0], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [-55, 2.5, 0], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [-67.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.56": { + "post": [-50.45, 0, 2.69], + "lerp_mode": "catmullrom" + }, + "6.08": { + "post": [-62.72, 0, 4.3], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [0, -21, 9], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [2, -2, 0], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [2, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [2, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [2, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.08": { + "post": [2, -2, 0], + "lerp_mode": "catmullrom" + }, + "3.24": { + "post": [2, 2.71, 3.86], + "lerp_mode": "catmullrom" + }, + "3.36": { + "post": [2, 1, 5], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [2, 3, 3], + "lerp_mode": "catmullrom" + }, + "4.08": { + "post": [2, 3, 3], + "lerp_mode": "catmullrom" + }, + "4.44": { + "post": [2.67, 4, 0], + "lerp_mode": "catmullrom" + }, + "4.56": { + "post": [2.67, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [2.67, 4, 0], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [0.67, 3, 4], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.12": { + "post": [-167.5, -17.5, -7.5], + "lerp_mode": "catmullrom" + }, + "0.6": { + "post": [-167.5, -17.5, -7.5], + "lerp_mode": "catmullrom" + }, + "0.88": { + "post": [-175, -17.5, 15], + "lerp_mode": "catmullrom" + }, + "1.16": { + "post": [-190, -17.5, 5], + "lerp_mode": "catmullrom" + }, + "1.28": { + "post": [-90, -5, 5], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [-90, -17.5, -12.5], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [-90, -17.5, -12.5], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [-90, -17.5, -12.5], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [-90, -17.5, -12.5], + "lerp_mode": "catmullrom" + }, + "3.04": { + "post": [-81.29, -10.64, -14.21], + "lerp_mode": "catmullrom" + }, + "3.16": { + "post": [-83.5, -5.5, -15.5], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [-62.5, -7.5, 5], + "lerp_mode": "catmullrom" + }, + "3.92": { + "post": [-58.75, -3.75, 5], + "lerp_mode": "catmullrom" + }, + "4.08": { + "post": [-55, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.44": { + "post": [-52.5, 0, 5], + "lerp_mode": "catmullrom" + }, + "4.56": { + "post": [-50, 0, 5], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [-52.5, 0, 5], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [-72.5, -2.5, 5], + "lerp_mode": "catmullrom" + }, + "5.56": { + "post": [-57.5, -4.54, 2.99], + "lerp_mode": "catmullrom" + }, + "6.08": { + "post": [-70.99, -5.77, 1.78], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.12": { + "post": [0, -8, 0], + "lerp_mode": "catmullrom" + }, + "0.6": { + "post": [0, -8, 0], + "lerp_mode": "catmullrom" + }, + "0.88": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [-2, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [-4, 3, 0], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [-4, 3, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [-4, 3, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [-4, 3, 0], + "lerp_mode": "catmullrom" + }, + "3.04": { + "post": [-3.23, 5.7, 4.97], + "lerp_mode": "catmullrom" + }, + "3.16": { + "post": [-1.49, 2.22, 5.25], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [-1.14, 1.71, 1.86], + "lerp_mode": "catmullrom" + }, + "3.92": { + "post": [-1.14, 1.21, 3.86], + "lerp_mode": "catmullrom" + }, + "4.08": { + "post": [-1.14, 2.71, 4.86], + "lerp_mode": "catmullrom" + }, + "4.44": { + "post": [-1, 1, 3], + "lerp_mode": "catmullrom" + }, + "4.56": { + "post": [0, 1, 1], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [0, 1, 3], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [-2, 0, 4], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_leg": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.36": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.32": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.48": { + "post": [55, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.6": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.8": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, -63, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, -56, 0], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "3.36": { + "post": [0, -22, 0], + "lerp_mode": "catmullrom" + }, + "3.76": { + "post": [0, -12.28, 2.48], + "lerp_mode": "catmullrom" + }, + "3.92": { + "post": [0, -9.28, 2.48], + "lerp_mode": "catmullrom" + }, + "4.08": { + "post": [0, -12.28, 2.48], + "lerp_mode": "catmullrom" + }, + "4.32": { + "post": [0, -4.14, 4.14], + "lerp_mode": "catmullrom" + }, + "4.48": { + "post": [0, -0.57, -8.43], + "lerp_mode": "catmullrom" + }, + "4.6": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.8": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_leg": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.36": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.84": { + "post": [20, 0, -17.5], + "lerp_mode": "catmullrom" + }, + "4.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [20, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.84": { + "post": [10, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.8": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, -63, 0], + "lerp_mode": "catmullrom" + }, + "0.52": { + "post": [0, -56, 0], + "lerp_mode": "catmullrom" + }, + "1.2": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "1.68": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [0, -32, 0], + "lerp_mode": "catmullrom" + }, + "3.36": { + "post": [0, -22, 0], + "lerp_mode": "catmullrom" + }, + "3.84": { + "post": [-4, 2, -7], + "lerp_mode": "catmullrom" + }, + "4.0": { + "post": [-4, 0, -5], + "lerp_mode": "catmullrom" + }, + "4.68": { + "post": [-4, 0, -9], + "lerp_mode": "catmullrom" + }, + "4.84": { + "post": [-2, 2, -3.5], + "lerp_mode": "catmullrom" + }, + "5.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "5.8": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "6.64": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + }, + "particle_effects": { + "0.0": { + "effect": "digging", + "pre_effect_script": "variable.dig_particle_texture_coordinate = query.surface_particle_texture_coordinate; variable.dig_particle_texture_size = query.surface_particle_texture_size; variable.dig_particle_color = query.surface_particle_color;" + } + }, + "sound_effects": { + "0.0": { + "effect": "emerge" + } + } + }, + "animation.warden.dig": { + "loop": "hold_on_last_frame", + "animation_length": 5, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [4.13441, 0.94736, 1.2694], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [50, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [54.45407, -13.53935, -18.14183], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [59.46442, -10.8885, 35.7954], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [82.28261, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [53.23606, 10.04715, -29.72932], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [-17.71739, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5417": { + "post": [112.28261, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.6667": { + "post": [116.06889, 5.11581, -24.50117], + "lerp_mode": "catmullrom" + }, + "2.8333": { + "post": [121.56244, -4.17248, 19.57737], + "lerp_mode": "catmullrom" + }, + "3.0417": { + "post": [138.56889, 5.11581, -24.50117], + "lerp_mode": "catmullrom" + }, + "3.25": { + "post": [144.06244, -4.17248, 19.57737], + "lerp_mode": "catmullrom" + }, + "3.375": { + "post": [147.28261, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.625": { + "post": [147.28261, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.875": { + "post": [134.36221, 8.81113, -8.90172], + "lerp_mode": "catmullrom" + }, + "4.0417": { + "post": [132.05966, -8.35927, 9.70506], + "lerp_mode": "catmullrom" + }, + "4.25": { + "post": [134.36221, 8.81113, -8.90172], + "lerp_mode": "catmullrom" + }, + "4.5": [147.5, 0, 0] + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, -16.48454, -6.5784], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [0, -16.48454, -6.5784], + "lerp_mode": "catmullrom" + }, + "1.0417": { + "post": [0, -16.97, -7.11], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [0, -13.97, -7.11], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [0, -11.48454, -0.5784], + "lerp_mode": "catmullrom" + }, + "2.5417": { + "post": [0, -16.48454, -6.5784], + "lerp_mode": "catmullrom" + }, + "2.6667": { + "post": [0, -20.27, -5.42], + "lerp_mode": "catmullrom" + }, + "3.375": { + "post": [0, -21.48454, -5.5784], + "lerp_mode": "catmullrom" + }, + "4.0417": { + "post": [0, -22.48454, -5.5784], + "lerp_mode": "catmullrom" + }, + "4.5": [0, -40, -8] + } + }, + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.6667": { + "post": [12.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.2083": { + "post": [12.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [45, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.375": { + "post": [-22.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5417": { + "post": [67.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.375": { + "post": [67.5, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.375": [0, 0, 0] + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [-101.8036, -21.29587, 30.61478], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [-101.8036, -21.29587, 30.61478], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [48.7585, -17.61941, 9.9865], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": [48.7585, -17.61941, 9.9865], + "lerp_mode": "catmullrom" + }, + "1.4583": { + "post": [-101.8036, -21.29587, 30.61478], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [-89.04994, -4.19657, -1.47845], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [-158.30728, 3.7152, -1.52352], + "lerp_mode": "catmullrom" + }, + "2.5417": { + "post": [-89.04994, -4.19657, -1.47845], + "lerp_mode": "catmullrom" + }, + "4.375": { + "post": [-120, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [2.22, 0, 0.86], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [3.12, 0, 4.29], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [1, 0, 4], + "lerp_mode": "catmullrom" + }, + "4.375": { + "post": [0, 0, 4], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.2917": { + "post": [-63.89288, -0.52011, 2.09491], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [-63.89288, -0.52011, 2.09491], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [-62.87857, 15.15061, 9.97445], + "lerp_mode": "catmullrom" + }, + "0.9167": { + "post": [-86.93642, 17.45026, 4.05284], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": [-86.93642, 17.45026, 4.05284], + "lerp_mode": "catmullrom" + }, + "1.4583": { + "post": [-86.93642, 17.45026, 4.05284], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [63.0984, 8.83573, -8.71284], + "lerp_mode": "catmullrom" + }, + "1.8333": { + "post": [35.5984, 8.83573, -8.71284], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [-153.27474, -0.02953, 3.5235], + "lerp_mode": "catmullrom" + }, + "2.5417": { + "post": [-87.07754, -0.02625, 3.132], + "lerp_mode": "catmullrom" + }, + "4.375": [-120, 0, 0] + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [-0.28, 5, 10], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [-1.51, 4.35, 4.33], + "lerp_mode": "catmullrom" + }, + "0.9167": { + "post": [-0.6, 3.61, 4.63], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": [-0.6, 3.61, 0.63], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [-2.85, -0.1, 3.33], + "lerp_mode": "catmullrom" + }, + "2.2083": { + "post": [-1, 0, 4], + "lerp_mode": "catmullrom" + }, + "4.375": [0, 0, 4] + } + }, + "right_leg": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [113.27, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [113.27, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.3333": { + "post": [113.27, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.5833": { + "post": [182.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.8333": { + "post": [120, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.0833": { + "post": [182.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.2917": { + "post": [120, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.5": [90, 0, 0] + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, -13.98, -2.37], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [0, -13.98, -2.37], + "lerp_mode": "catmullrom" + }, + "3.3333": { + "post": [0, -13.98, -2.37], + "lerp_mode": "catmullrom" + }, + "3.5833": { + "post": [0, -7, -3], + "lerp_mode": "catmullrom" + }, + "3.8333": { + "post": [0, -9, -3], + "lerp_mode": "catmullrom" + }, + "4.0833": { + "post": [0, -16.71, -3.69], + "lerp_mode": "catmullrom" + }, + "4.2917": [0, -28, -5] + } + }, + "left_leg": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [114.98, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [114.98, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.3333": { + "post": [114.98, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.5833": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.8333": { + "post": [172.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.0833": { + "post": [90, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.2917": { + "post": [197.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.5": [90, 0, 0] + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.5": { + "post": [0, -14.01, -2.35], + "lerp_mode": "catmullrom" + }, + "0.7083": { + "post": [0, -14.01, -2.35], + "lerp_mode": "catmullrom" + }, + "3.3333": { + "post": [0, -14.01, -2.35], + "lerp_mode": "catmullrom" + }, + "3.5833": { + "post": [0, -5, -4], + "lerp_mode": "catmullrom" + }, + "3.8333": { + "post": [0, -7, -4], + "lerp_mode": "catmullrom" + }, + "4.0833": { + "post": [0, -15.5, -3.76], + "lerp_mode": "catmullrom" + }, + "4.2917": [0, -28, -5] + } + } + }, + "sound_effects": { + "0.0": { + "effect": "dig" + } + }, + "particle_effects": { + "0.0": { + "effect": "digging", + "pre_effect_script": "variable.dig_particle_texture_coordinate = query.surface_particle_texture_coordinate; variable.dig_particle_texture_size = query.surface_particle_texture_size; variable.dig_particle_color = query.surface_particle_color;" + } + } + }, + "animation.warden.roar": { + "animation_length": 4.2, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [-25, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.6": { + "post": [32.5, 0, -7.5], + "lerp_mode": "catmullrom" + }, + "1.84": { + "post": [38.33, 0, 2.99], + "lerp_mode": "catmullrom" + }, + "2.08": { + "post": [40.97, 0, -4.3], + "lerp_mode": "catmullrom" + }, + "2.36": { + "post": [44.41, 0, 6.29], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [47.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [0, -1, 3], + "lerp_mode": "catmullrom" + }, + "1.6": { + "post": [0, -3, -6], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, -3, -6], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [-32.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.6": { + "post": [-32.5, 0, -27.5], + "lerp_mode": "catmullrom" + }, + "1.8": { + "post": [-32.5, 0, 26], + "lerp_mode": "catmullrom" + }, + "2.04": { + "post": [-32.5, 0, -27.5], + "lerp_mode": "catmullrom" + }, + "2.44": { + "post": [-32.5, 0, 26], + "lerp_mode": "catmullrom" + }, + "2.84": { + "post": [-5, 0, -12.5], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.6": { + "post": [0, -2, -6], + "lerp_mode": "catmullrom" + }, + "2.2": { + "post": [0, -2, -6], + "lerp_mode": "catmullrom" + }, + "2.48": { + "post": [0, -2, -6], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_tendril": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.76": { + "post": [0, 0, -10.85], + "lerp_mode": "catmullrom" + }, + "2.08": { + "post": [0, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "2.4": { + "post": [0, 0, -10.85], + "lerp_mode": "catmullrom" + }, + "2.72": { + "post": [0, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, -10.85], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_tendril": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.76": { + "post": [0, 0, -15.85], + "lerp_mode": "catmullrom" + }, + "2.08": { + "post": [0, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "2.4": { + "post": [0, 0, -15.85], + "lerp_mode": "catmullrom" + }, + "2.72": { + "post": [0, 0, 12.5], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, -15.85], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "post": [-120, 0, -20], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [-77.5, 3.75, 15], + "lerp_mode": "catmullrom" + }, + "1.48": { + "post": [67.5, -32.5, 20], + "lerp_mode": "catmullrom" + }, + "2.48": { + "post": [37.5, -32.5, 25], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [27.6, -17.1, 32.5], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "post": [3, -2, 0], + "lerp_mode": "catmullrom" + }, + "1.48": { + "post": [4, -2, 0], + "lerp_mode": "catmullrom" + }, + "2.48": { + "post": [4, -2, 0], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "post": [-125, 0, 20], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [-76.25, -17.5, -7.5], + "lerp_mode": "catmullrom" + }, + "1.48": { + "post": [62.5, 42.5, -12.5], + "lerp_mode": "catmullrom" + }, + "2.48": { + "post": [37.5, 27.5, -27.5], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [25, 18.4, -30], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.72": { + "post": [-3, -2, 0], + "lerp_mode": "catmullrom" + }, + "1.48": { + "post": [-4, -2, 0], + "lerp_mode": "catmullrom" + }, + "2.48": { + "post": [-4, -2, 0], + "lerp_mode": "catmullrom" + }, + "4.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + }, + "sound_effects": { + "1.25": { + "effect": "roar" + } + } + }, + "animation.warden.sniff": { + "animation_length": 3.32, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.56": { + "post": [17.5, 32.5, 0], + "lerp_mode": "catmullrom" + }, + "0.96": { + "post": [0, 32.5, 0], + "lerp_mode": "catmullrom" + }, + "2.2": { + "post": [10, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.8": { + "post": [10, -30, 0], + "lerp_mode": "catmullrom" + }, + "3.32": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.68": { + "post": [0, 40, 0], + "lerp_mode": "catmullrom" + }, + "0.96": { + "post": [-22.5, 40, 0], + "lerp_mode": "catmullrom" + }, + "1.24": { + "post": [0, 20, 0], + "lerp_mode": "catmullrom" + }, + "1.52": { + "post": [-35, 20, 0], + "lerp_mode": "catmullrom" + }, + "1.76": { + "post": [0, 20, 0], + "lerp_mode": "catmullrom" + }, + "2.28": { + "post": [0, -20, 0], + "lerp_mode": "catmullrom" + }, + "2.6": { + "post": [-25, -23.65037, 0], + "lerp_mode": "catmullrom" + }, + "2.88": { + "post": [0, -20, 0], + "lerp_mode": "catmullrom" + }, + "3.32": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.96": { + "post": [17.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.76": { + "post": [-15, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.32": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.96": { + "post": [-15, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.2": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.76": { + "post": [17.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.32": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + }, + "sound_effects": { + "0.0": { + "effect": "sniff" + } + } + }, + "animation.warden.bob": { + "loop": true, + "bones": { + "body": { + "rotation": ["variable.modified_bob_cos * 1.43", 0, "variable.modified_bob_sin * 1.43"] + }, + "head": { + "rotation": ["variable.modified_bob_sin * 3.43", 0, "variable.modified_bob_cos * 3.43"] + } + } + }, + "animation.warden.attack": { + "animation_length": 0.33333, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [-22.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": [22.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.2083": { + "post": [0, -1, -2], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [22.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [-30.17493, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.25": { + "post": [0, -2, -2], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [-120.36119, 40.78947, -20.94102], + "lerp_mode": "catmullrom" + }, + "0.1667": { + "post": [-90, -45, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [4, 0, 5], + "lerp_mode": "catmullrom" + }, + "0.1667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [-120.36119, -40.78947, 20.94102], + "lerp_mode": "catmullrom" + }, + "0.1667": { + "post": [-61.1632, 42.85882, 11.52421], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.0417": { + "post": [-4, 0, 5], + "lerp_mode": "catmullrom" + }, + "0.1667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.3333": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + }, + "animation.warden.sonic_boom": { + "animation_length": 3, + "bones": { + "body": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [47.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [55, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.0": { + "post": [-32.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.4583": { + "post": [-32.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.7083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.875": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0833": { + "post": [0, -3, 0], + "lerp_mode": "catmullrom" + }, + "1.625": { + "post": [0, -4, -1], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.7083": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.875": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_ribcage": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5417": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.7917": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.875": { + "post": [0, 125, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 125, 0], + "lerp_mode": "catmullrom" + }, + "2.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_ribcage": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.5417": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.7917": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.875": { + "post": [0, -125, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, -125, 0], + "lerp_mode": "catmullrom" + }, + "2.6667": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "head": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.0": { + "post": [67.5, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.75": { + "post": [80, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [-45, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [-45, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.7083": { + "post": [-45, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.875": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [0, 0, -3], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [0, 0, -3], + "lerp_mode": "catmullrom" + }, + "2.7083": { + "post": [0, 0, -3], + "lerp_mode": "catmullrom" + }, + "2.875": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "right_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [-42.28659, -32.69813, -5.00825], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": [-29.83757, -35.39626, -45.28089], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [-29.83757, -35.39626, -45.28089], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [-72.28659, -32.69813, -5.00825], + "lerp_mode": "catmullrom" + }, + "1.8333": { + "post": [35.26439, -30, 35.26439], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [73.75484, -13.0931, 19.20518], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [73.75484, -13.0931, 19.20518], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [58.20713, -21.1064, 28.7261], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.8333": { + "post": [3, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [3, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + }, + "left_arm": { + "rotation": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "0.875": { + "post": [-33.80694, 32.31058, 6.87997], + "lerp_mode": "catmullrom" + }, + "1.1667": { + "post": [-17.87827, 34.62115, 49.02433], + "lerp_mode": "catmullrom" + }, + "1.3333": { + "post": [-17.87827, 34.62115, 49.02433], + "lerp_mode": "catmullrom" + }, + "1.6667": { + "post": [-51.30694, 32.31058, 6.87997], + "lerp_mode": "catmullrom" + }, + "1.8333": { + "post": [35.26439, 30, -35.26439], + "lerp_mode": "catmullrom" + }, + "1.9167": { + "post": [73.75484, 13.0931, -19.20518], + "lerp_mode": "catmullrom" + }, + "2.5": { + "post": [73.75484, 13.0931, -19.20518], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [58.20713, 21.1064, -28.7261], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + }, + "position": { + "0.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + }, + "1.8333": { + "post": [-3, 0, 0], + "lerp_mode": "catmullrom" + }, + "2.75": { + "post": [-3, 0, 0], + "lerp_mode": "catmullrom" + }, + "3.0": { + "post": [0, 0, 0], + "lerp_mode": "catmullrom" + } + } + } + } + } + } +} diff --git a/resource_pack/animations/wind_charge.animation.json b/resource_pack/animations/wind_charge.animation.json new file mode 100644 index 0000000..c6bc19e --- /dev/null +++ b/resource_pack/animations/wind_charge.animation.json @@ -0,0 +1,16 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.wind_charge.rotate" : { + "loop" : true, + "bones" : { + "wind" : { + "rotation" : [ 0.0, "-query.life_time * 20 * 16", 0.0 ] + }, + "wind_charge" : { + "rotation" : [ 0.0, "query.life_time * 20 * 16", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/witch.animation.json b/resource_pack/animations/witch.animation.json new file mode 100644 index 0000000..1d90df1 --- /dev/null +++ b/resource_pack/animations/witch.animation.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.witch.general" : { + "loop" : true, + "bones" : { + "nose" : { + "rotation" : [ "(variable.isholdingitem ? -25.7831 : (math.sin(query.life_time * 57.296) * 4.5)) - this", 0.0, "(math.cos(query.life_time * 57.296) * 2.5) - this" ] + } + } + } + } +} diff --git a/resource_pack/animations/wither_boss.animation.json b/resource_pack/animations/wither_boss.animation.json new file mode 100644 index 0000000..f77ac71 --- /dev/null +++ b/resource_pack/animations/wither_boss.animation.json @@ -0,0 +1,39 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.wither_boss.look_at_target" : { + "loop" : true, + "bones" : { + "head1" : { + "rotation" : [ "query.head_x_rotation(0)", "query.target_y_rotation", 0.0 ] + }, + "head2" : { + "rotation" : [ "query.head_x_rotation(1)", "query.target_y_rotation", 0.0 ] + }, + "head3" : { + "rotation" : [ "query.head_x_rotation(2)", "query.target_y_rotation", 0.0 ] + } + } + }, + "animation.wither_boss.move" : { + "loop" : true, + "bones" : { + "upperbodypart2" : { + "rotation" : [ "variable.upper_body_rotation - this", "-this", "-this" ] + }, + "upperbodypart3" : { + "position" : [ -2.0, -16.9, -0.5 ], + "rotation" : [ "((0.2 + 0.1 * variable.body_base_rotation) * 180) - this", "-this", "-this" ] + } + } + }, + "animation.wither_boss.scale" : { + "loop" : true, + "bones" : { + "upperbodypart1" : { + "rotation" : [ "-this", "-this", "-this" ] + } + } + } + } +} diff --git a/resource_pack/animations/wither_skeleton.animation.json b/resource_pack/animations/wither_skeleton.animation.json new file mode 100644 index 0000000..8924022 --- /dev/null +++ b/resource_pack/animations/wither_skeleton.animation.json @@ -0,0 +1,16 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.wither_skeleton.attack" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-90 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) - (math.sin(query.life_time * 76.776372) * 2.865) - this", "5.73 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 0.6) - this", "math.cos(query.life_time * 103.13244) * -2.865 - 2.865 - this" ] + }, + "rightarm" : { + "rotation" : [ "-90 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) + (math.sin(query.life_time * 76.776372) * 2.865) - this", "(math.sin(variable.attack_time * 180.0) * 57.3) * 0.6 - 5.73 - this", "math.cos(query.life_time * 103.13244) * 2.865 + 2.865 - this" ] + } + } + } + } +} diff --git a/resource_pack/animations/wither_skull.animation.json b/resource_pack/animations/wither_skull.animation.json new file mode 100644 index 0000000..9cf6620 --- /dev/null +++ b/resource_pack/animations/wither_skull.animation.json @@ -0,0 +1,13 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.wither_skull.move" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ 0.0, "-query.target_y_rotation", 0.0 ] + } + } + } + } +} diff --git a/resource_pack/animations/wolf.animations.json b/resource_pack/animations/wolf.animations.json new file mode 100644 index 0000000..0c791e8 --- /dev/null +++ b/resource_pack/animations/wolf.animations.json @@ -0,0 +1,126 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.wolf.angry" : { + "loop" : true, + "bones" : { + "tail" : { + "rotation" : [ 0.0, "query.is_angry ? -this : (math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed * 80.22 - this)", 0.0 ] + } + } + }, + "animation.wolf.baby_scaling" : { + "loop" : true, + "bones" : { + "head" : { + "position" : [ 0.0, 1.0, -2.0 ], + "scale" : 1.6 + } + } + }, + "animation.wolf.head_rot_z" : { + "loop" : true, + "bones" : { + "head" : { + "rotation" : [ 0.0, 0.0, "(query.is_interested ? (query.head_roll_angle * 57.3) : 0) + (query.is_shaking_wetness ? variable.head_rot_z : 0) - this" ] + } + } + }, + "animation.wolf.leg_default" : { + "loop" : true, + "bones" : { + "leg0" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 80.22 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "leg1" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180) * 80.22 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "leg2" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17 + 180) * 80.22 * query.modified_move_speed - this", 0.0, 0.0 ] + }, + "leg3" : { + "rotation" : [ "math.cos(query.modified_distance_moved * 38.17) * 80.22 * query.modified_move_speed - this", 0.0, 0.0 ] + } + } + }, + "animation.wolf.setup" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ "-this", "-14 - this", "2.0 - this" ], + "rotation" : [ "90 - this", 0.0, 0.0 ] + }, + "leg0" : { + "position" : [ "-2.5 - this", "-16 - this", "7 - this" ] + }, + "leg1" : { + "position" : [ "0.5 - this", "-16 - this", "7 - this" ] + }, + "leg2" : { + "position" : [ "-2.5 - this", "-16 - this", "-4 - this" ] + }, + "leg3" : { + "position" : [ "0.5 - this", "-16 - this", "-4 - this" ] + }, + "tail" : { + "position" : [ "-1.0 - this", "-12 - this", "8.0 - this" ] + }, + "upperbody" : { + "position" : [ "-1.0 - this", "-14 - this", "-3.0 - this" ], + "rotation" : [ "90 - this", 0.0, 0.0 ] + } + } + }, + "animation.wolf.shaking" : { + "loop" : true, + "bones" : { + "body" : { + "rotation" : [ 0.0, 0.0, "variable.body_rot_z - this" ] + }, + "upperbody" : { + "rotation" : [ 0.0, 0.0, "variable.upper_body_rot_z - this" ] + } + } + }, + "animation.wolf.sitting" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ "-this", "-18 - this", "-this" ], + "rotation" : [ "45.0 - this", 0.0, 0.0 ] + }, + "leg0" : { + "position" : [ "-2.5 - this", "-22 - this", "2 - this" ], + "rotation" : [ "270 - this", 0.0, 0.0 ] + }, + "leg1" : { + "position" : [ "0.5 - this", "-22 - this", "2 - this" ], + "rotation" : [ "270 - this", 0.0, 0.0 ] + }, + "leg2" : { + "position" : [ "-2.49 - this", "-17 - this", "-4 - this" ], + "rotation" : [ "333 - this", 0.0, 0.0 ] + }, + "leg3" : { + "position" : [ "0.51 - this", "-17 - this", "-4 - this" ], + "rotation" : [ "333 - this", 0.0, 0.0 ] + }, + "tail" : { + "position" : [ "-1.0 - this", "-21 - this", "6.0 - this" ] + }, + "upperbody" : { + "position" : [ "-1.0 - this", "-16 - this", "-3.0 - this" ], + "rotation" : [ "72 - this", "-this", 0.0 ] + } + } + }, + "animation.wolf.tail_default" : { + "loop" : true, + "bones" : { + "tail" : { + "rotation" : [ "query.tail_angle * 57.3 - this", 0.0, "variable.tail_rot_z - this" ] + } + } + } + } +} diff --git a/resource_pack/animations/zombie.animation.json b/resource_pack/animations/zombie.animation.json new file mode 100644 index 0000000..145c6ba --- /dev/null +++ b/resource_pack/animations/zombie.animation.json @@ -0,0 +1,37 @@ +{ + "format_version" : "1.8.0", + "animations" : { + "animation.zombie.attack_bare_hand" : { + "loop" : true, + "bones" : { + "leftarm" : { + "rotation" : [ "-90.0 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) - (math.sin(query.life_time * 76.776372) * 2.865) - this", "5.73 - ((math.sin(variable.attack_time * 180.0) * 57.3) * 0.6) - this", "math.cos(query.life_time * 103.13244) * -2.865 - 2.865 - this" ] + }, + "rightarm" : { + "rotation" : [ "90.0 * (variable.is_brandishing_spear - 1.0) - ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4) + (math.sin(query.life_time * 76.776372) * 2.865) - this", "(math.sin(variable.attack_time * 180.0) * 57.3) * 0.6 - 5.73 - this", "math.cos(query.life_time * 103.13244) * 2.865 + 2.865 - this" ] + } + } + }, + "animation.zombie.swimming" : { + "loop" : true, + "bones" : { + "body" : { + "position" : [ 0.0, "variable.swim_amount * -10.0 - this", "variable.swim_amount * 9.0 - this" ], + "rotation" : [ "variable.swim_amount * (90.0 + query.target_x_rotation)", 0.0, 0.0 ] + }, + "leftarm" : { + "rotation" : [ "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) - (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this", "math.lerp(this, 14.325, variable.swim_amount) - this", "math.lerp(this, 14.325, variable.swim_amount) - (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this" ] + }, + "leftleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.life_time * 390.0 + 180.0) * 0.3, variable.swim_amount)", -0.1, -0.1 ] + }, + "rightarm" : { + "rotation" : [ "math.lerp(this, -180.0, variable.swim_amount) - (variable.swim_amount * ((math.sin(variable.attack_time * 180.0) * 57.3) * 1.2 - (math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3) * 0.4)) + (variable.swim_amount * (math.sin(query.life_time * 76.776372) * 2.865)) - this", "math.lerp(this, 14.325, variable.swim_amount) - this", "math.lerp(this, -14.325, variable.swim_amount) + (variable.swim_amount * (math.cos(query.life_time * 103.13244) * 2.865 + 2.865)) - this" ] + }, + "rightleg" : { + "rotation" : [ "math.lerp(this, math.cos(query.life_time * 390.0) * 0.3, variable.swim_amount)", 0.1, 0.1 ] + } + } + } + } +} diff --git a/resource_pack/attachables/mace.json b/resource_pack/attachables/mace.json new file mode 100644 index 0000000..c565db6 --- /dev/null +++ b/resource_pack/attachables/mace.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.10.0", + "minecraft:attachable": { + "description": { + "identifier": "minecraft:mace", + "materials": { + "default": "entity_alphatest", + "mace_wind": "breeze_wind" + }, + "textures": { + "default": "textures/item/mace", + "enchanted": "textures/misc/enchanted_item_glint" + } + } + } +} diff --git a/resource_pack/attachables/saddle.json b/resource_pack/attachables/saddle.json new file mode 100644 index 0000000..c8c4e1c --- /dev/null +++ b/resource_pack/attachables/saddle.json @@ -0,0 +1,25 @@ +{ + "format_version": "1.10.0", + "minecraft:attachable": { + "description": { + "identifier": "minecraft:saddle", + "materials": { + "default": "saddle" + }, + "textures": { + "default": "textures/entity/saddle" + }, + "geometry": { + "default": "geometry.saddle" + }, + "scripts": { + "initialize": [ + "variable.should_render = context.owning_entity->query.is_owner_identifier_any('minecraft:pig');" + ] + }, + "render_controllers": [ + "controller.render.saddle" + ] + } + } +} diff --git a/resource_pack/attachables/shield.entity.json b/resource_pack/attachables/shield.entity.json new file mode 100644 index 0000000..5889c18 --- /dev/null +++ b/resource_pack/attachables/shield.entity.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "minecraft:attachable": { + "description": { + "identifier": "minecraft:shield", + "materials": { + "default": "entity_alphatest", + "enchanted": "entity_alphatest_glint", + "pattern": "pattern", + "pattern_enchanted": "pattern_glint" + }, + "textures": { + "default": "textures/entity/shield", + "enchanted": "textures/misc/enchanted_item_glint", + "pattern": "atlas.shield" + }, + "geometry": { + "default": "geometry.shield" + }, + "animations": { + "wield": "controller.animation.shield.wield", + "wield_main_hand_first_person": "animation.shield.wield_main_hand_first_person", + "wield_off_hand_first_person": "animation.shield.wield_off_hand_first_person", + "wield_first_person_block": "animation.shield.wield_first_person_blocking", + "wield_main_hand_first_person_block": "animation.shield.wield_main_hand_first_person_blocking", + "wield_off_hand_first_person_block": "animation.shield.wield_off_hand_first_person_blocking", + "wield_third_person": "animation.shield.wield_third_person" + }, + "scripts": { + "initialize": [ + "variable.main_hand_first_person_pos_x = 5.3;", + "variable.main_hand_first_person_pos_y = 26.0;", + "variable.main_hand_first_person_pos_z = 0.4;", + "variable.main_hand_first_person_rot_x = 91.0;", + "variable.main_hand_first_person_rot_y = 65.0;", + "variable.main_hand_first_person_rot_z = -43.0;", + "variable.off_hand_first_person_pos_x = -13.5;", + "variable.off_hand_first_person_pos_y = -5.8;", + "variable.off_hand_first_person_pos_z = 5.1;", + "variable.off_hand_first_person_with_bow_pos_z = -25.0;", + "variable.off_hand_first_person_rot_x = 1.0;", + "variable.off_hand_first_person_rot_y = 176.0;", + "variable.off_hand_first_person_rot_z = -2.5;" + ], + "pre_animation": [ + "variable.is_blocking_main_hand = query.blocking && !query.is_item_name_any('slot.weapon.offhand', 'minecraft:shield') && query.is_item_name_any('slot.weapon.mainhand', 'minecraft:shield');", + "variable.is_blocking_off_hand = query.blocking && query.is_item_name_any('slot.weapon.offhand', 'minecraft:shield');", + "variable.is_using_bow = (query.get_equipped_item_name == 'bow') && (query.main_hand_item_use_duration > 0.0f);" + ], + "animate": [ + "wield" + ] + }, + "render_controllers": [ "controller.render.shield" ] + } + } +} diff --git a/resource_pack/attachables/spyglass.json b/resource_pack/attachables/spyglass.json new file mode 100644 index 0000000..e19d1d6 --- /dev/null +++ b/resource_pack/attachables/spyglass.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.10.0", + "minecraft:attachable": { + "description": { + "identifier": "minecraft:spyglass", + "materials": { + "default": "entity_alphatest", + "enchanted": "entity_alphatest_glint" + }, + "textures": { + "default": "textures/entity/spyglass", + "enchanted": "textures/misc/enchanted_item_glint" + }, + "geometry": { + "default": "geometry.spyglass" + }, + "animations": { + "holding": "animation.spyglass.holding", + "scoping": "animation.spyglass.scoping" + }, + "scripts": { + "animate": [ + { + "holding": "q.main_hand_item_use_duration <= 0.0f" + }, + { + "scoping": "q.main_hand_item_use_duration > 0.0f && !c.is_first_person" + } + ] + }, + "render_controllers": [ "controller.render.item_default" ] + } + } +} diff --git a/resource_pack/attachables/wolf_armor.json b/resource_pack/attachables/wolf_armor.json new file mode 100644 index 0000000..e297018 --- /dev/null +++ b/resource_pack/attachables/wolf_armor.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.10.0", + "minecraft:attachable": { + "description": { + "identifier": "minecraft:wolf_armor", + "materials": { + "default": "wolf_armor" + }, + "textures": { + "default": "textures/entity/wolf/wolf_armor", + "dyed": "textures/entity/wolf/wolf_armor_dyed", + "cracked_none": "textures/entity/wolf/wolf_armor_cracked_none", + "cracked_low": "textures/entity/wolf/wolf_armor_cracked_low", + "cracked_medium": "textures/entity/wolf/wolf_armor_cracked_medium", + "cracked_high": "textures/entity/wolf/wolf_armor_cracked_high" + }, + "geometry": { + "default": "geometry.wolf.armor" + }, + "scripts": { + "pre_animation": [ + "variable.is_dyed = query.armor_color_slot(4, 0) != 1.0 || query.armor_color_slot(4, 1) != 1.0 || query.armor_color_slot(4, 2) != 1.0 || query.armor_color_slot(4, 3) != 1.0;", + "variable.damage = query.armor_damage_slot(4);", + "variable.cracks_index = variable.damage < 4 ? 0 : (variable.damage < 20 ? 1 : (variable.damage < 44 ? 2 : 3));" + ] + }, + "render_controllers": [ + "controller.render.wolf_armor" + ] + } + } +} diff --git a/resource_pack/biomes/bamboo_jungle.client_biome.json b/resource_pack/biomes/bamboo_jungle.client_biome.json new file mode 100644 index 0000000..8c6fd49 --- /dev/null +++ b/resource_pack/biomes/bamboo_jungle.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "bamboo_jungle" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_bamboo_jungle" + }, + "minecraft:water_appearance": { + "surface_color": "#14A2C5" + } + } + } +} diff --git a/resource_pack/biomes/bamboo_jungle_hills.client_biome.json b/resource_pack/biomes/bamboo_jungle_hills.client_biome.json new file mode 100644 index 0000000..f3003ac --- /dev/null +++ b/resource_pack/biomes/bamboo_jungle_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "bamboo_jungle_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_bamboo_jungle_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#1B9ED8" + } + } + } +} diff --git a/resource_pack/biomes/basalt_deltas.client_biome.json b/resource_pack/biomes/basalt_deltas.client_biome.json new file mode 100644 index 0000000..48d3810 --- /dev/null +++ b/resource_pack/biomes/basalt_deltas.client_biome.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "basalt_deltas" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_basalt_deltas" + }, + "minecraft:water_appearance": { + "surface_color": "#3f76e4" + }, + "minecraft:ambient_sounds": { + "addition": "ambient.basalt_deltas.additions", + "loop": "ambient.basalt_deltas.loop", + "mood": "ambient.basalt_deltas.mood" + } + } + } +} diff --git a/resource_pack/biomes/beach.client_biome.json b/resource_pack/biomes/beach.client_biome.json new file mode 100644 index 0000000..33c4250 --- /dev/null +++ b/resource_pack/biomes/beach.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "beach" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_beach" + }, + "minecraft:water_appearance": { + "surface_color": "#157cab" + } + } + } +} diff --git a/resource_pack/biomes/birch_forest.client_biome.json b/resource_pack/biomes/birch_forest.client_biome.json new file mode 100644 index 0000000..2060dc4 --- /dev/null +++ b/resource_pack/biomes/birch_forest.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "birch_forest" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_birch_forest" + }, + "minecraft:water_appearance": { + "surface_color": "#0677ce" + } + } + } +} diff --git a/resource_pack/biomes/birch_forest_hills.client_biome.json b/resource_pack/biomes/birch_forest_hills.client_biome.json new file mode 100644 index 0000000..1ea810b --- /dev/null +++ b/resource_pack/biomes/birch_forest_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "birch_forest_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_birch_forest_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#0a74c4" + } + } + } +} diff --git a/resource_pack/biomes/birch_forest_hills_mutated.client_biome.json b/resource_pack/biomes/birch_forest_hills_mutated.client_biome.json new file mode 100644 index 0000000..94784bc --- /dev/null +++ b/resource_pack/biomes/birch_forest_hills_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "birch_forest_hills_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/birch_forest_mutated.client_biome.json b/resource_pack/biomes/birch_forest_mutated.client_biome.json new file mode 100644 index 0000000..01577ea --- /dev/null +++ b/resource_pack/biomes/birch_forest_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "birch_forest_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/cherry_grove.client_biome.json b/resource_pack/biomes/cherry_grove.client_biome.json new file mode 100644 index 0000000..eb99675 --- /dev/null +++ b/resource_pack/biomes/cherry_grove.client_biome.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "cherry_grove" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_cherry_grove" + }, + "minecraft:water_appearance": { + "surface_color": "#5db7ef" + }, + "minecraft:foliage_appearance": { + "color": "#b6db61" + }, + "minecraft:grass_appearance": { + "color": "#b6db61" + } + } + } +} diff --git a/resource_pack/biomes/cold_beach.client_biome.json b/resource_pack/biomes/cold_beach.client_biome.json new file mode 100644 index 0000000..2115c80 --- /dev/null +++ b/resource_pack/biomes/cold_beach.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "cold_beach" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_cold_beach" + }, + "minecraft:water_appearance": { + "surface_color": "#1463a5" + } + } + } +} diff --git a/resource_pack/biomes/cold_ocean.client_biome.json b/resource_pack/biomes/cold_ocean.client_biome.json new file mode 100644 index 0000000..f584fa3 --- /dev/null +++ b/resource_pack/biomes/cold_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "cold_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_cold_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#2080C9" + } + } + } +} diff --git a/resource_pack/biomes/cold_taiga.client_biome.json b/resource_pack/biomes/cold_taiga.client_biome.json new file mode 100644 index 0000000..361865e --- /dev/null +++ b/resource_pack/biomes/cold_taiga.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "cold_taiga" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_cold_taiga" + }, + "minecraft:water_appearance": { + "surface_color": "#205e83" + } + } + } +} diff --git a/resource_pack/biomes/cold_taiga_hills.client_biome.json b/resource_pack/biomes/cold_taiga_hills.client_biome.json new file mode 100644 index 0000000..d9b3237 --- /dev/null +++ b/resource_pack/biomes/cold_taiga_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "cold_taiga_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_cold_taiga_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#245b78" + } + } + } +} diff --git a/resource_pack/biomes/cold_taiga_mutated.client_biome.json b/resource_pack/biomes/cold_taiga_mutated.client_biome.json new file mode 100644 index 0000000..bb3afc2 --- /dev/null +++ b/resource_pack/biomes/cold_taiga_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "cold_taiga_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_cold_taiga_mutated" + }, + "minecraft:water_appearance": { + "surface_color": "#205e83" + } + } + } +} diff --git a/resource_pack/biomes/crimson_forest.client_biome.json b/resource_pack/biomes/crimson_forest.client_biome.json new file mode 100644 index 0000000..3102bac --- /dev/null +++ b/resource_pack/biomes/crimson_forest.client_biome.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "crimson_forest" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_crimson_forest" + }, + "minecraft:water_appearance": { + "surface_color": "#905957" + }, + "minecraft:ambient_sounds": { + "addition": "ambient.crimson_forest.additions", + "loop": "ambient.crimson_forest.loop", + "mood": "ambient.crimson_forest.mood" + } + } + } +} diff --git a/resource_pack/biomes/deep_cold_ocean.client_biome.json b/resource_pack/biomes/deep_cold_ocean.client_biome.json new file mode 100644 index 0000000..66ee8db --- /dev/null +++ b/resource_pack/biomes/deep_cold_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "deep_cold_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_deep_cold_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#2080C9" + } + } + } +} diff --git a/resource_pack/biomes/deep_dark.client_biome.json b/resource_pack/biomes/deep_dark.client_biome.json new file mode 100644 index 0000000..69c962d --- /dev/null +++ b/resource_pack/biomes/deep_dark.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "deep_dark" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/deep_frozen_ocean.client_biome.json b/resource_pack/biomes/deep_frozen_ocean.client_biome.json new file mode 100644 index 0000000..978c4bb --- /dev/null +++ b/resource_pack/biomes/deep_frozen_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "deep_frozen_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_deep_frozen_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#2570B5" + } + } + } +} diff --git a/resource_pack/biomes/deep_lukewarm_ocean.client_biome.json b/resource_pack/biomes/deep_lukewarm_ocean.client_biome.json new file mode 100644 index 0000000..47ef207 --- /dev/null +++ b/resource_pack/biomes/deep_lukewarm_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "deep_lukewarm_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_deep_lukewarm_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#0D96DB" + } + } + } +} diff --git a/resource_pack/biomes/deep_ocean.client_biome.json b/resource_pack/biomes/deep_ocean.client_biome.json new file mode 100644 index 0000000..2b0e848 --- /dev/null +++ b/resource_pack/biomes/deep_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "deep_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_deep_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#1787D4" + } + } + } +} diff --git a/resource_pack/biomes/deep_warm_ocean.client_biome.json b/resource_pack/biomes/deep_warm_ocean.client_biome.json new file mode 100644 index 0000000..55e6f53 --- /dev/null +++ b/resource_pack/biomes/deep_warm_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "deep_warm_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_deep_warm_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#02B0E5" + } + } + } +} diff --git a/resource_pack/biomes/desert.client_biome.json b/resource_pack/biomes/desert.client_biome.json new file mode 100644 index 0000000..2244baf --- /dev/null +++ b/resource_pack/biomes/desert.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "desert" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_desert" + }, + "minecraft:water_appearance": { + "surface_color": "#32A598" + } + } + } +} diff --git a/resource_pack/biomes/desert_hills.client_biome.json b/resource_pack/biomes/desert_hills.client_biome.json new file mode 100644 index 0000000..4ffe5fe --- /dev/null +++ b/resource_pack/biomes/desert_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "desert_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_desert_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#1a7aa1" + } + } + } +} diff --git a/resource_pack/biomes/desert_mutated.client_biome.json b/resource_pack/biomes/desert_mutated.client_biome.json new file mode 100644 index 0000000..d3c62c3 --- /dev/null +++ b/resource_pack/biomes/desert_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "desert_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/dripstone_caves.client_biome.json b/resource_pack/biomes/dripstone_caves.client_biome.json new file mode 100644 index 0000000..98b5b65 --- /dev/null +++ b/resource_pack/biomes/dripstone_caves.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "dripstone_caves" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/extreme_hills.client_biome.json b/resource_pack/biomes/extreme_hills.client_biome.json new file mode 100644 index 0000000..52bbf4b --- /dev/null +++ b/resource_pack/biomes/extreme_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "extreme_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_extreme_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#007BF7" + } + } + } +} diff --git a/resource_pack/biomes/extreme_hills_edge.client_biome.json b/resource_pack/biomes/extreme_hills_edge.client_biome.json new file mode 100644 index 0000000..48f3f38 --- /dev/null +++ b/resource_pack/biomes/extreme_hills_edge.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "extreme_hills_edge" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_extreme_hills_edge" + }, + "minecraft:water_appearance": { + "surface_color": "#045cd5" + } + } + } +} diff --git a/resource_pack/biomes/extreme_hills_mutated.client_biome.json b/resource_pack/biomes/extreme_hills_mutated.client_biome.json new file mode 100644 index 0000000..87d3ada --- /dev/null +++ b/resource_pack/biomes/extreme_hills_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "extreme_hills_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_extreme_hills_mutated" + }, + "minecraft:water_appearance": { + "surface_color": "#0E63AB" + } + } + } +} diff --git a/resource_pack/biomes/extreme_hills_plus_trees.client_biome.json b/resource_pack/biomes/extreme_hills_plus_trees.client_biome.json new file mode 100644 index 0000000..9f57709 --- /dev/null +++ b/resource_pack/biomes/extreme_hills_plus_trees.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "extreme_hills_plus_trees" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_extreme_hills_plus_trees" + }, + "minecraft:water_appearance": { + "surface_color": "#0E63AB" + } + } + } +} diff --git a/resource_pack/biomes/extreme_hills_plus_trees_mutated.client_biome.json b/resource_pack/biomes/extreme_hills_plus_trees_mutated.client_biome.json new file mode 100644 index 0000000..62fd147 --- /dev/null +++ b/resource_pack/biomes/extreme_hills_plus_trees_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "extreme_hills_plus_trees_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_extreme_hills_plus_trees_mutated" + }, + "minecraft:water_appearance": { + "surface_color": "#0E63AB" + } + } + } +} diff --git a/resource_pack/biomes/flower_forest.client_biome.json b/resource_pack/biomes/flower_forest.client_biome.json new file mode 100644 index 0000000..bab9eac --- /dev/null +++ b/resource_pack/biomes/flower_forest.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "flower_forest" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_flower_forest" + }, + "minecraft:water_appearance": { + "surface_color": "#20A3CC" + } + } + } +} diff --git a/resource_pack/biomes/forest.client_biome.json b/resource_pack/biomes/forest.client_biome.json new file mode 100644 index 0000000..a7a583c --- /dev/null +++ b/resource_pack/biomes/forest.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "forest" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_forest" + }, + "minecraft:water_appearance": { + "surface_color": "#1E97F2" + } + } + } +} diff --git a/resource_pack/biomes/forest_hills.client_biome.json b/resource_pack/biomes/forest_hills.client_biome.json new file mode 100644 index 0000000..b2495b8 --- /dev/null +++ b/resource_pack/biomes/forest_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "forest_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_forest_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#056bd1" + } + } + } +} diff --git a/resource_pack/biomes/frozen_ocean.client_biome.json b/resource_pack/biomes/frozen_ocean.client_biome.json new file mode 100644 index 0000000..8d2fd61 --- /dev/null +++ b/resource_pack/biomes/frozen_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "frozen_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_frozen_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#2570B5" + } + } + } +} diff --git a/resource_pack/biomes/frozen_peaks.client_biome.json b/resource_pack/biomes/frozen_peaks.client_biome.json new file mode 100644 index 0000000..c7c60ee --- /dev/null +++ b/resource_pack/biomes/frozen_peaks.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "frozen_peaks" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/frozen_river.client_biome.json b/resource_pack/biomes/frozen_river.client_biome.json new file mode 100644 index 0000000..efdd47f --- /dev/null +++ b/resource_pack/biomes/frozen_river.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "frozen_river" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_frozen_river" + }, + "minecraft:water_appearance": { + "surface_color": "#185390" + } + } + } +} diff --git a/resource_pack/biomes/grove.client_biome.json b/resource_pack/biomes/grove.client_biome.json new file mode 100644 index 0000000..dba65f8 --- /dev/null +++ b/resource_pack/biomes/grove.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "grove" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/hell.client_biome.json b/resource_pack/biomes/hell.client_biome.json new file mode 100644 index 0000000..e402ab0 --- /dev/null +++ b/resource_pack/biomes/hell.client_biome.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "hell" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_hell" + }, + "minecraft:water_appearance": { + "surface_color": "#905957" + }, + "minecraft:ambient_sounds": { + "addition": "ambient.nether_wastes.additions", + "loop": "ambient.nether_wastes.loop", + "mood": "ambient.nether_wastes.mood" + } + } + } +} diff --git a/resource_pack/biomes/ice_mountains.client_biome.json b/resource_pack/biomes/ice_mountains.client_biome.json new file mode 100644 index 0000000..459afe5 --- /dev/null +++ b/resource_pack/biomes/ice_mountains.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "ice_mountains" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_ice_mountains" + }, + "minecraft:water_appearance": { + "surface_color": "#1156a7" + } + } + } +} diff --git a/resource_pack/biomes/ice_plains.client_biome.json b/resource_pack/biomes/ice_plains.client_biome.json new file mode 100644 index 0000000..9135237 --- /dev/null +++ b/resource_pack/biomes/ice_plains.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "ice_plains" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_ice_plains" + }, + "minecraft:water_appearance": { + "surface_color": "#14559b" + } + } + } +} diff --git a/resource_pack/biomes/ice_plains_spikes.client_biome.json b/resource_pack/biomes/ice_plains_spikes.client_biome.json new file mode 100644 index 0000000..4aae129 --- /dev/null +++ b/resource_pack/biomes/ice_plains_spikes.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "ice_plains_spikes" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_ice_plains_spikes" + }, + "minecraft:water_appearance": { + "surface_color": "#14559b" + } + } + } +} diff --git a/resource_pack/biomes/jagged_peaks.client_biome.json b/resource_pack/biomes/jagged_peaks.client_biome.json new file mode 100644 index 0000000..ba5db65 --- /dev/null +++ b/resource_pack/biomes/jagged_peaks.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "jagged_peaks" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/jungle.client_biome.json b/resource_pack/biomes/jungle.client_biome.json new file mode 100644 index 0000000..8fb8e42 --- /dev/null +++ b/resource_pack/biomes/jungle.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "jungle" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_jungle" + }, + "minecraft:water_appearance": { + "surface_color": "#14A2C5" + } + } + } +} diff --git a/resource_pack/biomes/jungle_edge.client_biome.json b/resource_pack/biomes/jungle_edge.client_biome.json new file mode 100644 index 0000000..d8ea657 --- /dev/null +++ b/resource_pack/biomes/jungle_edge.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "jungle_edge" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_jungle_edge" + }, + "minecraft:water_appearance": { + "surface_color": "#0D8AE3" + } + } + } +} diff --git a/resource_pack/biomes/jungle_edge_mutated.client_biome.json b/resource_pack/biomes/jungle_edge_mutated.client_biome.json new file mode 100644 index 0000000..bb6732d --- /dev/null +++ b/resource_pack/biomes/jungle_edge_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "jungle_edge_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/jungle_hills.client_biome.json b/resource_pack/biomes/jungle_hills.client_biome.json new file mode 100644 index 0000000..ba40751 --- /dev/null +++ b/resource_pack/biomes/jungle_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "jungle_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_jungle_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#1B9ED8" + } + } + } +} diff --git a/resource_pack/biomes/jungle_mutated.client_biome.json b/resource_pack/biomes/jungle_mutated.client_biome.json new file mode 100644 index 0000000..4897c1b --- /dev/null +++ b/resource_pack/biomes/jungle_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "jungle_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_jungle_mutated" + }, + "minecraft:water_appearance": { + "surface_color": "#1B9ED8" + } + } + } +} diff --git a/resource_pack/biomes/legacy_frozen_ocean.client_biome.json b/resource_pack/biomes/legacy_frozen_ocean.client_biome.json new file mode 100644 index 0000000..42f56e5 --- /dev/null +++ b/resource_pack/biomes/legacy_frozen_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "legacy_frozen_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/lukewarm_ocean.client_biome.json b/resource_pack/biomes/lukewarm_ocean.client_biome.json new file mode 100644 index 0000000..aa82d92 --- /dev/null +++ b/resource_pack/biomes/lukewarm_ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "lukewarm_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_lukewarm_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#0D96DB" + } + } + } +} diff --git a/resource_pack/biomes/lush_caves.client_biome.json b/resource_pack/biomes/lush_caves.client_biome.json new file mode 100644 index 0000000..1523661 --- /dev/null +++ b/resource_pack/biomes/lush_caves.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "lush_caves" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/mangrove_swamp.client_biome.json b/resource_pack/biomes/mangrove_swamp.client_biome.json new file mode 100644 index 0000000..e1053fa --- /dev/null +++ b/resource_pack/biomes/mangrove_swamp.client_biome.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mangrove_swamp" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mangrove_swamp" + }, + "minecraft:water_appearance": { + "surface_color": "#3a7a6a" + }, + "minecraft:foliage_appearance": { + "color": { + "color_map": "mangrove_swamp_foliage" + } + }, + "minecraft:grass_appearance": { + "color": { + "color_map": "swamp_grass" + } + } + } + } +} diff --git a/resource_pack/biomes/meadow.client_biome.json b/resource_pack/biomes/meadow.client_biome.json new file mode 100644 index 0000000..774763f --- /dev/null +++ b/resource_pack/biomes/meadow.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "meadow" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/mega_taiga.client_biome.json b/resource_pack/biomes/mega_taiga.client_biome.json new file mode 100644 index 0000000..f7a3aca --- /dev/null +++ b/resource_pack/biomes/mega_taiga.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mega_taiga" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mega_taiga" + }, + "minecraft:water_appearance": { + "surface_color": "#2d6d77" + } + } + } +} diff --git a/resource_pack/biomes/mega_taiga_hills.client_biome.json b/resource_pack/biomes/mega_taiga_hills.client_biome.json new file mode 100644 index 0000000..8eaf8f9 --- /dev/null +++ b/resource_pack/biomes/mega_taiga_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mega_taiga_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mega_taiga_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#286378" + } + } + } +} diff --git a/resource_pack/biomes/mesa.client_biome.json b/resource_pack/biomes/mesa.client_biome.json new file mode 100644 index 0000000..c2390e6 --- /dev/null +++ b/resource_pack/biomes/mesa.client_biome.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mesa" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mesa" + }, + "minecraft:water_appearance": { + "surface_color": "#4E7F81" + }, + "minecraft:foliage_appearance": { + "color": "#aea42a" + }, + "minecraft:grass_appearance": { + "color": "#90814d" + } + } + } +} diff --git a/resource_pack/biomes/mesa_bryce.client_biome.json b/resource_pack/biomes/mesa_bryce.client_biome.json new file mode 100644 index 0000000..8d6fc2d --- /dev/null +++ b/resource_pack/biomes/mesa_bryce.client_biome.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mesa_bryce" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mesa_bryce" + }, + "minecraft:water_appearance": { + "surface_color": "#497F99" + }, + "minecraft:foliage_appearance": { + "color": "#aea42a" + }, + "minecraft:grass_appearance": { + "color": "#90814d" + } + } + } +} diff --git a/resource_pack/biomes/mesa_plateau.client_biome.json b/resource_pack/biomes/mesa_plateau.client_biome.json new file mode 100644 index 0000000..9a1d39d --- /dev/null +++ b/resource_pack/biomes/mesa_plateau.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mesa_plateau" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mesa_plateau" + }, + "minecraft:water_appearance": { + "surface_color": "#55809E" + } + } + } +} diff --git a/resource_pack/biomes/mesa_plateau_mutated.client_biome.json b/resource_pack/biomes/mesa_plateau_mutated.client_biome.json new file mode 100644 index 0000000..455aa4a --- /dev/null +++ b/resource_pack/biomes/mesa_plateau_mutated.client_biome.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mesa_plateau_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + }, + "minecraft:foliage_appearance": { + "color": "#aea42a" + }, + "minecraft:grass_appearance": { + "color": "#90814d" + } + } + } +} diff --git a/resource_pack/biomes/mesa_plateau_stone.client_biome.json b/resource_pack/biomes/mesa_plateau_stone.client_biome.json new file mode 100644 index 0000000..1f8cd88 --- /dev/null +++ b/resource_pack/biomes/mesa_plateau_stone.client_biome.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mesa_plateau_stone" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mesa_plateau_stone" + }, + "minecraft:water_appearance": { + "surface_color": "#55809E" + }, + "minecraft:foliage_appearance": { + "color": "#aea42a" + }, + "minecraft:grass_appearance": { + "color": "#90814d" + } + } + } +} diff --git a/resource_pack/biomes/mesa_plateau_stone_mutated.client_biome.json b/resource_pack/biomes/mesa_plateau_stone_mutated.client_biome.json new file mode 100644 index 0000000..227bdaa --- /dev/null +++ b/resource_pack/biomes/mesa_plateau_stone_mutated.client_biome.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mesa_plateau_stone_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + }, + "minecraft:foliage_appearance": { + "color": "#aea42a" + }, + "minecraft:grass_appearance": { + "color": "#90814d" + } + } + } +} diff --git a/resource_pack/biomes/mushroom_island.client_biome.json b/resource_pack/biomes/mushroom_island.client_biome.json new file mode 100644 index 0000000..7265f52 --- /dev/null +++ b/resource_pack/biomes/mushroom_island.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mushroom_island" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mushroom_island" + }, + "minecraft:water_appearance": { + "surface_color": "#8a8997" + } + } + } +} diff --git a/resource_pack/biomes/mushroom_island_shore.client_biome.json b/resource_pack/biomes/mushroom_island_shore.client_biome.json new file mode 100644 index 0000000..6e83084 --- /dev/null +++ b/resource_pack/biomes/mushroom_island_shore.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "mushroom_island_shore" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_mushroom_island_shore" + }, + "minecraft:water_appearance": { + "surface_color": "#818193" + } + } + } +} diff --git a/resource_pack/biomes/ocean.client_biome.json b/resource_pack/biomes/ocean.client_biome.json new file mode 100644 index 0000000..7b772f4 --- /dev/null +++ b/resource_pack/biomes/ocean.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#1787D4" + } + } + } +} diff --git a/resource_pack/biomes/pale_garden.client_biome.json b/resource_pack/biomes/pale_garden.client_biome.json new file mode 100644 index 0000000..b23d9d8 --- /dev/null +++ b/resource_pack/biomes/pale_garden.client_biome.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "pale_garden" + }, + "components": { + "minecraft:sky_color": { + "sky_color": "#b9b9b9" + }, + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_pale_garden" + }, + "minecraft:water_appearance": { + "surface_color": "#76889D" + }, + "minecraft:biome_music": { + "volume_multiplier": 0 + }, + "minecraft:foliage_appearance": { + "color": "#878d76" + }, + "minecraft:grass_appearance": { + "color": "#778272" + } + } + } +} diff --git a/resource_pack/biomes/plains.client_biome.json b/resource_pack/biomes/plains.client_biome.json new file mode 100644 index 0000000..89c14c5 --- /dev/null +++ b/resource_pack/biomes/plains.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "plains" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_plains" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/redwood_taiga_hills_mutated.client_biome.json b/resource_pack/biomes/redwood_taiga_hills_mutated.client_biome.json new file mode 100644 index 0000000..718951b --- /dev/null +++ b/resource_pack/biomes/redwood_taiga_hills_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "redwood_taiga_hills_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/redwood_taiga_mutated.client_biome.json b/resource_pack/biomes/redwood_taiga_mutated.client_biome.json new file mode 100644 index 0000000..e10ce5c --- /dev/null +++ b/resource_pack/biomes/redwood_taiga_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "redwood_taiga_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/river.client_biome.json b/resource_pack/biomes/river.client_biome.json new file mode 100644 index 0000000..a8afc34 --- /dev/null +++ b/resource_pack/biomes/river.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "river" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_river" + }, + "minecraft:water_appearance": { + "surface_color": "#0084FF" + } + } + } +} diff --git a/resource_pack/biomes/roofed_forest.client_biome.json b/resource_pack/biomes/roofed_forest.client_biome.json new file mode 100644 index 0000000..19ae584 --- /dev/null +++ b/resource_pack/biomes/roofed_forest.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "roofed_forest" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_roofed_forest" + }, + "minecraft:water_appearance": { + "surface_color": "#3B6CD1" + } + } + } +} diff --git a/resource_pack/biomes/roofed_forest_mutated.client_biome.json b/resource_pack/biomes/roofed_forest_mutated.client_biome.json new file mode 100644 index 0000000..e7db983 --- /dev/null +++ b/resource_pack/biomes/roofed_forest_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "roofed_forest_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/savanna.client_biome.json b/resource_pack/biomes/savanna.client_biome.json new file mode 100644 index 0000000..7f3d49a --- /dev/null +++ b/resource_pack/biomes/savanna.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "savanna" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_savanna" + }, + "minecraft:water_appearance": { + "surface_color": "#2C8B9C" + } + } + } +} diff --git a/resource_pack/biomes/savanna_mutated.client_biome.json b/resource_pack/biomes/savanna_mutated.client_biome.json new file mode 100644 index 0000000..107b1fe --- /dev/null +++ b/resource_pack/biomes/savanna_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "savanna_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_savanna_mutated" + }, + "minecraft:water_appearance": { + "surface_color": "#2590A8" + } + } + } +} diff --git a/resource_pack/biomes/savanna_plateau.client_biome.json b/resource_pack/biomes/savanna_plateau.client_biome.json new file mode 100644 index 0000000..3d473e1 --- /dev/null +++ b/resource_pack/biomes/savanna_plateau.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "savanna_plateau" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_savanna_plateau" + }, + "minecraft:water_appearance": { + "surface_color": "#2590A8" + } + } + } +} diff --git a/resource_pack/biomes/savanna_plateau_mutated.client_biome.json b/resource_pack/biomes/savanna_plateau_mutated.client_biome.json new file mode 100644 index 0000000..e78fbf1 --- /dev/null +++ b/resource_pack/biomes/savanna_plateau_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "savanna_plateau_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/snowy_slopes.client_biome.json b/resource_pack/biomes/snowy_slopes.client_biome.json new file mode 100644 index 0000000..058b1b1 --- /dev/null +++ b/resource_pack/biomes/snowy_slopes.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "snowy_slopes" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/soulsand_valley.client_biome.json b/resource_pack/biomes/soulsand_valley.client_biome.json new file mode 100644 index 0000000..bd58c37 --- /dev/null +++ b/resource_pack/biomes/soulsand_valley.client_biome.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "soulsand_valley" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_soulsand_valley" + }, + "minecraft:water_appearance": { + "surface_color": "#905957" + }, + "minecraft:ambient_sounds": { + "addition": "ambient.soulsand_valley.additions", + "loop": "ambient.soulsand_valley.loop", + "mood": "ambient.soulsand_valley.mood" + } + } + } +} diff --git a/resource_pack/biomes/stone_beach.client_biome.json b/resource_pack/biomes/stone_beach.client_biome.json new file mode 100644 index 0000000..45e71ac --- /dev/null +++ b/resource_pack/biomes/stone_beach.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "stone_beach" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_stone_beach" + }, + "minecraft:water_appearance": { + "surface_color": "#0d67bb" + } + } + } +} diff --git a/resource_pack/biomes/stony_peaks.client_biome.json b/resource_pack/biomes/stony_peaks.client_biome.json new file mode 100644 index 0000000..cfdeb55 --- /dev/null +++ b/resource_pack/biomes/stony_peaks.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "stony_peaks" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_default" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/sunflower_plains.client_biome.json b/resource_pack/biomes/sunflower_plains.client_biome.json new file mode 100644 index 0000000..a0edf48 --- /dev/null +++ b/resource_pack/biomes/sunflower_plains.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "sunflower_plains" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_sunflower_plains" + }, + "minecraft:water_appearance": { + "surface_color": "#44AFF5" + } + } + } +} diff --git a/resource_pack/biomes/swampland.client_biome.json b/resource_pack/biomes/swampland.client_biome.json new file mode 100644 index 0000000..d749761 --- /dev/null +++ b/resource_pack/biomes/swampland.client_biome.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "swampland" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_swampland" + }, + "minecraft:water_appearance": { + "surface_color": "#4c6559", + "surface_opacity": 1.0 + }, + "minecraft:foliage_appearance": { + "color": { + "color_map": "swamp_foliage" + } + }, + "minecraft:grass_appearance": { + "color": { + "color_map": "swamp_grass" + } + } + } + } +} diff --git a/resource_pack/biomes/swampland_mutated.client_biome.json b/resource_pack/biomes/swampland_mutated.client_biome.json new file mode 100644 index 0000000..acec078 --- /dev/null +++ b/resource_pack/biomes/swampland_mutated.client_biome.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "swampland_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_swampland_mutated" + }, + "minecraft:water_appearance": { + "surface_color": "#4c6156", + "surface_opacity": 1.0 + }, + "minecraft:foliage_appearance": { + "color": { + "color_map": "swamp_foliage" + } + }, + "minecraft:grass_appearance": { + "color": { + "color_map": "swamp_grass" + } + } + } + } +} diff --git a/resource_pack/biomes/taiga.client_biome.json b/resource_pack/biomes/taiga.client_biome.json new file mode 100644 index 0000000..c51ad16 --- /dev/null +++ b/resource_pack/biomes/taiga.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "taiga" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_taiga" + }, + "minecraft:water_appearance": { + "surface_color": "#287082" + } + } + } +} diff --git a/resource_pack/biomes/taiga_hills.client_biome.json b/resource_pack/biomes/taiga_hills.client_biome.json new file mode 100644 index 0000000..e46896f --- /dev/null +++ b/resource_pack/biomes/taiga_hills.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "taiga_hills" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_taiga_hills" + }, + "minecraft:water_appearance": { + "surface_color": "#236583" + } + } + } +} diff --git a/resource_pack/biomes/taiga_mutated.client_biome.json b/resource_pack/biomes/taiga_mutated.client_biome.json new file mode 100644 index 0000000..e52edc6 --- /dev/null +++ b/resource_pack/biomes/taiga_mutated.client_biome.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "taiga_mutated" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_taiga_mutated" + }, + "minecraft:water_appearance": { + "surface_color": "#1E6B82" + } + } + } +} diff --git a/resource_pack/biomes/the_end.client_biome.json b/resource_pack/biomes/the_end.client_biome.json new file mode 100644 index 0000000..c6c0938 --- /dev/null +++ b/resource_pack/biomes/the_end.client_biome.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "the_end" + }, + "components": { + "minecraft:sky_color": { + "sky_color": "#000000" + }, + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_the_end" + }, + "minecraft:water_appearance": { + "surface_color": "#62529e" + } + } + } +} diff --git a/resource_pack/biomes/warm_ocean.client_biome.json b/resource_pack/biomes/warm_ocean.client_biome.json new file mode 100644 index 0000000..55e6e42 --- /dev/null +++ b/resource_pack/biomes/warm_ocean.client_biome.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "warm_ocean" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_warm_ocean" + }, + "minecraft:water_appearance": { + "surface_color": "#02B0E5", + "surface_opacity": 0.55 + } + } + } +} diff --git a/resource_pack/biomes/warped_forest.client_biome.json b/resource_pack/biomes/warped_forest.client_biome.json new file mode 100644 index 0000000..06bfa9a --- /dev/null +++ b/resource_pack/biomes/warped_forest.client_biome.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.21.40", + "minecraft:client_biome": { + "description": { + "identifier": "warped_forest" + }, + "components": { + "minecraft:fog_appearance": { + "fog_identifier": "minecraft:fog_warped_forest" + }, + "minecraft:water_appearance": { + "surface_color": "#905957" + }, + "minecraft:ambient_sounds": { + "addition": "ambient.warped_forest.additions", + "loop": "ambient.warped_forest.loop", + "mood": "ambient.warped_forest.mood" + } + } + } +} diff --git a/resource_pack/biomes_client.json b/resource_pack/biomes_client.json new file mode 100644 index 0000000..5f67d28 --- /dev/null +++ b/resource_pack/biomes_client.json @@ -0,0 +1,370 @@ +/* + - Default is the settings that a biome will use if it is not specified. + - All fields in a biome are optional default values will overwrite the missing ones. + - If the default is overwritten in a resource pack then it will overwrite all biomes unless the resource pack defines the biomes. + - Vanilla 1.20.0 + */ +{ + "biomes": { + "default": { + "water_surface_color": "#44AFF5", + "water_surface_transparency": 0.65, + "fog_identifier": "minecraft:fog_default", + "remove_all_prior_fog": false, + "inherit_from_prior_fog": false + }, + "plains": { + "water_surface_color": "#44AFF5", + "fog_identifier": "minecraft:fog_plains", + "inherit_from_prior_fog": false + }, + "sunflower_plains": { + "water_surface_color": "#44AFF5", + "fog_identifier": "minecraft:fog_sunflower_plains", + "inherit_from_prior_fog": false + }, + "desert": { + "water_surface_color": "#32A598", + "fog_identifier": "minecraft:fog_desert", + "inherit_from_prior_fog": false + }, + "extreme_hills": { + "water_surface_color": "#007BF7", + "fog_identifier": "minecraft:fog_extreme_hills", + "inherit_from_prior_fog": false + }, + "forest": { + "water_surface_color": "#1E97F2", + "fog_identifier": "minecraft:fog_forest", + "inherit_from_prior_fog": false + }, + "flower_forest": { + "water_surface_color": "#20A3CC", + "fog_identifier": "minecraft:fog_flower_forest", + "inherit_from_prior_fog": false + }, + "taiga": { + "water_surface_color": "#287082", + "fog_identifier": "minecraft:fog_taiga", + "inherit_from_prior_fog": false + }, + "taiga_mutated": { + "water_surface_color": "#1E6B82", + "fog_identifier": "minecraft:fog_taiga_mutated", + "inherit_from_prior_fog": false + }, + "swampland": { + "water_surface_color": "#4c6559", + "water_surface_transparency": 1.0, + "fog_identifier": "minecraft:fog_swampland", + "inherit_from_prior_fog": false + }, + "swampland_mutated": { + "water_surface_color": "#4c6156", + "water_surface_transparency": 1.0, + "fog_identifier": "minecraft:fog_swampland_mutated", + "inherit_from_prior_fog": false + }, + "mangrove_swamp": { + "water_surface_color": "#3a7a6a", + "fog_identifier": "minecraft:fog_mangrove_swamp", + "inherit_from_prior_fog": false + }, + "river": { + "water_surface_color": "#0084FF", + "fog_identifier": "minecraft:fog_river", + "inherit_from_prior_fog": false + }, + "hell": { + "water_surface_color": "#905957", + "fog_identifier": "minecraft:fog_hell", + "inherit_from_prior_fog": false + }, + "the_end": { + "water_surface_color": "#62529e", + "fog_identifier": "minecraft:fog_the_end", + "inherit_from_prior_fog": false + }, + "frozen_river": { + "water_surface_color": "#185390", + "fog_identifier": "minecraft:fog_frozen_river", + "inherit_from_prior_fog": false + }, + "ice_plains": { + "water_surface_color": "#14559b", + "fog_identifier": "minecraft:fog_ice_plains", + "inherit_from_prior_fog": false + }, + "ice_plains_spikes": { + "water_surface_color": "#14559b", + "fog_identifier": "minecraft:fog_ice_plains_spikes", + "inherit_from_prior_fog": false + }, + "ice_mountains": { + "water_surface_color": "#1156a7", + "fog_identifier": "minecraft:fog_ice_mountains", + "inherit_from_prior_fog": false + }, + "mushroom_island": { + "water_surface_color": "#8a8997", + "fog_identifier": "minecraft:fog_mushroom_island", + "inherit_from_prior_fog": false + }, + "mushroom_island_shore": { + "water_surface_color": "#818193", + "fog_identifier": "minecraft:fog_mushroom_island_shore", + "inherit_from_prior_fog": false + }, + "beach": { + "water_surface_color": "#157cab", + "fog_identifier": "minecraft:fog_beach", + "inherit_from_prior_fog": false + }, + "desert_hills": { + "water_surface_color": "#1a7aa1", + "fog_identifier": "minecraft:fog_desert_hills", + "inherit_from_prior_fog": false + }, + "forest_hills": { + "water_surface_color": "#056bd1", + "fog_identifier": "minecraft:fog_forest_hills", + "inherit_from_prior_fog": false + }, + "taiga_hills": { + "water_surface_color": "#236583", + "fog_identifier": "minecraft:fog_taiga_hills", + "inherit_from_prior_fog": false + }, + "extreme_hills_edge": { + "water_surface_color": "#045cd5", + "fog_identifier": "minecraft:fog_extreme_hills_edge", + "inherit_from_prior_fog": false + }, + "jungle": { + "water_surface_color": "#14A2C5", + "fog_identifier": "minecraft:fog_jungle", + "inherit_from_prior_fog": false + }, + "bamboo_jungle": { + "water_surface_color": "#14A2C5", + "fog_identifier": "minecraft:fog_bamboo_jungle", + "inherit_from_prior_fog": false + }, + "jungle_mutated": { + "water_surface_color": "#1B9ED8", + "fog_identifier": "minecraft:fog_jungle_mutated", + "inherit_from_prior_fog": false + }, + "jungle_hills": { + "water_surface_color": "#1B9ED8", + "fog_identifier": "minecraft:fog_jungle_hills", + "inherit_from_prior_fog": false + }, + "bamboo_jungle_hills": { + "water_surface_color": "#1B9ED8", + "fog_identifier": "minecraft:fog_bamboo_jungle_hills", + "inherit_from_prior_fog": false + }, + "jungle_edge": { + "water_surface_color": "#0D8AE3", + "fog_identifier": "minecraft:fog_jungle_edge", + "inherit_from_prior_fog": false + }, + "stone_beach": { + "water_surface_color": "#0d67bb", + "fog_identifier": "minecraft:fog_stone_beach", + "inherit_from_prior_fog": false + }, + "cold_beach": { + "water_surface_color": "#1463a5", + "fog_identifier": "minecraft:fog_cold_beach", + "inherit_from_prior_fog": false + }, + "birch_forest": { + "water_surface_color": "#0677ce", + "fog_identifier": "minecraft:fog_birch_forest", + "inherit_from_prior_fog": false + }, + "birch_forest_hills": { + "water_surface_color": "#0a74c4", + "fog_identifier": "minecraft:fog_birch_forest_hills", + "inherit_from_prior_fog": false + }, + "roofed_forest": { + "water_surface_color": "#3B6CD1", + "fog_identifier": "minecraft:fog_roofed_forest", + "inherit_from_prior_fog": false + }, + "cold_taiga": { + "water_surface_color": "#205e83", + "fog_identifier": "minecraft:fog_cold_taiga", + "inherit_from_prior_fog": false + }, + "cold_taiga_mutated": { + "water_surface_color": "#205e83", + "fog_identifier": "minecraft:fog_cold_taiga_mutated", + "inherit_from_prior_fog": false + }, + "cold_taiga_hills": { + "water_surface_color": "#245b78", + "fog_identifier": "minecraft:fog_cold_taiga_hills", + "inherit_from_prior_fog": false + }, + "mega_taiga": { + "water_surface_color": "#2d6d77", + "fog_identifier": "minecraft:fog_mega_taiga", + "inherit_from_prior_fog": false + }, + "mega_spruce_taiga": { + "water_surface_color": "#2d6d77", + "fog_identifier": "minecraft:fog_mega_spruce_taiga", + "inherit_from_prior_fog": false + }, + "mega_taiga_mutated": { + "water_surface_color": "#2d6d77", + "fog_identifier": "minecraft:fog_mega_taiga_mutated", + "inherit_from_prior_fog": false + }, + "mega_spruce_taiga_mutated": { + "water_surface_color": "#2d6d77", + "fog_identifier": "minecraft:fog_mega_spruce_taiga_mutated", + "inherit_from_prior_fog": false + }, + "mega_taiga_hills": { + "water_surface_color": "#286378", + "fog_identifier": "minecraft:fog_mega_taiga_hills", + "inherit_from_prior_fog": false + }, + "extreme_hills_plus_trees": { + "water_surface_color": "#0E63AB", + "fog_identifier": "minecraft:fog_extreme_hills_plus_trees", + "inherit_from_prior_fog": false + }, + "extreme_hills_plus_trees_mutated": { + "water_surface_color": "#0E63AB", + "fog_identifier": "minecraft:fog_extreme_hills_plus_trees_mutated", + "inherit_from_prior_fog": false + }, + "extreme_hills_mutated": { + "water_surface_color": "#0E63AB", + "fog_identifier": "minecraft:fog_extreme_hills_mutated", + "inherit_from_prior_fog": false + }, + "savanna": { + "water_surface_color": "#2C8B9C", + "fog_identifier": "minecraft:fog_savanna", + "inherit_from_prior_fog": false + }, + "savanna_plateau": { + "water_surface_color": "#2590A8", + "fog_identifier": "minecraft:fog_savanna_plateau", + "inherit_from_prior_fog": false + }, + "savanna_mutated": { + "water_surface_color": "#2590A8", + "fog_identifier": "minecraft:fog_savanna_mutated", + "inherit_from_prior_fog": false + }, + "mesa": { + "water_surface_color": "#4E7F81", + "fog_identifier": "minecraft:fog_mesa", + "inherit_from_prior_fog": false + }, + "mesa_bryce": { + "water_surface_color": "#497F99", + "fog_identifier": "minecraft:fog_mesa_bryce", + "inherit_from_prior_fog": false + }, + "mesa_mutated": { + "water_surface_color": "#497F99", + "fog_identifier": "minecraft:fog_mesa_mutated", + "inherit_from_prior_fog": false + }, + "mesa_plateau_stone": { + "water_surface_color": "#55809E", + "fog_identifier": "minecraft:fog_mesa_plateau_stone", + "inherit_from_prior_fog": false + }, + "mesa_plateau": { + "water_surface_color": "#55809E", + "fog_identifier": "minecraft:fog_mesa_plateau", + "inherit_from_prior_fog": false + }, + "ocean": { + "water_surface_color": "#1787D4", + "fog_identifier": "minecraft:fog_ocean", + "inherit_from_prior_fog": false + }, + "deep_ocean": { + "water_surface_color": "#1787D4", + "fog_identifier": "minecraft:fog_deep_ocean", + "inherit_from_prior_fog": false + }, + "warm_ocean": { + "water_surface_color": "#02B0E5", + "water_surface_transparency": 0.55, + "fog_identifier": "minecraft:fog_warm_ocean", + "inherit_from_prior_fog": false + }, + "deep_warm_ocean": { + "water_surface_color": "#02B0E5", + "fog_identifier": "minecraft:fog_deep_warm_ocean", + "inherit_from_prior_fog": false + }, + "lukewarm_ocean": { + "water_surface_color": "#0D96DB", + "fog_identifier": "minecraft:fog_lukewarm_ocean", + "inherit_from_prior_fog": false + }, + "deep_lukewarm_ocean": { + "water_surface_color": "#0D96DB", + "fog_identifier": "minecraft:fog_deep_lukewarm_ocean", + "inherit_from_prior_fog": false + }, + "cold_ocean": { + "water_surface_color": "#2080C9", + "fog_identifier": "minecraft:fog_cold_ocean", + "inherit_from_prior_fog": false + }, + "deep_cold_ocean": { + "water_surface_color": "#2080C9", + "fog_identifier": "minecraft:fog_deep_cold_ocean", + "inherit_from_prior_fog": false + }, + "frozen_ocean": { + "water_surface_color": "#2570B5", + "fog_identifier": "minecraft:fog_frozen_ocean", + "inherit_from_prior_fog": false + }, + "deep_frozen_ocean": { + "water_surface_color": "#2570B5", + "fog_identifier": "minecraft:fog_deep_frozen_ocean", + "inherit_from_prior_fog": false + }, + "warped_forest": { + "water_surface_color": "#905957", + "fog_identifier": "minecraft:fog_warped_forest", + "inherit_from_prior_fog": false + }, + "crimson_forest": { + "water_surface_color": "#905957", + "fog_identifier": "minecraft:fog_crimson_forest", + "inherit_from_prior_fog": false + }, + "soulsand_valley": { + "water_surface_color": "#905957", + "fog_identifier": "minecraft:fog_soulsand_valley", + "inherit_from_prior_fog": false + }, + "basalt_deltas": { + "water_surface_color": "#3f76e4", + "fog_identifier": "minecraft:fog_basalt_deltas", + "inherit_from_prior_fog": false + }, + "cherry_grove": { + "water_surface_color": "#5db7ef", + "fog_identifier": "minecraft:fog_cherry_grove", + "inherit_from_prior_fog": false + } + } +} diff --git a/resource_pack/blocks.json b/resource_pack/blocks.json new file mode 100644 index 0000000..69fa677 --- /dev/null +++ b/resource_pack/blocks.json @@ -0,0 +1,85 @@ +{ + "format_version": "1.21.40", + "chiseled_nether_bricks": { + "sound": "nether_brick", + "textures": "chiseled_nether_bricks" + }, + "cracked_nether_bricks": { + "sound": "nether_brick", + "textures": "cracked_nether_bricks" + }, + "nether_brick_slab": { + "sound": "nether_brick", + "textures": "nether_brick_slab" + }, + "nether_brick_wall": { + "sound": "nether_brick", + "textures": "nether_brick_wall" + }, + "red_nether_brick_slab": { + "sound": "nether_brick", + "textures": "red_nether_brick_slab" + }, + "red_nether_brick_wall": { + "sound": "nether_brick", + "textures": "red_nether_brick_wall" + }, + "pale_oak_leaves": { + "textures": "pale_oak_leaves", + "ambient_occlusion_exponent": 1.0, + "sound": "grass" + }, + "weeping_vines": { + "textures": { + "down": "weeping_vines_bottom", + "up": "weeping_vines_base", + "north": "weeping_vines_base", + "south": "weeping_vines_base", + "west": "weeping_vines_base", + "east": "weeping_vines_base" + }, + "sound": "weeping_vines" + }, + "twisting_vines": { + "textures": { + "down": "twisting_vines_bottom", + "up": "twisting_vines_base", + "north": "twisting_vines_base", + "south": "twisting_vines_base", + "west": "twisting_vines_base", + "east": "twisting_vines_base" + }, + "sound": "weeping_vines" + }, + "iron_bars": { + "textures": { + "up": "iron_bars", + "down": "iron_bars", + "north": "iron_bars", + "south": "iron_bars", + "west": "iron_bars", + "east": "iron_bars_edge" + }, + "sound": "iron" + }, + "iron_door": { + "textures": { + "up": "door_lower", + "down": "door_lower", + "side": "door_upper" + }, + "sound": "iron" + }, + "iron_trapdoor": { + "textures": "iron_trapdoor", + "sound": "iron" + }, + "heavy_weighted_pressure_plate": { + "textures": "iron_block", + "sound": "iron" + }, + "iron_block": { + "textures": "iron_block", + "sound": "iron" + } +} diff --git a/resource_pack/cameras/death.json b/resource_pack/cameras/death.json new file mode 100644 index 0000000..f1cfcf5 --- /dev/null +++ b/resource_pack/cameras/death.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.18.10", + "minecraft:camera_entity": { + "description": { + "identifier": "minecraft:death_camera" + }, + "components": { + "minecraft:camera": { + "field_of_view": 66.0, + "near_clipping_plane": 0.025, + "far_clipping_plane": 2500.0 + }, + "minecraft:camera_third_person": {}, + "minecraft:camera_render_player_model": {}, + "minecraft:camera_attach_to_player": {}, + "minecraft:camera_offset": { + "view": [ 0.0, 0.0 ], + "entity": [ 0.0, 2.0, 5.0 ] + }, + "minecraft:camera_look_at_player": {}, + "minecraft:death_camera_component": {}, + "minecraft:camera_orbit": { + "azimuth_smoothing_spring": 0, + "polar_angle_smoothing_spring": 0, + "distance_smoothing_spring": 0, + "polar_angle_min": 60.0, + "polar_angle_max": 60.0, + "radius": 8.0 + }, + "minecraft:camera_avoidance": { + "relax_distance_smoothing_spring": 0.0, + "distance_constraint_min": 0.25 + }, + "minecraft:update_player_from_camera": { + "look_mode": "along_camera" + }, + "minecraft:gameplay_affects_fov": {}, + "minecraft:allow_inside_block": {}, + "minecraft:player_state_affects_rendering": {} + } + } +} diff --git a/resource_pack/cameras/first_person.json b/resource_pack/cameras/first_person.json new file mode 100644 index 0000000..e18621e --- /dev/null +++ b/resource_pack/cameras/first_person.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.18.10", + "minecraft:camera_entity": { + "description": { + "identifier": "minecraft:first_person" + }, + "components": { + "minecraft:camera": { + "field_of_view": 66.0, + "near_clipping_plane": 0.025, + "far_clipping_plane": 2500.0 + }, + "minecraft:camera_first_person": {}, + "minecraft:camera_render_first_person_objects": {}, + "minecraft:camera_attach_to_player": {}, + "minecraft:camera_offset": { + "view": [ 0.0, 0.0 ], + "entity": [ 0.0, 0.0, 0.0 ] + }, + "minecraft:camera_direct_look": { + "pitch_min": -89.9, + "pitch_max": 89.9 + }, + "minecraft:camera_perspective_option": { + "view_mode": "first_person" + }, + "minecraft:update_player_from_camera": { + "look_mode": "along_camera" + }, + "minecraft:camera_player_sleep_vignette": {}, + "minecraft:camera_portal_distortion": {}, + "minecraft:vr_comfort_move": {}, + "minecraft:camera_shake": { + "frequency": 10.0, + "amplitude": 5.0, + "noise_multiplier": 4.0 + }, + "minecraft:camera_liquid_offset": {}, + "minecraft:camera_player_bob": {}, + "minecraft:default_input_camera": {}, + "minecraft:gameplay_affects_fov": {}, + "minecraft:allow_inside_block": {}, + "minecraft:player_state_affects_rendering": {} + } + } +} diff --git a/resource_pack/cameras/fixed_boom.json b/resource_pack/cameras/fixed_boom.json new file mode 100644 index 0000000..7a78b84 --- /dev/null +++ b/resource_pack/cameras/fixed_boom.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.21.0", + "minecraft:camera_entity": { + "description": { + "identifier": "minecraft:fixed_boom" + }, + "components": { + "minecraft:camera": { + "field_of_view": 66.0, + "near_clipping_plane": 0.025, + "far_clipping_plane": 2500.0 + }, + "minecraft:camera_fixed_boom": {}, + "minecraft:camera_third_person_boom": { + "starting_radius": 10.0, + "starting_rot": [ 45.0, 45.0 ], + "rotation_space": "local" + }, + "minecraft:camera_attach_to_player": {}, + "minecraft:camera_render_player_model": {}, + "minecraft:camera_offset": { + "view": [ 0.0, 0.0 ], + "entity": [ 0.0, 0.0, 0.0 ] + }, + "minecraft:camera_shake": { + "frequency": 10.0, + "amplitude": 5.0, + "noise_multiplier": 4.0 + }, + "minecraft:camera_avoidance": { + "relax_distance_smoothing_spring": 0.0, + "distance_constraint_min": 0.25 + }, + "minecraft:update_player_from_camera": { + "look_mode": "along_camera" + }, + "minecraft:camera_player_sleep_vignette": {}, + "minecraft:camera_portal_distortion": {}, + "minecraft:camera_liquid_offset": {}, + "minecraft:gameplay_affects_fov": {}, + "minecraft:allow_inside_block": {}, + "minecraft:player_state_affects_rendering": {} + } + } +} diff --git a/resource_pack/cameras/follow_orbit.json b/resource_pack/cameras/follow_orbit.json new file mode 100644 index 0000000..7e9181e --- /dev/null +++ b/resource_pack/cameras/follow_orbit.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.21.0", + "minecraft:camera_entity": { + "description": { + "identifier": "minecraft:follow_orbit" + }, + "components": { + "minecraft:camera": { + "field_of_view": 66.0, + "near_clipping_plane": 0.025, + "far_clipping_plane": 2500.0 + }, + "minecraft:camera_third_person_boom": { + "starting_radius": 10.0, + "starting_rot": [ 45.0, 45.0 ], + "rotation_space": "local" + }, + "minecraft:camera_attach_to_player": {}, + "minecraft:camera_orbit": { + "azimuth_smoothing_spring": 0, + "polar_angle_smoothing_spring": 0, + "distance_smoothing_spring": 0, + "polar_angle_min": 0.1, + "polar_angle_max": 179.9, + "yaw_angle_min": -180.0, + "yaw_angle_max": 180.0, + "radius": 10.0 + }, + "minecraft:camera_render_player_model": {}, + "minecraft:camera_offset": { + "view": [ 0.0, 0.0 ], + "entity": [ 0.0, 0.0, 0.0 ] + }, + "minecraft:camera_shake": { + "frequency": 10.0, + "amplitude": 5.0, + "noise_multiplier": 4.0 + }, + "minecraft:camera_avoidance": { + "relax_distance_smoothing_spring": 0.0, + "distance_constraint_min": 0.25 + }, + "minecraft:update_player_from_camera": { + "look_mode": "along_camera" + }, + "minecraft:camera_player_sleep_vignette": {}, + "minecraft:camera_portal_distortion": {}, + "minecraft:camera_liquid_offset": {}, + "minecraft:gameplay_affects_fov": {}, + "minecraft:allow_inside_block": {}, + "minecraft:player_state_affects_rendering": {} + } + } +} diff --git a/resource_pack/cameras/free.json b/resource_pack/cameras/free.json new file mode 100644 index 0000000..8790af7 --- /dev/null +++ b/resource_pack/cameras/free.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.18.10", + "minecraft:camera_entity": { + "description": { + "identifier": "minecraft:free" + }, + "components": { + "minecraft:camera": { + "field_of_view": 66.0, + "near_clipping_plane": 0.025, + "far_clipping_plane": 2500.0 + }, + "minecraft:camera_render_player_model": {}, + "minecraft:stationary_camera": { + "pos": [ 0, 0, 0 ], + "rot": [ 0, 0 ] + }, + "minecraft:target": { + "rotation_speed": 0.0, + "snap_to_target": false, + "horizontal_rotation_limit": [ 0.0, 360.0 ], + "vertical_rotation_limit": [ 90.0, 90.0 ], + "continue_targeting": false, + "tracking_radius": 50.0 + }, + "minecraft:redirect_camera_input": {}, + "minecraft:camera_shake": { + "frequency": 10.0, + "amplitude": 5.0, + "noise_multiplier": 4.0 + }, + "minecraft:extend_player_rendering": {} + } + } +} diff --git a/resource_pack/cameras/third_person.json b/resource_pack/cameras/third_person.json new file mode 100644 index 0000000..83be7e6 --- /dev/null +++ b/resource_pack/cameras/third_person.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.18.10", + "minecraft:camera_entity": { + "description": { + "identifier": "minecraft:third_person" + }, + "components": { + "minecraft:camera": { + "field_of_view": 66.0, + "near_clipping_plane": 0.025, + "far_clipping_plane": 2500.0 + }, + "minecraft:camera_third_person": {}, + "minecraft:camera_render_player_model": {}, + "minecraft:camera_attach_to_player": {}, + "minecraft:camera_offset": { + "view": [ 0.0, 0.0 ], + "entity": [ 0.0, 2.0, 5.0 ] + }, + "minecraft:camera_look_at_player": {}, + "minecraft:camera_orbit": { + "azimuth_smoothing_spring": 0, + "polar_angle_smoothing_spring": 0, + "distance_smoothing_spring": 0, + "polar_angle_min": 0.1, + "polar_angle_max": 179.9, + "yaw_angle_min": -180.0, + "yaw_angle_max": 180.0, + "radius": 4.0 + }, + "minecraft:camera_avoidance": { + "relax_distance_smoothing_spring": 0.0, + "distance_constraint_min": 0.25 + }, + "minecraft:camera_perspective_option": { + "view_mode": "third_person" + }, + "minecraft:update_player_from_camera": { + "look_mode": "along_camera" + }, + "minecraft:camera_player_sleep_vignette": {}, + "minecraft:camera_portal_distortion": {}, + "minecraft:camera_shake": { + "frequency": 10.0, + "amplitude": 5.0, + "noise_multiplier": 4.0 + }, + "minecraft:camera_liquid_offset": {}, + "minecraft:camera_player_bob": {}, + "minecraft:gameplay_affects_fov": {}, + "minecraft:allow_inside_block": {}, + "minecraft:player_state_affects_rendering": {} + } + } +} diff --git a/resource_pack/cameras/third_person_front.json b/resource_pack/cameras/third_person_front.json new file mode 100644 index 0000000..945f47b --- /dev/null +++ b/resource_pack/cameras/third_person_front.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.18.10", + "minecraft:camera_entity": { + "description": { + "identifier": "minecraft:third_person_front" + }, + "components": { + "minecraft:camera": { + "field_of_view": 66.0, + "near_clipping_plane": 0.025, + "far_clipping_plane": 2500.0 + }, + "minecraft:camera_third_person": {}, + "minecraft:camera_render_player_model": {}, + "minecraft:camera_attach_to_player": {}, + "minecraft:camera_offset": { + "view": [ 0.0, 0.0 ], + "entity": [ 0.0, 2.0, 5.0 ] + }, + "minecraft:camera_look_at_player": {}, + "minecraft:camera_orbit": { + "azimuth_smoothing_spring": 0, + "polar_angle_smoothing_spring": 0, + "distance_smoothing_spring": 0, + "polar_angle_min": 0.1, + "polar_angle_max": 179.9, + "yaw_angle_min": -180.0, + "yaw_angle_max": 180.0, + "radius": 4.0, + "invert_x_input": true + }, + "minecraft:camera_avoidance": { + "relax_distance_smoothing_spring": 0.0, + "distance_constraint_min": 0.25 + }, + "minecraft:camera_perspective_option": { + "view_mode": "third_person_front" + }, + "minecraft:update_player_from_camera": { + "look_mode": "at_camera" + }, + "minecraft:camera_player_sleep_vignette": {}, + "minecraft:camera_portal_distortion": {}, + "minecraft:camera_shake": { + "frequency": 10.0, + "amplitude": 5.0, + "noise_multiplier": 4.0 + }, + "minecraft:camera_liquid_offset": {}, + "minecraft:camera_player_bob": {}, + "minecraft:gameplay_affects_fov": {}, + "minecraft:allow_inside_block": {}, + "minecraft:player_state_affects_rendering": {} + } + } +} diff --git a/resource_pack/entity/agent.entity.json b/resource_pack/entity/agent.entity.json new file mode 100644 index 0000000..de167ca --- /dev/null +++ b/resource_pack/entity/agent.entity.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:agent", + "materials": { "default": "agent" }, + "textures": { + "default": "textures/entity/agent" + }, + "geometry": { + "default": "geometry.agent" + }, + "scripts": { + "pre_animation": [ + "variable.Agent.ArmZRotation = (Math.cos(query.life_time * 114.6) + 1.0) * 1.15;", + "variable.Agent.ArmXRotationFactor = Math.sin(query.life_time * 80.0) * 4.6;", + "variable.Agent.LegXRotationFactor = Math.sin(query.life_time * 46.0) * 1.15;" + ], + "animate": [ + "look_at_target", + "move_controller" + ] + }, + "animations": { + "look_at_target": "animation.common.look_at_target", + "move": "animation.agent.move", + "swing_arms": "animation.agent.swing_arms", + "shrug": "animation.agent.shrug", + "move_controller": "controller.animation.agent.move" + }, + "render_controllers": [ "controller.render.agent" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 52 + } + } + } +} diff --git a/resource_pack/entity/allay.entity.json b/resource_pack/entity/allay.entity.json new file mode 100644 index 0000000..b8aee30 --- /dev/null +++ b/resource_pack/entity/allay.entity.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:allay", + "materials": { + "default": "allay" + }, + "textures": { + "default": "textures/entity/allay/allay" + }, + "geometry": { + "default": "geometry.allay" + }, + "spawn_egg": { + "base_color": "#00daff", + "overlay_color": "#00adff" + }, + "scripts": { + "pre_animation": [ + "variable.holding_trident = query.is_item_name_any('slot.weapon.mainhand', 'minecraft:trident');" + ] + }, + "animations": { + "idle": "animation.allay.idle", + "fly": "animation.allay.fly", + "hold_item": "animation.allay.hold_item", + "hold_item_fly": "animation.allay.hold_item_fly", + "look_at_target_default": "animation.allay.look_at_target.default", + "dance": "animation.allay.dance" + }, + "animation_controllers": [ + { "general": "controller.animation.allay.general" }, + { "look_at_target": "controller.animation.allay.look_at_target" }, + { "holding": "controller.animation.allay.holding" }, + { "dancing": "controller.animation.allay.dancing" } + ], + "render_controllers": [ "controller.render.allay" ], + "enable_attachables": true, + "held_item_ignores_lighting": true + } + } +} diff --git a/resource_pack/entity/armadillo.entity.json b/resource_pack/entity/armadillo.entity.json new file mode 100644 index 0000000..8d25a07 --- /dev/null +++ b/resource_pack/entity/armadillo.entity.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:armadillo", + "materials": { + "default": "armadillo" + }, + "geometry": { + "default": "geometry.armadillo" + }, + "textures": { + "default": "textures/entity/armadillo" + }, + "render_controllers": [ + "controller.render.armadillo" + ], + "scripts": { + "pre_animation": [ + "variable.x_head_rotation = math.clamp(query.target_x_rotation, -32.5, 32.5);", + "variable.y_head_rotation = math.clamp(query.target_y_rotation, -22.5, 25);", + "variable.is_rolled_up = query.property('minecraft:armadillo_state') != 'unrolled';", + "variable.rolled_up_time = variable.is_rolled_up ? ((variable.rolled_up_time ?? 0.0) + query.delta_time) : 0.0;", + "variable.is_peeking = query.property('minecraft:armadillo_state') == 'rolled_up_peeking';", + "variable.is_unrolling = query.property('minecraft:armadillo_state') == 'rolled_up_unrolling';", + "variable.unrolling_time = variable.is_unrolling ? ((variable.unrolling_time ?? 0.0) + query.delta_time) : 0.0;", + "variable.use_rolled_up_model = variable.rolled_up_time >= 0.2083 && (variable.unrolling_time == 0.0 || variable.unrolling_time <= 1.25 );", + "variable.walking = query.modified_move_speed > 0.01 && !variable.is_rolled_up;", + "variable.walk_anim_time_update = query.anim_time + math.min(3.0, math.lerp(2.0, 5.0, query.modified_move_speed)) * query.delta_time;" + ], + "animate": [ + "look_at_target_controller", + "walk_controller", + "roll_up_controller" + ], + "should_update_effects_offscreen": "1.0" + }, + "animations": { + "look_at_target": "animation.armadillo.look_at_target", + "look_at_target_controller": "controller.animation.armadillo.look_at_target", + "walk": "animation.armadillo.walk", + "walk_controller": "controller.animation.armadillo.walk", + "roll_up": "animation.armadillo.roll_up", + "rolled_up": "animation.armadillo.rolled_up", + "peek": "animation.armadillo.peek", + "unroll": "animation.armadillo.unroll", + "unroll_fast": "animation.armadillo.unroll_fast", + "roll_up_controller": "controller.animation.armadillo.roll_up" + }, + "sound_effects": { + "roll": "mob.armadillo.roll", + "land": "mob.armadillo.land", + "peek": "mob.armadillo.peek", + "unroll_start": "mob.armadillo.unroll_start", + "unroll_finish": "mob.armadillo.unroll_finish" + }, + "spawn_egg": { + "base_color": "#ad716d", + "overlay_color": "#824848" + } + } + } +} diff --git a/resource_pack/entity/armor_stand.entity.json b/resource_pack/entity/armor_stand.entity.json new file mode 100644 index 0000000..508e2c0 --- /dev/null +++ b/resource_pack/entity/armor_stand.entity.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:armor_stand", + "min_engine_version": "1.8.0", + "materials": { + "default": "armor_stand" + }, + "textures": { + "default": "textures/entity/armor_stand" + }, + "animations": { + "default_pose": "animation.armor_stand.default_pose", + "no_pose": "animation.armor_stand.no_pose", + "solemn_pose": "animation.armor_stand.solemn_pose", + "athena_pose": "animation.armor_stand.athena_pose", + "brandish_pose": "animation.armor_stand.brandish_pose", + "honor_pose": "animation.armor_stand.honor_pose", + "entertain_pose": "animation.armor_stand.entertain_pose", + "salute_pose": "animation.armor_stand.salute_pose", + "riposte_pose": "animation.armor_stand.riposte_pose", + "zombie_pose": "animation.armor_stand.zombie_pose", + "cancan_a_pose": "animation.armor_stand.cancan_a_pose", + "cancan_b_pose": "animation.armor_stand.cancan_b_pose", + "hero_pose": "animation.armor_stand.hero_pose", + "wiggle": "animation.armor_stand.wiggle", + "controller.pose": "controller.animation.armor_stand.pose", + "controller.wiggling": "controller.animation.armor_stand.wiggle", + "holding_heavy_core": "animation.armor_stand.holding_heavy_core", + "controller.holding_heavy_core": "controller.animation.armor_stand.holding_heavy_core" + }, + "scripts": { + "initialize": [ + "variable.armor_stand.pose_index = 0;", + "variable.armor_stand.hurt_time = 0;" + ], + "animate": [ + "controller.pose", + "controller.wiggling", + "controller.holding_heavy_core" + ] + }, + "geometry": { + "default": "geometry.armor_stand" + }, + "render_controllers": [ "controller.render.armor_stand" ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/armor_stand.v1.0.entity.json b/resource_pack/entity/armor_stand.v1.0.entity.json new file mode 100644 index 0000000..5b57844 --- /dev/null +++ b/resource_pack/entity/armor_stand.v1.0.entity.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:armor_stand", + "materials": { + "default": "armor_stand" + }, + "textures": { + "default": "textures/entity/armor_stand" + }, + "animations": { + "default_pose": "animation.armor_stand.default_pose", + "no_pose": "animation.armor_stand.no_pose", + "solemn_pose": "animation.armor_stand.solemn_pose", + "athena_pose": "animation.armor_stand.athena_pose", + "brandish_pose": "animation.armor_stand.brandish_pose", + "honor_pose": "animation.armor_stand.honor_pose", + "entertain_pose": "animation.armor_stand.entertain_pose", + "salute_pose": "animation.armor_stand.salute_pose", + "riposte_pose": "animation.armor_stand.riposte_pose", + "zombie_pose": "animation.armor_stand.zombie_pose", + "cancan_a_pose": "animation.armor_stand.cancan_a_pose", + "cancan_b_pose": "animation.armor_stand.cancan_b_pose", + "hero_pose": "animation.armor_stand.hero_pose", + "wiggle": "animation.armor_stand.wiggle" + }, + "animation_controllers": [ + { "pose": "controller.animation.armor_stand.pose" }, + { "wiggling": "controller.animation.armor_stand.wiggle" } + ], + "geometry": { + "default": "geometry.armor_stand" + }, + "render_controllers": [ "controller.render.armor_stand" ], + "enable_attachables": true + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/arrow.entity.json b/resource_pack/entity/arrow.entity.json new file mode 100644 index 0000000..06004fb --- /dev/null +++ b/resource_pack/entity/arrow.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:arrow", + "materials": { + "default": "arrow" + }, + "textures": { + "default": "textures/entity/arrows" + }, + "geometry": { + "default": "geometry.arrow" + }, + "animations": { + "move": "animation.arrow.move" + }, + "scripts": { + "pre_animation": [ + "variable.shake = query.shake_time - query.frame_alpha;", + "variable.shake_power = variable.shake > 0.0 ? -Math.sin(variable.shake * 200.0) * variable.shake : 0.0;" + ], + "animate": [ + "move" + ] + }, + "render_controllers": [ "controller.render.arrow" ] + } + } +} diff --git a/resource_pack/entity/axolotl.entity.json b/resource_pack/entity/axolotl.entity.json new file mode 100644 index 0000000..66d7124 --- /dev/null +++ b/resource_pack/entity/axolotl.entity.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:axolotl", + "materials": { + "default": "axolotl", + "limbs": "axolotl_limbs" + }, + "textures": { + "blue": "textures/entity/axolotl/axolotl_blue", + "cyan": "textures/entity/axolotl/axolotl_cyan", + "gold": "textures/entity/axolotl/axolotl_gold", + "lucy": "textures/entity/axolotl/axolotl_lucy", + "wild": "textures/entity/axolotl/axolotl_wild" + }, + "geometry": { + "default": "geometry.axolotl" + }, + "animations": { + "idle_float": "animation.axolotl.idle_underwater", + "idle_floor": "animation.axolotl.idle_floor", + "idle_floor_water": "animation.axolotl.idle_floor_underwater", + "swim": "animation.axolotl.swim", + "walk_floor": "animation.axolotl.walk_floor", + "walk_floor_water": "animation.axolotl.walk_floor_underwater", + "play_dead": "animation.axolotl.play_dead", + "swim_angle": "animation.axolotl.swim_angle", + "look_at_target": "animation.common.look_at_target" + }, + "scripts": { + "pre_animation": [ + "variable.moving = query.ground_speed > 0 || query.vertical_speed > 0;", + "variable.pitch = query.body_x_rotation;" + ] + }, + "animation_controllers": [ + { "general": "controller.animation.axolotl.general" }, + { "move": "controller.animation.axolotl.move" } + ], + "render_controllers": [ "controller.render.axolotl" ], + "spawn_egg": { + "base_color": "#0xfbc1e3", + "overlay_color": "#0xa62d74" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/balloon.entity.json b/resource_pack/entity/balloon.entity.json new file mode 100644 index 0000000..4344fdb --- /dev/null +++ b/resource_pack/entity/balloon.entity.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:balloon", + "materials": { + "default": "balloon" + }, + "textures": { + "default": "textures/entity/balloon", + "rope": "textures/entity/lead_rope" + }, + "geometry": { + "default": "geometry.balloon" + }, + "render_controllers": [ "controller.render.balloon" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/bat.entity.json b/resource_pack/entity/bat.entity.json new file mode 100644 index 0000000..3dfade7 --- /dev/null +++ b/resource_pack/entity/bat.entity.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:bat", + "materials": { + "default": "bat_v2" + }, + "textures": { + "default": "textures/entity/bat_v2" + }, + "geometry": { + "default": "geometry.bat_v2" + }, + "scripts": { + "scale": "1.0" + } + } + } +} diff --git a/resource_pack/entity/bed.entity.json b/resource_pack/entity/bed.entity.json new file mode 100644 index 0000000..2b2ed1e --- /dev/null +++ b/resource_pack/entity/bed.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:bed", + "textures": { + "default": "textures/entity/bed/white", + "white": "textures/entity/bed/white", + "orange": "textures/entity/bed/orange", + "magenta": "textures/entity/bed/magenta", + "light_blue": "textures/entity/bed/light_blue", + "yellow": "textures/entity/bed/yellow", + "lime": "textures/entity/bed/lime", + "pink": "textures/entity/bed/pink", + "gray": "textures/entity/bed/gray", + "silver": "textures/entity/bed/silver", + "cyan": "textures/entity/bed/cyan", + "purple": "textures/entity/bed/purple", + "blue": "textures/entity/bed/blue", + "brown": "textures/entity/bed/brown", + "green": "textures/entity/bed/green", + "red": "textures/entity/bed/red", + "black": "textures/entity/bed/black" + }, + "geometry": { + "default": "geometry.bed" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/bee.entity.json b/resource_pack/entity/bee.entity.json new file mode 100644 index 0000000..1de7d64 --- /dev/null +++ b/resource_pack/entity/bee.entity.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:bee", + "materials": { "default": "bee" }, + "textures": { + "default": "textures/entity/bee/bee", + "angry": "textures/entity/bee/bee_angry", + "nectar": "textures/entity/bee/bee_nectar", + "angry_nectar": "textures/entity/bee/bee_angry_nectar" + }, + "geometry": { + "default": "geometry.bee" + }, + "animations": { + "flying": "animation.bee.flying", + "drip": "controller.animation.bee.drip", + "controller_bee_sting": "controller.animation.bee.sting", + "bee_sting": "animation.bee.sting", + "bee_no_stinger": "animation.bee.no_stinger", + "bee_fly_bobbing": "animation.bee.fly.bobbing", + "bee_root_controller": "controller.animation.bee.root" + }, + "particle_effects": { + "nectar_dripping": "minecraft:nectar_drip_particle" + }, + "scripts": { + "animate": [ + "bee_root_controller", + { "bee_no_stinger": "query.mark_variant == 1" } + ] + }, + "render_controllers": [ "controller.render.bee" ], + "spawn_egg": { + "texture": "egg_bee", + "texture_index": 0 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/blaze.entity.json b/resource_pack/entity/blaze.entity.json new file mode 100644 index 0000000..b2a0dc3 --- /dev/null +++ b/resource_pack/entity/blaze.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:blaze", + "min_engine_version": "1.8.0", + "materials": { + "body": "blaze_body", + "head": "blaze_head" + }, + "textures": { + "default": "textures/entity/blaze" + }, + "geometry": { + "default": "geometry.blaze" + }, + "animations": { + "look_at_target": "animation.common.look_at_target", + "move": "animation.blaze.move" + }, + "particle_effects": { + "charged_flames": "minecraft:mobflame_emitter" + }, + "animation_controllers": [ + { "move": "controller.animation.blaze.move" }, + { "flame": "controller.animation.blaze.flame" } + ], + "render_controllers": [ "controller.render.blaze" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 21 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/blaze.v1.0.entity.json b/resource_pack/entity/blaze.v1.0.entity.json new file mode 100644 index 0000000..2d3816f --- /dev/null +++ b/resource_pack/entity/blaze.v1.0.entity.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:blaze", + "materials": { + "body": "blaze_head", // this is backwards because the code had it backwards in the old rendering system. :( + "head": "blaze_body" + }, + "textures": { + "default": "textures/entity/blaze" + }, + "geometry": { + "default": "geometry.blaze" + }, + "animations": { + "look_at_target": "animation.common.look_at_target", + "move": "animation.blaze.move" + }, + "particle_effects": { + "charged_flames": "minecraft:mobflame_emitter" + }, + "animation_controllers": [ + { "move": "controller.animation.blaze.move" }, + { "flame": "controller.animation.blaze.flame" } + ], + "render_controllers": [ "controller.render.blaze" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 21 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/boat.entity.json b/resource_pack/entity/boat.entity.json new file mode 100644 index 0000000..4bcc1f3 --- /dev/null +++ b/resource_pack/entity/boat.entity.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:boat", + "textures": { + "default": "textures/entity/boat/boat_acacia", + "mangrove": "textures/entity/boat/mangrove_boat", + "bamboo": "textures/entity/boat/bamboo_raft", + "cherry": "textures/entity/boat/cherry_boat", + "paleoak": "textures/entity/boat/pale_oak_boat" + }, + "geometry": { + "default": "geometry.boat" + } + } + } +} diff --git a/resource_pack/entity/bogged.entity.json b/resource_pack/entity/bogged.entity.json new file mode 100644 index 0000000..3fc55cd --- /dev/null +++ b/resource_pack/entity/bogged.entity.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:bogged", + "materials": { + "default": "bogged", + "overlay": "bogged_clothes" + }, + "textures": { + "default": "textures/entity/skeleton/bogged", + "overlay": "textures/entity/skeleton/bogged_clothes" + }, + "geometry": { + "default": "geometry.skeleton.bogged", + "overlay": "geometry.bogged.armor" + }, + "spawn_egg": { + "base_color": "#8A9C72", + "overlay_color": "#314D1B" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "swimming": "animation.zombie.swimming", + "use_item_progress": "animation.humanoid.use_item_progress", + "skeleton_attack": "animation.skeleton.attack" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.zombie.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "skeleton_attack": "controller.animation.skeleton.attack" } + ], + "render_controllers": [ + "controller.render.bogged_clothes", + "controller.render.bogged" + ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/breeze.entity.json b/resource_pack/entity/breeze.entity.json new file mode 100644 index 0000000..d5d1a32 --- /dev/null +++ b/resource_pack/entity/breeze.entity.json @@ -0,0 +1,73 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:breeze", + "materials": { + "default": "breeze", + "breeze_eyes": "breeze_eyes", + "breeze_wind": "breeze_wind" + }, + "textures": { + "default": "textures/entity/breeze/breeze", + "breeze_wind": "textures/entity/breeze/breeze_wind", + "breeze_eyes": "textures/entity/breeze/breeze_eyes" + }, + "geometry": { + "default": "geometry.breeze", + "breeze_eyes": "geometry.breeze_eyes", + "breeze_wind_top": "geometry.breeze_wind_top", + "breeze_wind_mid": "geometry.breeze_wind_mid", + "breeze_wind_bottom": "geometry.breeze_wind_bottom" + }, + "spawn_egg": { + "base_color": "#af94df", + "overlay_color": "#9166df" + }, + "scripts": { + "animate": [ + "look_at_controller", + "idle_controller", + "move_controller", + "ground_particles_controller", + "shoot_controller", + "jump_controller" + ], + "should_update_effects_offscreen": "1.0" + }, + "animations": { + "look_at": "animation.common.look_at_target", + "idle": "animation.breeze.idle", + "jump": "animation.breeze.jump", + "shoot": "animation.breeze.shoot", + "slide": "animation.breeze.slide", + "idle_ground_particles": "animation.breeze.idle_ground_particles", + "slide_ground_particles": "animation.breeze.slide_ground_particles", + "whirl_sound": "animation.breeze.whirl_sound", + "idle_ground_sound": "animation.breeze.idle_ground_sound", + "look_at_controller": "controller.animation.breeze.look_at", + "idle_controller": "controller.animation.breeze.idle", + "move_controller": "controller.animation.breeze.move", + "ground_particles_controller": "controller.animation.breeze.ground_particles", + "shoot_controller": "controller.animation.breeze.shoot", + "jump_controller": "controller.animation.breeze.jump" + }, + "render_controllers": [ + "controller.render.breeze", + "controller.render.breeze_eyes", + "controller.render.breeze_wind_top", + "controller.render.breeze_wind_mid", + "controller.render.breeze_wind_bottom" + ], + "sound_effects": { + "charge": "mob.breeze.charge", + "inhale": "mob.breeze.inhale", + "slide": "mob.breeze.slide", + "whirl": "mob.breeze.whirl" + }, + "particle_effects": { + "ground_particles": "minecraft:breeze_ground_particle" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/breeze_wind_charge_projectile.entity.json b/resource_pack/entity/breeze_wind_charge_projectile.entity.json new file mode 100644 index 0000000..38f50ee --- /dev/null +++ b/resource_pack/entity/breeze_wind_charge_projectile.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:breeze_wind_charge_projectile", + "materials": { + "default": "breeze_wind" + }, + "textures": { + "default": "textures/entity/wind_charge" + }, + "geometry": { + "default": "geometry.wind_charge" + }, + "animations": { + "rotate": "animation.wind_charge.rotate" + }, + "scripts": { + "animate": [ + "rotate" + ] + }, + "render_controllers": [ "controller.render.wind_charge" ] + } + } +} diff --git a/resource_pack/entity/camel.entity.json b/resource_pack/entity/camel.entity.json new file mode 100644 index 0000000..362b06d --- /dev/null +++ b/resource_pack/entity/camel.entity.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:camel", + "materials": { + "default": "camel" + }, + "textures": { + "default": "textures/entity/camel/camel" + }, + "geometry": { + "default": "geometry.camel" + }, + "spawn_egg": { + "base_color": "#fcc369", + "overlay_color": "#cb9337" + }, + "scripts": { + "pre_animation": [ + "variable.dash_cooldown = (!(variable.last_dash_cooldown ?? true) && query.has_dash_cooldown) ? 2.75 : ( variable.dash_cooldown ?? 0 );", + "variable.dash_cooldown = math.max(0, variable.dash_cooldown-query.delta_time);", + "variable.dash_cooldown_progress = (2.75 - variable.dash_cooldown) / 2.75;", + "variable.last_dash_cooldown = query.has_dash_cooldown;", + + "variable.moving = query.modified_move_speed > 0.05 || query.vertical_speed > 0.05;", + "variable.xTargetRot = math.clamp(query.target_x_rotation, -30, 30);", + "variable.xHeadRot = variable.dash_cooldown_progress > 0 ? math.clamp(variable.xTargetRot + (45 * (1 - variable.dash_cooldown_progress)), -25, 70) : variable.xTargetRot;", + "variable.yHeadRot = math.clamp(query.target_y_rotation, -30, 30);" + ] + }, + "animations": { + "moving": "animation.camel.walk", + "sit_down": "animation.camel.sit_down", + "sitting": "animation.camel.sit", + "stand_up": "animation.camel.stand_up", + "look_at_target": "animation.camel.look_at_target", + "dashing": "animation.camel.dash", + "dashing_sound": "animation.camel.dash_sound", + "idle": "animation.camel.idle" + }, + "sound_effects": { + "sit_down": "mob.camel.sit", + "stand_up": "mob.camel.stand", + "dash": "mob.camel.dash" + }, + "animation_controllers": [ + { "general": "controller.animation.camel.general" }, + { "idle": "controller.animation.camel.idle" } + ], + "render_controllers": [ + "controller.render.camel" + ] + } + } +} diff --git a/resource_pack/entity/cat.entity.json b/resource_pack/entity/cat.entity.json new file mode 100644 index 0000000..063ad98 --- /dev/null +++ b/resource_pack/entity/cat.entity.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:cat", + "materials": { "default": "cat" }, + "textures": { + "white": "textures/entity/cat/white", + "black": "textures/entity/cat/tuxedo", + "red": "textures/entity/cat/redtabby", + "siamese": "textures/entity/cat/siamesecat", + "british": "textures/entity/cat/britishshorthair", + "calico": "textures/entity/cat/calico", + "persian": "textures/entity/cat/persian", + "ragdoll": "textures/entity/cat/ragdoll", + "tabby": "textures/entity/cat/tabby", + "jellie": "textures/entity/cat/jellie", + "all_black": "textures/entity/cat/allblackcat", + "white_tame": "textures/entity/cat/white_tame", + "black_tame": "textures/entity/cat/tuxedo_tame", + "red_tame": "textures/entity/cat/redtabby_tame", + "siamese_tame": "textures/entity/cat/siamesecat_tame", + "british_tame": "textures/entity/cat/britishshorthair_tame", + "calico_tame": "textures/entity/cat/calico_tame", + "persian_tame": "textures/entity/cat/persian_tame", + "ragdoll_tame": "textures/entity/cat/ragdoll_tame", + "tabby_tame": "textures/entity/cat/tabby_tame", + "all_black_tame": "textures/entity/cat/allblackcat_tame", + "jellie_tame": "textures/entity/cat/jellie_tame" + }, + "geometry": { + "default": "geometry.cat" + }, + "animations": { + "sneak": "animation.cat.sneak", + "walk": "animation.cat.walk", + "sprint": "animation.cat.sprint", + "sit": "animation.cat.sit", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.cat.baby_transform", + "lie_down": "animation.cat.lie_down" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.cat.look_at_target" }, + { "move": "controller.animation.cat.move" }, + { "baby": "controller.animation.cat.baby" } + ], + "render_controllers": [ "controller.render.cat" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 53 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/cave_spider.entity.json b/resource_pack/entity/cave_spider.entity.json new file mode 100644 index 0000000..66965c6 --- /dev/null +++ b/resource_pack/entity/cave_spider.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:cave_spider", + "min_engine_version": "1.8.0", + "materials": { + "default": "spider", + "invisible": "spider_invisible" + }, + "textures": { + "default": "textures/entity/spider/cave_spider" + }, + "geometry": { + "default": "geometry.spider.v1.8" + }, + "scripts": { + "scale": "0.7" + }, + "animations": { + "default_leg_pose": "animation.spider.default_leg_pose", + "look_at_target": "animation.spider.look_at_target", + "walk": "animation.spider.walk" + }, + "animation_controllers": [ + { "move": "controller.animation.spider.move" } + ], + "render_controllers": [ "controller.render.spider" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 22 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/cave_spider.v1.0.entity.json b/resource_pack/entity/cave_spider.v1.0.entity.json new file mode 100644 index 0000000..9609277 --- /dev/null +++ b/resource_pack/entity/cave_spider.v1.0.entity.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:cave_spider", + "materials": { + "default": "spider", + "invisible": "spider_invisible" + }, + "textures": { + "default": "textures/entity/spider/cave_spider" + }, + "geometry": { + "default": "geometry.spider" + }, + "scripts": { + "scale": "0.7" + }, + "animations": { + "default_leg_pose": "animation.spider.default_leg_pose", + "look_at_target": "animation.spider.look_at_target", + "walk": "animation.spider.walk" + }, + "animation_controllers": [ + { "move": "controller.animation.spider.move" } + ], + "render_controllers": [ "controller.render.spider" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 22 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/chest_boat.entity.json b/resource_pack/entity/chest_boat.entity.json new file mode 100644 index 0000000..7b6be7b --- /dev/null +++ b/resource_pack/entity/chest_boat.entity.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:chest_boat", + "textures": { + "default": "textures/entity/boat/chest_boat_oak", + "oak": "textures/entity/boat/chest_boat_oak", + "spruce": "textures/entity/boat/chest_boat_spruce", + "birch": "textures/entity/boat/chest_boat_birch", + "jungle": "textures/entity/boat/chest_boat_jungle", + "acacia": "textures/entity/boat/chest_boat_acacia", + "darkoak": "textures/entity/boat/chest_boat_darkoak", + "mangrove": "textures/entity/boat/chest_boat_mangrove", + "bamboo": "textures/entity/boat/chest_boat_bamboo", + "cherry": "textures/entity/boat/chest_boat_cherry", + "paleoak": "textures/entity/boat/chest_boat_pale_oak" + }, + "geometry": { + "default": "geometry.chest_boat" + } + } + } +} diff --git a/resource_pack/entity/chest_minecart.entity.json b/resource_pack/entity/chest_minecart.entity.json new file mode 100644 index 0000000..676cd15 --- /dev/null +++ b/resource_pack/entity/chest_minecart.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:chest_minecart", + "min_engine_version": "1.8.0", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/chest_minecart.v1.0.entity.json b/resource_pack/entity/chest_minecart.v1.0.entity.json new file mode 100644 index 0000000..55293de --- /dev/null +++ b/resource_pack/entity/chest_minecart.v1.0.entity.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:chest_minecart", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move.v1.0" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/chicken.entity.json b/resource_pack/entity/chicken.entity.json new file mode 100644 index 0000000..2aa53f8 --- /dev/null +++ b/resource_pack/entity/chicken.entity.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:chicken", + "min_engine_version": "1.12.0", + "materials": { + "default": "chicken", + "legs": "chicken_legs" + }, + "textures": { + "default": "textures/entity/chicken" + }, + "geometry": { + "default": "geometry.chicken.v1.12" + }, + "animations": { + "move": "animation.chicken.move", + "general": "animation.chicken.general", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.chicken.baby_transform" + }, + "scripts": { + "animate": [ + "general", + { "move": "query.modified_move_speed" }, + "look_at_target", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.chicken" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 0 + } + } + } +} diff --git a/resource_pack/entity/chicken.v1.0.entity.json b/resource_pack/entity/chicken.v1.0.entity.json new file mode 100644 index 0000000..87743e2 --- /dev/null +++ b/resource_pack/entity/chicken.v1.0.entity.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:chicken", + "materials": { + "default": "chicken", + "legs": "chicken_legs" + }, + "textures": { + "default": "textures/entity/chicken" + }, + "geometry": { + "default": "geometry.chicken" + }, + "animations": { + "move": "animation.chicken.move", + "general": "animation.chicken.general.v1.0", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.chicken.baby_transform" + }, + "scripts": { + "animate": [ + "general", + { "move": "query.modified_move_speed" }, + "look_at_target", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.chicken" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 0 + } + } + } +} diff --git a/resource_pack/entity/cod.entity.json b/resource_pack/entity/cod.entity.json new file mode 100644 index 0000000..ff159d5 --- /dev/null +++ b/resource_pack/entity/cod.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:cod", + "materials": { "default": "cod" }, + "textures": { + "default": "textures/entity/fish/cod" + }, + "geometry": { + "default": "geometry.cod" + }, + "scripts": { + "pre_animation": [ + "variable.ZRot = !query.is_in_water ? Math.cos((query.time_stamp + query.frame_alpha) * 14.32) * 90 : 0.0;", + "variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);" + ] + }, + "animations": { + "flop": "animation.cod.flop", + "swim": "animation.cod.swim" + }, + "animation_controllers": [ + { + "general": "controller.animation.fish.general" + } + ], + "render_controllers": [ "controller.render.cod" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 45 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/command_block_minecart.entity.json b/resource_pack/entity/command_block_minecart.entity.json new file mode 100644 index 0000000..9d439ca --- /dev/null +++ b/resource_pack/entity/command_block_minecart.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:command_block_minecart", + "min_engine_version": "1.8.0", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/command_block_minecart.v1.0.entity.json b/resource_pack/entity/command_block_minecart.v1.0.entity.json new file mode 100644 index 0000000..6d78412 --- /dev/null +++ b/resource_pack/entity/command_block_minecart.v1.0.entity.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:command_block_minecart", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move.v1.0" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/cow.entity.json b/resource_pack/entity/cow.entity.json new file mode 100644 index 0000000..88ac931 --- /dev/null +++ b/resource_pack/entity/cow.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:cow", + "min_engine_version": "1.8.0", + "materials": { "default": "cow" }, + "textures": { + "default": "textures/entity/cow/cow" + }, + "geometry": { + "default": "geometry.cow.v1.8" + }, + "animations": { + "setup": "animation.cow.setup", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.cow.baby_transform" + }, + "scripts": { + "animate": [ + "setup", + { "walk": "query.modified_move_speed" }, + "look_at_target", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.cow" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 1 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/cow.v1.0.entity.json b/resource_pack/entity/cow.v1.0.entity.json new file mode 100644 index 0000000..285def8 --- /dev/null +++ b/resource_pack/entity/cow.v1.0.entity.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:cow", + "materials": { "default": "cow" }, + "textures": { + "default": "textures/entity/cow/cow" + }, + "geometry": { + "default": "geometry.cow" + }, + "animations": { + "setup": "animation.cow.setup.v1.0", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.cow.baby_transform" + }, + "scripts": { + "animate": [ + "setup", + { "walk": "query.modified_move_speed" }, + "look_at_target", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.cow" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 1 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/creaking.entity.json b/resource_pack/entity/creaking.entity.json new file mode 100644 index 0000000..d15de5e --- /dev/null +++ b/resource_pack/entity/creaking.entity.json @@ -0,0 +1,71 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:creaking", + "materials": { + "default": "creaking", + "eyes": "creaking_eyes" + }, + "geometry": { + "default": "geometry.creaking" + }, + "textures": { + "default": "textures/entity/creaking/creaking", + "eyes": "textures/entity/creaking/creaking_eyes" + }, + "render_controllers": [ + "controller.render.creaking", + "controller.render.creaking_eyes" + ], + "scripts": { + "pre_animation": [ + "variable.state = query.property('minecraft:creaking_state');", + "variable.is_immobile = variable.state == 'hostile_observed';", + "variable.is_immobile_timer = !variable.is_immobile ? 0.0 : ((variable.is_immobile_timer ?? 0.0) + query.delta_time);", + "variable.y_head_rotation = query.target_y_rotation;", + "variable.walking = variable.is_immobile_timer < 0.75 && query.modified_move_speed > 0.01;", + "variable.attacking = variable.attack_time > 0.0;", + "variable.swaying = query.property('minecraft:creaking_swaying_ticks') > 0;", + "variable.twitching = variable.state == 'twitching';", + "variable.twitching_timer = !variable.twitching ? 0.0 : ((variable.twitching_timer ?? 0.0) + query.delta_time);", + "variable.emissive_time_min = variable.twitching_timer / 4.0;", + "variable.emissive_time_max = variable.emissive_time_min * 2.0f;", + "variable.time_to_emissive_eyes_switch = (!variable.twitching || (variable.has_switched_eyes_emissiveness_from_twitching ?? false)) ? ((variable.had_emissive_eyes_from_twitching ?? true) ? Math.Random(0.1, 0.4) : Math.Random(variable.emissive_time_min, variable.emissive_time_max)) : ((variable.time_to_emissive_eyes_switch ?? 0.0) - query.delta_time);", + "variable.had_emissive_eyes_from_twitching = variable.has_emissive_eyes_from_twitching ?? false;", + "variable.has_emissive_eyes_from_twitching = variable.time_to_emissive_eyes_switch < 0.0 ? !variable.had_emissive_eyes_from_twitching : variable.had_emissive_eyes_from_twitching;", + "variable.has_switched_eyes_emissiveness_from_twitching = variable.has_emissive_eyes_from_twitching != variable.had_emissive_eyes_from_twitching;", + "variable.has_emissive_eyes = variable.has_emissive_eyes_from_twitching || variable.state == 'hostile_observed' || variable.state == 'hostile_unobserved';" + ], + "animate": [ + "look_at_target_controller", + "walk_controller", + "attack_controller", + "sway_controller", + "twitch_controller" + ], + "should_update_effects_offscreen": "1.0" + }, + "animations": { + "look_at_target": "animation.creaking.look_at_target", + "look_at_target_controller": "controller.animation.creaking.look_at_target", + "walk": "animation.creaking.walk", + "walk_controller": "controller.animation.creaking.walk", + "attack": "animation.creaking.attack", + "attack_controller": "controller.animation.creaking.attack", + "sway": "animation.creaking.sway", + "sway_controller": "controller.animation.creaking.sway", + "twitch": "animation.creaking.twitch", + "twitch_controller": "controller.animation.creaking.twitch" + }, + "sound_effects": { + "sway": "mob.creaking.sway", + "twitch": "mob.creaking.twitch" + }, + "spawn_egg": { + "base_color": "#5f5f5f", + "overlay_color": "#fc7812" + } + } + } +} diff --git a/resource_pack/entity/creeper.entity.json b/resource_pack/entity/creeper.entity.json new file mode 100644 index 0000000..9a18344 --- /dev/null +++ b/resource_pack/entity/creeper.entity.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:creeper", + "min_engine_version": "1.8.0", + "materials": { + "default": "creeper", + "charged": "charged_creeper" + }, + "textures": { + "default": "textures/entity/creeper/creeper", + "charged": "textures/entity/creeper/creeper_armor" + }, + "geometry": { + "default": "geometry.creeper.v1.8", + "charged": "geometry.creeper.charged.v1.8" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 6 + }, + "scripts": { + "pre_animation": [ + "variable.wobble = Math.sin(query.swell_amount * 5730) * query.swell_amount * 0.01 + 1.0;", + "variable.swelling_scale1 = (Math.pow(Math.clamp(query.swell_amount, 0.0, 1.0), 4.0) * 0.4 + 1.0) * variable.wobble;", + "variable.swelling_scale2 = (Math.pow(Math.clamp(query.swell_amount, 0.0, 1.0), 4.0) * 0.1 + 1.0) / variable.wobble;", + "variable.leg_rot = Math.cos(query.modified_distance_moved * 38.17326) * 80.22 * query.modified_move_speed;", + "variable.flash = Math.mod(Math.Round(query.swell_amount * 10.0), 2.0);" + ] + }, + "animations": { + "creeper_head": "animation.common.look_at_target", + "creeper_legs": "animation.creeper.legs", + "creeper_swelling": "animation.creeper.swelling" + }, + "animation_controllers": [ + { "creeper_head": "controller.animation.creeper.head" }, + { "creeper_legs": "controller.animation.creeper.legs" }, + { "creeper_swelling": "controller.animation.creeper.swelling" } + ], + "render_controllers": [ "controller.render.creeper", "controller.render.creeper_armor" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/creeper.v1.0.entity.json b/resource_pack/entity/creeper.v1.0.entity.json new file mode 100644 index 0000000..cecb54e --- /dev/null +++ b/resource_pack/entity/creeper.v1.0.entity.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:creeper", + "materials": { + "default": "creeper", + "charged": "charged_creeper" + }, + "textures": { + "default": "textures/entity/creeper/creeper", + "charged": "textures/entity/creeper/creeper_armor" + }, + "geometry": { + "default": "geometry.creeper", + "charged": "geometry.creeper.charged" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 6 + }, + "scripts": { + "pre_animation": [ + "variable.wobble = Math.sin(query.swell_amount * 5730) * query.swell_amount * 0.01 + 1.0;", + "variable.swelling_scale1 = (Math.pow(Math.clamp(query.swell_amount, 0.0, 1.0), 4.0) * 0.4 + 1.0) * variable.wobble;", + "variable.swelling_scale2 = (Math.pow(Math.clamp(query.swell_amount, 0.0, 1.0), 4.0) * 0.1 + 1.0) / variable.wobble;", + "variable.leg_rot = Math.cos(query.modified_distance_moved * 38.17326) * 80.22 * query.modified_move_speed;", + "variable.flash = Math.mod(Math.Round(query.swell_amount * 10.0), 2.0);" + ] + }, + "animations": { + "creeper_head": "animation.common.look_at_target", + "creeper_legs": "animation.creeper.legs", + "creeper_swelling": "animation.creeper.swelling" + }, + "animation_controllers": [ + { "creeper_head": "controller.animation.creeper.head" }, + { "creeper_legs": "controller.animation.creeper.legs" }, + { "creeper_swelling": "controller.animation.creeper.swelling" } + ], + "render_controllers": [ "controller.render.creeper", "controller.render.creeper_armor" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/decorated_pot.entity.json b/resource_pack/entity/decorated_pot.entity.json new file mode 100644 index 0000000..7675a17 --- /dev/null +++ b/resource_pack/entity/decorated_pot.entity.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:decorated_pot", + "textures": { + "brick": "textures/blocks/decorated_pot_side", + "angler_pottery_sherd": "textures/blocks/angler_pottery_pattern", + "archer_pottery_sherd": "textures/blocks/archer_pottery_pattern", + "arms_up_pottery_sherd": "textures/blocks/arms_up_pottery_pattern", + "blade_pottery_sherd": "textures/blocks/blade_pottery_pattern", + "brewer_pottery_sherd": "textures/blocks/brewer_pottery_pattern", + "burn_pottery_sherd": "textures/blocks/burn_pottery_pattern", + "danger_pottery_sherd": "textures/blocks/danger_pottery_pattern", + "explorer_pottery_sherd": "textures/blocks/explorer_pottery_pattern", + "flow_pottery_sherd": "textures/blocks/flow_pottery_pattern", + "friend_pottery_sherd": "textures/blocks/friend_pottery_pattern", + "guster_pottery_sherd": "textures/blocks/guster_pottery_pattern", + "heart_pottery_sherd": "textures/blocks/heart_pottery_pattern", + "heartbreak_pottery_sherd": "textures/blocks/heartbreak_pottery_pattern", + "howl_pottery_sherd": "textures/blocks/howl_pottery_pattern", + "miner_pottery_sherd": "textures/blocks/miner_pottery_pattern", + "mourner_pottery_sherd": "textures/blocks/mourner_pottery_pattern", + "plenty_pottery_sherd": "textures/blocks/plenty_pottery_pattern", + "prize_pottery_sherd": "textures/blocks/prize_pottery_pattern", + "scrape_pottery_sherd": "textures/blocks/scrape_pottery_pattern", + "sheaf_pottery_sherd": "textures/blocks/sheaf_pottery_pattern", + "shelter_pottery_sherd": "textures/blocks/shelter_pottery_pattern", + "skull_pottery_sherd": "textures/blocks/skull_pottery_pattern", + "snort_pottery_sherd": "textures/blocks/snort_pottery_pattern" + } + } + } +} diff --git a/resource_pack/entity/dolphin.entity.json b/resource_pack/entity/dolphin.entity.json new file mode 100644 index 0000000..0834642 --- /dev/null +++ b/resource_pack/entity/dolphin.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:dolphin", + "materials": { "default": "dolphin" }, + "textures": { + "default": "textures/entity/dolphin" + }, + "geometry": { + "default": "geometry.dolphin" + }, + "animations": { + "move": "animation.dolphin.move" + }, + "animation_controllers": [ + { "general": "controller.animation.dolphin.general" } + ], + "render_controllers": [ "controller.render.dolphin" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 49 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/donkey_v1.entity.json b/resource_pack/entity/donkey_v1.entity.json new file mode 100644 index 0000000..2d9de24 --- /dev/null +++ b/resource_pack/entity/donkey_v1.entity.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:donkey", + "materials": { + "default": "horse" + }, + "textures": { + "donkey": "textures/entity/horse/donkey", + "markings_none": "textures/entity/horse/horse_markings_none", + "armor_none": "textures/entity/horse/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse" + }, + "animations": { + "setup": "animation.horse.setup", + "baby_transform": "animation.horse.baby_transform", + "walk": "animation.horse.walk", + "eat": "animation.horse.eat", + "stand": "animation.horse.stand", + "shake_tail": "animation.horse.shake_tail", + "mouth": "animation.horse.mouth", + "look_at_player": "animation.horse.look_at_player" + }, + "scripts": { + "scale": "0.87", + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;", + "variable.leg_back_origin = query.bone_origin('leg1a');", + "variable.leg_front_origin = query.bone_origin('leg3a');", + "variable.head_rotation = query.bone_rotation('head');" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.walk_tail_angle = math.clamp(query.modified_move_speed * 50.0, 0.0, 90.0) * (1.0 - variable.stand_anim);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_walk_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_walk_factor * 45.8 * query.modified_move_speed;", + "variable.leg_stand = math.cos((query.life_time * 20.0) * 34.38) * variable.stand_anim;", + "variable.baby_ratio = query.is_baby ? ((0.0625 - query.model_scale) * 16.0) : 0.0;" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + { "walk": "variable.stand_anim < 0.5" }, + { "stand": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "shake_tail": "variable.shake_tail" }, + "mouth", + "look_at_player" + ] + }, + "render_controllers": [ "controller.render.donkey.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 30 + } + } + } +} diff --git a/resource_pack/entity/donkey_v2.entity.json b/resource_pack/entity/donkey_v2.entity.json new file mode 100644 index 0000000..09e687a --- /dev/null +++ b/resource_pack/entity/donkey_v2.entity.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:donkey", + "min_engine_version": "1.2.6", + "materials": { + "default": "horse" + }, + "textures": { + "donkey": "textures/entity/horse2/donkey", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v2" + }, + "animations": { + "setup": "animation.horse.v2.setup", + "baby_transform": "animation.horse.v2.baby_transform", + "walk": "animation.horse.v2.walk", + "eat": "animation.horse.v2.eat", + "stand": "animation.horse.v2.stand", + "tail": "animation.horse.v2.tail" + }, + "scripts": { + "scale": "0.87", + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;", + "variable.leg1a_aabb = query.bone_aabb('leg1a');", + "variable.y_adjust = query.is_baby ? 0.0 : (variable.leg1a_aabb.max.y - variable.leg1a_aabb.min.y) * (1.0 - (query.model_scale * 16.0));" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + "walk", + "stand", + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.donkey.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 30 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/donkey_v3.entity.json b/resource_pack/entity/donkey_v3.entity.json new file mode 100644 index 0000000..88b4676 --- /dev/null +++ b/resource_pack/entity/donkey_v3.entity.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:donkey", + "min_engine_version": "1.17.10", + "materials": { + "default": "horse" + }, + "textures": { + "donkey": "textures/entity/horse2/donkey", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v3" + }, + "animations": { + "baby_transform": "animation.horse.v3.baby_transform", + "walk": "animation.horse.v3.walk", + "eat": "animation.horse.v3.eat", + "rear": "animation.horse.v3.rear", + "tail": "animation.horse.v3.tail", + "look_at_player": "animation.horse.v3.look_at_player" + }, + "scripts": { + "scale": "0.87", + "initialize": [ + "variable.eat_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;" + ], + "animate": [ + { "baby_transform": "query.is_baby" }, + "walk", + "look_at_player", + { "rear": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.donkey.v3" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 30 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/dragon_fireball.entity.json b/resource_pack/entity/dragon_fireball.entity.json new file mode 100644 index 0000000..de5b963 --- /dev/null +++ b/resource_pack/entity/dragon_fireball.entity.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:dragon_fireball", + "materials": { + "default": "fireball" + }, + "textures": { + "default": "textures/items/dragon_fireball" + }, + "geometry": { + "default": "geometry.fireball" + }, + "animations": { + "face_player": "animation.actor.billboard" + }, + "scripts": { + "scale": "2.0", + "animate": [ + "face_player" + ] + }, + "render_controllers": [ "controller.render.fireball" ] + } + } +} diff --git a/resource_pack/entity/drowned.entity.json b/resource_pack/entity/drowned.entity.json new file mode 100644 index 0000000..35c1dc8 --- /dev/null +++ b/resource_pack/entity/drowned.entity.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:drowned", + "min_engine_version": "1.16.0", + "materials": { + "default": "drowned" + }, + "textures": { + "default": "textures/entity/zombie/drowned" + }, + "geometry": { + "default": "geometry.zombie.drowned.v1.16" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ], + "animate": [ + { "humanoid_big_head": "query.is_baby" }, + "look_at_target", + "move", + { "riding.arms": "query.is_riding" }, + { "riding.legs": "query.is_riding" }, + "holding", + { "charging": "query.is_charging" }, + "attack_controller", + { "brandish_spear": "variable.is_brandishing_spear" }, + "bob", + { "damage_nearby_mobs": "variable.damage_nearby_mobs" }, + { "use_item_progress": "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 )" }, + { "swimming": "variable.swim_amount > 0.0" } + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "look_at_target": "controller.animation.humanoid.look_at_target", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "use_item_progress": "animation.humanoid.use_item_progress", + "attack_controller": "controller.animation.drowned.attack.rotations", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "attack_rotations": "animation.drowned.attack.rotations", + "swimming": "animation.zombie.swimming" + }, + "render_controllers": [ "controller.render.drowned" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 48 + } + } + } +} diff --git a/resource_pack/entity/drowned.v1.0.entity.json b/resource_pack/entity/drowned.v1.0.entity.json new file mode 100644 index 0000000..4a90ca4 --- /dev/null +++ b/resource_pack/entity/drowned.v1.0.entity.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:drowned", + "materials": { + "default": "drowned" + }, + "textures": { + "default": "textures/entity/zombie/drowned" + }, + "geometry": { + "default": "geometry.zombie.drowned" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ], + "animate": [ + { "humanoid_big_head": "query.is_baby" }, + "humanoid_base_pose", + "look_at_target", + "move", + { "riding.arms": "query.is_riding" }, + { "riding.legs": "query.is_riding" }, + "holding", + { "charging": "query.is_charging" }, + "attack_controller", + { "brandish_spear": "variable.is_brandishing_spear" }, + "bob", + { "damage_nearby_mobs": "variable.damage_nearby_mobs" }, + { "use_item_progress": "( variable.use_item_interval_progress > 0.0 ) || ( variable.use_item_startup_progress > 0.0 )" }, + { "swimming": "variable.swim_amount > 0.0" } + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head.v1.0", + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target": "controller.animation.humanoid.look_at_target", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "attack_controller": "controller.animation.drowned.attack.rotations", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "attack_rotations": "animation.drowned.attack.rotations.v1.0", + "swimming": "animation.drowned.swimming.v1.0" + }, + "render_controllers": [ "controller.render.drowned" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 48 + } + } + } +} diff --git a/resource_pack/entity/egg.entity.json b/resource_pack/entity/egg.entity.json new file mode 100644 index 0000000..e1104b3 --- /dev/null +++ b/resource_pack/entity/egg.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:egg", + "materials": { + "default": "egg" + }, + "textures": { + "default": "textures/items/egg" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.item_sprite" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/elder_guardian.entity.json b/resource_pack/entity/elder_guardian.entity.json new file mode 100644 index 0000000..e8d7856 --- /dev/null +++ b/resource_pack/entity/elder_guardian.entity.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:elder_guardian", + "min_engine_version": "1.8.0", + "materials": { + "default": "guardian", + "ghost": "guardian_ghost" + }, + "textures": { + "default": "textures/entity/guardian", + "elder": "textures/entity/guardian_elder", + "beam": "textures/entity/guardian_beam" + }, + "geometry": { + "default": "geometry.guardian.v1.8", + "ghost": "geometry.guardian" + }, + "animations": { + "setup": "animation.guardian.setup", + "spikes": "animation.guardian.spikes", + "swim": "animation.guardian.swim", + "look_at_target": "animation.common.look_at_target", + "move_eye": "animation.guardian.move_eye" + }, + "scripts": { + "initialize": [ + "variable.spike_animation_speed = 0.0;", + "variable.tail_animation_speed = 0.0;", + "variable.tail_swim = 0.0;" + ], + "pre_animation": [ + "variable.spike_shake = Math.sin(query.life_time * 2000)/50;", + "variable.spike_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? (Math.round(Math.sin(query.life_time * 2000)) == 0.0 ? (Math.random(0.0, 1.0)) : (variable.spike_animation_speed)) : (query.is_moving ? (variable.spike_animation_speed - variable.spike_animation_speed * 0.06) : (variable.spike_animation_speed + (1.0 - variable.spike_animation_speed) * 0.06)));", + "variable.spike_extension = (1.0 - variable.spike_animation_speed) * 0.55;", + "variable.tail_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? 2.0 : query.is_moving ? (variable.tail_animation_speed < 0.5 ? 4.0 : variable.tail_animation_speed + (0.5 - variable.tail_animation_speed) * 0.1) : variable.tail_animation_speed + (0.125 - variable.tail_animation_speed) * 0.2);", + "variable.tail_swim = query.life_time < 0.1 ? 0.0 : (variable.tail_swim + variable.tail_animation_speed);", + "variable.tail_base_angle = Math.sin(variable.tail_swim*20.0);" + ], + "scale": "2.35", + "animate": [ + "setup", + "spikes", + "swim", + "look_at_target", + "move_eye" + ] + }, + "render_controllers": [ "controller.render.guardian" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 36 + } + } + } +} diff --git a/resource_pack/entity/elder_guardian.entity.v1.0.json b/resource_pack/entity/elder_guardian.entity.v1.0.json new file mode 100644 index 0000000..0472969 --- /dev/null +++ b/resource_pack/entity/elder_guardian.entity.v1.0.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:elder_guardian", + "materials": { + "default": "guardian", + "ghost": "guardian_ghost" + }, + "textures": { + "default": "textures/entity/guardian", + "elder": "textures/entity/guardian_elder", + "beam": "textures/entity/guardian_beam" + }, + "geometry": { + "default": "geometry.guardian", + "ghost": "geometry.guardian" + }, + "animations": { + "setup": "animation.guardian.setup", + "spikes": "animation.guardian.spikes.v1.0", + "swim": "animation.guardian.swim", + "look_at_target": "animation.common.look_at_target", + "move_eye": "animation.guardian.move_eye.v1.0" + }, + "scripts": { + "initialize": [ + "variable.spike_animation_speed = 0.0;", + "variable.tail_animation_speed = 0.0;", + "variable.tail_swim = 0.0;" + ], + "pre_animation": [ + "variable.spike_shake = Math.sin(query.life_time * 2000)/50;", + "variable.spike_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? (Math.round(Math.sin(query.life_time * 2000)) == 0.0 ? (Math.random(0.0, 1.0)) : (variable.spike_animation_speed)) : (query.is_moving ? (variable.spike_animation_speed - variable.spike_animation_speed * 0.06) : (variable.spike_animation_speed + (1.0 - variable.spike_animation_speed) * 0.06)));", + "variable.spike_extension = (1.0 - variable.spike_animation_speed) * 0.55;", + "variable.tail_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? 2.0 : query.is_moving ? (variable.tail_animation_speed < 0.5 ? 4.0 : variable.tail_animation_speed + (0.5 - variable.tail_animation_speed) * 0.1) : variable.tail_animation_speed + (0.125 - variable.tail_animation_speed) * 0.2);", + "variable.tail_swim = query.life_time < 0.1 ? 0.0 : (variable.tail_swim + variable.tail_animation_speed);", + "variable.tail_base_angle = Math.sin(variable.tail_swim*20.0);" + ], + "scale": "2.35", + "animate": [ + "setup", + "spikes", + "swim", + "look_at_target", + "move_eye" + ] + }, + "render_controllers": [ "controller.render.guardian" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 36 + } + } + } +} diff --git a/resource_pack/entity/ender_crystal.entity.json b/resource_pack/entity/ender_crystal.entity.json new file mode 100644 index 0000000..8f8a591 --- /dev/null +++ b/resource_pack/entity/ender_crystal.entity.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ender_crystal", + "materials": { + "default": "ender_crystal" + }, + "textures": { + "default": "textures/entity/endercrystal/endercrystal", + "beam": "textures/entity/endercrystal/endercrystal_beam" + }, + "geometry": { + "default": "geometry.ender_crystal" + }, + "animations": { + "move": "animation.ender_crystal.move" + }, + "scripts": { + "initialize": [ + "variable.time_offset = Math.random(0, 100000);" + ], + "animate": [ + "move" + ], + "should_update_effects_offscreen": "1.0" + }, + "render_controllers": [ "controller.render.ender_crystal" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/ender_dragon.entity.json b/resource_pack/entity/ender_dragon.entity.json new file mode 100644 index 0000000..f351a74 --- /dev/null +++ b/resource_pack/entity/ender_dragon.entity.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ender_dragon", + "spawn_egg": { + "base_color": "#1c1c1c", + "overlay_color": "#e079fa" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/ender_eye.entity.json b/resource_pack/entity/ender_eye.entity.json new file mode 100644 index 0000000..7b4df6f --- /dev/null +++ b/resource_pack/entity/ender_eye.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:eye_of_ender_signal", + "materials": { + "default": "eye_of_ender_signal" + }, + "textures": { + "default": "textures/items/ender_eye" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.item_sprite" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/ender_pearl.entity.json b/resource_pack/entity/ender_pearl.entity.json new file mode 100644 index 0000000..4571c6c --- /dev/null +++ b/resource_pack/entity/ender_pearl.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ender_pearl", + "materials": { + "default": "ender_pearl" + }, + "textures": { + "default": "textures/items/ender_pearl" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.item_sprite" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/enderman.entity.json b/resource_pack/entity/enderman.entity.json new file mode 100644 index 0000000..380b1ea --- /dev/null +++ b/resource_pack/entity/enderman.entity.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:enderman", + "min_engine_version": "1.8.0", + "materials": { + "default": "enderman", + "invisible": "enderman_invisible" + }, + "textures": { + "default": "textures/entity/enderman/enderman" + }, + "geometry": { + "default": "geometry.enderman.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 28.65;" + ] + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "attack.rotations": "animation.humanoid.attack.rotations", + "bob": "animation.humanoid.bob", + "base_pose": "animation.enderman.base_pose", + "arms_legs": "animation.enderman.arms_legs", + "carrying": "animation.enderman.carrying", + "scary_face": "animation.enderman.scary_face" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "attack": "controller.animation.humanoid.attack" }, + { "bob": "controller.animation.humanoid.bob" }, + { "base_pose": "controller.animation.enderman.base_pose" }, + { "carrying": "controller.animation.enderman.carrying" }, + { "scary_face": "controller.animation.enderman.scary_face" } + ], + "render_controllers": [ "controller.render.enderman" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 7 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/enderman.v1.0.entity.json b/resource_pack/entity/enderman.v1.0.entity.json new file mode 100644 index 0000000..d0b1500 --- /dev/null +++ b/resource_pack/entity/enderman.v1.0.entity.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:enderman", + "materials": { + "default": "enderman", + "invisible": "enderman_invisible" + }, + "textures": { + "default": "textures/entity/enderman/enderman" + }, + "geometry": { + "default": "geometry.enderman" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 28.65;" + ] + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "attack.rotations": "animation.humanoid.attack.rotations", + "bob": "animation.humanoid.bob", + "base_pose": "animation.enderman.base_pose_v1.0", + "arms_legs": "animation.enderman.arms_legs", + "carrying": "animation.enderman.carrying", + "scary_face": "animation.enderman.scary_face_v1.0" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "attack": "controller.animation.humanoid.attack" }, + { "bob": "controller.animation.humanoid.bob" }, + { "base_pose": "controller.animation.enderman.base_pose" }, + { "carrying": "controller.animation.enderman.carrying" }, + { "scary_face": "controller.animation.enderman.scary_face" } + ], + "render_controllers": [ "controller.render.enderman" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 7 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/endermite.entity.json b/resource_pack/entity/endermite.entity.json new file mode 100644 index 0000000..93a0d93 --- /dev/null +++ b/resource_pack/entity/endermite.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:endermite", + "materials": { "default": "endermite" }, + "textures": { + "default": "textures/entity/endermite" + }, + "geometry": { + "default": "geometry.endermite" + }, + "animations": { + "move": "animation.endermite.move" + }, + "animation_controllers": [ + { "move": "controller.animation.endermite.move" } + ], + "render_controllers": [ "controller.render.endermite" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 25 + } + } + } +} diff --git a/resource_pack/entity/evocation_fang.entity.json b/resource_pack/entity/evocation_fang.entity.json new file mode 100644 index 0000000..9e7d915 --- /dev/null +++ b/resource_pack/entity/evocation_fang.entity.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:evocation_fang", + "materials": { + "default": "fang" + }, + "textures": { + "default": "textures/entity/illager/fangs" + }, + "geometry": { + "default": "geometry.evocation_fang" + }, + "scripts": { + "pre_animation": [ + "variable.remaining_life = (query.life_span - 2.0) - (query.life_time*20.0);", + "variable.animation_progress = query.life_span == 0.0 ? 0.0 : (variable.remaining_life < 1.0 ? 1.0 : 1.0 - Math.min(1.0, variable.remaining_life / 20.0));", + "variable.bite_amount = (1 - Math.Pow(Math.Clamp(variable.animation_progress*2.0, 0, 1.0), 3.0)) * 0.35 * 180;", + "variable.y_offset = (variable.animation_progress + Math.sin(variable.animation_progress*2.7*80.0)) * 0.6 * 12.0;" + ], + "animate": [ + "bite" + ], + "scale": "variable.animation_progress > 0.9 ? (1.0 - variable.animation_progress) / 0.1 : 1.0" + }, + "animations": { + "bite": "animation.evocation_fang.bite" + }, + "render_controllers": [ "controller.render.evocation_fang" ] + } + } +} diff --git a/resource_pack/entity/evocation_illager.entity.json b/resource_pack/entity/evocation_illager.entity.json new file mode 100644 index 0000000..6a89a2b --- /dev/null +++ b/resource_pack/entity/evocation_illager.entity.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:evocation_illager", + "min_engine_version": "1.8.0", + "materials": { + "default": "evoker" + }, + "textures": { + "default": "textures/entity/illager/evoker" + }, + "geometry": { + "default": "geometry.evoker.v1.8" + }, + "scripts": { + "scale": "0.9375", + "animate": [ + "controller_general", + "controller_move" + ] + }, + "animations": { + "general": "animation.evoker.general", + "casting": "animation.evoker.casting", + "look_at_target": "animation.common.look_at_target", + "move": "animation.evoker.move", + "riding.legs": "animation.humanoid.riding.legs", + "celebrating": "animation.humanoid.celebrating", + "controller_general": "controller.animation.evoker.general", + "controller_move": "controller.animation.villager.move", + "controller_riding": "controller.animation.humanoid.riding_legs_only" + }, + "particle_effects": { + "spell": "minecraft:evoker_spell" + }, + "render_controllers": [ "controller.render.evoker" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 40 + } + } + } +} diff --git a/resource_pack/entity/evocation_illager.v1.0.entity.json b/resource_pack/entity/evocation_illager.v1.0.entity.json new file mode 100644 index 0000000..5c01640 --- /dev/null +++ b/resource_pack/entity/evocation_illager.v1.0.entity.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:evocation_illager", + "materials": { + "default": "evoker" + }, + "textures": { + "default": "textures/entity/illager/evoker" + }, + "geometry": { + "default": "geometry.evoker" + }, + "scripts": { + "scale": "0.9375" + }, + "animations": { + "general": "animation.evoker.general.v1.0", + "casting": "animation.evoker.casting.v1.0", + "look_at_target": "animation.humanoid.look_at_target.default.v1.0", + "move": "animation.villager.move", + "riding.legs": "animation.humanoid.riding.legs", + "controller_riding": "controller.animation.humanoid.riding_legs_only" + }, + "animation_controllers": [ + { "general": "controller.animation.evoker.general.v1.0" }, + { "move": "controller.animation.villager.move" } + ], + "particle_effects": { + "spell": "minecraft:evoker_spell" + }, + "render_controllers": [ "controller.render.evoker" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 40 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/experience_bottle.entity.json b/resource_pack/entity/experience_bottle.entity.json new file mode 100644 index 0000000..65f61f8 --- /dev/null +++ b/resource_pack/entity/experience_bottle.entity.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:xp_bottle", + "materials": { + "default": "xp_bottle" + }, + "textures": { + "default": "textures/items/experience_bottle", + "enchanted": "textures/misc/enchanted_item_glint" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.experience_bottle" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/experience_orb.entity.json b/resource_pack/entity/experience_orb.entity.json new file mode 100644 index 0000000..d6fff5c --- /dev/null +++ b/resource_pack/entity/experience_orb.entity.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:xp_orb", + "materials": { + "default": "experience_orb" + }, + "textures": { + "default": "textures/entity/experience_orb" + }, + "geometry": { + "default": "geometry.experience_orb" + }, + "animations": { + "face_player": "animation.actor.billboard" + }, + "scripts": { + "scale": "0.3", + "pre_animation": [ + "variable.u = Math.mod(query.texture_frame_index, 4) * 16.0 / 64.0;", + "variable.v = math.round(query.texture_frame_index / 4) * 16.0 / 64.0;" + ], + "animate": [ + "face_player" + ] + }, + "render_controllers": [ "controller.render.experience_orb" ] + } + } +} diff --git a/resource_pack/entity/fireball.entity.json b/resource_pack/entity/fireball.entity.json new file mode 100644 index 0000000..cc60053 --- /dev/null +++ b/resource_pack/entity/fireball.entity.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:fireball", + "materials": { + "default": "fireball" + }, + "textures": { + "default": "textures/items/fireball" + }, + "geometry": { + "default": "geometry.fireball" + }, + "animations": { + "face_player": "animation.actor.billboard" + }, + "scripts": { + "scale": "2.0", + "animate": [ + "face_player" + ] + }, + "render_controllers": [ "controller.render.fireball" ] + } + } +} diff --git a/resource_pack/entity/fireworks_rocket.entity.json b/resource_pack/entity/fireworks_rocket.entity.json new file mode 100644 index 0000000..b1d7cd7 --- /dev/null +++ b/resource_pack/entity/fireworks_rocket.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:fireworks_rocket", + "materials": { + "default": "fireworks_rocket" + }, + "textures": { + "default": "textures/entity/fireworks" + }, + "geometry": { + "default": "geometry.fireworks_rocket" + }, + "animations": { + "move": "animation.fireworks_rocket.move" + }, + "scripts": { + "animate": [ + "move" + ] + }, + "render_controllers": [ "controller.render.fireworks_rocket" ] + } + } +} diff --git a/resource_pack/entity/fishing_hook.entity.json b/resource_pack/entity/fishing_hook.entity.json new file mode 100644 index 0000000..170cb17 --- /dev/null +++ b/resource_pack/entity/fishing_hook.entity.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:fishing_hook", + "materials": { + "default": "fishing_hook" + }, + "textures": { + "default": "textures/entity/fishhook" + }, + "geometry": { + "default": "geometry.fishing_hook" + }, + "render_controllers": [ "controller.render.fishing_hook" ] + } + } +} diff --git a/resource_pack/entity/fox.entity.json b/resource_pack/entity/fox.entity.json new file mode 100644 index 0000000..31ad1ef --- /dev/null +++ b/resource_pack/entity/fox.entity.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:fox", + "materials": { "default": "fox" }, + "textures": { + "red": "textures/entity/fox/fox", + "arctic": "textures/entity/fox/arctic_fox" + }, + "geometry": { + "default": "geometry.fox" + }, + "animations": { + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.fox.baby_transform", + "crouch": "animation.fox.crouch", + "sleep": "animation.fox.sleep", + "setup": "animation.fox.setup", + "sit": "animation.fox.sit", + "wiggle": "animation.fox.wiggle", + "stuck": "animation.fox.stuck", + "pounce": "animation.fox.pounce", + "move": "controller.animation.fox.move" + }, + "scripts": { + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + "move" + ] + }, + "render_controllers": [ "controller.render.fox" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 55 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/frog.entity.json b/resource_pack/entity/frog.entity.json new file mode 100644 index 0000000..0d9b869 --- /dev/null +++ b/resource_pack/entity/frog.entity.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:frog", + "materials": { "default": "frog" }, + "textures": { + "temperate": "textures/entity/frog/temperate_frog", + "cold": "textures/entity/frog/cold_frog", + "warm": "textures/entity/frog/warm_frog" + }, + "geometry": { + "default": "geometry.frog" + }, + "spawn_egg": { + "base_color": "#d07444", + "overlay_color": "#ffc77c" + }, + "scripts": { + "pre_animation": [ + "variable.moving = query.ground_speed > 0 || query.vertical_speed > 0;" + ] + }, + "animations": { + "croak": "animation.frog.croak", + "jump": "animation.frog.jump", + "tongue": "animation.frog.tongue", + "walk": "animation.frog.walk", + "swim": "animation.frog.swim", + "idle_water": "animation.frog.idle.water", + "look_at_target": "animation.common.look_at_target" + }, + "animation_controllers": [ + { "general": "controller.animation.frog.general" }, + { "croaking": "controller.animation.frog.croaking" }, + { "eat_mob": "controller.animation.frog.eat_mob" } + ], + "render_controllers": [ "controller.render.frog" ] + } + } +} diff --git a/resource_pack/entity/ghast.entity.json b/resource_pack/entity/ghast.entity.json new file mode 100644 index 0000000..cd40d3d --- /dev/null +++ b/resource_pack/entity/ghast.entity.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ghast", + "materials": { "default": "ghast" }, + "textures": { + "default": "textures/entity/ghast/ghast", + "shooting": "textures/entity/ghast/ghast_shooting" + }, + "geometry": { + "default": "geometry.ghast" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 19 + }, + "animations": { + "move": "animation.ghast.move", + "scale": "animation.ghast.scale" + }, + "animation_controllers": [ + { "move": "controller.animation.ghast.move" }, + { "scale": "controller.animation.ghast.scale" } + ], + "render_controllers": [ "controller.render.ghast" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/glow_squid.entity.json b/resource_pack/entity/glow_squid.entity.json new file mode 100644 index 0000000..b9b435e --- /dev/null +++ b/resource_pack/entity/glow_squid.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:glow_squid", + "materials": { "default": "glow_squid" }, + "textures": { + "default": "textures/entity/glow_squid/glow_squid" + }, + "geometry": { + "default": "geometry.squid" + }, + "animations": { + "move": "animation.squid.move", + "squid_rotate": "animation.squid.rotate" + }, + "scripts": { + "animate": [ + "move", + "squid_rotate" + ] + }, + "render_controllers": [ "controller.render.glow_squid" ], + "spawn_egg": { + "base_color": "#0x095656", + "overlay_color": "#0x85f1bc" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/goat.entity.json b/resource_pack/entity/goat.entity.json new file mode 100644 index 0000000..f197286 --- /dev/null +++ b/resource_pack/entity/goat.entity.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:goat", + "materials": { "default": "goat" }, + "textures": { + "default": "textures/entity/goat/goat" + }, + "geometry": { + "default": "geometry.goat" + }, + "spawn_egg": { + "base_color": "#c0ac90", + "overlay_color": "#857261" + }, + "scripts": { + "pre_animation": [ + "variable.tcos_right_side = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.tcos_left_side = -variable.tcos_right_side;", + "variable.attack_head_rot = Math.sin(variable.attack_time * 180.0) * -37.3;", + "variable.ram_head_rot = Math.sin(variable.should_bow_head * 90.0) * 37.3;" + ], + "animate": [ + "walk", + "look_at_target", + { "attack": "variable.has_target && variable.attack_time >= 0.0" }, + "ram_attack" + ] + }, + "animations": { + "walk": "animation.goat.walk", + "look_at_target": "animation.goat.look_at_target", + "attack": "animation.goat.attack", + "ram_attack": "animation.goat.ram_attack" + }, + "render_controllers": [ "controller.render.goat" ] + } + } + } + \ No newline at end of file diff --git a/resource_pack/entity/guardian.entity.json b/resource_pack/entity/guardian.entity.json new file mode 100644 index 0000000..8a25d7a --- /dev/null +++ b/resource_pack/entity/guardian.entity.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:guardian", + "min_engine_version": "1.8.0", + "materials": { + "default": "guardian", + "ghost": "guardian_ghost" + }, + "textures": { + "default": "textures/entity/guardian", + "elder": "textures/entity/guardian_elder", + "beam": "textures/entity/guardian_beam" + }, + "geometry": { + "default": "geometry.guardian.v1.8", + "ghost": "geometry.guardian" + }, + "animations": { + "setup": "animation.guardian.setup", + "spikes": "animation.guardian.spikes", + "swim": "animation.guardian.swim", + "look_at_target": "animation.common.look_at_target", + "move_eye": "animation.guardian.move_eye" + }, + "scripts": { + "initialize": [ + "variable.spike_animation_speed = 0.0;", + "variable.tail_animation_speed = 0.0;", + "variable.tail_swim = 0.0;" + ], + "pre_animation": [ + "variable.spike_shake = Math.sin(query.life_time * 2000)/50;", + "variable.spike_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? (Math.round(Math.sin(query.life_time * 2000)) == 0.0 ? (Math.random(0.0, 1.0)) : (variable.spike_animation_speed)) : (query.is_moving ? (variable.spike_animation_speed - variable.spike_animation_speed * 0.06) : (variable.spike_animation_speed + (1.0 - variable.spike_animation_speed) * 0.06)));", + "variable.spike_extension = (1.0 - variable.spike_animation_speed) * 0.55;", + "variable.tail_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? 2.0 : query.is_moving ? (variable.tail_animation_speed < 0.5 ? 4.0 : variable.tail_animation_speed + (0.5 - variable.tail_animation_speed) * 0.1) : variable.tail_animation_speed + (0.125 - variable.tail_animation_speed) * 0.2);", + "variable.tail_swim = query.life_time < 0.1 ? 0.0 : (variable.tail_swim + variable.tail_animation_speed);", + "variable.tail_base_angle = Math.sin(variable.tail_swim*20.0);" + ], + "animate": [ + "setup", + "spikes", + "swim", + "look_at_target", + "move_eye" + ] + }, + "render_controllers": [ "controller.render.guardian" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 26 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/guardian.entity.v1.0.json b/resource_pack/entity/guardian.entity.v1.0.json new file mode 100644 index 0000000..2315981 --- /dev/null +++ b/resource_pack/entity/guardian.entity.v1.0.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:guardian", + "materials": { + "default": "guardian", + "ghost": "guardian_ghost" + }, + "textures": { + "default": "textures/entity/guardian", + "elder": "textures/entity/guardian_elder", + "beam": "textures/entity/guardian_beam" + }, + "geometry": { + "default": "geometry.guardian", + "ghost": "geometry.guardian" + }, + "animations": { + "setup": "animation.guardian.setup", + "spikes": "animation.guardian.spikes.v1.0", + "swim": "animation.guardian.swim", + "look_at_target": "animation.common.look_at_target", + "move_eye": "animation.guardian.move_eye.v1.0" + }, + "scripts": { + "initialize": [ + "variable.spike_animation_speed = 0.0;", + "variable.tail_animation_speed = 0.0;", + "variable.tail_swim = 0.0;" + ], + "pre_animation": [ + "variable.spike_shake = Math.sin(query.life_time * 2000)/50;", + "variable.spike_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? (Math.round(Math.sin(query.life_time * 2000)) == 0.0 ? (Math.random(0.0, 1.0)) : (variable.spike_animation_speed)) : (query.is_moving ? (variable.spike_animation_speed - variable.spike_animation_speed * 0.06) : (variable.spike_animation_speed + (1.0 - variable.spike_animation_speed) * 0.06)));", + "variable.spike_extension = (1.0 - variable.spike_animation_speed) * 0.55;", + "variable.tail_animation_speed = query.life_time < 0.1 ? 0.0 : (!query.is_in_water ? 2.0 : query.is_moving ? (variable.tail_animation_speed < 0.5 ? 4.0 : variable.tail_animation_speed + (0.5 - variable.tail_animation_speed) * 0.1) : variable.tail_animation_speed + (0.125 - variable.tail_animation_speed) * 0.2);", + "variable.tail_swim = query.life_time < 0.1 ? 0.0 : (variable.tail_swim + variable.tail_animation_speed);", + "variable.tail_base_angle = Math.sin(variable.tail_swim*20.0);" + ], + "animate": [ + "setup", + "spikes", + "swim", + "look_at_target", + "move_eye" + ] + }, + "render_controllers": [ "controller.render.guardian" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 26 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/hoglin.entity.json b/resource_pack/entity/hoglin.entity.json new file mode 100644 index 0000000..b185405 --- /dev/null +++ b/resource_pack/entity/hoglin.entity.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:hoglin", + "materials": { "default": "hoglin" }, + "textures": { + "default": "textures/entity/hoglin/hoglin" + }, + "geometry": { + "default": "geometry.hoglin" + }, + "spawn_egg": { + "base_color": "#C66E55", + "overlay_color": "#5f6464" + }, + "scripts": { + "pre_animation": [ + "variable.tcos_right_side = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.tcos_left_side = -variable.tcos_right_side;", + "variable.attack_head_rot = Math.sin(variable.attack_time * 180.0) * -37.3;" + ] + }, + "animations": { + "walk": "animation.hoglin.walk", + "look_at_target": "animation.hoglin.look_at_target", + "attack": "animation.hoglin.attack", + "hoglin_baby_scaling": "animation.hoglin.baby_scaling" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.hoglin.look_at_target" }, + { "walk": "controller.animation.hoglin.walk" }, + { "attack": "controller.animation.hoglin.attack" }, + { "hoglin_baby_scaling": "controller.animation.hoglin.baby_scaling"} + ], + "render_controllers": [ "controller.render.hoglin" ] + } + } +} diff --git a/resource_pack/entity/hopper_minecart.entity.json b/resource_pack/entity/hopper_minecart.entity.json new file mode 100644 index 0000000..1d66c4f --- /dev/null +++ b/resource_pack/entity/hopper_minecart.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:hopper_minecart", + "min_engine_version": "1.8.0", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/hopper_minecart.v1.0.entity.json b/resource_pack/entity/hopper_minecart.v1.0.entity.json new file mode 100644 index 0000000..51f9483 --- /dev/null +++ b/resource_pack/entity/hopper_minecart.v1.0.entity.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:hopper_minecart", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move.v1.0" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/horse_v1.entity.json b/resource_pack/entity/horse_v1.entity.json new file mode 100644 index 0000000..cc817b3 --- /dev/null +++ b/resource_pack/entity/horse_v1.entity.json @@ -0,0 +1,80 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:horse", + "materials": { + "default": "horse_leather_armor" + }, + "textures": { + "base_brown": "textures/entity/horse/horse_brown", + "base_white": "textures/entity/horse/horse_white", + "base_creamy": "textures/entity/horse/horse_creamy", + "base_chestnut": "textures/entity/horse/horse_chestnut", + "base_black": "textures/entity/horse/horse_black", + "base_gray": "textures/entity/horse/horse_gray", + "base_darkbrown": "textures/entity/horse/horse_darkbrown", + "markings_none": "textures/entity/horse/horse_markings_none", + "markings_white": "textures/entity/horse/horse_markings_white", + "markings_whitefield": "textures/entity/horse/horse_markings_whitefield", + "markings_whitedots": "textures/entity/horse/horse_markings_whitedots", + "markings_blackdots": "textures/entity/horse/horse_markings_blackdots", + "armor_none": "textures/entity/horse/armor/horse_armor_none", + "armor_leather": "textures/entity/horse/armor/horse_armor_leather", + "armor_iron": "textures/entity/horse/armor/horse_armor_iron", + "armor_gold": "textures/entity/horse/armor/horse_armor_gold", + "armor_diamond": "textures/entity/horse/armor/horse_armor_diamond" + }, + "geometry": { + "default": "geometry.horse" + }, + "animations": { + "setup": "animation.horse.setup", + "baby_transform": "animation.horse.baby_transform", + "walk": "animation.horse.walk", + "eat": "animation.horse.eat", + "stand": "animation.horse.stand", + "shake_tail": "animation.horse.shake_tail", + "mouth": "animation.horse.mouth", + "look_at_player": "animation.horse.look_at_player" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;", + "variable.leg_back_origin = query.bone_origin('leg1a');", + "variable.leg_front_origin = query.bone_origin('leg3a');", + "variable.head_rotation = query.bone_rotation('head');" + ], + "pre_animation": [ + "variable.armor_texture_slot = query.armor_texture_slot(4);", + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.walk_tail_angle = math.clamp(query.modified_move_speed * 50.0, 0.0, 90.0) * (1.0 - variable.stand_anim);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_walk_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_walk_factor * 45.8 * query.modified_move_speed;", + "variable.leg_stand = math.cos((query.life_time * 20.0) * 34.38) * variable.stand_anim;", + "variable.baby_ratio = query.is_baby ? ((0.0625 - query.model_scale) * 16.0) : 0.0;" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + { "walk": "variable.stand_anim < 0.5" }, + { "stand": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "shake_tail": "variable.shake_tail" }, + "mouth", + "look_at_player" + ] + }, + "render_controllers": [ "controller.render.horse.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 23 + } + } + } +} diff --git a/resource_pack/entity/horse_v2.entity.json b/resource_pack/entity/horse_v2.entity.json new file mode 100644 index 0000000..f0b3efa --- /dev/null +++ b/resource_pack/entity/horse_v2.entity.json @@ -0,0 +1,73 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:horse", + "min_engine_version": "1.2.6", + "materials": { + "default": "horse_leather_armor" + }, + "textures": { + "base_brown": "textures/entity/horse2/horse_brown", + "base_white": "textures/entity/horse2/horse_white", + "base_creamy": "textures/entity/horse2/horse_creamy", + "base_chestnut": "textures/entity/horse2/horse_chestnut", + "base_black": "textures/entity/horse2/horse_black", + "base_gray": "textures/entity/horse2/horse_gray", + "base_darkbrown": "textures/entity/horse2/horse_darkbrown", + "markings_none": "textures/entity/horse2/horse_markings_none", + "markings_white": "textures/entity/horse2/horse_markings_white", + "markings_whitefield": "textures/entity/horse2/horse_markings_whitefield", + "markings_whitedots": "textures/entity/horse2/horse_markings_whitedots", + "markings_blackdots": "textures/entity/horse2/horse_markings_blackdots", + "armor_none": "textures/entity/horse2/armor/horse_armor_none", + "armor_leather": "textures/entity/horse2/armor/horse_armor_leather", + "armor_iron": "textures/entity/horse2/armor/horse_armor_iron", + "armor_gold": "textures/entity/horse2/armor/horse_armor_gold", + "armor_diamond": "textures/entity/horse2/armor/horse_armor_diamond" + }, + "geometry": { + "default": "geometry.horse.v2" + }, + "animations": { + "setup": "animation.horse.v2.setup", + "baby_transform": "animation.horse.v2.baby_transform", + "walk": "animation.horse.v2.walk", + "eat": "animation.horse.v2.eat", + "stand": "animation.horse.v2.stand", + "tail": "animation.horse.v2.tail" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;" + ], + "pre_animation": [ + "variable.armor_texture_slot = query.armor_texture_slot(4);", + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;", + "variable.leg1a_aabb = query.bone_aabb('leg1a');", + "variable.y_adjust = query.is_baby ? 0.0 : (variable.leg1a_aabb.max.y - variable.leg1a_aabb.min.y) * (1.0 - (query.model_scale * 16.0));" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + "walk", + "stand", + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.horse.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 23 + } + } + } +} diff --git a/resource_pack/entity/horse_v3.entity.json b/resource_pack/entity/horse_v3.entity.json new file mode 100644 index 0000000..61ad1a9 --- /dev/null +++ b/resource_pack/entity/horse_v3.entity.json @@ -0,0 +1,68 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:horse", + "min_engine_version": "1.17.10", + "materials": { + "default": "horse_leather_armor" + }, + "textures": { + "base_brown": "textures/entity/horse2/horse_brown", + "base_white": "textures/entity/horse2/horse_white", + "base_creamy": "textures/entity/horse2/horse_creamy", + "base_chestnut": "textures/entity/horse2/horse_chestnut", + "base_black": "textures/entity/horse2/horse_black", + "base_gray": "textures/entity/horse2/horse_gray", + "base_darkbrown": "textures/entity/horse2/horse_darkbrown", + "markings_none": "textures/entity/horse2/horse_markings_none", + "markings_white": "textures/entity/horse2/horse_markings_white", + "markings_whitefield": "textures/entity/horse2/horse_markings_whitefield", + "markings_whitedots": "textures/entity/horse2/horse_markings_whitedots", + "markings_blackdots": "textures/entity/horse2/horse_markings_blackdots", + "armor_none": "textures/entity/horse2/armor/horse_armor_none", + "armor_leather": "textures/entity/horse2/armor/horse_armor_leather", + "armor_iron": "textures/entity/horse2/armor/horse_armor_iron", + "armor_gold": "textures/entity/horse2/armor/horse_armor_gold", + "armor_diamond": "textures/entity/horse2/armor/horse_armor_diamond" + }, + "geometry": { + "default": "geometry.horse.v3" + }, + "animations": { + "baby_transform": "animation.horse.v3.baby_transform", + "walk": "animation.horse.v3.walk", + "eat": "animation.horse.v3.eat", + "rear": "animation.horse.v3.rear", + "tail": "animation.horse.v3.tail", + "look_at_player": "animation.horse.v3.look_at_player" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;" + ], + "pre_animation": [ + "variable.armor_texture_slot = query.armor_texture_slot(4);", + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;" + ], + "animate": [ + { "baby_transform": "query.is_baby" }, + "walk", + "look_at_player", + { "rear": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.horse.v3" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 23 + } + } + } +} diff --git a/resource_pack/entity/husk.entity.json b/resource_pack/entity/husk.entity.json new file mode 100644 index 0000000..3977ab6 --- /dev/null +++ b/resource_pack/entity/husk.entity.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:husk", + "min_engine_version": "1.8.0", + "materials": { "default": "husk" }, + "textures": { "default": "textures/entity/zombie/husk" }, + "geometry": { "default": "geometry.zombie.husk.v1.8" }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "use_item_progress": "animation.humanoid.use_item_progress", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "swimming": "animation.zombie.swimming" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" }, + { "swimming": "controller.animation.zombie.swimming" } + ], + "render_controllers": [ "controller.render.husk" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 28 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/husk.v1.0.entity.json b/resource_pack/entity/husk.v1.0.entity.json new file mode 100644 index 0000000..7fe5e10 --- /dev/null +++ b/resource_pack/entity/husk.v1.0.entity.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:husk", + "materials": { "default": "husk" }, + "textures": { "default": "textures/entity/zombie/husk" }, + "geometry": { "default": "geometry.zombie.husk" }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "zombie_swimming": "animation.zombie.swimming" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" }, + { "zombie_swimming": "controller.animation.zombie.swimming" } + ], + "render_controllers": [ "controller.render.husk" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 28 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/ice_bomb.entity.json b/resource_pack/entity/ice_bomb.entity.json new file mode 100644 index 0000000..6452702 --- /dev/null +++ b/resource_pack/entity/ice_bomb.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ice_bomb", + "materials": { + "default": "ice_bomb" + }, + "textures": { + "default": "textures/items/ice_bomb" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.item_sprite" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/iron_golem.entity.json b/resource_pack/entity/iron_golem.entity.json new file mode 100644 index 0000000..78a7971 --- /dev/null +++ b/resource_pack/entity/iron_golem.entity.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:iron_golem", + "spawn_egg": { + "base_color": "#dbcdc2", + "overlay_color": "#74a332" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/leash_knot.entity.json b/resource_pack/entity/leash_knot.entity.json new file mode 100644 index 0000000..dc84b52 --- /dev/null +++ b/resource_pack/entity/leash_knot.entity.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:leash_knot", + "materials": { "default": "leash_knot" }, + "textures": { "default": "textures/entity/lead_knot" }, + "geometry": { "default": "geometry.leash_knot" }, + "render_controllers": [ "controller.render.leash_knot" ] + } + } + } \ No newline at end of file diff --git a/resource_pack/entity/lingering_potion.entity.json b/resource_pack/entity/lingering_potion.entity.json new file mode 100644 index 0000000..39e5ad0 --- /dev/null +++ b/resource_pack/entity/lingering_potion.entity.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:lingering_potion", + "materials": { + "default": "lingering_potion_enchanted" + }, + "textures": { + "moveSlowdown": "textures/items/potion_bottle_lingering_moveSlowdown", + "moveSpeed": "textures/items/potion_bottle_lingering_moveSpeed", + "digSlowdown": "textures/items/potion_bottle_lingering_digSlowdown", + "digSpeed": "textures/items/potion_bottle_lingering_digSpeed", + "damageBoost": "textures/items/potion_bottle_lingering_damageBoost", + "heal": "textures/items/potion_bottle_lingering_heal", + "harm": "textures/items/potion_bottle_lingering_harm", + "jump": "textures/items/potion_bottle_lingering_jump", + "confusion": "textures/items/potion_bottle_lingering_confusion", + "regeneration": "textures/items/potion_bottle_lingering_regeneration", + "resistance": "textures/items/potion_bottle_lingering_resistance", + "fireResistance": "textures/items/potion_bottle_lingering_fireResistance", + "waterBreathing": "textures/items/potion_bottle_lingering_waterBreathing", + "invisibility": "textures/items/potion_bottle_lingering_invisibility", + "blindness": "textures/items/potion_bottle_lingering_blindness", + "nightVision": "textures/items/potion_bottle_lingering_nightVision", + "hunger": "textures/items/potion_bottle_lingering_hunger", + "weakness": "textures/items/potion_bottle_lingering_weakness", + "poison": "textures/items/potion_bottle_lingering_poison", + "wither": "textures/items/potion_bottle_lingering_wither", + "healthBoost": "textures/items/potion_bottle_lingering_healthBoost", + "absorption": "textures/items/potion_bottle_lingering_absorption", + "saturation": "textures/items/potion_bottle_lingering_saturation", + "levitation": "textures/items/potion_bottle_lingering_levitation", + "turtleMaster": "textures/items/potion_bottle_lingering_turtleMaster", + "slowFall": "textures/items/potion_bottle_lingering_slowFall", + "default": "textures/items/potion_bottle_lingering", + "enchanted": "textures/misc/enchanted_item_glint", + "windCharged": "textures/items/potion_bottle_lingering_windCharged", + "weaving": "textures/items/potion_bottle_lingering_weaving", + "oozing": "textures/items/potion_bottle_lingering_oozing", + "infested": "textures/items/potion_bottle_lingering_infested" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.lingering_potion" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/llama.entity.json b/resource_pack/entity/llama.entity.json new file mode 100644 index 0000000..c682c65 --- /dev/null +++ b/resource_pack/entity/llama.entity.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:llama", + "min_engine_version": "1.8.0", + "materials": { "default": "llama" }, + "textures": { + "creamy": "textures/entity/llama/llama_creamy", + "white": "textures/entity/llama/llama_white", + "brown": "textures/entity/llama/llama_brown", + "gray": "textures/entity/llama/llama_gray", + "decor_none": "textures/entity/llama/decor/decor_none", + "decor_white": "textures/entity/llama/decor/decor_white", + "decor_orange": "textures/entity/llama/decor/decor_orange", + "decor_magenta": "textures/entity/llama/decor/decor_magenta", + "decor_light_blue": "textures/entity/llama/decor/decor_light_blue", + "decor_yellow": "textures/entity/llama/decor/decor_yellow", + "decor_lime": "textures/entity/llama/decor/decor_lime", + "decor_pink": "textures/entity/llama/decor/decor_pink", + "decor_gray": "textures/entity/llama/decor/decor_gray", + "decor_silver": "textures/entity/llama/decor/decor_silver", + "decor_cyan": "textures/entity/llama/decor/decor_cyan", + "decor_purple": "textures/entity/llama/decor/decor_purple", + "decor_blue": "textures/entity/llama/decor/decor_blue", + "decor_brown": "textures/entity/llama/decor/decor_brown", + "decor_green": "textures/entity/llama/decor/decor_green", + "decor_red": "textures/entity/llama/decor/decor_red", + "decor_black": "textures/entity/llama/decor/decor_black", + "decor_wandering_trader": "textures/entity/llama/decor/trader_llama_decor" + }, + "geometry": { + "default": "geometry.llama.v1.8" + }, + "animations": { + "setup": "animation.llama.setup", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.llama.baby_transform" + }, + "animation_controllers": [ + { "move": "controller.animation.llama.move" }, + { "baby": "controller.animation.llama.baby" } + ], + "render_controllers": [ "controller.render.llama" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 38 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/llama.v1.0.entity.json b/resource_pack/entity/llama.v1.0.entity.json new file mode 100644 index 0000000..516364f --- /dev/null +++ b/resource_pack/entity/llama.v1.0.entity.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:llama", + "materials": { "default": "llama" }, + "textures": { + "creamy": "textures/entity/llama/llama_creamy", + "white": "textures/entity/llama/llama_white", + "brown": "textures/entity/llama/llama_brown", + "gray": "textures/entity/llama/llama_gray", + "decor_none": "textures/entity/llama/decor/decor_none", + "decor_white": "textures/entity/llama/decor/decor_white", + "decor_orange": "textures/entity/llama/decor/decor_orange", + "decor_magenta": "textures/entity/llama/decor/decor_magenta", + "decor_light_blue": "textures/entity/llama/decor/decor_light_blue", + "decor_yellow": "textures/entity/llama/decor/decor_yellow", + "decor_lime": "textures/entity/llama/decor/decor_lime", + "decor_pink": "textures/entity/llama/decor/decor_pink", + "decor_gray": "textures/entity/llama/decor/decor_gray", + "decor_silver": "textures/entity/llama/decor/decor_silver", + "decor_cyan": "textures/entity/llama/decor/decor_cyan", + "decor_purple": "textures/entity/llama/decor/decor_purple", + "decor_blue": "textures/entity/llama/decor/decor_blue", + "decor_brown": "textures/entity/llama/decor/decor_brown", + "decor_green": "textures/entity/llama/decor/decor_green", + "decor_red": "textures/entity/llama/decor/decor_red", + "decor_black": "textures/entity/llama/decor/decor_black", + "decor_wandering_trader": "textures/entity/llama/decor/trader_llama_decor" + }, + "geometry": { + "default": "geometry.llama" + }, + "animations": { + "setup": "animation.llama.setup.v1.0", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.llama.baby_transform.v1.0" + }, + "animation_controllers": [ + { "move": "controller.animation.llama.move" }, + { "baby": "controller.animation.llama.baby" } + ], + "render_controllers": [ "controller.render.llama" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 38 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/llama_spit.entity.json b/resource_pack/entity/llama_spit.entity.json new file mode 100644 index 0000000..1b6c4ca --- /dev/null +++ b/resource_pack/entity/llama_spit.entity.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:llama_spit", + "materials": { "default": "llama_spit" }, + "textures": { + "default": "textures/entity/llama/spit" + }, + "geometry": { + "default": "geometry.llamaspit" + }, + "animations": { + "setup": "animation.llama_spit.setup" + }, + "scripts": { + "animate": [ + "setup" + ] + }, + "render_controllers": [ "controller.render.llama_spit" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/location_pointer_idle.entity.json b/resource_pack/entity/location_pointer_idle.entity.json new file mode 100644 index 0000000..22de6d7 --- /dev/null +++ b/resource_pack/entity/location_pointer_idle.entity.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "editor:location_pointer_idle", + "materials": { + "default": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/location_pointer_idle" + }, + "geometry": { + "default": "geometry.location_pointer_idle" + }, + "render_controllers": ["controller.render.default"], + "animations": { + "spin": "animation.location_pointer_idle.spin" + } + } + } +} diff --git a/resource_pack/entity/location_pointer_selected.entity.json b/resource_pack/entity/location_pointer_selected.entity.json new file mode 100644 index 0000000..6552733 --- /dev/null +++ b/resource_pack/entity/location_pointer_selected.entity.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "editor:location_pointer_selected", + "materials": { + "default": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/location_pointer_selected" + }, + "geometry": { + "default": "geometry.location_pointer_selected" + }, + "render_controllers": ["controller.render.default"], + "animations": { + "spin": "animation.location_pointer_selected.spin" + }, + "scripts": { + "scale": 2, + "animate": [ + "spin" + ] + } + } + } +} diff --git a/resource_pack/entity/magma_cube.entity.json b/resource_pack/entity/magma_cube.entity.json new file mode 100644 index 0000000..5eb7a01 --- /dev/null +++ b/resource_pack/entity/magma_cube.entity.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:magma_cube", + "materials": { "default": "magma_cube" }, + "textures": { + "default": "textures/entity/slime/magmacube_v2" + }, + "geometry": { + "default": "geometry.magma_cube_v2" + }, + "scripts": { + "pre_animation": [ + "variable.slime_squish_factor = (query.previous_squish_value + (query.current_squish_value - query.previous_squish_value) * query.frame_alpha);", + "variable.bounce = 1 / ((variable.slime_squish_factor / (query.variant * 0.5 + 1)) + 1);", + "variable.horizontal_scale_amount = variable.bounce * query.variant;", + "variable.vertical_scale_amount = (1 / variable.bounce) * query.variant;" + ], + "scaleX": "variable.horizontal_scale_amount", + "scaleY": "variable.vertical_scale_amount", + "scaleZ": "variable.horizontal_scale_amount" + }, + "animations": { + "move": "animation.magma_cube.move" + }, + "animation_controllers": [ + { "general": "controller.animation.magma_cube.general" } + ], + "render_controllers": [ "controller.render.magma_cube" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 20 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/map_marker.json b/resource_pack/entity/map_marker.json new file mode 100644 index 0000000..0cd81fa --- /dev/null +++ b/resource_pack/entity/map_marker.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "editor:map_marker", + "materials": { + "default": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/map_marker" + }, + "geometry": { + "default": "geometry.map_marker" + }, + "render_controllers": [ + "controller.render.map_marker" + ], + "animations": { + "idle": "animation.map_marker.idle" + }, + "scripts": { + "scale": 2, + "animate": [ + "idle" + ] + } + } + } +} diff --git a/resource_pack/entity/minecart.entity.json b/resource_pack/entity/minecart.entity.json new file mode 100644 index 0000000..cf0304a --- /dev/null +++ b/resource_pack/entity/minecart.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:minecart", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ], + "should_update_bones_and_effects_offscreen": "1.0" + }, + "animations": { + "move": "animation.minecart.move.v1.0" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/minecart.v1.0.entity.json b/resource_pack/entity/minecart.v1.0.entity.json new file mode 100644 index 0000000..c37adc3 --- /dev/null +++ b/resource_pack/entity/minecart.v1.0.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:minecart", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ], + "should_update_bones_and_effects_offscreen": "1.0" + }, + "animations": { + "move": "animation.minecart.move.v1.0" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/mooshroom.entity.json b/resource_pack/entity/mooshroom.entity.json new file mode 100644 index 0000000..86da6ec --- /dev/null +++ b/resource_pack/entity/mooshroom.entity.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:mooshroom", + "min_engine_version": "1.8.0", + "materials": { "default": "mooshroom" }, + "textures": { + "default": "textures/entity/cow/mooshroom", + "brown": "textures/entity/cow/brown_mooshroom" + }, + "geometry": { + "default": "geometry.mooshroom.v1.8" + }, + "animations": { + "setup": "animation.mooshroom.setup", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.mooshroom.baby_transform" + }, + "animation_controllers": [ + { "setup": "controller.animation.mooshroom.setup" }, + { "move": "controller.animation.mooshroom.move" }, + { "baby": "controller.animation.mooshroom.baby" } + ], + "render_controllers": [ "controller.render.mooshroom" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 5 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/mooshroom.v1.0.entity.json b/resource_pack/entity/mooshroom.v1.0.entity.json new file mode 100644 index 0000000..4928e05 --- /dev/null +++ b/resource_pack/entity/mooshroom.v1.0.entity.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:mooshroom", + "materials": { "default": "mooshroom" }, + "textures": { + "default": "textures/entity/cow/mooshroom", + "brown": "textures/entity/cow/brown_mooshroom" + }, + "geometry": { + "default": "geometry.mooshroom" + }, + "animations": { + "setup": "animation.mooshroom.setup.v1.0", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.mooshroom.baby_transform" + }, + "animation_controllers": [ + { "setup": "controller.animation.mooshroom.setup" }, + { "move": "controller.animation.mooshroom.move" }, + { "baby": "controller.animation.mooshroom.baby" } + ], + "render_controllers": [ "controller.render.mooshroom" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 5 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/mule_v1.entity.json b/resource_pack/entity/mule_v1.entity.json new file mode 100644 index 0000000..a37f447 --- /dev/null +++ b/resource_pack/entity/mule_v1.entity.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:mule", + "materials": { + "default": "horse" + }, + "textures": { + "mule": "textures/entity/horse/mule", + "markings_none": "textures/entity/horse/horse_markings_none", + "armor_none": "textures/entity/horse/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse" + }, + "animations": { + "setup": "animation.horse.setup", + "baby_transform": "animation.horse.baby_transform", + "walk": "animation.horse.walk", + "eat": "animation.horse.eat", + "stand": "animation.horse.stand", + "shake_tail": "animation.horse.shake_tail", + "mouth": "animation.horse.mouth", + "look_at_player": "animation.horse.look_at_player" + }, + "scripts": { + "scale": "0.92", + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;", + "variable.leg_back_origin = query.bone_origin('leg1a');", + "variable.leg_front_origin = query.bone_origin('leg3a');", + "variable.head_rotation = query.bone_rotation('head');" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.walk_tail_angle = math.clamp(query.modified_move_speed * 50.0, 0.0, 90.0) * (1.0 - variable.stand_anim);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_walk_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_walk_factor * 45.8 * query.modified_move_speed;", + "variable.leg_stand = math.cos((query.life_time * 20.0) * 34.38) * variable.stand_anim;", + "variable.baby_ratio = query.is_baby ? ((0.0625 - query.model_scale) * 16.0) : 0.0;" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + { "walk": "variable.stand_anim < 0.5" }, + { "stand": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "shake_tail": "variable.shake_tail" }, + "mouth", + "look_at_player" + ] + }, + "render_controllers": [ "controller.render.mule.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 31 + } + } + } +} diff --git a/resource_pack/entity/mule_v2.entity.json b/resource_pack/entity/mule_v2.entity.json new file mode 100644 index 0000000..7f596ee --- /dev/null +++ b/resource_pack/entity/mule_v2.entity.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:mule", + "min_engine_version": "1.2.6", + "materials": { + "default": "horse" + }, + "textures": { + "mule": "textures/entity/horse2/mule", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v2" + }, + "animations": { + "setup": "animation.horse.v2.setup", + "baby_transform": "animation.horse.v2.baby_transform", + "walk": "animation.horse.v2.walk", + "eat": "animation.horse.v2.eat", + "stand": "animation.horse.v2.stand", + "tail": "animation.horse.v2.tail" + }, + "scripts": { + "scale": "0.92", + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;", + "variable.leg1a_aabb = query.bone_aabb('leg1a');", + "variable.y_adjust = query.is_baby ? 0.0 : (variable.leg1a_aabb.max.y - variable.leg1a_aabb.min.y) * (1.0 - (query.model_scale * 16.0));" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + "walk", + "stand", + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.mule.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 31 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/mule_v3.entity.json b/resource_pack/entity/mule_v3.entity.json new file mode 100644 index 0000000..5a3ee46 --- /dev/null +++ b/resource_pack/entity/mule_v3.entity.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:mule", + "min_engine_version": "1.17.10", + "materials": { + "default": "horse" + }, + "textures": { + "mule": "textures/entity/horse2/mule", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v3" + }, + "animations": { + "baby_transform": "animation.horse.v3.baby_transform", + "walk": "animation.horse.v3.walk", + "eat": "animation.horse.v3.eat", + "rear": "animation.horse.v3.rear", + "tail": "animation.horse.v3.tail", + "look_at_player": "animation.horse.v3.look_at_player" + }, + "scripts": { + "scale": "0.92", + "initialize": [ + "variable.eat_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;" + ], + "animate": [ + { "baby_transform": "query.is_baby" }, + "walk", + "look_at_player", + { "rear": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.mule.v3" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 31 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/npc.entity.json b/resource_pack/entity/npc.entity.json new file mode 100644 index 0000000..bdd41c1 --- /dev/null +++ b/resource_pack/entity/npc.entity.json @@ -0,0 +1,95 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:npc", + "materials": { + "default": "npc" + }, + "textures": { + "npc_1": "textures/entity/npc/npc_1", + "npc_2": "textures/entity/npc/npc_2", + "npc_3": "textures/entity/npc/npc_3", + "npc_4": "textures/entity/npc/npc_4", + "npc_5": "textures/entity/npc/npc_5", + "npc_6": "textures/entity/npc/npc_6", + "npc_7": "textures/entity/npc/npc_7", + "npc_8": "textures/entity/npc/npc_8", + "npc_9": "textures/entity/npc/npc_9", + "npc_10": "textures/entity/npc/npc_10", + "npc_scientist_1": "textures/entity/npc/npc_scientist_1", + "npc_scientist_2": "textures/entity/npc/npc_scientist_2", + "npc_scientist_3": "textures/entity/npc/npc_scientist_3", + "npc_scientist_4": "textures/entity/npc/npc_scientist_4", + "npc_scientist_5": "textures/entity/npc/npc_scientist_5", + "npc_scientist_6": "textures/entity/npc/npc_scientist_6", + "npc_scientist_7": "textures/entity/npc/npc_scientist_7", + "npc_scientist_8": "textures/entity/npc/npc_scientist_8", + "npc_scientist_9": "textures/entity/npc/npc_scientist_9", + "npc_scientist_10": "textures/entity/npc/npc_scientist_10", + "npc_apiary_1": "textures/entity/npc/npc_apiary_1", + "npc_apiary_2": "textures/entity/npc/npc_apiary_2", + "npc_apiary_3": "textures/entity/npc/npc_apiary_3", + "npc_apiary_4": "textures/entity/npc/npc_apiary_4", + "npc_apiary_5": "textures/entity/npc/npc_apiary_5", + "npc_teacher_1": "textures/entity/npc/npc_teacher_1", + "npc_teacher_2": "textures/entity/npc/npc_teacher_2", + "npc_teacher_3": "textures/entity/npc/npc_teacher_3", + "npc_teacher_4": "textures/entity/npc/npc_teacher_4", + "npc_teacher_5": "textures/entity/npc/npc_teacher_5", + "npc_construction_1": "textures/entity/npc/npc_construction_1", + "npc_construction_2": "textures/entity/npc/npc_construction_2", + "npc_construction_3": "textures/entity/npc/npc_construction_3", + "npc_construction_4": "textures/entity/npc/npc_construction_4", + "npc_construction_5": "textures/entity/npc/npc_construction_5", + "npc_Agriculture_1": "textures/entity/npc/npc_Agriculture_1", + "npc_Agriculture_2": "textures/entity/npc/npc_Agriculture_2", + "npc_Agriculture_3": "textures/entity/npc/npc_Agriculture_3", + "npc_Agriculture_4": "textures/entity/npc/npc_Agriculture_4", + "npc_Agriculture_5": "textures/entity/npc/npc_Agriculture_5", + "npc_Agriculture_6": "textures/entity/npc/npc_Agriculture_6", + "npc_Agriculture_7": "textures/entity/npc/npc_Agriculture_7", + "npc_Agriculture_8": "textures/entity/npc/npc_Agriculture_8", + "npc_Agriculture_9": "textures/entity/npc/npc_Agriculture_9", + "npc_Agriculture_10": "textures/entity/npc/npc_Agriculture_10", + "npc_BusinessMobs_1": "textures/entity/npc/npc_BusinessMobs_1", + "npc_BusinessMobs_2": "textures/entity/npc/npc_BusinessMobs_2", + "npc_BusinessMobs_3": "textures/entity/npc/npc_BusinessMobs_3", + "npc_BusinessMobs_4": "textures/entity/npc/npc_BusinessMobs_4", + "npc_BusinessMobs_5": "textures/entity/npc/npc_BusinessMobs_5", + "npc_EverydayBusiness_1": "textures/entity/npc/npc_EverydayBusiness_1", + "npc_EverydayBusiness_2": "textures/entity/npc/npc_EverydayBusiness_2", + "npc_EverydayBusiness_3": "textures/entity/npc/npc_EverydayBusiness_3", + "npc_EverydayBusiness_4": "textures/entity/npc/npc_EverydayBusiness_4", + "npc_EverydayBusiness_5": "textures/entity/npc/npc_EverydayBusiness_5", + "npc_Kiosk_1": "textures/entity/npc/npc_Kiosk_1", + "npc_Kiosk_2": "textures/entity/npc/npc_Kiosk_2", + "npc_Kiosk_3": "textures/entity/npc/npc_Kiosk_3", + "npc_Kiosk_4": "textures/entity/npc/npc_Kiosk_4", + "npc_Kiosk_5": "textures/entity/npc/npc_Kiosk_5" + }, + "geometry": { + "default": "geometry.npc" + }, + "scripts": { + "animate": [ + "general", + { "move": "query.modified_move_speed" }, + "look_at_target", + { "baby_transform": "query.is_baby" } + ] + }, + "animations": { + "general": "animation.npc.general", + "look_at_target": "animation.common.look_at_target", + "move": "animation.npc.move", + "baby_transform": "animation.npc.baby_transform" + }, + "render_controllers": [ "controller.render.npc" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 35 + } + } + } +} diff --git a/resource_pack/entity/ocelot.entity.json b/resource_pack/entity/ocelot.entity.json new file mode 100644 index 0000000..e67655b --- /dev/null +++ b/resource_pack/entity/ocelot.entity.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ocelot", + "min_engine_version": "1.8.0", + "materials": { "default": "ocelot" }, + "textures": { + "black": "textures/entity/cat/blackcat", + "red": "textures/entity/cat/red", + "siamese": "textures/entity/cat/siamese", + "wild": "textures/entity/cat/ocelot" + }, + "geometry": { + "default": "geometry.ocelot.v1.8" + }, + "animations": { + "sneak": "animation.ocelot.sneak", + "walk": "animation.ocelot.walk", + "sprint": "animation.ocelot.sprint", + "sit": "animation.ocelot.sit", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.ocelot.baby_transform" + }, + "animation_controllers": [ + { "move": "controller.animation.ocelot.move" }, + { "baby": "controller.animation.ocelot.baby" }, + { "look_at_target": "controller.animation.ocelot.look_at_target" } + ], + "render_controllers": [ "controller.render.ocelot" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 16 + } + } + } +} diff --git a/resource_pack/entity/ocelot.v1.0.entity.json b/resource_pack/entity/ocelot.v1.0.entity.json new file mode 100644 index 0000000..7c8268d --- /dev/null +++ b/resource_pack/entity/ocelot.v1.0.entity.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ocelot", + "materials": { "default": "ocelot" }, + "textures": { + "black": "textures/entity/cat/blackcat", + "red": "textures/entity/cat/red", + "siamese": "textures/entity/cat/siamese", + "wild": "textures/entity/cat/ocelot" + }, + "geometry": { + "default": "geometry.ocelot" + }, + "animations": { + "baby_transform": "animation.ocelot_v1.0.baby_transform", + "look_at_target": "animation.common.look_at_target", + "setup": "animation.ocelot_v1.0.setup", + "sit": "animation.ocelot_v1.0.sit", + "sneak": "animation.ocelot_v1.0.sneak", + "sprint": "animation.ocelot_v1.0.sprint", + "walk": "animation.ocelot_v1.0.walk" + }, + "animation_controllers": [ + { "setup": "controller.animation.ocelot_v1.0.setup" }, + { "move": "controller.animation.ocelot_v1.0.move" }, + { "baby": "controller.animation.ocelot_v1.0.baby" }, + { "look_at_target": "controller.animation.ocelot_v1.0.look_at_target" } + ], + "render_controllers": [ "controller.render.ocelot" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 16 + } + } + } +} diff --git a/resource_pack/entity/panda.entity.json b/resource_pack/entity/panda.entity.json new file mode 100644 index 0000000..85dec1f --- /dev/null +++ b/resource_pack/entity/panda.entity.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:panda", + "materials": { "default": "panda" }, + "textures": { + "default": "textures/entity/panda/panda", + "lazy": "textures/entity/panda/panda_lazy", + "worried": "textures/entity/panda/panda_worried", + "playful": "textures/entity/panda/panda_playful", + "brown": "textures/entity/panda/panda_brown", + "weak": "textures/entity/panda/panda_sneezy", + "aggressive": "textures/entity/panda/panda_aggressive" + }, + "geometry": { + "default": "geometry.panda" + }, + "animations": { + "unhappy": "animation.panda.unhappy", + "sneezing": "animation.panda.sneezing", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.panda.baby_transform", + "sitting": "animation.panda.sitting", + "rolling": "animation.panda.rolling", + "lying": "animation.panda.lying" + }, + "animation_controllers": [ + { "move": "controller.animation.panda.move" }, + { "unhappy": "controller.animation.panda.unhappy" }, + { "sneezing": "controller.animation.panda.sneezing" }, + { "baby": "controller.animation.panda.baby" } + ], + "render_controllers": [ "controller.render.panda" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 54 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/parrot.entity.json b/resource_pack/entity/parrot.entity.json new file mode 100644 index 0000000..f4e282f --- /dev/null +++ b/resource_pack/entity/parrot.entity.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:parrot", + "materials": { "default": "parrot"}, + "textures": { + "blue": "textures/entity/parrot/parrot_blue", + "green": "textures/entity/parrot/parrot_green", + "red_blue": "textures/entity/parrot/parrot_red_blue", + "yellow_blue": "textures/entity/parrot/parrot_yellow_blue", + "grey": "textures/entity/parrot/parrot_grey" + }, + "geometry": { + "default": "geometry.parrot" + }, + "scripts": { + "pre_animation": [ + "variable.state = query.is_dancing ? 3 : (query.is_sitting ? 2 : (!query.is_on_ground && !query.is_jumping && !query.is_riding ? 0 : 1));", + "variable.dance.x = Math.cos(query.life_time * 57.3 * 20.0);", + "variable.dance.y = -Math.sin(query.life_time * 57.3 * 20.0);", + "variable.wing_flap = ((math.sin(query.wing_flap_position * 57.3) + 1) * query.wing_flap_speed);" + ] + }, + "animations": { + "moving": "animation.parrot.moving", + "base": "animation.parrot.base", + "dance": "animation.parrot.dance", + "sitting": "animation.parrot.sitting", + "flying": "animation.parrot.flying", + "standing": "animation.parrot.standing", + "look_at_target": "animation.common.look_at_target" + }, + "animation_controllers": [ + { "setup": "controller.animation.parrot.setup" }, + { "move": "controller.animation.parrot.move" } + ], + "render_controllers": [ "controller.render.parrot" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 43 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/phantom.entity.json b/resource_pack/entity/phantom.entity.json new file mode 100644 index 0000000..f3892ac --- /dev/null +++ b/resource_pack/entity/phantom.entity.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:phantom", + "materials": { + "default": "phantom", + "invisible": "phantom_invisible" + }, + "textures": { + "default": "textures/entity/phantom" + }, + "geometry": { + "default": "geometry.phantom" + }, + "scripts": { + "initialize": [ + "variable.runtimeid = 0;", + "variable.tailrotx = -5.0;", + "variable.wingrotz = 0.0;" + ], + "animate": [ + "phantom_base_pose_controller", + "move" + ], + "should_update_effects_offscreen": "1.0" + }, + "animations": { + "phantom_base_pose": "animation.phantom.base_pose", + "phantom_base_pose_controller": "controller.animation.phantom.base_pose", + "move": "animation.phantom.move" + }, + "particle_effects": { + "wing_dust": "minecraft:phantom_trail_particle" + }, + "sound_effects": { + "flap": "mob.phantom.flap" + }, + "render_controllers": [ "controller.render.phantom" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 51 + } + } + } +} diff --git a/resource_pack/entity/pig.entity.json b/resource_pack/entity/pig.entity.json new file mode 100644 index 0000000..43d97d1 --- /dev/null +++ b/resource_pack/entity/pig.entity.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:pig", + "min_engine_version": "1.8.0", + "materials": { "default": "pig" }, + "textures": { + "default": "textures/entity/pig/pig", + "saddled": "textures/entity/pig/pig_saddle" + }, + "geometry": { + "default": "geometry.pig.v1.8" + }, + "animations": { + "setup": "animation.pig.setup", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.pig.baby_transform" + }, + "scripts": { + "animate": [ + "setup", + { "walk": "query.modified_move_speed" }, + "look_at_target", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.pig" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 2 + } + } + } +} diff --git a/resource_pack/entity/pig.v1.0.entity.json b/resource_pack/entity/pig.v1.0.entity.json new file mode 100644 index 0000000..52592f9 --- /dev/null +++ b/resource_pack/entity/pig.v1.0.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:pig", + "materials": { "default": "pig" }, + "textures": { + "default": "textures/entity/pig/pig", + "saddled": "textures/entity/pig/pig_saddle" + }, + "geometry": { + "default": "geometry.pig" + }, + "animations": { + "setup": "animation.pig.setup.v1.0", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.pig.baby_transform" + }, + "scripts": { + "animate": [ + "setup", + { "walk": "query.modified_move_speed" }, + "look_at_target", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.pig" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 2 + } + } + } +} diff --git a/resource_pack/entity/piglin.entity.json b/resource_pack/entity/piglin.entity.json new file mode 100644 index 0000000..57bf063 --- /dev/null +++ b/resource_pack/entity/piglin.entity.json @@ -0,0 +1,67 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:piglin", + "materials": { + "default": "piglin" + }, + "textures": { + "default": "textures/entity/piglin/piglin" + }, + "geometry": { + "default": "geometry.piglin" + }, + "spawn_egg": { + "base_color": "#995f40", + "overlay_color": "#f9f3a4" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.attack = Math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3;", + "variable.attack2 = Math.sin(variable.attack_time * 180.0) * 57.3;", + "variable.z_bob = Math.cos(query.life_time * 103.13244) * 2.865 + 2.865;", + "variable.x_bob = Math.sin(query.life_time * 76.776372) * 2.865;" + ], + "animate": [ + { "admire": "query.is_admiring" }, + { "humanoid_big_head": "query.is_baby" }, + { "celebrate_hunt": "query.is_celebrating" }, + { "celebrate_hunt_special": "query.is_celebrating_special" }, + + "move", + "bob", + "look_at_target_controller", + "piglin_attack_controller", + "riding_controller" + ] + }, + "animations": { + "move": "animation.piglin.move", + "bob": "animation.humanoid.bob", + "humanoid_big_head": "animation.humanoid.big_head", + "admire": "animation.piglin.admire", + "celebrate_hunt": "animation.piglin.celebrate_hunt", + "celebrate_hunt_special": "animation.piglin.celebrate_hunt_special", + + "look_at_target_controller": "controller.animation.humanoid.look_at_target", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + + "piglin_attack_controller": "controller.animation.piglin.attack", + "crossbow_hold": "animation.piglin.crossbow.hold", + "crossbow_charge": "animation.piglin.crossbow.charge", + "melee_attack": "animation.piglin.sword.attack", + "hand_attack": "animation.piglin.hand.attack", + + "riding_controller": "controller.animation.humanoid.riding", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs" + }, + "render_controllers": [ "controller.render.piglin" ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/piglin_brute.entity.json b/resource_pack/entity/piglin_brute.entity.json new file mode 100644 index 0000000..ab6cce9 --- /dev/null +++ b/resource_pack/entity/piglin_brute.entity.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:piglin_brute", + "materials": { + "default": "piglin_brute" + }, + "textures": { + "default": "textures/entity/piglin/piglin_brute" + }, + "geometry": { + "default": "geometry.piglin" + }, + "spawn_egg": { + "base_color": "#592A10", + "overlay_color": "#F9F3A4" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.attack = Math.sin((1.0 - (1.0 - variable.attack_time) * (1.0 - variable.attack_time)) * 180.0) * 57.3;", + "variable.attack2 = Math.sin(variable.attack_time * 180.0) * 57.3;", + "variable.z_bob = Math.cos(query.life_time * 103.13244) * 2.865 + 2.865;", + "variable.x_bob = Math.sin(query.life_time * 76.776372) * 2.865;" + ], + "animate": [ + { "humanoid_big_head": "query.is_baby" }, + + "move", + "bob", + "look_at_target_controller", + "piglin_attack_controller", + "riding_controller" + ] + }, + "animations": { + "move": "animation.piglin.move", + "bob": "animation.humanoid.bob", + "humanoid_big_head": "animation.humanoid.big_head", + + "look_at_target_controller": "controller.animation.humanoid.look_at_target", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + + "piglin_attack_controller": "controller.animation.piglin.attack", + "crossbow_hold": "animation.piglin.crossbow.hold", + "crossbow_charge": "animation.piglin.crossbow.charge", + "melee_attack": "animation.piglin.sword.attack", + "hand_attack": "animation.piglin.hand.attack", + + "riding_controller": "controller.animation.humanoid.riding", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs" + }, + "render_controllers": [ "controller.render.piglin_brute" ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/pillager.entity.json b/resource_pack/entity/pillager.entity.json new file mode 100644 index 0000000..e77801a --- /dev/null +++ b/resource_pack/entity/pillager.entity.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:pillager", + "materials": { + "default": "pillager" + }, + "textures": { + "default": "textures/entity/pillager" + }, + "geometry": { + "default": "geometry.pillager" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 56 + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ], + "animate": [ + "pillager_root_controller" + ] + }, + "animations": { + "humanoid_base_pose": "animation.humanoid.base_pose", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "attack.rotations": "animation.humanoid.attack.rotations", + "bob": "animation.humanoid.bob", + "crossbow_hold": "animation.pillager.crossbow.hold", + "crossbow_charge": "animation.pillager.crossbow.charge", + "celebrating": "animation.humanoid.celebrating", + "controller_humanoid_base_pose": "controller.animation.humanoid.base_pose", + "controller_look_at_target": "controller.animation.humanoid.look_at_target", + "controller_move": "controller.animation.humanoid.move", + "controller_riding": "controller.animation.humanoid.riding", + "controller_attack": "controller.animation.humanoid.attack", + "controller_bob": "controller.animation.humanoid.bob", + "controller_pillager_attack": "controller.animation.pillager.attack", + "pillager_root_controller": "controller.animation.pillager.root" + }, + "render_controllers": [ "controller.render.pillager" ], + "enable_attachables": true, + "hide_armor": true + } + } +} diff --git a/resource_pack/entity/player.entity.json b/resource_pack/entity/player.entity.json new file mode 100644 index 0000000..5dcd876 --- /dev/null +++ b/resource_pack/entity/player.entity.json @@ -0,0 +1,114 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:player", + "materials": { + "default": "entity_alphatest", + "cape": "entity_alphatest", + "animated": "player_animated", + "spectator": "player_spectator" + }, + "textures": { + "default": "textures/entity/steve", + "cape": "textures/entity/cape_invisible" + }, + "geometry": { + "default": "geometry.humanoid.custom", + "cape": "geometry.cape" + }, + "scripts": { + "scale": "0.9375", + "initialize": [ + "variable.is_holding_right = 0.0;", + "variable.is_blinking = 0.0;", + "variable.last_blink_time = 0.0;", + "variable.hand_bob = 0.0;" + ], + "pre_animation": [ + "variable.helmet_layer_visible = !query.has_head_gear;", + "variable.leg_layer_visible = 1.0;", + "variable.boot_layer_visible = 1.0;", + "variable.chest_layer_visible = 1.0;", + "variable.attack_body_rot_y = Math.sin(360*Math.sqrt(variable.attack_time)) * 5.0;", + "variable.tcos0 = (math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.first_person_rotation_factor = math.sin((1 - variable.attack_time) * 180.0);", + "variable.hand_bob = query.life_time < 0.01 ? 0.0 : variable.hand_bob + ((query.is_on_ground && query.is_alive ? math.clamp(math.sqrt(math.pow(query.position_delta(0), 2.0) + math.pow(query.position_delta(2), 2.0)), 0.0, 0.1) : 0.0) - variable.hand_bob) * 0.02;", + + "variable.map_angle = math.clamp(1 - variable.player_x_rotation / 45.1, 0.0, 1.0);", + "variable.item_use_normalized = query.main_hand_item_use_duration / query.main_hand_item_max_duration;" + ], + "animate": [ + "root" + ] + }, + "animations": { + "root": "controller.animation.player.root", + "base_controller": "controller.animation.player.base", + "hudplayer": "controller.animation.player.hudplayer", + "humanoid_base_pose": "animation.humanoid.base_pose", + "look_at_target": "controller.animation.humanoid.look_at_target", + "look_at_target_ui": "animation.player.look_at_target.ui", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "look_at_target_inverted": "animation.player.look_at_target.inverted", + "cape": "animation.player.cape", + "move.arms": "animation.player.move.arms", + "move.legs": "animation.player.move.legs", + "swimming": "animation.player.swim", + "swimming.legs": "animation.player.swim.legs", + "crawling": "animation.player.crawl", + "crawling.legs": "animation.player.crawl.legs", + "riding.arms": "animation.player.riding.arms", + "riding.legs": "animation.player.riding.legs", + "holding": "animation.player.holding", + "holding_heavy_core": "animation.player.holding_heavy_core", + "brandish_spear": "animation.humanoid.brandish_spear", + "holding_spyglass": "animation.humanoid.holding_spyglass", + "charging": "animation.humanoid.charging", + "attack.positions": "animation.player.attack.positions", + "attack.rotations": "animation.player.attack.rotations", + "sneaking": "animation.player.sneaking", + "bob": "animation.player.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "use_item_progress": "animation.humanoid.use_item_progress", + "skeleton_attack": "animation.skeleton.attack", + "sleeping": "animation.player.sleeping", + "first_person_base_pose": "animation.player.first_person.base_pose", + "first_person_empty_hand": "animation.player.first_person.empty_hand", + "first_person_swap_item": "animation.player.first_person.swap_item", + "first_person_shield_block": "animation.player.first_person.shield_block", + "first_person_attack_controller": "controller.animation.player.first_person_attack", + "first_person_attack_rotation": "animation.player.first_person.attack_rotation", + "first_person_vr_attack_rotation": "animation.player.first_person.vr_attack_rotation", + "first_person_walk": "animation.player.first_person.walk", + "first_person_map_controller": "controller.animation.player.first_person_map", + "first_person_map_hold": "animation.player.first_person.map_hold", + "first_person_map_hold_attack": "animation.player.first_person.map_hold_attack", + "first_person_map_hold_off_hand": "animation.player.first_person.map_hold_off_hand", + "first_person_map_hold_main_hand": "animation.player.first_person.map_hold_main_hand", + "first_person_crossbow_equipped": "animation.player.first_person.crossbow_equipped", + "third_person_crossbow_equipped": "animation.player.crossbow_equipped", + "third_person_bow_equipped": "animation.player.bow_equipped", + "crossbow_hold": "animation.player.crossbow_hold", + "crossbow_controller": "controller.animation.player.crossbow", + "shield_block_main_hand": "animation.player.shield_block_main_hand", + "shield_block_off_hand": "animation.player.shield_block_off_hand", + "blink": "controller.animation.persona.blink", + "tooting_goat_horn": "animation.humanoid.tooting_goat_horn", + "holding_brush": "animation.humanoid.holding_brush", + "brushing": "animation.humanoid.brushing" + }, + "render_controllers": [ + { "controller.render.player.first_person_spectator": "variable.is_first_person && query.is_spectator" }, + { "controller.render.player.third_person_spectator": "!variable.is_first_person && !variable.map_face_icon && query.is_spectator" }, + { "controller.render.player.first_person": "variable.is_first_person && !query.is_spectator" }, + { "controller.render.player.third_person": "!variable.is_first_person && !variable.map_face_icon && !query.is_spectator" }, + { "controller.render.player.map": "variable.map_face_icon" } + ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/polar_bear.entity.json b/resource_pack/entity/polar_bear.entity.json new file mode 100644 index 0000000..c080532 --- /dev/null +++ b/resource_pack/entity/polar_bear.entity.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:polar_bear", + "spawn_egg": { + "base_color": "#eeeede", + "overlay_color": "#d5d6cd" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/pufferfish.entity.json b/resource_pack/entity/pufferfish.entity.json new file mode 100644 index 0000000..8141779 --- /dev/null +++ b/resource_pack/entity/pufferfish.entity.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:pufferfish", + "min_engine_version": "1.8.0", + "materials": { "default": "pufferfish" }, + "textures": { + "default": "textures/entity/fish/pufferfish" + }, + "geometry": { + "default": "geometry.pufferfish.small.v1.8", + "mid": "geometry.pufferfish.mid.v1.8", + "large": "geometry.pufferfish.large.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.ZRot = !query.is_in_water ? Math.cos(query.time_stamp * 14.32) * 90 : 0.0;", + "variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);" + ], + "animate": [ + "general" + ] + }, + "animations": { + "flop": "animation.pufferfish.flop", + "swim": "animation.pufferfish.swim", + "general": "controller.animation.fish.general" + }, + "render_controllers": [ + { "controller.render.pufferfish.small": "query.variant == 0" }, + { "controller.render.pufferfish.medium": "query.variant == 1" }, + { "controller.render.pufferfish.large": "query.variant == 2" } + ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 46 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/pufferfish.v1.0.entity.json b/resource_pack/entity/pufferfish.v1.0.entity.json new file mode 100644 index 0000000..3ae9111 --- /dev/null +++ b/resource_pack/entity/pufferfish.v1.0.entity.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:pufferfish", + "materials": { "default": "pufferfish" }, + "textures": { + "default": "textures/entity/fish/pufferfish" + }, + "geometry": { + "default": "geometry.pufferfish.small", + "mid": "geometry.pufferfish.mid", + "large": "geometry.pufferfish.large" + }, + "scripts": { + "pre_animation": [ + "variable.ZRot = !query.is_in_water ? Math.cos(query.time_stamp * 14.32) * 90 : 0.0;", + "variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);" + ], + "animate": [ + "general" + ] + }, + "animations": { + "flop": "animation.pufferfish.flop", + "swim": "animation.pufferfish.swim", + "general": "controller.animation.fish.general" + }, + "render_controllers": [ + { "controller.render.pufferfish.small": "query.variant == 0" }, + { "controller.render.pufferfish.medium": "query.variant == 1" }, + { "controller.render.pufferfish.large": "query.variant == 2" } + ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 46 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/rabbit.entity.json b/resource_pack/entity/rabbit.entity.json new file mode 100644 index 0000000..cb4c4c0 --- /dev/null +++ b/resource_pack/entity/rabbit.entity.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:rabbit", + "min_engine_version": "1.8.0", + "materials": { "default": "rabbit" }, + "textures": { + "brown": "textures/entity/rabbit/brown", + "white": "textures/entity/rabbit/white", + "black": "textures/entity/rabbit/blackrabbit", + "white_splotched": "textures/entity/rabbit/white_splotched", + "gold": "textures/entity/rabbit/gold", + "salt": "textures/entity/rabbit/salt", + "toast": "textures/entity/rabbit/toast" + }, + "geometry": { + "default": "geometry.rabbit.v1.8" + }, + "animations": { + "move": "animation.rabbit.move", + "baby_transform": "animation.rabbit.baby_transform", + "look_at_target": "animation.common.look_at_target" + }, + "animation_controllers": [ + { "general": "controller.animation.rabbit.general" }, + { "baby": "controller.animation.rabbit.baby" } + ], + "render_controllers": [ "controller.render.rabbit" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 24 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/rabbit.v1.0.entity.json b/resource_pack/entity/rabbit.v1.0.entity.json new file mode 100644 index 0000000..bee3d32 --- /dev/null +++ b/resource_pack/entity/rabbit.v1.0.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:rabbit", + "materials": { "default": "rabbit" }, + "textures": { + "brown": "textures/entity/rabbit/brown", + "white": "textures/entity/rabbit/white", + "black": "textures/entity/rabbit/blackrabbit", + "white_splotched": "textures/entity/rabbit/white_splotched", + "gold": "textures/entity/rabbit/gold", + "salt": "textures/entity/rabbit/salt", + "toast": "textures/entity/rabbit/toast" + }, + "geometry": { + "default": "geometry.rabbit" + }, + "animations": { + "move": "animation.rabbit.move", + "baby_transform": "animation.rabbit.baby_transform", + "look_at_target": "animation.common.look_at_target" + }, + "animation_controllers": [ + { "general": "controller.animation.rabbit.general" }, + { "baby": "controller.animation.rabbit.baby" } + ], + "render_controllers": [ "controller.render.rabbit" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 24 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/ravager.entity.json b/resource_pack/entity/ravager.entity.json new file mode 100644 index 0000000..74a6c57 --- /dev/null +++ b/resource_pack/entity/ravager.entity.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:ravager", + "textures": { + "default": "textures/entity/illager/ravager" + }, + "materials": { + "default": "ravager" + }, + "geometry": { + "default": "geometry.ravager" + }, + "render_controllers": [ + "controller.render.ravager" + ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 57 + }, + "animations": { + "walk": "animation.ravager.walk", + "look_at_target": "animation.common.look_at_target", + "idle_mouth": "animation.ravager.idle_mouth", + "stunned": "animation.ravager.stunned", + "roaring": "animation.ravager.roaring", + "move": "controller.animation.ravager.move", + "head": "controller.animation.ravager.head_movement", + "biting": "animation.ravager.biting" + }, + "scripts": { + "pre_animation": [ + "variable.roar_length = 1.0;", // in seconds + "variable.bite_anim_duration = 0.75f;", // in seconds + "variable.bite_neck_length = 10;" + ], + "animate": [ + "move", + "head" + ] + }, + "particle_effects": { + "stun_particles": "minecraft:stunned_emitter" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/ruler_idle.entity.json b/resource_pack/entity/ruler_idle.entity.json new file mode 100644 index 0000000..8070edd --- /dev/null +++ b/resource_pack/entity/ruler_idle.entity.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "editor:ruler_idle", + "materials": { + "default": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/ruler_idle" + }, + "geometry": { + "default": "geometry.ruler_idle" + }, + "render_controllers": ["controller.render.default"], + "animations": { + "spin": "animation.ruler_idle.spin" + } + } + } +} diff --git a/resource_pack/entity/ruler_pointer_selected.entity.json b/resource_pack/entity/ruler_pointer_selected.entity.json new file mode 100644 index 0000000..a75dec8 --- /dev/null +++ b/resource_pack/entity/ruler_pointer_selected.entity.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "editor:ruler_pointer_selected", + "materials": { + "default": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/ruler_pointer_selected" + }, + "geometry": { + "default": "geometry.ruler_pointer_selected" + }, + "render_controllers": ["controller.render.default"], + "animations": { + "spin": "animation.ruler_pointer_selected.spin" + } + } + } +} diff --git a/resource_pack/entity/salmon.entity.json b/resource_pack/entity/salmon.entity.json new file mode 100644 index 0000000..c30d383 --- /dev/null +++ b/resource_pack/entity/salmon.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:salmon", + "materials": { "default": "salmon" }, + "textures": { + "default": "textures/entity/fish/salmon" + }, + "geometry": { + "default": "geometry.salmon" + }, + "scripts": { + "pre_animation": [ + "variable.ZRot = !query.is_in_water ? Math.cos((query.time_stamp + query.frame_alpha) * 14.32) * 90 : 0.0;", + "variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);" + ] + }, + "animations": { + "flop": "animation.salmon.flop", + "swim": "animation.salmon.swim" + }, + "animation_controllers": [ + { + "general": "controller.animation.fish.general" + } + ], + "render_controllers": [ "controller.render.salmon" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 47 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/sheep.entity.json b/resource_pack/entity/sheep.entity.json new file mode 100644 index 0000000..c9bb761 --- /dev/null +++ b/resource_pack/entity/sheep.entity.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:sheep", + "min_engine_version": "1.8.0", + "materials": { "default": "sheep" }, + "textures": { + "default": "textures/entity/sheep/sheep" + }, + "geometry": { + "default": "geometry.sheep.v1.8", + "sheared": "geometry.sheep.sheared.v1.8" + }, + "animations": { + "setup": "animation.sheep.setup", + "grazing": "animation.sheep.grazing", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.sheep.baby_transform", + "move": "controller.animation.sheep.move" + }, + "scripts": { + "animate": [ + "setup", + "look_at_target", + "move", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.sheep" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 3 + } + } + } +} diff --git a/resource_pack/entity/sheep.v1.0.entity.json b/resource_pack/entity/sheep.v1.0.entity.json new file mode 100644 index 0000000..a6471be --- /dev/null +++ b/resource_pack/entity/sheep.v1.0.entity.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:sheep", + "materials": { "default": "sheep" }, + "textures": { + "default": "textures/entity/sheep/sheep" + }, + "geometry": { + "default": "geometry.sheep", + "sheared": "geometry.sheep.sheared" + }, + "particle_emitters": { + "flame": "animation.blaze.flame" + }, + "animations": { + "setup": "animation.sheep.setup", + "grazing": "animation.sheep.grazing", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.sheep.baby_transform", + "move": "controller.animation.sheep.move" + }, + "scripts": { + "animate": [ + "setup", + "look_at_target", + "move", + { "baby_transform": "query.is_baby" } + ] + }, + "render_controllers": [ "controller.render.sheep" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 3 + } + } + } +} diff --git a/resource_pack/entity/shulker.entity.json b/resource_pack/entity/shulker.entity.json new file mode 100644 index 0000000..0ee413f --- /dev/null +++ b/resource_pack/entity/shulker.entity.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:shulker", + "min_engine_version": "1.8.0", + "materials": { "default": "shulker" }, + "textures": { + "undyed": "textures/entity/shulker/shulker_undyed", + "white": "textures/entity/shulker/shulker_white", + "orange": "textures/entity/shulker/shulker_orange", + "magenta": "textures/entity/shulker/shulker_magenta", + "light_blue": "textures/entity/shulker/shulker_light_blue", + "yellow": "textures/entity/shulker/shulker_yellow", + "lime": "textures/entity/shulker/shulker_lime", + "pink": "textures/entity/shulker/shulker_pink", + "gray": "textures/entity/shulker/shulker_gray", + "silver": "textures/entity/shulker/shulker_silver", + "cyan": "textures/entity/shulker/shulker_cyan", + "purple": "textures/entity/shulker/shulker_purple", + "blue": "textures/entity/shulker/shulker_blue", + "brown": "textures/entity/shulker/shulker_brown", + "green": "textures/entity/shulker/shulker_green", + "red": "textures/entity/shulker/shulker_red", + "black": "textures/entity/shulker/shulker_black" + }, + "geometry": { + "default": "geometry.shulker.v1.8" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 34 + }, + "scripts": { + "pre_animation": [ + "variable.Shulker.LidPositionFactor = 180 * (0.5 + variable.Shulker.PeekAmount);", + "variable.Shulker.LidRotationFactor = -1 + Math.sin(180 * (0.5 + variable.Shulker.PeekAmount));", + "variable.Shulker.UpFacing = variable.Shulker.FacingDirection == 1;", + "variable.Shulker.NorthFacing = variable.Shulker.FacingDirection == 2;", + "variable.Shulker.SouthFacing = variable.Shulker.FacingDirection == 3;", + "variable.Shulker.WestFacing = variable.Shulker.FacingDirection == 4;", + "variable.Shulker.EastFacing = variable.Shulker.FacingDirection == 5;", + "variable.Shulker.XPreRotation = variable.Shulker.UpFacing * 180 + variable.Shulker.NorthFacing * 90 - variable.Shulker.SouthFacing * 90;", + "variable.Shulker.ZPreRotation = variable.Shulker.NorthFacing * 180 + variable.Shulker.WestFacing * 90 - variable.Shulker.EastFacing * 90;", + "variable.Shulker.XOffset = -variable.Shulker.WestFacing * 7.99 + variable.Shulker.EastFacing * 7.99;", + "variable.Shulker.YOffset = variable.Shulker.UpFacing * 16 + variable.Shulker.NorthFacing * 7.99 + variable.Shulker.SouthFacing * 7.99 + variable.Shulker.WestFacing * 7.99 + variable.Shulker.EastFacing * 7.99;", + "variable.Shulker.ZOffset = variable.Shulker.NorthFacing * 7.99 - variable.Shulker.SouthFacing * 7.99;" + ] + }, + "animations": { + "facing": "animation.shulker.facing", + "move": "animation.shulker.move", + "look_at_target": "animation.common.look_at_target" + }, + "animation_controllers": [ + { "facing": "controller.animation.shulker.facing" }, + { "move": "controller.animation.shulker.move" } + ], + "render_controllers": [ "controller.render.shulker" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/shulker.v1.0.entity.json b/resource_pack/entity/shulker.v1.0.entity.json new file mode 100644 index 0000000..e11bf92 --- /dev/null +++ b/resource_pack/entity/shulker.v1.0.entity.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:shulker", + "materials": { "default": "shulker" }, + "textures": { + "undyed": "textures/entity/shulker/shulker_undyed", + "white": "textures/entity/shulker/shulker_white", + "orange": "textures/entity/shulker/shulker_orange", + "magenta": "textures/entity/shulker/shulker_magenta", + "light_blue": "textures/entity/shulker/shulker_light_blue", + "yellow": "textures/entity/shulker/shulker_yellow", + "lime": "textures/entity/shulker/shulker_lime", + "pink": "textures/entity/shulker/shulker_pink", + "gray": "textures/entity/shulker/shulker_gray", + "silver": "textures/entity/shulker/shulker_silver", + "cyan": "textures/entity/shulker/shulker_cyan", + "purple": "textures/entity/shulker/shulker_purple", + "blue": "textures/entity/shulker/shulker_blue", + "brown": "textures/entity/shulker/shulker_brown", + "green": "textures/entity/shulker/shulker_green", + "red": "textures/entity/shulker/shulker_red", + "black": "textures/entity/shulker/shulker_black" + }, + "geometry": { + "default": "geometry.shulker" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 34 + }, + "scripts": { + "pre_animation": [ + "variable.Shulker.LidPositionFactor = 180 * (0.5 + variable.Shulker.PeekAmount);", + "variable.Shulker.LidRotationFactor = -1 + Math.sin(180 * (0.5 + variable.Shulker.PeekAmount));", + "variable.Shulker.UpFacing = variable.Shulker.FacingDirection == 1;", + "variable.Shulker.NorthFacing = variable.Shulker.FacingDirection == 2;", + "variable.Shulker.SouthFacing = variable.Shulker.FacingDirection == 3;", + "variable.Shulker.WestFacing = variable.Shulker.FacingDirection == 4;", + "variable.Shulker.EastFacing = variable.Shulker.FacingDirection == 5;", + "variable.Shulker.XPreRotation = variable.Shulker.UpFacing * 180 + variable.Shulker.NorthFacing * 90 - variable.Shulker.SouthFacing * 90;", + "variable.Shulker.ZPreRotation = variable.Shulker.NorthFacing * 180 + variable.Shulker.WestFacing * 90 - variable.Shulker.EastFacing * 90;", + "variable.Shulker.XOffset = -variable.Shulker.WestFacing * 7.99 + variable.Shulker.EastFacing * 7.99;", + "variable.Shulker.YOffset = variable.Shulker.UpFacing * 16 + variable.Shulker.NorthFacing * 7.99 + variable.Shulker.SouthFacing * 7.99 + variable.Shulker.WestFacing * 7.99 + variable.Shulker.EastFacing * 7.99;", + "variable.Shulker.ZOffset = variable.Shulker.NorthFacing * 7.99 - variable.Shulker.SouthFacing * 7.99;" + ] + }, + "animations": { + "facing": "animation.shulker.facing.v1.0", + "move": "animation.shulker.move.v1.0", + "look_at_target": "animation.common.look_at_target" + }, + "animation_controllers": [ + { "facing": "controller.animation.shulker.facing" }, + { "move": "controller.animation.shulker.move" } + ], + "render_controllers": [ "controller.render.shulker" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/shulker_bullet.entity.json b/resource_pack/entity/shulker_bullet.entity.json new file mode 100644 index 0000000..e94be47 --- /dev/null +++ b/resource_pack/entity/shulker_bullet.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:shulker_bullet", + "materials": { + "default": "shulker_bullet" + }, + "textures": { + "default": "textures/entity/shulker/spark" + }, + "geometry": { + "default": "geometry.shulker_bullet" + }, + "animations": { + "move": "animation.shulker_bullet.move" + }, + "scripts": { + "animate": [ + "move" + ] + }, + "render_controllers": [ "controller.render.shulker_bullet" ] + } + } +} diff --git a/resource_pack/entity/silverfish.entity.json b/resource_pack/entity/silverfish.entity.json new file mode 100644 index 0000000..ffd0f48 --- /dev/null +++ b/resource_pack/entity/silverfish.entity.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:silverfish", + "materials": { + "default": "silverfish", + "body_layer": "silverfish_layers" + }, + "textures": { + "default": "textures/entity/silverfish" + }, + "geometry": { + "default": "geometry.silverfish" + }, + "animations": { + "move": "animation.silverfish.move" + }, + "animation_controllers": [ + { "move": "controller.animation.silverfish.move" } + ], + "render_controllers": [ "controller.render.silverfish" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 8 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/skeleton.entity.json b/resource_pack/entity/skeleton.entity.json new file mode 100644 index 0000000..bf1922f --- /dev/null +++ b/resource_pack/entity/skeleton.entity.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:skeleton", + "min_engine_version": "1.8.0", + "materials": { + "default": "skeleton" + }, + "textures": { + "default": "textures/entity/skeleton/skeleton" + }, + "geometry": { + "default": "geometry.skeleton.v1.8" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 9 + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "swimming": "animation.zombie.swimming", + "use_item_progress": "animation.humanoid.use_item_progress", + "skeleton_attack": "animation.skeleton.attack" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.zombie.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "skeleton_attack": "controller.animation.skeleton.attack" } + ], + "render_controllers": [ "controller.render.skeleton" ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/skeleton.v1.0.entity.json b/resource_pack/entity/skeleton.v1.0.entity.json new file mode 100644 index 0000000..f71c33e --- /dev/null +++ b/resource_pack/entity/skeleton.v1.0.entity.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:skeleton", + "materials": { "default": "skeleton" }, + "textures": { "default": "textures/entity/skeleton/skeleton" }, + "geometry": { "default": "geometry.skeleton" }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "skeleton_attack": "animation.skeleton.attack.v1.0" + }, + "animation_controllers": [ + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "skeleton_attack": "controller.animation.skeleton.attack" } + ], + "render_controllers": [ "controller.render.skeleton" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 9 + } + } + } +} diff --git a/resource_pack/entity/skeleton_horse_v1.entity.json b/resource_pack/entity/skeleton_horse_v1.entity.json new file mode 100644 index 0000000..d517db7 --- /dev/null +++ b/resource_pack/entity/skeleton_horse_v1.entity.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:skeleton_horse", + "materials": { + "default": "horse" + }, + "textures": { + "skeleton": "textures/entity/horse/horse_skeleton", + "markings_none": "textures/entity/horse/horse_markings_none", + "armor_none": "textures/entity/horse/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse" + }, + "animations": { + "setup": "animation.horse.setup", + "baby_transform": "animation.horse.baby_transform", + "walk": "animation.horse.walk", + "eat": "animation.horse.eat", + "stand": "animation.horse.stand", + "shake_tail": "animation.horse.shake_tail", + "mouth": "animation.horse.mouth", + "look_at_player": "animation.horse.look_at_player" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;", + "variable.leg_back_origin = query.bone_origin('leg1a');", + "variable.leg_front_origin = query.bone_origin('leg3a');", + "variable.head_rotation = query.bone_rotation('head');" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.walk_tail_angle = math.clamp(query.modified_move_speed * 50.0, 0.0, 90.0) * (1.0 - variable.stand_anim);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_walk_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_walk_factor * 45.8 * query.modified_move_speed;", + "variable.leg_stand = math.cos((query.life_time * 20.0) * 34.38) * variable.stand_anim;", + "variable.baby_ratio = query.is_baby ? ((0.0625 - query.model_scale) * 16.0) : 0.0;" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + { "walk": "variable.stand_anim < 0.5" }, + { "stand": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "shake_tail": "variable.shake_tail" }, + "mouth", + "look_at_player" + ] + }, + "render_controllers": [ "controller.render.skeleton_horse.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 32 + } + } + } +} diff --git a/resource_pack/entity/skeleton_horse_v2.entity.json b/resource_pack/entity/skeleton_horse_v2.entity.json new file mode 100644 index 0000000..c536f8a --- /dev/null +++ b/resource_pack/entity/skeleton_horse_v2.entity.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:skeleton_horse", + "min_engine_version": "1.2.6", + "materials": { + "default": "horse" + }, + "textures": { + "skeleton": "textures/entity/horse2/horse_skeleton", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v2" + }, + "animations": { + "setup": "animation.horse.v2.setup", + "baby_transform": "animation.horse.v2.baby_transform", + "walk": "animation.horse.v2.walk", + "eat": "animation.horse.v2.eat", + "stand": "animation.horse.v2.stand", + "tail": "animation.horse.v2.tail" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;", + "variable.leg1a_aabb = query.bone_aabb('leg1a');", + "variable.y_adjust = query.is_baby ? 0.0 : (variable.leg1a_aabb.max.y - variable.leg1a_aabb.min.y) * (1.0 - (query.model_scale * 16.0));" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + "walk", + "stand", + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.skeleton_horse.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 32 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/skeleton_horse_v3.entity.json b/resource_pack/entity/skeleton_horse_v3.entity.json new file mode 100644 index 0000000..4d9ed10 --- /dev/null +++ b/resource_pack/entity/skeleton_horse_v3.entity.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:skeleton_horse", + "min_engine_version": "1.17.10", + "materials": { + "default": "horse" + }, + "textures": { + "skeleton": "textures/entity/horse2/horse_skeleton", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v3" + }, + "animations": { + "baby_transform": "animation.horse.v3.baby_transform", + "walk": "animation.horse.v3.walk", + "eat": "animation.horse.v3.eat", + "rear": "animation.horse.v3.rear", + "tail": "animation.horse.v3.tail", + "look_at_player": "animation.horse.v3.look_at_player" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;" + ], + "animate": [ + { "baby_transform": "query.is_baby" }, + "walk", + "look_at_player", + { "rear": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.skeleton_horse.v3" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 32 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/skull.entity.json b/resource_pack/entity/skull.entity.json new file mode 100644 index 0000000..de384f8 --- /dev/null +++ b/resource_pack/entity/skull.entity.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:skull", + "textures": { + "default": "textures/entity/steve", + "steve": "textures/entity/steve", + "skeleton": "textures/entity/skulls/skeleton", + "wither": "textures/entity/skulls/wither_skeleton", + "zombie": "textures/entity/skulls/zombie", + "creeper": "textures/entity/skulls/creeper", + "dragon": "textures/entity/dragon/dragon", + "piglin": "textures/entity/piglin/piglin" + }, + "geometry": { + "default": "geometry.player_head", + "steve": "geometry.player_head", + "skeleton": "geometry.mob_head", + "wither": "geometry.mob_head", + "zombie": "geometry.mob_head", + "creeper": "geometry.mob_head", + "dragon": "geometry.dragon_head", + "piglin": "geometry.piglin" + } + } + } +} diff --git a/resource_pack/entity/slime.entity.json b/resource_pack/entity/slime.entity.json new file mode 100644 index 0000000..23ff886 --- /dev/null +++ b/resource_pack/entity/slime.entity.json @@ -0,0 +1,38 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:slime", + "materials": { + "default": "slime", + "outer": "slime_outer" + }, + "textures": { + "default": "textures/entity/slime/slime" + }, + "geometry": { + "default": "geometry.slime", + "armor": "geometry.slime.armor" + }, + "scripts": { + "pre_animation": [ + "variable.squish_factor = (query.previous_squish_value + (query.current_squish_value - query.previous_squish_value) * query.frame_alpha);", + "variable.bounce = 1 / ((variable.squish_factor / (query.variant * 0.5 + 1)) + 1);", + "variable.horizontal_scale_amount = variable.bounce * query.variant;", + "variable.vertical_scale_amount = (1 / variable.bounce) * query.variant;" + ], + "scaleX": "variable.horizontal_scale_amount", + "scaleY": "variable.vertical_scale_amount", + "scaleZ": "variable.horizontal_scale_amount" + }, + "render_controllers": [ + "controller.render.slime", + "controller.render.slime_armor" + ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 10 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/small_fireball.entity.json b/resource_pack/entity/small_fireball.entity.json new file mode 100644 index 0000000..8f0167e --- /dev/null +++ b/resource_pack/entity/small_fireball.entity.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:small_fireball", + "materials": { + "default": "fireball" + }, + "textures": { + "default": "textures/items/fireball" + }, + "geometry": { + "default": "geometry.fireball" + }, + "animations": { + "face_player": "animation.actor.billboard" + }, + "scripts": { + "scale": "0.5", + "animate": [ + "face_player" + ] + }, + "render_controllers": [ "controller.render.fireball" ] + } + } +} diff --git a/resource_pack/entity/sniffer.entity.json b/resource_pack/entity/sniffer.entity.json new file mode 100644 index 0000000..ad9aac5 --- /dev/null +++ b/resource_pack/entity/sniffer.entity.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:sniffer", + "materials": { + "default": "sniffer" + }, + "textures": { + "default": "textures/entity/sniffer/sniffer" + }, + "scripts": { + "pre_animation": [ + "variable.moving = math.min(1.0, query.modified_move_speed * 10);" + ] + }, + "geometry": { + "default": "geometry.sniffer" + }, + "animations": { + "baby_transform": "animation.sniffer.baby_transform", + "walk": "animation.sniffer.walk", + "look_at_target": "animation.common.look_at_target", + "sniffsniff": "animation.sniffer.sniffsniff", + "long_sniff": "animation.sniffer.longsniff", + "search": "animation.sniffer.search", + "dig": "animation.sniffer.dig", + "stand_up": "animation.sniffer.stand_up", + "feeling_happy": "animation.sniffer.feeling_happy" + }, + "animation_controllers": [ + { "general": "controller.animation.sniffer.general" }, + { "baby": "controller.animation.sniffer.baby" }, + { "walk": "controller.animation.sniffer.walk" }, + { "sniffsniff": "controller.animation.sniffer.sniffsniff" }, + { "long_sniff": "controller.animation.sniffer.long_sniff" }, + { "search": "controller.animation.sniffer.search" }, + { "dig": "controller.animation.sniffer.dig" }, + { "stand_up": "controller.animation.sniffer.stand_up" }, + { "feeling_happy": "controller.animation.sniffer.feeling_happy" } + ], + "render_controllers": [ "controller.render.sniffer" ], + "spawn_egg": { + "base_color": "#871E09", + "overlay_color": "#25AB70" + }, + "sound_effects": { + "drop_seed": "mob.sniffer.drop_seed", + "sniffsniff": "mob.sniffer.sniffsniff", + "searching": "mob.sniffer.searching", + "long_sniff": "mob.sniffer.long_sniff", + "digging": "mob.sniffer.digging", + "stand_up": "mob.sniffer.stand_up", + "happy": "mob.sniffer.happy" + } + } + } +} diff --git a/resource_pack/entity/snow_golem.entity.json b/resource_pack/entity/snow_golem.entity.json new file mode 100644 index 0000000..d893a9c --- /dev/null +++ b/resource_pack/entity/snow_golem.entity.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:snow_golem", + "min_engine_version": "1.8.0", + "spawn_egg": { + "base_color": "#d9f2f2", + "overlay_color": "#81a4a4" + } + } + } +} diff --git a/resource_pack/entity/snow_golem.v1.0.entity.json b/resource_pack/entity/snow_golem.v1.0.entity.json new file mode 100644 index 0000000..fbb5c83 --- /dev/null +++ b/resource_pack/entity/snow_golem.v1.0.entity.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:snow_golem", + "spawn_egg": { + "base_color": "#d9f2f2", + "overlay_color": "#81a4a4" + } + } + } +} diff --git a/resource_pack/entity/snowball.entity.json b/resource_pack/entity/snowball.entity.json new file mode 100644 index 0000000..d2286cf --- /dev/null +++ b/resource_pack/entity/snowball.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:snowball", + "materials": { + "default": "snowball" + }, + "textures": { + "default": "textures/items/snowball" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.item_sprite" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/spider.entity.json b/resource_pack/entity/spider.entity.json new file mode 100644 index 0000000..ef2e62a --- /dev/null +++ b/resource_pack/entity/spider.entity.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:spider", + "min_engine_version": "1.8.0", + "materials": { + "default": "spider", + "invisible": "spider_invisible" + }, + "textures": { + "default": "textures/entity/spider/spider" + }, + "geometry": { + "default": "geometry.spider.v1.8" + }, + "animations": { + "default_leg_pose": "animation.spider.default_leg_pose", + "look_at_target": "animation.spider.look_at_target", + "walk": "animation.spider.walk" + }, + "animation_controllers": [ + { "move": "controller.animation.spider.move" } + ], + "render_controllers": [ "controller.render.spider" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 11 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/spider.v1.0.entity.json b/resource_pack/entity/spider.v1.0.entity.json new file mode 100644 index 0000000..cc9e910 --- /dev/null +++ b/resource_pack/entity/spider.v1.0.entity.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:spider", + "materials": { + "default": "spider", + "invisible": "spider_invisible" + }, + "textures": { + "default": "textures/entity/spider/spider" + }, + "geometry": { + "default": "geometry.spider" + }, + "animations": { + "default_leg_pose": "animation.spider.default_leg_pose", + "look_at_target": "animation.spider.look_at_target", + "walk": "animation.spider.walk" + }, + "animation_controllers": [ + { "move": "controller.animation.spider.move" } + ], + "render_controllers": [ "controller.render.spider" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 11 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/splash_potion.entity.json b/resource_pack/entity/splash_potion.entity.json new file mode 100644 index 0000000..6451a5a --- /dev/null +++ b/resource_pack/entity/splash_potion.entity.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:splash_potion", + "materials": { + "default": "splash_potion_enchanted" + }, + "textures": { + "moveSlowdown": "textures/items/potion_bottle_splash_moveSlowdown", + "moveSpeed": "textures/items/potion_bottle_splash_moveSpeed", + "digSlowdown": "textures/items/potion_bottle_splash_digSlowdown", + "digSpeed": "textures/items/potion_bottle_splash_digSpeed", + "damageBoost": "textures/items/potion_bottle_splash_damageBoost", + "heal": "textures/items/potion_bottle_splash_heal", + "harm": "textures/items/potion_bottle_splash_harm", + "jump": "textures/items/potion_bottle_splash_jump", + "confusion": "textures/items/potion_bottle_splash_confusion", + "regeneration": "textures/items/potion_bottle_splash_regeneration", + "resistance": "textures/items/potion_bottle_splash_resistance", + "fireResistance": "textures/items/potion_bottle_splash_fireResistance", + "waterBreathing": "textures/items/potion_bottle_splash_waterBreathing", + "invisibility": "textures/items/potion_bottle_splash_invisibility", + "blindness": "textures/items/potion_bottle_splash_blindness", + "nightVision": "textures/items/potion_bottle_splash_nightVision", + "hunger": "textures/items/potion_bottle_splash_hunger", + "weakness": "textures/items/potion_bottle_splash_weakness", + "poison": "textures/items/potion_bottle_splash_poison", + "wither": "textures/items/potion_bottle_splash_wither", + "healthBoost": "textures/items/potion_bottle_splash_healthBoost", + "absorption": "textures/items/potion_bottle_splash_absorption", + "saturation": "textures/items/potion_bottle_splash_saturation", + "levitation": "textures/items/potion_bottle_splash_levitation", + "turtleMaster": "textures/items/potion_bottle_splash_turtleMaster", + "slowFall": "textures/items/potion_bottle_splash_slowFall", + "default": "textures/items/potion_bottle_splash", + "enchanted": "textures/misc/enchanted_item_glint", + "windCharged": "textures/items/potion_bottle_splash_windCharged", + "weaving": "textures/items/potion_bottle_splash_weaving", + "oozing": "textures/items/potion_bottle_splash_oozing", + "infested": "textures/items/potion_bottle_splash_infested" + }, + "geometry": { + "default": "geometry.item_sprite" + }, + "render_controllers": [ "controller.render.splash_potion" ], + "animations": { + "flying": "animation.actor.billboard" + }, + "scripts": { + "animate": [ + "flying" + ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/squid.entity.json b/resource_pack/entity/squid.entity.json new file mode 100644 index 0000000..8b0ef59 --- /dev/null +++ b/resource_pack/entity/squid.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:squid", + "materials": { "default": "squid" }, + "textures": { + "default": "textures/entity/squid" + }, + "geometry": { + "default": "geometry.squid" + }, + "animations": { + "move": "animation.squid.move", + "squid_rotate": "animation.squid.rotate" + }, + "scripts": { + "animate": [ + "move", + "squid_rotate" + ] + }, + "render_controllers": [ "controller.render.squid" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 15 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/stray.entity.json b/resource_pack/entity/stray.entity.json new file mode 100644 index 0000000..5255736 --- /dev/null +++ b/resource_pack/entity/stray.entity.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:stray", + "min_engine_version": "1.8.0", + "materials": { + "default": "stray", + "overlay": "stray_clothes" + }, + "textures": { + "default": "textures/entity/skeleton/stray", + "overlay": "textures/entity/skeleton/stray_overlay" + }, + "geometry": { + "default": "geometry.skeleton.stray.v1.8", + "overlay": "geometry.stray.armor.v1.8" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 27 + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "swimming": "animation.zombie.swimming", + "use_item_progress": "animation.humanoid.use_item_progress", + "skeleton_attack": "animation.skeleton.attack" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.zombie.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "skeleton_attack": "controller.animation.skeleton.attack" } + ], + "render_controllers": [ + "controller.render.stray_clothes", + "controller.render.stray" + ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/stray.v1.0.entity.json b/resource_pack/entity/stray.v1.0.entity.json new file mode 100644 index 0000000..0c7b3c9 --- /dev/null +++ b/resource_pack/entity/stray.v1.0.entity.json @@ -0,0 +1,71 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:stray", + "materials": { + "default": "stray", + "overlay": "stray_clothes" + }, + "textures": { + "default": "textures/entity/skeleton/stray", + "overlay": "textures/entity/skeleton/stray_overlay" + }, + "geometry": { + "default": "geometry.skeleton.stray", + "overlay": "geometry.stray.armor" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 27 + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "skeleton_attack": "animation.skeleton.attack" + }, + "animation_controllers": [ + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "skeleton_attack": "controller.animation.skeleton.attack" } + ], + "render_controllers": [ + "controller.render.stray_clothes", + "controller.render.stray" + ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/strider.entity.json b/resource_pack/entity/strider.entity.json new file mode 100644 index 0000000..d85b85c --- /dev/null +++ b/resource_pack/entity/strider.entity.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:strider", + "materials": { "default": "strider" }, + "textures": { + "default": "textures/entity/strider/strider", + "saddled": "textures/entity/strider/strider_saddled", + "suffocated": "textures/entity/strider/strider_suffocated", + "suffocated_saddled": "textures/entity/strider/strider_suffocated_saddled" + }, + "geometry": { + "default": "geometry.strider" + }, + "spawn_egg": { + "base_color": "#9c3436", + "overlay_color": "#4d494d" + }, + "scripts": { + "pre_animation": [ + "variable.animation_speed = Math.min(query.modified_move_speed, 0.25);", + "variable.speed = 85.9437;", + "variable.bristle_flow=Math.cos(query.modified_distance_moved * variable.speed + 180) * variable.animation_speed;", + "variable.bristle_range_mod=1;", + "variable.bristle_speed_mod=1;" + ], + "animate": [ + "look_at_target", + "walk", + "bristle_flow" + ] + }, + "animations": { + "look_at_target": "animation.strider.look_at_target.default", + "walk": "animation.strider.walk", + "bristle_flow": "animation.strider.bristle_flow" + }, + "render_controllers": [ + "controller.render.strider" + ] + } + } +} diff --git a/resource_pack/entity/tadpole.entity.json b/resource_pack/entity/tadpole.entity.json new file mode 100644 index 0000000..06a285e --- /dev/null +++ b/resource_pack/entity/tadpole.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:tadpole", + "materials": { "default": "tadpole" }, + "textures": { + "default": "textures/entity/tadpole/tadpole" + }, + "geometry": { + "default": "geometry.tadpole" + }, + "spawn_egg": { + "base_color": "#6d533d", + "overlay_color": "#160a00" + }, + "animations": { + "swim": "animation.tadpole.swim" + }, + "animation_controllers": [ + { "general": "controller.animation.tadpole.general" } + ], + "render_controllers": [ "controller.render.tadpole" ] + } + } +} diff --git a/resource_pack/entity/thrown_trident.entity.json b/resource_pack/entity/thrown_trident.entity.json new file mode 100644 index 0000000..663ac14 --- /dev/null +++ b/resource_pack/entity/thrown_trident.entity.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:thrown_trident", + "textures": { + "default": "textures/entity/trident", + "loyalty_rope": "textures/entity/loyalty_rope" + }, + "geometry": { + "default": "geometry.trident" + } + } + } +} diff --git a/resource_pack/entity/tnt_minecart.entity.json b/resource_pack/entity/tnt_minecart.entity.json new file mode 100644 index 0000000..baa883b --- /dev/null +++ b/resource_pack/entity/tnt_minecart.entity.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:tnt_minecart", + "min_engine_version": "1.8.0", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/tnt_minecart.v1.0.entity.json b/resource_pack/entity/tnt_minecart.v1.0.entity.json new file mode 100644 index 0000000..905ce5d --- /dev/null +++ b/resource_pack/entity/tnt_minecart.v1.0.entity.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:tnt_minecart", + "materials": { + "default": "minecart" + }, + "textures": { + "default": "textures/entity/minecart" + }, + "geometry": { + "default": "geometry.minecart" + }, + "scripts": { + "pre_animation": [ + "variable.hurt = query.hurt_time - query.frame_alpha;" + ], + "animate": [ + "move" + ] + }, + "animations": { + "move": "animation.minecart.move.v1.0" + }, + "render_controllers": [ "controller.render.minecart" ] + } + } +} diff --git a/resource_pack/entity/trader_llama.entity.json b/resource_pack/entity/trader_llama.entity.json new file mode 100644 index 0000000..573c561 --- /dev/null +++ b/resource_pack/entity/trader_llama.entity.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:trader_llama", + "materials": { "default": "llama" }, + "textures": { + "creamy": "textures/entity/llama/llama_creamy", + "white": "textures/entity/llama/llama_white", + "brown": "textures/entity/llama/llama_brown", + "gray": "textures/entity/llama/llama_gray", + "decor_none": "textures/entity/llama/decor/decor_none", + "decor_white": "textures/entity/llama/decor/decor_white", + "decor_orange": "textures/entity/llama/decor/decor_orange", + "decor_magenta": "textures/entity/llama/decor/decor_magenta", + "decor_light_blue": "textures/entity/llama/decor/decor_light_blue", + "decor_yellow": "textures/entity/llama/decor/decor_yellow", + "decor_lime": "textures/entity/llama/decor/decor_lime", + "decor_pink": "textures/entity/llama/decor/decor_pink", + "decor_gray": "textures/entity/llama/decor/decor_gray", + "decor_silver": "textures/entity/llama/decor/decor_silver", + "decor_cyan": "textures/entity/llama/decor/decor_cyan", + "decor_purple": "textures/entity/llama/decor/decor_purple", + "decor_blue": "textures/entity/llama/decor/decor_blue", + "decor_brown": "textures/entity/llama/decor/decor_brown", + "decor_green": "textures/entity/llama/decor/decor_green", + "decor_red": "textures/entity/llama/decor/decor_red", + "decor_black": "textures/entity/llama/decor/decor_black", + "decor_wandering_trader": "textures/entity/llama/decor/trader_llama_decor" + }, + "geometry": { + "default": "geometry.llama.v1.8" + }, + "animations": { + "setup": "animation.llama.setup", + "walk": "animation.quadruped.walk", + "look_at_target": "animation.common.look_at_target", + "baby_transform": "animation.llama.baby_transform" + }, + "animation_controllers": [ + { "move": "controller.animation.llama.move" }, + { "baby": "controller.animation.llama.baby" } + ], + "render_controllers": [ "controller.render.llama" ], + "spawn_egg": { + "base_color": "#eaa430", + "overlay_color": "#456296" + } + } + } +} diff --git a/resource_pack/entity/trial_spawner.entity.json b/resource_pack/entity/trial_spawner.entity.json new file mode 100644 index 0000000..da9fcee --- /dev/null +++ b/resource_pack/entity/trial_spawner.entity.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:trial_spawner", + "textures": { + "trial_spawner": "textures/blocks/trial_spawner_base" + } + } + } +} diff --git a/resource_pack/entity/tripod_camera.entity.json b/resource_pack/entity/tripod_camera.entity.json new file mode 100644 index 0000000..fd3566e --- /dev/null +++ b/resource_pack/entity/tripod_camera.entity.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:tripod_camera", + "materials": { "default": "camera" }, + "textures": { + "default": "textures/entity/camera_tripod" + }, + "geometry": { + "default": "geometry.tripod_camera" + }, + "animations": { + "neutral": "animation.tripod_camera.neutral" + }, + "animation_controllers": [ + { "base" : "controller.animation.tripod_camera.base_pose" } + ], + "render_controllers": [ "controller.render.tripod_camera" ] + } + } +} diff --git a/resource_pack/entity/tropicalfish.entity.json b/resource_pack/entity/tropicalfish.entity.json new file mode 100644 index 0000000..d6c034b --- /dev/null +++ b/resource_pack/entity/tropicalfish.entity.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:tropicalfish", + "materials": { "default": "tropicalfish" }, + "textures": { + "typeA": "textures/entity/fish/tropical_a", + "typeB": "textures/entity/fish/tropical_b", + "aPattern1": "textures/entity/fish/tropical_a_pattern_1", + "aPattern2": "textures/entity/fish/tropical_a_pattern_2", + "aPattern3": "textures/entity/fish/tropical_a_pattern_3", + "aPattern4": "textures/entity/fish/tropical_a_pattern_4", + "aPattern5": "textures/entity/fish/tropical_a_pattern_5", + "aPattern6": "textures/entity/fish/tropical_a_pattern_6", + "bPattern1": "textures/entity/fish/tropical_b_pattern_1", + "bPattern2": "textures/entity/fish/tropical_b_pattern_2", + "bPattern3": "textures/entity/fish/tropical_b_pattern_3", + "bPattern4": "textures/entity/fish/tropical_b_pattern_4", + "bPattern5": "textures/entity/fish/tropical_b_pattern_5", + "bPattern6": "textures/entity/fish/tropical_b_pattern_6" + }, + "scripts": { + "pre_animation": [ + "variable.ZRot = !query.is_in_water ? Math.cos((query.time_stamp + query.frame_alpha) * 0.25) * 90 : 0.0;", + "variable.AnimationAmountBlend = Math.lerp(variable.AnimationAmountPrev, variable.AnimationAmount, query.frame_alpha);" + ] + }, + "geometry": { + "typeA": "geometry.tropicalfish_a", + "typeB": "geometry.tropicalfish_b" + }, + "animations": { + "flop": "animation.tropicalfish.flop", + "swim": "animation.tropicalfish.swim" + }, + "animation_controllers": [ + { "general": "controller.animation.fish.general" } + ], + "render_controllers": [ "controller.render.tropicalfish" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 44 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/turtle.entity.json b/resource_pack/entity/turtle.entity.json new file mode 100644 index 0000000..9ff4ce8 --- /dev/null +++ b/resource_pack/entity/turtle.entity.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:turtle", + "materials": { "default": "turtle" }, + "textures": { + "default": "textures/entity/sea_turtle" + }, + "geometry": { + "default": "geometry.turtle" + }, + "scripts": { + "pre_animation": [ + "variable.timeMultiplier = query.has_rider ? 0.39972 : 1.0;", + "variable.backLegMultiplier = query.has_rider ? 0.5 : 3.0;", + "variable.frontLegMultiplier = query.has_rider ? 2.0 : 8.0;", + "variable.legSpeedMultiplier = query.has_rider ? 2.0 : 5.0;" + ], + "scale": "1.2" + }, + "animations": { + "general": "animation.turtle.general", + "move": "animation.turtle.move", + "ground_move": "animation.turtle.ground_move", + "look_at_target": "animation.common.look_at_target" + }, + "animation_controllers": [ + { "general": "controller.animation.turtle.general" }, + { "move": "controller.animation.turtle.move" } + ], + "render_controllers": [ "controller.render.turtle" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 50 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/vex.entity.json b/resource_pack/entity/vex.entity.json new file mode 100644 index 0000000..18d4df8 --- /dev/null +++ b/resource_pack/entity/vex.entity.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:vex", + "min_engine_version": "1.8.0", + "materials": { "default": "vex" }, + "textures": { + "default": "textures/entity/vex/vex", + "charging": "textures/entity/vex/vex_charging" + }, + "geometry": { + "default": "geometry.vex.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.empty_handed = !query.is_item_equipped(0) && !query.is_item_equipped(1);" + ], + "scale": "1.0" + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "vex_charge": "animation.vex.charge", + "vex_idle": "animation.vex.idle" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "vex_charge": "controller.animation.vex.charge" }, + { "vex_idle": "controller.animation.vex.idle" } + ], + "render_controllers": [ "controller.render.vex" ], + "held_item_ignores_lighting": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 41 + } + } + } +} diff --git a/resource_pack/entity/vex.v1.0.entity.json b/resource_pack/entity/vex.v1.0.entity.json new file mode 100644 index 0000000..7a20a90 --- /dev/null +++ b/resource_pack/entity/vex.v1.0.entity.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:vex", + "materials": { "default": "vex" }, + "textures": { + "default": "textures/entity/vex/vex", + "charging": "textures/entity/vex/vex_charging" + }, + "geometry": { + "default": "geometry.vex" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.attackbodyroty = Math.sin(Math.sqrt(variable.attack_time) * 360.0) * 11.46;" + ], + "scale": "0.4" + }, + "animations": { + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.vex.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "vex_move": "animation.vex.move" + }, + "animation_controllers": [ + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "vex_move": "controller.animation.vex.move" } + ], + "render_controllers": [ "controller.render.vex" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 41 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/vex.v1.0.json b/resource_pack/entity/vex.v1.0.json new file mode 100644 index 0000000..eee706f --- /dev/null +++ b/resource_pack/entity/vex.v1.0.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:vex", + "materials": { "default": "vex" }, + "textures": { + "default": "textures/entity/vex/vex", + "charging": "textures/entity/vex/vex_charging" + }, + "geometry": { + "default": "geometry.vex" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ], + "scale": "0.4" + }, + "animations": { + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "vex_move": "animation.vex.move" + }, + "animation_controllers": [ + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "vex_move": "controller.animation.vex.move" } + ], + "render_controllers": [ "controller.render.vex" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 41 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/villager.entity.json b/resource_pack/entity/villager.entity.json new file mode 100644 index 0000000..18d594d --- /dev/null +++ b/resource_pack/entity/villager.entity.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:villager", + "min_engine_version": "1.8.0", + "materials": { + "default": "villager" + }, + "textures": { + "farmer": "textures/entity/villager/farmer", + "librarian": "textures/entity/villager/librarian", + "priest": "textures/entity/villager/priest", + "smith": "textures/entity/villager/smith", + "butcher": "textures/entity/villager/butcher" + }, + "geometry": { + "default": "geometry.villager.v1.8" + }, + "scripts": { + "scale": "0.9375" + }, + "animations": { + "general": "animation.villager.general", + "look_at_target": "animation.common.look_at_target", + "move": "animation.villager.move", + "baby_transform": "animation.villager.baby_transform" + }, + "animation_controllers": [ + { "general": "controller.animation.villager.general" }, + { "move": "controller.animation.villager.move" }, + { "baby": "controller.animation.villager.baby" } + ], + "render_controllers": [ "controller.render.villager" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 14 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/villager.v1.0.entity.json b/resource_pack/entity/villager.v1.0.entity.json new file mode 100644 index 0000000..6a74a79 --- /dev/null +++ b/resource_pack/entity/villager.v1.0.entity.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:villager", + "materials": { + "default": "villager" + }, + "textures": { + "farmer": "textures/entity/villager/farmer", + "librarian": "textures/entity/villager/librarian", + "priest": "textures/entity/villager/priest", + "smith": "textures/entity/villager/smith", + "butcher": "textures/entity/villager/butcher" + }, + "geometry": { + "default": "geometry.villager" + }, + "scripts": { + "scale": "0.9375" + }, + "animations": { + "general": "animation.villager.general.v1.0", + "look_at_target": "animation.common.look_at_target", + "move": "animation.villager.move", + "baby_transform": "animation.villager.baby_transform" + }, + "animation_controllers": [ + { "general": "controller.animation.villager.general" }, + { "move": "controller.animation.villager.move" }, + { "baby": "controller.animation.villager.baby" } + ], + "render_controllers": [ "controller.render.villager.v1.0" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 14 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/villager_v2.entity.json b/resource_pack/entity/villager_v2.entity.json new file mode 100644 index 0000000..6ca3ca9 --- /dev/null +++ b/resource_pack/entity/villager_v2.entity.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:villager_v2", + "materials": { + "default": "villager_v2", + "masked": "villager_v2_masked" + }, + "textures": { + // Base Textures - Vanilla Minecraft only has one such texture, rename these for resource packs desiring variety + "base": "textures/entity/villager2/villager", + "base2": "textures/entity/villager2/villager", + "base3": "textures/entity/villager2/villager", + "base4": "textures/entity/villager2/villager", + "base5": "textures/entity/villager2/villager", + "base6": "textures/entity/villager2/villager", + + // Biome Layer + "desert": "textures/entity/villager2/biomes/biome_desert", + "jungle": "textures/entity/villager2/biomes/biome_jungle", + "plains": "textures/entity/villager2/biomes/biome_plains", + "savanna": "textures/entity/villager2/biomes/biome_savanna", + "snow": "textures/entity/villager2/biomes/biome_snow", + "swamp": "textures/entity/villager2/biomes/biome_swamp", + "taiga": "textures/entity/villager2/biomes/biome_taiga", + + // Profession Layer + "armorer": "textures/entity/villager2/professions/armorer", + "butcher": "textures/entity/villager2/professions/butcher", + "cartographer": "textures/entity/villager2/professions/cartographer", + "cleric": "textures/entity/villager2/professions/cleric", + "farmer": "textures/entity/villager2/professions/farmer", + "fisherman": "textures/entity/villager2/professions/fisherman", + "fletcher": "textures/entity/villager2/professions/fletcher", + "leatherworker": "textures/entity/villager2/professions/leatherworker", + "librarian": "textures/entity/villager2/professions/librarian", + "shepherd": "textures/entity/villager2/professions/shepherd", + "tool_smith": "textures/entity/villager2/professions/toolsmith", + "weapon_smith": "textures/entity/villager2/professions/weaponsmith", + "stonemason": "textures/entity/villager2/professions/stonemason", + "nitwit": "textures/entity/villager2/professions/nitwit", + "unskilled": "textures/entity/villager2/professions/unskilled", + + // Levels Layer + "level_stone": "textures/entity/villager2/levels/level_stone", + "level_iron": "textures/entity/villager2/levels/level_iron", + "level_gold": "textures/entity/villager2/levels/level_gold", + "level_emerald": "textures/entity/villager2/levels/level_emerald", + "level_diamond": "textures/entity/villager2/levels/level_diamond" + }, + "geometry": { + "default": "geometry.villager_v2" + }, + "scripts": { + "scale": "0.9375", + "pre_animation": [ + "variable.num_professions = 15;", + "variable.num_tiers = 3;", + "variable.profession_index = (query.variant < variable.num_professions ? query.variant : 0);", + "variable.level_index = query.trade_tier;" + ] + }, + "animations": { + "general": "animation.villager.general", + "look_at_target": "animation.common.look_at_target", + "move": "animation.villager.move", + "raise_arms": "animation.villager.raise_arms", + "baby_transform": "animation.villager.baby_transform", + "get_in_bed": "animation.villager.get_in_bed" + }, + "animation_controllers": [ + { "general": "controller.animation.villager_v2.general" }, + { "move": "controller.animation.villager_v2.move" }, + { "raise_arms": "controller.animation.villager_v2.raise_arms" }, + { "baby": "controller.animation.villager_v2.baby" } + ], + "render_controllers": [ + "controller.render.villager_v2_base", + "controller.render.villager_v2_masked", + "controller.render.villager_v2_level" + ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 14 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/vindicator.entity.json b/resource_pack/entity/vindicator.entity.json new file mode 100644 index 0000000..9b97875 --- /dev/null +++ b/resource_pack/entity/vindicator.entity.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:vindicator", + "min_engine_version": "1.8.0", + "materials": { "default": "vindicator" }, + "textures": { "default": "textures/entity/vindicator" }, + "geometry": { "default": "geometry.vindicator.v1.8" }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 39 + }, + "scripts": { + "scale": "0.9375", + "animate": [ + "vindicator_base", + "vindicator_walk", + + "controller_look_at_target", + "controller_vindicator_base", + "controller_riding" + ] + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "riding.arms": "animation.vindicator.riding.arms", + "riding.legs": "animation.vindicator.riding.legs", + "vindicator_base": "animation.vindicator.base", + "vindicator_attack": "animation.vindicator.attack", + "vindicator_hand_attack": "animation.vindicator.hand_attack", + "vindicator_walk": "animation.vindicator.walk", + "celebrating": "animation.humanoid.celebrating", + "controller_look_at_target": "controller.animation.humanoid.look_at_target", + "controller_vindicator_base": "controller.animation.vindicator.base", + "controller_riding": "controller.animation.humanoid.riding" + }, + "render_controllers": [ "controller.render.vindicator" ], + "enable_attachables": true, + "hide_armor": true + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/vindicator.v1.0.entity.json b/resource_pack/entity/vindicator.v1.0.entity.json new file mode 100644 index 0000000..c70f3b8 --- /dev/null +++ b/resource_pack/entity/vindicator.v1.0.entity.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:vindicator", + "materials": { "default": "vindicator" }, + "textures": { "default": "textures/entity/vindicator" }, + "geometry": { "default": "geometry.vindicator" }, + "scripts": { + "scale": "0.9375" + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "vindicator_base": "animation.vindicator.base", + "vindicator_attack": "animation.vindicator.attack", + "vindicator_walk": "animation.vindicator.walk" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "vindicator_base": "controller.animation.vindicator.base.v1.0" } + ], + "render_controllers": [ "controller.render.vindicator" ], + "enable_attachables": true, + "hide_armor": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 39 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/wandering_trader.entity.json b/resource_pack/entity/wandering_trader.entity.json new file mode 100644 index 0000000..b4cd849 --- /dev/null +++ b/resource_pack/entity/wandering_trader.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wandering_trader", + "materials": { + "default": "wandering_trader" + }, + "textures": { + "default": "textures/entity/wandering_trader" + }, + "geometry": { + "default": "geometry.villager_v2" + }, + "scripts": { + "scale": "0.9375" + }, + "animations": { + "general": "animation.villager.general", + "look_at_target": "animation.common.look_at_target", + "raise_arms": "animation.villager.raise_arms", + "move": "animation.villager.move" + }, + "animation_controllers": [ + { "general": "controller.animation.villager.general" }, + { "raise_arms": "controller.animation.villager_v2.raise_arms"}, + { "move": "controller.animation.villager.move" } + ], + "render_controllers": [ "controller.render.wandering_trader" ], + "spawn_egg": { + "texture": "spawn_egg_wandering_trader" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/warden.entity.json b/resource_pack/entity/warden.entity.json new file mode 100644 index 0000000..c518a19 --- /dev/null +++ b/resource_pack/entity/warden.entity.json @@ -0,0 +1,107 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:warden", + "materials": { + "default": "warden", + "bioluminescent_layer": "warden_bioluminescent_layer" + }, + "textures": { + "default": "textures/entity/warden/warden", + "bioluminescent_layer": "textures/entity/warden/warden_bioluminescent_layer", + "spots_1": "textures/entity/warden/warden_pulsating_spots_1", + "spots_2": "textures/entity/warden/warden_pulsating_spots_2", + "tendrils": "textures/entity/warden/warden_tendrils", + "heart": "textures/entity/warden/warden_heart" + }, + "geometry": { "default": "geometry.warden" }, + "scripts": { + "pre_animation": [ + "variable.animation_speed = Math.min(0.5, 3.0 * query.modified_move_speed);", + "variable.anim_pos_mod = 49.388962;", + "variable.bob = query.life_time * 20;", + "variable.modified_bob = variable.bob * 0.1 * 57.2958;", + "variable.modified_bob_sin = math.sin(variable.modified_bob);", + "variable.modified_bob_cos = math.cos(variable.modified_bob);", + "variable.pi = 180;", + "variable.halfpi = variable.pi / 2.0;", + "variable.tendril_animation_length = 0.5;", + "variable.head_x_rot = (68.7549 * math.cos(query.modified_distance_moved * variable.anim_pos_mod + variable.halfpi) * math.min(0.35, variable.animation_speed)) + (math.sin(variable.bob * 5.72958) * 0.06);", + "variable.head_z_rot = (17.1887 * math.sin(query.modified_distance_moved * variable.anim_pos_mod) * variable.animation_speed) + (Math.cos(variable.bob * 5.72958) * 0.06);", + "variable.body_x_rot = (57.2958 * math.cos(query.modified_distance_moved * variable.anim_pos_mod) * math.min(0.35, variable.animation_speed)) + (math.cos(variable.bob * 5.72958) * 0.025);", + "variable.body_z_rot = (5.72958 * math.sin(query.modified_distance_moved * variable.anim_pos_mod) * variable.animation_speed) + (math.sin(variable.bob * 5.72958) * 0.025);", + "variable.left_leg_x_rot = 57.2958 * math.cos(query.modified_distance_moved * variable.anim_pos_mod) * variable.animation_speed;", + "variable.right_leg_x_rot = 57.2958 * math.cos(query.modified_distance_moved * variable.anim_pos_mod + variable.pi) * variable.animation_speed;", + "variable.left_arm_x_rot = -(45.8366 * math.cos(query.modified_distance_moved * variable.anim_pos_mod) * variable.animation_speed);", + "variable.right_arm_x_rot = -(45.8366 * math.sin(query.modified_distance_moved * variable.anim_pos_mod) * variable.animation_speed);", + "variable.vibration_phase = query.time_since_last_vibration_detection;", + "variable.tendril_animation = variable.vibration_phase < 0.0 ? 0.0 : 1.0 - (math.min(query.time_since_last_vibration_detection, variable.tendril_animation_length) / variable.tendril_animation_length);", + "variable.left_tendril_x_rot = variable.tendril_animation * (math.cos(variable.bob * 128.9155) * variable.pi * 0.1);", + "variable.right_tendril_x_rot = variable.left_tendril_x_rot * -1;", + "variable.spots_1_alpha = 0.25 * math.cos(variable.bob * 2.578);", + "variable.spots_2_alpha = 0.25 * math.cos(variable.bob * 2.578 + 180.0);", + "variable.tendrils_alpha = variable.tendril_animation;", + "variable.heart_alpha = 0.8 * (1.0 - query.heartbeat_phase);" + ], + "animate": [ + "base_pose", + { "move": "!(query.is_emerging || query.is_digging)" }, + "shiver_controller", + "bob", + { "emerge": "query.is_emerging" }, + "sniff_controller", + { "dig": "query.is_digging" }, + "roar_controller", + { "look_at_target": "!(query.is_emerging || query.is_digging)" }, + "melee_attack_controller", + { "swimming": "query.swim_amount > 0.0" }, + "sonic_boom_controller" + ], + "should_update_effects_offscreen": "1.0" + }, + "animations": { + "emerge": "animation.warden.emerge", + "sniff": "animation.warden.sniff", + "sniff_controller": "controller.animation.warden.sniff", + "dig": "animation.warden.dig", + "roar": "animation.warden.roar", + "roar_controller": "controller.animation.warden.roar", + "shiver": "animation.warden.shiver", + "shiver_controller": "controller.animation.warden.shiver", + "base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target": "animation.warden.look_at_target.default", + "move": "animation.warden.move", + "melee_attack": "animation.warden.attack", + "melee_attack_controller": "controller.animation.warden.melee_attacking", + "bob": "animation.warden.bob", + "swimming": "animation.humanoid.swimming.v1.0", + "sonic_boom": "animation.warden.sonic_boom", + "sonic_boom_controller": "controller.animation.warden.sonic_boom" + }, + "render_controllers": [ + "controller.render.warden", + "controller.render.warden_bioluminescent_layer", + "controller.render.warden_spots_1", + "controller.render.warden_spots_2", + "controller.render.warden_tendrils", + "controller.render.warden_heart" + ], + "enable_attachables": true, + "spawn_egg": { + "base_color": "#0F4649", + "overlay_color": "#39D6E0" + }, + "sound_effects": { + "emerge": "mob.warden.emerge", + "sniff": "mob.warden.sniff", + "dig": "mob.warden.dig", + "roar": "mob.warden.roar", + "clicking": "mob.warden.clicking" + }, + "particle_effects": { + "digging": "minecraft:warden_dig" + } + } + } +} diff --git a/resource_pack/entity/wind_charge_projectile.entity.json b/resource_pack/entity/wind_charge_projectile.entity.json new file mode 100644 index 0000000..3c4ca0c --- /dev/null +++ b/resource_pack/entity/wind_charge_projectile.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wind_charge_projectile", + "materials": { + "default": "breeze_wind" + }, + "textures": { + "default": "textures/entity/wind_charge" + }, + "geometry": { + "default": "geometry.wind_charge" + }, + "animations": { + "rotate": "animation.wind_charge.rotate" + }, + "scripts": { + "animate": [ + "rotate" + ] + }, + "render_controllers": [ "controller.render.wind_charge" ] + } + } +} diff --git a/resource_pack/entity/witch.entity.json b/resource_pack/entity/witch.entity.json new file mode 100644 index 0000000..0141f7d --- /dev/null +++ b/resource_pack/entity/witch.entity.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:witch", + "min_engine_version": "1.8.0", + "materials": { + "default": "witch" + }, + "textures": { + "default": "textures/entity/witch" + }, + "geometry": { + "default": "geometry.villager.witch.v1.8" + }, + "scripts": { + "scale": "0.9375" + }, + "animations": { + "villager_general": "animation.villager.general", + "look_at_target": "animation.common.look_at_target", + "move": "animation.villager.move", + "general": "animation.witch.general" + }, + "animation_controllers": [ + { "general": "controller.animation.witch.general" }, + { "move": "controller.animation.villager.move" } + ], + "render_controllers": [ "controller.render.witch" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 17 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/witch.v1.0.entity.json b/resource_pack/entity/witch.v1.0.entity.json new file mode 100644 index 0000000..23ec8eb --- /dev/null +++ b/resource_pack/entity/witch.v1.0.entity.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:witch", + "materials": { + "default": "witch" + }, + "textures": { + "default": "textures/entity/witch" + }, + "geometry": { + "default": "geometry.villager.witch" + }, + "scripts": { + "scale": "0.9375" + }, + "animations": { + "villager_general": "animation.villager.general.v1.0", + "look_at_target": "animation.common.look_at_target", + "move": "animation.villager.move", + "general": "animation.witch.general" + }, + "animation_controllers": [ + { "general": "controller.animation.witch.general" }, + { "move": "controller.animation.villager.move" } + ], + "render_controllers": [ "controller.render.witch.v1.0" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 17 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/wither.entity.json b/resource_pack/entity/wither.entity.json new file mode 100644 index 0000000..524cb13 --- /dev/null +++ b/resource_pack/entity/wither.entity.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wither", + "min_engine_version": "1.8.0", + "spawn_egg": { + "base_color": "#141414", + "overlay_color": "#4d72a0" + } + } + } +} diff --git a/resource_pack/entity/wither.v1.0.entity.json b/resource_pack/entity/wither.v1.0.entity.json new file mode 100644 index 0000000..8ed4669 --- /dev/null +++ b/resource_pack/entity/wither.v1.0.entity.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wither", + "spawn_egg": { + "base_color": "#141414", + "overlay_color": "#4d72a0" + } + } + } +} diff --git a/resource_pack/entity/wither_skeleton.entity.json b/resource_pack/entity/wither_skeleton.entity.json new file mode 100644 index 0000000..2cda3f5 --- /dev/null +++ b/resource_pack/entity/wither_skeleton.entity.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wither_skeleton", + "min_engine_version": "1.8.0", + "materials": { "default": "skeleton" }, + "textures": { + "default": "textures/entity/skeleton/wither_skeleton" + }, + "geometry": { + "default": "geometry.skeleton.wither.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "use_item_progress": "animation.humanoid.use_item_progress", + "wither_skeleton_attack": "animation.wither_skeleton.attack", + "swimming": "animation.zombie.swimming" + }, + "animation_controllers": [ + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "wither_skeleton_attack": "controller.animation.wither_skeleton.attack" }, + { "swimming": "controller.animation.zombie.swimming" } + ], + "render_controllers": [ "controller.render.wither_skeleton" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 29 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/wither_skeleton.v1.0.entity.json b/resource_pack/entity/wither_skeleton.v1.0.entity.json new file mode 100644 index 0000000..0e7b458 --- /dev/null +++ b/resource_pack/entity/wither_skeleton.v1.0.entity.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wither_skeleton", + "materials": { "default": "skeleton" }, + "textures": { "default": "textures/entity/skeleton/wither_skeleton" }, + "geometry": { "default": "geometry.skeleton.wither" }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "wither_skeleton_attack": "animation.wither_skeleton.attack" + }, + "animation_controllers": [ + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "wither_skeleton_attack": "controller.animation.wither_skeleton.attack" } + ], + "render_controllers": [ "controller.render.wither_skeleton" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 29 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/wither_skull.entity.json b/resource_pack/entity/wither_skull.entity.json new file mode 100644 index 0000000..ad33923 --- /dev/null +++ b/resource_pack/entity/wither_skull.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wither_skull", + "materials": { + "default": "wither_skull" + }, + "textures": { + "default": "textures/entity/wither_boss/wither" + }, + "geometry": { + "default": "geometry.wither_skull" + }, + "animations": { + "move": "animation.wither_skull.move" + }, + "scripts": { + "animate": [ + "move" + ] + }, + "render_controllers": [ "controller.render.wither_skull" ] + } + } +} diff --git a/resource_pack/entity/wither_skull_dangerous.entity.json b/resource_pack/entity/wither_skull_dangerous.entity.json new file mode 100644 index 0000000..88916ad --- /dev/null +++ b/resource_pack/entity/wither_skull_dangerous.entity.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wither_skull_dangerous", + "materials": { + "default": "wither_skull" + }, + "textures": { + "default": "textures/entity/wither_boss/wither_invulnerable" + }, + "geometry": { + "default": "geometry.wither_skull" + }, + "animations": { + "move": "animation.wither_skull.move" + }, + "scripts": { + "animate": [ + "move" + ] + }, + "render_controllers": [ "controller.render.wither_skull" ] + } + } +} diff --git a/resource_pack/entity/wolf.entity.json b/resource_pack/entity/wolf.entity.json new file mode 100644 index 0000000..df9d7cf --- /dev/null +++ b/resource_pack/entity/wolf.entity.json @@ -0,0 +1,85 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:wolf", + "materials": { + "default": "wolf" + }, + "textures": { + "pale_default": "textures/entity/wolf/wolf", + "pale_angry": "textures/entity/wolf/wolf_angry", + "pale_tame": "textures/entity/wolf/wolf_tame", + "ashen_default": "textures/entity/wolf/wolf_ashen", + "ashen_angry": "textures/entity/wolf/wolf_ashen_angry", + "ashen_tame": "textures/entity/wolf/wolf_ashen_tame", + "black_default": "textures/entity/wolf/wolf_black", + "black_angry": "textures/entity/wolf/wolf_black_angry", + "black_tame": "textures/entity/wolf/wolf_black_tame", + "chestnut_default": "textures/entity/wolf/wolf_chestnut", + "chestnut_angry": "textures/entity/wolf/wolf_chestnut_angry", + "chestnut_tame": "textures/entity/wolf/wolf_chestnut_tame", + "rusty_default": "textures/entity/wolf/wolf_rusty", + "rusty_angry": "textures/entity/wolf/wolf_rusty_angry", + "rusty_tame": "textures/entity/wolf/wolf_rusty_tame", + "snowy_default": "textures/entity/wolf/wolf_snowy", + "snowy_angry": "textures/entity/wolf/wolf_snowy_angry", + "snowy_tame": "textures/entity/wolf/wolf_snowy_tame", + "spotted_default": "textures/entity/wolf/wolf_spotted", + "spotted_angry": "textures/entity/wolf/wolf_spotted_angry", + "spotted_tame": "textures/entity/wolf/wolf_spotted_tame", + "striped_default": "textures/entity/wolf/wolf_striped", + "striped_angry": "textures/entity/wolf/wolf_striped_angry", + "striped_tame": "textures/entity/wolf/wolf_striped_tame", + "woods_default": "textures/entity/wolf/wolf_woods", + "woods_angry": "textures/entity/wolf/wolf_woods_angry", + "woods_tame": "textures/entity/wolf/wolf_woods_tame" + }, + "geometry": { + "default": "geometry.wolf" + }, + "scripts": { + "pre_animation": [ + "variable.body_shake_angle = 0.05 * query.frame_alpha + query.shake_angle;", + "variable.body_roll_progress = Math.clamp((variable.body_shake_angle - 0.16) / 1.8, 0, 1);", + "variable.body_rot_z = Math.sin(variable.body_roll_progress * 180) * Math.sin(variable.body_roll_progress * 1980) * 27;", + "variable.upper_body_roll_progress = Math.clamp((variable.body_shake_angle - 0.08) / 1.8, 0, 1);", + "variable.upper_body_rot_z = (Math.sin(variable.upper_body_roll_progress * 180) * Math.sin(variable.upper_body_roll_progress * 1980) * 27) - variable.body_rot_z;", + "variable.tail_roll_progress = Math.clamp((variable.body_shake_angle - 0.2) / 1.8, 0, 1);", + "variable.tail_rot_z = (Math.sin(variable.tail_roll_progress * 180) * Math.sin(variable.tail_roll_progress * 1980) * 27) - variable.body_rot_z;", + "variable.head_roll_progress = Math.clamp(variable.body_shake_angle / 1.8, 0, 1);", + "variable.head_rot_z = (Math.sin(variable.head_roll_progress * 180) * Math.sin(variable.head_roll_progress * 1980) * 27) - variable.body_rot_z;" + ] + }, + "animations": { + "wolf_setup": "animation.wolf.setup", + "wolf_baby_scaling": "animation.wolf.baby_scaling", + "wolf_look_at": "animation.common.look_at_target", + "wolf_head_rot_z": "animation.wolf.head_rot_z", + "wolf_tail_default": "animation.wolf.tail_default", + "wolf_angry": "animation.wolf.angry", + "wolf_sitting": "animation.wolf.sitting", + "wolf_shaking": "animation.wolf.shaking", + "wolf_leg_default": "animation.wolf.leg_default" + }, + "animation_controllers": [ + { "wolf_setup": "controller.animation.wolf.setup" }, + { "wolf_look_at": "controller.animation.wolf.look_at" }, + { "wolf_baby_scaling": "controller.animation.wolf.baby_scaling" }, + { "wolf_head_rot_z": "controller.animation.wolf.head_rot_z" }, + { "wolf_tail_default": "controller.animation.wolf.tail_default" }, + { "wolf_angry": "controller.animation.wolf.angry" }, + { "wolf_sitting": "controller.animation.wolf.sitting" }, + { "wolf_shaking": "controller.animation.wolf.shaking" } + ], + "render_controllers": [ + "controller.render.wolf" + ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 4 + } + } + } +} diff --git a/resource_pack/entity/zoglin.entity.json b/resource_pack/entity/zoglin.entity.json new file mode 100644 index 0000000..c36a61c --- /dev/null +++ b/resource_pack/entity/zoglin.entity.json @@ -0,0 +1,39 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zoglin", + "materials": { "default": "zoglin" }, + "textures": { + "default": "textures/entity/zoglin/zoglin" + }, + "geometry": { + "default": "geometry.hoglin" + }, + "spawn_egg": { + "base_color": "#c66e55", + "overlay_color": "#e6e6e6" + }, + "scripts": { + "pre_animation": [ + "variable.tcos_right_side = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;", + "variable.tcos_left_side = -variable.tcos_right_side;", + "variable.attack_head_rot = Math.sin(variable.attack_time * 180.0) * -37.3;" + ], + "animate": [ + "walk", + "look_at_target", + { "attack": "variable.has_target && variable.attack_time >= 0.0" }, + { "hoglin_baby_scaling": "query.is_baby" } + ] + }, + "animations": { + "walk": "animation.hoglin.walk", + "look_at_target": "animation.hoglin.look_at_target", + "attack": "animation.hoglin.attack", + "hoglin_baby_scaling": "animation.hoglin.baby_scaling" + }, + "render_controllers": [ "controller.render.zoglin" ] + } + } +} diff --git a/resource_pack/entity/zombie.entity.json b/resource_pack/entity/zombie.entity.json new file mode 100644 index 0000000..8624089 --- /dev/null +++ b/resource_pack/entity/zombie.entity.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie", + "min_engine_version": "1.8.0", + "materials": { + "default": "zombie" + }, + "textures": { + "default": "textures/entity/zombie/zombie" + }, + "geometry": { + "default": "geometry.zombie.v1.8" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 12 + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "use_item_progress": "animation.humanoid.use_item_progress", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "swimming": "animation.zombie.swimming" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" }, + { "swimming": "controller.animation.zombie.swimming" } + ], + "render_controllers": [ "controller.render.zombie" ], + "enable_attachables": true + } + } +} diff --git a/resource_pack/entity/zombie.v1.0.entity.json b/resource_pack/entity/zombie.v1.0.entity.json new file mode 100644 index 0000000..40e4886 --- /dev/null +++ b/resource_pack/entity/zombie.v1.0.entity.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie", + "materials": { "default": "zombie" }, + "textures": { "default": "textures/entity/zombie/zombie" }, + "geometry": { "default": "geometry.zombie" }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "zombie_swimming": "animation.zombie.swimming" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" }, + { "zombie_swimming": "controller.animation.zombie.swimming" } + ], + "render_controllers": [ "controller.render.zombie" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 12 + } + } + } +} diff --git a/resource_pack/entity/zombie_horse_v1.entity.json b/resource_pack/entity/zombie_horse_v1.entity.json new file mode 100644 index 0000000..9158fbf --- /dev/null +++ b/resource_pack/entity/zombie_horse_v1.entity.json @@ -0,0 +1,65 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_horse", + "materials": { + "default": "horse" + }, + "textures": { + "zombie": "textures/entity/horse/horse_zombie", + "markings_none": "textures/entity/horse/horse_markings_none", + "armor_none": "textures/entity/horse/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse" + }, + "animations": { + "setup": "animation.horse.setup", + "baby_transform": "animation.horse.baby_transform", + "walk": "animation.horse.walk", + "eat": "animation.horse.eat", + "stand": "animation.horse.stand", + "shake_tail": "animation.horse.shake_tail", + "mouth": "animation.horse.mouth", + "look_at_player": "animation.horse.look_at_player" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;", + "variable.leg_back_origin = query.bone_origin('leg1a');", + "variable.leg_front_origin = query.bone_origin('leg3a');", + "variable.head_rotation = query.bone_rotation('head');" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.walk_tail_angle = math.clamp(query.modified_move_speed * 50.0, 0.0, 90.0) * (1.0 - variable.stand_anim);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_walk_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_walk_factor * 45.8 * query.modified_move_speed;", + "variable.leg_stand = math.cos((query.life_time * 20.0) * 34.38) * variable.stand_anim;", + "variable.baby_ratio = query.is_baby ? ((0.0625 - query.model_scale) * 16.0) : 0.0;" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + { "walk": "variable.stand_anim < 0.5" }, + { "stand": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "shake_tail": "variable.shake_tail" }, + "mouth", + "look_at_player" + ] + }, + "render_controllers": [ "controller.render.zombie_horse.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 33 + } + } + } +} diff --git a/resource_pack/entity/zombie_horse_v2.entity.json b/resource_pack/entity/zombie_horse_v2.entity.json new file mode 100644 index 0000000..fe8a88f --- /dev/null +++ b/resource_pack/entity/zombie_horse_v2.entity.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_horse", + "min_engine_version": "1.2.6", + "materials": { + "default": "horse" + }, + "textures": { + "zombie": "textures/entity/horse2/horse_zombie", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v2" + }, + "animations": { + "setup": "animation.horse.v2.setup", + "baby_transform": "animation.horse.v2.baby_transform", + "walk": "animation.horse.v2.walk", + "eat": "animation.horse.v2.eat", + "stand": "animation.horse.v2.stand", + "tail": "animation.horse.v2.tail" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;", + "variable.mouth_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.mouth_anim = math.clamp(variable.mouth_anim + (variable.open_mouth ? ((1.0 - variable.mouth_anim) * 0.7 + 0.05) : -variable.mouth_anim * 0.7 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.base_head_angle = variable.inverse_max_stand_eat * (30.0 + variable.head_x_rot + variable.mouth_anim * math.sin((query.life_time * 20.0 + query.frame_alpha) * 57.3) * 2.86);", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;", + "variable.leg1a_aabb = query.bone_aabb('leg1a');", + "variable.y_adjust = query.is_baby ? 0.0 : (variable.leg1a_aabb.max.y - variable.leg1a_aabb.min.y) * (1.0 - (query.model_scale * 16.0));" + ], + "animate": [ + "setup", + { "baby_transform": "query.is_baby" }, + "walk", + "stand", + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.zombie_horse.v1.and.v2" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 33 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/zombie_horse_v3.entity.json b/resource_pack/entity/zombie_horse_v3.entity.json new file mode 100644 index 0000000..14c7506 --- /dev/null +++ b/resource_pack/entity/zombie_horse_v3.entity.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_horse", + "min_engine_version": "1.17.10", + "materials": { + "default": "horse" + }, + "textures": { + "zombie": "textures/entity/horse2/horse_zombie", + "markings_none": "textures/entity/horse2/horse_markings_none", + "armor_none": "textures/entity/horse2/armor/horse_armor_none" + }, + "geometry": { + "default": "geometry.horse.v3" + }, + "animations": { + "baby_transform": "animation.horse.v3.baby_transform", + "walk": "animation.horse.v3.walk", + "eat": "animation.horse.v3.eat", + "rear": "animation.horse.v3.rear", + "tail": "animation.horse.v3.tail", + "look_at_player": "animation.horse.v3.look_at_player" + }, + "scripts": { + "initialize": [ + "variable.eat_anim = 0.0;" + ], + "pre_animation": [ + "variable.eat_anim = math.clamp(variable.eat_anim + (query.is_grazing ? ((1.0 - variable.eat_anim) * 0.4 + 0.05) : -variable.eat_anim * 0.4 - 0.05) * query.delta_time * 20.0, 0.0, 1.0);", + "variable.head_x_rot = query.target_x_rotation + (query.modified_move_speed > 0.2 ? (math.cos(query.modified_distance_moved * 11.46) * 11.46 * query.modified_move_speed + query.modified_move_speed * 11.46) : 0.0);", + "variable.inverse_max_stand_eat = (1.0 - math.max(variable.stand_anim, variable.eat_anim));", + "variable.leg_stand_factor = math.cos((query.modified_distance_moved * 38.38) + 180.0);", + "variable.leg_x_rot_anim = variable.leg_stand_factor * 45.8 * query.modified_move_speed;" + ], + "animate": [ + { "baby_transform": "query.is_baby" }, + "walk", + "look_at_player", + { "rear": "variable.stand_anim > 0.0" }, + { "eat": "!query.is_standing" }, + { "tail": "variable.shake_tail" } + ] + }, + "render_controllers": [ "controller.render.zombie_horse.v3" ], + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 33 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/zombie_pigman.entity.json b/resource_pack/entity/zombie_pigman.entity.json new file mode 100644 index 0000000..a6f4e91 --- /dev/null +++ b/resource_pack/entity/zombie_pigman.entity.json @@ -0,0 +1,66 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_pigman", + "min_engine_version": "1.8.0", + "materials": { "default": "zombie" }, + "textures": { + "default": "textures/entity/piglin/zombie_piglin" + }, + "geometry": { + "default": "geometry.piglin" + }, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 13 + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "humanoid_base_pose": "animation.humanoid.base_pose", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "swimming": "animation.humanoid.swimming", + "use_item_progress": "animation.humanoid.use_item_progress", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" } + ], + "render_controllers": [ "controller.render.zombie_pigman" ], + "enable_attachables": true + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/zombie_pigman.v1.0.entity.json b/resource_pack/entity/zombie_pigman.v1.0.entity.json new file mode 100644 index 0000000..512fe8a --- /dev/null +++ b/resource_pack/entity/zombie_pigman.v1.0.entity.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_pigman", + "materials": { "default": "zombie" }, + "textures": { "default": "textures/entity/pig/pigzombie" }, + "geometry": { + "default": "geometry.pigzombie", + "baby": "geometry.pigzombie.baby" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.humanoid.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" } + ], + "render_controllers": [ "controller.render.zombie_pigman" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 13 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/zombie_villager.entity.json b/resource_pack/entity/zombie_villager.entity.json new file mode 100644 index 0000000..2f43800 --- /dev/null +++ b/resource_pack/entity/zombie_villager.entity.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_villager", + "min_engine_version": "1.8.0", + "materials": { "default": "zombie_villager" }, + "textures": { + "smith": "textures/entity/zombie_villager/zombie_smith", + "butcher": "textures/entity/zombie_villager/zombie_butcher", + "librarian": "textures/entity/zombie_villager/zombie_librarian", + "priest": "textures/entity/zombie_villager/zombie_priest", + "farmer": "textures/entity/zombie_villager/zombie_farmer" + }, + "geometry": { + "default": "geometry.zombie.villager.v1.8" + }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "humanoid_base_pose": "animation.humanoid.base_pose", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "use_item_progress": "animation.humanoid.use_item_progress", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "swimming": "animation.zombie.swimming" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" }, + { "swimming": "controller.animation.zombie.swimming" } + ], + "render_controllers": [ "controller.render.zombie_villager" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 42 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/zombie_villager.v1.0.entity.json b/resource_pack/entity/zombie_villager.v1.0.entity.json new file mode 100644 index 0000000..9c6ac33 --- /dev/null +++ b/resource_pack/entity/zombie_villager.v1.0.entity.json @@ -0,0 +1,67 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_villager", + "materials": { "default": "zombie_villager" }, + "textures": { + "smith": "textures/entity/zombie_villager/zombie_smith", + "butcher": "textures/entity/zombie_villager/zombie_butcher", + "librarian": "textures/entity/zombie_villager/zombie_librarian", + "priest": "textures/entity/zombie_villager/zombie_priest", + "farmer": "textures/entity/zombie_villager/zombie_farmer" + }, + "geometry": { "default": "geometry.zombie.villager" }, + "scripts": { + "pre_animation": [ + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "humanoid_base_pose": "animation.humanoid.base_pose.v1.0", + "look_at_target_default": "animation.humanoid.look_at_target.default.v1.0", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding.v1.0", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming.v1.0", + "move": "animation.humanoid.move.v1.0", + "riding.arms": "animation.humanoid.riding.arms.v1.0", + "riding.legs": "animation.humanoid.riding.legs.v1.0", + "holding": "animation.humanoid.holding.v1.0", + "brandish_spear": "animation.humanoid.brandish_spear.v1.0", + "charging": "animation.humanoid.charging.v1.0", + "attack.rotations": "animation.humanoid.attack.rotations.v1.0", + "sneaking": "animation.humanoid.sneaking.v1.0", + "bob": "animation.humanoid.bob.v1.0", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs.v1.0", + "bow_and_arrow": "animation.humanoid.bow_and_arrow.v1.0", + "swimming": "animation.humanoid.swimming.v1.0", + "use_item_progress": "animation.humanoid.use_item_progress.v1.0", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "swimming": "controller.animation.zombie.swimming" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" } + ], + "render_controllers": [ "controller.render.zombie_villager" ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 42 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/entity/zombie_villager_v2.entity.json b/resource_pack/entity/zombie_villager_v2.entity.json new file mode 100644 index 0000000..18e86ef --- /dev/null +++ b/resource_pack/entity/zombie_villager_v2.entity.json @@ -0,0 +1,99 @@ +{ + "format_version": "1.8.0", + "minecraft:client_entity": { + "description": { + "identifier": "minecraft:zombie_villager_v2", + "materials": { + "default": "zombie_villager_v2", + "masked": "zombie_villager_v2_masked" + }, + "textures": { + "default": "textures/entity/zombie_villager2/zombie-villager", + + // Biome Layer + "desert": "textures/entity/zombie_villager2/biomes/biome-desert-zombie", + "jungle": "textures/entity/zombie_villager2/biomes/biome-jungle-zombie", + "plains": "textures/entity/zombie_villager2/biomes/biome-plains-zombie", + "savanna": "textures/entity/zombie_villager2/biomes/biome-savanna-zombie", + "snow": "textures/entity/zombie_villager2/biomes/biome-snow-zombie", + "swamp": "textures/entity/zombie_villager2/biomes/biome-swamp-zombie", + "taiga": "textures/entity/zombie_villager2/biomes/biome-taiga-zombie", + + // Profession Layer + "armorer": "textures/entity/zombie_villager2/professions/armorer", + "butcher": "textures/entity/zombie_villager2/professions/butcher", + "cartographer": "textures/entity/zombie_villager2/professions/cartographer", + "cleric": "textures/entity/zombie_villager2/professions/cleric", + "farmer": "textures/entity/zombie_villager2/professions/farmer", + "fisherman": "textures/entity/zombie_villager2/professions/fisherman", + "fletcher": "textures/entity/zombie_villager2/professions/fletcher", + "leatherworker": "textures/entity/zombie_villager2/professions/leatherworker", + "librarian": "textures/entity/zombie_villager2/professions/librarian", + "shepherd": "textures/entity/zombie_villager2/professions/shepherd", + "tool_smith": "textures/entity/zombie_villager2/professions/toolsmith", + "weapon_smith": "textures/entity/zombie_villager2/professions/weaponsmith", + "stonemason": "textures/entity/zombie_villager2/professions/stonemason", + "nitwit": "textures/entity/zombie_villager2/professions/nitwit", + "unskilled": "textures/entity/zombie_villager2/professions/unskilled" + }, + "geometry": { + "default": "geometry.zombie.villager_v2" + }, + "scripts": { + "pre_animation": [ + "variable.num_professions = 15;", + "variable.profession_index = ((query.variant < variable.num_professions) ? query.variant : 0);", + "variable.tcos0 = (Math.cos(query.modified_distance_moved * 38.17) * query.modified_move_speed / variable.gliding_speed_value) * 57.3;" + ] + }, + "animations": { + "humanoid_big_head": "animation.humanoid.big_head", + "humanoid_base_pose": "animation.humanoid.base_pose", + "look_at_target_default": "animation.humanoid.look_at_target.default", + "look_at_target_gliding": "animation.humanoid.look_at_target.gliding", + "look_at_target_swimming": "animation.humanoid.look_at_target.swimming", + "move": "animation.humanoid.move", + "riding.arms": "animation.humanoid.riding.arms", + "riding.legs": "animation.humanoid.riding.legs", + "holding": "animation.humanoid.holding", + "brandish_spear": "animation.humanoid.brandish_spear", + "charging": "animation.humanoid.charging", + "attack.rotations": "animation.humanoid.attack.rotations", + "sneaking": "animation.humanoid.sneaking", + "bob": "animation.humanoid.bob", + "damage_nearby_mobs": "animation.humanoid.damage_nearby_mobs", + "bow_and_arrow": "animation.humanoid.bow_and_arrow", + "use_item_progress": "animation.humanoid.use_item_progress", + "zombie_attack_bare_hand": "animation.zombie.attack_bare_hand", + "swimming": "animation.zombie.swimming" + }, + "animation_controllers": [ + { "humanoid_baby_big_head": "controller.animation.humanoid.baby_big_head" }, + { "humanoid_base_pose": "controller.animation.humanoid.base_pose" }, + { "look_at_target": "controller.animation.humanoid.look_at_target" }, + { "move": "controller.animation.humanoid.move" }, + { "riding": "controller.animation.humanoid.riding" }, + { "holding": "controller.animation.humanoid.holding" }, + { "brandish_spear": "controller.animation.humanoid.brandish_spear" }, + { "charging": "controller.animation.humanoid.charging" }, + { "attack": "controller.animation.humanoid.attack" }, + { "sneaking": "controller.animation.humanoid.sneaking" }, + { "bob": "controller.animation.humanoid.bob" }, + { "damage_nearby_mobs": "controller.animation.humanoid.damage_nearby_mobs" }, + { "bow_and_arrow": "controller.animation.humanoid.bow_and_arrow" }, + { "use_item_progress": "controller.animation.humanoid.use_item_progress" }, + { "zombie_attack_bare_hand": "controller.animation.zombie.attack_bare_hand" }, + { "swimming": "controller.animation.zombie.swimming" } + ], + "render_controllers": [ + "controller.render.zombie_villager_v2_base", + "controller.render.zombie_villager_v2_masked" + ], + "enable_attachables": true, + "spawn_egg": { + "texture": "spawn_egg", + "texture_index": 42 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/fogs/bamboo_jungle_fog_setting.json b/resource_pack/fogs/bamboo_jungle_fog_setting.json new file mode 100644 index 0000000..8d97e23 --- /dev/null +++ b/resource_pack/fogs/bamboo_jungle_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_bamboo_jungle" + }, + "distance": { + "water": { + "fog_start": 0, + "fog_end": 60.0, + "fog_color": "#14A2C5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#14A2C5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/bamboo_jungle_hills_fog_setting.json b/resource_pack/fogs/bamboo_jungle_hills_fog_setting.json new file mode 100644 index 0000000..0681cff --- /dev/null +++ b/resource_pack/fogs/bamboo_jungle_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_bamboo_jungle_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1B9ED8", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1B9ED8", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/basalt_deltas_fog_setting.json b/resource_pack/fogs/basalt_deltas_fog_setting.json new file mode 100644 index 0000000..60ca081 --- /dev/null +++ b/resource_pack/fogs/basalt_deltas_fog_setting.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_basalt_deltas" + }, + "distance": { + "air": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#685f70", + "render_distance_type": "fixed" + }, + "water": { + "fog_start": 0.0, + "fog_end": 15.0, + "fog_color": "#423e42", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#423e42", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + }, + "weather": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#685f70", + "render_distance_type": "fixed" + } + } + } +} diff --git a/resource_pack/fogs/beach_fog_setting.json b/resource_pack/fogs/beach_fog_setting.json new file mode 100644 index 0000000..91c764e --- /dev/null +++ b/resource_pack/fogs/beach_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_beach" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#157cab", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#157cab", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/birch_forest_fog_setting.json b/resource_pack/fogs/birch_forest_fog_setting.json new file mode 100644 index 0000000..3e675fd --- /dev/null +++ b/resource_pack/fogs/birch_forest_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_birch_forest" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0677ce", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0677ce", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/birch_forest_hills_fog_setting.json b/resource_pack/fogs/birch_forest_hills_fog_setting.json new file mode 100644 index 0000000..eaf5aab --- /dev/null +++ b/resource_pack/fogs/birch_forest_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_birch_forest_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0a74c4", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0a74c4", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/cherry_grove_fog_setting.json b/resource_pack/fogs/cherry_grove_fog_setting.json new file mode 100644 index 0000000..89541ec --- /dev/null +++ b/resource_pack/fogs/cherry_grove_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_cherry_grove" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#5db7ef", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#5db7ef", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/cold_beach_fog_setting.json b/resource_pack/fogs/cold_beach_fog_setting.json new file mode 100644 index 0000000..f063c2d --- /dev/null +++ b/resource_pack/fogs/cold_beach_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_cold_beach" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1463a5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1463a5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/cold_ocean_fog_setting.json b/resource_pack/fogs/cold_ocean_fog_setting.json new file mode 100644 index 0000000..569002d --- /dev/null +++ b/resource_pack/fogs/cold_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_cold_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#14559b", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#14559b", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/cold_taiga_fog_setting.json b/resource_pack/fogs/cold_taiga_fog_setting.json new file mode 100644 index 0000000..d364c92 --- /dev/null +++ b/resource_pack/fogs/cold_taiga_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_cold_taiga" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#205e83", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#205e83", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/cold_taiga_hills_fog_setting.json b/resource_pack/fogs/cold_taiga_hills_fog_setting.json new file mode 100644 index 0000000..2d9dea8 --- /dev/null +++ b/resource_pack/fogs/cold_taiga_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_cold_taiga_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#245b78", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#245b78", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/cold_taiga_mutated_fog_setting.json b/resource_pack/fogs/cold_taiga_mutated_fog_setting.json new file mode 100644 index 0000000..bf33465 --- /dev/null +++ b/resource_pack/fogs/cold_taiga_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_cold_taiga_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#205e83", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#205e83", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/crimson_forest_fog_setting.json b/resource_pack/fogs/crimson_forest_fog_setting.json new file mode 100644 index 0000000..150a640 --- /dev/null +++ b/resource_pack/fogs/crimson_forest_fog_setting.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_crimson_forest" + }, + "distance": { + "air": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#330303", + "render_distance_type": "fixed" + }, + "water": { + "fog_start": 0.0, + "fog_end": 15.0, + "fog_color": "#905957", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#905957", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + }, + "weather": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#330303", + "render_distance_type": "fixed" + } + } + } +} diff --git a/resource_pack/fogs/deep_cold_ocean_fog_setting.json b/resource_pack/fogs/deep_cold_ocean_fog_setting.json new file mode 100644 index 0000000..9232946 --- /dev/null +++ b/resource_pack/fogs/deep_cold_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_deep_cold_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#185390", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#185390", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/deep_frozen_ocean_fog_setting.json b/resource_pack/fogs/deep_frozen_ocean_fog_setting.json new file mode 100644 index 0000000..8ff1943 --- /dev/null +++ b/resource_pack/fogs/deep_frozen_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_deep_frozen_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1a4879", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1a4879", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/deep_lukewarm_ocean_fog_setting.json b/resource_pack/fogs/deep_lukewarm_ocean_fog_setting.json new file mode 100644 index 0000000..74481e0 --- /dev/null +++ b/resource_pack/fogs/deep_lukewarm_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_deep_lukewarm_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0e72b9", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0e72b9", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/deep_ocean_fog_setting.json b/resource_pack/fogs/deep_ocean_fog_setting.json new file mode 100644 index 0000000..d5313f2 --- /dev/null +++ b/resource_pack/fogs/deep_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_deep_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1463a5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1463a5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/deep_warm_ocean_fog_setting.json b/resource_pack/fogs/deep_warm_ocean_fog_setting.json new file mode 100644 index 0000000..722cfd2 --- /dev/null +++ b/resource_pack/fogs/deep_warm_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_deep_warm_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0686ca", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0686ca", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/default_fog_setting.json b/resource_pack/fogs/default_fog_setting.json new file mode 100644 index 0000000..83a09e2 --- /dev/null +++ b/resource_pack/fogs/default_fog_setting.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_default" + }, + "distance": { + "air": { + "fog_start": 0.92, + "fog_end": 1.0, + "fog_color": "#ABD2FF", + "render_distance_type": "render" + }, + "water": { + "fog_start": 0, + "fog_end": 60.0, + "fog_color": "#44AFF5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#44AFF5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + }, + "weather": { + "fog_start": 0.23, + "fog_end": 0.7, + "fog_color": "#666666", + "render_distance_type": "render" + }, + "lava": { + "fog_start": 0.0, + "fog_end": 0.64, + "fog_color": "#991A00", + "render_distance_type": "fixed" + }, + "lava_resistance": { + "fog_start": 2.0, + "fog_end": 4.0, + "fog_color": "#991A00", + "render_distance_type": "fixed" + } + } + } +} diff --git a/resource_pack/fogs/desert_fog_setting.json b/resource_pack/fogs/desert_fog_setting.json new file mode 100644 index 0000000..6d67da8 --- /dev/null +++ b/resource_pack/fogs/desert_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_desert" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#32A598", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#32A598", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/desert_hills_fog_setting.json b/resource_pack/fogs/desert_hills_fog_setting.json new file mode 100644 index 0000000..75efa5c --- /dev/null +++ b/resource_pack/fogs/desert_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_desert_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1a7aa1", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1a7aa1", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/extreme_hills_edge_fog_setting.json b/resource_pack/fogs/extreme_hills_edge_fog_setting.json new file mode 100644 index 0000000..de728ac --- /dev/null +++ b/resource_pack/fogs/extreme_hills_edge_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_extreme_hills_edge" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#045cd5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#045cd5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/extreme_hills_fog_setting.json b/resource_pack/fogs/extreme_hills_fog_setting.json new file mode 100644 index 0000000..59c59fd --- /dev/null +++ b/resource_pack/fogs/extreme_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_extreme_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#007BF7", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#007BF7", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/extreme_hills_mutated_fog_setting.json b/resource_pack/fogs/extreme_hills_mutated_fog_setting.json new file mode 100644 index 0000000..55c627c --- /dev/null +++ b/resource_pack/fogs/extreme_hills_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_extreme_hills_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0E63AB", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0E63AB", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/extreme_hills_plus_trees_fog_setting.json b/resource_pack/fogs/extreme_hills_plus_trees_fog_setting.json new file mode 100644 index 0000000..69c965a --- /dev/null +++ b/resource_pack/fogs/extreme_hills_plus_trees_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_extreme_hills_plus_trees" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0E63AB", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0E63AB", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/extreme_hills_plus_trees_mutated_fog_setting.json b/resource_pack/fogs/extreme_hills_plus_trees_mutated_fog_setting.json new file mode 100644 index 0000000..abe85bc --- /dev/null +++ b/resource_pack/fogs/extreme_hills_plus_trees_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_extreme_hills_plus_trees_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0E63AB", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0E63AB", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/flower_forest_fog_setting.json b/resource_pack/fogs/flower_forest_fog_setting.json new file mode 100644 index 0000000..05d5f0f --- /dev/null +++ b/resource_pack/fogs/flower_forest_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_flower_forest" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#20A3CC", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#20A3CC", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/forest_fog_setting.json b/resource_pack/fogs/forest_fog_setting.json new file mode 100644 index 0000000..09022ee --- /dev/null +++ b/resource_pack/fogs/forest_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_forest" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1E97F2", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1E97F2", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/forest_hills_fog_setting.json b/resource_pack/fogs/forest_hills_fog_setting.json new file mode 100644 index 0000000..25283fa --- /dev/null +++ b/resource_pack/fogs/forest_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_forest_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#056bd1", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#056bd1", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/frozen_ocean_fog_setting.json b/resource_pack/fogs/frozen_ocean_fog_setting.json new file mode 100644 index 0000000..2cda3b8 --- /dev/null +++ b/resource_pack/fogs/frozen_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_frozen_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#174985", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#174985", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/frozen_river_fog_setting.json b/resource_pack/fogs/frozen_river_fog_setting.json new file mode 100644 index 0000000..59d4897 --- /dev/null +++ b/resource_pack/fogs/frozen_river_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_frozen_river" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#185390", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#185390", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/hell_fog_setting.json b/resource_pack/fogs/hell_fog_setting.json new file mode 100644 index 0000000..00c641d --- /dev/null +++ b/resource_pack/fogs/hell_fog_setting.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_hell" + }, + "distance": { + "air": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#330808", + "render_distance_type": "fixed" + }, + "water": { + "fog_start": 0.0, + "fog_end": 15.0, + "fog_color": "#905957", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#905957", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + }, + "weather": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#330808", + "render_distance_type": "fixed" + } + } + } +} diff --git a/resource_pack/fogs/ice_mountains_fog_setting.json b/resource_pack/fogs/ice_mountains_fog_setting.json new file mode 100644 index 0000000..7a9e906 --- /dev/null +++ b/resource_pack/fogs/ice_mountains_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_ice_mountains" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1156a7", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1156a7", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/ice_plains_fog_setting.json b/resource_pack/fogs/ice_plains_fog_setting.json new file mode 100644 index 0000000..eb211a3 --- /dev/null +++ b/resource_pack/fogs/ice_plains_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_ice_plains" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#14559b", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#14559b", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/ice_plains_spikes_fog_setting.json b/resource_pack/fogs/ice_plains_spikes_fog_setting.json new file mode 100644 index 0000000..e155039 --- /dev/null +++ b/resource_pack/fogs/ice_plains_spikes_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_ice_plains_spikes" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#14559b", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#14559b", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/jungle_edge_fog_setting.json b/resource_pack/fogs/jungle_edge_fog_setting.json new file mode 100644 index 0000000..4c6eafc --- /dev/null +++ b/resource_pack/fogs/jungle_edge_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_jungle_edge" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0D8AE3", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0D8AE3", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/jungle_fog_setting.json b/resource_pack/fogs/jungle_fog_setting.json new file mode 100644 index 0000000..2d0b05c --- /dev/null +++ b/resource_pack/fogs/jungle_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_jungle" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#14A2C5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#14A2C5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/jungle_hills_fog_setting.json b/resource_pack/fogs/jungle_hills_fog_setting.json new file mode 100644 index 0000000..ae2b36e --- /dev/null +++ b/resource_pack/fogs/jungle_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_jungle_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1B9ED8", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1B9ED8", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/jungle_mutated_fog_setting.json b/resource_pack/fogs/jungle_mutated_fog_setting.json new file mode 100644 index 0000000..2913b36 --- /dev/null +++ b/resource_pack/fogs/jungle_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_jungle_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1B9ED8", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1B9ED8", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/lukewarm_ocean_fog_setting.json b/resource_pack/fogs/lukewarm_ocean_fog_setting.json new file mode 100644 index 0000000..5366f17 --- /dev/null +++ b/resource_pack/fogs/lukewarm_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_lukewarm_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0a74c4", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0a74c4", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mangrove_swamp_fog_setting.json b/resource_pack/fogs/mangrove_swamp_fog_setting.json new file mode 100644 index 0000000..dbbeb3d --- /dev/null +++ b/resource_pack/fogs/mangrove_swamp_fog_setting.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mangrove_swamp" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 30, + "fog_color": "#4d7a60", + "render_distance_type": "fixed" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/fogs/mega_spruce_taiga_fog_setting.json b/resource_pack/fogs/mega_spruce_taiga_fog_setting.json new file mode 100644 index 0000000..3452c10 --- /dev/null +++ b/resource_pack/fogs/mega_spruce_taiga_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mega_spruce_taiga" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#2d6d77", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#2d6d77", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mega_spruse_taiga_mutated_fog_setting.json b/resource_pack/fogs/mega_spruse_taiga_mutated_fog_setting.json new file mode 100644 index 0000000..c056815 --- /dev/null +++ b/resource_pack/fogs/mega_spruse_taiga_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mega_spruce_taiga_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#2d6d77", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#2d6d77", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mega_taiga_fog_setting.json b/resource_pack/fogs/mega_taiga_fog_setting.json new file mode 100644 index 0000000..08f2715 --- /dev/null +++ b/resource_pack/fogs/mega_taiga_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mega_taiga" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#2d6d77", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#2d6d77", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mega_taiga_hills_fog_setting.json b/resource_pack/fogs/mega_taiga_hills_fog_setting.json new file mode 100644 index 0000000..90ef137 --- /dev/null +++ b/resource_pack/fogs/mega_taiga_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mega_taiga_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#286378", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#286378", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mega_taiga_mutated_fog_setting.json b/resource_pack/fogs/mega_taiga_mutated_fog_setting.json new file mode 100644 index 0000000..ff5564e --- /dev/null +++ b/resource_pack/fogs/mega_taiga_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mega_taiga_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#2d6d77", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#2d6d77", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mesa_bryce_fog_setting.json b/resource_pack/fogs/mesa_bryce_fog_setting.json new file mode 100644 index 0000000..c711614 --- /dev/null +++ b/resource_pack/fogs/mesa_bryce_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mesa_bryce" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#497F99", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#497F99", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mesa_fog_setting.json b/resource_pack/fogs/mesa_fog_setting.json new file mode 100644 index 0000000..e23d981 --- /dev/null +++ b/resource_pack/fogs/mesa_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mesa" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#4E7F81", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#4E7F81", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mesa_mutated_fog_setting.json b/resource_pack/fogs/mesa_mutated_fog_setting.json new file mode 100644 index 0000000..20f72b6 --- /dev/null +++ b/resource_pack/fogs/mesa_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mesa_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#497F99", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#497F99", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mesa_plateau_fog_setting.json b/resource_pack/fogs/mesa_plateau_fog_setting.json new file mode 100644 index 0000000..43e9a69 --- /dev/null +++ b/resource_pack/fogs/mesa_plateau_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mesa_plateau" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#55809E", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#55809E", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mesa_plateau_stone_fog_setting.json b/resource_pack/fogs/mesa_plateau_stone_fog_setting.json new file mode 100644 index 0000000..0c33004 --- /dev/null +++ b/resource_pack/fogs/mesa_plateau_stone_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mesa_plateau_stone" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#55809E", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#55809E", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mushroom_island_fog_setting.json b/resource_pack/fogs/mushroom_island_fog_setting.json new file mode 100644 index 0000000..c9bf050 --- /dev/null +++ b/resource_pack/fogs/mushroom_island_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mushroom_island" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#8a8997", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#8a8997", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/mushroom_island_shore_fog_setting.json b/resource_pack/fogs/mushroom_island_shore_fog_setting.json new file mode 100644 index 0000000..7c18890 --- /dev/null +++ b/resource_pack/fogs/mushroom_island_shore_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_mushroom_island_shore" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#818193", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#818193", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/ocean_fog_setting.json b/resource_pack/fogs/ocean_fog_setting.json new file mode 100644 index 0000000..fe792a3 --- /dev/null +++ b/resource_pack/fogs/ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1165b0", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1165b0", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/pale_garden_fog_setting.json b/resource_pack/fogs/pale_garden_fog_setting.json new file mode 100644 index 0000000..7089c2f --- /dev/null +++ b/resource_pack/fogs/pale_garden_fog_setting.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_pale_garden" + }, + "distance": { + "air": { + "fog_start": 0.92, + "fog_end": 1.0, + "fog_color": "#817770", + "render_distance_type": "render" + }, + "weather": { + "fog_start": 0.23, + "fog_end": 0.7, + "fog_color": "#403C44", + "render_distance_type": "render" + }, + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#556980", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#556980", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/plains_fog_setting.json b/resource_pack/fogs/plains_fog_setting.json new file mode 100644 index 0000000..8665ae3 --- /dev/null +++ b/resource_pack/fogs/plains_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_plains" + }, + "distance": { + "water": { + "fog_start": 0, + "fog_end": 60.0, + "fog_color": "#44AFF5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#44AFF5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/powder_snow_fog_setting.json b/resource_pack/fogs/powder_snow_fog_setting.json new file mode 100644 index 0000000..7b26f43 --- /dev/null +++ b/resource_pack/fogs/powder_snow_fog_setting.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_powder_snow" + }, + "distance": { + "powder_snow": { + "fog_start": 0.0, + "fog_end": 2.0, + "fog_color": "#9FBBC8", + "render_distance_type": "fixed" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/fogs/river_fog_setting.json b/resource_pack/fogs/river_fog_setting.json new file mode 100644 index 0000000..b8769c1 --- /dev/null +++ b/resource_pack/fogs/river_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_river" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0084FF", + "render_distance_type": "fixed", + "transition_fog":{ + "init_fog":{ + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0084FF", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/roofed_forest_fog_setting.json b/resource_pack/fogs/roofed_forest_fog_setting.json new file mode 100644 index 0000000..a6a758c --- /dev/null +++ b/resource_pack/fogs/roofed_forest_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_roofed_forest" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#3B6CD1", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#3B6CD1", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/savanna_fog_setting.json b/resource_pack/fogs/savanna_fog_setting.json new file mode 100644 index 0000000..09593d0 --- /dev/null +++ b/resource_pack/fogs/savanna_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_savanna" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#2C8B9C", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#2C8B9C", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/savanna_mutated_fog_setting.json b/resource_pack/fogs/savanna_mutated_fog_setting.json new file mode 100644 index 0000000..526ff03 --- /dev/null +++ b/resource_pack/fogs/savanna_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_savanna_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#2590A8", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#2590A8", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/savanna_plateau_fog_setting.json b/resource_pack/fogs/savanna_plateau_fog_setting.json new file mode 100644 index 0000000..584c9d9 --- /dev/null +++ b/resource_pack/fogs/savanna_plateau_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_savanna_plateau" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#2590A8", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#2590A8", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/soulsand_valley_fog_setting.json b/resource_pack/fogs/soulsand_valley_fog_setting.json new file mode 100644 index 0000000..50be85a --- /dev/null +++ b/resource_pack/fogs/soulsand_valley_fog_setting.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_soulsand_valley" + }, + "distance": { + "air": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#1B4745", + "render_distance_type": "fixed" + }, + "water": { + "fog_start": 0.0, + "fog_end": 15.0, + "fog_color": "#905957", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#905957", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + }, + "weather": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#1B4745", + "render_distance_type": "fixed" + } + } + } +} diff --git a/resource_pack/fogs/stone_beach_fog_setting.json b/resource_pack/fogs/stone_beach_fog_setting.json new file mode 100644 index 0000000..fc87093 --- /dev/null +++ b/resource_pack/fogs/stone_beach_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_stone_beach" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0d67bb", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0d67bb", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/sunflower_plains_fog_setting.json b/resource_pack/fogs/sunflower_plains_fog_setting.json new file mode 100644 index 0000000..a7b178d --- /dev/null +++ b/resource_pack/fogs/sunflower_plains_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_sunflower_plains" + }, + "distance": { + "water": { + "fog_start": 0, + "fog_end": 60.0, + "fog_color": "#44AFF5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#44AFF5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/swampland_fog_setting.json b/resource_pack/fogs/swampland_fog_setting.json new file mode 100644 index 0000000..6c5630e --- /dev/null +++ b/resource_pack/fogs/swampland_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_swampland" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 30, + "fog_color": "#4c6559", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#4c6559", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/swampland_mutated_fog_setting.json b/resource_pack/fogs/swampland_mutated_fog_setting.json new file mode 100644 index 0000000..c58f982 --- /dev/null +++ b/resource_pack/fogs/swampland_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_swampland_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 30, + "fog_color": "#4c6156", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#4c6156", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/taiga_fog_setting.json b/resource_pack/fogs/taiga_fog_setting.json new file mode 100644 index 0000000..3099b2d --- /dev/null +++ b/resource_pack/fogs/taiga_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_taiga" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#287082", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#287082", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/taiga_hills_fog_setting.json b/resource_pack/fogs/taiga_hills_fog_setting.json new file mode 100644 index 0000000..95304bb --- /dev/null +++ b/resource_pack/fogs/taiga_hills_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_taiga_hills" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#236583", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#236583", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/taiga_mutated_fog_setting.json b/resource_pack/fogs/taiga_mutated_fog_setting.json new file mode 100644 index 0000000..2a24a1c --- /dev/null +++ b/resource_pack/fogs/taiga_mutated_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_taiga_mutated" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#1E6B82", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#1E6B82", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/the_end_fog_setting.json b/resource_pack/fogs/the_end_fog_setting.json new file mode 100644 index 0000000..d22cc28 --- /dev/null +++ b/resource_pack/fogs/the_end_fog_setting.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_the_end" + }, + "distance": { + "air": { + "fog_start": 0.92, + "fog_end": 1.0, + "fog_color": "#0B080C", + "render_distance_type": "render" + }, + "water": { + "fog_start": 0.0, + "fog_end": 15.0, + "fog_color": "#62529e", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#62529e", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/warm_ocean_fog_setting.json b/resource_pack/fogs/warm_ocean_fog_setting.json new file mode 100644 index 0000000..55f2216 --- /dev/null +++ b/resource_pack/fogs/warm_ocean_fog_setting.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_warm_ocean" + }, + "distance": { + "water": { + "fog_start": 0.0, + "fog_end": 60.0, + "fog_color": "#0289d5", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#0289d5", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + } + } + } +} diff --git a/resource_pack/fogs/warped_forest_fog_setting.json b/resource_pack/fogs/warped_forest_fog_setting.json new file mode 100644 index 0000000..2a507aa --- /dev/null +++ b/resource_pack/fogs/warped_forest_fog_setting.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.16.100", + "minecraft:fog_settings": { + "description": { + "identifier": "minecraft:fog_warped_forest" + }, + "distance": { + "air": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#1a051A", + "render_distance_type": "fixed" + }, + "water": { + "fog_start": 0.0, + "fog_end": 15.0, + "fog_color": "#905957", + "render_distance_type": "fixed", + "transition_fog": { + "init_fog": { + "fog_start": 0.0, + "fog_end": 0.01, + "fog_color": "#905957", + "render_distance_type": "fixed" + }, + "min_percent": 0.25, + "mid_seconds": 5, + "mid_percent": 0.6, + "max_seconds": 30 + } + }, + "weather": { + "fog_start": 10.0, + "fog_end": 96.0, + "fog_color": "#1a051A", + "render_distance_type": "fixed" + } + } + } +} diff --git a/resource_pack/font/emoticons.json b/resource_pack/font/emoticons.json new file mode 100644 index 0000000..638c30c --- /dev/null +++ b/resource_pack/font/emoticons.json @@ -0,0 +1,626 @@ +[ + { + "name": "xbox_face_button_down", + "code": "0xE000" + }, + { + "name": "xbox_face_button_right", + "code": "0xE001" + }, + { + "name": "xbox_face_button_left", + "code": "0xE002" + }, + { + "name": "xbox_face_button_up", + "code": "0xE003" + }, + { + "name": "xbox_bumper_left", + "code": "0xE004" + }, + { + "name": "xbox_bumper_right", + "code": "0xE005" + }, + { + "name": "xbox_trigger_left", + "code": "0xE006" + }, + { + "name": "xbox_trigger_right", + "code": "0xE007" + }, + { + "name": "xbox_select", + "code": "0xE008" + }, + { + "name": "xbox_start", + "code": "0xE009" + }, + { + "name": "xbox_stick_left", + "code": "0xE00A" + }, + { + "name": "xbox_left_stick_up", + "code": "0xE0D0" + }, + { + "name": "xbox_left_stick_left", + "code": "0xE0D1" + }, + { + "name": "xbox_left_stick_down", + "code": "0xE0D2" + }, + { + "name": "xbox_left_stick_right", + "code": "0xE0D3" + }, + { + "name": "xbox_stick_right", + "code": "0xE00B" + }, + { + "name": "xbox_dpad_up", + "code": "0xE00C" + }, + { + "name": "xbox_dpad_left", + "code": "0xE00D" + }, + { + "name": "xbox_dpad_down", + "code": "0xE00E" + }, + { + "name": "xbox_dpad_right", + "code": "0xE00F" + }, + { + "name": "tip_face_button_down", + "code": "0xE010" + }, + { + "name": "tip_face_button_right", + "code": "0xE011" + }, + { + "name": "tip_face_button_left", + "code": "0xE012" + }, + { + "name": "tip_face_button_up", + "code": "0xE013" + }, + { + "name": "tip_virtual_button_jump", + "code": "0xE014" + }, + { + "name": "tip_virtual_button_action_attack_or_destroy", + "code": "0xE015" + }, + { + "name": "tip_virtual_joystick", + "code": "0xE016" + }, + { + "name": "tip_crosshair", + "code": "0xE017" + }, + { + "name": "tip_virtual_button_action_build_or_use", + "code": "0xE018" + }, + { + "name": "tip_virtual_button_sneak", + "code": "0xE019" + }, + { + "name": "tip_virtual_button_sprint", + "code": "0xE01A" + }, + { + "name": "tip_virtual_button_fly_up", + "code": "0xE01B" + }, + { + "name": "tip_virtual_button_fly_down", + "code": "0xE01C" + }, + { + "name": "tip_virtual_button_dismount", + "code": "0xE01D" + }, + { + "name": "ps4_face_button_down", + "code": "0xE020" + }, + { + "name": "ps4_face_button_right", + "code": "0xE021" + }, + { + "name": "ps4_face_button_left", + "code": "0xE022" + }, + { + "name": "ps4_face_button_up", + "code": "0xE023" + }, + { + "name": "ps4_bumper_left", + "code": "0xE024" + }, + { + "name": "ps4_bumper_right", + "code": "0xE025" + }, + { + "name": "ps4_trigger_left", + "code": "0xE026" + }, + { + "name": "ps4_trigger_right", + "code": "0xE027" + }, + { + "name": "ps4_select", + "code": "0xE028" + }, + { + "name": "ps4_start", + "code": "0xE029" + }, + { + "name": "ps4_stick_left", + "code": "0xE02A" + }, + { + "name": "ps4_left_stick_up", + "code": "0xE0D0" + }, + { + "name": "ps4_left_stick_left", + "code": "0xE0D1" + }, + { + "name": "ps4_left_stick_down", + "code": "0xE0D2" + }, + { + "name": "ps4_left_stick_right", + "code": "0xE0D3" + }, + { + "name": "ps4_stick_right", + "code": "0xE02B" + }, + { + "name": "ps4_dpad_up", + "code": "0xE02C" + }, + { + "name": "ps4_dpad_left", + "code": "0xE02D" + }, + { + "name": "ps4_dpad_down", + "code": "0xE02E" + }, + { + "name": "ps4_dpad_right", + "code": "0xE02F" + }, + { + "name": "switch_face_button_down", + "code": "0xE040" + }, + { + "name": "switch_face_button_right", + "code": "0xE041" + }, + { + "name": "switch_face_button_left", + "code": "0xE042" + }, + { + "name": "switch_face_button_up", + "code": "0xE043" + }, + { + "name": "switch_bumper_left", + "code": "0xE044" + }, + { + "name": "switch_bumper_right", + "code": "0xE045" + }, + { + "name": "switch_trigger_left", + "code": "0xE046" + }, + { + "name": "switch_trigger_right", + "code": "0xE047" + }, + { + "name": "switch_select", + "code": "0xE048" + }, + { + "name": "switch_start", + "code": "0xE049" + }, + { + "name": "switch_stick_left", + "code": "0xE04A" + }, + { + "name": "switch_left_stick_up", + "code": "0xE0D0" + }, + { + "name": "switch_left_stick_left", + "code": "0xE0D1" + }, + { + "name": "switch_left_stick_down", + "code": "0xE0D2" + }, + { + "name": "switch_left_stick_right", + "code": "0xE0D3" + }, + { + "name": "switch_stick_right", + "code": "0xE04B" + }, + { + "name": "switch_dpad_up", + "code": "0xE04C" + }, + { + "name": "switch_dpad_left", + "code": "0xE04D" + }, + { + "name": "switch_dpad_down", + "code": "0xE04E" + }, + { + "name": "switch_dpad_right", + "code": "0xE04F" + }, + { + "name": "mouse_left_button", + "code": "0xE060" + }, + { + "name": "mouse_right_button", + "code": "0xE061" + }, + { + "name": "mouse_middle_button", + "code": "0xE062" + }, + { + "name": "mouse_button", + "code": "0xE063" + }, + { + "name": "tip_touch_forward", + "code": "0xE065" + }, + { + "name": "tip_touch_left", + "code": "0xE066" + }, + { + "name": "tip_touch_back", + "code": "0xE067" + }, + { + "name": "tip_touch_right", + "code": "0xE068" + }, + { + "name": "tip_touch_jump", + "code": "0xE069" + }, + { + "name": "tip_touch_sneak", + "code": "0xE06A" + }, + { + "name": "tip_touch_inventory", + "code": "0xE06B" + }, + { + "name": "tip_touch_fly_up", + "code": "0xE06C" + }, + { + "name": "tip_touch_fly_down", + "code": "0xE06D" + }, + { + "name": "tip_left_trigger", + "code": "0xE06E" + }, + { + "name": "tip_right_trigger", + "code": "0xE06F" + }, + { + "name": "light_mouse_left_button", + "code": "0xE070" + }, + { + "name": "light_mouse_right_button", + "code": "0xE071" + }, + { + "name": "light_mouse_middle_button", + "code": "0xE072" + }, + { + "name": "light_mouse_button", + "code": "0xE073" + }, + { + "name": "tip_left_stick", + "code": "0xE075" + }, + { + "name": "tip_right_stick", + "code": "0xE076" + }, + { + "name": "touch_forward", + "code": "0xE080" + }, + { + "name": "touch_left", + "code": "0xE081" + }, + { + "name": "touch_back", + "code": "0xE082" + }, + { + "name": "touch_right", + "code": "0xE083" + }, + { + "name": "touch_jump", + "code": "0xE084" + }, + { + "name": "touch_sneak", + "code": "0xE085" + }, + { + "name": "touch_fly_up", + "code": "0xE086" + }, + { + "name": "touch_fly_down", + "code": "0xE087" + }, + { + "name": "touch_stop_flying", + "code": "0xE088" + }, + { + "name": "touch_virtual_joystick_forward", + "code": "0xE08C" + }, + { + "name": "touch_virtual_joystick_left", + "code": "0xE08D" + }, + { + "name": "touch_virtual_joystick_back", + "code": "0xE08E" + }, + { + "name": "touch_virtual_joystick_right", + "code": "0xE08F" + }, + { + "name": "touch_inventory", + "code": "0xE01E" + }, + { + "name": "touch_use", + "code": "0xE018" + }, + { + "name": "touch_chat", + "code": "0xE08A" + }, + { + "name": "touch_attack", + "code": "0xE015" + }, + { + "name": "touch_sprint", + "code": "0xE01A" + }, + { + "name": "touch_sprint_double_tap", + "code": "0xE064" + }, + { + "name": "craftable_toggle_on", + "code": "0xE0A0" + }, + { + "name": "craftable_toggle_off", + "code": "0xE0A1" + }, + { + "name": "shank", + "code": "0xE100" + }, + { + "name": "armor", + "code": "0xE101" + }, + { + "name": "minecoin", + "code": "0xE102" + }, + { + "name": "code_builder_button", + "code": "0xE103" + }, + { + "name": "immersive_reader_button", + "code": "0xE104" + }, + { + "name": "token", + "code": "0xE102" + }, + { + "name": "hollow_star", + "code": "0xE106" + }, + { + "name": "solid_star", + "code": "0xE107" + }, + { + "name": "wood_pickaxe", + "code": "0xE108" + }, + { + "name": "wood_sword", + "code": "0xE109" + }, + { + "name": "crafting_table", + "code": "0xE10A" + }, + { + "name": "furnace", + "code": "0xE10B" + }, + { + "name": "heart", + "code": "0xE10C" + }, + { + "name": "camera", + "code": "0xE10D" + }, + { + "name": "windowsmr_left_grab", + "code": "0xE0C0" + }, + { + "name": "windowsmr_right_grab", + "code": "0xE0C1" + }, + { + "name": "windowsmr_menu", + "code": "0xE0C2" + }, + { + "name": "windowsmr_left_stick", + "code": "0xE0C3" + }, + { + "name": "windowsmr_right_stick", + "code": "0xE0C4" + }, + { + "name": "windowsmr_left_touchpad", + "code": "0xE0C5" + }, + { + "name": "windowsmr_left_touchpad_horizontal", + "code": "0xE0C6" + }, + { + "name": "windowsmr_left_touchpad_vertical", + "code": "0xE0C7" + }, + { + "name": "windowsmr_right_touchpad", + "code": "0xE0C8" + }, + { + "name": "windowsmr_right_touchpad_horizontal", + "code": "0xE0C9" + }, + { + "name": "windowsmr_right_touchpad_vertical", + "code": "0xE0CA" + }, + { + "name": "windowsmr_left_trigger", + "code": "0xE0CB" + }, + { + "name": "windowsmr_right_trigger", + "code": "0xE0CC" + }, + { + "name": "windowsmr_windows", + "code": "0xE0CD" + }, + { + "name": "rift_0", + "code": "0xE0E0" + }, + { + "name": "rift_A", + "code": "0xE0E1" + }, + { + "name": "rift_B", + "code": "0xE0E2" + }, + { + "name": "rift_left_grab", + "code": "0xE0E3" + }, + { + "name": "rift_right_grab", + "code": "0xE0E4" + }, + { + "name": "rift_left_stick", + "code": "0xE0E5" + }, + { + "name": "rift_right_stick", + "code": "0xE0E6" + }, + { + "name": "rift_left_trigger", + "code": "0xE0E7" + }, + { + "name": "rift_right_trigger", + "code": "0xE0E8" + }, + { + "name": "rift_X", + "code": "0xE0E9" + }, + { + "name": "rift_Y", + "code": "0xE0EA" + }, + { + "name": "nbsp", + "code": "0xE0FF" + } +] diff --git a/resource_pack/font/font_metadata.json b/resource_pack/font/font_metadata.json new file mode 100644 index 0000000..640e641 --- /dev/null +++ b/resource_pack/font/font_metadata.json @@ -0,0 +1,93 @@ +{ + "version" : 1, + "fonts" : [ + { + "font_format": "ttf", + "font_name": "MinecraftTen", + "version": 1, + "font_file": "font/minecraft-ten", + "lowPerformanceCompatible": false + }, + { + "font_format" : "msdf", + "font_name" : "OldSmoothFont", + "font_file" : "font/smooth/smooth_" + } + ], + "font_aliases" : [ + { + "alias" : "SmoothFontLatin", + + "fonts" : [ + { + "font_reference" : "OldSmoothFont" + }, + { + "font_reference" : "UnicodeFont", + "font_scale": 1.0, + "font_ranges" : [ + { "first" : 0, "last" : 44397 }, + { "first" : 54620, "last" : 54620 }, + { "first" : 50612, "last" : 50612 }, + { "first" : 45824, "last" : 45824 }, + { "first" : 48124, "last" : 48124 }, + { "first" : 57344, "last" : 57599 }, + { "first": 57856, "last": 63743 } + ] + } + ] + }, + { + "alias": "SmoothWithEmoticons", + "fonts": [ + { + "font_reference": "OldSmoothFont" + }, + { + "font_reference": "UnicodeFont", + "font_scale": 0.65, + "font_ranges": [ + { "first": 57600, "last": 57855 } + ] + } + ] + }, + { + "alias": "MinecraftTenEmoticon", + "fonts": [ + { + "font_reference": "MinecraftTen" + }, + { + "font_reference": "unicode", + "font_ranges": [ + { + "first": 57344, + "last": 63743 + } + ] + } + ] + }, + { + "alias": "SmoothSmall", + "font_scale_factor_override": 1, + "fonts": [ + { + "font_reference": "OldSmoothFont" + }, + { + "font_reference": "UnicodeFont", + "font_ranges" : [ + { "first" : 54620, "last" : 54620 }, + { "first" : 44397, "last" : 44397 }, + { "first" : 50612, "last" : 50612 }, + { "first" : 45824, "last" : 45824 }, + { "first" : 48124, "last" : 48124 }, + { "first" : 57344, "last" : 63743 } + ] + } + ] + } + ] +} diff --git a/resource_pack/items/apple.json b/resource_pack/items/apple.json new file mode 100644 index 0000000..bfc8ee2 --- /dev/null +++ b/resource_pack/items/apple.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:apple", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "apple", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/appleEnchanted.json b/resource_pack/items/appleEnchanted.json new file mode 100644 index 0000000..f0e2750 --- /dev/null +++ b/resource_pack/items/appleEnchanted.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:appleEnchanted", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "apple_golden", + "minecraft:use_animation": "eat", + "minecraft:rarity": "rare" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/baked_potato.json b/resource_pack/items/baked_potato.json new file mode 100644 index 0000000..d37c56f --- /dev/null +++ b/resource_pack/items/baked_potato.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:baked_potato", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "potato_baked", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/beef.json b/resource_pack/items/beef.json new file mode 100644 index 0000000..466b42e --- /dev/null +++ b/resource_pack/items/beef.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beef", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "beef_raw", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/beetroot.json b/resource_pack/items/beetroot.json new file mode 100644 index 0000000..592c614 --- /dev/null +++ b/resource_pack/items/beetroot.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beetroot", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "beetroot", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/beetroot_seeds.json b/resource_pack/items/beetroot_seeds.json new file mode 100644 index 0000000..0c19587 --- /dev/null +++ b/resource_pack/items/beetroot_seeds.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beetroot_seeds", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "seeds_beetroot" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/beetroot_soup.json b/resource_pack/items/beetroot_soup.json new file mode 100644 index 0000000..5df254d --- /dev/null +++ b/resource_pack/items/beetroot_soup.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:beetroot_soup", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "beetroot_soup", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/board.json b/resource_pack/items/board.json new file mode 100644 index 0000000..f40426e --- /dev/null +++ b/resource_pack/items/board.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:board" + }, + "components": { + "minecraft:creative_category": { + "parent": "itemGroup.name.chalkboard" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/items/bread.json b/resource_pack/items/bread.json new file mode 100644 index 0000000..ca00e61 --- /dev/null +++ b/resource_pack/items/bread.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:bread", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "bread", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/camera.json b/resource_pack/items/camera.json new file mode 100644 index 0000000..483130c --- /dev/null +++ b/resource_pack/items/camera.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:camera", + "category": "Items" + }, + + "components": { + "minecraft:use_animation": "camera" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/carrot.json b/resource_pack/items/carrot.json new file mode 100644 index 0000000..6b28870 --- /dev/null +++ b/resource_pack/items/carrot.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:carrot", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "carrot", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/chicken.json b/resource_pack/items/chicken.json new file mode 100644 index 0000000..8ade556 --- /dev/null +++ b/resource_pack/items/chicken.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:chicken", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "chicken_raw", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/chorus_fruit.json b/resource_pack/items/chorus_fruit.json new file mode 100644 index 0000000..0e1a599 --- /dev/null +++ b/resource_pack/items/chorus_fruit.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:chorus_fruit", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "chorus_fruit", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/clownfish.json b/resource_pack/items/clownfish.json new file mode 100644 index 0000000..e48455b --- /dev/null +++ b/resource_pack/items/clownfish.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:clownfish", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "clownfish", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/cooked_beef.json b/resource_pack/items/cooked_beef.json new file mode 100644 index 0000000..182ea13 --- /dev/null +++ b/resource_pack/items/cooked_beef.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_beef", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "beef_cooked", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/cooked_chicken.json b/resource_pack/items/cooked_chicken.json new file mode 100644 index 0000000..1b6bae4 --- /dev/null +++ b/resource_pack/items/cooked_chicken.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_chicken", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "chicken_cooked", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/cooked_fish.json b/resource_pack/items/cooked_fish.json new file mode 100644 index 0000000..4d4a685 --- /dev/null +++ b/resource_pack/items/cooked_fish.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_fish", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "cooked_fish", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/cooked_porkchop.json b/resource_pack/items/cooked_porkchop.json new file mode 100644 index 0000000..54fe39c --- /dev/null +++ b/resource_pack/items/cooked_porkchop.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_porkchop", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "porkchop_cooked", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/cooked_rabbit.json b/resource_pack/items/cooked_rabbit.json new file mode 100644 index 0000000..e7253ba --- /dev/null +++ b/resource_pack/items/cooked_rabbit.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_rabbit", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "rabbit_cooked", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/cooked_salmon.json b/resource_pack/items/cooked_salmon.json new file mode 100644 index 0000000..cc2698c --- /dev/null +++ b/resource_pack/items/cooked_salmon.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cooked_salmon", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "cooked_salmon", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/cookie.json b/resource_pack/items/cookie.json new file mode 100644 index 0000000..d944f99 --- /dev/null +++ b/resource_pack/items/cookie.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:cookie", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "cookie", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/dried_kelp.json b/resource_pack/items/dried_kelp.json new file mode 100644 index 0000000..1b799f7 --- /dev/null +++ b/resource_pack/items/dried_kelp.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:dried_kelp", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "dried_kelp", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/fish.json b/resource_pack/items/fish.json new file mode 100644 index 0000000..f6355c1 --- /dev/null +++ b/resource_pack/items/fish.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:fish", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "fish", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/glow_berries.json b/resource_pack/items/glow_berries.json new file mode 100644 index 0000000..c51bc2e --- /dev/null +++ b/resource_pack/items/glow_berries.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.16.0", + "minecraft:item": { + "description": { + "identifier": "minecraft:glow_berries", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "glow_berries", + "minecraft:use_animation": "eat", + + "minecraft:render_offsets": "miscellaneous" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/golden_apple.json b/resource_pack/items/golden_apple.json new file mode 100644 index 0000000..6bdf4e8 --- /dev/null +++ b/resource_pack/items/golden_apple.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:golden_apple", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "apple_golden", + "minecraft:use_animation": "eat", + "minecraft:rarity": "common" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/golden_carrot.json b/resource_pack/items/golden_carrot.json new file mode 100644 index 0000000..44fbb88 --- /dev/null +++ b/resource_pack/items/golden_carrot.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:golden_carrot", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "carrot_golden", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/honey_bottle.json b/resource_pack/items/honey_bottle.json new file mode 100644 index 0000000..5a625d7 --- /dev/null +++ b/resource_pack/items/honey_bottle.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.14", + "minecraft:item": { + "description": { + "identifier": "minecraft:honey_bottle", + "category": "Items" + }, + "components": { + "minecraft:icon": "honey_bottle", + "minecraft:use_animation": "drink", + "minecraft:render_offsets": "bottles" + } + } +} diff --git a/resource_pack/items/honeycomb.json b/resource_pack/items/honeycomb.json new file mode 100644 index 0000000..01f7e2a --- /dev/null +++ b/resource_pack/items/honeycomb.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.16", + "minecraft:item": { + "description": { + "identifier": "minecraft:honeycomb", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "honeycomb" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/melon.json b/resource_pack/items/melon.json new file mode 100644 index 0000000..e0f0b6f --- /dev/null +++ b/resource_pack/items/melon.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:melon", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "melon", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/melon_seeds.json b/resource_pack/items/melon_seeds.json new file mode 100644 index 0000000..668a2a8 --- /dev/null +++ b/resource_pack/items/melon_seeds.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:melon_seeds", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "seeds_melon" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/mushroom_stew.json b/resource_pack/items/mushroom_stew.json new file mode 100644 index 0000000..6bb4822 --- /dev/null +++ b/resource_pack/items/mushroom_stew.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:mushroom_stew", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "mushroom_stew", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/muttonCooked.json b/resource_pack/items/muttonCooked.json new file mode 100644 index 0000000..97ddacf --- /dev/null +++ b/resource_pack/items/muttonCooked.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:muttonCooked", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "mutton_cooked", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/muttonRaw.json b/resource_pack/items/muttonRaw.json new file mode 100644 index 0000000..c006599 --- /dev/null +++ b/resource_pack/items/muttonRaw.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:muttonRaw", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "mutton_raw", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/nether_wart.json b/resource_pack/items/nether_wart.json new file mode 100644 index 0000000..f87e18d --- /dev/null +++ b/resource_pack/items/nether_wart.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:nether_wart", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "nether_wart" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/photo.json b/resource_pack/items/photo.json new file mode 100644 index 0000000..e0f1862 --- /dev/null +++ b/resource_pack/items/photo.json @@ -0,0 +1,12 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:photo_item" + }, + + "components": { + "minecraft:icon": "photo" + } + } + } diff --git a/resource_pack/items/pitcher_pod.json b/resource_pack/items/pitcher_pod.json new file mode 100644 index 0000000..4b4fb96 --- /dev/null +++ b/resource_pack/items/pitcher_pod.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:pitcher_pod", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "pitcher_pod" + } + } +} diff --git a/resource_pack/items/poisonous_potato.json b/resource_pack/items/poisonous_potato.json new file mode 100644 index 0000000..9b1cc38 --- /dev/null +++ b/resource_pack/items/poisonous_potato.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:poisonous_potato", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "potato_poisonous", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/porkchop.json b/resource_pack/items/porkchop.json new file mode 100644 index 0000000..07127e0 --- /dev/null +++ b/resource_pack/items/porkchop.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:porkchop", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "porkchop_raw", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/portfolio.json b/resource_pack/items/portfolio.json new file mode 100644 index 0000000..54d088f --- /dev/null +++ b/resource_pack/items/portfolio.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:portfolio" + }, + "components": { + "minecraft:creative_category": { + "parent": "itemGroup.name.portfolio" + }, + "minecraft:icon": "book_portfolio" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/potato.json b/resource_pack/items/potato.json new file mode 100644 index 0000000..95a4699 --- /dev/null +++ b/resource_pack/items/potato.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:potato", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "potato", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/pufferfish.json b/resource_pack/items/pufferfish.json new file mode 100644 index 0000000..157a24e --- /dev/null +++ b/resource_pack/items/pufferfish.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:pufferfish", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "pufferfish", + "minecraft:use_animation": "eat" + } + } +} diff --git a/resource_pack/items/pumpkin_pie.json b/resource_pack/items/pumpkin_pie.json new file mode 100644 index 0000000..58b8e90 --- /dev/null +++ b/resource_pack/items/pumpkin_pie.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:pumpkin_pie", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "pumpkin_pie", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/pumpkin_seeds.json b/resource_pack/items/pumpkin_seeds.json new file mode 100644 index 0000000..6b59f9b --- /dev/null +++ b/resource_pack/items/pumpkin_seeds.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:pumpkin_seeds", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "seeds_pumpkin" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/rabbit.json b/resource_pack/items/rabbit.json new file mode 100644 index 0000000..0cb4761 --- /dev/null +++ b/resource_pack/items/rabbit.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:rabbit", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "rabbit", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/rabbit_stew.json b/resource_pack/items/rabbit_stew.json new file mode 100644 index 0000000..76fc4b9 --- /dev/null +++ b/resource_pack/items/rabbit_stew.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:rabbit_stew", + "category": "Equipment" + }, + + "components": { + "minecraft:icon": "rabbit_stew", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/rotten_flesh.json b/resource_pack/items/rotten_flesh.json new file mode 100644 index 0000000..ad757f0 --- /dev/null +++ b/resource_pack/items/rotten_flesh.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:rotten_flesh", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "rotten_flesh", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/salmon.json b/resource_pack/items/salmon.json new file mode 100644 index 0000000..8646a16 --- /dev/null +++ b/resource_pack/items/salmon.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:salmon", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "salmon", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/spider_eye.json b/resource_pack/items/spider_eye.json new file mode 100644 index 0000000..8e7e2fb --- /dev/null +++ b/resource_pack/items/spider_eye.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:spider_eye", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "spider_eye", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/suspicious_stew.json b/resource_pack/items/suspicious_stew.json new file mode 100644 index 0000000..8c3acbe --- /dev/null +++ b/resource_pack/items/suspicious_stew.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:suspicious_stew", + "category": "commands" + }, + + "components": { + "minecraft:icon": "suspicious_stew", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/sweet_berries.json b/resource_pack/items/sweet_berries.json new file mode 100644 index 0000000..2b9ac64 --- /dev/null +++ b/resource_pack/items/sweet_berries.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:sweet_berries", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "sweet_berries", + "minecraft:use_animation": "eat" + } + } +} \ No newline at end of file diff --git a/resource_pack/items/torchflower_seeds.json b/resource_pack/items/torchflower_seeds.json new file mode 100644 index 0000000..5fd5e23 --- /dev/null +++ b/resource_pack/items/torchflower_seeds.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:torchflower_seeds", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "torchflower_seeds" + } + } +} diff --git a/resource_pack/items/wheat_seeds.json b/resource_pack/items/wheat_seeds.json new file mode 100644 index 0000000..c727ff5 --- /dev/null +++ b/resource_pack/items/wheat_seeds.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.10", + "minecraft:item": { + "description": { + "identifier": "minecraft:wheat_seeds", + "category": "Nature" + }, + + "components": { + "minecraft:icon": "seeds_wheat" + } + } +} \ No newline at end of file diff --git a/resource_pack/library/categories.json b/resource_pack/library/categories.json new file mode 100644 index 0000000..ad13a0c --- /dev/null +++ b/resource_pack/library/categories.json @@ -0,0 +1,871 @@ +/* + == Category Variables: + "label": "", + "icon": "", + "child_icon": "", // Defaults to icon + "screenshot": "", + "default_color": [ 1.0, 1.0, 1.0 ], + "interact_color": [ 1.0, 1.0, 1.0 ], + "child_title": "", + "description": "", + "type": "category", + "screenshot_height_ratio": "", // percent of the width (ex: For a 16x9 ratio, the image height would be 56.25% of the width so "screenshot_height_ratio": "56.25%") + "items_per_row": 2, + "sub_categories": [ + "", + "" + ] + + == Worlds Variables: + "label": "", + "icon": "", + "child_icon": "", // Defaults to icon + "screenshot": "", + "default_color": [ 1.0, 1.0, 1.0 ], + "interact_color": [ 1.0, 1.0, 1.0 ], + "child_title": "", + "description": "", + "type": "worlds", + "tags": [ + "", + "" + ] + + == Notes: + If you add an '!' in front of a tag it will be excluded from the search + ex: tag.one, tag.two, !tag.three = Search for any item that has tag one and tag two but not tag three + + label, child_title, and description are special in that they can be given loc strings and parameters + ex: + - en_US.lang: + string.math=%1 Math %2 + string.sixthGrade=Sixth Grade + string.blast=Blast + + - categories.json: + "label": [ "string.math", "string.sixthGrade", "string.blast" ] // Becomes Sixth Grade Math Blast +*/ +{ + // Never shown, only the callback is used + "home": { + "is_first_page": true, + "icon": "textures/ui/icon_bookshelf", + "child_title": "library.title", + "screenshot_height_ratio": "41.55%", + "type": "category", + "items_per_row": 2, + "sub_categories": [ + "lessons", + "build_challenges", + "biomes", + "how_to_play" + ] + }, + + // For testing in non publish, we have this definition + "home_release": { + "is_first_page": true, + "icon": "textures/ui/icon_bookshelf", + "child_title": "library.title", + "screenshot_height_ratio": "41.55%", + "type": "category", + "items_per_row": 2, + "sub_categories": [ + "lessons", + "build_challenges", + "biomes", + "how_to_play", + "old_library", + "empty_category" + ] + }, + + "demo_home": { + "is_first_page": true, + "icon": "textures/ui/icon_bookshelf", + "child_title": "library.category.title.demo", + "description": "library.category.description.demo", + "type": "worlds", + "tags": [ + "tag.demo_general" + ] + }, + + //--------------------------------------------------------------------------- + // Home Screen + //--------------------------------------------------------------------------- + + "old_library": { + "label": "library.title", + "child_title": "library.title", + "icon": "textures/ui/icon_bookshelf", + "screenshot": "textures/ui/CreateNewWorld", + "default_color": [ 0.8, 0.2, 0.2 ], + "interact_color": [ 0.8, 0.2, 0.2 ], + "type": "worlds", + "tags": [] + }, + + "empty_category": { + "label": "Dev Empty", + "child_title": "Dev Empty", + "icon": "textures/misc/missing_texture", + "screenshot": "textures/ui/CreateNewWorld", + "default_color": [ 0.8, 0.2, 0.2 ], + "interact_color": [ 0.8, 0.2, 0.2 ], + "type": "worlds", + "tags": [ + "__INVALID_TAG__" + ] + }, + + "lessons": { + "label": "library.category.label.lessons", + "icon": "textures/ui/icon_open_book", + "screenshot": "textures/ui/library/lessons/icon_root", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "library.category.title.lessons", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "science", + "math", + "computer_science", + "language_arts", + "history", + "art", + "digital_citizenship", + "social_emotional", + "equity_and_inclusion" + ] + }, + + "build_challenges": { + "label": "library.category.label.buildChallenges", + "icon": "textures/items/diamond_pickaxe", + "screenshot": "textures/ui/library/icon_monthly_build", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "library.category.title.buildChallenges", + "description": "library.category.description.buildChallenges", + "type": "worlds", + "tags": [ + "tag.build_challenge" + ] + }, + + "biomes": { + "label": "library.category.label.biomes", + "icon": "textures/ui/icon_biome", + "screenshot": "textures/ui/library/biomes/icon_root", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "library.category.title.biomes", + "description": "library.category.description.biomes", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "biomes_biome", + "biomes_featured" + ] + }, + + "how_to_play": { + "label": "library.category.label.howToPlay", + "icon": "textures/items/compass_item", + "screenshot": "textures/ui/library/how_to_play/icon_root", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "menu.howToPlay", + "description": "library.category.description.howToPlay", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "how_to_start", + "how_to_additional" + ] + }, + + "new_featured": { + "label": "newAndFeatured.name", + "screenshot": "textures/ui/library/biomes/icon_featured", + "child_title": "newAndFeatured.name", + "child_icon": "textures/ui/icon_star", + "description": "newAndFeatured.description", + "type": "worlds", + "tags": [ + "tag.featured" + ] + }, + + //--------------------------------------------------------------------------- + // Biomes and Worlds Sub-Categories + //--------------------------------------------------------------------------- + + "biomes_biome": { + "label": "library.category.label.biomes.biome", + "screenshot": "textures/ui/library/biomes/icon_biomes", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "library.category.title.biomes.biome", + "child_icon": "textures/ui/icon_biome", + "description": "library.category.description.biomes.biome", + "type": "worlds", + "tags": [ + "tag.biome" + ] + }, + + "biomes_featured": { + "label": "library.category.label.biomes.featured", + "screenshot": "textures/ui/library/biomes/icon_featured", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "library.category.title.biomes.featured", + "child_icon": "textures/ui/icon_biome", + "type": "worlds", + "tags": [ + "tag.biomes_and_worlds", + "tag.uncategorized" + ] + }, + + //--------------------------------------------------------------------------- + // Biomes and Worlds Sub-Categories + //--------------------------------------------------------------------------- + + "how_to_start": { + "label": "library.category.label.howToPlay.startHere", + "screenshot": "textures/ui/library/how_to_play/icon_start_here", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "library.category.title.howToPlay.startHere", + "child_icon": "textures/items/compass_item", + "description": "library.category.description.howToPlay.startHere", + "type": "worlds", + "tags": [ + "tag.tutorial" + ] + }, + + "how_to_additional": { + "label": "library.category.label.howToPlay.additional", + "screenshot": "textures/ui/library/how_to_play/icon_additional", + "default_color": [ 0.188, 0.6, 0.188 ], + "interact_color": [ 0.0, 0.45, 0.019 ], + "child_title": "library.category.title.howToPlay.additional", + "child_icon": "textures/items/compass_item", + "type": "worlds", + "tags": [ + "tag.how_to_play", + "tag.uncategorized" + ] + }, + + //--------------------------------------------------------------------------- + // Lessons + //--------------------------------------------------------------------------- + + "language_arts": { + "label": "library.category.label.languageArts", + "icon": "textures/ui/icon_pages", + "screenshot": "textures/ui/library/lessons/language_arts/icon_root", + "default_color": [ 0.239, 0.584, 0.756 ], + "interact_color": [ 0.0, 0.443, 0.666 ], + "child_title": "library.category.title.languageArts", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "la_literature_studies", + "la_additional" + ] + }, + + "science": { + "label": "library.category.label.science", + "icon": "textures/items/potion_bottle_waterBreathing", + "screenshot": "textures/ui/library/lessons/science/icon_root", + "default_color": [ 0.655, 0.404, 0.0 ], + "interact_color": [ 0.655, 0.404, 0.0 ], + "child_title": "library.category.title.science", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "science_chemistry", + "science_biology", + "science_rangers", + "science_extinction", + "science_additional" + ] + }, + + "history": { + "label": "library.category.label.history", + "icon": "textures/ui/icon_history", + "screenshot": "textures/ui/library/lessons/history/icon_root", + "default_color": [ 0.639, 0.372, 0.650 ], + "interact_color": [ 0.525, 0.121, 0.541 ], + "child_title": "library.category.title.history", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "history_oregon", + "history_additional" + ] + }, + + "computer_science": { + "label": "library.category.label.computerScience", + "icon": "textures/ui/icon_agent_padded", + "screenshot": "textures/ui/library/lessons/computer_science/icon_root", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "cs_hour_of_code", + "cs_block_based", + "cs_python", + "cs_coding_tutorials", + "cs_ai", + "cs_additional" + ] + }, + + "math": { + "label": "library.category.label.math", + "icon": "textures/ui/icon_chalkboard", + "screenshot": "textures/ui/library/lessons/math/icon_root", + "default_color": [ 0.447, 0.447, 0.447 ], + "interact_color": [ 0.447, 0.447, 0.447 ], + "child_title": "library.category.title.math", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "math_common_3", + "math_common_4", + "math_common_5", + "math_fractions", + "math_additional" + ] + }, + + "art": { + "label": "library.category.label.art", + "icon": "textures/items/item_frame", + "screenshot": "textures/ui/library/lessons/icon_art", + "default_color": [ 0.905, 0.380, 0.372 ], + "interact_color": [ 0.815, 0.090, 0.078 ], + "child_title": "library.category.title.art", + "type": "worlds", + "tags": [ + "tag.art_and_design" + ] + }, + + "digital_citizenship": { + "label": "library.category.label.digitalCitizen", + "icon": "textures/ui/icon_digital_citizenship", + "screenshot": "textures/ui/library/lessons/icon_digital_citizenship", + "default_color": [ 0.604, 0.204, 0.196 ], + "interact_color": [ 0.639, 0.090, 0.078 ], + "child_title": "library.category.title.digitalCitizen", + "description": "library.category.description.digitalCitizen", + "type": "worlds", + "tags": [ + "tag.digital_citizenship" + ] + }, + + "social_emotional": { + "label": "library.category.label.SEL", + "icon": "textures/ui/icon_sel", + "screenshot": "textures/ui/library/lessons/icon_sel", + "default_color": [ 0.310, 0.369, 0.906 ], + "interact_color": [ 0.204, 0.267, 0.745 ], + "child_title": "library.category.title.SEL", + "description": "library.category.description.SEL", + "type": "worlds", + "tags": [ + "tag.social_emotional_learning" + ] + }, + + "equity_and_inclusion": { + "label": "library.category.label.equity_and_inclusion", + "icon": "textures/ui/library/lessons/equityInclusion_icon", + "child_icon": "textures/ui/library/lessons/equityInclusion_icon", + "screenshot": "textures/ui/library/lessons/equity_586x330", + "default_color": [ 0.454, 0.29, 0.752 ], + "interact_color": [ 0.38, 0.196, 0.776 ], + "child_title": "library.category.title.equity_and_inclusion", + "description": "library.category.description.equity_and_inclusion", + "type": "worlds", + "tags": [ + "tag.equity_and_inclusion" + ] + }, + + //--------------------------------------------------------------------------- + // CS Sub-Categories + //--------------------------------------------------------------------------- + + "cs_hour_of_code": { + "label": "library.category.label.computerScience.hourOfCode", + "screenshot": "textures/ui/library/lessons/computer_science/icon_hoc", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.hourOfCode", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.hourOfCode", + "type": "worlds", + "tags": [ + "tag.hour_of_code" + ] + }, + + "cs_block_based": { + "label": "library.category.label.computerScience.blockBased", + "screenshot": "textures/ui/library/lessons/computer_science/icon_block_based", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.blockBased", + "child_icon": "textures/ui/icon_agent_padded", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "cs_fundamentals_1", + "cs_fundamentals_2", + "cs_fundamentals_3", + "cs_course_1", + "cs_course_2" + ] + }, + + "cs_python": { + "label": "library.category.label.computerScience.python", + "screenshot": "textures/ui/library/lessons/computer_science/icon_python", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.python", + "child_icon": "textures/ui/icon_agent_padded", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "python_101", + "python_islands" + ] + }, + + "cs_coding_tutorials": { + "label": "library.category.label.computerScience.languageAgnostic", + "screenshot": "textures/ui/library/lessons/computer_science/icon_coding_tutorials", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.languageAgnostic", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.languageAgnostic", + "type": "worlds", + "tags": [ + "tag.language_agnostic" + ] + }, + + "cs_ai": { + "label": "library.category.label.computerScience.ai", + "icon": "", + "child_icon": "textures/ui/icon_agent_padded", + "screenshot": "textures/ui/library/lessons/computer_science/AI_586x330", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.ai", + "description": "library.category.description.computerScience.ai", + "type": "worlds", + "tags": [ + "tag.artificial_intelligence" + ] + }, + + "cs_additional": { + "label": "library.category.label.computerScience.featuredLessons", + "screenshot": "textures/ui/library/lessons/computer_science/icon_additional", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.featuredLessons", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.featuredLessons", + "type": "worlds", + "tags": [ + "tag.computer_science", + "tag.uncategorized" + ] + }, + + //--------------------------------------------------------------------------- + // CS Block-Based Sub-Categories + //--------------------------------------------------------------------------- + + "cs_fundamentals_1": { + "label": "library.category.label.computerScience.codingFun1", + "screenshot": "textures/ui/library/lessons/computer_science/icon_code_fun_1", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.codingFun1", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.codingFun1", + "type": "worlds", + "tags": [ + "tag.coding_fundamentals_1" + ] + }, + + "cs_fundamentals_2": { + "label": "library.category.label.computerScience.codingFun2", + "screenshot": "textures/ui/library/lessons/computer_science/icon_code_fun_2", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.codingFun2", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.codingFun2", + "type": "worlds", + "tags": [ + "tag.coding_fundamentals_2" + ] + }, + + "cs_fundamentals_3": { + "label": "library.category.label.computerScience.codingFun3", + "screenshot": "textures/ui/library/lessons/computer_science/icon_coding_fundamentals_3", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.codingFun3", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.codingFun3", + "type": "worlds", + "tags": [ + "tag.coding_fundamentals_3" + ] + }, + + "cs_course_1": { + "label": "library.category.label.computerScience.computingWithMinecraft", + "screenshot": "textures/ui/library/lessons/computer_science/icon_course_1", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.computingWithMinecraft", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.computingWithMinecraft", + "type": "worlds", + "tags": [ + "tag.computing_in_minecraft" + ] + }, + + "cs_course_2": { + "label": "library.category.label.computerScience.codingWithMinecraft", + "screenshot": "textures/ui/library/lessons/computer_science/icon_course_2", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.codingWithMinecraft", + "child_icon": "textures/ui/icon_agent_padded", + "description": "library.category.description.computerScience.codingWithMinecraft", + "type": "worlds", + "tags": [ + "tag.coding_course_2" + ] + }, + + //--------------------------------------------------------------------------- + // CS Python Sub-Categories + //--------------------------------------------------------------------------- + + // ------------------------- + // confirm SCREENSHOT + // ------------------------- + "python_101": { + "label": "library.category.label.computerScience.python.python101", + "icon": "", + "child_icon": "textures/ui/icon_agent_padded", + "screenshot": "textures/ui/library/lessons/computer_science/python101_2_586x330", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.python.python101", + "description": "library.category.description.computerScience.python101", + "type": "worlds", + "tags": [ + "tag.python101" + ] + }, + + "python_islands": { + "label": "library.category.label.computerScience.python.python_islands", + "icon": "", + "child_icon": "textures/ui/icon_agent_padded", + "screenshot": "textures/ui/library/lessons/computer_science/PythonIslands_586x330", + "default_color": [ 0.0, 0.518, 0.216 ], + "interact_color": [ 0.0, 0.518, 0.216 ], + "child_title": "library.category.title.computerScience.python.python_islands", + "description": "library.category.description.computerScience.python.python_islands", + "type": "worlds", + "tags": [ + "tag.python_islands" + ] + }, + + //--------------------------------------------------------------------------- + // Math Sub-Categories + //--------------------------------------------------------------------------- + + "math_common_3": { + "label": [ "library.category.label.commonCore", "3" ], + "screenshot": "textures/ui/library/lessons/math/icon_cc_grade_3", + "default_color": [ 0.447, 0.447, 0.447 ], + "interact_color": [ 0.447, 0.447, 0.447 ], + "child_title": [ "library.category.title.commonCore", "3" ], + "child_icon": "textures/ui/icon_chalkboard", + "description": "library.category.description.commonCoreMath", + "type": "worlds", + "tags": [ + "tag.common_core_math_grade_3" + ] + }, + + "math_common_4": { + "label": [ "library.category.label.commonCore", "4" ], + "screenshot": "textures/ui/library/lessons/math/icon_cc_grade_4", + "default_color": [ 0.447, 0.447, 0.447 ], + "interact_color": [ 0.447, 0.447, 0.447 ], + "child_title": [ "library.category.title.commonCore", "4" ], + "child_icon": "textures/ui/icon_chalkboard", + "description": "library.category.description.commonCoreMath", + "type": "worlds", + "tags": [ + "tag.common_core_math_grade_4" + ] + }, + + "math_common_5": { + "label": [ "library.category.label.commonCore", "5" ], + "screenshot": "textures/ui/library/lessons/math/icon_cc_grade_5", + "default_color": [ 0.447, 0.447, 0.447 ], + "interact_color": [ 0.447, 0.447, 0.447 ], + "child_title": [ "library.category.title.commonCore", "5" ], + "child_icon": "textures/ui/icon_chalkboard", + "description": "library.category.description.commonCoreMath", + "type": "worlds", + "tags": [ + "tag.common_core_math_grade_5" + ] + }, + + "math_fractions": { + "label": "library.category.label.math.fractions", + "screenshot": "textures/ui/library/lessons/math/icon_fractions", + "default_color": [ 0.447, 0.447, 0.447 ], + "interact_color": [ 0.447, 0.447, 0.447 ], + "child_title": "library.category.title.math.fractions", + "child_icon": "textures/ui/icon_chalkboard", + "description": "library.category.description.math.fractions", + "type": "worlds", + "tags": [ + "tag.fractions" + ] + }, + + "math_additional": { + "label": "library.category.label.lessons.genericAdditional", + "screenshot": "textures/ui/library/lessons/math/icon_additional", + "default_color": [ 0.447, 0.447, 0.447 ], + "interact_color": [ 0.447, 0.447, 0.447 ], + "child_title": "library.category.title.lessons.genericAdditional", + "child_icon": "textures/ui/icon_chalkboard", + "type": "worlds", + "tags": [ + "tag.math", + "tag.uncategorized" + ] + }, + + //--------------------------------------------------------------------------- + // Science Sub-Categories + //--------------------------------------------------------------------------- + + "science_chemistry": { + "label": "library.category.label.science.chemistry", + "screenshot": "textures/ui/library/lessons/science/icon_chemistry", + "default_color": [ 0.655, 0.404, 0.0 ], + "interact_color": [ 0.655, 0.404, 0.0 ], + "child_title": "library.category.title.science.chemistry", + "child_icon": "textures/items/potion_bottle_waterBreathing", + "type": "worlds", + "tags": [ + "tag.chemistry" + ] + }, + + "science_biology": { + "label": "library.category.label.science.biology", + "screenshot": "textures/ui/library/lessons/science/icon_biology", + "default_color": [ 0.655, 0.404, 0.0 ], + "interact_color": [ 0.655, 0.404, 0.0 ], + "child_title": "library.category.title.science.biology", + "child_icon": "textures/items/potion_bottle_waterBreathing", + "type": "worlds", + "tags": [ + "tag.biology" + ] + }, + + "science_rangers": { + "label": "library.category.label.science.rangers", + "screenshot": "textures/ui/library/lessons/science/icon_rangers", + "default_color": [ 0.655, 0.404, 0.0 ], + "interact_color": [ 0.655, 0.404, 0.0 ], + "child_title": "library.category.title.science.rangers", + "child_icon": "textures/items/potion_bottle_waterBreathing", + "description": "library.category.description.science.rangers", + "type": "worlds", + "tags": [ + "tag.we_are_the_rangers" + ] + }, + + "science_extinction": { + "label": "library.category.label.science.extinction", + "screenshot": "textures/ui/library/lessons/science/icon_biodiversity", + "default_color": [ 0.655, 0.404, 0.0 ], + "interact_color": [ 0.655, 0.404, 0.0 ], + "child_title": "library.category.title.science.extinction", + "child_icon": "textures/items/potion_bottle_waterBreathing", + "description": "library.category.description.science.extinction", + "type": "worlds", + "tags": [ + "tag.biodiversity" + ] + }, + + "science_additional": { + "label": "library.category.label.lessons.genericAdditional", + "screenshot": "textures/ui/library/lessons/science/icon_additional", + "default_color": [ 0.655, 0.404, 0.0 ], + "interact_color": [ 0.655, 0.404, 0.0 ], + "child_title": "library.category.title.lessons.genericAdditional", + "child_icon": "textures/items/potion_bottle_waterBreathing", + "type": "worlds", + "tags": [ + "tag.science", + "tag.uncategorized" + ] + }, + + //--------------------------------------------------------------------------- + // Language Sub and Sub-Sub-Categories + //--------------------------------------------------------------------------- + + "la_literature_studies": { + "label": "library.category.label.languageArts.litStudies", + "screenshot": "textures/ui/library/lessons/language_arts/lit_studies/icon_root", + "default_color": [ 0.239, 0.584, 0.756 ], + "interact_color": [ 0.0, 0.443, 0.666 ], + "child_title": "library.category.title.languageArts.litStudies", + "child_icon": "textures/ui/icon_pages", + "type": "category", + "items_per_row": 3, + "sub_categories": [ + "la_treasure_island", + "la_kensukes_kingdom", + "la_swiss_family", + "la_lit_additional" + ] + }, + + "la_treasure_island": { + "label": "library.category.label.languageArts.litStudies.treasureIsland", + "screenshot": "textures/ui/library/lessons/language_arts/lit_studies/icon_treasure_island", + "default_color": [ 0.239, 0.584, 0.756 ], + "interact_color": [ 0.0, 0.443, 0.666 ], + "child_title": "library.category.title.languageArts.litStudies.treasureIsland", + "child_icon": "textures/ui/icon_pages", + "description": "library.category.description.languageArts.litStudies.treasureIsland", + "type": "worlds", + "tags": [ + "tag.treasure_island" + ] + }, + + "la_kensukes_kingdom": { + "label": "library.category.label.languageArts.litStudies.kensukesKingdom", + "screenshot": "textures/ui/library/lessons/language_arts/lit_studies/icon_kensuke", + "default_color": [ 0.239, 0.584, 0.756 ], + "interact_color": [ 0.0, 0.443, 0.666 ], + "child_title": "library.category.title.languageArts.litStudies.kensukesKingdom", + "child_icon": "textures/ui/icon_pages", + "description": "library.category.description.languageArts.litStudies.kensukesKingdom", + "type": "worlds", + "tags": [ + "tag.kensukes_kingdom" + ] + }, + + "la_swiss_family": { + "label": "library.category.label.languageArts.litStudies.swissFamily", + "screenshot": "textures/ui/library/lessons/language_arts/lit_studies/icon_robinson", + "default_color": [ 0.239, 0.584, 0.756 ], + "interact_color": [ 0.0, 0.443, 0.666 ], + "child_title": "library.category.title.languageArts.litStudies.swissFamily", + "child_icon": "textures/ui/icon_pages", + "description": "library.category.description.languageArts.litStudies.swissFamily", + "type": "worlds", + "tags": [ + "tag.swiss_family_robinson" + ] + }, + + "la_additional": { + "label": "library.category.label.lessons.genericAdditional", + "screenshot": "textures/ui/library/lessons/language_arts/icon_additional", + "default_color": [ 0.239, 0.584, 0.756 ], + "interact_color": [ 0.0, 0.443, 0.666 ], + "child_title": "library.category.title.lessons.genericAdditional", + "child_icon": "textures/ui/icon_pages", + "type": "worlds", + "tags": [ + "tag.language_arts", + "tag.uncategorized" + ] + }, + + //--------------------------------------------------------------------------- + // History Sub-Categories + //--------------------------------------------------------------------------- + + "history_oregon": { + "label": "library.category.label.history.oregonTrail", + "screenshot": "textures/ui/library/lessons/history/icon_oregon_trail", + "default_color": [ 0.639, 0.372, 0.650 ], + "interact_color": [ 0.525, 0.121, 0.541 ], + "child_title": "library.category.title.history.oregonTrail", + "child_icon": "textures/ui/icon_history", + "description": "library.category.description.history.oregonTrail", + "type": "worlds", + "tags": [ + "tag.oregon_trail" + ] + }, + + "history_additional": { + "label": "library.category.label.lessons.genericAdditional", + "screenshot": "textures/ui/library/lessons/history/icon_additional", + "default_color": [ 0.639, 0.372, 0.650 ], + "interact_color": [ 0.525, 0.121, 0.541 ], + "child_title": "library.category.title.lessons.genericAdditional", + "child_icon": "textures/ui/icon_history", + "type": "worlds", + "tags": [ + "tag.history_and_culture", + "tag.uncategorized" + ] + } +} diff --git a/resource_pack/loading_messages.json b/resource_pack/loading_messages.json new file mode 100644 index 0000000..a6ed151 --- /dev/null +++ b/resource_pack/loading_messages.json @@ -0,0 +1,423 @@ +{ + "beginner_loading_messages": [ + "onlinePlay.message", + "beginnerTips.1", + "beginnerTips.2", + "beginnerTips.3", + "beginnerTips.4", + "beginnerTips.5", + "beginnerTips.6", + "beginnerTips.7", + "beginnerTips.8", + "beginnerTips.9", + "beginnerTips.10", + "beginnerTips.11", + "beginnerTips.12" + ], + "mid_game_loading_messages": [ + "onlinePlay.message", + "beginnerTips.1", + "beginnerTips.2", + "beginnerTips.3", + "beginnerTips.4", + "beginnerTips.5", + "beginnerTips.6", + "beginnerTips.7", + "beginnerTips.8", + "beginnerTips.9", + "beginnerTips.10", + "beginnerTips.11", + "beginnerTips.12", + "midgameTips.1", + "midgameTips.2", + "midgameTips.3", + "midgameTips.4", + "midgameTips.5", + "midgameTips.6", + "midgameTips.7", + "midgameTips.8", + "midgameTips.9", + "midgameTips.10", + "midgameTips.11", + "midgameTips.12", + "midgameTips.13", + "midgameTips.14", + "midgameTips.15", + "midgameTips.16", + "midgameTips.17", + "midgameTips.18", + "midgameTips.19", + "midgameTips.20", + "midgameTips.21", + "midgameTips.22", + "midgameTips.23", + "midgameTips.24", + "midgameTips.25", + "midgameTips.26", + "midgameTips.27", + "midgameTips.28", + "midgameTips.29", + "midgameTips.30", + "midgameTips.31", + "midgameTips.32", + "midgameTips.33", + "midgameTips.34", + "midgameTips.35", + "midgameTips.36", + "midgameTips.37", + "midgameTips.38", + "midgameTips.39", + "midgameTips.40", + "midgameTips.41", + "midgameTips.42", + "midgameTips.43", + "midgameTips.44", + "midgameTips.45", + "midgameTips.46", + "midgameTips.47", + "midgameTips.48", + "midgameTips.49", + "midgameTips.50", + "midgameTips.51", + "midgameTips.52", + "midgameTips.53", + "midgameTips.54", + "midgameTips.55", + "midgameTips.56", + "midgameTips.57", + "midgameTips.58", + "midgameTips.59", + "midgameTips.60", + "midgameTips.61", + "midgameTips.62", + "midgameTips.63", + "midgameTips.64", + "midgameTips.65", + "midgameTips.66", + "midgameTips.67", + "midgameTips.68", + "midgameTips.69" + ], + "late_game_loading_messages": [ + "onlinePlay.message", + "beginnerTips.1", + "beginnerTips.2", + "beginnerTips.3", + "beginnerTips.4", + "beginnerTips.5", + "beginnerTips.6", + "beginnerTips.7", + "beginnerTips.8", + "beginnerTips.9", + "beginnerTips.10", + "beginnerTips.11", + "beginnerTips.12", + "midgameTips.1", + "midgameTips.2", + "midgameTips.3", + "midgameTips.4", + "midgameTips.5", + "midgameTips.6", + "midgameTips.7", + "midgameTips.8", + "midgameTips.9", + "midgameTips.10", + "midgameTips.11", + "midgameTips.12", + "midgameTips.13", + "midgameTips.14", + "midgameTips.15", + "midgameTips.16", + "midgameTips.17", + "midgameTips.18", + "midgameTips.19", + "midgameTips.20", + "midgameTips.21", + "midgameTips.22", + "midgameTips.23", + "midgameTips.24", + "midgameTips.25", + "midgameTips.26", + "midgameTips.27", + "midgameTips.28", + "midgameTips.29", + "midgameTips.30", + "midgameTips.31", + "midgameTips.32", + "midgameTips.33", + "midgameTips.34", + "midgameTips.35", + "midgameTips.36", + "midgameTips.37", + "midgameTips.38", + "midgameTips.39", + "midgameTips.40", + "midgameTips.41", + "midgameTips.42", + "midgameTips.43", + "midgameTips.44", + "midgameTips.45", + "midgameTips.46", + "midgameTips.47", + "midgameTips.48", + "midgameTips.49", + "midgameTips.50", + "midgameTips.51", + "midgameTips.52", + "midgameTips.53", + "midgameTips.54", + "midgameTips.55", + "midgameTips.56", + "midgameTips.57", + "midgameTips.58", + "midgameTips.59", + "midgameTips.60", + "midgameTips.61", + "midgameTips.62", + "midgameTips.63", + "midgameTips.64", + "midgameTips.65", + "midgameTips.66", + "midgameTips.67", + "midgameTips.68", + "midgameTips.69", + "lategameTips.1", + "lategameTips.2", + "lategameTips.3", + "lategameTips.4", + "lategameTips.5", + "lategameTips.6", + "lategameTips.7", + "lategameTips.8", + "lategameTips.9", + "lategameTips.10", + "lategameTips.11", + "lategameTips.12", + "lategameTips.13", + "lategameTips.14", + "lategameTips.15", + "lategameTips.16", + "lategameTips.17", + "lategameTips.18", + "lategameTips.19", + "lategameTips.20", + "lategameTips.21", + "lategameTips.22", + "lategameTips.23", + "lategameTips.24", + "lategameTips.25", + "lategameTips.26", + "lategameTips.27" + ], + "creative_loading_messages": [ + "onlinePlay.message", + "beginnerTips.8", + "midgameTips.1", + "midgameTips.2", + "midgameTips.5", + "midgameTips.6", + "midgameTips.8", + "midgameTips.9", + "midgameTips.10", + "midgameTips.11", + "midgameTips.12", + "midgameTips.13", + "midgameTips.14", + "midgameTips.15", + "midgameTips.17", + "midgameTips.18", + "midgameTips.21", + "midgameTips.23", + "midgameTips.24", + "midgameTips.25", + "midgameTips.26", + "midgameTips.27", + "midgameTips.31", + "midgameTips.32", + "midgameTips.33", + "midgameTips.35", + "midgameTips.36", + "midgameTips.38", + "midgameTips.39", + "midgameTips.41", + "midgameTips.42", + "midgameTips.44", + "midgameTips.46", + "midgameTips.47", + "midgameTips.48", + "midgameTips.49", + "midgameTips.51", + "midgameTips.52", + "midgameTips.53", + "midgameTips.55", + "midgameTips.56", + "midgameTips.57", + "midgameTips.58", + "midgameTips.59", + "midgameTips.60", + "midgameTips.61", + "midgameTips.63", + "midgameTips.65", + "midgameTips.67", + "midgameTips.68", + "midgameTips.69", + "lategameTips.4", + "lategameTips.5", + "lategameTips.6", + "lategameTips.7", + "lategameTips.8", + "lategameTips.9", + "lategameTips.10", + "lategameTips.11", + "lategameTips.13", + "lategameTips.14", + "lategameTips.16", + "lategameTips.18", + "lategameTips.19", + "lategameTips.21", + "lategameTips.22", + "lategameTips.25", + "lategameTips.26", + "lategameTips.27" + ], + "editor_loading_messages": [ + "beginnerTips.1", + "beginnerTips.2", + "beginnerTips.3", + "beginnerTips.4", + "beginnerTips.5", + "beginnerTips.6", + "beginnerTips.7", + "beginnerTips.8", + "beginnerTips.9", + "beginnerTips.10", + "beginnerTips.11", + "beginnerTips.12", + "midgameTips.1", + "midgameTips.2", + "midgameTips.3", + "midgameTips.4", + "midgameTips.5", + "midgameTips.6", + "midgameTips.7", + "midgameTips.8", + "midgameTips.9", + "midgameTips.10", + "midgameTips.11", + "midgameTips.12", + "midgameTips.13", + "midgameTips.14", + "midgameTips.15", + "midgameTips.16", + "midgameTips.17", + "midgameTips.18", + "midgameTips.19", + "midgameTips.20", + "midgameTips.21", + "midgameTips.22", + "midgameTips.23", + "midgameTips.24", + "midgameTips.25", + "midgameTips.26", + "midgameTips.27", + "midgameTips.28", + "midgameTips.29", + "midgameTips.30", + "midgameTips.31", + "midgameTips.32", + "midgameTips.33", + "midgameTips.34", + "midgameTips.35", + "midgameTips.36", + "midgameTips.37", + "midgameTips.38", + "midgameTips.39", + "midgameTips.40", + "midgameTips.41", + "midgameTips.42", + "midgameTips.43", + "midgameTips.44", + "midgameTips.45", + "midgameTips.46", + "midgameTips.47", + "midgameTips.48", + "midgameTips.49", + "midgameTips.50", + "midgameTips.51", + "midgameTips.52", + "midgameTips.53", + "midgameTips.54", + "midgameTips.55", + "midgameTips.56", + "midgameTips.57", + "midgameTips.58", + "midgameTips.59", + "midgameTips.60", + "midgameTips.61", + "midgameTips.62", + "midgameTips.63", + "midgameTips.64", + "midgameTips.65", + "midgameTips.66", + "midgameTips.67", + "midgameTips.68", + "midgameTips.69", + "lategameTips.1", + "lategameTips.2", + "lategameTips.3", + "lategameTips.4", + "lategameTips.5", + "lategameTips.6", + "lategameTips.7", + "lategameTips.8", + "lategameTips.9", + "lategameTips.10", + "lategameTips.11", + "lategameTips.12", + "lategameTips.13", + "lategameTips.14", + "lategameTips.15", + "lategameTips.16", + "lategameTips.17", + "lategameTips.18", + "lategameTips.19", + "lategameTips.20", + "lategameTips.21", + "lategameTips.22", + "lategameTips.23", + "lategameTips.24", + "lategameTips.25", + "lategameTips.26", + "lategameTips.27" + ], + "realms_loading_messages": [ + "onlinePlay.message", + "tips.realms.1", + "tips.realms.2", + "tips.realms.3", + "tips.realms.4", + "tips.realms.5", + "tips.realms.6", + "tips.realms.7", + "tips.realms.8" + ], + "addons_loading_messages": [ + "onlinePlay.message", + "progressScreen.message.modifiedWorldWarning.1", + "progressScreen.message.modifiedWorldWarning.2", + "progressScreen.message.modifiedWorldWarning.3", + "progressScreen.message.modifiedWorldWarning.4", + "progressScreen.message.modifiedWorldWarning.5", + "progressScreen.message.modifiedWorldWarning.6", + "progressScreen.message.modifiedWorldWarning.7", + "progressScreen.message.modifiedWorldWarning.8" + ], + "store_progress_tooltips": [ + "store.progress.dialog.tooltip.1", + "store.progress.dialog.tooltip.2", + "store.progress.dialog.tooltip.3", + "store.progress.dialog.tooltip.4", + "store.progress.dialog.tooltip.5", + "store.progress.dialog.tooltip.6" + ] +} diff --git a/resource_pack/materials/common.json b/resource_pack/materials/common.json new file mode 100644 index 0000000..69a4e08 --- /dev/null +++ b/resource_pack/materials/common.json @@ -0,0 +1,4 @@ +[ + {"path":"materials/ui.material"}, + {"path":"materials/ui3D.material"} +] \ No newline at end of file diff --git a/resource_pack/materials/fancy.json b/resource_pack/materials/fancy.json new file mode 100644 index 0000000..62fffc3 --- /dev/null +++ b/resource_pack/materials/fancy.json @@ -0,0 +1,6 @@ +[ + {"path":"materials/hologram.material"}, + {"path":"materials/terrain.material", "+defines":["FANCY"]}, + {"path":"materials/terrain.material", "+defines":["FANCY", "FOG"]}, + {"path":"materials/terrain.material", "+defines":["FANCY", "ALWAYS_LIT"]} +] \ No newline at end of file diff --git a/resource_pack/materials/gameface.json b/resource_pack/materials/gameface.json new file mode 100644 index 0000000..32960f8 --- /dev/null +++ b/resource_pack/materials/gameface.json @@ -0,0 +1,2 @@ +[ +] \ No newline at end of file diff --git a/resource_pack/materials/sad.json b/resource_pack/materials/sad.json new file mode 100644 index 0000000..4fcd7f4 --- /dev/null +++ b/resource_pack/materials/sad.json @@ -0,0 +1,5 @@ +[ + {"path":"materials/terrain.material"}, + {"path":"materials/terrain.material", "+defines":["FOG"]}, + {"path":"materials/terrain.material", "+defines":["ALWAYS_LIT"]} +] \ No newline at end of file diff --git a/resource_pack/models/entity/allay.geo.json b/resource_pack/models/entity/allay.geo.json new file mode 100644 index 0000000..83f2df8 --- /dev/null +++ b/resource_pack/models/entity/allay.geo.json @@ -0,0 +1,84 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.allay", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 1.3, + "visible_bounds_height": 1, + "visible_bounds_offset": [0, 0.4, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 1, 0] + }, + { + "name": "head", + "parent": "root", + "pivot": [0, 5, 0] + }, + { + "name": "look_at", + "parent": "head", + "pivot": [0, 5, 0.75], + "cubes": [ + {"origin": [-2.5, 5.01, -2.5], "size": [5, 5, 5], "uv": [0, 0]} + ] + }, + { + "name": "body", + "parent": "root", + "pivot": [0, 5, 0], + "cubes": [ + {"origin": [-1.5, 1, -1], "size": [3, 4, 2], "uv": [0, 10]}, + {"origin": [-1.5, 0, -1], "size": [3, 5, 2], "inflate": -0.2, "uv": [0, 16]} + ], + "locators": { + "lead": [0, 6, 0] + } + }, + { + "name": "rightItem", + "parent": "body", + "pivot": [0, 0, -2], + "rotation": [-80, 0, 0] + }, + { + "name": "right_arm", + "parent": "body", + "pivot": [-1.75, 4.5, 0], + "cubes": [ + {"origin": [-2.5, 1, -1], "size": [1, 4, 2], "uv": [23, 0]} + ] + }, + { + "name": "left_arm", + "parent": "body", + "pivot": [1.75, 4.5, 0], + "cubes": [ + {"origin": [1.5, 1, -1], "size": [1, 4, 2], "uv": [23, 6]} + ] + }, + { + "name": "left_wing", + "parent": "body", + "pivot": [0.5, 4, 1], + "cubes": [ + {"origin": [0.5, -1, 1], "size": [0, 5, 8], "uv": [16, 14]} + ] + }, + { + "name": "right_wing", + "parent": "body", + "pivot": [-0.5, 4, 1], + "cubes": [ + {"origin": [-0.5, -1, 1], "size": [0, 5, 8], "uv": [16, 14]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/armadillo.geo.json b/resource_pack/models/entity/armadillo.geo.json new file mode 100644 index 0000000..98dcba8 --- /dev/null +++ b/resource_pack/models/entity/armadillo.geo.json @@ -0,0 +1,147 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.armadillo", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 3, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 0.75, 0 ] + }, + "bones": [ + { + "name": "body", + "pivot": [ 0, 3, 4 ], + "cubes": [ + { + "origin": [ -4, 2, -6 ], + "size": [ 8, 8, 12 ], + "inflate": 0.3, + "uv": [ 0, 20 ] + }, + { + "origin": [ -4, 2, -6 ], + "size": [ 8, 8, 12 ], + "uv": [ 0, 40 ] + } + ], + "locators": { + "lead": [ 0, 5, -7 ] + } + }, + { + "name": "tail", + "parent": "body", + "pivot": [ 0, 6, 5 ], + "rotation": [ 29, 0, 0 ], + "cubes": [ + { + "origin": [ -0.5, 0.08645, 5.09326 ], + "size": [ 1, 6, 1 ], + "uv": [ 44, 53 ] + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0, 5, -7 ], + "cubes": [ + { + "origin": [ -1.5, 1, -8 ], + "size": [ 3, 5, 2 ], + "pivot": [ 0, 5, -7 ], + "rotation": [ -22.5, 0, 0 ], + "uv": [ 43, 15 ] + } + ] + }, + { + "name": "right_ear", + "parent": "head", + "pivot": [ -1, 6, -7 ], + "cubes": [ + { + "origin": [ -3.5, 4, -7.6 ], + "size": [ 2, 5, 0 ], + "pivot": [ -1.5, 6, -7.6 ], + "rotation": [ 10.80524, -22.13991, -4.11405 ], + "uv": [ 43, 10 ] + } + ] + }, + { + "name": "left_ear", + "parent": "head", + "pivot": [ 1, 7, -7 ], + "cubes": [ + { + "origin": [ 1.5, 4, -7.6 ], + "size": [ 2, 5, 0 ], + "pivot": [ 1.5, 6, -7.6 ], + "rotation": [ 10.80524, 22.13991, 4.11405 ], + "uv": [ 47, 10 ] + } + ] + }, + { + "name": "right_hind_leg", + "pivot": [ -2, 3, 4 ], + "cubes": [ + { + "origin": [ -3, 0, 3 ], + "size": [ 2, 3, 2 ], + "uv": [ 51, 31 ] + } + ] + }, + { + "name": "left_hind_leg", + "pivot": [ 2, 3, 4 ], + "cubes": [ + { + "origin": [ 1, 0, 3 ], + "size": [ 2, 3, 2 ], + "uv": [ 42, 31 ] + } + ] + }, + { + "name": "right_front_leg", + "pivot": [ -2, 3, -4 ], + "cubes": [ + { + "origin": [ -3, 0, -5 ], + "size": [ 2, 3, 2 ], + "uv": [ 51, 43 ] + } + ] + }, + { + "name": "left_front_leg", + "pivot": [ 2, 3, -4 ], + "cubes": [ + { + "origin": [ 1, 0, -5 ], + "size": [ 2, 3, 2 ], + "uv": [ 42, 43 ] + } + ] + }, + { + "name": "body_rolled_up", + "pivot": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -5, 0, -6 ], + "size": [ 10, 10, 10 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/armor_stand.geo.json b/resource_pack/models/entity/armor_stand.geo.json new file mode 100644 index 0000000..6b32b12 --- /dev/null +++ b/resource_pack/models/entity/armor_stand.geo.json @@ -0,0 +1,142 @@ +{ + "format_version" : "1.12.0", + "minecraft:geometry" : [ + { + "description" : { + "identifier" : "geometry.armor_stand", + "texture_width" : 64.0, + "texture_height" : 64.0, + "visible_bounds_offset" : [ 0.0, 0.5, 0.0 ], + "visible_bounds_width" : 1.5 + }, + "bones" : [ + { + "name" : "baseplate", + "cubes" : [ + { + "origin" : [ -6.0, 0.0, -6.0 ], + "size" : [ 12.0, 1.0, 12.0 ], + "uv" : [ 0.0, 32.0 ] + } + ] + }, + { + "name" : "waist", + "parent" : "baseplate", + "pivot" : [ 0.0, 12.0, 0.0 ] + }, + { + "name" : "body", + "parent" : "waist", + "pivot" : [ 0.0, 24.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -6.0, 21.0, -1.5 ], + "size" : [ 12.0, 3.0, 3.0 ], + "uv" : [ 0.0, 26.0 ] + }, + { + "origin" : [ -3.0, 14.0, -1.0 ], + "size" : [ 2.0, 7.0, 2.0 ], + "uv" : [ 16.0, 0.0 ] + }, + { + "origin" : [ 1.0, 14.0, -1.0 ], + "size" : [ 2.0, 7.0, 2.0 ], + "uv" : [ 48.0, 16.0 ] + }, + { + "origin" : [ -4.0, 12.0, -1.0 ], + "size" : [ 8.0, 2.0, 2.0 ], + "uv" : [ 0.0, 48.0 ] + } + ] + }, + { + "name" : "head", + "parent" : "body", + "pivot" : [ 0.0, 24.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -1.0, 24.0, -1.0 ], + "size" : [ 2.0, 7.0, 2.0 ], + "uv" : [ 0.0, 0.0 ] + } + ] + }, + { + "name" : "hat", + "parent" : "head", + "pivot" : [ 0.0, 24.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -4.0, 24.0, -4.0 ], + "size" : [ 8.0, 8.0, 8.0 ], + "uv" : [ 32.0, 0.0 ] + } + ] + }, + { + "name" : "leftarm", + "parent" : "body", + "mirror" : true, + "pivot" : [ 5.0, 22.0, 0.0 ], + "cubes" : [ + { + "origin" : [ 5.0, 12.0, -1.0 ], + "size" : [ 2.0, 12.0, 2.0 ], + "uv" : [ 32.0, 16.0 ] + } + ] + }, + { + "name" : "leftitem", + "parent" : "leftarm", + "pivot" : [ 6.0, 15.0, 1.0 ] + }, + { + "name" : "leftleg", + "parent" : "body", + "mirror" : true, + "pivot" : [ 1.9, 12.0, 0.0 ], + "cubes" : [ + { + "origin" : [ 0.9, 1.0, -1.0 ], + "size" : [ 2.0, 11.0, 2.0 ], + "uv" : [ 40.0, 16.0 ] + } + ] + }, + { + "name" : "rightarm", + "parent" : "body", + "pivot" : [ -5.0, 22.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -7.0, 12.0, -1.0 ], + "size" : [ 2.0, 12.0, 2.0 ], + "uv" : [ 24.0, 0.0 ] + } + ] + }, + { + "name" : "rightitem", + "parent" : "rightarm", + "pivot" : [ -6.0, 15.0, 1.0 ] + }, + { + "name" : "rightleg", + "parent" : "body", + "pivot" : [ -1.9, 12.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -2.9, 1.0, -1.0 ], + "size" : [ 2.0, 11.0, 2.0 ], + "uv" : [ 8.0, 0.0 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/arrow.geo.json b/resource_pack/models/entity/arrow.geo.json new file mode 100644 index 0000000..67a769d --- /dev/null +++ b/resource_pack/models/entity/arrow.geo.json @@ -0,0 +1,50 @@ +{ + "format_version" : "1.12.0", + "minecraft:geometry" : [ + { + "description" : { + "identifier" : "geometry.arrow", + "texture_width" : 32.0, + "texture_height" : 32.0 + }, + "bones" : [ + { + "name" : "body", + "pivot" : [ 0.0, 1.0, 0.0 ], + "cubes" : [ + { + "origin" : [ 0.0, -2.5, -3.0 ], + "rotation" : [ 0.0, 0.0, 45.0 ], + "size" : [ 0.0, 5.0, 16.0 ], + "uv" : { + "east" : { + "uv" : [ 0.0, 0.0 ] + } + } + }, + { + "origin" : [ 0.0, -2.5, -3.0 ], + "rotation" : [ 0.0, 0.0, -45.0 ], + "size" : [ 0.0, 5.0, 16.0 ], + "uv" : { + "east" : { + "uv" : [ 0.0, 0.0 ] + } + } + }, + { + "origin" : [ -2.5, -2.5, 12.0 ], + "rotation" : [ 0.0, 0.0, 45.0 ], + "size" : [ 5.0, 5.0, 0.0 ], + "uv" : { + "south" : { + "uv" : [ 0.0, 5.0 ] + } + } + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/axolotl.geo.json b/resource_pack/models/entity/axolotl.geo.json new file mode 100644 index 0000000..dd6ea62 --- /dev/null +++ b/resource_pack/models/entity/axolotl.geo.json @@ -0,0 +1,118 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.axolotl", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 1.5, + "visible_bounds_height": 0.25, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, -4, 0] + }, + { + "name": "body", + "parent": "root", + "pivot": [ 0, 3, 4 ], + "cubes": [ + { + "origin": [ -4, 0, -5 ], + "size": [ 8, 4, 10 ], + "uv": [ 0, 11 ] + }, + { + "origin": [ 0, 0, -5 ], + "size": [ 0, 5, 9 ], + "uv": [ 2, 17 ] + } + ], + "locators": { + "lead": [ 0, 0, -5 ] + } + }, + { + "name": "right_arm", + "parent": "body", + "pivot": [-4, 1, -4], + "rotation": [0, -90, 0], + "cubes": [ + {"origin": [-6, -4, -4], "size": [3, 5, 0], "uv": [2, 13]} + ] + }, + { + "name": "right_leg", + "parent": "body", + "pivot": [-4, 1, 4], + "rotation": [0, 90, 0], + "cubes": [ + {"origin": [-5, -4, 4], "size": [3, 5, 0], "uv": [2, 13]} + ] + }, + { + "name": "left_arm", + "parent": "body", + "pivot": [4, 1, -4], + "rotation": [0, 90, 0], + "cubes": [ + {"origin": [3, -4, -4], "size": [3, 5, 0], "pivot": [4, 1, -4], "rotation": [0, 0, 0], "uv": [2, 13]} + ] + }, + { + "name": "left_leg", + "parent": "body", + "pivot": [4, 1, 4], + "rotation": [0, -90, 0], + "cubes": [ + {"origin": [2, -4, 4], "size": [3, 5, 0], "uv": [2, 13]} + ] + }, + { + "name": "tail", + "parent": "body", + "pivot": [0, 2, 4], + "cubes": [ + {"origin": [0, 0, 4], "size": [0, 5, 12], "uv": [2, 19]} + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 2, -5], + "reset": true, + "cubes": [ + {"origin": [-4, 0, -10], "size": [8, 5, 5], "uv": [0, 1]} + ] + }, + { + "name": "left_gills", + "parent": "head", + "pivot": [4, 2, -6], + "cubes": [ + {"origin": [4, 0, -6], "size": [3, 7, 0], "uv": [11, 40]} + ] + }, + { + "name": "right_gills", + "parent": "head", + "pivot": [-4, 2, -6], + "cubes": [ + {"origin": [-7, 0, -6], "size": [3, 7, 0], "uv": [0, 40]} + ] + }, + { + "name": "top_gills", + "parent": "head", + "pivot": [0, 5, -6], + "cubes": [ + {"origin": [-4, 5, -6], "size": [8, 3, 0], "uv": [3, 37]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/balloon.geo.json b/resource_pack/models/entity/balloon.geo.json new file mode 100644 index 0000000..97a760c --- /dev/null +++ b/resource_pack/models/entity/balloon.geo.json @@ -0,0 +1,165 @@ +{ + "geometry.balloon": { + "bones": [ + { + "pivot": [ + 0.0, + 0.0, + 0.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -2.9992, + 1.9992, + -4.0 + ], + "size": [ + 6.0, + 7.0, + 1.0 + ], + "uv": [ + 0.0, + 7.0 + ] + }, + { + "origin": [ + -3.0, + 2.0, + 3.0008 + ], + "size": [ + 6.0, + 7.0, + 1.0 + ], + "uv": [ + 0.0, + 7.0 + ] + } + ], + "name": "body" + }, + { + "pivot": [ + 0.0, + 5.0, + 0.0 + ], + "rotation": [ + 0.0, + 90.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -3.00004, + 2.0, + -4.00004 + ], + "size": [ + 6.0, + 7.0, + 1.0 + ], + "uv": [ + 0.0, + 7.0 + ] + }, + { + "origin": [ + -3.0, + 2.0008, + 2.9992 + ], + "size": [ + 6.0, + 7.0, + 1.0 + ], + "uv": [ + 0.0, + 7.0 + ] + } + ], + "name": "head" + }, + { + "pivot": [ + 0.0, + 5.0, + 0.0 + ], + "rotation": [ + 90.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -3.0, + 2.0, + -4.0 + ], + "size": [ + 6.0, + 6.0, + 1.0 + ], + "uv": [ + 0.0, + 15.0 + ] + }, + { + "origin": [ + -3.0, + 1.99919, + 4.0 + ], + "size": [ + 6.0, + 6.0, + 1.0 + ], + "uv": [ + 0.0, + 0.0 + ] + }, + { + "origin": [ + -0.9992, + 3.99997, + -4.99922 + ], + "size": [ + 2.0, + 2.0, + 1.0 + ], + "uv": [ + 14.0, + 0.0 + ] + } + ], + "name": "rightArm" + } + ], + "texturewidth": 22, + "textureheight": 22 + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/bat.geo.json b/resource_pack/models/entity/bat.geo.json new file mode 100644 index 0000000..35af738 --- /dev/null +++ b/resource_pack/models/entity/bat.geo.json @@ -0,0 +1,113 @@ +{ + "format_version": "1.8.0", + "geometry.bat": { + + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 21.0, -3.0 ], + "size": [ 6, 6, 6 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "rightEar", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 26.0, -2.0 ], + "size": [ 3, 4, 1 ], + "uv": [ 24, 0 ] + } + ], + "parent": "head" + }, + { + "name": "leftEar", + "mirror": true, + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 26.0, -2.0 ], + "size": [ 3, 4, 1 ], + "uv": [ 24, 0 ] + } + ], + "parent": "head" + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 8.0, -3.0 ], + "size": [ 6, 12, 6 ], + "uv": [ 0, 16 ] + }, + { + "origin": [ -5.0, -8.0, 0.0 ], + "size": [ 10, 16, 1 ], + "uv": [ 0, 34 ] + } + ] + }, + { + "name": "rightWing", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -12.0, 7.0, 1.5 ], + "size": [ 10, 16, 1 ], + "uv": [ 42, 0 ] + } + ], + "parent": "body" + }, + { + "name": "rightWingTip", + "pivot": [ -12.0, 23.0, 1.5 ], + "cubes": [ + { + "origin": [ -20.0, 10.0, 1.5 ], + "size": [ 8, 12, 1 ], + "uv": [ 24, 16 ] + } + ], + "parent": "rightWing" + }, + { + "name": "leftWing", + "mirror": true, + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.0, 7.0, 1.5 ], + "size": [ 10, 16, 1 ], + "uv": [ 42, 0 ] + } + ], + "parent": "body" + }, + { + "name": "leftWingTip", + "mirror": true, + "pivot": [ 12.0, 23.0, 1.5 ], + "cubes": [ + { + "origin": [ 12.0, 10.0, 1.5 ], + "size": [ 8, 12, 1 ], + "uv": [ 24, 16 ] + } + ], + "parent": "leftWing" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/bat_v2.geo.json b/resource_pack/models/entity/bat_v2.geo.json new file mode 100644 index 0000000..3d9fab8 --- /dev/null +++ b/resource_pack/models/entity/bat_v2.geo.json @@ -0,0 +1,87 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.bat_v2", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 4, + "visible_bounds_height": 3, + "visible_bounds_offset": [0, 1.5, 0] + }, + "bones": [ + { + "name": "Head", + "pivot": [0, 7, 0], + "cubes": [ + {"origin": [-2, 7, -1], "size": [4, 3, 2], "uv": [0, 7]} + ] + }, + { + "name": "rightEar", + "parent": "Head", + "pivot": [-1.5, 9, 0], + "cubes": [ + {"origin": [-4, 8, 0], "size": [3, 5, 0], "uv": [1, 15]} + ] + }, + { + "name": "leftEar", + "parent": "Head", + "pivot": [1.1, 10, 0], + "cubes": [ + {"origin": [1, 8, 0], "size": [3, 5, 0], "uv": [8, 15]} + ] + }, + { + "name": "body", + "pivot": [0, 7, 0], + "cubes": [ + {"origin": [-1.5, 2, -1], "size": [3, 5, 2], "uv": [0, 0]} + ] + }, + { + "name": "feet", + "parent": "body", + "pivot": [0, 2, 0], + "cubes": [ + {"origin": [-1.5, 0, 0], "size": [3, 2, 0], "uv": [16, 16]} + ] + }, + { + "name": "rightWing", + "parent": "body", + "pivot": [-1.5, 7, 0], + "cubes": [ + {"origin": [-3.5, 2, 0], "size": [2, 7, 0], "uv": [12, 0]} + ] + }, + { + "name": "rightWingTip", + "parent": "rightWing", + "pivot": [-3.5, 7, 0], + "cubes": [ + {"origin": [-9.5, 1, 0], "size": [6, 8, 0], "uv": [16, 0]} + ] + }, + { + "name": "leftWing", + "parent": "body", + "pivot": [1.5, 7, 0], + "cubes": [ + {"origin": [1.5, 2, 0], "size": [2, 7, 0], "uv": [12, 7]} + ] + }, + { + "name": "leftWingTip", + "parent": "leftWing", + "pivot": [3.5, 7, 0], + "cubes": [ + {"origin": [3.5, 1, 0], "size": [6, 8, 0], "uv": [16, 8]} + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/bee.geo.json b/resource_pack/models/entity/bee.geo.json new file mode 100644 index 0000000..7e4fe8b --- /dev/null +++ b/resource_pack/models/entity/bee.geo.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.10.0", + "geometry.bee": { + "texturewidth": 64, + "textureheight": 64, + "visible_bounds_width": 1.5, + "visible_bounds_height": 1.5, + "visible_bounds_offset": [0, 0.25, 0], + "bones": [ + { + "name": "body", + "pivot": [0.5, 5, 0], + "cubes": [ + {"origin": [-3, 2, -5], "size": [7, 7, 10], "uv": [0, 0]}, + {"origin": [2, 7, -8], "size": [1, 2, 3], "uv": [2, 0]}, + {"origin": [-2, 7, -8], "size": [1, 2, 3], "uv": [2, 3]} + ], + "locators": { + "lead": [0, 4, -1] + } + }, + { + "name": "stinger", + "parent": "body", + "pivot": [0.5, 6, 1], + "cubes": [ + {"origin": [0.5, 5, 5], "size": [0, 1, 2], "uv": [26, 7]} + ] + }, + { + "name": "rightwing_bone", + "parent": "body", + "pivot": [-1, 9, -3], + "rotation": [15, -15, 0], + "cubes": [ + {"origin": [-10, 9, -3], "size": [9, 0, 6], "uv": [0, 18]} + ] + }, + { + "name": "leftwing_bone", + "parent": "body", + "pivot": [2, 9, -3], + "rotation": [15, 15, 0], + "cubes": [ + {"origin": [2, 9, -3], "size": [9, 0, 6], "uv": [9, 24]} + ] + }, + { + "name": "leg_front", + "parent": "body", + "pivot": [2, 2, -2], + "cubes": [ + {"origin": [-3, 0, -2], "size": [7, 2, 0], "uv": [26, 1]} + ] + }, + { + "name": "leg_mid", + "parent": "body", + "pivot": [2, 2, 0], + "cubes": [ + {"origin": [-3, 0, 0], "size": [7, 2, 0], "uv": [26, 3]} + ] + }, + { + "name": "leg_back", + "parent": "body", + "pivot": [2, 2, 2], + "cubes": [ + {"origin": [-3, 0, 2], "size": [7, 2, 0], "uv": [26, 5]} + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/blaze.geo.json b/resource_pack/models/entity/blaze.geo.json new file mode 100644 index 0000000..d3d9887 --- /dev/null +++ b/resource_pack/models/entity/blaze.geo.json @@ -0,0 +1,155 @@ +{ + "format_version": "1.8.0", + "geometry.blaze": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "upperBodyParts0", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts1", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts2", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts3", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts4", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts5", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts6", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts7", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts8", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts9", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts10", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyParts11", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 16.0, 0.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 20.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/bogged.geo.json b/resource_pack/models/entity/bogged.geo.json new file mode 100644 index 0000000..22ca079 --- /dev/null +++ b/resource_pack/models/entity/bogged.geo.json @@ -0,0 +1,105 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.skeleton.bogged", + "texture_width": 64, + "texture_height": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 3, + "visible_bounds_offset": [0, 1.5, 0] + }, + "bones": [ + { + "name": "waist", + "pivot": [0, 12, 0] + }, + { + "name": "body", + "parent": "waist", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [-4, 12, -2], "size": [8, 12, 4], "uv": [16, 16]} + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [-4, 24, -4], "size": [8, 8, 8], "uv": [0, 0]} + ], + "locators": { + "lead": [0, 24, 0] + } + }, + { + "name": "mushrooms", + "parent": "head", + "pivot": [3, 31.5, 3], + "cubes": [ + {"origin": [-6, 31, -3], "size": [6, 4, 0], "pivot": [-3, 32.5, -3], "rotation": [0, -45, 0], "uv": [50, 22]}, + {"origin": [-6, 31, -3], "size": [6, 4, 0], "pivot": [-3, 32.5, -3], "rotation": [0, 45, 0], "uv": [50, 22]}, + {"origin": [0, 31, 3], "size": [6, 4, 0], "pivot": [3, 31.5, 3], "rotation": [0, 45, 0], "uv": [50, 16]}, + {"origin": [0, 31, 3], "size": [6, 4, 0], "pivot": [3, 31.5, 3], "rotation": [0, -45, 0], "uv": [50, 16]}, + {"origin": [-5, 25, 3], "size": [6, 5, 0], "pivot": [-2, 25, 3], "rotation": [-90, 0, 45], "uv": [50, 27]}, + {"origin": [-5, 25, 3], "size": [6, 5, 0], "pivot": [-2, 25, 3], "rotation": [-90, 0, 135], "uv": [50, 27]} + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [-4, 24, -4], "size": [8, 8, 8], "inflate": 0.2, "uv": [32, 0]} + ] + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [-5, 22, 0], + "cubes": [ + {"origin": [-6, 12, -1], "size": [2, 12, 2], "uv": [40, 16]} + ] + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [-6, 15, 1] + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [5, 22, 0], + "mirror": true, + "cubes": [ + {"origin": [4, 12, -1], "size": [2, 12, 2], "uv": [40, 16]} + ] + }, + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [6, 15, 1] + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [-2, 12, 0], + "cubes": [ + {"origin": [-3, 0, -1], "size": [2, 12, 2], "uv": [0, 16]} + ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [2, 12, 0], + "mirror": true, + "cubes": [ + {"origin": [1, 0, -1], "size": [2, 12, 2], "uv": [0, 16]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/bogged_armor.geo.json b/resource_pack/models/entity/bogged_armor.geo.json new file mode 100644 index 0000000..e8842fa --- /dev/null +++ b/resource_pack/models/entity/bogged_armor.geo.json @@ -0,0 +1,110 @@ +{ + "format_version": "1.8.0", + "geometry.bogged.armor": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "inflate": 0.25 + }, + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6, 15, 1 ], + "neverRender": true + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true, + "inflate": 0.25 + }, + { + "name": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 0.25, + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/bow.geo.json b/resource_pack/models/entity/bow.geo.json new file mode 100644 index 0000000..4746c2b --- /dev/null +++ b/resource_pack/models/entity/bow.geo.json @@ -0,0 +1,85 @@ +{ + "format_version" : "1.16.0", + "minecraft:geometry" : [ + { + "description" : { + "identifier" : "geometry.bow_pulling_0", + "texture_width" : 16.0, + "texture_height" : 16.0 + }, + "bones" : [ + { + "name" : "rightitem", + "texture_meshes" : [ + { + "local_pivot" : [ 6.0, 0.0, 6.0 ], + "position" : [ 2.0, 1.0, -1.0 ], + "rotation" : [ 0.0, -135.0, 90.0 ], + "texture" : "bow_pulling_0" + } + ] + } + ] + }, + { + "description" : { + "identifier" : "geometry.bow_pulling_1", + "texture_width" : 16.0, + "texture_height" : 16.0 + }, + "bones" : [ + { + "name" : "rightitem", + "texture_meshes" : [ + { + "local_pivot" : [ 6.0, 0.0, 6.0 ], + "position" : [ 2.01, 1.0, -1.0 ], + "rotation" : [ 0.0, -135.0, 90.0 ], + "texture" : "bow_pulling_1" + } + ] + } + ] + }, + { + "description" : { + "identifier" : "geometry.bow_pulling_2", + "texture_width" : 16.0, + "texture_height" : 16.0 + }, + "bones" : [ + { + "name" : "rightitem", + "texture_meshes" : [ + { + "local_pivot" : [ 6.0, 0.0, 6.0 ], + "position" : [ 2.01, 1.0, -1.0 ], + "rotation" : [ 0.0, -135.0, 90.0 ], + "texture" : "bow_pulling_2" + } + ] + } + ] + }, + { + "description" : { + "identifier" : "geometry.bow_standby", + "texture_width" : 16.0, + "texture_height" : 16.0 + }, + "bones" : [ + { + "name" : "rightitem", + "texture_meshes" : [ + { + "local_pivot" : [ 6.0, 0.0, 6.0 ], + "position" : [ 2.0, 1.0, -2.0 ], + "rotation" : [ 0.0, -135.0, 90.0 ], + "texture" : "default" + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/breeze.geo.json b/resource_pack/models/entity/breeze.geo.json new file mode 100644 index 0000000..f319f34 --- /dev/null +++ b/resource_pack/models/entity/breeze.geo.json @@ -0,0 +1,282 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.breeze", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 3, + "visible_bounds_height": 3.5, + "visible_bounds_offset": [0, 1.25, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 0, 0] + }, + { + "name": "rods", + "parent": "body", + "pivot": [0, 16, 0], + "cubes": [ + {"origin": [-1, 11, -6], "size": [2, 8, 2], "pivot": [0, 19, -3], "rotation": [22.5, 0, 0], "uv": [0, 17]}, + {"origin": [-3.59808, 11, -1.5], "size": [2, 8, 2], "pivot": [-2.59808, 19, 1.5], "rotation": [-157.5, 60, 180], "uv": [0, 17]}, + {"origin": [1.59808, 11, -1.5], "size": [2, 8, 2], "pivot": [2.59808, 19, 1.5], "rotation": [-157.5, -60, 180], "uv": [0, 17]} + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 20, 0], + "cubes": [ + {"origin": [-4, 20, -4], "size": [8, 8, 8], "uv": [0, 0]} + ] + }, + { + "name": "eyes", + "parent": "head", + "pivot": [ 0, 20, 0 ], + "cubes": [ + { + "origin": [ -5, 22, -4.2 ], + "size": [ 10, 3, 4 ], + "uv": [ 4, 24 ] + } + ] + }, + { + "name": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_bottom", + "parent": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_mid", + "parent": "tornado_bottom", + "pivot": [0, 7, 0] + }, + { + "name": "tornado_top", + "parent": "tornado_mid", + "pivot": [0, 13, 0] + } + ] + }, + { + "description": { + "identifier": "geometry.breeze_eyes", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 3, + "visible_bounds_height": 3.5, + "visible_bounds_offset": [0, 1.25, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 0, 0] + }, + { + "name": "rods", + "parent": "body", + "pivot": [0, 16, 0] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0, 20, 0 ], + "cubes": [ + { + "origin": [ -4, 20, -4 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "eyes", + "parent": "head", + "pivot": [0, 20, 0], + "cubes": [ + { + "origin": [ -5, 22, -4.2 ], + "size": [ 10, 3, 4 ], + "uv": [ 4, 24 ] + } + ] + }, + { + "name": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_bottom", + "parent": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_mid", + "parent": "tornado_bottom", + "pivot": [0, 7, 0] + }, + { + "name": "tornado_top", + "parent": "tornado_mid", + "pivot": [0, 13, 0] + } + ] + }, + { + "description": { + "identifier": "geometry.breeze_wind_top", + "texture_width": 128, + "texture_height": 128, + "visible_bounds_width": 3, + "visible_bounds_height": 3.5, + "visible_bounds_offset": [0, 1.25, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 0, 0] + }, + { + "name": "rods", + "parent": "body", + "pivot": [0, 16, 0] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 20, 0] + }, + { + "name": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_bottom", + "parent": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_mid", + "parent": "tornado_bottom", + "pivot": [0, 7, 0] + }, + { + "name": "tornado_top", + "parent": "tornado_mid", + "pivot": [0, 13, 0], + "cubes": [ + {"origin": [-9, 13, -9], "size": [18, 8, 18], "uv": [0, 0]}, + {"origin": [-6, 13, -6], "size": [12, 8, 12], "uv": [6, 6]}, + {"origin": [-2.5, 13, -2.5], "size": [5, 8, 5], "uv": [105, 57]} + ] + } + ] + }, + { + "description": { + "identifier": "geometry.breeze_wind_mid", + "texture_width": 128, + "texture_height": 128, + "visible_bounds_width": 3, + "visible_bounds_height": 3.5, + "visible_bounds_offset": [0, 1.25, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 0, 0] + }, + { + "name": "rods", + "parent": "body", + "pivot": [0, 16, 0] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 20, 0] + }, + { + "name": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_bottom", + "parent": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_mid", + "parent": "tornado_bottom", + "pivot": [0, 7, 0], + "cubes": [ + {"origin": [-6, 7, -6], "size": [12, 6, 12], "uv": [74, 28]}, + {"origin": [-4, 7, -4], "size": [8, 6, 8], "uv": [78, 32]}, + {"origin": [-2.5, 7, -2.5], "size": [5, 6, 5], "uv": [49, 71]} + ] + }, + { + "name": "tornado_top", + "parent": "tornado_mid", + "pivot": [0, 13, 0] + } + ] + }, + { + "description": { + "identifier": "geometry.breeze_wind_bottom", + "texture_width": 128, + "texture_height": 128, + "visible_bounds_width": 3, + "visible_bounds_height": 3.5, + "visible_bounds_offset": [0, 1.25, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 0, 0] + }, + { + "name": "rods", + "parent": "body", + "pivot": [0, 16, 0] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 20, 0] + }, + { + "name": "tornado_body", + "pivot": [0, 0, 0] + }, + { + "name": "tornado_bottom", + "parent": "tornado_body", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-2.5, 0, -2.5], "size": [5, 7, 5], "uv": [1, 83]} + ] + }, + { + "name": "tornado_mid", + "parent": "tornado_bottom", + "pivot": [0, 7, 0] + }, + { + "name": "tornado_top", + "parent": "tornado_mid", + "pivot": [0, 13, 0] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/camel.geo.json b/resource_pack/models/entity/camel.geo.json new file mode 100644 index 0000000..7a4afaf --- /dev/null +++ b/resource_pack/models/entity/camel.geo.json @@ -0,0 +1,146 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.camel", + "texture_width": 128, + "texture_height": 128, + "visible_bounds_width": 4, + "visible_bounds_height": 5, + "visible_bounds_offset": [0, 1.5, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 0, 0], + "locators": { + "root_standing": [0, 32, 0], + "root_sitting": [0, 12, 0] + } + }, + { + "name": "body", + "parent": "root", + "pivot": [0.5, 20, 9.5], + "cubes": [ + {"origin": [-7.5, 20, -14], "size": [15, 12, 27], "uv": [0, 25]} + ], + "locators": { + "driver_seat": [0, 30, -11], + "back_seat": [0, 30, 10] + } + }, + { + "name": "saddle", + "parent": "body", + "pivot": [0.5, 20, 9.5], + "cubes": [ + {"origin": [-4.5, 32, -6], "size": [9, 5, 11], "inflate": 0.1, "uv": [74, 64]}, + {"origin": [-3.5, 37, -6], "size": [7, 3, 11], "inflate": 0.1, "uv": [92, 114]}, + {"origin": [-7.5, 20, -14], "size": [15, 12, 27], "inflate": 0.1, "uv": [0, 89]} + ] + }, + { + "name": "tail", + "parent": "body", + "pivot": [0, 29, 13], + "cubes": [ + {"origin": [-1.5, 15, 13], "size": [3, 14, 0], "pivot": [0, 29, 13], "rotation": [0, 180, 0], "uv": [122, 0]} + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [0.5, 25, -10], + "cubes": [ + {"origin": [-3.5, 22, -25], "size": [7, 8, 19], "uv": [60, 24]}, + {"origin": [-3.5, 30, -25], "size": [7, 14, 7], "uv": [21, 0]}, + {"origin": [-2.5, 39, -31], "size": [5, 5, 6], "uv": [50, 0]} + ], + "locators": { + "lead": [0.0, 25, -15] + } + }, + { + "name": "bridle", + "parent": "head", + "pivot": [0.5, 25, -10], + "cubes": [ + {"origin": [-3.5, 22, -25], "size": [7, 8, 19], "inflate": 0.1, "uv": [60, 87]}, + {"origin": [-3.5, 30, -25], "size": [7, 14, 7], "inflate": 0.1, "uv": [21, 64]}, + {"origin": [-2.5, 39, -31.1], "size": [5, 5, 6], "inflate": 0.1, "uv": [50, 64]}, + {"origin": [2.5, 40, -28], "size": [1, 2, 2], "uv": [74, 70]}, + {"origin": [-3.5, 40, -28], "size": [1, 2, 2], "uv": [74, 70], "mirror": true} + ] + }, + { + "name": "left_ear", + "parent": "head", + "pivot": [3, 43, -19.5], + "cubes": [ + {"origin": [3, 42.5, -20.5], "size": [3, 1, 2], "uv": [45, 0]} + ] + }, + { + "name": "right_ear", + "parent": "head", + "pivot": [-3, 43, -19.5], + "cubes": [ + {"origin": [-6, 42.5, -20.5], "size": [3, 1, 2], "uv": [67, 0]} + ] + }, + { + "name": "reins", + "parent": "head", + "pivot": [3.7, 41, -27], + "cubes": [ + {"origin": [3.7, 34, -27], "size": [0, 7, 15], "uv": [98, 42]}, + {"origin": [-3.7, 34, -12], "size": [7.4, 7, 0], "uv": [84, 57]}, + {"origin": [-3.7, 34, -27], "size": [0, 7, 15], "uv": [98, 42]} + ] + }, + { + "name": "hump", + "parent": "body", + "pivot": [0.5, 32, 0], + "cubes": [ + {"origin": [-4.5, 32, -6], "size": [9, 5, 11], "uv": [74, 0]} + ] + }, + { + "name": "right_front_leg", + "parent": "root", + "pivot": [-4.9, 23, -10.5], + "cubes": [ + {"origin": [-7.4, 0, -13], "size": [5, 21, 5], "uv": [0, 26]} + ] + }, + { + "name": "left_front_leg", + "parent": "root", + "pivot": [4.9, 23, -10.5], + "cubes": [ + {"origin": [2.4, 0, -13], "size": [5, 21, 5], "uv": [0, 0]} + ] + }, + { + "name": "left_hind_leg", + "parent": "root", + "pivot": [4.9, 23, 9.5], + "cubes": [ + {"origin": [2.4, 0, 7], "size": [5, 21, 5], "uv": [58, 16]} + ] + }, + { + "name": "right_hind_leg", + "parent": "root", + "pivot": [-4.9, 23, 9.5], + "cubes": [ + {"origin": [-7.4, 0, 7], "size": [5, 21, 5], "uv": [94, 16]} + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/cat.geo.json b/resource_pack/models/entity/cat.geo.json new file mode 100644 index 0000000..0fed420 --- /dev/null +++ b/resource_pack/models/entity/cat.geo.json @@ -0,0 +1,138 @@ +{ + "format_version": "1.8.0", + "geometry.cat": { + "visible_bounds_width": 2.5, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "pivot": [ 0.0, 9.0, -9.0 ], + "locators": { + "lead": [ 0.0, 9.0, -9.0 ] + }, + "cubes": [ + { + "origin": [ -2.5, 7.0, -12.0 ], + "size": [ 5.0, 4.0, 5.0 ], + "uv": [ 0.0, 0.0 ] + }, + { + "origin": [ -1.5, 7.01562, -13.0 ], + "size": [ 3.0, 2.0, 2.0 ], + "uv": [ 0.0, 24.0 ] + }, + { + "origin": [ -2.0, 11.0, -9.0 ], + "size": [ 1.0, 1.0, 2.0 ], + "uv": [ 0.0, 10.0 ] + }, + { + "origin": [ 1.0, 11.0, -9.0 ], + "size": [ 1.0, 1.0, 2.0 ], + "uv": [ 6.0, 10.0 ] + } + ], + "name": "head", + "parent": "body" + }, + { + "pivot": [ 0.0, 7.0, 1.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.0, -1, -2.0 ], + "size": [ 4.0, 16.0, 6.0 ], + "uv": [ 20.0, 0.0 ] + } + ], + "name": "body" + }, + { + "pivot": [ 0.0, 9.0, 8.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, 1.0, 8.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 0.0, 15.0 ] + } + ], + "name": "tail1", + "parent": "body" + }, + { + "pivot": [ 0.0, 9.0, 16.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, 1.0, 16.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 4.0, 15.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "tail2", + "parent": "tail1" + }, + { + "pivot": [ 1.1, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ 0.1, 0.0, 6.0 ], + "size": [ 2.0, 6.0, 2.0 ], + "uv": [ 8.0, 13.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "backLegL", + "parent": "body" + }, + { + "pivot": [ -1.1, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ -2.1, 0.0, 6.0 ], + "size": [ 2.0, 6.0, 2.0 ], + "uv": [ 8.0, 13.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "backLegR", + "parent": "body" + }, + { + "pivot": [ 1.2, 10.0, -4.0 ], + "cubes": [ + { + "origin": [ 0.2, 0.2, -5.0 ], + "size": [ 2.0, 10.0, 2.0 ], + "uv": [ 40.0, 0.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "frontLegL", + "parent": "body" + }, + { + "pivot": [ -1.2, 10.0, -4.0 ], + "cubes": [ + { + "origin": [ -2.2, 0.2, -5.0 ], + "size": [ 2.0, 10.0, 2.0 ], + "uv": [ 40.0, 0.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "frontLegR", + "parent": "body" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/chicken.geo.json b/resource_pack/models/entity/chicken.geo.json new file mode 100644 index 0000000..c2af0dc --- /dev/null +++ b/resource_pack/models/entity/chicken.geo.json @@ -0,0 +1,216 @@ +{ + "format_version" : "1.12.0", + "minecraft:geometry" : [ + { + "description" : { + "identifier" : "geometry.chicken.v1.12", + "texture_width" : 64.0, + "texture_height" : 32.0, + "visible_bounds_height" : 1.5, + "visible_bounds_offset" : [ 0.0, 0.5, 0.0 ], + "visible_bounds_width" : 1.5 + }, + "bones" : [ + { + "name" : "body", + "pivot" : [ 0.0, 8.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -3.0, 4.0, -3.0 ], + "rotation" : [ 90.0, 0.0, 0.0 ], + "size" : [ 6.0, 8.0, 6.0 ], + "uv" : [ 0.0, 9.0 ] + } + ] + }, + { + "name" : "head", + "pivot" : [ 0.0, 9.0, -4.0 ], + "cubes" : [ + { + "origin" : [ -2.0, 9.0, -6.0 ], + "size" : [ 4.0, 6.0, 3.0 ], + "uv" : [ 0.0, 0.0 ] + } + ], + "locators" : { + "lead" : [ 0.0, 9.0, -4.0 ] + } + }, + { + "name" : "comb", + "parent" : "head", + "pivot" : [ 0.0, 9.0, -4.0 ], + "cubes" : [ + { + "origin" : [ -1.0, 9.0, -7.0 ], + "size" : [ 2.0, 2.0, 2.0 ], + "uv" : [ 14.0, 4.0 ] + } + ] + }, + { + "name" : "beak", + "parent" : "head", + "pivot" : [ 0.0, 9.0, -4.0 ], + "cubes" : [ + { + "origin" : [ -2.0, 11.0, -8.0 ], + "size" : [ 4.0, 2.0, 2.0 ], + "uv" : [ 14.0, 0.0 ] + } + ] + }, + { + "name" : "leg0", + "pivot" : [ -2.0, 5.0, 1.0 ], + "cubes" : [ + { + "origin" : [ -3.0, 0.0, -2.0 ], + "size" : [ 3.0, 5.0, 3.0 ], + "uv" : [ 26.0, 0.0 ] + } + ] + }, + { + "name" : "leg1", + "pivot" : [ 1.0, 5.0, 1.0 ], + "cubes" : [ + { + "origin" : [ 0.0, 0.0, -2.0 ], + "size" : [ 3.0, 5.0, 3.0 ], + "uv" : [ 26.0, 0.0 ] + } + ] + }, + { + "name" : "wing0", + "pivot" : [ -3.0, 11.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -4.0, 7.0, -3.0 ], + "size" : [ 1.0, 4.0, 6.0 ], + "uv" : [ 24.0, 13.0 ] + } + ] + }, + { + "name" : "wing1", + "pivot" : [ 3.0, 11.0, 0.0 ], + "cubes" : [ + { + "origin" : [ 3.0, 7.0, -3.0 ], + "size" : [ 1.0, 4.0, 6.0 ], + "uv" : [ 24.0, 13.0 ] + } + ] + } + ] + }, + { + "description" : { + "identifier" : "geometry.chicken", + "texture_width" : 64.0, + "texture_height" : 32.0, + "visible_bounds_height" : 1.5, + "visible_bounds_offset" : [ 0.0, 0.5, 0.0 ], + "visible_bounds_width" : 1.5 + }, + "bones" : [ + { + "name" : "body", + "pivot" : [ 0.0, 8.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -3.0, 4.0, -3.0 ], + "size" : [ 6.0, 8.0, 6.0 ], + "uv" : [ 0.0, 9.0 ] + } + ] + }, + { + "name" : "head", + "pivot" : [ 0.0, 9.0, -4.0 ], + "cubes" : [ + { + "origin" : [ -2.0, 9.0, -6.0 ], + "size" : [ 4.0, 6.0, 3.0 ], + "uv" : [ 0.0, 0.0 ] + } + ], + "locators" : { + "lead" : [ 0.0, 9.0, -4.0 ] + } + }, + { + "name" : "comb", + "parent" : "head", + "pivot" : [ 0.0, 9.0, -4.0 ], + "cubes" : [ + { + "origin" : [ -1.0, 9.0, -7.0 ], + "size" : [ 2.0, 2.0, 2.0 ], + "uv" : [ 14.0, 4.0 ] + } + ] + }, + { + "name" : "beak", + "parent" : "head", + "pivot" : [ 0.0, 9.0, -4.0 ], + "cubes" : [ + { + "origin" : [ -2.0, 11.0, -8.0 ], + "size" : [ 4.0, 2.0, 2.0 ], + "uv" : [ 14.0, 0.0 ] + } + ] + }, + { + "name" : "leg0", + "pivot" : [ -2.0, 5.0, 1.0 ], + "cubes" : [ + { + "origin" : [ -3.0, 0.0, -2.0 ], + "size" : [ 3.0, 5.0, 3.0 ], + "uv" : [ 26.0, 0.0 ] + } + ] + }, + { + "name" : "leg1", + "pivot" : [ 1.0, 5.0, 1.0 ], + "cubes" : [ + { + "origin" : [ 0.0, 0.0, -2.0 ], + "size" : [ 3.0, 5.0, 3.0 ], + "uv" : [ 26.0, 0.0 ] + } + ] + }, + { + "name" : "wing0", + "pivot" : [ -3.0, 11.0, 0.0 ], + "cubes" : [ + { + "origin" : [ -4.0, 7.0, -3.0 ], + "size" : [ 1.0, 4.0, 6.0 ], + "uv" : [ 24.0, 13.0 ] + } + ] + }, + { + "name" : "wing1", + "pivot" : [ 3.0, 11.0, 0.0 ], + "cubes" : [ + { + "origin" : [ 3.0, 7.0, -3.0 ], + "size" : [ 1.0, 4.0, 6.0 ], + "uv" : [ 24.0, 13.0 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/cod.geo.json b/resource_pack/models/entity/cod.geo.json new file mode 100644 index 0000000..8af12df --- /dev/null +++ b/resource_pack/models/entity/cod.geo.json @@ -0,0 +1,91 @@ +{ + "format_version": "1.8.0", + "geometry.cod": { + "visible_bounds_width": 0.5, + "visible_bounds_height": 0.5, + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -1.0, 0.0, 1.0 ], + "size": [ 2.0, 4.0, 7.0 ], + "uv": [ 0.0, 0.0 ] + }, + { + "origin": [ 0.0, 4.0, 0.0 ], + "size": [ 0.0, 1.0, 6.0 ], + "uv": [ 20.0, -6.0 ] + }, + { + "origin": [ 0.0, -1.0, 3.0 ], + "size": [ 0.0, 1.0, 2.0 ], + "uv": [ 22.0, -1.0 ] + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 2.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.9992, 1.0008, -3.0 ], + "size": [ 2.0, 3.0, 1.0 ], + "uv": [ 0.0, 0.0 ] + }, + { + "origin": [ -1.0, 0.0, -2.0 ], + "size": [ 2.0, 4.0, 3.0 ], + "uv": [ 11.0, 0.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body", + "pivot": [ 1.0, 1.0, 0.0 ], + "rotation": [ 0.0, 0.0, 35.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, 0.0 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 4.0 ] + } + ] + }, + { + "name": "rightFin", + "parent": "body", + "pivot": [ -1.0, 1.0, 0.0 ], + "rotation": [ 0.0, 0.0, -35.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, 0.0 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 1.0 ] + } + ] + }, + { + "name": "tailfin", + "parent": "body", + "pivot": [ 0.0, 0.0, 8.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 8.0 ], + "size": [ 0.0, 4.0, 6.0 ], + "uv": [ 20.0, 1.0 ] + } + ] + }, + { + "name": "waist", + "parent": "body", + "cubes": [] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/cow.geo.json b/resource_pack/models/entity/cow.geo.json new file mode 100644 index 0000000..db9419d --- /dev/null +++ b/resource_pack/models/entity/cow.geo.json @@ -0,0 +1,104 @@ +{ + "format_version": "1.8.0", + "geometry.cow.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.75, + "visible_bounds_offset": [ 0, 0.75, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 11.0, -5.0 ], + "size": [ 12, 18, 10 ], + "uv": [ 18, 4 ] + }, + { + "origin": [ -2.0, 11.0, -6.0 ], + "size": [ 4, 6, 1 ], + "uv": [ 52, 0 ] + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 20.0, -8.0 ], + "locators": { + "lead": [ 0.0, 20.0, -8.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 16.0, -14.0 ], + "size": [ 8, 8, 6 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -5.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + }, + { + "origin": [ 4.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "mirror": true, + "pivot": [ 4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "mirror": true, + "pivot": [ 4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/cow_v1.0.geo.json b/resource_pack/models/entity/cow_v1.0.geo.json new file mode 100644 index 0000000..7ec7fa3 --- /dev/null +++ b/resource_pack/models/entity/cow_v1.0.geo.json @@ -0,0 +1,98 @@ +{ + "format_version": "1.8.0", + "geometry.cow": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.75, + "visible_bounds_offset": [ 0, 0.75, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "cubes": [ + { + "origin": [ -6.0, 11.0, -5.0 ], + "size": [ 12, 18, 10 ], + "uv": [ 18, 4 ] + }, + { + "origin": [ -2.0, 11.0, -6.0 ], + "size": [ 4, 6, 1 ], + "uv": [ 52, 0 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 20.0, -8.0 ], + "locators": { + "lead": [ 0.0, 20.0, -8.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 16.0, -14.0 ], + "size": [ 8, 8, 6 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -5.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + }, + { + "origin": [ 4.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "mirror": true, + "pivot": [ 4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "mirror": true, + "pivot": [ 4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/creaking.geo.json b/resource_pack/models/entity/creaking.geo.json new file mode 100644 index 0000000..39a7491 --- /dev/null +++ b/resource_pack/models/entity/creaking.geo.json @@ -0,0 +1,148 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.creaking", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 3, + "visible_bounds_height": 4.5, + "visible_bounds_offset": [ 0, 1.75, 0 ] + }, + "bones": [ + { + "name": "root", + "pivot": [ 0, 0, 0 ] + }, + { + "name": "upperBody", + "parent": "root", + "pivot": [ -1, 19, 0 ] + }, + { + "name": "head", + "parent": "upperBody", + "pivot": [ -4, 30, 0 ], + "cubes": [ + { + "origin": [ -7, 30, -3 ], + "size": [ 6, 10, 6 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -7, 40, -3 ], + "size": [ 6, 3, 6 ], + "uv": [ 28, 31 ] + }, + { + "origin": [ -1, 29, 0 ], + "size": [ 9, 14, 0 ], + "uv": [ 12, 40 ] + }, + { + "origin": [ -16, 30, 0 ], + "size": [ 9, 14, 0 ], + "uv": [ 34, 12 ] + } + ] + }, + { + "name": "body", + "parent": "upperBody", + "pivot": [ -1, 26, 1 ], + "cubes": [ + { + "origin": [ -1, 16, -2 ], + "size": [ 6, 13, 5 ], + "uv": [ 0, 16 ] + }, + { + "origin": [ -7, 23, -2 ], + "size": [ 6, 7, 5 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "rightArm", + "parent": "upperBody", + "pivot": [ -8, 28.5, 1.5 ], + "cubes": [ + { + "origin": [ -10, 9, 0 ], + "size": [ 3, 21, 3 ], + "uv": [ 22, 13 ] + }, + { + "origin": [ -10, 5, 0 ], + "size": [ 3, 4, 3 ], + "uv": [ 46, 0 ] + } + ] + }, + { + "name": "leftArm", + "parent": "upperBody", + "pivot": [ 5, 28, 0.5 ], + "cubes": [ + { + "origin": [ 5, 13, -1 ], + "size": [ 3, 16, 3 ], + "uv": [ 30, 40 ] + }, + { + "origin": [ 5, 29, -1 ], + "size": [ 3, 4, 3 ], + "uv": [ 52, 12 ] + }, + { + "origin": [ 5, 9, -1 ], + "size": [ 3, 4, 3 ], + "uv": [ 52, 19 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.5, 16, 0.5 ], + "cubes": [ + { + "origin": [ 0, 0, -1 ], + "size": [ 3, 16, 3 ], + "uv": [ 42, 40 ] + }, + { + "origin": [ 0, 0.3, -4 ], + "size": [ 5, 0, 9 ], + "uv": [ 45, 55 ] + } + ] + }, + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1, 17.5, 0.5 ], + "cubes": [ + { + "origin": [ -4, 0, -1 ], + "size": [ 3, 19, 3 ], + "uv": [ 0, 34 ] + }, + { + "origin": [ -6, 0.3, -4 ], + "size": [ 5, 0, 9 ], + "uv": [ 45, 46 ] + }, + { + "origin": [ -4, 19, -1 ], + "size": [ 3, 3, 3 ], + "uv": [ 12, 34 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/creeper.geo.json b/resource_pack/models/entity/creeper.geo.json new file mode 100644 index 0000000..ec7ead1 --- /dev/null +++ b/resource_pack/models/entity/creeper.geo.json @@ -0,0 +1,167 @@ +{ + "format_version": "1.8.0", + "geometry.creeper.v1.8": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.75, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -4.0, 6.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 18.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 18.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + }, + "geometry.creeper.charged.v1.8": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.75, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -4.0, 6.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 18.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 18.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/creeper.v1.0.geo.json b/resource_pack/models/entity/creeper.v1.0.geo.json new file mode 100644 index 0000000..d34881b --- /dev/null +++ b/resource_pack/models/entity/creeper.v1.0.geo.json @@ -0,0 +1,157 @@ +{ + "format_version": "1.8.0", + "geometry.creeper": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.75, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -4.0, 6.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 18.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 18.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "pivot": [ 2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + }, + "geometry.creeper.charged": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.75, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -4.0, 6.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "head", + "pivot": [ 0.0, 18.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 18.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg0", + "pivot": [ -2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg1", + "pivot": [ 2.0, 6.0, 4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 2.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg2", + "pivot": [ -2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + { + "name": "leg3", + "pivot": [ 2.0, 6.0, -4.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -6.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/crossbow.geo.json b/resource_pack/models/entity/crossbow.geo.json new file mode 100644 index 0000000..7ac83d1 --- /dev/null +++ b/resource_pack/models/entity/crossbow.geo.json @@ -0,0 +1,125 @@ +{ + "format_version": "1.16.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.crossbow_pulling_0", + "texture_width": 16.0, + "texture_height": 16.0 + }, + "bones": [ + { + "name": "rightitem", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "texture_meshes": [ + { + "position": [ 0.0, -5.0, -3.0 ], + "rotation": [ 90.0, 0.0, -49.0 ], + "texture": "crossbow_pulling_0" + } + ] + } + ] + }, + { + "description": { + "identifier": "geometry.crossbow_pulling_1", + "texture_width": 16.0, + "texture_height": 16.0 + }, + "bones": [ + { + "name": "rightitem", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "texture_meshes": [ + { + "position": [ 0.0, -5.0, -3.0 ], + "rotation": [ 90.0, 0.0, -49.0 ], + "texture": "crossbow_pulling_1" + } + ] + } + ] + }, + { + "description": { + "identifier": "geometry.crossbow_pulling_2", + "texture_width": 16.0, + "texture_height": 16.0 + }, + "bones": [ + { + "name": "rightitem", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "texture_meshes": [ + { + "position": [ 0.0, -5.0, -3.0 ], + "rotation": [ 90.0, 0.0, -49.0 ], + "texture": "crossbow_pulling_2" + } + ] + } + ] + }, + { + "description": { + "identifier": "geometry.crossbow_standby", + "texture_width": 16.0, + "texture_height": 16.0 + }, + "bones": [ + { + "name": "rightitem", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "texture_meshes": [ + { + "position": [ 0.0, -5.0, -3.0 ], + "rotation": [ 90.0, 0.0, -49.0 ], + "texture": "default" + } + ] + } + ] + }, + { + "description": { + "identifier": "geometry.crossbow_arrow", + "texture_width": 16.0, + "texture_height": 16.0 + }, + "bones": [ + { + "name": "rightitem", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "texture_meshes": [ + { + "position": [ 0.0, -5.0, -3.0 ], + "rotation": [ 90.0, 0.0, -49.0 ], + "texture": "crossbow_arrow" + } + ] + } + ] + }, + { + "description": { + "identifier": "geometry.crossbow_rocket", + "texture_width": 16.0, + "texture_height": 16.0 + }, + "bones": [ + { + "name": "rightitem", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "texture_meshes": [ + { + "position": [ 0.0, -5.0, -3.0 ], + "rotation": [ 90.0, 0.0, -49.0 ], + "texture": "crossbow_rocket" + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/dolphin.geo.json b/resource_pack/models/entity/dolphin.geo.json new file mode 100644 index 0000000..46ca0dd --- /dev/null +++ b/resource_pack/models/entity/dolphin.geo.json @@ -0,0 +1,126 @@ +{ + "format_version": "1.8.0", + "geometry.dolphin": { + "bones": [ + { + "pivot": [ 0.0, 0.0, -3.0 ], + "locators": { + "lead": [ 0.0, 0.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 0.0, -9.0 ], + "size": [ 8.0, 7.0, 6.0 ], + "uv": [ 0.0, 0.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "head", + "parent": "body" + }, + { + "pivot": [ 0.0, 0.0, -3.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -3.0 ], + "size": [ 8.0, 7.0, 13.0 ], + "uv": [ 0.0, 13.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "body" + }, + { + "pivot": [ 0.0, 2.5, 11.0 ], + "cubes": [ + { + "origin": [ -2.0, 0.0, 10.0 ], + "size": [ 4.0, 5.0, 11.0 ], + "uv": [ 0.0, 33.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "tail", + "parent": "body" + }, + { + "pivot": [ 0.0, 2.5, 20.0 ], + "cubes": [ + { + "origin": [ -5.0, 2.0, 19.0 ], + "size": [ 10.0, 1.0, 6.0 ], + "uv": [ 0.0, 49.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "tail_fin", + "parent": "tail" + }, + { + "pivot": [ 0.0, 7.0, 2.0 ], + "rotation": [ -30.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, 6.25, 1.0 ], + "size": [ 1.0, 5.0, 4.0 ], + "uv": [ 29.0, 0.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "back_fin", + "parent": "body" + }, + { + "pivot": [ 3.0, 1.0, -1.0 ], + "rotation": [ 0.0, -25.0, 20.0 ], + "cubes": [ + { + "origin": [ 3.0, 1.0, -2.5 ], + "size": [ 8.0, 1.0, 4.0 ], + "uv": [ 40.0, 0.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "left_fin", + "parent": "body" + }, + { + "pivot": [ -3.0, 1.0, -1.0 ], + "rotation": [ 0.0, 25.0, -20.0 ], + "cubes": [ + { + "origin": [ -11.0, 1.0, -2.5 ], + "size": [ 8.0, 1.0, 4.0 ], + "uv": [ 40.0, 6.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "right_fin", + "parent": "body" + }, + { + "pivot": [ 0.0, 0.0, -13.0 ], + "cubes": [ + { + "origin": [ -1.0, 0.0, -13.0 ], + "size": [ 2.0, 2.0, 4.0 ], + "uv": [ 0.0, 13.0 ], + "inflate": 0.0, + "mirror": false + } + ], + "name": "nose", + "parent": "head" + } + ], + "texturewidth": 64, + "textureheight": 64 + } +} diff --git a/resource_pack/models/entity/drowned.geo.json b/resource_pack/models/entity/drowned.geo.json new file mode 100644 index 0000000..67d5bf8 --- /dev/null +++ b/resource_pack/models/entity/drowned.geo.json @@ -0,0 +1,186 @@ +{ + "format_version": "1.16.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.zombie.drowned.v1.16", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ] + }, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8.0, 12.0, 4.0 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "jacket", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8.0, 12.0, 4.0 ], + "uv": [ 16, 32 ], + "inflate": 0.5 + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 0, 0 ], + "inflate": 0.5 + } + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 32, 0 ], + "inflate": 1.0 + } + ] + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -7.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 16 ], + "mirror": true + } + ] + }, + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -7.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 48, 48 ], + "inflate": 0.5 + } + ] + }, + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 32 ], + "inflate": 0.5, + "mirror": true + } + ] + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.05, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 16, 48 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.05, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 32, 48 ], + "mirror": true + } + ] + }, + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.25, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 48 ], + "inflate": 0.25 + } + ] + }, + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.25, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 32 ], + "inflate": 0.25, + "mirror": true + } + ] + }, + { + "name": "waist", + "parent": "body", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6.0, 15.0, 1.0 ] + }, + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6.0, 15.0, 1.0 ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/drowned_v1.0.geo.json b/resource_pack/models/entity/drowned_v1.0.geo.json new file mode 100644 index 0000000..c25044e --- /dev/null +++ b/resource_pack/models/entity/drowned_v1.0.geo.json @@ -0,0 +1,191 @@ +{ + "format_version": "1.16.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.zombie.drowned", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ] + }, + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 24.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8.0, 12.0, 4.0 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "jacket", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8.0, 12.0, 4.0 ], + "uv": [ 16, 32 ], + "inflate": 0.5 + } + ] + }, + { + "name": "head", + "parent": "root", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 0, 0 ], + "inflate": 0.5 + } + ] + }, + { + "name": "hat", + "parent": "root", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 32, 0 ], + "inflate": 1.0 + } + ] + }, + { + "name": "rightArm", + "parent": "root", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -7.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leftArm", + "parent": "root", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 16 ], + "mirror": true + } + ] + }, + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -7.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 48, 48 ], + "inflate": 0.5 + } + ] + }, + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 32 ], + "inflate": 0.5, + "mirror": true + } + ] + }, + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.05, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 16, 48 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.05, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 32, 48 ], + "mirror": true + } + ] + }, + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.25, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 48 ], + "inflate": 0.25 + } + ] + }, + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.25, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 32 ], + "inflate": 0.25, + "mirror": true + } + ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6.0, 15.0, 1.0 ] + }, + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6.0, 15.0, 1.0 ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/ender_crystal.geo.json b/resource_pack/models/entity/ender_crystal.geo.json new file mode 100644 index 0000000..d75fe32 --- /dev/null +++ b/resource_pack/models/entity/ender_crystal.geo.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.ender_crystal", + "texture_width": 128, + "texture_height": 64, + "visible_bounds_width": 2, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0.0, 1.5, 0.0 ] + }, + "bones": [ + { + "name": "outerglass", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, -8.0, -8.0 ], + "size": [ 16, 16, 16 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "innerglass", + "parent": "outerglass", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, -8.0, -8.0 ], + "size": [ 16, 16, 16 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "crystal", + "parent": "innerglass", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, -8.0, -8.0 ], + "size": [ 16, 16, 16 ], + "uv": [ 64, 0 ] + } + ] + }, + { + "name": "base", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "rotation": [ 180.0, 0.0, 0.0 ], + "origin": [ -12.0, -16.0, -12.0 ], + "size": [ 24, 8, 24 ], + "uv": [ 0, 32 ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/ender_dragon.geo.json b/resource_pack/models/entity/ender_dragon.geo.json new file mode 100644 index 0000000..c97d0bb --- /dev/null +++ b/resource_pack/models/entity/ender_dragon.geo.json @@ -0,0 +1,309 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.dragon", + "visible_bounds_width": 14, + "visible_bounds_height": 13, + "visible_bounds_offset": [ 0, 2, 0 ], + "texture_width": 256, + "texture_height": 256 + }, + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 24.0, 0.0 ] + }, + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 20.0, -24.0 ], + "size": [ 12.0, 5.0, 16.0 ], + "uv": [ 176, 44 ] + }, + { + "origin": [ -8.0, 16.0, -10.0 ], + "size": [ 16.0, 16.0, 16.0 ], + "uv": [ 112, 30 ] + }, + { + "mirror": true, + "origin": [ -5.0, 32.0, -4.0 ], + "size": [ 2.0, 4.0, 6.0 ], + "uv": [ 0, 0 ] + }, + { + "mirror": true, + "origin": [ -5.0, 25.0, -22.0 ], + "size": [ 2.0, 2.0, 4.0 ], + "uv": [ 112, 0 ] + }, + { + "origin": [ 3.0, 32.0, -4.0 ], + "size": [ 2.0, 4.0, 6.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 3.0, 25.0, -22.0 ], + "size": [ 2.0, 2.0, 4.0 ], + "uv": [ 112, 0 ] + } + ] + }, + { + "name": "jaw", + "parent": "head", + "pivot": [ 0.0, 20.0, -8.0 ], + "cubes": [ + { + "origin": [ -6.0, 16.0, -24.0 ], + "size": [ 12.0, 4.0, 16.0 ], + "uv": [ 176, 65 ] + } + ] + }, + { + "name": "neck", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 19.0, -5.0 ], + "size": [ 10.0, 10.0, 10.0 ], + "uv": [ 192, 104 ] + }, + { + "origin": [ -1.0, 29.0, -3.0 ], + "size": [ 2.0, 4.0, 6.0 ], + "uv": [ 48, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 20.0, 8.0 ], + "cubes": [ + { + "origin": [ -12.0, -4.0, -8.0 ], + "size": [ 24.0, 24.0, 64.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -1.0, 20.0, -2.0 ], + "size": [ 2.0, 6.0, 12.0 ], + "uv": [ 220, 53 ] + }, + { + "origin": [ -1.0, 20.0, 18.0 ], + "size": [ 2.0, 6.0, 12.0 ], + "uv": [ 220, 53 ] + }, + { + "origin": [ -1.0, 20.0, 38.0 ], + "size": [ 2.0, 6.0, 12.0 ], + "uv": [ 220, 53 ] + } + ] + }, + { + "name": "wing", + "pivot": [ -12.0, 19.0, 2.0 ], + "cubes": [ + { + "origin": [ -68.0, 15.0, -2.0 ], + "size": [ 56.0, 8.0, 8.0 ], + "uv": [ 112, 88 ] + }, + { + "origin": [ -68.0, 19.0, 4.0 ], + "size": [ 56.0, 0.0, 56.0 ], + "uv": [ -56, 88 ] + } + ] + }, + { + "name": "wingtip", + "pivot": [ -56.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -112.0, 22.0, -2.0 ], + "size": [ 56.0, 4.0, 4.0 ], + "uv": [ 112, 136 ] + }, + { + "origin": [ -112.0, 24.0, 2.0 ], + "size": [ 56.0, 0.0, 56.0 ], + "uv": [ -56, 144 ] + } + ] + }, + { + "name": "wing1", + "pivot": [ 12.0, 19.0, 2.0 ], + "cubes": [ + { + "origin": [ -44.0, 15.0, -2.0 ], + "size": [ 56.0, 8.0, 8.0 ], + "uv": [ 112, 88 ] + }, + { + "origin": [ -44.0, 19.0, 4.0 ], + "size": [ 56.0, 0.0, 56.0 ], + "uv": [ -56, 88 ] + } + ] + }, + { + "name": "wingtip1", + "pivot": [ -56.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -112.0, 22.0, -2.0 ], + "size": [ 56.0, 4.0, 4.0 ], + "uv": [ 112, 136 ] + }, + { + "origin": [ -112.0, 24.0, 2.0 ], + "size": [ 56.0, 0.0, 56.0 ], + "uv": [ -56, 144 ] + } + ] + }, + { + "name": "rearleg", + "pivot": [ -16.0, 8.0, 42.0 ], + "cubes": [ + { + "origin": [ -24.0, -20.0, 34.0 ], + "size": [ 16.0, 32.0, 16.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "rearleg1", + "pivot": [ 16.0, 8.0, 42.0 ], + "cubes": [ + { + "origin": [ 8.0, -20.0, 34.0 ], + "size": [ 16.0, 32.0, 16.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "frontleg", + "pivot": [ -12.0, 4.0, 2.0 ], + "cubes": [ + { + "origin": [ -16.0, -16.0, -2.0 ], + "size": [ 8.0, 24.0, 8.0 ], + "uv": [ 112, 104 ] + } + ] + }, + { + "name": "frontleg1", + "pivot": [ 12.0, 4.0, 2.0 ], + "cubes": [ + { + "origin": [ 8.0, -16.0, -2.0 ], + "size": [ 8.0, 24.0, 8.0 ], + "uv": [ 112, 104 ] + } + ] + }, + { + "name": "rearlegtip", + "pivot": [ 0.0, -8.0, -4.0 ], + "cubes": [ + { + "origin": [ -6.0, -38.0, -4.0 ], + "size": [ 12.0, 32.0, 12.0 ], + "uv": [ 196, 0 ] + } + ] + }, + { + "name": "rearlegtip1", + "pivot": [ 0.0, -8.0, -4.0 ], + "cubes": [ + { + "origin": [ -6.0, -38.0, -4.0 ], + "size": [ 12.0, 32.0, 12.0 ], + "uv": [ 196, 0 ] + } + ] + }, + { + "name": "frontlegtip", + "pivot": [ 0.0, 4.0, -1.0 ], + "cubes": [ + { + "origin": [ -3.0, -19.0, -4.0 ], + "size": [ 6.0, 24.0, 6.0 ], + "uv": [ 226, 138 ] + } + ] + }, + { + "name": "frontlegtip1", + "pivot": [ 0.0, 4.0, -1.0 ], + "cubes": [ + { + "origin": [ -3.0, -19.0, -4.0 ], + "size": [ 6.0, 24.0, 6.0 ], + "uv": [ 226, 138 ] + } + ] + }, + { + "name": "rearfoot", + "pivot": [ 0.0, -7.0, 4.0 ], + "cubes": [ + { + "origin": [ -9.0, -13.0, -16.0 ], + "size": [ 18.0, 6.0, 24.0 ], + "uv": [ 112, 0 ] + } + ] + }, + { + "name": "rearfoot1", + "pivot": [ 0.0, -7.0, 4.0 ], + "cubes": [ + { + "origin": [ -9.0, -13.0, -16.0 ], + "size": [ 18.0, 6.0, 24.0 ], + "uv": [ 112, 0 ] + } + ] + }, + { + "name": "frontfoot", + "pivot": [ 0.0, 1.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -3.0, -12.0 ], + "size": [ 8.0, 4.0, 16.0 ], + "uv": [ 144, 104 ] + } + ] + }, + { + "name": "frontfoot1", + "pivot": [ 0.0, 1.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -3.0, -12.0 ], + "size": [ 8.0, 4.0, 16.0 ], + "uv": [ 144, 104 ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/enderman.geo.json b/resource_pack/models/entity/enderman.geo.json new file mode 100644 index 0000000..4a8e310 --- /dev/null +++ b/resource_pack/models/entity/enderman.geo.json @@ -0,0 +1,111 @@ +{ + "format_version": "1.8.0", + "geometry.enderman.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "hat", + "parent": "head", + "reset": true, + "pivot": [ 0.0, 38.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 37.5, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 16 ], + "inflate": -0.5 + } + ], + "neverRender": false + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "body", + "reset": true, + "pivot": [ 0.0, 38.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 26.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 32, 16 ] + } + ] + }, + { + "name": "rightArm", + "parent": "body", + "reset": true, + "pivot": [ -3.0, 36.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "parent": "body", + "reset": true, + "mirror": true, + "pivot": [ 5.0, 36.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 8.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + }, + { + "name": "rightLeg", + "parent": "body", + "reset": true, + "pivot": [ -2.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, -4.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "reset": true, + "mirror": true, + "pivot": [ 2.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, -4.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/enderman_v1.0.geo.json b/resource_pack/models/entity/enderman_v1.0.geo.json new file mode 100644 index 0000000..3309b6f --- /dev/null +++ b/resource_pack/models/entity/enderman_v1.0.geo.json @@ -0,0 +1,100 @@ +{ + "format_version": "1.8.0", + "geometry.enderman:geometry.humanoid": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + + "bones": [ + { + "name": "hat", + "reset": true, + "parent": "head", + "pivot": [ 0.0, 38.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 38.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 16 ], + "inflate": -0.5 + } + ], + "neverRender": false + }, + + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ] + }, + + { + "name": "body", + "reset": true, + "pivot": [ 0.0, 38.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 26.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 32, 16 ] + } + ] + }, + + { + "name": "rightArm", + "reset": true, + "pivot": [ -3.0, 36.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + }, + + { + "name": "leftArm", + "reset": true, + "mirror": true, + "pivot": [ 5.0, 36.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 8.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + }, + + { + "name": "rightLeg", + "reset": true, + "pivot": [ -2.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, -4.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + }, + + { + "name": "leftLeg", + "reset": true, + "mirror": true, + "pivot": [ 2.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, -4.0, -1.0 ], + "size": [ 2, 30, 2 ], + "uv": [ 56, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/endermite.geo.json b/resource_pack/models/entity/endermite.geo.json new file mode 100644 index 0000000..ebf9143 --- /dev/null +++ b/resource_pack/models/entity/endermite.geo.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.8.0", + "geometry.endermite": { + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "section_0", + "parent": "section_2", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2, 0, -4.4 ], + "size": [ 4, 3, 2 ], + "uv": [ 0.0, 0.0 ] + } + ] + }, + { + "name": "section_1", + "parent": "section_2", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -3, 0, -2.4 ], + "size": [ 6, 4, 5 ], + "uv": [ 0.0, 5.0 ] + } + ] + }, + { + "name": "section_2", + "pivot": [ 0.0, 0.0, 2.5 ], + "cubes": [ + { + "origin": [ -1.5, 0, 2.5 ], + "size": [ 3, 3, 1 ], + "uv": [ 0.0, 14.0 ] + } + ] + }, + { + "name": "section_3", + "parent": "section_2", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, 0, 3.5 ], + "size": [ 1, 2.0, 1 ], + "uv": [ 0.0, 18.0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/evocation_fang.json b/resource_pack/models/entity/evocation_fang.json new file mode 100644 index 0000000..fc34438 --- /dev/null +++ b/resource_pack/models/entity/evocation_fang.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.8.0", + "geometry.evocation_fang": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "upper_jaw", + "parent": "base", + "pivot": [ 0.0, 11.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.5, 0.0, -4.0 ], + "size": [ 4.0, 14.0, 8.0 ], + "uv": [ 40, 0 ], + "inflate": 0.01 + } + ] + }, + { + "name": "lower_jaw", + "parent": "base", + "pivot": [ 0.0, 11.0, 0.0 ], + "bind_pose_rotation": [ 0.0, 180.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.5, 0.0, -4.0 ], + "size": [ 4.0, 14.0, 8.0 ], + "uv": [ 40, 0 ] + } + ] + }, + { + "name": "base", + "pivot": [ 0.0, 0.0, 0.0 ], + "bind_pose_rotation": [0.0, 90.0, 0.0], + "cubes": [ + { + "origin": [ -5.0, 0.0, -5.0 ], + "size": [ 10.0, 12.0, 10.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/evoker.geo.json b/resource_pack/models/entity/evoker.geo.json new file mode 100644 index 0000000..d3b8cf2 --- /dev/null +++ b/resource_pack/models/entity/evoker.geo.json @@ -0,0 +1,137 @@ +{ + "format_version": "1.8.0", + "geometry.evoker.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 10.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "nose", + "parent": "head", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2.0, 4.0, 2.0 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8.0, 12.0, 6.0 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "arms", + "parent": "body", + "pivot": [ 0.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 16.0, -2.0 ], + "size": [ 4.0, 8.0, 4.0 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ 4.0, 16.0, -2.0 ], + "size": [ 4.0, 8.0, 4.0 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ -4.0, 16.0, -2.0 ], + "size": [ 8.0, 4.0, 4.0 ], + "uv": [ 40, 38 ] + } + ] + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "locators": { + "right_hand": [ -6.0, 12.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -5.5, 16, 0.5 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "locators": { + "left_hand": [ 6.0, 12.0, 0.0 ] + }, + "mirror": true, + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/evoker_v1.0.geo.json b/resource_pack/models/entity/evoker_v1.0.geo.json new file mode 100644 index 0000000..a3a99a2 --- /dev/null +++ b/resource_pack/models/entity/evoker_v1.0.geo.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.8.0", + "geometry.evoker:geometry.villager": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "nose", + "parent": "head" + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8.0, 12.0, 6.0 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "rightarm", + "pivot": [ -5.0, 22.0, 0.0 ], + "locators": { + "right_hand": [ -6.0, 12.0, 0.0 ] + }, + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "leftarm", + "pivot": [ 5.0, 22.0, 0.0 ], + "locators": { + "left_hand": [ 6.0, 12.0, 0.0 ] + }, + "rotation": [ 0.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/experience_orb.geo.json b/resource_pack/models/entity/experience_orb.geo.json new file mode 100644 index 0000000..217f465 --- /dev/null +++ b/resource_pack/models/entity/experience_orb.geo.json @@ -0,0 +1,27 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.experience_orb", + "texture_width": 64, + "texture_height": 64 + }, + "bones": [ + { + "name": "body", + "pivot": [ 8.0, 8.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 0.0 ], + "size": [ 16.0, 16.0, 0.0 ], + "uv": { + "south": { "uv": [ 0, 0 ] } + } + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/fireball.geo.json b/resource_pack/models/entity/fireball.geo.json new file mode 100644 index 0000000..9b7ae34 --- /dev/null +++ b/resource_pack/models/entity/fireball.geo.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.fireball", + "texture_width": 16.0, + "texture_height": 16.0 + }, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, -4.0, 0.0 ], + "size": [ 16.0, 16.0, 0.0 ], + "uv": { + "south": { + "uv": [ 0.0, 0.0 ] + } + } + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/fireworks_rocket.geo.json b/resource_pack/models/entity/fireworks_rocket.geo.json new file mode 100644 index 0000000..2475acf --- /dev/null +++ b/resource_pack/models/entity/fireworks_rocket.geo.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.fireworks_rocket", + "texture_width": 32.0, + "texture_height": 32.0 + }, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, -8.0, 0.0 ], + "rotation": [ 0.0, 90.0, 0.0 ], + "size": [ 16.0, 16.0, 0.0 ], + "uv": { + "north": { + "uv": [ 0.0, 0.0 ] + } + } + }, + { + "origin": [ -8.0, -8.0, 0.0 ], + "rotation": [ 90.0, 90.0, 0.0 ], + "size": [ 16.0, 16.0, 0.0 ], + "uv": { + "north": { + "uv": [ 0.0, 0.0 ] + } + } + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/fishing_hook.geo.json b/resource_pack/models/entity/fishing_hook.geo.json new file mode 100644 index 0000000..a87de57 --- /dev/null +++ b/resource_pack/models/entity/fishing_hook.geo.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.fishing_hook", + "texture_width": 24, + "texture_height": 3 + }, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.5, -1.5, -1.5 ], + "size": [ 3.0, 3.0, 3.0 ], + "rotation": [ 0.0, 0.0, 180.0 ], + "uv": { + "up": { "uv": [ 0, 0 ] }, + "down": { "uv": [ 3, 0 ] }, + "south": { + "uv": [ 9, 0 ], + "uv_size": [ -3, 3 ] + }, + "north": { "uv": [ 9, 0 ] }, + "east": { "uv": [ 12, 0 ] }, + "west": { "uv": [ 15, 0 ] } + } + }, + { + "origin": [ 0.0, -4.5, -0.5 ], + "size": [ 0.0, 3.0, 3.0 ], + "uv": { + "east": { "uv": [ 18, 0 ] } + } + }, + { + "origin": [ 0.0, 1.5, -1.5 ], + "size": [ 0.0, 3.0, 3.0 ], + "uv": { + "east": { "uv": [ 21, 0 ] } + } + }, + { + "origin": [ -1.5, 1.5, 0.0 ], + "size": [ 3.0, 3.0, 0.0 ], + "uv": { + "north": { "uv": [ 21, 0 ] } + } + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/fox.geo.json b/resource_pack/models/entity/fox.geo.json new file mode 100644 index 0000000..93041f3 --- /dev/null +++ b/resource_pack/models/entity/fox.geo.json @@ -0,0 +1,160 @@ +{ + "format_version": "1.8.0", + "geometry.fox": { + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "world", + "pivot": [ 0, 0, 0 ], + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [] + }, + { + "name": "root", + "parent": "world", + "pivot": [ 0, 0, 0 ], + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0, 8, -3 ], + "locators": { + "held_item": [ -2.0, 5.0, -10.0 ], + "lead": [ 0.0, 4.0, -4.0 ] + }, + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -4, 4, -9 ], + "size": [ 8, 6, 6 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -4, 10, -8 ], + "size": [ 2, 2, 1 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 2, 10, -8 ], + "size": [ 2, 2, 1 ], + "uv": [ 22, 0 ] + }, + { + "origin": [ -2, 4, -12 ], + "size": [ 4, 2, 3 ], + "uv": [ 0, 24 ] + } + ] + }, + { + "name": "head_sleeping", + "parent": "head", + "pivot": [ 0, 8, -3 ], + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -4, 4, -9 ], + "size": [ 8, 6, 6 ], + "uv": [ 0, 12 ] + }, + { + "origin": [ -4, 10, -8 ], + "size": [ 2, 2, 1 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 2, 10, -8 ], + "size": [ 2, 2, 1 ], + "uv": [ 22, 0 ] + }, + { + "origin": [ -2, 4, -12 ], + "size": [ 4, 2, 3 ], + "uv": [ 0, 24 ] + } + ] + }, + { + "name": "body", + "parent": "root", + "pivot": [ 0, 8, 0 ], + "bind_pose_rotation": [ 90, 0, 0 ], + "cubes": [ + { + "origin": [ -3, 0, -3 ], + "size": [ 6, 11, 6 ], + "uv": [ 30, 15 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -3, 6, 6 ], + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -3.005, 0, 5 ], + "size": [ 2, 6, 2 ], + "uv": [ 14, 24 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 1, 6, 6 ], + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ 1.005, 0, 5 ], + "size": [ 2, 6, 2 ], + "uv": [ 22, 24 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -3, 6, -1 ], + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -3.005, 0, -2 ], + "size": [ 2, 6, 2 ], + "uv": [ 14, 24 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 1, 6, -1 ], + "bind_pose_rotation": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ 1.005, 0, -2 ], + "size": [ 2, 6, 2 ], + "uv": [ 22, 24 ] + } + ] + }, + { + "name": "tail", + "parent": "body", + "pivot": [ 0, 8, 7 ], + "bind_pose_rotation": [ 80, 0, 0 ], + "cubes": [ + { + "origin": [ -2, -2, 4.75 ], + "size": [ 4, 9, 5 ], + "uv": [ 28, 0 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/frog.geo.json b/resource_pack/models/entity/frog.geo.json new file mode 100644 index 0000000..9cbe14b --- /dev/null +++ b/resource_pack/models/entity/frog.geo.json @@ -0,0 +1,115 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.frog", + "texture_width": 48, + "texture_height": 48, + "visible_bounds_width": 1, + "visible_bounds_height": 0.8, + "visible_bounds_offset": [0, 0.25, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 0, 0] + }, + { + "name": "body", + "parent": "root", + "pivot": [0, 2, 4], + "cubes": [ + {"origin": [-3.5, 1, -4], "size": [7, 3, 9], "uv": [3, 1]}, + {"origin": [-3.5, 3, -4], "size": [7, 0, 9], "uv": [23, 22]} + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 4, 3], + "cubes": [ + {"origin": [-3.5, 5, -4], "size": [7, 0, 9], "uv": [23, 13]}, + {"origin": [-3.5, 3, -4], "size": [7, 3, 9], "uv": [0, 13]} + ], + "locators": { + "lead": [0, 6, 0] + } + }, + { + "name": "eyes", + "parent": "head", + "pivot": [-0.5, 4, 5] + }, + { + "name": "right_eye", + "parent": "eyes", + "pivot": [-2, 7, -1.5], + "cubes": [ + {"origin": [-3.5, 6, -3], "size": [3, 2, 3], "uv": [0, 0]} + ] + }, + { + "name": "left_eye", + "parent": "eyes", + "pivot": [2, 7, -1.5], + "cubes": [ + {"origin": [0.5, 6, -3], "size": [3, 2, 3], "uv": [0, 5]} + ] + }, + { + "name": "croaking_body", + "parent": "body", + "pivot": [0, 3, -1], + "cubes": [ + {"origin": [-3.5, 1.1, -3.9], "size": [7, 2, 3], "inflate": -0.1, "uv": [26, 5]} + ] + }, + { + "name": "tongue", + "parent": "body", + "pivot": [0, 3.1, 5], + "cubes": [ + {"origin": [-2, 3.1, -2.1], "size": [4, 0, 7], "uv": [17, 13]} + ] + }, + { + "name": "left_arm", + "parent": "body", + "pivot": [4, 3, -2.5], + "cubes": [ + {"origin": [3, 0, -3.5], "size": [2, 3, 3], "uv": [0, 32]}, + {"origin": [0, -0.01, -7.5], "size": [8, 0, 8], "pivot": [4, 0, -3.5], "rotation": [0, 0, 0], "uv": [18, 40]} + ] + }, + { + "name": "right_arm", + "parent": "body", + "pivot": [-4, 3, -2.5], + "cubes": [ + {"origin": [-5, 0, -3.5], "size": [2, 3, 3], "uv": [0, 38]}, + {"origin": [-8, -0.01, -7.5], "size": [8, 0, 8], "uv": [2, 40]} + ] + }, + { + "name": "left_leg", + "parent": "root", + "pivot": [3.5, 3, 4], + "cubes": [ + {"origin": [2.5, 0, 2], "size": [3, 3, 4], "uv": [14, 25]}, + {"origin": [1.5, -0.01, 0], "size": [8, 0, 8], "pivot": [5.5, 0, 4], "rotation": [0, 0, 0], "uv": [2, 32]} + ] + }, + { + "name": "right_leg", + "parent": "root", + "pivot": [-3.5, 3, 4], + "cubes": [ + {"origin": [-5.5, 0, 2], "size": [3, 3, 4], "uv": [0, 25]}, + {"origin": [-9.5, -0.01, 0], "size": [8, 0, 8], "pivot": [-5.5, 0, 4], "rotation": [0, 0, 0], "uv": [18, 32]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/ghast.geo.json b/resource_pack/models/entity/ghast.geo.json new file mode 100644 index 0000000..d050172 --- /dev/null +++ b/resource_pack/models/entity/ghast.geo.json @@ -0,0 +1,131 @@ +{ + "format_version": "1.8.0", + "geometry.ghast": { + "visible_bounds_width": 6, + "visible_bounds_height": 9, + "visible_bounds_offset": [ 0, 4.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "tentacles_0", + "parent": "body", + "pivot": [ -3.8, 1.0, -5.0 ], + "cubes": [ + { + "origin": [ -4.8, -8.0, -6.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_1", + "parent": "body", + "pivot": [ 1.3, 1.0, -5.0 ], + "cubes": [ + { + "origin": [ 0.3, -10.0, -6.0 ], + "size": [ 2.0, 11.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_2", + "parent": "body", + "pivot": [ 6.3, 1.0, -5.0 ], + "cubes": [ + { + "origin": [ 5.3, -7.0, -6.0 ], + "size": [ 2.0, 8.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_3", + "parent": "body", + "pivot": [ -6.3, 1.0, 0.0 ], + "cubes": [ + { + "origin": [ -7.3, -8.0, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_4", + "parent": "body", + "pivot": [ -1.3, 1.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.3, -12.0, -1.0 ], + "size": [ 2.0, 13.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_5", + "parent": "body", + "pivot": [ 3.8, 1.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.8, -10.0, -1.0 ], + "size": [ 2.0, 11.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_6", + "parent": "body", + "pivot": [ -3.8, 1.0, 5.0 ], + "cubes": [ + { + "origin": [ -4.8, -11.0, 4.0 ], + "size": [ 2.0, 12.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_7", + "parent": "body", + "pivot": [ 1.3, 1.0, 5.0 ], + "cubes": [ + { + "origin": [ 0.3, -11.0, 4.0 ], + "size": [ 2.0, 12.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "tentacles_8", + "parent": "body", + "pivot": [ 6.3, 1.0, 5.0 ], + "cubes": [ + { + "origin": [ 5.3, -12.0, 4.0 ], + "size": [ 2.0, 13.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 1.5, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 0.0, -8.0 ], + "size": [ 16.0, 16.0, 16.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/glow_squid.geo.json b/resource_pack/models/entity/glow_squid.geo.json new file mode 100644 index 0000000..ea00416 --- /dev/null +++ b/resource_pack/models/entity/glow_squid.geo.json @@ -0,0 +1,138 @@ +{ + "format_version": "1.8.0", + "geometry.glow_squid": { + "visible_bounds_width": 3, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -6, -8, -6 ], + "size": [ 12, 16, 12 ], + "uv": [ 0, 0 ] + } + ], + "locators": { + "lead": [ 0, 0, -5 ] + } + }, + + { + "name": "tentacle1", + "parent": "body", + "pivot": [ 5.0, -7.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, -25.0, -1.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, 90, 0 ] + }, + + { + "name": "tentacle2", + "parent": "body", + "pivot": [ 3.5, -7.0, 3.5 ], + "cubes": [ + { + "origin": [ 2.5, -25.0, 2.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, 45, 0 ] + }, + + { + "name": "tentacle3", + "parent": "body", + "pivot": [ 0.0, -7.0, 5.0 ], + "cubes": [ + { + "origin": [ -1.0, -25.0, 4.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, 0, 0 ] + }, + + { + "name": "tentacle4", + "parent": "body", + "pivot": [ -3.5, -7.0, 3.5 ], + "cubes": [ + { + "origin": [ -4.5, -25.0, 2.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -45, 0 ] + }, + + { + "name": "tentacle5", + "parent": "body", + "pivot": [ -5.0, -7.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, -25.0, -1.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -90, 0 ] + }, + + { + "name": "tentacle6", + "parent": "body", + "pivot": [ -3.5, -7.0, -3.5 ], + "cubes": [ + { + "origin": [ -4.5, -25.0, -4.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -135, 0 ] + }, + + { + "name": "tentacle7", + "parent": "body", + "pivot": [ 0.0, -7.0, -5.0 ], + "cubes": [ + { + "origin": [ -1.0, -25.0, -6.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -180, 0 ] + }, + + { + "name": "tentacle8", + "parent": "body", + "pivot": [ 3.5, -7.0, -3.5 ], + "cubes": [ + { + "origin": [ 2.5, -25.0, -4.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -225, 0 ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/goat.geo.json b/resource_pack/models/entity/goat.geo.json new file mode 100644 index 0000000..27a7b0d --- /dev/null +++ b/resource_pack/models/entity/goat.geo.json @@ -0,0 +1,133 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.goat", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2, + "visible_bounds_height": 1.8, + "visible_bounds_offset": [ 0, 0.5, 0 ] + }, + "bones": [ + { + "name": "left_back_leg", + "pivot": [ 1, 10, 4 ], + "cubes": [ + { + "origin": [ 1, 0, 4 ], + "size": [ 3, 6, 3 ], + "uv": [ 36, 29 ] + } + ] + }, + { + "name": "right_back_leg", + "pivot": [ -3, 10, 4 ], + "cubes": [ + { + "origin": [ -3, 0, 4 ], + "size": [ 3, 6, 3 ], + "uv": [ 49, 29 ] + } + ] + }, + { + "name": "right_front_leg", + "pivot": [ -3, 10, -6 ], + "cubes": [ + { + "origin": [ -3, 0, -6 ], + "size": [ 3, 10, 3 ], + "uv": [ 49, 2 ] + } + ] + }, + { + "name": "left_front_leg", + "pivot": [ 1, 10, -6 ], + "cubes": [ + { + "origin": [ 1, 0, -6 ], + "size": [ 3, 10, 3 ], + "uv": [ 35, 2 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -4, 6, -7 ], + "size": [ 9, 11, 16 ], + "uv": [ 1, 1 ] + }, + { + "origin": [ -5, 4, -8 ], + "size": [ 11, 14, 11 ], + "uv": [ 0, 28 ] + } + ], + "locators": { + "lead": [ 0, 20, -5 ] + } + }, + { + "name": "head", + "pivot": [ 0.5, 17, -8 ], + "cubes": [ + { + "origin": [ -2, 15, -16 ], + "size": [ 5, 7, 10 ], + "pivot": [ 1, 18, -8 ], + "rotation": [ 55, 0, 0 ], + "uv": [ 34, 46 ] + }, + { + "origin": [ 3, 19, -10 ], + "size": [ 3, 2, 1 ], + "uv": [ 2, 61 ], + "mirror": true + }, + { + "origin": [ -5, 19, -10 ], + "size": [ 3, 2, 1 ], + "uv": [ 2, 61 ] + }, + { + "origin": [ 0.5, 6, -14 ], + "size": [ 0, 7, 5 ], + "uv": [ 23, 52 ] + } + ] + }, + { + "name": "right_horn", + "parent": "head", + "pivot": [ 1, 18, -8 ], + "cubes": [ + { + "origin": [ -1.99, 19, -10 ], + "size": [ 2, 7, 2 ], + "uv": [ 12, 55 ] + } + ] + }, + { + "name": "left_horn", + "parent": "head", + "pivot": [ 1, 18, -8 ], + "cubes": [ + { + "origin": [ 0.99, 19, -10 ], + "size": [ 2, 7, 2 ], + "uv": [ 12, 55 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/guardian.geo.json b/resource_pack/models/entity/guardian.geo.json new file mode 100644 index 0000000..7e655c5 --- /dev/null +++ b/resource_pack/models/entity/guardian.geo.json @@ -0,0 +1,243 @@ +{ + "format_version": "1.8.0", + "geometry.guardian.v1.8": { + "visible_bounds_width": 3.5, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "mirror": false, + "origin": [ -6.0, 2.0, -8.0 ], + "size": [ 12.0, 12.0, 16.0 ], + "uv": [ 0, 0 ] + }, + { + "mirror": false, + "origin": [ -8.0, 2.0, -6.0 ], + "size": [ 2.0, 12.0, 12.0 ], + "uv": [ 0, 28 ] + }, + { + "origin": [ 6.0, 2.0, -6.0 ], + "size": [ 2.0, 12.0, 12.0 ], + "uv": [ 0, 28 ] + }, + { + "origin": [ -6.0, 14.0, -6.0 ], + "size": [ 12.0, 2.0, 12.0 ], + "uv": [ 16, 40 ] + }, + { + "origin": [ -6.0, 0.0, -6.0 ], + "size": [ 12.0, 2.0, 12.0 ], + "uv": [ 16, 40 ] + } + ] + }, + { + "name": "eye", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 6.0, 0.0 ], + "size": [ 2.0, 2.0, 1.0 ], + "uv": [ 8, 0 ] + } + ] + }, + { + "name": "tailpart0", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.0, 6.0, 7.0 ], + "size": [ 4.0, 4.0, 8.0 ], + "uv": [ 40, 0 ] + } + ] + }, + { + "name": "tailpart1", + "parent": "tailpart0", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 7.0, 0.0 ], + "size": [ 3.0, 3.0, 7.0 ], + "uv": [ 0, 54 ] + } + ] + }, + { + "name": "tailpart2", + "parent": "tailpart1", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 8.0, 0.0 ], + "size": [ 2.0, 2.0, 6.0 ], + "uv": [ 41, 32 ] + }, + { + "origin": [ 1.0, 4.5, 3.0 ], + "size": [ 1.0, 9.0, 9.0 ], + "uv": [ 25, 19 ] + } + ] + }, + { + "name": "spikepart0", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart1", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart2", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart3", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart4", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart5", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart6", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart7", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart8", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart9", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart10", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart11", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/guardian.v1.0.geo.json b/resource_pack/models/entity/guardian.v1.0.geo.json new file mode 100644 index 0000000..c074e03 --- /dev/null +++ b/resource_pack/models/entity/guardian.v1.0.geo.json @@ -0,0 +1,243 @@ +{ + "format_version": "1.8.0", + "geometry.guardian": { + "visible_bounds_width": 3.5, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "mirror": false, + "origin": [ -6.0, 2.0, -8.0 ], + "size": [ 12.0, 12.0, 16.0 ], + "uv": [ 0, 0 ] + }, + { + "mirror": false, + "origin": [ -8.0, 2.0, -6.0 ], + "size": [ 2.0, 12.0, 12.0 ], + "uv": [ 0, 28 ] + }, + { + "origin": [ 6.0, 2.0, -6.0 ], + "size": [ 2.0, 12.0, 12.0 ], + "uv": [ 0, 28 ] + }, + { + "origin": [ -6.0, 14.0, -6.0 ], + "size": [ 12.0, 2.0, 12.0 ], + "uv": [ 16, 40 ] + }, + { + "origin": [ -6.0, 0.0, -6.0 ], + "size": [ 12.0, 2.0, 12.0 ], + "uv": [ 16, 40 ] + } + ] + }, + { + "name": "eye", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 7.0, 0.0 ], + "size": [ 2.0, 2.0, 1.0 ], + "uv": [ 8, 0 ] + } + ] + }, + { + "name": "tailpart0", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.0, 6.0, 7.0 ], + "size": [ 4.0, 4.0, 8.0 ], + "uv": [ 40, 0 ] + } + ] + }, + { + "name": "tailpart1", + "parent": "tailpart0", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 7.0, 0.0 ], + "size": [ 3.0, 3.0, 7.0 ], + "uv": [ 0, 54 ] + } + ] + }, + { + "name": "tailpart2", + "parent": "tailpart1", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 8.0, 0.0 ], + "size": [ 2.0, 2.0, 6.0 ], + "uv": [ 41, 32 ] + }, + { + "origin": [ 1.0, 4.5, 3.0 ], + "size": [ 1.0, 9.0, 9.0 ], + "uv": [ 25, 19 ] + } + ] + }, + { + "name": "spikepart0", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart1", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart2", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart3", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart4", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart5", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart6", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart7", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart8", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart9", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart10", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "spikepart11", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 19.5, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/hoglin.geo.json b/resource_pack/models/entity/hoglin.geo.json new file mode 100644 index 0000000..714a71c --- /dev/null +++ b/resource_pack/models/entity/hoglin.geo.json @@ -0,0 +1,95 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.hoglin", + "texture_width": 128, + "texture_height": 64, + "visible_bounds_width": 4, + "visible_bounds_height": 3, + "visible_bounds_offset": [0, 1.5, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [ 0, 19, -3 ], + "cubes": [ + { + "origin": [ -8, 11, -7 ], + "size": [ 16, 14, 26 ], + "inflate": 0.02, + "uv": [ 1, 1 ] + }, + { + "origin": [ 0, 22, -10 ], + "size": [ 0, 10, 19 ], + "inflate": 0.02, + "uv": [ 90, 33 ] + } + ], + "locators": { + "lead": [ 0, 20, -5 ] + } + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 22, -5], + "rotation": [50, 0, 0], + "cubes": [ + {"origin": [-7, 21, -24], "size": [14, 6, 19], "uv": [61, 1]}, + {"origin": [-8, 22, -19], "size": [2, 11, 2], "uv": [1, 13]}, + {"origin": [6, 22, -19], "size": [2, 11, 2], "uv": [1, 13]} + ] + }, + { + "name": "right_ear", + "parent": "head", + "pivot": [-7, 27, -7], + "rotation": [0, 0, -50], + "cubes": [ + {"origin": [-13, 26, -10], "size": [6, 1, 4], "uv": [1, 1]} + ] + }, + { + "name": "left_ear", + "parent": "head", + "pivot": [7, 27, -7], + "rotation": [0, 0, 50], + "cubes": [ + {"origin": [7, 26, -10], "size": [6, 1, 4], "uv": [1, 6]} + ] + }, + { + "name": "leg_back_right", + "pivot": [6, 8, 17], + "cubes": [ + {"origin": [-8, 0, 13], "size": [5, 11, 5], "uv": [21, 45]} + ] + }, + { + "name": "leg_back_left", + "pivot": [-6, 8, 17], + "cubes": [ + {"origin": [3, 0, 13], "size": [5, 11, 5], "uv": [0, 45]} + ] + }, + { + "name": "leg_front_right", + "pivot": [-6, 12, -3], + "cubes": [ + {"origin": [-8, 0, -6], "size": [6, 14, 6], "uv": [66, 42]} + ] + }, + { + "name": "leg_front_left", + "pivot": [6, 12, -3], + "cubes": [ + {"origin": [2, 0, -6], "size": [6, 14, 6], "uv": [41, 42]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/horse_v1.geo.json b/resource_pack/models/entity/horse_v1.geo.json new file mode 100644 index 0000000..1ee7d26 --- /dev/null +++ b/resource_pack/models/entity/horse_v1.geo.json @@ -0,0 +1,486 @@ +{ + "format_version": "1.8.0", + "geometry.horse": { + "visible_bounds_width": 2, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 128, + "textureheight": 128, + "bones": [ + { + "name": "Body", + "pivot": [ 0.00, 13.00, 9.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.00, 11.00, -10.00 ], + "size": [ 10.00, 10.00, 24.00 ], + "uv": [ 0, 34 ] + } + ] + }, + { + "name": "TailA", + "pivot": [ 0.00, 21.00, 14.00 ], + "rotation": [ -65.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -1.00, 20.00, 14.00 ], + "size": [ 2.00, 2.00, 3.00 ], + "uv": [ 44, 0 ] + } + ] + }, + { + "name": "TailB", + "pivot": [ 0.00, 21.00, 14.00 ], + "rotation": [ -65.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -1.50, 19.00, 17.00 ], + "size": [ 3.00, 4.00, 7.00 ], + "uv": [ 38, 7 ] + } + ] + }, + { + "name": "TailC", + "pivot": [ 0.00, 21.00, 14.00 ], + "rotation": [ -80.34, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -1.50, 21.50, 23.00 ], + "size": [ 3.00, 4.00, 7.00 ], + "uv": [ 24, 3 ] + } + ] + }, + { + "name": "Leg1A", + "pivot": [ 4.00, 15.00, 11.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 1.50, 8.00, 8.50 ], + "size": [ 4.00, 9.00, 5.00 ], + "uv": [ 78, 29 ] + } + ] + }, + { + "name": "Leg1B", + "pivot": [ 4.00, 8.00, 11.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 2.00, 3.00, 9.50 ], + "size": [ 3.00, 5.00, 3.00 ], + "uv": [ 78, 43 ] + } + ] + }, + { + "name": "Leg1C", + "pivot": [ 4.00, 8.00, 11.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 1.50, -0.10, 9.00 ], + "size": [ 4.00, 3.00, 4.00 ], + "uv": [ 78, 51 ] + } + ] + }, + { + "name": "Leg2A", + "pivot": [ -4.00, 15.00, 11.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.50, 8.00, 8.50 ], + "size": [ 4.00, 9.00, 5.00 ], + "uv": [ 96, 29 ] + } + ] + }, + { + "name": "Leg2B", + "pivot": [ -4.00, 8.00, 11.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.00, 3.00, 9.50 ], + "size": [ 3.00, 5.00, 3.00 ], + "uv": [ 96, 43 ] + } + ] + }, + { + "name": "Leg2C", + "pivot": [ -4.00, 8.00, 11.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.50, -0.10, 9.00 ], + "size": [ 4.00, 3.00, 4.00 ], + "uv": [ 96, 51 ] + } + ] + }, + { + "name": "Leg3A", + "pivot": [ 4.00, 15.00, -8.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 2.10, 8.00, -10.10 ], + "size": [ 3.00, 8.00, 4.00 ], + "uv": [ 44, 29 ] + } + ] + }, + { + "name": "Leg3B", + "pivot": [ 4.00, 8.00, -8.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 2.10, 3.00, -9.60 ], + "size": [ 3.00, 5.00, 3.00 ], + "uv": [ 44, 41 ] + } + ] + }, + { + "name": "Leg3C", + "pivot": [ 4.00, 8.00, -8.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 1.60, -0.10, -10.10 ], + "size": [ 4.00, 3.00, 4.00 ], + "uv": [ 44, 51 ] + } + ] + }, + { + "name": "Leg4A", + "pivot": [ -4.00, 15.00, -8.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.10, 8.00, -10.10 ], + "size": [ 3.00, 8.00, 4.00 ], + "uv": [ 60, 29 ] + } + ] + }, + { + "name": "Leg4B", + "pivot": [ -4.00, 8.00, -8.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.10, 3.00, -9.60 ], + "size": [ 3.00, 5.00, 3.00 ], + "uv": [ 60, 41 ] + } + ] + }, + { + "name": "Leg4C", + "pivot": [ -4.00, 8.00, -8.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.60, -0.10, -10.10 ], + "size": [ 4.00, 3.00, 4.00 ], + "uv": [ 60, 51 ] + } + ] + }, + { + "name": "Head", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.50, 25.00, -11.50 ], + "size": [ 5.00, 5.00, 7.00 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "UMouth", + "parent": "head", + "pivot": [ 0.00, 20.05, -10.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.00, 27.05, -17.00 ], + "size": [ 4.00, 3.00, 6.00 ], + "uv": [ 24, 18 ] + } + ] + }, + { + "name": "LMouth", + "parent": "head", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.00, 25.00, -16.50 ], + "size": [ 4.00, 2.00, 5.00 ], + "uv": [ 24, 27 ] + } + ] + }, + { + "name": "Ear1", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 0.45, 29.00, -6.00 ], + "size": [ 2.00, 3.00, 1.00 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "Ear2", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.45, 29.00, -6.00 ], + "size": [ 2.00, 3.00, 1.00 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "MuleEarL", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 15.00 ], + "cubes": [ + { + "origin": [ -2.00, 29.00, -6.00 ], + "size": [ 2.00, 7.00, 1.00 ], + "uv": [ 0, 12 ] + } + ] + }, + { + "name": "MuleEarR", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, -15.00 ], + "cubes": [ + { + "origin": [ 0.00, 29.00, -6.00 ], + "size": [ 2.00, 7.00, 1.00 ], + "uv": [ 0, 12 ] + } + ] + }, + { + "name": "Neck", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.05, 15.80, -12.00 ], + "size": [ 4.00, 14.00, 8.00 ], + "uv": [ 0, 12 ] + } + ], + "locators": { + "lead": [ 0, 17, -8 ] + } + }, + { + "name": "Bag1", + "pivot": [ -7.50, 21.00, 10.00 ], + "rotation": [ 0.00, 90.00, 0.00 ], + "cubes": [ + { + "origin": [ -10.50, 13.00, 10.00 ], + "size": [ 8.00, 8.00, 3.00 ], + "uv": [ 0, 34 ] + } + ] + }, + { + "name": "Bag2", + "pivot": [ 4.50, 21.00, 10.00 ], + "rotation": [ 0.00, 90.00, 0.00 ], + "cubes": [ + { + "origin": [ 1.50, 13.00, 10.00 ], + "size": [ 8.00, 8.00, 3.00 ], + "uv": [ 0, 47 ] + } + ] + }, + { + "name": "Saddle", + "pivot": [ 0.00, 22.00, 2.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.00, 21.00, -1.00 ], + "size": [ 10.00, 1.00, 8.00 ], + "uv": [ 80, 0 ] + } + ] + }, + { + "name": "SaddleB", + "pivot": [ 0.00, 22.00, 2.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -1.50, 22.00, -1.00 ], + "size": [ 3.00, 1.00, 2.00 ], + "uv": [ 106, 9 ] + } + ] + }, + { + "name": "SaddleC", + "pivot": [ 0.00, 22.00, 2.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -4.00, 22.00, 5.00 ], + "size": [ 8.00, 1.00, 2.00 ], + "uv": [ 80, 9 ] + } + ] + }, + { + "name": "SaddleL2", + "pivot": [ 5.00, 21.00, 2.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 4.50, 13.00, 1.00 ], + "size": [ 1.00, 2.00, 2.00 ], + "uv": [ 74, 0 ] + } + ] + }, + { + "name": "SaddleL", + "pivot": [ 5.00, 21.00, 2.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 4.50, 15.00, 1.50 ], + "size": [ 1.00, 6.00, 1.00 ], + "uv": [ 70, 0 ] + } + ] + }, + { + "name": "SaddleR2", + "pivot": [ -5.00, 21.00, 2.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.50, 13.00, 1.00 ], + "size": [ 1.00, 2.00, 2.00 ], + "uv": [ 74, 4 ] + } + ] + }, + { + "name": "SaddleR", + "pivot": [ -5.00, 21.00, 2.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -5.50, 15.00, 1.50 ], + "size": [ 1.00, 6.00, 1.00 ], + "uv": [ 80, 0 ] + } + ] + }, + { + "name": "SaddleMouthL", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 1.50, 26.00, -14.00 ], + "size": [ 1.00, 2.00, 2.00 ], + "uv": [ 74, 13 ] + } + ] + }, + { + "name": "SaddleMouthR", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.50, 26.00, -14.00 ], + "size": [ 1.00, 2.00, 2.00 ], + "uv": [ 74, 13 ] + } + ] + }, + { + "name": "SaddleMouthLine", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ 2.60, 23.00, -16.00 ], + "size": [ 0.00, 3.00, 16.00 ], + "uv": [ 44, 10 ] + } + ] + }, + { + "name": "SaddleMouthLineR", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 0.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.60, 23.00, -16.00 ], + "size": [ 0.00, 3.00, 16.00 ], + "uv": [ 44, 5 ] + } + ] + }, + { + "name": "Mane", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -1.00, 15.50, -5.00 ], + "size": [ 2.00, 16.00, 4.00 ], + "uv": [ 58, 0 ] + } + ] + }, + { + "name": "HeadSaddle", + "pivot": [ 0.00, 20.00, -10.00 ], + "rotation": [ 30.00, 0.00, 0.00 ], + "cubes": [ + { + "origin": [ -2.50, 25.10, -17.00 ], + "size": [ 5.00, 5.00, 12.00 ], + "uv": [ 80, 12 ], + "inflate": 0.05 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/horse_v2.geo.json b/resource_pack/models/entity/horse_v2.geo.json new file mode 100644 index 0000000..0d6a387 --- /dev/null +++ b/resource_pack/models/entity/horse_v2.geo.json @@ -0,0 +1,732 @@ +{ + "format_version": "1.8.0", + "geometry.horse.v2": { + "visible_bounds_width": 2, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "pivot": [ + 0.0, + 13.0, + 9.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -5.0, + 11.0, + -11.0 + ], + "size": [ + 10.0, + 10.0, + 22.0 + ], + "uv": [ + 0.0, + 32.0 + ] + } + ], + "name": "Body" + }, + { + "pivot": [ + 0.0, + 20.0, + 11.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -1.5, + 6.0, + 9.0 + ], + "size": [ + 3.0, + 14.0, + 4.0 + ], + "uv": [ + 42.0, + 36.0 + ] + } + ], + "name": "TailA", + "parent": "Body" + }, + { + "pivot": [ + 3.0, + 11.0, + 9.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + 1.0, + 0.0, + 7.0 + ], + "size": [ + 4.0, + 11.0, + 4.0 + ], + "uv": [ + 48.0, + 21.0 + ], + "mirror": true + } + ], + "name": "Leg1A" + }, + { + "pivot": [ + -3.0, + 11.0, + 9.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -5.0, + 0.0, + 7.0 + ], + "size": [ + 4.0, + 11.0, + 4.0 + ], + "uv": [ + 48.0, + 21.0 + ] + } + ], + "name": "Leg2A" + }, + { + "pivot": [ + 3.0, + 11.0, + -9.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + 1.0, + 0.0, + -11.0 + ], + "size": [ + 4.0, + 11.0, + 4.0 + ], + "uv": [ + 48.0, + 21.0 + ], + "mirror": true + } + ], + "name": "Leg3A" + }, + { + "pivot": [ + -3.0, + 11.0, + -9.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -5.0, + 0.0, + -11.0 + ], + "size": [ + 4.0, + 11.0, + 4.0 + ], + "uv": [ + 48.0, + 21.0 + ] + } + ], + "name": "Leg4A" + }, + { + "pivot": [ + 0.0, + 28.0, + -11.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -3.0, + 28.0, + -11.0 + ], + "size": [ + 6.0, + 5.0, + 7.0 + ], + "uv": [ + 0.0, + 13.0 + ] + } + ], + "name": "Head", + "parent": "Neck" + }, + { + "pivot": [ + 0.0, + 28.0, + -11.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -2.0, + 28.0, + -16.0 + ], + "size": [ + 4.0, + 5.0, + 5.0 + ], + "uv": [ + 0.0, + 25.0 + ] + } + ], + "name": "UMouth", + "parent": "Head" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + 5.0 + ], + "cubes": [ + { + "origin": [ + -0.5, + 32.0, + -5.01 + ], + "size": [ + 2.0, + 3.0, + 1.0 + ], + "uv": [ + 19.0, + 16.0 + ], + "mirror": true + } + ], + "name": "Ear1", + "parent": "Head" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + -5.0 + ], + "cubes": [ + { + "origin": [ + -1.5, + 32.0, + -5.01 + ], + "size": [ + 2.0, + 3.0, + 1.0 + ], + "uv": [ + 19.0, + 16.0 + ] + } + ], + "name": "Ear2", + "parent": "Head" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + 15.0 + ], + "cubes": [ + { + "origin": [ + -3.0, + 32.0, + -5.01 + ], + "size": [ + 2.0, + 7.0, + 1.0 + ], + "uv": [ + 0.0, + 12.0 + ], + "mirror": true + } + ], + "name": "MuleEarL", + "parent": "Head" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + -15.0 + ], + "cubes": [ + { + "origin": [ + 1.0, + 32.0, + -5.01 + ], + "size": [ + 2.0, + 7.0, + 1.0 + ], + "uv": [ + 0.0, + 12.0 + ] + } + ], + "name": "MuleEarR", + "parent": "Head" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -2.0, + 16.0, + -11.0 + ], + "size": [ + 4.0, + 12.0, + 7.0 + ], + "uv": [ + 0.0, + 35.0 + ] + } + ], + "locators": { + "lead": [ 0.0, 17.0, -8.0 ] + }, + "name": "Neck" + }, + { + "pivot": [ + -5.0, + 21.0, + 11.0 + ], + "rotation": [ + 0.0, + -90.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -14.0, + 13.0, + 11.0 + ], + "size": [ + 8.0, + 8.0, + 3.0 + ], + "uv": [ + 26.0, + 21.0 + ] + } + ], + "name": "Bag1" + }, + { + "pivot": [ + 5.0, + 21.0, + 11.0 + ], + "rotation": [ + 0.0, + 90.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + 6.0, + 13.0, + 11.0 + ], + "size": [ + 8.0, + 8.0, + 3.0 + ], + "uv": [ + 26.0, + 21.0 + ], + "mirror": true + } + ], + "name": "Bag2" + }, + { + "pivot": [ + 0.0, + 22.0, + 2.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -5.0, + 12.0, + -3.5 + ], + "size": [ + 10.0, + 9.0, + 9.0 + ], + "uv": [ + 26.0, + 0.0 + ], + "inflate": 0.5 + } + ], + "name": "Saddle", + "parent": "Body" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + 2.0, + 29.0, + -14.0 + ], + "size": [ + 1.0, + 2.0, + 2.0 + ], + "uv": [ + 29.0, + 5.0 + ] + } + ], + "name": "SaddleMouthL", + "parent": "HeadSaddle" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -3.0, + 29.0, + -14.0 + ], + "size": [ + 1.0, + 2.0, + 2.0 + ], + "uv": [ + 29.0, + 5.0 + ] + } + ], + "name": "SaddleMouthR", + "parent": "HeadSaddle" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + 3.1, + 24.0, + -19.5 + ], + "size": [ + 0.0, + 3.0, + 16.0 + ], + "uv": [ + 32.0, + 2.0 + ] + } + ], + "name": "SaddleMouthLine" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 0.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -3.1, + 24.0, + -19.5 + ], + "size": [ + 0.0, + 3.0, + 16.0 + ], + "uv": [ + 32.0, + 2.0 + ] + } + ], + "name": "SaddleMouthLineR" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -1.0, + 17.0, + -4.0 + ], + "size": [ + 2.0, + 16.0, + 2.0 + ], + "uv": [ + 56.0, + 36.0 + ] + } + ], + "name": "Mane" + }, + { + "pivot": [ + 0.0, + 17.0, + -8.0 + ], + "rotation": [ + 30.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -2.0, + 28.0, + -13.0 + ], + "size": [ + 4.0, + 5.0, + 2.0 + ], + "uv": [ + 19.0, + 0.0 + ], + "inflate": 0.25 + }, + { + "origin": [ + -3.0, + 28.0, + -11.0 + ], + "size": [ + 6.0, + 5.0, + 7.0 + ], + "uv": [ + 0.0, + 0.0 + ], + "inflate": 0.25 + } + ], + "name": "HeadSaddle", + "parent": "Head" + } + ], + "texturewidth": 64, + "textureheight": 64 + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/horse_v3.geo.json b/resource_pack/models/entity/horse_v3.geo.json new file mode 100644 index 0000000..8490269 --- /dev/null +++ b/resource_pack/models/entity/horse_v3.geo.json @@ -0,0 +1,301 @@ +{ + "format_version": "1.10.0", + "geometry.horse.v3": { + "texturewidth": 64, + "textureheight": 64, + "visible_bounds_width": 4, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "bones": [ + { + "name": "Body", + "pivot": [ 0, 13, 9 ], + "cubes": [ + { + "origin": [ -5, 11, -11 ], + "size": [ 10, 10, 22 ], + "uv": [ 0, 32 ] + } + ] + }, + { + "name": "Tail", + "parent": "Body", + "pivot": [ 0, 20, 11 ], + "rotation": [ 25, 0, 0 ], + "cubes": [ + { + "origin": [ -1.5, 6, 9 ], + "size": [ 3, 14, 4 ], + "uv": [ 42, 36 ] + } + ] + }, + { + "name": "LegBL", + "parent": "Body", + "pivot": [ 3, 11, 9 ], + "cubes": [ + { + "origin": [ 1, 0, 7 ], + "size": [ 4, 11, 4 ], + "uv": [ 48, 21 ], + "mirror": true + } + ] + }, + { + "name": "LegBR", + "parent": "Body", + "pivot": [ -3, 11, 9 ], + "cubes": [ + { + "origin": [ -5, 0, 7 ], + "size": [ 4, 11, 4 ], + "uv": [ 48, 21 ] + } + ] + }, + { + "name": "LegFL", + "parent": "Body", + "pivot": [ 3, 11, -9 ], + "cubes": [ + { + "origin": [ 1, 0, -11 ], + "size": [ 4, 11, 4 ], + "uv": [ 48, 21 ], + "mirror": true + } + ] + }, + { + "name": "LegFR", + "parent": "Body", + "pivot": [ -3, 11, -9 ], + "cubes": [ + { + "origin": [ -5, 0, -11 ], + "size": [ 4, 11, 4 ], + "uv": [ 48, 21 ] + } + ] + }, + { + "name": "Neck", + "parent": "Body", + "pivot": [ 0, 17, -8 ], + "rotation": [ 30, 0, 0 ], + "cubes": [ + { + "origin": [ -2, 16, -11 ], + "size": [ 4, 12, 7 ], + "uv": [ 0, 35 ] + } + ], + "locators": { + "lead": [ 0, 17, -8 ] + } + }, + { + "name": "Head", + "parent": "Neck", + "pivot": [ 0, 28, -11 ], + "cubes": [ + { + "origin": [ -3, 28, -11 ], + "size": [ 6, 5, 7 ], + "uv": [ 0, 13 ] + } + ] + }, + { + "name": "Muzzle", + "parent": "Head", + "pivot": [ 0, 28, -11 ], + "cubes": [ + { + "origin": [ -2, 28, -16 ], + "size": [ 4, 5, 5 ], + "uv": [ 0, 25 ] + } + ] + }, + { + "name": "EarL", + "parent": "Head", + "pivot": [ 0, 17, -8 ], + "rotation": [ 0, 0, 5 ], + "cubes": [ + { + "origin": [ -0.5, 32, -5.01 ], + "size": [ 2, 3, 1 ], + "uv": [ 19, 16 ], + "mirror": true + } + ] + }, + { + "name": "EarR", + "parent": "Head", + "pivot": [ 0, 17, -8 ], + "rotation": [ 0, 0, -5 ], + "cubes": [ + { + "origin": [ -1.5, 32, -5.01 ], + "size": [ 2, 3, 1 ], + "uv": [ 19, 16 ] + } + ] + }, + { + "name": "MuleEarL", + "parent": "Head", + "pivot": [ 0, 17, -8 ], + "rotation": [ 0, 0, 15 ], + "cubes": [ + { + "origin": [ -3, 32, -5.01 ], + "size": [ 2, 7, 1 ], + "uv": [ 0, 12 ], + "mirror": true + } + ] + }, + { + "name": "MuleEarR", + "parent": "Head", + "pivot": [ 0, 17, -8 ], + "rotation": [ 0, 0, -15 ], + "cubes": [ + { + "origin": [ 1, 32, -5.01 ], + "size": [ 2, 7, 1 ], + "uv": [ 0, 12 ] + } + ] + }, + { + "name": "ReinsL", + "parent": "Head", + "pivot": [ 2, 30.5, -13.5 ], + "rotation": [ -35, 0, 0 ], + "cubes": [ + { + "origin": [ 3.1, 29, -13 ], + "size": [ 0, 3, 16 ], + "uv": [ 32, 2 ] + } + ] + }, + { + "name": "ReinsR", + "parent": "Head", + "pivot": [ -3, 30.5, -13.5 ], + "rotation": [ -35, 0, 0 ], + "cubes": [ + { + "origin": [ -3.1, 29, -13 ], + "size": [ 0, 3, 16 ], + "uv": [ 32, 2 ] + } + ] + }, + { + "name": "Bridle", + "parent": "Head", + "pivot": [ 0, 17, -8 ], + "cubes": [ + { + "origin": [ -2, 28, -13 ], + "size": [ 4, 5, 2 ], + "uv": [ 19, 0 ], + "inflate": 0.25 + }, + { + "origin": [ -3, 28, -11 ], + "size": [ 6, 5, 7 ], + "uv": [ 0, 0 ], + "inflate": 0.25 + } + ] + }, + { + "name": "BitL", + "parent": "Bridle", + "pivot": [ 0, 17, -8 ], + "cubes": [ + { + "origin": [ 2, 29, -14 ], + "size": [ 1, 2, 2 ], + "uv": [ 29, 5 ] + } + ] + }, + { + "name": "BitR", + "parent": "Bridle", + "pivot": [ 0, 17, -8 ], + "cubes": [ + { + "origin": [ -3, 29, -14 ], + "size": [ 1, 2, 2 ], + "uv": [ 29, 5 ] + } + ] + }, + { + "name": "Mane", + "parent": "Neck", + "pivot": [ 0, 17, -8 ], + "cubes": [ + { + "origin": [ -1, 17, -3.95 ], + "size": [ 2, 16, 2 ], + "uv": [ 56, 36 ] + } + ] + }, + { + "name": "BagL", + "parent": "Body", + "pivot": [ 5, 21, 11 ], + "rotation": [ 0, 90, 0 ], + "cubes": [ + { + "origin": [ 6, 13, 11 ], + "size": [ 8, 8, 3 ], + "uv": [ 26, 21 ], + "mirror": true + } + ] + }, + { + "name": "BagR", + "parent": "Body", + "pivot": [ -5, 21, 11 ], + "rotation": [ 0, -90, 0 ], + "cubes": [ + { + "origin": [ -14, 13, 11 ], + "size": [ 8, 8, 3 ], + "uv": [ 26, 21 ] + } + ] + }, + { + "name": "Saddle", + "parent": "Body", + "pivot": [ 0, 22, 2 ], + "cubes": [ + { + "origin": [ -5, 12, -3.5 ], + "size": [ 10, 9, 9 ], + "uv": [ 26, 0 ], + "inflate": 0.5 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/husk.geo.json b/resource_pack/models/entity/husk.geo.json new file mode 100644 index 0000000..5f65059 --- /dev/null +++ b/resource_pack/models/entity/husk.geo.json @@ -0,0 +1,126 @@ +{ + "format_version": "1.8.0", + "geometry.zombie.husk.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "parent": "waist" + }, + + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "parent": "body" + }, + + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true, + "parent": "head" + }, + + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "parent": "body" + }, + + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true, + "parent": "body" + }, + + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + + { + "name": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "parent": "body" + }, + + { + "name": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true, + "parent": "body" + } + ] + } +} diff --git a/resource_pack/models/entity/husk.v1.0.geo.json b/resource_pack/models/entity/husk.v1.0.geo.json new file mode 100644 index 0000000..68e1c17 --- /dev/null +++ b/resource_pack/models/entity/husk.v1.0.geo.json @@ -0,0 +1,8 @@ +{ + "format_version": "1.8.0", + "geometry.zombie.husk:geometry.zombie": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/item_sprite.geo.json b/resource_pack/models/entity/item_sprite.geo.json new file mode 100644 index 0000000..951f92f --- /dev/null +++ b/resource_pack/models/entity/item_sprite.geo.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.item_sprite", + "texture_width": 16, + "texture_height": 16 + }, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, -8.0, 0.0 ], + "size": [ 16.0, 16.0, 0.0 ], + "uv": [ 0, 0 ], + "rotation": [ 0.0, 0.0, 0.0 ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/leash_knot.geo.json b/resource_pack/models/entity/leash_knot.geo.json new file mode 100644 index 0000000..f65798a --- /dev/null +++ b/resource_pack/models/entity/leash_knot.geo.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.leash_knot", + "texture_width": 32, + "texture_height": 32 + }, + "bones": [ + { + "name": "knot", + "cubes": [ + { + "origin": [ -3.0, 2.0, -3.0 ], + "size": [ 6.0, 8.0, 6.0 ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/llama.geo.json b/resource_pack/models/entity/llama.geo.json new file mode 100644 index 0000000..a2e7829 --- /dev/null +++ b/resource_pack/models/entity/llama.geo.json @@ -0,0 +1,128 @@ +{ + "format_version": "1.8.0", + "geometry.llama.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 128, + "textureheight": 64, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 17.0, -6.0 ], + "locators": { + "lead": [ 0.0, 18.0, -11.0 ] + }, + "cubes": [ + { + "origin": [ -2.0, 27.0, -16.0 ], + "size": [ 4.0, 4.0, 9.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -4.0, 15.0, -12.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0, 14 ] + }, + { + "origin": [ -4.0, 33.0, -10.0 ], + "size": [ 3.0, 3.0, 2.0 ], + "uv": [ 17, 0 ] + }, + { + "origin": [ 1.0, 33.0, -10.0 ], + "size": [ 3.0, 3.0, 2.0 ], + "uv": [ 17, 0 ] + } + ] + }, + { + "name": "chest1", + "parent": "body", + "pivot": [ -8.5, 21.0, 3.0 ], + "rotation": [ 0.0, 90.0, 0.0 ], + "cubes": [ + { + "origin": [ -11.5, 13.0, 3.0 ], + "size": [ 8.0, 8.0, 3.0 ], + "uv": [ 45, 28 ] + } + ] + }, + { + "name": "chest2", + "parent": "body", + "pivot": [ 5.5, 21.0, 3.0 ], + "rotation": [ 0.0, 90.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.5, 13.0, 3.0 ], + "size": [ 8.0, 8.0, 3.0 ], + "uv": [ 45, 41 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 11.0, -5.0 ], + "size": [ 12.0, 18.0, 10.0 ], + "uv": [ 29, 0 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -3.5, 14.0, 6.0 ], + "cubes": [ + { + "origin": [ -5.5, 0.0, 4.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 3.5, 14.0, 6.0 ], + "cubes": [ + { + "origin": [ 1.5, 0.0, 4.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -3.5, 14.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.5, 0.0, -7.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 3.5, 14.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.5, 0.0, -7.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/llama_spit.json b/resource_pack/models/entity/llama_spit.json new file mode 100644 index 0000000..93f8d27 --- /dev/null +++ b/resource_pack/models/entity/llama_spit.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.8.0", + "geometry.llamaspit": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 22.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 26.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 22.0, -4.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 22.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 2.0, 22.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 20.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 22.0, 2.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/llama_v1.0.geo.json b/resource_pack/models/entity/llama_v1.0.geo.json new file mode 100644 index 0000000..52e5b6a --- /dev/null +++ b/resource_pack/models/entity/llama_v1.0.geo.json @@ -0,0 +1,170 @@ +{ + "format_version": "1.8.0", + "geometry.llamaspit": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 22.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 26.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 22.0, -4.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 22.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 2.0, 22.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 20.0, 0.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 0.0, 22.0, 2.0 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + }, + "geometry.llama": { + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 128, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 17.0, -6.0 ], + "locators": { + "lead": [ 0.0, 18.0, -11.0 ] + }, + "cubes": [ + { + "origin": [ -2.0, 27.0, -16.0 ], + "size": [ 4.0, 4.0, 9.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -4.0, 15.0, -12.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0, 14 ] + }, + { + "origin": [ -4.0, 33.0, -10.0 ], + "size": [ 3.0, 3.0, 2.0 ], + "uv": [ 17, 0 ] + }, + { + "origin": [ 1.0, 33.0, -10.0 ], + "size": [ 3.0, 3.0, 2.0 ], + "uv": [ 17, 0 ] + } + ] + }, + { + "name": "chest1", + "pivot": [ -8.5, 21.0, 3.0 ], + "rotation": [ 0.0, 90.0, 0.0 ], + "cubes": [ + { + "origin": [ -11.5, 13.0, 3.0 ], + "size": [ 8.0, 8.0, 3.0 ], + "uv": [ 45, 28 ] + } + ] + }, + { + "name": "chest2", + "pivot": [ 5.5, 21.0, 3.0 ], + "rotation": [ 0.0, 90.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.5, 13.0, 3.0 ], + "size": [ 8.0, 8.0, 3.0 ], + "uv": [ 45, 41 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "cubes": [ + { + "origin": [ -6.0, 11.0, -5.0 ], + "size": [ 12.0, 18.0, 10.0 ], + "uv": [ 29, 0 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -3.5, 14.0, 6.0 ], + "cubes": [ + { + "origin": [ -5.5, 0.0, 4.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 3.5, 14.0, 6.0 ], + "cubes": [ + { + "origin": [ 1.5, 0.0, 4.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -3.5, 14.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.5, 0.0, -7.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + }, + { + "name": "leg3", + "pivot": [ 3.5, 14.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.5, 0.0, -7.0 ], + "size": [ 4.0, 14.0, 4.0 ], + "uv": [ 29, 29 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/location_pointer_idle.geo.json b/resource_pack/models/entity/location_pointer_idle.geo.json new file mode 100644 index 0000000..237d2a6 --- /dev/null +++ b/resource_pack/models/entity/location_pointer_idle.geo.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.location_pointer_idle", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-1, 8, 1.5], "size": [2, 1, 1], "uv": [0, 10]}, + {"origin": [-1, 0, -0.5], "size": [2, 2, 1], "uv": [16, 9]}, + {"origin": [-1, 2, -1.5], "size": [2, 2, 3], "uv": [20, 11]}, + {"origin": [-1, 4, -2.5], "size": [2, 2, 5], "uv": [1, 14]}, + {"origin": [-1, 13, -3.5], "size": [2, 1, 7], "uv": [23, 20]}, + {"origin": [-1, 14, -2.5], "size": [2, 1, 5], "uv": [16, 21]}, + {"origin": [-1, 6, -3.5], "size": [2, 2, 7], "uv": [26, 41]}, + {"origin": [-1, 8, -4.5], "size": [2, 5, 2], "uv": [56, 57]}, + {"origin": [-1, 8, 2.5], "size": [2, 5, 2], "uv": [0, 57]}, + {"origin": [-1, 12, 1.5], "size": [2, 1, 1], "uv": [58, 0]}, + {"origin": [-1, 12, -2.5], "size": [2, 1, 1], "uv": [58, 5]}, + {"origin": [-1, 8, -2.5], "size": [2, 1, 1], "uv": [0, 0]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/location_pointer_selected.geo.json b/resource_pack/models/entity/location_pointer_selected.geo.json new file mode 100644 index 0000000..890c220 --- /dev/null +++ b/resource_pack/models/entity/location_pointer_selected.geo.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.location_pointer_selected", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-1, 8, 1.5], "size": [2, 1, 1], "uv": [0, 10]}, + {"origin": [-1, 0, -0.5], "size": [2, 2, 1], "uv": [16, 9]}, + {"origin": [-1, 2, -1.5], "size": [2, 2, 3], "uv": [20, 11]}, + {"origin": [-1, 4, -2.5], "size": [2, 2, 5], "uv": [1, 14]}, + {"origin": [-1, 13, -3.5], "size": [2, 1, 7], "uv": [23, 20]}, + {"origin": [-1, 14, -2.5], "size": [2, 1, 5], "uv": [16, 21]}, + {"origin": [-1, 6, -3.5], "size": [2, 2, 7], "uv": [26, 41]}, + {"origin": [-1, 8, -4.5], "size": [2, 5, 2], "uv": [56, 57]}, + {"origin": [-1, 8, 2.5], "size": [2, 5, 2], "uv": [0, 57]}, + {"origin": [-1, 12, 1.5], "size": [2, 1, 1], "uv": [58, 0]}, + {"origin": [-1, 12, -2.5], "size": [2, 1, 1], "uv": [58, 5]}, + {"origin": [-1, 8, -2.5], "size": [2, 1, 1], "uv": [0, 0]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/magma_cube.geo.json b/resource_pack/models/entity/magma_cube.geo.json new file mode 100644 index 0000000..162dbf2 --- /dev/null +++ b/resource_pack/models/entity/magma_cube.geo.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.8.0", + "geometry.lavaslime": { + "visible_bounds_width": 2.5, + "visible_bounds_height": 5, + "visible_bounds_offset": [ 0, 2.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "bodyCube_0", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 7.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "bodyCube_1", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 6.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 1 ] + } + ] + }, + { + "name": "bodyCube_2", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 5.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 24, 10 ] + } + ] + }, + { + "name": "bodyCube_3", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 4.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 24, 19 ] + } + ] + }, + { + "name": "bodyCube_4", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 3.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 4 ] + } + ] + }, + { + "name": "bodyCube_5", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 2.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 5 ] + } + ] + }, + { + "name": "bodyCube_6", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 1.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 6 ] + } + ] + }, + { + "name": "bodyCube_7", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 7 ] + } + ] + }, + { + "name": "insideCube", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.0, 2.0, -2.0 ], + "size": [ 4.0, 4.0, 4.0 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/magma_cube_v2.geo.json b/resource_pack/models/entity/magma_cube_v2.geo.json new file mode 100644 index 0000000..4acb4e8 --- /dev/null +++ b/resource_pack/models/entity/magma_cube_v2.geo.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.8.0", + "geometry.magma_cube_v2": { + "visible_bounds_width": 2.5, + "visible_bounds_height": 5, + "visible_bounds_offset": [ 0, 2.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "bodyCube_0", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 7.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "bodyCube_1", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 6.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 9 ] + } + ] + }, + { + "name": "bodyCube_2", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 5.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "bodyCube_3", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 4.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 0, 27 ] + } + ] + }, + { + "name": "bodyCube_4", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 3.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 32, 0 ] + } + ] + }, + { + "name": "bodyCube_5", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 2.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 32, 9 ] + } + ] + }, + { + "name": "bodyCube_6", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 1.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 32, 18 ] + } + ] + }, + { + "name": "bodyCube_7", + "parent": "insideCube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -4.0 ], + "size": [ 8.0, 1.0, 8.0 ], + "uv": [ 32, 27 ] + } + ] + }, + { + "name": "insideCube", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.0, 2.0, -2.0 ], + "size": [ 4.0, 4.0, 4.0 ], + "uv": [ 24, 40 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/map_marker.geo.json b/resource_pack/models/entity/map_marker.geo.json new file mode 100644 index 0000000..8b0cbf2 --- /dev/null +++ b/resource_pack/models/entity/map_marker.geo.json @@ -0,0 +1,111 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.map_marker", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ + 0, + 0.75, + 0 + ] + }, + "bones": [ + { + "name": "bone", + "pivot": [ + 0, + 0, + 0 + ], + "cubes": [ + { + "origin": [ + -3, + 4, + -3 + ], + "size": [ + 6, + 2, + 6 + ], + "uv": [ + 0, + 10 + ] + }, + { + "origin": [ + -1, + 0, + -1 + ], + "size": [ + 2, + 2, + 2 + ], + "uv": [ + 0, + 0 + ] + }, + { + "origin": [ + -2, + 2, + -2 + ], + "size": [ + 4, + 2, + 4 + ], + "uv": [ + 0, + 18 + ] + }, + { + "origin": [ + -4, + 6, + -4 + ], + "size": [ + 8, + 2, + 8 + ], + "uv": [ + 0, + 0 + ] + }, + { + "origin": [ + -1, + 8, + -1 + ], + "size": [ + 2, + 10, + 2 + ], + "uv": [ + 16, + 18 + ] + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/minecart.geo.json b/resource_pack/models/entity/minecart.geo.json new file mode 100644 index 0000000..67842b4 --- /dev/null +++ b/resource_pack/models/entity/minecart.geo.json @@ -0,0 +1,77 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.minecart.v1.8", + "texture_width": 64, + "texture_height": 32 + }, + "bones": [ + { + "name": "bottom", + "pivot": [ 0.0, 6.0, 0.0 ], + "cubes": [ + { + "origin": [ -10.0, -6.5, -1.0 ], + "size": [ 20.0, 16.0, 2.0 ], + "rotation": [ 90.0, 0.0, 0.0 ], + "uv": [ 0.0, 10.0 ] + } + ] + }, + { + "name": "back", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -17.0, 2.5, -1.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "rotation": [ 0.0, 270.0, 0.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "bottom" + }, + { + "name": "front", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 2.5, -1.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "rotation": [ 0.0, 90.0, 0.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "bottom" + }, + { + "name": "right", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 2.5, -8.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "rotation": [ 0.0, 180.0, 0.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "bottom" + }, + { + "name": "left", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 2.5, 6.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "bottom" + } + ] + } + ] +} diff --git a/resource_pack/models/entity/minecart_v1.0.geo.json b/resource_pack/models/entity/minecart_v1.0.geo.json new file mode 100644 index 0000000..84b977e --- /dev/null +++ b/resource_pack/models/entity/minecart_v1.0.geo.json @@ -0,0 +1,82 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.minecart", + "texture_width": 64, + "texture_height": 32 + }, + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 24, 0.0 ] + }, + { + "name": "bottom", + "pivot": [ 0.0, 20.0, 0.0 ], + "rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -10.0, 12.0, -1.0 ], + "size": [ 20.0, 16.0, 2.0 ], + "uv": [ 0.0, 10.0 ] + } + ], + "parent": "root" + }, + { + "name": "back", + "pivot": [ -9.0, 20.0, 0.0 ], + "rotation": [ 0.0, 270.0, 0.0 ], + "cubes": [ + { + "origin": [ -17.0, 21.0, -1.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "root" + }, + { + "name": "front", + "pivot": [ 9.0, 20.0, 0.0 ], + "rotation": [ 0.0, 90.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 21.0, -1.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "root" + }, + { + "name": "right", + "pivot": [ 0.0, 20.0, -7.0 ], + "rotation": [ 0.0, 180.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 21.0, -8.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "root" + }, + { + "name": "left", + "pivot": [ 0.0, 20.0, 7.0 ], + "cubes": [ + { + "origin": [ -8.0, 21.0, 6.0 ], + "size": [ 16.0, 8.0, 2.0 ], + "uv": [ 0.0, 0.0 ] + } + ], + "parent": "root" + } + ] + } + ] +} diff --git a/resource_pack/models/entity/mooshroom.geo.json b/resource_pack/models/entity/mooshroom.geo.json new file mode 100644 index 0000000..f2ee793 --- /dev/null +++ b/resource_pack/models/entity/mooshroom.geo.json @@ -0,0 +1,103 @@ +{ + "format_version": "1.8.0", + "geometry.mooshroom.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 11.0, -5.0 ], + "size": [ 12, 18, 10 ], + "uv": [ 18, 4 ] + }, + { + "origin": [ -2.0, 11.0, -6.0 ], + "size": [ 4, 6, 1 ], + "uv": [ 52, 0 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 20.0, -8.0 ], + "locators": { + "lead": [ 0.0, 20.0, -8.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 16.0, -14.0 ], + "size": [ 8, 8, 6 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -5.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + }, + { + "origin": [ 4.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "mirror": true, + "pivot": [ 4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "mirror": true, + "pivot": [ 4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/mooshroom_v1.0.geo.json b/resource_pack/models/entity/mooshroom_v1.0.geo.json new file mode 100644 index 0000000..a8aaa7a --- /dev/null +++ b/resource_pack/models/entity/mooshroom_v1.0.geo.json @@ -0,0 +1,98 @@ +{ + "format_version": "1.8.0", + "geometry.mooshroom": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "cubes": [ + { + "origin": [ -6.0, 11.0, -5.0 ], + "size": [ 12, 18, 10 ], + "uv": [ 18, 4 ] + }, + { + "origin": [ -2.0, 11.0, -6.0 ], + "size": [ 4, 6, 1 ], + "uv": [ 52, 0 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 20.0, -8.0 ], + "locators": { + "lead": [ 0.0, 20.0, -8.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 16.0, -14.0 ], + "size": [ 8, 8, 6 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -5.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + }, + { + "origin": [ 4.0, 22.0, -12.0 ], + "size": [ 1, 3, 1 ], + "uv": [ 22, 0 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "mirror": true, + "pivot": [ 4.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "mirror": true, + "pivot": [ 4.0, 12.0, -6.0 ], + "cubes": [ + { + "origin": [ 2.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/npc.geo.json b/resource_pack/models/entity/npc.geo.json new file mode 100644 index 0000000..efe734b --- /dev/null +++ b/resource_pack/models/entity/npc.geo.json @@ -0,0 +1,151 @@ +{ + "format_version": "1.8.0", + "geometry.npc": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ] + } + ], + "parent": "body" + }, + { + "name": "hat", + "neverRender": false, + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "parent": "head" + }, + { + "name": "nose", + "parent": "head", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8, 12, 6 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8, 18, 6 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "arms", + "pivot": [ 0.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 16.0, -2.0 ], + "size": [ 8, 4, 4 ], + "uv": [ 40, 38 ] + }, + { + "origin": [ -8.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ 4.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 46 ] + } + ], + "parent": "body" + }, + { + "name": "leg0", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leftPants", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.25 + } + ], + "parent": "leg1" + }, + + { + "name": "rightPants", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 32 ], + "inflate": 0.25 + } + ], + "parent": "leg0" + }, + { + "name": "jacket", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 32 ], + "inflate": 0.25 + } + ], + "parent": "body" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/ocelot.geo.json b/resource_pack/models/entity/ocelot.geo.json new file mode 100644 index 0000000..c8adb49 --- /dev/null +++ b/resource_pack/models/entity/ocelot.geo.json @@ -0,0 +1,128 @@ +{ + "format_version": "1.8.0", + "geometry.ocelot.v1.8": { + "visible_bounds_width": 2.5, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "pivot": [ 0.0, 9.0, -9.0 ], + "locators": { + "lead": [ 0.0, 9.0, -9.0 ] + }, + "cubes": [ + { + "origin": [ -2.5, 7.0, -12.0 ], + "size": [ 5.0, 4.0, 5.0 ], + "uv": [ 0.0, 0.0 ] + }, + { + "origin": [ -1.5, 7.01562, -13.0 ], + "size": [ 3.0, 2.0, 2.0 ], + "uv": [ 0.0, 24.0 ] + }, + { + "origin": [ -2.0, 11.0, -9.0 ], + "size": [ 1.0, 1.0, 2.0 ], + "uv": [ 0.0, 10.0 ] + }, + { + "origin": [ 1.0, 11.0, -9.0 ], + "size": [ 1.0, 1.0, 2.0 ], + "uv": [ 6.0, 10.0 ] + } + ], + "name": "head", + "parent": "body" + }, + { + "pivot": [ 0.0, 7.0, 1.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.0, -1, -2.0 ], + "size": [ 4.0, 16.0, 6.0 ], + "uv": [ 20.0, 0.0 ] + } + ], + "name": "body" + }, + { + "pivot": [ 0.0, 9.0, 8.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, 1.0, 8.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 0.0, 15.0 ] + } + ], + "name": "tail1", + "parent": "body" + }, + { + "pivot": [ 0.0, 9.0, 16.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, 1.0, 16.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 4.0, 15.0 ] + } + ], + "name": "tail2", + "parent": "tail1" + }, + { + "pivot": [ 1.1, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ 0.1, 0.0, 6.0 ], + "size": [ 2.0, 6.0, 2.0 ], + "uv": [ 8.0, 13.0 ] + } + ], + "name": "backLegL", + "parent": "body" + }, + { + "pivot": [ -1.1, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ -2.1, 0.0, 6.0 ], + "size": [ 2.0, 6.0, 2.0 ], + "uv": [ 8.0, 13.0 ] + } + ], + "name": "backLegR", + "parent": "body" + }, + { + "pivot": [ 1.2, 10.0, -4.0 ], + "cubes": [ + { + "origin": [ 0.2, 0.2, -5.0 ], + "size": [ 2.0, 10.0, 2.0 ], + "uv": [ 40.0, 0.0 ] + } + ], + "name": "frontLegL", + "parent": "body" + }, + { + "pivot": [ -1.2, 10.0, -4.0 ], + "cubes": [ + { + "origin": [ -2.2, 0.2, -5.0 ], + "size": [ 2.0, 10.0, 2.0 ], + "uv": [ 40.0, 0.0 ] + } + ], + "name": "frontLegR", + "parent": "body" + } + ] + } +} diff --git a/resource_pack/models/entity/ocelot_v1.0.geo.json b/resource_pack/models/entity/ocelot_v1.0.geo.json new file mode 100644 index 0000000..bb8c813 --- /dev/null +++ b/resource_pack/models/entity/ocelot_v1.0.geo.json @@ -0,0 +1,120 @@ +{ + "format_version": "1.8.0", + "geometry.ocelot": { + "visible_bounds_width": 2.5, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 9.0, -9.0 ], + "locators": { + "lead": [ 0.0, 9.0, -9.0 ] + }, + "cubes": [ + { + "origin": [ -2.5, 7.0, -12.0 ], + "size": [ 5, 4, 5 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -1.5, 7.015625, -13.0 ], + "size": [ 3, 2, 2 ], + "uv": [ 0, 24 ] + }, + { + "origin": [ -2.0, 11.0, -9.0 ], + "size": [ 1, 1, 2 ], + "uv": [ 0, 10 ] + }, + { + "origin": [ 1.0, 11.0, -9.0 ], + "size": [ 1, 1, 2 ], + "uv": [ 6, 10 ] + } + ] + }, + { + "name": "body", + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "pivot": [ 0.0, 12.0, -10.0 ], + "cubes": [ + { + "origin": [ -2.0, -7.0, -18.0 ], + "size": [ 4, 16, 6 ], + "uv": [ 20, 0 ] + } + ] + }, + { + "name": "tail1", + "pivot": [ 0.0, 9.0, 8.0 ], + "cubes": [ + { + "origin": [ -0.5, 1.0, 8.0 ], + "size": [ 1, 8, 1 ], + "uv": [ 0, 15 ] + } + ], + "rotation": [ 50, 0, 0 ] + }, + { + "name": "tail2", + "pivot": [ 0.0, 4.0, 13.0 ], + "cubes": [ + { + "origin": [ -0.5, -4.0, 13.0 ], + "size": [ 1, 8, 1 ], + "uv": [ 4, 15 ] + } + ] + }, + { + "name": "backLegL", + "pivot": [ 1.1, 6.0, 5.0 ], + "cubes": [ + { + "origin": [ 0.1, 0.0, 6.0 ], + "size": [ 2, 6, 2 ], + "uv": [ 8, 13 ] + } + ] + }, + { + "name": "backLegR", + "pivot": [ -1.1, 6.0, 5.0 ], + "cubes": [ + { + "origin": [ -2.1, 0.0, 6.0 ], + "size": [ 2, 6, 2 ], + "uv": [ 8, 13 ] + } + ] + }, + { + "name": "frontLegL", + "pivot": [ 1.2, 10.2, -5.0 ], + "cubes": [ + { + "origin": [ 0.2, 0.2, -5.0 ], + "size": [ 2, 10, 2 ], + "uv": [ 40, 0 ] + } + ] + }, + { + "name": "frontLegR", + "pivot": [ -1.2, 10.2, -5.0 ], + "cubes": [ + { + "origin": [ -2.2, 0.2, -5.0 ], + "size": [ 2, 10, 2 ], + "uv": [ 40, 0 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/panda.geo.json b/resource_pack/models/entity/panda.geo.json new file mode 100644 index 0000000..6ff8d4c --- /dev/null +++ b/resource_pack/models/entity/panda.geo.json @@ -0,0 +1,99 @@ +{ + "format_version": "1.8.0", + "geometry.panda": { + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 12.5, -17.0 ], + "locators": { + "lead": [ 0.0, 14.0, -16.0 ] + }, + "cubes": [ + { + "origin": [ -6.5, 7.5, -21.0 ], + "size": [ 13.0, 10.0, 9.0 ], + "uv": [ 0, 6 ] + }, + { + "origin": [ -3.5, 7.5, -23.0 ], + "size": [ 7.0, 5.0, 2.0 ], + "uv": [ 45, 16 ] + }, + { + "origin": [ -8.5, 16.5, -18.0 ], + "size": [ 5.0, 4.0, 1.0 ], + "uv": [ 52, 25 ] + }, + { + "origin": [ 3.5, 16.5, -18.0 ], + "size": [ 5.0, 4.0, 1.0 ], + "uv": [ 52, 25 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 14.0, 0.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -9.5, 1.0, -6.5 ], + "size": [ 19.0, 26.0, 13.0 ], + "uv":[0, 25] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -5.5, 9.0, 9.0 ], + "cubes": [ + { + "origin": [ -8.5, 0.0, 6.0 ], + "size": [ 6.0, 9.0, 6.0 ], + "uv": [ 40, 0 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 5.5, 9.0, 9.0 ], + "cubes": [ + { + "origin": [ 2.5, 0.0, 6.0 ], + "size": [ 6.0, 9.0, 6.0 ], + "uv": [ 40, 0 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -5.5, 9.0, -9.0 ], + "cubes": [ + { + "origin": [ -8.5, 0.0, -12.0 ], + "size": [ 6.0, 9.0, 6.0 ], + "uv": [ 40, 0 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 5.5, 9.0, -9.0 ], + "cubes": [ + { + "origin": [ 2.5, 0.0, -12.0 ], + "size": [ 6.0, 9.0, 6.0 ], + "uv": [ 40, 0 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/parrot.geo.json b/resource_pack/models/entity/parrot.geo.json new file mode 100644 index 0000000..74dc602 --- /dev/null +++ b/resource_pack/models/entity/parrot.geo.json @@ -0,0 +1,148 @@ +{ + "format_version": "1.10.0", + "geometry.parrot": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 8.3, -2.8 ], + "locators": { + "lead": [ 0.0, 6.0, -4.0 ] + }, + "cubes": [ + { + "origin": [ -1.0, 6.8, -3.8 ], + "size": [ 2.0, 3.0, 2.0 ], + "uv": [ 2, 2 ] + } + ] + }, + { + "name": "head2", + "parent": "head", + "pivot": [ 0.0, 26.0, -1.0 ], + "cubes": [ + { + "origin": [ -1.0, 9.8, -5.8 ], + "size": [ 2.0, 1.0, 4.0 ], + "uv": [ 10, 0 ] + } + ] + }, + { + "name": "beak1", + "parent": "head", + "pivot": [ 0.0, 24.5, -1.5 ], + "cubes": [ + { + "origin": [ -0.5, 7.8, -4.7 ], + "size": [ 1.0, 2.0, 1.0 ], + "uv": [ 11, 7 ] + } + ] + }, + { + "name": "beak2", + "parent": "head", + "pivot": [ 0.0, 25.8, -2.5 ], + "cubes": [ + { + "origin": [ -0.5, 8.1, -5.7 ], + "size": [ 1.0, 1.7, 1.0 ], + "uv": [ 16, 7 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 7.5, -3.0 ], + "bind_pose_rotation": [ 28.287, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.5, 1.5, -4.5 ], + "size": [ 3.0, 6.0, 3.0 ], + "uv": [ 2, 8 ] + } + ] + }, + { + "name": "tail", + "parent": "body", + "pivot": [ 0.0, 2.9, 1.2 ], + "cubes": [ + { + "origin": [ -1.5, -0.1, 0.2 ], + "size": [ 3.0, 4.0, 1.0 ], + "uv": [ 22, 1 ] + } + ] + }, + { + "name": "wing0", + "parent": "body", + "pivot": [ 1.5, 7.1, -2.8 ], + "cubes": [ + { + "origin": [ 1.0, 2.1, -4.3 ], + "size": [ 1.0, 5.0, 3.0 ], + "uv": [ 19, 8 ] + } + ] + }, + { + "name": "wing1", + "parent": "body", + "pivot": [ -1.5, 7.1, -2.8 ], + "cubes": [ + { + "origin": [ -2.0, 2.1, -4.3 ], + "size": [ 1.0, 5.0, 3.0 ], + "uv": [ 19, 8 ] + } + ] + }, + { + "name": "feather", + "parent": "head", + "pivot": [ 0.0, 10.1, 0.2 ], + "bind_pose_rotation": [ -12.685, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 9.1, -4.9 ], + "size": [ 0.0, 5.0, 4.0 ], + "uv": [ 2, 18 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ 1.5, 1.0, -0.5 ], + "cubes": [ + { + "origin": [ 0.5, -0.5, -1.5 ], + "size": [ 1.0, 2.0, 1.0 ], + "uv": [ 14, 18 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ -0.5, 1.0, -0.5 ], + "cubes": [ + { + "origin": [ -1.5, -0.5, -1.5 ], + "size": [ 1.0, 2.0, 1.0 ], + "uv": [ 14, 18 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/phantom.geo.json b/resource_pack/models/entity/phantom.geo.json new file mode 100644 index 0000000..25b9af2 --- /dev/null +++ b/resource_pack/models/entity/phantom.geo.json @@ -0,0 +1,120 @@ +{ + "format_version": "1.8.0", + "geometry.phantom": { + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "bind_pose_rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 23.0, -8.0 ], + "size": [ 5.0, 3.0, 9.0 ], + "uv": [ 0, 8 ] + } + ] + }, + { + "name": "wing0", + "pivot": [ 2.0, 26.0, -8.0 ], + "bind_pose_rotation": [ 0.0, 0.0, 5.7 ], + "cubes": [ + { + "origin": [ 2.0, 24.0, -8.0 ], + "size": [ 6.0, 2.0, 9.0 ], + "uv": [ 23, 12 ] + } + ], + "parent": "body" + }, + { + "name": "wingtip0", + "pivot": [ 8.0, 26.0, -8.0 ], + "bind_pose_rotation": [ 0.0, 0.0, 5.7 ], + "locators": { + "left_wing": [ 21.0, 26.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ 8.0, 25.0, -8.0 ], + "size": [ 13.0, 1.0, 9.0 ], + "uv": [ 16, 24 ] + } + ], + "parent": "wing0" + }, + { + "name": "wing1", + "pivot": [ -3.0, 26.0, -8.0 ], + "bind_pose_rotation": [ 0.0, 0.0, -5.7 ], + "mirror": true, + "cubes": [ + { + "origin": [ -9.0, 24.0, -8.0 ], + "size": [ 6.0, 2.0, 9.0 ], + "uv": [ 23, 12 ] + } + ], + "parent": "body" + }, + { + "name": "wingtip1", + "pivot": [ -9.0, 24.0, -8.0 ], + "bind_pose_rotation": [ 0.0, 0.0, -5.7 ], + "locators": { + "right_wing": [ -22.0, 24.0, 0.0 ] + }, + "mirror": true, + "cubes": [ + { + "origin": [ -22.0, 25.0, -8.0 ], + "size": [ 13.0, 1.0, 9.0 ], + "uv": [ 16, 24 ] + } + ], + "parent": "wing1" + }, + { + "name": "head", + "pivot": [ 0.0, 23.0, -7.0 ], + "bind_pose_rotation": [ 11.5, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 22.0, -12.0 ], + "size": [ 7.0, 3.0, 5.0 ], + "uv": [ 0, 0 ] + } + ], + "parent": "body" + }, + { + "name": "tail", + "pivot": [ 0.0, 26.0, 1.0 ], + "bind_pose_rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.0, 24.0, 1.0 ], + "size": [ 3.0, 2.0, 6.0 ], + "uv": [ 3, 20 ] + } + ], + "parent": "body" + }, + { + "name": "tailtip", + "pivot": [ 0.0, 25.5, 7.0 ], + "bind_pose_rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 24.5, 7.0 ], + "size": [ 1.0, 1.0, 6.0 ], + "uv": [ 4, 29 ] + } + ], + "parent": "tail" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/pig.geo.json b/resource_pack/models/entity/pig.geo.json new file mode 100644 index 0000000..3c21ca4 --- /dev/null +++ b/resource_pack/models/entity/pig.geo.json @@ -0,0 +1,94 @@ +{ + "format_version": "1.8.0", + "geometry.pig.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.5, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 13.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 7.0, -5.0 ], + "size": [ 10, 16, 8 ], + "uv": [ 28, 8 ] + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 12.0, -6.0 ], + "locators": { + "lead": [ 0.0, 14.0, -6.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 8.0, -14.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -2.0, 9.0, -15.0 ], + "size": [ 4, 3, 1 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -3.0, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "mirror": true, + "pivot": [ 3.0, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -3.0, 6.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "mirror": true, + "pivot": [ 3.0, 6.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/pig.v3.geo.json b/resource_pack/models/entity/pig.v3.geo.json new file mode 100644 index 0000000..4ab4d19 --- /dev/null +++ b/resource_pack/models/entity/pig.v3.geo.json @@ -0,0 +1,108 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.pig.v3", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 3, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 0.75, 0 ] + }, + "bones": [ + { + "name": "root", + "pivot": [ 0, 0, 0 ] + }, + { + "name": "head", + "parent": "root", + "pivot": [ 0, 12, -7 ], + "cubes": [ + { + "origin": [ -4, 8, -15 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -2, 9, -16 ], + "size": [ 4, 3, 1 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "body", + "parent": "root", + "pivot": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -5, 2, -5 ], + "size": [ 10, 16, 8 ], + "inflate": 0.5, + "uv": [ 28, 32 ], + "rotation": [ 90, 0, 0 ] + }, + { + "origin": [ -5, 2, -5 ], + "size": [ 10, 16, 8 ], + "uv": [ 28, 8 ], + "rotation": [ 90, 0, 0 ] + } + ] + }, + { + "name": "leg0", + "parent": "root", + "pivot": [ -3, 6, 6 ], + "cubes": [ + { + "origin": [ -5, 0, 4 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "parent": "root", + "pivot": [ 3, 6, 6 ], + "mirror": true, + "cubes": [ + { + "origin": [ 1, 0, 4 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "parent": "root", + "pivot": [ 3, 6, -6 ], + "mirror": true, + "cubes": [ + { + "origin": [ 1, 0, -8 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "parent": "root", + "pivot": [ -3, 6, -6 ], + "cubes": [ + { + "origin": [ -5, 0, -8 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/pig_v1.0.geo.json b/resource_pack/models/entity/pig_v1.0.geo.json new file mode 100644 index 0000000..b6cdeba --- /dev/null +++ b/resource_pack/models/entity/pig_v1.0.geo.json @@ -0,0 +1,88 @@ +{ + "format_version": "1.8.0", + "geometry.pig": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.5, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 13.0, 2.0 ], + "cubes": [ + { + "origin": [ -5.0, 7.0, -5.0 ], + "size": [ 10, 16, 8 ], + "uv": [ 28, 8 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 12.0, -6.0 ], + "locators": { + "lead": [ 0.0, 14.0, -6.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 8.0, -14.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -2.0, 9.0, -15.0 ], + "size": [ 4, 3, 1 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -3.0, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "mirror": true, + "pivot": [ 3.0, 6.0, 7.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -3.0, 6.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "mirror": true, + "pivot": [ 3.0, 6.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/piglin.geo.json b/resource_pack/models/entity/piglin.geo.json new file mode 100644 index 0000000..30bdb3d --- /dev/null +++ b/resource_pack/models/entity/piglin.geo.json @@ -0,0 +1,106 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.piglin", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [-4, 12, -2], "size": [8, 12, 4], "uv": [16, 16]}, + {"origin": [-4, 12, -2], "size": [8, 12, 4], "uv": [16, 32], "inflate": 0.25} + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 24, 0], + "cubes": [ + {"origin": [-5, 24, -4], "size": [10, 8, 8], "uv": [0, 0], "inflate": -0.02}, + {"origin": [-2, 24, -5], "size": [4, 4, 1], "uv": [31, 1]}, + {"origin": [2, 24, -5], "size": [1, 2, 1], "uv": [2, 4]}, + {"origin": [-3, 24, -5], "size": [1, 2, 1], "uv": [2, 0]} + ], + "inflate": -0.02 + }, + { + "name": "leftear", + "parent": "head", + "pivot": [5, 30, 0], + "rotation": [0, 0, -30], + "cubes": [ + {"origin": [4, 25, -2], "size": [1, 5, 4], "uv": [51, 6]} + ] + }, + { + "name": "rightear", + "parent": "head", + "pivot": [-5, 30, 0], + "rotation": [0, 0, 30], + "cubes": [ + {"origin": [-5, 25, -2], "size": [1, 5, 4], "uv": [39, 6]} + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0, 24, 0 ] + }, + { + "name": "rightarm", + "parent": "body", + "pivot": [-5, 22, 0], + "cubes": [ + {"origin": [-8, 12, -2], "size": [4, 12, 4], "uv": [40, 16]}, + {"origin": [-8, 12, -2], "size": [4, 12, 4], "uv": [40, 32], "inflate": 0.25} + ] + }, + { + "name": "rightItem", + "parent": "rightarm", + "pivot": [ -6, 15, 1 ] + }, + { + "name": "leftarm", + "parent": "body", + "pivot": [5, 22, 0], + "cubes": [ + {"origin": [4, 12, -2], "size": [4, 12, 4], "uv": [32, 48]}, + {"origin": [4, 12, -2], "size": [4, 12, 4], "uv": [48, 48], "inflate": 0.25} + ] + }, + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6.0, 15.0, 1.0 ] + }, + { + "name": "rightleg", + "parent": "body", + "pivot": [-1.9, 12, 0], + "cubes": [ + {"origin": [-4, 0, -2], "size": [4, 12, 4], "uv": [0, 16]}, + {"origin": [-4, 0, -2], "size": [4, 12, 4], "uv": [0, 32], "inflate": 0.25} + ] + }, + { + "name": "leftleg", + "parent": "body", + "pivot": [1.9, 12, 0], + "cubes": [ + {"origin": [0, 0, -2], "size": [4, 12, 4], "uv": [16, 48]}, + {"origin": [0, 0, -2], "size": [4, 12, 4], "uv": [0, 48], "inflate": 0.25} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/pillager.geo.json b/resource_pack/models/entity/pillager.geo.json new file mode 100644 index 0000000..05f9fbd --- /dev/null +++ b/resource_pack/models/entity/pillager.geo.json @@ -0,0 +1,124 @@ +{ + "format_version": "1.8.0", + "geometry.pillager": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "locators": { + "lead": [ 0.0, 0.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 10.0, 8.0 ], + "uv": [ 0, 0 ] + } + ], + "parent": "body" + }, + { + "name": "nose", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2.0, 4.0, 2.0 ], + "uv": [ 24, 0 ] + } + ], + "parent": "head" + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8.0, 12.0, 6.0 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "rightarm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftarm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/player_armor.json b/resource_pack/models/entity/player_armor.json new file mode 100644 index 0000000..3a81199 --- /dev/null +++ b/resource_pack/models/entity/player_armor.json @@ -0,0 +1,76 @@ +{ + "format_version": "1.8.0", + "geometry.player.armor.base": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { "name": "body", "pivot": [ 0.0, 24.0, 0.0 ], "cubes": [ { "origin": [ -4.0, 12.0, -2.0 ],"size": [ 8, 12, 4 ], "uv": [ 16, 16 ] } ], "parent": "waist" }, + { "name": "waist", "neverRender": true, "pivot": [ 0.0, 12.0, 0.0 ] }, + { "name": "head", "pivot": [ 0.0, 24.0, 0.0 ], "cubes": [ { "origin": [ -4.0, 24.0, -4.0 ], "size": [ 8, 8, 8 ], "uv": [ 0, 0 ] } ], "parent": "body" }, + { "name": "hat", "pivot": [ 0.0, 24.0, 0.0 ], "cubes": [ { "origin": [ -4.0, 24.0, -4.0 ], "size": [ 8, 8, 8 ], "uv": [ 32, 0 ], "inflate": 0.5 } ], "neverRender": true, "parent": "head" }, + { "name": "rightArm", "pivot": [ -5.0, 22.0, 0.0 ], "cubes": [ { "origin": [ -8.0, 12.0, -2.0 ], "size": [ 4, 12, 4 ], "uv": [ 40, 16 ] } ], "parent": "body" }, + { "name": "rightItem", "pivot": [ -6, 15, 1 ], "neverRender": true, "parent": "rightArm" }, + { "name": "leftArm", "pivot": [ 5.0, 22.0, 0.0 ], "cubes": [ { "origin": [ 4.0, 12.0, -2.0 ], "size": [ 4, 12, 4 ], "uv": [ 40, 16 ] } ], "mirror": true, "parent": "body" }, + { "name": "rightLeg", "pivot": [ -1.9, 12.0, 0.0 ], "cubes": [ { "origin": [ -3.9, 0.0, -2.0 ], "size": [ 4, 12, 4 ], "uv": [ 0, 16 ] } ], "parent": "body" }, + { "name": "leftLeg", "pivot": [ 1.9, 12.0, 0.0 ], "cubes": [ { "origin": [ -0.1, 0.0, -2.0 ], "size": [ 4, 12, 4 ], "uv": [ 0, 16 ] } ], "mirror": true, "parent": "body" } + ] + }, + "geometry.player.armor1:geometry.player.armor.base": { + "bones": [ + { "name": "head", "inflate": 1.0 }, + { "name": "hat", "inflate": 1.5, "neverRender": false }, + { "name": "body", "inflate": 1.01 }, + { "name": "rightArm", "inflate": 1.0 }, + { "name": "leftArm", "inflate": 1.0 }, + { "name": "rightLeg", "inflate": 1.0 }, + { "name": "leftLeg", "inflate": 1.0 } + ] + }, + "geometry.player.armor.helmet:geometry.player.armor1": { + "bones": [ + { "name": "body", "reset": true }, + { "name": "rightArm", "reset": true }, + { "name": "leftArm", "reset": true }, + { "name": "rightLeg", "reset": true }, + { "name": "leftLeg", "reset": true } + ] + }, + "geometry.player.armor.chestplate:geometry.player.armor1": { + "bones": [ + { "name": "head", "reset": true }, + { "name": "hat", "reset": true }, + { "name": "rightLeg", "reset": true }, + { "name": "leftLeg", "reset": true } + ] + }, + "geometry.player.armor.boots:geometry.player.armor1": { + "bones": [ + { "name": "head", "reset": true }, + { "name": "hat", "reset": true }, + { "name": "body", "reset": true }, + { "name": "rightArm", "reset": true }, + { "name": "leftArm", "reset": true } + ] + }, + "geometry.player.armor2:geometry.player.armor.base": { + "bones": [ + { "name": "head", "inflate": 0.5 }, + { "name": "body", "inflate": 0.5 }, + { "name": "rightArm", "inflate": 0.5 }, + { "name": "leftArm", "inflate": 0.5 }, + { "name": "rightLeg", "inflate": 0.49 }, + { "name": "leftLeg", "inflate": 0.49 } + ] + }, + "geometry.player.armor.leggings:geometry.player.armor2": { + "bones": [ + { "name": "head", "reset": true }, + { "name": "hat", "reset": true }, + { "name": "rightArm", "reset": true }, + { "name": "leftArm", "reset": true } + ] + } +} diff --git a/resource_pack/models/entity/polar_bear.geo.json b/resource_pack/models/entity/polar_bear.geo.json new file mode 100644 index 0000000..d310979 --- /dev/null +++ b/resource_pack/models/entity/polar_bear.geo.json @@ -0,0 +1,109 @@ +{ + "format_version": "1.8.0", + "geometry.polarbear": { + "visible_bounds_width": 3, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 128, + "textureheight": 64, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 14.0, -16.0 ], + "locators": { "lead": [ 0.0, 14.0, -16.0 ] }, + "mirror": true, + "cubes": [ + { + "mirror": false, + "origin": [ -3.5, 10.0, -19.0 ], + "size": [ 7.0, 7.0, 7.0 ], + "uv": [ 0, 0 ] + }, + { + "mirror": false, + "origin": [ -2.5, 10.0, -22.0 ], + "size": [ 5.0, 3.0, 3.0 ], + "uv": [ 0, 44 ] + }, + { + "mirror": false, + "origin": [ -4.5, 16.0, -17.0 ], + "size": [ 2.0, 2.0, 1.0 ], + "uv": [ 26, 0 ] + }, + { + "origin": [ 2.5, 16.0, -17.0 ], + "size": [ 2.0, 2.0, 1.0 ], + "uv": [ 26, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ -2.0, 15.0, 12.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -7.0, 14.0, 5.0 ], + "size": [ 14.0, 14.0, 11.0 ], + "uv": [ 0, 19 ] + }, + { + "origin": [ -6.0, 28.0, 5.0 ], + "size": [ 12.0, 12.0, 10.0 ], + "uv": [ 39, 0 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -4.5, 10.0, 6.0 ], + "cubes": [ + { + "origin": [ -6.5, 0.0, 4.0 ], + "size": [ 4.0, 10.0, 8.0 ], + "uv": [ 50, 22 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 4.5, 10.0, 6.0 ], + "cubes": [ + { + "origin": [ 2.5, 0.0, 4.0 ], + "size": [ 4.0, 10.0, 8.0 ], + "uv": [ 50, 22 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -3.5, 10.0, -8.0 ], + "cubes": [ + { + "origin": [ -5.5, 0.0, -10.0 ], + "size": [ 4.0, 10.0, 6.0 ], + "uv": [ 50, 40 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 3.5, 10.0, -8.0 ], + "cubes": [ + { + "origin": [ 1.5, 0.0, -10.0 ], + "size": [ 4.0, 10.0, 6.0 ], + "uv": [ 50, 40 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/pufferfish.geo.json b/resource_pack/models/entity/pufferfish.geo.json new file mode 100644 index 0000000..daceab6 --- /dev/null +++ b/resource_pack/models/entity/pufferfish.geo.json @@ -0,0 +1,613 @@ +{ + "format_version": "1.8.0", + "geometry.pufferfish.small.v1.8": { + "visible_bounds_width": 0.5, + "visible_bounds_height": 0.5, + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -1.5, 0.0, -1.5 ], + "size": [ 3.0, 2.0, 3.0 ], + "uv": [ 0.0, 27.0 ] + }, + { + "origin": [ 0.5, 2.0, -1.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 24.0, 6.0 ] + }, + { + "origin": [ -1.5, 2.0, -1.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 28.0, 6.0 ] + } + ], + "locators": { + "lead": [ 0.0, 0.0, 0.0 ] + } + }, + { + "name": "tailfin", + "parent": "body", + "cubes": [ + { + "origin": [ -1.5, 1.0, 1.5 ], + "size": [ 3.0, 0.0, 3.0 ], + "uv": [ -3.0, 0.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body", + "pivot": [ + 6.5, + 5.0, + 0.5 + ], + "cubes": [ + { + "origin": [ + 1.5, + 0.0, + -1.5 + ], + "size": [ + 1.0, + 1.0, + 2.0 + ], + "uv": [ + 25.0, + 0.0 + ], + "mirror": true + } + ] + }, + { + "name": "rightFin", + "parent": "body", + "pivot": [ + -6.5, + 5.0, + 0.5 + ], + "cubes": [ + { + "origin": [ + -2.5, + 0.0, + -1.5 + ], + "size": [ + 1.0, + 1.0, + 2.0 + ], + "uv": [ + 25.0, + 0.0 + ] + } + ] + } + ] + }, + "geometry.pufferfish.mid.v1.8": { + "visible_bounds_width": 0.5, + "visible_bounds_height": 0.5, + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -2.5, 1.0, -2.5 ], + "size": [ 5.0, 5.0, 5.0 ], + "uv": [ 12.0, 22.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body", + "pivot": [ 2.5, 5.0, 0.5 ], + "cubes": [ + { + "origin": [ + 2.5, + 4.0, + -1.5 + ], + "size": [ + 2.0, + 1.0, + 2.0 + ], + "uv": [ + 24.0, + 3.0 + ] + } + ] + }, + { + "name": "rightFin", + "parent": "body", + "pivot": [ + -2.5, + 5.0, + 0.5 + ], + "cubes": [ + { + "origin": [ + -4.5, + 4.0, + -1.5 + ], + "size": [ + 2.0, + 1.0, + 2.0 + ], + "uv": [ + 24.0, + 0.0 + ] + } + ] + }, + { + "name": "spines_top_front", + "parent": "body", + "bind_pose_rotation": [ 45.0, 0.0, 0.0 ], + "pivot": [ + 0, + 6.0, + -2.5 + ], + "cubes": [ + { + "origin": [ + -2.5, + 6.0, + -2.5 + ], + "size": [ + 5.0, + 1.0, + 0.0 + ], + "uv": [ + 19.0, + 17.0 + ] + } + ] + }, + { + "name": "spines_top_back", + "parent": "body", + "bind_pose_rotation": [ -45.0, 0.0, 0.0 ], + "pivot": [ + 0, + 6.0, + 2.5 + ], + "cubes": [ + { + "origin": [ + -2.5, + 6.0, + 2.5 + ], + "size": [ + 5.0, + 1.0, + 0.0 + ], + "uv": [ + 11.0, + 17.0 + ] + } + ] + }, + { + "name": "spines_bottom_front", + "parent": "body", + "bind_pose_rotation": [ -45.0, 0.0, 0.0 ], + "pivot": [ + 0, + 1.0, + -2.5 + ], + "cubes": [ + { + "origin": [ + -2.5, + 0.0, + -2.5 + ], + "size": [ + 5.0, + 1.0, + 0.0 + ], + "uv": [ + 18.0, + 20.0 + ] + } + ] + }, + { + "name": "spines_bottom_back", + "parent": "body", + "bind_pose_rotation": [ 45.0, 0.0, 0.0 ], + "pivot": [ + 0.0, + 1.0, + 2.5 + ], + "rotation": [ + 45.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -2.5, + 0.0, + 2.5 + ], + "size": [ + 5.0, + 1.0, + 0.0 + ], + "uv": [ + 18.0, + 20.0 + ] + } + ] + }, + { + "name": "spines_left_front", + "parent": "body", + "bind_pose_rotation": [ 0.0, 45.0, 0.0 ], + "pivot": [ + 2.5, + 0.0, + -2.5 + ], + "rotation": [ + 0.0, + 45.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + 2.5, + 1.0, + -2.5 + ], + "size": [ + 1.0, + 5.0, + 0.0 + ], + "uv": [ + 1.0, + 17.0 + ] + } + ] + }, + { + "name": "spines_left_back", + "parent": "body", + "bind_pose_rotation": [ 0.0, -45.0, 0.0 ], + "pivot": [ + 2.5, + 0.0, + 2.5 + ], + "rotation": [ + 0.0, + -45.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + 2.5, + 1.0, + 2.5 + ], + "size": [ + 1.0, + 5.0, + 0.0 + ], + "uv": [ + 1.0, + 17.0 + ] + } + ] + }, + { + "name": "spines_right_front", + "parent": "body", + "bind_pose_rotation": [ 0.0, -45.0, 0.0 ], + "pivot": [ + -2.5, + 0.0, + -2.5 + ], + "rotation": [ + 0.0, + -45.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -3.5, + 1.0, + -2.5 + ], + "size": [ + 1.0, + 5.0, + 0.0 + ], + "uv": [ + 5.0, + 17.0 + ] + } + ] + }, + { + "name": "spines_right_back", + "parent": "body", + "bind_pose_rotation": [ 0.0, 45.0, 0.0 ], + "pivot": [ + -2.5, + 0.0, + 2.5 + ], + "rotation": [ + 0.0, + 45.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -3.5, + 1.0, + 2.5 + ], + "size": [ + 1.0, + 5.0, + 0.0 + ], + "uv": [ + 9.0, + 17.0 + ] + } + ] + } + ] + }, + "geometry.pufferfish.large.v1.8": { + "visible_bounds_width": 0.5, + "visible_bounds_height": 0.5, + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -4.0, 0.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 0.0, 0.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body", + "pivot": [ 4.0, 7.0, 1.0 ], + "cubes": [ + { + "origin": [ 4.0, 6.0, -2.9904 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 3.0 ] + } + ] + }, + { + "name": "rightFin", + "parent": "body", + "pivot": [ -4.0, 7.0, 1.0 ], + "cubes": [ + { + "origin": [ -5.9968, 6.0, -2.992 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 0.0 ] + } + ] + }, + { + "name": "spines_top_front", + "parent": "body", + "pivot": [ -4.0, 8.0, -4.0 ], + "bind_pose_rotation": [ 45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, -4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 16.0 ] + } + ] + }, + { + "name": "spines_top_mid", + "parent": "body", + "pivot": [ 0.0, 8.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, 0.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 16.0 ] + } + ] + }, + { + "name": "spines_top_back", + "parent": "body", + "pivot": [ 0.0, 8.0, 4.0 ], + "bind_pose_rotation": [ -45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, 4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 16.0 ] + } + ] + }, + { + "name": "spines_bottom_front", + "parent": "body", + "pivot": [ 0.0, 0.0, -4.0 ], + "bind_pose_rotation": [ -45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -1.0, -4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 19.0 ] + } + ] + }, + { + "name": "spines_bottom_mid", + "parent": "body", + "pivot": [ 0.0, -1.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -1.0, 0.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 19.0 ] + } + ] + }, + { + "name": "spines_bottom_back", + "parent": "body", + "pivot": [ 0.0, 0.0, 4.0 ], + "bind_pose_rotation": [ 45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -1.0, 4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 19.0 ] + } + ] + }, + { + "name": "spines_left_front", + "parent": "body", + "pivot": [ 4.0, 0.0, -4.0 ], + "bind_pose_rotation": [ 0.0, 45.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 0.0, -4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 0.0, 16.0 ] + } + ] + }, + { + "name": "spines_left_mid", + "parent": "body", + "pivot": [ 4.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 0.0, 0.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 4.0, 16.0 ], + "mirror": true + } + ] + }, + { + "name": "spines_left_back", + "parent": "body", + "pivot": [ 4.0, 0.0, 4.0 ], + "bind_pose_rotation": [ 0.0, -45.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 0.0, 4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 8.0, 16.0 ], + "mirror": true + } + ] + }, + { + "name": "spines_right_front", + "parent": "body", + "pivot": [ -4.0, 0.0, -4.0 ], + "bind_pose_rotation": [ 0.0, -45.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 4.0, 16.0 ] + } + ] + }, + { + "name": "spines_right_mid", + "parent": "body", + "pivot": [ -4.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 0.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 8.0, 16.0 ] + } + ] + }, + { + "name": "spines_right_back", + "parent": "body", + "pivot": [ -4.0, 0.0, 4.0 ], + "bind_pose_rotation": [ 0.0, 45.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 8.0, 16.0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/pufferfish_v1.0.geo.json b/resource_pack/models/entity/pufferfish_v1.0.geo.json new file mode 100644 index 0000000..3da1b4e --- /dev/null +++ b/resource_pack/models/entity/pufferfish_v1.0.geo.json @@ -0,0 +1,425 @@ +{ + "format_version": "1.8.0", + "geometry.pufferfish.small": { + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "locators": { + "lead": [ 0.0, 0.0, 0.0 ] + }, + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.5, 0.0, -1.5 ], + "size": [ 3.0, 2.0, 3.0 ], + "uv": [ 0.0, 27.0 ] + }, + { + "origin": [ 0.5, 2.0, -1.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 24.0, 6.0 ] + }, + { + "origin": [ -1.5, 2.0, -1.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 28.0, 6.0 ] + } + ] + }, + { + "name": "tailfin", + "parent": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.5, 1.0, 1.5 ], + "size": [ 3.0, 0.0, 3.0 ], + "uv": [ -3.0, 0.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body", + "pivot": [ 4.0, 7.0, 3.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.5, 0.0, -1.4904 ], + "size": [ 1.0, 1.0, 2.0 ], + "uv": [ 25.0, 0.0 ], + "mirror": true + } + ] + }, + { + "name": "rightFin", + "parent": "body", + "pivot": [ -4.0, 7.0, 1.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.4968, 0.0, -1.492 ], + "size": [ 1.0, 1.0, 2.0 ], + "uv": [ 25.0, 0.0 ] + } + ] + } + ] + }, + "geometry.pufferfish.mid": { + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "parent": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.5, 1.0, -2.5 ], + "size": [ 5.0, 5.0, 5.0 ], + "uv": [ 12.0, 22.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body", + "pivot": [ 2.5, 5.0, 0.5 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.5, 4.0, -1.5 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 3.0 ] + } + ] + }, + { + "name": "rightFin", + "parent": "body", + "pivot": [ -2.5, 5.0, 0.5 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.5, 4.0, -1.5 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 0.0 ] + } + ] + }, + { + "name": "spines_top_front", + "parent": "body", + "pivot": [ 0, 6.0, -2.5 ], + "rotation": [ 45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.5, 6.0, -2.5 ], + "size": [ 5.0, 1.0, 0.0 ], + "uv": [ 19.0, 17.0 ] + } + ] + }, + { + "name": "spines_top_back", + "parent": "body", + "pivot": [ 0, 6.0, 2.5 ], + "rotation": [ -45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.5, 6.0, 2.5 ], + "size": [ 5.0, 1.0, 0.0 ], + "uv": [ 11.0, 17.0 ] + } + ] + }, + { + "name": "spines_bottom_front", + "parent": "body", + "pivot": [ 0, 1.0, -2.5 ], + "rotation": [ -45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.5, 0.0, -2.5 ], + "size": [ 5.0, 1.0, 0.0 ], + "uv": [ 18.0, 20.0 ] + } + ] + }, + { + "name": "spines_bottom_back", + "parent": "body", + "pivot": [ 0.0, 1.0, 2.5 ], + "rotation": [ 45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.5, 0.0, 2.5 ], + "size": [ 5.0, 1.0, 0.0 ], + "uv": [ 18.0, 20.0 ] + } + ] + }, + { + "name": "spines_left_front", + "parent": "body", + "pivot": [ 2.5, 0.0, -2.5 ], + "rotation": [ 0.0, 45.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.5, 1.0, -2.5 ], + "size": [ 1.0, 5.0, 0.0 ], + "uv": [ 1.0, 17.0 ] + } + ] + }, + { + "name": "spines_left_back", + "parent": "body", + "pivot": [ 2.5, 0.0, 2.5 ], + "rotation": [ 0.0, -45.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.5, 1.0, 2.5 ], + "size": [ 1.0, 5.0, 0.0 ], + "uv": [ 1.0, 17.0 ] + } + ] + }, + { + "name": "spines_right_front", + "parent": "body", + "pivot": [ -2.5, 0.0, -2.5 ], + "rotation": [ 0.0, -45.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.5, 1.0, -2.5 ], + "size": [ 1.0, 5.0, 0.0 ], + "uv": [ 5.0, 17.0 ] + } + ] + }, + { + "name": "spines_right_back", + "parent": "body", + "pivot": [ -2.5, 0.0, 2.5 ], + "rotation": [ 0.0, 45.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.5, 1.0, 2.5 ], + "size": [ 1.0, 5.0, 0.0 ], + "uv": [ 9.0, 17.0 ] + } + ] + } + ] + }, + "geometry.pufferfish.large": { + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 0.0, 0.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body", + "pivot": [ 4.0, 7.0, 3.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 6.0, -2.9904 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 3.0 ] + } + ] + }, + { + "name": "rightFin", + "parent": "body", + "pivot": [ -4.0, 7.0, 1.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.9968, 6.0, -2.992 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 24.0, 0.0 ] + } + ] + }, + { + "name": "spines_top_front", + "parent": "body", + "pivot": [ -4.0, 8.0, -4.0 ], + "rotation": [ 45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, -4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 16.0 ] + } + ] + }, + { + "name": "spines_top_mid", + "parent": "body", + "pivot": [ 0.0, 8.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, 0.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 16.0 ] + } + ] + }, + { + "name": "spines_top_back", + "parent": "body", + "pivot": [ 0.0, 8.0, 4.0 ], + "rotation": [ -45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 8.0, 4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 16.0 ] + } + ] + }, + { + "name": "spines_bottom_front", + "parent": "body", + "pivot": [ 0.0, 0.0, -4.0 ], + "rotation": [ -45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -1.0, -4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 19.0 ] + } + ] + }, + { + "name": "spines_bottom_mid", + "parent": "body", + "pivot": [ 0.0, -1.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -1.0, 0.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 19.0 ] + } + ] + }, + { + "name": "spines_bottom_back", + "parent": "body", + "pivot": [ 0.0, 0.0, 4.0 ], + "rotation": [ 45.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -1.0, 4.0 ], + "size": [ 8.0, 1.0, 1.0 ], + "uv": [ 14.0, 19.0 ] + } + ] + }, + { + "name": "spines_left_front", + "parent": "body", + "pivot": [ 4.0, 0.0, -4.0 ], + "rotation": [ 0.0, 45.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 0.0, -4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 0.0, 16.0 ] + } + ] + }, + { + "name": "spines_left_mid", + "parent": "body", + "pivot": [ 4.0, 0.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 0.0, 0.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 4.0, 16.0 ], + "mirror": true + } + ] + }, + { + "name": "spines_left_back", + "parent": "body", + "pivot": [ 4.0, 0.0, 4.0 ], + "rotation": [ 0.0, -45.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 0.0, 4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 8.0, 16.0 ], + "mirror": true + } + ] + }, + { + "name": "spines_right_front", + "parent": "body", + "pivot": [ -4.0, 0.0, -4.0 ], + "rotation": [ 0.0, -45.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 4.0, 16.0 ] + } + ] + }, + { + "name": "spines_right_mid", + "parent": "body", + "pivot": [ -4.0, 0.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 0.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 8.0, 16.0 ] + } + ] + }, + { + "name": "spines_right_back", + "parent": "body", + "pivot": [ -4.0, 0.0, 4.0 ], + "rotation": [ 0.0, 45.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 4.0 ], + "size": [ 1.0, 8.0, 1.0 ], + "uv": [ 8.0, 16.0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/rabbit.geo.json b/resource_pack/models/entity/rabbit.geo.json new file mode 100644 index 0000000..9bea701 --- /dev/null +++ b/resource_pack/models/entity/rabbit.geo.json @@ -0,0 +1,178 @@ +{ + "format_version": "1.8.0", + "geometry.rabbit.v1.8": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "rearFootLeft", + "pivot": [ 3.0, 6.5, 3.7 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ 2.0, 0.0, 0.0 ], + "size": [ 2.0, 1.0, 7.0 ], + "uv": [ 8, 24 ] + } + ] + }, + { + "name": "rearFootRight", + "pivot": [ -3.0, 6.5, 3.7 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ -4.0, 0.0, 0.0 ], + "size": [ 2.0, 1.0, 7.0 ], + "uv": [ 26, 24 ] + } + ] + }, + { + "name": "haunchLeft", + "pivot": [ 3.0, 6.5, 3.7 ], + "bind_pose_rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ 2.0, 2.5, 3.7 ], + "size": [ 2.0, 4.0, 5.0 ], + "uv": [ 16, 15 ] + } + ] + }, + { + "name": "haunchRight", + "pivot": [ -3.0, 6.5, 3.7 ], + "bind_pose_rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ -4.0, 2.5, 3.7 ], + "size": [ 2.0, 4.0, 5.0 ], + "uv": [ 30, 15 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 5.0, 8.0 ], + "bind_pose_rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -3.0, 2.0, -2.0 ], + "size": [ 6.0, 5.0, 10.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "frontLegLeft", + "pivot": [ 3.0, 7.0, -1.0 ], + "bind_pose_rotation": [ -10.0, 0.0, 0.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ 2.0, 0.0, -2.0 ], + "size": [ 2.0, 7.0, 2.0 ], + "uv": [ 8, 15 ] + } + ] + }, + { + "name": "frontLegRight", + "pivot": [ -3.0, 7.0, -1.0 ], + "bind_pose_rotation": [ -10.0, 0.0, 0.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 2.0, 7.0, 2.0 ], + "uv": [ 0, 15 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 8.0, -1.0 ], + "locators": { + "lead": [ 0.0, 8.0, -1.0 ] + }, + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ -2.5, 8.0, -6.0 ], + "size": [ 5.0, 4.0, 5.0 ], + "uv": [ 32, 0 ] + } + ] + }, + { + "name": "earRight", + "pivot": [ 0.0, 8.0, -1.0 ], + "bind_pose_rotation": [ 0.0, -15.0, 0.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ -2.5, 12.0, -2.0 ], + "size": [ 2.0, 5.0, 1.0 ], + "uv": [ 58, 0 ] + } + ] + }, + { + "name": "earLeft", + "pivot": [ 0.0, 8.0, -1.0 ], + "bind_pose_rotation": [ 0.0, 15.0, 0.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ 0.5, 12.0, -2.0 ], + "size": [ 2.0, 5.0, 1.0 ], + "uv": [ 52, 0 ] + } + ] + }, + { + "name": "tail", + "pivot": [ 0.0, 4.0, 7.0 ], + "bind_pose_rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ -1.5, 2.5, 7.0 ], + "size": [ 3.0, 3.0, 2.0 ], + "uv": [ 52, 6 ] + } + ] + }, + { + "name": "nose", + "pivot": [ 0.0, 8.0, -1.0 ], + "mirror": true, + "parent": "body", + "cubes": [ + { + "origin": [ -0.5, 9.5, -6.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 32, 9 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/rabbit_v1.0.geo.json b/resource_pack/models/entity/rabbit_v1.0.geo.json new file mode 100644 index 0000000..3586441 --- /dev/null +++ b/resource_pack/models/entity/rabbit_v1.0.geo.json @@ -0,0 +1,167 @@ +{ + "format_version": "1.8.0", + "geometry.rabbit": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "rearFootLeft", + "pivot": [ 3.0, 6.5, 3.7 ], + "mirror": true, + "cubes": [ + { + "origin": [ 2.0, 0.0, 0.0 ], + "size": [ 2.0, 1.0, 7.0 ], + "uv": [ 8, 24 ] + } + ] + }, + { + "name": "rearFootRight", + "pivot": [ -3.0, 6.5, 3.7 ], + "mirror": true, + "cubes": [ + { + "origin": [ -4.0, 0.0, 0.0 ], + "size": [ 2.0, 1.0, 7.0 ], + "uv": [ 26, 24 ] + } + ] + }, + { + "name": "haunchLeft", + "pivot": [ 3.0, 6.5, 3.7 ], + "rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 2.0, 2.5, 3.7 ], + "size": [ 2.0, 4.0, 5.0 ], + "uv": [ 16, 15 ] + } + ] + }, + { + "name": "haunchRight", + "pivot": [ -3.0, 6.5, 3.7 ], + "rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -4.0, 2.5, 3.7 ], + "size": [ 2.0, 4.0, 5.0 ], + "uv": [ 30, 15 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 5.0, 8.0 ], + "rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -3.0, 2.0, -2.0 ], + "size": [ 6.0, 5.0, 10.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "frontLegLeft", + "pivot": [ 3.0, 7.0, -1.0 ], + "rotation": [ -10.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 2.0, 0.0, -2.0 ], + "size": [ 2.0, 7.0, 2.0 ], + "uv": [ 8, 15 ] + } + ] + }, + { + "name": "frontLegRight", + "pivot": [ -3.0, 7.0, -1.0 ], + "rotation": [ -10.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 2.0, 7.0, 2.0 ], + "uv": [ 0, 15 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 8.0, -1.0 ], + "locators": { + "lead": [ 0.0, 8.0, -1.0 ] + }, + "mirror": true, + "cubes": [ + { + "origin": [ -2.5, 8.0, -6.0 ], + "size": [ 5.0, 4.0, 5.0 ], + "uv": [ 32, 0 ] + } + ] + }, + { + "name": "earRight", + "pivot": [ 0.0, 8.0, -1.0 ], + "rotation": [ 0.0, -15.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -2.5, 12.0, -2.0 ], + "size": [ 2.0, 5.0, 1.0 ], + "uv": [ 58, 0 ] + } + ] + }, + { + "name": "earLeft", + "pivot": [ 0.0, 8.0, -1.0 ], + "rotation": [ 0.0, 15.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 0.5, 12.0, -2.0 ], + "size": [ 2.0, 5.0, 1.0 ], + "uv": [ 52, 0 ] + } + ] + }, + { + "name": "tail", + "pivot": [ 0.0, 4.0, 7.0 ], + "rotation": [ -20.0, 0.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -1.5, 2.5, 7.0 ], + "size": [ 3.0, 3.0, 2.0 ], + "uv": [ 52, 6 ] + } + ] + }, + { + "name": "nose", + "pivot": [ 0.0, 8.0, -1.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ -0.5, 9.5, -6.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 32, 9 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/ravager.geo.json b/resource_pack/models/entity/ravager.geo.json new file mode 100644 index 0000000..7289e39 --- /dev/null +++ b/resource_pack/models/entity/ravager.geo.json @@ -0,0 +1,310 @@ +{ + "format_version": "1.8.0", + "geometry.ravager": { + "bones": [ + { + "pivot": [ + 0.0, + 19.0, + 2.0 + ], + "rotation": [ + 90.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -7.0, + 10.0, + -2.0 + ], + "size": [ + 14.0, + 16.0, + 20.0 + ], + "uv": [ + 0.0, + 55.0 + ] + }, + { + "origin": [ + -6.0, + -3.0, + -2.0 + ], + "size": [ + 12.0, + 13.0, + 18.0 + ], + "uv": [ + 0.0, + 91.0 + ] + } + ], + "name": "body" + }, + { + "pivot": [ + 0.0, + 15.0, + -10.0 + ], + "cubes": [ + { + "origin": [ + -8.0, + 13.0, + -24.0 + ], + "size": [ + 16.0, + 3.0, + 16.0 + ], + "uv": [ + 0.0, + 36.0 + ] + } + ], + "name": "mouth", + "parent": "head" + }, + { + "pivot": [ + 0.0, + 20.0, + -20.0 + ], + "cubes": [ + { + "origin": [ + -5.0, + 21.0, + -10.0 + ], + "size": [ + 10.0, + 10.0, + 18.0 + ], + "uv": [ + 68.0, + 73.0 + ] + } + ], + "name": "neck" + }, + { + "locators": { + "stun": [ 0.0, 32.0, -15.0 ] + }, + "pivot": [ + 0.0, + 28.0, + -10.0 + ], + "cubes": [ + { + "origin": [ + -8.0, + 14.0, + -24.0 + ], + "size": [ + 16.0, + 20.0, + 16.0 + ], + "uv": [ + 0.0, + 0.0 + ] + }, + { + "origin": [ + -2.0, + 12.0, + -28.0 + ], + "size": [ + 4.0, + 8.0, + 4.0 + ], + "uv": [ + 0.0, + 0.0 + ] + } + ], + "name": "head", + "parent": "neck" + }, + { + "pivot": [ + -12.0, + 30.0, + 22.0 + ], + "cubes": [ + { + "origin": [ + -12.0, + 0.0, + 17.0 + ], + "size": [ + 8.0, + 37.0, + 8.0 + ], + "uv": [ + 96.0, + 0.0 + ] + } + ], + "name": "leg0" + }, + { + "pivot": [ + 4.0, + 30.0, + 22.0 + ], + "cubes": [ + { + "origin": [ + 4.0, + 0.0, + 17.0 + ], + "size": [ + 8.0, + 37.0, + 8.0 + ], + "uv": [ + 96.0, + 0.0 + ] + } + ], + "name": "leg1" + }, + { + "pivot": [ + -4.0, + 26.0, + -4.0 + ], + "cubes": [ + { + "origin": [ + -12.0, + 0.0, + -8.0 + ], + "size": [ + 8.0, + 37.0, + 8.0 + ], + "uv": [ + 64.0, + 0.0 + ] + } + ], + "name": "leg2" + }, + { + "pivot": [ + -4.0, + 26.0, + -4.0 + ], + "cubes": [ + { + "origin": [ + 4.0, + 0.0, + -8.0 + ], + "size": [ + 8.0, + 37.0, + 8.0 + ], + "uv": [ + 64.0, + 0.0 + ] + } + ], + "name": "leg3" + }, + { + "pivot": [ + -5.0, + 27.0, + -19.0 + ], + "rotation": [ + 60.0, + 0.0, + 0.0 + ], + "cubes": [ + { + "origin": [ + -10.0, + 27.0, + -20.0 + ], + "size": [ + 2.0, + 14.0, + 4.0 + ], + "uv": [ + 74.0, + 55.0 + ] + }, + { + "origin": [ + 8.0, + 27.0, + -20.0 + ], + "size": [ + 2.0, + 14.0, + 4.0 + ], + "uv": [ + 74.0, + 55.0 + ] + } + ], + "name": "horns", + "parent": "head" + } + ], + "texturewidth": 128, + "textureheight": 128, + "visible_bounds_width": 4.0, + "visible_bounds_height": 3.5, + "visible_bounds_offset": [ 0, 1.25, 0 ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/ruler_idle.geo.json b/resource_pack/models/entity/ruler_idle.geo.json new file mode 100644 index 0000000..874b614 --- /dev/null +++ b/resource_pack/models/entity/ruler_idle.geo.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.ruler_idle", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 3, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-3, 2, -3], "size": [6, 15, 6], "uv": [0, 0]}, + { + "origin": [-2, 1, -2], + "size": [4, 1, 4], + "uv": { + "north": {"uv": [52, 4], "uv_size": [4, 2]}, + "east": {"uv": [60, 2], "uv_size": [4, 2]}, + "south": {"uv": [60, 4], "uv_size": [4, 2]}, + "west": {"uv": [56, 4], "uv_size": [4, 2]}, + "up": {"uv": [52, 0], "uv_size": [4, 4]}, + "down": {"uv": [56, 4], "uv_size": [4, -4]} + } + }, + { + "origin": [-1, 0, -1], + "size": [2, 1, 2], + "uv": { + "north": {"uv": [52, 4], "uv_size": [4, 2]}, + "east": {"uv": [60, 2], "uv_size": [4, 2]}, + "south": {"uv": [60, 4], "uv_size": [4, 2]}, + "west": {"uv": [56, 4], "uv_size": [4, 2]}, + "up": {"uv": [52, 0], "uv_size": [4, 4]}, + "down": {"uv": [56, 4], "uv_size": [4, -4]} + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/ruler_pointer_selected.geo.json b/resource_pack/models/entity/ruler_pointer_selected.geo.json new file mode 100644 index 0000000..e901b0e --- /dev/null +++ b/resource_pack/models/entity/ruler_pointer_selected.geo.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.ruler_pointer_selected", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 3, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [0, 0.75, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-3, 2, -3], "size": [6, 15, 6], "uv": [0, 0]}, + { + "origin": [-2, 1, -2], + "size": [4, 1, 4], + "uv": { + "north": {"uv": [52, 4], "uv_size": [4, 2]}, + "east": {"uv": [60, 2], "uv_size": [4, 2]}, + "south": {"uv": [60, 4], "uv_size": [4, 2]}, + "west": {"uv": [56, 4], "uv_size": [4, 2]}, + "up": {"uv": [52, 0], "uv_size": [4, 4]}, + "down": {"uv": [56, 4], "uv_size": [4, -4]} + } + }, + { + "origin": [-1, 0, -1], + "size": [2, 1, 2], + "uv": { + "north": {"uv": [52, 4], "uv_size": [4, 2]}, + "east": {"uv": [60, 2], "uv_size": [4, 2]}, + "south": {"uv": [60, 4], "uv_size": [4, 2]}, + "west": {"uv": [56, 4], "uv_size": [4, 2]}, + "up": {"uv": [52, 0], "uv_size": [4, 4]}, + "down": {"uv": [56, 4], "uv_size": [4, -4]} + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/saddle.geo.json b/resource_pack/models/entity/saddle.geo.json new file mode 100644 index 0000000..f68e5f8 --- /dev/null +++ b/resource_pack/models/entity/saddle.geo.json @@ -0,0 +1,29 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.saddle", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 3, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 0.75, 0 ] + }, + "bones": [ + { + "name": "body", + "pivot": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -5, 6, -9 ], + "size": [ 10, 8, 16 ], + "inflate": 0.55, + "uv": [ 12, 16 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/salmon.geo.json b/resource_pack/models/entity/salmon.geo.json new file mode 100644 index 0000000..487a443 --- /dev/null +++ b/resource_pack/models/entity/salmon.geo.json @@ -0,0 +1,112 @@ +{ + "format_version": "1.8.0", + "geometry.salmon": { + "visible_bounds_width": 0.5, + "visible_bounds_height": 0.5, + "visible_bounds_offset": [ 0.0, 0.5, 0.0 ], + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body_front", + "pivot": [ 0.0, 0.0, -4.0 ], + "cubes": [ + { + "origin": [ -1.5, 3.5, -4.0 ], + "size": [ 3.0, 5.0, 8.0 ], + "uv": [ 0.0, 0.0 ] + } + ] + }, + { + "name": "body_back", + "parent": "body_front", + "pivot": [ 0.0, 0.0, 4.0 ], + "cubes": [ + { + "origin": [ -1.5, 3.5, 4.0 ], + "size": [ 3.0, 5.0, 8.0 ], + "uv": [ 0.0, 13.0 ] + } + ] + }, + { + "name": "dorsal_front", + "parent": "body_front", + "pivot": [ 0.0, 5.0, 2.0 ], + "cubes": [ + { + "origin": [ 0.0, 8.5, 2.0 ], + "size": [ 0.0, 2.0, 2.0 ], + "uv": [ 4.0, 2.0 ] + } + ] + }, + { + "name": "dorsal_back", + "parent": "body_back", + "pivot": [ 0.0, 5.0, 4.0 ], + "cubes": [ + { + "origin": [ 0.0, 8.5, 4.0 ], + "size": [ 0.0, 2.0, 3.0 ], + "uv": [ 2.0, 3.0 ] + } + ] + }, + { + "name": "tailfin", + "parent": "body_back", + "pivot": [ 0.0, 0.0, 12.0 ], + "cubes": [ + { + "origin": [ 0.0, 3.5, 12.0 ], + "size": [ 0.0, 5.0, 6.0 ], + "uv": [ 20.0, 10.0 ] + } + ] + }, + { + "name": "head", + "parent": "body_front", + "pivot": [ 0.0, 3.0, -4.0 ], + "locators": { + "lead": [ 0.0, 3.0, -4.0 ] + }, + "cubes": [ + { + "origin": [ -1.0, 4.5, -7.0 ], + "size": [ 2.0, 4.0, 3.0 ], + "uv": [ 22.0, 0.0 ] + } + ] + }, + { + "name": "leftFin", + "parent": "body_front", + "pivot": [ 1.5, 1.0, -4.0 ], + "rotation": [ 0.0, 0.0, 35.0 ], + "cubes": [ + { + "origin": [ -0.50752, 3.86703, -4.0 ], + "size": [ 2.0, 0.0, 2.0 ], + "uv": [ 2.0, 0.0 ] + } + ] + }, + { + "name": "rightFin", + "parent": "body_front", + "pivot": [ -1.5, 1.0, -4.0 ], + "rotation": [ 0.0, 0.0, -35.0 ], + "cubes": [ + { + "origin": [ -1.49258, 3.86703, -4.0 ], + "size": [ 2.0, 0.0, 2.0 ], + "uv": [ -2.0, 0.0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/sheep.geo.json b/resource_pack/models/entity/sheep.geo.json new file mode 100644 index 0000000..32fa554 --- /dev/null +++ b/resource_pack/models/entity/sheep.geo.json @@ -0,0 +1,171 @@ +{ + "format_version": "1.8.0", + "geometry.sheep.sheared.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.75, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 13.0, -5.0 ], + "size": [ 8, 16, 6 ], + "uv": [ 28, 8 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 18.0, -8.0 ], + "locators": { + "lead": [ 0.0, 18.0, -8.0 ] + }, + "cubes": [ + { + "origin": [ -3.0, 16.0, -14.0 ], + "size": [ 6, 6, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + }, + "geometry.sheep.v1.8:geometry.sheep.sheared.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.75, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 18.0, -8.0 ], + "cubes": [ + { + "origin": [ -3.0, 16.0, -12.0 ], + "size": [ 6, 6, 6 ], + "uv": [ 0, 32 ], + "inflate": 0.6 + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 13.0, -5.0 ], + "size": [ 8, 16, 6 ], + "uv": [ 28, 40 ], + "inflate": 1.75 + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -5.0, 6.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + }, + + { + "name": "leg1", + "parent": "body", + "pivot": [ 3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 1.0, 6.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + }, + + { + "name": "leg2", + "parent": "body", + "pivot": [ -3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.0, 6.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + }, + + { + "name": "leg3", + "parent": "body", + "pivot": [ 3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.0, 6.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/sheep_v1.0.geo.json b/resource_pack/models/entity/sheep_v1.0.geo.json new file mode 100644 index 0000000..b93a495 --- /dev/null +++ b/resource_pack/models/entity/sheep_v1.0.geo.json @@ -0,0 +1,163 @@ +{ + "format_version": "1.8.0", + "geometry.sheep.sheared": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.75, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 13.0, -5.0 ], + "size": [ 8, 16, 6 ], + "uv": [ 28, 8 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 18.0, -8.0 ], + "locators": { + "lead": [ 0.0, 18.0, -8.0 ] + }, + "cubes": [ + { + "origin": [ -3.0, 16.0, -14.0 ], + "size": [ 6, 6, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leg3", + "pivot": [ 3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + }, + "geometry.sheep:geometry.sheep.sheared": { + "visible_bounds_width": 2, + "visible_bounds_height": 1.75, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 18.0, -8.0 ], + "cubes": [ + { + "origin": [ -3.0, 16.0, -12.0 ], + "size": [ 6, 6, 6 ], + "uv": [ 0, 32 ], + "inflate": 0.6 + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 13.0, -5.0 ], + "size": [ 8, 16, 6 ], + "uv": [ 28, 40 ], + "inflate": 1.75 + } + ] + }, + { + "name": "leg0", + "pivot": [ -3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -5.0, 6.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + }, + + { + "name": "leg1", + "pivot": [ 3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 1.0, 6.0, 5.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + }, + + { + "name": "leg2", + "pivot": [ -3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.0, 6.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + }, + + { + "name": "leg3", + "pivot": [ 3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.0, 6.0, -7.0 ], + "size": [ 4, 6, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.5 + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/shield.geo.json b/resource_pack/models/entity/shield.geo.json new file mode 100644 index 0000000..d31fc0c --- /dev/null +++ b/resource_pack/models/entity/shield.geo.json @@ -0,0 +1,31 @@ +{ + "format_version": "1.16.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.shield", + "texture_width": 64, + "texture_height": 64 + }, + "bones": [ + { + "name": "shield", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "pivot": [ 1.0, 15.5, 3.0 ], + "cubes": [ + { + "origin": [ 0.0, 25.0, 0.0 ], + "size": [ 2.0, 6.0, 6.0 ], + "uv": [ 26, 0 ] + }, + { + "origin": [ -5.0, 17.0, -1.0 ], + "size": [ 12.0, 22.0, 1.0 ], + "uv": [ 0, 0 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/shulker.geo.json b/resource_pack/models/entity/shulker.geo.json new file mode 100644 index 0000000..9834e4f --- /dev/null +++ b/resource_pack/models/entity/shulker.geo.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.8.0", + "geometry.shulker.v1.8": { + "visible_bounds_width": 3, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "lid", + "parent": "base", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 4.0, -8.0 ], + "size": [ 16.0, 12.0, 16.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "base", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 0.0, -8.0 ], + "size": [ 16.0, 8.0, 16.0 ], + "uv": [ 0, 28 ] + } + ] + }, + { + "name": "head", + "parent": "base", + "pivot": [ 0.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 6.0, -3.0 ], + "size": [ 6.0, 6.0, 6.0 ], + "uv": [ 0, 52 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/shulker_bullet.geo.json b/resource_pack/models/entity/shulker_bullet.geo.json new file mode 100644 index 0000000..1777cef --- /dev/null +++ b/resource_pack/models/entity/shulker_bullet.geo.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "geometry.shulker_bullet": { + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, -4.0, -1.0 ], + "size": [ 8, 8, 2 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -1.0, -4.0, -4.0 ], + "size": [ 2, 8, 8 ], + "uv": [ 0, 10 ] + }, + { + "origin": [ -4.0, -1.0, -4.0 ], + "size": [ 8, 2, 8 ], + "uv": [ 20, 0 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/shulker_v1.0.geo.json b/resource_pack/models/entity/shulker_v1.0.geo.json new file mode 100644 index 0000000..fb37ea1 --- /dev/null +++ b/resource_pack/models/entity/shulker_v1.0.geo.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.8.0", + "geometry.shulker": { + "visible_bounds_width": 3, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "lid", + "pivot": [ 0.0, 0.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 4.0, -8.0 ], + "size": [ 16.0, 12.0, 16.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "base", + "pivot": [ 0.0, 0.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 0.0, -8.0 ], + "size": [ 16.0, 8.0, 16.0 ], + "uv": [ 0, 28 ] + } + ] + }, + { + "name": "head", + "pivot": [ 0.0, 12.0, 0.0 ], + "rotation": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 6.0, -3.0 ], + "size": [ 6.0, 6.0, 6.0 ], + "uv": [ 0, 52 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/silverfish.geo.json b/resource_pack/models/entity/silverfish.geo.json new file mode 100644 index 0000000..1a7c2d2 --- /dev/null +++ b/resource_pack/models/entity/silverfish.geo.json @@ -0,0 +1,131 @@ +{ + "format_version": "1.8.0", + "geometry.silverfish": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "bodyPart_0", + "parent": "bodyPart_2", + "pivot": [ 0.0, 2.0, -3.5 ], + "cubes": [ + { + "origin": [ -1.5, 0.0, -4.5 ], + "size": [ 3.0, 2.0, 2.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "bodyPart_1", + "parent": "bodyPart_2", + "pivot": [ 0.0, 3.0, -1.5 ], + "cubes": [ + { + "origin": [ -2.0, 0.0, -2.5 ], + "size": [ 4.0, 3.0, 2.0 ], + "uv": [ 0, 4 ] + } + ] + }, + { + "name": "bodyPart_2", + "pivot": [ 0.0, 4.0, 1.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -0.5 ], + "size": [ 6.0, 4.0, 3.0 ], + "uv": [ 0, 9 ] + } + ] + }, + { + "name": "bodyPart_3", + "parent": "bodyPart_2", + "pivot": [ 0.0, 3.0, 4.0 ], + "cubes": [ + { + "origin": [ -1.5, 0.0, 2.5 ], + "size": [ 3.0, 3.0, 3.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "bodyPart_4", + "parent": "bodyPart_2", + "pivot": [ 0.0, 2.0, 7.0 ], + "cubes": [ + { + "origin": [ -1.0, 0.0, 5.5 ], + "size": [ 2.0, 2.0, 3.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "bodyPart_5", + "parent": "bodyPart_2", + "pivot": [ 0.0, 1.0, 9.5 ], + "cubes": [ + { + "origin": [ -1.0, 0.0, 8.5 ], + "size": [ 2.0, 1.0, 2.0 ], + "uv": [ 11, 0 ] + } + ] + }, + { + "name": "bodyPart_6", + "parent": "bodyPart_2", + "pivot": [ 0.0, 1.0, 11.5 ], + "cubes": [ + { + "origin": [ -0.5, 0.0, 10.5 ], + "size": [ 1.0, 1.0, 2.0 ], + "uv": [ 13, 4 ] + } + ] + }, + { + "name": "bodyLayer_0", + "parent": "bodyPart_2", + "pivot": [ 0.0, 8.0, 1.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -0.5 ], + "size": [ 10.0, 8.0, 3.0 ], + "uv": [ 20, 0 ] + } + ] + }, + { + "name": "bodyLayer_1", + "parent": "bodyPart_4", + "pivot": [ 0.0, 4.0, 7.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, 5.5 ], + "size": [ 6.0, 4.0, 3.0 ], + "uv": [ 20, 11 ] + } + ] + }, + { + "name": "bodyLayer_2", + "parent": "bodyPart_1", + "pivot": [ 0.0, 5.0, -1.5 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -3.0 ], + "size": [ 6.0, 5.0, 2.0 ], + "uv": [ 20, 18 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/skeleton.geo.json b/resource_pack/models/entity/skeleton.geo.json new file mode 100644 index 0000000..15ef729 --- /dev/null +++ b/resource_pack/models/entity/skeleton.geo.json @@ -0,0 +1,121 @@ +{ + "format_version": "1.8.0", + "geometry.skeleton.v1.8": { + "texturewidth": 64, + "textureheight": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "parent": "waist" + }, + + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "parent": "body" + }, + + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true, + "parent": "head" + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "parent": "body" + }, + + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true, + "parent": "body" + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + { + "name": "rightLeg", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "parent": "body" + }, + { + "name": "leftLeg", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true, + "parent": "body" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/skeleton.v1.0.geo.json b/resource_pack/models/entity/skeleton.v1.0.geo.json new file mode 100644 index 0000000..fc44d09 --- /dev/null +++ b/resource_pack/models/entity/skeleton.v1.0.geo.json @@ -0,0 +1,115 @@ +{ + "format_version": "1.8.0", + "geometry.skeleton": { + "texturewidth": 64, + "textureheight": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "parent": "waist" + }, + + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ] + }, + + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + { + "name": "rightLeg", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leftLeg", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/slime.geo.json b/resource_pack/models/entity/slime.geo.json new file mode 100644 index 0000000..449792d --- /dev/null +++ b/resource_pack/models/entity/slime.geo.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.8.0", + "geometry.slime": { + "visible_bounds_width": 5, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 1.0, -3.0 ], + "size": [ 6.0, 6.0, 6.0 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "eye0", + "parent": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.3, 4.0, -3.5 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 32, 0 ] + } + ] + }, + { + "name": "eye1", + "parent": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.3, 4.0, -3.5 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 32, 4 ] + } + ] + }, + { + "name": "mouth", + "parent": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 2.0, -3.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 32, 8 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/slime_armor.geo.json b/resource_pack/models/entity/slime_armor.geo.json new file mode 100644 index 0000000..76cd018 --- /dev/null +++ b/resource_pack/models/entity/slime_armor.geo.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.8.0", + "geometry.slime.armor": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "eye0", + "parent": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.3, 4.0, -3.5 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 32, 0 ] + } + ] + }, + { + "name": "eye1", + "parent": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.3, 4.0, -3.5 ], + "size": [ 2.0, 2.0, 2.0 ], + "uv": [ 32, 4 ] + } + ] + }, + { + "name": "mouth", + "parent": "cube", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 2.0, -3.5 ], + "size": [ 1.0, 1.0, 1.0 ], + "uv": [ 32, 8 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/sniffer.geo.json b/resource_pack/models/entity/sniffer.geo.json new file mode 100644 index 0000000..d068e0b --- /dev/null +++ b/resource_pack/models/entity/sniffer.geo.json @@ -0,0 +1,123 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.sniffer", + "texture_width": 192, + "texture_height": 192, + "visible_bounds_width": 4, + "visible_bounds_height": 3.5, + "visible_bounds_offset": [0, 1.25, 0] + }, + "bones": [ + { + "name": "bone", + "pivot": [0, 19, 0] + }, + { + "name": "body", + "parent": "bone", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-12.5, 9, -20], "size": [25, 24, 40], "inflate": 0.5, "uv": [62, 0]}, + {"origin": [-12.5, 4, -20], "size": [25, 29, 40], "uv": [62, 68]}, + {"origin": [-12.5, 8, -20], "size": [25, 0, 40], "uv": [87, 68]} + ], + "locators": { + "lead": [0, 13, -19] + } + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 13.5, -19.4], + "cubes": [ + {"origin": [-6.5, 3, -30.9], "size": [13, 18, 11], "uv": [8, 15]}, + {"origin": [-6.5, 6, -30.9], "size": [13, 0, 11], "uv": [8, 4]} + ] + }, + { + "name": "left_ear", + "parent": "head", + "pivot": [6.4, 21, -23.9], + "cubes": [ + {"origin": [6.4, 2, -26.9], "size": [1, 19, 7], "uv": [2, 0]} + ] + }, + { + "name": "right_ear", + "parent": "head", + "pivot": [-6.4, 21, -23.9], + "cubes": [ + {"origin": [-7.4, 2, -26.9], "size": [1, 19, 7], "uv": [48, 0]} + ] + }, + { + "name": "nose", + "parent": "head", + "pivot": [0, 18, -30.9], + "cubes": [ + {"origin": [-6.5, 18, -39.9], "size": [13, 2, 9], "uv": [10, 45]} + ] + }, + { + "name": "lower_beak", + "parent": "head", + "pivot": [0, 11, -31.9], + "cubes": [ + {"origin": [-6.5, 6, -39.9], "size": [13, 12, 9], "uv": [10, 57]} + ] + }, + { + "name": "right_front_leg", + "parent": "bone", + "pivot": [-7.5, 9, -15], + "cubes": [ + {"origin": [-11, 0, -19], "size": [7, 10, 8], "uv": [32, 87]} + ] + }, + { + "name": "right_mid_leg", + "parent": "bone", + "pivot": [-7.5, 9, 0], + "cubes": [ + {"origin": [-11, 0, -4], "size": [7, 10, 8], "uv": [32, 105]} + ] + }, + { + "name": "right_hind_leg", + "parent": "bone", + "pivot": [-7.5, 9, 15], + "cubes": [ + {"origin": [-11, 0, 11], "size": [7, 10, 8], "uv": [32, 123]} + ] + }, + { + "name": "left_front_leg", + "parent": "bone", + "pivot": [7.5, 9, -15], + "cubes": [ + {"origin": [4, 0, -19], "size": [7, 10, 8], "uv": [0, 87]} + ] + }, + { + "name": "left_mid_leg", + "parent": "bone", + "pivot": [7.5, 9, 0], + "cubes": [ + {"origin": [4, 0, -4], "size": [7, 10, 8], "uv": [0, 105]} + ] + }, + { + "name": "left_hind_leg", + "parent": "bone", + "pivot": [7.5, 9, 15], + "cubes": [ + {"origin": [4, 0, 11], "size": [7, 10, 8], "uv": [0, 123]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/snow_golem.geo.json b/resource_pack/models/entity/snow_golem.geo.json new file mode 100644 index 0000000..c8cbbcd --- /dev/null +++ b/resource_pack/models/entity/snow_golem.geo.json @@ -0,0 +1,79 @@ +{ + "format_version": "1.8.0", + "geometry.snowgolem.v1.8": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "head", + "parent": "piece1", + "pivot": [ 0.0, 20.0, 0.0 ], + "locators": { + "lead": [ 0.0, 20.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 20.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ], + "inflate": -0.5 + } + ] + }, + { + "name": "arm1", + "parent": "piece1", + "pivot": [ 0.0, 18.0, 0.0 ], + "bind_pose_rotation": [ 0.0, 0.0, 57.3 ], + "cubes": [ + { + "origin": [ 1.0, 20.0, -1.0 ], + "size": [ 12, 2, 2 ], + "uv": [ 32, 0 ], + "inflate": -0.5 + } + ] + }, + { + "name": "arm2", + "parent": "piece1", + "pivot": [ 0.0, 18.0, 0.0 ], + "bind_pose_rotation": [ 0.0, 180.0, -57.3 ], + "cubes": [ + { + "origin": [ 1.0, 20.0, -1.0 ], + "size": [ 12, 2, 2 ], + "uv": [ 32, 0 ], + "inflate": -0.5 + } + ] + }, + { + "name": "piece1", + "parent": "piece2", + "pivot": [ 0.0, 11.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 11.0, -5.0 ], + "size": [ 10, 10, 10 ], + "uv": [ 0, 16 ], + "inflate": -0.5 + } + ] + }, + { + "name": "piece2", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, -6.0 ], + "size": [ 12, 12, 12 ], + "uv": [ 0, 36 ], + "inflate": -0.5 + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/snow_golem.v1.0.geo.json b/resource_pack/models/entity/snow_golem.v1.0.geo.json new file mode 100644 index 0000000..e05ce61 --- /dev/null +++ b/resource_pack/models/entity/snow_golem.v1.0.geo.json @@ -0,0 +1,73 @@ +{ + "format_version": "1.8.0", + "geometry.snowgolem": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 20.0, 0.0 ], + "locators": { + "lead": [ 0.0, 20.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 20.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ], + "inflate": -0.5 + } + ] + }, + { + "name": "arm1", + "pivot": [ 0.0, 18.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 16.0, -1.0 ], + "size": [ 12, 2, 2 ], + "uv": [ 32, 0 ], + "inflate": -0.5 + } + ] + }, + { + "name": "arm2", + "pivot": [ 0.0, 18.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 16.0, -1.0 ], + "size": [ 12, 2, 2 ], + "uv": [ 32, 0 ], + "inflate": -0.5 + } + ] + }, + { + "name": "piece1", + "pivot": [ 0.0, 11.0, 0.0 ], + "cubes": [ + { + "origin": [ -5.0, 11.0, -5.0 ], + "size": [ 10, 10, 10 ], + "uv": [ 0, 16 ], + "inflate": -0.5 + } + ] + }, + { + "name": "piece2", + "pivot": [ 0.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, -6.0 ], + "size": [ 12, 12, 12 ], + "uv": [ 0, 36 ], + "inflate": -0.5 + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/spider.geo.json b/resource_pack/models/entity/spider.geo.json new file mode 100644 index 0000000..d4366be --- /dev/null +++ b/resource_pack/models/entity/spider.geo.json @@ -0,0 +1,99 @@ +{ + "format_version": "1.10.0", + "geometry.spider.v1.8": { + "texturewidth": 64, + "textureheight": 32, + "visible_bounds_width": 4, + "visible_bounds_height": 2, + "visible_bounds_offset": [0, 1, 0], + "bones": [ + { + "name": "body0", + "pivot": [0, 9, 0], + "cubes": [ + {"origin": [-3, 6, -3], "size": [6, 6, 6], "uv": [0, 0]} + ] + }, + { + "name": "head", + "parent": "body0", + "pivot": [0, 9, -3], + "cubes": [ + {"origin": [-4, 5, -11], "size": [8, 8, 8], "uv": [32, 4]} + ] + }, + { + "name": "body1", + "parent": "body0", + "pivot": [0, 9, 9], + "cubes": [ + {"origin": [-5, 5, 3], "size": [10, 8, 12], "uv": [0, 12]} + ] + }, + { + "name": "leg0", + "parent": "body0", + "pivot": [-4, 9, 2], + "cubes": [ + {"origin": [-19, 8, 1], "size": [16, 2, 2], "uv": [18, 0]} + ] + }, + { + "name": "leg1", + "parent": "body0", + "pivot": [4, 9, 2], + "cubes": [ + {"origin": [3, 8, 1], "size": [16, 2, 2], "uv": [18, 0], "mirror": true} + ] + }, + { + "name": "leg2", + "parent": "body0", + "pivot": [-4, 9, 1], + "cubes": [ + {"origin": [-19, 8, 0], "size": [16, 2, 2], "uv": [18, 0]} + ] + }, + { + "name": "leg3", + "parent": "body0", + "pivot": [4, 9, 1], + "cubes": [ + {"origin": [3, 8, 0], "size": [16, 2, 2], "uv": [18, 0], "mirror": true} + ] + }, + { + "name": "leg4", + "parent": "body0", + "pivot": [-4, 9, 0], + "cubes": [ + {"origin": [-19, 8, -1], "size": [16, 2, 2], "uv": [18, 0]} + ] + }, + { + "name": "leg5", + "parent": "body0", + "pivot": [4, 9, 0], + "cubes": [ + {"origin": [3, 8, -1], "size": [16, 2, 2], "uv": [18, 0], "mirror": true} + ] + }, + { + "name": "leg6", + "parent": "body0", + "pivot": [-4, 9, -1], + "cubes": [ + {"origin": [-19, 8, -2], "size": [16, 2, 2], "uv": [18, 0]} + ] + }, + { + "name": "leg7", + "parent": "body0", + "pivot": [4, 9, -1], + "cubes": [ + {"origin": [3, 8, -2], "size": [16, 2, 2], "uv": [18, 0], "mirror": true} + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/spider_v1.0.geo.json b/resource_pack/models/entity/spider_v1.0.geo.json new file mode 100644 index 0000000..7211698 --- /dev/null +++ b/resource_pack/models/entity/spider_v1.0.geo.json @@ -0,0 +1,144 @@ +{ + "format_version": "1.8.0", + "geometry.spider": { + "visible_bounds_width": 2, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 9.0, -3.0 ], + "cubes": [ + { + "origin": [ -4.0, 5.0, -11.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 4 ] + } + ] + }, + + { + "name": "body0", + "pivot": [ 0.0, 9.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 6.0, -3.0 ], + "size": [ 6, 6, 6 ], + "uv": [ 0, 0 ] + } + ] + }, + + { + "name": "body1", + "pivot": [ 0.0, 9.0, 9.0 ], + "cubes": [ + { + "origin": [ -5.0, 5.0, 3.0 ], + "size": [ 10, 8, 12 ], + "uv": [ 0, 12 ] + } + ] + }, + + { + "name": "leg0", + "pivot": [ -4.0, 9.0, 2.0 ], + "cubes": [ + { + "origin": [ -19.0, 8.0, 1.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + }, + + { + "name": "leg1", + "pivot": [ 4.0, 9.0, 2.0 ], + "cubes": [ + { + "origin": [ 3.0, 8.0, 1.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + }, + + { + "name": "leg2", + "pivot": [ -4.0, 9.0, 1.0 ], + "cubes": [ + { + "origin": [ -19.0, 8.0, 0.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + }, + + { + "name": "leg3", + "pivot": [ 4.0, 9.0, 1.0 ], + "cubes": [ + { + "origin": [ 3.0, 8.0, 0.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + }, + + { + "name": "leg4", + "pivot": [ -4.0, 9.0, 0.0 ], + "cubes": [ + { + "origin": [ -19.0, 8.0, -1.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + }, + + { + "name": "leg5", + "pivot": [ 4.0, 9.0, 0.0 ], + "cubes": [ + { + "origin": [ 3.0, 8.0, -1.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + }, + + { + "name": "leg6", + "pivot": [ -4.0, 9.0, -1.0 ], + "cubes": [ + { + "origin": [ -19.0, 8.0, -2.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + }, + + { + "name": "leg7", + "pivot": [ 4.0, 9.0, -1.0 ], + "cubes": [ + { + "origin": [ 3.0, 8.0, -2.0 ], + "size": [ 16, 2, 2 ], + "uv": [ 18, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/spyglass.geo.json b/resource_pack/models/entity/spyglass.geo.json new file mode 100644 index 0000000..aa4bab9 --- /dev/null +++ b/resource_pack/models/entity/spyglass.geo.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.16.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.spyglass", + "texture_width": 16, + "texture_height": 16, + "visible_bounds_width": 3, + "visible_bounds_height": 1.5, + "visible_bounds_offset": [ 0, 0.25, 0 ] + }, + "bones": [ + { + "name": "spyglass", + "binding": "q.item_slot_to_bone_name(q.main_hand_item_use_duration > 0.0f ? 'head' : 'main_hand')", + "pivot": [ 0, 0, 0 ], + "cubes": [ + { + "origin": [ -11.1, -0.1, -0.1 ], + "size": [ 6.2, 2.2, 2.2 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -5, 0, 0 ], + "size": [ 5, 2, 2 ], + "uv": [ 0, 4 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/squid.geo.json b/resource_pack/models/entity/squid.geo.json new file mode 100644 index 0000000..1b37e07 --- /dev/null +++ b/resource_pack/models/entity/squid.geo.json @@ -0,0 +1,138 @@ +{ + "format_version": "1.8.0", + "geometry.squid": { + "visible_bounds_width": 3, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -6, -8, -6 ], + "size": [ 12, 16, 12 ], + "uv": [ 0, 0 ] + } + ], + "locators": { + "lead": [ 0, 0, -5 ] + } + }, + + { + "name": "tentacle1", + "parent": "body", + "pivot": [ 5.0, -7.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, -25.0, -1.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, 90, 0 ] + }, + + { + "name": "tentacle2", + "parent": "body", + "pivot": [ 3.5, -7.0, 3.5 ], + "cubes": [ + { + "origin": [ 2.5, -25.0, 2.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, 45, 0 ] + }, + + { + "name": "tentacle3", + "parent": "body", + "pivot": [ 0.0, -7.0, 5.0 ], + "cubes": [ + { + "origin": [ -1.0, -25.0, 4.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, 0, 0 ] + }, + + { + "name": "tentacle4", + "parent": "body", + "pivot": [ -3.5, -7.0, 3.5 ], + "cubes": [ + { + "origin": [ -4.5, -25.0, 2.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -45, 0 ] + }, + + { + "name": "tentacle5", + "parent": "body", + "pivot": [ -5.0, -7.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, -25.0, -1.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -90, 0 ] + }, + + { + "name": "tentacle6", + "parent": "body", + "pivot": [ -3.5, -7.0, -3.5 ], + "cubes": [ + { + "origin": [ -4.5, -25.0, -4.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -135, 0 ] + }, + + { + "name": "tentacle7", + "parent": "body", + "pivot": [ 0.0, -7.0, -5.0 ], + "cubes": [ + { + "origin": [ -1.0, -25.0, -6.0 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -180, 0 ] + }, + + { + "name": "tentacle8", + "parent": "body", + "pivot": [ 3.5, -7.0, -3.5 ], + "cubes": [ + { + "origin": [ 2.5, -25.0, -4.5 ], + "size": [ 2, 18, 2 ], + "uv": [ 48, 0 ] + } + ], + "rotation": [ 0, -225, 0 ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/stray.geo.json b/resource_pack/models/entity/stray.geo.json new file mode 100644 index 0000000..0df613c --- /dev/null +++ b/resource_pack/models/entity/stray.geo.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.8.0", + "geometry.skeleton.stray.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "parent": "waist" + }, + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "locators": { + "lead": [ 0.0, 24.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "parent": "body" + }, + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true, + "parent": "head" + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "parent": "body" + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true, + "parent": "body" + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + { + "name": "rightLeg", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "parent": "body" + }, + { + "name": "leftLeg", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true, + "parent": "body" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/stray_armor.geo.json b/resource_pack/models/entity/stray_armor.geo.json new file mode 100644 index 0000000..3fe9009 --- /dev/null +++ b/resource_pack/models/entity/stray_armor.geo.json @@ -0,0 +1,117 @@ +{ + "format_version": "1.8.0", + "geometry.stray.armor.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "inflate": 0.25 + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6, 15, 1 ], + "neverRender": true + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true, + "inflate": 0.25 + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 0.25, + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/stray_armor_v1.0.geo.json b/resource_pack/models/entity/stray_armor_v1.0.geo.json new file mode 100644 index 0000000..62de78c --- /dev/null +++ b/resource_pack/models/entity/stray_armor_v1.0.geo.json @@ -0,0 +1,110 @@ +{ + "format_version": "1.8.0", + "geometry.stray.armor": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "inflate": 0.25 + }, + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6, 15, 1 ], + "neverRender": true + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true, + "inflate": 0.25 + }, + { + "name": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 0.25 + }, + { + "name": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 0.25, + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/stray_v1.0.geo.json b/resource_pack/models/entity/stray_v1.0.geo.json new file mode 100644 index 0000000..e918ebc --- /dev/null +++ b/resource_pack/models/entity/stray_v1.0.geo.json @@ -0,0 +1,112 @@ +{ + "format_version": "1.8.0", + "geometry.skeleton.stray": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "locators": { + "lead": [ 0.0, 24.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + { + "name": "rightLeg", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leftLeg", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/strider.geo.json b/resource_pack/models/entity/strider.geo.json new file mode 100644 index 0000000..fad69ce --- /dev/null +++ b/resource_pack/models/entity/strider.geo.json @@ -0,0 +1,93 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.strider", + "texture_width": 64, + "texture_height": 128, + "visible_bounds_width": 3, + "visible_bounds_height": 2, + "visible_bounds_offset": [0, 1, 0] + }, + "bones": [ + { + "name": "right_leg", + "pivot": [-4, 16, 0], + "cubes": [ + {"origin": [-6, 0, -2], "size": [4, 16, 4], "uv": [0, 32]} + ] + }, + { + "name": "left_leg", + "pivot": [4, 16, 0], + "cubes": [ + {"origin": [2, 0, -2], "size": [4, 16, 4], "uv": [0, 55]} + ] + }, + { + "name": "body", + "pivot": [ 0, 16, 0 ], + "cubes": [ + { + "origin": [ -8, 14, -8 ], + "size": [ 16, 14, 16 ], + "uv": [ 0, 0 ] + } + ], + "locators": { + "lead": [ 0, 15, -1 ] + } + }, + { + "name": "bristle5", + "parent": "body", + "pivot": [8, 19, 0], + "cubes": [ + {"origin": [8, 19, -8], "size": [12, 0, 16], "pivot": [8, 19, 0], "rotation": [0, 0, 70], "uv": [16, 65]} + ] + }, + { + "name": "bristle4", + "parent": "body", + "pivot": [8, 24, 0], + "cubes": [ + {"origin": [8, 24, -8], "size": [12, 0, 16], "pivot": [8, 24, 0], "rotation": [0, 0, 65], "uv": [16, 49]} + ] + }, + { + "name": "bristle3", + "parent": "body", + "pivot": [8, 28, 0], + "cubes": [ + {"origin": [8, 28, -8], "size": [12, 0, 16], "pivot": [8, 28, 0], "rotation": [0, 0, 50], "uv": [16, 33]} + ] + }, + { + "name": "bristle2", + "parent": "body", + "pivot": [-8, 28, 0], + "cubes": [ + {"origin": [-20, 28, -8], "size": [12, 0, 16], "pivot": [-8, 28, 0], "rotation": [0, 0, -50], "uv": [16, 33], "mirror": true} + ] + }, + { + "name": "bristle1", + "parent": "body", + "pivot": [-8, 24, 0], + "cubes": [ + {"origin": [-20, 24, -8], "size": [12, 0, 16], "pivot": [-8, 24, 0], "rotation": [0, 0, -65], "uv": [16, 49], "mirror": true} + ] + }, + { + "name": "bristle0", + "parent": "body", + "pivot": [-8, 19, 0], + "cubes": [ + {"origin": [-20, 19, -8], "size": [12, 0, 16], "pivot": [-8, 19, 0], "rotation": [0, 0, -70], "uv": [16, 65], "mirror": true} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/tadpole.geo.json b/resource_pack/models/entity/tadpole.geo.json new file mode 100644 index 0000000..0846a64 --- /dev/null +++ b/resource_pack/models/entity/tadpole.geo.json @@ -0,0 +1,37 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.tadpole", + "texture_width": 16, + "texture_height": 16, + "visible_bounds_width": 1, + "visible_bounds_height": 0.8, + "visible_bounds_offset": [0, 0.25, 0] + }, + "bones": [ + { + "name": "root", + "pivot": [0, 0, 0] + }, + { + "name": "body", + "parent": "root", + "pivot": [0, 0, 1], + "cubes": [ + {"origin": [-1.5, 3, -2.5], "size": [3, 2, 3], "uv": [0, 0]} + ] + }, + { + "name": "tail", + "parent": "root", + "pivot": [0, 0, 1], + "cubes": [ + {"origin": [0, 3, -0.5], "size": [0, 2, 7], "uv": [0, 0]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/trident.geo.json b/resource_pack/models/entity/trident.geo.json new file mode 100644 index 0000000..c96825b --- /dev/null +++ b/resource_pack/models/entity/trident.geo.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.16.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.trident", + "texture_width": 32, + "texture_height": 32 + }, + "bones": [ + { + "name": "pole", + "binding": "q.item_slot_to_bone_name(c.item_slot)", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, -3.0, -0.5 ], + "size": [ 1.0, 31.0, 1.0 ], + "inflate": 0.01, + "uv": [ 0, 0 ] + }, + { + "origin": [ -1.5, 22.0, -0.5 ], + "size": [ 3.0, 2.0, 1.0 ], + "uv": [ 4, 0 ] + }, + { + "origin": [ -2.5, 23.0, -0.5 ], + "size": [ 1.0, 4.0, 1.0 ], + "uv": [ 4, 3 ] + }, + { + "origin": [ 1.5, 23.0, -0.5 ], + "size": [ 1.0, 4.0, 1.0 ], + "uv": [ 4, 3 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/tripod.geo.json b/resource_pack/models/entity/tripod.geo.json new file mode 100644 index 0000000..418a40d --- /dev/null +++ b/resource_pack/models/entity/tripod.geo.json @@ -0,0 +1,67 @@ +{ + "format_version": "1.8.0", + "geometry.tripod_camera": { + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 0.0, 0.0], + "cubes": [ + { + "origin": [ -4, -4, -5 ], + "size": [ 8, 8, 10 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ 0.0, -3.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, -26, -0.5 ], + "size": [ 1, 22, 1 ], + "uv": [ 36.0, 0.0 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 0.0, -3.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, -26, -0.5 ], + "size": [ 1, 22, 1 ], + "uv": [ 36.0, 0.0 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ 0.0, -3.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, -26, -0.5 ], + "size": [ 1, 22, 1 ], + "uv": [ 36.0, 0.0 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 0.0, -3.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.5, -26, -0.5 ], + "size": [ 1, 22, 1 ], + "uv": [ 36.0, 0.0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/tropical_fish.geo.json b/resource_pack/models/entity/tropical_fish.geo.json new file mode 100644 index 0000000..a8ae4d4 --- /dev/null +++ b/resource_pack/models/entity/tropical_fish.geo.json @@ -0,0 +1,133 @@ +{ + "format_version": "1.8.0", + "geometry.tropicalfish_a": { + "visible_bounds_width": 0.5, + "visible_bounds_height": 0.5, + "bones": [ + { + "pivot": [ -0.5, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 0.0, -3.0 ], + "size": [ 2.0, 3.0, 6.0 ], + "uv": [ 0.0, 0.0 ] + }, + { + "origin": [ 0.0, 3.0, -2.9992 ], + "size": [ 0.0, 4.0, 6.0 ], + "uv": [ 10.0, -6.0 ] + } + ], + "name": "body" + }, + { + "pivot": [ 0.0, 0.0, 3.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 3.0 ], + "size": [ 0.0, 3.0, 4.0 ], + "uv": [ 24.0, -4.0 ] + } + ], + "name": "tailfin", + "parent": "body" + }, + { + "pivot": [ 0.5, 0.0, 1.0 ], + "bind_pose_rotation": [ 0.0, -35.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.336, 0.0, -0.10594 ], + "size": [ 2.0, 2.0, 0.0 ], + "uv": [ 2.0, 12.0 ] + } + ], + "name": "leftFin", + "parent": "body" + }, + { + "pivot": [ -0.5, 0.0, 1.0 ], + "bind_pose_rotation": [ 0.0, 35.0, 0.0 ], + "cubes": [ + { + "origin": [ -2.336, 0.0, -0.10594 ], + "size": [ 2.0, 2.0, 0.0 ], + "uv": [ 2.0, 16.0 ] + } + ], + "name": "rightFin", + "parent": "body" + } + ], + "texturewidth": 32, + "textureheight": 32 + }, + "geometry.tropicalfish_b": { + "visible_bounds_width": 0.5, + "visible_bounds_height": 0.5, + "bones": [ + { + "pivot": [ -0.5, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 0.0, -0.0008 ], + "size": [ 2.0, 6.0, 6.0 ], + "uv": [ 0.0, 20.0 ] + + }, + { + "origin": [ 0.0, -5.0, -0.0008 ], + "size": [ 0.0, 5.0, 6.0 ], + "uv": [ 20.0, 21.0 ] + }, + { + "origin": [ 0.0, 6.0, -0.0008 ], + "size": [ 0.0, 5.0, 6.0 ], + "uv": [ 20.0, 10.0 ] + } + ], + "name": "body" + }, + { + "pivot": [ 0.0, 0.0, 6.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0008, 6.0 ], + "size": [ 0.0, 6.0, 5.0 ], + "uv": [ 21.0, 16.0 ] + } + ], + "name": "tailfin", + "parent": "body" + }, + { + "pivot": [ 0.5, 0.0, 1.0 ], + "bind_pose_rotation": [ 0.0, -35.0, 0.0 ], + "cubes": [ + { + "origin": [ 2.05673, 0.0, 2.35152 ], + "size": [ 2.0, 2.0, 0.0 ], + "uv": [ 2.0, 12.0 ] + } + ], + "name": "leftFin", + "parent": "body" + }, + { + "pivot": [ -0.5, 0.0, 1.0 ], + "bind_pose_rotation": [ 0.0, 35.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.05673, 0.0, 2.35152 ], + "size": [ 2.0, 2.0, 0.0 ], + "uv": [ 2.0, 16.0 ] + } + ], + "name": "rightFin", + "parent": "body" + } + ], + "texturewidth": 32, + "textureheight": 32 + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/turtle.geo.json b/resource_pack/models/entity/turtle.geo.json new file mode 100644 index 0000000..7ce5278 --- /dev/null +++ b/resource_pack/models/entity/turtle.geo.json @@ -0,0 +1,99 @@ +{ + "format_version": "1.8.0", + "geometry.turtle": { + "texturewidth": 128, + "textureheight": 64, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 5.0, -10.0 ], + "cubes": [ + { + "origin": [ -3.0, 1.0, -13.0 ], + "size": [ 6.0, 5.0, 6.0 ], + "uv": [ 2.0, 0 ] + } + ] + }, + { + "name": "eggbelly", + "parent": "body", + "pivot": [ 0.0, 13.0, -10.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.5, -8.0, -24.0 ], + "size": [ 9.0, 18.0, 1.0 ], + "uv": [ 69.0, 33.0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 13.0, -10.0 ], + "bind_pose_rotation": [ 90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -9.5, -10.0, -20.0 ], + "size": [ 19.0, 20.0, 6.0 ], + "uv": [ 6.0, 37.0 ] + }, + { + "origin": [ -5.5, -8.0, -23.0 ], + "size": [ 11.0, 18.0, 3.0 ], + "uv": [ 30.0, 1.0 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -3.5, 2.0, 11.0 ], + "cubes": [ + { + "origin": [ -5.5, 1.0, 11.0 ], + "size": [ 4.0, 1.0, 10.0 ], + "uv": [ 0.0, 23.0 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 3.5, 2.0, 11.0 ], + "cubes": [ + { + "origin": [ 1.5, 1.0, 11.0 ], + "size": [ 4.0, 1.0, 10.0 ], + "uv": [ 0.0, 12.0 ] + } + ] + }, + { + "name": "leg2", + "parent": "body", + "pivot": [ -5.0, 3.0, -4.0 ], + "cubes": [ + { + "origin": [ -18.0, 2.0, -6.0 ], + "size": [ 13.0, 1.0, 5.0 ], + "uv": [ 26.0, 30.0 ] + } + ] + }, + { + "name": "leg3", + "parent": "body", + "pivot": [ 5.0, 3.0, -4.0 ], + "cubes": [ + { + "origin": [ 5.0, 2.0, -6.0 ], + "size": [ 13.0, 1.0, 5.0 ], + "uv": [ 26.0, 24.0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/vex.geo.json b/resource_pack/models/entity/vex.geo.json new file mode 100644 index 0000000..e8cf502 --- /dev/null +++ b/resource_pack/models/entity/vex.geo.json @@ -0,0 +1,75 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.vex.v1.8", + "texture_width": 32, + "texture_height": 32, + "visible_bounds_width": 1.3, + "visible_bounds_height": 1, + "visible_bounds_offset": [0, 0.4, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 2, 0], + "cubes": [ + {"origin": [-1.5, 2, -1], "size": [3, 4, 2], "uv": [0, 10]}, + {"origin": [-1.5, 0, -1], "size": [3, 5, 2], "inflate": -0.2, "uv": [0, 16]} + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [0, 6, 0], + "cubes": [ + {"origin": [-2.5, 6, -2.5], "size": [5, 5, 5], "uv": [0, 0]} + ] + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [-1.75, 5.75, 0], + "cubes": [ + {"origin": [-3, 2.25, -1], "size": [2, 4, 2], "inflate": -0.1, "uv": [23, 0]} + ] + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [-2, 3, 0] + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [1.75, 5.75, 0], + "cubes": [ + {"origin": [1, 2.25, -1], "size": [2, 4, 2], "inflate": -0.1, "uv": [23, 6]} + ] + }, + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [2, 3, 0] + }, + { + "name": "leftWing", + "parent": "body", + "pivot": [0.5, 5, 1], + "cubes": [ + {"origin": [0.5, 0, 1], "size": [8, 5, 0], "uv": [16, 22], "mirror": true} + ] + }, + { + "name": "rightWing", + "parent": "body", + "pivot": [-0.5, 5, 1], + "cubes": [ + {"origin": [-8.5, 0, 1], "size": [8, 5, 0], "uv": [16, 22]} + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/resource_pack/models/entity/vex.v1.0.geo.json b/resource_pack/models/entity/vex.v1.0.geo.json new file mode 100644 index 0000000..019ca5b --- /dev/null +++ b/resource_pack/models/entity/vex.v1.0.geo.json @@ -0,0 +1,102 @@ +{ + "format_version": "1.8.0", + "geometry.vex:geometry.humanoid": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 8.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8.0, 12.0, 4.0 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 13, 0 ], + "neverRender": true, + "parent": "rightarm" + }, + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 16 ] + }, + { + "origin": [ -2.9, 3.0, -2.0 ], + "size": [ 6.0, 10.0, 4.0 ], + "uv": [ 32, 0 ] + } + ] + }, + { + "name": "leftwing", + "pivot": [ 0.0, 24.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 0.0, 12.0, 0.0 ], + "size": [ 20.0, 12.0, 1.0 ], + "uv": [ 0, 32 ] + } + ] + }, + { + "name": "rightwing", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -20.0, 12.0, 0.0 ], + "size": [ 20.0, 12.0, 1.0 ], + "uv": [ 0, 32 ] + } + ] + } + ] + } +} diff --git a/resource_pack/models/entity/villager.geo.json b/resource_pack/models/entity/villager.geo.json new file mode 100644 index 0000000..f466e94 --- /dev/null +++ b/resource_pack/models/entity/villager.geo.json @@ -0,0 +1,96 @@ +{ + "format_version": "1.8.0", + "geometry.villager.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "nose", + "parent": "head", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "body", + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8, 12, 6 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8, 18, 6 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "arms", + "parent": "body", + "pivot": [ 0.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 16.0, -2.0 ], + "size": [ 8, 4, 4 ], + "uv": [ 40, 38 ] + }, + { + "origin": [ -8.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ 4.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 22 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/villager_v1.0.geo.json b/resource_pack/models/entity/villager_v1.0.geo.json new file mode 100644 index 0000000..f3cfb81 --- /dev/null +++ b/resource_pack/models/entity/villager_v1.0.geo.json @@ -0,0 +1,92 @@ +{ + "format_version": "1.8.0", + "geometry.villager": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "nose", + "parent": "head", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "body", + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8, 12, 6 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8, 18, 6 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "arms", + "pivot": [ 0.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 16.0, -2.0 ], + "size": [ 8, 4, 4 ], + "uv": [ 40, 38 ] + }, + { + "origin": [ -8.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ 4.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 22 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/villager_v2.geo.json b/resource_pack/models/entity/villager_v2.geo.json new file mode 100644 index 0000000..3b37a6a --- /dev/null +++ b/resource_pack/models/entity/villager_v2.geo.json @@ -0,0 +1,133 @@ +{ + "format_version": "1.8.0", + "geometry.villager_v2": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "helmet", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ] + }, + { + "name": "brim", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "bind_pose_rotation": [ -90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 16.0, -6.0 ], + "size": [ 16.0, 16.0, 1.0 ], + "uv": [ 30.0, 47.0 ], + "inflate": 0.1 + } + ] + }, + { + "name": "nose", + "parent": "head", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "body", + "locators": { + "lead_hold": [ 0.0, 40.0, 0.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8, 12, 6 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8, 18, 6 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "arms", + "parent": "body", + "pivot": [ 0.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 16.0, -2.0 ], + "size": [ 8, 4, 4 ], + "uv": [ 40, 38 ] + }, + { + "origin": [ -8.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ 4.0, 16.0, -2.0 ], + "size": [ 4, 8, 4 ], + "uv": [ 44, 22 ], + "mirror": true + } + ] + }, + { + "name": "held_item", + "parent": "arms", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ], + "mirror": true + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/vindicator.geo.json b/resource_pack/models/entity/vindicator.geo.json new file mode 100644 index 0000000..4de0db6 --- /dev/null +++ b/resource_pack/models/entity/vindicator.geo.json @@ -0,0 +1,137 @@ +{ + "format_version": "1.8.0", + "geometry.vindicator.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 10.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "nose", + "parent": "head", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2.0, 4.0, 2.0 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8.0, 12.0, 6.0 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "arms", + "parent": "body", + "pivot": [ 0.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 16.0, -2.0 ], + "size": [ 4.0, 8.0, 4.0 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ 4.0, 16.0, -2.0 ], + "size": [ 4.0, 8.0, 4.0 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ -4.0, 16.0, -2.0 ], + "size": [ 8.0, 4.0, 4.0 ], + "uv": [ 40, 38 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "pivot": [ 2.0, 12.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -5.5, 16, 0.5 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "leftItem", + "pivot": [ 6, 15.0, 1 ], + "neverRender": true, + "parent": "leftArm" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/vindicator_v1.0.geo.json b/resource_pack/models/entity/vindicator_v1.0.geo.json new file mode 100644 index 0000000..1c372e3 --- /dev/null +++ b/resource_pack/models/entity/vindicator_v1.0.geo.json @@ -0,0 +1,131 @@ +{ + "format_version": "1.8.0", + "geometry.vindicator": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8.0, 10.0, 8.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "nose", + "parent": "head", + "pivot": [ 0.0, 26.0, 0.0 ], + "cubes": [ + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2.0, 4.0, 2.0 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8.0, 12.0, 6.0 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "arms", + "pivot": [ 0.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 16.0, -2.0 ], + "size": [ 4.0, 8.0, 4.0 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ 4.0, 16.0, -2.0 ], + "size": [ 4.0, 8.0, 4.0 ], + "uv": [ 44, 22 ] + }, + { + "origin": [ -4.0, 16.0, -2.0 ], + "size": [ 8.0, 4.0, 4.0 ], + "uv": [ 40, 38 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 2.0, 12.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -5.5, 16, 0.5 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "mirror": true, + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4.0, 12.0, 4.0 ], + "uv": [ 40, 46 ] + } + ] + }, + { + "name": "leftItem", + "pivot": [ 6, 15.0, 1 ], + "neverRender": true, + "parent": "leftArm" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/warden.geo.json b/resource_pack/models/entity/warden.geo.json new file mode 100644 index 0000000..467b4cb --- /dev/null +++ b/resource_pack/models/entity/warden.geo.json @@ -0,0 +1,142 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.warden", + "texture_width": 128, + "texture_height": 128, + "visible_bounds_width": 4, + "visible_bounds_height": 5.5, + "visible_bounds_offset": [ 0, 2.25, 0 ] + }, + "bones": [ + { + "name": "root", + "pivot": [ 0, 0, 0 ] + }, + { + "name": "body", + "parent": "root", + "pivot": [ 0, 21, 0 ], + "cubes": [ + { + "origin": [ -9, 13, -4 ], + "size": [ 18, 21, 11 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "right_ribcage", + "parent": "body", + "pivot": [ -7, 23, -4 ], + "cubes": [ + { + "origin": [ -9, 13, -4.1 ], + "size": [ 9, 21, 0 ], + "uv": [ 90, 11 ] + } + ] + }, + { + "name": "left_ribcage", + "parent": "body", + "pivot": [ 7, 23, -4 ], + "cubes": [ + { + "origin": [ 0, 13, -4.1 ], + "size": [ 9, 21, 0 ], + "uv": [ 90, 11 ], + "mirror": true + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0, 34, 0 ], + "cubes": [ + { + "origin": [ -8, 34, -5 ], + "size": [ 16, 16, 10 ], + "uv": [ 0, 32 ] + } + ] + }, + { + "name": "right_tendril", + "parent": "head", + "pivot": [ -8, 46, 0 ], + "cubes": [ + { + "origin": [ -24, 43, 0 ], + "size": [ 16, 16, 0 ], + "uv": [ 52, 32 ] + } + ] + }, + { + "name": "left_tendril", + "parent": "head", + "pivot": [ 8, 46, 0 ], + "cubes": [ + { + "origin": [ 8, 43, 0 ], + "size": [ 16, 16, 0 ], + "uv": [ 58, 0 ] + } + ] + }, + { + "name": "right_arm", + "parent": "body", + "pivot": [ -13, 34, 1 ], + "cubes": [ + { + "origin": [ -17, 6, -3 ], + "size": [ 8, 28, 8 ], + "uv": [ 44, 50 ] + } + ] + }, + { + "name": "left_arm", + "parent": "body", + "pivot": [ 13, 34, 1 ], + "cubes": [ + { + "origin": [ 9, 6, -3 ], + "size": [ 8, 28, 8 ], + "uv": [ 0, 58 ] + } + ] + }, + { + "name": "right_leg", + "parent": "root", + "pivot": [ -5.9, 13, 0 ], + "cubes": [ + { + "origin": [ -9, 0, -3 ], + "size": [ 6, 13, 6 ], + "uv": [ 76, 48 ] + } + ] + }, + { + "name": "left_leg", + "parent": "root", + "pivot": [ 5.9, 13, 0 ], + "cubes": [ + { + "origin": [ 3, 0, -3 ], + "size": [ 6, 13, 6 ], + "uv": [ 76, 76 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/wind_charge.geo.json b/resource_pack/models/entity/wind_charge.geo.json new file mode 100644 index 0000000..691c095 --- /dev/null +++ b/resource_pack/models/entity/wind_charge.geo.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.wind_charge", + "texture_width": 64, + "texture_height": 32, + "visible_bounds_width": 2, + "visible_bounds_height": 1.5, + "visible_bounds_offset": [0, 0.25, 0] + }, + "bones": [ + { + "name": "bone", + "pivot": [0, 0, 0] + }, + { + "name": "projectile", + "parent": "bone", + "pivot": [0, 0, 0] + }, + { + "name": "wind", + "parent": "projectile", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-3, 0.25, -3], "size": [6, 4, 6], "uv": [0, 9]}, + {"origin": [-4, 1.25, -4], "size": [8, 2, 8], "uv": [15, 20]} + ] + }, + { + "name": "wind_charge", + "parent": "projectile", + "pivot": [0, 0, 0], + "cubes": [ + {"origin": [-2, 0.25, -2], "size": [4, 4, 4], "uv": [0, 0]} + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/witch.geo.json b/resource_pack/models/entity/witch.geo.json new file mode 100644 index 0000000..9a6b6bd --- /dev/null +++ b/resource_pack/models/entity/witch.geo.json @@ -0,0 +1,76 @@ +{ + "format_version": "1.8.0", + "geometry.villager.witch.v1.8:geometry.villager.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "texturewidth": 64, + "textureheight": 128, + "bones": [ + { + "name": "nose", + "parent": "head", + "cubes": [ + { + "origin": [ 0.0, 25.0, -6.75 ], + "size": [ 1, 1, 1 ], + "uv": [ 0, 0 ], + "inflate": -0.25 + } + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ -5, 32.03125, -5 ], + "cubes": [ + { + "origin": [ -5, 32.05, -5 ], + "size": [ 10, 2, 10 ], + "uv": [ 0, 64 ] + } + ] + }, + { + "name": "hat2", + "parent": "hat", + "pivot": [ 1.75, 32, 2 ], + "cubes": [ + { + "origin": [ -3.25, 33.5, -3 ], + "size": [ 7, 4, 7 ], + "uv": [ 0, 76 ] + } + ], + "rotation": [ -3, 0, 1.5 ] + }, + { + "name": "hat3", + "parent": "hat2", + "pivot": [ 1.75, 35, 2 ], + "cubes": [ + { + "origin": [ -1.5, 36.5, -1 ], + "size": [ 4, 4, 4 ], + "uv": [ 0, 87 ] + } + ], + "rotation": [ -6, 0, 3 ] + }, + { + "name": "hat4", + "parent": "hat3", + "pivot": [ 1.75, 38, 2 ], + "cubes": [ + { + "origin": [ 0.25, 40, 1 ], + "size": [ 1, 2, 1 ], + "uv": [ 0, 95 ], + "inflate": 0.25 + } + ], + "rotation": [ -12, 0, 6 ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/witch_v1.0.geo.json b/resource_pack/models/entity/witch_v1.0.geo.json new file mode 100644 index 0000000..732e8a7 --- /dev/null +++ b/resource_pack/models/entity/witch_v1.0.geo.json @@ -0,0 +1,76 @@ +{ + "format_version": "1.8.0", + "geometry.villager.witch:geometry.villager": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "texturewidth": 64, + "textureheight": 128, + "bones": [ + { + "name": "nose", + "parent": "head", + "cubes": [ + { + "origin": [ 0.0, 25.0, -6.75 ], + "size": [ 1, 1, 1 ], + "uv": [ 0, 0 ], + "inflate": -0.25 + } + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ -5, 32.03125, -5 ], + "cubes": [ + { + "origin": [ -5, 32.05, -5 ], + "size": [ 10, 2, 10 ], + "uv": [ 0, 64 ] + } + ] + }, + { + "name": "hat2", + "parent": "hat", + "pivot": [ 1.75, 32, 2 ], + "cubes": [ + { + "origin": [ -3.25, 33.5, -3 ], + "size": [ 7, 4, 7 ], + "uv": [ 0, 76 ] + } + ], + "rotation": [ -3, 0, 1.5 ] + }, + { + "name": "hat3", + "parent": "hat2", + "pivot": [ 1.75, 35, 2 ], + "cubes": [ + { + "origin": [ -1.5, 36.5, -1 ], + "size": [ 4, 4, 4 ], + "uv": [ 0, 87 ] + } + ], + "rotation": [ -6, 0, 3 ] + }, + { + "name": "hat4", + "parent": "hat3", + "pivot": [ 1.75, 38, 2 ], + "cubes": [ + { + "origin": [ 0.25, 40, 1 ], + "size": [ 1, 2, 1 ], + "uv": [ 0, 95 ], + "inflate": 0.25 + } + ], + "rotation": [ -12, 0, 6 ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/wither_boss.geo.json b/resource_pack/models/entity/wither_boss.geo.json new file mode 100644 index 0000000..2839437 --- /dev/null +++ b/resource_pack/models/entity/wither_boss.geo.json @@ -0,0 +1,98 @@ +{ + "format_version": "1.8.0", + "geometry.witherBoss": { + "visible_bounds_width": 3, + "visible_bounds_height": 4, + "visible_bounds_offset": [ 0, 2, 0 ], + "texturewidth": 64, + "textureheight": 64, + + "bones": [ + { + "name": "upperBodyPart1", + "cubes": [ + { + "origin": [ -10, 17.1, -0.5 ], + "size": [ 20, 3, 3 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "upperBodyPart2", + "parent": "upperBodyPart1", + "pivot": [ -2, 17.1, -0.5 ], + "cubes": [ + { + "origin": [ -2, 7.1, -0.5 ], + "size": [ 3, 10, 3 ], + "uv": [ 0, 22 ] + }, + { + "origin": [ -6, 13.6, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + }, + { + "origin": [ -6, 11.1, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + }, + { + "origin": [ -6, 8.6, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + } + ] + }, + { + "name": "upperBodyPart3", + "parent": "upperBodyPart2", + "pivot": [ 0, 24, 0 ], + "cubes": [ + { + "origin": [ 0, 18, 0 ], + "size": [ 3, 6, 3 ], + "uv": [ 12, 22 ] + } + ] + }, + { + "name": "head1", + "parent": "upperBodyPart1", + "pivot": [ 0, 20, 0 ], + "cubes": [ + { + "origin": [ -4, 20, -4 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "head2", + "parent": "upperBodyPart1", + "pivot": [ -9, 18, -1 ], + "cubes": [ + { + "origin": [ -12, 18, -4 ], + "size": [ 6, 6, 6 ], + "uv": [ 32, 0 ] + } + ] + }, + { + "name": "head3", + "parent": "upperBodyPart1", + "pivot": [ 9, 18, -1 ], + "cubes": [ + { + "origin": [ 6, 18, -4 ], + "size": [ 6, 6, 6 ], + "uv": [ 32, 0 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/wither_boss_armor.geo.json b/resource_pack/models/entity/wither_boss_armor.geo.json new file mode 100644 index 0000000..e2aaecb --- /dev/null +++ b/resource_pack/models/entity/wither_boss_armor.geo.json @@ -0,0 +1,109 @@ +{ + "format_version": "1.8.0", + "geometry.witherBoss.armor.v1.8": { + "visible_bounds_width": 3, + "visible_bounds_height": 4, + "visible_bounds_offset": [ 0, 2, 0 ], + "texturewidth": 64, + "textureheight": 64, + + "bones": [ + { + "name": "upperBodyPart1", + "cubes": [ + { + "origin": [ -10, 17.1, -0.5 ], + "size": [ 20, 3, 3 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "upperBodyPart2", + "parent": "upperBodyPart1", + "pivot": [ -2, 17.1, -0.5 ], + "cubes": [ + { + "origin": [ -2, 7.1, -0.5 ], + "size": [ 3, 10, 3 ], + "uv": [ 0, 22 ] + }, + { + "origin": [ -6, 13.6, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + }, + { + "origin": [ -6, 11.1, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + }, + { + "origin": [ -6, 8.6, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "upperBodyPart3", + "parent": "upperBodyPart2", + "pivot": [ 0, 24, 0 ], + "cubes": [ + { + "origin": [ 0, 18, 0 ], + "size": [ 3, 6, 3 ], + "uv": [ 12, 22 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "head1", + "parent": "upperBodyPart1", + "pivot": [ 0, 20, 0 ], + "cubes": [ + { + "origin": [ -4, 20, -4 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "head2", + "parent": "upperBodyPart1", + "pivot": [ -9, 18, -1 ], + "cubes": [ + { + "origin": [ -12, 18, -4 ], + "size": [ 6, 6, 6 ], + "uv": [ 32, 0 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "head3", + "parent": "upperBodyPart1", + "pivot": [ 9, 18, -1 ], + "cubes": [ + { + "origin": [ 6, 18, -4 ], + "size": [ 6, 6, 6 ], + "uv": [ 32, 0 ] + } + ], + "inflate": 2.0 + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/wither_boss_armor.v1.0.geo.json b/resource_pack/models/entity/wither_boss_armor.v1.0.geo.json new file mode 100644 index 0000000..5ed24bc --- /dev/null +++ b/resource_pack/models/entity/wither_boss_armor.v1.0.geo.json @@ -0,0 +1,110 @@ +{ + "format_version": "1.8.0", + "geometry.witherBoss.armor": { + "visible_bounds_width": 3, + "visible_bounds_height": 4, + "visible_bounds_offset": [ 0, 2, 0 ], + "texturewidth": 64, + "textureheight": 64, + + "bones": [ + { + "name": "upperBodyPart1", + "pivot": [ 0, 24, 0 ], + "cubes": [ + { + "origin": [ -10, 17.1, -0.5 ], + "size": [ 20, 3, 3 ], + "uv": [ 0, 16 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "upperBodyPart2", + "parent": "upperBodyPart1", + "pivot": [ -2, 17.1, -0.5 ], + "cubes": [ + { + "origin": [ -2, 7.1, -0.5 ], + "size": [ 3, 10, 3 ], + "uv": [ 0, 22 ] + }, + { + "origin": [ -6, 13.6, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + }, + { + "origin": [ -6, 11.1, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + }, + { + "origin": [ -6, 8.6, 0 ], + "size": [ 11, 2, 2 ], + "uv": [ 24, 22 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "upperBodyPart3", + "parent": "upperBodyPart2", + "pivot": [ 0, 24, 0 ], + "cubes": [ + { + "origin": [ 0, 18, 0 ], + "size": [ 3, 6, 3 ], + "uv": [ 12, 22 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "head1", + "parent": "upperBodyPart1", + "pivot": [ 0, 20, 0 ], + "cubes": [ + { + "origin": [ -4, 20, -4 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "head2", + "parent": "upperBodyPart1", + "pivot": [ -9, 18, -1 ], + "cubes": [ + { + "origin": [ -12, 18, -4 ], + "size": [ 6, 6, 6 ], + "uv": [ 32, 0 ] + } + ], + "inflate": 2.0 + }, + + { + "name": "head3", + "parent": "upperBodyPart1", + "pivot": [ 9, 18, -1 ], + "cubes": [ + { + "origin": [ 6, 18, -4 ], + "size": [ 6, 6, 6 ], + "uv": [ 32, 0 ] + } + ], + "inflate": 2.0 + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/wither_skeleton.geo.json b/resource_pack/models/entity/wither_skeleton.geo.json new file mode 100644 index 0000000..240176b --- /dev/null +++ b/resource_pack/models/entity/wither_skeleton.geo.json @@ -0,0 +1,116 @@ +{ + "format_version": "1.8.0", + "geometry.skeleton.wither.v1.8": { + "texturewidth": 64, + "textureheight": 32, + "visible_bounds_width": 1.5, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "bones": [ + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -5, 15, 1 ], + "neverRender": true + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true + }, + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/wither_skeleton.v1.0.geo.json b/resource_pack/models/entity/wither_skeleton.v1.0.geo.json new file mode 100644 index 0000000..a439f8a --- /dev/null +++ b/resource_pack/models/entity/wither_skeleton.v1.0.geo.json @@ -0,0 +1,110 @@ +{ + "format_version": "1.8.0", + "geometry.skeleton.wither": { + "texturewidth": 64, + "textureheight": 32, + "visible_bounds_width": 1.5, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "bones": [ + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "waist", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -5, 15, 1 ], + "neverRender": true + }, + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true + }, + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true + }, + { + "name": "rightLeg", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leftLeg", + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -1.0 ], + "size": [ 2, 12, 2 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/wither_skull.geo.json b/resource_pack/models/entity/wither_skull.geo.json new file mode 100644 index 0000000..6b716a3 --- /dev/null +++ b/resource_pack/models/entity/wither_skull.geo.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.wither_skull", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 1, + "visible_bounds_height": 1 + }, + "bones": [ + { + "name": "head", + "cubes": [ + { + "origin": [ -4.0, 0.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 35 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/wolf.geo.json b/resource_pack/models/entity/wolf.geo.json new file mode 100644 index 0000000..4db4445 --- /dev/null +++ b/resource_pack/models/entity/wolf.geo.json @@ -0,0 +1,118 @@ +{ + "format_version": "1.8.0", + "geometry.wolf": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "head", + "pivot": [ -1.0, 10.5, -7.0 ], + "locators": { + "lead": [ -1.0, 10.5, -7.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 7.5, -9.0 ], + "size": [ 6, 6, 4 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -4.0, 13.5, -7.0 ], + "size": [ 2, 2, 1 ], + "uv": [ 16, 14 ] + }, + { + "origin": [ 0.0, 13.5, -7.0 ], + "size": [ 2, 2, 1 ], + "uv": [ 16, 14 ] + }, + { + "origin": [ -2.5, 7.515625, -12.0 ], + "size": [ 3, 3, 4 ], + "uv": [ 0, 10 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0.0, 10.0, 2.0 ], + "cubes": [ + { + "origin": [ -4.0, 3.0, -1.0 ], + "size": [ 6, 9, 6 ], + "uv": [ 18, 14 ] + } + ] + }, + { + "name": "upperBody", + "pivot": [ -1.0, 10.0, 2.0 ], + "cubes": [ + { + "origin": [ -5.0, 7.0, -1.0 ], + "size": [ 8, 6, 7 ], + "uv": [ 21, 0 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -2.5, 8.0, 7.0 ], + "cubes": [ + { + "origin": [ -3.5, 0.0, 6.0 ], + "size": [ 2, 8, 2 ], + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 0.5, 8.0, 7.0 ], + "cubes": [ + { + "origin": [ -0.5, 0.0, 6.0 ], + "size": [ 2, 8, 2 ], + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -2.5, 8.0, -4.0 ], + "cubes": [ + { + "origin": [ -3.5, 0.0, -5.0 ], + "size": [ 2, 8, 2 ], + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "leg3", + "pivot": [ 0.5, 8.0, -4.0 ], + "cubes": [ + { + "origin": [ -0.5, 0.0, -5.0 ], + "size": [ 2, 8, 2 ], + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "tail", + "pivot": [ -1.0, 12.0, 8.0 ], + "cubes": [ + { + "origin": [ -2.0, 4.0, 7.0 ], + "size": [ 2, 8, 2 ], + "uv": [ 9, 18 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/wolf_armor.geo.json b/resource_pack/models/entity/wolf_armor.geo.json new file mode 100644 index 0000000..1674c34 --- /dev/null +++ b/resource_pack/models/entity/wolf_armor.geo.json @@ -0,0 +1,116 @@ +{ + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.wolf.armor", + "texture_width": 64, + "texture_height": 64, + "visible_bounds_width": 3, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 0.75, 0 ] + }, + "bones": [ + { + "name": "head", + "pivot": [ -1, 10.5, -7 ], + "cubes": [ + { + "origin": [ -4, 7.5, -9 ], + "size": [ 6, 6, 4 ], + "inflate": 0.2, + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "body", + "pivot": [ 0, 10, 2 ], + "rotation": [ 90, 0, 0 ], + "cubes": [ + { + "origin": [ -4, 3, -1 ], + "size": [ 6, 9, 6 ], + "inflate": 0.2, + "uv": [ 18, 14 ] + } + ] + }, + { + "name": "upperBody", + "pivot": [ -1, 10, 2 ], + "rotation": [ -90, 0, 0 ], + "cubes": [ + { + "origin": [ -5, 7, -1 ], + "size": [ 8, 6, 7 ], + "inflate": 0.2, + "uv": [ 21, 0 ] + } + ] + }, + { + "name": "leg0", + "pivot": [ -2.5, 8, 7 ], + "cubes": [ + { + "origin": [ -3.5, 0, 6 ], + "size": [ 2, 8, 2 ], + "inflate": 0.2, + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "leg1", + "pivot": [ 0.5, 8, 7 ], + "cubes": [ + { + "origin": [ -0.5, 0, 6 ], + "size": [ 2, 8, 2 ], + "inflate": 0.2, + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "leg2", + "pivot": [ -2.5, 8, -4 ], + "cubes": [ + { + "origin": [ -3.5, 0, -5 ], + "size": [ 2, 8, 2 ], + "inflate": 0.2, + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "leg3", + "pivot": [ 0.5, 8, -4 ], + "cubes": [ + { + "origin": [ -0.5, 0, -5 ], + "size": [ 2, 8, 2 ], + "inflate": 0.2, + "uv": [ 0, 18 ] + } + ] + }, + { + "name": "tail", + "pivot": [ -1, 12, 8 ], + "rotation": [ 55, 0, 0 ], + "cubes": [ + { + "origin": [ -2, 4, 7 ], + "size": [ 2, 8, 2 ], + "inflate": 0.2, + "uv": [ 52, 5 ] + } + ] + } + ] + } + ] +} diff --git a/resource_pack/models/entity/zombie.geo.json b/resource_pack/models/entity/zombie.geo.json new file mode 100644 index 0000000..eafefa0 --- /dev/null +++ b/resource_pack/models/entity/zombie.geo.json @@ -0,0 +1,125 @@ +{ + "format_version": "1.8.0", + "geometry.zombie.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ], + "parent": "waist" + }, + + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ], + "parent": "body" + }, + + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true, + "parent": "head" + }, + + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "parent": "body" + }, + + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true, + "parent": "body" + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + + { + "name": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "parent": "body" + }, + + { + "name": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true, + "parent": "body" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie.v1.0.geo.json b/resource_pack/models/entity/zombie.v1.0.geo.json new file mode 100644 index 0000000..05b6cd1 --- /dev/null +++ b/resource_pack/models/entity/zombie.v1.0.geo.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "geometry.zombie:geometry.humanoid": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "texturewidth": 64, + "textureheight": 32 + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie_pigman.geo.json b/resource_pack/models/entity/zombie_pigman.geo.json new file mode 100644 index 0000000..6e7c386 --- /dev/null +++ b/resource_pack/models/entity/zombie_pigman.geo.json @@ -0,0 +1,119 @@ +{ + "format_version": "1.8.0", + "geometry.pigzombie.v1.8": { + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": false + }, + + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ] + }, + + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true + }, + + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie_pigman.v1.0.geo.json b/resource_pack/models/entity/zombie_pigman.v1.0.geo.json new file mode 100644 index 0000000..6e5fe91 --- /dev/null +++ b/resource_pack/models/entity/zombie_pigman.v1.0.geo.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.8.0", + "geometry.pigzombie:geometry.humanoid": { + "visible_bounds_width": 2, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 32, + + "bones": [ + { + "name": "hat", + "neverRender": false + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie_pigman_baby.geo.json b/resource_pack/models/entity/zombie_pigman_baby.geo.json new file mode 100644 index 0000000..3958346 --- /dev/null +++ b/resource_pack/models/entity/zombie_pigman_baby.geo.json @@ -0,0 +1,111 @@ +{ + "format_version": "1.8.0", + "geometry.pigzombie.baby.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 1.5, + "visible_bounds_offset": [ 0, 0.75, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 16, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie_pigman_baby.v1.0.geo.json b/resource_pack/models/entity/zombie_pigman_baby.v1.0.geo.json new file mode 100644 index 0000000..527c781 --- /dev/null +++ b/resource_pack/models/entity/zombie_pigman_baby.v1.0.geo.json @@ -0,0 +1,8 @@ +{ + "format_version": "1.8.0", + "geometry.pigzombie.baby:geometry.pigzombie": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 1.5, + "visible_bounds_offset": [ 0, 0.75, 0 ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie_villager.geo.json b/resource_pack/models/entity/zombie_villager.geo.json new file mode 100644 index 0000000..00b1146 --- /dev/null +++ b/resource_pack/models/entity/zombie_villager.geo.json @@ -0,0 +1,149 @@ +{ + "format_version": "1.8.0", + "geometry.zombie.villager.v1.8": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "head", + "parent": "body", + "reset": true, + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ], + "inflate": 0.25 + }, + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ], + "inflate": 0.25 + } + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + { + "name": "body", + "parent": "waist", + "reset": true, + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8, 12, 6 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8, 18, 6 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "rightArm", + "parent": "body", + "reset": true, + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 44, 38 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "parent": "body", + "reset": true, + "mirror": true, + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 44, 38 ] + } + ] + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + { + "name": "rightLeg", + "parent": "body", + "reset": true, + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "reset": true, + "mirror": true, + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie_villager.v1.0.geo.json b/resource_pack/models/entity/zombie_villager.v1.0.geo.json new file mode 100644 index 0000000..c243bbd --- /dev/null +++ b/resource_pack/models/entity/zombie_villager.v1.0.geo.json @@ -0,0 +1,116 @@ +{ + "format_version": "1.8.0", + "geometry.zombie.villager:geometry.humanoid": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "reset": true, + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ], + "inflate": 0.25 + }, + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ], + "inflate": 0.25 + } + ] + }, + { + "name": "body", + "reset": true, + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8, 12, 6 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8, 18, 6 ], + "uv": [ 0, 38 ], + "inflate": 0.5 + } + ] + }, + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "rightArm", + "reset": true, + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 44, 38 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "reset": true, + "mirror": true, + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 44, 38 ] + } + ] + }, + { + "name": "leftItem", + "neverRender": true, + "pivot": [ 6.0, 15.0, 1.0 ], + "parent": "leftArm" + }, + { + "name": "rightLeg", + "reset": true, + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leftLeg", + "reset": true, + "mirror": true, + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/entity/zombie_villager_v2.geo.json b/resource_pack/models/entity/zombie_villager_v2.geo.json new file mode 100644 index 0000000..1918b94 --- /dev/null +++ b/resource_pack/models/entity/zombie_villager_v2.geo.json @@ -0,0 +1,143 @@ +{ + "format_version": "1.8.0", + "geometry.zombie.villager_v2": { + "visible_bounds_width": 1.5, + "visible_bounds_height": 2.5, + "visible_bounds_offset": [ 0, 1.25, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ], + "inflate": 0.25 + }, + { + "origin": [ -1.0, 23.0, -6.0 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ], + "inflate": 0.25 + } + ] + }, + { + "name": "helmet", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 10, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ] + }, + { + "name": "brim", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "bind_pose_rotation": [ -90.0, 0.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 16.0, -6.0 ], + "size": [ 16.0, 16.0, 1.0 ], + "uv": [ 30.0, 47.0 ], + "inflate": 0.1 + } + ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -3.0 ], + "size": [ 8, 12, 6 ], + "uv": [ 16, 20 ] + }, + { + "origin": [ -4.0, 6.0, -3.0 ], + "size": [ 8.0, 18.0, 6.0 ], + "uv": [ 0.0, 38.0 ], + "inflate": 0.5 + } + ] + }, + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 44, 22 ] + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + { + "name": "leftArm", + "parent": "body", + "mirror": true, + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 44, 22 ] + } + ] + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "neverRender": true, + "parent": "leftArm" + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "mirror": true, + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 22 ] + } + ] + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/models/mobs.json b/resource_pack/models/mobs.json new file mode 100644 index 0000000..02d00eb --- /dev/null +++ b/resource_pack/models/mobs.json @@ -0,0 +1,1330 @@ +{ + "format_version": "1.8.0", + "geometry.humanoid": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + + { + "name": "waist", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + + { + "name": "hat", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ], + "neverRender": true + }, + + { + "name": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ] + }, + + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "neverRender": true, + "parent": "rightArm" + }, + + { + "name": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ], + "mirror": true + }, + + { + "name": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + + { + "name": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ], + "mirror": true + }, + + { + "name": "helmet", + "pivot": [ 0.0, 24.0, 0.0 ], + "neverRender": true + }, + { + "name": "rightArmArmor", + "pivot": [ -5.0, 22.0, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 22.0, 0.0 ], + "parent": "leftArm", + "mirror": true + }, + { + "name": "rightLegging", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftLegging", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightBoot", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftBoot", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightSock", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftSock", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "bodyArmor", + "pivot": [ 0.0, 24.0, 0.0 ], + "parent": "body" + }, + { + "name": "belt", + "pivot": [ 0.0, 24.0, 0.0 ], + "parent": "body" + } + ] + }, + "geometry.cape": { + "texturewidth": 64, + "textureheight": 32, + + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "parent": "waist" + }, + { + "name": "waist", + "parent": "root", + "neverRender": true, + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "cape", + "parent": "body", + "pivot": [ 0.0, 24.0, 3.0 ], + "bind_pose_rotation": [0.0, 180.0, 0.0], + "rotation": [0.0, 180.0, 0.0], + "cubes": [ + { + "origin": [ -5.0, 8.0, 3.0 ], + "size": [ 10, 16, 1 ], + "uv": [ 0, 0 ] + } + ] + } + ] + }, + "geometry.elytra": { + "texturewidth": 64, + "textureheight": 32, + + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ] + }, + { + "name": "left_wing", + "pivot": [ 0.0, 24.0, 0.0 ], + "parent": "body", + "cubes": [ + { + "origin": [ -10.0, 0.0, 0.0 ], + "size": [ 10, 20, 2 ], + "uv": [ 22, 0 ] + } + ] + }, + { + "name": "right_wing", + "pivot": [ 0.0, 24.0, 0.0 ], + "parent": "body", + "mirror": true, + "cubes": [ + { + "origin": [ 0.0, 0.0, 0.0 ], + "size": [ 10, 20, 2 ], + "uv": [ 22, 0 ] + } + ] + } + ] + }, + "geometry.humanoid.custom:geometry.humanoid": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + + { + "name": "cape", + "pivot": [ 0.0, 24, 3.0 ], + "parent": "body" + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ] + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 32, 48 ] + } + ] + }, + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 48, 48 ], + "inflate": 0.25 + } + ] + }, + { + "name": "leftItem", + "pivot": [ 6.0, 15.0, 1.0 ], + "parent": "leftArm" + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 12.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 40, 32 ], + "inflate": 0.25 + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 15, 1 ], + "locators": { + "lead_hold": [ -6, 15, 1 ] + }, + "parent": "rightArm" + }, + + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 16, 48 ] + } + ] + }, + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.25 + } + ] + }, + + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 32 ], + "inflate": 0.25 + } + ] + }, + + { + "name": "jacket", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 32 ], + "inflate": 0.25 + } + ] + } + ] + }, + "geometry.humanoid.customSlim": { + "visible_bounds_width": 1, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 16 ] + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "hat", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 32, 0 ], + "inflate": 0.5 + } + ] + }, + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.9, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 32 ], + "inflate": 0.25 + } + ] + }, + + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 16, 48 ] + } + ], + "mirror": true + }, + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ -0.1, 0.0, -2.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 48 ], + "inflate": 0.25 + } + ] + }, + + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 21.5, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 11.5, -2.0 ], + "size": [ 3, 12, 4 ], + "uv": [ 32, 48 ] + } + ] + }, + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5.0, 21.5, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 11.5, -2.0 ], + "size": [ 3, 12, 4 ], + "uv": [ 48, 48 ], + "inflate": 0.25 + } + ] + }, + { + "name": "leftItem", + "pivot": [ 6, 14.5, 1 ], + "parent": "leftArm" + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 21.5, 0.0 ], + "cubes": [ + { + "origin": [ -7.0, 11.5, -2.0 ], + "size": [ 3, 12, 4 ], + "uv": [ 40, 16 ] + } + ] + }, + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5.0, 21.5, 0.0 ], + "cubes": [ + { + "origin": [ -7.0, 11.5, -2.0 ], + "size": [ 3, 12, 4 ], + "uv": [ 40, 32 ], + "inflate": 0.25 + } + ] + }, + { + "name": "rightItem", + "pivot": [ -6, 14.5, 1 ], + "locators": { + "lead_hold": [ -6, 14.5, 1 ] + }, + "parent": "rightArm" + }, + + { + "name": "jacket", + "parent": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 12.0, -2.0 ], + "size": [ 8, 12, 4 ], + "uv": [ 16, 32 ], + "inflate": 0.25 + } + ] + }, + + { + "name": "cape", + "pivot": [ 0.0, 24, -3.0 ], + "parent": "body" + } + ] + }, + "geometry.humanoid.armor1:geometry.zombie": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "head", + "inflate": 1.0 + }, + { + "name": "hat", + "inflate": 1.5, + "neverRender": false + }, + { + "name": "body", + "inflate": 1.01 + }, + + { + "name": "rightArm", + "inflate": 1.0 + }, + + { + "name": "leftArm", + "inflate": 1.0 + }, + + { + "name": "rightLeg", + "inflate": 1.0 + }, + + { + "name": "leftLeg", + "inflate": 1.0 + } + ] + }, + "geometry.humanoid.armor.helmet:geometry.humanoid.armor1": { + "bones": [ + { "name": "body", "reset": true }, + { "name": "rightArm", "reset": true }, + { "name": "leftArm", "reset": true }, + { "name": "rightLeg", "reset": true }, + { "name": "leftLeg", "reset": true } + ] + }, + "geometry.humanoid.armor.chestplate:geometry.humanoid.armor1": { + "bones": [ + { "name": "head", "reset": true }, + { "name": "hat", "reset": true }, + { "name": "rightLeg", "reset": true }, + { "name": "leftLeg", "reset": true } + ] + }, + "geometry.humanoid.armor.leggings:geometry.humanoid.armor2": { + "bones": [ + { "name": "head", "reset": true }, + { "name": "hat", "reset": true }, + { "name": "rightArm", "reset": true }, + { "name": "leftArm", "reset": true } + ] + }, + "geometry.humanoid.armor.boots:geometry.humanoid.armor1": { + "bones": [ + { "name": "head", "reset": true }, + { "name": "hat", "reset": true }, + { "name": "body", "reset": true }, + { "name": "rightArm", "reset": true }, + { "name": "leftArm", "reset": true } + ] + }, + "geometry.humanoid.armor2:geometry.zombie": { + "visible_bounds_width": 2, + "visible_bounds_height": 2, + "visible_bounds_offset": [ 0, 1, 0 ], + "bones": [ + { + "name": "head", + "inflate": 0.5 + }, + + { + "name": "body", + "inflate": 0.5 + }, + + { + "name": "rightArm", + "inflate": 0.5 + }, + + { + "name": "leftArm", + "inflate": 0.5 + }, + + { + "name": "rightLeg", + "inflate": 0.49 + }, + + { + "name": "leftLeg", + "inflate": 0.49 + } + ] + }, + "geometry.quadruped": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 19.0, 2.0 ], + "cubes": [ + { + "origin": [ -5.0, 13.0, -5.0 ], + "size": [ 10, 16, 8 ], + "uv": [ 28, 8 ] + } + ] + }, + + { + "name": "head", + "pivot": [ 0.0, 18.0, -6.0 ], + "cubes": [ + { + "origin": [ -4.0, 14.0, -14.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + }, + + { + "name": "leg0", + "pivot": [ -3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + + { + "name": "leg1", + "pivot": [ 3.0, 12.0, 7.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, 5.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + + { + "name": "leg2", + "pivot": [ -3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ -5.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + }, + + { + "name": "leg3", + "pivot": [ 3.0, 12.0, -5.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -7.0 ], + "size": [ 4, 12, 4 ], + "uv": [ 0, 16 ] + } + ] + } + ] + }, + "geometry.irongolem": { + "visible_bounds_width": 3, + "visible_bounds_height": 3, + "visible_bounds_offset": [ 0, 1.5, 0 ], + "texturewidth": 128, + "textureheight": 128, + + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 31.0, 0.0 ], + "cubes": [ + { + "origin": [ -9.0, 21.0, -6.0 ], + "size": [ 18, 12, 11 ], + "uv": [ 0, 40 ] + }, + { + "origin": [ -4.5, 16.0, -3.0 ], + "size": [ 9, 5, 6 ], + "uv": [ 0, 70 ], + "inflate": 0.5 + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 31.0, -2.0 ], + "locators": { + "lead": [ 0.0, 31.0, -2.0 ] + }, + "cubes": [ + { + "origin": [ -4.0, 33.0, -7.5 ], + "size": [ 8, 10, 8 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ -1.0, 32.0, -9.5 ], + "size": [ 2, 4, 2 ], + "uv": [ 24, 0 ] + } + ] + }, + { + "name": "arm0", + "parent": "body", + "pivot": [ 0.0, 31.0, 0.0 ], + "cubes": [ + { + "origin": [ -13.0, 3.5, -3.0 ], + "size": [ 4, 30, 6 ], + "uv": [ 60, 21 ] + } + ] + }, + { + "name": "arm1", + "parent": "body", + "pivot": [ 0.0, 31.0, 0.0 ], + "cubes": [ + { + "origin": [ 9.0, 3.5, -3.0 ], + "size": [ 4, 30, 6 ], + "uv": [ 60, 58 ] + } + ] + }, + { + "name": "leg0", + "parent": "body", + "pivot": [ -4.0, 13.0, 0.0 ], + "cubes": [ + { + "origin": [ -7.5, 0.0, -3.0 ], + "size": [ 6, 16, 5 ], + "uv": [ 37, 0 ] + } + ] + }, + { + "name": "leg1", + "parent": "body", + "mirror": true, + "pivot": [ 5.0, 13.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.5, 0.0, -3.0 ], + "size": [ 6, 16, 5 ], + "uv": [ 60, 0 ] + } + ] + } + ] + }, + "geometry.chalkboard_small": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -8, 4, -1 ], + "uv": [ 0, 0 ], + "size": [ 16, 12, 2 ] + } + ], + "pivot": [ + -8.881784e-18, + 0, + 7.105427e-17 + ] + }, + { + "name": "rightLeg", + "cubes": [ + { + "origin": [ -1, 0, -1 ], + "uv": [ 0, 14 ], + "size": [ 2, 4, 2 ] + } + ], + "pivot": [ + 0, + 2.842171e-16, + 7.105427e-17 + ] + } + ] + }, + "geometry.chalkboard_medium": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 128, + "textureheight": 32, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -16, 4, -1 ], + "uv": [ 0, 0 ], + "size": [ 32, 12, 2 ] + } + ], + "pivot": [ + 0, + 0, + 1.421085e-16 + ] + }, + { + "name": "leftLeg", + "cubes": [ + { + "origin": [ 10, 0, -1 ], + "uv": [ 0, 14 ], + "size": [ 2, 4, 2 ] + } + ], + "pivot": [ + 2.273737e-15, + -5.684342e-16, + 7.105427e-17 + ] + }, + { + "name": "rightLeg", + "cubes": [ + { + "origin": [ -12, 0, -1 ], + "uv": [ 0, 14 ], + "size": [ 2, 4, 2 ] + } + ], + "pivot": [ + -4.547474e-15, + -8.526513e-16, + 0 + ] + } + ] + }, + "geometry.chalkboard_large": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 128, + "textureheight": 64, + "bones": [ + { + "name": "body", + "cubes": [ + { + "origin": [ -24, 4, -1 ], + "uv": [ 0, 0 ], + "size": [ 48, 28, 2 ] + } + ], + "pivot": [ + 0, + -1.136868e-15, + 7.105427e-17 + ] + }, + { + "name": "leftLeg", + "cubes": [ + { + "origin": [ 16, 0, -1 ], + "uv": [ 0, 30 ], + "size": [ 2, 4, 2 ] + } + ], + "pivot": [ + 0, + 2.842171e-16, + 0 + ] + }, + { + "name": "rightLeg", + "cubes": [ + { + "origin": [ -18, 0, -1 ], + "uv": [ 0, 30 ], + "size": [ 2, 4, 2 ] + } + ], + "pivot": [ + 0, + 2.842171e-16, + 0 + ] + } + ] + }, + "geometry.agent": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 32, + "textureheight": 32, + "bones": [ + { + "name": "body", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 5.0, -2.0 ], + "size": [ 8.0, 4.0, 4.0 ], + "uv": [ 0.0, 12.0 ] + }, + { + "origin": [ -3.0, 3.0, -2.0 ], + "size": [ 6.0, 2.0, 4.0 ], + "uv": [ 0.0, 20.0 ] + } + ] + }, + { + "name": "head", + "parent": "body", + "pivot": [ 0.0, 9.0, -0.8 ], + "cubes": [ + { + "origin": [ -3.0, 9.0, -3.0 ], + "size": [ 6.0, 7.0, 5.0 ], + "uv": [ 0.0, 0.0 ] + }, + { + "origin": [ -1.0, 9.0, -4.0 ], + "size": [ 2.0, 3.0, 1.0 ], + "uv": [ 17.0, 1.0 ] + } + ] + }, + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5.0, 9.0, 0.0 ], + "cubes": [ + { + "origin": [ 4.0, 0.0, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 24.0, 11.0 ] + } + ] + }, + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5.0, 9.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 0.0, -1.0 ], + "size": [ 2.0, 9.0, 2.0 ], + "uv": [ 24.0, 0.0 ] + } + ] + }, + { + "name": "leftLeg", + "parent": "body", + "pivot": [ 1.9, 3.0, 0.0 ], + "cubes": [ + { + "origin": [ 1.0, 0.0, -1.0 ], + "size": [ 2.0, 3.0, 2.0 ], + "uv": [ 8.0, 26.0 ] + } + ] + }, + { + "name": "rightLeg", + "parent": "body", + "pivot": [ -1.9, 3.0, 0.0 ], + "cubes": [ + { + "origin": [ -3.0, 0.0, -1.0 ], + "size": [ 2.0, 3.0, 2.0 ], + "uv": [ 0.0, 26.0 ] + } + ] + } + ] + }, + "geometry.bed": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "bones": [ + { + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 0.0 ], + "size": [ 16.0, 32.0, 6.0 ], + "uv": [ 0.0, 0.0 ] + }, + { + "origin": [ 3.0, 31.0, 6.0 ], + "size": [ 10.0, 1.0, 3.0 ], + "uv": [ 38.0, 2.0 ] + }, + { + "origin": [ 3.0, 0.0, 6.0 ], + "size": [ 10.0, 1.0, 3.0 ], + "uv": [ 38.0, 38.0 ] + }, + { + "origin": [ 15.0, 3.0, 6.0 ], + "size": [ 1.0, 26.0, 3.0 ], + "uv": [ 52.0, 6.0 ] + }, + { + "origin": [ 0.0, 3.0, 6.0 ], + "size": [ 1.0, 26.0, 3.0 ], + "uv": [ 44.0, 6.0 ] + } + ], + "name": "bed" + }, + { + "pivot": [ 5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 13.0, 29.0, 6.0 ], + "size": [ 3.0, 3.0, 3.0 ], + "uv": [ 12.0, 38.0 ] + } + ], + "name": "leg1" + }, + { + "pivot": [ -5.0, 22.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 29.0, 6.0 ], + "size": [ 3.0, 3.0, 3.0 ], + "uv": [ 0.0, 38.0 ] + } + ], + "name": "leg0" + }, + { + "pivot": [ 2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 13.0, 0.0, 6.0 ], + "size": [ 3.0, 3.0, 3.0 ], + "uv": [ 12.0, 44.0 ] + } + ], + "name": "leg3" + }, + { + "pivot": [ -2.0, 12.0, 0.0 ], + "cubes": [ + { + "origin": [ 0.0, 0.0, 6.0 ], + "size": [ 3.0, 3.0, 3.0 ], + "uv": [ 0.0, 44.0 ] + } + ], + "name": "leg2" + } + ], + "texturewidth": 64, + "textureheight": 64 + }, + "geometry.player_head": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 64, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + } + ] + }, + "geometry.mob_head": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 64, + "textureheight": 32, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -4.0, 24.0, -4.0 ], + "size": [ 8, 8, 8 ], + "uv": [ 0, 0 ] + } + ] + } + ] + }, + "geometry.dragon_head": { + "visible_bounds_width": 1, + "visible_bounds_height": 1, + "visible_bounds_offset": [ 0, 0.5, 0 ], + "texturewidth": 256, + "textureheight": 256, + "bones": [ + { + "name": "head", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -8.0, 16.0, -10.0 ], + "size": [ 16.0, 16.0, 16.0 ], + "uv": [ 112, 30 ] + }, + { + "mirror": true, + "origin": [ -5.0, 32.0, -4.0 ], + "size": [ 2.0, 4.0, 6.0 ], + "uv": [ 0, 0 ] + }, + { + "origin": [ 3.0, 32.0, -4.0 ], + "size": [ 2.0, 4.0, 6.0 ], + "uv": [ 0, 0 ] + } + ] + }, + { + "name": "snout", + "pivot": [ 0.0, 24.0, 0.0 ], + "cubes": [ + { + "origin": [ -6.0, 20.0, -24.0 ], + "size": [ 12.0, 5.0, 16.0 ], + "uv": [ 176, 44 ] + }, + { + "mirror": true, + "origin": [ -5.0, 25.0, -22.0 ], + "size": [ 2.0, 2.0, 4.0 ], + "uv": [ 112, 0 ] + }, + { + "origin": [ 3.0, 25.0, -22.0 ], + "size": [ 2.0, 2.0, 4.0 ], + "uv": [ 112, 0 ] + } + ] + }, + { + "name": "jaw", + "pivot": [ 0.0, 20.0, -8.0 ], + "cubes": [ + { + "origin": [ -6.0, 16.0, -24.0 ], + "size": [ 12.0, 4.0, 16.0 ], + "uv": [ 176, 65 ] + } + ] + } + ] + } +} diff --git a/resource_pack/particles/arrowspell.json b/resource_pack/particles/arrowspell.json new file mode 100644 index 0000000..786cf40 --- /dev/null +++ b/resource_pack/particles/arrowspell.json @@ -0,0 +1,68 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:arrow_spell_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-1, 1)", "Math.random(-1, 1)", "Math.random(-1, 1)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.3", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 1.5)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1) - (variable.particle_age * 0.4) * 1.25", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4)", + "(variable.particle_random_2 * 2 - 1) - (variable.particle_age * 0.4) * 1.25" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/azalea_leaves_particle.json b/resource_pack/particles/azalea_leaves_particle.json new file mode 100644 index 0000000..9cfac9d --- /dev/null +++ b/resource_pack/particles/azalea_leaves_particle.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.21.60", + "particle_effect": { + "description": { + "identifier": "minecraft:azalea_leaves_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/biome_tinted_leaves_atlas" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "v.fall_acc = -0.3; v.wind_acc = 10; v.curve_len = 15;" + }, + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_box": { + "offset": [ 0.5, -0.075, 0.5 ], + "half_dimensions": [ 0.5, 0.0, 0.5 ], + "direction": "outwards" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 15 + }, + "minecraft:particle_initial_spin": { + "rotation": "math.random(0, 360)", + "rotation_rate": "math.random(-30, 30)" + }, + "minecraft:particle_initial_speed": [ 0.0, -0.021, 0.0 ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "math.cos((v.particle_age / 15) * (1000 + v.particle_random_3 * 3000)) * v.wind_acc * (v.particle_age / 15)", + "v.fall_acc", + "math.sin((v.particle_age / 15) * (1000 + v.particle_random_3 * 3000)) * v.wind_acc * (v.particle_age / 15)" + ], + "rotation_acceleration": "v.particle_random_4 > 0.5 ? -5 : 5" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "v.particle_random_1 > 0.5 ? 0.1 : 0.15", + "v.particle_random_1 > 0.5 ? 0.1 : 0.15" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 28, + "texture_height": 21, + "uv": [ + "math.floor(v.particle_random_1 * 4) * 7", + "math.floor(v.particle_random_2 * 3) * 7" + ], + "uv_size": [ 7, 7 ] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10, + "collision_radius": 0.075, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {}, + "minecraft:particle_appearance_tinting": { + "color": [ 0.439, 0.573, 0.176, 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/balloon_gas.json b/resource_pack/particles/balloon_gas.json new file mode 100644 index 0000000..731d423 --- /dev/null +++ b/resource_pack/particles/balloon_gas.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:balloon_gas_particle", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x", "variable.direction.y", "variable.direction.z" ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(0.75, 0.9)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.1, 0.1, 0.1 ], + "linear_drag_coefficient": 0.49 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(variable.particle_random_1 * 0.5f + 0.5f) * 0.2", "(variable.particle_random_1 * 0.5f + 0.5f) * 0.2" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 88 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0153 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0387 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0636 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - 0.60 * ((variable.particle_age - (variable.particle_lifetime / 2.0)) / (variable.particle_lifetime / 2.0)) : 1.0" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/basic_bubble.json b/resource_pack/particles/basic_bubble.json new file mode 100644 index 0000000..651de2a --- /dev/null +++ b/resource_pack/particles/basic_bubble.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:basic_bubble_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/basic_bubble_manual.json b/resource_pack/particles/basic_bubble_manual.json new file mode 100644 index 0000000..a09946a --- /dev/null +++ b/resource_pack/particles/basic_bubble_manual.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:basic_bubble_particle_manual", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/basic_crit.json b/resource_pack/particles/basic_crit.json new file mode 100644 index 0000000..8104667 --- /dev/null +++ b/resource_pack/particles/basic_crit.json @@ -0,0 +1,77 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:basic_crit_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + + "minecraft:particle_initial_speed": 2.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "6.0 / (Math.random(0.0, 16.0) + 12.0)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -10.0, 0.0 ], + "linear_drag_coefficient": 10 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "0.10 + variable.particle_random_1*0.05", + "0.10 + variable.particle_random_1*0.05" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 72 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ + "variable.particle_random_1*0.3 + 0.6", + "variable.particle_random_2*0.3+ 0.6", + "variable.particle_random_2*0.3+ 0.6", + 1.0 + ], + [ "variable.particle_random_1*0.3 + 0.6", 0.5, 0.3, 1.0 ] + ], + "interpolant": "variable.particle_age/variable.particle_lifetime" + } + }, + + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/basic_flame.json b/resource_pack/particles/basic_flame.json new file mode 100644 index 0000000..28bb8ba --- /dev/null +++ b/resource_pack/particles/basic_flame.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:basic_flame_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.025, + "direction": [ 0, 0, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.6, 2.0)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.1 + variable.particle_random_1*0.1) - (0.1 * variable.particle_age)", + "(0.1 + variable.particle_random_1*0.1) - (0.1 * variable.particle_age)" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 24 ], + "uv_size": [ 8, 8 ] + } + } + } + } +} diff --git a/resource_pack/particles/basic_portal.json b/resource_pack/particles/basic_portal.json new file mode 100644 index 0000000..ee40afa --- /dev/null +++ b/resource_pack/particles/basic_portal.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:basic_portal_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + + "minecraft:emitter_shape_point": { + }, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(2.0,2.45)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + 0.0, + "-1.0 * (variable.particle_age/variable.particle_lifetime)", + 0.0 + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - Math.Pow((1-(variable.particle_age/variable.particle_lifetime)),2))", + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - Math.Pow((1-(variable.particle_age/variable.particle_lifetime)),2))" + ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_1*8)*8", 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "(variable.particle_random_1 * 0.6 + 0.4) * 0.3", "(variable.particle_random_1 * 0.6 + 0.4) * 0.9", 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/basic_smoke.json b/resource_pack/particles/basic_smoke.json new file mode 100644 index 0000000..4752176 --- /dev/null +++ b/resource_pack/particles/basic_smoke.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:basic_smoke_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_custom": { + "offset": [ 0, 0, 0 ], + "direction": [ "Math.random(-0.1, 0.1)", 1.0, "Math.random(-0.1, 0.1)" ] + }, + "minecraft:particle_initial_speed": 1.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.4, 1.4)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.4, 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.1, 0.1 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", "variable.particle_random_1*0.5", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/biome_tinted_leaves_particle.json b/resource_pack/particles/biome_tinted_leaves_particle.json new file mode 100644 index 0000000..29c36e9 --- /dev/null +++ b/resource_pack/particles/biome_tinted_leaves_particle.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.21.60", + "particle_effect": { + "description": { + "identifier": "minecraft:biome_tinted_leaves_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/biome_tinted_leaves_atlas" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "v.fall_acc = -0.3; v.wind_acc = 10; v.curve_len = 15;" + }, + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_box": { + "offset": [ 0.5, -0.075, 0.5 ], + "half_dimensions": [ 0.5, 0.0, 0.5 ], + "direction": "outwards" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 15 + }, + "minecraft:particle_initial_spin": { + "rotation": "math.random(0, 360)", + "rotation_rate": "math.random(-30, 30)" + }, + "minecraft:particle_initial_speed": [ 0.0, -0.021, 0.0 ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "math.cos((v.particle_age / 15) * (1000 + v.particle_random_3 * 3000)) * v.wind_acc * (v.particle_age / 15)", + "v.fall_acc", + "math.sin((v.particle_age / 15) * (1000 + v.particle_random_3 * 3000)) * v.wind_acc * (v.particle_age / 15)" + ], + "rotation_acceleration": "v.particle_random_4 > 0.5 ? -5 : 5" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "v.particle_random_1 > 0.5 ? 0.1 : 0.15", + "v.particle_random_1 > 0.5 ? 0.1 : 0.15" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 28, + "texture_height": 21, + "uv": [ + "math.floor(v.particle_random_1 * 4) * 7", + "math.floor(v.particle_random_2 * 3) * 7" + ], + "uv_size": [ 7, 7 ] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10, + "collision_radius": 0.075, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {}, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/bleach.json b/resource_pack/particles/bleach.json new file mode 100644 index 0000000..07a6914 --- /dev/null +++ b/resource_pack/particles/bleach.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:bleach", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 25 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + + "minecraft:emitter_shape_point": { + "direction": [ 0.0, 0.1, 0.0 ] + }, + "minecraft:particle_initial_speed": 2.5, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.2, 1.5)" + }, + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.14, 0.14 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 40 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/block_destruct.json b/resource_pack/particles/block_destruct.json new file mode 100644 index 0000000..e39618b --- /dev/null +++ b/resource_pack/particles/block_destruct.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:block_destruct", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "atlas.terrain" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.emitter_intensity * variable.emitter_intensity * (variable.emitter_intensity)" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)" ], + "direction": [ "Math.random(-1,1)", 1, "Math.random(-1, 1)" ] + }, + "minecraft:particle_initial_speed": "Math.random(0, 4) * variable.velocity_scalar", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_1 * 0.0375 + 0.0375" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": [ "variable.emitter_texture_coordinate.u + (variable.emitter_texture_size.u/4) * (variable.particle_random_1*3)", "variable.emitter_texture_coordinate.v + (variable.emitter_texture_size.v/4) * (variable.particle_random_2*3)" ], + "uv_size": [ "variable.emitter_texture_size.u/4", "variable.emitter_texture_size.v/4" ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/block_slide.json b/resource_pack/particles/block_slide.json new file mode 100644 index 0000000..69dc602 --- /dev/null +++ b/resource_pack/particles/block_slide.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:block_slide", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "atlas.terrain" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.emitter_intensity * variable.emitter_intensity * (variable.emitter_intensity)" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)" ], + "direction": [ "Math.random(-1,1)", -1, "Math.random(-1, 1)" ] + }, + "minecraft:particle_initial_speed": "Math.random(0, 4) * variable.velocity_scalar", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_1 * 0.0375 + 0.0375" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": [ "variable.emitter_texture_coordinate.u + (variable.emitter_texture_size.u/4) * (variable.particle_random_1*3)", "variable.emitter_texture_coordinate.v + (variable.emitter_texture_size.v/4) * (variable.particle_random_2*3)" ], + "uv_size": [ "variable.emitter_texture_size.u/4", "variable.emitter_texture_size.v/4" ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/blue_flame.json b/resource_pack/particles/blue_flame.json new file mode 100644 index 0000000..6efa584 --- /dev/null +++ b/resource_pack/particles/blue_flame.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:blue_flame_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.025, + "direction": [ 0, 0, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.6, 2.0)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.1 + variable.particle_random_1*0.1) - (0.1 * variable.particle_age)", + "(0.1 + variable.particle_random_1*0.1) - (0.1 * variable.particle_age)" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 24 ], + "uv_size": [ 8, 8 ] + } + } + } + } +} diff --git a/resource_pack/particles/breaking_item_icon.json b/resource_pack/particles/breaking_item_icon.json new file mode 100644 index 0000000..2d4c241 --- /dev/null +++ b/resource_pack/particles/breaking_item_icon.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:breaking_item_icon", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "atlas.items" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.num_particles" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)" ], + "direction": [ "Math.Random(-1.0, 1.0)", "Math.Random(0.0, 1.0)", "Math.Random(-1.0, 1.0)" ] + }, + "minecraft:particle_initial_speed": "Math.random(1, 4) * variable.speed_modifier", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(variable.particle_random_1 * 0.04 + 0.04) * variable.size_modifier", "(variable.particle_random_1 * 0.04 + 0.04) * variable.size_modifier" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": [ "variable.EmitterTextureCoord.u + (variable.EmitterTextureSize.u/4) * (variable.particle_random_1*3)", "variable.EmitterTextureCoord.v + (variable.EmitterTextureSize.v/4) * (variable.particle_random_2*3)" ], + "uv_size": [ "variable.EmitterTextureSize.u/4", "variable.EmitterTextureSize.v/4" ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/breaking_item_terrain.json b/resource_pack/particles/breaking_item_terrain.json new file mode 100644 index 0000000..34a5e02 --- /dev/null +++ b/resource_pack/particles/breaking_item_terrain.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:breaking_item_terrain", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "atlas.terrain" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)", "Math.random(-variable.emitter_radius, variable.emitter_radius)" ], + "direction": [ "Math.Random(-1.0, 1.0)", "Math.Random(0.0, 1.0)", "Math.Random(-1.0, 1.0)" ] + }, + "minecraft:particle_initial_speed": "Math.random(1, 4) * variable.speed_modifier", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(variable.particle_random_1 * 0.04 + 0.04) * variable.size_modifier", "(variable.particle_random_1 * 0.04 + 0.04) * variable.size_modifier" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": [ "variable.EmitterTextureCoord.u + (variable.EmitterTextureSize.u/4) * (variable.particle_random_1*3)", "variable.EmitterTextureCoord.v + (variable.EmitterTextureSize.v/4) * (variable.particle_random_2*3)" ], + "uv_size": [ "variable.EmitterTextureSize.u/4", "variable.EmitterTextureSize.v/4" ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/breeze_ground_particle.json b/resource_pack/particles/breeze_ground_particle.json new file mode 100644 index 0000000..dff36ce --- /dev/null +++ b/resource_pack/particles/breeze_ground_particle.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:breeze_ground_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "atlas.terrain" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.ground_particle_amount" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.1 + }, + "minecraft:emitter_shape_point": { + "direction": [ "math.random( -0.1, 0.1 )", "math.random( 0.1, 0.2 )", "math.random( -0.1, 0.1 )" ], + "offset": [ 0, 0.1, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random( 1, 1.1 )" + }, + "minecraft:particle_initial_speed": "variable.ground_particle_initial_speed", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_1 * 0.0375 + 0.0375" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": [ "variable.ground_particle_texture_coordinate.u + (variable.ground_particle_texture_size.u/4) * (variable.particle_random_1*3)", "variable.ground_particle_texture_coordinate.v + (variable.ground_particle_texture_size.v/4) * (variable.particle_random_2*3)" ], + "uv_size": [ "variable.ground_particle_texture_size.u/4", "variable.ground_particle_texture_size.v/4" ] + } + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.ground_particle_color.r * 0.7", "variable.ground_particle_color.g * 0.7", "variable.ground_particle_color.b * 0.7", "variable.ground_particle_color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/breeze_wind_explosion.json b/resource_pack/particles/breeze_wind_explosion.json new file mode 100644 index 0000000..2590391 --- /dev/null +++ b/resource_pack/particles/breeze_wind_explosion.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:breeze_wind_explosion_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/gust" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 120, + "max_particles": 50 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.4 + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-4, 4)", "Math.random(-4, 4)", "Math.random(-4, 4)" ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random( 0.8, 0.9 )" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 384, + "texture_height": 32, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 32, 32 ], + "step_UV": [ 32, 0 ], + "frames_per_second": 12, + "max_frame": 12, + "stretch_to_lifetime": true, + "loop": false + } + } + } + } + } +} diff --git a/resource_pack/particles/bubble_column_bubble.json b/resource_pack/particles/bubble_column_bubble.json new file mode 100644 index 0000000..0070d8a --- /dev/null +++ b/resource_pack/particles/bubble_column_bubble.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:bubble_column_bubble", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 1, 1, 1 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/bubble_column_down.json b/resource_pack/particles/bubble_column_down.json new file mode 100644 index 0000000..a705c2c --- /dev/null +++ b/resource_pack/particles/bubble_column_down.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:bubble_column_down_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 1000 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "direction": [0, -1, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10 + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_initialization": { + "per_update_expression": "variable.angle = variable.particle_random_1 * 360 + variable.particle_age * 180;", + "per_render_expression": "variable.size = (0.05 * variable.particle_random_3+0.1)*(variable.particle_random_4*0.9+0.2);" + }, + "minecraft:particle_initial_speed": "1", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["Math.cos(variable.angle)*3", -1.3, "Math.sin(variable.angle)*3"], + "linear_drag_coefficient": 2 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.size", "variable.size" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/bubble_column_up.json b/resource_pack/particles/bubble_column_up.json new file mode 100644 index 0000000..795623b --- /dev/null +++ b/resource_pack/particles/bubble_column_up.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:bubble_column_up_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 1000 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-1, 1)", 0, "Math.random(-1, 1)" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10 + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_initial_speed": "Math.random(0, 0.8)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 4, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.9 + 0.2)", "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.9 + 0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/camera_shoot_explosion.json b/resource_pack/particles/camera_shoot_explosion.json new file mode 100644 index 0000000..fe9d728 --- /dev/null +++ b/resource_pack/particles/camera_shoot_explosion.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:camera_shoot_explosion", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4" ] + } + } + } +} diff --git a/resource_pack/particles/campfire_smoke.json b/resource_pack/particles/campfire_smoke.json new file mode 100644 index 0000000..697217f --- /dev/null +++ b/resource_pack/particles/campfire_smoke.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:campfire_smoke_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/campfire_smoke" + } + }, + "components": { + "minecraft:emitter_shape_custom": { + "offset": [ 0, 0, 0 ], + "direction": [ 0.0, 1.0, 0.0 ] + }, + "minecraft:emitter_rate_manual": { + "max_particles": 200 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:particle_initial_speed": "Math.random(0.5, 1.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.4, 0 ] + }, + "minecraft:particle_motion_collision": { + "enabled": "variable.particle_age > 1", + "collision_radius": 0.25 + }, + "minecraft:particle_initialization": { + "per_render_expression": "variable.size = 0.75 * math.pow(1.0-(variable.particle_age / variable.particle_lifetime), 0.08);" + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size" , "variable.size" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 12, + "uv": [ 0, "Math.floor(variable.particle_random_2 * 12)" ], + "uv_size": [ 1, 1 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } + } + \ No newline at end of file diff --git a/resource_pack/particles/campfire_smoke_tall.json b/resource_pack/particles/campfire_smoke_tall.json new file mode 100644 index 0000000..9c75ba2 --- /dev/null +++ b/resource_pack/particles/campfire_smoke_tall.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:campfire_tall_smoke_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/campfire_smoke" + } + }, + "components": { + "minecraft:emitter_shape_custom": { + "offset": [ 0, 0, 0 ], + "direction": [ 0.0, 1.0, 0.0 ] + }, + "minecraft:emitter_rate_manual": { + "max_particles": 200 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:particle_initial_speed": "Math.random(0.5, 1.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "9" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.4, 0 ] + }, + "minecraft:particle_motion_collision": { + "enabled": "variable.particle_age > 1", + "collision_radius": 0.25 + }, + "minecraft:particle_initialization": { + "per_render_expression": "variable.size = 0.75 * math.pow(1.0-(variable.particle_age / variable.particle_lifetime), 0.08);" + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size" , "variable.size" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 12, + "uv": [ 0, "Math.floor(variable.particle_random_2 * 12)" ], + "uv_size": [ 1, 1 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } + } + \ No newline at end of file diff --git a/resource_pack/particles/candle_flame.json b/resource_pack/particles/candle_flame.json new file mode 100644 index 0000000..3cfa654 --- /dev/null +++ b/resource_pack/particles/candle_flame.json @@ -0,0 +1,41 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:candle_flame_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.012, + "direction": [ 0, 0, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(9.0, 11.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "0.5 * ((0.1 + variable.particle_random_1*0.1) - (0.01 * variable.particle_age))", + "0.5 * ((0.1 + variable.particle_random_1*0.1) - (0.01 * variable.particle_age))" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 24 ], + "uv_size": [ 8, 8 ] + } + } + } + } +} diff --git a/resource_pack/particles/cauldron_bubble.json b/resource_pack/particles/cauldron_bubble.json new file mode 100644 index 0000000..88e857d --- /dev/null +++ b/resource_pack/particles/cauldron_bubble.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:cauldron_bubble_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/cauldron_splash.json b/resource_pack/particles/cauldron_splash.json new file mode 100644 index 0000000..aced3ba --- /dev/null +++ b/resource_pack/particles/cauldron_splash.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:cauldron_splash_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "variable.texture_coord.u", "variable.texture_coord.v" ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/cauldronspell.json b/resource_pack/particles/cauldronspell.json new file mode 100644 index 0000000..53ce8a9 --- /dev/null +++ b/resource_pack/particles/cauldronspell.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:cauldron_spell_emitter", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.particlecount" + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-0.5,0.5)", 0.0, "Math.random(-0.5,0.5)" ], + "direction": [ "Math.random(-0.5, 0.5)", "Math.random(0, 1)", "Math.random(-0.5, 0.5)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.6", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 1)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1) - (variable.particle_age * 0.4)", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4)", + "(variable.particle_random_2 * 2 - 1) - (variable.particle_age * 0.4)" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/cherry_leaves_particle.json b/resource_pack/particles/cherry_leaves_particle.json new file mode 100644 index 0000000..d48b119 --- /dev/null +++ b/resource_pack/particles/cherry_leaves_particle.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:cherry_leaves_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/cherry_petal_atlas" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "v.fall_acc = -0.3;v.wind_acc = 2;v.curve_len = 15;" + }, + "minecraft:emitter_rate_manual": { + "max_particles": 2000 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_box": { + "offset": [0.5, -0.075, 0.5], + "half_dimensions": [0.5, 0, 0.5], + "direction": "outwards" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 15 + }, + "minecraft:particle_initial_spin": { + "rotation": "math.random(0,360)", + "rotation_rate": "math.random(-30,30)" + }, + "minecraft:particle_initial_speed": 0, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "math.cos(v.particle_random_3 * 60) * v.wind_acc * math.pow(math.min(v.curve_len, v.particle_age) / v.curve_len, 1.25)", + "v.fall_acc", + "math.sin(v.particle_random_3 * 60) * v.wind_acc * math.pow(math.min(v.curve_len, v.particle_age) / v.curve_len, 1.25)" + ], + "rotation_acceleration": "v.particle_random_4 > 0.5 ? -5 : 5" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "v.particle_random_1 > 0.5 ? 0.05 : 0.075", + "v.particle_random_1 > 0.5 ? 0.05 : 0.075" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 12, + "texture_height": 9, + "uv": [ + "math.floor(v.particle_random_1 * 4) * 3", + "math.floor(v.particle_random_2 * 3) * 3" + ], + "uv_size": [3, 3] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10, + "collision_radius": 0.075, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {}, + "minecraft:particle_appearance_tinting": { + "color": [1, 1, 1, 1] + } + } + } +} diff --git a/resource_pack/particles/colored_flame.json b/resource_pack/particles/colored_flame.json new file mode 100644 index 0000000..65cb18f --- /dev/null +++ b/resource_pack/particles/colored_flame.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:colored_flame_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.025, + "direction": [ 0, 0, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.6, 2.0)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.1 + variable.particle_random_1*0.1) - (0.1 * variable.particle_age)", + "(0.1 + variable.particle_random_1*0.1) - (0.1 * variable.particle_age)" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 24 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/conduit.json b/resource_pack/particles/conduit.json new file mode 100644 index 0000000..4d3dec5 --- /dev/null +++ b/resource_pack/particles/conduit.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:conduit_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": {}, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 2.5)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + "variable.pos = 1 - (variable.particle_age / variable.particle_lifetime); return variable.direction_x * variable.pos;", + "variable.direction_y * variable.pos - Math.pow((1 - variable.pos), 3) * 1.2", + "variable.direction_z * variable.pos" + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.05 + 0.02", "variable.particle_random_1 * 0.05 + 0.02" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_2 * 11) * 8", 104 ], + "uv_size": [ 8, 8 ] + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.6 + 0.4" + ] + } + } + } +} diff --git a/resource_pack/particles/conduit_absorb.json b/resource_pack/particles/conduit_absorb.json new file mode 100644 index 0000000..3998127 --- /dev/null +++ b/resource_pack/particles/conduit_absorb.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:conduit_absorb_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": {}, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 2.5)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + "variable.pos = 1 - (variable.particle_age / variable.particle_lifetime); return variable.direction_x * variable.pos;", + "variable.direction_y * variable.pos - Math.pow((1 - variable.pos), 3) * 1.2", + "variable.direction_z * variable.pos" + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.05 + 0.02", "variable.particle_random_1 * 0.05 + 0.02" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_2 * 11) * 8", 104 ], + "uv_size": [ 8, 8 ] + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.6 + 0.4" + ] + } + } + } +} diff --git a/resource_pack/particles/conduit_attack.json b/resource_pack/particles/conduit_attack.json new file mode 100644 index 0000000..1ac0ae9 --- /dev/null +++ b/resource_pack/particles/conduit_attack.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:conduit_attack_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 6 + }, + + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": {}, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 2.5)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + "variable.pos = 1 - (variable.particle_age / variable.particle_lifetime); return (-0.5 + variable.particle_random_1) * (3 + variable.aabb_dimension_x) * variable.pos;", + "(-1.0 + variable.particle_random_2 * variable.aabb_dimension_y) * variable.pos - Math.pow((1 - variable.pos), 3) * 1.2", + "(-0.5 + variable.particle_random_3) * (3 + variable.aabb_dimension_x) * variable.pos" + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.05 + 0.02", "variable.particle_random_1 * 0.05 + 0.02" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_2 * 11) * 8", 104 ], + "uv_size": [ 8, 8 ] + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.6 + 0.4" + ] + } + } + } +} diff --git a/resource_pack/particles/creaking_crumble_body.json b/resource_pack/particles/creaking_crumble_body.json new file mode 100644 index 0000000..3717da8 --- /dev/null +++ b/resource_pack/particles/creaking_crumble_body.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:creaking_crumble_body", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/blocks/pale_oak_log_side" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_box": { + "half_dimensions": [ 0.45, 1.35, 0.45 ], + "direction": [ "Math.random(-1.0, 1.0)", 1.0, "Math.random(-1.0, 1.0)" ] + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 1.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_2 * 0.0375 + 0.0375" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ "Math.round(variable.particle_random_1 * 12.0)", "Math.round(variable.particle_random_2 * 12.0)" ], + "uv_size": [ 4, 4 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/creaking_crumble_head.json b/resource_pack/particles/creaking_crumble_head.json new file mode 100644 index 0000000..fb32abf --- /dev/null +++ b/resource_pack/particles/creaking_crumble_head.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:creaking_crumble_head", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/blocks/creaking_heart_side_active" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 20 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_box": { + "half_dimensions": [ 0.45, 1.35, 0.45 ], + "direction": [ "Math.random(-1.0, 1.0)", 1.0, "Math.random(-1.0, 1.0)" ] + }, + "minecraft:particle_initial_speed": "Math.random(0.0, 1.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "0.2f / (Math.random(0.0, 1.0) * 0.9f + 0.1f)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_2 * 0.0375 + 0.0375" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ "Math.round(variable.particle_random_1 * 12.0)", "Math.round(variable.particle_random_2 * 12.0)" ], + "uv_size": [ 4, 4 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/creaking_heart_trail.json b/resource_pack/particles/creaking_heart_trail.json new file mode 100644 index 0000000..747770b --- /dev/null +++ b/resource_pack/particles/creaking_heart_trail.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:creaking_heart_trail", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/pixel" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_initial_speed": "variable.particle_initial_speed", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "variable.max_lifetime" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0, 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.0375, 0.0375 ], + "facing_camera_mode": "lookat_xyz" + }, + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.color.r", + "variable.color.g", + "variable.color.b", + 1.0 + ] + } + } + } +} diff --git a/resource_pack/particles/critical_hit.json b/resource_pack/particles/critical_hit.json new file mode 100644 index 0000000..545708d --- /dev/null +++ b/resource_pack/particles/critical_hit.json @@ -0,0 +1,68 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:critical_hit_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 520, + "max_particles": 48 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + "minecraft:emitter_shape_point": { + "offset": [ 0.0, "Math.random(-0.9, -0.5)", 0.0 ], + "direction": [ "Math.random(-0.75, 0.75)", "Math.random(-1.0, 1.0)", "Math.random(-0.75, 0.75)" ] + }, + "minecraft:particle_initial_speed": "Math.random(10.0, 20.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "6.0 / (Math.random(0.0, 16.0) + 12.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -12.0, 0 ], + "linear_drag_coefficient": 10 + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "0.10 + variable.particle_random_1*0.05", + "0.10 + variable.particle_random_1*0.05" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 72 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ + "variable.particle_random_1*0.3 + 0.6", + "variable.particle_random_2*0.3+ 0.6", + "variable.particle_random_2*0.3+ 0.6", + 1.0 + ], + [ "variable.particle_random_1*0.3 + 0.6", 0.5, 0.3, 1.0 ] + ], + "interpolant": "variable.particle_age/variable.particle_lifetime" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/crop_growth.json b/resource_pack/particles/crop_growth.json new file mode 100644 index 0000000..418149b --- /dev/null +++ b/resource_pack/particles/crop_growth.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:crop_growth_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.08, 0.14);" + }, + "minecraft:emitter_rate_instant": { + "num_particles": "Math.random(12, 18)" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1 + }, + "minecraft:emitter_shape_box": { + "half_dimensions": [0.4, 0.4, 0.4], + "direction": [ "Math.random(-0.6, 0.6)", 0.6, "Math.random(-0.6, 0.6)" ] + }, + "minecraft:particle_initial_speed" : 0.04, + "minecraft:particle_motion_dynamic" : {}, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2.0 + (Math.random(0.0, 4.0))" + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size"], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [16, 40], + "uv_size": [8, 8] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/crop_growth_area.json b/resource_pack/particles/crop_growth_area.json new file mode 100644 index 0000000..85003c8 --- /dev/null +++ b/resource_pack/particles/crop_growth_area.json @@ -0,0 +1,42 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:crop_growth_area_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.08, 0.14);" + }, + "minecraft:emitter_rate_instant": { + "num_particles": "Math.random(30, 40)" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1 + }, + "minecraft:emitter_shape_box": { + "half_dimensions": [2.5, 0.5, 2.5], + "direction": [ "Math.random(-0.6, 0.6)", 0.6, "Math.random(-0.6, 0.6)" ] + }, + "minecraft:particle_initial_speed" : 0.04, + "minecraft:particle_motion_dynamic" : {}, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2.0 + (Math.random(0.0, 4.0))" + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size"], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [16, 40], + "uv_size": [8, 8] + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/dolphin_move.json b/resource_pack/particles/dolphin_move.json new file mode 100644 index 0000000..e689719 --- /dev/null +++ b/resource_pack/particles/dolphin_move.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dolphin_move_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/dragon_breath_fire.json b/resource_pack/particles/dragon_breath_fire.json new file mode 100644 index 0000000..816c289 --- /dev/null +++ b/resource_pack/particles/dragon_breath_fire.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dragon_breath_fire", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": { + "direction": [ "variable.actor.direction_x", "variable.actor.direction_y", "variable.actor.direction_z" ] + }, + "minecraft:particle_initial_speed": "variable.actor.speed * 20", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(2.0, 3.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ "variable.particle_age < 0.5 ? 0.0 : Math.random(-0.05, 0.05)", "variable.particle_age < 0.5 ? -9.8 : 1.0", "variable.particle_age < 0.5 ? 0.0 : Math.random(-0.05, 0.05)" ] + }, + "minecraft:particle_motion_collision": { + "collision_drag": 7.5, + "coefficient_of_restitution": 0.0, + "collision_radius": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 40, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 3, + "max_frame": 3, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "Math.random(0.7176, 0.8745)", 0.0, "Math.random(0.8235, 0.9765)", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/dragon_breath_lingering.json b/resource_pack/particles/dragon_breath_lingering.json new file mode 100644 index 0000000..a2225f1 --- /dev/null +++ b/resource_pack/particles/dragon_breath_lingering.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dragon_breath_lingering", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "Math.max(variable.cloud_radius * variable.cloud_radius * variable.particle_multiplier, 2)" + }, + "minecraft:emitter_lifetime_once": { + "active_time": "variable.cloud_lifetime" + }, + "minecraft:emitter_shape_disc": { + "radius": "variable.cloud_radius", + "direction": [ 0.0, 1.0, 0.0 ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(2.0, 3.25)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, 0.75, 0.0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 40, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 3, + "max_frame": 3, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.863, 0.0, 0.937, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/dragon_breath_trail.json b/resource_pack/particles/dragon_breath_trail.json new file mode 100644 index 0000000..2ebed13 --- /dev/null +++ b/resource_pack/particles/dragon_breath_trail.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dragon_breath_trail", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "direction": [ 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1.0, 1.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 40, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 3, + "max_frame": 3, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "Math.random(0.7176, 0.8745)", 0.0, "Math.random(0.8235, 0.9765)", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/dragon_death_explosion.json b/resource_pack/particles/dragon_death_explosion.json new file mode 100644 index 0000000..ec54b3d --- /dev/null +++ b/resource_pack/particles/dragon_death_explosion.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dragon_death_explosion_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 120, + "max_particles": 50 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.4 + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-4, 4)", "Math.random(-4, 4)", "Math.random(-4, 4)" ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4" ] + } + } + } +} diff --git a/resource_pack/particles/dragon_destroy_block.json b/resource_pack/particles/dragon_destroy_block.json new file mode 100644 index 0000000..cc1cac6 --- /dev/null +++ b/resource_pack/particles/dragon_destroy_block.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dragon_destroy_block", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4" ] + } + } + } +} diff --git a/resource_pack/particles/dragon_dying_explosion.json b/resource_pack/particles/dragon_dying_explosion.json new file mode 100644 index 0000000..2e28794 --- /dev/null +++ b/resource_pack/particles/dragon_dying_explosion.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dragon_dying_explosion", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4" ] + } + } + } +} diff --git a/resource_pack/particles/dripstone_lava_drip.json b/resource_pack/particles/dripstone_lava_drip.json new file mode 100644 index 0000000..8a4058c --- /dev/null +++ b/resource_pack/particles/dripstone_lava_drip.json @@ -0,0 +1,72 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:stalactite_lava_drip_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "hit_ground": { + "sound_effect": { + "event_name": "drip.lava.pointed_dripstone" + } + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ 0.0, 0.1, 0.0 ] + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = 2.0;", + "per_render_expression": "variable.stuck_time = 2.0;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 5.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -19.6, 0 ], + "linear_drag_coefficient": "variable.stuck_time = 2.0; return variable.particle_age < variable.stuck_time ? 277 : 0.01;" + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01, + "events": [ + { + "event": "hit_ground", + "min_speed": 0.5 + } + ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + 1.0, + "0.8 / (variable.stuck_time - (variable.stuck_time-variable.particle_age) + 0.8)", + "0.2 / (variable.stuck_time - (variable.stuck_time-variable.particle_age) + 0.4)", + 1.0 + ] + } + } + } +} diff --git a/resource_pack/particles/dripstone_water_drip.json b/resource_pack/particles/dripstone_water_drip.json new file mode 100644 index 0000000..e6980dc --- /dev/null +++ b/resource_pack/particles/dripstone_water_drip.json @@ -0,0 +1,85 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:stalactite_water_drip_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "splash": { + "particle_effect": { + "effect": "minecraft:rain_splash_particle", + "type": "particle" + } + }, + "hit_ground": { + "sound_effect": { + "event_name": "drip.water.pointed_dripstone" + } + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = 2.0;", + "per_render_expression": "variable.stuck_time = 2.0;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 5.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -19.6, 0 ], + "linear_drag_coefficient": "variable.stuck_time = 2.0; return variable.particle_age < variable.stuck_time ? 500 : 0.01;" + }, + "minecraft:particle_motion_collision": { + "expire_on_contact": true, + "collision_radius": 0.01, + "events": [ + { + "event": "hit_ground", + "min_speed": 0.5 + }, + { + "event": "splash", + "min_speed": 0.5 + }, + { + "event": "splash", + "min_speed": 0.5 + }, + { + "event": "splash", + "min_speed": 0.5 + } + ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.2, 0.3, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/dust_plume.json b/resource_pack/particles/dust_plume.json new file mode 100644 index 0000000..a2c54e4 --- /dev/null +++ b/resource_pack/particles/dust_plume.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:dust_plume", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 7 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-0.45, 0.45)", 0.95, "Math.random(-0.45, 0.45)" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "7.0 / 20.0 / Math.random(0.5, 1.0)" + }, + "minecraft:particle_initial_speed": "Math.random(1.5, 3.0)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "-2.0 * Math.pow(0.88, variable.particle_age)", 0 ], + "linear_drag_coefficient": "1.96 * Math.pow(0.92, variable.particle_age)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.165, 0.165 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "0.73 - variable.particle_random_1 * 0.2", "0.69 - variable.particle_random_1 * 0.2", "0.76 - variable.particle_random_1 * 0.2", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/editor_selected_marker.particle.json b/resource_pack/particles/editor_selected_marker.particle.json new file mode 100644 index 0000000..fee74c2 --- /dev/null +++ b/resource_pack/particles/editor_selected_marker.particle.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "editor:selected_marker", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = 0.1;variable.radius = 1;" + }, + "minecraft:emitter_local_space": { + "position": true, + "rotation": true + }, + "minecraft:emitter_rate_steady": { + "spawn_rate": 60, + "max_particles": 120 + }, + "minecraft:emitter_lifetime_looping": { + "active_time": 1 + }, + "minecraft:emitter_shape_point": { + "offset": ["variable.radius*-math.sin(variable.emitter_age*360)", 0, "variable.radius*math.cos(variable.emitter_age*360)"], + "direction": [0, 1, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 2 + }, + "minecraft:particle_initial_speed": 0.5, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [0.2, 0.2, 0.2] + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size*(1-variable.particle_age)", "variable.size*(1-variable.particle_age)"], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [32, 88], + "uv_size": [8, 8] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [0.9098, 0.99216, 0, 1] + } + } + } +} diff --git a/resource_pack/particles/electric_spark.json b/resource_pack/particles/electric_spark.json new file mode 100644 index 0000000..6c4947e --- /dev/null +++ b/resource_pack/particles/electric_spark.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:electric_spark_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ + "(variable.particle_random_1 * variable.direction.x) - (variable.direction.x / 2.0)", + "(variable.particle_random_2 * variable.direction.y) - (variable.direction.y / 2.0)", + "(variable.particle_random_3 * variable.direction.z) - (variable.direction.z / 2.0)" + ] + }, + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.1, 0.2);" + }, + + "minecraft:particle_initial_speed": "-1", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "((variable.particle_random_1 * 2) + 3) / 20" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0,0,0 ], + "linear_drag_coefficient": 0.96 + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 48 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 0.9, 1, 1.0 ] + } + } + } +} + diff --git a/resource_pack/particles/enchanting_table_particle.json b/resource_pack/particles/enchanting_table_particle.json new file mode 100644 index 0000000..74b0db1 --- /dev/null +++ b/resource_pack/particles/enchanting_table_particle.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:enchanting_table_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": {}, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 2.5)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + "variable.pos = 1 - (variable.particle_age / variable.particle_lifetime); return variable.direction.x * variable.pos;", + "variable.direction.y * variable.pos - Math.pow((1 - variable.pos), 3) * 1.2", + "variable.direction.z * variable.pos" + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.05 + 0.02", "variable.particle_random_1 * 0.05 + 0.02" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ + "variable.particle_random_3 < 0.5 ? Math.round(variable.particle_random_2 * 14) * 8 + 8 : Math.round(variable.particle_random_2 * 10) * 8", + "variable.particle_random_3 < 0.5 ? 112 : 120" + ], + "uv_size": [ 8, 8 ] + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.6 + 0.4" + ] + } + } + } +} diff --git a/resource_pack/particles/end_chest.json b/resource_pack/particles/end_chest.json new file mode 100644 index 0000000..c9a7c9a --- /dev/null +++ b/resource_pack/particles/end_chest.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:end_chest", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + + "minecraft:emitter_shape_point": { + "offset": [ + "variable.custom_random1 = Math.Random(0.0, 1.0); variable.custom_random2 = Math.Random(0.0, 1.0); return 0.0;", + "variable.custom_random3 = Math.Random(0.0, 1.0); variable.custom_random4 = Math.Random(0.0, 1.0); return 0.0;", + "variable.custom_random5 = Math.Random(0.0, 1.0); variable.custom_random6 = Math.Random(0.0, 1.0); return 0.0;" + ] + }, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(2.0,2.45)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + "variable.alpha = variable.particle_age/variable.particle_lifetime; variable.distance = (1-(-1*(variable.alpha)+Math.Pow((variable.alpha),2)*2)); variable.random_directionX = (Math.Round(variable.custom_random3)*2-1); return 0.25*variable.random_directionX + variable.custom_random2*variable.random_directionX * variable.distance;", + "1.0 + ((variable.custom_random6 - 0.5) * 0.125) * variable.distance - variable.alpha", + "variable.random_directionZ = (Math.Round(variable.custom_random5)*2-1); return 0.25*variable.random_directionZ + variable.custom_random4*variable.random_directionZ * variable.distance;" + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - Math.Pow((1-(variable.particle_age/variable.particle_lifetime)),2))", + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - Math.Pow((1-(variable.particle_age/variable.particle_lifetime)),2))" + ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.custom_random1*8)*8", 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "(variable.particle_random_1 * 0.6 + 0.4) * 0.3", "(variable.particle_random_1 * 0.6 + 0.4) * 0.9", 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/endrod.json b/resource_pack/particles/endrod.json new file mode 100644 index 0000000..0559bc9 --- /dev/null +++ b/resource_pack/particles/endrod.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:endrod", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "direction": [ 0.0, -1.0, 0.0 ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(3, 3.6)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -0.2, 0 ], + "linear_drag_coefficient": 0.49 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(variable.particle_random_1 * 0.5f + 0.5f) * 0.2", "(variable.particle_random_1 * 0.5f + 0.5f) * 0.2" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 88 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0153 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0387 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0636 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - 0.60 * ((variable.particle_age - (variable.particle_lifetime / 2.0)) / (variable.particle_lifetime / 2.0)) : 1.0" ] + } + } + } +} diff --git a/resource_pack/particles/evaporation_elephant_toothpaste.json b/resource_pack/particles/evaporation_elephant_toothpaste.json new file mode 100644 index 0000000..f31ee73 --- /dev/null +++ b/resource_pack/particles/evaporation_elephant_toothpaste.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:elephant_tooth_paste_vapor_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x + Math.random(-0.05, 0.05)", "variable.direction.y + Math.random(-0.05, 0.05)", "variable.direction.z + Math.random(-0.05, 0.05)" ] + }, + "minecraft:particle_initial_speed": 2, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 4, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/evocation_fang.json b/resource_pack/particles/evocation_fang.json new file mode 100644 index 0000000..899d358 --- /dev/null +++ b/resource_pack/particles/evocation_fang.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:evocation_fang_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + "minecraft:emitter_shape_point": {}, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "6.0 / (Math.random(0.0, 16.0) + 12.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -12.0, 0 ], + "linear_drag_coefficient": 10 + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "0.10 + variable.particle_random_1*0.05", + "0.10 + variable.particle_random_1*0.05" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 72 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ + "variable.particle_random_1*0.3 + 0.6", + "variable.particle_random_2*0.3+ 0.6", + "variable.particle_random_2*0.3+ 0.6", + 1.0 + ], + [ "variable.particle_random_1*0.3 + 0.6", 0.5, 0.3, 1.0 ] + ], + "interpolant": "variable.particle_age/variable.particle_lifetime" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/evoker_spell.json b/resource_pack/particles/evoker_spell.json new file mode 100644 index 0000000..7992d9e --- /dev/null +++ b/resource_pack/particles/evoker_spell.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:evoker_spell", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 20, + "max_particles": 50 + }, + + "minecraft:emitter_lifetime_looping": { + "active_time": 10 + }, + + "minecraft:emitter_shape_point": { + "direction": [ + "-0.5 + Math.Random(0, 1) + (Math.Random(0, 2) - 1) * 0.4", + "(1 + (Math.Random(0, 2) - 1) * 0.4) * 0.5", + "-0.5 + Math.Random(0, 1) + (Math.Random(0, 2) - 1) * 0.4" + ] + }, + + "minecraft:particle_initial_speed": "(Math.Random(0, 1) + Math.Random(0, 1) + 1) * 0.6", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(0.4, 2.0)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.1, 0 ] + }, + + "minecraft:particle_motion_collision": { + "collision_radius": 0.2 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "flipbook": { + "base_UV": [ 7, 8 ], + "size_UV": [ 1, 1 ], + "step_UV": [ -1, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ "query.spellcolor.r", "query.spellcolor.g", "query.spellcolor.b", 1 ] + }, + + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/explosion_cauldron.json b/resource_pack/particles/explosion_cauldron.json new file mode 100644 index 0000000..1fb19a5 --- /dev/null +++ b/resource_pack/particles/explosion_cauldron.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:cauldron_explosion_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 10 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-0.5, 0.5)", 0, "Math.random(-0.5, 0.5)" ], + "direction": [ "Math.random(0, 0.02)", "Math.random(0, 0.02)", "Math.random(0, 0.02)" ] + }, + "minecraft:particle_initial_speed": 2, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 4, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/explosion_death.json b/resource_pack/particles/explosion_death.json new file mode 100644 index 0000000..2e808e0 --- /dev/null +++ b/resource_pack/particles/explosion_death.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:death_explosion_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 20 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "offset": [ "variable.aabb.x * Math.random(0, 2) - variable.aabb.x", + "variable.aabb.y * Math.random(0, 1)", + "variable.aabb.z * Math.random(0, 2) - variable.aabb.z" ] + }, + "minecraft:particle_initial_speed": [ "Math.random(0, 0.4) + Math.random(-1, 1)", "Math.random(0, 0.4) + Math.random(-1, 1)", "Math.random(0, 0.4) + Math.random(-1, 1)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/explosion_egg_destroy.json b/resource_pack/particles/explosion_egg_destroy.json new file mode 100644 index 0000000..28e1df0 --- /dev/null +++ b/resource_pack/particles/explosion_egg_destroy.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:egg_destroy_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 20 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.emitter_random_1 * 0.02 + Math.random(-0.05, 0.05)", + "variable.emitter_random_2 * 0.02 + Math.random(-0.05, 0.05)", + "variable.emitter_random_3 * 0.02 + Math.random(-0.05, 0.05)" ] + }, + "minecraft:particle_initial_speed": 7, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 4, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/explosion_eyeofender_death.json b/resource_pack/particles/explosion_eyeofender_death.json new file mode 100644 index 0000000..f83431b --- /dev/null +++ b/resource_pack/particles/explosion_eyeofender_death.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:eyeofender_death_explode_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0, 0, 0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "3 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ "variable.acceleration.x * 15", "variable.acceleration.y", "variable.acceleration.z * 15" ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "(variable.particle_random_1 * 0.6 + 0.4) * 0.3", "(variable.particle_random_1 * 0.6 + 0.4) * 0.9", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/explosion_labtable_fire.json b/resource_pack/particles/explosion_labtable_fire.json new file mode 100644 index 0000000..3920633 --- /dev/null +++ b/resource_pack/particles/explosion_labtable_fire.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:misc_fire_vapor_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x + Math.random(-0.05, 0.05)", "variable.direction.y + Math.random(-0.05, 0.05)", "variable.direction.z + Math.random(-0.05, 0.05)" ] + }, + "minecraft:particle_initial_speed": 2, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 4, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/explosion_level.json b/resource_pack/particles/explosion_level.json new file mode 100644 index 0000000..017444a --- /dev/null +++ b/resource_pack/particles/explosion_level.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:explosion_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "variable.velocity.x * 10 + Math.random(-1, 1)", "variable.velocity.y * 10 + Math.random(-1, 1)", "variable.velocity.z * 10 + Math.random(-1, 1)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/explosion_manual.json b/resource_pack/particles/explosion_manual.json new file mode 100644 index 0000000..98e2634 --- /dev/null +++ b/resource_pack/particles/explosion_manual.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:explosion_manual", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-0.5, 0.5)", 0, "Math.random(-0.5, 0.5)" ], + "direction": [ "Math.random(0, 0.02)", "Math.random(0, 0.02)", "Math.random(0, 0.02)" ] + }, + "minecraft:particle_initial_speed": 2, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/eye_of_ender_bubble.json b/resource_pack/particles/eye_of_ender_bubble.json new file mode 100644 index 0000000..d1ba6ab --- /dev/null +++ b/resource_pack/particles/eye_of_ender_bubble.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:eye_of_ender_bubble_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/eyeblossom_close.json b/resource_pack/particles/eyeblossom_close.json new file mode 100644 index 0000000..0959110 --- /dev/null +++ b/resource_pack/particles/eyeblossom_close.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:eyeblossom_close", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/pixel" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ + "math.random(-0.5, 0.5)", + "math.random(1.0, 2.0)", + "math.random(-0.5, 0.5)" + ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(0.0, 1.0) + 0.5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0, 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.0375, 0.0375 ], + "facing_camera_mode": "lookat_xyz" + }, + "minecraft:particle_appearance_tinting": { + "color": [ + "95.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)", + "95.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)", + "95.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)", + 1.0 + ] + } + } + } +} diff --git a/resource_pack/particles/eyeblossom_open.json b/resource_pack/particles/eyeblossom_open.json new file mode 100644 index 0000000..c57751b --- /dev/null +++ b/resource_pack/particles/eyeblossom_open.json @@ -0,0 +1,44 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:eyeblossom_open", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/pixel" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ + "math.random(-0.5, 0.5)", + "math.random(1.0, 2.0)", + "math.random(-0.5, 0.5)" + ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random(0.0, 1.0) + 0.5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0, 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.0375, 0.0375 ], + "facing_camera_mode": "lookat_xyz" + }, + "minecraft:particle_appearance_tinting": { + "color": [ + "252.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)", + "120.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)", + "18.0/255.0 * math.min(math.random(0.875, 1.125), 1.0)", + 1.0 + ] + } + } + } +} diff --git a/resource_pack/particles/falling_border_dust.json b/resource_pack/particles/falling_border_dust.json new file mode 100644 index 0000000..51ecc9a --- /dev/null +++ b/resource_pack/particles/falling_border_dust.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_border_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.016, 0.016)", "Math.random(-0.2, -0.6)", "Math.random(-0.016, 0.016)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "(8 / math.random(0.0001, 20.0)) + 0.5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "-1 / (math.clamp(variable.particle_random_4, 0.4, 0.8) * 6)", 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 64, 72 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust.json b/resource_pack/particles/falling_dust.json new file mode 100644 index 0000000..ae694b2 --- /dev/null +++ b/resource_pack/particles/falling_dust.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", 1 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust_concrete_powder.json b/resource_pack/particles/falling_dust_concrete_powder.json new file mode 100644 index 0000000..c676eef --- /dev/null +++ b/resource_pack/particles/falling_dust_concrete_powder.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust_concrete_powder_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust_dragon_egg.json b/resource_pack/particles/falling_dust_dragon_egg.json new file mode 100644 index 0000000..2942bfc --- /dev/null +++ b/resource_pack/particles/falling_dust_dragon_egg.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust_dragon_egg_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.0, 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust_gravel.json b/resource_pack/particles/falling_dust_gravel.json new file mode 100644 index 0000000..68fa686 --- /dev/null +++ b/resource_pack/particles/falling_dust_gravel.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust_gravel_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.502, 0.486, 0.482, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust_red_sand.json b/resource_pack/particles/falling_dust_red_sand.json new file mode 100644 index 0000000..99a6b31 --- /dev/null +++ b/resource_pack/particles/falling_dust_red_sand.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust_red_sand_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.663, 0.345, 0.129, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust_sand.json b/resource_pack/particles/falling_dust_sand.json new file mode 100644 index 0000000..dff3570 --- /dev/null +++ b/resource_pack/particles/falling_dust_sand.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust_sand_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.8588, 0.8275, 0.62745, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust_scaffolding.json b/resource_pack/particles/falling_dust_scaffolding.json new file mode 100644 index 0000000..232697f --- /dev/null +++ b/resource_pack/particles/falling_dust_scaffolding.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust_scaffolding_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.902, 0.78, 0.4588, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/falling_dust_top_snow.json b/resource_pack/particles/falling_dust_top_snow.json new file mode 100644 index 0000000..41defd6 --- /dev/null +++ b/resource_pack/particles/falling_dust_top_snow.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:falling_dust_top_snow_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ 0.0, 0.0, 0.0 ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.44 / math.random(0.2, 1.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -1.0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.particle_random_1 * 360 + (variable.particle_age * 100 * (variable.particle_random_2 - 0.5))" + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/fish_hook.json b/resource_pack/particles/fish_hook.json new file mode 100644 index 0000000..be57342 --- /dev/null +++ b/resource_pack/particles/fish_hook.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:fish_hook_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/fish_pos.json b/resource_pack/particles/fish_pos.json new file mode 100644 index 0000000..1c7a087 --- /dev/null +++ b/resource_pack/particles/fish_pos.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:fish_pos_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/glow.json b/resource_pack/particles/glow.json new file mode 100644 index 0000000..1063dd6 --- /dev/null +++ b/resource_pack/particles/glow.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:glow_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 48 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", 1.0 ] + } + } + } +} + diff --git a/resource_pack/particles/guardian_attack.json b/resource_pack/particles/guardian_attack.json new file mode 100644 index 0000000..afc3ffc --- /dev/null +++ b/resource_pack/particles/guardian_attack.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:guardian_attack_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/guardian_water_move.json b/resource_pack/particles/guardian_water_move.json new file mode 100644 index 0000000..21e2518 --- /dev/null +++ b/resource_pack/particles/guardian_water_move.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:guardian_water_move_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + // upwards force + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/heart.json b/resource_pack/particles/heart.json new file mode 100644 index 0000000..8f2a924 --- /dev/null +++ b/resource_pack/particles/heart.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:heart_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + + "minecraft:emitter_shape_sphere": { + "radius": 0.025, + "direction": [ 0.0, 0.1, 0.0 ] + }, + + "minecraft:particle_initial_speed": 2.5, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.2, 1.5)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.2 + variable.particle_random_1*0.1)", + "(0.2 + variable.particle_random_1*0.1)" + ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 40 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/honey_drip.json b/resource_pack/particles/honey_drip.json new file mode 100644 index 0000000..3e2d911 --- /dev/null +++ b/resource_pack/particles/honey_drip.json @@ -0,0 +1,76 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:honey_drip_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "hit_ground": { + "sound_effect": { + "event_name": "block.beehive.drip" + } + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_box": { + "offset": [ 0.5, 0, 0.5 ], + "half_dimensions": [0.5, 0, 0.5], + "direction": [0, 0, 0], + "surface_only": true + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = variable.particle_random_1 * 4 + 1;", + "per_render_expression": "variable.stuck_time = variable.particle_random_1 * 4 + 1;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -3.5, 0 ], + "linear_drag_coefficient": "variable.stuck_time = variable.particle_random_1 * 4 + 1; return variable.particle_age < variable.stuck_time ? 277 : 0.01;" + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01, + "events": [ + { + "event": "hit_ground", + "min_speed": 0.5 + } + ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + 0.582, + 0.448, + 0.082, + 1.0 + ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/huge_explosion_lab_misc.json b/resource_pack/particles/huge_explosion_lab_misc.json new file mode 100644 index 0000000..e039ec6 --- /dev/null +++ b/resource_pack/particles/huge_explosion_lab_misc.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:huge_explosion_lab_misc_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 120, + "max_particles": 50 + }, + "minecraft:emitter_lifetime_looping": { + "active_time": 0.4 + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-4, 4)", "Math.random(-4, 4)", "Math.random(-4, 4)" ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4" ] + } + } + } +} diff --git a/resource_pack/particles/huge_explosion_level.json b/resource_pack/particles/huge_explosion_level.json new file mode 100644 index 0000000..ca167e6 --- /dev/null +++ b/resource_pack/particles/huge_explosion_level.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:huge_explosion_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 120, + "max_particles": 50 + }, + "minecraft:emitter_lifetime_looping": { + "active_time": 0.4 + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-4, 4)", "Math.random(-4, 4)", "Math.random(-4, 4)" ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4" ] + } + } + } +} diff --git a/resource_pack/particles/ice_evaporation.json b/resource_pack/particles/ice_evaporation.json new file mode 100644 index 0000000..24a89c8 --- /dev/null +++ b/resource_pack/particles/ice_evaporation.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:ice_evaporation_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 5 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(0, 1)", "Math.random(0, 1)", "Math.random(0, 1)" ] + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.25, 0.25)", "0.6", "Math.random(-0.25, 0.25)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/infested_ambient.json b/resource_pack/particles/infested_ambient.json new file mode 100644 index 0000000..abc3caf --- /dev/null +++ b/resource_pack/particles/infested_ambient.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:infested_ambient", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/infested" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 0 ], + "uv_size": [ 16, 16 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/infested_emitter.json b/resource_pack/particles/infested_emitter.json new file mode 100644 index 0000000..fbce2f7 --- /dev/null +++ b/resource_pack/particles/infested_emitter.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:infested_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/infested" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 0 ], + "uv_size": [ 16, 16 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/ink.json b/resource_pack/particles/ink.json new file mode 100644 index 0000000..cbb3e0d --- /dev/null +++ b/resource_pack/particles/ink.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:ink_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.particlecount" + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": "(variable.emitter_age > 0.45 ? 1.0 : 0.0)", + "expiration_expression": "(variable.emitter_age > 10.0 ? 1.0 : 0.0)" + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction_vector.x + Math.random(0, 1) * variable.aabb_dimension.x * 2 - variable.aabb_dimension.x", + "variable.direction_vector.y + 0.5 + Math.random(0, 1) * variable.aabb_dimension.y", + "variable.direction_vector.z + Math.random(0, 1) * variable.aabb_dimension.x * 2 - variable.aabb_dimension.x" + ] + }, + "minecraft:particle_initial_speed": "(1.0 + Math.random(0, 1) + Math.random(0, 1))", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "(variable.particlesize * 4) / (Math.random(0.2, 1))" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, "variable.is_outside_water * (-3)", 0.0 ], + "linear_drag_coefficient": 1.5 + }, + "minecraft:particle_motion_collision": { + "collision_drag": 4.0, + "coefficient_of_restitution": 0.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particlesize", "variable.particlesize" ], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r + Math.random(0, 0.05)", "variable.color.g + Math.random(0, 0.05)", "variable.color.b + Math.random(0, 0.05)", 1.0 ] + } + } + } + } + \ No newline at end of file diff --git a/resource_pack/particles/knockback_roar.json b/resource_pack/particles/knockback_roar.json new file mode 100644 index 0000000..b01f175 --- /dev/null +++ b/resource_pack/particles/knockback_roar.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:knockback_roar_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 40 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "15 * Math.random(-1.0, 1.0)", "15 * Math.random(-1.0, 1.0)", "15 * Math.random(-1.0, 1.0)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/lab_table_heatblock_dust.json b/resource_pack/particles/lab_table_heatblock_dust.json new file mode 100644 index 0000000..1b0c284 --- /dev/null +++ b/resource_pack/particles/lab_table_heatblock_dust.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:lab_table_heatblock_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(5, 1)" + }, + "minecraft:particle_initial_speed": [ "(variable.direction.x * 0.08) + (Math.random(-0.008, 0.008))", "(variable.direction.y * 0.08) + (Math.random(-0.008, 0.008))", "(variable.direction.z * 0.08) + (Math.random(-0.008, 0.008))" ], + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.6 + 0.5)", "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.6 + 0.5)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_3 * 0.1 + 0.2", "variable.particle_random_3 * 0.1 + 0.2", "variable.particle_random_3 * 0.1 + 0.2", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/lab_table_misc_mystical.json b/resource_pack/particles/lab_table_misc_mystical.json new file mode 100644 index 0000000..e2b709c --- /dev/null +++ b/resource_pack/particles/lab_table_misc_mystical.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:lab_table_misc_mystical_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": {}, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 2.5)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + 0.0, + "-1.2 * Math.pow(variable.particle_age / variable.particle_lifetime, 3)", + 0.0 + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.05 + 0.02", "variable.particle_random_1 * 0.05 + 0.02" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ + "variable.particle_random_3 < 0.5 ? Math.round(variable.particle_random_2 * 14) * 8 + 8 : Math.round(variable.particle_random_2 * 10) * 8", + "variable.particle_random_3 < 0.5 ? 112 : 120" + ], + "uv_size": [ 8, 8 ] + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.6 + 0.4" + ] + } + } + } +} diff --git a/resource_pack/particles/large_explosion_level.json b/resource_pack/particles/large_explosion_level.json new file mode 100644 index 0000000..ce8a075 --- /dev/null +++ b/resource_pack/particles/large_explosion_level.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:large_explosion", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 80 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4", "variable.particle_random_1 * 0.6 + 0.4" ] + } + } + } +} diff --git a/resource_pack/particles/lava_drip.json b/resource_pack/particles/lava_drip.json new file mode 100644 index 0000000..92e5ba4 --- /dev/null +++ b/resource_pack/particles/lava_drip.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:lava_drip_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ 0.0, 0.1, 0.0 ] + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = 2.0;", + "per_render_expression": "variable.stuck_time = 2.0;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 5.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -19.6, 0 ], + "linear_drag_coefficient": "variable.stuck_time = 2.0; return variable.particle_age < variable.stuck_time ? 277 : 0.01;" + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + 1.0, + "0.8 / (variable.stuck_time - (variable.stuck_time-variable.particle_age) + 0.8)", + "0.2 / (variable.stuck_time - (variable.stuck_time-variable.particle_age) + 0.4)", + 1.0 + ] + } + } + } +} diff --git a/resource_pack/particles/lava_particle.json b/resource_pack/particles/lava_particle.json new file mode 100644 index 0000000..86730fd --- /dev/null +++ b/resource_pack/particles/lava_particle.json @@ -0,0 +1,82 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:lava_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "smoke": { + "particle_effect": { + "effect": "minecraft:basic_smoke_particle", + "type": "particle_with_velocity" + } + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-0.1, 0.1)", "Math.random(0.1, 1.0)", "Math.random(-0.1, 0.1)" ] + }, + "minecraft:particle_initial_speed": "Math.random(5.0, 10.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 2.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ "(variable.particle_random_1 * 5.0 - 2.5)", -15.0, "(variable.particle_random_2 * 5.0 - 2.5)" ] + }, + "minecraft:particle_motion_collision": { + "collision_drag": 50.0, + "coefficient_of_restitution": 0.1, + "collision_radius": 0.1 + }, + "minecraft:particle_lifetime_events": { + "timeline": { + "0.0": "smoke", + "0.025": "smoke", + "0.05": "smoke", + "0.075": "smoke", + "0.1": "smoke", + "0.15": "smoke", + "0.2": "smoke", + "0.25": "smoke", + "0.3": "smoke", + "0.35": "smoke", + "0.4": "smoke", + "0.5": "smoke", + "0.6": "smoke", + "0.7": "smoke", + "0.8": "smoke", + "0.9": "smoke", + "1.0": "smoke", + "1.2": "smoke", + "1.4": "smoke", + "1.6": "smoke", + "1.8": "smoke", + "2.0": "smoke" + } + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "(variable.particle_random_3 * 0.15 + 0.025) * (1 - Math.pow((variable.particle_age + query.frame_alpha) / variable.particle_lifetime, 2))", + "(variable.particle_random_3 * 0.15 + 0.025) * (1 - Math.pow((variable.particle_age + query.frame_alpha) / variable.particle_lifetime, 2))" + + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 10, 26 ], + "uv_size": [ 4, 4 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/llama_spit.json b/resource_pack/particles/llama_spit.json new file mode 100644 index 0000000..b97504d --- /dev/null +++ b/resource_pack/particles/llama_spit.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:llama_spit_smoke", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-0.05, 0.05)", "Math.random(-0.05, 0.05)", "Math.random(-0.05, 0.05)" ] + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.25, 0.25)", 0.6, "Math.random(-0.25, 0.25)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/magnesium_salts.json b/resource_pack/particles/magnesium_salts.json new file mode 100644 index 0000000..11647cc --- /dev/null +++ b/resource_pack/particles/magnesium_salts.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:magnesium_salts_emitter", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-0.25,0.25)", 0.0, "Math.random(-0.25,0.25)" ], + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.5", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.75, 1.25)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1) - (variable.particle_age * 0.4)", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4)", + "(variable.particle_random_2 * 2 - 1) - (variable.particle_age * 0.4)" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/mob_block_spawn.json b/resource_pack/particles/mob_block_spawn.json new file mode 100644 index 0000000..6817920 --- /dev/null +++ b/resource_pack/particles/mob_block_spawn.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mob_block_spawn_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 20 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "offset": [ "variable.aabb.x * Math.random(0, 2) - variable.emitter_random_1 * 0.2 - variable.aabb.x", + "variable.aabb.y * Math.random(0, 1) - variable.emitter_random_2 * 0.2", + "variable.aabb.z * Math.random(0, 2) - variable.emitter_random_3 * 0.2 - variable.aabb.z" ] + }, + "minecraft:particle_initial_speed": [ "Math.random(-1, 1) + variable.emitter_random_1 * 0.4", "Math.random(-1, 1) + variable.emitter_random_2 * 0.4", "Math.random(-1, 1) + variable.emitter_random_3 * 0.4" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/mob_portal.json b/resource_pack/particles/mob_portal.json new file mode 100644 index 0000000..a738709 --- /dev/null +++ b/resource_pack/particles/mob_portal.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mob_portal", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 1000 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + + "minecraft:emitter_shape_point": { + "direction": [0, -1, 0] + }, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(2.0,2.45)" + }, + + "minecraft:particle_initial_speed": "1", + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["variable.xaccel", 0.55, "variable.zaccel"] + }, + + "minecraft:particle_initialization": { + "per_update_expression": "variable.xaccel = variable.particle_random_3 - 0.5; variable.zaccel = variable.particle_random_4 - 0.5;", + "per_render_expression": "variable.size = (variable.particle_random_2 * 0.02 + 0.05) * (1 - Math.Pow((1-(variable.particle_age/variable.particle_lifetime)),2)); variable.color = (variable.particle_random_1 * 0.6 + 0.4);" + }, + + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size"], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_3*8)*8", 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color", "variable.color * 0.3", "variable.color * 0.9", 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/mobflame.json b/resource_pack/particles/mobflame.json new file mode 100644 index 0000000..d0122bf --- /dev/null +++ b/resource_pack/particles/mobflame.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mobflame_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/flame_atlas" + } + }, + "components": { + "minecraft:emitter_local_space": { + "position": true, + "rotation": true + }, + "minecraft:emitter_rate_steady": { + "spawn_rate": "Math.random(15, 25)", + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_entity_aabb": { + "direction": [ 0, 1, 0 ] + }, + "minecraft:particle_initial_speed": "Math.random(0, 1)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1.25 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 1.0, 0 ], + "linear_drag_coefficient": 0.0 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.5, 0.5 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 32, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 1, 1 ], + "step_UV": [ 0, 1 ], + "frames_per_second": 32, + "max_frame": 32, + "stretch_to_lifetime": true, + "loop": false + } + } + } + } + } +} diff --git a/resource_pack/particles/mobflame_single.json b/resource_pack/particles/mobflame_single.json new file mode 100644 index 0000000..bf8f32a --- /dev/null +++ b/resource_pack/particles/mobflame_single.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mobflame_single", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/flame_atlas" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_entity_aabb": { + "direction": [ 0, 1, 0 ] + }, + "minecraft:particle_initial_speed": "Math.random(0, 1)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1.25 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 1.0, 0 ], + "linear_drag_coefficient": 0.0 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.5, 0.5 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 32, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 1, 1 ], + "step_UV": [ 0, 1 ], + "frames_per_second": 32, + "max_frame": 32, + "stretch_to_lifetime": true, + "loop": false + } + } + } + } + } +} diff --git a/resource_pack/particles/mobspell.json b/resource_pack/particles/mobspell.json new file mode 100644 index 0000000..b6516ba --- /dev/null +++ b/resource_pack/particles/mobspell.json @@ -0,0 +1,69 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mobspell_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/mobspell_ambient.json b/resource_pack/particles/mobspell_ambient.json new file mode 100644 index 0000000..ff645bb --- /dev/null +++ b/resource_pack/particles/mobspell_ambient.json @@ -0,0 +1,68 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mobspell_ambient", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "0.4" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/mobspell_lingering.json b/resource_pack/particles/mobspell_lingering.json new file mode 100644 index 0000000..ad9e56b --- /dev/null +++ b/resource_pack/particles/mobspell_lingering.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mobspell_lingering", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "Math.pi * variable.cloud_radius * variable.cloud_radius * variable.particle_multiplier" + }, + "minecraft:emitter_lifetime_once": { + "active_time": "variable.cloud_lifetime" + }, + "minecraft:emitter_shape_disc": { + "radius": "variable.cloud_radius", + "direction": [ 0.0, 1.0, 0.0 ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/mycelium_dust.json b/resource_pack/particles/mycelium_dust.json new file mode 100644 index 0000000..78943f6 --- /dev/null +++ b/resource_pack/particles/mycelium_dust.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:mycelium_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(5, 1)" + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.008, 0.008)", "Math.random(-0.008, 0.008)", "Math.random(-0.008, 0.008)" ], + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.6 + 0.5)", "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.6 + 0.5)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_3 * 0.1 + 0.2", "variable.particle_random_3 * 0.1 + 0.2", "variable.particle_random_3 * 0.1 + 0.2", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/nectar_drip.json b/resource_pack/particles/nectar_drip.json new file mode 100644 index 0000000..0e5c99f --- /dev/null +++ b/resource_pack/particles/nectar_drip.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:nectar_drip_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": "Math.random(1, 4)", + "max_particles": 20 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ "Math.random(-0.3, 0.3)", 0.1, "Math.random(-0.3, 0.3)" ] + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = 0.1;", + "per_render_expression": "variable.stuck_time = 0.1;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 5.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -3.5, 0 ], + "linear_drag_coefficient": "variable.stuck_time = 0.1; return variable.particle_age < variable.stuck_time ? 277 : 0.01;" + }, + "minecraft:particle_motion_collision": { + "expire_on_contact": true, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + 0.92, + 0.782, + 0.72, + 1.0 + ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/note.json b/resource_pack/particles/note.json new file mode 100644 index 0000000..caf463e --- /dev/null +++ b/resource_pack/particles/note.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:note_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0 + }, + "minecraft:emitter_shape_sphere": { + "radius": 0.025, + "direction": [ 0, 1.0, 0 ] + }, + "minecraft:particle_initial_speed": 2.5, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 0.3 + }, + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.1 + variable.particle_random_1*0.05)", + "(0.1 + variable.particle_random_1*0.05)" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 32 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.note_color.r", + "variable.note_color.g", + "variable.note_color.b" + ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/obsidian_glow_dust.json b/resource_pack/particles/obsidian_glow_dust.json new file mode 100644 index 0000000..0ca3813 --- /dev/null +++ b/resource_pack/particles/obsidian_glow_dust.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:obsidian_glow_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.16, 0.16)", "Math.random(-0.16, 0.16)", "Math.random(-0.16, 0.16)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / math.random(1.0, 5.0)" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.0, + "collision_drag": 0.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/obsidian_tear.json b/resource_pack/particles/obsidian_tear.json new file mode 100644 index 0000000..1b153d1 --- /dev/null +++ b/resource_pack/particles/obsidian_tear.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:obsidian_tear_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = variable.particle_random_1 * 4 + 1;", + "per_render_expression": "variable.stuck_time = variable.particle_random_1 * 4 + 1;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -3.5, 0 ], + "linear_drag_coefficient": "variable.stuck_time = variable.particle_random_1 * 4 + 1; return variable.particle_age < variable.stuck_time ? 277 : 0.01;" + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01, + "events": [ + { + "event": "hit_ground", + "min_speed": 0.5 + } + ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + 0.51171875, + 0.03125, + 0.890625, + 1.0 + ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/ominous_spawning_particle.json b/resource_pack/particles/ominous_spawning_particle.json new file mode 100644 index 0000000..97b84d1 --- /dev/null +++ b/resource_pack/particles/ominous_spawning_particle.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:ominous_spawning_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/ominous_spawning" + } + }, + "curves": { + "variable.shrink": { + "type": "linear", + "input": "v.particle_age", + "horizontal_range": "v.particle_lifetime", + "nodes": [1, 0] + }, + "variable.speed": { + "type": "bezier", + "input": "v.particle_age", + "horizontal_range": "v.particle_lifetime", + "nodes": [1, 2, 2, 2] + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 10, + "max_particles": 100 + }, + "minecraft:emitter_lifetime_once": { + "active_time": "variable.lifetime" + }, + "minecraft:emitter_shape_sphere": { + "radius": 2, + "surface_only": true, + "direction": "inwards" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1 + }, + "minecraft:particle_initial_speed": "2 * variable.speed", + "minecraft:particle_motion_dynamic": {}, + "minecraft:particle_appearance_billboard": { + "size": ["1 * variable.shrink", "0.5 * variable.shrink"], + "facing_camera_mode": "lookat_direction", + "direction": { + "mode": "derive_from_velocity" + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "interpolant": "v.particle_age / v.particle_lifetime", + "gradient": { + "0.0": "#FF45AEFE", + "1.0": "#FFFFFFFF" + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/oozing_ambient.json b/resource_pack/particles/oozing_ambient.json new file mode 100644 index 0000000..3a3b5dd --- /dev/null +++ b/resource_pack/particles/oozing_ambient.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:oozing_ambient", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/items/slimeball" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "math.random(2, 4)" + }, + "minecraft:emitter_lifetime_looping": { + "active_time": "math.random(0.1, 0.8)" + }, + "minecraft:emitter_shape_point": { + "offset": [0, 0, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1 + }, + "minecraft:particle_initial_speed": "math.random(1,2)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["math.random(-2, 2)", "math.random(-2, -10)", "math.random(-2, 2)"] + }, + "minecraft:particle_appearance_billboard": { + "size": [0.0625, 0.0625], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": ["Math.round(variable.particle_random_1 * 12.0)", "Math.round(variable.particle_random_2 * 12.0)"], + "uv_size": [4, 4] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10.0, + "collision_radius": 0.5, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/oozing_emitter.json b/resource_pack/particles/oozing_emitter.json new file mode 100644 index 0000000..4827acc --- /dev/null +++ b/resource_pack/particles/oozing_emitter.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:oozing_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/items/slimeball" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "math.random(2, 4)" + }, + "minecraft:emitter_lifetime_looping": { + "active_time": "math.random(0.1, 0.8)" + }, + "minecraft:emitter_shape_point": { + "offset": [0, 0, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1 + }, + "minecraft:particle_initial_speed": "math.random(1,2)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["math.random(-2, 2)", "math.random(-2, -10)", "math.random(-2, 2)"] + }, + "minecraft:particle_appearance_billboard": { + "size": [0.0625, 0.0625], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": ["Math.round(variable.particle_random_1 * 12.0)", "Math.round(variable.particle_random_2 * 12.0)"], + "uv_size": [4, 4] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10.0, + "collision_radius": 0.2, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/pale_oak_leaves_particle.json b/resource_pack/particles/pale_oak_leaves_particle.json new file mode 100644 index 0000000..1ce430e --- /dev/null +++ b/resource_pack/particles/pale_oak_leaves_particle.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:pale_oak_leaves_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/pale_oak_leaves_atlas" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "v.fall_acc = -0.3; v.wind_acc = 10; v.curve_len = 15;" + }, + "minecraft:emitter_rate_manual": { + "max_particles": 2000 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_box": { + "offset": [ 0.5, -0.075, 0.5 ], + "half_dimensions": [ 0.5, 0.0, 0.5 ], + "direction": "outwards" + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 15 + }, + "minecraft:particle_initial_spin": { + "rotation": "math.random(0, 360)", + "rotation_rate": "math.random(-30, 30)" + }, + "minecraft:particle_initial_speed": [ 0.0, -0.021, 0.0 ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "math.cos((v.particle_age / 15) * (1000 + v.particle_random_3 * 3000)) * v.wind_acc * (v.particle_age / 15)", + "v.fall_acc", + "math.sin((v.particle_age / 15) * (1000 + v.particle_random_3 * 3000)) * v.wind_acc * (v.particle_age / 15)" + ], + "rotation_acceleration": "v.particle_random_4 > 0.5 ? -5 : 5" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "v.particle_random_1 > 0.5 ? 0.1 : 0.15", + "v.particle_random_1 > 0.5 ? 0.1 : 0.15" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 28, + "texture_height": 21, + "uv": [ + "math.floor(v.particle_random_1 * 4) * 7", + "math.floor(v.particle_random_2 * 3) * 7" + ], + "uv_size": [ 7, 7 ] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10, + "collision_radius": 0.075, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {}, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 1, 1, 1 ] + } + } + } +} diff --git a/resource_pack/particles/phantom_trail.json b/resource_pack/particles/phantom_trail.json new file mode 100644 index 0000000..5ac7db1 --- /dev/null +++ b/resource_pack/particles/phantom_trail.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:phantom_trail_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 20, + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(5, 1)" + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.008, 0.008)", "Math.random(-0.008, 0.008)", "Math.random(-0.008, 0.008)" ], + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.6 + 0.5)", "(0.05 * variable.particle_random_1 + 0.1) * (variable.particle_random_2 * 0.6 + 0.5)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_3 * 0.1 + 0.2", "variable.particle_random_3 * 0.1 + 0.2", "variable.particle_random_3 * 0.1 + 0.2", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/portal_directional.json b/resource_pack/particles/portal_directional.json new file mode 100644 index 0000000..3b52f5c --- /dev/null +++ b/resource_pack/particles/portal_directional.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:portal_directional", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + + "minecraft:emitter_shape_point": { + }, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(2.0,2.45)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + "variable.alpha = variable.particle_age/variable.particle_lifetime; variable.distance = (1-(-1*(variable.alpha)+Math.Pow((variable.alpha),2)*2)); return variable.direction.x * variable.distance;", + "variable.direction.y * variable.distance - variable.alpha", + "variable.direction.z * variable.distance" + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - Math.Pow((1-(variable.particle_age/variable.particle_lifetime)),2))", + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - Math.Pow((1-(variable.particle_age/variable.particle_lifetime)),2))" + ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_1*8)*8", 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "(variable.particle_random_1 * 0.6 + 0.4) * 0.3", "(variable.particle_random_1 * 0.6 + 0.4) * 0.9", 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/portal_east_west.json b/resource_pack/particles/portal_east_west.json new file mode 100644 index 0000000..e4458b5 --- /dev/null +++ b/resource_pack/particles/portal_east_west.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:portal_east_west", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.num_particles" + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + + "minecraft:emitter_shape_point": { + "direction": ["variable.particle_random_2 < 0.5 ? math.random(-1.5, -0.5) : math.random(0.5, 1.5)", -1, 0], + "offset": ["variable.particle_random_2 < 0.5 ? math.random(-2.5, -1.5) : math.random(1.5, 2.5)", "math.random(-0.5f, 0.5f) + 1.25", "math.random(-0.5f, 0.5f)"] + }, + + "minecraft:particle_initialization": { + "per_render_expression": "variable.alpha = variable.particle_age/variable.particle_lifetime; variable.size = (variable.particle_random_2 * 0.02 + 0.05) * (2*variable.alpha - variable.alpha*variable.alpha); variable.color_base = variable.particle_random_1 * 0.6 + 0.4;" + }, + + "minecraft:particle_initial_speed": "1", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(2.0,2.45)" + }, + + "minecraft:particle_kill_plane": [1, 0, 0, 0], + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["variable.particle_random_2 < 0.5 ? 1.5 : -1.5", 0, 0] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "variable.size", + "variable.size" + ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_3*8)*8", 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color_base", "variable.color_base * 0.3", "variable.color_base * 0.9", 1.0 ] + } + } + } + +} diff --git a/resource_pack/particles/portal_north_south.json b/resource_pack/particles/portal_north_south.json new file mode 100644 index 0000000..ba923f1 --- /dev/null +++ b/resource_pack/particles/portal_north_south.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:portal_north_south", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "variable.num_particles" + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + + "minecraft:emitter_shape_point": { + "direction": [0, -1, "variable.particle_random_2 < 0.5 ? math.random(-1.5, -0.5) : math.random(0.5, 1.5)"], + "offset": ["math.random(-0.5f, 0.5f)", "math.random(-0.5f, 0.5f) + 1.25", "variable.particle_random_2 < 0.5 ? math.random(-2.5, -1.5) : math.random(1.5, 2.5)"] + }, + + "minecraft:particle_initialization": { + "per_render_expression": "variable.alpha = variable.particle_age/variable.particle_lifetime; variable.size = (variable.particle_random_2 * 0.02 + 0.05) * (2*variable.alpha - variable.alpha*variable.alpha); variable.color_base = variable.particle_random_1 * 0.6 + 0.4;" + }, + + "minecraft:particle_initial_speed": "1", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(2.0,2.45)" + }, + + "minecraft:particle_kill_plane": [0, 0, 1, 0], + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [0, 0, "variable.particle_random_2 < 0.5 ? 1.5 : -1.5"] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "variable.size", + "variable.size" + ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_3*8)*8", 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color_base", "variable.color_base * 0.3", "variable.color_base * 0.9", 1.0 ] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/portal_reverse.json b/resource_pack/particles/portal_reverse.json new file mode 100644 index 0000000..a85fe94 --- /dev/null +++ b/resource_pack/particles/portal_reverse.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:portal_reverse_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 3, + "max_particles": 20 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 10 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_box": { + "offset": [ 0.5, 0, 0.5 ], + "half_dimensions": [0.5, 0, 0.5], + "direction": [0, 0, 0], + "surface_only": true + }, + "minecraft:particle_initial_speed": 0.0, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(3.0, 3.1)" + }, + + "minecraft:particle_initialization": { + "per_update_expression": "variable.alpha = variable.particle_age/variable.particle_lifetime; variable.distance = (1-(-1*(variable.alpha)+Math.Pow((variable.alpha),2)*2));", + "per_render_expression": "variable.alpha = variable.particle_age/variable.particle_lifetime; variable.distance = (1-(-1*(variable.alpha)+Math.Pow((variable.alpha),2)*2));" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ "variable.direction.x * variable.distance", "variable.direction.y * variable.distance + variable.alpha", "variable.direction.z * variable.distance" ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - (variable.particle_age/variable.particle_lifetime))", + "(variable.particle_random_2 * 0.02 + 0.05) * (1 - (variable.particle_age/variable.particle_lifetime))" + ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "Math.round(variable.particle_random_1*8)*8", 0 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.6 + 0.4", "(variable.particle_random_1 * 0.6 + 0.4) * 0.3", "(variable.particle_random_1 * 0.6 + 0.4) * 0.9", 1.0 ] + } + } + } +} diff --git a/resource_pack/particles/raid_omen_ambient.json b/resource_pack/particles/raid_omen_ambient.json new file mode 100644 index 0000000..584d396 --- /dev/null +++ b/resource_pack/particles/raid_omen_ambient.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:raid_omen_ambient", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/raid_omen" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 0 ], + "uv_size": [ 16, 16 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/raid_omen_emitter.json b/resource_pack/particles/raid_omen_emitter.json new file mode 100644 index 0000000..9a1b308 --- /dev/null +++ b/resource_pack/particles/raid_omen_emitter.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:raid_omen_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/raid_omen" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 0 ], + "uv_size": [ 16, 16 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/rain_splash.json b/resource_pack/particles/rain_splash.json new file mode 100644 index 0000000..195aa37 --- /dev/null +++ b/resource_pack/particles/rain_splash.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:rain_splash_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 300 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": -6.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(0.19, 0.21)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, "30.0 + variable.particle_random_2*60.0 - variable.particle_age*480.0", 0.0 ], + "linear_drag_coefficient": 20.0 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.175, 0.175 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "24+Math.Round(variable.particle_random_1*3.0)*8", 8 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/redstone_ore_dust.json b/resource_pack/particles/redstone_ore_dust.json new file mode 100644 index 0000000..f670226 --- /dev/null +++ b/resource_pack/particles/redstone_ore_dust.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:redstone_ore_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.4, 0.4)", "Math.random(-0.1, 0.1)", "Math.random(-0.4, 0.4)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / math.random(1.0, 5.0)" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.0, + "collision_drag": 0.0, + "collision_radius": 0.05 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/redstone_repeater_dust.json b/resource_pack/particles/redstone_repeater_dust.json new file mode 100644 index 0000000..2dcb5de --- /dev/null +++ b/resource_pack/particles/redstone_repeater_dust.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:redstone_repeater_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.16, 0.16)", "Math.random(-0.16, 0.16)", "Math.random(-0.16, 0.16)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / math.random(1.0, 5.0)" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.0, + "collision_drag": 0.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/redstone_torch_dust.json b/resource_pack/particles/redstone_torch_dust.json new file mode 100644 index 0000000..898e05c --- /dev/null +++ b/resource_pack/particles/redstone_torch_dust.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:redstone_torch_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.16, 0.16)", "Math.random(-0.16, 0.16)", "Math.random(-0.16, 0.16)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / math.random(1.0, 5.0)" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.0, + "collision_drag": 0.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/redstone_wire_dust.json b/resource_pack/particles/redstone_wire_dust.json new file mode 100644 index 0000000..6957013 --- /dev/null +++ b/resource_pack/particles/redstone_wire_dust.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:redstone_wire_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.4, 0.4)", "Math.random(-0.1, 0.1)", "Math.random(-0.4, 0.4)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / math.random(1.0, 5.0)" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.0, + "collision_drag": 0.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/rising_border_dust.json b/resource_pack/particles/rising_border_dust.json new file mode 100644 index 0000000..80ff143 --- /dev/null +++ b/resource_pack/particles/rising_border_dust.json @@ -0,0 +1,51 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:rising_border_dust_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.016, 0.016)", "Math.random(0.2, 0.6)", "Math.random(-0.016, 0.016)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "(8 / math.random(0.0001, 20.0)) + 0.5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "1 / (math.clamp(variable.particle_random_4, 0.4, 0.8) * 6)", 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 64, 72 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/sculk_charge.json b/resource_pack/particles/sculk_charge.json new file mode 100644 index 0000000..4ead1bb --- /dev/null +++ b/resource_pack/particles/sculk_charge.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sculk_charge_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/sculk_charge" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.15, 0.3);" + }, + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_initial_speed": 0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.4, 1.0)" + }, + "minecraft:particle_motion_parametric": { + "rotation": "variable.rotation" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "variable.size", + "variable.size" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 112, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 16, 16 ], + "step_UV": [ 0, 16 ], + "max_frame": 7, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + \ No newline at end of file diff --git a/resource_pack/particles/sculk_charge_pop.json b/resource_pack/particles/sculk_charge_pop.json new file mode 100644 index 0000000..a8e5659 --- /dev/null +++ b/resource_pack/particles/sculk_charge_pop.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sculk_charge_pop_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/sculk_charge_pop" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.1, 0.2);" + }, + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_initial_speed": 0.7, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.3, 0.5)" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "variable.size", + "variable.size" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 64, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 16, 16 ], + "step_UV": [ 0, 16 ], + "max_frame": 4, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + \ No newline at end of file diff --git a/resource_pack/particles/sculk_sensor_redstone_particle.json b/resource_pack/particles/sculk_sensor_redstone_particle.json new file mode 100644 index 0000000..ea29fcf --- /dev/null +++ b/resource_pack/particles/sculk_sensor_redstone_particle.json @@ -0,0 +1,62 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sculk_sensor_redstone_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 1 + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_initial_speed": [ "Math.random(-0.4, 0.4)", "Math.random(-0.1, 0.1)", "Math.random(-0.4, 0.4)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / math.random(1.0, 5.0)" + }, + "minecraft:particle_motion_dynamic": { + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.0, + "collision_drag": 0.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_3 * 0.075 + 0.075", "variable.particle_random_3 * 0.075 + 0.075" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": { + "0.1": [ "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0, 0 , 1], + "0.7": [ 0, 0, "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 1], + "1.7": [ 0, 0, "(variable.particle_random_1 * 0.2 + 0.8) * (variable.particle_random_2 * 0.4 + 0.6)", 0] + }, + "interpolant": "variable.particle_age" + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/sculk_soul.json b/resource_pack/particles/sculk_soul.json new file mode 100644 index 0000000..1e83b12 --- /dev/null +++ b/resource_pack/particles/sculk_soul.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sculk_soul_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/sculk_soul" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 2 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_initial_speed": 0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "((8 / (Math.random(0.0, 0.8) + 0.2)) + 4) / 20.0" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.4, 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.1 + variable.particle_random_1*0.1) + (0.2 * variable.particle_age)", + "(0.1 + variable.particle_random_1*0.1) + (0.2 * variable.particle_age)" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 176, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 16, 16 ], + "step_UV": [ 0, 16 ], + "frames_per_second": 11, + "max_frame": 11, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } + } + \ No newline at end of file diff --git a/resource_pack/particles/shriek.json b/resource_pack/particles/shriek.json new file mode 100644 index 0000000..c470ed8 --- /dev/null +++ b/resource_pack/particles/shriek.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:shriek_particle", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/shriek" + } + }, + "components": { + "minecraft:particle_initialization": { + "per_render_expression": "variable.size = 0.85 * math.clamp(variable.particle_age / variable.particle_lifetime * 0.75, 0.0, 1.0);" + }, + "minecraft:emitter_rate_steady": { + "spawn_rate": 4, + "max_particles": 10 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 4 + }, + "minecraft:emitter_shape_point": { + "offset": [0.0, 0, 0.0], + "direction": [0, 0.2, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1.5 + }, + "minecraft:particle_initial_speed": 1.4, + "minecraft:particle_motion_dynamic": {}, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size"], + "facing_camera_mode": "direction_y", + "direction": { + "mode": "custom", + "custom_direction": [0.0, 0.3, -0.5] + }, + "uv": { + "texture_width": 4, + "texture_height": 4, + "uv": [0, 0], + "uv_size": [4, 4] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [1, 1, 1, "Math.clamp(1.0 - math.clamp(variable.particle_age / variable.particle_lifetime, 0, 1), 0, 1)"] + } + } + } +} diff --git a/resource_pack/particles/shulker_bullet.json b/resource_pack/particles/shulker_bullet.json new file mode 100644 index 0000000..c56eecb --- /dev/null +++ b/resource_pack/particles/shulker_bullet.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:shulker_bullet", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "direction": [ 0.0, 0.0, 0.0 ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(3, 3.6)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -0.2, 0 ], + "linear_drag_coefficient": 0.49 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(variable.particle_random_1 * 0.5f + 0.5f) * 0.2", "(variable.particle_random_1 * 0.5f + 0.5f) * 0.2" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 88 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0153 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0387 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - (0.0636 * (1 - Math.pow(0.7, variable.particle_age)) / (1 - 0.7)) : 1.0", "variable.particle_age > (variable.particle_lifetime / 2.0) ? 1 - 0.60 * ((variable.particle_age - (variable.particle_lifetime / 2.0)) / (variable.particle_lifetime / 2.0)) : 1.0" ] + } + } + } +} diff --git a/resource_pack/particles/silverfish_grief.json b/resource_pack/particles/silverfish_grief.json new file mode 100644 index 0000000..5c3b68b --- /dev/null +++ b/resource_pack/particles/silverfish_grief.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:silverfish_grief_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 20 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "offset": [ "variable.aabb.x * Math.random(0, 2) - Math.random(0, 0.2) - variable.aabb.x", + "variable.aabb.y * Math.random(0, 1) - Math.random(0, 0.2)", + "variable.aabb.z * Math.random(0, 2) - Math.random(0, 0.2) - variable.aabb.z" ], + "direction": [ "Math.random(0, 0.02)", "Math.random(0, 0.02)", "Math.random(0, 0.02)" ] + }, + "minecraft:particle_initial_speed": 2, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 4, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/small_flame.json b/resource_pack/particles/small_flame.json new file mode 100644 index 0000000..0093eec --- /dev/null +++ b/resource_pack/particles/small_flame.json @@ -0,0 +1,79 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:small_flame_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.2, 0.05);variable.radius = 0.6;" + }, + "minecraft:emitter_local_space": { + "position": true, + "rotation": true + }, + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + "minecraft:emitter_shape_box": { + "offset": [ + "Math.random(-0.1,0.1)", + "Math.random(-0.1,0.1)", + "Math.random(-0.1,0.1)" + ], + "half_dimensions": [ + 0, + 0, + 0 + ], + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.6, 2.2)" + }, + "minecraft:particle_initial_speed": "variable.particle_initial_speed", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, 0.0, 0.0 ], + "linear_drag_coefficient": 0.96 + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "Math.max(variable.size/1.5*(1-variable.particle_age/2), 0)", + "Math.max(variable.size/1.5*(1-variable.particle_age/2), 0)" + ], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ + 0, + 24 + ], + "uv_size": [ + 8, + 8 + ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + 1, + 1, + 1, + 1 + ] + } + } + } +} diff --git a/resource_pack/particles/small_soul_fire_flame.json b/resource_pack/particles/small_soul_fire_flame.json new file mode 100644 index 0000000..b97cb33 --- /dev/null +++ b/resource_pack/particles/small_soul_fire_flame.json @@ -0,0 +1,79 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:small_soul_fire_flame", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.2, 0.05);variable.radius = 0.6;" + }, + "minecraft:emitter_local_space": { + "position": true, + "rotation": true + }, + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + "minecraft:emitter_shape_box": { + "offset": [ + "Math.random(-0.1,0.1)", + "Math.random(-0.1,0.1)", + "Math.random(-0.1,0.1)" + ], + "half_dimensions": [ + 0, + 0, + 0 + ], + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.6, 2.2)" + }, + "minecraft:particle_initial_speed": "variable.particle_initial_speed", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, 0.0, 0.0 ], + "linear_drag_coefficient": 0.96 + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "Math.max(variable.size/1.5*(1-variable.particle_age/2), 0)", + "Math.max(variable.size/1.5*(1-variable.particle_age/2), 0)" + ], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ + 16, + 24 + ], + "uv_size": [ + 8, + 8 + ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + 1, + 1, + 1, + 1 + ] + } + } + } +} diff --git a/resource_pack/particles/smash_ground_particle.json b/resource_pack/particles/smash_ground_particle.json new file mode 100644 index 0000000..be22e6d --- /dev/null +++ b/resource_pack/particles/smash_ground_particle.json @@ -0,0 +1,61 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:smash_ground_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "atlas.terrain" + } + }, + "curves": { + "variable.smash_particle": { + "type": "linear", + "input": "v.particle_age", + "horizontal_range": "v.particle_lifetime", + "nodes": [0, 2, -1, -1] + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 500 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1.0 + }, + "minecraft:emitter_shape_disc": { + "offset":[ "math.random( -0.5, 0.5 )",0,"math.random( -0.5, 0.5 )" ], + "radius": 3.5, + "surface_only": true, + "direction": [ "math.random( -0.2, 0.2 )", 1.0, "math.random( -0.2, 0.2 )" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random( 2.0, 2.5 )" + }, + "minecraft:particle_initial_speed": "math.random(4, 12)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["math.random(-2, 2)", -9.81, "math.random(-2, 2)"] + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_1 * 0.0375 + 0.0375" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": [ "variable.surface_particle_texture_coordinate.u + (variable.surface_particle_texture_size.u/4) * (variable.particle_random_1*3)", "variable.surface_particle_texture_coordinate.v + (variable.surface_particle_texture_size.v/4) * (variable.particle_random_2*3)" ], + "uv_size": [ "variable.surface_particle_texture_size.u/4", "variable.surface_particle_texture_size.v/4" ] + } + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_lighting": {}, + "minecraft:particle_appearance_tinting": { + "color": ["variable.surface_particle_tint.r", "variable.surface_particle_tint.g", "variable.surface_particle_tint.b", "variable.surface_particle_tint.a"] + } + } + } + } + \ No newline at end of file diff --git a/resource_pack/particles/smash_ground_particle_center.json b/resource_pack/particles/smash_ground_particle_center.json new file mode 100644 index 0000000..84af65c --- /dev/null +++ b/resource_pack/particles/smash_ground_particle_center.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:smash_ground_particle_center", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "atlas.terrain" + } + }, + "curves": { + "variable.smash_particle": { + "type": "linear", + "input": "v.particle_age", + "horizontal_range": "v.particle_lifetime", + "nodes": [0, 2, -1, -1] + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 250 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1.0 + }, + "minecraft:emitter_shape_point": { + "direction": [ "math.random( -0.2, 0.2 )", 1.0, "math.random( -0.2, 0.2 )" ], + "offset": [ 0, 0.1, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "math.random( 2.0, 2.5 )" + }, + "minecraft:particle_initial_speed": "math.random(6, 16)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["math.random(-2, 2)", -9.81, "math.random(-2, 2)"] + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_1 * 0.0375 + 0.0375" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": [ "variable.surface_particle_texture_coordinate.u + (variable.surface_particle_texture_size.u/4) * (variable.particle_random_1*3)", "variable.surface_particle_texture_coordinate.v + (variable.surface_particle_texture_size.v/4) * (variable.particle_random_2*3)" ], + "uv_size": [ "variable.surface_particle_texture_size.u/4", "variable.surface_particle_texture_size.v/4" ] + } + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 5, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_lighting": {}, + "minecraft:particle_appearance_tinting": { + "color": ["variable.surface_particle_tint.r", "variable.surface_particle_tint.g", "variable.surface_particle_tint.b", "variable.surface_particle_tint.a"] + } + } + } + } + \ No newline at end of file diff --git a/resource_pack/particles/sneeze.json b/resource_pack/particles/sneeze.json new file mode 100644 index 0000000..bd00f89 --- /dev/null +++ b/resource_pack/particles/sneeze.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sneeze", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_point": {}, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.375, 0.375 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true + } + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ 0.2, 0.78, 0.55, 0.35 ] + }, + + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/snowflake.json b/resource_pack/particles/snowflake.json new file mode 100644 index 0000000..729326a --- /dev/null +++ b/resource_pack/particles/snowflake.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:snowflake_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_shape_custom": { + "offset": [ + "0.5 + math.random(-0.2, 0.2)", + 1.2, + "0.5 + math.random(-0.2, 0.2)" + ], + "direction": [ + "Math.random(-1.0, 1.0)", + 0.2, + "Math.random(-1.0, 1.0)" + ] + }, + "minecraft:emitter_rate_manual": { + "max_particles": 9 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:particle_initial_speed": "Math.random(2.0, 2.5)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "0.5" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -9.8, 0 ] + }, + "minecraft:particle_initialization": { + "per_render_expression": "variable.size = 0.25 * math.pow(1.0-(variable.particle_age / variable.particle_lifetime), 0.08);" + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size"], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 4, + "texture_height": 4, + "uv": [ "1.25 - (Math.floor(5 * variable.particle_age / variable.particle_lifetime) / 4)", 0 ], + "uv_size": [ 0.25, 0.25 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": "#dfe5ed" + }, + "minecraft:particle_appearance_lighting": {} + } + } + } diff --git a/resource_pack/particles/sonic_explosion.json b/resource_pack/particles/sonic_explosion.json new file mode 100644 index 0000000..99aa6cf --- /dev/null +++ b/resource_pack/particles/sonic_explosion.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sonic_explosion", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/sonic_explosion" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "16 / 20.0" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.5, 1.5 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 32, + "texture_height": 512, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 32, 32 ], + "step_UV": [ 0, 32 ], + "frames_per_second": 8, + "max_frame": 16, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + } + } + } +} diff --git a/resource_pack/particles/soul.json b/resource_pack/particles/soul.json new file mode 100644 index 0000000..60fb469 --- /dev/null +++ b/resource_pack/particles/soul.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:soul_particle", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/soul" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_initial_speed": "Math.random(0.5, 1.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "((8 / (Math.random(0.0, 0.8) + 0.2)) + 4) / 20.0" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.4, 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.1 + variable.particle_random_1*0.1) + (0.2 * variable.particle_age)", + "(0.1 + variable.particle_random_1*0.1) + (0.2 * variable.particle_age)" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 176, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 16, 16 ], + "step_UV": [ 0, 16 ], + "frames_per_second": 11, + "max_frame": 11, + "stretch_to_lifetime": true, + "loop": false + } + } + } + } + } + } + \ No newline at end of file diff --git a/resource_pack/particles/sparkler.json b/resource_pack/particles/sparkler.json new file mode 100644 index 0000000..6de1a44 --- /dev/null +++ b/resource_pack/particles/sparkler.json @@ -0,0 +1,63 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sparkler_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.1, 0.1)", "Math.random(-0.125, 0.125)", "Math.random(-0.1, 0.1)" ] + }, + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.09", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "1.7 + Math.random(0, 0.6)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + 0, + "(variable.particle_age * 0.4) * -1.5", + 0 + ], + "linear_drag_coefficient": 1 + }, + "minecraft:particle_motion_parametric": { + "rotation": "math.floor((variable.particle_age)/2) * 45" + }, + "minecraft:particle_motion_collision": { + "enabled": 0, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.075, 0.075 ], + "facing_camera_mode": "rotate_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 64, 96 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 9, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r", "variable.color.g", "variable.color.b", "variable.color.a" ] + } + } + } +} diff --git a/resource_pack/particles/splashpotionspell.json b/resource_pack/particles/splashpotionspell.json new file mode 100644 index 0000000..b26dc92 --- /dev/null +++ b/resource_pack/particles/splashpotionspell.json @@ -0,0 +1,74 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:splash_spell_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 100 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_point": { + "offset": [ "variable.is_vertical = Math.Random(0.0, 1.0) > 0.7; variable.splash_power = Math.random(0.0, 1.0) * variable.splash_range; variable.color_brightness = 0.75 + Math.random(0.0, 1.0) * 0.25; return 0.0;", 0, 0 ], + "direction": [ + "(variable.is_vertical > 0 ? 0.15 : 1.0) * Math.random(-1,1)", + "(variable.is_vertical > 0 ? 1.0 : 0.0) * Math.random(0,1)", + "(variable.is_vertical > 0 ? 0.15 : 1.0) * Math.random(-1,1)" + ] + }, + "minecraft:particle_initial_speed": "(variable.is_vertical > 0 ? Math.random(1.75, 3.75) : Math.random(1.5, 5.5))", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.7, 1.5)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1) * variable.splash_power * (variable.is_vertical > 0 ? 0.2 : 0.5) * 2.5", + "(-0.1 * variable.splash_power + 1) * (variable.is_vertical > 0 ? 0.9 : 1.3) * 2.5", + "(variable.particle_random_2 * 2 - 1) * variable.splash_power * (variable.is_vertical > 0 ? 0.2 : 0.5) * 2.5" + ], + "linear_drag_coefficient": 2.5 + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 4, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.color.r * variable.color_brightness", "variable.color.g * variable.color_brightness", "variable.color.b * variable.color_brightness", "variable.color.a" ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/sponge_absorb_bubble.json b/resource_pack/particles/sponge_absorb_bubble.json new file mode 100644 index 0000000..1289eb2 --- /dev/null +++ b/resource_pack/particles/sponge_absorb_bubble.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:sponge_absorb_water_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/spore_blossom_ambient_block_actor.json b/resource_pack/particles/spore_blossom_ambient_block_actor.json new file mode 100644 index 0000000..09084bc --- /dev/null +++ b/resource_pack/particles/spore_blossom_ambient_block_actor.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:spore_blossom_ambient_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-10.0, 10.0)", "Math.random(-10.0, 0.0)", "Math.random(-10.0, 10.0)" ], + "direction": [ "Math.random(-1.0, 1.0)", "Math.random(-0.4, 0.2)", "Math.random(-1.0, 1.0)"] + }, + "minecraft:emitter_rate_manual": { + "max_particles": 500 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:particle_initial_speed": "Math.random(2.0, 3.0)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(20, 40)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, -0.005, 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [0.15, 0.15], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.32, 0.50, 0.22 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/spore_blossom_shower.json b/resource_pack/particles/spore_blossom_shower.json new file mode 100644 index 0000000..b065634 --- /dev/null +++ b/resource_pack/particles/spore_blossom_shower.json @@ -0,0 +1,59 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:spore_blossom_shower_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_shape_box": { + "offset": [ 0.5, 0.7, 0.5 ], + "half_dimensions": [0.25, 0, 0.25], + "direction": [0, 0, 0], + "surface_only": true + }, + "minecraft:emitter_rate_manual": { + "max_particles": 200 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = variable.particle_random_1 * 7 + 1;", + "per_render_expression": "variable.stuck_time = variable.particle_random_1 * 7 + 1;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 10.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -3.5, 0 ], + "linear_drag_coefficient": "variable.stuck_time = variable.particle_random_1 * 7 + 1; return variable.particle_age < variable.stuck_time ? 200 : 1;" + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01, + "expire_on_contact": true + }, + "minecraft:particle_appearance_billboard": { + "size": ["return variable.particle_age < variable.stuck_time ? 0.0 : 0.15;", 0.15], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.32, 0.50, 0.22 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/squid_flee.json b/resource_pack/particles/squid_flee.json new file mode 100644 index 0000000..2835445 --- /dev/null +++ b/resource_pack/particles/squid_flee.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:squid_flee_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02", "Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/squid_ink_bubble.json b/resource_pack/particles/squid_ink_bubble.json new file mode 100644 index 0000000..5797a4e --- /dev/null +++ b/resource_pack/particles/squid_ink_bubble.json @@ -0,0 +1,50 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:squid_ink_bubble", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_initial_speed": "10", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0, 0.003922, 0.956863, 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/squid_move.json b/resource_pack/particles/squid_move.json new file mode 100644 index 0000000..8722d9e --- /dev/null +++ b/resource_pack/particles/squid_move.json @@ -0,0 +1,49 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:squid_move_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0, 0.003922, 0.956863, 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/stunned.json b/resource_pack/particles/stunned.json new file mode 100644 index 0000000..294d612 --- /dev/null +++ b/resource_pack/particles/stunned.json @@ -0,0 +1,64 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:stunned_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 4, + "max_particles": 20 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-1.0, 1.0)", 0.0, "Math.random(-1.0, 1.0)" ], + "direction": [ "Math.random(-0.5, 0.5)", "Math.random(0, 1)", "Math.random(-0.5, 0.5)" ] + }, + + "minecraft:particle_initial_speed": [ "2.0 * Math.random(-1.0, 1.0)", "Math.random(0.6, 1.2)", "2.0 * Math.random(-1.0, 1.0)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.7, 1.0)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ "0.498", "0.5137", "0.5725", "1.0" ] + }, + + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/totem.json b/resource_pack/particles/totem.json new file mode 100644 index 0000000..d75b316 --- /dev/null +++ b/resource_pack/particles/totem.json @@ -0,0 +1,75 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:totem_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 320, + "max_particles": 48 + }, + + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + + "minecraft:emitter_shape_point": { + "offset": [ 0.0, "Math.random(-0.9, -0.5)", 0.0 ], + "direction": [ "Math.random(-1.0, 1.0)", "Math.random(-1.0, 1.0)", "Math.random(-1.0, 1.0)" ] + }, + + "minecraft:particle_initial_speed": "Math.random(10.0, 35.0)", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "3.0 + Math.random(0.0, 0.6)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 10 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.05 + variable.particle_random_1*0.05)", + "(0.05 + variable.particle_random_1*0.05)" + ], + + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 88 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ 0.1, 0.4, 0, 1 ], + [ 0.6, 0.6, 0, 1 ], + [ 0.3, 0.6, 0.2, 1 ], + [ 0.8, 0.8, 0.2, 1 ], + [ 0, 0.8, 0, 1 ] + ], + "interpolant": "variable.particle_random_2" + } + }, + + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/totem_manual.json b/resource_pack/particles/totem_manual.json new file mode 100644 index 0000000..e67b75a --- /dev/null +++ b/resource_pack/particles/totem_manual.json @@ -0,0 +1,73 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:totem_manual", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ 0.0, "Math.random(-0.9, -0.5)", 0.0 ], + "direction": [ "Math.random(-1.0, 1.0)", "Math.random(-1.0, 1.0)", "Math.random(-1.0, 1.0)" ] + }, + + "minecraft:particle_initial_speed": "Math.random(10.0, 35.0)", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "3.0 + Math.random(0.0, 0.6)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 10 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ + "(0.05 + variable.particle_random_1*0.05)", + "(0.05 + variable.particle_random_1*0.05)" + ], + + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 0, 88 ], + "size_UV": [ 8, 8 ], + "step_UV": [ 8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + + "minecraft:particle_appearance_tinting": { + "color": { + "gradient": [ + [ 0.1, 0.4, 0, 1 ], + [ 0.6, 0.6, 0, 1 ], + [ 0.3, 0.6, 0.2, 1 ], + [ 0.8, 0.8, 0.2, 1 ], + [ 0, 0.8, 0, 1 ] + ], + "interpolant": "variable.particle_random_2" + } + }, + + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/trial_omen_ambient.json b/resource_pack/particles/trial_omen_ambient.json new file mode 100644 index 0000000..8ed8b85 --- /dev/null +++ b/resource_pack/particles/trial_omen_ambient.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:trial_omen_ambient", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/trial_omen" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 0 ], + "uv_size": [ 16, 16 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/trial_omen_emitter.json b/resource_pack/particles/trial_omen_emitter.json new file mode 100644 index 0000000..562d8b0 --- /dev/null +++ b/resource_pack/particles/trial_omen_emitter.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:trial_omen_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/trial_omen" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 0 ], + "uv_size": [ 16, 16 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/trial_omen_single.json b/resource_pack/particles/trial_omen_single.json new file mode 100644 index 0000000..a3fd18f --- /dev/null +++ b/resource_pack/particles/trial_omen_single.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:trial_omen_single", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/trial_omen" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": [ 0, 0 ], + "uv_size": [ 16, 16 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/trial_spawner_detection.particle.json b/resource_pack/particles/trial_spawner_detection.particle.json new file mode 100644 index 0000000..191f6b5 --- /dev/null +++ b/resource_pack/particles/trial_spawner_detection.particle.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:trial_spawner_detection", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particles/trial_spawner_atlas" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.player_count = 1;" + }, + "minecraft:emitter_rate_instant": { + "num_particles": "30 + math.min(variable.player_count, 10) * 5" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1 + }, + "minecraft:emitter_shape_box": { + "offset": [ "0.5 + math.random(-0.65, 0.65)", "0.1 + math.random(0.0, 0.8)", "0.5 + math.random(-0.65, 0.65)" ], + "half_dimensions": [ 0, 0, 0 ], + "direction": [ 0, 1, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "variable.lifetime = math.ceil(8.0 / math.random(0.75, 1.5)); return math.max(variable.lifetime, 1.0)/10.0;" + }, + "minecraft:particle_initial_speed": "math.random(1,4)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "math.random(1.0,1.5)", 0 ] + }, + "minecraft:particle_initialization": { + "per_render_expression": "variable.quadSizeY = (variable.particle_random_1 * 0.1125) + 0.11; variable.quadSizeX = variable.quadSizeY / 6.0;" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "return variable.quadSizeX * math.clamp(variable.particle_age / variable.particle_lifetime * 32, 0, 1);", + "return variable.quadSizeY * math.clamp(variable.particle_age / variable.particle_lifetime * 32, 0, 1);" + ], + "facing_camera_mode": "lookat_y", + "uv": { + "texture_width": 8, + "texture_height": 8, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 1, 6 ], + "step_UV": [ 1, 0 ], + "frames_per_second": 5, + "max_frame": 5, + "stretch_to_lifetime": true + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 1, 1, 1 ] + } + } + } +} diff --git a/resource_pack/particles/trial_spawner_detection_ominous.particle.json b/resource_pack/particles/trial_spawner_detection_ominous.particle.json new file mode 100644 index 0000000..c0c3a25 --- /dev/null +++ b/resource_pack/particles/trial_spawner_detection_ominous.particle.json @@ -0,0 +1,60 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:trial_spawner_detection_ominous", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particles/trial_spawner_ominous_atlas" + } + }, + "components": { + "minecraft:emitter_initialization": { + "creation_expression": "variable.player_count = 1;" + }, + "minecraft:emitter_rate_instant": { + "num_particles": "30 + math.min(variable.player_count, 10) * 5" + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1 + }, + "minecraft:emitter_shape_box": { + "offset": [ "0.5 + math.random(-0.65, 0.65)", "0.1 + math.random(0.0, 0.8)", "0.5 + math.random(-0.65, 0.65)" ], + "half_dimensions": [ 0, 0, 0 ], + "direction": [ 0, 1, 0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "variable.lifetime = math.ceil(8.0 / math.random(0.75, 1.5)); return math.max(variable.lifetime, 1.0)/10.0;" + }, + "minecraft:particle_initial_speed": "math.random(1,4)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "math.random(1.0,1.5)", 0 ] + }, + "minecraft:particle_initialization": { + "per_render_expression": "variable.quadSizeY = (variable.particle_random_1 * 0.1125) + 0.11; variable.quadSizeX = variable.quadSizeY / 6.0;" + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "return variable.quadSizeX * math.clamp(variable.particle_age / variable.particle_lifetime * 32, 0, 1);", + "return variable.quadSizeY * math.clamp(variable.particle_age / variable.particle_lifetime * 32, 0, 1);" + ], + "facing_camera_mode": "lookat_y", + "uv": { + "texture_width": 8, + "texture_height": 8, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 1, 6 ], + "step_UV": [ 1, 0 ], + "frames_per_second": 5, + "max_frame": 5, + "stretch_to_lifetime": true + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1, 1, 1, 1 ] + } + } + } +} diff --git a/resource_pack/particles/underwater_torch_bubble.json b/resource_pack/particles/underwater_torch_bubble.json new file mode 100644 index 0000000..34cf48c --- /dev/null +++ b/resource_pack/particles/underwater_torch_bubble.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:underwater_torch_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.y * 0.2 + Math.random(-1, 1) * 0.02", "variable.direction.z * 0.2 + Math.random(-1, 1) * 0.02" ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "2 / ((Math.Random(0.0, 1.0) * 0.8 + 0.2) * 5)" + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:water", + "minecraft:flowing_water", + "minecraft:bubble_column" + ], + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0.8, 0 ], + "linear_drag_coefficient": 5.25 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)", "(0.05*variable.particle_random_1+0.1)*(variable.particle_random_2*0.9+0.2)" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 0, 16 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} + diff --git a/resource_pack/particles/vault_connection.json b/resource_pack/particles/vault_connection.json new file mode 100644 index 0000000..308884a --- /dev/null +++ b/resource_pack/particles/vault_connection.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:vault_connection_particle", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/vault_connection" + } + }, + + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + "minecraft:emitter_shape_point": {}, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.5, 2.5)" + }, + + "minecraft:particle_motion_parametric": { + "relative_position": [ + "variable.pos = 1 - (variable.particle_age / variable.particle_lifetime); return variable.direction.x * variable.pos;", + "variable.direction.y * variable.pos - Math.pow((1 - variable.pos), 3) * 1.2", + "variable.direction.z * variable.pos" + ] + }, + + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * 0.075 + 0.03", "variable.particle_random_1 * 0.075 + 0.03" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 8, + "texture_height": 8, + "uv": [ 0, 0 ], + "uv_size": [ 8, 8 ] + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.54 + 0.36", + "variable.particle_random_3 * 0.6 + 0.4", + "math.lerp((math.clamp(variable.particle_age / variable.particle_lifetime, 0.2, 0.8) - 0.2) / 0.6, 0.0, 0.6)" + ] + } + } + } +} diff --git a/resource_pack/particles/vibration_signal.json b/resource_pack/particles/vibration_signal.json new file mode 100644 index 0000000..3b7af7a --- /dev/null +++ b/resource_pack/particles/vibration_signal.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:vibration_signal", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/vibration_signal" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.15 + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:particle_initial_speed": "variable.particle_initial_speed", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "variable.max_lifetime" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 0, 0 ] + }, + "minecraft:particle_motion_parametric": { + "rotation": "-90" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.25, 0.25 ], + "facing_camera_mode": "lookat_direction", + "uv": { + "texture_width": 18, + "texture_height": 126, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 18, 18 ], + "step_UV": [ 0, 18 ], + "frames_per_second": 20, + "max_frame": 7, + "stretch_to_lifetime": false, + "loop": true + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [1, 1, 1, 1] + } + } + } +} diff --git a/resource_pack/particles/villager_angry.json b/resource_pack/particles/villager_angry.json new file mode 100644 index 0000000..b504e9f --- /dev/null +++ b/resource_pack/particles/villager_angry.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:villager_angry", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 25 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + + "minecraft:emitter_shape_point": { + "direction": [ 0.0, 0.1, 0.0 ] + }, + "minecraft:particle_initial_speed": 2.5, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.2, 1.5)" + }, + "minecraft:particle_motion_dynamic": { + "linear_drag_coefficient": 5 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.14, 0.14 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 40 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/villager_happy.json b/resource_pack/particles/villager_happy.json new file mode 100644 index 0000000..a8f90af --- /dev/null +++ b/resource_pack/particles/villager_happy.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:villager_happy", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 25 + }, + + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + + "minecraft:emitter_shape_point": { + "direction": [ "Math.random(0, 0.02)", "Math.random(0, 0.02)", "Math.random(0, 0.02)" ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(1, 5)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ "Math.random(-0.02, 0.02)", "Math.random(-0.02, 0.02)", "Math.random(-0.02, 0.02)" ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.14, 0.14 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 40 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/warden_dig.particle.json b/resource_pack/particles/warden_dig.particle.json new file mode 100644 index 0000000..fd3b9d3 --- /dev/null +++ b/resource_pack/particles/warden_dig.particle.json @@ -0,0 +1,52 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:warden_dig", + "basic_render_parameters": { + "material": "particles_opaque", + "texture": "atlas.terrain" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": "Math.random(550, 650)", + "max_particles": 2000 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 4.5 + }, + "minecraft:emitter_shape_point": { + "offset": ["Math.random(-0.7, 0.7)", 0, "Math.random(-0.7, 0.7)"], + "direction": ["Math.random(-0.5,0.5)", 1, "Math.random(-0.5,0.5)"] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.1, 1.0)" + }, + "minecraft:particle_initial_speed": "Math.random(3.0, 4.5)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [0, -9.8, 0], + "linear_drag_coefficient": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.particle_random_1 * 0.0375 + 0.0375", "variable.particle_random_1 * 0.0375 + 0.0375"], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 1, + "texture_height": 1, + "uv": ["variable.dig_particle_texture_coordinate.u + (variable.dig_particle_texture_size.u/4) * (variable.particle_random_1*3)", "variable.dig_particle_texture_coordinate.v + (variable.dig_particle_texture_size.v/4) * (variable.particle_random_2*3)"], + "uv_size": ["variable.dig_particle_texture_size.u/4", "variable.dig_particle_texture_size.v/4"] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 8, + "coefficient_of_restitution": 0.2, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_lighting": {}, + "minecraft:particle_appearance_tinting": { + "color": ["Math.clamp(variable.dig_particle_color.r, 0, 1)", "Math.clamp(variable.dig_particle_color.g, 0, 1)", "Math.clamp(variable.dig_particle_color.b, 0, 1)", "Math.clamp(variable.dig_particle_color.a, 0, 1)"] + } + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/water_drip.json b/resource_pack/particles/water_drip.json new file mode 100644 index 0000000..78f02bd --- /dev/null +++ b/resource_pack/particles/water_drip.json @@ -0,0 +1,76 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:water_drip_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "events": { + "splash": { + "particle_effect": { + "effect": "minecraft:rain_splash_particle", + "type": "particle" + } + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ 0.0, 0.1, 0.0 ] + }, + "minecraft:particle_initialization": { + "per_update_expression": "variable.stuck_time = 2.0;", + "per_render_expression": "variable.stuck_time = 2.0;" + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 5.0 + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0.0, -19.6, 0 ], + "linear_drag_coefficient": "variable.stuck_time = 2.0; return variable.particle_age < variable.stuck_time ? 277 : 0.01;" + }, + "minecraft:particle_motion_collision": { + "expire_on_contact": true, + "collision_radius": 0.01, + "events": [ + { + "event": "splash", + "min_speed": 0.5 + }, + { + "event": "splash", + "min_speed": 0.5 + }, + { + "event": "splash", + "min_speed": 0.5 + } + ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.15, 0.15 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 8, 56 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.2, 0.3, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/water_evaporation_actor.json b/resource_pack/particles/water_evaporation_actor.json new file mode 100644 index 0000000..402af89 --- /dev/null +++ b/resource_pack/particles/water_evaporation_actor.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:water_evaporation_actor_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 5 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "offset": [ "variable.aabb.x * Math.random(0, 1)", + "variable.aabb.y * Math.random(0, 1)", + "variable.aabb.z * Math.random(0, 1)" ] + }, + "minecraft:particle_initial_speed": [ "Math.random(-1, 1)", "Math.random(-1, 1)", "Math.random(-1, 1)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/water_evaporation_bucket.json b/resource_pack/particles/water_evaporation_bucket.json new file mode 100644 index 0000000..82fcd58 --- /dev/null +++ b/resource_pack/particles/water_evaporation_bucket.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:water_evaporation_bucket_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 8 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(0, 1)", "Math.random(0, 1)", "Math.random(0, 1)" ] + }, + "minecraft:particle_initial_speed": [ "Math.random(-1, 1)", "Math.random(-1, 1)", "Math.random(-1, 1)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/water_evaporation_manual.json b/resource_pack/particles/water_evaporation_manual.json new file mode 100644 index 0000000..3f364b1 --- /dev/null +++ b/resource_pack/particles/water_evaporation_manual.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:water_evaporation_manual", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_custom": { + "offset": [ 0, 0, 0 ] + }, + "minecraft:particle_initial_speed": [ "Math.random(-1, 1)", "Math.random(-1, 1)", "Math.random(-1, 1)" ], + "minecraft:particle_lifetime_expression": { + "max_lifetime": "4 / Math.Random(1, 5) + 0.1" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, 2, 0 ], + "linear_drag_coefficient": 2.5 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.1 + }, + "minecraft:particle_appearance_billboard": { + "size": [ "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1", "variable.particle_random_1 * variable.particle_random_2 * 0.6 + 0.1" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", "variable.particle_random_1 * 0.3 + 0.7", 0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} \ No newline at end of file diff --git a/resource_pack/particles/water_splash.json b/resource_pack/particles/water_splash.json new file mode 100644 index 0000000..816e05e --- /dev/null +++ b/resource_pack/particles/water_splash.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:water_splash_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x", "variable.direction.y", "variable.direction.z" ], + "offset": [ 0.0, 0.5, 0.0 ] + }, + "minecraft:particle_initial_speed": -6.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(0.4, 2.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 6.0, "30.0 + variable.particle_random_2*60.0 - variable.particle_age*410.0", 6.0 ], + "linear_drag_coefficient": 20.0 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.2, 0.2 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "24+Math.Round(variable.particle_random_1*3.0)*8", 8 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:air" + ], + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/water_splash_manual.json b/resource_pack/particles/water_splash_manual.json new file mode 100644 index 0000000..3114093 --- /dev/null +++ b/resource_pack/particles/water_splash_manual.json @@ -0,0 +1,53 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:water_splash_particle_manual", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 100 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_point": { + "offset": [ 0.0, 0.5, 0.0 ] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(0.4, 2.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 6.0, "30.0 + variable.particle_random_2*60.0 - variable.particle_age*410.0", 6.0 ], + "linear_drag_coefficient": 20.0 + }, + "minecraft:particle_motion_collision": { + "coefficient_of_restitution": 0.1, + "collision_drag": 10.0, + "collision_radius": 0.01 + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.2, 0.2 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "24+Math.Round(variable.particle_random_1*3.0)*8", 8 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 1.0, 1.0, 1.0, 1.0 ] + }, + "minecraft:particle_expire_if_not_in_blocks": [ + "minecraft:air" + ], + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/water_wake.json b/resource_pack/particles/water_wake.json new file mode 100644 index 0000000..6989690 --- /dev/null +++ b/resource_pack/particles/water_wake.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:water_wake_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ "variable.direction.x", "variable.direction.y", "variable.direction.z" ] + }, + "minecraft:particle_initial_speed": 3.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.Random(0.4, 2.0)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 2.0, "variable.particle_random_1 * 4 + 2", 2.0 ], + "linear_drag_coefficient": 19.6 + }, + "minecraft:particle_appearance_billboard": { + "size": [ + "variable.particle_life = 3 - variable.particle_lifetime; return variable.particle_life * 0.1;", + "variable.particle_life * 0.1" + ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ "24 + Math.mod(Math.Round(60 - (variable.particle_lifetime * 20)), 4) * 8", 8 ], + "uv_size": [ 8, 8 ] + } + } + } + } +} diff --git a/resource_pack/particles/wax.json b/resource_pack/particles/wax.json new file mode 100644 index 0000000..9af39b9 --- /dev/null +++ b/resource_pack/particles/wax.json @@ -0,0 +1,58 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:wax_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + "minecraft:emitter_lifetime_once": { + }, + "minecraft:emitter_shape_point": { + "direction": [ + "variable.direction.x", + "variable.direction.y", + "variable.direction.z" + ] + }, + "minecraft:emitter_initialization": { + "creation_expression": "variable.size = Math.random(0.1, 0.2);" + }, + + "minecraft:particle_initial_speed": -0.05, + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "((variable.particle_random_1 * 30) + 10) / 20" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0,0,0 ], + "linear_drag_coefficient": 0.96 + }, + "minecraft:particle_appearance_billboard": { + "size": ["variable.size", "variable.size" ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "uv": [ 16, 48 ], + "uv_size": [ 8, 8 ] + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ + "math.clamp(variable.color.r * 1.2 * math.clamp((variable.particle_age + 0.5) / variable.particle_lifetime, 0, 1), 0, 1)", + "math.clamp(variable.color.g * 1.2 * math.clamp((variable.particle_age + 0.5) / variable.particle_lifetime, 0, 1), 0, 1)", + "math.clamp(variable.color.b * 1.2 * math.clamp((variable.particle_age + 0.5) / variable.particle_lifetime, 0, 1), 0, 1)", + 1.0 + ] + } + } + } +} + diff --git a/resource_pack/particles/weaving_ambient.json b/resource_pack/particles/weaving_ambient.json new file mode 100644 index 0000000..9ab046f --- /dev/null +++ b/resource_pack/particles/weaving_ambient.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:weaving_ambient", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/blocks/web" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "math.random(2, 4)" + }, + "minecraft:emitter_lifetime_looping": { + "active_time": "math.random(0.1, 0.8)" + }, + "minecraft:emitter_shape_point": { + "offset": [0, 0, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1 + }, + "minecraft:particle_initial_speed": "math.random(1,2)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["math.random(-2, 2)", "math.random(-2, -10)", "math.random(-2, 2)"] + }, + "minecraft:particle_appearance_billboard": { + "size": [0.0625, 0.0625], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": ["Math.round(variable.particle_random_1 * 12.0)", "Math.round(variable.particle_random_2 * 12.0)"], + "uv_size": [4, 4] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10.0, + "collision_radius": 0.5, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/weaving_emitter.json b/resource_pack/particles/weaving_emitter.json new file mode 100644 index 0000000..b148e58 --- /dev/null +++ b/resource_pack/particles/weaving_emitter.json @@ -0,0 +1,46 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:weaving_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/blocks/web" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "math.random(2, 4)" + }, + "minecraft:emitter_lifetime_looping": { + "active_time": "math.random(0.1, 0.8)" + }, + "minecraft:emitter_shape_point": { + "offset": [0, 0, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 1 + }, + "minecraft:particle_initial_speed": "math.random(1,2)", + "minecraft:particle_motion_dynamic": { + "linear_acceleration": ["math.random(-2, 2)", "math.random(-2, -10)", "math.random(-2, 2)"] + }, + "minecraft:particle_appearance_billboard": { + "size": [0.0625, 0.0625], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 16, + "texture_height": 16, + "uv": ["Math.round(variable.particle_random_1 * 12.0)", "Math.round(variable.particle_random_2 * 12.0)"], + "uv_size": [4, 4] + } + }, + "minecraft:particle_motion_collision": { + "collision_drag": 10.0, + "collision_radius": 0.2, + "expire_on_contact": true + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/white_smoke.json b/resource_pack/particles/white_smoke.json new file mode 100644 index 0000000..dcd86e8 --- /dev/null +++ b/resource_pack/particles/white_smoke.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:white_smoke_particle", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_manual": { + "max_particles": 50 + }, + "minecraft:emitter_lifetime_expression": { + "activation_expression": 1, + "expiration_expression": 0 + }, + "minecraft:emitter_shape_disc": { + "offset": [0, -0.2, 0], + "radius": 0.1, + "plane_normal": "y", + "surface_only": true, + "direction": [ 0, 1, 0 ] + }, + "minecraft:particle_initial_speed": "Math.random(1.0, 1.5)", + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.75, 1.25)" + }, + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ 0, "Math.random(0.5, 0.8)", 0 ] + }, + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 128, + "texture_height": 128, + "flipbook": { + "base_UV": [ 56, 0 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 8, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ "186/255", "177/255", "194/255", 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/wind_charged_ambient.json b/resource_pack/particles/wind_charged_ambient.json new file mode 100644 index 0000000..8523e28 --- /dev/null +++ b/resource_pack/particles/wind_charged_ambient.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:wind_charged_ambient", + "basic_render_parameters": { + "material": "particles_blend", + "texture": "textures/particle/small_gust" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 2 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1 + }, + "minecraft:emitter_shape_point": { + "offset": [0, 0, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [0.125, 0.125], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 56, + "texture_height": 8, + "flipbook": { + "base_UV": [0, 0], + "size_UV": [8, 8], + "step_UV": [8, 0], + "frames_per_second": 12, + "max_frame": 6, + "stretch_to_lifetime": false + } + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/wind_charged_emitter.json b/resource_pack/particles/wind_charged_emitter.json new file mode 100644 index 0000000..d29338a --- /dev/null +++ b/resource_pack/particles/wind_charged_emitter.json @@ -0,0 +1,43 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:wind_charged_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/small_gust" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 2 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 1 + }, + "minecraft:emitter_shape_point": { + "offset": [0, 0, 0] + }, + "minecraft:particle_lifetime_expression": { + "max_lifetime": 0.5 + }, + "minecraft:particle_appearance_billboard": { + "size": [0.125, 0.125], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 56, + "texture_height": 8, + "flipbook": { + "base_UV": [0, 0], + "size_UV": [8, 8], + "step_UV": [8, 0], + "frames_per_second": 12, + "max_frame": 6, + "stretch_to_lifetime": false + } + } + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/wind_explosion.json b/resource_pack/particles/wind_explosion.json new file mode 100644 index 0000000..0e70db3 --- /dev/null +++ b/resource_pack/particles/wind_explosion.json @@ -0,0 +1,45 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:wind_explosion_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/gust" + } + }, + "components": { + "minecraft:emitter_rate_steady": { + "spawn_rate": 30, + "max_particles": 10 + }, + "minecraft:emitter_lifetime_once": { + "active_time": 0.4 + }, + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(-1, 1)", "Math.random(-1, 1)", "Math.random(-1, 1)" ] + }, + "minecraft:particle_initial_speed": 0.0, + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random( 0.6, 0.8 )" + }, + "minecraft:particle_appearance_billboard": { + "size": [ 1.0, 1.0 ], + "facing_camera_mode": "lookat_xyz", + "uv": { + "texture_width": 384, + "texture_height": 32, + "flipbook": { + "base_UV": [ 0, 0 ], + "size_UV": [ 32, 32 ], + "step_UV": [ 32, 0 ], + "frames_per_second": 12, + "max_frame": 12, + "stretch_to_lifetime": true, + "loop": false + } + } + } + } + } +} diff --git a/resource_pack/particles/witchspell.json b/resource_pack/particles/witchspell.json new file mode 100644 index 0000000..c1adbc2 --- /dev/null +++ b/resource_pack/particles/witchspell.json @@ -0,0 +1,72 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:witchspell_emitter", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": "Math.random(0, 35) + 10" + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "offset": [ "Math.random(0, 0.13);", "0.5 + Math.random(0, 0.13)", "Math.random(0, 0.13)" ], + "direction": [ "Math.random(-0.25, 0.25)", "Math.random(0, 1)", "Math.random(-0.25, 0.25)" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.55", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "expire_on_contact": true, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.01 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 72 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 10, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + + "minecraft:particle_appearance_tinting": { + "color": [ "variable.particle_random_1 * 0.5 + 0.35", 0, "variable.particle_random_1 * 0.5 + 0.35", 1 ] + }, + + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/particles/wither_boss_invulnerable.json b/resource_pack/particles/wither_boss_invulnerable.json new file mode 100644 index 0000000..77247dc --- /dev/null +++ b/resource_pack/particles/wither_boss_invulnerable.json @@ -0,0 +1,68 @@ +{ + "format_version": "1.10.0", + "particle_effect": { + "description": { + "identifier": "minecraft:wither_boss_invulnerable", + "basic_render_parameters": { + "material": "particles_alpha", + "texture": "textures/particle/particles" + } + }, + "components": { + "minecraft:emitter_rate_instant": { + "num_particles": 1 + }, + + "minecraft:emitter_lifetime_once": {}, + + "minecraft:emitter_shape_custom": { + "direction": [ "variable.direction.x", "variable.direction.y", "variable.direction.z" ] + }, + + "minecraft:particle_initial_speed": "(Math.random(0, 1) + Math.random(0, 1) + 1) * 0.4", + + "minecraft:particle_lifetime_expression": { + "max_lifetime": "Math.random(0.85, 1.35)" + }, + + "minecraft:particle_motion_dynamic": { + "linear_acceleration": [ + "(variable.particle_random_1 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5", + "1 + (0.08 * variable.particle_age) - (variable.particle_age * 0.4) * 1.5", + "(variable.particle_random_2 * 2 - 1)*0.5 - (variable.particle_age * 0.4) * 2.5" + ] + }, + + "minecraft:particle_motion_collision": { + "enabled": 1, + "collision_drag": 1.0, + "coefficient_of_restitution": 1.0, + "collision_radius": 0.5 + }, + + "minecraft:particle_appearance_billboard": { + "size": [ 0.125, 0.125 ], + "facing_camera_mode": "lookat_xyz", + + "uv": { + "texture_width": 128, + "texture_height": 128, + + "flipbook": { + "base_UV": [ 64, 64 ], + "size_UV": [ 8, 8 ], + "step_UV": [ -8, 0 ], + "frames_per_second": 6, + "max_frame": 8, + "stretch_to_lifetime": true, + "loop": false + } + } + }, + "minecraft:particle_appearance_tinting": { + "color": [ 0.0, 0.0, 0.0, 1.0 ] + }, + "minecraft:particle_appearance_lighting": {} + } + } +} diff --git a/resource_pack/pieces/alex_hair/alex_hair.meta.json b/resource_pack/pieces/alex_hair/alex_hair.meta.json new file mode 100644 index 0000000..76db691 --- /dev/null +++ b/resource_pack/pieces/alex_hair/alex_hair.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "70be0801-a93f-4ce0-8e3f-7fdeac1e03b9", + "piece_name": "alex_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "alex_hair_head.png", + "tint_map": "alex_hair_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "alex_hair_body.png", + "tint_map": "alex_hair_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_hair/alex_hair.store_info.json b/resource_pack/pieces/alex_hair/alex_hair.store_info.json new file mode 100644 index 0000000..ad9d78c --- /dev/null +++ b/resource_pack/pieces/alex_hair/alex_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.alex_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/alex_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_pants/alex_pants.meta.json b/resource_pack/pieces/alex_pants/alex_pants.meta.json new file mode 100644 index 0000000..abdfa6a --- /dev/null +++ b/resource_pack/pieces/alex_pants/alex_pants.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "96db6e5b-dc69-4ebc-bd36-cb1b08ffb0f4", + "piece_name": "alex_pants", + "piece_type": "persona_bottom", + "zone": ["right_leg_upper", "left_leg_upper", "right_leg_middle", "left_leg_middle"], + "texture_sources": [ + { + "texture": "alex_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_pants/alex_pants.store_info.json b/resource_pack/pieces/alex_pants/alex_pants.store_info.json new file mode 100644 index 0000000..e59b14e --- /dev/null +++ b/resource_pack/pieces/alex_pants/alex_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.alex_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/alex_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_shirt/alex_shirt.meta.json b/resource_pack/pieces/alex_shirt/alex_shirt.meta.json new file mode 100644 index 0000000..a4efc70 --- /dev/null +++ b/resource_pack/pieces/alex_shirt/alex_shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "80eda582-cda7-4fce-9d6f-89a60f2448f1", + "piece_name": "alex_shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "alex_shirt.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_shirt/alex_shirt.store_info.json b/resource_pack/pieces/alex_shirt/alex_shirt.store_info.json new file mode 100644 index 0000000..6197e6a --- /dev/null +++ b/resource_pack/pieces/alex_shirt/alex_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.alex_shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/alex_shirt_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_shoes/alex_shoes.meta.json b/resource_pack/pieces/alex_shoes/alex_shoes.meta.json new file mode 100644 index 0000000..0f09754 --- /dev/null +++ b/resource_pack/pieces/alex_shoes/alex_shoes.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "5f64b737-b88a-40ea-be1f-559840237146", + "piece_name": "alex_shoes", + "piece_type": "persona_feet", + "zone": ["right_leg_lower", "left_leg_lower"], + "texture_sources": [ + { + "texture": "alex_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_shoes/alex_shoes.store_info.json b/resource_pack/pieces/alex_shoes/alex_shoes.store_info.json new file mode 100644 index 0000000..dc4bffc --- /dev/null +++ b/resource_pack/pieces/alex_shoes/alex_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.alex_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/alex_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_skin/alex_skin.meta.json b/resource_pack/pieces/alex_skin/alex_skin.meta.json new file mode 100644 index 0000000..24fc9d2 --- /dev/null +++ b/resource_pack/pieces/alex_skin/alex_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "0948e089-6f9c-40c1-886b-cd37add03f69", + "piece_name": "alex_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "alex_head.png", + "tint_map": "alex_head_tintmap_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "alex_body.png", + "tint_map": "alex_body_tintmap_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/alex_skin/skin_alex.store_info.json b/resource_pack/pieces/alex_skin/skin_alex.store_info.json new file mode 100644 index 0000000..8c5eb53 --- /dev/null +++ b/resource_pack/pieces/alex_skin/skin_alex.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.alex_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/alex_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_hair/ari_hair.meta.json b/resource_pack/pieces/ari_hair/ari_hair.meta.json new file mode 100644 index 0000000..a04c0cc --- /dev/null +++ b/resource_pack/pieces/ari_hair/ari_hair.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "16a40e66-7d58-b56d-9a4e-e5766ceff6a0", + "piece_name": "ari_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "ari_hair_head.png", + "tint_map": "ari_hair_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "ari_hair_body.png", + "tint_map": "ari_hair_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_hair/ari_hair.store_info.json b/resource_pack/pieces/ari_hair/ari_hair.store_info.json new file mode 100644 index 0000000..d7f1081 --- /dev/null +++ b/resource_pack/pieces/ari_hair/ari_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.ari_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/ari_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_pants/ari_pants.meta.json b/resource_pack/pieces/ari_pants/ari_pants.meta.json new file mode 100644 index 0000000..f41ad99 --- /dev/null +++ b/resource_pack/pieces/ari_pants/ari_pants.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "ef62e4af-63c4-276f-3e76-58027fef8358", + "piece_name": "ari_pants", + "piece_type": "persona_bottom", + "texture_sources": [ + { + "texture": "ari_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_pants/ari_pants.store_info.json b/resource_pack/pieces/ari_pants/ari_pants.store_info.json new file mode 100644 index 0000000..5c6a4a4 --- /dev/null +++ b/resource_pack/pieces/ari_pants/ari_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.ari_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/ari_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_shirt/ari_shirt.meta.json b/resource_pack/pieces/ari_shirt/ari_shirt.meta.json new file mode 100644 index 0000000..38abff7 --- /dev/null +++ b/resource_pack/pieces/ari_shirt/ari_shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "66690c38-b6da-92aa-dd23-d1fab2b97423", + "piece_name": "ari_shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "ari_shirt.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_shirt/ari_shirt.store_info.json b/resource_pack/pieces/ari_shirt/ari_shirt.store_info.json new file mode 100644 index 0000000..26b3b5b --- /dev/null +++ b/resource_pack/pieces/ari_shirt/ari_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.ari_shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/ari_shirt_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_shoes/ari_shoes.meta.json b/resource_pack/pieces/ari_shoes/ari_shoes.meta.json new file mode 100644 index 0000000..faf2530 --- /dev/null +++ b/resource_pack/pieces/ari_shoes/ari_shoes.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "dd0b165f-cd5d-3588-db1e-ab2cea17cbad", + "piece_name": "ari_shoes", + "piece_type": "persona_feet", + "texture_sources": [ + { + "texture": "ari_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_shoes/ari_shoes.store_info.json b/resource_pack/pieces/ari_shoes/ari_shoes.store_info.json new file mode 100644 index 0000000..d97b056 --- /dev/null +++ b/resource_pack/pieces/ari_shoes/ari_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.ari_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/ari_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_skin/ari_skin.meta.json b/resource_pack/pieces/ari_skin/ari_skin.meta.json new file mode 100644 index 0000000..64beb1d --- /dev/null +++ b/resource_pack/pieces/ari_skin/ari_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "29ad05be-b99b-3a20-abd9-771fdd53eb0a", + "piece_name": "ari_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "ari_skin_head.png", + "tint_map": "ari_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "ari_skin_body.png", + "tint_map": "ari_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/ari_skin/ari_skin.store_info.json b/resource_pack/pieces/ari_skin/ari_skin.store_info.json new file mode 100644 index 0000000..7fa552c --- /dev/null +++ b/resource_pack/pieces/ari_skin/ari_skin.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.ari_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/ari_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/body/medium/medium.geometry.json b/resource_pack/pieces/body/medium/medium.geometry.json new file mode 100644 index 0000000..e6ae025 --- /dev/null +++ b/resource_pack/pieces/body/medium/medium.geometry.json @@ -0,0 +1,1802 @@ +{ + "format_version": "1.12.0", + "geometry.medium_body": { + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0, 24, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 24, -2 ], + [ 4, 24, -2 ], + [ 4, 24, 2 ], + [ -4, 24, 2 ], + [ -4, 12, 2 ], + [ 4, 12, 2 ], + [ 4, 12, -2 ], + [ -4, 12, -2 ], + [ -4, 12, 2 ], + [ -4, 12, -2 ], + [ -4, 24, -2 ], + [ -4, 24, 2 ], + [ 4, 12, -2 ], + [ 4, 12, 2 ], + [ 4, 24, 2 ], + [ 4, 24, -2 ], + [ -4, 12, -2 ], + [ 4, 12, -2 ], + [ 4, 24, -2 ], + [ -4, 24, -2 ], + [ 4, 12, 2 ], + [ -4, 12, 2 ], + [ -4, 24, 2 ], + [ 4, 24, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.15625, 0.96875 ], + [ 0.21875, 0.96875 ], + [ 0.21875, 1 ], + [ 0.15625, 1 ], + [ 0.28125, 1 ], + [ 0.21875, 1 ], + [ 0.21875, 0.96875 ], + [ 0.28125, 0.96875 ], + [ 0.125, 0.875 ], + [ 0.15625, 0.875 ], + [ 0.15625, 0.96875 ], + [ 0.125, 0.96875 ], + [ 0.21875, 0.875 ], + [ 0.25, 0.875 ], + [ 0.25, 0.96875 ], + [ 0.21875, 0.96875 ], + [ 0.15625, 0.875 ], + [ 0.21875, 0.875 ], + [ 0.21875, 0.96875 ], + [ 0.15625, 0.96875 ], + [ 0.25, 0.875 ], + [ 0.3125, 0.875 ], + [ 0.3125, 0.96875 ], + [ 0.25, 0.96875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_head": { + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0, 24, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 32, -4 ], + [ 4, 32, -4 ], + [ 4, 32, 4 ], + [ -4, 32, 4 ], + [ -4, 24, 4 ], + [ 4, 24, 4 ], + [ 4, 24, -4 ], + [ -4, 24, -4 ], + [ -4, 24, 4 ], + [ -4, 24, -4 ], + [ -4, 32, -4 ], + [ -4, 32, 4 ], + [ 4, 24, -4 ], + [ 4, 24, 4 ], + [ 4, 32, 4 ], + [ 4, 32, -4 ], + [ -4, 24, -4 ], + [ 4, 24, -4 ], + [ 4, 32, -4 ], + [ -4, 32, -4 ], + [ 4, 24, 4 ], + [ -4, 24, 4 ], + [ -4, 32, 4 ], + [ 4, 32, 4 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.75 ], + [ 0.5, 0.75 ], + [ 0.5, 1 ], + [ 0.25, 1 ], + [ 0.75, 1 ], + [ 0.5, 1 ], + [ 0.5, 0.75 ], + [ 0.75, 0.75 ], + [ 0, 0.5 ], + [ 0.25, 0.5 ], + [ 0.25, 0.75 ], + [ 0, 0.75 ], + [ 0.5, 0.5 ], + [ 0.75, 0.5 ], + [ 0.75, 0.75 ], + [ 0.5, 0.75 ], + [ 0.25, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.75 ], + [ 0.25, 0.75 ], + [ 0.75, 0.5 ], + [ 1, 0.5 ], + [ 1, 0.75 ], + [ 0.75, 0.75 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_head_clothing": { + "bones": [ + { + "name": "hat", + "parent": "head", + "pivot": [ 0, 24, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.5, 32.5, -4.5 ], + [ 4.5, 32.5, -4.5 ], + [ 4.5, 32.5, 4.5 ], + [ -4.5, 32.5, 4.5 ], + [ -4.5, 23.5, 4.5 ], + [ 4.5, 23.5, 4.5 ], + [ 4.5, 23.5, -4.5 ], + [ -4.5, 23.5, -4.5 ], + [ -4.5, 23.5, 4.5 ], + [ -4.5, 23.5, -4.5 ], + [ -4.5, 32.5, -4.5 ], + [ -4.5, 32.5, 4.5 ], + [ 4.5, 23.5, -4.5 ], + [ 4.5, 23.5, 4.5 ], + [ 4.5, 32.5, 4.5 ], + [ 4.5, 32.5, -4.5 ], + [ -4.5, 23.5, -4.5 ], + [ 4.5, 23.5, -4.5 ], + [ 4.5, 32.5, -4.5 ], + [ -4.5, 32.5, -4.5 ], + [ 4.5, 23.5, 4.5 ], + [ -4.5, 23.5, 4.5 ], + [ -4.5, 32.5, 4.5 ], + [ 4.5, 32.5, 4.5 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.25 ], + [ 0.5, 0.25 ], + [ 0.5, 0.5 ], + [ 0.25, 0.5 ], + [ 0.75, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.25 ], + [ 0.75, 0.25 ], + [ 0, 0 ], + [ 0.25, 0 ], + [ 0.25, 0.25 ], + [ 0, 0.25 ], + [ 0.5, 0 ], + [ 0.75, 0 ], + [ 0.75, 0.25 ], + [ 0.5, 0.25 ], + [ 0.25, 0 ], + [ 0.5, 0 ], + [ 0.5, 0.25 ], + [ 0.25, 0.25 ], + [ 0.75, 0 ], + [ 1, 0 ], + [ 1, 0.25 ], + [ 0.75, 0.25 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_left_wide_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 22, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 24, -2 ], + [ 8, 24, -2 ], + [ 8, 24, 2 ], + [ 4, 24, 2 ], + [ 4, 12, 2 ], + [ 8, 12, 2 ], + [ 8, 12, -2 ], + [ 4, 12, -2 ], + [ 4, 12, 2 ], + [ 4, 12, -2 ], + [ 4, 24, -2 ], + [ 4, 24, 2 ], + [ 8, 12, -2 ], + [ 8, 12, 2 ], + [ 8, 24, 2 ], + [ 8, 24, -2 ], + [ 4, 12, -2 ], + [ 8, 12, -2 ], + [ 8, 24, -2 ], + [ 4, 24, -2 ], + [ 8, 12, 2 ], + [ 4, 12, 2 ], + [ 4, 24, 2 ], + [ 8, 24, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.34375, 0.96875 ], + [ 0.375, 0.96875 ], + [ 0.375, 1 ], + [ 0.34375, 1 ], + [ 0.40625, 1 ], + [ 0.375, 1 ], + [ 0.375, 0.96875 ], + [ 0.40625, 0.96875 ], + [ 0.3125, 0.875 ], + [ 0.34375, 0.875 ], + [ 0.34375, 0.96875 ], + [ 0.3125, 0.96875 ], + [ 0.375, 0.875 ], + [ 0.40625, 0.875 ], + [ 0.40625, 0.96875 ], + [ 0.375, 0.96875 ], + [ 0.34375, 0.875 ], + [ 0.375, 0.875 ], + [ 0.375, 0.96875 ], + [ 0.34375, 0.96875 ], + [ 0.40625, 0.875 ], + [ 0.4375, 0.875 ], + [ 0.4375, 0.96875 ], + [ 0.40625, 0.96875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_right_wide_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 22, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8, 24, -2 ], + [ -4, 24, -2 ], + [ -4, 24, 2 ], + [ -8, 24, 2 ], + [ -8, 12, 2 ], + [ -4, 12, 2 ], + [ -4, 12, -2 ], + [ -8, 12, -2 ], + [ -8, 12, 2 ], + [ -8, 12, -2 ], + [ -8, 24, -2 ], + [ -8, 24, 2 ], + [ -4, 12, -2 ], + [ -4, 12, 2 ], + [ -4, 24, 2 ], + [ -4, 24, -2 ], + [ -8, 12, -2 ], + [ -4, 12, -2 ], + [ -4, 24, -2 ], + [ -8, 24, -2 ], + [ -4, 12, 2 ], + [ -8, 12, 2 ], + [ -8, 24, 2 ], + [ -4, 24, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.96875 ], + [ 0.0625, 0.96875 ], + [ 0.0625, 1 ], + [ 0.03125, 1 ], + [ 0.09375, 1 ], + [ 0.0625, 1 ], + [ 0.0625, 0.96875 ], + [ 0.09375, 0.96875 ], + [ 0, 0.875 ], + [ 0.03125, 0.875 ], + [ 0.03125, 0.96875 ], + [ 0, 0.96875 ], + [ 0.0625, 0.875 ], + [ 0.09375, 0.875 ], + [ 0.09375, 0.96875 ], + [ 0.0625, 0.96875 ], + [ 0.03125, 0.875 ], + [ 0.0625, 0.875 ], + [ 0.0625, 0.96875 ], + [ 0.03125, 0.96875 ], + [ 0.09375, 0.875 ], + [ 0.125, 0.875 ], + [ 0.125, 0.96875 ], + [ 0.09375, 0.96875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_left_wide_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 22, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 24.25, -2.25 ], + [ 8.25, 24.25, -2.25 ], + [ 8.25, 24.25, 2.25 ], + [ 3.75, 24.25, 2.25 ], + [ 3.75, 11.75, 2.25 ], + [ 8.25, 11.75, 2.25 ], + [ 8.25, 11.75, -2.25 ], + [ 3.75, 11.75, -2.25 ], + [ 3.75, 11.75, 2.25 ], + [ 3.75, 11.75, -2.25 ], + [ 3.75, 24.25, -2.25 ], + [ 3.75, 24.25, 2.25 ], + [ 8.25, 11.75, -2.25 ], + [ 8.25, 11.75, 2.25 ], + [ 8.25, 24.25, 2.25 ], + [ 8.25, 24.25, -2.25 ], + [ 3.75, 11.75, -2.25 ], + [ 8.25, 11.75, -2.25 ], + [ 8.25, 24.25, -2.25 ], + [ 3.75, 24.25, -2.25 ], + [ 8.25, 11.75, 2.25 ], + [ 3.75, 11.75, 2.25 ], + [ 3.75, 24.25, 2.25 ], + [ 8.25, 24.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.34375, 0.84375 ], + [ 0.375, 0.84375 ], + [ 0.375, 0.875 ], + [ 0.34375, 0.875 ], + [ 0.40625, 0.875 ], + [ 0.375, 0.875 ], + [ 0.375, 0.84375 ], + [ 0.40625, 0.84375 ], + [ 0.3125, 0.75 ], + [ 0.34375, 0.75 ], + [ 0.34375, 0.84375 ], + [ 0.3125, 0.84375 ], + [ 0.375, 0.75 ], + [ 0.40625, 0.75 ], + [ 0.40625, 0.84375 ], + [ 0.375, 0.84375 ], + [ 0.34375, 0.75 ], + [ 0.375, 0.75 ], + [ 0.375, 0.84375 ], + [ 0.34375, 0.84375 ], + [ 0.40625, 0.75 ], + [ 0.4375, 0.75 ], + [ 0.4375, 0.84375 ], + [ 0.40625, 0.84375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_right_wide_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 22, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8.25, 24.25, -2.25 ], + [ -3.75, 24.25, -2.25 ], + [ -3.75, 24.25, 2.25 ], + [ -8.25, 24.25, 2.25 ], + [ -8.25, 11.75, 2.25 ], + [ -3.75, 11.75, 2.25 ], + [ -3.75, 11.75, -2.25 ], + [ -8.25, 11.75, -2.25 ], + [ -8.25, 11.75, 2.25 ], + [ -8.25, 11.75, -2.25 ], + [ -8.25, 24.25, -2.25 ], + [ -8.25, 24.25, 2.25 ], + [ -3.75, 11.75, -2.25 ], + [ -3.75, 11.75, 2.25 ], + [ -3.75, 24.25, 2.25 ], + [ -3.75, 24.25, -2.25 ], + [ -8.25, 11.75, -2.25 ], + [ -3.75, 11.75, -2.25 ], + [ -3.75, 24.25, -2.25 ], + [ -8.25, 24.25, -2.25 ], + [ -3.75, 11.75, 2.25 ], + [ -8.25, 11.75, 2.25 ], + [ -8.25, 24.25, 2.25 ], + [ -3.75, 24.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.84375 ], + [ 0.0625, 0.84375 ], + [ 0.0625, 0.875 ], + [ 0.03125, 0.875 ], + [ 0.09375, 0.875 ], + [ 0.0625, 0.875 ], + [ 0.0625, 0.84375 ], + [ 0.09375, 0.84375 ], + [ 0, 0.75 ], + [ 0.03125, 0.75 ], + [ 0.03125, 0.84375 ], + [ 0, 0.84375 ], + [ 0.0625, 0.75 ], + [ 0.09375, 0.75 ], + [ 0.09375, 0.84375 ], + [ 0.0625, 0.84375 ], + [ 0.03125, 0.75 ], + [ 0.0625, 0.75 ], + [ 0.0625, 0.84375 ], + [ 0.03125, 0.84375 ], + [ 0.09375, 0.75 ], + [ 0.125, 0.75 ], + [ 0.125, 0.84375 ], + [ 0.09375, 0.84375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_left_leg": { + "bones": [ + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.1, 12, -2 ], + [ 3.9, 12, -2 ], + [ 3.9, 12, 2 ], + [ -0.1, 12, 2 ], + [ -0.1, 0, 2 ], + [ 3.9, 0, 2 ], + [ 3.9, 0, -2 ], + [ -0.1, 0, -2 ], + [ -0.1, 0, 2 ], + [ -0.1, 0, -2 ], + [ -0.1, 12, -2 ], + [ -0.1, 12, 2 ], + [ 3.9, 0, -2 ], + [ 3.9, 0, 2 ], + [ 3.9, 12, 2 ], + [ 3.9, 12, -2 ], + [ -0.1, 0, -2 ], + [ 3.9, 0, -2 ], + [ 3.9, 12, -2 ], + [ -0.1, 12, -2 ], + [ 3.9, 0, 2 ], + [ -0.1, 0, 2 ], + [ -0.1, 12, 2 ], + [ 3.9, 12, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.28125, 0.71875 ], + [ 0.3125, 0.71875 ], + [ 0.3125, 0.75 ], + [ 0.28125, 0.75 ], + [ 0.34375, 0.75 ], + [ 0.3125, 0.75 ], + [ 0.3125, 0.71875 ], + [ 0.34375, 0.71875 ], + [ 0.25, 0.625 ], + [ 0.28125, 0.625 ], + [ 0.28125, 0.71875 ], + [ 0.25, 0.71875 ], + [ 0.3125, 0.625 ], + [ 0.34375, 0.625 ], + [ 0.34375, 0.71875 ], + [ 0.3125, 0.71875 ], + [ 0.28125, 0.625 ], + [ 0.3125, 0.625 ], + [ 0.3125, 0.71875 ], + [ 0.28125, 0.71875 ], + [ 0.34375, 0.625 ], + [ 0.375, 0.625 ], + [ 0.375, 0.71875 ], + [ 0.34375, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_right_leg": { + "bones": [ + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -3.9, 12, -2 ], + [ 0.0999999, 12, -2 ], + [ 0.0999999, 12, 2 ], + [ -3.9, 12, 2 ], + [ -3.9, 0, 2 ], + [ 0.0999999, 0, 2 ], + [ 0.0999999, 0, -2 ], + [ -3.9, 0, -2 ], + [ -3.9, 0, 2 ], + [ -3.9, 0, -2 ], + [ -3.9, 12, -2 ], + [ -3.9, 12, 2 ], + [ 0.0999999, 0, -2 ], + [ 0.0999999, 0, 2 ], + [ 0.0999999, 12, 2 ], + [ 0.0999999, 12, -2 ], + [ -3.9, 0, -2 ], + [ 0.0999999, 0, -2 ], + [ 0.0999999, 12, -2 ], + [ -3.9, 12, -2 ], + [ 0.0999999, 0, 2 ], + [ -3.9, 0, 2 ], + [ -3.9, 12, 2 ], + [ 0.0999999, 12, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.15625, 0.71875 ], + [ 0.1875, 0.71875 ], + [ 0.1875, 0.75 ], + [ 0.15625, 0.75 ], + [ 0.21875, 0.75 ], + [ 0.1875, 0.75 ], + [ 0.1875, 0.71875 ], + [ 0.21875, 0.71875 ], + [ 0.125, 0.625 ], + [ 0.15625, 0.625 ], + [ 0.15625, 0.71875 ], + [ 0.125, 0.71875 ], + [ 0.1875, 0.625 ], + [ 0.21875, 0.625 ], + [ 0.21875, 0.71875 ], + [ 0.1875, 0.71875 ], + [ 0.15625, 0.625 ], + [ 0.1875, 0.625 ], + [ 0.1875, 0.71875 ], + [ 0.15625, 0.71875 ], + [ 0.21875, 0.625 ], + [ 0.25, 0.625 ], + [ 0.25, 0.71875 ], + [ 0.21875, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_left_leg_clothing": { + "bones": [ + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.35, 12.25, -2.25 ], + [ 4.15, 12.25, -2.25 ], + [ 4.15, 12.25, 2.25 ], + [ -0.35, 12.25, 2.25 ], + [ -0.35, -0.25, 2.25 ], + [ 4.15, -0.25, 2.25 ], + [ 4.15, -0.25, -2.25 ], + [ -0.35, -0.25, -2.25 ], + [ -0.35, -0.25, 2.25 ], + [ -0.35, -0.25, -2.25 ], + [ -0.35, 12.25, -2.25 ], + [ -0.35, 12.25, 2.25 ], + [ 4.15, -0.25, -2.25 ], + [ 4.15, -0.25, 2.25 ], + [ 4.15, 12.25, 2.25 ], + [ 4.15, 12.25, -2.25 ], + [ -0.35, -0.25, -2.25 ], + [ 4.15, -0.25, -2.25 ], + [ 4.15, 12.25, -2.25 ], + [ -0.35, 12.25, -2.25 ], + [ 4.15, -0.25, 2.25 ], + [ -0.35, -0.25, 2.25 ], + [ -0.35, 12.25, 2.25 ], + [ 4.15, 12.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.40625, 0.71875 ], + [ 0.4375, 0.71875 ], + [ 0.4375, 0.75 ], + [ 0.40625, 0.75 ], + [ 0.46875, 0.75 ], + [ 0.4375, 0.75 ], + [ 0.4375, 0.71875 ], + [ 0.46875, 0.71875 ], + [ 0.375, 0.625 ], + [ 0.40625, 0.625 ], + [ 0.40625, 0.71875 ], + [ 0.375, 0.71875 ], + [ 0.4375, 0.625 ], + [ 0.46875, 0.625 ], + [ 0.46875, 0.71875 ], + [ 0.4375, 0.71875 ], + [ 0.40625, 0.625 ], + [ 0.4375, 0.625 ], + [ 0.4375, 0.71875 ], + [ 0.40625, 0.71875 ], + [ 0.46875, 0.625 ], + [ 0.5, 0.625 ], + [ 0.5, 0.71875 ], + [ 0.46875, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_right_leg_clothing": { + "bones": [ + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.15, 12.25, -2.25 ], + [ 0.3499999, 12.25, -2.25 ], + [ 0.3499999, 12.25, 2.25 ], + [ -4.15, 12.25, 2.25 ], + [ -4.15, -0.25, 2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ -4.15, -0.25, -2.25 ], + [ -4.15, -0.25, 2.25 ], + [ -4.15, -0.25, -2.25 ], + [ -4.15, 12.25, -2.25 ], + [ -4.15, 12.25, 2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ 0.3499999, 12.25, 2.25 ], + [ 0.3499999, 12.25, -2.25 ], + [ -4.15, -0.25, -2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ 0.3499999, 12.25, -2.25 ], + [ -4.15, 12.25, -2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ -4.15, -0.25, 2.25 ], + [ -4.15, 12.25, 2.25 ], + [ 0.3499999, 12.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.71875 ], + [ 0.0625, 0.71875 ], + [ 0.0625, 0.75 ], + [ 0.03125, 0.75 ], + [ 0.09375, 0.75 ], + [ 0.0625, 0.75 ], + [ 0.0625, 0.71875 ], + [ 0.09375, 0.71875 ], + [ 0, 0.625 ], + [ 0.03125, 0.625 ], + [ 0.03125, 0.71875 ], + [ 0, 0.71875 ], + [ 0.0625, 0.625 ], + [ 0.09375, 0.625 ], + [ 0.09375, 0.71875 ], + [ 0.0625, 0.71875 ], + [ 0.03125, 0.625 ], + [ 0.0625, 0.625 ], + [ 0.0625, 0.71875 ], + [ 0.03125, 0.71875 ], + [ 0.09375, 0.625 ], + [ 0.125, 0.625 ], + [ 0.125, 0.71875 ], + [ 0.09375, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_body_clothing": { + "bones": [ + { + "name": "jacket", + "parent": "body", + "pivot": [ 0, 24, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.25, 24.25, -2.25 ], + [ 4.25, 24.25, -2.25 ], + [ 4.25, 24.25, 2.25 ], + [ -4.25, 24.25, 2.25 ], + [ -4.25, 11.75, 2.25 ], + [ 4.25, 11.75, 2.25 ], + [ 4.25, 11.75, -2.25 ], + [ -4.25, 11.75, -2.25 ], + [ -4.25, 11.75, 2.25 ], + [ -4.25, 11.75, -2.25 ], + [ -4.25, 24.25, -2.25 ], + [ -4.25, 24.25, 2.25 ], + [ 4.25, 11.75, -2.25 ], + [ 4.25, 11.75, 2.25 ], + [ 4.25, 24.25, 2.25 ], + [ 4.25, 24.25, -2.25 ], + [ -4.25, 11.75, -2.25 ], + [ 4.25, 11.75, -2.25 ], + [ 4.25, 24.25, -2.25 ], + [ -4.25, 24.25, -2.25 ], + [ 4.25, 11.75, 2.25 ], + [ -4.25, 11.75, 2.25 ], + [ -4.25, 24.25, 2.25 ], + [ 4.25, 24.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.15625, 0.84375 ], + [ 0.21875, 0.84375 ], + [ 0.21875, 0.875 ], + [ 0.15625, 0.875 ], + [ 0.28125, 0.875 ], + [ 0.21875, 0.875 ], + [ 0.21875, 0.84375 ], + [ 0.28125, 0.84375 ], + [ 0.125, 0.75 ], + [ 0.15625, 0.75 ], + [ 0.15625, 0.84375 ], + [ 0.125, 0.84375 ], + [ 0.21875, 0.75 ], + [ 0.25, 0.75 ], + [ 0.25, 0.84375 ], + [ 0.21875, 0.84375 ], + [ 0.15625, 0.75 ], + [ 0.21875, 0.75 ], + [ 0.21875, 0.84375 ], + [ 0.15625, 0.84375 ], + [ 0.25, 0.75 ], + [ 0.3125, 0.75 ], + [ 0.3125, 0.84375 ], + [ 0.25, 0.84375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_left_slim_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 21.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 23.5, -2 ], + [ 7, 23.5, -2 ], + [ 7, 23.5, 2 ], + [ 4, 23.5, 2 ], + [ 4, 11.5, 2 ], + [ 7, 11.5, 2 ], + [ 7, 11.5, -2 ], + [ 4, 11.5, -2 ], + [ 4, 11.5, 2 ], + [ 4, 11.5, -2 ], + [ 4, 23.5, -2 ], + [ 4, 23.5, 2 ], + [ 7, 11.5, -2 ], + [ 7, 11.5, 2 ], + [ 7, 23.5, 2 ], + [ 7, 23.5, -2 ], + [ 4, 11.5, -2 ], + [ 7, 11.5, -2 ], + [ 7, 23.5, -2 ], + [ 4, 23.5, -2 ], + [ 7, 11.5, 2 ], + [ 4, 11.5, 2 ], + [ 4, 23.5, 2 ], + [ 7, 23.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.59375 ], + [ 0.2734375, 0.59375 ], + [ 0.2734375, 0.625 ], + [ 0.25, 0.625 ], + [ 0.296875, 0.625 ], + [ 0.2734375, 0.625 ], + [ 0.2734375, 0.59375 ], + [ 0.296875, 0.59375 ], + [ 0.21875, 0.5 ], + [ 0.25, 0.5 ], + [ 0.25, 0.59375 ], + [ 0.21875, 0.59375 ], + [ 0.2734375, 0.5 ], + [ 0.3046875, 0.5 ], + [ 0.3046875, 0.59375 ], + [ 0.2734375, 0.59375 ], + [ 0.25, 0.5 ], + [ 0.2734375, 0.5 ], + [ 0.2734375, 0.59375 ], + [ 0.25, 0.59375 ], + [ 0.3046875, 0.5 ], + [ 0.328125, 0.5 ], + [ 0.328125, 0.59375 ], + [ 0.3046875, 0.59375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_right_slim_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 21.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7, 23.5, -2 ], + [ -4, 23.5, -2 ], + [ -4, 23.5, 2 ], + [ -7, 23.5, 2 ], + [ -7, 11.5, 2 ], + [ -4, 11.5, 2 ], + [ -4, 11.5, -2 ], + [ -7, 11.5, -2 ], + [ -7, 11.5, 2 ], + [ -7, 11.5, -2 ], + [ -7, 23.5, -2 ], + [ -7, 23.5, 2 ], + [ -4, 11.5, -2 ], + [ -4, 11.5, 2 ], + [ -4, 23.5, 2 ], + [ -4, 23.5, -2 ], + [ -7, 11.5, -2 ], + [ -4, 11.5, -2 ], + [ -4, 23.5, -2 ], + [ -7, 23.5, -2 ], + [ -4, 11.5, 2 ], + [ -7, 11.5, 2 ], + [ -7, 23.5, 2 ], + [ -4, 23.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.140625, 0.59375 ], + [ 0.1640625, 0.59375 ], + [ 0.1640625, 0.625 ], + [ 0.140625, 0.625 ], + [ 0.1875, 0.625 ], + [ 0.1640625, 0.625 ], + [ 0.1640625, 0.59375 ], + [ 0.1875, 0.59375 ], + [ 0.109375, 0.5 ], + [ 0.140625, 0.5 ], + [ 0.140625, 0.59375 ], + [ 0.109375, 0.59375 ], + [ 0.1640625, 0.5 ], + [ 0.1953125, 0.5 ], + [ 0.1953125, 0.59375 ], + [ 0.1640625, 0.59375 ], + [ 0.140625, 0.5 ], + [ 0.1640625, 0.5 ], + [ 0.1640625, 0.59375 ], + [ 0.140625, 0.59375 ], + [ 0.1953125, 0.5 ], + [ 0.21875, 0.5 ], + [ 0.21875, 0.59375 ], + [ 0.1953125, 0.59375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_left_slim_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 21.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 23.75, -2.25 ], + [ 7.25, 23.75, -2.25 ], + [ 7.25, 23.75, 2.25 ], + [ 3.75, 23.75, 2.25 ], + [ 3.75, 11.25, 2.25 ], + [ 7.25, 11.25, 2.25 ], + [ 7.25, 11.25, -2.25 ], + [ 3.75, 11.25, -2.25 ], + [ 3.75, 11.25, 2.25 ], + [ 3.75, 11.25, -2.25 ], + [ 3.75, 23.75, -2.25 ], + [ 3.75, 23.75, 2.25 ], + [ 7.25, 11.25, -2.25 ], + [ 7.25, 11.25, 2.25 ], + [ 7.25, 23.75, 2.25 ], + [ 7.25, 23.75, -2.25 ], + [ 3.75, 11.25, -2.25 ], + [ 7.25, 11.25, -2.25 ], + [ 7.25, 23.75, -2.25 ], + [ 3.75, 23.75, -2.25 ], + [ 7.25, 11.25, 2.25 ], + [ 3.75, 11.25, 2.25 ], + [ 3.75, 23.75, 2.25 ], + [ 7.25, 23.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.359375, 0.59375 ], + [ 0.3828125, 0.59375 ], + [ 0.3828125, 0.625 ], + [ 0.359375, 0.625 ], + [ 0.40625, 0.625 ], + [ 0.3828125, 0.625 ], + [ 0.3828125, 0.59375 ], + [ 0.40625, 0.59375 ], + [ 0.328125, 0.5 ], + [ 0.359375, 0.5 ], + [ 0.359375, 0.59375 ], + [ 0.328125, 0.59375 ], + [ 0.3828125, 0.5 ], + [ 0.4140625, 0.5 ], + [ 0.4140625, 0.59375 ], + [ 0.3828125, 0.59375 ], + [ 0.359375, 0.5 ], + [ 0.3828125, 0.5 ], + [ 0.3828125, 0.59375 ], + [ 0.359375, 0.59375 ], + [ 0.4140625, 0.5 ], + [ 0.4375, 0.5 ], + [ 0.4375, 0.59375 ], + [ 0.4140625, 0.59375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.medium_right_slim_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 21.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7.25, 23.75, -2.25 ], + [ -3.75, 23.75, -2.25 ], + [ -3.75, 23.75, 2.25 ], + [ -7.25, 23.75, 2.25 ], + [ -7.25, 11.25, 2.25 ], + [ -3.75, 11.25, 2.25 ], + [ -3.75, 11.25, -2.25 ], + [ -7.25, 11.25, -2.25 ], + [ -7.25, 11.25, 2.25 ], + [ -7.25, 11.25, -2.25 ], + [ -7.25, 23.75, -2.25 ], + [ -7.25, 23.75, 2.25 ], + [ -3.75, 11.25, -2.25 ], + [ -3.75, 11.25, 2.25 ], + [ -3.75, 23.75, 2.25 ], + [ -3.75, 23.75, -2.25 ], + [ -7.25, 11.25, -2.25 ], + [ -3.75, 11.25, -2.25 ], + [ -3.75, 23.75, -2.25 ], + [ -7.25, 23.75, -2.25 ], + [ -3.75, 11.25, 2.25 ], + [ -7.25, 11.25, 2.25 ], + [ -7.25, 23.75, 2.25 ], + [ -3.75, 23.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.59375 ], + [ 0.0546875, 0.59375 ], + [ 0.0546875, 0.625 ], + [ 0.03125, 0.625 ], + [ 0.078125, 0.625 ], + [ 0.0546875, 0.625 ], + [ 0.0546875, 0.59375 ], + [ 0.078125, 0.59375 ], + [ 0, 0.5 ], + [ 0.03125, 0.5 ], + [ 0.03125, 0.59375 ], + [ 0, 0.59375 ], + [ 0.0546875, 0.5 ], + [ 0.0859375, 0.5 ], + [ 0.0859375, 0.59375 ], + [ 0.0546875, 0.59375 ], + [ 0.03125, 0.5 ], + [ 0.0546875, 0.5 ], + [ 0.0546875, 0.59375 ], + [ 0.03125, 0.59375 ], + [ 0.0859375, 0.5 ], + [ 0.109375, 0.5 ], + [ 0.109375, 0.59375 ], + [ 0.0859375, 0.59375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/medium/medium.meta.json b/resource_pack/pieces/body/medium/medium.meta.json new file mode 100644 index 0000000..be8afd6 --- /dev/null +++ b/resource_pack/pieces/body/medium/medium.meta.json @@ -0,0 +1,92 @@ +{ + "piece_id": "1042557f-d1f9-44e3-ba78-f404e8fb7363", + "piece_name": "medium", + "piece_type": "persona_body", + "clothing_map": "clothing_map.tga", + "body_variant": "medium", + "face_clothing_map": "face_clothing_map.tga", + "geometry_sources": [ + { + "zone": "body", + "arm_size": "", + "geometry": "geometry.medium_body" + }, + { + "zone": "body_clothing", + "arm_size": "", + "geometry": "geometry.medium_body_clothing" + }, + { + "zone": "head", + "arm_size": "", + "geometry": "geometry.medium_head", + "is_face": "true" + }, + { + "zone": "head_clothing", + "arm_size": "", + "geometry": "geometry.medium_head_clothing", + "is_face": "true" + }, + { + "zone": "left_arm", + "arm_size": "wide", + "geometry": "geometry.medium_left_wide_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.medium_left_wide_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "wide", + "geometry": "geometry.medium_right_wide_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.medium_right_wide_clothing_arm" + }, + { + "zone": "left_arm", + "arm_size": "slim", + "geometry": "geometry.medium_left_slim_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.medium_left_slim_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "slim", + "geometry": "geometry.medium_right_slim_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.medium_right_slim_clothing_arm" + }, + { + "zone": "left_leg", + "arm_size": "", + "geometry": "geometry.medium_left_leg" + }, + { + "zone": "right_leg", + "arm_size": "", + "geometry": "geometry.medium_right_leg" + }, + { + "zone": "left_leg_clothing", + "arm_size": "", + "geometry": "geometry.medium_left_leg_clothing" + }, + { + "zone": "right_leg_clothing", + "arm_size": "", + "geometry": "geometry.medium_right_leg_clothing" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/body/medium_skeleton/medium_skeleton.geometry.json b/resource_pack/pieces/body/medium_skeleton/medium_skeleton.geometry.json new file mode 100644 index 0000000..2b924fd --- /dev/null +++ b/resource_pack/pieces/body/medium_skeleton/medium_skeleton.geometry.json @@ -0,0 +1,190 @@ +{ + "format_version" : "1.12.0", + "geometry.medium_body":{ + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "pivot": [ 0.0, 24.0, 0.0 ], + "name": "body", + "parent": "waist", + "locators": { + "armor_offset.default_neck": [ 0.0, 24.0, 0.0 ] + } + } + ] + }, + "geometry.medium_head":{ + "bones":[ + { + "pivot": [ 0.0, 24.0, 0.0 ], + "name": "head", + "parent": "body" + } + ] + }, + "geometry.medium_left_wide_arm": { + "bones": [ + { + "pivot": [ 5.0, 22.0, 0.0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.medium_right_wide_arm": { + "bones": [ + { + "pivot": [ -5, 22, 0 ], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.medium_left_slim_arm": { + "bones": [ + { + "pivot": [ 5.0, 21.5, 0.0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.medium_right_slim_arm": { + "bones": [ + { + "pivot": [ -5.0, 21.5, 0.0 ], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.medium_left_leg":{ + "bones":[ + { + "pivot": [ 1.9, 12.0, 0.0 ], + "name": "leftLeg", + "parent": "root" + } + ] + }, + "geometry.medium_right_leg":{ + "bones":[ + { + "pivot": [ -1.9, 12.0, 0.0 ], + "name": "rightLeg", + "parent": "root" + } + ] + }, + "geometry.medium_right_item": { + "bones": [ + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6, 15, 0 ], + "locators": { + "lead_hold": [ -6, 15, 0 ] + } + } + ] + }, + "geometry.medium_left_item": { + "bones": [ + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6, 15, 0 ] + } + ] + }, + "geometry.medium_armor": { + "bones": [ + { + "name": "helmet", + "parent": "head", + "pivot": [ 0.0, 24.0, 0.0 ] + }, + { + "name": "rightLegging", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftLegging", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightBoot", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftBoot", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightSock", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftSock", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "bodyArmor", + "pivot": [ 0.0, 24.0, 0.0 ], + "parent": "body" + }, + { + "name": "belt", + "pivot": [ 0.0, 24.0, 0.0 ], + "parent": "body" + } + ] + }, + "geometry.medium_armor_wide_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 22.0, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 22.0, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + }, + "geometry.medium_armor_slim_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 21.5, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 21.5, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/medium_skeleton/medium_skeleton.meta.json b/resource_pack/pieces/body/medium_skeleton/medium_skeleton.meta.json new file mode 100644 index 0000000..214640e --- /dev/null +++ b/resource_pack/pieces/body/medium_skeleton/medium_skeleton.meta.json @@ -0,0 +1,60 @@ +{ + "piece_id": "8f96d1f8-e9bb-40d2-acc8-eb79746c5d7c", + "piece_name": "medium_skeleton", + "piece_type": "persona_skeleton", + "body_variant": "medium", + "geometry_sources": [ + { + "arm_size": "", + "geometry": "geometry.medium_body" + }, + { + "arm_size": "", + "geometry": "geometry.medium_head" + }, + { + "arm_size": "wide", + "geometry": "geometry.medium_left_wide_arm" + }, + { + "arm_size": "wide", + "geometry": "geometry.medium_right_wide_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.medium_left_slim_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.medium_right_slim_arm" + }, + { + "arm_size": "", + "geometry": "geometry.medium_left_leg" + }, + { + "arm_size": "", + "geometry": "geometry.medium_right_leg" + }, + { + "arm_size": "", + "geometry": "geometry.medium_right_item" + }, + { + "arm_size": "", + "geometry": "geometry.medium_left_item" + }, + { + "arm_size": "", + "geometry": "geometry.medium_armor" + }, + { + "arm_size": "wide", + "geometry": "geometry.medium_armor_wide_arms" + }, + { + "arm_size": "slim", + "geometry": "geometry.medium_armor_slim_arms" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/body/small/small.geometry.json b/resource_pack/pieces/body/small/small.geometry.json new file mode 100644 index 0000000..725f50c --- /dev/null +++ b/resource_pack/pieces/body/small/small.geometry.json @@ -0,0 +1,1802 @@ +{ + "format_version": "1.12.0", + "geometry.small_body": { + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 11.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0, 22, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 22, -2 ], + [ 4, 22, -2 ], + [ 4, 22, 2 ], + [ -4, 22, 2 ], + [ -4, 11, 2 ], + [ 4, 11, 2 ], + [ 4, 11, -2 ], + [ -4, 11, -2 ], + [ -4, 11, 2 ], + [ -4, 11, -2 ], + [ -4, 22, -2 ], + [ -4, 22, 2 ], + [ 4, 11, -2 ], + [ 4, 11, 2 ], + [ 4, 22, 2 ], + [ 4, 22, -2 ], + [ -4, 11, -2 ], + [ 4, 11, -2 ], + [ 4, 22, -2 ], + [ -4, 22, -2 ], + [ 4, 11, 2 ], + [ -4, 11, 2 ], + [ -4, 22, 2 ], + [ 4, 22, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.15625, 0.4375 ], + [ 0.21875, 0.4375 ], + [ 0.21875, 0.46875 ], + [ 0.15625, 0.46875 ], + [ 0.28125, 0.46875 ], + [ 0.21875, 0.46875 ], + [ 0.21875, 0.4375 ], + [ 0.28125, 0.4375 ], + [ 0.125, 0.3515625 ], + [ 0.15625, 0.3515625 ], + [ 0.15625, 0.4375 ], + [ 0.125, 0.4375 ], + [ 0.21875, 0.3515625 ], + [ 0.25, 0.3515625 ], + [ 0.25, 0.4375 ], + [ 0.21875, 0.4375 ], + [ 0.15625, 0.3515625 ], + [ 0.21875, 0.3515625 ], + [ 0.21875, 0.4375 ], + [ 0.15625, 0.4375 ], + [ 0.25, 0.3515625 ], + [ 0.3125, 0.3515625 ], + [ 0.3125, 0.4375 ], + [ 0.25, 0.4375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_head": { + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0, 22, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 30, -4 ], + [ 4, 30, -4 ], + [ 4, 30, 4 ], + [ -4, 30, 4 ], + [ -4, 22, 4 ], + [ 4, 22, 4 ], + [ 4, 22, -4 ], + [ -4, 22, -4 ], + [ -4, 22, 4 ], + [ -4, 22, -4 ], + [ -4, 30, -4 ], + [ -4, 30, 4 ], + [ 4, 22, -4 ], + [ 4, 22, 4 ], + [ 4, 30, 4 ], + [ 4, 30, -4 ], + [ -4, 22, -4 ], + [ 4, 22, -4 ], + [ 4, 30, -4 ], + [ -4, 30, -4 ], + [ 4, 22, 4 ], + [ -4, 22, 4 ], + [ -4, 30, 4 ], + [ 4, 30, 4 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.75 ], + [ 0.5, 0.75 ], + [ 0.5, 1 ], + [ 0.25, 1 ], + [ 0.75, 1 ], + [ 0.5, 1 ], + [ 0.5, 0.75 ], + [ 0.75, 0.75 ], + [ 0, 0.5 ], + [ 0.25, 0.5 ], + [ 0.25, 0.75 ], + [ 0, 0.75 ], + [ 0.5, 0.5 ], + [ 0.75, 0.5 ], + [ 0.75, 0.75 ], + [ 0.5, 0.75 ], + [ 0.25, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.75 ], + [ 0.25, 0.75 ], + [ 0.75, 0.5 ], + [ 1, 0.5 ], + [ 1, 0.75 ], + [ 0.75, 0.75 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_head_clothing": { + "bones": [ + { + "name": "hat", + "parent": "head", + "pivot": [ 0, 22, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.5, 30.5, -4.5 ], + [ 4.5, 30.5, -4.5 ], + [ 4.5, 30.5, 4.5 ], + [ -4.5, 30.5, 4.5 ], + [ -4.5, 21.5, 4.5 ], + [ 4.5, 21.5, 4.5 ], + [ 4.5, 21.5, -4.5 ], + [ -4.5, 21.5, -4.5 ], + [ -4.5, 21.5, 4.5 ], + [ -4.5, 21.5, -4.5 ], + [ -4.5, 30.5, -4.5 ], + [ -4.5, 30.5, 4.5 ], + [ 4.5, 21.5, -4.5 ], + [ 4.5, 21.5, 4.5 ], + [ 4.5, 30.5, 4.5 ], + [ 4.5, 30.5, -4.5 ], + [ -4.5, 21.5, -4.5 ], + [ 4.5, 21.5, -4.5 ], + [ 4.5, 30.5, -4.5 ], + [ -4.5, 30.5, -4.5 ], + [ 4.5, 21.5, 4.5 ], + [ -4.5, 21.5, 4.5 ], + [ -4.5, 30.5, 4.5 ], + [ 4.5, 30.5, 4.5 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.25 ], + [ 0.5, 0.25 ], + [ 0.5, 0.5 ], + [ 0.25, 0.5 ], + [ 0.75, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.25 ], + [ 0.75, 0.25 ], + [ 0, 0 ], + [ 0.25, 0 ], + [ 0.25, 0.25 ], + [ 0, 0.25 ], + [ 0.5, 0 ], + [ 0.75, 0 ], + [ 0.75, 0.25 ], + [ 0.5, 0.25 ], + [ 0.25, 0 ], + [ 0.5, 0 ], + [ 0.5, 0.25 ], + [ 0.25, 0.25 ], + [ 0.75, 0 ], + [ 1, 0 ], + [ 1, 0.25 ], + [ 0.75, 0.25 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_left_wide_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 20, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 22, -2 ], + [ 8, 22, -2 ], + [ 8, 22, 2 ], + [ 4, 22, 2 ], + [ 4, 11, 2 ], + [ 8, 11, 2 ], + [ 8, 11, -2 ], + [ 4, 11, -2 ], + [ 4, 11, 2 ], + [ 4, 11, -2 ], + [ 4, 22, -2 ], + [ 4, 22, 2 ], + [ 8, 11, -2 ], + [ 8, 11, 2 ], + [ 8, 22, 2 ], + [ 8, 22, -2 ], + [ 4, 11, -2 ], + [ 8, 11, -2 ], + [ 8, 22, -2 ], + [ 4, 22, -2 ], + [ 8, 11, 2 ], + [ 4, 11, 2 ], + [ 4, 22, 2 ], + [ 8, 22, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.34375, 0.4375 ], + [ 0.375, 0.4375 ], + [ 0.375, 0.46875 ], + [ 0.34375, 0.46875 ], + [ 0.40625, 0.46875 ], + [ 0.375, 0.46875 ], + [ 0.375, 0.4375 ], + [ 0.40625, 0.4375 ], + [ 0.3125, 0.3515625 ], + [ 0.34375, 0.3515625 ], + [ 0.34375, 0.4375 ], + [ 0.3125, 0.4375 ], + [ 0.375, 0.3515625 ], + [ 0.40625, 0.3515625 ], + [ 0.40625, 0.4375 ], + [ 0.375, 0.4375 ], + [ 0.34375, 0.3515625 ], + [ 0.375, 0.3515625 ], + [ 0.375, 0.4375 ], + [ 0.34375, 0.4375 ], + [ 0.40625, 0.3515625 ], + [ 0.4375, 0.3515625 ], + [ 0.4375, 0.4375 ], + [ 0.40625, 0.4375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_right_wide_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 20, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8, 22, -2 ], + [ -4, 22, -2 ], + [ -4, 22, 2 ], + [ -8, 22, 2 ], + [ -8, 11, 2 ], + [ -4, 11, 2 ], + [ -4, 11, -2 ], + [ -8, 11, -2 ], + [ -8, 11, 2 ], + [ -8, 11, -2 ], + [ -8, 22, -2 ], + [ -8, 22, 2 ], + [ -4, 11, -2 ], + [ -4, 11, 2 ], + [ -4, 22, 2 ], + [ -4, 22, -2 ], + [ -8, 11, -2 ], + [ -4, 11, -2 ], + [ -4, 22, -2 ], + [ -8, 22, -2 ], + [ -4, 11, 2 ], + [ -8, 11, 2 ], + [ -8, 22, 2 ], + [ -4, 22, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.4375 ], + [ 0.0625, 0.4375 ], + [ 0.0625, 0.46875 ], + [ 0.03125, 0.46875 ], + [ 0.09375, 0.46875 ], + [ 0.0625, 0.46875 ], + [ 0.0625, 0.4375 ], + [ 0.09375, 0.4375 ], + [ 0, 0.3515625 ], + [ 0.03125, 0.3515625 ], + [ 0.03125, 0.4375 ], + [ 0, 0.4375 ], + [ 0.0625, 0.3515625 ], + [ 0.09375, 0.3515625 ], + [ 0.09375, 0.4375 ], + [ 0.0625, 0.4375 ], + [ 0.03125, 0.3515625 ], + [ 0.0625, 0.3515625 ], + [ 0.0625, 0.4375 ], + [ 0.03125, 0.4375 ], + [ 0.09375, 0.3515625 ], + [ 0.125, 0.3515625 ], + [ 0.125, 0.4375 ], + [ 0.09375, 0.4375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_left_wide_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 20, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 22.25, -2.25 ], + [ 8.25, 22.25, -2.25 ], + [ 8.25, 22.25, 2.25 ], + [ 3.75, 22.25, 2.25 ], + [ 3.75, 10.75, 2.25 ], + [ 8.25, 10.75, 2.25 ], + [ 8.25, 10.75, -2.25 ], + [ 3.75, 10.75, -2.25 ], + [ 3.75, 10.75, 2.25 ], + [ 3.75, 10.75, -2.25 ], + [ 3.75, 22.25, -2.25 ], + [ 3.75, 22.25, 2.25 ], + [ 8.25, 10.75, -2.25 ], + [ 8.25, 10.75, 2.25 ], + [ 8.25, 22.25, 2.25 ], + [ 8.25, 22.25, -2.25 ], + [ 3.75, 10.75, -2.25 ], + [ 8.25, 10.75, -2.25 ], + [ 8.25, 22.25, -2.25 ], + [ 3.75, 22.25, -2.25 ], + [ 8.25, 10.75, 2.25 ], + [ 3.75, 10.75, 2.25 ], + [ 3.75, 22.25, 2.25 ], + [ 8.25, 22.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.34375, 0.3203125 ], + [ 0.375, 0.3203125 ], + [ 0.375, 0.3515625 ], + [ 0.34375, 0.3515625 ], + [ 0.40625, 0.3515625 ], + [ 0.375, 0.3515625 ], + [ 0.375, 0.3203125 ], + [ 0.40625, 0.3203125 ], + [ 0.3125, 0.234375 ], + [ 0.34375, 0.234375 ], + [ 0.34375, 0.3203125 ], + [ 0.3125, 0.3203125 ], + [ 0.375, 0.234375 ], + [ 0.40625, 0.234375 ], + [ 0.40625, 0.3203125 ], + [ 0.375, 0.3203125 ], + [ 0.34375, 0.234375 ], + [ 0.375, 0.234375 ], + [ 0.375, 0.3203125 ], + [ 0.34375, 0.3203125 ], + [ 0.40625, 0.234375 ], + [ 0.4375, 0.234375 ], + [ 0.4375, 0.3203125 ], + [ 0.40625, 0.3203125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_right_wide_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 20, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8.25, 22.25, -2.25 ], + [ -3.75, 22.25, -2.25 ], + [ -3.75, 22.25, 2.25 ], + [ -8.25, 22.25, 2.25 ], + [ -8.25, 10.75, 2.25 ], + [ -3.75, 10.75, 2.25 ], + [ -3.75, 10.75, -2.25 ], + [ -8.25, 10.75, -2.25 ], + [ -8.25, 10.75, 2.25 ], + [ -8.25, 10.75, -2.25 ], + [ -8.25, 22.25, -2.25 ], + [ -8.25, 22.25, 2.25 ], + [ -3.75, 10.75, -2.25 ], + [ -3.75, 10.75, 2.25 ], + [ -3.75, 22.25, 2.25 ], + [ -3.75, 22.25, -2.25 ], + [ -8.25, 10.75, -2.25 ], + [ -3.75, 10.75, -2.25 ], + [ -3.75, 22.25, -2.25 ], + [ -8.25, 22.25, -2.25 ], + [ -3.75, 10.75, 2.25 ], + [ -8.25, 10.75, 2.25 ], + [ -8.25, 22.25, 2.25 ], + [ -3.75, 22.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.3203125 ], + [ 0.0625, 0.3203125 ], + [ 0.0625, 0.3515625 ], + [ 0.03125, 0.3515625 ], + [ 0.09375, 0.3515625 ], + [ 0.0625, 0.3515625 ], + [ 0.0625, 0.3203125 ], + [ 0.09375, 0.3203125 ], + [ 0, 0.234375 ], + [ 0.03125, 0.234375 ], + [ 0.03125, 0.3203125 ], + [ 0, 0.3203125 ], + [ 0.0625, 0.234375 ], + [ 0.09375, 0.234375 ], + [ 0.09375, 0.3203125 ], + [ 0.0625, 0.3203125 ], + [ 0.03125, 0.234375 ], + [ 0.0625, 0.234375 ], + [ 0.0625, 0.3203125 ], + [ 0.03125, 0.3203125 ], + [ 0.09375, 0.234375 ], + [ 0.125, 0.234375 ], + [ 0.125, 0.3203125 ], + [ 0.09375, 0.3203125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_left_leg": { + "bones": [ + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.9, 11, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.1, 11, -2 ], + [ 3.9, 11, -2 ], + [ 3.9, 11, 2 ], + [ -0.1, 11, 2 ], + [ -0.1, 0, 2 ], + [ 3.9, 0, 2 ], + [ 3.9, 0, -2 ], + [ -0.1, 0, -2 ], + [ -0.1, 0, 2 ], + [ -0.1, 0, -2 ], + [ -0.1, 11, -2 ], + [ -0.1, 11, 2 ], + [ 3.9, 0, -2 ], + [ 3.9, 0, 2 ], + [ 3.9, 11, 2 ], + [ 3.9, 11, -2 ], + [ -0.1, 0, -2 ], + [ 3.9, 0, -2 ], + [ 3.9, 11, -2 ], + [ -0.1, 11, -2 ], + [ 3.9, 0, 2 ], + [ -0.1, 0, 2 ], + [ -0.1, 11, 2 ], + [ 3.9, 11, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.28125, 0.203125 ], + [ 0.3125, 0.203125 ], + [ 0.3125, 0.234375 ], + [ 0.28125, 0.234375 ], + [ 0.34375, 0.234375 ], + [ 0.3125, 0.234375 ], + [ 0.3125, 0.203125 ], + [ 0.34375, 0.203125 ], + [ 0.25, 0.1171875 ], + [ 0.28125, 0.1171875 ], + [ 0.28125, 0.203125 ], + [ 0.25, 0.203125 ], + [ 0.3125, 0.1171875 ], + [ 0.34375, 0.1171875 ], + [ 0.34375, 0.203125 ], + [ 0.3125, 0.203125 ], + [ 0.28125, 0.1171875 ], + [ 0.3125, 0.1171875 ], + [ 0.3125, 0.203125 ], + [ 0.28125, 0.203125 ], + [ 0.34375, 0.1171875 ], + [ 0.375, 0.1171875 ], + [ 0.375, 0.203125 ], + [ 0.34375, 0.203125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_right_leg": { + "bones": [ + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1.9, 11, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -3.9, 11, -2 ], + [ 0.0999999, 11, -2 ], + [ 0.0999999, 11, 2 ], + [ -3.9, 11, 2 ], + [ -3.9, 0, 2 ], + [ 0.0999999, 0, 2 ], + [ 0.0999999, 0, -2 ], + [ -3.9, 0, -2 ], + [ -3.9, 0, 2 ], + [ -3.9, 0, -2 ], + [ -3.9, 11, -2 ], + [ -3.9, 11, 2 ], + [ 0.0999999, 0, -2 ], + [ 0.0999999, 0, 2 ], + [ 0.0999999, 11, 2 ], + [ 0.0999999, 11, -2 ], + [ -3.9, 0, -2 ], + [ 0.0999999, 0, -2 ], + [ 0.0999999, 11, -2 ], + [ -3.9, 11, -2 ], + [ 0.0999999, 0, 2 ], + [ -3.9, 0, 2 ], + [ -3.9, 11, 2 ], + [ 0.0999999, 11, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.15625, 0.203125 ], + [ 0.1875, 0.203125 ], + [ 0.1875, 0.234375 ], + [ 0.15625, 0.234375 ], + [ 0.21875, 0.234375 ], + [ 0.1875, 0.234375 ], + [ 0.1875, 0.203125 ], + [ 0.21875, 0.203125 ], + [ 0.125, 0.1171875 ], + [ 0.15625, 0.1171875 ], + [ 0.15625, 0.203125 ], + [ 0.125, 0.203125 ], + [ 0.1875, 0.1171875 ], + [ 0.21875, 0.1171875 ], + [ 0.21875, 0.203125 ], + [ 0.1875, 0.203125 ], + [ 0.15625, 0.1171875 ], + [ 0.1875, 0.1171875 ], + [ 0.1875, 0.203125 ], + [ 0.15625, 0.203125 ], + [ 0.21875, 0.1171875 ], + [ 0.25, 0.1171875 ], + [ 0.25, 0.203125 ], + [ 0.21875, 0.203125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_left_leg_clothing": { + "bones": [ + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 11, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.35, 11.25, -2.25 ], + [ 4.15, 11.25, -2.25 ], + [ 4.15, 11.25, 2.25 ], + [ -0.35, 11.25, 2.25 ], + [ -0.35, -0.25, 2.25 ], + [ 4.15, -0.25, 2.25 ], + [ 4.15, -0.25, -2.25 ], + [ -0.35, -0.25, -2.25 ], + [ -0.35, -0.25, 2.25 ], + [ -0.35, -0.25, -2.25 ], + [ -0.35, 11.25, -2.25 ], + [ -0.35, 11.25, 2.25 ], + [ 4.15, -0.25, -2.25 ], + [ 4.15, -0.25, 2.25 ], + [ 4.15, 11.25, 2.25 ], + [ 4.15, 11.25, -2.25 ], + [ -0.35, -0.25, -2.25 ], + [ 4.15, -0.25, -2.25 ], + [ 4.15, 11.25, -2.25 ], + [ -0.35, 11.25, -2.25 ], + [ 4.15, -0.25, 2.25 ], + [ -0.35, -0.25, 2.25 ], + [ -0.35, 11.25, 2.25 ], + [ 4.15, 11.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.40625, 0.203125 ], + [ 0.4375, 0.203125 ], + [ 0.4375, 0.234375 ], + [ 0.40625, 0.234375 ], + [ 0.46875, 0.234375 ], + [ 0.4375, 0.234375 ], + [ 0.4375, 0.203125 ], + [ 0.46875, 0.203125 ], + [ 0.375, 0.1171875 ], + [ 0.40625, 0.1171875 ], + [ 0.40625, 0.203125 ], + [ 0.375, 0.203125 ], + [ 0.4375, 0.1171875 ], + [ 0.46875, 0.1171875 ], + [ 0.46875, 0.203125 ], + [ 0.4375, 0.203125 ], + [ 0.40625, 0.1171875 ], + [ 0.4375, 0.1171875 ], + [ 0.4375, 0.203125 ], + [ 0.40625, 0.203125 ], + [ 0.46875, 0.1171875 ], + [ 0.5, 0.1171875 ], + [ 0.5, 0.203125 ], + [ 0.46875, 0.203125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_right_leg_clothing": { + "bones": [ + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 11, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.15, 11.25, -2.25 ], + [ 0.3499999, 11.25, -2.25 ], + [ 0.3499999, 11.25, 2.25 ], + [ -4.15, 11.25, 2.25 ], + [ -4.15, -0.25, 2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ -4.15, -0.25, -2.25 ], + [ -4.15, -0.25, 2.25 ], + [ -4.15, -0.25, -2.25 ], + [ -4.15, 11.25, -2.25 ], + [ -4.15, 11.25, 2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ 0.3499999, 11.25, 2.25 ], + [ 0.3499999, 11.25, -2.25 ], + [ -4.15, -0.25, -2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ 0.3499999, 11.25, -2.25 ], + [ -4.15, 11.25, -2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ -4.15, -0.25, 2.25 ], + [ -4.15, 11.25, 2.25 ], + [ 0.3499999, 11.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.203125 ], + [ 0.0625, 0.203125 ], + [ 0.0625, 0.234375 ], + [ 0.03125, 0.234375 ], + [ 0.09375, 0.234375 ], + [ 0.0625, 0.234375 ], + [ 0.0625, 0.203125 ], + [ 0.09375, 0.203125 ], + [ 0, 0.1171875 ], + [ 0.03125, 0.1171875 ], + [ 0.03125, 0.203125 ], + [ 0, 0.203125 ], + [ 0.0625, 0.1171875 ], + [ 0.09375, 0.1171875 ], + [ 0.09375, 0.203125 ], + [ 0.0625, 0.203125 ], + [ 0.03125, 0.1171875 ], + [ 0.0625, 0.1171875 ], + [ 0.0625, 0.203125 ], + [ 0.03125, 0.203125 ], + [ 0.09375, 0.1171875 ], + [ 0.125, 0.1171875 ], + [ 0.125, 0.203125 ], + [ 0.09375, 0.203125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_body_clothing": { + "bones": [ + { + "name": "jacket", + "parent": "body", + "pivot": [ 0, 22, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.25, 22.25, -2.25 ], + [ 4.25, 22.25, -2.25 ], + [ 4.25, 22.25, 2.25 ], + [ -4.25, 22.25, 2.25 ], + [ -4.25, 10.75, 2.25 ], + [ 4.25, 10.75, 2.25 ], + [ 4.25, 10.75, -2.25 ], + [ -4.25, 10.75, -2.25 ], + [ -4.25, 10.75, 2.25 ], + [ -4.25, 10.75, -2.25 ], + [ -4.25, 22.25, -2.25 ], + [ -4.25, 22.25, 2.25 ], + [ 4.25, 10.75, -2.25 ], + [ 4.25, 10.75, 2.25 ], + [ 4.25, 22.25, 2.25 ], + [ 4.25, 22.25, -2.25 ], + [ -4.25, 10.75, -2.25 ], + [ 4.25, 10.75, -2.25 ], + [ 4.25, 22.25, -2.25 ], + [ -4.25, 22.25, -2.25 ], + [ 4.25, 10.75, 2.25 ], + [ -4.25, 10.75, 2.25 ], + [ -4.25, 22.25, 2.25 ], + [ 4.25, 22.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.15625, 0.3203125 ], + [ 0.21875, 0.3203125 ], + [ 0.21875, 0.3515625 ], + [ 0.15625, 0.3515625 ], + [ 0.28125, 0.3515625 ], + [ 0.21875, 0.3515625 ], + [ 0.21875, 0.3203125 ], + [ 0.28125, 0.3203125 ], + [ 0.125, 0.234375 ], + [ 0.15625, 0.234375 ], + [ 0.15625, 0.3203125 ], + [ 0.125, 0.3203125 ], + [ 0.21875, 0.234375 ], + [ 0.25, 0.234375 ], + [ 0.25, 0.3203125 ], + [ 0.21875, 0.3203125 ], + [ 0.15625, 0.234375 ], + [ 0.21875, 0.234375 ], + [ 0.21875, 0.3203125 ], + [ 0.15625, 0.3203125 ], + [ 0.25, 0.234375 ], + [ 0.3125, 0.234375 ], + [ 0.3125, 0.3203125 ], + [ 0.25, 0.3203125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_left_slim_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 19.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 21.5, -2 ], + [ 7, 21.5, -2 ], + [ 7, 21.5, 2 ], + [ 4, 21.5, 2 ], + [ 4, 10.5, 2 ], + [ 7, 10.5, 2 ], + [ 7, 10.5, -2 ], + [ 4, 10.5, -2 ], + [ 4, 10.5, 2 ], + [ 4, 10.5, -2 ], + [ 4, 21.5, -2 ], + [ 4, 21.5, 2 ], + [ 7, 10.5, -2 ], + [ 7, 10.5, 2 ], + [ 7, 21.5, 2 ], + [ 7, 21.5, -2 ], + [ 4, 10.5, -2 ], + [ 7, 10.5, -2 ], + [ 7, 21.5, -2 ], + [ 4, 21.5, -2 ], + [ 7, 10.5, 2 ], + [ 4, 10.5, 2 ], + [ 4, 21.5, 2 ], + [ 7, 21.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.0859375 ], + [ 0.2734375, 0.0859375 ], + [ 0.2734375, 0.1171875 ], + [ 0.25, 0.1171875 ], + [ 0.296875, 0.1171875 ], + [ 0.2734375, 0.1171875 ], + [ 0.2734375, 0.0859375 ], + [ 0.296875, 0.0859375 ], + [ 0.21875, 0 ], + [ 0.25, 0 ], + [ 0.25, 0.0859375 ], + [ 0.21875, 0.0859375 ], + [ 0.2734375, 0 ], + [ 0.3046875, 0 ], + [ 0.3046875, 0.0859375 ], + [ 0.2734375, 0.0859375 ], + [ 0.25, 0 ], + [ 0.2734375, 0 ], + [ 0.2734375, 0.0859375 ], + [ 0.25, 0.0859375 ], + [ 0.3046875, 0 ], + [ 0.328125, 0 ], + [ 0.328125, 0.0859375 ], + [ 0.3046875, 0.0859375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_right_slim_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 19.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7, 21.5, -2 ], + [ -4, 21.5, -2 ], + [ -4, 21.5, 2 ], + [ -7, 21.5, 2 ], + [ -7, 10.5, 2 ], + [ -4, 10.5, 2 ], + [ -4, 10.5, -2 ], + [ -7, 10.5, -2 ], + [ -7, 10.5, 2 ], + [ -7, 10.5, -2 ], + [ -7, 21.5, -2 ], + [ -7, 21.5, 2 ], + [ -4, 10.5, -2 ], + [ -4, 10.5, 2 ], + [ -4, 21.5, 2 ], + [ -4, 21.5, -2 ], + [ -7, 10.5, -2 ], + [ -4, 10.5, -2 ], + [ -4, 21.5, -2 ], + [ -7, 21.5, -2 ], + [ -4, 10.5, 2 ], + [ -7, 10.5, 2 ], + [ -7, 21.5, 2 ], + [ -4, 21.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.140625, 0.0859375 ], + [ 0.1640625, 0.0859375 ], + [ 0.1640625, 0.1171875 ], + [ 0.140625, 0.1171875 ], + [ 0.1875, 0.1171875 ], + [ 0.1640625, 0.1171875 ], + [ 0.1640625, 0.0859375 ], + [ 0.1875, 0.0859375 ], + [ 0.109375, 0 ], + [ 0.140625, 0 ], + [ 0.140625, 0.0859375 ], + [ 0.109375, 0.0859375 ], + [ 0.1640625, 0 ], + [ 0.1953125, 0 ], + [ 0.1953125, 0.0859375 ], + [ 0.1640625, 0.0859375 ], + [ 0.140625, 0 ], + [ 0.1640625, 0 ], + [ 0.1640625, 0.0859375 ], + [ 0.140625, 0.0859375 ], + [ 0.1953125, 0 ], + [ 0.21875, 0 ], + [ 0.21875, 0.0859375 ], + [ 0.1953125, 0.0859375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_left_slim_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 19.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 21.75, -2.25 ], + [ 7.25, 21.75, -2.25 ], + [ 7.25, 21.75, 2.25 ], + [ 3.75, 21.75, 2.25 ], + [ 3.75, 10.25, 2.25 ], + [ 7.25, 10.25, 2.25 ], + [ 7.25, 10.25, -2.25 ], + [ 3.75, 10.25, -2.25 ], + [ 3.75, 10.25, 2.25 ], + [ 3.75, 10.25, -2.25 ], + [ 3.75, 21.75, -2.25 ], + [ 3.75, 21.75, 2.25 ], + [ 7.25, 10.25, -2.25 ], + [ 7.25, 10.25, 2.25 ], + [ 7.25, 21.75, 2.25 ], + [ 7.25, 21.75, -2.25 ], + [ 3.75, 10.25, -2.25 ], + [ 7.25, 10.25, -2.25 ], + [ 7.25, 21.75, -2.25 ], + [ 3.75, 21.75, -2.25 ], + [ 7.25, 10.25, 2.25 ], + [ 3.75, 10.25, 2.25 ], + [ 3.75, 21.75, 2.25 ], + [ 7.25, 21.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.359375, 0.0859375 ], + [ 0.3828125, 0.0859375 ], + [ 0.3828125, 0.1171875 ], + [ 0.359375, 0.1171875 ], + [ 0.40625, 0.1171875 ], + [ 0.3828125, 0.1171875 ], + [ 0.3828125, 0.0859375 ], + [ 0.40625, 0.0859375 ], + [ 0.328125, 0 ], + [ 0.359375, 0 ], + [ 0.359375, 0.0859375 ], + [ 0.328125, 0.0859375 ], + [ 0.3828125, 0 ], + [ 0.4140625, 0 ], + [ 0.4140625, 0.0859375 ], + [ 0.3828125, 0.0859375 ], + [ 0.359375, 0 ], + [ 0.3828125, 0 ], + [ 0.3828125, 0.0859375 ], + [ 0.359375, 0.0859375 ], + [ 0.4140625, 0 ], + [ 0.4375, 0 ], + [ 0.4375, 0.0859375 ], + [ 0.4140625, 0.0859375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.small_right_slim_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 19.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7.25, 21.75, -2.25 ], + [ -3.75, 21.75, -2.25 ], + [ -3.75, 21.75, 2.25 ], + [ -7.25, 21.75, 2.25 ], + [ -7.25, 10.25, 2.25 ], + [ -3.75, 10.25, 2.25 ], + [ -3.75, 10.25, -2.25 ], + [ -7.25, 10.25, -2.25 ], + [ -7.25, 10.25, 2.25 ], + [ -7.25, 10.25, -2.25 ], + [ -7.25, 21.75, -2.25 ], + [ -7.25, 21.75, 2.25 ], + [ -3.75, 10.25, -2.25 ], + [ -3.75, 10.25, 2.25 ], + [ -3.75, 21.75, 2.25 ], + [ -3.75, 21.75, -2.25 ], + [ -7.25, 10.25, -2.25 ], + [ -3.75, 10.25, -2.25 ], + [ -3.75, 21.75, -2.25 ], + [ -7.25, 21.75, -2.25 ], + [ -3.75, 10.25, 2.25 ], + [ -7.25, 10.25, 2.25 ], + [ -7.25, 21.75, 2.25 ], + [ -3.75, 21.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.0859375 ], + [ 0.0546875, 0.0859375 ], + [ 0.0546875, 0.1171875 ], + [ 0.03125, 0.1171875 ], + [ 0.078125, 0.1171875 ], + [ 0.0546875, 0.1171875 ], + [ 0.0546875, 0.0859375 ], + [ 0.078125, 0.0859375 ], + [ 0, 0 ], + [ 0.03125, 0 ], + [ 0.03125, 0.0859375 ], + [ 0, 0.0859375 ], + [ 0.0546875, 0 ], + [ 0.0859375, 0 ], + [ 0.0859375, 0.0859375 ], + [ 0.0546875, 0.0859375 ], + [ 0.03125, 0 ], + [ 0.0546875, 0 ], + [ 0.0546875, 0.0859375 ], + [ 0.03125, 0.0859375 ], + [ 0.0859375, 0 ], + [ 0.109375, 0 ], + [ 0.109375, 0.0859375 ], + [ 0.0859375, 0.0859375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/small/small.meta.json b/resource_pack/pieces/body/small/small.meta.json new file mode 100644 index 0000000..6a52101 --- /dev/null +++ b/resource_pack/pieces/body/small/small.meta.json @@ -0,0 +1,92 @@ +{ + "piece_id": "98ec3d94-064e-493f-b251-04761563c5a8", + "piece_name": "small", + "piece_type": "persona_body", + "clothing_map": "clothing_map.tga", + "body_variant": "small", + "face_clothing_map": "face_clothing_map.tga", + "geometry_sources": [ + { + "zone": "body", + "arm_size": "", + "geometry": "geometry.small_body" + }, + { + "zone": "body_clothing", + "arm_size": "", + "geometry": "geometry.small_body_clothing" + }, + { + "zone": "head", + "arm_size": "", + "geometry": "geometry.small_head", + "is_face": "true" + }, + { + "zone": "head_clothing", + "arm_size": "", + "geometry": "geometry.small_head_clothing", + "is_face": "true" + }, + { + "zone": "left_arm", + "arm_size": "wide", + "geometry": "geometry.small_left_wide_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.small_left_wide_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "wide", + "geometry": "geometry.small_right_wide_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.small_right_wide_clothing_arm" + }, + { + "zone": "left_arm", + "arm_size": "slim", + "geometry": "geometry.small_left_slim_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.small_left_slim_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "slim", + "geometry": "geometry.small_right_slim_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.small_right_slim_clothing_arm" + }, + { + "zone": "left_leg", + "arm_size": "", + "geometry": "geometry.small_left_leg" + }, + { + "zone": "right_leg", + "arm_size": "", + "geometry": "geometry.small_right_leg" + }, + { + "zone": "left_leg_clothing", + "arm_size": "", + "geometry": "geometry.small_left_leg_clothing" + }, + { + "zone": "right_leg_clothing", + "arm_size": "", + "geometry": "geometry.small_right_leg_clothing" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/body/small_skeleton/small_skeleton.geometry.json b/resource_pack/pieces/body/small_skeleton/small_skeleton.geometry.json new file mode 100644 index 0000000..7a0b3a7 --- /dev/null +++ b/resource_pack/pieces/body/small_skeleton/small_skeleton.geometry.json @@ -0,0 +1,196 @@ +{ + "format_version" : "1.12.0", + "geometry.small_body":{ + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 11.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0.0, 22.0, 0.0 ], + "locators": { + "armor_offset.default_neck": [ 0.0, 20.0, 0.0 ] + } + } + ] + }, + "geometry.small_head":{ + "bones":[ + { + "pivot": [ 0, 22, 0 ], + "name": "head", + "parent": "body" + } + ] + }, + "geometry.small_left_wide_arm": { + "bones": [ + { + "pivot": [ 5.0, 20.0, 0.0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.small_right_wide_arm": { + "bones": [ + { + "pivot": [ -5.0, 20.0, 0.0 ], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.small_left_slim_arm": { + "bones": [ + { + "pivot": [ 5.0, 19.5, 0.0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.small_right_slim_arm": { + "bones": [ + { + "pivot": [ -5.0, 19.5, 0.0 ], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.small_left_leg":{ + "bones":[ + { + "pivot": [ 1.9, 11.0, 0.0 ], + "name": "leftLeg", + "parent": "root", + "locators": { + "armor_offset.left_boot": [ 1.9, 12.0, 0.0 ] + } + } + ] + }, + "geometry.small_right_leg":{ + "bones":[ + { + "pivot": [ -1.9, 11.0, 0.0 ], + "name": "rightLeg", + "parent": "root", + "locators": { + "armor_offset.right_boot": [ -1.9, 12.0, 0.0 ] + } + } + ] + }, + "geometry.small_right_item": { + "bones": [ + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6, 14, 1 ], + "locators": { + "lead_hold": [ -6, 14, 1 ] + } + } + ] + }, + "geometry.small_left_item": { + "bones": [ + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6, 14, 1 ] + } + ] + }, + "geometry.small_armor": { + "bones": [ + { + "name": "helmet", + "parent": "head", + "pivot": [ 0.0, 22.0, 0.0 ] + }, + { + "name": "rightLegging", + "pivot": [ -1.9, 11.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftLegging", + "pivot": [ 1.9, 11.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightBoot", + "pivot": [ -1.9, 11.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftBoot", + "pivot": [ 1.9, 11.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightSock", + "pivot": [ -1.9, 11.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftSock", + "pivot": [ 1.9, 11.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "bodyArmor", + "pivot": [ 0.0, 22.0, 0.0 ], + "parent": "body" + }, + { + "name": "belt", + "pivot": [ 0.0, 22.0, 0.0 ], + "parent": "body" + } + ] + }, + "geometry.small_armor_wide_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 20.0, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 20.0, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + }, + "geometry.small_armor_slim_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 19.5, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 19.5, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/small_skeleton/small_skeleton.meta.json b/resource_pack/pieces/body/small_skeleton/small_skeleton.meta.json new file mode 100644 index 0000000..00583e7 --- /dev/null +++ b/resource_pack/pieces/body/small_skeleton/small_skeleton.meta.json @@ -0,0 +1,60 @@ +{ + "piece_id": "05539998-c08b-408f-9211-4f42fd8bebc1", + "piece_name": "small_skeleton", + "piece_type": "persona_skeleton", + "body_variant": "small", + "geometry_sources": [ + { + "arm_size": "", + "geometry": "geometry.small_body" + }, + { + "arm_size": "", + "geometry": "geometry.small_head" + }, + { + "arm_size": "wide", + "geometry": "geometry.small_left_wide_arm" + }, + { + "arm_size": "wide", + "geometry": "geometry.small_right_wide_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.small_left_slim_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.small_right_slim_arm" + }, + { + "arm_size": "", + "geometry": "geometry.small_left_leg" + }, + { + "arm_size": "", + "geometry": "geometry.small_right_leg" + }, + { + "arm_size": "", + "geometry": "geometry.small_right_item" + }, + { + "arm_size": "", + "geometry": "geometry.small_left_item" + }, + { + "arm_size": "", + "geometry": "geometry.small_armor" + }, + { + "arm_size": "wide", + "geometry": "geometry.small_armor_wide_arms" + }, + { + "arm_size": "slim", + "geometry": "geometry.small_armor_slim_arms" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/body/smaller/smaller.geometry.json b/resource_pack/pieces/body/smaller/smaller.geometry.json new file mode 100644 index 0000000..b70050f --- /dev/null +++ b/resource_pack/pieces/body/smaller/smaller.geometry.json @@ -0,0 +1,1802 @@ +{ + "format_version": "1.12.0", + "geometry.smaller_body": { + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 10.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0, 20, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 20, -2 ], + [ 4, 20, -2 ], + [ 4, 20, 2 ], + [ -4, 20, 2 ], + [ -4, 10, 2 ], + [ 4, 10, 2 ], + [ 4, 10, -2 ], + [ -4, 10, -2 ], + [ -4, 10, 2 ], + [ -4, 10, -2 ], + [ -4, 20, -2 ], + [ -4, 20, 2 ], + [ 4, 10, -2 ], + [ 4, 10, 2 ], + [ 4, 20, 2 ], + [ 4, 20, -2 ], + [ -4, 10, -2 ], + [ 4, 10, -2 ], + [ 4, 20, -2 ], + [ -4, 20, -2 ], + [ 4, 10, 2 ], + [ -4, 10, 2 ], + [ -4, 20, 2 ], + [ 4, 20, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.65625, 0.40625 ], + [ 0.71875, 0.40625 ], + [ 0.71875, 0.4375 ], + [ 0.65625, 0.4375 ], + [ 0.78125, 0.4375 ], + [ 0.71875, 0.4375 ], + [ 0.71875, 0.40625 ], + [ 0.78125, 0.40625 ], + [ 0.625, 0.328125 ], + [ 0.65625, 0.328125 ], + [ 0.65625, 0.40625 ], + [ 0.625, 0.40625 ], + [ 0.71875, 0.328125 ], + [ 0.75, 0.328125 ], + [ 0.75, 0.40625 ], + [ 0.71875, 0.40625 ], + [ 0.65625, 0.328125 ], + [ 0.71875, 0.328125 ], + [ 0.71875, 0.40625 ], + [ 0.65625, 0.40625 ], + [ 0.75, 0.328125 ], + [ 0.8125, 0.328125 ], + [ 0.8125, 0.40625 ], + [ 0.75, 0.40625 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_head": { + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0, 20, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 28, -4 ], + [ 4, 28, -4 ], + [ 4, 28, 4 ], + [ -4, 28, 4 ], + [ -4, 20, 4 ], + [ 4, 20, 4 ], + [ 4, 20, -4 ], + [ -4, 20, -4 ], + [ -4, 20, 4 ], + [ -4, 20, -4 ], + [ -4, 28, -4 ], + [ -4, 28, 4 ], + [ 4, 20, -4 ], + [ 4, 20, 4 ], + [ 4, 28, 4 ], + [ 4, 28, -4 ], + [ -4, 20, -4 ], + [ 4, 20, -4 ], + [ 4, 28, -4 ], + [ -4, 28, -4 ], + [ 4, 20, 4 ], + [ -4, 20, 4 ], + [ -4, 28, 4 ], + [ 4, 28, 4 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.75 ], + [ 0.5, 0.75 ], + [ 0.5, 1 ], + [ 0.25, 1 ], + [ 0.75, 1 ], + [ 0.5, 1 ], + [ 0.5, 0.75 ], + [ 0.75, 0.75 ], + [ 0, 0.5 ], + [ 0.25, 0.5 ], + [ 0.25, 0.75 ], + [ 0, 0.75 ], + [ 0.5, 0.5 ], + [ 0.75, 0.5 ], + [ 0.75, 0.75 ], + [ 0.5, 0.75 ], + [ 0.25, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.75 ], + [ 0.25, 0.75 ], + [ 0.75, 0.5 ], + [ 1, 0.5 ], + [ 1, 0.75 ], + [ 0.75, 0.75 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_head_clothing": { + "bones": [ + { + "name": "hat", + "parent": "head", + "pivot": [ 0, 20, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.5, 28.5, -4.5 ], + [ 4.5, 28.5, -4.5 ], + [ 4.5, 28.5, 4.5 ], + [ -4.5, 28.5, 4.5 ], + [ -4.5, 19.5, 4.5 ], + [ 4.5, 19.5, 4.5 ], + [ 4.5, 19.5, -4.5 ], + [ -4.5, 19.5, -4.5 ], + [ -4.5, 19.5, 4.5 ], + [ -4.5, 19.5, -4.5 ], + [ -4.5, 28.5, -4.5 ], + [ -4.5, 28.5, 4.5 ], + [ 4.5, 19.5, -4.5 ], + [ 4.5, 19.5, 4.5 ], + [ 4.5, 28.5, 4.5 ], + [ 4.5, 28.5, -4.5 ], + [ -4.5, 19.5, -4.5 ], + [ 4.5, 19.5, -4.5 ], + [ 4.5, 28.5, -4.5 ], + [ -4.5, 28.5, -4.5 ], + [ 4.5, 19.5, 4.5 ], + [ -4.5, 19.5, 4.5 ], + [ -4.5, 28.5, 4.5 ], + [ 4.5, 28.5, 4.5 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.25 ], + [ 0.5, 0.25 ], + [ 0.5, 0.5 ], + [ 0.25, 0.5 ], + [ 0.75, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.25 ], + [ 0.75, 0.25 ], + [ 0, 0 ], + [ 0.25, 0 ], + [ 0.25, 0.25 ], + [ 0, 0.25 ], + [ 0.5, 0 ], + [ 0.75, 0 ], + [ 0.75, 0.25 ], + [ 0.5, 0.25 ], + [ 0.25, 0 ], + [ 0.5, 0 ], + [ 0.5, 0.25 ], + [ 0.25, 0.25 ], + [ 0.75, 0 ], + [ 1, 0 ], + [ 1, 0.25 ], + [ 0.75, 0.25 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_left_wide_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 18, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 20, -2 ], + [ 8, 20, -2 ], + [ 8, 20, 2 ], + [ 4, 20, 2 ], + [ 4, 10, 2 ], + [ 8, 10, 2 ], + [ 8, 10, -2 ], + [ 4, 10, -2 ], + [ 4, 10, 2 ], + [ 4, 10, -2 ], + [ 4, 20, -2 ], + [ 4, 20, 2 ], + [ 8, 10, -2 ], + [ 8, 10, 2 ], + [ 8, 20, 2 ], + [ 8, 20, -2 ], + [ 4, 10, -2 ], + [ 8, 10, -2 ], + [ 8, 20, -2 ], + [ 4, 20, -2 ], + [ 8, 10, 2 ], + [ 4, 10, 2 ], + [ 4, 20, 2 ], + [ 8, 20, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.84375, 0.40625 ], + [ 0.875, 0.40625 ], + [ 0.875, 0.4375 ], + [ 0.84375, 0.4375 ], + [ 0.90625, 0.4375 ], + [ 0.875, 0.4375 ], + [ 0.875, 0.40625 ], + [ 0.90625, 0.40625 ], + [ 0.8125, 0.328125 ], + [ 0.84375, 0.328125 ], + [ 0.84375, 0.40625 ], + [ 0.8125, 0.40625 ], + [ 0.875, 0.328125 ], + [ 0.90625, 0.328125 ], + [ 0.90625, 0.40625 ], + [ 0.875, 0.40625 ], + [ 0.84375, 0.328125 ], + [ 0.875, 0.328125 ], + [ 0.875, 0.40625 ], + [ 0.84375, 0.40625 ], + [ 0.90625, 0.328125 ], + [ 0.9375, 0.328125 ], + [ 0.9375, 0.40625 ], + [ 0.90625, 0.40625 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_right_wide_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 18, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8, 20, -2 ], + [ -4, 20, -2 ], + [ -4, 20, 2 ], + [ -8, 20, 2 ], + [ -8, 10, 2 ], + [ -4, 10, 2 ], + [ -4, 10, -2 ], + [ -8, 10, -2 ], + [ -8, 10, 2 ], + [ -8, 10, -2 ], + [ -8, 20, -2 ], + [ -8, 20, 2 ], + [ -4, 10, -2 ], + [ -4, 10, 2 ], + [ -4, 20, 2 ], + [ -4, 20, -2 ], + [ -8, 10, -2 ], + [ -4, 10, -2 ], + [ -4, 20, -2 ], + [ -8, 20, -2 ], + [ -4, 10, 2 ], + [ -8, 10, 2 ], + [ -8, 20, 2 ], + [ -4, 20, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.53125, 0.40625 ], + [ 0.5625, 0.40625 ], + [ 0.5625, 0.4375 ], + [ 0.53125, 0.4375 ], + [ 0.59375, 0.4375 ], + [ 0.5625, 0.4375 ], + [ 0.5625, 0.40625 ], + [ 0.59375, 0.40625 ], + [ 0.5, 0.328125 ], + [ 0.53125, 0.328125 ], + [ 0.53125, 0.40625 ], + [ 0.5, 0.40625 ], + [ 0.5625, 0.328125 ], + [ 0.59375, 0.328125 ], + [ 0.59375, 0.40625 ], + [ 0.5625, 0.40625 ], + [ 0.53125, 0.328125 ], + [ 0.5625, 0.328125 ], + [ 0.5625, 0.40625 ], + [ 0.53125, 0.40625 ], + [ 0.59375, 0.328125 ], + [ 0.625, 0.328125 ], + [ 0.625, 0.40625 ], + [ 0.59375, 0.40625 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_left_wide_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 18, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 20.25, -2.25 ], + [ 8.25, 20.25, -2.25 ], + [ 8.25, 20.25, 2.25 ], + [ 3.75, 20.25, 2.25 ], + [ 3.75, 9.75, 2.25 ], + [ 8.25, 9.75, 2.25 ], + [ 8.25, 9.75, -2.25 ], + [ 3.75, 9.75, -2.25 ], + [ 3.75, 9.75, 2.25 ], + [ 3.75, 9.75, -2.25 ], + [ 3.75, 20.25, -2.25 ], + [ 3.75, 20.25, 2.25 ], + [ 8.25, 9.75, -2.25 ], + [ 8.25, 9.75, 2.25 ], + [ 8.25, 20.25, 2.25 ], + [ 8.25, 20.25, -2.25 ], + [ 3.75, 9.75, -2.25 ], + [ 8.25, 9.75, -2.25 ], + [ 8.25, 20.25, -2.25 ], + [ 3.75, 20.25, -2.25 ], + [ 8.25, 9.75, 2.25 ], + [ 3.75, 9.75, 2.25 ], + [ 3.75, 20.25, 2.25 ], + [ 8.25, 20.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.84375, 0.296875 ], + [ 0.875, 0.296875 ], + [ 0.875, 0.328125 ], + [ 0.84375, 0.328125 ], + [ 0.90625, 0.328125 ], + [ 0.875, 0.328125 ], + [ 0.875, 0.296875 ], + [ 0.90625, 0.296875 ], + [ 0.8125, 0.21875 ], + [ 0.84375, 0.21875 ], + [ 0.84375, 0.296875 ], + [ 0.8125, 0.296875 ], + [ 0.875, 0.21875 ], + [ 0.90625, 0.21875 ], + [ 0.90625, 0.296875 ], + [ 0.875, 0.296875 ], + [ 0.84375, 0.21875 ], + [ 0.875, 0.21875 ], + [ 0.875, 0.296875 ], + [ 0.84375, 0.296875 ], + [ 0.90625, 0.21875 ], + [ 0.9375, 0.21875 ], + [ 0.9375, 0.296875 ], + [ 0.90625, 0.296875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_right_wide_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 18, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8.25, 20.25, -2.25 ], + [ -3.75, 20.25, -2.25 ], + [ -3.75, 20.25, 2.25 ], + [ -8.25, 20.25, 2.25 ], + [ -8.25, 9.75, 2.25 ], + [ -3.75, 9.75, 2.25 ], + [ -3.75, 9.75, -2.25 ], + [ -8.25, 9.75, -2.25 ], + [ -8.25, 9.75, 2.25 ], + [ -8.25, 9.75, -2.25 ], + [ -8.25, 20.25, -2.25 ], + [ -8.25, 20.25, 2.25 ], + [ -3.75, 9.75, -2.25 ], + [ -3.75, 9.75, 2.25 ], + [ -3.75, 20.25, 2.25 ], + [ -3.75, 20.25, -2.25 ], + [ -8.25, 9.75, -2.25 ], + [ -3.75, 9.75, -2.25 ], + [ -3.75, 20.25, -2.25 ], + [ -8.25, 20.25, -2.25 ], + [ -3.75, 9.75, 2.25 ], + [ -8.25, 9.75, 2.25 ], + [ -8.25, 20.25, 2.25 ], + [ -3.75, 20.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.53125, 0.296875 ], + [ 0.5625, 0.296875 ], + [ 0.5625, 0.328125 ], + [ 0.53125, 0.328125 ], + [ 0.59375, 0.328125 ], + [ 0.5625, 0.328125 ], + [ 0.5625, 0.296875 ], + [ 0.59375, 0.296875 ], + [ 0.5, 0.21875 ], + [ 0.53125, 0.21875 ], + [ 0.53125, 0.296875 ], + [ 0.5, 0.296875 ], + [ 0.5625, 0.21875 ], + [ 0.59375, 0.21875 ], + [ 0.59375, 0.296875 ], + [ 0.5625, 0.296875 ], + [ 0.53125, 0.21875 ], + [ 0.5625, 0.21875 ], + [ 0.5625, 0.296875 ], + [ 0.53125, 0.296875 ], + [ 0.59375, 0.21875 ], + [ 0.625, 0.21875 ], + [ 0.625, 0.296875 ], + [ 0.59375, 0.296875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_left_leg": { + "bones": [ + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.9, 10, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.09375, 10, -2 ], + [ 3.90625, 10, -2 ], + [ 3.90625, 10, 2 ], + [ -0.09375, 10, 2 ], + [ -0.09375, 0, 2 ], + [ 3.90625, 0, 2 ], + [ 3.90625, 0, -2 ], + [ -0.09375, 0, -2 ], + [ -0.09375, 0, 2 ], + [ -0.09375, 0, -2 ], + [ -0.09375, 10, -2 ], + [ -0.09375, 10, 2 ], + [ 3.90625, 0, -2 ], + [ 3.90625, 0, 2 ], + [ 3.90625, 10, 2 ], + [ 3.90625, 10, -2 ], + [ -0.09375, 0, -2 ], + [ 3.90625, 0, -2 ], + [ 3.90625, 10, -2 ], + [ -0.09375, 10, -2 ], + [ 3.90625, 0, 2 ], + [ -0.09375, 0, 2 ], + [ -0.09375, 10, 2 ], + [ 3.90625, 10, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.78125, 0.1875 ], + [ 0.8125, 0.1875 ], + [ 0.8125, 0.21875 ], + [ 0.78125, 0.21875 ], + [ 0.84375, 0.21875 ], + [ 0.8125, 0.21875 ], + [ 0.8125, 0.1875 ], + [ 0.84375, 0.1875 ], + [ 0.75, 0.109375 ], + [ 0.78125, 0.109375 ], + [ 0.78125, 0.1875 ], + [ 0.75, 0.1875 ], + [ 0.8125, 0.109375 ], + [ 0.84375, 0.109375 ], + [ 0.84375, 0.1875 ], + [ 0.8125, 0.1875 ], + [ 0.78125, 0.109375 ], + [ 0.8125, 0.109375 ], + [ 0.8125, 0.1875 ], + [ 0.78125, 0.1875 ], + [ 0.84375, 0.109375 ], + [ 0.875, 0.109375 ], + [ 0.875, 0.1875 ], + [ 0.84375, 0.1875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_right_leg": { + "bones": [ + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1.9, 10, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -3.90625, 10, -2 ], + [ 0.09375, 10, -2 ], + [ 0.09375, 10, 2 ], + [ -3.90625, 10, 2 ], + [ -3.90625, 0, 2 ], + [ 0.09375, 0, 2 ], + [ 0.09375, 0, -2 ], + [ -3.90625, 0, -2 ], + [ -3.90625, 0, 2 ], + [ -3.90625, 0, -2 ], + [ -3.90625, 10, -2 ], + [ -3.90625, 10, 2 ], + [ 0.09375, 0, -2 ], + [ 0.09375, 0, 2 ], + [ 0.09375, 10, 2 ], + [ 0.09375, 10, -2 ], + [ -3.90625, 0, -2 ], + [ 0.09375, 0, -2 ], + [ 0.09375, 10, -2 ], + [ -3.90625, 10, -2 ], + [ 0.09375, 0, 2 ], + [ -3.90625, 0, 2 ], + [ -3.90625, 10, 2 ], + [ 0.09375, 10, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.65625, 0.1875 ], + [ 0.6875, 0.1875 ], + [ 0.6875, 0.21875 ], + [ 0.65625, 0.21875 ], + [ 0.71875, 0.21875 ], + [ 0.6875, 0.21875 ], + [ 0.6875, 0.1875 ], + [ 0.71875, 0.1875 ], + [ 0.625, 0.109375 ], + [ 0.65625, 0.109375 ], + [ 0.65625, 0.1875 ], + [ 0.625, 0.1875 ], + [ 0.6875, 0.109375 ], + [ 0.71875, 0.109375 ], + [ 0.71875, 0.1875 ], + [ 0.6875, 0.1875 ], + [ 0.65625, 0.109375 ], + [ 0.6875, 0.109375 ], + [ 0.6875, 0.1875 ], + [ 0.65625, 0.1875 ], + [ 0.71875, 0.109375 ], + [ 0.75, 0.109375 ], + [ 0.75, 0.1875 ], + [ 0.71875, 0.1875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_left_leg_clothing": { + "bones": [ + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 10, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.34375, 10.25, -2.25 ], + [ 4.15625, 10.25, -2.25 ], + [ 4.15625, 10.25, 2.25 ], + [ -0.34375, 10.25, 2.25 ], + [ -0.34375, -0.25, 2.25 ], + [ 4.15625, -0.25, 2.25 ], + [ 4.15625, -0.25, -2.25 ], + [ -0.34375, -0.25, -2.25 ], + [ -0.34375, -0.25, 2.25 ], + [ -0.34375, -0.25, -2.25 ], + [ -0.34375, 10.25, -2.25 ], + [ -0.34375, 10.25, 2.25 ], + [ 4.15625, -0.25, -2.25 ], + [ 4.15625, -0.25, 2.25 ], + [ 4.15625, 10.25, 2.25 ], + [ 4.15625, 10.25, -2.25 ], + [ -0.34375, -0.25, -2.25 ], + [ 4.15625, -0.25, -2.25 ], + [ 4.15625, 10.25, -2.25 ], + [ -0.34375, 10.25, -2.25 ], + [ 4.15625, -0.25, 2.25 ], + [ -0.34375, -0.25, 2.25 ], + [ -0.34375, 10.25, 2.25 ], + [ 4.15625, 10.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.90625, 0.1875 ], + [ 0.9375, 0.1875 ], + [ 0.9375, 0.21875 ], + [ 0.90625, 0.21875 ], + [ 0.96875, 0.21875 ], + [ 0.9375, 0.21875 ], + [ 0.9375, 0.1875 ], + [ 0.96875, 0.1875 ], + [ 0.875, 0.109375 ], + [ 0.90625, 0.109375 ], + [ 0.90625, 0.1875 ], + [ 0.875, 0.1875 ], + [ 0.9375, 0.109375 ], + [ 0.96875, 0.109375 ], + [ 0.96875, 0.1875 ], + [ 0.9375, 0.1875 ], + [ 0.90625, 0.109375 ], + [ 0.9375, 0.109375 ], + [ 0.9375, 0.1875 ], + [ 0.90625, 0.1875 ], + [ 0.96875, 0.109375 ], + [ 1, 0.109375 ], + [ 1, 0.1875 ], + [ 0.96875, 0.1875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_right_leg_clothing": { + "bones": [ + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 10, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.15625, 10.25, -2.25 ], + [ 0.34375, 10.25, -2.25 ], + [ 0.34375, 10.25, 2.25 ], + [ -4.15625, 10.25, 2.25 ], + [ -4.15625, -0.25, 2.25 ], + [ 0.34375, -0.25, 2.25 ], + [ 0.34375, -0.25, -2.25 ], + [ -4.15625, -0.25, -2.25 ], + [ -4.15625, -0.25, 2.25 ], + [ -4.15625, -0.25, -2.25 ], + [ -4.15625, 10.25, -2.25 ], + [ -4.15625, 10.25, 2.25 ], + [ 0.34375, -0.25, -2.25 ], + [ 0.34375, -0.25, 2.25 ], + [ 0.34375, 10.25, 2.25 ], + [ 0.34375, 10.25, -2.25 ], + [ -4.15625, -0.25, -2.25 ], + [ 0.34375, -0.25, -2.25 ], + [ 0.34375, 10.25, -2.25 ], + [ -4.15625, 10.25, -2.25 ], + [ 0.34375, -0.25, 2.25 ], + [ -4.15625, -0.25, 2.25 ], + [ -4.15625, 10.25, 2.25 ], + [ 0.34375, 10.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.53125, 0.1875 ], + [ 0.5625, 0.1875 ], + [ 0.5625, 0.21875 ], + [ 0.53125, 0.21875 ], + [ 0.59375, 0.21875 ], + [ 0.5625, 0.21875 ], + [ 0.5625, 0.1875 ], + [ 0.59375, 0.1875 ], + [ 0.5, 0.109375 ], + [ 0.53125, 0.109375 ], + [ 0.53125, 0.1875 ], + [ 0.5, 0.1875 ], + [ 0.5625, 0.109375 ], + [ 0.59375, 0.109375 ], + [ 0.59375, 0.1875 ], + [ 0.5625, 0.1875 ], + [ 0.53125, 0.109375 ], + [ 0.5625, 0.109375 ], + [ 0.5625, 0.1875 ], + [ 0.53125, 0.1875 ], + [ 0.59375, 0.109375 ], + [ 0.625, 0.109375 ], + [ 0.625, 0.1875 ], + [ 0.59375, 0.1875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_body_clothing": { + "bones": [ + { + "name": "jacket", + "parent": "body", + "pivot": [ 0, 20, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.25, 20.25, -2.25 ], + [ 4.25, 20.25, -2.25 ], + [ 4.25, 20.25, 2.25 ], + [ -4.25, 20.25, 2.25 ], + [ -4.25, 9.75, 2.25 ], + [ 4.25, 9.75, 2.25 ], + [ 4.25, 9.75, -2.25 ], + [ -4.25, 9.75, -2.25 ], + [ -4.25, 9.75, 2.25 ], + [ -4.25, 9.75, -2.25 ], + [ -4.25, 20.25, -2.25 ], + [ -4.25, 20.25, 2.25 ], + [ 4.25, 9.75, -2.25 ], + [ 4.25, 9.75, 2.25 ], + [ 4.25, 20.25, 2.25 ], + [ 4.25, 20.25, -2.25 ], + [ -4.25, 9.75, -2.25 ], + [ 4.25, 9.75, -2.25 ], + [ 4.25, 20.25, -2.25 ], + [ -4.25, 20.25, -2.25 ], + [ 4.25, 9.75, 2.25 ], + [ -4.25, 9.75, 2.25 ], + [ -4.25, 20.25, 2.25 ], + [ 4.25, 20.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.65625, 0.296875 ], + [ 0.71875, 0.296875 ], + [ 0.71875, 0.328125 ], + [ 0.65625, 0.328125 ], + [ 0.78125, 0.328125 ], + [ 0.71875, 0.328125 ], + [ 0.71875, 0.296875 ], + [ 0.78125, 0.296875 ], + [ 0.625, 0.21875 ], + [ 0.65625, 0.21875 ], + [ 0.65625, 0.296875 ], + [ 0.625, 0.296875 ], + [ 0.71875, 0.21875 ], + [ 0.75, 0.21875 ], + [ 0.75, 0.296875 ], + [ 0.71875, 0.296875 ], + [ 0.65625, 0.21875 ], + [ 0.71875, 0.21875 ], + [ 0.71875, 0.296875 ], + [ 0.65625, 0.296875 ], + [ 0.75, 0.21875 ], + [ 0.8125, 0.21875 ], + [ 0.8125, 0.296875 ], + [ 0.75, 0.296875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_left_slim_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 17.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 19.5, -2 ], + [ 7, 19.5, -2 ], + [ 7, 19.5, 2 ], + [ 4, 19.5, 2 ], + [ 4, 9.5, 2 ], + [ 7, 9.5, 2 ], + [ 7, 9.5, -2 ], + [ 4, 9.5, -2 ], + [ 4, 9.5, 2 ], + [ 4, 9.5, -2 ], + [ 4, 19.5, -2 ], + [ 4, 19.5, 2 ], + [ 7, 9.5, -2 ], + [ 7, 9.5, 2 ], + [ 7, 19.5, 2 ], + [ 7, 19.5, -2 ], + [ 4, 9.5, -2 ], + [ 7, 9.5, -2 ], + [ 7, 19.5, -2 ], + [ 4, 19.5, -2 ], + [ 7, 9.5, 2 ], + [ 4, 9.5, 2 ], + [ 4, 19.5, 2 ], + [ 7, 19.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.75, 0.078125 ], + [ 0.7734375, 0.078125 ], + [ 0.7734375, 0.109375 ], + [ 0.75, 0.109375 ], + [ 0.796875, 0.109375 ], + [ 0.7734375, 0.109375 ], + [ 0.7734375, 0.078125 ], + [ 0.796875, 0.078125 ], + [ 0.71875, 0 ], + [ 0.75, 0 ], + [ 0.75, 0.078125 ], + [ 0.71875, 0.078125 ], + [ 0.7734375, 0 ], + [ 0.8046875, 0 ], + [ 0.8046875, 0.078125 ], + [ 0.7734375, 0.078125 ], + [ 0.75, 0 ], + [ 0.7734375, 0 ], + [ 0.7734375, 0.078125 ], + [ 0.75, 0.078125 ], + [ 0.8046875, 0 ], + [ 0.828125, 0 ], + [ 0.828125, 0.078125 ], + [ 0.8046875, 0.078125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_right_slim_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 17.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7, 19.5, -2 ], + [ -4, 19.5, -2 ], + [ -4, 19.5, 2 ], + [ -7, 19.5, 2 ], + [ -7, 9.5, 2 ], + [ -4, 9.5, 2 ], + [ -4, 9.5, -2 ], + [ -7, 9.5, -2 ], + [ -7, 9.5, 2 ], + [ -7, 9.5, -2 ], + [ -7, 19.5, -2 ], + [ -7, 19.5, 2 ], + [ -4, 9.5, -2 ], + [ -4, 9.5, 2 ], + [ -4, 19.5, 2 ], + [ -4, 19.5, -2 ], + [ -7, 9.5, -2 ], + [ -4, 9.5, -2 ], + [ -4, 19.5, -2 ], + [ -7, 19.5, -2 ], + [ -4, 9.5, 2 ], + [ -7, 9.5, 2 ], + [ -7, 19.5, 2 ], + [ -4, 19.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.640625, 0.078125 ], + [ 0.6640625, 0.078125 ], + [ 0.6640625, 0.109375 ], + [ 0.640625, 0.109375 ], + [ 0.6875, 0.109375 ], + [ 0.6640625, 0.109375 ], + [ 0.6640625, 0.078125 ], + [ 0.6875, 0.078125 ], + [ 0.609375, 0 ], + [ 0.640625, 0 ], + [ 0.640625, 0.078125 ], + [ 0.609375, 0.078125 ], + [ 0.6640625, 0 ], + [ 0.6953125, 0 ], + [ 0.6953125, 0.078125 ], + [ 0.6640625, 0.078125 ], + [ 0.640625, 0 ], + [ 0.6640625, 0 ], + [ 0.6640625, 0.078125 ], + [ 0.640625, 0.078125 ], + [ 0.6953125, 0 ], + [ 0.71875, 0 ], + [ 0.71875, 0.078125 ], + [ 0.6953125, 0.078125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_left_slim_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 17.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 19.75, -2.25 ], + [ 7.25, 19.75, -2.25 ], + [ 7.25, 19.75, 2.25 ], + [ 3.75, 19.75, 2.25 ], + [ 3.75, 9.25, 2.25 ], + [ 7.25, 9.25, 2.25 ], + [ 7.25, 9.25, -2.25 ], + [ 3.75, 9.25, -2.25 ], + [ 3.75, 9.25, 2.25 ], + [ 3.75, 9.25, -2.25 ], + [ 3.75, 19.75, -2.25 ], + [ 3.75, 19.75, 2.25 ], + [ 7.25, 9.25, -2.25 ], + [ 7.25, 9.25, 2.25 ], + [ 7.25, 19.75, 2.25 ], + [ 7.25, 19.75, -2.25 ], + [ 3.75, 9.25, -2.25 ], + [ 7.25, 9.25, -2.25 ], + [ 7.25, 19.75, -2.25 ], + [ 3.75, 19.75, -2.25 ], + [ 7.25, 9.25, 2.25 ], + [ 3.75, 9.25, 2.25 ], + [ 3.75, 19.75, 2.25 ], + [ 7.25, 19.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.859375, 0.078125 ], + [ 0.8828125, 0.078125 ], + [ 0.8828125, 0.109375 ], + [ 0.859375, 0.109375 ], + [ 0.90625, 0.109375 ], + [ 0.8828125, 0.109375 ], + [ 0.8828125, 0.078125 ], + [ 0.90625, 0.078125 ], + [ 0.828125, 0 ], + [ 0.859375, 0 ], + [ 0.859375, 0.078125 ], + [ 0.828125, 0.078125 ], + [ 0.8828125, 0 ], + [ 0.9140625, 0 ], + [ 0.9140625, 0.078125 ], + [ 0.8828125, 0.078125 ], + [ 0.859375, 0 ], + [ 0.8828125, 0 ], + [ 0.8828125, 0.078125 ], + [ 0.859375, 0.078125 ], + [ 0.9140625, 0 ], + [ 0.9375, 0 ], + [ 0.9375, 0.078125 ], + [ 0.9140625, 0.078125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.smaller_right_slim_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 17.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7.25, 19.75, -2.25 ], + [ -3.75, 19.75, -2.25 ], + [ -3.75, 19.75, 2.25 ], + [ -7.25, 19.75, 2.25 ], + [ -7.25, 9.25, 2.25 ], + [ -3.75, 9.25, 2.25 ], + [ -3.75, 9.25, -2.25 ], + [ -7.25, 9.25, -2.25 ], + [ -7.25, 9.25, 2.25 ], + [ -7.25, 9.25, -2.25 ], + [ -7.25, 19.75, -2.25 ], + [ -7.25, 19.75, 2.25 ], + [ -3.75, 9.25, -2.25 ], + [ -3.75, 9.25, 2.25 ], + [ -3.75, 19.75, 2.25 ], + [ -3.75, 19.75, -2.25 ], + [ -7.25, 9.25, -2.25 ], + [ -3.75, 9.25, -2.25 ], + [ -3.75, 19.75, -2.25 ], + [ -7.25, 19.75, -2.25 ], + [ -3.75, 9.25, 2.25 ], + [ -7.25, 9.25, 2.25 ], + [ -7.25, 19.75, 2.25 ], + [ -3.75, 19.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.53125, 0.078125 ], + [ 0.5546875, 0.078125 ], + [ 0.5546875, 0.109375 ], + [ 0.53125, 0.109375 ], + [ 0.578125, 0.109375 ], + [ 0.5546875, 0.109375 ], + [ 0.5546875, 0.078125 ], + [ 0.578125, 0.078125 ], + [ 0.5, 0 ], + [ 0.53125, 0 ], + [ 0.53125, 0.078125 ], + [ 0.5, 0.078125 ], + [ 0.5546875, 0 ], + [ 0.5859375, 0 ], + [ 0.5859375, 0.078125 ], + [ 0.5546875, 0.078125 ], + [ 0.53125, 0 ], + [ 0.5546875, 0 ], + [ 0.5546875, 0.078125 ], + [ 0.53125, 0.078125 ], + [ 0.5859375, 0 ], + [ 0.609375, 0 ], + [ 0.609375, 0.078125 ], + [ 0.5859375, 0.078125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/smaller/smaller.meta.json b/resource_pack/pieces/body/smaller/smaller.meta.json new file mode 100644 index 0000000..af75ed5 --- /dev/null +++ b/resource_pack/pieces/body/smaller/smaller.meta.json @@ -0,0 +1,92 @@ +{ + "piece_id": "c3ea4527-e2d7-4aae-86a4-0bb3d1b98d84", + "piece_name": "smaller", + "piece_type": "persona_body", + "clothing_map": "clothing_map.tga", + "face_clothing_map": "face_clothing_map.tga", + "body_variant": "smaller", + "geometry_sources":[ + { + "zone": "body", + "arm_size": "", + "geometry": "geometry.smaller_body" + }, + { + "zone": "body_clothing", + "arm_size": "", + "geometry": "geometry.smaller_body_clothing" + }, + { + "zone": "head", + "arm_size": "", + "geometry": "geometry.smaller_head", + "is_face": "true" + }, + { + "zone": "head_clothing", + "arm_size": "", + "geometry": "geometry.smaller_head_clothing", + "is_face": "true" + }, + { + "zone": "left_arm", + "arm_size": "wide", + "geometry": "geometry.smaller_left_wide_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.smaller_left_wide_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "wide", + "geometry": "geometry.smaller_right_wide_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.smaller_right_wide_clothing_arm" + }, + { + "zone": "left_arm", + "arm_size": "slim", + "geometry": "geometry.smaller_left_slim_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.smaller_left_slim_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "slim", + "geometry": "geometry.smaller_right_slim_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.smaller_right_slim_clothing_arm" + }, + { + "zone": "left_leg", + "arm_size": "", + "geometry": "geometry.smaller_left_leg" + }, + { + "zone": "right_leg", + "arm_size": "", + "geometry": "geometry.smaller_right_leg" + }, + { + "zone": "left_leg_clothing", + "arm_size": "", + "geometry": "geometry.smaller_left_leg_clothing" + }, + { + "zone": "right_leg_clothing", + "arm_size": "", + "geometry": "geometry.smaller_right_leg_clothing" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.geometry.json b/resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.geometry.json new file mode 100644 index 0000000..da15740 --- /dev/null +++ b/resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.geometry.json @@ -0,0 +1,196 @@ +{ + "format_version": "1.12.0", + "geometry.smaller_body": { + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 10, 0.0 ] + }, + { + "pivot": [ 0, 20, 0 ], + "name": "body", + "parent": "waist", + "locators": { + "armor_offset.default_neck": [ 0.0, 16.0, 0.0 ] + } + } + ] + }, + "geometry.smaller_head": { + "bones": [ + { + "pivot": [ 0, 20, 0 ], + "name": "head", + "parent": "body" + } + ] + }, + "geometry.smaller_left_wide_arm": { + "bones": [ + { + "pivot": [ 5, 18, 0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.smaller_right_wide_arm": { + "bones": [ + { + "pivot": [ -5, 18, 0 ], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.smaller_left_slim_arm": { + "bones": [ + { + "pivot": [ 5, 17.5, 0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.smaller_right_slim_arm": { + "bones": [ + { + "pivot": [ -5, 17.5, 0 ], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.smaller_left_leg": { + "bones": [ + { + "pivot": [ 1.9, 10, 0 ], + "name": "leftLeg", + "parent": "root", + "locators": { + "armor_offset.left_boot": [ 1.9, 12.0, 0.0 ] + } + } + ] + }, + "geometry.smaller_right_leg": { + "bones": [ + { + "pivot": [ -1.9, 10, 0 ], + "name": "rightLeg", + "parent": "root", + "locators": { + "armor_offset.right_boot": [ -1.9, 12.0, 0.0 ] + } + } + ] + }, + "geometry.smaller_right_item": { + "bones": [ + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6, 13, 0 ], + "locators": { + "lead_hold": [ -6, 13, 0 ] + } + } + ] + }, + "geometry.smaller_left_item": { + "bones": [ + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6, 13, 0 ] + } + ] + }, + "geometry.smaller_armor": { + "bones": [ + { + "name": "helmet", + "parent": "head", + "pivot": [ 0.0, 20.0, 0.0 ] + }, + { + "name": "rightLegging", + "pivot": [ -1.9, 10.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftLegging", + "pivot": [ 1.9, 10.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightBoot", + "pivot": [ -1.9, 10.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftBoot", + "pivot": [ 1.9, 10.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightSock", + "pivot": [ -1.9, 10.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftSock", + "pivot": [ 1.9, 10.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "bodyArmor", + "pivot": [ 0.0, 20.0, 0.0 ], + "parent": "body" + }, + { + "name": "belt", + "pivot": [ 0.0, 20.0, 0.0 ], + "parent": "body" + } + ] + }, + "geometry.smaller_armor_wide_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 18.0, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 18.0, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + }, + "geometry.smaller_armor_slim_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 17.5, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 17.5, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.meta.json b/resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.meta.json new file mode 100644 index 0000000..bf14f9b --- /dev/null +++ b/resource_pack/pieces/body/smaller_skeleton/smaller_skeleton.meta.json @@ -0,0 +1,60 @@ +{ + "piece_id": "142782c6-93bb-4e5a-af32-df6cd4164dca", + "piece_name": "smaller_skeleton", + "piece_type": "persona_skeleton", + "body_variant": "smaller", + "geometry_sources":[ + { + "arm_size": "", + "geometry": "geometry.smaller_body" + }, + { + "arm_size": "", + "geometry": "geometry.smaller_head" + }, + { + "arm_size": "wide", + "geometry": "geometry.smaller_left_wide_arm" + }, + { + "arm_size": "wide", + "geometry": "geometry.smaller_right_wide_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.smaller_left_slim_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.smaller_right_slim_arm" + }, + { + "arm_size": "", + "geometry": "geometry.smaller_left_leg" + }, + { + "arm_size": "", + "geometry": "geometry.smaller_right_leg" + }, + { + "arm_size": "", + "geometry": "geometry.smaller_right_item" + }, + { + "arm_size": "", + "geometry": "geometry.smaller_left_item" + }, + { + "arm_size": "", + "geometry": "geometry.smaller_armor" + }, + { + "arm_size": "wide", + "geometry": "geometry.smaller_armor_wide_arms" + }, + { + "arm_size": "slim", + "geometry": "geometry.smaller_armor_slim_arms" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/body/tall/tall.geometry.json b/resource_pack/pieces/body/tall/tall.geometry.json new file mode 100644 index 0000000..c93b6b2 --- /dev/null +++ b/resource_pack/pieces/body/tall/tall.geometry.json @@ -0,0 +1,1802 @@ +{ + "format_version": "1.12.0", + "geometry.tall_body": { + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "name": "body", + "parent": "waist", + "pivot": [ 0, 25, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 25, -2 ], + [ 4, 25, -2 ], + [ 4, 25, 2 ], + [ -4, 25, 2 ], + [ -4, 12, 2 ], + [ 4, 12, 2 ], + [ 4, 12, -2 ], + [ -4, 12, -2 ], + [ -4, 12, 2 ], + [ -4, 12, -2 ], + [ -4, 25, -2 ], + [ -4, 25, 2 ], + [ 4, 12, -2 ], + [ 4, 12, 2 ], + [ 4, 25, 2 ], + [ 4, 25, -2 ], + [ -4, 12, -2 ], + [ 4, 12, -2 ], + [ 4, 25, -2 ], + [ -4, 25, -2 ], + [ 4, 12, 2 ], + [ -4, 12, 2 ], + [ -4, 25, 2 ], + [ 4, 25, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.71875, 0.96875 ], + [ 0.78125, 0.96875 ], + [ 0.78125, 1 ], + [ 0.71875, 1 ], + [ 0.84375, 1 ], + [ 0.78125, 1 ], + [ 0.78125, 0.96875 ], + [ 0.84375, 0.96875 ], + [ 0.6875, 0.8671875 ], + [ 0.71875, 0.8671875 ], + [ 0.71875, 0.96875 ], + [ 0.6875, 0.96875 ], + [ 0.78125, 0.8671875 ], + [ 0.8125, 0.8671875 ], + [ 0.8125, 0.96875 ], + [ 0.78125, 0.96875 ], + [ 0.71875, 0.8671875 ], + [ 0.78125, 0.8671875 ], + [ 0.78125, 0.96875 ], + [ 0.71875, 0.96875 ], + [ 0.8125, 0.8671875 ], + [ 0.875, 0.8671875 ], + [ 0.875, 0.96875 ], + [ 0.8125, 0.96875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_head": { + "bones": [ + { + "name": "head", + "parent": "body", + "pivot": [ 0, 25, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4, 33, -4 ], + [ 4, 33, -4 ], + [ 4, 33, 4 ], + [ -4, 33, 4 ], + [ -4, 25, 4 ], + [ 4, 25, 4 ], + [ 4, 25, -4 ], + [ -4, 25, -4 ], + [ -4, 25, 4 ], + [ -4, 25, -4 ], + [ -4, 33, -4 ], + [ -4, 33, 4 ], + [ 4, 25, -4 ], + [ 4, 25, 4 ], + [ 4, 33, 4 ], + [ 4, 33, -4 ], + [ -4, 25, -4 ], + [ 4, 25, -4 ], + [ 4, 33, -4 ], + [ -4, 33, -4 ], + [ 4, 25, 4 ], + [ -4, 25, 4 ], + [ -4, 33, 4 ], + [ 4, 33, 4 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.75 ], + [ 0.5, 0.75 ], + [ 0.5, 1 ], + [ 0.25, 1 ], + [ 0.75, 1 ], + [ 0.5, 1 ], + [ 0.5, 0.75 ], + [ 0.75, 0.75 ], + [ 0, 0.5 ], + [ 0.25, 0.5 ], + [ 0.25, 0.75 ], + [ 0, 0.75 ], + [ 0.5, 0.5 ], + [ 0.75, 0.5 ], + [ 0.75, 0.75 ], + [ 0.5, 0.75 ], + [ 0.25, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.75 ], + [ 0.25, 0.75 ], + [ 0.75, 0.5 ], + [ 1, 0.5 ], + [ 1, 0.75 ], + [ 0.75, 0.75 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_head_clothing": { + "bones": [ + { + "name": "hat", + "parent": "head", + "pivot": [ 0, 25, 0 ], + "rotation": null, + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.5, 33.5, -4.5 ], + [ 4.5, 33.5, -4.5 ], + [ 4.5, 33.5, 4.5 ], + [ -4.5, 33.5, 4.5 ], + [ -4.5, 24.5, 4.5 ], + [ 4.5, 24.5, 4.5 ], + [ 4.5, 24.5, -4.5 ], + [ -4.5, 24.5, -4.5 ], + [ -4.5, 24.5, 4.5 ], + [ -4.5, 24.5, -4.5 ], + [ -4.5, 33.5, -4.5 ], + [ -4.5, 33.5, 4.5 ], + [ 4.5, 24.5, -4.5 ], + [ 4.5, 24.5, 4.5 ], + [ 4.5, 33.5, 4.5 ], + [ 4.5, 33.5, -4.5 ], + [ -4.5, 24.5, -4.5 ], + [ 4.5, 24.5, -4.5 ], + [ 4.5, 33.5, -4.5 ], + [ -4.5, 33.5, -4.5 ], + [ 4.5, 24.5, 4.5 ], + [ -4.5, 24.5, 4.5 ], + [ -4.5, 33.5, 4.5 ], + [ 4.5, 33.5, 4.5 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.25, 0.25 ], + [ 0.5, 0.25 ], + [ 0.5, 0.5 ], + [ 0.25, 0.5 ], + [ 0.75, 0.5 ], + [ 0.5, 0.5 ], + [ 0.5, 0.25 ], + [ 0.75, 0.25 ], + [ 0, 0 ], + [ 0.25, 0 ], + [ 0.25, 0.25 ], + [ 0, 0.25 ], + [ 0.5, 0 ], + [ 0.75, 0 ], + [ 0.75, 0.25 ], + [ 0.5, 0.25 ], + [ 0.25, 0 ], + [ 0.5, 0 ], + [ 0.5, 0.25 ], + [ 0.25, 0.25 ], + [ 0.75, 0 ], + [ 1, 0 ], + [ 1, 0.25 ], + [ 0.75, 0.25 ] + ], + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_left_wide_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 23, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 25, -2 ], + [ 8, 25, -2 ], + [ 8, 25, 2 ], + [ 4, 25, 2 ], + [ 4, 12, 2 ], + [ 8, 12, 2 ], + [ 8, 12, -2 ], + [ 4, 12, -2 ], + [ 4, 12, 2 ], + [ 4, 12, -2 ], + [ 4, 25, -2 ], + [ 4, 25, 2 ], + [ 8, 12, -2 ], + [ 8, 12, 2 ], + [ 8, 25, 2 ], + [ 8, 25, -2 ], + [ 4, 12, -2 ], + [ 8, 12, -2 ], + [ 8, 25, -2 ], + [ 4, 25, -2 ], + [ 8, 12, 2 ], + [ 4, 12, 2 ], + [ 4, 25, 2 ], + [ 8, 25, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.90625, 0.96875 ], + [ 0.9375, 0.96875 ], + [ 0.9375, 1 ], + [ 0.90625, 1 ], + [ 0.96875, 1 ], + [ 0.9375, 1 ], + [ 0.9375, 0.96875 ], + [ 0.96875, 0.96875 ], + [ 0.875, 0.8671875 ], + [ 0.90625, 0.8671875 ], + [ 0.90625, 0.96875 ], + [ 0.875, 0.96875 ], + [ 0.9375, 0.8671875 ], + [ 0.96875, 0.8671875 ], + [ 0.96875, 0.96875 ], + [ 0.9375, 0.96875 ], + [ 0.90625, 0.8671875 ], + [ 0.9375, 0.8671875 ], + [ 0.9375, 0.96875 ], + [ 0.90625, 0.96875 ], + [ 0.96875, 0.8671875 ], + [ 1, 0.8671875 ], + [ 1, 0.96875 ], + [ 0.96875, 0.96875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_right_wide_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 23, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8, 25, -2 ], + [ -4, 25, -2 ], + [ -4, 25, 2 ], + [ -8, 25, 2 ], + [ -8, 12, 2 ], + [ -4, 12, 2 ], + [ -4, 12, -2 ], + [ -8, 12, -2 ], + [ -8, 12, 2 ], + [ -8, 12, -2 ], + [ -8, 25, -2 ], + [ -8, 25, 2 ], + [ -4, 12, -2 ], + [ -4, 12, 2 ], + [ -4, 25, 2 ], + [ -4, 25, -2 ], + [ -8, 12, -2 ], + [ -4, 12, -2 ], + [ -4, 25, -2 ], + [ -8, 25, -2 ], + [ -4, 12, 2 ], + [ -8, 12, 2 ], + [ -8, 25, 2 ], + [ -4, 25, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.59375, 0.96875 ], + [ 0.625, 0.96875 ], + [ 0.625, 1 ], + [ 0.59375, 1 ], + [ 0.65625, 1 ], + [ 0.625, 1 ], + [ 0.625, 0.96875 ], + [ 0.65625, 0.96875 ], + [ 0.5625, 0.8671875 ], + [ 0.59375, 0.8671875 ], + [ 0.59375, 0.96875 ], + [ 0.5625, 0.96875 ], + [ 0.625, 0.8671875 ], + [ 0.65625, 0.8671875 ], + [ 0.65625, 0.96875 ], + [ 0.625, 0.96875 ], + [ 0.59375, 0.8671875 ], + [ 0.625, 0.8671875 ], + [ 0.625, 0.96875 ], + [ 0.59375, 0.96875 ], + [ 0.65625, 0.8671875 ], + [ 0.6875, 0.8671875 ], + [ 0.6875, 0.96875 ], + [ 0.65625, 0.96875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_left_wide_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 23, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 25.25, -2.25 ], + [ 8.25, 25.25, -2.25 ], + [ 8.25, 25.25, 2.25 ], + [ 3.75, 25.25, 2.25 ], + [ 3.75, 11.75, 2.25 ], + [ 8.25, 11.75, 2.25 ], + [ 8.25, 11.75, -2.25 ], + [ 3.75, 11.75, -2.25 ], + [ 3.75, 11.75, 2.25 ], + [ 3.75, 11.75, -2.25 ], + [ 3.75, 25.25, -2.25 ], + [ 3.75, 25.25, 2.25 ], + [ 8.25, 11.75, -2.25 ], + [ 8.25, 11.75, 2.25 ], + [ 8.25, 25.25, 2.25 ], + [ 8.25, 25.25, -2.25 ], + [ 3.75, 11.75, -2.25 ], + [ 8.25, 11.75, -2.25 ], + [ 8.25, 25.25, -2.25 ], + [ 3.75, 25.25, -2.25 ], + [ 8.25, 11.75, 2.25 ], + [ 3.75, 11.75, 2.25 ], + [ 3.75, 25.25, 2.25 ], + [ 8.25, 25.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.90625, 0.8359375 ], + [ 0.9375, 0.8359375 ], + [ 0.9375, 0.8671875 ], + [ 0.90625, 0.8671875 ], + [ 0.96875, 0.8671875 ], + [ 0.9375, 0.8671875 ], + [ 0.9375, 0.8359375 ], + [ 0.96875, 0.8359375 ], + [ 0.875, 0.734375 ], + [ 0.90625, 0.734375 ], + [ 0.90625, 0.8359375 ], + [ 0.875, 0.8359375 ], + [ 0.9375, 0.734375 ], + [ 0.96875, 0.734375 ], + [ 0.96875, 0.8359375 ], + [ 0.9375, 0.8359375 ], + [ 0.90625, 0.734375 ], + [ 0.9375, 0.734375 ], + [ 0.9375, 0.8359375 ], + [ 0.90625, 0.8359375 ], + [ 0.96875, 0.734375 ], + [ 1, 0.734375 ], + [ 1, 0.8359375 ], + [ 0.96875, 0.8359375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_right_wide_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 23, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -8.25, 25.25, -2.25 ], + [ -3.75, 25.25, -2.25 ], + [ -3.75, 25.25, 2.25 ], + [ -8.25, 25.25, 2.25 ], + [ -8.25, 11.75, 2.25 ], + [ -3.75, 11.75, 2.25 ], + [ -3.75, 11.75, -2.25 ], + [ -8.25, 11.75, -2.25 ], + [ -8.25, 11.75, 2.25 ], + [ -8.25, 11.75, -2.25 ], + [ -8.25, 25.25, -2.25 ], + [ -8.25, 25.25, 2.25 ], + [ -3.75, 11.75, -2.25 ], + [ -3.75, 11.75, 2.25 ], + [ -3.75, 25.25, 2.25 ], + [ -3.75, 25.25, -2.25 ], + [ -8.25, 11.75, -2.25 ], + [ -3.75, 11.75, -2.25 ], + [ -3.75, 25.25, -2.25 ], + [ -8.25, 25.25, -2.25 ], + [ -3.75, 11.75, 2.25 ], + [ -8.25, 11.75, 2.25 ], + [ -8.25, 25.25, 2.25 ], + [ -3.75, 25.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.59375, 0.8359375 ], + [ 0.625, 0.8359375 ], + [ 0.625, 0.8671875 ], + [ 0.59375, 0.8671875 ], + [ 0.65625, 0.8671875 ], + [ 0.625, 0.8671875 ], + [ 0.625, 0.8359375 ], + [ 0.65625, 0.8359375 ], + [ 0.5625, 0.734375 ], + [ 0.59375, 0.734375 ], + [ 0.59375, 0.8359375 ], + [ 0.5625, 0.8359375 ], + [ 0.625, 0.734375 ], + [ 0.65625, 0.734375 ], + [ 0.65625, 0.8359375 ], + [ 0.625, 0.8359375 ], + [ 0.59375, 0.734375 ], + [ 0.625, 0.734375 ], + [ 0.625, 0.8359375 ], + [ 0.59375, 0.8359375 ], + [ 0.65625, 0.734375 ], + [ 0.6875, 0.734375 ], + [ 0.6875, 0.8359375 ], + [ 0.65625, 0.8359375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_left_leg": { + "bones": [ + { + "name": "leftLeg", + "parent": "root", + "pivot": [ 1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.1, 12, -2 ], + [ 3.9, 12, -2 ], + [ 3.9, 12, 2 ], + [ -0.1, 12, 2 ], + [ -0.1, 0, 2 ], + [ 3.9, 0, 2 ], + [ 3.9, 0, -2 ], + [ -0.1, 0, -2 ], + [ -0.1, 0, 2 ], + [ -0.1, 0, -2 ], + [ -0.1, 12, -2 ], + [ -0.1, 12, 2 ], + [ 3.9, 0, -2 ], + [ 3.9, 0, 2 ], + [ 3.9, 12, 2 ], + [ 3.9, 12, -2 ], + [ -0.1, 0, -2 ], + [ 3.9, 0, -2 ], + [ 3.9, 12, -2 ], + [ -0.1, 12, -2 ], + [ 3.9, 0, 2 ], + [ -0.1, 0, 2 ], + [ -0.1, 12, 2 ], + [ 3.9, 12, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.28125, 0.71875 ], + [ 0.3125, 0.71875 ], + [ 0.3125, 0.75 ], + [ 0.28125, 0.75 ], + [ 0.34375, 0.75 ], + [ 0.3125, 0.75 ], + [ 0.3125, 0.71875 ], + [ 0.34375, 0.71875 ], + [ 0.25, 0.625 ], + [ 0.28125, 0.625 ], + [ 0.28125, 0.71875 ], + [ 0.25, 0.71875 ], + [ 0.3125, 0.625 ], + [ 0.34375, 0.625 ], + [ 0.34375, 0.71875 ], + [ 0.3125, 0.71875 ], + [ 0.28125, 0.625 ], + [ 0.3125, 0.625 ], + [ 0.3125, 0.71875 ], + [ 0.28125, 0.71875 ], + [ 0.34375, 0.625 ], + [ 0.375, 0.625 ], + [ 0.375, 0.71875 ], + [ 0.34375, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_right_leg": { + "bones": [ + { + "name": "rightLeg", + "parent": "root", + "pivot": [ -1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -3.9, 12, -2 ], + [ 0.0999999, 12, -2 ], + [ 0.0999999, 12, 2 ], + [ -3.9, 12, 2 ], + [ -3.9, 0, 2 ], + [ 0.0999999, 0, 2 ], + [ 0.0999999, 0, -2 ], + [ -3.9, 0, -2 ], + [ -3.9, 0, 2 ], + [ -3.9, 0, -2 ], + [ -3.9, 12, -2 ], + [ -3.9, 12, 2 ], + [ 0.0999999, 0, -2 ], + [ 0.0999999, 0, 2 ], + [ 0.0999999, 12, 2 ], + [ 0.0999999, 12, -2 ], + [ -3.9, 0, -2 ], + [ 0.0999999, 0, -2 ], + [ 0.0999999, 12, -2 ], + [ -3.9, 12, -2 ], + [ 0.0999999, 0, 2 ], + [ -3.9, 0, 2 ], + [ -3.9, 12, 2 ], + [ 0.0999999, 12, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.15625, 0.71875 ], + [ 0.1875, 0.71875 ], + [ 0.1875, 0.75 ], + [ 0.15625, 0.75 ], + [ 0.21875, 0.75 ], + [ 0.1875, 0.75 ], + [ 0.1875, 0.71875 ], + [ 0.21875, 0.71875 ], + [ 0.125, 0.625 ], + [ 0.15625, 0.625 ], + [ 0.15625, 0.71875 ], + [ 0.125, 0.71875 ], + [ 0.1875, 0.625 ], + [ 0.21875, 0.625 ], + [ 0.21875, 0.71875 ], + [ 0.1875, 0.71875 ], + [ 0.15625, 0.625 ], + [ 0.1875, 0.625 ], + [ 0.1875, 0.71875 ], + [ 0.15625, 0.71875 ], + [ 0.21875, 0.625 ], + [ 0.25, 0.625 ], + [ 0.25, 0.71875 ], + [ 0.21875, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_left_leg_clothing": { + "bones": [ + { + "name": "leftPants", + "parent": "leftLeg", + "pivot": [ 1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -0.35, 12.25, -2.25 ], + [ 4.15, 12.25, -2.25 ], + [ 4.15, 12.25, 2.25 ], + [ -0.35, 12.25, 2.25 ], + [ -0.35, -0.25, 2.25 ], + [ 4.15, -0.25, 2.25 ], + [ 4.15, -0.25, -2.25 ], + [ -0.35, -0.25, -2.25 ], + [ -0.35, -0.25, 2.25 ], + [ -0.35, -0.25, -2.25 ], + [ -0.35, 12.25, -2.25 ], + [ -0.35, 12.25, 2.25 ], + [ 4.15, -0.25, -2.25 ], + [ 4.15, -0.25, 2.25 ], + [ 4.15, 12.25, 2.25 ], + [ 4.15, 12.25, -2.25 ], + [ -0.35, -0.25, -2.25 ], + [ 4.15, -0.25, -2.25 ], + [ 4.15, 12.25, -2.25 ], + [ -0.35, 12.25, -2.25 ], + [ 4.15, -0.25, 2.25 ], + [ -0.35, -0.25, 2.25 ], + [ -0.35, 12.25, 2.25 ], + [ 4.15, 12.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.40625, 0.71875 ], + [ 0.4375, 0.71875 ], + [ 0.4375, 0.75 ], + [ 0.40625, 0.75 ], + [ 0.46875, 0.75 ], + [ 0.4375, 0.75 ], + [ 0.4375, 0.71875 ], + [ 0.46875, 0.71875 ], + [ 0.375, 0.625 ], + [ 0.40625, 0.625 ], + [ 0.40625, 0.71875 ], + [ 0.375, 0.71875 ], + [ 0.4375, 0.625 ], + [ 0.46875, 0.625 ], + [ 0.46875, 0.71875 ], + [ 0.4375, 0.71875 ], + [ 0.40625, 0.625 ], + [ 0.4375, 0.625 ], + [ 0.4375, 0.71875 ], + [ 0.40625, 0.71875 ], + [ 0.46875, 0.625 ], + [ 0.5, 0.625 ], + [ 0.5, 0.71875 ], + [ 0.46875, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_right_leg_clothing": { + "bones": [ + { + "name": "rightPants", + "parent": "rightLeg", + "pivot": [ -1.9, 12, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.15, 12.25, -2.25 ], + [ 0.3499999, 12.25, -2.25 ], + [ 0.3499999, 12.25, 2.25 ], + [ -4.15, 12.25, 2.25 ], + [ -4.15, -0.25, 2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ -4.15, -0.25, -2.25 ], + [ -4.15, -0.25, 2.25 ], + [ -4.15, -0.25, -2.25 ], + [ -4.15, 12.25, -2.25 ], + [ -4.15, 12.25, 2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ 0.3499999, 12.25, 2.25 ], + [ 0.3499999, 12.25, -2.25 ], + [ -4.15, -0.25, -2.25 ], + [ 0.3499999, -0.25, -2.25 ], + [ 0.3499999, 12.25, -2.25 ], + [ -4.15, 12.25, -2.25 ], + [ 0.3499999, -0.25, 2.25 ], + [ -4.15, -0.25, 2.25 ], + [ -4.15, 12.25, 2.25 ], + [ 0.3499999, 12.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.03125, 0.71875 ], + [ 0.0625, 0.71875 ], + [ 0.0625, 0.75 ], + [ 0.03125, 0.75 ], + [ 0.09375, 0.75 ], + [ 0.0625, 0.75 ], + [ 0.0625, 0.71875 ], + [ 0.09375, 0.71875 ], + [ 0, 0.625 ], + [ 0.03125, 0.625 ], + [ 0.03125, 0.71875 ], + [ 0, 0.71875 ], + [ 0.0625, 0.625 ], + [ 0.09375, 0.625 ], + [ 0.09375, 0.71875 ], + [ 0.0625, 0.71875 ], + [ 0.03125, 0.625 ], + [ 0.0625, 0.625 ], + [ 0.0625, 0.71875 ], + [ 0.03125, 0.71875 ], + [ 0.09375, 0.625 ], + [ 0.125, 0.625 ], + [ 0.125, 0.71875 ], + [ 0.09375, 0.71875 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_body_clothing": { + "bones": [ + { + "name": "jacket", + "parent": "body", + "pivot": [ 0, 25, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -4.25, 25.25, -2.25 ], + [ 4.25, 25.25, -2.25 ], + [ 4.25, 25.25, 2.25 ], + [ -4.25, 25.25, 2.25 ], + [ -4.25, 11.75, 2.25 ], + [ 4.25, 11.75, 2.25 ], + [ 4.25, 11.75, -2.25 ], + [ -4.25, 11.75, -2.25 ], + [ -4.25, 11.75, 2.25 ], + [ -4.25, 11.75, -2.25 ], + [ -4.25, 25.25, -2.25 ], + [ -4.25, 25.25, 2.25 ], + [ 4.25, 11.75, -2.25 ], + [ 4.25, 11.75, 2.25 ], + [ 4.25, 25.25, 2.25 ], + [ 4.25, 25.25, -2.25 ], + [ -4.25, 11.75, -2.25 ], + [ 4.25, 11.75, -2.25 ], + [ 4.25, 25.25, -2.25 ], + [ -4.25, 25.25, -2.25 ], + [ 4.25, 11.75, 2.25 ], + [ -4.25, 11.75, 2.25 ], + [ -4.25, 25.25, 2.25 ], + [ 4.25, 25.25, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.71875, 0.8359375 ], + [ 0.78125, 0.8359375 ], + [ 0.78125, 0.8671875 ], + [ 0.71875, 0.8671875 ], + [ 0.84375, 0.8671875 ], + [ 0.78125, 0.8671875 ], + [ 0.78125, 0.8359375 ], + [ 0.84375, 0.8359375 ], + [ 0.6875, 0.734375 ], + [ 0.71875, 0.734375 ], + [ 0.71875, 0.8359375 ], + [ 0.6875, 0.8359375 ], + [ 0.78125, 0.734375 ], + [ 0.8125, 0.734375 ], + [ 0.8125, 0.8359375 ], + [ 0.78125, 0.8359375 ], + [ 0.71875, 0.734375 ], + [ 0.78125, 0.734375 ], + [ 0.78125, 0.8359375 ], + [ 0.71875, 0.8359375 ], + [ 0.8125, 0.734375 ], + [ 0.875, 0.734375 ], + [ 0.875, 0.8359375 ], + [ 0.8125, 0.8359375 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_left_slim_arm": { + "bones": [ + { + "name": "leftArm", + "parent": "body", + "pivot": [ 5, 22.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 4, 24.5, -2 ], + [ 7, 24.5, -2 ], + [ 7, 24.5, 2 ], + [ 4, 24.5, 2 ], + [ 4, 11.5, 2 ], + [ 7, 11.5, 2 ], + [ 7, 11.5, -2 ], + [ 4, 11.5, -2 ], + [ 4, 11.5, 2 ], + [ 4, 11.5, -2 ], + [ 4, 24.5, -2 ], + [ 4, 24.5, 2 ], + [ 7, 11.5, -2 ], + [ 7, 11.5, 2 ], + [ 7, 24.5, 2 ], + [ 7, 24.5, -2 ], + [ 4, 11.5, -2 ], + [ 7, 11.5, -2 ], + [ 7, 24.5, -2 ], + [ 4, 24.5, -2 ], + [ 7, 11.5, 2 ], + [ 4, 11.5, 2 ], + [ 4, 24.5, 2 ], + [ 7, 24.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.8125, 0.703125 ], + [ 0.8359375, 0.703125 ], + [ 0.8359375, 0.734375 ], + [ 0.8125, 0.734375 ], + [ 0.859375, 0.734375 ], + [ 0.8359375, 0.734375 ], + [ 0.8359375, 0.703125 ], + [ 0.859375, 0.703125 ], + [ 0.78125, 0.6015625 ], + [ 0.8125, 0.6015625 ], + [ 0.8125, 0.703125 ], + [ 0.78125, 0.703125 ], + [ 0.8359375, 0.6015625 ], + [ 0.8671875, 0.6015625 ], + [ 0.8671875, 0.703125 ], + [ 0.8359375, 0.703125 ], + [ 0.8125, 0.6015625 ], + [ 0.8359375, 0.6015625 ], + [ 0.8359375, 0.703125 ], + [ 0.8125, 0.703125 ], + [ 0.8671875, 0.6015625 ], + [ 0.890625, 0.6015625 ], + [ 0.890625, 0.703125 ], + [ 0.8671875, 0.703125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_right_slim_arm": { + "bones": [ + { + "name": "rightArm", + "parent": "body", + "pivot": [ -5, 22.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7, 24.5, -2 ], + [ -4, 24.5, -2 ], + [ -4, 24.5, 2 ], + [ -7, 24.5, 2 ], + [ -7, 11.5, 2 ], + [ -4, 11.5, 2 ], + [ -4, 11.5, -2 ], + [ -7, 11.5, -2 ], + [ -7, 11.5, 2 ], + [ -7, 11.5, -2 ], + [ -7, 24.5, -2 ], + [ -7, 24.5, 2 ], + [ -4, 11.5, -2 ], + [ -4, 11.5, 2 ], + [ -4, 24.5, 2 ], + [ -4, 24.5, -2 ], + [ -7, 11.5, -2 ], + [ -4, 11.5, -2 ], + [ -4, 24.5, -2 ], + [ -7, 24.5, -2 ], + [ -4, 11.5, 2 ], + [ -7, 11.5, 2 ], + [ -7, 24.5, 2 ], + [ -4, 24.5, 2 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.703125, 0.703125 ], + [ 0.7265625, 0.703125 ], + [ 0.7265625, 0.734375 ], + [ 0.703125, 0.734375 ], + [ 0.75, 0.734375 ], + [ 0.7265625, 0.734375 ], + [ 0.7265625, 0.703125 ], + [ 0.75, 0.703125 ], + [ 0.671875, 0.6015625 ], + [ 0.703125, 0.6015625 ], + [ 0.703125, 0.703125 ], + [ 0.671875, 0.703125 ], + [ 0.7265625, 0.6015625 ], + [ 0.7578125, 0.6015625 ], + [ 0.7578125, 0.703125 ], + [ 0.7265625, 0.703125 ], + [ 0.703125, 0.6015625 ], + [ 0.7265625, 0.6015625 ], + [ 0.7265625, 0.703125 ], + [ 0.703125, 0.703125 ], + [ 0.7578125, 0.6015625 ], + [ 0.78125, 0.6015625 ], + [ 0.78125, 0.703125 ], + [ 0.7578125, 0.703125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_left_slim_clothing_arm": { + "bones": [ + { + "name": "leftSleeve", + "parent": "leftArm", + "pivot": [ 5, 22.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ 3.75, 24.75, -2.25 ], + [ 7.25, 24.75, -2.25 ], + [ 7.25, 24.75, 2.25 ], + [ 3.75, 24.75, 2.25 ], + [ 3.75, 11.25, 2.25 ], + [ 7.25, 11.25, 2.25 ], + [ 7.25, 11.25, -2.25 ], + [ 3.75, 11.25, -2.25 ], + [ 3.75, 11.25, 2.25 ], + [ 3.75, 11.25, -2.25 ], + [ 3.75, 24.75, -2.25 ], + [ 3.75, 24.75, 2.25 ], + [ 7.25, 11.25, -2.25 ], + [ 7.25, 11.25, 2.25 ], + [ 7.25, 24.75, 2.25 ], + [ 7.25, 24.75, -2.25 ], + [ 3.75, 11.25, -2.25 ], + [ 7.25, 11.25, -2.25 ], + [ 7.25, 24.75, -2.25 ], + [ 3.75, 24.75, -2.25 ], + [ 7.25, 11.25, 2.25 ], + [ 3.75, 11.25, 2.25 ], + [ 3.75, 24.75, 2.25 ], + [ 7.25, 24.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.921875, 0.703125 ], + [ 0.9453125, 0.703125 ], + [ 0.9453125, 0.734375 ], + [ 0.921875, 0.734375 ], + [ 0.96875, 0.734375 ], + [ 0.9453125, 0.734375 ], + [ 0.9453125, 0.703125 ], + [ 0.96875, 0.703125 ], + [ 0.890625, 0.6015625 ], + [ 0.921875, 0.6015625 ], + [ 0.921875, 0.703125 ], + [ 0.890625, 0.703125 ], + [ 0.9453125, 0.6015625 ], + [ 0.9765625, 0.6015625 ], + [ 0.9765625, 0.703125 ], + [ 0.9453125, 0.703125 ], + [ 0.921875, 0.6015625 ], + [ 0.9453125, 0.6015625 ], + [ 0.9453125, 0.703125 ], + [ 0.921875, 0.703125 ], + [ 0.9765625, 0.6015625 ], + [ 1, 0.6015625 ], + [ 1, 0.703125 ], + [ 0.9765625, 0.703125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + }, + "geometry.tall_right_slim_clothing_arm": { + "bones": [ + { + "name": "rightSleeve", + "parent": "rightArm", + "pivot": [ -5, 22.5, 0 ], + "rotation": [ 0, 0, 0 ], + "poly_mesh": { + "normalized_uvs": true, + "positions": [ + [ -7.25, 24.75, -2.25 ], + [ -3.75, 24.75, -2.25 ], + [ -3.75, 24.75, 2.25 ], + [ -7.25, 24.75, 2.25 ], + [ -7.25, 11.25, 2.25 ], + [ -3.75, 11.25, 2.25 ], + [ -3.75, 11.25, -2.25 ], + [ -7.25, 11.25, -2.25 ], + [ -7.25, 11.25, 2.25 ], + [ -7.25, 11.25, -2.25 ], + [ -7.25, 24.75, -2.25 ], + [ -7.25, 24.75, 2.25 ], + [ -3.75, 11.25, -2.25 ], + [ -3.75, 11.25, 2.25 ], + [ -3.75, 24.75, 2.25 ], + [ -3.75, 24.75, -2.25 ], + [ -7.25, 11.25, -2.25 ], + [ -3.75, 11.25, -2.25 ], + [ -3.75, 24.75, -2.25 ], + [ -7.25, 24.75, -2.25 ], + [ -3.75, 11.25, 2.25 ], + [ -7.25, 11.25, 2.25 ], + [ -7.25, 24.75, 2.25 ], + [ -3.75, 24.75, 2.25 ] + ], + "normals": [ + [ 0, 1, 0 ], + [ 0, -1, 0 ], + [ -1, 0, 0 ], + [ 1, 0, 0 ], + [ 0, 0, -1 ], + [ 0, 0, 1 ] + ], + "uvs": [ + [ 0.59375, 0.703125 ], + [ 0.6171875, 0.703125 ], + [ 0.6171875, 0.734375 ], + [ 0.59375, 0.734375 ], + [ 0.640625, 0.734375 ], + [ 0.6171875, 0.734375 ], + [ 0.6171875, 0.703125 ], + [ 0.640625, 0.703125 ], + [ 0.5625, 0.6015625 ], + [ 0.59375, 0.6015625 ], + [ 0.59375, 0.703125 ], + [ 0.5625, 0.703125 ], + [ 0.6171875, 0.6015625 ], + [ 0.6484375, 0.6015625 ], + [ 0.6484375, 0.703125 ], + [ 0.6171875, 0.703125 ], + [ 0.59375, 0.6015625 ], + [ 0.6171875, 0.6015625 ], + [ 0.6171875, 0.703125 ], + [ 0.59375, 0.703125 ], + [ 0.6484375, 0.6015625 ], + [ 0.671875, 0.6015625 ], + [ 0.671875, 0.703125 ], + [ 0.6484375, 0.703125 ] + ], + "average_normals": null, + "polys": [ + [ + [ 0, 0, 0 ], + [ 1, 0, 1 ], + [ 2, 0, 2 ], + [ 3, 0, 3 ] + ], + [ + [ 4, 1, 4 ], + [ 5, 1, 5 ], + [ 6, 1, 6 ], + [ 7, 1, 7 ] + ], + [ + [ 8, 2, 8 ], + [ 9, 2, 9 ], + [ 10, 2, 10 ], + [ 11, 2, 11 ] + ], + [ + [ 12, 3, 12 ], + [ 13, 3, 13 ], + [ 14, 3, 14 ], + [ 15, 3, 15 ] + ], + [ + [ 16, 4, 16 ], + [ 17, 4, 17 ], + [ 18, 4, 18 ], + [ 19, 4, 19 ] + ], + [ + [ 20, 5, 20 ], + [ 21, 5, 21 ], + [ 22, 5, 22 ], + [ 23, 5, 23 ] + ] + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/tall/tall.meta.json b/resource_pack/pieces/body/tall/tall.meta.json new file mode 100644 index 0000000..9c531e5 --- /dev/null +++ b/resource_pack/pieces/body/tall/tall.meta.json @@ -0,0 +1,92 @@ +{ + "piece_id": "7b75b1d1-1ff6-4ca7-a8d8-49e5f3b3ff97", + "piece_name": "tall", + "piece_type": "persona_body", + "clothing_map": "clothing_map.tga", + "body_variant": "tall", + "face_clothing_map": "face_clothing_map.tga", + "geometry_sources":[ + { + "zone": "body", + "arm_size": "", + "geometry": "geometry.tall_body" + }, + { + "zone": "body_clothing", + "arm_size": "", + "geometry": "geometry.tall_body_clothing" + }, + { + "zone": "head", + "arm_size": "", + "geometry": "geometry.tall_head", + "is_face": "true" + }, + { + "zone": "head_clothing", + "arm_size": "", + "geometry": "geometry.tall_head_clothing", + "is_face": "true" + }, + { + "zone": "left_arm", + "arm_size": "wide", + "geometry": "geometry.tall_left_wide_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.tall_left_wide_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "wide", + "geometry": "geometry.tall_right_wide_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "wide", + "geometry": "geometry.tall_right_wide_clothing_arm" + }, + { + "zone": "left_arm", + "arm_size": "slim", + "geometry": "geometry.tall_left_slim_arm" + }, + { + "zone": "left_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.tall_left_slim_clothing_arm" + }, + { + "zone": "right_arm", + "arm_size": "slim", + "geometry": "geometry.tall_right_slim_arm" + }, + { + "zone": "right_arm_clothing", + "arm_size": "slim", + "geometry": "geometry.tall_right_slim_clothing_arm" + }, + { + "zone": "left_leg", + "arm_size": "", + "geometry": "geometry.tall_left_leg" + }, + { + "zone": "right_leg", + "arm_size": "", + "geometry": "geometry.tall_right_leg" + }, + { + "zone": "left_leg_clothing", + "arm_size": "", + "geometry": "geometry.tall_left_leg_clothing" + }, + { + "zone": "right_leg_clothing", + "arm_size": "", + "geometry": "geometry.tall_right_leg_clothing" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/body/tall_skeleton/tall_skeleton.geometry.json b/resource_pack/pieces/body/tall_skeleton/tall_skeleton.geometry.json new file mode 100644 index 0000000..e9ed99c --- /dev/null +++ b/resource_pack/pieces/body/tall_skeleton/tall_skeleton.geometry.json @@ -0,0 +1,190 @@ +{ + "format_version" : "1.12.0", + "geometry.tall_body":{ + "bones": [ + { + "name": "root", + "pivot": [ 0.0, 0.0, 0.0 ] + }, + { + "name": "waist", + "parent": "root", + "pivot": [ 0.0, 12.0, 0.0 ] + }, + { + "pivot": [ 0.0, 25.0, 0.0 ], + "name": "body", + "parent": "waist", + "locators": { + "armor_offset.default_neck": [ 0.0, 26.0, 0.0 ] + } + } + ] + }, + "geometry.tall_head":{ + "bones":[ + { + "pivot": [ 0, 25, 0 ], + "name": "head", + "parent": "body" + } + ] + }, + "geometry.tall_left_wide_arm": { + "bones": [ + { + "pivot": [ 5.0, 23.0, 0.0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.tall_right_wide_arm": { + "bones": [ + { + "pivot": [ -5.0, 23.0, 0.0 ], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.tall_left_slim_arm": { + "bones": [ + { + "pivot": [ 5.0, 22.5, 0.0 ], + "name": "leftArm", + "parent": "body" + } + ] + }, + "geometry.tall_right_slim_arm": { + "bones": [ + { + "pivot": [-5.0,22.5,0.0], + "name": "rightArm", + "parent": "body" + } + ] + }, + "geometry.tall_left_leg":{ + "bones":[ + { + "pivot": [ 1.9, 12.0, 0.0 ], + "name": "leftLeg", + "parent": "root" + } + ] + }, + "geometry.tall_right_leg":{ + "bones":[ + { + "pivot": [ -1.9, 12.0, 0.0 ], + "name": "rightLeg", + "parent": "root" + } + ] + }, + "geometry.tall_right_item": { + "bones": [ + { + "name": "rightItem", + "parent": "rightArm", + "pivot": [ -6, 15, 1 ], + "locators": { + "lead_hold": [ -6, 15, 1 ] + } + } + ] + }, + "geometry.tall_left_item": { + "bones": [ + { + "name": "leftItem", + "parent": "leftArm", + "pivot": [ 6, 15, 1 ] + } + ] + }, + "geometry.tall_armor": { + "bones": [ + { + "name": "helmet", + "parent": "head", + "pivot": [ 0.0, 25.0, 0.0 ] + }, + { + "name": "rightLegging", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftLegging", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightBoot", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftBoot", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "rightSock", + "pivot": [ -1.9, 12.0, 0.0 ], + "parent": "rightLeg" + }, + { + "name": "leftSock", + "pivot": [ 1.9, 12.0, 0.0 ], + "parent": "leftLeg", + "mirror": true + }, + { + "name": "bodyArmor", + "pivot": [ 0.0, 25.0, 0.0 ], + "parent": "body" + }, + { + "name": "belt", + "pivot": [ 0.0, 25.0, 0.0 ], + "parent": "body" + } + ] + }, + "geometry.tall_armor_wide_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 23.0, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 23.0, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + }, + "geometry.tall_armor_slim_arms": { + "bones": [ + { + "name": "rightArmArmor", + "pivot": [ -5.0, 22.5, 0.0 ], + "parent": "rightArm" + }, + { + "name": "leftArmArmor", + "pivot": [ 5.0, 22.5, 0.0 ], + "parent": "leftArm", + "mirror": true + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/pieces/body/tall_skeleton/tall_skeleton.meta.json b/resource_pack/pieces/body/tall_skeleton/tall_skeleton.meta.json new file mode 100644 index 0000000..8488b09 --- /dev/null +++ b/resource_pack/pieces/body/tall_skeleton/tall_skeleton.meta.json @@ -0,0 +1,60 @@ +{ + "piece_id": "b6e896c8-a385-4284-b1f3-94696698d1e8", + "piece_name": "tall_skeleton", + "piece_type": "persona_skeleton", + "body_variant": "tall", + "geometry_sources":[ + { + "arm_size": "", + "geometry": "geometry.tall_body" + }, + { + "arm_size": "", + "geometry": "geometry.tall_head" + }, + { + "arm_size": "wide", + "geometry": "geometry.tall_left_wide_arm" + }, + { + "arm_size": "wide", + "geometry": "geometry.tall_right_wide_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.tall_left_slim_arm" + }, + { + "arm_size": "slim", + "geometry": "geometry.tall_right_slim_arm" + }, + { + "arm_size": "", + "geometry": "geometry.tall_left_leg" + }, + { + "arm_size": "", + "geometry": "geometry.tall_right_leg" + }, + { + "arm_size": "", + "geometry": "geometry.tall_right_item" + }, + { + "arm_size": "", + "geometry": "geometry.tall_left_item" + }, + { + "arm_size": "", + "geometry": "geometry.tall_armor" + }, + { + "arm_size": "wide", + "geometry": "geometry.tall_armor_wide_arms" + }, + { + "arm_size": "slim", + "geometry": "geometry.tall_armor_slim_arms" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_cardigan/efe_cardigan.meta.json b/resource_pack/pieces/efe_cardigan/efe_cardigan.meta.json new file mode 100644 index 0000000..3a4cdfa --- /dev/null +++ b/resource_pack/pieces/efe_cardigan/efe_cardigan.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "ba5b65fc-b5ae-1c71-5a9a-7137425f9dda", + "piece_name": "efe_cardigan", + "piece_type": "persona_outerwear", + "zone": ["body_front_upper", "body_back_upper", "right_arm_upper", "right_arm_middle", "left_arm_upper", "left_arm_middle"], + "texture_sources": [ + { + "texture": "efe_cardigan.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_cardigan/efe_cardigan.store_info.json b/resource_pack/pieces/efe_cardigan/efe_cardigan.store_info.json new file mode 100644 index 0000000..80a1ce7 --- /dev/null +++ b/resource_pack/pieces/efe_cardigan/efe_cardigan.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_cardigan.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_cardigan_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_earring/efe_earring.meta.json b/resource_pack/pieces/efe_earring/efe_earring.meta.json new file mode 100644 index 0000000..307dcfb --- /dev/null +++ b/resource_pack/pieces/efe_earring/efe_earring.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "6d4faba3-c8e0-6260-7f88-2bfcb4a0037a", + "piece_name": "efe_earring", + "piece_type": "persona_face_accessory", + "texture_sources": [ + { + "texture": "efe_earring.png", + "use_face_uv": true + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_earring/efe_earring.store_info.json b/resource_pack/pieces/efe_earring/efe_earring.store_info.json new file mode 100644 index 0000000..990127c --- /dev/null +++ b/resource_pack/pieces/efe_earring/efe_earring.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_earring.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_earring_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_hair/efe_hair.meta.json b/resource_pack/pieces/efe_hair/efe_hair.meta.json new file mode 100644 index 0000000..c97577a --- /dev/null +++ b/resource_pack/pieces/efe_hair/efe_hair.meta.json @@ -0,0 +1,15 @@ +{ + "piece_id": "491dfbd8-fc6d-2f9d-8983-70bcbb626754", + "piece_name": "efe_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "efe_hair_head.png", + "tint_map": "efe_hair_head_tintmap.tga", + "use_face_uv": true + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_hair/efe_hair.store_info.json b/resource_pack/pieces/efe_hair/efe_hair.store_info.json new file mode 100644 index 0000000..df4bd99 --- /dev/null +++ b/resource_pack/pieces/efe_hair/efe_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_jewels/efe_jewelry.meta.json b/resource_pack/pieces/efe_jewels/efe_jewelry.meta.json new file mode 100644 index 0000000..7c12b01 --- /dev/null +++ b/resource_pack/pieces/efe_jewels/efe_jewelry.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "7e45f152-4641-1041-2194-1522c7ad35f2", + "piece_name": "efe_jewelry", + "piece_type": "persona_hand", + "texture_sources": [ + { + "texture": "efe_jewelry.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_jewels/efe_jewels.store_info.json b/resource_pack/pieces/efe_jewels/efe_jewels.store_info.json new file mode 100644 index 0000000..3fe1c5c --- /dev/null +++ b/resource_pack/pieces/efe_jewels/efe_jewels.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_jewelry.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_jewelry_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_pants/efe_pants.meta.json b/resource_pack/pieces/efe_pants/efe_pants.meta.json new file mode 100644 index 0000000..2c47501 --- /dev/null +++ b/resource_pack/pieces/efe_pants/efe_pants.meta.json @@ -0,0 +1,18 @@ +{ + "piece_id": "c20ee35a-8013-0057-692f-35ec4d77d6ed", + "piece_name": "efe_pants", + "piece_type": "persona_high_pants", + "zone": [ + "body_front_lower", + "body_back_lower", + "left_leg_upper", + "left_leg_middle", + "right_leg_upper", + "right_leg_middle" + ], + "texture_sources": [ + { + "texture": "efe_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_pants/efe_pants.store_info.json b/resource_pack/pieces/efe_pants/efe_pants.store_info.json new file mode 100644 index 0000000..d964821 --- /dev/null +++ b/resource_pack/pieces/efe_pants/efe_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_shirt/efe_shirt.meta.json b/resource_pack/pieces/efe_shirt/efe_shirt.meta.json new file mode 100644 index 0000000..00b3022 --- /dev/null +++ b/resource_pack/pieces/efe_shirt/efe_shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "74c2d026-33f0-f0b1-3f4f-670cb1fe6515", + "piece_name": "efe_shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "efe_shirt.png" + } + ] +} diff --git a/resource_pack/pieces/efe_shirt/efe_shirt.store_info.json b/resource_pack/pieces/efe_shirt/efe_shirt.store_info.json new file mode 100644 index 0000000..6cbdb5c --- /dev/null +++ b/resource_pack/pieces/efe_shirt/efe_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_shirt_Thumbnail_0" +} diff --git a/resource_pack/pieces/efe_shoes/efe_shoes.meta.json b/resource_pack/pieces/efe_shoes/efe_shoes.meta.json new file mode 100644 index 0000000..43c5be4 --- /dev/null +++ b/resource_pack/pieces/efe_shoes/efe_shoes.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "d3777d81-8b2b-d348-daed-710c15805976", + "piece_name": "efe_shoes", + "piece_type": "persona_feet", + "texture_sources": [ + { + "texture": "efe_shoes.png" + } + ] +} diff --git a/resource_pack/pieces/efe_shoes/efe_shoes.store_info.json b/resource_pack/pieces/efe_shoes/efe_shoes.store_info.json new file mode 100644 index 0000000..32f9c9c --- /dev/null +++ b/resource_pack/pieces/efe_shoes/efe_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_shoes_Thumbnail_0" +} diff --git a/resource_pack/pieces/efe_skin/efe_skin.meta.json b/resource_pack/pieces/efe_skin/efe_skin.meta.json new file mode 100644 index 0000000..28084d6 --- /dev/null +++ b/resource_pack/pieces/efe_skin/efe_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "829e70a1-05ea-140e-c42e-3ef9d5894ffe", + "piece_name": "efe_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "efe_skin_head.png", + "tint_map": "efe_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "efe_skin_body.png", + "tint_map": "efe_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/efe_skin/efe_skin.store_info.json b/resource_pack/pieces/efe_skin/efe_skin.store_info.json new file mode 100644 index 0000000..3f7c11d --- /dev/null +++ b/resource_pack/pieces/efe_skin/efe_skin.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.efe_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/efe_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_followMe/communication_follow_me.animation.json b/resource_pack/pieces/emote_followMe/communication_follow_me.animation.json new file mode 100644 index 0000000..f79bebe --- /dev/null +++ b/resource_pack/pieces/emote_followMe/communication_follow_me.animation.json @@ -0,0 +1,377 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.communication_follow_me": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "0.4": [ 0, 0, 0 ], + "0.4333333": [ -0.01361678, 0.01030837, 0.04056035 ], + "0.4666667": [ -0.04951557, 0.037485, 0.1474922 ], + "0.5": [ -0.100269, 0.07590712, 0.2986717 ], + "0.5333334": [ -0.1584498, 0.119952, 0.471975 ], + "0.5666667": [ -0.2166306, 0.1639969, 0.6452783 ], + "0.6": [ -0.2673841, 0.202419, 0.7964578 ], + "0.6333333": [ -0.3032829, 0.2295956, 0.9033897 ], + "0.6666667": [ -0.3168996, 0.239904, 0.9439501 ], + "1.3": [ -0.3168996, 0.239904, 0.9439501 ], + "1.333333": [ -0.3080264, 0.2331867, 0.9175195 ], + "1.366667": [ -0.2839421, 0.214954, 0.8457792 ], + "1.4": [ -0.2484493, 0.1880847, 0.7400568 ], + "1.433333": [ -0.205351, 0.1554578, 0.6116796 ], + "1.466667": [ -0.1584498, 0.119952, 0.471975 ], + "1.5": [ -0.1115487, 0.08444621, 0.3322704 ], + "1.533333": [ -0.06845032, 0.05181926, 0.2038932 ], + "1.566667": [ -0.03295756, 0.02495001, 0.0981708 ], + "1.6": [ -0.00887319, 0.006717312, 0.0264306 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -1.139068, -0.8619664, 0 ], + "0.06666667": [ -4.124362, -3.134423, 0 ], + "0.1": [ -8.308022, -6.347207, 0 ], + "0.1333333": [ -13.04218, -10.03015, 0 ], + "0.1666667": [ -17.67898, -13.7131, 0 ], + "0.2": [ -21.57055, -16.92588, 0 ], + "0.2333333": [ -24.06903, -19.19834, 0 ], + "0.2666667": [ -24.52657, -20.06031, 0 ], + "0.3": [ -24.23448, -20.06031, 0 ], + "0.3333333": [ -24.52657, -20.06031, 0 ], + "0.3666667": [ -24.81865, -20.06031, 0 ], + "0.4": [ -24.52657, -20.06031, 0 ], + "0.4333333": [ -22.40893, -20.02669, 0.008583419 ], + "0.4666667": [ -18.11832, -19.93805, 0.03121243 ], + "0.5": [ -12.41152, -19.81273, 0.06320518 ], + "0.5333334": [ -6.04531, -19.66907, 0.09987978 ], + "0.5666667": [ 0.2235399, -19.52541, 0.1365544 ], + "0.6": [ 5.638251, -19.40009, 0.1685471 ], + "0.6333333": [ 9.442047, -19.31145, 0.1911761 ], + "0.6666667": [ 10.87815, -19.27783, 0.1997596 ], + "1.3": [ 10.87815, -19.27783, 0.1997596 ], + "1.333333": [ 10.57356, -18.73805, 0.1941663 ], + "1.366667": [ 9.746824, -17.27293, 0.1789846 ], + "1.4": [ 8.528471, -15.11382, 0.1566115 ], + "1.433333": [ 7.049043, -12.49203, 0.1294442 ], + "1.466667": [ 5.439076, -9.638913, 0.09987978 ], + "1.5": [ 3.829109, -6.785795, 0.07031537 ], + "1.533333": [ 2.349681, -4.164011, 0.04314806 ], + "1.566667": [ 1.131328, -2.004894, 0.02077499 ], + "1.6": [ 0.3045883, -0.5397791, 0.005593268 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.1233881, 0.07391419, -0.2330523 ], + "0.06666667": [ 0.2641548, 0.1582388, -0.4989288 ], + "0.1": [ 0.4118729, 0.2467276, -0.777935 ], + "0.1333333": [ 0.5561153, 0.3331344, -1.050376 ], + "0.1666667": [ 0.6864548, 0.4112127, -1.296558 ], + "0.2": [ 0.7924643, 0.4747165, -1.496786 ], + "0.2333333": [ 0.8637165, 0.5173993, -1.631366 ], + "0.2666667": [ 0.8897845, 0.533015, -1.680602 ], + "0.3": [ 0.8758833, 0.5197691, -1.666185 ], + "0.3333333": [ 0.8527146, 0.4976925, -1.642155 ], + "0.3666667": [ 0.8480809, 0.4932772, -1.637349 ], + "0.4": [ 0.8897845, 0.533015, -1.680602 ], + "0.4333333": [ 1.024146, 0.7102345, -1.759899 ], + "0.4666667": [ 1.223359, 1.008279, -1.83439 ], + "0.5": [ 1.404037, 1.288662, -1.889657 ], + "0.5333334": [ 1.482794, 1.412898, -1.911284 ], + "0.5666667": [ 1.337961, 0.9004864, -1.816063 ], + "0.6": [ 1.068985, -0.051135, -1.639225 ], + "0.6333333": [ 0.924152, -0.5635465, -1.544004 ], + "1.3": [ 0.924152, -0.5635465, -1.544004 ], + "1.333333": [ 0.8982757, -0.5477672, -1.500772 ], + "1.366667": [ 0.8280402, -0.5049377, -1.383428 ], + "1.4": [ 0.7245352, -0.4418205, -1.210499 ], + "1.433333": [ 0.5988505, -0.3651782, -1.000515 ], + "1.466667": [ 0.462076, -0.2817733, -0.772002 ], + "1.5": [ 0.3253015, -0.1983684, -0.5434894 ], + "1.533333": [ 0.1996168, -0.1217261, -0.3335049 ], + "1.566667": [ 0.0961118, -0.05860884, -0.1605764 ], + "1.6": [ 0.02587626, -0.0157793, -0.04323211 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -11.41886, -5.523003, 2.62549 ], + "0.06666667": [ -24.446, -11.82389, 4.799957 ], + "0.1": [ -38.11646, -18.43594, 6.55452 ], + "0.1333333": [ -51.46527, -24.89241, 7.920295 ], + "0.1666667": [ -63.52744, -30.72656, 8.928397 ], + "0.2": [ -73.33801, -35.47168, 9.609945 ], + "0.2333333": [ -79.93199, -38.66102, 9.996056 ], + "0.2666667": [ -82.34443, -39.82785, 10.11784 ], + "0.4666667": [ -82.34443, -39.82785, 10.11784 ], + "0.5": [ -106.3926, -13.59716, -0.7861231 ], + "0.5333334": [ -130.4408, 23.94145, -11.72085 ], + "0.5666667": [ -122.5695, 46.58214, -11.75047 ], + "0.6": [ -107.6899, 65.10336, -11.75275 ], + "0.6333333": [ -98.90358, 73.25123, -11.78237 ], + "0.6666667": [ -97.69592, 74.02252, -11.85848 ], + "0.7": [ -96.78912, 74.60166, -11.95733 ], + "0.7333333": [ -96.13992, 75.01629, -12.06927 ], + "0.7666667": [ -95.70505, 75.29402, -12.18464 ], + "0.8": [ -95.44124, 75.46251, -12.29381 ], + "0.8333333": [ -95.30523, 75.54937, -12.38712 ], + "0.8666667": [ -95.25375, 75.58225, -12.45491 ], + "0.9": [ -95.24353, 75.58878, -12.48754 ], + "0.9333333": [ -95.23991, 75.59109, -12.49823 ], + "0.9666666": [ -95.237, 75.59295, -12.50679 ], + "1": [ -95.23474, 75.59439, -12.51345 ], + "1.033333": [ -95.23304, 75.59547, -12.51846 ], + "1.066667": [ -95.23183, 75.59625, -12.52205 ], + "1.1": [ -95.23101, 75.59678, -12.52446 ], + "1.133333": [ -95.23051, 75.59709, -12.52592 ], + "1.166667": [ -95.23026, 75.59725, -12.52667 ], + "1.2": [ -95.23016, 75.59731, -12.52694 ], + "1.233333": [ -95.23015, 75.59732, -12.52698 ], + "1.3": [ -95.23015, 75.59732, -12.52698 ], + "1.333333": [ -93.42078, 74.16097, -12.28897 ], + "1.366667": [ -88.37358, 70.15431, -11.62504 ], + "1.4": [ -80.65993, 64.03093, -10.61035 ], + "1.433333": [ -70.85123, 56.24441, -9.320074 ], + "1.466667": [ -59.51884, 47.24833, -7.829363 ], + "1.5": [ -47.23415, 37.49627, -6.213383 ], + "1.533333": [ -34.56855, 27.44183, -4.547294 ], + "1.566667": [ -22.0934, 17.53858, -2.90626 ], + "1.6": [ -10.38009, 8.240108, -1.365441 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -5.122708E-16, -3.976265E-16, 0.005394763 ], + "0.06666667": [ -1.862803E-15, -1.445914E-15, 0.01972542 ], + "0.1": [ -3.772176E-15, -2.927977E-15, 0.04021152 ], + "0.1333333": [ -5.960969E-15, -4.626926E-15, 0.06407263 ], + "0.1666667": [ -8.149762E-15, -6.325875E-15, 0.08852828 ], + "0.2": [ -1.005914E-14, -7.807938E-15, 0.110798 ], + "0.2333333": [ -1.140967E-14, -8.856226E-15, 0.1281015 ], + "0.2666667": [ -1.192194E-14, -9.253852E-15, 0.1376581 ], + "0.3": [ -1.005914E-14, -7.807938E-15, 0.1413245 ], + "0.3333333": [ -5.960969E-15, -4.626926E-15, 0.1432073 ], + "0.3666667": [ -1.862803E-15, -1.445914E-15, 0.1439009 ], + "0.4": [ 0, 0, 0.144 ], + "0.4333333": [ 0.0001841525, 0, 0.1523327 ], + "0.4666667": [ 0.0006696456, 0, 0.1743007 ], + "0.5": [ 0.001356032, 0, 0.2053589 ], + "0.5333334": [ 0.002142866, 0, 0.2409622 ], + "0.5666667": [ 0.002929699, 0, 0.2765655 ], + "0.6": [ 0.003616086, 0, 0.3076237 ], + "0.6333333": [ 0.004101579, 0, 0.3295917 ], + "0.6666667": [ 0.004285731, 0, 0.3379243 ], + "0.7": [ 0.004231128, 0, 0.3378998 ], + "0.7333333": [ 0.004077476, 0, 0.3378308 ], + "0.7666667": [ 0.003840015, 0, 0.3377242 ], + "0.8": [ 0.003533982, 0, 0.3375868 ], + "0.8333333": [ 0.003174616, 0, 0.3374254 ], + "0.8666667": [ 0.002777154, 0, 0.337247 ], + "0.9": [ 0.002356835, 0, 0.3370582 ], + "0.9333333": [ 0.001928897, 0, 0.3368661 ], + "0.9666666": [ 0.001508577, 0, 0.3366774 ], + "1": [ 0.001111116, 0, 0.3364989 ], + "1.033333": [ 0.000751749, 0, 0.3363375 ], + "1.066667": [ 0.0004457161, 0, 0.3362001 ], + "1.1": [ 0.0002082548, 0, 0.3360935 ], + "1.133333": [ 5.460339E-05, 0, 0.3360245 ], + "1.166667": [ 0, 0, 0.336 ], + "1.333333": [ 0, 0, 0.336 ], + "1.366667": [ 0, 0, 0.3244774 ], + "1.4": [ 0, 0, 0.2935967 ], + "1.433333": [ 0, 0, 0.2488889 ], + "1.466667": [ 0, 0, 0.1958848 ], + "1.5": [ 0, 0, 0.1401152 ], + "1.533333": [ 0, 0, 0.08711111 ], + "1.566667": [ 0, 0, 0.04240329 ], + "1.6": [ 0, 0, 0.01152263 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0.5445679 ], + "0.06666667": [ 0, 0, 1.980247 ], + "0.1": [ 0, 0, 4.01 ], + "0.1333333": [ 0, 0, 6.33679 ], + "0.1666667": [ 0, 0, 8.66358 ], + "0.2": [ 0, 0, 10.69333 ], + "0.2333333": [ 0, 0, 12.12901 ], + "0.2666667": [ 0, 0, 12.67358 ], + "0.4": [ 0, 0, 12.67358 ], + "0.4333333": [ 0.2471588, 0, 12.67358 ], + "0.4666667": [ 0.8987594, 0, 12.67358 ], + "0.5": [ 1.819988, 0, 12.67358 ], + "0.5333334": [ 2.87603, 0, 12.67358 ], + "0.5666667": [ 3.932072, 0, 12.67358 ], + "0.6": [ 4.853301, 0, 12.67358 ], + "0.6333333": [ 5.504901, 0, 12.67358 ], + "0.6666667": [ 5.75206, 0, 12.67358 ], + "1.333333": [ 5.75206, 0, 12.67358 ], + "1.366667": [ 5.15833, -0.4434789, 17.11201 ], + "1.4": [ 3.933952, -1.267083, 25.3548 ], + "1.433333": [ 2.914144, -1.710562, 29.79322 ], + "1.466667": [ 2.254449, -1.583853, 27.58632 ], + "1.5": [ 1.59052, -1.267083, 22.06905 ], + "1.533333": [ 0.9777334, -0.8552808, 14.89661 ], + "1.566667": [ 0.4714664, -0.4434789, 7.724169 ], + "1.6": [ 0.1270961, -0.1267083, 2.206905 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "hip": { + "position": { + "0": [ 0, 0, 0 ], + "0.4": [ 0, 0, 0 ], + "0.4333333": [ 0, 0.1236822, 0 ], + "0.4666667": [ 0, 0.3533778, 0 ], + "0.5": [ 0, 0.4770601, 0 ], + "0.5333334": [ 0, 0.4565614, 0 ], + "0.5666667": [ 0, 0.4025194, 0 ], + "0.6": [ 0, 0.3261153, 0 ], + "0.6333333": [ 0, 0.23853, 0 ], + "0.6666667": [ 0, 0.1509448, 0 ], + "0.7": [ 0, 0.07454064, 0 ], + "0.7333333": [ 0, 0.02049868, 0 ], + "0.7666667": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, -16.93906, 0 ], + "0.03333334": [ 1.11803, -16.60289, 0.205517 ], + "0.06666667": [ 4.065564, -15.71979, 0.7473346 ], + "0.1": [ 8.232766, -14.47786, 1.513353 ], + "0.1333333": [ 13.0098, -13.06521, 2.391471 ], + "0.1666667": [ 17.78684, -11.66993, 3.269589 ], + "0.2": [ 21.95404, -10.48013, 4.035607 ], + "0.2333333": [ 24.90158, -9.683911, 4.577425 ], + "0.2666667": [ 26.01961, -9.469379, 4.782942 ], + "0.3": [ 26.01961, -9.521508, 4.782942 ], + "0.3333333": [ 26.01961, -9.469379, 4.782942 ], + "0.3666667": [ 26.01961, -9.41725, 4.782942 ], + "0.4": [ 26.01961, -9.469379, 4.782942 ], + "0.4333333": [ 16.633, -3.538363, 2.229257 ], + "0.4666667": [ -1.250122, 7.622015, -2.824487 ], + "0.5": [ -12.21473, 13.64571, -6.467325 ], + "0.5333334": [ -14.29818, 13.53308, -8.006933 ], + "0.5666667": [ -15.86385, 13.23617, -9.355392 ], + "0.6": [ -16.98571, 12.8164, -10.50835 ], + "0.6333333": [ -17.73773, 12.33521, -11.46144 ], + "0.6666667": [ -18.19387, 11.85401, -12.21032 ], + "0.7": [ -18.4281, 11.43424, -12.75062 ], + "0.7333333": [ -18.5144, 11.13733, -13.078 ], + "0.7666667": [ -18.52673, 11.0247, -13.18809 ], + "1.366667": [ -18.52673, 11.0247, -13.18809 ], + "1.4": [ -17.98395, 10.20546, -12.80172 ], + "1.433333": [ -16.50036, 7.966175, -11.74564 ], + "1.466667": [ -14.29308, 4.634562, -10.17441 ], + "1.5": [ -11.5792, 0.5383158, -8.242558 ], + "1.533333": [ -8.575848, -3.994863, -6.104644 ], + "1.566667": [ -5.500122, -8.637275, -3.915215 ], + "1.6": [ -2.569136, -13.06122, -1.828817 ], + "1.633333": [ 0, -16.939, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.9413462, -0.2160534, 0.528291 ], + "0.06666667": [ 3.423077, -0.7856486, 1.921058 ], + "0.1": [ 6.931731, -1.590939, 3.890143 ], + "0.1333333": [ 10.95385, -2.514076, 6.147387 ], + "0.1666667": [ 14.97596, -3.437213, 8.40463 ], + "0.2": [ 18.48462, -4.242503, 10.37372 ], + "0.2333333": [ 20.96635, -4.812098, 11.76648 ], + "0.2666667": [ 21.90769, -5.028152, 12.29477 ], + "1.3": [ 21.90769, -5.028152, 12.29477 ], + "1.333333": [ 21.29428, -5.028152, 11.95052 ], + "1.366667": [ 19.62929, -5.028152, 11.01612 ], + "1.4": [ 17.17563, -5.028152, 9.639102 ], + "1.433333": [ 14.19619, -5.028152, 7.967013 ], + "1.466667": [ 10.95385, -5.028152, 6.147387 ], + "1.5": [ 7.711508, -4.505224, 4.32776 ], + "1.533333": [ 4.732062, -3.258242, 2.655671 ], + "1.566667": [ 2.2784, -1.769909, 1.278656 ], + "1.6": [ 0.6134154, -0.5229278, 0.3442537 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0.9769326, 0 ], + "0.06666667": [ 0, 3.552482, 0 ], + "0.1": [ 0, 7.193777, 0 ], + "0.1333333": [ 0, 11.36794, 0 ], + "0.1666667": [ 0, 15.54211, 0 ], + "0.2": [ 0, 19.1834, 0 ], + "0.2333333": [ 0, 21.75896, 0 ], + "0.2666667": [ 0, 22.73589, 0 ], + "1.3": [ 0, 22.73589, 0 ], + "1.333333": [ 0, 22.09928, 0 ], + "1.366667": [ 0, 20.37136, 0 ], + "1.4": [ 0, 17.82494, 0 ], + "1.433333": [ 0, 14.73285, 0 ], + "1.466667": [ 0, 11.36794, 0 ], + "1.5": [ 0, 8.003033, 0 ], + "1.533333": [ 0, 4.910952, 0 ], + "1.566667": [ 0, 2.364532, 0 ], + "1.6": [ 0, 0.6366048, 0 ], + "1.633333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.633333": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_followMe/communication_follow_me.meta.json b/resource_pack/pieces/emote_followMe/communication_follow_me.meta.json new file mode 100644 index 0000000..34f35fa --- /dev/null +++ b/resource_pack/pieces/emote_followMe/communication_follow_me.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "17428c4c-3813-4ea1-b3a9-d6a32f83afca", + "piece_name": "communication_follow_me", + "piece_type": "persona_emote", + "animation_sources": [ + { + "name": "animation.communication_follow_me", + "animationFile": "communication_follow_me.animation.json" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_followMe/communication_follow_me.store_info.json b/resource_pack/pieces/emote_followMe/communication_follow_me.store_info.json new file mode 100644 index 0000000..f5af0e4 --- /dev/null +++ b/resource_pack/pieces/emote_followMe/communication_follow_me.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "dr.default.emote.communicationFollowMe", + "piece_thumbnail": "textures/persona_thumbnails/communication_follow_me_thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_overThere/communication_point.animation.json b/resource_pack/pieces/emote_overThere/communication_point.animation.json new file mode 100644 index 0000000..83dd2af --- /dev/null +++ b/resource_pack/pieces/emote_overThere/communication_point.animation.json @@ -0,0 +1,257 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.communication_point": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.5110848, 0, 0 ], + "0.06666667": [ 1.788797, 0, 0 ], + "0.1": [ 3.449822, 0, 0 ], + "0.1333333": [ 5.110848, 0, 0 ], + "0.1666667": [ 6.38856, 0, 0 ], + "0.2": [ 6.899645, 0, 0 ], + "0.2333333": [ 6.560359, 0, 0 ], + "0.2666667": [ 5.63944, 0, 0 ], + "0.3": [ 4.282296, 0, 0 ], + "0.3333333": [ 2.634336, 0, 0 ], + "0.3666667": [ 0.8409677, 0, 0 ], + "0.4": [ -0.9524009, 0, 0 ], + "0.4333333": [ -2.600361, 0, 0 ], + "0.4666667": [ -3.957505, 0, 0 ], + "0.5": [ -4.878424, 0, 0 ], + "0.5333334": [ -5.21771, 0, 0 ], + "0.5666667": [ -4.392309, 0, 0 ], + "0.6": [ -2.387763, 0, 0 ], + "0.6333333": [ 0.08844019, 0, 0 ], + "0.6666667": [ 2.328815, 0, 0 ], + "1.133333": [ 2.328815, 0, 0 ], + "1.166667": [ 1.886771, 0, 0 ], + "1.2": [ 1.380038, 0, 0 ], + "1.233333": [ 0.8733054, 0, 0 ], + "1.266667": [ 0.431262, 0, 0 ], + "1.3": [ 0.118597, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -0.5466079, 0.01181411, -0.05550765 ], + "0.06666667": [ -1.913127, 0.04216728, -0.1981196 ], + "0.1": [ -3.689603, 0.08342579, -0.3919694 ], + "0.1333333": [ -5.466078, 0.1279559, -0.6011906 ], + "0.1666667": [ -6.832598, 0.1681239, -0.7899166 ], + "0.2": [ -7.379206, 0.196296, -0.922281 ], + "0.2333333": [ -7.249319, 0.215153, -1.010879 ], + "0.2666667": [ -6.878899, 0.2325793, -1.092755 ], + "0.3": [ -6.296811, 0.2487465, -1.168716 ], + "0.3333333": [ -5.531919, 0.2638264, -1.239567 ], + "0.3666667": [ -4.613086, 0.2779906, -1.306117 ], + "0.4": [ -3.569176, 0.2914108, -1.369171 ], + "0.4333333": [ -2.429054, 0.3042588, -1.429536 ], + "0.4666667": [ -1.221583, 0.3167061, -1.488018 ], + "0.5": [ 0.02437398, 0.3289245, -1.545426 ], + "0.5333334": [ 1.279952, 0.3410857, -1.602564 ], + "0.5666667": [ 2.516287, 0.3533614, -1.66024 ], + "0.6": [ 3.704516, 0.3659232, -1.719261 ], + "0.6333333": [ 4.815774, 0.3789428, -1.780433 ], + "0.6666667": [ 5.821199, 0.392592, -1.844562 ], + "1.133333": [ 5.821199, 0.392592, -1.844562 ], + "1.166667": [ 4.716249, 0.3180722, -1.494437 ], + "1.2": [ 3.4496, 0.2326471, -1.093074 ], + "1.233333": [ 2.18295, 0.147222, -0.6917107 ], + "1.266667": [ 1.078, 0.07270221, -0.3415855 ], + "1.3": [ 0.29645, 0.01999311, -0.09393603 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -0.9612063, 0.02427977, 0.1423448 ], + "0.06666667": [ -3.600533, 0.09636874, 0.4982068 ], + "0.1": [ -7.551544, 0.2151414, 0.9608274 ], + "0.1333333": [ -12.4478, 0.3794723, 1.423448 ], + "0.1666667": [ -17.92286, 0.588236, 1.77931 ], + "0.2": [ -23.6103, 0.8403068, 1.921655 ], + "0.2333333": [ -30.08392, 1.160652, 1.506114 ], + "0.2666667": [ -37.85164, 1.557655, 0.3782193 ], + "0.3": [ -46.44815, 2.005319, -1.283942 ], + "0.3333333": [ -55.40813, 2.477645, -3.30228 ], + "0.3666667": [ -64.26627, 2.948635, -5.498707 ], + "0.4": [ -72.55727, 3.392289, -7.695135 ], + "0.4333333": [ -79.81581, 3.78261, -9.713473 ], + "0.4666667": [ -85.57658, 4.0936, -11.37563 ], + "0.5": [ -89.37428, 4.299259, -12.50353 ], + "0.5333334": [ -90.74357, 4.373589, -12.91907 ], + "0.5666667": [ -89.92592, 4.373589, -12.91907 ], + "0.6": [ -87.94019, 4.373589, -12.91907 ], + "0.6333333": [ -85.48723, 4.373589, -12.91907 ], + "0.6666667": [ -83.26789, 4.373589, -12.91907 ], + "1.133333": [ -83.26789, 4.373589, -12.91907 ], + "1.166667": [ -67.46241, 3.543417, -10.46684 ], + "1.2": [ -49.34393, 2.591757, -7.655745 ], + "1.233333": [ -31.22546, 1.640096, -4.844651 ], + "1.266667": [ -15.41998, 0.8099239, -2.39242 ], + "1.3": [ -4.240494, 0.2227291, -0.6579156 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "hip": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.7862477, 0, 0 ], + "0.06666667": [ 2.751867, 0, 0 ], + "0.1": [ 5.307172, 0, 0 ], + "0.1333333": [ 7.862476, 0, 0 ], + "0.1666667": [ 9.828095, 0, 0 ], + "0.2": [ 10.61434, 0, 0 ], + "0.2333333": [ 9.997004, 0, 0 ], + "0.2666667": [ 8.369471, 0, 0 ], + "0.3": [ 6.068476, 0, 0 ], + "0.3333333": [ 3.43075, 0, 0 ], + "0.3666667": [ 0.7930242, 0, 0 ], + "0.4": [ -1.507971, 0, 0 ], + "0.4333333": [ -3.135504, 0, 0 ], + "0.4666667": [ -3.752844, 0, 0 ], + "0.5": [ -3.622301, 0, 0 ], + "0.5333334": [ -3.278143, 0, 0 ], + "0.5666667": [ -2.791575, 0, 0 ], + "0.6": [ -2.233802, 0, 0 ], + "0.6333333": [ -1.676029, 0, 0 ], + "0.6666667": [ -1.189461, 0, 0 ], + "1.133333": [ -1.189461, 0, 0 ], + "1.166667": [ -0.9636838, 0, 0 ], + "1.2": [ -0.7048659, 0, 0 ], + "1.233333": [ -0.4460479, 0, 0 ], + "1.266667": [ -0.2202706, 0, 0 ], + "1.3": [ -0.06057441, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -0.4924149, 0, 0 ], + "0.06666667": [ -1.723452, 0, 0 ], + "0.1": [ -3.323801, 0, 0 ], + "0.1333333": [ -4.924149, 0, 0 ], + "0.1666667": [ -6.155186, 0, 0 ], + "0.2": [ -6.647601, 0, 0 ], + "0.2333333": [ -6.143631, 0, 0 ], + "0.2666667": [ -4.814982, 0, 0 ], + "0.3": [ -2.936547, 0, 0 ], + "0.3333333": [ -0.7832194, 0, 0 ], + "0.3666667": [ 1.370108, 0, 0 ], + "0.4": [ 3.248543, 0, 0 ], + "0.4333333": [ 4.577192, 0, 0 ], + "0.4666667": [ 5.081162, 0, 0 ], + "1.133333": [ 5.081162, 0, 0 ], + "1.166667": [ 4.116683, 0, 0 ], + "1.2": [ 3.011059, 0, 0 ], + "1.233333": [ 1.905436, 0, 0 ], + "1.266667": [ 0.940956, 0, 0 ], + "1.3": [ 0.2587629, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "1.333333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.1481392, 0, 0 ], + "0.06666667": [ 0.5184872, 0, 0 ], + "0.1": [ 0.9999396, 0, 0 ], + "0.1333333": [ 1.481392, 0, 0 ], + "0.1666667": [ 1.85174, 0, 0 ], + "0.2": [ 1.999879, 0, 0 ], + "0.2333333": [ 1.71074, 0, 0 ], + "0.2666667": [ 1.021255, 0, 0 ], + "0.3": [ 0.1983221, 0, 0 ], + "0.3333333": [ -0.4911627, 0, 0 ], + "0.3666667": [ -0.7803016, 0, 0 ], + "1.333333": [ -0.7803016, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "1.333333": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_overThere/communication_point.meta.json b/resource_pack/pieces/emote_overThere/communication_point.meta.json new file mode 100644 index 0000000..ff243d6 --- /dev/null +++ b/resource_pack/pieces/emote_overThere/communication_point.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "ce5c0300-7f03-455d-aaf1-352e4927b54d", + "piece_name": "communication_point", + "piece_type": "persona_emote", + "animation_sources": [ + { + "name": "animation.communication_point", + "animationFile": "communication_point.animation.json" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_overThere/communication_point.store_info.json b/resource_pack/pieces/emote_overThere/communication_point.store_info.json new file mode 100644 index 0000000..1980b05 --- /dev/null +++ b/resource_pack/pieces/emote_overThere/communication_point.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "dr.default.emote.communicationPoint", + "piece_thumbnail": "textures/persona_thumbnails/communication_point_thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_simpleClap/basic_clap.animation.json b/resource_pack/pieces/emote_simpleClap/basic_clap.animation.json new file mode 100644 index 0000000..7b1df93 --- /dev/null +++ b/resource_pack/pieces/emote_simpleClap/basic_clap.animation.json @@ -0,0 +1,475 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.basic_clap": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "1.766667": [ 0, 0, 0 ], + "1.8": [ 0.2738051, 0, 0 ], + "1.833333": [ 1.007603, 0, 0 ], + "1.866667": [ 2.069967, 0, 0 ], + "1.9": [ 3.32947, 0, 0 ], + "1.933333": [ 4.654687, 0, 0 ], + "1.966667": [ 5.91419, 0, 0 ], + "2": [ 6.976554, 0, 0 ], + "2.033333": [ 7.710352, 0, 0 ], + "2.066667": [ 7.984157, 0, 0 ], + "2.1": [ 5.91419, 0, 0 ], + "2.133333": [ 2.069967, 0, 0 ], + "2.166667": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.06322052, 0.01942238, -0.001144682 ], + "0.06666667": [ 0.2212718, 0.06797834, -0.004006385 ], + "0.1": [ 0.4267385, 0.1311011, -0.0077266 ], + "0.1333333": [ 0.6322052, 0.1942238, -0.01144682 ], + "0.1666667": [ 0.7902565, 0.2427798, -0.01430852 ], + "0.2": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.2333333": [ 0.8534771, 0.2622021, -0.01352155 ], + "0.2666667": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.3": [ 0.8534771, 0.2622021, -0.01738485 ], + "0.3333333": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.3666667": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.4": [ 0.8534771, 0.2622021, -0.01352155 ], + "0.4333333": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.4666667": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.5": [ 0.8534771, 0.2622021, -0.01888725 ], + "0.5333334": [ 0.8534771, 0.2622021, -0.01717022 ], + "0.5666667": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.6": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.6333333": [ 0.8534771, 0.2622021, -0.01373618 ], + "0.6666667": [ 0.8534771, 0.2622021, -0.01201916 ], + "0.7": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.7333333": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.7666667": [ 0.8534771, 0.2622021, -0.01888725 ], + "0.8": [ 0.8534771, 0.2622021, -0.01717022 ], + "0.8333333": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.8666667": [ 0.8534771, 0.2622021, -0.0154532 ], + "0.9": [ 0.8534771, 0.2622021, -0.01373618 ], + "0.9333333": [ 0.8534771, 0.2622021, -0.01201916 ], + "0.9666666": [ 0.8534771, 0.2622021, -0.0154532 ], + "1": [ 0.8534771, 0.2622021, -0.0154532 ], + "1.033333": [ 0.8534771, 0.2622021, -0.01888725 ], + "1.066667": [ 0.8534771, 0.2622021, -0.01717022 ], + "1.1": [ 0.8534771, 0.2622021, -0.0154532 ], + "1.133333": [ 0.8534771, 0.2622021, -0.0154532 ], + "1.166667": [ 0.8534771, 0.2622021, -0.01373618 ], + "1.2": [ 0.8534771, 0.2622021, -0.01201916 ], + "1.233333": [ 0.8534771, 0.2622021, -0.0154532 ], + "1.266667": [ 0.8534771, 0.2622021, -0.0154532 ], + "1.3": [ 0.8534771, 0.2622021, -0.01979941 ], + "1.333333": [ 0.8534771, 0.2622021, -0.0193165 ], + "1.366667": [ 0.8534771, 0.2622021, -0.01690194 ], + "1.4": [ 0.8534771, 0.2622021, -0.0154532 ], + "1.9": [ 0.8534771, 0.2622021, -0.0154532 ], + "1.933333": [ 0.7744514, 0.2379242, -0.01402235 ], + "1.966667": [ 0.6005949, 0.1845126, -0.01087448 ], + "2": [ 0.4267385, 0.1311011, -0.0077266 ], + "2.033333": [ 0.2528821, 0.07768953, -0.004578726 ], + "2.066667": [ 0.07902565, 0.02427798, -0.001430852 ], + "2.1": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -7.074744, -1.111111, -1.345676 ], + "0.06666667": [ -24.7616, -3.888889, -4.709867 ], + "0.1": [ -47.75452, -7.5, -9.083315 ], + "0.1333333": [ -70.74744, -11.11111, -13.45676 ], + "0.1666667": [ -88.4343, -13.88889, -16.82095 ], + "0.2": [ -95.50905, -15, -18.16663 ], + "0.2333333": [ -95.47248, -15, -18.16663 ], + "0.2666667": [ -95.50905, -15, -18.16663 ], + "0.3": [ -93.65608, -9.547333, -16.13953 ], + "0.3333333": [ -90.4703, 26.34392, -10.10155 ], + "0.3666667": [ -90.4703, 26.34392, -10.10155 ], + "0.4": [ -93.58295, 0.503971, -15.14223 ], + "0.4333333": [ -95.50905, -15, -18.16663 ], + "0.4666667": [ -95.50905, -15, -18.16663 ], + "0.5": [ -94.64095, -12.8699, -17.22705 ], + "0.5333334": [ -92.55563, -1.552261, -14.50826 ], + "0.5666667": [ -90.4703, 26.34392, -10.16018 ], + "0.6": [ -90.4703, 26.34392, -10.16018 ], + "0.6333333": [ -92.49062, 2.854377, -14.91924 ], + "0.6666667": [ -94.51094, -10.66658, -17.43254 ], + "0.7": [ -95.50905, -15, -18.16663 ], + "0.7333333": [ -95.50905, -15, -18.16663 ], + "0.7666667": [ -94.64095, -11.28602, -17.34562 ], + "0.8": [ -92.55563, 1.615501, -14.74539 ], + "0.8333333": [ -90.4703, 26.34392, -10.16018 ], + "0.8666667": [ -90.4703, 26.34392, -10.16018 ], + "0.9": [ -92.49062, 4.787504, -14.32901 ], + "0.9333333": [ -94.51094, -9.700017, -17.13742 ], + "0.9666666": [ -95.50905, -15, -18.16663 ], + "1": [ -95.50905, -15, -18.16663 ], + "1.033333": [ -94.64095, -11.28602, -17.34562 ], + "1.066667": [ -92.55563, 1.615501, -14.74539 ], + "1.1": [ -90.4703, 26.34392, -10.16018 ], + "1.133333": [ -90.4703, 26.34392, -10.16018 ], + "1.166667": [ -92.49062, 4.787504, -14.32901 ], + "1.2": [ -94.51094, -9.700017, -17.13742 ], + "1.233333": [ -95.50905, -15, -18.16663 ], + "1.266667": [ -95.50905, -15, -18.16663 ], + "1.3": [ -95.23986, -14.45032, -17.9743 ], + "1.333333": [ -94.32443, -10.08887, -16.98655 ], + "1.366667": [ -93.03972, 2.153, -14.58723 ], + "1.4": [ -91.66269, 26.34392, -10.16018 ], + "1.433333": [ -90.4703, 26.34392, -10.16018 ], + "1.466667": [ -90.4703, 16.21425, -12.89796 ], + "1.5": [ -91.15303, 7.786295, -14.94239 ], + "1.533333": [ -91.91133, 0.9238892, -16.3926 ], + "1.566667": [ -92.69985, -4.509148, -17.34771 ], + "1.6": [ -93.47326, -8.648993, -17.90688 ], + "1.633333": [ -94.18622, -11.63182, -18.16922 ], + "1.666667": [ -94.7934, -13.59382, -18.23387 ], + "1.7": [ -95.24945, -14.67115, -18.19996 ], + "1.733333": [ -95.50905, -15, -18.16663 ], + "1.766667": [ -95.60265, -15, -18.16663 ], + "1.8": [ -95.61436, -15, -18.16663 ], + "1.833333": [ -95.57925, -15, -18.16663 ], + "1.866667": [ -95.53245, -15, -18.16663 ], + "1.9": [ -95.50905, -15, -18.16663 ], + "1.933333": [ -88.86333, -19.50891, -22.99758 ], + "1.966667": [ -74.07685, -27.88261, -31.96935 ], + "2": [ -58.87565, -32.39152, -36.8003 ], + "2.033333": [ -44.88732, -29.0824, -36.77835 ], + "2.066667": [ -30.48426, -21.90858, -36.62473 ], + "2.1": [ -18.50968, -15.00039, -36.20776 ], + "2.133333": [ -9.349717, -8.712029, -26.55721 ], + "2.166667": [ -2.618227, -2.689304, -9.255521 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -0.01095967, -0.06238497, -0.01650891 ], + "0.06666667": [ -0.03985334, -0.2268544, -0.0600324 ], + "0.1": [ -0.08070301, -0.4593802, -0.1215656 ], + "0.1333333": [ -0.1275307, -0.7259342, -0.1921037 ], + "0.1666667": [ -0.1743584, -0.9924881, -0.2626418 ], + "0.2": [ -0.215208, -1.225014, -0.324175 ], + "1.9": [ -0.215208, -1.225014, -0.324175 ], + "1.933333": [ -0.1952814, -1.111587, -0.2941588 ], + "1.966667": [ -0.1514427, -0.8620468, -0.2281231 ], + "2": [ -0.107604, -0.612507, -0.1620875 ], + "2.033333": [ -0.06376534, -0.3629671, -0.09605184 ], + "2.066667": [ -0.01992667, -0.1134272, -0.0300162 ], + "2.1": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -6.698921, 1.223183, -1.940489 ], + "0.06666667": [ -23.44622, 3.785682, -6.79171 ], + "0.1": [ -45.21772, 7.01571, -13.0983 ], + "0.1333333": [ -66.9892, 10.24148, -19.40489 ], + "0.1666667": [ -83.73651, 12.79121, -24.25611 ], + "0.2": [ -90.43543, 13.99311, -26.1966 ], + "0.2333333": [ -90.37345, 13.99321, -26.1966 ], + "0.2666667": [ -90.43543, 13.99311, -26.1966 ], + "0.3": [ -88.77888, 6.296447, -23.58992 ], + "0.3333333": [ -85.85268, -29.19982, -12.07452 ], + "0.3666667": [ -85.85268, -29.19982, -12.07452 ], + "0.4": [ -88.65492, 6.783175, -23.8992 ], + "0.4333333": [ -90.43543, 13.99311, -26.1966 ], + "0.4666667": [ -90.43543, 13.99311, -26.1966 ], + "0.5": [ -89.69695, 12.62088, -24.99051 ], + "0.5333334": [ -87.77482, 1.44852, -20.64618 ], + "0.5666667": [ -85.85268, -29.19982, -12.07452 ], + "0.6": [ -85.85268, -29.19982, -12.07452 ], + "0.6333333": [ -87.66463, -3.968007, -20.551 ], + "0.6666667": [ -89.47659, 9.710999, -24.94292 ], + "0.7": [ -90.43543, 13.99311, -26.1966 ], + "0.7333333": [ -90.43543, 13.99311, -26.1966 ], + "0.7666667": [ -89.69695, 9.89964, -24.66238 ], + "0.8": [ -87.77482, -3.994395, -19.98991 ], + "0.8333333": [ -85.85268, -29.19982, -12.07452 ], + "0.8666667": [ -85.85268, -29.19982, -12.07452 ], + "0.9": [ -87.66463, -7.5009, -19.37163 ], + "0.9333333": [ -89.47659, 7.944553, -24.35323 ], + "0.9666666": [ -90.43543, 13.99311, -26.1966 ], + "1": [ -90.43543, 13.99311, -26.1966 ], + "1.033333": [ -89.69695, 9.89964, -24.66238 ], + "1.066667": [ -87.77482, -3.994395, -19.98991 ], + "1.1": [ -85.85268, -29.19982, -12.07452 ], + "1.133333": [ -85.85268, -29.19982, -12.07452 ], + "1.166667": [ -87.66463, -7.5009, -19.37163 ], + "1.2": [ -89.47659, 7.944553, -24.35323 ], + "1.233333": [ -90.43543, 13.99311, -26.1966 ], + "1.266667": [ -90.43543, 13.99311, -26.1966 ], + "1.3": [ -90.26413, 13.29565, -25.78473 ], + "1.333333": [ -89.44074, 8.230609, -23.92144 ], + "1.366667": [ -88.24472, -4.751416, -19.66521 ], + "1.4": [ -86.95554, -29.19982, -12.07452 ], + "1.433333": [ -85.85268, -29.19982, -12.07452 ], + "1.466667": [ -85.85268, -18.19647, -16.80939 ], + "1.5": [ -86.46106, -9.168137, -20.36542 ], + "1.533333": [ -87.12022, -1.933101, -22.90864 ], + "1.566667": [ -87.79967, 3.690336, -24.60508 ], + "1.6": [ -88.46899, 7.883875, -25.62077 ], + "1.633333": [ -89.09768, 10.82922, -26.12174 ], + "1.666667": [ -89.65529, 12.70807, -26.27401 ], + "1.7": [ -90.11136, 13.70214, -26.24362 ], + "1.733333": [ -90.43543, 13.99311, -26.1966 ], + "1.766667": [ -90.59409, 13.99311, -26.1966 ], + "1.8": [ -90.61392, 13.99311, -26.1966 ], + "1.833333": [ -90.55443, 13.99311, -26.1966 ], + "1.866667": [ -90.4751, 13.99311, -26.1966 ], + "1.9": [ -90.43543, 13.99311, -26.1966 ], + "1.933333": [ -84.86889, 20.23625, -18.39943 ], + "1.966667": [ -72.17011, 31.83065, -2.245143 ], + "2": [ -58.3404, 38.07379, 11.41044 ], + "2.033333": [ -44.03257, 35.87492, 19.23571 ], + "2.066667": [ -28.59379, 30.58259, 24.56228 ], + "2.1": [ -16.06687, 24.1533, 26.52914 ], + "2.133333": [ -7.579872, 14.9978, 19.65121 ], + "2.166667": [ -2.004729, 4.705337, 6.877925 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + }, + "hip": { + "position": { + "0": [ 0.2918019, 0.1654032, 0.1829297 ], + "0.03333334": [ 0.3647523, 0.2067541, 0.2286622 ], + "0.06666667": [ 0.3939325, 0.2232944, 0.2469551 ], + "0.1": [ 0.3939325, 0.2232857, 0.2469551 ], + "0.1333333": [ 0.3939325, 0.2232603, 0.2469551 ], + "0.1666667": [ 0.3939325, 0.2232191, 0.2469551 ], + "0.2": [ 0.3939325, 0.2231632, 0.2469551 ], + "0.2333333": [ 0.3939325, 0.2230935, 0.2469551 ], + "0.2666667": [ 0.3939325, 0.223011, 0.2469551 ], + "0.3": [ 0.3939325, 0.2229167, 0.2469551 ], + "0.3333333": [ 0.3939325, 0.2228116, 0.2469551 ], + "0.3666667": [ 0.3939325, 0.2226966, 0.2469551 ], + "0.4": [ 0.3939325, 0.2225728, 0.2469551 ], + "0.4333333": [ 0.3939325, 0.2224411, 0.2469551 ], + "0.4666667": [ 0.3939325, 0.2223025, 0.2469551 ], + "0.5": [ 0.3939325, 0.222158, 0.2469551 ], + "0.5333334": [ 0.3939325, 0.2220086, 0.2469551 ], + "0.5666667": [ 0.3939325, 0.2218553, 0.2469551 ], + "0.6": [ 0.3939325, 0.221699, 0.2469551 ], + "0.6333333": [ 0.3939325, 0.2215407, 0.2469551 ], + "0.6666667": [ 0.3939325, 0.2213815, 0.2469551 ], + "0.7": [ 0.3939325, 0.2212223, 0.2469551 ], + "0.7333333": [ 0.3939325, 0.221064, 0.2469551 ], + "0.7666667": [ 0.3939325, 0.2209077, 0.2469551 ], + "0.8": [ 0.3939325, 0.2207544, 0.2469551 ], + "0.8333333": [ 0.3939325, 0.220605, 0.2469551 ], + "0.8666667": [ 0.3939325, 0.2204605, 0.2469551 ], + "0.9": [ 0.3939325, 0.2203219, 0.2469551 ], + "0.9333333": [ 0.3939325, 0.2201902, 0.2469551 ], + "0.9666666": [ 0.3939325, 0.2200664, 0.2469551 ], + "1": [ 0.3939325, 0.2199514, 0.2469551 ], + "1.033333": [ 0.3939325, 0.2198463, 0.2469551 ], + "1.066667": [ 0.3939325, 0.219752, 0.2469551 ], + "1.1": [ 0.3939325, 0.2196695, 0.2469551 ], + "1.133333": [ 0.3939325, 0.2195998, 0.2469551 ], + "1.166667": [ 0.3939325, 0.2195439, 0.2469551 ], + "1.2": [ 0.3939325, 0.2195027, 0.2469551 ], + "1.233333": [ 0.3939325, 0.2194773, 0.2469551 ], + "1.266667": [ 0.3939325, 0.2194686, 0.2469551 ], + "1.3": [ 0.3939325, 0.2194776, 0.2469551 ], + "1.333333": [ 0.3939325, 0.2195053, 0.2469551 ], + "1.366667": [ 0.3939325, 0.2195527, 0.2469551 ], + "1.4": [ 0.3939325, 0.2196208, 0.2469551 ], + "1.433333": [ 0.3939325, 0.2197105, 0.2469551 ], + "1.466667": [ 0.3939325, 0.2198228, 0.2469551 ], + "1.5": [ 0.3939325, 0.2199588, 0.2469551 ], + "1.533333": [ 0.3939325, 0.2201194, 0.2469551 ], + "1.566667": [ 0.3939325, 0.2203055, 0.2469551 ], + "1.6": [ 0.3939325, 0.2205182, 0.2469551 ], + "1.633333": [ 0.3939325, 0.2207585, 0.2469551 ], + "1.666667": [ 0.3939325, 0.2210273, 0.2469551 ], + "1.7": [ 0.3939325, 0.2213256, 0.2469551 ], + "1.733333": [ 0.3939325, 0.2216544, 0.2469551 ], + "1.766667": [ 0.3939325, 0.2220147, 0.2469551 ], + "1.8": [ 0.3939325, 0.2224075, 0.2469551 ], + "1.833333": [ 0.3939325, 0.2228337, 0.2469551 ], + "1.866667": [ 0.3939325, 0.2232944, 0.2469551 ], + "1.9": [ 0.3938911, 0.2253091, 0.2445949 ], + "1.933333": [ 0.3936015, 0.2297354, 0.2377653 ], + "1.966667": [ 0.3928154, 0.2355813, 0.2268428 ], + "2": [ 0.3912846, 0.2418549, 0.2122042 ], + "2.033333": [ 0.3887607, 0.2475642, 0.1942259 ], + "2.066667": [ 0.3849957, 0.2517172, 0.1732845 ], + "2.1": [ 0.3797412, 0.253322, 0.1497567 ], + "2.133333": [ 0.2785867, 0.1876459, 0.09995511 ], + "2.166667": [ 0.09709987, 0.06567607, 0.03333792 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ -3.121351, 4.92248, 0 ], + "0.03333334": [ -4.267472, 6.729954, 0 ], + "0.06666667": [ -5.26728, 8.306685, 0 ], + "0.1": [ -5.305534, 8.306685, 0 ], + "0.1333333": [ -5.343789, 8.306685, 0 ], + "0.1666667": [ -5.382043, 8.306685, 0 ], + "0.2": [ -5.420298, 8.306685, 0 ], + "0.2333333": [ -5.458552, 8.306685, 0 ], + "0.2666667": [ -5.496806, 8.306685, 0 ], + "0.3": [ -5.53506, 8.306685, 0 ], + "0.3333333": [ -5.573315, 8.306685, 0 ], + "0.3666667": [ -5.611569, 8.306685, 0 ], + "0.4": [ -5.649823, 8.306685, 0 ], + "0.4333333": [ -5.688077, 8.306685, 0 ], + "0.4666667": [ -5.726332, 8.306685, 0 ], + "0.5": [ -5.764586, 8.306685, 0 ], + "0.5333334": [ -5.80284, 8.306685, 0 ], + "0.5666667": [ -5.841094, 8.306685, 0 ], + "0.6": [ -5.879349, 8.306685, 0 ], + "0.6333333": [ -5.917603, 8.306685, 0 ], + "0.6666667": [ -5.955857, 8.306685, 0 ], + "0.7": [ -5.994112, 8.306685, 0 ], + "0.7333333": [ -6.032366, 8.306685, 0 ], + "0.7666667": [ -6.07062, 8.306685, 0 ], + "0.8": [ -6.108874, 8.306685, 0 ], + "0.8333333": [ -6.147129, 8.306685, 0 ], + "0.8666667": [ -6.185383, 8.306685, 0 ], + "0.9": [ -6.223638, 8.306685, 0 ], + "0.9333333": [ -6.261892, 8.306685, 0 ], + "0.9666666": [ -6.300146, 8.306685, 0 ], + "1": [ -6.3384, 8.306685, 0 ], + "1.033333": [ -6.376655, 8.306685, 0 ], + "1.066667": [ -6.414909, 8.306685, 0 ], + "1.1": [ -6.453163, 8.306685, 0 ], + "1.133333": [ -6.491417, 8.306685, 0 ], + "1.166667": [ -6.529672, 8.306685, 0 ], + "1.2": [ -6.567926, 8.306685, 0 ], + "1.233333": [ -6.60618, 8.306685, 0 ], + "1.266667": [ -6.644434, 8.306685, 0 ], + "1.3": [ -6.682689, 8.306685, 0 ], + "1.333333": [ -6.720943, 8.306685, 0 ], + "1.366667": [ -6.759197, 8.306685, 0 ], + "1.4": [ -6.797451, 8.306685, 0 ], + "1.433333": [ -6.835706, 8.306685, 0 ], + "1.466667": [ -6.87396, 8.306685, 0 ], + "1.5": [ -6.912215, 8.306685, 0 ], + "1.533333": [ -6.950469, 8.306685, 0 ], + "1.566667": [ -6.988723, 8.306685, 0 ], + "1.6": [ -7.026978, 8.306685, 0 ], + "1.633333": [ -7.065232, 8.306685, 0 ], + "1.666667": [ -7.103486, 8.306685, 0 ], + "1.7": [ -7.14174, 8.306685, 0 ], + "1.733333": [ -7.179995, 8.306685, 0 ], + "1.766667": [ -7.218249, 8.306685, 0 ], + "1.8": [ -7.256503, 8.306685, 0 ], + "1.833333": [ -7.294757, 8.306685, 0 ], + "1.866667": [ -7.333012, 8.306685, 0 ], + "1.9": [ -5.762947, 8.306685, 0 ], + "1.933333": [ -3.964508, 8.306685, 0 ], + "1.966667": [ -2.108976, 8.306685, 0 ], + "2": [ -0.3676312, 8.306685, 0 ], + "2.033333": [ 1.088248, 8.306685, 0 ], + "2.066667": [ 2.08738, 8.306685, 0 ], + "2.1": [ 2.458486, 8.306685, 0 ], + "2.133333": [ 1.821101, 6.1531, 0 ], + "2.166667": [ 0.6373853, 2.153585, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0.2464108, 0, 0.311876 ], + "0.03333334": [ 0.3080136, 0, 0.389845 ], + "0.06666667": [ 0.3326546, 0, 0.4210326 ], + "1.966667": [ 0.3326546, 0, 0.4210326 ], + "2": [ 0.3080136, 0, 0.389845 ], + "2.033333": [ 0.2464108, 0, 0.311876 ], + "2.066667": [ 0.1663273, 0, 0.2105163 ], + "2.1": [ 0.08624379, 0, 0.1091566 ], + "2.133333": [ 0.02464108, 0, 0.0311876 ], + "2.166667": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 12.4056, 0 ], + "0.03333334": [ 0, 15.507, 0 ], + "0.06666667": [ 0, 16.74756, 0 ], + "1.966667": [ 0, 16.74756, 0 ], + "2": [ 0, 15.507, 0 ], + "2.033333": [ 0, 12.4056, 0 ], + "2.066667": [ 0, 8.373778, 0 ], + "2.1": [ 0, 4.341959, 0 ], + "2.133333": [ 0, 1.24056, 0 ], + "2.166667": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "2.2": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.2": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_simpleClap/basic_clap.meta.json b/resource_pack/pieces/emote_simpleClap/basic_clap.meta.json new file mode 100644 index 0000000..817f4a3 --- /dev/null +++ b/resource_pack/pieces/emote_simpleClap/basic_clap.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "9a469a61-c83b-4ba9-b507-bdbe64430582", + "piece_name": "basic_clap", + "piece_type": "persona_emote", + "animation_sources": [ + { + "name": "animation.basic_clap", + "animationFile": "basic_clap.animation.json" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_simpleClap/basic_clap.store_info.json b/resource_pack/pieces/emote_simpleClap/basic_clap.store_info.json new file mode 100644 index 0000000..8fabc26 --- /dev/null +++ b/resource_pack/pieces/emote_simpleClap/basic_clap.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "dr.default.emote.basicClap", + "piece_thumbnail": "textures/persona_thumbnails/basic_clap_thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_wave/overhead_wave.animation.json b/resource_pack/pieces/emote_wave/overhead_wave.animation.json new file mode 100644 index 0000000..3d470c9 --- /dev/null +++ b/resource_pack/pieces/emote_wave/overhead_wave.animation.json @@ -0,0 +1,457 @@ +{ + "format_version": "1.8.0", + "animations": { + "animation.overhead_wave": { + "loop": false, + "bones": { + "head": { + "position": { + "0": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, 0 ], + "0.2": [ 0, 0, 0.08763954 ], + "0.2333333": [ 0, 0, 0.3405403 ], + "0.2666667": [ 0, 0, 0.7436752 ], + "0.3": [ 0, 0, 1.282018 ], + "0.3333333": [ 0, 0, 1.940541 ], + "0.3666667": [ 0, 0, 2.704217 ], + "0.4": [ 0, 0, 3.558021 ], + "0.4333333": [ 0, 0, 4.486924 ], + "0.4666667": [ 0, 0, 5.475901 ], + "0.5": [ 0, 0, 6.509923 ], + "0.5333334": [ 0, 0, 7.573966 ], + "0.5666667": [ 0, 0, 8.653 ], + "0.6": [ 0, 0, 9.731999 ], + "0.6333333": [ 0, 0, 10.79594 ], + "0.6666667": [ 0, 0, 11.82979 ], + "0.7": [ 0, 0, 12.81852 ], + "0.7333333": [ 0, 0, 13.74712 ], + "0.7666667": [ 0, 0, 14.60054 ], + "0.8": [ 0, 0, 15.36377 ], + "0.8333333": [ 0, 0, 16.02178 ], + "0.8666667": [ 0, 0, 16.55954 ], + "0.9": [ 0, 0, 16.96202 ], + "0.9333333": [ 0, 0, 17.2142 ], + "0.9666666": [ 0, 0, 17.38344 ], + "1": [ 0, 0, 17.5467 ], + "1.033333": [ 0, 0, 17.70329 ], + "1.066667": [ 0, 0, 17.85253 ], + "1.1": [ 0, 0, 17.99374 ], + "1.133333": [ 0, 0, 18.12624 ], + "1.166667": [ 0, 0, 18.24935 ], + "1.2": [ 0, 0, 18.36238 ], + "1.233333": [ 0, 0, 18.46467 ], + "1.266667": [ 0, 0, 18.55552 ], + "1.3": [ 0, 0, 18.63427 ], + "1.333333": [ 0, 0, 18.70022 ], + "1.366667": [ 0, 0, 18.7527 ], + "1.4": [ 0, 0, 18.79103 ], + "1.433333": [ 0, 0, 18.81452 ], + "1.466667": [ 0, 0, 18.8225 ], + "1.733333": [ 0, 0, 18.8225 ], + "1.766667": [ 0, 0, 18.10912 ], + "1.8": [ 0, 0, 16.18845 ], + "1.833333": [ 0, 0, 13.38977 ], + "1.866667": [ 0, 0, 10.04233 ], + "1.9": [ 0, 0, 6.47538 ], + "1.933333": [ 0, 0, 3.018186 ], + "1.966667": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + }, + "leftArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0.016512 ], + "0.06666667": [ 0, 0, 0.03302401 ], + "0.1": [ 0, 0, 0.04052946 ], + "0.1333333": [ 0, 0, 0.04052946 ], + "0.1666667": [ 0.001023754, -0.008714264, 0.04052946 ], + "0.2": [ 0.003872841, -0.03297931, 0.04052946 ], + "0.2333333": [ 0.008213995, -0.06997852, 0.04052946 ], + "0.2666667": [ 0.01371395, -0.1168953, 0.04052946 ], + "0.3": [ 0.02003945, -0.170913, 0.04052946 ], + "0.3333333": [ 0.02685722, -0.229215, 0.04052946 ], + "0.3666667": [ 0.03383399, -0.2889847, 0.04052946 ], + "0.4": [ 0.04063652, -0.3474055, 0.04052946 ], + "0.4333333": [ 0.04693152, -0.4016607, 0.04052946 ], + "0.4666667": [ 0.05238574, -0.4489338, 0.04052946 ], + "0.5": [ 0.0566659, -0.4864081, 0.04052946 ], + "0.5333334": [ 0.06014192, -0.517435, 0.04052946 ], + "0.5666667": [ 0.06339121, -0.5470296, 0.04052946 ], + "0.6": [ 0.06639179, -0.5748712, 0.04052946 ], + "0.6333333": [ 0.06912168, -0.6006389, 0.04052946 ], + "0.6666667": [ 0.07155889, -0.6240119, 0.04052946 ], + "0.7": [ 0.07368147, -0.6446693, 0.04052946 ], + "0.7333333": [ 0.0754674, -0.6622903, 0.04052946 ], + "0.7666667": [ 0.07689472, -0.676554, 0.04052946 ], + "0.8": [ 0.07794145, -0.6871395, 0.04052946 ], + "0.8333333": [ 0.07858561, -0.6937262, 0.04052946 ], + "0.8666667": [ 0.07880522, -0.695993, 0.04052946 ], + "1.733333": [ 0.07880522, -0.695993, 0.04052946 ], + "1.766667": [ 0.07060947, -0.6236097, 0.04052946 ], + "1.8": [ 0.05106578, -0.4510035, 0.04052946 ], + "1.833333": [ 0.02773944, -0.2449895, 0.04052946 ], + "1.866667": [ 0.008195742, -0.07238328, 0.04052946 ], + "1.9": [ 0, 0, 0.04052946 ], + "1.933333": [ 0, 0, 0.03761134 ], + "1.966667": [ 0, 0, 0.03015392 ], + "2": [ 0, 0, 0.02010261 ], + "2.033333": [ 0, 0, 0.009402835 ], + "2.066667": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.1333333": [ 0, 0, 0 ], + "0.1666667": [ 0, 0, -0.1077506 ], + "0.2": [ 0, 0, -0.409869 ], + "0.2333333": [ 0, 0, -0.8746549 ], + "0.2666667": [ 0, 0, -1.470408 ], + "0.3": [ 0, 0, -2.165427 ], + "0.3333333": [ 0, 0, -2.928014 ], + "0.3666667": [ 0, 0, -3.726466 ], + "0.4": [ 0, 0, -4.529084 ], + "0.4333333": [ 0, 0, -5.304168 ], + "0.4666667": [ 0, 0, -6.020016 ], + "0.5": [ 0, 0, -6.64493 ], + "0.5333334": [ 0, 0, -7.251804 ], + "0.5666667": [ 0, 0, -7.918191 ], + "0.6": [ 0, 0, -8.619372 ], + "0.6333333": [ 0, 0, -9.330631 ], + "0.6666667": [ 0, 0, -10.02725 ], + "0.7": [ 0, 0, -10.68451 ], + "0.7333333": [ 0, 0, -11.2777 ], + "0.7666667": [ 0, 0, -11.78209 ], + "0.8": [ 0, 0, -12.17297 ], + "0.8333333": [ 0, 0, -12.42563 ], + "0.8666667": [ 0, 0, -12.51534 ], + "1.733333": [ 0, 0, -12.51534 ], + "1.766667": [ 0, 0, -13.37417 ], + "1.8": [ 0, 0, -15.34513 ], + "1.833333": [ 0, 0, -17.51992 ], + "1.866667": [ 0, 0, -18.99026 ], + "1.9": [ 0, 0, -18.84786 ], + "1.933333": [ 0, 0, -16.68984 ], + "1.966667": [ 0, 0, -13.12171 ], + "2": [ 0, 0, -8.747805 ], + "2.033333": [ 0, 0, -4.172459 ], + "2.066667": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + }, + "rightArm": { + "position": { + "0": [ 0, 0, 0 ], + "0.1333333": [ 0, 0, 0 ], + "0.1666667": [ 0.009635793, 0.02965353, 0.04677727 ], + "0.2": [ 0.0347722, 0.1103757, 0.173838 ], + "0.2333333": [ 0.06975278, 0.229809, 0.3612757 ], + "0.2666667": [ 0.1089211, 0.3755958, 0.5891836 ], + "0.3": [ 0.1466206, 0.5353785, 0.8376552 ], + "0.3333333": [ 0.1771949, 0.6967996, 1.086784 ], + "0.3666667": [ 0.1949876, 0.8475014, 1.316663 ], + "0.4": [ 0.1943422, 0.9751264, 1.507386 ], + "0.4333333": [ 0.1696022, 1.067317, 1.639047 ], + "0.4666667": [ 0.1151112, 1.111716, 1.691738 ], + "0.5": [ -0.02833183, 1.060656, 1.697398 ], + "0.5333334": [ -0.2767959, 0.9075999, 1.701305 ], + "0.5666667": [ -0.5712395, 0.701884, 1.703562 ], + "0.6": [ -0.8526211, 0.4928439, 1.704272 ], + "0.6333333": [ -1.061899, 0.3298153, 1.703539 ], + "0.6666667": [ -1.140032, 0.262134, 1.701465 ], + "0.7": [ -1.083128, 0.2938572, 1.698154 ], + "0.7333333": [ -0.9435187, 0.3833829, 1.693709 ], + "0.7666667": [ -0.7464913, 0.5115584, 1.688233 ], + "0.8": [ -0.5173352, 0.6592312, 1.681829 ], + "0.8333333": [ -0.2813395, 0.8072487, 1.674601 ], + "0.8666667": [ -0.06379303, 0.9364583, 1.666651 ], + "0.9": [ 0.1100153, 1.027707, 1.658084 ], + "0.9333333": [ 0.2147965, 1.061843, 1.649001 ], + "0.9666666": [ 0.2365611, 1.016285, 1.639507 ], + "1": [ 0.1931923, 0.9000861, 1.629705 ], + "1.033333": [ 0.1072097, 0.7415496, 1.619697 ], + "1.066667": [ 0.001133191, 0.5689769, 1.609586 ], + "1.1": [ -0.1025174, 0.4106703, 1.599477 ], + "1.133333": [ -0.1812223, 0.2949316, 1.589472 ], + "1.166667": [ -0.2124617, 0.2500627, 1.579675 ], + "1.2": [ -0.2025105, 0.2689697, 1.570188 ], + "1.233333": [ -0.175225, 0.3208114, 1.561115 ], + "1.266667": [ -0.1344573, 0.3982691, 1.552559 ], + "1.3": [ -0.08405949, 0.4940238, 1.544623 ], + "1.333333": [ -0.02788355, 0.6007568, 1.53741 ], + "1.366667": [ 0.03021842, 0.7111493, 1.531024 ], + "1.4": [ 0.08639436, 0.8178822, 1.525567 ], + "1.433333": [ 0.1367922, 0.913637, 1.521144 ], + "1.466667": [ 0.1775599, 0.9910947, 1.517856 ], + "1.5": [ 0.2048453, 1.042936, 1.515808 ], + "1.533333": [ 0.2147965, 1.061843, 1.515103 ], + "1.733333": [ 0.2147965, 1.061843, 1.515103 ], + "1.766667": [ 0.1810405, 1.035281, 1.384193 ], + "1.8": [ 0.09922351, 0.9654043, 1.0627 ], + "1.833333": [ -0.00147773, 0.8669322, 0.657478 ], + "1.866667": [ -0.09188657, 0.754582, 0.275381 ], + "1.9": [ -0.1428263, 0.6430718, 0.0232631 ], + "1.933333": [ -0.1417194, 0.5082344, -0.07612284 ], + "1.966667": [ -0.1080168, 0.3402578, -0.09401291 ], + "2": [ -0.06058509, 0.1753928, -0.06453632 ], + "2.033333": [ -0.01829068, 0.04988998, -0.02182228 ], + "2.066667": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ -0.5961943, -0.05379539, 0 ], + "0.06666667": [ -0.0001948286, -0.01371815, 0 ], + "0.1": [ 0.595902, 0.03321817, 0 ], + "0.1333333": [ 0, 0, 0 ], + "0.1666667": [ -2.492192, 2.971249, 4.557713 ], + "0.2": [ -6.422124, 11.11506, 16.92865 ], + "0.2333333": [ -11.23763, 22.96963, 35.1595 ], + "0.2666667": [ -16.38654, 37.07317, 57.29696 ], + "0.3": [ -21.31669, 51.96385, 81.38773 ], + "0.3333333": [ -25.47592, 66.17989, 105.4785 ], + "0.3666667": [ -28.31206, 78.25948, 127.616 ], + "0.4": [ -29.27293, 86.74082, 145.8468 ], + "0.4333333": [ -27.80638, 90.16211, 158.2177 ], + "0.4666667": [ -23.36024, 90.55317, 162.7755 ], + "0.5": [ -12.03053, 90.91865, 162.7755 ], + "0.5333334": [ 6.752588, 91.25893, 162.7755 ], + "0.5666667": [ 28.54004, 91.57445, 162.7755 ], + "0.6": [ 48.88277, 91.86559, 162.7755 ], + "0.6333333": [ 63.33172, 92.13275, 162.7755 ], + "0.6666667": [ 67.43782, 92.37637, 162.7755 ], + "0.7": [ 61.63134, 92.59682, 162.7755 ], + "0.7333333": [ 50.47093, 92.79453, 162.7755 ], + "0.7666667": [ 35.70015, 92.9699, 162.7755 ], + "0.8": [ 19.06252, 93.12334, 162.7755 ], + "0.8333333": [ 2.30161, 93.25524, 162.7755 ], + "0.8666667": [ -12.83905, 93.36602, 162.7755 ], + "0.9": [ -24.6159, 93.45609, 162.7755 ], + "0.9333333": [ -31.28542, 93.52583, 162.7755 ], + "0.9666666": [ -30.53616, 93.57568, 161.8148 ], + "1": [ -22.62729, 93.60603, 159.3373 ], + "1.033333": [ -9.67116, 93.61728, 155.9497 ], + "1.066667": [ 6.219906, 93.60984, 152.2587 ], + "1.1": [ 22.93357, 93.58413, 148.8711 ], + "1.133333": [ 38.35749, 93.54053, 146.3936 ], + "1.166667": [ 50.37933, 93.47948, 145.433 ], + "1.2": [ 56.42498, 93.40135, 145.8369 ], + "1.233333": [ 56.13729, 93.30657, 146.9444 ], + "1.266667": [ 50.72939, 93.19553, 148.5992 ], + "1.3": [ 41.41441, 93.06866, 150.6448 ], + "1.333333": [ 29.4055, 92.92635, 152.925 ], + "1.366667": [ 15.91577, 92.769, 155.2834 ], + "1.4": [ 2.15836, 92.59702, 157.5636 ], + "1.433333": [ -10.65359, 92.41082, 159.6093 ], + "1.466667": [ -21.30696, 92.21081, 161.264 ], + "1.5": [ -28.58862, 91.99739, 162.3715 ], + "1.533333": [ -31.28542, 91.77097, 162.7755 ], + "1.566667": [ -31.28542, 91.53194, 162.7755 ], + "1.6": [ -31.28542, 91.28074, 162.7755 ], + "1.633333": [ -31.28542, 91.01774, 162.7755 ], + "1.666667": [ -31.28542, 90.74337, 162.7755 ], + "1.7": [ -31.28542, 90.45802, 162.7755 ], + "1.733333": [ -31.28542, 90.16211, 162.7755 ], + "1.766667": [ -28.22725, 80.59258, 152.2742 ], + "1.8": [ -20.85949, 58.20828, 126.5606 ], + "1.833333": [ -11.89228, 31.59255, 94.32005 ], + "1.866667": [ -4.035739, 9.32869, 64.23806 ], + "1.9": [ 0, 0, 45 ], + "1.933333": [ 0.7820557, 0, 33.33059 ], + "1.966667": [ 0.8798127, 0, 21.29691 ], + "2": [ 0.5865418, 0, 10.59794 ], + "2.033333": [ 0.1955139, 0, 2.932647 ], + "2.066667": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + }, + "body": { + "position": { + "0": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + }, + "hip": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0.009619202 ], + "0.06666667": [ 0, 0, 0.02064609 ], + "0.1": [ 0, 0, 0.03167298 ], + "0.1333333": [ 0, 0, 0.04129218 ], + "0.1666667": [ 0, 0, 0.04809601 ], + "0.2": [ 0, 0, 0.05067677 ], + "1.933333": [ 0, 0, 0.05067677 ], + "1.966667": [ 0, 0, 0.04540639 ], + "2": [ 0, 0, 0.03283855 ], + "2.033333": [ 0, 0, 0.01783822 ], + "2.066667": [ 0, 0, 0.005270384 ], + "2.1": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0, 0.4005639 ], + "0.06666667": [ 0, 0, 0.9240819 ], + "0.1": [ 0, 0, 1.512764 ], + "0.1333333": [ 0, 0, 2.108822 ], + "0.1666667": [ 0, 0, 2.654465 ], + "0.2": [ 0, 0, 3.091904 ], + "0.2333333": [ 0, 0, 3.473715 ], + "0.2666667": [ 0, 0, 3.888428 ], + "0.3": [ 0, 0, 4.332183 ], + "0.3333333": [ 0, 0, 4.801118 ], + "0.3666667": [ 0, 0, 5.291373 ], + "0.4": [ 0, 0, 5.799088 ], + "0.4333333": [ 0, 0, 6.320402 ], + "0.4666667": [ 0, 0, 6.851454 ], + "0.5": [ 0, 0, 7.388384 ], + "0.5333334": [ 0, 0, 7.927332 ], + "0.5666667": [ 0, 0, 8.464437 ], + "0.6": [ 0, 0, 8.995838 ], + "0.6333333": [ 0, 0, 9.517676 ], + "0.6666667": [ 0, 0, 10.02609 ], + "0.7": [ 0, 0, 10.51722 ], + "0.7333333": [ 0, 0, 10.9872 ], + "0.7666667": [ 0, 0, 11.43217 ], + "0.8": [ 0, 0, 11.84828 ], + "0.8333333": [ 0, 0, 12.23167 ], + "0.8666667": [ 0, 0, 12.57846 ], + "0.9": [ 0, 0, 12.89505 ], + "0.9333333": [ 0, 0, 13.19086 ], + "0.9666666": [ 0, 0, 13.46657 ], + "1": [ 0, 0, 13.72286 ], + "1.033333": [ 0, 0, 13.96041 ], + "1.066667": [ 0, 0, 14.17992 ], + "1.1": [ 0, 0, 14.38205 ], + "1.133333": [ 0, 0, 14.5675 ], + "1.166667": [ 0, 0, 14.73695 ], + "1.2": [ 0, 0, 14.89108 ], + "1.233333": [ 0, 0, 15.03057 ], + "1.266667": [ 0, 0, 15.15612 ], + "1.3": [ 0, 0, 15.26839 ], + "1.333333": [ 0, 0, 15.36808 ], + "1.366667": [ 0, 0, 15.45587 ], + "1.4": [ 0, 0, 15.53244 ], + "1.433333": [ 0, 0, 15.59847 ], + "1.466667": [ 0, 0, 15.65465 ], + "1.5": [ 0, 0, 15.70167 ], + "1.533333": [ 0, 0, 15.74019 ], + "1.566667": [ 0, 0, 15.77092 ], + "1.6": [ 0, 0, 15.79453 ], + "1.633333": [ 0, 0, 15.8117 ], + "1.666667": [ 0, 0, 15.82312 ], + "1.7": [ 0, 0, 15.82947 ], + "1.733333": [ 0, 0, 15.83143 ], + "1.766667": [ 0, 0, 14.41397 ], + "1.8": [ 0, 0, 10.8703 ], + "1.833333": [ 0, 0, 6.263529 ], + "1.866667": [ 0, 0, 1.65676 ], + "1.9": [ 0, 0, -1.886909 ], + "1.933333": [ 0, 0, -3.304377 ], + "1.966667": [ 0, 0, -2.960721 ], + "2": [ 0, 0, -2.141236 ], + "2.033333": [ 0, 0, -1.163141 ], + "2.066667": [ 0, 0, -0.3436552 ], + "2.1": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + }, + "rightLeg": { + "position": { + "0": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0, 0.7072734, 1.150176 ], + "0.06666667": [ 0, 1.51805, 2.468671 ], + "0.1": [ 0, 2.328827, 3.787165 ], + "0.1333333": [ 0, 3.0361, 4.937342 ], + "0.1666667": [ 0, 3.536367, 5.750881 ], + "0.2": [ 0, 3.726123, 6.059464 ], + "1.8": [ 0, 3.726123, 6.059464 ], + "1.833333": [ 0, 2.760091, 4.488492 ], + "1.866667": [ 0, 0.9660319, 1.570972 ], + "1.9": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + }, + "leftLeg": { + "position": { + "0": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + }, + "root": { + "position": { + "0": [ 0, 0, 0 ], + "0.03333334": [ 0.197629, 0, 0 ], + "0.06666667": [ 0.4241792, 0, 0 ], + "0.1": [ 0.6507295, 0, 0 ], + "0.1333333": [ 0.8483585, 0, 0 ], + "0.1666667": [ 0.9881448, 0, 0 ], + "0.2": [ 1.041167, 0, 0 ], + "1.833333": [ 1.041167, 0, 0 ], + "1.866667": [ 0.5028654, 0, 0 ], + "1.9": [ -0.03543643, 0, 0 ], + "1.933333": [ -0.03409336, 0, 0 ], + "1.966667": [ -0.0304774, 0, 0 ], + "2": [ -0.02520842, 0, 0 ], + "2.033333": [ -0.01890632, 0, 0 ], + "2.066667": [ -0.01219096, 0, 0 ], + "2.1": [ -0.005682226, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "rotation": { + "0": [ 0, 0, 0 ], + "2.133333": [ 0, 0, 0 ] + }, + "scale": { + "0": [ 1, 1, 1 ], + "2.133333": [ 1, 1, 1 ] + } + } + } + } + } +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_wave/overhead_wave.meta.json b/resource_pack/pieces/emote_wave/overhead_wave.meta.json new file mode 100644 index 0000000..12fe8eb --- /dev/null +++ b/resource_pack/pieces/emote_wave/overhead_wave.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "4c8ae710-df2e-47cd-814d-cc7bf21a3d67", + "piece_name": "overhead_wave", + "piece_type": "persona_emote", + "animation_sources": [ + { + "name": "animation.overhead_wave", + "animationFile": "overhead_wave.animation.json" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/emote_wave/overhead_wave.store_info.json b/resource_pack/pieces/emote_wave/overhead_wave.store_info.json new file mode 100644 index 0000000..01cf406 --- /dev/null +++ b/resource_pack/pieces/emote_wave/overhead_wave.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "dr.default.emote.overheadWave", + "piece_thumbnail": "textures/persona_thumbnails/overhead_wave_thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_dress/kai_dress.meta.json b/resource_pack/pieces/kai_dress/kai_dress.meta.json new file mode 100644 index 0000000..6b849b0 --- /dev/null +++ b/resource_pack/pieces/kai_dress/kai_dress.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "97e3e925-6eef-a6db-8235-1f73f8a550fb", + "piece_name": "kai_dress", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "kai_dress.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_dress/kai_dress.store_info.json b/resource_pack/pieces/kai_dress/kai_dress.store_info.json new file mode 100644 index 0000000..536fb16 --- /dev/null +++ b/resource_pack/pieces/kai_dress/kai_dress.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.kai_dress.title", + "piece_thumbnail": "textures/persona_thumbnails/kai_dress_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_hair/kai_hair.meta.json b/resource_pack/pieces/kai_hair/kai_hair.meta.json new file mode 100644 index 0000000..a6958cd --- /dev/null +++ b/resource_pack/pieces/kai_hair/kai_hair.meta.json @@ -0,0 +1,15 @@ +{ + "piece_id": "5f49dfbb-1c5d-ec1a-814b-3b6898265d3c", + "piece_name": "kai_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "kai_hair_head.png", + "tint_map": "kai_hair_head_tintmap.tga", + "use_face_uv": true + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_hair/kai_hair.store_info.json b/resource_pack/pieces/kai_hair/kai_hair.store_info.json new file mode 100644 index 0000000..4a0289a --- /dev/null +++ b/resource_pack/pieces/kai_hair/kai_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.kai_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/kai_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_jacket/kai_jacket.meta.json b/resource_pack/pieces/kai_jacket/kai_jacket.meta.json new file mode 100644 index 0000000..d70f5e4 --- /dev/null +++ b/resource_pack/pieces/kai_jacket/kai_jacket.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "a8bc771c-c5a5-7b32-bd03-ba169ec58284", + "piece_name": "kai_jacket", + "piece_type": "persona_outerwear", + "zone": ["left_arm_upper", "left_arm_middle", "right_arm_upper", "right_arm_middle", "body_back_upper", "body_back_lower"], + "texture_sources": [ + { + "texture": "kai_jacket.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_jacket/kai_jacket.store_info.json b/resource_pack/pieces/kai_jacket/kai_jacket.store_info.json new file mode 100644 index 0000000..b2723bd --- /dev/null +++ b/resource_pack/pieces/kai_jacket/kai_jacket.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.kai_jacket.title", + "piece_thumbnail": "textures/persona_thumbnails/kai_jacket_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_shoes/kai_shoes.meta.json b/resource_pack/pieces/kai_shoes/kai_shoes.meta.json new file mode 100644 index 0000000..854e108 --- /dev/null +++ b/resource_pack/pieces/kai_shoes/kai_shoes.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "37ee7c77-6bf6-4de8-8f56-5dc6b6abc6ff", + "piece_name": "kai_shoes", + "piece_type": "persona_feet", + "texture_sources": [ + { + "texture": "kai_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_shoes/kai_shoes.store_info.json b/resource_pack/pieces/kai_shoes/kai_shoes.store_info.json new file mode 100644 index 0000000..796b364 --- /dev/null +++ b/resource_pack/pieces/kai_shoes/kai_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.kai_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/kai_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_skin/kai_skin.meta.json b/resource_pack/pieces/kai_skin/kai_skin.meta.json new file mode 100644 index 0000000..06bce93 --- /dev/null +++ b/resource_pack/pieces/kai_skin/kai_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "aa8d3c95-f189-cf08-0ae3-5cc1e090343b", + "piece_name": "kai_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "kai_skin_head.png", + "tint_map": "kai_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "kai_skin_body.png", + "tint_map": "kai_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/kai_skin/kai_skin.store_info.json b/resource_pack/pieces/kai_skin/kai_skin.store_info.json new file mode 100644 index 0000000..77d3cf3 --- /dev/null +++ b/resource_pack/pieces/kai_skin/kai_skin.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.kai_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/kai_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_hair/makena_hair.meta.json b/resource_pack/pieces/makena_hair/makena_hair.meta.json new file mode 100644 index 0000000..8b903f2 --- /dev/null +++ b/resource_pack/pieces/makena_hair/makena_hair.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "bb29fbdf-5331-ca8e-01a4-b352cd46a324", + "piece_name": "makena_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "makena_hair_head.png", + "tint_map": "makena_hair_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "makena_hair_body.png", + "tint_map": "makena_hair_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_hair/makena_hair.store_info.json b/resource_pack/pieces/makena_hair/makena_hair.store_info.json new file mode 100644 index 0000000..00010eb --- /dev/null +++ b/resource_pack/pieces/makena_hair/makena_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.makena_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/makena_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_pants/makena_pants.meta.json b/resource_pack/pieces/makena_pants/makena_pants.meta.json new file mode 100644 index 0000000..e3cd1b5 --- /dev/null +++ b/resource_pack/pieces/makena_pants/makena_pants.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "4fc639b3-0bb3-9443-0e2d-9332561edb68", + "piece_name": "makena_pants", + "piece_type": "persona_bottom", + "zone": ["right_leg_upper", "right_leg_middle", "left_leg_upper", "left_leg_middle"], + "texture_sources": [ + { + "texture": "makena_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_pants/makena_pants.store_info.json b/resource_pack/pieces/makena_pants/makena_pants.store_info.json new file mode 100644 index 0000000..3733c89 --- /dev/null +++ b/resource_pack/pieces/makena_pants/makena_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.makena_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/makena_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_shirt/makena_shirt.meta.json b/resource_pack/pieces/makena_shirt/makena_shirt.meta.json new file mode 100644 index 0000000..b3cfe71 --- /dev/null +++ b/resource_pack/pieces/makena_shirt/makena_shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "f76b43c4-052c-ec24-bbc9-389f8b612668", + "piece_name": "makena_shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "makena_sweater.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_shirt/makena_shirt.store_info.json b/resource_pack/pieces/makena_shirt/makena_shirt.store_info.json new file mode 100644 index 0000000..33a4cb4 --- /dev/null +++ b/resource_pack/pieces/makena_shirt/makena_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.makena_shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/makena_shirt_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_shoes/makena_shoes.meta.json b/resource_pack/pieces/makena_shoes/makena_shoes.meta.json new file mode 100644 index 0000000..ce73bf9 --- /dev/null +++ b/resource_pack/pieces/makena_shoes/makena_shoes.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "446f1789-8b8d-755e-6660-672e30537854", + "piece_name": "makena_shoes", + "piece_type": "persona_feet", + "texture_sources": [ + { + "texture": "makena_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_shoes/makena_shoes.store_info.json b/resource_pack/pieces/makena_shoes/makena_shoes.store_info.json new file mode 100644 index 0000000..5564c7d --- /dev/null +++ b/resource_pack/pieces/makena_shoes/makena_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.makena_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/makena_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_skin/makena_skin.meta.json b/resource_pack/pieces/makena_skin/makena_skin.meta.json new file mode 100644 index 0000000..27416a9 --- /dev/null +++ b/resource_pack/pieces/makena_skin/makena_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "37788a67-0abb-fec7-4d9b-5dfdbf25e58c", + "piece_name": "makena_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "makena_skin_head.png", + "tint_map": "makena_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "makena_skin_body.png", + "tint_map": "makena_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/makena_skin/makena_skin.store_info.json b/resource_pack/pieces/makena_skin/makena_skin.store_info.json new file mode 100644 index 0000000..ca4ae6d --- /dev/null +++ b/resource_pack/pieces/makena_skin/makena_skin.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.makena_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/makena_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_hair/noor_hair.meta.json b/resource_pack/pieces/noor_hair/noor_hair.meta.json new file mode 100644 index 0000000..71c8c72 --- /dev/null +++ b/resource_pack/pieces/noor_hair/noor_hair.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "f07544af-8bab-7ed6-fe9d-8ddde78e1e2a", + "piece_name": "noor_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "noor_hair_head.png", + "tint_map": "noor_hair_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "noor_hair_body.png", + "tint_map": "noor_hair_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_hair/noor_hair.store_info.json b/resource_pack/pieces/noor_hair/noor_hair.store_info.json new file mode 100644 index 0000000..a467a29 --- /dev/null +++ b/resource_pack/pieces/noor_hair/noor_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.noor_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/noor_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_jacket/noor_jacket.meta.json b/resource_pack/pieces/noor_jacket/noor_jacket.meta.json new file mode 100644 index 0000000..b5bfc2e --- /dev/null +++ b/resource_pack/pieces/noor_jacket/noor_jacket.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "01fc5519-bf48-b37c-fad1-d265ae7bc26a", + "piece_name": "noor_jacket", + "piece_type": "persona_outerwear", + "zone": ["left_arm_upper", "left_arm_middle", "right_arm_upper", "right_arm_middle", "body_back_upper"], + "texture_sources": [ + { + "texture": "noor_jacket.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_jacket/noor_jacket.store_info.json b/resource_pack/pieces/noor_jacket/noor_jacket.store_info.json new file mode 100644 index 0000000..6d6b776 --- /dev/null +++ b/resource_pack/pieces/noor_jacket/noor_jacket.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.noor_jacket.title", + "piece_thumbnail": "textures/persona_thumbnails/noor_jacket_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_pants/noor_pants.meta.json b/resource_pack/pieces/noor_pants/noor_pants.meta.json new file mode 100644 index 0000000..00707f3 --- /dev/null +++ b/resource_pack/pieces/noor_pants/noor_pants.meta.json @@ -0,0 +1,18 @@ +{ + "piece_id": "2f7834d2-d0af-8110-fa75-28e59022b34b", + "piece_name": "noor_pants", + "piece_type": "persona_high_pants", + "zone": [ + "body_front_lower", + "body_back_lower", + "left_leg_upper", + "left_leg_middle", + "right_leg_upper", + "right_leg_middle" + ], + "texture_sources": [ + { + "texture": "noor_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_pants/noor_pants.store_info.json b/resource_pack/pieces/noor_pants/noor_pants.store_info.json new file mode 100644 index 0000000..e17d794 --- /dev/null +++ b/resource_pack/pieces/noor_pants/noor_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.noor_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/noor_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_shirt/noor_shirt.meta.json b/resource_pack/pieces/noor_shirt/noor_shirt.meta.json new file mode 100644 index 0000000..d6bbccf --- /dev/null +++ b/resource_pack/pieces/noor_shirt/noor_shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "e9be8a1f-c928-4b51-0bef-e8ea58cc9c42", + "piece_name": "noor_shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "noor_shirt.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_shirt/noor_shirt.store_info.json b/resource_pack/pieces/noor_shirt/noor_shirt.store_info.json new file mode 100644 index 0000000..65ca3e6 --- /dev/null +++ b/resource_pack/pieces/noor_shirt/noor_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.noor_shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/noor_shirt_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_shoes/noor_shoes.meta.json b/resource_pack/pieces/noor_shoes/noor_shoes.meta.json new file mode 100644 index 0000000..337e81a --- /dev/null +++ b/resource_pack/pieces/noor_shoes/noor_shoes.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "af5ca60b-dae7-3931-507e-1c6797481de1", + "piece_name": "noor_shoes", + "piece_type": "persona_feet", + "texture_sources": [ + { + "texture": "noor_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_shoes/noor_shoes.store_info.json b/resource_pack/pieces/noor_shoes/noor_shoes.store_info.json new file mode 100644 index 0000000..dcfb8be --- /dev/null +++ b/resource_pack/pieces/noor_shoes/noor_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.noor_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/noor_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_skin/noor_skin.meta.json b/resource_pack/pieces/noor_skin/noor_skin.meta.json new file mode 100644 index 0000000..275a27b --- /dev/null +++ b/resource_pack/pieces/noor_skin/noor_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "79100fd3-53a3-21e3-40d1-ff5447a8afd3", + "piece_name": "noor_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "noor_skin_head.png", + "tint_map": "noor_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "noor_skin_body.png", + "tint_map": "noor_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/noor_skin/noor_skin.store_info.json b/resource_pack/pieces/noor_skin/noor_skin.store_info.json new file mode 100644 index 0000000..8fb8cc5 --- /dev/null +++ b/resource_pack/pieces/noor_skin/noor_skin.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.noor_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/noor_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/standard_eyes/standard_eyes.meta.json b/resource_pack/pieces/standard_eyes/standard_eyes.meta.json new file mode 100644 index 0000000..a08674b --- /dev/null +++ b/resource_pack/pieces/standard_eyes/standard_eyes.meta.json @@ -0,0 +1,24 @@ +{ + "piece_id": "a0f263b3-e093-4c85-aadb-3759417898ff", + "piece_name": "standard_eyes", + "piece_type": "persona_eyes", + "texture_sources": [ + { + "texture": "standard_neutral_and_blink.png", + "tint_map": "standard_neutral_and_blink.tga", + "use_face_uv": true, + "animated": true, + "frames": 2 + } + ], + "tint_base_color": { + "r_color": "#0000F0", + "b_color": "#F7F7E0", + "a_color": "#FD6830" + }, + "tint_color": { + "r_color": "#0000F0", + "b_color": "#F7F7E0", + "a_color": "#FD6830" + } +} \ No newline at end of file diff --git a/resource_pack/pieces/standard_eyes/standard_eyes.store_info.json b/resource_pack/pieces/standard_eyes/standard_eyes.store_info.json new file mode 100644 index 0000000..dad3db5 --- /dev/null +++ b/resource_pack/pieces/standard_eyes/standard_eyes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.standard_eyes.title", + "piece_thumbnail": "textures/persona_thumbnails/standard_eyes_thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/standard_mouth/standard_mouth.meta.json b/resource_pack/pieces/standard_mouth/standard_mouth.meta.json new file mode 100644 index 0000000..98b9e31 --- /dev/null +++ b/resource_pack/pieces/standard_mouth/standard_mouth.meta.json @@ -0,0 +1,20 @@ +{ + "piece_id": "83c940ce-d7b8-4603-8d73-c1234e322cce", + "piece_name": "standard_mouth", + "piece_type": "persona_mouth", + "texture_sources": [ + { + "texture": "standard_neutral.png", + "tint_map": "standard_neutral.tga", + "use_face_uv": true + } + ], + "tint_base_color": { + "b_color": "#4D1010", + "a_color": "#FF7F4A" + }, + "tint_color": { + "b_color": "#4D1010", + "a_color": "#FF7F4A" + } +} \ No newline at end of file diff --git a/resource_pack/pieces/standard_mouth/standard_mouth.store_info.json b/resource_pack/pieces/standard_mouth/standard_mouth.store_info.json new file mode 100644 index 0000000..30309f8 --- /dev/null +++ b/resource_pack/pieces/standard_mouth/standard_mouth.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.standard_mouth.title", + "piece_thumbnail": "textures/persona_thumbnails/standard_mouth_thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_beard/steve_beard.meta.json b/resource_pack/pieces/steve_beard/steve_beard.meta.json new file mode 100644 index 0000000..1710d8a --- /dev/null +++ b/resource_pack/pieces/steve_beard/steve_beard.meta.json @@ -0,0 +1,15 @@ +{ + "piece_id": "08ae21a8-6157-1199-b6d8-5ce5dfdb73f4", + "piece_name": "steve_beard", + "piece_type": "persona_facial_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "steve_goatee.png", + "tint_map": "steve_goatee_tintmap.tga", + "use_face_uv": true + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_beard/steve_beard.store_info.json b/resource_pack/pieces/steve_beard/steve_beard.store_info.json new file mode 100644 index 0000000..8b65cf8 --- /dev/null +++ b/resource_pack/pieces/steve_beard/steve_beard.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.steve_beard.title", + "piece_thumbnail": "textures/persona_thumbnails/steve_beard_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_hair/steve_hair.meta.json b/resource_pack/pieces/steve_hair/steve_hair.meta.json new file mode 100644 index 0000000..fc9d067 --- /dev/null +++ b/resource_pack/pieces/steve_hair/steve_hair.meta.json @@ -0,0 +1,15 @@ +{ + "piece_id": "2bb1473b-9a5c-4eae-9fd5-82302a6aa3da", + "piece_name": "steve_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "steve_hair_head.png", + "tint_map": "steve_hair_head_tintmap.tga", + "use_face_uv": true + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_hair/steve_hair.store_info.json b/resource_pack/pieces/steve_hair/steve_hair.store_info.json new file mode 100644 index 0000000..955a51d --- /dev/null +++ b/resource_pack/pieces/steve_hair/steve_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.steve_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/steve_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_mouth/steve_mouth.meta.meta.json b/resource_pack/pieces/steve_mouth/steve_mouth.meta.meta.json new file mode 100644 index 0000000..820b0fe --- /dev/null +++ b/resource_pack/pieces/steve_mouth/steve_mouth.meta.meta.json @@ -0,0 +1,20 @@ +{ + "piece_id": "2e4341c3-c014-4114-94b5-73968230aaaf", + "piece_name": "steve_mouth", + "piece_type": "persona_mouth", + "texture_sources": [ + { + "texture": "steve_neutral.png", + "tint_map": "steve_neutral.tga", + "use_face_uv": true + } + ], + "tint_base_color": { + "b_color": "#4D1010", + "a_color": "#FF7F40" + }, + "tint_color": { + "b_color": "#4D1010", + "a_color": "#FF7F40" + } +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_mouth/steve_mouth.store_info.json b/resource_pack/pieces/steve_mouth/steve_mouth.store_info.json new file mode 100644 index 0000000..2ff0004 --- /dev/null +++ b/resource_pack/pieces/steve_mouth/steve_mouth.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.steve_mouth.meta.title", + "piece_thumbnail": "textures/persona_thumbnails/steve_mouth_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_pants/steve_pants.meta.json b/resource_pack/pieces/steve_pants/steve_pants.meta.json new file mode 100644 index 0000000..cfe7e7b --- /dev/null +++ b/resource_pack/pieces/steve_pants/steve_pants.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "49f93789-a512-4c47-95cb-0606cdc1c2be", + "piece_name": "steve_pants", + "piece_type": "persona_bottom", + "zone": ["right_leg_upper", "right_leg_middle", "left_leg_upper", "left_leg_middle"], + "texture_sources": [ + { + "texture": "steve_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_pants/steve_pants.store_info.json b/resource_pack/pieces/steve_pants/steve_pants.store_info.json new file mode 100644 index 0000000..e385426 --- /dev/null +++ b/resource_pack/pieces/steve_pants/steve_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.steve_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/steve_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_shirt/steve_shirt.meta.json b/resource_pack/pieces/steve_shirt/steve_shirt.meta.json new file mode 100644 index 0000000..45f1618 --- /dev/null +++ b/resource_pack/pieces/steve_shirt/steve_shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "b6702f0e-a4b5-497a-8820-6c8e3946bb55", + "piece_name": "steve_shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "steve_shirt.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_shirt/steve_shirt.store_info.json b/resource_pack/pieces/steve_shirt/steve_shirt.store_info.json new file mode 100644 index 0000000..e6eae13 --- /dev/null +++ b/resource_pack/pieces/steve_shirt/steve_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.steve_shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/steve_shirt_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_shoes/steve_shoes.meta.json b/resource_pack/pieces/steve_shoes/steve_shoes.meta.json new file mode 100644 index 0000000..8bbcf91 --- /dev/null +++ b/resource_pack/pieces/steve_shoes/steve_shoes.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "68bfe60d-f30a-422f-b32c-72374ebdd057", + "piece_name": "steve_shoes", + "piece_type": "persona_feet", + "zone": ["left_leg_lower", "right_leg_lower"], + "texture_sources": [ + { + "texture": "steve_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_shoes/steve_shoes.store_info.json b/resource_pack/pieces/steve_shoes/steve_shoes.store_info.json new file mode 100644 index 0000000..820835e --- /dev/null +++ b/resource_pack/pieces/steve_shoes/steve_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.steve_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/steve_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_skin/skin_steve.store_info.json b/resource_pack/pieces/steve_skin/skin_steve.store_info.json new file mode 100644 index 0000000..6ae431a --- /dev/null +++ b/resource_pack/pieces/steve_skin/skin_steve.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.steve_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/steve_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/steve_skin/steve_skin.meta.json b/resource_pack/pieces/steve_skin/steve_skin.meta.json new file mode 100644 index 0000000..3cd623a --- /dev/null +++ b/resource_pack/pieces/steve_skin/steve_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "f1e4c577-19ba-4d77-9222-47f145857f78", + "piece_name": "steve_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "steve_skin_head.png", + "tint_map": "steve_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "steve_skin_body.png", + "tint_map": "steve_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/straight/straight.meta.json b/resource_pack/pieces/straight/straight.meta.json new file mode 100644 index 0000000..592733c --- /dev/null +++ b/resource_pack/pieces/straight/straight.meta.json @@ -0,0 +1,24 @@ +{ + "piece_id": "52dd0726-cd68-4d7d-8561-515a4866de39", + "piece_name": "straight", + "piece_type": "persona_mouth", + "texture_sources": [ + { + "texture": "straight_head.png", + "tint_map": "straight_head_tintmap.tga", + "use_face_uv": true + } + ], + "tint_base_color": { + "r_color": "#000000", + "g_color": "#000000", + "b_color": "#91361F", + "a_color": "#000000" + }, + "tint_color": { + "r_color": "#000000", + "g_color": "#000000", + "b_color": "#91361F", + "a_color": "#000000" + } +} \ No newline at end of file diff --git a/resource_pack/pieces/straight/straight.store_info.json b/resource_pack/pieces/straight/straight.store_info.json new file mode 100644 index 0000000..ba01280 --- /dev/null +++ b/resource_pack/pieces/straight/straight.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.straight_mouth.title", + "piece_thumbnail": "textures/persona_thumbnails/straight_thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_hair/sunny_hair.meta.json b/resource_pack/pieces/sunny_hair/sunny_hair.meta.json new file mode 100644 index 0000000..dc99484 --- /dev/null +++ b/resource_pack/pieces/sunny_hair/sunny_hair.meta.json @@ -0,0 +1,15 @@ +{ + "piece_id": "36f3af09-1871-f074-148a-9f748ba3ca42", + "piece_name": "sunny_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "sunny_hair_head.png", + "tint_map": "sunny_hair_head_tintmap.tga", + "use_face_uv": true + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_hair/sunny_hair.store_info.json b/resource_pack/pieces/sunny_hair/sunny_hair.store_info.json new file mode 100644 index 0000000..5d59ff7 --- /dev/null +++ b/resource_pack/pieces/sunny_hair/sunny_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.sunny_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/sunny_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_pants/sunny_pants.meta.json b/resource_pack/pieces/sunny_pants/sunny_pants.meta.json new file mode 100644 index 0000000..993b6ee --- /dev/null +++ b/resource_pack/pieces/sunny_pants/sunny_pants.meta.json @@ -0,0 +1,20 @@ +{ + "piece_id": "a1f26368-ebfe-843a-e6ff-f2dc724108ec", + "piece_name": "sunny_pants", + "piece_type": "persona_high_pants", + "zone": [ + "body_front_upper", + "body_front_lower", + "body_back_upper", + "body_back_lower", + "left_leg_upper", + "left_leg_middle", + "right_leg_upper", + "right_leg_middle" + ], + "texture_sources": [ + { + "texture": "sunny_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_pants/sunny_pants.store_info.json b/resource_pack/pieces/sunny_pants/sunny_pants.store_info.json new file mode 100644 index 0000000..2e7de8d --- /dev/null +++ b/resource_pack/pieces/sunny_pants/sunny_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.sunny_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/sunny_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_shirt/sunny_shirt.meta.json b/resource_pack/pieces/sunny_shirt/sunny_shirt.meta.json new file mode 100644 index 0000000..40efc61 --- /dev/null +++ b/resource_pack/pieces/sunny_shirt/sunny_shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "e86ab12f-d79c-6e47-b3af-19a3c965505a", + "piece_name": "sunny_shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "sunny_shirt.png" + } + ] +} diff --git a/resource_pack/pieces/sunny_shirt/sunny_shirt.store_info.json b/resource_pack/pieces/sunny_shirt/sunny_shirt.store_info.json new file mode 100644 index 0000000..b58f086 --- /dev/null +++ b/resource_pack/pieces/sunny_shirt/sunny_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.sunny_shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/sunny_shirt_Thumbnail_0" +} diff --git a/resource_pack/pieces/sunny_shoes/sunny_shoes.meta.json b/resource_pack/pieces/sunny_shoes/sunny_shoes.meta.json new file mode 100644 index 0000000..afae1d0 --- /dev/null +++ b/resource_pack/pieces/sunny_shoes/sunny_shoes.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "34524691-ff49-da97-8ae0-d07ef8a0c118", + "piece_name": "sunny_shoes", + "piece_type": "persona_feet", + "texture_sources": [ + { + "texture": "sunny_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_shoes/sunny_shoes.store_info.json b/resource_pack/pieces/sunny_shoes/sunny_shoes.store_info.json new file mode 100644 index 0000000..c04a039 --- /dev/null +++ b/resource_pack/pieces/sunny_shoes/sunny_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.sunny_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/sunny_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_skin/sunny_skin.meta.json b/resource_pack/pieces/sunny_skin/sunny_skin.meta.json new file mode 100644 index 0000000..89cb56d --- /dev/null +++ b/resource_pack/pieces/sunny_skin/sunny_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "33c7a041-46be-73ad-55aa-7e1b18563364", + "piece_name": "sunny_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "sunny_skin_head.png", + "tint_map": "sunny_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "sunny_skin_body.png", + "tint_map": "sunny_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/sunny_skin/sunny_skin.store_info.json b/resource_pack/pieces/sunny_skin/sunny_skin.store_info.json new file mode 100644 index 0000000..55ade96 --- /dev/null +++ b/resource_pack/pieces/sunny_skin/sunny_skin.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.sunny_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/sunny_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_hair/zuri_hair.meta.json b/resource_pack/pieces/zuri_hair/zuri_hair.meta.json new file mode 100644 index 0000000..b84d4d7 --- /dev/null +++ b/resource_pack/pieces/zuri_hair/zuri_hair.meta.json @@ -0,0 +1,15 @@ +{ + "piece_id": "99bdbaae-309b-d64b-42ad-0194a57db891", + "piece_name": "zuri_hair", + "piece_type": "persona_hair", + "tint_base_color": { + "r_color": "#862f0b" + }, + "texture_sources": [ + { + "texture": "zuri_hair_head.png", + "tint_map": "zuri_hair_head_tintmap.tga", + "use_face_uv": true + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_hair/zuri_hair.store_info.json b/resource_pack/pieces/zuri_hair/zuri_hair.store_info.json new file mode 100644 index 0000000..b5ae5e3 --- /dev/null +++ b/resource_pack/pieces/zuri_hair/zuri_hair.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.zuri_hair.title", + "piece_thumbnail": "textures/persona_thumbnails/zuri_hair_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_pants/zuri_pants.meta.json b/resource_pack/pieces/zuri_pants/zuri_pants.meta.json new file mode 100644 index 0000000..d252eb3 --- /dev/null +++ b/resource_pack/pieces/zuri_pants/zuri_pants.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "d42123c3-25b2-74e7-5720-b59e4280017a", + "piece_name": "zuri_pants", + "piece_type": "persona_high_pants", + "zone": ["right_leg_upper", "right_leg_middle", "left_leg_upper", "left_leg_middle", "body_back_lower", "body_back_upper"], + "texture_sources": [ + { + "texture": "zuri_pants.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_pants/zuri_pants.store_info.json b/resource_pack/pieces/zuri_pants/zuri_pants.store_info.json new file mode 100644 index 0000000..7b0a7a9 --- /dev/null +++ b/resource_pack/pieces/zuri_pants/zuri_pants.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.zuri_pants.title", + "piece_thumbnail": "textures/persona_thumbnails/zuri_pants_Thumbnail_0.png" +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_shirt/zuri_Shirt.meta.json b/resource_pack/pieces/zuri_shirt/zuri_Shirt.meta.json new file mode 100644 index 0000000..2824364 --- /dev/null +++ b/resource_pack/pieces/zuri_shirt/zuri_Shirt.meta.json @@ -0,0 +1,10 @@ +{ + "piece_id": "bb0321e0-9712-e35a-52cc-f3c83e0065f4", + "piece_name": "zuri_Shirt", + "piece_type": "persona_top", + "texture_sources": [ + { + "texture": "zuri_shirt.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_shirt/zuri_shirt.store_info.json b/resource_pack/pieces/zuri_shirt/zuri_shirt.store_info.json new file mode 100644 index 0000000..5ff3706 --- /dev/null +++ b/resource_pack/pieces/zuri_shirt/zuri_shirt.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.zuri_Shirt.title", + "piece_thumbnail": "textures/persona_thumbnails/zuri_Shirt_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_shoes/zuri_shoes.meta.json b/resource_pack/pieces/zuri_shoes/zuri_shoes.meta.json new file mode 100644 index 0000000..01059b7 --- /dev/null +++ b/resource_pack/pieces/zuri_shoes/zuri_shoes.meta.json @@ -0,0 +1,11 @@ +{ + "piece_id": "6791bf52-fb55-3bdf-a20d-6bf9f6c83987", + "piece_name": "zuri_shoes", + "piece_type": "persona_feet", + "zone": ["right_leg_lower", "left_leg_lower"], + "texture_sources": [ + { + "texture": "zuri_shoes.png" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_shoes/zuri_shoes.store_info.json b/resource_pack/pieces/zuri_shoes/zuri_shoes.store_info.json new file mode 100644 index 0000000..4e89325 --- /dev/null +++ b/resource_pack/pieces/zuri_shoes/zuri_shoes.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.zuri_shoes.title", + "piece_thumbnail": "textures/persona_thumbnails/zuri_shoes_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_skin/zuri_skin.meta.json b/resource_pack/pieces/zuri_skin/zuri_skin.meta.json new file mode 100644 index 0000000..bef64b0 --- /dev/null +++ b/resource_pack/pieces/zuri_skin/zuri_skin.meta.json @@ -0,0 +1,19 @@ +{ + "piece_id": "69422c5a-60b1-25eb-cfdd-a45626416758", + "piece_name": "zuri_skin", + "piece_type": "persona_skin", + "tint_base_color": { + "r_color": "#ff7f4a" + }, + "texture_sources": [ + { + "texture": "zuri_skin_head.png", + "tint_map": "zuri_skin_head_tintmap.tga", + "use_face_uv": true + }, + { + "texture": "zuri_skin_body.png", + "tint_map": "zuri_skin_body_tintmap.tga" + } + ] +} \ No newline at end of file diff --git a/resource_pack/pieces/zuri_skin/zuri_skin.store_info.json b/resource_pack/pieces/zuri_skin/zuri_skin.store_info.json new file mode 100644 index 0000000..f18f740 --- /dev/null +++ b/resource_pack/pieces/zuri_skin/zuri_skin.store_info.json @@ -0,0 +1,4 @@ +{ + "piece_store_name": "persona.zuri_skin.title", + "piece_thumbnail": "textures/persona_thumbnails/zuri_skin_Thumbnail_0" +} \ No newline at end of file diff --git a/resource_pack/render_controllers/agent.render_controllers.json b/resource_pack/render_controllers/agent.render_controllers.json new file mode 100644 index 0000000..ef1a2b6 --- /dev/null +++ b/resource_pack/render_controllers/agent.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.agent": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/allay.render_controllers.json b/resource_pack/render_controllers/allay.render_controllers.json new file mode 100644 index 0000000..68515f4 --- /dev/null +++ b/resource_pack/render_controllers/allay.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.allay": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "ignore_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/armadillo.render_controllers.json b/resource_pack/render_controllers/armadillo.render_controllers.json new file mode 100644 index 0000000..35ad95e --- /dev/null +++ b/resource_pack/render_controllers/armadillo.render_controllers.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.armadillo": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "body": "!variable.use_rolled_up_model" }, + { "tail": "!variable.use_rolled_up_model" }, + { "left_hind_leg": "!variable.use_rolled_up_model" }, + { "right_hind_leg": "!variable.use_rolled_up_model" }, + { "body_rolled_up": "variable.use_rolled_up_model" } + ] + } + } +} diff --git a/resource_pack/render_controllers/armor.leather.render_controllers.json b/resource_pack/render_controllers/armor.leather.render_controllers.json new file mode 100644 index 0000000..925838b --- /dev/null +++ b/resource_pack/render_controllers/armor.leather.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.armor.leather": { + "geometry": "Geometry.default", + "materials": [ { "*": "variable.is_enchanted ? Material.enchanted : Material.default" } ], + "textures": [ "Texture.default", "Texture.enchanted" ] + } + } +} diff --git a/resource_pack/render_controllers/armor.render_controllers.json b/resource_pack/render_controllers/armor.render_controllers.json new file mode 100644 index 0000000..fe6ca00 --- /dev/null +++ b/resource_pack/render_controllers/armor.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.armor": { + "geometry": "Geometry.default", + "materials": [ { "*": "variable.is_enchanted ? Material.enchanted : Material.default" } ], + "textures": [ "variable.has_trim ? variable.trim_path : Texture.default", "Texture.enchanted" ] + } + } + } \ No newline at end of file diff --git a/resource_pack/render_controllers/armor_stand.render_controllers.json b/resource_pack/render_controllers/armor_stand.render_controllers.json new file mode 100644 index 0000000..daa5c29 --- /dev/null +++ b/resource_pack/render_controllers/armor_stand.render_controllers.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.armor_stand": { + "geometry": "geometry.default", + "part_visibility": [ { "baseplate": "!query.is_in_ui" } ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "texture.default" ], + "overlay_color": { + "r": "this", + "g": "this", + "b": "this", + "a": "0.0" + } + } + } +} diff --git a/resource_pack/render_controllers/arrow.render_controllers.json b/resource_pack/render_controllers/arrow.render_controllers.json new file mode 100644 index 0000000..93f4484 --- /dev/null +++ b/resource_pack/render_controllers/arrow.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.arrow": { + "geometry": "geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "texture.default" ], + "filter_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/axolotl.render_controllers.json b/resource_pack/render_controllers/axolotl.render_controllers.json new file mode 100644 index 0000000..9bbf129 --- /dev/null +++ b/resource_pack/render_controllers/axolotl.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.axolotl": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.lucy", "Texture.cyan", "Texture.gold", "Texture.wild", "Texture.blue" ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" }, + { "*arm": "Material.limbs" }, + { "*leg": "Material.limbs" } + + ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/balloon.render_controllers.json b/resource_pack/render_controllers/balloon.render_controllers.json new file mode 100644 index 0000000..ceada3e --- /dev/null +++ b/resource_pack/render_controllers/balloon.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.balloon": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/bat.render_controllers.json b/resource_pack/render_controllers/bat.render_controllers.json new file mode 100644 index 0000000..8bfa778 --- /dev/null +++ b/resource_pack/render_controllers/bat.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.bat": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/bee.render_controllers.json b/resource_pack/render_controllers/bee.render_controllers.json new file mode 100644 index 0000000..4e01f62 --- /dev/null +++ b/resource_pack/render_controllers/bee.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.bee": { + "arrays": { + "textures": { + "array.skins": [ + "texture.default", + "texture.nectar", + "texture.angry", + "texture.angry_nectar" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "array.skins[query.property('minecraft:has_nectar') + query.is_angry * 2]" ] + } + } + } diff --git a/resource_pack/render_controllers/blaze.render_controllers.json b/resource_pack/render_controllers/blaze.render_controllers.json new file mode 100644 index 0000000..66f4677 --- /dev/null +++ b/resource_pack/render_controllers/blaze.render_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.blaze": { + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.body" }, + { "head": "Material.head" } + ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/bogged.render_controllers.json b/resource_pack/render_controllers/bogged.render_controllers.json new file mode 100644 index 0000000..4c610d9 --- /dev/null +++ b/resource_pack/render_controllers/bogged.render_controllers.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.bogged": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.default", + "part_visibility": [ + { "mushrooms": "!query.is_sheared" } + ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/bogged_clothes.render_controllers.json b/resource_pack/render_controllers/bogged_clothes.render_controllers.json new file mode 100644 index 0000000..8473660 --- /dev/null +++ b/resource_pack/render_controllers/bogged_clothes.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.bogged_clothes": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.overlay", + "materials": [ { "*": "Material.overlay" } ], + "textures": [ "Texture.overlay" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/bow.render_controllers.json b/resource_pack/render_controllers/bow.render_controllers.json new file mode 100644 index 0000000..208b0b1 --- /dev/null +++ b/resource_pack/render_controllers/bow.render_controllers.json @@ -0,0 +1,28 @@ +{ + "format_version": "1.10", + "render_controllers": { + "controller.render.bow": { + "arrays": { + "textures": { + "array.bow_texture_frames": [ + "texture.default", + "texture.bow_pulling_0", + "texture.bow_pulling_1", + "texture.bow_pulling_2" + ] + }, + "geometries": { + "array.bow_geo_frames": [ + "geometry.default", + "geometry.bow_pulling_0", + "geometry.bow_pulling_1", + "geometry.bow_pulling_2" + ] + } + }, + "geometry": "array.bow_geo_frames[query.get_animation_frame]", + "materials": [ { "*": "variable.is_enchanted ? material.enchanted : material.default" } ], + "textures": [ "array.bow_texture_frames[query.get_animation_frame]", "texture.enchanted" ] + } + } +} diff --git a/resource_pack/render_controllers/breeze.render_controllers.json b/resource_pack/render_controllers/breeze.render_controllers.json new file mode 100644 index 0000000..5b32065 --- /dev/null +++ b/resource_pack/render_controllers/breeze.render_controllers.json @@ -0,0 +1,55 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.breeze": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + }, + "controller.render.breeze_eyes": { + "geometry": "Geometry.breeze_eyes", + "materials": [ { "*": "Material.breeze_eyes" } ], + "textures": [ "Texture.breeze_eyes" ], + "ignore_lighting": true + }, + "controller.render.breeze_wind_top": { + "geometry": "Geometry.breeze_wind_top", + "materials": [ { "*": "Material.breeze_wind" } ], + "textures": [ "Texture.breeze_wind" ], + "uv_anim": { + "offset": [ + "((Math.floor(query.life_time * 20.0) + query.frame_alpha) * 0.02)", + "(0.0)" + ], + "scale": [ 1.0, 1.0 ] + }, + "light_color_multiplier": 1.8 + }, + "controller.render.breeze_wind_mid": { + "geometry": "Geometry.breeze_wind_mid", + "materials": [ { "*": "Material.breeze_wind" } ], + "textures": [ "Texture.breeze_wind" ], + "uv_anim": { + "offset": [ + "((Math.floor(query.life_time * 20.0) + query.frame_alpha) * 0.025)", + "(0.0)" + ], + "scale": [ 1.0, 1.0 ] + }, + "light_color_multiplier": 1.8 + }, + "controller.render.breeze_wind_bottom": { + "geometry": "Geometry.breeze_wind_bottom", + "materials": [ { "*": "Material.breeze_wind" } ], + "textures": [ "Texture.breeze_wind" ], + "uv_anim": { + "offset": [ + "((Math.floor(query.life_time * 20.0) + query.frame_alpha) * 0.03)", + "(0.0)" + ], + "scale": [ 1.0, 1.0 ] + }, + "light_color_multiplier": 1.8 + } + } +} diff --git a/resource_pack/render_controllers/camel.render_controllers.json b/resource_pack/render_controllers/camel.render_controllers.json new file mode 100644 index 0000000..39ceec0 --- /dev/null +++ b/resource_pack/render_controllers/camel.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.camel": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "saddle": "query.is_saddled" }, + { "bridle": "query.is_saddled" }, + { "reins*" : "query.is_saddled && query.has_rider" } + ] + } + } +} diff --git a/resource_pack/render_controllers/cape.render_controllers.json b/resource_pack/render_controllers/cape.render_controllers.json new file mode 100644 index 0000000..e06b2b5 --- /dev/null +++ b/resource_pack/render_controllers/cape.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.player.cape": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.cape", + "materials": [ { "*": "Material.cape" } ], + "textures": [ "Texture.cape" ], + "part_visibility": [ + { "cape": "query.armor_texture_slot(1) != 5 && (!variable.is_first_person || variable.is_paperdoll) && !variable.map_face_icon && !query.is_spectator" } + ], + "is_hurt_color": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + } + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/cat.render_controllers.json b/resource_pack/render_controllers/cat.render_controllers.json new file mode 100644 index 0000000..ff73d6e --- /dev/null +++ b/resource_pack/render_controllers/cat.render_controllers.json @@ -0,0 +1,40 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.cat": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.white", + "Texture.black", + "Texture.red", + "Texture.siamese", + "Texture.british", + "Texture.calico", + "Texture.persian", + "Texture.ragdoll", + "Texture.tabby", + "Texture.all_black", + "Texture.jellie" + ], + "Array.tame": [ + "Texture.white_tame", + "Texture.black_tame", + "Texture.red_tame", + "Texture.siamese_tame", + "Texture.british_tame", + "Texture.calico_tame", + "Texture.persian_tame", + "Texture.ragdoll_tame", + "Texture.tabby_tame", + "Texture.all_black_tame", + "Texture.jellie_tame" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "query.is_tamed ? Array.tame[query.variant] : Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/chicken.render_controllers.json b/resource_pack/render_controllers/chicken.render_controllers.json new file mode 100644 index 0000000..1a22d28 --- /dev/null +++ b/resource_pack/render_controllers/chicken.render_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.chicken": { + "geometry": "geometry.default", + "materials": [ + { "*": "Material.default" }, + { "leg*": "Material.legs" } + ], + "textures": [ "texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/cod.render_controllers.json b/resource_pack/render_controllers/cod.render_controllers.json new file mode 100644 index 0000000..1c46386 --- /dev/null +++ b/resource_pack/render_controllers/cod.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.cod": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/cow.render_controllers.json b/resource_pack/render_controllers/cow.render_controllers.json new file mode 100644 index 0000000..25d07b7 --- /dev/null +++ b/resource_pack/render_controllers/cow.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.cow": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/creaking.render_controllers.json b/resource_pack/render_controllers/creaking.render_controllers.json new file mode 100644 index 0000000..5951785 --- /dev/null +++ b/resource_pack/render_controllers/creaking.render_controllers.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.creaking": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "*": "!query.is_invisible" } + ] + }, + "controller.render.creaking_eyes": { + "arrays": { + "materials": { + "Array.materials": [ "Material.default", "Material.eyes" ] + } + }, + "geometry": "Geometry.default", + // When invisible, we only render the eyes, so we use the base material as there's no other texture to blend them on. + "materials": [ { "*": "Array.materials[query.is_invisible ? 0 : 1]" } ], + "textures": [ "Texture.eyes" ], + "ignore_lighting": true, + "part_visibility": [ + { "*": false }, + { "head": "variable.has_emissive_eyes" } + + ] + } + } +} diff --git a/resource_pack/render_controllers/creeper.render_controllers.json b/resource_pack/render_controllers/creeper.render_controllers.json new file mode 100644 index 0000000..7c22742 --- /dev/null +++ b/resource_pack/render_controllers/creeper.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.creeper": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "overlay_color": { + "r": "((variable.flash == 0.0) || (query.swelling_dir < 0.0)) ? this : 1.0", + "g": "((variable.flash == 0.0) || (query.swelling_dir < 0.0)) ? this : 1.0", + "b": "((variable.flash == 0.0) || (query.swelling_dir < 0.0)) ? this : 1.0", + "a": "((variable.flash == 0.0) || (query.swelling_dir < 0.0)) ? this : 0.5" + } + } + } +} diff --git a/resource_pack/render_controllers/creeper_armor.render_controllers.json b/resource_pack/render_controllers/creeper_armor.render_controllers.json new file mode 100644 index 0000000..1127860 --- /dev/null +++ b/resource_pack/render_controllers/creeper_armor.render_controllers.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.creeper_armor": { + "geometry": "Geometry.charged", + "part_visibility": [ + { "*": "query.is_powered" } + ], + "materials": [ { "*": "Material.charged" } ], + "textures": [ "Texture.charged" ], + "overlay_color": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": 1.0 + }, + "uv_anim": { + "offset": [ "(query.is_powered) ? (Math.floor(query.life_time * 20.0) + query.frame_alpha) * 0.01 : 0.0", + "(query.is_powered) ? (Math.floor(query.life_time * 20.0) + query.frame_alpha) * 0.01 : 0.0" ], + "scale": [ 1.0, 1.0 ] + }, + "light_color_multiplier": 0.5, + "ignore_lighting" : true + } + } +} diff --git a/resource_pack/render_controllers/crossbow.render_controllers.json b/resource_pack/render_controllers/crossbow.render_controllers.json new file mode 100644 index 0000000..b74184b --- /dev/null +++ b/resource_pack/render_controllers/crossbow.render_controllers.json @@ -0,0 +1,32 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.crossbow": { + "arrays": { + "textures": { + "array.crossbow_texture_frames": [ + "texture.default", + "texture.crossbow_pulling_0", + "texture.crossbow_pulling_1", + "texture.crossbow_pulling_2", + "texture.crossbow_arrow", + "texture.crossbow_rocket" + ] + }, + "geometries": { + "array.crossbow_geo_frames": [ + "geometry.default", + "geometry.crossbow_pulling_0", + "geometry.crossbow_pulling_1", + "geometry.crossbow_pulling_2", + "geometry.crossbow_arrow", + "geometry.crossbow_rocket" + ] + } + }, + "geometry": "array.crossbow_geo_frames[query.get_animation_frame]", + "materials": [ { "*": "variable.is_enchanted ? material.enchanted : material.default" } ], + "textures": [ "array.crossbow_texture_frames[query.get_animation_frame]", "texture.enchanted" ] + } + } +} diff --git a/resource_pack/render_controllers/default.render_controllers.json b/resource_pack/render_controllers/default.render_controllers.json new file mode 100644 index 0000000..aeee1cd --- /dev/null +++ b/resource_pack/render_controllers/default.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.default": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/dolphin.render_controllers.json b/resource_pack/render_controllers/dolphin.render_controllers.json new file mode 100644 index 0000000..32dfac1 --- /dev/null +++ b/resource_pack/render_controllers/dolphin.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.dolphin": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/donkey_v1_and_v2.render_controllers.json b/resource_pack/render_controllers/donkey_v1_and_v2.render_controllers.json new file mode 100644 index 0000000..b672102 --- /dev/null +++ b/resource_pack/render_controllers/donkey_v1_and_v2.render_controllers.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.donkey.v1.and.v2": { + "part_visibility": [ + { "*saddle*": "query.is_saddled" }, + { "SaddleMouthLine": "query.is_saddled && query.has_rider" }, + { "SaddleMouthLineR": "query.is_saddled && query.has_rider" }, + { "Bag*": "query.is_chested" }, + { "Ear*": false } + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.donkey", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/donkey_v3.render_controllers .json b/resource_pack/render_controllers/donkey_v3.render_controllers .json new file mode 100644 index 0000000..5b904f0 --- /dev/null +++ b/resource_pack/render_controllers/donkey_v3.render_controllers .json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.donkey.v3": { + "part_visibility": [ + { "Saddle": "query.is_saddled" }, + { "Bit*": "query.is_saddled" }, + { "Bridle": "query.is_saddled" }, + { "Reins*" : "query.is_saddled && query.has_rider" }, + { "Bag*" : "query.is_chested" }, + { "Ear*" : false} + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.donkey", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/drowned.render_controllers.json b/resource_pack/render_controllers/drowned.render_controllers.json new file mode 100644 index 0000000..1855b29 --- /dev/null +++ b/resource_pack/render_controllers/drowned.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.drowned": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/ender_crystal.render_controllers.json b/resource_pack/render_controllers/ender_crystal.render_controllers.json new file mode 100644 index 0000000..6981f02 --- /dev/null +++ b/resource_pack/render_controllers/ender_crystal.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.ender_crystal": { + "geometry": "Geometry.default", + "part_visibility": [ { "base": "query.show_bottom" } ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/ender_dragon.render_controllers.json b/resource_pack/render_controllers/ender_dragon.render_controllers.json new file mode 100644 index 0000000..4e1c5e0 --- /dev/null +++ b/resource_pack/render_controllers/ender_dragon.render_controllers.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.ender_dragon_default": { + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.default" ] + }, + "controller.render.ender_dragon_death_pre_pass": { + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.dissolve_0" } + ], + "textures": [ "Texture.exploding" ], + "part_visibility": [ { "*": "query.death_ticks > 1.0" } ], + "is_hurt_color": { + "r": "this", + "g": "this", + "b": "this", + "a": "query.death_ticks > 1.0 ? variable.death_alpha : this" + } + }, + "controller.render.ender_dragon_death_main_pass": { + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.dissolve_1" } + ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/enderman.render_controllers.json b/resource_pack/render_controllers/enderman.render_controllers.json new file mode 100644 index 0000000..8522124 --- /dev/null +++ b/resource_pack/render_controllers/enderman.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.enderman": { + "arrays": { + "materials": { + "Array.materials": [ "Material.default", "Material.invisible" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Array.materials[query.is_invisible]" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/endermite.render_controllers.json b/resource_pack/render_controllers/endermite.render_controllers.json new file mode 100644 index 0000000..d85560b --- /dev/null +++ b/resource_pack/render_controllers/endermite.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.endermite": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/evocation_fang.render_controllers.json b/resource_pack/render_controllers/evocation_fang.render_controllers.json new file mode 100644 index 0000000..a19d44f --- /dev/null +++ b/resource_pack/render_controllers/evocation_fang.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.evocation_fang": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "part_visibility": [ { "*": "variable.animation_progress != 0.0" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/evoker.render_controllers.json b/resource_pack/render_controllers/evoker.render_controllers.json new file mode 100644 index 0000000..a28e219 --- /dev/null +++ b/resource_pack/render_controllers/evoker.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.evoker": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "part_visibility": [ + { "*": true }, + { "arms": "!(query.is_casting || query.is_celebrating)" }, + { "leftarm": "query.is_casting || query.is_celebrating" }, + { "rightarm": "query.is_casting || query.is_celebrating" } + ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/experience_bottle.render_controllers.json b/resource_pack/render_controllers/experience_bottle.render_controllers.json new file mode 100644 index 0000000..31fcc0a --- /dev/null +++ b/resource_pack/render_controllers/experience_bottle.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.experience_bottle": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default", "Texture.enchanted" ], + "filter_lighting": true + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/experience_orb.render_controllers.json b/resource_pack/render_controllers/experience_orb.render_controllers.json new file mode 100644 index 0000000..336fc4a --- /dev/null +++ b/resource_pack/render_controllers/experience_orb.render_controllers.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.experience_orb": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "overlay_color": { + "r": "(Math.sin(query.life_time * 500.0) + 1.0) * 0.5", + "g": "1.0", + "b": "(Math.sin(query.life_time * 500.0 + 240.0) + 1.0) * 0.1", + "a": "0.5" + }, + "ignore_lighting": true, + "uv_anim": { + "offset": [ "variable.u", "variable.v" ], + "scale": [ 1.0, 1.0 ] + } + } + } +} diff --git a/resource_pack/render_controllers/fireball.render_controllers.json b/resource_pack/render_controllers/fireball.render_controllers.json new file mode 100644 index 0000000..24ec98e --- /dev/null +++ b/resource_pack/render_controllers/fireball.render_controllers.json @@ -0,0 +1,17 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.fireball": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "on_fire_color": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": 0.0 + }, + "filter_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/fireworks_rocket.render_controllers.json b/resource_pack/render_controllers/fireworks_rocket.render_controllers.json new file mode 100644 index 0000000..4a8d33d --- /dev/null +++ b/resource_pack/render_controllers/fireworks_rocket.render_controllers.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.fireworks_rocket": { + "geometry": "geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "texture.default" ], + "filter_lighting": true, + "part_visibility": [ + { "body": "!query.is_attached_to_entity" } + ] + } + } +} diff --git a/resource_pack/render_controllers/fishing_hook.render_controllers.json b/resource_pack/render_controllers/fishing_hook.render_controllers.json new file mode 100644 index 0000000..bc3e4e0 --- /dev/null +++ b/resource_pack/render_controllers/fishing_hook.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.fishing_hook": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/fox.render_controllers.json b/resource_pack/render_controllers/fox.render_controllers.json new file mode 100644 index 0000000..b0b9f35 --- /dev/null +++ b/resource_pack/render_controllers/fox.render_controllers.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.fox": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.red", + "Texture.arctic" + ] + } + }, + "geometry": "Geometry.default", + "part_visibility": [ + { "leg*": "!query.is_sleeping" }, + { "head": "!query.is_sleeping" }, + { "head_sleeping": "query.is_sleeping" } + ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/frog.render_controllers.json b/resource_pack/render_controllers/frog.render_controllers.json new file mode 100644 index 0000000..8730647 --- /dev/null +++ b/resource_pack/render_controllers/frog.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.frog": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.temperate", "Texture.cold", "Texture.warm" ] + } + }, + "geometry": "Geometry.default", + "part_visibility": [ { "croaking_body": "!query.is_eating_mob" } ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/ghast.render_controllers.json b/resource_pack/render_controllers/ghast.render_controllers.json new file mode 100644 index 0000000..1d98f18 --- /dev/null +++ b/resource_pack/render_controllers/ghast.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.ghast": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.default", "Texture.shooting" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[variable.ischarging]" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/glow_squid.render_controllers.json b/resource_pack/render_controllers/glow_squid.render_controllers.json new file mode 100644 index 0000000..30fd738 --- /dev/null +++ b/resource_pack/render_controllers/glow_squid.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.glow_squid": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "overlay_color": { + "r": 0.0, + "g": 0.0, + "b": 0.0, + "a": "variable.glow_alpha" + } + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/goat.render_controllers.json b/resource_pack/render_controllers/goat.render_controllers.json new file mode 100644 index 0000000..8fa98b5 --- /dev/null +++ b/resource_pack/render_controllers/goat.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.goat": { + "geometry": "Geometry.default", + "part_visibility": [ + { "right_horn": "variable.goat_has_right_horn" }, + { "left_horn": "variable.goat_has_left_horn" } + ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } + } + \ No newline at end of file diff --git a/resource_pack/render_controllers/guardian.render_controllers.json b/resource_pack/render_controllers/guardian.render_controllers.json new file mode 100644 index 0000000..c29c848 --- /dev/null +++ b/resource_pack/render_controllers/guardian.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.guardian": { + "geometry": "Geometry.default", + "materials": [ { "*": "query.is_ghost ? Material.ghost : Material.default" } ], + "textures": [ "query.is_elder ? Texture.elder : Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/hoglin.render_controllers.json b/resource_pack/render_controllers/hoglin.render_controllers.json new file mode 100644 index 0000000..12e9a11 --- /dev/null +++ b/resource_pack/render_controllers/hoglin.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.hoglin": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/horse_v1_and_v2.render_controllers.json b/resource_pack/render_controllers/horse_v1_and_v2.render_controllers.json new file mode 100644 index 0000000..634b6dc --- /dev/null +++ b/resource_pack/render_controllers/horse_v1_and_v2.render_controllers.json @@ -0,0 +1,56 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.horse.v1.and.v2": { + "part_visibility": [ + { "*saddle*": "query.is_saddled" }, + { "SaddleMouthLine": "query.is_saddled && query.has_rider" }, + { "SaddleMouthLineR": "query.is_saddled && query.has_rider" }, + { "MuleEar*": false }, + { "Bag*": false } + ], + "arrays": { + "textures": { + "Array.base": [ + "Texture.base_white", + "Texture.base_creamy", + "Texture.base_chestnut", + "Texture.base_brown", + "Texture.base_black", + "Texture.base_gray", + "Texture.base_darkbrown" + ], + "Array.markings": [ + "Texture.markings_none", + "Texture.markings_white", + "Texture.markings_whitefield", + "Texture.markings_whitedots", + "Texture.markings_blackdots" + ], + "Array.armor": [ + "Texture.armor_none", + "Texture.armor_leather", + "Texture.armor_iron", + "Texture.armor_gold", + "Texture.armor_diamond" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ + "Array.base[query.variant]", + "Array.markings[query.mark_variant]", + "Array.armor[variable.armor_texture_slot]" + ], + "color": { + "r": "variable.armor_texture_slot ? query.armor_color_slot(4, 0) : this", + "g": "variable.armor_texture_slot ? query.armor_color_slot(4, 1) : this", + "b": "variable.armor_texture_slot ? query.armor_color_slot(4, 2) : this", + "a": "variable.armor_texture_slot ? query.armor_color_slot(4, 3) : this" + } + } + } +} diff --git a/resource_pack/render_controllers/horse_v3.render_controllers.json b/resource_pack/render_controllers/horse_v3.render_controllers.json new file mode 100644 index 0000000..4b46449 --- /dev/null +++ b/resource_pack/render_controllers/horse_v3.render_controllers.json @@ -0,0 +1,57 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.horse.v3": { + "part_visibility": [ + { "Saddle": "query.is_saddled" }, + { "Bit*": "query.is_saddled" }, + { "Bridle": "query.is_saddled" }, + { "Reins*" : "query.is_saddled && query.has_rider" }, + { "Bag*" : false }, + { "MuleEar*" : false} + ], + "arrays": { + "textures": { + "Array.base": [ + "Texture.base_white", + "Texture.base_creamy", + "Texture.base_chestnut", + "Texture.base_brown", + "Texture.base_black", + "Texture.base_gray", + "Texture.base_darkbrown" + ], + "Array.markings": [ + "Texture.markings_none", + "Texture.markings_white", + "Texture.markings_whitefield", + "Texture.markings_whitedots", + "Texture.markings_blackdots" + ], + "Array.armor": [ + "Texture.armor_none", + "Texture.armor_leather", + "Texture.armor_iron", + "Texture.armor_gold", + "Texture.armor_diamond" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ + "Array.base[query.variant]", + "Array.markings[query.mark_variant]", + "Array.armor[variable.armor_texture_slot]" + ], + "color": { + "r": "variable.armor_texture_slot ? query.armor_color_slot(4, 0) : this", + "g": "variable.armor_texture_slot ? query.armor_color_slot(4, 1) : this", + "b": "variable.armor_texture_slot ? query.armor_color_slot(4, 2) : this", + "a": "variable.armor_texture_slot ? query.armor_color_slot(4, 3) : this" + } + } + } +} diff --git a/resource_pack/render_controllers/husk.render_controllers.json b/resource_pack/render_controllers/husk.render_controllers.json new file mode 100644 index 0000000..b85a91e --- /dev/null +++ b/resource_pack/render_controllers/husk.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.husk": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/iron_golem.render_controllers.json b/resource_pack/render_controllers/iron_golem.render_controllers.json new file mode 100644 index 0000000..952a736 --- /dev/null +++ b/resource_pack/render_controllers/iron_golem.render_controllers.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.iron_golem_cracks": { + "arrays": { + "textures": { + "Array.cracks": [ + "Texture.cracked_high", + "Texture.cracked_med", + "Texture.cracked_low", + "Texture.cracked_none" + ] + } + }, + "geometry": "Geometry.default", + "textures": [ "Array.cracks[math.clamp(query.health / 25, 0, 3)]" ] + } + } +} diff --git a/resource_pack/render_controllers/item_default.render_controllers.json b/resource_pack/render_controllers/item_default.render_controllers.json new file mode 100644 index 0000000..8aa5112 --- /dev/null +++ b/resource_pack/render_controllers/item_default.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10", + "render_controllers": { + "controller.render.item_default": { + "geometry": "geometry.default", + "materials": [ { "*": "variable.is_enchanted ? material.enchanted : material.default" } ], + "textures": [ "texture.default", "texture.enchanted" ] + } + } +} diff --git a/resource_pack/render_controllers/item_sprite.render_controllers.json b/resource_pack/render_controllers/item_sprite.render_controllers.json new file mode 100644 index 0000000..ff1b9b6 --- /dev/null +++ b/resource_pack/render_controllers/item_sprite.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.item_sprite": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "filter_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/leash_knot.render_controllers.json b/resource_pack/render_controllers/leash_knot.render_controllers.json new file mode 100644 index 0000000..e2a3cba --- /dev/null +++ b/resource_pack/render_controllers/leash_knot.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.leash_knot": { + "geometry": "geometry.default", + "materials": [ { "*": "material.default" } ], + "textures": [ "texture.default" ], + "filter_lighting": true + } + } + } \ No newline at end of file diff --git a/resource_pack/render_controllers/lingering_potion.render_controllers.json b/resource_pack/render_controllers/lingering_potion.render_controllers.json new file mode 100644 index 0000000..f369ea9 --- /dev/null +++ b/resource_pack/render_controllers/lingering_potion.render_controllers.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.lingering_potion": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.moveSlowdown", + "Texture.moveSpeed", + "Texture.digSlowdown", + "Texture.digSpeed", + "Texture.damageBoost", + "Texture.heal", + "Texture.harm", + "Texture.jump", + "Texture.confusion", + "Texture.regeneration", + "Texture.resistance", + "Texture.fireResistance", + "Texture.waterBreathing", + "Texture.invisibility", + "Texture.blindness", + "Texture.nightVision", + "Texture.hunger", + "Texture.weakness", + "Texture.poison", + "Texture.wither", + "Texture.healthBoost", + "Texture.absorption", + "Texture.saturation", + "Texture.levitation", + "Texture.turtleMaster", + "Texture.slowFall", + "Texture.windCharged", + "Texture.weaving", + "Texture.oozing", + "Texture.infested", + "Texture.default" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]", "Texture.enchanted" ], + "filter_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/llama.render_controllers.json b/resource_pack/render_controllers/llama.render_controllers.json new file mode 100644 index 0000000..a7efc59 --- /dev/null +++ b/resource_pack/render_controllers/llama.render_controllers.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.llama": { + "arrays": { + "textures": { + "Array.base": [ "Texture.creamy", "Texture.white", "Texture.brown", "Texture.gray" ], + "Array.decor": [ "Texture.decor_none", "Texture.decor_white", "Texture.decor_orange", "Texture.decor_magenta", "Texture.decor_light_blue", "Texture.decor_yellow", "Texture.decor_lime", "Texture.decor_pink", "Texture.decor_gray", "Texture.decor_silver", "Texture.decor_cyan", "Texture.decor_purple", "Texture.decor_blue", "Texture.decor_brown", "Texture.decor_green", "Texture.decor_red", "Texture.decor_black" ] + } + }, + "geometry": "Geometry.default", + "part_visibility": [ { "chest*": "query.is_chested" } ], + "materials": [ { "*": "Material.default" } ], + "textures": [ + "Array.base[query.variant]", + "(query.mark_variant == 1 && variable.DecorTextureIndex == 0) ? Texture.decor_wandering_trader : Array.decor[variable.DecorTextureIndex]", + "Texture.decor_none" + ] + } + } +} diff --git a/resource_pack/render_controllers/llama_spit.render_controllers.json b/resource_pack/render_controllers/llama_spit.render_controllers.json new file mode 100644 index 0000000..c9cac63 --- /dev/null +++ b/resource_pack/render_controllers/llama_spit.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.llama_spit": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/magma_cube.render_controllers.json b/resource_pack/render_controllers/magma_cube.render_controllers.json new file mode 100644 index 0000000..af4b053 --- /dev/null +++ b/resource_pack/render_controllers/magma_cube.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.magma_cube": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/map_marker.json b/resource_pack/render_controllers/map_marker.json new file mode 100644 index 0000000..5702c43 --- /dev/null +++ b/resource_pack/render_controllers/map_marker.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.map_marker": { + "geometry": "geometry.default", + "materials": [ + { + "*": "material.default" + } + ], + "textures": [ + "texture.default" + ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/minecart.render_controllers.json b/resource_pack/render_controllers/minecart.render_controllers.json new file mode 100644 index 0000000..deddde3 --- /dev/null +++ b/resource_pack/render_controllers/minecart.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.minecart": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/mooshroom.render_controllers.json b/resource_pack/render_controllers/mooshroom.render_controllers.json new file mode 100644 index 0000000..ee8ac9c --- /dev/null +++ b/resource_pack/render_controllers/mooshroom.render_controllers.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.mooshroom": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.default", + "Texture.brown" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/mule_v1_and_v2.render_controllers.json b/resource_pack/render_controllers/mule_v1_and_v2.render_controllers.json new file mode 100644 index 0000000..76ec2c1 --- /dev/null +++ b/resource_pack/render_controllers/mule_v1_and_v2.render_controllers.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.mule.v1.and.v2": { + "part_visibility": [ + { "*saddle*": "query.is_saddled" }, + { "SaddleMouthLine": "query.is_saddled && query.has_rider" }, + { "SaddleMouthLineR": "query.is_saddled && query.has_rider" }, + { "Bag*": "query.is_chested" }, + { "Ear*": false } + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.mule", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/mule_v3.render_controllers.json b/resource_pack/render_controllers/mule_v3.render_controllers.json new file mode 100644 index 0000000..a5eb5c4 --- /dev/null +++ b/resource_pack/render_controllers/mule_v3.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.mule.v3": { + "part_visibility": [ + { "Saddle": "query.is_saddled" }, + { "Bit*": "query.is_saddled" }, + { "Bridle": "query.is_saddled" }, + { "Reins*" : "query.is_saddled && query.has_rider" }, + { "Bag*" : "query.is_chested" }, + { "Ear*" : false} + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.mule", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/npc.render_controllers.json b/resource_pack/render_controllers/npc.render_controllers.json new file mode 100644 index 0000000..42a3494 --- /dev/null +++ b/resource_pack/render_controllers/npc.render_controllers.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.npc": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.npc_1", + "Texture.npc_2", + "Texture.npc_3", + "Texture.npc_4", + "Texture.npc_5", + "Texture.npc_6", + "Texture.npc_7", + "Texture.npc_8", + "Texture.npc_9", + "Texture.npc_10", + "Texture.npc_scientist_1", + "Texture.npc_scientist_2", + "Texture.npc_scientist_3", + "Texture.npc_scientist_4", + "Texture.npc_scientist_5", + "Texture.npc_scientist_6", + "Texture.npc_scientist_7", + "Texture.npc_scientist_8", + "Texture.npc_scientist_9", + "Texture.npc_scientist_10", + "Texture.npc_apiary_1", + "Texture.npc_apiary_2", + "Texture.npc_apiary_3", + "Texture.npc_apiary_4", + "Texture.npc_apiary_5", + "Texture.npc_teacher_1", + "Texture.npc_teacher_2", + "Texture.npc_teacher_3", + "Texture.npc_teacher_4", + "Texture.npc_teacher_5", + "Texture.npc_construction_1", + "Texture.npc_construction_2", + "Texture.npc_construction_3", + "Texture.npc_construction_4", + "Texture.npc_construction_5", + "Texture.npc_Agriculture_1", + "Texture.npc_Agriculture_2", + "Texture.npc_Agriculture_3", + "Texture.npc_Agriculture_4", + "Texture.npc_Agriculture_5", + "Texture.npc_Agriculture_6", + "Texture.npc_Agriculture_7", + "Texture.npc_Agriculture_8", + "Texture.npc_Agriculture_9", + "Texture.npc_Agriculture_10", + "Texture.npc_BusinessMobs_1", + "Texture.npc_BusinessMobs_2", + "Texture.npc_BusinessMobs_3", + "Texture.npc_BusinessMobs_4", + "Texture.npc_BusinessMobs_5", + "Texture.npc_EverydayBusiness_1", + "Texture.npc_EverydayBusiness_2", + "Texture.npc_EverydayBusiness_3", + "Texture.npc_EverydayBusiness_4", + "Texture.npc_EverydayBusiness_5", + "Texture.npc_Kiosk_1", + "Texture.npc_Kiosk_2", + "Texture.npc_Kiosk_3", + "Texture.npc_Kiosk_4", + "Texture.npc_Kiosk_5" + ] + } + }, + "geometry": "Geometry.default", + "part_visibility": [ + { + "*": false, + "head": true, + "hat": true, + "nose": true, + "body": true, + "arms": true, + "leg0": true, + "leg1": true, + "jacket": true + } + ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/ocelot.render_controllers.json b/resource_pack/render_controllers/ocelot.render_controllers.json new file mode 100644 index 0000000..c8325f8 --- /dev/null +++ b/resource_pack/render_controllers/ocelot.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.ocelot": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.wild", "Texture.black", "Texture.red", "Texture.siamese" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/panda.render_controllers.json b/resource_pack/render_controllers/panda.render_controllers.json new file mode 100644 index 0000000..affa25f --- /dev/null +++ b/resource_pack/render_controllers/panda.render_controllers.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.panda": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.default", + "Texture.lazy", + "Texture.worried", + "Texture.playful", + "Texture.brown", + "Texture.weak", + "Texture.aggressive" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/parrot.render_controllers.json b/resource_pack/render_controllers/parrot.render_controllers.json new file mode 100644 index 0000000..b03a7e6 --- /dev/null +++ b/resource_pack/render_controllers/parrot.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.parrot": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.red_blue", "Texture.blue", "Texture.green", "Texture.yellow_blue", "Texture.grey" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/persona.render_controllers.json b/resource_pack/render_controllers/persona.render_controllers.json new file mode 100644 index 0000000..23d22fb --- /dev/null +++ b/resource_pack/render_controllers/persona.render_controllers.json @@ -0,0 +1,175 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.persona_animated_face.first_person": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.animated_face", + "materials": [ { "*": "Material.animated" } ], + "textures": [ "Texture.animated_face" ], + "part_visibility": [ + { "*": false }, + { "rightArm": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" }, + { "rightSleeve": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" }, + { "leftArm": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" }, + { "leftSleeve": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" } + ], + "uv_anim": { + "offset": [ 0.0, "variable.use_blinking_animation ? variable.is_blinking * 0.5 : Math.mod(Math.floor(query.life_time * 7),variable.animation_frames_face)/variable.animation_frames_face" ], + "scale": [ 1.0, 1.0 ] + } + }, + "controller.render.persona_animated_32x32.first_person": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.animated_32x32", + "materials": [ { "*": "Material.animated" } ], + "textures": [ "Texture.animated_32x32" ], + "part_visibility": [ + { "*": false }, + { "rightArm": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" }, + { "rightSleeve": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" }, + { "leftArm": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" }, + { "leftSleeve": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" } + ], + "uv_anim": { + "offset": [ 0.0, "Math.mod(Math.floor(query.life_time * 7),variable.animation_frames_32x32)/variable.animation_frames_32x32" ], + "scale": [ 1.0, 1.0 ] + } + }, + "controller.render.persona_animated_128x128.first_person": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.animated_128x128", + "materials": [ { "*": "Material.animated" } ], + "textures": [ "Texture.animated_128x128" ], + "part_visibility": [ + { "*": false }, + { "rightArm": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" }, + { "rightSleeve": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'map'" }, + { "leftArm": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" }, + { "leftSleeve": "(query.get_equipped_item_name(0, 1) == 'map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" } + ], + "uv_anim": { + "offset": [ 0.0, "Math.mod(Math.floor(query.life_time * 7),variable.animation_frames_128x128)/variable.animation_frames_128x128" ], + "scale": [ 1.0, 1.0 ] + } + }, + "controller.render.persona_animated_face.third_person": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.animated_face", + "materials": [ { "*": "query.is_spectator ? Material.spectator : Material.animated" } ], + "textures": [ "Texture.animated_face" ], + "part_visibility": [ + { "*": "!query.is_spectator" }, + { "head": true }, + { "hat": true }, + { "helmet": "variable.helmet_layer_visible" }, + { "leftLegging": "variable.leg_layer_visible && !query.is_spectator" }, + { "rightLegging": "variable.leg_layer_visible && !query.is_spectator" }, + { "leftBoot": "variable.boot_layer_visible && !query.is_spectator" }, + { "rightBoot": "variable.boot_layer_visible && !query.is_spectator" }, + { "leftSock": "variable.boot_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "rightSock": "variable.boot_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "bodyArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "leftArmArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "rightArmArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "belt": "variable.chest_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "cape": "query.has_cape && !query.is_spectator" } + ], + "uv_anim": { + "offset": [ 0.0, "variable.use_blinking_animation ? variable.is_blinking * 0.5 : Math.mod(Math.floor(query.life_time * 7),variable.animation_frames_face)/variable.animation_frames_face" ], + "scale": [ 1.0, 1.0 ] + }, + "color": { + "r": "1.0f", + "g": "1.0f", + "b": "1.0f", + "a": "0.3f" + } + }, + "controller.render.persona_animated_32x32.third_person": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.animated_32x32", + "materials": [ { "*": "query.is_spectator ? Material.spectator : Material.animated" } ], + "textures": [ "Texture.animated_32x32" ], + "part_visibility": [ + { "*": "!query.is_spectator" }, + { "head": true }, + { "hat": true }, + { "helmet": "variable.helmet_layer_visible" }, + { "leftLegging": "variable.leg_layer_visible && !query.is_spectator" }, + { "rightLegging": "variable.leg_layer_visible && !query.is_spectator" }, + { "leftBoot": "variable.boot_layer_visible && !query.is_spectator" }, + { "rightBoot": "variable.boot_layer_visible && !query.is_spectator" }, + { "leftSock": "variable.boot_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "rightSock": "variable.boot_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "bodyArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "leftArmArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "rightArmArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "belt": "variable.chest_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "cape": "query.has_cape && !query.is_spectator" } + ], + "uv_anim": { + "offset": [ 0.0, "Math.mod(Math.floor(query.life_time * 7),variable.animation_frames_32x32)/variable.animation_frames_32x32" ], + "scale": [ 1.0, 1.0 ] + }, + "color": { + "r": "1.0f", + "g": "1.0f", + "b": "1.0f", + "a": "0.3f" + } + }, + "controller.render.persona_animated_128x128.third_person": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.animated_128x128", + "materials": [ { "*": "query.is_spectator ? Material.spectator : Material.animated" } ], + "textures": [ "Texture.animated_128x128" ], + "part_visibility": [ + { "*": "!query.is_spectator" }, + { "head": true }, + { "hat": true }, + { "helmet": "variable.helmet_layer_visible" }, + { "leftLegging": "variable.leg_layer_visible && !query.is_spectator" }, + { "rightLegging": "variable.leg_layer_visible && !query.is_spectator" }, + { "leftBoot": "variable.boot_layer_visible && !query.is_spectator" }, + { "rightBoot": "variable.boot_layer_visible && !query.is_spectator" }, + { "leftSock": "variable.boot_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "rightSock": "variable.boot_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "bodyArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "leftArmArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "rightArmArmor": "variable.chest_layer_visible && !query.is_spectator" }, + { "belt": "variable.chest_layer_visible && variable.leg_layer_visible && !query.is_spectator" }, + { "cape": "query.has_cape && !query.is_spectator" } + ], + "uv_anim": { + "offset": [ 0.0, "Math.mod(Math.floor(query.life_time * 7),variable.animation_frames_128x128)/variable.animation_frames_128x128" ], + "scale": [ 1.0, 1.0 ] + }, + "color": { + "r": "1.0f", + "g": "1.0f", + "b": "1.0f", + "a": "0.3f" + } + }, + "controller.render.player.map.persona": { + "arrays": { + "geometries": { + "Array.geos": [ "Geometry.default", "Geometry.animated_face" ] + } + }, + "geometry": "Array.geos[query.is_persona_or_premium_skin]", + "materials": [ { "*": "Material.animated" } ], + "textures": [ "Texture.animated_face" ], + "part_visibility": [ + { "*": false }, + { "head": true }, + { "hat": true }, + { "helmet": true } + ], + "uv_anim": { + "offset": [ 0.0, "variable.is_blinking * 0.5" ], + "scale": [ 1.0, 1.0 ] + } + } + } +} diff --git a/resource_pack/render_controllers/phantom.render_controllers.json b/resource_pack/render_controllers/phantom.render_controllers.json new file mode 100644 index 0000000..6c392a2 --- /dev/null +++ b/resource_pack/render_controllers/phantom.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.phantom": { + "arrays": { + "materials": { + "Array.materials": [ "Material.default", "Material.invisible" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Array.materials[query.is_invisible]" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/pig.render_controllers.json b/resource_pack/render_controllers/pig.render_controllers.json new file mode 100644 index 0000000..ce54c78 --- /dev/null +++ b/resource_pack/render_controllers/pig.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.pig": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.default", "Texture.saddled" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.is_saddled]" ] + } + } +} diff --git a/resource_pack/render_controllers/pig.v3.render_controllers.json b/resource_pack/render_controllers/pig.v3.render_controllers.json new file mode 100644 index 0000000..4ee7ff6 --- /dev/null +++ b/resource_pack/render_controllers/pig.v3.render_controllers.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.pig.v3": { + "arrays": { + "textures": { + "Array.default": [ + "Texture.temperate", + "Texture.warm", + "Texture.cold" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.default[v.index]" ] + } + } +} diff --git a/resource_pack/render_controllers/piglin.render_controllers.json b/resource_pack/render_controllers/piglin.render_controllers.json new file mode 100644 index 0000000..b465417 --- /dev/null +++ b/resource_pack/render_controllers/piglin.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.piglin": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/piglin_brute.render_controllers.json b/resource_pack/render_controllers/piglin_brute.render_controllers.json new file mode 100644 index 0000000..73f19b0 --- /dev/null +++ b/resource_pack/render_controllers/piglin_brute.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.piglin_brute": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/pillager.render_controllers.json b/resource_pack/render_controllers/pillager.render_controllers.json new file mode 100644 index 0000000..8ba71c0 --- /dev/null +++ b/resource_pack/render_controllers/pillager.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.pillager": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/player.render_controllers.json b/resource_pack/render_controllers/player.render_controllers.json new file mode 100644 index 0000000..a087d16 --- /dev/null +++ b/resource_pack/render_controllers/player.render_controllers.json @@ -0,0 +1,72 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.player.first_person": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "*": false }, + { "rightArm": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'filled_map'" }, + { "rightSleeve": "query.get_equipped_item_name(0, 1) == '' || query.get_equipped_item_name(0, 1) == 'filled_map'" }, + { "leftArm": "(query.get_equipped_item_name(0, 1) == 'filled_map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'filled_map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" }, + { "leftSleeve": "(query.get_equipped_item_name(0, 1) == 'filled_map' && query.get_equipped_item_name('off_hand') != 'shield') || (query.get_equipped_item_name('off_hand') == 'filled_map' && !query.item_is_charged) || (!query.item_is_charged && (variable.item_use_normalized > 0 && variable.item_use_normalized < 1.0))" } + ] + }, + "controller.render.player.third_person": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "*": true }, + { "helmet": "variable.helmet_layer_visible" }, + { "leftLegging": "variable.leg_layer_visible" }, + { "rightLegging": "variable.leg_layer_visible" }, + { "leftBoot": "variable.boot_layer_visible" }, + { "rightBoot": "variable.boot_layer_visible" }, + { "leftSock": "variable.boot_layer_visible && variable.leg_layer_visible" }, + { "rightSock": "variable.boot_layer_visible && variable.leg_layer_visible" }, + { "bodyArmor": "variable.chest_layer_visible && !query.has_cape" }, + { "leftArmArmor": "variable.chest_layer_visible && !query.has_cape" }, + { "rightArmArmor": "variable.chest_layer_visible && !query.has_cape" }, + { "belt": "variable.chest_layer_visible && variable.leg_layer_visible" } + ] + }, + "controller.render.player.first_person_spectator": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "*": false } + ] + }, + "controller.render.player.third_person_spectator": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.spectator" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "*": false }, + { "head": true }, + { "hat": true }, + { "helmet": "variable.helmet_layer_visible" } + ], + "color": { + "r": "1.0f", + "g": "1.0f", + "b": "1.0f", + "a": "0.3f" + } + }, + "controller.render.player.map": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "*": false }, + { "head": true }, + { "hat": true }, + { "helmet": true } + ] + } + } +} diff --git a/resource_pack/render_controllers/polar_bear.render_controllers.json b/resource_pack/render_controllers/polar_bear.render_controllers.json new file mode 100644 index 0000000..5bc5487 --- /dev/null +++ b/resource_pack/render_controllers/polar_bear.render_controllers.json @@ -0,0 +1,10 @@ + { + "format_version": "1.8.0", + "render_controllers": { + "controller.render.polarbear": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } + } diff --git a/resource_pack/render_controllers/pufferfish.render_controllers.json b/resource_pack/render_controllers/pufferfish.render_controllers.json new file mode 100644 index 0000000..bcc1d3b --- /dev/null +++ b/resource_pack/render_controllers/pufferfish.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.pufferfish.small": { + "geometry": "geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + }, + "controller.render.pufferfish.medium": { + "geometry": "geometry.mid", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + }, + "controller.render.pufferfish.large": { + "geometry": "geometry.large", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/rabbit.render_controllers.json b/resource_pack/render_controllers/rabbit.render_controllers.json new file mode 100644 index 0000000..0c5a1d5 --- /dev/null +++ b/resource_pack/render_controllers/rabbit.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.rabbit": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.brown", "Texture.white", "Texture.black", "Texture.white_splotched", "Texture.gold", "Texture.salt" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "query.get_name == 'Toast' ? Texture.toast : Array.skins[query.variant]" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/ravager.render_controllers.json b/resource_pack/render_controllers/ravager.render_controllers.json new file mode 100644 index 0000000..2d79277 --- /dev/null +++ b/resource_pack/render_controllers/ravager.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.ravager": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/saddle.render_controllers.json b/resource_pack/render_controllers/saddle.render_controllers.json new file mode 100644 index 0000000..cddd9cd --- /dev/null +++ b/resource_pack/render_controllers/saddle.render_controllers.json @@ -0,0 +1,13 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.saddle": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "part_visibility": [ + { "*": "variable.should_render" } + ] + } + } +} diff --git a/resource_pack/render_controllers/salmon.render_controllers.json b/resource_pack/render_controllers/salmon.render_controllers.json new file mode 100644 index 0000000..5d5f6c4 --- /dev/null +++ b/resource_pack/render_controllers/salmon.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.salmon": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/sheep.render_controllers.json b/resource_pack/render_controllers/sheep.render_controllers.json new file mode 100644 index 0000000..e21a90f --- /dev/null +++ b/resource_pack/render_controllers/sheep.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.sheep": { + "arrays": { + "geometries": { + "Array.geos": [ "Geometry.default", "Geometry.sheared" ] + } + }, + "geometry": "Array.geos[query.is_sheared]", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/shield.render_controllers.json b/resource_pack/render_controllers/shield.render_controllers.json new file mode 100644 index 0000000..40ed023 --- /dev/null +++ b/resource_pack/render_controllers/shield.render_controllers.json @@ -0,0 +1,14 @@ +{ + "format_version": "1.10", + "render_controllers": { + "controller.render.shield": { + "geometry": "geometry.default", + "materials": [ { "*": "variable.is_patterned ? (variable.is_enchanted ? material.pattern_enchanted : material.pattern) : (variable.is_enchanted ? material.enchanted : material.default)" } ], + "textures": [ + "texture.default", + "texture.enchanted", + "texture.pattern" + ] + } + } +} diff --git a/resource_pack/render_controllers/shulker.render_controllers.json b/resource_pack/render_controllers/shulker.render_controllers.json new file mode 100644 index 0000000..b3bfac9 --- /dev/null +++ b/resource_pack/render_controllers/shulker.render_controllers.json @@ -0,0 +1,33 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.shulker": { + "arrays": { + "textures": { + "Array.variants": [ + "Texture.black", + "Texture.red", + "Texture.green", + "Texture.brown", + "Texture.blue", + "Texture.purple", + "Texture.cyan", + "Texture.silver", + "Texture.gray", + "Texture.pink", + "Texture.lime", + "Texture.yellow", + "Texture.light_blue", + "Texture.magenta", + "Texture.orange", + "Texture.white", + "Texture.undyed" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.variants[query.variant]" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/shulker_bullet.render_controllers.json b/resource_pack/render_controllers/shulker_bullet.render_controllers.json new file mode 100644 index 0000000..ea18606 --- /dev/null +++ b/resource_pack/render_controllers/shulker_bullet.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.shulker_bullet": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/silverfish.render_controllers.json b/resource_pack/render_controllers/silverfish.render_controllers.json new file mode 100644 index 0000000..68419f3 --- /dev/null +++ b/resource_pack/render_controllers/silverfish.render_controllers.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.silverfish": { + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" }, + { "bodyLayer_*": "Material.body_layer" } + ], + "part_visibility": [ + { "*": "0" }, + { "bodypart_0": "1" }, + { "bodypart_1": "1" }, + { "bodypart_2": "1" }, + { "bodypart_3": "1" }, + { "bodypart_4": "1" }, + { "bodypart_5": "1" }, + { "bodypart_6": "1" }, + { "bodylayer_0": "1" }, + { "bodylayer_1": "1" }, + { "bodylayer_2": "1" } + ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/skeleton.render_controllers.json b/resource_pack/render_controllers/skeleton.render_controllers.json new file mode 100644 index 0000000..4fd2f06 --- /dev/null +++ b/resource_pack/render_controllers/skeleton.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.skeleton": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/skeleton_horse_v1_and_v2.render_controllers.json b/resource_pack/render_controllers/skeleton_horse_v1_and_v2.render_controllers.json new file mode 100644 index 0000000..2300fe5 --- /dev/null +++ b/resource_pack/render_controllers/skeleton_horse_v1_and_v2.render_controllers.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.skeleton_horse.v1.and.v2": { + "part_visibility": [ + { "*saddle*": false }, + { "SaddleMouthLine": false}, + { "SaddleMouthLineR": false }, + { "Bag*": false }, + { "MuleEar*": false } + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.skeleton", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/skeleton_horse_v3.render_controllers.json b/resource_pack/render_controllers/skeleton_horse_v3.render_controllers.json new file mode 100644 index 0000000..7d748ce --- /dev/null +++ b/resource_pack/render_controllers/skeleton_horse_v3.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.skeleton_horse.v3": { + "part_visibility": [ + { "Saddle": false }, + { "Bit*": false }, + { "Bridle": false }, + { "Reins*" : false }, + { "Bag*" : false }, + { "MuleEar*" : false} + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.skeleton", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/slime.render_controllers.json b/resource_pack/render_controllers/slime.render_controllers.json new file mode 100644 index 0000000..882f8d2 --- /dev/null +++ b/resource_pack/render_controllers/slime.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.slime": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/slime_armor.render_controllers.json b/resource_pack/render_controllers/slime_armor.render_controllers.json new file mode 100644 index 0000000..c91d850 --- /dev/null +++ b/resource_pack/render_controllers/slime_armor.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.slime_armor": { + "geometry": "Geometry.armor", + "materials": [ { "*": "Material.outer" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/sniffer.render_controllers.json b/resource_pack/render_controllers/sniffer.render_controllers.json new file mode 100644 index 0000000..f7249d8 --- /dev/null +++ b/resource_pack/render_controllers/sniffer.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.sniffer": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/snow_golem.render_controllers.json b/resource_pack/render_controllers/snow_golem.render_controllers.json new file mode 100644 index 0000000..8b156f5 --- /dev/null +++ b/resource_pack/render_controllers/snow_golem.render_controllers.json @@ -0,0 +1,18 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.snowgolem": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.default" ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" }, + { "head*": "Material.head" } + ], + "textures": [ "Array.skins[0]" ] + } + } +} diff --git a/resource_pack/render_controllers/spider.render_controllers.json b/resource_pack/render_controllers/spider.render_controllers.json new file mode 100644 index 0000000..ec366aa --- /dev/null +++ b/resource_pack/render_controllers/spider.render_controllers.json @@ -0,0 +1,15 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.spider": { + "arrays": { + "materials": { + "Array.materials": [ "Material.default", "Material.invisible" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Array.materials[query.is_invisible]" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/splash_potion.render_controllers.json b/resource_pack/render_controllers/splash_potion.render_controllers.json new file mode 100644 index 0000000..f6e755a --- /dev/null +++ b/resource_pack/render_controllers/splash_potion.render_controllers.json @@ -0,0 +1,48 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.splash_potion": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.moveSlowdown", + "Texture.moveSpeed", + "Texture.digSlowdown", + "Texture.digSpeed", + "Texture.damageBoost", + "Texture.heal", + "Texture.harm", + "Texture.jump", + "Texture.confusion", + "Texture.regeneration", + "Texture.resistance", + "Texture.fireResistance", + "Texture.waterBreathing", + "Texture.invisibility", + "Texture.blindness", + "Texture.nightVision", + "Texture.hunger", + "Texture.weakness", + "Texture.poison", + "Texture.wither", + "Texture.healthBoost", + "Texture.absorption", + "Texture.saturation", + "Texture.levitation", + "Texture.turtleMaster", + "Texture.slowFall", + "Texture.windCharged", + "Texture.weaving", + "Texture.oozing", + "Texture.infested", + "Texture.default" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]", "Texture.enchanted" ], + "filter_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/squid.render_controllers.json b/resource_pack/render_controllers/squid.render_controllers.json new file mode 100644 index 0000000..30bfffc --- /dev/null +++ b/resource_pack/render_controllers/squid.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.squid": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/stray.render_controllers.json b/resource_pack/render_controllers/stray.render_controllers.json new file mode 100644 index 0000000..6314449 --- /dev/null +++ b/resource_pack/render_controllers/stray.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.stray": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/stray_clothes.render_controllers.json b/resource_pack/render_controllers/stray_clothes.render_controllers.json new file mode 100644 index 0000000..3b77092 --- /dev/null +++ b/resource_pack/render_controllers/stray_clothes.render_controllers.json @@ -0,0 +1,11 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.stray_clothes": { + "rebuild_animation_matrices": true, + "geometry": "Geometry.overlay", + "materials": [ { "*": "Material.overlay" } ], + "textures": [ "Texture.overlay" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/strider.render_controllers.json b/resource_pack/render_controllers/strider.render_controllers.json new file mode 100644 index 0000000..1d76b5f --- /dev/null +++ b/resource_pack/render_controllers/strider.render_controllers.json @@ -0,0 +1,26 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.strider": { + "arrays": { + "textures": { + "Array.base": [ + "Texture.default", + "Texture.saddled" + ], + "Array.suffocated": [ + "Texture.suffocated", + "Texture.suffocated_saddled" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ + "query.is_shaking ? Array.suffocated[query.is_saddled] : Array.base[query.is_saddled]" + ] + } + } +} diff --git a/resource_pack/render_controllers/tadpole.render_controllers.json b/resource_pack/render_controllers/tadpole.render_controllers.json new file mode 100644 index 0000000..8d8330d --- /dev/null +++ b/resource_pack/render_controllers/tadpole.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.tadpole": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/tripod_camera.render_controllers.json b/resource_pack/render_controllers/tripod_camera.render_controllers.json new file mode 100644 index 0000000..d0d3344 --- /dev/null +++ b/resource_pack/render_controllers/tripod_camera.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.tripod_camera": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ], + "overlay_color": { + "r": "variable.isFlashing ? 1.0f : this", + "g": "variable.isFlashing ? 1.0f : this", + "b": "variable.isFlashing ? 1.0f : this", + "a": "variable.isFlashing ? 1.0f : this" + } + } + } +} diff --git a/resource_pack/render_controllers/tropicalfish.render_controllers.json b/resource_pack/render_controllers/tropicalfish.render_controllers.json new file mode 100644 index 0000000..796c32c --- /dev/null +++ b/resource_pack/render_controllers/tropicalfish.render_controllers.json @@ -0,0 +1,35 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.tropicalfish": { + "arrays": { + "geometries": { + "Array.models": [ "Geometry.typeA", "Geometry.typeB" ] + }, + "textures": { + "Array.types": [ "Texture.typeA", "Texture.typeB" ], + "Array.patterns": [ + "Texture.aPattern1", + "Texture.aPattern2", + "Texture.aPattern3", + "Texture.aPattern4", + "Texture.aPattern5", + "Texture.aPattern6", + "Texture.bPattern1", + "Texture.bPattern2", + "Texture.bPattern3", + "Texture.bPattern4", + "Texture.bPattern5", + "Texture.bPattern6" + ] + } + }, + "geometry": "Array.models[variable.TropicalFish.Base]", + "materials": [ { "*": "Material.default" } ], + "textures": [ + "Array.types[variable.TropicalFish.Base]", + "Array.patterns[variable.TropicalFish.Pattern]" + ] + } + } +} diff --git a/resource_pack/render_controllers/turtle.render_controllers.json b/resource_pack/render_controllers/turtle.render_controllers.json new file mode 100644 index 0000000..b4335be --- /dev/null +++ b/resource_pack/render_controllers/turtle.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.turtle": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/vex.render_controllers.json b/resource_pack/render_controllers/vex.render_controllers.json new file mode 100644 index 0000000..104ab40 --- /dev/null +++ b/resource_pack/render_controllers/vex.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.vex": { + "arrays": { + "textures": { + "Array.textures": [ "Texture.default", "Texture.charging" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.textures[query.is_charging]" ], + "ignore_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/villager.render_controllers.json b/resource_pack/render_controllers/villager.render_controllers.json new file mode 100644 index 0000000..4800725 --- /dev/null +++ b/resource_pack/render_controllers/villager.render_controllers.json @@ -0,0 +1,36 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.villager": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.farmer", "Texture.librarian", "Texture.priest", "Texture.smith", "Texture.butcher" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + }, + "controller.render.villager.v1.0": { + "arrays": { + "textures": { + "Array.skins": [ "Texture.farmer", "Texture.librarian", "Texture.priest", "Texture.smith", "Texture.butcher" ] + } + }, + "geometry": "Geometry.default", + "part_visibility": [ + { + "*": false, + "head": true, + "nose": true, + "body": true, + "arms": true, + "leg0": true, + "leg1": true + } + ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/villager_v2.render_controllers.json b/resource_pack/render_controllers/villager_v2.render_controllers.json new file mode 100644 index 0000000..a2f1f35 --- /dev/null +++ b/resource_pack/render_controllers/villager_v2.render_controllers.json @@ -0,0 +1,89 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.villager_v2_base": { + "arrays": { + "textures": { + "Array.skins": [ + "Texture.base", + "Texture.base2", + "Texture.base3", + "Texture.base4", + "Texture.base5", + "Texture.base6" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ + "Array.skins[query.skin_id]" + ] + }, + "controller.render.villager_v2_masked": { + "arrays": { + "textures": { + "Array.biomes": [ + "Texture.plains", + "Texture.desert", + "Texture.jungle", + "Texture.savanna", + "Texture.snow", + "Texture.swamp", + "Texture.taiga" + ], + "Array.professions": [ + "Texture.unskilled", + "Texture.farmer", + "Texture.fisherman", + "Texture.shepherd", + "Texture.fletcher", + "Texture.librarian", + "Texture.cartographer", + "Texture.cleric", + "Texture.armorer", + "Texture.weapon_smith", + "Texture.tool_smith", + "Texture.butcher", + "Texture.leatherworker", + "Texture.stonemason", + "Texture.nitwit" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "(query.is_baby || variable.profession_index == 0) ? Material.default : Material.masked" } + ], + "textures": [ + "Array.biomes[query.mark_variant]", + "Array.professions[variable.profession_index]" + ] + }, + "controller.render.villager_v2_level": { + "arrays": { + "textures": { + "Array.levels": [ + "Texture.level_stone", + "Texture.level_iron", + "Texture.level_gold", + "Texture.level_emerald", + "Texture.level_diamond" + ] + } + }, + "rebuild_animation_matrices": true, + "geometry": "Geometry.default", + // If we are not babies, unskilled, or nitwits we can have a job level + "part_visibility": [ { "*": "!query.is_baby && variable.profession_index != 0 && variable.profession_index != 14" } ], + "materials": [ + { "*": "Material.default" } + ], + "textures": [ + "Array.levels[variable.level_index]" + ] + } + } +} diff --git a/resource_pack/render_controllers/vindicator.render_controllers.json b/resource_pack/render_controllers/vindicator.render_controllers.json new file mode 100644 index 0000000..a2ac0a6 --- /dev/null +++ b/resource_pack/render_controllers/vindicator.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.vindicator": { + "geometry": "Geometry.default", + "part_visibility": [ + { "rightArm": "query.is_angry || query.is_celebrating" }, + { "leftArm": "query.is_angry || query.is_celebrating" }, + { "rightItem": "query.is_angry" }, + { "arms": "!(query.is_angry || query.is_celebrating)" } + ], + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/wandering_trader.render_controllers.json b/resource_pack/render_controllers/wandering_trader.render_controllers.json new file mode 100644 index 0000000..a622e86 --- /dev/null +++ b/resource_pack/render_controllers/wandering_trader.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.wandering_trader": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/warden.render_controllers.json b/resource_pack/render_controllers/warden.render_controllers.json new file mode 100644 index 0000000..abb6fab --- /dev/null +++ b/resource_pack/render_controllers/warden.render_controllers.json @@ -0,0 +1,70 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.warden": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + }, + "controller.render.warden_bioluminescent_layer": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.bioluminescent_layer" } ], + "textures": [ "Texture.bioluminescent_layer" ], + "ignore_lighting": true, + "color": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": "0.7" + } + }, + "controller.render.warden_spots_1": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.bioluminescent_layer" } ], + "textures": [ "Texture.spots_1" ], + "ignore_lighting": true, + "color": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": "variable.spots_1_alpha" + } + }, + "controller.render.warden_spots_2": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.bioluminescent_layer" } ], + "textures": [ "Texture.spots_2" ], + "ignore_lighting": true, + "color": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": "variable.spots_2_alpha" + } + }, + "controller.render.warden_tendrils": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.bioluminescent_layer" } ], + "textures": [ "Texture.tendrils" ], + "ignore_lighting": true, + "color": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": "variable.tendrils_alpha" + } + }, + "controller.render.warden_heart": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.bioluminescent_layer" } ], + "textures": [ "Texture.heart" ], + "ignore_lighting": true, + "color": { + "r": 1.0, + "g": 1.0, + "b": 1.0, + "a": "query.hurt_time > 0 ? 0.2 : variable.heart_alpha" + } + } + } +} diff --git a/resource_pack/render_controllers/wind_charge.render_controllers.json b/resource_pack/render_controllers/wind_charge.render_controllers.json new file mode 100644 index 0000000..15c0cbc --- /dev/null +++ b/resource_pack/render_controllers/wind_charge.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.wind_charge": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "part_visibility": [ { "*": "query.life_time >= 0.2" } ], + "textures": [ "Texture.default" ], + "uv_anim": { + "offset": [ + "((Math.floor(query.life_time * 20.0) + query.frame_alpha) * -0.03)", + "(0.0)" + ], + "scale": [ 1.0, 1.0 ] + }, + "light_color_multiplier": 1.6 + } + } + } + \ No newline at end of file diff --git a/resource_pack/render_controllers/witch.render_controllers.json b/resource_pack/render_controllers/witch.render_controllers.json new file mode 100644 index 0000000..4d61264 --- /dev/null +++ b/resource_pack/render_controllers/witch.render_controllers.json @@ -0,0 +1,30 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.witch": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + }, + "controller.render.witch.v1.0": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "part_visibility": [ + { + "*": false, + "head": true, + "nose": true, + "body": true, + "arms": true, + "leg0": true, + "leg1": true, + "hat": true, + "hat2": true, + "hat3": true, + "hat4": true + } + ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/wither_boss.render_controllers.json b/resource_pack/render_controllers/wither_boss.render_controllers.json new file mode 100644 index 0000000..7ee03a7 --- /dev/null +++ b/resource_pack/render_controllers/wither_boss.render_controllers.json @@ -0,0 +1,21 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.wither_boss": { + "arrays": { + "textures": { + "Array.wither_state": [ "Texture.invulnerable", "Texture.default" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.wither_state[variable.display_normal_skin]" ], + "overlay_color": { + "r": "variable.is_invulnerable ? 1.0 : this", + "g": "variable.is_invulnerable ? 1.0 : this", + "b": "variable.is_invulnerable ? 1.0 : this", + "a": "variable.is_invulnerable ? query.overlay_alpha : this" + } + } + } +} diff --git a/resource_pack/render_controllers/wither_boss_armor.render_controllers.json b/resource_pack/render_controllers/wither_boss_armor.render_controllers.json new file mode 100644 index 0000000..ef4a598 --- /dev/null +++ b/resource_pack/render_controllers/wither_boss_armor.render_controllers.json @@ -0,0 +1,34 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.wither_boss_armor_white": { + "geometry": "Geometry.armor", + "materials": [ { "*": "Material.armor" } ], + "textures": [ "Texture.armor_white" ], + "part_visibility": [ { "*": "query.is_shield_powered" } ], + "uv_anim": { + "offset": [ + "(query.is_shield_powered ? (Math.cos(query.life_time * 22.92) * 3) : 0.0)", + "(query.is_shield_powered ? (query.life_time * 0.2) : 0.0)" + ], + "scale": [ 1.0, 1.0 ] + }, + "ignore_lighting": true + }, + + "controller.render.wither_boss_armor_blue": { + "geometry": "Geometry.armor", + "materials": [ { "*": "Material.armor" } ], + "textures": [ "Texture.armor_blue" ], + "part_visibility": [ { "*": "query.is_shield_powered" } ], + "uv_anim": { + "offset": [ + "(query.is_shield_powered) ? (Math.floor(query.life_time * 20.0) + query.frame_alpha) * 0.01 : 0.0", + "(query.is_shield_powered) ? (Math.floor(query.life_time * 20.0) + query.frame_alpha) * 0.01 : 0.0" + ], + "scale": [ 1.0, 1.0 ] + }, + "ignore_lighting": true + } + } +} diff --git a/resource_pack/render_controllers/wither_skeleton.render_controllers.json b/resource_pack/render_controllers/wither_skeleton.render_controllers.json new file mode 100644 index 0000000..0dd6327 --- /dev/null +++ b/resource_pack/render_controllers/wither_skeleton.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.wither_skeleton": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} \ No newline at end of file diff --git a/resource_pack/render_controllers/wither_skull.render_controllers.json b/resource_pack/render_controllers/wither_skull.render_controllers.json new file mode 100644 index 0000000..ba1c139 --- /dev/null +++ b/resource_pack/render_controllers/wither_skull.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.10.0", + "render_controllers": { + "controller.render.wither_skull": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/wolf.render_controllers.json b/resource_pack/render_controllers/wolf.render_controllers.json new file mode 100644 index 0000000..1c20296 --- /dev/null +++ b/resource_pack/render_controllers/wolf.render_controllers.json @@ -0,0 +1,47 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.wolf": { + "arrays": { + "textures": { + "Array.default": [ + "Texture.pale_default", + "Texture.ashen_default", + "Texture.black_default", + "Texture.chestnut_default", + "Texture.rusty_default", + "Texture.snowy_default", + "Texture.spotted_default", + "Texture.striped_default", + "Texture.woods_default" + ], + "Array.angry": [ + "Texture.pale_angry", + "Texture.ashen_angry", + "Texture.black_angry", + "Texture.chestnut_angry", + "Texture.rusty_angry", + "Texture.snowy_angry", + "Texture.spotted_angry", + "Texture.striped_angry", + "Texture.woods_angry" + ], + "Array.tame": [ + "Texture.pale_tame", + "Texture.ashen_tame", + "Texture.black_tame", + "Texture.chestnut_tame", + "Texture.rusty_tame", + "Texture.snowy_tame", + "Texture.spotted_tame", + "Texture.striped_tame", + "Texture.woods_tame" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "query.is_angry ? Array.angry[query.variant] : (query.is_tamed ? Array.tame[query.variant] : Array.default[query.variant])" ] + } + } +} diff --git a/resource_pack/render_controllers/wolf_armor.render_controllers.json b/resource_pack/render_controllers/wolf_armor.render_controllers.json new file mode 100644 index 0000000..2e6195a --- /dev/null +++ b/resource_pack/render_controllers/wolf_armor.render_controllers.json @@ -0,0 +1,23 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.wolf_armor": { + "arrays": { + "textures": { + "Array.cracks": [ + "Texture.cracked_none", + "Texture.cracked_low", + "Texture.cracked_medium", + "Texture.cracked_high" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ + "variable.is_dyed ? Texture.dyed : Texture.default", + "Array.cracks[variable.cracks_index]" + ] + } + } +} diff --git a/resource_pack/render_controllers/zoglin.render_controllers.json b/resource_pack/render_controllers/zoglin.render_controllers.json new file mode 100644 index 0000000..8c44179 --- /dev/null +++ b/resource_pack/render_controllers/zoglin.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.zoglin": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/zombie.render_controllers.json b/resource_pack/render_controllers/zombie.render_controllers.json new file mode 100644 index 0000000..c8380ae --- /dev/null +++ b/resource_pack/render_controllers/zombie.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.zombie": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/zombie_horse_v1_and_v2.render_controllers.json b/resource_pack/render_controllers/zombie_horse_v1_and_v2.render_controllers.json new file mode 100644 index 0000000..a4192de --- /dev/null +++ b/resource_pack/render_controllers/zombie_horse_v1_and_v2.render_controllers.json @@ -0,0 +1,19 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.zombie_horse.v1.and.v2": { + "part_visibility": [ + { "*saddle*": "query.is_saddled" }, + { "SaddleMouthLine": "query.is_saddled && query.has_rider" }, + { "SaddleMouthLineR": "query.is_saddled && query.has_rider" }, + { "Bag*": false }, + { "MuleEar*": false } + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.zombie", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/zombie_horse_v3.render_controllers.json b/resource_pack/render_controllers/zombie_horse_v3.render_controllers.json new file mode 100644 index 0000000..b9c1d68 --- /dev/null +++ b/resource_pack/render_controllers/zombie_horse_v3.render_controllers.json @@ -0,0 +1,20 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.zombie_horse.v3": { + "part_visibility": [ + { "Saddle": "query.is_saddled" }, + { "Bit*": "query.is_saddled" }, + { "Bridle": "query.is_saddled" }, + { "Reins*" : "query.is_saddled && query.has_rider" }, + { "Bag*" : false }, + { "MuleEar*" : false} + ], + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ "Texture.zombie", "Texture.markings_none", "Texture.armor_none" ] + } + } +} diff --git a/resource_pack/render_controllers/zombie_pigman.render_controllers.json b/resource_pack/render_controllers/zombie_pigman.render_controllers.json new file mode 100644 index 0000000..ea6d0b8 --- /dev/null +++ b/resource_pack/render_controllers/zombie_pigman.render_controllers.json @@ -0,0 +1,10 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.zombie_pigman": { + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Texture.default" ] + } + } +} diff --git a/resource_pack/render_controllers/zombie_villager.render_controllers.json b/resource_pack/render_controllers/zombie_villager.render_controllers.json new file mode 100644 index 0000000..0b1305e --- /dev/null +++ b/resource_pack/render_controllers/zombie_villager.render_controllers.json @@ -0,0 +1,16 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.zombie_villager": { + "rebuild_animation_matrices": true, + "arrays": { + "textures": { + "Array.skins": [ "Texture.farmer", "Texture.librarian", "Texture.priest", "Texture.smith", "Texture.butcher" ] + } + }, + "geometry": "Geometry.default", + "materials": [ { "*": "Material.default" } ], + "textures": [ "Array.skins[query.variant]" ] + } + } +} diff --git a/resource_pack/render_controllers/zombie_villager_v2.render_controllers.json b/resource_pack/render_controllers/zombie_villager_v2.render_controllers.json new file mode 100644 index 0000000..bd86109 --- /dev/null +++ b/resource_pack/render_controllers/zombie_villager_v2.render_controllers.json @@ -0,0 +1,54 @@ +{ + "format_version": "1.8.0", + "render_controllers": { + "controller.render.zombie_villager_v2_base": { + "geometry": "Geometry.default", + "materials": [ + { "*": "Material.default" } + ], + "textures": [ + "Texture.default" + ] + }, + "controller.render.zombie_villager_v2_masked": { + "arrays": { + "textures": { + "Array.biomes": [ + "Texture.plains", + "Texture.desert", + "Texture.jungle", + "Texture.savanna", + "Texture.snow", + "Texture.swamp", + "Texture.taiga" + ], + "Array.professions": [ + "Texture.unskilled", + "Texture.farmer", + "Texture.fisherman", + "Texture.shepherd", + "Texture.fletcher", + "Texture.librarian", + "Texture.cartographer", + "Texture.cleric", + "Texture.armorer", + "Texture.weapon_smith", + "Texture.tool_smith", + "Texture.butcher", + "Texture.leatherworker", + "Texture.stonemason", + "Texture.nitwit" + ] + } + }, + "geometry": "Geometry.default", + "materials": [ + { "*": "query.is_baby ? Material.default : Material.masked" } + ], + "textures": [ + "Array.biomes[query.mark_variant]", + "Array.professions[variable.profession_index]" + ] + } + } +} diff --git a/resource_pack/sounds.json b/resource_pack/sounds.json new file mode 100644 index 0000000..70bf7c3 --- /dev/null +++ b/resource_pack/sounds.json @@ -0,0 +1,150 @@ +{ + "block_sounds": { + "weeping_vines": { + "volume": 1.0, + "pitch": 1.0, + "events": { + "default": "", + "item.use.on": { + "sound": "block.weeping_vines.use", + "pitch": 0.8 + }, + "break": { + "sound": "block.weeping_vines.break", + "volume": 1.0, + "pitch": [ 0.8, 1.0 ] + }, + "hit": { + "sound": "block.weeping_vines.hit", + "volume": 0.30, + "pitch": 0.5 + }, + "place": { + "sound": "block.weeping_vines.place", + "volume": 1.0, + "pitch": [ 0.8, 1.0 ] + } + } + }, + "iron": { + "volume": 1.0, + "pitch": 1.0, + "events": { + "default": "", + "item.use.on": { + "sound": "step.iron", + "volume": 1.0 + }, + "break": { + "sound": "break.iron", + "volume": 1.0, + "pitch": 0.8 + }, + "hit": { + "sound": "hit.iron", + "volume": 0.3, + "pitch": 0.5 + }, + "place": { + "sound": "place.iron", + "volume": 1.0, + "pitch": 0.8 + }, + "power.on": { + "sound": "random.click", + "pitch": 0.6 + }, + "power.off": { + "sound": "random.click", + "pitch": 0.5 + }, + "button.click_on": { + "sound": "random.click", + "pitch": 0.6 + }, + "button.click_off": { + "sound": "random.click", + "pitch": 0.5 + }, + "door.open": { + "sound": "open.iron_door", + "pitch": [ + 0.9, + 1.0 + ] + }, + "door.close": { + "sound": "close.iron_door", + "pitch": [ + 0.9, + 1.0 + ] + }, + "trapdoor.open": { + "sound": "open.iron_trapdoor", + "pitch": [ + 0.9, + 1.0 + ] + }, + "trapdoor.close": { + "sound": "close.iron_trapdoor", + "pitch": [ + 0.9, + 1.0 + ] + } + } + } + }, + "interactive_sounds": { + "block_sounds": { + "weeping_vines": { + "events": { + "default": "", + "fall": { + "sounds": "block.weeping_vines.fall", + "volume": 0.4 + }, + "step": { + "sound": "block.weeping_vines.step", + "volume": 0.30 + }, + "jump": { + "sound": "block.weeping_vines.jump", + "volume": 0.12 + }, + "land": { + "sound": "block.weeping_vines.land", + "volume": 0.22 + } + }, + "volume": 1.0, + "pitch": 1.00 + }, + "iron": { + "volume": 1.0, + "pitch": 1.0, + "events": { + "default": "", + "fall": { + "sound": "step.iron" + }, + "step": { + "sound": "step.iron", + "volume": 0.2 + }, + "jump": { + "sound": "step.iron", + "volume": 0.12, + "pitch": 1.1 + }, + "land": { + "sound": "step.iron", + "volume": 0.4 + } + } + } + } + } +} diff --git a/resource_pack/sounds/music_definitions.json b/resource_pack/sounds/music_definitions.json new file mode 100644 index 0000000..b2250b7 --- /dev/null +++ b/resource_pack/sounds/music_definitions.json @@ -0,0 +1,37 @@ +{ + "deep_dark": { + "event_name": "music.overworld.deep_dark", + "min_delay": 60, + "max_delay": 180 + }, + "dripstone_caves": { + "event_name": "music.overworld.dripstone_caves", + "min_delay": 60, + "max_delay": 180 + }, + "grove": { + "event_name": "music.overworld.grove", + "min_delay": 60, + "max_delay": 180 + }, + "jagged_peaks": { + "event_name": "music.overworld.jagged_peaks", + "min_delay": 60, + "max_delay": 180 + }, + "lush_caves": { + "event_name": "music.overworld.lush_caves", + "min_delay": 60, + "max_delay": 180 + }, + "snowy_slopes": { + "event_name": "music.overworld.snowy_slopes", + "min_delay": 60, + "max_delay": 180 + }, + "stony_peaks": { + "event_name": "music.overworld.stony_peaks", + "min_delay": 60, + "max_delay": 180 + } +} \ No newline at end of file diff --git a/resource_pack/sounds/sound_definitions.json b/resource_pack/sounds/sound_definitions.json new file mode 100644 index 0000000..14669a7 --- /dev/null +++ b/resource_pack/sounds/sound_definitions.json @@ -0,0 +1,148 @@ +{ + "block.cave_vines.place": { + "category": "block", + "max_distance": 16.0, + "sounds": [ + "sounds/block/cave_vines/break1", + "sounds/block/cave_vines/break2", + "sounds/block/cave_vines/break3", + "sounds/block/cave_vines/break4", + "sounds/block/cave_vines/break5" + ] + }, + "block.weeping_vines.use": { + "category": "block", + "max_distance": 16.0, + "sounds": [ + "sounds/block/vine/break1", + "sounds/block/vine/break2", + "sounds/block/vine/break3", + "sounds/block/vine/break4" + ] + }, + "block.weeping_vines.place": { + "category": "block", + "max_distance": 16.0, + "sounds": [ + "sounds/block/roots/break1", + "sounds/block/roots/break2", + "sounds/block/roots/break3", + "sounds/block/roots/break4", + "sounds/block/roots/break5", + "sounds/block/roots/break6" + ] + }, + "block.weeping_vines.break": { + "category": "block", + "max_distance": 16.0, + "sounds": [ + "sounds/block/roots/break1", + "sounds/block/roots/break2", + "sounds/block/roots/break3", + "sounds/block/roots/break4", + "sounds/block/roots/break5", + "sounds/block/roots/break6" + ] + }, + "block.weeping_vines.hit": { + "category": "block", + "max_distance": 16.0, + "sounds": [ + "sounds/block/roots/break1", + "sounds/block/roots/break2", + "sounds/block/roots/break3", + "sounds/block/roots/break4", + "sounds/block/roots/break5", + "sounds/block/roots/break6" + ] + }, + "block.weeping_vines.fall": { + "category": "player", + "max_distance": 16.0, + "sounds": [ + "sounds/block/roots/break1", + "sounds/block/roots/break2", + "sounds/block/roots/break3", + "sounds/block/roots/break4", + "sounds/block/roots/break5", + "sounds/block/roots/break6" + ] + }, + "block.weeping_vines.step": { + "category": "player", + "max_distance": 16.0, + "sounds": [ + "sounds/block/roots/step1", + "sounds/block/roots/step2", + "sounds/block/roots/step3", + "sounds/block/roots/step4", + "sounds/block/roots/step5" + ] + }, + "block.weeping_vines.jump": { + "category": "player", + "max_distance": 16.0, + "sounds": [ + "sounds/block/roots/step1", + "sounds/block/roots/step2", + "sounds/block/roots/step3", + "sounds/block/roots/step4", + "sounds/block/roots/step5" + ] + }, + "block.weeping_vines.land": { + "category": "player", + "max_distance": 16.0, + "sounds": [ + "sounds/block/roots/step1", + "sounds/block/roots/step2", + "sounds/block/roots/step3", + "sounds/block/roots/step4", + "sounds/block/roots/step5" + ] + }, + "break.iron": { + "category": "block", + "sounds": [ + "sounds/block/iron/break1", + "sounds/block/iron/break2", + "sounds/block/iron/break3", + "sounds/block/iron/break4", + "sounds/block/iron/break5", + "sounds/block/iron/break6", + "sounds/block/iron/break7", + "sounds/block/iron/break8" + ] + }, + "hit.iron": { + "category": "block", + "sounds": [ + "sounds/block/iron/step1", + "sounds/block/iron/step2", + "sounds/block/iron/step3", + "sounds/block/iron/step4" + ] + }, + "place.iron": { + "category": "block", + "sounds": [ + "sounds/block/iron/break1", + "sounds/block/iron/break2", + "sounds/block/iron/break3", + "sounds/block/iron/break4", + "sounds/block/iron/break5", + "sounds/block/iron/break6", + "sounds/block/iron/break7", + "sounds/block/iron/break8" + ] + }, + "step.iron": { + "category": "player", + "sounds": [ + "sounds/block/iron/step1", + "sounds/block/iron/step2", + "sounds/block/iron/step3", + "sounds/block/iron/step4" + ] + } +} diff --git a/resource_pack/splashes.json b/resource_pack/splashes.json new file mode 100644 index 0000000..fca2c63 --- /dev/null +++ b/resource_pack/splashes.json @@ -0,0 +1,409 @@ +{ + "splashes": [ + "Glowing creepy eyes!", + "100% more yellow text!", + "Astronomically accurate!", + "Cubism!", + "Mostly harmless!", + "!!!1!", + "Dramatic lighting!", + "Multithreaded!", + "Testificates!", + "Hmmmrmm.", + "Episode 3!", + "As seen on TV!", + "Awesome!", + "100% pure!", + "May contain nuts!", + "Less polygons!", + "Limited edition!", + "Flashing letters!", + "Made by Mojang!", + "It's here!", + "Best in class!", + "Excitement!", + "More than 500 sold!", + "One of a kind!", + "Heaps of hits on YouTube!", + "Indev!", + "Spiders everywhere!", + "Check it out!", + "Holy cow, man!", + "It's a game!", + "Made in Sweden!", + "Made in C++!", + "Reticulating splines!", + "Yaaay!", + "Multiplayer!", + "Ingots!", + "Exploding creepers!", + "That's no moon!", + "l33t!", + "Create!", + "Survive!", + "Dungeon!", + "Exclusive!", + "The bee's knees!", + "Closed source!", + "Classy!", + "Wow!", + "Oh man!", + "Awesome community!", + "Pixels!", + "Teetsuuuuoooo!", + "Kaaneeeedaaaa!", + "Enhanced!", + "90% bug free!", + "Pretty!", + "12 herbs and spices!", + "Fat free!", + "Absolutely no memes!", + "Free dental!", + "Ask your doctor!", + "Cloud computing!", + "Legal in Finland!", + "Hard to label!", + "Technically good!", + "Bringing home the bacon!", + "Quite Indie!", + "GOTY!", + "Euclidian!", + "Now in 3D!", + "Inspirational!", + "Herregud!", + "Complex cellular automata!", + "Yes, sir!", + "Played by cowboys!", + "OpenGL ES 2.0+!", + "Thousands of colors!", + "Try it!", + "Try the mushroom stew!", + "Sensational!", + "Hot tamale, hot hot tamale!", + "Play him off, keyboard cat!", + "Guaranteed!", + "Macroscopic!", + "Bring it on!", + "Random splash!", + "Call your mother!", + "Monster infighting!", + "Loved by millions!", + "Ultimate edition!", + "Freaky!", + "You've got a brand new key!", + "Water proof!", + "Uninflammable!", + "Whoa, dude!", + "All inclusive!", + "Tell your friends!", + "NP is not in P!", + "Livestreamed!", + "Haunted!", + "Polynomial!", + "Terrestrial!", + "All is full of love!", + "Full of stars!", + "Scientific!", + "Collaborate and listen!", + "Never dig down!", + "Take frequent breaks!", + "Not linear!", + "Han shot first!", + "Nice to meet you!", + "Buckets of lava!", + "Ride the pig!", + "Larger than Earth!", + "sqrt(-1) love you!", + "Phobos anomaly!", + "Punching wood!", + "Falling off cliffs!", + "0% sugar!", + "150% hyperbole!", + "Synecdoche!", + "Let's danec!", + "Ported implementation!", + "Kiss the sky!", + "20 GOTO 10!", + "Verlet integration!", + "Peter Griffin!", + "Do not distribute!", + "Cogito ergo sum!", + "4815162342 lines of code!", + "A skeleton popped out!", + "The Work of Many!", + "The sum of its parts!", + "umop-apisdn!", + "OICU812!", + "Bring me Ray Cokes!", + "Finger-licking!", + "Thematic!", + "Pneumatic!", + "Sublime!", + "Octagonal!", + "Une baguette!", + "Gargamel plays it!", + "Rita is the new top dog!", + "Representing Edsbyn!", + "Matt Damon!", + "Supercalifragilisticexpialidocious!", + "Consummate V's!", + "Cow Tools!", + "Double buffered!", + "V-synched!", + "Fan fiction!", + "Flaxkikare!", + "Jason! Jason! Jason! Jeison?", + "Hotter than the sun!", + "Internet enabled!", + "Autonomous!", + "Engage!", + "Fantasy!", + "DRR! DRR! DRR!", + "Kick it root down!", + "Regional resources!", + "Google analyticsed!", + "Give us Gordon!", + "Tip your waiter!", + "Very fun!", + "12345 is a bad password!", + "Vote for net neutrality!", + "Lives in a pineapple under the sea!", + "Omnipotent!", + "Gasp!", + "...!", + "Bees, bees, bees, bees!", + "Haha, LEL!", + "Hampsterdance!", + "Menger sponge!", + "idspispopd!", + "Eple (original edit)!", + "So fresh, so clean!", + "Don't look directly at the bugs!", + "Oh, ok, Pigmen!", + "Scary!", + "Play Minecraft, Watch Topgear, Get Pig!", + "Twittered about!", + "Jump up, jump up, and get down!", + "Joel is neat!", + "A riddle, wrapped in a mystery!", + "Welcome to your Doom!", + "Stay a while, stay forever!", + "Stay a while and listen!", + "Treatment for your rash!", + "\"Autological\" is!", + "Information wants to be free!", + "\"Almost never\" is an interesting concept!", + "Lots of truthiness!", + "The creeper is a spy!", + "It's groundbreaking!", + "Let our battles begin!", + "The sky is the limit!", + "Jeb has amazing hair!", + "Casual gaming!", + "Undefeated!", + "Follow the train, CJ!", + "Leveraging synergy!", + "110813!", + "90210!", + "Tyrion would love it!", + "That's super!", + "Bread is pain!", + "Read more books!", + "Khaaaaaaaaan!", + "Less addictive than TV Tropes!", + "More addictive than lemonade!", + "Bigger than a bread box!", + "Millions of peaches!", + "Fnord!", + "This is my true form!", + "Don't bother with the clones!", + "Pumpkinhead!", + "Endless!", + "Feature packed!", + "Boots with the fur!", + "Stop, hammertime!", + "Conventional!", + "Homeomorphic to a 3-sphere!", + "Doesn't avoid double negatives!", + "Place ALL the blocks!", + "Does barrel rolls!", + "Meeting expectations!", + "PC gaming since 1873!", + "Ghoughpteighbteau tchoghs!", + "Got your nose!", + "Haley loves Elan!", + "Afraid of the big, black bat!", + "Child's play!", + "See you next Friday or so!", + "150 bpm for 400000 minutes!", + "Technologic!", + "Funk soul brother!", + "Pumpa kungen!", + "Helo Cymru!", + "My life for Aiur!", + "Lennart lennart = new Lennart();", + "I see your vocabulary has improved!", + "Who put it there?", + "You can't explain that!", + "if not ok then return end", + "Big Pointy Teeth!", + "Bekarton guards the gate!", + "Mmmph, mmph!", + "Don't feed avocados to parrots!", + "Swords for everyone!", + "Plz reply to my tweet!", + ".party()!", + "Take her pillow!", + "Put that cookie down!", + "Pretty scary!", + "I have a suggestion.", + "Now with extra hugs!", + "Almost C++17!", + "Woah.", + "HURNERJSGER?", + "What's up, Doc?", + "flowers more important than grass", + "§1C§2o§3l§4o§5r§6m§7a§8t§9i§ac!", + "& Knuckles!", + "Pandamonium!", + "code.org/minecraft", + "discord.gg/minecraft", + "Machine learning!", + "Release the Snord!", + "Team Mystic!", + "Living, breathing world!", + "Innovating innovation!", + "Change my mind.", + "This is good for Realms.", + "High-key!", + "Funding secured!", + "Throw yourself at the ground and miss", + "YANNY OR LAUREL???", + "Truly gone fishing!", + "So. You read splash text.", + "Very influential in its circle!", + "Warning! A huge battleship \"STEVE\" is approaching fast!", + "Alexander Hamilton!", + "Yay, puppies for everyone!", + "You're going too fast!", + "That's Numberwang!", + "Thanks for the fish!", + "Take the elevator to the mezzanine!", + "Take an egg beater and beat it against a skillet!", + "Stop being reasonable, this is the Internet!", + "So sweet, like a nice bon bon!", + "#Blessed!", + "Have you finished your homework?", + "We're working on it!", + "Like that smash button!", + "Minecraft 2 unconfirmed!", + "A circle-free environment!", + "Llama, llama, duck!", + "When it's ready!", + "Make a viral video!!1", + "Artisinal!", + "The Floor is Lava!", + "Savage Dad jokes!", + "Protec but also attac", + "Potatoes gonna potate!", + "Bananas!", + "zhoolor", + "Oh geez!", + "Crush it!", + "Keep your head down, there's two of us in here now. Remember?", + "Sodium free!", + "What DOES the fox say?", + "#gartzkebrokeit", + "All blocks covered!", + "feedback.minecraft.net", + "It came from space.", + "Rainbow turtle?", + "Something funny!", + "I need more context.", + "Ahhhhhh!", + "Don't worry, be happy!", + "Water bottle!", + "What's the question?", + "Plant a tree!", + "Go to the dentist!", + "What do you expect?", + "Look mum, I'm in a splash!", + "Honey, I grew the bees!", + "Find your claw!", + "Everybody do the Leif!", + "<3 Max & 99 & Ducky!", + "Bushy eyebrows!", + "Edit is a name!", + "From free range developers!", + "This parrot is no more! It has ceased to be!", + "Music by Lena Raine!", + "Aww man!", + "#minecraftfarms", + "And my pickaxe!", + "Envision! Create! Share!", + "Fabulous graphics!", + "Also try Minecraft Dungeons!", + "Vanilla!", + "May contain traces of citrus!", + "Zoglin!?", + "Black lives matter!", + "Be anti-racist!", + "Learn about allyship!", + "Speak OUT against injustice and UP for equality!", + "Amplify and listen to BIPOC voices!", + "Educate your friends on anti-racism!", + "Support the BIPOC community and creators!", + "Stand up for equality in your community!", + "[this splash text is now available]", + "Contains simulated goats!", + "Home-made!", + "There's <" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "animated_promo_banner_csb_button@common.button": { + "size": [ "100%", "8.08%x" ], + "hover_control": "hover", + "pressed_control": "hover", + "default_control": "default", + "$pressed_button_name": "button.promotion_page", + "controls": [ + { + "default@csb_banner.animated_csb_banner_content": { + "$banner_texture": "textures/ui/csb_animated_banner_default.png" + } + }, + { + "hover@csb_banner.animated_csb_banner_content": { + "$banner_texture": "textures/ui/csb_animated_banner_hover.png" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_page_is_ready", + "binding_name_override": "#enabled" + } + ] + }, + + "animated_csb_banner_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "banner": { + "type": "image", + "layer": 1, + "size": [ "100%", "100%" ], + "texture": "$banner_texture", + "uv_size": [ 396, 32 ], + "uv": "@csb_banner.csb_banner_animation", + "keep_ratio": true, + "disable_anim_fast_forward": true + } + }, + { + "text": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 8px", "100%" ], + "layer": 1, + "controls": [ + { + "logo_panel": { + "type": "panel", + "size": [ 125, "100%" ], + "controls": [ + { + "logo@common_csb.csb_header": { + "$font_scale_factor": 1.4, + "$font_size": "medium", + "offset": [ 0, -2 ] + } + } + ] + } + }, + { + "offer_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "offer": { + "type": "label", + "ignored": "$pocket_screen", + "size": [ "100%", "default" ], + "max_size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "color": "$store_white_text_color", + "font_scale_factor": 0.9, + "text": "store.csb.banner.offer" + } + } + ] + } + }, + { + "learn_more_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "learn_more": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "more": { + "type": "label", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "color": "$store_csb_gold_text_color", + "font_scale_factor": 0.9, + "text": "store.csb.banner.learnMore" + } + }, + { + "more_chevron": { + "type": "label", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "color": "$store_csb_gold_text_color", + "font_scale_factor": 0.9, + "tts_skip_message": true, + "text": " >" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "csb_banner_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 30, + "frame_step": 1, + "fps": 10, + "reversible": false, + "orientation": "vertical" + } +} diff --git a/resource_pack/ui/csb_sections/csb_buy_now_screen.json b/resource_pack/ui/csb_sections/csb_buy_now_screen.json new file mode 100644 index 0000000..7155caf --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_buy_now_screen.json @@ -0,0 +1,460 @@ +{ + "namespace": "csb_buy", + + "buy_now_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "description_stack@csb_buy.description_stack": {} + }, + { + "terms_and_conditions@csb_buy.terms_and_conditions": {} + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "button_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "buy_button@csb_buy.buy_button_panel": { + "$pressed_button_name": "button.buy_now", + "$buy_now_bindings": [ + { + "binding_name": "#buy_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "icon_panel@csb_buy.tool_tip_icon_panel": { + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "terms@csb_buy.content_text_section": {} + } + ] + }, + + "content_text_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text_description@csb_buy.content_description": {} + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "content_description": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "content_description_label": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "text": "#platform_terms_text", + "color": "$body_text_color", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#platform_terms_text" + } + ] + } + }, + { + "tts_hover@common.tts_activate_sibling": { + "size": [ "100%", "100%sm" ], + "offset": [ 0, -2 ] + } + } + ] + }, + + "trial_image_and_description": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "image_border": { + "type": "image", + "texture": "textures/ui/csb_welcome_3x5", + "size": [ "25%", "133%x" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%c" ] + } + }, + { + "description_text": { + "type": "panel", + "size": [ "fill", "100%cm" ], + "controls": [ + { + "descriptions_label": { + "type": "label", + "text": "#trial_desciption_text", + "color": "$store_white_text_color", + "size": [ "100% - 2px", "default" ], + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#trial_desciption_text" + } + ] + } + }, + { + "tts_hover@common.tts_activate_sibling": { + "size": [ "100%", "100%sm" ], + "offset": [ 0, -2 ] + } + } + ] + } + } + ] + }, + + "title_text": { + "type": "panel", + "size": [ "100% - 4px", "100%" ], + "controls": [ + { + "inner_text": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#buy_now_banner_text", + "color": "$light_button_default_text_color", + "bindings": [ + { + "binding_name": "#buy_now_banner_text" + } + ] + } + }, + { + "tts_hover@common.tts_activate_sibling": { + "size": [ "100% + 4px", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ -2, -2 ] + } + } + ] + + }, + + "description_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_with_gradient@csb.gradient_content_panel": { + "size": [ "100%", 20 ], + "$gradient_content": "csb_buy.title_text" + } + }, + { + "padding": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { "image_and_description@csb_buy.trial_image_and_description": {} } + ] + }, + + "terms_and_conditions": { + "type": "panel", + "size": [ "100%", 34 ], + "controls": [ + { + "terms_panel@csb_buy.terms_and_conditions_panel": {} + } + ] + }, + + "terms_and_conditions_panel": { + "type": "panel", + "size": [ "100%", "100% - 4px" ], + "controls": [ + { + "name_label@common.minecraftTenLabel": { + "offset": [ 0, -1 ], + "text": "csbCreateScreen.termsAndConditionsHeader", + "color": "$store_white_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2 + } + }, + { + "terms_string_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 7 ], + "size": [ "100%", "100% - 10px" ], + "$pressed_button_name_terms_conditions": "button.tos_hyperlink", + "$pressed_button_name_privacy_policy": "button.privpol_hyperlink", + "variables": [ + { + // Stop-gap measure until we can get hyperlinks to work from VR and FireTV + "requires": "($is_holographic or $fire_tv)", + "$pressed_button_name_terms_conditions": "button.tos_popup" + }, + { + // Stop-gap measure until we can get hyperlinks to work from VR and FireTV + "requires": "($is_holographic or $fire_tv)", + "$pressed_button_name_privacy_policy": "button.privpol_popup" + } + ], + "controls": [ + { + "banner_fill": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 2, + "texture": "textures/ui/Black", + "keep_ratio": false + } + }, + { + "buttons_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "variables": [ + { + "requires": "(not $is_low_memory_device)", + "$button_font_scale_factor": 1.39 + } + ], + "controls": [ + { + "agree_panel": { + "type": "panel", + "size": [ 68, "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 3, + "controls": [ + { + "checkbox_control@settings_common.checkbox_with_highlight_and_label": { + "$toggle_name": "#agree_terms_and_conditions", + "$checkbox_label_text": "csbCreateScreen.termsAndConditionsAgree", + "$checkbox_label_font_type": "smooth", + "$tts_section_header": "csbCreateScreen.termsAndConditionsHeader" + } + } + ] + } + }, + { + "view_terms_button@csb_buy.view_terms_button": { + "size": [ "fill", "100%" ], + "$tts_section_header": "csbCreateScreen.termsAndConditionsHeader" + } + }, + { + "privacy_policy_button@csb_buy.privacy_policy_button": { + "size": [ "fill", "100%" ], + "$tts_section_header": "csbCreateScreen.termsAndConditionsHeader" + } + } + ] + } + } + ] + } + } + ] + }, + + "button_text@common.minecraftTenLabel": { + "size": "$button_text_size", + "max_size": "$button_text_max_size", + "text": "$button_text", + "color": "$text_color", + "offset": "$button_text_offset", + "$button_text_binding_type|default": "none", + "$button_text_size|default": [ "default", "default" ], + "$button_text_offset|default": [ 0, -1 ], + "$button_text_max_size|default": [ "100%", "100%" ], + "bindings": [ + { + "binding_type": "$button_text_binding_type", + "binding_name": "$button_text" + } + ] + }, + + "mcten_text_centering_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "button_text@csb_buy.button_text": {} + } + ] + }, + + "view_terms_button@common_buttons.light_content_button": { + "$button_text": "store.csb.buyNow.viewTerms", + "$pressed_button_name": "$pressed_button_name_terms_conditions", + "$button_content": "csb_buy.mcten_text_centering_panel" + }, + + "privacy_policy_button@common_buttons.light_content_button": { + "$button_text": "store.csb.buyNow.viewPrivacyPolicy", + "$pressed_button_name": "$pressed_button_name_privacy_policy", + "$button_content": "csb_buy.mcten_text_centering_panel" + }, + + "buy_button_panel": { + "type": "panel", + "size": [ "100%", 22 ], + "controls": [ + { + "buy_button@common_buttons.light_content_button": { + "size": [ "100%", "100%" ], + "$button_content": "csb_buy.buy_button_content", + "$button_text": "#buy_now_button_text", + "$button_text_binding_type": "global", + "bindings": "$buy_now_bindings" + } + } + ] + }, + + "tool_tip_icon_panel": { + "type": "panel", + "size": [ "100%", "100%sm" ], + "controls": [ + { + "issue_icon@common.button": { + "size": [ 8, "100%" ], + "offset": [ "50% - 20px", 0 ], + "$tooltip_offset": [ -45, -6 ], + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tool_tip_text_max_size": [ 100, 40 ], + "$tooltip_background_texture": "textures/ui/tooltip_default_background", + "$tooltip_popup_chevron_offset": [ "50% - 20px", 10 ], + + "$pressed_button_name": "button.ignore_me", + "$tooltip_button_collection_name": "", + + "$tooltip_button_binding_type": "none", + "$tooltip_text_binding_name": "store.csb.alreadySubscribed.toolTip", + "$tooltip_popup_override_image_panel": "csb_buy.info_icon", + "$override_tooltip_popup_image": true, + + "visible": "#has_csb_subcription", + "bindings": [ + { + "binding_name": "#has_csb_subscription", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "info_icon": { + "layer": 10, + "type": "image", + "texture": "textures/ui/infobulb", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ "100%", "126.67%x" ] + } + }, + { + "default@common.empty_panel": {} + }, + { + "hover@common.dynamic_tooltip_popup_with_image_and_text": { + "offset": "$tooltip_offset" + } + }, + { + "pressed@common.dynamic_tooltip_popup_with_image_and_text": { + "offset": "$tooltip_offset" + } + } + ] + } + } + ] + }, + + "buy_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "button_chevron_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "buy_button_chevron@csb.markdown_background_animated": { + "size": [ "100%c", "100% + 4px" ], + "offset": [ -3, 0 ] + } + } + ] + } + }, + { + "button_text_centering_panel@mcten_text_centering_panel": { + "type": "panel", + "size": [ "fill", "100%" ] + } + } + ] + }, + + "info_icon": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "panel_icon": { + "type": "image", + "texture": "textures/ui/infobulb", + "size": [ 8, "126.67%x" ] + } + } + ] + } +} diff --git a/resource_pack/ui/csb_sections/csb_common.json b/resource_pack/ui/csb_sections/csb_common.json new file mode 100644 index 0000000..aa6af19 --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_common.json @@ -0,0 +1,172 @@ +{ + "namespace": "common_csb", + + "csb_expiration_banner": { + "type": "panel", + "size": [ "100%", "20% + 1px" ], + "offset": [ 0, 0.5 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "background": { + "type": "image", + "size": [ "100%", "100%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "texture": "textures/ui/csbBannerBackground", + "tiled": "y", + "layer": 3 + } + }, + { + "icon": { + "type": "image", + "size": [ 11, 14 ], + "texture": "textures/ui/sidebar_icons/csb_sidebar_icon", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 2, 0 ], + "layer": 5 + } + }, + { + "text": { + "type": "label", + "size": [ "default", 10 ], + "color": "$light_button_default_text_color", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 18, 0 ], + "text": "#item_realms_expiration_label", + "layer": 6, + "bindings": [ + { + "binding_name": "#item_realms_expiration_label", + "binding_type": "global" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#csb_expiration_banner_visible", + "binding_name_override": "#visible" + } + ] + }, + + "csb_icon_large": { + "$pack_icon_size|default": [ 19, 25 ], + "type": "image", + "texture": "textures/ui/csbChevronArrowLarge", + "size": "$pack_icon_size", + "layer": 1 + }, + + "csb_header": { + "type": "stack_panel", + "$font_size|default": "medium", + "$font_scale_factor|default": 1.0, + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "label_a_text_csb": { + "type": "label", + "text": "store.csb.brand.1", + "font_type": "MinecraftTen", + "font_size": "$font_size", + "font_scale_factor": "$font_scale_factor", + "color": "$store_csb_gold_text_color" + } + }, + { + "label_space_text_csb": { + "type": "label", + "text": " ", + "font_type": "MinecraftTen", + "font_size": "$font_size", + "font_scale_factor": "$font_scale_factor", + "color": "$store_csb_gold_text_color" + } + }, + { + "label_b_text_pass": { + "type": "label", + "text": "store.csb.brand.2", + "font_type": "MinecraftTen", + "font_size": "$font_size", + "font_scale_factor": "$font_scale_factor", + "color": "$store_white_text_color" + } + } + ] + }, + + "csb_header_two_lines": { + "type": "stack_panel", + "orientation": "vertical", + "$font_size|default": "medium", + "$font_scale_factor|default": 1.0, + "controls": [ + { + "top_header": { + "type": "label", + "text": "store.csb.brand.1", + "font_type": "MinecraftTen", + "font_size": "$font_size", + "font_scale_factor": "$font_scale_factor", + "text_alignment": "center", + "size": [ "100%", "default" ], + "color": "$store_csb_gold_text_color" + } + }, + { + "panel_centre_second_line": { + "type": "panel", + "size": [ "100%", 8 ], + "controls": [ + { + "sub_header": { + "type": "label", + "text": "store.csb.brand.2", + "font_type": "MinecraftTen", + "font_size": "$font_size", + "font_scale_factor": "$font_scale_factor", + "text_alignment": "center", + "size": [ "100%", "default" ], + "color": "$store_white_text_color" + } + } + ] + } + } + ] + }, + + "csb_gold_button@common_buttons.light_content_button": { + "type": "button", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_content": "$button_content", + "$pressed_button_name": "$pressed_button_name", + "$default_button_texture": "textures/ui/csbButtonContent", + "$hover_button_texture": "textures/ui/csbButtonContentHover", + "$pressed_button_texture": "textures/ui/csbButtonContentPressed", + "$default_text_color": "$csb_upsell_button_text_color" + }, + + "csb_gold_text_button@common_buttons.light_text_button": { + "type": "button", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_text": "$button_text", + "$pressed_button_name": "$pressed_button_name", + "$default_button_texture": "textures/ui/csbButtonContent", + "$hover_button_texture": "textures/ui/csbButtonContentHover", + "$pressed_button_texture": "textures/ui/csbButtonContentPressed", + "$default_text_color": "$csb_upsell_button_text_color" + } +} diff --git a/resource_pack/ui/csb_sections/csb_purchase_amazondevicewarning_screen.json b/resource_pack/ui/csb_sections/csb_purchase_amazondevicewarning_screen.json new file mode 100644 index 0000000..dafb2fb --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_purchase_amazondevicewarning_screen.json @@ -0,0 +1,100 @@ +{ + "namespace": "csb_purchase_amazondevicewarning", + + "csb_purchase_amazondevicewarning_screen@common.base_screen": { + "$screen_content": "csb_purchase_amazondevicewarning.screen_content", + "force_render_below": true, + "$fill_alpha": 1, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "screen_content": { + "type": "panel", + "controls": [ + { + "main_panel@common_dialogs.main_panel_one_button": { + "$text_name": "store.csb.purchase.amazonDeviceWarning.title", + "$button_panel": "csb_purchase_amazondevicewarning.back_button", + "$child_control": "csb_purchase_amazondevicewarning.main_panel", + "size": "$world_conversion_complete_screen_size" + } + } + ] + }, + + "main_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 50px", "100% - 4px" ], + "controls": [ + { + "text_panel_1": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "text_alignment": "center", + "text": "store.csb.purchase.amazonDeviceWarning.body.line1", + "color": "$store_white_text_color" + } + } + ] + } + }, + { + "art_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "art": { + "type": "image", + "texture": "textures/ui/csb_purchase_amazondevicewarning", + "layer": 1 + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", "2px" ] + } + }, + { + "text_panel_2": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "text_alignment": "center", + "text": "store.csb.purchase.amazonDeviceWarning.body.line2", + "color": "$store_white_text_color" + } + } + ] + } + } + ] + }, + + "back_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.goBack", + "$button_text": "store.csb.purchase.amazonDeviceWarning.button.back" + } +} diff --git a/resource_pack/ui/csb_sections/csb_purchase_warning_screen.json b/resource_pack/ui/csb_sections/csb_purchase_warning_screen.json new file mode 100644 index 0000000..3b2114e --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_purchase_warning_screen.json @@ -0,0 +1,107 @@ +{ + "namespace": "csb_purchase_warning", + + "csb_purchase_warning_screen@common.base_screen": { + "$screen_content": "csb_purchase_warning.purchase_warning_screen_content", + "force_render_below": true, + "$fill_alpha": 1, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "purchase_warning_screen_content": { + "type": "panel", + "controls": [ + { + "main_panel@common_dialogs.main_panel_one_button": { + "$text_name": "store.csb.purchase.warningDialog.title", + "$button_panel": "csb_purchase_warning.warning_modal_back_button", + "$child_control": "csb_purchase_warning.warning_modal_main_panel", + "size": "$world_conversion_complete_screen_size" + } + } + ] + }, + + "warning_modal_main_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 30px", "100% - 4px" ], + "controls": [ + { + "text_panel_1": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "text_alignment": "center", + "text": "store.csb.purchase.warningDialog.body.line1", + "color": "$store_white_text_color" + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", "2px" ] + } + }, + { + "art_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "art": { + "type": "image", + "texture": "textures/ui/csb_purchase_warning", + "layer": 1 + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", "2px" ] + } + }, + { + "text_panel_2": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "text_alignment": "center", + "text": "store.csb.purchase.warningDialog.body.line2", + "color": "$store_white_text_color" + } + } + ] + } + } + ] + }, + + "warning_modal_back_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.goBack", + "$button_text": "store.csb.purchase.warningDialog.button.back" + } + +} diff --git a/resource_pack/ui/csb_sections/csb_subscription_panel.json b/resource_pack/ui/csb_sections/csb_subscription_panel.json new file mode 100644 index 0000000..8b20ec8 --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_subscription_panel.json @@ -0,0 +1,367 @@ +{ + "namespace": "csb_subscription_panel", + + "csb_container": { + "ignored": "$pre_release", + "anchor_from": "top_left", + "anchor_to": "top_right", + "type": "panel", + "size": [ "100%", "100px" ], + "controls": [ + { + "fill": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/Black", + "keep_ratio": false, + "alpha": 1.0 + } + }, + { + "border": { + "type": "image", + "size": [ "100% + 2px", "100% + 2px" ], + "texture": "textures/ui/Black", + "layer": 2 + } + }, + { + "panel_contents": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "content_container": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "70px" ], + "controls": [ + { + "side_image_stack_left": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "40%", "100%" ], + "controls": [ + { + "csb_image": { + "type": "image", + "size": [ "default", "default" ], + "keep_ratio": false, + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "texture": "textures/ui/csb_subscribe_banner" + } + } + ] + } + }, + { + "padding_02": { + "type": "panel", + "size": [ 5, "100%" ] + } + }, + { + "side_stack_right": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_right", + "size": [ "45%", "100px" ], + "controls": [ + { + "interior_content_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "layer": 3, + "controls": [ + { + "panel_label@common.minecraftTenLabel": { + "offset": [ 0, -1 ], + "text": "options.csbHeading", + "color": "$store_white_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2 + } + }, + { + "interior_top_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "description_panel": { + "type": "stack_panel", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "100%", 10 ], + "controls": [ + { + "interior_label_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "panel_label": { + "type": "label", + "text": "options.csbSubheading", + "font_type": "smooth", + "offset": [ 2, -1 ], + "font_scale_factor": 0.7, + "size": [ "default", "default" ], + "max_size": [ "100% - 4px", "100%" ], + "color": "$0_color_format", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 3 + } + }, + { + "background_panel": { + "type": "image", + "size": [ "100%sm + 4px", "80%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "keep_ratio": false, + "texture": "textures/ui/White", + "color": "$csb_secondary_panel_background" + } + } + ] + } + } + ] + } + }, + { + "interior_top_padding_01": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "ln_01_container": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "15%+5px" ], + "controls": [ + { + "bullet_holder_01": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "10%", "100%" ], + "controls": [ + { + "bullet_spacer": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "bullet_01": { + "type": "label", + "text": "●", + "font_type": "smooth", + "backup_font_type": "UIFont", + "color": "$generic_button_text_color", + "text_alignment": "center", + "font_scale_factor": 0.5, + "size": [ "100%", "90%" ] + } + } + ] + } + }, + { + "panel_details_ln1": { + "type": "label", + "anchor_from": "top_right", + "anchor_to": "top_right", + "text": "options.csbInfoLine01", + "font_type": "smooth", + "backup_font_type": "UIFont", + "color": "$generic_button_text_color", + "text_alignment": "left", + "font_scale_factor": 0.8, + "size": [ "90%", "100%" ] + } + } + ] + } + }, + { + "ln_02_container": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "15%" ], + "controls": [ + { + "bullet_holder_02": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "10%", "100%" ], + "controls": [ + { + "bullet_spacer": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "bullet_02": { + "type": "label", + "text": "●", + "font_type": "smooth", + "backup_font_type": "UIFont", + "color": "$generic_button_text_color", + "text_alignment": "center", + "font_scale_factor": 0.5, + "size": [ "100%", "90%" ] + } + } + ] + } + }, + { + "panel_details_ln3": { + "type": "label", + "anchor_from": "top_right", + "anchor_to": "top_right", + "text": "options.csbInfoLine02", + "font_type": "smooth", + "backup_font_type": "UIFont", + "color": "$generic_button_text_color", + "text_alignment": "left", + "font_scale_factor": 0.8, + "size": [ "90%", "100%" ] + } + } + ] + } + }, + { + "interior_top_padding02": { + "type": "panel", + "size": [ "100%", 1 ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "button_panel_spacer": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "csb_buttons": { + "type": "stack_panel", + "anchor_from": "center", + "anchor_to": "center", + "orientation": "horizontal", + "size": [ "100%-4px", "20%" ], + "controls": [ + { + "button_panel_padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "$left_button": {} + }, + { + "padding_01": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "csb_info_button@common_buttons.light_content_button": { + "$button_text": "options.viewSubscriptions.button.info", + "$button_text_size": [ "default", "default" ], + "size": [ "fill", "100%" ], + "$button_text_max_size": [ "100% - 10px", 18 ], + "$pressed_button_name": "button.csb_info", + "$button_content": "csb_buy.button_text" + } + } + ] + } + } + ] + } + } + ], + "$csb_panel_bindings|default": [ + { + "binding_name": "#csb_buy_panel_visible", + "binding_name_override": "#visible" + } + ], + "bindings": "$csb_panel_bindings" + }, + + + "csb_buy_container": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "50%", "100%" ], + "controls": [ + { + "csb_buy_button@common_buttons.light_content_button": { + "$button_text": "#csb_price_text", + "size": [ "100%", "100%" ], + "$button_text_binding_type": "global", + "$pressed_button_name": "button.csb_buy", + "$button_content": "csb_subscription_panel.csb_buy_button_text" + } + } + ] + }, + + "csb_buy_button_text@common.minecraftTenLabel": { + "text": "$button_text", + "color": "$text_color", + "offset": "$button_text_offset", + "$button_text_binding_type|default": "none", + "$button_text_size|default": [ "default", "default" ], + "$button_text_offset|default": [ 0, -1 ], + "bindings": [ + { + "binding_type": "$button_text_binding_type", + "binding_name": "$button_text" + } + ] + }, + + "csb_cancel_button@common_buttons.light_content_button": { + "$button_text": "gui.cancel", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "100% - 10px", 18 ], + "size": [ "50%", "100%" ], + "$pressed_button_name": "button.csb_cancel", + "$button_content": "csb_buy.button_text", + "bindings": [ + { + "binding_name": "(not #csb_platform_mismatch)", + "binding_name_override": "#enabled" + } + ] + } +} diff --git a/resource_pack/ui/csb_sections/csb_upsell_dialog.json b/resource_pack/ui/csb_sections/csb_upsell_dialog.json new file mode 100644 index 0000000..b72c886 --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_upsell_dialog.json @@ -0,0 +1,629 @@ +{ + "namespace": "csb_upsell", + + "csb_upsell_screen@common.base_screen": { + "force_render_below": true, + "$fill_alpha": 1, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "csb_upsell.csb_upsell_compare_dialog" + }, + + "csb_upsell_compare_dialog": { + "type": "panel", + "controls": [ + { + "csb_upsell_compare_main_screen@common_dialogs.main_panel_no_buttons": { + "$child_control": "csb_upsell.csb_upsell_popup_content", + "size": "$csb_upsell_screen_size", + "max_size": [ "100%", "100%" ], + "min_size": [ "default", "60%" ] + } + } + ] + }, + + "csb_upsell_popup_content": { + "type": "panel", + "size": [ "100% + 64px", "100%" ], + "controls": [ + { + "two_side_panels": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "80%", "100%" ], + "controls": [ + { + "border_panel_left": { + "type": "panel", + "size": [ "50% - 1px", "100%" ], + "controls": [ + { + "border": { + "type": "image", + "size": [ "100%", "100%-8px" ], + "texture": "textures/ui/square_image_border_white", + "color": "$csb_border_color", + "layer": 3 + } + }, + { + "background_panel": { + "type": "image", + "size": [ "100%", "100%-8px" ], + "keep_ratio": false, + "color": "$csb_upsell_offer_background", + "layer": 0, + "texture": "textures/ui/White" + } + }, + { + "left_side_panel@csb_upsell_left_side_panel": { + "layer": 1, + "$header_first_line": "store.csb.upsell.csb.1", + "$header_first_line_color": "$store_csb_gold_text_color", + "$show_header_second_line": true, + "$header_second_line": "store.csb.upsell.csb.2", + "$header_second_line_color": "$store_white_text_color", + "$bullet_text_one": "store.csb.upsell.leftBullet.1", + "$bullet_text_two": "store.csb.upsell.leftBullet.2", + "$bullet_text_three": "store.csb.upsell.leftBullet.3", + "$price": "#csb_left_price", + "$price_color": "$store_white_text_color" + } + }, + { + "button_centering": { + "type": "panel", + "size": [ "100%", "100% - 20px" ], + "controls": [ + { + "learn_more_left@common_csb.csb_gold_button": { + "$button_content": "csb_upsell.csb_learn_more", + "$pressed_button_name": "button.left_learn_more", + "size": [ "65%", 20 ] + } + } + ] + } + } + ] + } + }, + { + "middle_spacer": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + }, + { + "border_panel_right": { + "type": "panel", + "size": [ "50%-1px", "100%" ], + "controls": [ + { + "border": { + "type": "image", + "size": [ "100%", "100%-8px" ], + "texture": "textures/ui/square_image_border_white", + "color": "$csb_upsell_pink-1", + "layer": 3 + } + }, + { + "background_panel": { + "type": "image", + "size": [ "100%", "100%-8px" ], + "keep_ratio": false, + "color": "$store_realms-guidelines-deep-blue-6", + "layer": 0, + "texture": "textures/ui/White" + } + }, + { + "right_side_panel@csb_upsell_right_side_panel": { + "layer": 1, + "$marketing_banner_text": "store.csb.upsell.bestValue", + "$header_first_line": "store.csb.upsell.realmsPlus", + "$header_first_line_color": "$csb_upsell_pink-3", + "$bullet_text_one": "store.csb.upsell.rightBullet.1", + "$bullet_text_two": "store.csb.upsell.rightBullet.2", + "$bullet_text_three": "store.csb.upsell.rightBullet.3", + "$bullet_text_three_two": "store.csb.upsell.rightBullet.3.2", + "$price": "#csb_right_price", + "$price_color": "$csb_upsell_pink-1" + } + }, + { + "button_centering": { + "type": "panel", + "size": [ "100%", "100% - 20px" ], + "controls": [ + { + "learn_more_right@common_buttons.dark_content_button": { + "type": "button", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_text": "store.csb.upsell.learn_more", + "$button_content": "csb_upsell.csb_learn_more", + "$pressed_button_name": "button.right_learn_more", + "$default_button_texture": "textures/ui/realmsContent", + "$hover_button_texture": "textures/ui/realmsContentHover", + "$pressed_button_texture": "textures/ui/realmsContentPressed", + "$default_text_color": "$store_white_text_color", + "size": [ "65%", 20 ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "csb_upsell_left_side_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%" ], + "$header_first_line": "$header_first_line", + "$header_first_line_color": "$header_first_line_color", + "$header_second_line": "$header_second_line", + "$header_second_line_color|default": "$store_white_text_color", + "$bullet_text_one": "$bullet_text_one", + "$bullet_text_two": "$bullet_text_two", + "$bullet_text_three": "$bullet_text_three", + "$price": "$price", + "$price_color": "$price_color", + "controls": [ + { + "upper_half": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "50% -10px" ], + "controls": [ + { + "header_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "fill" ], + "controls": [ + { + "blank_space": { + "type": "panel", + "size": [ "100%", "8px" ] + } + }, + { + "top_header@common_csb.csb_header_two_lines": { + "$font_size": "large" + } + }, + { + "price_amount@csb_price": { + "$price": "$price", + "$color": "$price_color" + } + } + ] + } + } + ] + } + }, + { + "middle_spacer": { + "type": "panel", + "size": [ "100%", "6px" ] + } + }, + { + "bottom_half": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "50% -8px" ], + "controls": [ + { + "padding_b@csb_big_padding": {} + }, + { + "bullet_one@csb_bullet_point": { + "$bullet_color": "$header_first_line_color", + "$bullet_text": "$bullet_text_one" + } + }, + { + "padding_0@csb_bullet_padding": {} + }, + { + "bullet_two@csb_bullet_point": { + "$bullet_color": "$header_first_line_color", + "$bullet_text": "$bullet_text_two", + "$max_size": [ "100%", 10 ] + } + }, + { + "padding_1@csb_bullet_padding": {} + }, + { + "bullet_three@csb_bullet_point": { + "$bullet_color": "$header_first_line_color", + "$bullet_text": "$bullet_text_three" + } + } + ] + } + } + ] + }, + + "csb_upsell_right_side_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%" ], + "$marketing_banner_text|default": "", + "$header_first_line": "$header_first_line", + "$header_first_line_color": "$header_first_line_color", + "$bullet_text_one": "$bullet_text_one", + "$bullet_text_two": "$bullet_text_two", + "$bullet_text_three": "$bullet_text_three", + "$bullet_text_three_two": "$bullet_text_three_two", + "$price": "$price", + "$price_color": "$price_color", + "controls": [ + { + "upper_half": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "50% -10px" ], + "controls": [ + { + "marketing_banner": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "background_color": { + "type": "image", + "texture": "textures/ui/White", + "size": [ "100%+6px", 20 ], + "color": "$csb_upsell_pink-1" + } + }, + { + "marketing_banner_label": { + "type": "label", + "text": "$marketing_banner_text", + "text_alignment": "center", + "color": "$store_realms-guidelines-deep-blue-5", + "layer": 1 + } + } + ] + } + }, + { + "header_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "fill" ], + "controls": [ + { + "top_header": { + "type": "label", + "text": "$header_first_line", + "color": "$header_first_line_color", + "font_type": "MinecraftTen", + "font_size": "large", + "font_scale_factor": 1, + "text_alignment": "center", + "size": [ "100%", "default" ], + "max_size": [ "100%", "default" ] + } + }, + { + "price_amount@csb_price": { + "$price": "$price", + "$color": "$price_color" + } + } + ] + } + } + ] + } + }, + { + "middle_spacer": { + "type": "panel", + "size": [ "100%", "6px" ] + } + }, + { + "bottom_half": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "50% -8px" ], + "controls": [ + { + "padding_b@csb_big_padding": {} + }, + { + "bullet_one@csb_bullet_point": { + "$bullet_color": "$header_first_line_color", + "$bullet_text": "$bullet_text_one" + } + }, + { + "padding_1@csb_bullet_padding": {} + }, + { + "bullet_two@csb_bullet_point": { + "$bullet_color": "$header_first_line_color", + "$bullet_text": "$bullet_text_two" + } + }, + { + "padding_0@csb_bullet_padding": {} + }, + { + "bullet_three@csb_bullet_split_point": { + "$bullet_text_first": "$bullet_text_three", + "$bullet_text_second": "$bullet_text_three_two", + "$bullet_color": "$header_first_line_color" + } + } + ] + } + } + ] + }, + + "csb_big_padding": { + "type": "panel", + "size": [ "100%", "5px" ] + }, + + "csb_bullet_padding": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "desktop@csb_bullet_desktop_padding": { + "ignored": "$pocket_screen" + } + }, + { + "pocket@csb_bullet_pocket_padding": { + "ignored": "$desktop_screen" + } + } + ] + }, + + "csb_bullet_desktop_padding": { + "type": "panel", + "size": [ "100%", 8 ] + }, + + "csb_bullet_pocket_padding": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "csb_bullet": { + "type": "stack_panel", + "orientation": "horizontal", + "$bullet_color": "$bullet_color", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "padding_icon_left": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "padding_icon_vertical": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 4, "fill" ], + "controls": [ + { + "padding_vertical": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "label_icon": { + "type": "image", + "texture": "textures/ui/white", + "size": [ 4, 4 ], + "color": "$bullet_color" + } + } + ] + } + }, + { + "padding_icon_right": { + "type": "panel", + "size": [ 3, 7 ] + } + } + ] + }, + + "csb_bullet_point": { + "type": "stack_panel", + "orientation": "horizontal", + "$bullet_color": "$bullet_color", + "$bullet_text": "$bullet_text", + "$font_type|default": "smooth", + "size": [ "90%", "100%cm" ], + "$max_size|default": [ "100%", 20 ], + "controls": [ + { + "bullet_icon@csb_bullet": { + "$bullet_color": "$bullet_color" + } + }, + { + "label_text": { + "type": "label", + "text": "$bullet_text", + "color": "$store_white_text_color", + "font_type": "$font_type", + "font_size": "medium", + "max_size": "$max_size" + } + } + ] + }, + + "csb_bullet_split_point": { + "type": "stack_panel", + "orientation": "horizontal", + "$bullet_color": "$bullet_color", + "$font_type|default": "smooth", + "$bullet_text_first": "$bullet_text_first", + "$bullet_text_second": "$bullet_text_second", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "bullet_icon@csb_bullet": { + "$bullet_color": "$bullet_color" + } + }, + { + "label_text": { + "type": "label", + "text": "$bullet_text_first", + "color": "$store_white_text_color", + "font_type": "$font_type", + "font_size": "medium", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left" + } + }, + { + "space": { + "type": "panel", + "size": [ "100%c", 10 ], + "controls": [ + { + "label_text_csb": { + "type": "label", + "text": " ", + "color": "$store_white_text_color", + "font_type": "MinecraftTen", + "font_size": "medium", + "offset": [ 0, -2 ] + } + } + ] + } + }, + { + "csb_name": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "csb_name_string@common_csb.csb_header": { + "offset": [ 0, -1.5 ] + } + } + ] + } + } + ] + }, + + "csb_price": { + "type": "panel", + "size": [ "100%", "fill" ], + "$price": "$price", + "controls": [ + { + "price_details@csb_price_details": { + "$price": "$price", + "$color": "$color", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle" + } + } + ] + }, + + "csb_price_details": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$color|default": "$store_white_text_color", + "$price": "$price", + "controls": [ + { + "price_panel_1": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "amount": { + "type": "label", + "text": "$price", + "color": "$color", + "max_size": [ "100%", 10 ], + "bindings": [ + { + "binding_name": "$price" + } + ] + } + } + ] + } + }, + { + "price_panel_first_period": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "second_line": { + "type": "label", + "text": "store.csb.upsell.firstPeriodFree", + "max_size": [ "100%", 10 ], + "color": "$color" + } + } + ] + } + } + ] + }, + + "csb_learn_more": { + "type": "panel", + "controls": [ + { + "learn_more": { + "type": "label", + "text": "store.csb.upsell.learnMore", + "color": "$text_color", + "max_size": [ "100%", "100%" ] + } + } + ] + } +} diff --git a/resource_pack/ui/csb_sections/csb_view_packs_screen.json b/resource_pack/ui/csb_sections/csb_view_packs_screen.json new file mode 100644 index 0000000..c57faa1 --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_view_packs_screen.json @@ -0,0 +1,117 @@ +{ + "namespace": "csb_packs", + + "view_all_packs_screen@common_store.store_base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "csb_packs.view_packs_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "csb.csb_background", + "$is_full_screen_layout": true, + "$ignore_inventory_button": "$is_sidebar_navigation_enabled", + "$fill_alpha": 1 + }, + + "view_packs_screen_content": { + "type": "panel", + "alpha": "@common_store.screen_fade_in_alpha_anim", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "csb_packs.csb_view_packs_screen_main_panel", + "$button_text": "store.title" + } + } + ] + }, + + + "csb_view_packs_screen_main_panel@sidebar_navigation.sidebar_view": { + "$sidebar_main_view_content": "csb_packs.main_panel" + }, + + "main_panel": { + "type": "input_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "offers@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 2px", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 8px" ], + "$scrolling_content": "csb_packs.scrolling_content_stack", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": false, + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 100, // Make this on top + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "scrolling_content_stack": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "store_factory@common_store.store_section_factory": { + "$is_subscription_screen": true, + "$content_offer_panel_size": [ "100% - 40px", "100%" ], + "$marketplace_chevron_binding_name": "#view_packs_chevron" + } + } + ] + } + +} diff --git a/resource_pack/ui/csb_sections/csb_welcome_screen.json b/resource_pack/ui/csb_sections/csb_welcome_screen.json new file mode 100644 index 0000000..57f75b2 --- /dev/null +++ b/resource_pack/ui/csb_sections/csb_welcome_screen.json @@ -0,0 +1,81 @@ +{ + "namespace": "csb_welcome", + + "csb_welcome_screen@common.base_screen": { + "$screen_content": "csb_welcome.welcome_screen_content", + "force_render_below": true, + "$fill_alpha": 1, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "welcome_screen_content": { + "type": "panel", + "controls": [ + { + "main_panel@common_dialogs.main_panel_one_button": { + "$text_name": "store.csb.welcomeDialog.title", + "$button_panel": "csb_welcome.welcome_modal_continue_button", + "$child_control": "csb_welcome.welcome_modal_main_panel", + "size": "$modal_screen_size" + } + } + ] + }, + + "welcome_modal_main_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 10px", "100% - 10px" ], + "controls": [ + { + "art_panel": { + "type": "panel", + "size": [ "33% - 2px", "100%" ], + "controls": [ + { + "art": { + "type": "image", + "texture": "textures/ui/csb_welcome_3x5", + "layer": 1 + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "text_panel": { + "type": "panel", + "size": [ "67% - 2px", "100%" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", "100%" ], + "font_type": "smooth", + "text": "store.csb.welcomeDialog.body", + "color": "$store_white_text_color" + } + } + ] + } + } + ] + }, + + "welcome_modal_continue_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.startBrowsing", + "$button_text": "store.csb.welcomeDialog.continue" + } +} diff --git a/resource_pack/ui/csb_sections/faq_section.json b/resource_pack/ui/csb_sections/faq_section.json new file mode 100644 index 0000000..aa10f83 --- /dev/null +++ b/resource_pack/ui/csb_sections/faq_section.json @@ -0,0 +1,346 @@ +{ + "namespace": "csb_faq", + + "faq_bottom_button@common_buttons.light_content_button": { + "$button_text": "store.csb.faq.bottom2", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "100% - 10px", 18 ], + "$pressed_button_name": "button.visit_help", + "$button_content": "csb_buy.button_text", + "$focus_override_left": "faq_toggle_focus" + }, + + "faq_image_section": { + "type": "panel", + "size": [ "100%c", "100%sm" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "faq_image": { + "type": "image", + "size": "$image_size", + "texture": "$image_texture" + } + } + ] + }, + + "faq_text_section_body": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "$faq_question|default": "", + "$faq_answer|default": "" + }, + + "faq_text_question": { + "type": "label", + "text": "$faq_question", + "size": [ "100%", "default" ], + "color": "$store_white_text_color" + }, + + "faq_text_section@csb_faq.faq_text_section_body": { + "controls": [ + { + "faq_text_question@csb_faq.faq_text_question": {} + }, + { + "faq_text_answer": { + "type": "label", + "text": "$faq_answer", + "size": [ "100%", "default" ], + "font_type": "smooth", + "font_scale_factor": 0.9, + "color": "$store_white_text_color" + } + } + ] + }, + + "faq_price_bound_text_section@csb_faq.faq_text_section_body": { + "controls": [ + { + "faq_text_question@csb_faq.faq_text_question": {} + }, + { + "faq_text_answer": { + "type": "label", + "text": "#faq_price_text", + "size": [ "100%", "default" ], + "font_type": "smooth", + "font_scale_factor": 0.9, + "color": "$store_white_text_color", + "bindings": [ + { + "binding_name": "#faq_price_text" + } + ] + } + } + ] + }, + + "faq_question_body@csb_faq.faq_question_body_stack": { + "controls": "$question_body_controls" + }, + + "faq_question_body_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ] + }, + + "faq_question_body_horz_padding": { + "type": "panel", + "size": [ 4, "100%c" ] + }, + + "image_left_faq_question_body@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "csb_faq.faq_question_body", + "$text_control_size": [ "100%", "100%cm" ], + "$tts_section_header": "store.csb.faq.header", + "$question_body_controls": [ + { + "faq_question_body_horz_padding_1@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_image_section@csb_faq.faq_image_section": {} + }, + { + "faq_question_body_horz_padding_2@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_text_section@csb_faq.faq_text_section": {} + }, + { + "faq_question_body_horz_padding_3@csb_faq.faq_question_body_horz_padding": {} + } + ] + }, + + "image_right_faq_question_body@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "csb_faq.faq_question_body", + "$text_control_size": [ "100%", "100%cm" ], + "$tts_section_header": "store.csb.faq.header", + "$question_body_controls": [ + { + "faq_question_body_horz_padding_1@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_text_section@csb_faq.faq_text_section": {} + }, + { + "faq_question_body_horz_padding_2@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_image_section@csb_faq.faq_image_section": {} + }, + { + "faq_question_body_horz_padding_3@csb_faq.faq_question_body_horz_padding": {} + } + ] + }, + + "image_left_faq_price_bound@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "csb_faq.faq_question_body", + "$text_control_size": [ "100%", "100%cm" ], + "$tts_section_header": "store.csb.faq.header", + "$question_body_controls": [ + { + "faq_question_body_horz_padding_1@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_image_section@csb_faq.faq_image_section": {} + }, + { + "faq_question_body_horz_padding_2@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_text_section@csb_faq.faq_price_bound_text_section": {} + }, + { + "faq_question_body_horz_padding_3@csb_faq.faq_question_body_horz_padding": {} + } + ] + }, + + "image_right_faq_price_bound@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "csb_faq.faq_question_body", + "$text_control_size": [ "100%", "100%cm" ], + "$tts_section_header": "store.csb.faq.header", + "$question_body_controls": [ + { + "faq_question_body_horz_padding_1@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_text_section@csb_faq.faq_price_bound_text_section": {} + }, + { + "faq_question_body_horz_padding_2@csb_faq.faq_question_body_horz_padding": {} + }, + { + "faq_image_section@csb_faq.faq_image_section": {} + }, + { + "faq_question_body_horz_padding_3@csb_faq.faq_question_body_horz_padding": {} + } + ] + }, + + "faq_section_header_space": { + "type": "panel", + "size": [ "100%", 8 ] + }, + + "faq_section_divider@common.section_divider": { + "$top_padding_size": [ "100%", 4 ], + "$bottom_padding_size": [ "100%", 4 ] + }, + + "faq_content_section@csb.section_base": { + "controls": [ + { + "faq_section_vertical_padding_1@csb.vertical_padding_4px": {} + }, + { + "faq_header": { + "type": "label", + "size": [ "100%", "default" ], + "text": "store.csb.faq.header", + "font_scale_factor": 1.2, + "text_alignment": "center", + "color": "$store_white_text_color", + "layer": 1 + } + }, + { + "faq_section_vertical_padding_2@csb_faq.faq_section_header_space": {} + }, + { + "faq_question_1@csb_faq.image_right_faq_price_bound": { + "$faq_question": "store.csb.faq.question1", + "$faq_answer": "store.csb.faq.answer1", + "$image_size": [ 50, "50%x" ], + "$image_texture": "textures/ui/csb_faq_bee" + } + }, + { + "faq_question_1_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_2@csb_faq.image_left_faq_question_body": { + "$faq_question": "store.csb.faq.question2", + "$faq_answer": "store.csb.faq.answer2", + "$image_size": [ 50, "50%x" ], + "$image_texture": "textures/ui/csb_welcome_3x6" + } + }, + { + "faq_question_2_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_3@csb_faq.image_right_faq_question_body": { + "$faq_question": "store.csb.faq.question3", + "$faq_answer": "store.csb.faq.answer3", + "$image_size": [ 50, "75%x" ], + "$image_texture": "textures/ui/csb_faq_horse" + } + }, + { + "faq_question_3_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_4@csb_faq.image_left_faq_question_body": { + "$faq_question": "store.csb.faq.question4", + "$faq_answer": "store.csb.faq.answer4", + "$image_size": [ 50, "75%x" ], + "$image_texture": "textures/ui/csb_faq_pig" + } + }, + { + "faq_question_4_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_5@csb_faq.image_right_faq_question_body": { + "$faq_question": "store.csb.faq.question5", + "$faq_answer": "store.csb.faq.answer5", + "$image_size": [ 50, "75%x" ], + "$image_texture": "textures/ui/csb_faq_fox" + } + }, + { + "faq_question_5_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_6@csb_faq.image_left_faq_question_body": { + "$faq_question": "store.csb.faq.question6", + "$faq_answer": "store.csb.faq.answer6", + "$image_size": [ 50, "75%x" ], + "$image_texture": "textures/ui/promo_creeper" + } + }, + { + "faq_question_6_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_7@csb_faq.image_right_faq_question_body": { + "$faq_question": "store.csb.faq.question7", + "$faq_answer": "store.csb.faq.answer7", + "$image_size": [ 50, "50%x" ], + "$image_texture": "textures/ui/csb_faq_bee" + } + }, + { + "faq_question_7_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_8@csb_faq.image_left_faq_question_body": { + "$faq_question": "store.csb.faq.question8", + "$faq_answer": "store.csb.faq.answer8", + "$image_size": [ 50, "75%x" ], + "$image_texture": "textures/ui/csb_faq_parrot" + } + }, + { + "faq_question_8_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_question_9@csb_faq.image_right_faq_question_body": { + "$faq_question": "store.csb.faq.question9", + "$faq_answer": "store.csb.faq.answer9", + "$image_size": [ 50, "50%x" ], + "$image_texture": "textures/ui/promo_chicken" + } + }, + { + "faq_question_9_divider@csb_faq.faq_section_divider": {} + }, + { + "faq_button@csb_faq.faq_bottom_button": { + "size": [ "100%", "20px" ] + } + }, + { + "faq_bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ], + "controls": [ + { + "bottom_left_particles": { + "type": "image", + "size": [ "100%", "100%x" ], + "offset": [ 0, 50 ], + "texture": "textures/ui/csb_sparkles", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": -1 + } + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/csb_sections/landing_section.json b/resource_pack/ui/csb_sections/landing_section.json new file mode 100644 index 0000000..76e6e69 --- /dev/null +++ b/resource_pack/ui/csb_sections/landing_section.json @@ -0,0 +1,463 @@ +{ + "namespace": "csb_landing", + + "landing_content_section@csb.section_base": { + "controls": [ + { + "landing_section_vertical_padding@csb.vertical_padding_4px": {} + }, + { + "landing_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_stack@csb_landing.title_stack": {} + }, + { + "vertical_small_spacer_0@csb_landing.vertical_small_spacer": {} + }, + { + "vertical_small_spacer_1@csb_landing.vertical_small_spacer": {} + }, + { + "info_stack@csb_landing.info_stack": {} + }, + { + "vertical_small_spacer_2@csb_landing.vertical_small_spacer": { + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + }, + + "horizontal_small_spacer": { + "type": "panel", + "size": [ 2, 0 ] + }, + + "vertical_small_spacer": { + "type": "panel", + "size": [ 0, 2 ] + }, + + "vertical_large_spacer": { + "type": "panel", + "size": [ 0, 8 ] + }, + + "title_stack": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_image_panel@csb_landing.title_image_panel": {} + }, + { + "title_space@csb_landing.title_space": {} + }, + { + "action_button@csb_buy.buy_button_panel": { + "ignored": "$pre_release", + "$pressed_button_name": "button.action_button", + "bindings": [ + { + "binding_name": "#buy_visible", + "binding_name_override": "#visible" + } + ], + "$buy_now_bindings": [ + ] + } + }, + { + "sign_in_button@csb_buy.buy_button_panel": { + "$pressed_button_name": "button.signin", + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ], + "$buy_now_bindings": [ + ] + } + }, + { + "vertical_space2@csb_landing.vertical_small_spacer": {} + }, + { + "gradient_panel": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label_with_gradient@csb.gradient_content_panel": { + "size": [ "100% - 6px", 20 ], + "$gradient_content": "csb_landing.free_trial_text" + } + }, + { + "tts_hover@common.tts_activate_sibling": { + "size": [ "100% - 2px", "100%sm" ], + "offset": [ 0, -2 ] + } + } + ], + "bindings": [ + { + "binding_name": "#csb_one_month_free_trial_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gradient_panel2": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label_with_gradient2@csb.gradient_content_panel": { + "size": [ "100% - 6px", 20 ], + "$gradient_content": "csb_landing.subscription_includes_text" + } + }, + { + "tts_hover@common.tts_activate_sibling": { + "size": [ "100% - 2px", "100%sm" ], + "offset": [ 0, -2 ] + } + } + ], + "bindings": [ + { + "binding_name": "(not #csb_one_month_free_trial_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "subscription_includes_text": { + "type": "label", + "size": [ "100% - 6px", "default" ], + "text": "store.csb.landing.header", + "color": "$light_button_default_text_color" + }, + + "free_trial_text": { + "type": "label", + "size": [ "100% - 6px", "default" ], + "text": "#free_trial_header_text", + "color": "$light_button_default_text_color", + "bindings": [ + { + "binding_name": "#free_trial_header_text" + } + ] + }, + + "title_space": { + "type": "panel", + "size": [ "100%", 4 ] + }, + + "title_image_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "vertical_small_spacer_1@csb_landing.vertical_small_spacer": { + "size": [ "100%", 4 ] + } + }, + { + "title_image_container": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_image": { + "type": "image", + "size": [ "100%", "15%x" ], + "texture": "textures/ui/csb_title" + } + } // Do we want this to have TTS? It is text, just in an image. + ] + } + }, + { + "vertical_small_spacer_2@csb_landing.vertical_small_spacer": { + "size": [ "100%", 4 ] + } + } + ] + }, + + "info_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "info_section_image@csb_landing.info_section_image_with_border": {} + }, + { + "info_description_stack_retail@csb_landing.info_description_stack_retail": { + "size": [ "fill", "100%c" ] + } + } + ] + }, + + "info_description_stack_retail": { + "type": "stack_panel", + "controls": [ + { + "info_section_stack_1@csb_landing.info_section_stack": { + "controls": [ + { + "horizontal_small_spacer@csb_landing.horizontal_small_spacer": {} + }, + { + "info_section_text_1@csb_landing.info_section_text_1": {} + } + ] + } + } + ] + }, + + "info_section_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ] + }, + + "info_section_image_with_border": { + "type": "image", + "texture": "textures/ui/csb_welcome_3x6", + "size": [ 90, 116 ] + }, + + "info_section_text_1@csb_landing.info_section_text": { + "controls": [ + { + "info_section_text@csb_landing.info_text_unbulletted": { + "size": [ "100% - 4px", "100%cm" ], + "anchor_to": "top_left", + "$info_text_line": "#landing_info_text", + "$text_bindings": [ + { + "binding_name": "#landing_info_text" + } + ] + } + + }, + { + "vertical_small_spacer_0@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_1@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info.line1" + } + }, + { + "vertical_small_spacer_1@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_2@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info.line2" + } + }, + { + "vertical_small_spacer_2@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_3@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info.line3" + } + }, + { + "vertical_small_spacer_3@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_4@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info.line4" + } + }, + { + "vertical_small_spacer_4@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_5@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info.line5" + } + }, + { + "vertical_small_spacer_5@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_6@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info.line6" + } + }, + { + "vertical_small_spacer_6@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_7@csb_landing.info_text_bullet": { + "$info_text_line": "#subscription_info_text", + "$text_bindings": [ + { + "binding_name": "#subscription_info_text" + } + ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vertical_large_spacer_6@csb_landing.vertical_large_spacer": {} + } + ] + }, + + "info_section_text_2@csb_landing.info_section_text": { + "controls": [ + { + "info_text_bullet_1@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info2.line1" + } + }, + { + "vertical_small_spacer_0@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_2@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info2.line2" + } + }, + { + "vertical_small_spacer_1@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_4@csb_landing.info_text_bullet": { + "$info_text_line": "store.csb.landing.info2.line3", + "bindings": [ + { + "binding_name": "#csb_one_month_free_trial_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vertical_small_spacer_3@csb_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_5@csb_landing.info_text_bullet": { + "$info_text_line": "#landing_info_line_4", + "bindings": [ + { + "binding_name": "(not #csb_one_month_free_trial_visible)", + "binding_name_override": "#visible" + } + ], + "$text_bindings": [ + { + "binding_name": "#landing_info_line_4" + } + ] + } + } + ] + }, + + "info_section_text": { + "type": "stack_panel", + "size": [ "100%", "100%c" ] + }, + + "info_text_bullet": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$text_bindings|default": [], + "controls": [ + { + "info_text_bullet_bullet": { + "type": "label", + "text": "•", + "size": [ 4, "default" ], + "font_type": "smooth", + "color": "$store_white_text_color" + } + }, + { + "bullet_spacer": { + "type": "panel", + "size": [ 4, "100%c" ] + } + }, + { + "info_text_bullet_body@csb_landing.info_text_body": {} + }, + { + "bullet_spacer_end": { + "type": "panel", + "size": [ 4, "100%c" ] + } + } + ] + }, + + "info_text_unbulletted": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$text_bindings|default": [], + "controls": [ + { + "info_text_bullet_body@csb_landing.info_text_body": { + "size": [ "100%", "100%cm" ] + } + } + ] + }, + + "info_text_body": { + "type": "panel", + "size": [ "fill", "100%cm" ], + "controls": [ + { + "text_body": { + "type": "label", + "text": "$info_text_line", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$store_white_text_color", + "bindings": "$text_bindings" + } + }, + { + "tts_border@common.tts_activate_sibling": { + "size": [ "100%sm + 2px", "100%sm + 2px" ], + "offset": [ 0, -2 ] + } + } + ] + + } +} diff --git a/resource_pack/ui/custom_templates_screen.json b/resource_pack/ui/custom_templates_screen.json new file mode 100644 index 0000000..6d4578f --- /dev/null +++ b/resource_pack/ui/custom_templates_screen.json @@ -0,0 +1,383 @@ +{ + + "namespace": "custom_templates", + + "lock_icon": { + "type": "image", + "texture": "textures/ui/lock" + }, + + "templates_scroll_content": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "focus_container": true, + "use_last_focus": true, + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_right": "contained", + "focus_navigation_mode_left": "contained", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%-4px", "100% - 4px" ], + "offset": [ 2, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "$scrolling_pane_size": [ "100% - 1px", "100%" ], + "$scrolling_content": "custom_templates.templates_scroll_panel", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false + } + } + ] + }, + + "templates_scroll_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-4px", "100%c" ], + "offset": [ 2, 0 ], + "controls": [ + { + "templates_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "templates_item_grid@custom_templates.templates_item_grid": {} + } + ] + } + } + ] + }, + + "templates_item_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "grid_item_template": "custom_templates.templates_item", + "grid_dimension_binding": "#templates_grid_dimension", + "collection_name": "templates_collection", + "bindings": [ + { + "binding_name": "#templates_grid_dimension" + } + ] + }, + + "templates_item": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { + "template_item_button@custom_templates.template_item_button": { + "size": [ "fill", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP", + "layer": 1 + } + } + ] + }, + + "template_item_button@common_buttons.dark_content_button": { + "$button_content": "custom_templates.template_content_panel", + "$pressed_button_name": "button.menu_custom_world_template_clicked", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "templates_collection" + } + ] + }, + + "template_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "variables": [ + { + "requires": "$default_state", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$hover_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$pressed_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$locked_state", + "$border_texture": "textures/ui/default_indent" + } + ], + "controls": [ + { + "template_screenshot@custom_templates.template_screenshot": {} + }, + { + "template_text_panel@custom_templates.template_text_panel": { + "size": [ "fill", "100%" ] + } + }, + { + "lock_panel": { + "type": "panel", + "size": [ "100%c + 4px", "100%" ], + "controls": [ + { + "lock_icon@custom_templates.lock_icon": { + "size": [ 8, 8 ] + } + } + ], + "bindings": [ + { + "binding_name": "#lock_visible", + "binding_collection_name": "templates_collection", + "binding_type": "collection", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "template_screenshot": { + "type": "image", + "size": [ "100%c + 2px", "100%" ], + "texture": "$border_texture", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "controls": [ + { + "picture": { + "type": "image", + "layer": 1, + "force_texture_reload": true, + "texture": "#screenshot_texture", + "zip_folder": "#screenshot_zip_folder", + "texture_file_system": "#screenshot_file_system", + "size": [ "173.91%y", "100% - 2px" ], + "$screenshot_texture_name|default": "#screenshot_texture", + "$screenshot_zip_folder|default": "#screenshot_zip_folder", + "$screenshot_zip_folder_binding_type|default": "collection", + "$screenshot_file_system|default": "#screenshot_file_system", + "bindings": [ + { + "binding_collection_name": "templates_collection", + "binding_name": "$screenshot_texture_name", + "binding_name_override": "#texture", + "binding_type": "collection" + }, + { + "binding_collection_name": "templates_collection", + "binding_name": "$screenshot_zip_folder", + "binding_name_override": "#zip_folder", + "binding_type": "$screenshot_zip_folder_binding_type" + }, + { + "binding_collection_name": "templates_collection", + "binding_name": "$screenshot_file_system", + "binding_name_override": "#texture_file_system", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "template_text_panel": { + "type": "panel", + "controls": [ + { + "text_indent": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 1, 0 ], + "controls": [ + { + "top_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "template_name@custom_templates.template_name": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "download_text_label@custom_templates.template_download_text": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + }, + { + "bottom_side": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "controls": [ + { + "template_description@custom_templates.template_description": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "template_version@custom_templates.template_version": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + } + ] + } + } + ] + }, + + "template_name@custom_templates.template_list_text": { + "text": "$template_name_binding_name", + "color": "$dark_button_default_text_color", + "$template_name_binding_name|default": "#template_name", + "bindings": [ + { + "binding_name": "$template_name_binding_name", + "binding_type": "collection", + "binding_collection_name": "templates_collection", + "binding_condition": "visible" + } + ] + }, + + "template_download_text@custom_templates.template_list_text": { + "text": "selectTemplate.download", + "bindings": [ + { + "binding_name": "#download_text_visible", + "binding_type": "collection", + "binding_collection_name": "templates_collection", + "binding_name_override": "#visible" + } + ] + }, + + "template_list_text": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false + }, + + "template_description@custom_templates.template_list_text": { + "text": "selectTemplate.templateDescription" + }, + + "template_version@custom_templates.template_list_text": { + "text": "#template_version", + "bindings": [ + { + "binding_name": "#template_version", + "binding_type": "collection", + "binding_collection_name": "templates_collection", + "binding_condition": "visible" + }, + { + "binding_name": "(not #lock_visible)", + "binding_type": "collection", + "binding_collection_name": "templates_collection", + "binding_name_override": "#visible" + } + ] + }, + + "main_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "templates_scroll_content@custom_templates.templates_scroll_content": {} + } + ] + }, + + "custom_templates_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "force_render_below": true, + "$screen_content": "custom_templates.custom_templates_screen_content", + "$screen_background_control": "custom_templates.background" + }, + + "custom_templates_screen_content": { + "type": "panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_no_buttons": { + "$title_panel": "common_dialogs.standard_title_label", + "$title_size": [ "100% - 14px", 10 ], + "size": "$custom_templates_screen_size", + "$text_name": "#window_title_text", + "$title_text_binding_type": "global", + "$child_control": "custom_templates.main_panel", + "layer": 2 + } + } + ] + }, + + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + } +} \ No newline at end of file diff --git a/resource_pack/ui/day_one_experience_intro_screen.json b/resource_pack/ui/day_one_experience_intro_screen.json new file mode 100644 index 0000000..b276bcf --- /dev/null +++ b/resource_pack/ui/day_one_experience_intro_screen.json @@ -0,0 +1,514 @@ +{ + "namespace": "day_one_experience_intro", + + //--------------------------------------------------------------------------- + // Padding panels + //--------------------------------------------------------------------------- + + "padding_horizontal": { + "type": "panel", + "size": [ 4, "100%" ] + }, + + "padding_vertical": { + "type": "panel", + "size": [ "100%", 8 ] + }, + + //--------------------------------------------------------------------------- + // Text Panel + //--------------------------------------------------------------------------- + + "label_panel": { + "type": "panel", + "controls": [ + { + "label_text": { + "type": "label", + "size": [ "100%", "default" ], + "text": "$text", + "text_alignment": "center", + "color": "$text_color" + } + } + ] + }, + + "text_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "padding_00@day_one_experience_intro.padding_horizontal": { + "size": [ "5%", "fill" ] + } + }, + { + "tab_content_description_panel@common.tts_label_focus_wrapper": { + "$tts_label_panel": "day_one_experience_intro.label_panel", + "$focus_border_size": [ "100% + 20px", "100% + 14px" ], + "size": [ "90%", "100%" ], + "$text_color": "$body_text_color", + "$text": "$description_text", + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { + "padding_01@day_one_experience_intro.padding_horizontal": { + "size": [ "5%", "fill" ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Image Panel + //--------------------------------------------------------------------------- + + "dialog_image": { + "type": "image", + "layer": 2, + "texture": "$texture", + "size": [ "100% - 2px", "100%" ], + "fill": true, + "$fit_to_width": true + }, + + "image_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$focus_texture|default": "common.empty_panel", + "variables": [ + { + "requires": "(($tab_state = checked_hover) or ($tab_state = checked) or ($tab_state = unchecked_hover))", + "$focus_texture": "common.focus_border_white" + } + ], + "controls": [ + { + "dialog_image_with_border@day_one_experience_intro.dialog_image": { + "size": [ "100%", "100%" ] + } + }, + { + "focus_image@$focus_texture": { + "layer": 20 + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Main navigation tabs + //--------------------------------------------------------------------------- + + "top_tab@common_tabs.tab_top": { + "$toggle_focus_enabled": false, + "$toggle_name": "navigation_tab", + "$toggle_reset_on_focus_lost": false, + "$toggle_group_default_selected": "$default_tab", + "$background_texture": "textures/ui/Black", + "$toggle_tts_toggle_on_text": "accessibility.state.selected", + "$toggle_tts_toggle_off_text": "" + }, + + //--------------------------------------------------------------------------- + // Tabs layout panels + //--------------------------------------------------------------------------- + + "common_tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ] + }, + + "tabbed_tab_navigation_panel_layout@day_one_experience_intro.common_tab_navigation_panel_layout": { + "$tab_size|default": [ "fill", "54%x" ], + "controls": [ + { + "nav_padding_01@day_one_experience_intro.padding_horizontal": {} + }, + { + "gamepad_helper_with_offset_left_bumper": { + "type": "panel", + "size": [ 25, "100%" ], + "controls": [ + { + "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": { + "layer": 20, + "offset": [ 0, -7 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + }, + { + "nav_padding_02@day_one_experience_intro.padding_horizontal": { + "size": [ 2.5, "100%" ] + } + }, + { + "welcome_navigation_tab@day_one_experience_intro.top_tab": { + "size": "$tab_size", + "$tab_view_binding_name": "welcome_navigation_tab_toggle", + "$toggle_group_forced_index": 0, + "$radio_toggle_group": true, + "$texture": "textures/ui/day_one_carousel_logo_thumb", + "$tab_panel": "day_one_experience_intro.image_panel", + "$top_tab_tts_name": "$tab_tts_name_welcome" + } + }, + { + "nav_padding_03@day_one_experience_intro.padding_horizontal": {} + }, + { + "marketplace_navigation_tab@day_one_experience_intro.top_tab": { + "size": "$tab_size", + "$tab_view_binding_name": "marketplace_navigation_tab_toggle", + "$toggle_group_forced_index": 1, + "$radio_toggle_group": true, + "$texture": "textures/ui/day_one_carousel_marketplace_thumb", + "$tab_panel": "day_one_experience_intro.image_panel", + "$top_tab_tts_name": "$tab_tts_name_marketplace" + } + }, + { + "nav_padding_04@day_one_experience_intro.padding_horizontal": {} + }, + { + "cross_platform_navigation_tab@day_one_experience_intro.top_tab": { + "size": "$tab_size", + "$tab_view_binding_name": "cross_platform_navigation_tab_toggle", + "$toggle_group_forced_index": 2, + "$radio_toggle_group": true, + "$texture": "textures/ui/day_one_carousel_cross_platform_thumb", + "$tab_panel": "day_one_experience_intro.image_panel", + "$top_tab_tts_name": "$tab_tts_name_cross_platform" + } + }, + { + "nav_padding_05@day_one_experience_intro.padding_horizontal": {} + }, + { + "realms_navigation_tab@day_one_experience_intro.top_tab": { + "size": "$tab_size", + "$tab_view_binding_name": "realms_navigation_tab_toggle", + "$toggle_group_forced_index": 3, + "$radio_toggle_group": true, + "$texture": "textures/ui/day_one_carousel_realms_thumb", + "$tab_panel": "day_one_experience_intro.image_panel", + "ignored": "(not $is_realms_enabled)", + "$top_tab_tts_name": "$tab_tts_name_realms" + } + }, + { + "nav_padding_06@day_one_experience_intro.padding_horizontal": { + "ignored": "(not $is_realms_enabled)" + } + }, + { + "villagers_navigation_tab@day_one_experience_intro.top_tab": { + "size": "$tab_size", + "$tab_view_binding_name": "villager_navigation_tab_toggle", + "$toggle_group_forced_index": 4, + "$radio_toggle_group": true, + "$texture": "textures/ui/day_one_carousel_villager_thumb", + "$tab_panel": "day_one_experience_intro.image_panel", + "$top_tab_tts_name": "$tab_tts_name_villagers" + } + }, + { + "nav_padding_07@day_one_experience_intro.padding_horizontal": {} + }, + { + "gamepad_helper_with_offset_right_bumper": { + "type": "panel", + "size": [ 25, "100%" ], + "controls": [ + { + "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": { + "layer": 20, + "offset": [0,-7], + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + } + }, + { + "nav_padding_08@day_one_experience_intro.padding_horizontal": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Content layout panels + //--------------------------------------------------------------------------- + + + "tab_header_image_panel": { + "type": "panel", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "30%x" ], + "controls": [ + { + "welcome_tab_content@day_one_experience_intro.welcome_tab_header_image_panel": {} + }, + { + "marketplace_tab_content@day_one_experience_intro.marketplace_tab_header_image_panel": {} + }, + { + "cross_platform_tab_content@day_one_experience_intro.cross_platform_tab_header_image_panel": {} + }, + { + "realms_tab_content@day_one_experience_intro.realms_tab_header_image_panel": { + "ignored": "(not $is_realms_enabled)" + } + }, + { + "villager_tab_content@day_one_experience_intro.villager_tab_header_image_panel": {} + } + ] + }, + + "tabbed_tab_content_panel_layout": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "controls": [ + { + "welcome_tab_content@day_one_experience_intro.welcome_tab_content_panel": {} + }, + { + "marketplace_tab_content@day_one_experience_intro.marketplace_tab_content_panel": {} + }, + { + "cross_platform_tab_content@day_one_experience_intro.cross_platform_tab_content_panel": {} + }, + { + "realms_tab_content@day_one_experience_intro.realms_tab_content_panel": { + "ignored": "(not $is_realms_enabled)" + } + }, + { + "villager_tab_content@day_one_experience_intro.villager_tab_content_panel": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Content tabs panel + //--------------------------------------------------------------------------- + "common_tab_header_image_panel": { + "type": "panel", + "controls": [ + { + "header_image": { + "type": "image", + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 1px", "100% - 1px" ], + "fill": true, + "texture": "$header_texture" + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visible_bind_toggle_source_control", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "common_tab_content_panel": { + "type": "panel", + "controls": [ + { + "content@$scroll_tab_content": { + "layer": 2, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", "100%" ] + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visible_bind_toggle_source_control", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "welcome_tab_header_image_panel@day_one_experience_intro.common_tab_header_image_panel": { + "$visible_bind_toggle_source_control": "welcome_navigation_tab_toggle", + "$header_texture": "textures/ui/day_one_carousel_logo" + }, + + "welcome_tab_content_panel@day_one_experience_intro.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "welcome_navigation_tab_toggle", + "$scroll_tab_content": "day_one_experience_intro.text_panel", + "$description_text|default": "dayOneExperience.carousel.welcome_text", + "variables": [ + { + "requires": "(not $is_realms_enabled)", + "$description_text": "dayOneExperience.carousel.welcome_text.no_realms" + } + ] + }, + + "marketplace_tab_header_image_panel@day_one_experience_intro.common_tab_header_image_panel": { + "$visible_bind_toggle_source_control": "marketplace_navigation_tab_toggle", + "$header_texture": "textures/ui/day_one_carousel_marketplace" + }, + + "marketplace_tab_content_panel@day_one_experience_intro.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "marketplace_navigation_tab_toggle", + "$scroll_tab_content": "day_one_experience_intro.text_panel", + "$description_text": "dayOneExperience.carousel.marketplace" + }, + + "cross_platform_tab_header_image_panel@day_one_experience_intro.common_tab_header_image_panel": { + "$visible_bind_toggle_source_control": "cross_platform_navigation_tab_toggle", + "$header_texture": "textures/ui/day_one_carousel_cross_platform" + }, + + "cross_platform_tab_content_panel@day_one_experience_intro.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "cross_platform_navigation_tab_toggle", + "$scroll_tab_content": "day_one_experience_intro.text_panel", + "$description_text": "dayOneExperience.carousel.cross_platform" + }, + + "realms_tab_header_image_panel@day_one_experience_intro.common_tab_header_image_panel": { + "$visible_bind_toggle_source_control": "realms_navigation_tab_toggle", + "$header_texture": "textures/ui/day_one_carousel_realms", + "ignored": "(not $is_realms_enabled)" + + }, + + "realms_tab_content_panel@day_one_experience_intro.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "realms_navigation_tab_toggle", + "$scroll_tab_content": "day_one_experience_intro.text_panel", + "$description_text": "dayOneExperience.carousel.realms", + "ignored": "(not $is_realms_enabled)" + + }, + + "villager_tab_header_image_panel@day_one_experience_intro.common_tab_header_image_panel": { + "$visible_bind_toggle_source_control": "villager_navigation_tab_toggle", + "$header_texture": "textures/ui/day_one_carousel_villager" + }, + + "villager_tab_content_panel@day_one_experience_intro.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "villager_navigation_tab_toggle", + "$scroll_tab_content": "day_one_experience_intro.text_panel", + "$description_text": "dayOneExperience.carousel.villager" + }, + + + + //--------------------------------------------------------------------------- + // Tab main Panel + //--------------------------------------------------------------------------- + + "tab_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "controls": [ + { + "tab_header_image@day_one_experience_intro.tab_header_image_panel": {} + }, + { + "padding_00@day_one_experience_intro.padding_vertical": {} + }, + { + "tab_navigation_panel@day_one_experience_intro.tabbed_tab_navigation_panel_layout": { + "size": [ "100%", "18%" ], + "ttsSectionContainer": true + } + }, + { + "tab_content_panel@day_one_experience_intro.tabbed_tab_content_panel_layout": { + "size": [ "100%", "fill" ], + "ttsSectionContainer": true + } + }, + { + "padding_4@day_one_experience_intro.padding_vertical": {} + }, + { + "continue_button_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "ttsSectionContainer": true, + "controls": [ + { + "continue_button@common_buttons.light_text_button": { + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "offset": [ 0, -2.5 ], + "size": [ "98%", 28 ], + "$pressed_button_name": "button.next_page", + "$button_text": "gui.continue", + "$focus_id": "continue_button" + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "day_one_experience_intro_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "day_one_experience_intro.day_one_experience_intro_screen_content" + }, + + "day_one_experience_intro_screen_content": { + "type": "panel", + "controls": [ + { + "welcome_dialog@common_dialogs.main_panel_no_buttons": { + "$show_close_button": false, + "size": "$day_one_experience_intro_screen_size", + "$title_panel": "common_dialogs.standard_title_label", + "$text_name": "dayOneExperience.carousel.title", + "$child_control": "day_one_experience_intro.tab_panel", + "layer": 2 + } + } + ] + } +} diff --git a/resource_pack/ui/day_one_experience_screen.json b/resource_pack/ui/day_one_experience_screen.json new file mode 100644 index 0000000..d8f5fab --- /dev/null +++ b/resource_pack/ui/day_one_experience_screen.json @@ -0,0 +1,750 @@ +{ + "namespace": "day_one_experience", + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + + "alpha_scroll_background": { + "type": "image", + "texture": "textures/ui/banners_dark" + }, + + "tip_text": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%", "default" ], + "text_alignment": "center", + "text": "$text" + }, + + "tip_arrow_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 9, + "frame_step": 32, + "fps": 10, + "reversible": false, + "easing": "linear" + }, + + "tip_arrow_base": { + "type": "image", + "texture": "$arrow_texture", + "uv": "@tip_arrow_animation", + "disable_anim_fast_forward": true, + "uv_size": [ 32, 32 ] + }, + + "tip_arrow_left@day_one_experience.tip_arrow_base": { + "$arrow_texture": "textures/ui/tip_arrows_left" + }, + + "tip_arrow_right@day_one_experience.tip_arrow_base": { + "$arrow_texture": "textures/ui/tip_arrows_right" + }, + + //--------------------------------------------------------------------------- + // common labels + //--------------------------------------------------------------------------- + + "import_time": { + "type": "custom", + "renderer": "name_tag_renderer", + "size": [ "100%", 8 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 3, + "property_bag": { + "#playername": "dayOneExperience.world_import_time", + "#x_padding": 5 + } + }, + + //--------------------------------------------------------------------------- + // Skin Import Panels + //--------------------------------------------------------------------------- + + "skins_tip_image": { + "type": "image", + "texture": "textures/ui/day_one_experience_skins_tip", + "layer": 6, + "controls": [ + { + "arrows": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "28%", "15%" ], + "offset": [ "33%", "41%" ], + "layer": 7, + "controls": [ + { + "right_arrow@day_one_experience.tip_arrow_right": { + "size": [ "100%y", "100%" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "left_arrow@day_one_experience.tip_arrow_left": { + "size": [ "100%y", "100%" ] + } + } + ] + } + } + ] + }, + + "skins_tip_top_text@day_one_experience.tip_text": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text_alignment": "center", + "size": [ "90%", "default" ], + "bindings": [ + { + "binding_name": "$visibility_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "skins_tip_panel": { + "type": "stack_panel", + "orientation": "vertical", + "$anchor": "center", + "controls": [ + { + "top_text_sizer": { + "type": "panel", + "size": [ "100%", "10%" ], + "controls": [ + { + "settings_and_skin_text@day_one_experience.skins_tip_top_text": { + "$text": "dayOneExperience.settings_skin_imported", + "$visibility_binding_name": "#has_previous_skin" + } + }, + { + "settings_text@day_one_experience.skins_tip_top_text": { + "$text": "dayOneExperience.settings_imported", + "$visibility_binding_name": "(not #has_previous_skin)" + } + } + ] + } + }, + { + "image_sizer": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "image_section@common_dialogs.main_panel_no_title_no_buttons": { + "$show_close_button": false, + "size": [ "209%y - 18px", "100%" ], + "$child_control": "day_one_experience.skins_tip_image", + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + } + }, + { + "bottom_text_sizer": { + "type": "panel", + "size": [ "100%", "15%" ], + "controls": [ + { + "bottom_text@day_one_experience.tip_text": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$text": "dayOneExperience.skin_tip", + "text_alignment": "center", + "size": [ "90%", "default" ] + } + } + ] + } + } + ] + }, + + "skin_viewer_panel_text@day_one_experience.tip_text": { + "text_alignment": "center", + "bindings": [ + { + "binding_name": "$visibility_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "skin_viewer_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "paper_doll_container": { + "type": "panel", + "size": [ "100%y", "70%" ], + "offset": [ 0, "-20%" ], + "controls": [ + { + "paper_doll": { + "type": "custom", + "renderer": "paper_doll_renderer", + "layer": 2, + "rotation": "auto", + "use_selected_skin": false, + "property_bag": { + "#skin_rotation": true + }, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_name": "#is_skin_retrieval_finished", + "binding_name_override": "#visible", + "binding_condition": "always" + }, + { + "binding_name": "#legacy_skin", + "binding_type": "global", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + }, + { + "legacy_skin_loading_panel@common_store.progress_loading": { + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "$source_control_name": "paper_doll", + "$source_property_name": "(not #visible)" + } + }, + { + "bottom_skin_text": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -10 ], + "controls": [ + { + "current_skin_text@day_one_experience.skin_viewer_panel_text": { + "$text": "dayOneExperience.skin_current", + "$visibility_binding_name": "#has_previous_skin" + } + }, + { + "default_skin_text@day_one_experience.skin_viewer_panel_text": { + "$text": "dayOneExperience.skin_default", + "$visibility_binding_name": "(not #has_previous_skin)" + } + } + ], + "bindings": [ + { + "binding_name": "#is_skin_retrieval_finished", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "skin_tip_screen": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "primary_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 20px", "70%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 20 ], + "controls": [ + { + "skin_viewer_panel": { + "type": "panel", + "size": [ "25%", "100%" ], + "controls": [ + { + "skin_viewer@common_dialogs.main_panel_no_title_no_buttons": { + "$show_close_button": false, + "$child_control": "day_one_experience.skin_viewer_panel" + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 20, "100%" ] + } + }, + { + "skins_tip_panel_container@common.common_panel": { + "$show_close_button": false, + "size": [ "fill", "100%" ], + "controls": [ + { + "background@common.common_panel": { + "layer": 1, + "$dialog_background": "day_one_experience.alpha_scroll_background", + "$show_close_button": false + } + }, + { + "skins_tip_panel@day_one_experience.skins_tip_panel": { + "size": [ "100% - 20px", "100% - 20px" ], + "layer": 3 + } + } + ] + } + } + ] + } + }, + { + "no_network_message": { + "type": "custom", + "renderer": "name_tag_renderer", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 8 ], + "offset": [ 0, -20 ], + "layer": 3, + "text_color": "$alert_label_text_color", + "background_color": "$alert_label_background_color", + "property_bag": { + "#playername": "dayOneExperience.no_internet", + "#x_padding": 5 + }, + "bindings": [ + { + "binding_name": "#no_network_message_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Advanced World Panels + //--------------------------------------------------------------------------- + + "legacy_world_item": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { + "header_button_panel@play.header_single_button_panel": { + "layer": 1, + "size": [ "100%", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$primary_header_button": "play.legacy_world_item_button" + } + } + ] + }, + + "legacy_world_item_grid@play.world_item_grid_base": { + "grid_item_template": "day_one_experience.legacy_world_item", + "grid_dimension_binding": "#legacy_world_item_grid_dimension", + "collection_name": "legacy_worlds", + "bindings": [ + { + "binding_name": "#legacy_world_item_grid_dimension" + } + ] + }, + + "world_picker_scrolling_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 3px", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "skip_button@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "$pressed_button_name": "button.world_picker_skip", + "$button_text": "dayOneExperience.world_picker_skip" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "loading_legacy_worlds_panel@play.label_background": { + "size": [ "100%", "100%c - 12px" ], + "min_size": [ "100%", 39 ], // Grid item size is 29 + 10 for label, grid items overdraw by 1px + "controls": [ + { + "loading_legacy_worlds_label": { + "type": "label", + "text": "playscreen.fetchingLegacyWorlds", + "max_size": [ "100% - 4px", 20 ], + "shadow": false, + "offset": [ 0, 6 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$dark_button_default_text_color", + "layer": 5 + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "progress_loading_bars@play.progress_loading_bars": { + "$visible_binding_name": "#loading_legacy_worlds_grid_visible" + } + } + ], + "bindings": [ + { + "binding_name": "#loading_legacy_worlds_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ], + "bindings": [ + { + "binding_name": "#loading_legacy_worlds_grid_visible", + "binding_name_override": "visible" + } + ] + } + }, + { + "world_item_grid@day_one_experience.legacy_world_item_grid": { + "size": [ "100%", "default" ] + } + } + ] + }, + + "world_picker_content": { + "type": "panel", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100% - 4px", "100% - 2px" ], + "offset": [ 4, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$scrolling_pane_size": [ "100% - 1px", "100%" ], + "$scrolling_content": "day_one_experience.world_picker_scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "$show_close_button": false + } + } + ] + }, + + "advanced_worlds_screen@day_one_experience": { + "type": "stack_panel", + "size": [ "60%", "70%" ], + "orientation": "vertical", + "controls": [ + { + "world_picker@common_dialogs.main_panel_no_buttons": { + "size": [ "default", "fill" ], + "$show_close_button": false, + "$text_name": "dayOneExperience.world_picker_title", + "$child_control": "day_one_experience.world_picker_content" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "import_time_container": { + "type": "panel", + "size": [ "100%", 8 ], + "controls": [ + { + "import_time_label@day_one_experience.import_time": {} + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Buttons + //--------------------------------------------------------------------------- + + "next_screen_button_content": { + "type": "panel", + "controls": [ + { + "arrow_panel": { + "type": "panel", + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "default", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "text_alignment": "center", + "text": "#next_button_text", + "color": "$text_color", + "bindings": [ + { + "binding_name": "#next_button_text" + } + ] + } + } + ] + } + }, + { + "image": { + "type": "image", + "size": [ 8, 8 ], + "offset": [ -2, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "texture": "textures/ui/arrowRight" + } + + } + ], + "bindings": [ + { + "binding_name": "#next_button_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loading_panel@common_store.progress_loading": { + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "$source_control_name": "arrow_panel", + "$source_property_name": "(not #visible)" + } + } + ] + }, + + "next_screen_button@common_buttons.light_content_button": { + "$pressed_button_name": "dayOneExperience.next_screen", + "$button_content": "day_one_experience.next_screen_button_content", + "bindings": [ + { + "binding_name": "#next_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "next_panel": { + "type": "panel", + "size": [ "15%", 30 ], + "offset": [ -10, -20 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "controls": [ + { + "next_button@day_one_experience.next_screen_button": { + "layer": 4 + } + } + ], + "bindings": [ + { + "binding_name": "(#show_next_button)", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Scroll panels + //--------------------------------------------------------------------------- + + "common_scrolling_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_content": "$scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "anchor_from": "top_middle", + "anchor_to": "top_middle" + }, + + "skin_tip_scroll_panel": { + "type": "panel", + "controls": [ + { + "skin_tip_screen@day_one_experience.skin_tip_screen": {} + } + ] + }, + + "worlds_import_scroll_panel": { + "type": "panel", + "controls": [ + { + "advanced_screen@day_one_experience.advanced_worlds_screen": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Scroll content + //--------------------------------------------------------------------------- + + "common_content": { + "type": "panel", + "focus_container": true, + "use_last_focus": true, + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_right": "contained", + "focus_navigation_mode_left": "contained" + }, + + "skin_tip_scroll_content@day_one_experience.common_content": { + "controls": [ + { + "scrolling_panel@day_one_experience.common_scrolling_panel": { + "layer": 1, + "$scrolling_content": "day_one_experience.skin_tip_scroll_panel" + } + } + ] + }, + + "world_import_scroll_content@day_one_experience.common_content": { + "controls": [ + { + "scrolling_panel@day_one_experience.common_scrolling_panel": { + "layer": 1, + "$scrolling_content": "day_one_experience.worlds_import_scroll_panel" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Content layout panels + //--------------------------------------------------------------------------- + + "default_tab_content_panel_layout": { + "type": "panel", + "controls": [ + { + "skin_tip_tab_content@day_one_experience.skin_tip_scroll_content": { + "bindings": [ + { + "binding_name": "(#current_day_one_tab_index = 0)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "world_import_tab_content@day_one_experience.world_import_scroll_content": { + "bindings": [ + { + "binding_name": "(#current_day_one_tab_index = 1)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Default panels + //--------------------------------------------------------------------------- + + "default_wizard_screen": { + "type": "panel", + "controls": [ + { + "tab_content_panel@day_one_experience.default_tab_content_panel_layout": { + "layer": 1 + } + } + ] + }, + + "wizard_screen@common.base_screen": { + "$screen_content": "day_one_experience.wizard_screen_content" + }, + + "wizard_screen_content": { + "type": "panel", + "controls": [ + { + "main_control@day_one_experience.default_wizard_screen": {} + }, + { + "next_button@day_one_experience.next_panel": { + "layer": 10 + } + } + ] + } +} diff --git a/resource_pack/ui/death_screen.json b/resource_pack/ui/death_screen.json new file mode 100644 index 0000000..b33baa3 --- /dev/null +++ b/resource_pack/ui/death_screen.json @@ -0,0 +1,229 @@ +{ + "namespace": "death", + + // Base button // + + "a_button_panel": { + "type": "panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 26 ], + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "$icon_text_color": "$gamepad_button_generic_text_color", + "$icon_description_bind": "controller.buttonTip.select", + "$icon_description_bind_type": "none" + } + } + ] + }, + + "you_died_panel": { + "type": "panel", + "size": [ "100%", "10%" ], + "controls": [ + { + "you_died_label": { + "type": "label", + "color": "$death_text_color", + "text": "deathScreen.message", + "shadow": true, + "font_size": "large", + "font_scale_factor": 1.25 + } + } + ] + }, + + "death_reason_panel": { + "type": "panel", + "size": [ "100%", "20%" ], + "controls": [ + { + "death_reason_label": { + "type": "label", + "color": "$death_text_color", + "text": "#death_reason_text", + "max_size": [ "70%", "fill" ], + "text_alignment": "center", + "shadow": true, + "font_scale_factor": 1.25, + "bindings": [ + { + "binding_name": "#death_reason_text" + } + ] + } + } + ] + }, + + "labels_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "50%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "fill_1": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "you_died@death.you_died_panel": {} + }, + { + "padd_1": { + "type": "panel", + "size": [ "100%", 12 ] + } + }, + { + "death_reason@death.death_reason_panel": {} + }, + { + "padd_2": { + "type": "panel", + "size": [ "100%", 20 ] + } + } + ] + }, + + "buttons_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "30%", "50%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "padd_0": { + "type": "panel", + "size": [ "100%", 14 ] + } + }, + { + "respawn_button@common_buttons.light_text_button": { + "size": [ "100%", 26 ], + "$button_text": "deathScreen.respawn", + "$pressed_button_name": "button.respawn_button", + "bindings": [ + { + "binding_name": "#respawn_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#respawn_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padd_1": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "main_menu_button@common_buttons.light_text_button": { + "size": [ "100%", 26 ], + "$button_text": "deathScreen.quit", + "$pressed_button_name": "button.main_menu_button", + "variables": [ + { + "requires": "$is_secondary_client", + "$button_text": "deathScreen.quit.secondaryClient" + } + ], + "bindings": [ + { + "binding_name": "#quit_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#quit_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "fill_2": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "select_button@death.a_button_panel": {} + } + ] + }, + + + "death_screen_content": { + "type": "panel", + "controls": [ + { + "death_screen_buttons_and_stuff": { + "type": "panel", + "controls": [ + { + "labels_panel@death.labels_panel": {} + }, + { + "buttons_panel@death.buttons_panel": {} + } + ], + "bindings": [ + { + "binding_name": "#buttons_and_deathmessage_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loading_label": { + "type": "label", + "color": "$title_command_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, "85%" ], + "text": "progressScreen.generating", + "font_size": "normal", + "bindings": [ + { + "binding_name": "#loading_message_visible", + "binding_name_override": "#visible" + } + ] + } + } + + ] + }, + + + "background_gradient": { + "type": "custom", + "renderer": "gradient_renderer", + "color1": [ 0.313, 0, 0, 0.37 ], + "color2": [ 0.5, 0.188, 0.188, 0.627 ], + "ignored": "$is_holographic" + }, + + + // Main Screen // + + "death_screen@common.base_screen": { + "$screen_content": "death.death_screen_content", + "$screen_bg_content": "death.background_gradient", + "load_screen_immediately": true + } + +} diff --git a/resource_pack/ui/debug_screen.json b/resource_pack/ui/debug_screen.json new file mode 100644 index 0000000..27aef13 --- /dev/null +++ b/resource_pack/ui/debug_screen.json @@ -0,0 +1,57 @@ +{ + "namespace": "debug_screen", + + "access_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.access", + "size": [ 20, 20 ], + "offset": [ 20, 20 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "focus_enabled": false, + "bindings": [ + { + "binding_name": "#access_screen_visible", + "binding_name_override": "#visible" + } + ] + }, + + "special_render": { + "type": "custom", + "renderer": "debug_screen_renderer" + }, + + "content_panel": { + "type": "panel", + "clips_children": false, + "size": [ "100%", "100%" ], + "controls": [ + { + "access_button@debug_screen.access_button": { + } + }, + { + "special_render@debug_screen.special_render": { + } + } + ] + }, + + + + "debug_screen@common.base_screen": { + "send_telemetry": false, + "screen_not_flushable": true, + "render_game_behind": true, + "is_showing_menu": false, + "low_frequency_rendering": true, + "is_modal": true, + "should_steal_mouse": false, + "render_only_when_topmost": false, + "screen_draws_last": true, + "always_accepts_input": true, + "$screen_content": "debug_screen.content_panel", + "$screen_animations": [], + "$use_loading_bars": false + } +} \ No newline at end of file diff --git a/resource_pack/ui/dev_console_screen.json b/resource_pack/ui/dev_console_screen.json new file mode 100644 index 0000000..ff2646d --- /dev/null +++ b/resource_pack/ui/dev_console_screen.json @@ -0,0 +1,156 @@ +{ + "namespace": "dev_console", + + "keyboard_button_content@common_buttons.button_content_panel": { + "controls": [ + { + "keyboard_image@chat.keyboard_image": { + } + } + ] + }, + + "keyboard_button@common_buttons.light_content_button": { + "$pressed_button_name": "keyboard_button", + "$button_content": "dev_console.keyboard_button_content", + "size": [ 20, 20 ] + }, + + "button_content@common_buttons.button_content_panel": { + "controls": [ + { + "image@$button_content_image_control": { + } + } + ] + }, + + "up_arrow": { + "type": "image", + "texture": "textures/ui/up_arrow", + "size": [ 12, 12 ] + }, + + "down_arrow": { + "type": "image", + "texture": "textures/ui/down_arrow", + "size": [ 12, 12 ] + }, + + "send_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.send", + "$button_content": "dev_console.button_content", + "$button_content_image_control": "chat.send_image", + "size": [ 44, 27 ] + }, + + "sent_message_up_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.chat_previous_message", + "$button_content": "dev_console.button_content", + "$button_content_image_control": "dev_console.up_arrow", + "size": [ 30, 27 ], + "bindings": [ + { + "binding_name": "(not #keyboard_helper_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "sent_message_down_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.chat_next_message", + "$button_content": "dev_console.button_content", + "$button_content_image_control": "dev_console.down_arrow", + "size": [ 30, 27 ], + "bindings": [ + { + "binding_name": "(not #keyboard_helper_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "chat_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 27 ], + "controls": [ + { + "text_box@chat.text_edit_box": { + } + }, + { + "send_button@dev_console.send_button": { + } + }, + { + "sent_message_up_button@dev_console.sent_message_up_button": { + } + }, + { + "sent_message_down_button@dev_console.sent_message_down_button": { + } + } + ] + }, + + "main_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "100%" ], + "controls": [ + { + "messages_scrolling_panel@chat.messages_scrolling_panel": { + "size": [ "100%-2px", "100%-29px" ] + } + }, + { + "chat_stack_panel@dev_console.chat_stack_panel": { + } + } + ] + }, + + "main_with_intellisense": { + "type": "panel", + "controls": [ + { + "main_stack@dev_console.main_stack_panel": {} + }, + { + "commands_panel@chat.commands_panel": { + "size": [ "100%", "100%-29px" ], + "offset": [ 0, -29 ], + "layer": 11 + } + } + ] + }, + + + + "dev_console_dialog@common_dialogs.main_panel_no_buttons": { + "$child_control": "dev_console.main_with_intellisense", + "size": [ "100%", "75%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + + }, + + "dev_console_screen@common.base_screen": { + "$screen_content": "dev_console.dev_console_dialog", + "force_render_below": true, + "button_mappings": [ + { + "from_button_id": "button.menu_exit", + "to_button_id": "button.chat_menu_cancel", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.chat_menu_cancel", + "mapping_type": "global" + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/disconnect_screen.json b/resource_pack/ui/disconnect_screen.json new file mode 100644 index 0000000..0c692d6 --- /dev/null +++ b/resource_pack/ui/disconnect_screen.json @@ -0,0 +1,319 @@ +{ + "namespace": "disconnect", + + "disconnect_screen_text": { + "type": "label", + "color": "$loading_text_color", + "size": [ "default", 50 ], + "max_size": [ "100% - 20px", 50 ], + "anchor_to": "center", + "anchor_from": "center", + "layer": 2, + "shadow": false + }, + + "disconnect_text@disconnect.disconnect_screen_text": { + "offset": [ 0, -40 ], + "text": "#disconnect_text", + "bindings": [ + { + "binding_name": "#disconnect_text" + }, + { + "binding_name": "#tts_dialog_body", + "binding_condition": "once" + } + ], + "property_bag": { + "#tts_dialog_body": "#disconnect_text" + } + }, + + "disconnect_title_text@disconnect.disconnect_screen_text": { + "size": [ "default", 40 ], + "max_size": [ "100% - 20px", 40 ], + "offset": [ 0, -10 ], + "text": "#title_text", + "bindings": [ + { + "binding_name": "#title_text" + }, + { + "binding_name": "#tts_dialog_title", + "binding_condition": "once" + } + ], + "property_bag": { + "#tts_dialog_title": "#title_text" + } + }, + + "title_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { "disconnect_title_text@disconnect.disconnect_title_text": {} }, + { "disconnect_text@disconnect.disconnect_text": {} } + ] + }, + + "menu_button_template@common_buttons.light_text_button": { + "size": [ 128, 26 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle" + }, + + "continue_button@disconnect.menu_button_template": { + "$pressed_button_name": "button.menu_continue", + "$button_text": "gui.continue" + }, + + "check_store_button@disconnect.menu_button_template": { + "$pressed_button_name": "button.menu_check_store", + "$button_text": "gui.store", + "ignored": "($is_holographic or $nx_os or $is_ps4)" + }, + + "exit_button@disconnect.menu_button_template": { + "$pressed_button_name": "button.menu_leave_screen", + "$button_text": "gui.back" + }, + + "ok_button@disconnect.menu_button_template": { + "$pressed_button_name": "button.menu_leave_screen", + "$button_text": "gui.ok" + }, + + "open_uri_button@disconnect.open_account_setting_button": { + "size": [ 200, 26 ] + }, + + "cancel_button@disconnect.menu_button_template": { + "size": [ 256, "100%" ], + "$pressed_button_name": "button.cancel_join_realm", + "$button_text": "gui.cancel" + }, + + "button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "-20%" ], + "controls": [ + { + "open_uri_button_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "ignored": "$is_holographic", + "visible": false, + "bindings": [ + { + "binding_name": "#open_uri_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "open_uri_button@disconnect.open_uri_button": {} } + ] + } + }, + { + "open_button_panel": { + "type": "panel", + "size": [ "100%", 26 ], + "controls": [ + { "ok_button@disconnect.ok_button": {} } + ] + } + } + ] + }, + + "gamepad_helpers": { + "type": "panel", + "size": [ 100, 10 ], + "offset": [ 0, "45%" ], + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "disconnect_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_leave_screen", + "mapping_type": "global" + } + ], + "$screen_content": "disconnect.disconnect_screen_content", + "$button_layout": "@disconnect.button_panel", + "$screen_bg_content": "common.dirt_background" + }, + + "disconnect_screen_content": { + "type": "panel", + "controls": [ + { "title_panel@disconnect.title_panel": {} }, + { "gamepad_helpers@disconnect.gamepad_helpers": {} }, + { "$button_layout": {} } + ] + }, + + "spacing_gap": { + "type": "panel", + "size": [ 5, 0 ] + }, + + // Realms Disconnect Screen + + "realms_disconnect_screen@disconnect.disconnect_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_leave_screen", + "mapping_type": "global" + } + ], + "$button_layout": "@disconnect.realms_disconnect_button_panel", + "$screen_bg_content": "common.portal_background" + }, + + "realms_disconnect_button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "offset": [ 0, 30 ], + "size": [ "100%", "100%c" ], + "controls": [ + { + "open_uri_button_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "ignored": "$is_holographic", + "visible": false, + "bindings": [ + { + "binding_name": "#open_uri_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "open_uri_button@disconnect.open_uri_button": {} } + ] + } + }, + { + "realm_buttons_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "realm_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "controls": [ + { "check_store_button@disconnect.check_store_button": {} }, + { + "spacing_gap@disconnect.spacing_gap": { + "ignored": "$is_holographic" + } + }, + { "exit_button@disconnect.exit_button": {} } + ] + } + } + ] + } + } + ] + }, + + "realms_warning_screen@disconnect.disconnect_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_leave_screen", + "mapping_type": "global" + } + ], + "$button_layout": "@disconnect.realms_warning_button_panel", + "$screen_bg_content": "common.portal_background" + }, + + "realms_warning_button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "offset": [ 0, 30 ], + "size": [ "100%", "100%c" ], + "controls": [ + { + "continue_button_panel": { + "type": "panel", + "size": [ "100%", 26 ], + "controls": [ + { + "continue_button_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "controls": [ + { "check_store_button@disconnect.check_store_button": {} }, + { + "spacing_gap@disconnect.spacing_gap": { + "ignored": "$is_holographic" + } + }, + { "continue_button@disconnect.continue_button": {} } + ] + } + } + ] + } + }, + { + "realms_warning_button_gap@disconnect.spacing_gap": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "cancel_button_panel": { + "type": "panel", + "size": [ "100%", 26 ], + "controls": [ + { "cancel_button@disconnect.cancel_button": {} } + ] + } + } + ] + }, + + "open_account_setting_button@common_buttons.hyperlink_button": { + "$button_text": "permissions.open.account.help.button", + "property_bag": { + "#hyperlink": "https://aka.ms/MCMultiplayerHelp" + } + } +} diff --git a/resource_pack/ui/display_logged_error_screen.json b/resource_pack/ui/display_logged_error_screen.json new file mode 100644 index 0000000..7c0465f --- /dev/null +++ b/resource_pack/ui/display_logged_error_screen.json @@ -0,0 +1,306 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "display_logged_error", + + "display_logged_error_screen@common.base_screen": { + "force_render_below": true, + "$screen_content": "display_logged_error.factory_panel" + }, + + "factory_panel": { + "type": "panel", + "controls": [ + { + "error_dialog_factory": { + "type": "factory", + "control_ids": { + "error_popup": "@display_logged_error.display_logged_error_modal", + "error_details": "@display_logged_error.error_details_modal" + } + } + } + ] + }, + + // Error popup + + "display_logged_error_modal@common_dialogs.main_panel_two_buttons": { + + "layer": 5, + "size": [ 200, 165 ], + "$child_control": "display_logged_error.error_message_stack", + "$text_name": "Errors detected!", + "$top_button_panel|default": "display_logged_error.details_button", + "$bottom_button_panel|default": "display_logged_error.dismiss_button", + "$show_close_button": false + }, + + "error_message_stack": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "error_message": { + "type": "label", + "size": [ "100%", "default" ], + "layer": 1, + "text": "Errors detected! Press 'Details' for more information and attach the error log to the bug report.", + "color": "$body_text_color" + } + }, + { + "error_count": { + "type": "label", + "size": [ "100%", "default" ], + "layer": 1, + "text": "#error_count_message", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#error_count_message" + } + ] + } + } + ] + }, + + "input_blocking_button_base@common_buttons.light_text_button": { + "$dismiss_button|default": "button.dismiss", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused", + "button_up_right_of_first_refusal": true + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$dismiss_button", + "mapping_type": "focused", + "button_up_right_of_first_refusal": true + } + ] + }, + + "details_button@display_logged_error.input_blocking_button_base": { + "$pressed_button_name": "button.show_error_details", + "$button_text": "store.itemDetail.back", + "$focus_id": "error_details_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$focus_override_down": "error_hide_button" + }, + + "dismiss_button@display_logged_error.input_blocking_button_base": { + "$pressed_button_name": "button.dismiss", + "$button_text": "gui.hide", + "$focus_id": "error_hide_button", + "$focus_override_up": "error_details_button", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + }, + + // Error details screen + + "error_details_modal@common_dialogs.main_panel_two_buttons": { + "layer": 5, + "$child_control": "display_logged_error.error_stack_scrolling_panel", + "$text_name": "Error details", + "$top_button_panel|default": "display_logged_error.copy_path_button", + "$bottom_button_panel|default": "display_logged_error.hide_error_details_button", + "$show_close_button": false + }, + + "copy_path_button@display_logged_error.input_blocking_button_base": { + "$pressed_button_name": "button.copy_log_path_to_clipboard", + "$button_text": "Copy log file path to clipboard", + "$focus_id": "copy_button", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#copy_button_focus_override_up", + "binding_name_override": "#focus_change_up" + } + ] + }, + + "hide_error_details_button@display_logged_error.input_blocking_button_base": { + "$pressed_button_name": "button.dismiss", + "$button_text": "gui.close", + "$focus_id": "hide_error_button", + "$focus_override_up": "copy_button", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + }, + + "error_stack_scrolling_panel@common.scrolling_panel": { + "layer": 2, + "size": [ "100%", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_content": "display_logged_error.error_stack", + "$scroll_view_port_size": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_size_touch": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_offset": [ 2, 2 ], + "$scroll_view_port_offset_touch": [ 2, 2 ], + "$scroll_size": [ 5, "100%-2px" ], + "$scroll_size_touch": [ 5, "100%-2px" ], + "$background_size": [ "100%", "100%" ], + "$background_size_touch": [ "100%", "100%" ], + "$show_background": false + }, + + "error_stack": { + "type": "stack_panel", + "collection_name": "display_logged_errors", + "factory": { + "name": "display_logged_errors", + "control_ids": { + "error_short": "@display_logged_error.error_short", + "error_expanded": "@display_logged_error.error_expanded" + } + }, + "bindings": [ + { + "binding_name": "#error_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "error_controller_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "error_message@display_logged_error.error_base": {} + }, + { + "controller_button@common.button": { + "size": [ "100%", "100%sm" ], + "$pressed_button_name": "button.expand", + "default_control": "", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused", + "button_up_right_of_first_refusal": true + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.dismiss", + "mapping_type": "focused", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "hover@common.focus_border_white": {} + }, + { + "pressed@common.focus_border_white": {} + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "display_logged_errors" + }, + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#error_focus_id", + "binding_type": "collection", + "binding_collection_name": "display_logged_errors", + "binding_name_override": "#focus_identifier" + }, + { + "binding_name": "#error_focus_override_up", + "binding_type": "collection", + "binding_collection_name": "display_logged_errors", + "binding_name_override": "#focus_change_up" + }, + { + "binding_name": "#error_focus_override_down", + "binding_type": "collection", + "binding_collection_name": "display_logged_errors", + "binding_name_override": "#focus_change_down" + } + ] + } + } + ] + }, + + "error_base": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "error_message": { + "type": "label", + "size": "$label_size", + "text": "#error_message", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#error_message", + "binding_type": "collection", + "binding_collection_name": "display_logged_errors" + } + ] + } + }, + { + "expand_button@display_logged_error.input_blocking_button_base": { + "$pressed_button_name": "button.expand", + "size": [ 45, 20 ], + "$button_text": "#error_expand_label", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "display_logged_errors", + "$dismiss_button": "button.hide_error_details", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "display_logged_errors" + } + ] + } + } + ] + }, + + "error_short@display_logged_error.error_controller_panel": { + "$label_size": [ "fill", 20 ] + }, + + "error_expanded@display_logged_error.error_controller_panel": { + "$label_size": [ "fill", "default" ] + } +} diff --git a/resource_pack/ui/edu_discovery_dialog.json b/resource_pack/ui/edu_discovery_dialog.json new file mode 100644 index 0000000..450b342 --- /dev/null +++ b/resource_pack/ui/edu_discovery_dialog.json @@ -0,0 +1,95 @@ +{ + "namespace": "discovery_dialog", + + "service_body_label": { + "size": [ "100%", "default" ], + "type": "label", + "text": "#service_body_text", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#service_body_text" + } + ] + }, + + "service_button@common_buttons.light_text_button": { + "size": [ "100%", 18 ], + "$button_text_binding_type": "collection", + "$button_binding_condition": "once", + "$button_text": "#service_button_text", + "$button_text_grid_collection_name": "button_collection", + "$button_visible_binding|default": "", + "$pressed_button_name": "button.service", + "bindings": [ + { + "binding_name": "#service_button_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "button_collection" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "button_collection" + } + ] + }, + + "service_buttons": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "factory": { + "name": "button_factory", + "control_name": "discovery_dialog.service_button" + }, + "collection_name": "button_collection", + "bindings": [ + { + "binding_name": "#button_count", + "binding_name_override": "#collection_length" + } + ] + }, + + "content": { + "type": "stack_panel", + "size": [ 218, "100%c" ], + "controls": [ + { + "body_text@common.tts_label_focus_wrapper": { + "size": [ "100%", "100%cm" ], + "$tts_label_panel": "discovery_dialog.service_body_label" + } + }, + { + "text_to_button_padding@common.empty_panel": { + "size": [ "100%", 9 ] + } + }, + { + "buttons@discovery_dialog.service_buttons": { + } + } + ] + }, + + "service_dialog@popup_dialog.form_fit_modal_dialog_popup": { + // Above EVERYTHING + "layer": 1000, + "$modal_title": "#service_title_text", + "$modal_title_binding_type": "global", + "$modal_title_binding_condition": "once", + + "$modal_contents": "discovery_dialog.content", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.close" + }, + + // Put this in the screen that will present the dialog + "discovery_dialog_factory": { + "type": "factory", + "control_ids": { + "service": "@discovery_dialog.service_dialog" + } + } +} \ No newline at end of file diff --git a/resource_pack/ui/edu_featured.json b/resource_pack/ui/edu_featured.json new file mode 100644 index 0000000..819d0da --- /dev/null +++ b/resource_pack/ui/edu_featured.json @@ -0,0 +1,40 @@ +{ + "namespace": "edu_featured", + + "featured_button_content": { + "type": "panel", + "controls": [ + { + "button_label@common_buttons.new_ui_binding_button_label": { + "layer": 50 + } + } + ] + }, + + // Button definition (used in start_screen.json) + "featured_button@common_buttons.light_content_button": { + "$button_content": "edu_featured.featured_button_content", + "size": [ "100% - 2px", "100% - 2px" ], + + // Button name (for EDU will only be "button.featured_category") + "$pressed_button_name": "button.featured_category", + + // Button text (newAndFeatured.name is defined in the resource pack) + "$button_text": "newAndFeatured.name", + + // Required for button text to function + "$button_text_binding_type": "none", + "$button_binding_condition": "none", + "$button_text_grid_collection_name": "", + + // Without this the button contents will shift down slightly when clicked + // to simulate a button being pressed. By setting to [ 0, 0 ], the contents + // will not move when pressed. + "$button_pressed_offset": [ 0, 0 ], + + "property_bag": { + "#category": "new_featured" + } + } +} diff --git a/resource_pack/ui/edu_library_category_screen.json b/resource_pack/ui/edu_library_category_screen.json new file mode 100644 index 0000000..bcb3388 --- /dev/null +++ b/resource_pack/ui/edu_library_category_screen.json @@ -0,0 +1,260 @@ +{ + "namespace": "edu_library_category", + + "category_label@common_buttons.nested_label_with_image_control": { + "$nested_label_alignment": "left", + "$nested_label_text": "#category_text", + "$nested_label_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_column_collection", + "binding_collection_prefix": "category_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "category_row_collection", + "binding_collection_prefix": "category_row" + }, + { + "binding_name": "$nested_label_text", + "binding_type": "global" + } + ], + + "$nested_label_image": "#texture", + "$nested_label_image_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_column_collection", + "binding_collection_prefix": "category_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "category_row_collection", + "binding_collection_prefix": "category_row" + }, + { + "binding_name": "#category_icon", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_name": "#category_icon_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "category_screenshot": { + "type": "image", + "fill": true, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_column_collection", + "binding_collection_prefix": "category_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "category_row_collection", + "binding_collection_prefix": "category_row" + }, + { + "binding_name": "#category_screenshot", + "binding_name_override": "#texture", + "binding_type": "global" + } + ] + }, + + "category_label_background": { + "type": "image", + "texture": "textures/ui/White", + "$color_binding": "#category_default_color", + "$label_background_alpha": 0.8, + "variables": [ + { + "requires": "($hover_state or $pressed_state)", + "$color_binding": "#category_hover_color", + "$label_background_alpha": 1.0 + } + ], + "alpha": "$label_background_alpha", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_column_collection", + "binding_collection_prefix": "category_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "category_row_collection", + "binding_collection_prefix": "category_row" + }, + { + "binding_name": "$color_binding", + "binding_name_override": "#color", + "binding_type": "global" + } + ] + }, + + "category_button@common_buttons.nestable_button": { + "$use_parent_size": true, + "$nested_content_label_padding": true, + "$nestable_button_size": [ "100%", "100%" ], + + "$pressed_button_name": "button.library_category", + "$has_special_button_bindings": true, + "$special_nested_button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_column_collection", + "binding_collection_prefix": "category_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "category_row_collection", + "binding_collection_prefix": "category_row" + } + ], + + "$nested_content_overlay_assets": "common_buttons.nested_content_overlay_assets", + + "$nested_button_content_size": [ "100%", "fill" ], + "$nested_content_control": "edu_library_category.category_screenshot", + + "$nested_button_label_size": [ "100%", 23 ], + "$nested_label_control": "edu_library_category.category_label", + + "$nested_label_control_background": "edu_library_category.category_label_background" + }, + + "category_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { "left_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + { "button@edu_library_category.category_button": { "size": "$category_button_size" } }, + { "right_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } } + ] + }, + + "grid@edu_common.stack_panel_grid": { + "$grid_collection_prefix": "category", + "$stack_grid_item": "edu_library_category.category_button_panel" + }, + + "scrolling_content": { + "type": "stack_panel", + "max_size": [ 380, "100%c" ], + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { "description@edu_common.description_panel": {} }, + { + "description_to_grid@common.empty_panel": { + "ignored": "$ignore_page_description", + "size": [ "100%", 4 ] + } + }, + + { "grid@edu_library_category.grid": {} }, + { + "resource_padding@common.empty_panel": { + "size": [ "100%", 6 ], + "bindings": [ + { + "binding_name": "#edu_resources_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "resources_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.education_resources", + "$button_text": "menu.educatorResources", + "size": [ "100%", 19 ], + "$button_bindings": [ + { + "binding_name": "#edu_resources_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "lower_padding@common.empty_panel": { "size": [ "100%", 11 ] } } + ] + }, + + "scroll_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%" ], + "controls": [ + { + "scroll@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scrolling_content": "edu_library_category.scrolling_content", + "$show_background": false, + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 1, 0 ], + "$scroll_size": [ 5, "100% - 11px" ], + "$scroll_size_touch": "$scroll_size", + "$scroll_track_anchor": "top_middle", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle" + } + } + ] + }, + + "screen_content": { + "type": "stack_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100%" ], + "controls": [ + { + "header": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "title@edu_common.edu_screen_header": { + "$title_text": "$category_screen_header_title", + + "$title_has_image": true, + "$title_texture": "$category_screen_header_icon" + } + }, + { "search_bar_and_home_button@edu_common.search_bar_and_home_button": {} } + ] + } + }, + { "top_padding@common.empty_panel": { "size": [ "100%", 8 ] } }, + { + "scroll_panel_item": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { "worlds@edu_library_category.scroll_panel": {} } + ] + } + } + ] + }, + + "edu_library_category_screen@common.base_screen": { + "$screen_content": "edu_library_category.screen_content", + "$screen_bg_content": "common.screen_background", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/edu_pause_screen.json b/resource_pack/ui/edu_pause_screen.json new file mode 100644 index 0000000..2ece4b1 --- /dev/null +++ b/resource_pack/ui/edu_pause_screen.json @@ -0,0 +1,1438 @@ +{ + "namespace": "edu_pause", + + "purple_pause_button_template@common_buttons.dark_text_button": { + "size": [ "100%", 18 ], + "focus_identifier": "$pressed_button_name", + "focus_change_right": "$focus_override_right", + "focus_change_left": "$pressed_button_name", + "$default_button_texture": "textures/ui/button_purple", + "$hover_button_texture": "textures/ui/button_borderless_dark", + "$pressed_button_texture": "textures/ui/button_borderless_darkpressednohover", + "$locked_button_texture": "textures/ui/disabledButtonNoBorder" + }, + + "info_tooltip_label_text@common.button_text": { + "$label_text|default": "pauseScreen.joinCode.Label", + "font_type": "MinecraftTen", + "text": "$label_text", + "size": [ "100%", "default" ], + "font_scale_factor": 1.0, + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + + "info_tooltip_label_icon": { + "type": "image", + "size": [ 9, 12 ], + "$tooltip_label_image|default": "", + "$tooltip_label_image_binding_type|default": "none", + "texture": "$tooltip_label_image", + "bindings": [ + { + "binding_type": "$tooltip_label_image_binding_type", + "binding_name": "$tooltip_label_image", + "binding_name_override": "#texture" + } + ] + }, + + "game_tip_item_panel": { + "type": "panel", + "size": [ "100%", "100%cm + 4px" ], + "controls": [ + { + "offset_wrap": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "info_bulb": { + "type": "image", + "layer": 13, + "size": [ "100%y", "100%sm" ], + "texture": "textures/ui/infobulb" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "label@game_tip.game_tip_label": { + "size": [ "fill", 10 ] + } + } + ] + } + }, + { + "focus_border@common.non_interact_focus_border_button": { + "size": [ "100%", "100%sm" ], + "consume_hover_events": false, + "tts_inherit_siblings": true, + // Expose a way for the parent to announce the tooltip in addition to the text from the label above + "$tts_tooltip_header|default": "$tts_text_binding_name", + "tts_control_header": "$tts_tooltip_header", + "$focus_border_visible_binding|default": "#tts_enabled", + // Making this optional so tts_tooltip_header can use non-dynamic text as well + "$tts_text_binding_name|default": "", + // Default the binding type to none so it doesn't throw an error before the binding name is actually used + "$tts_text_binding_type|default": "none", + "bindings": [ + { + "binding_name": "$focus_border_visible_binding", + "binding_name_override": "#visible" + }, + { + "binding_name": "$tts_text_binding_name", + "binding_type": "$tts_text_binding_type" + } + ] + } + } + ] + }, + + "conn_id_label_content@edu_pause.game_tip_item_panel": { + "$label_text_binding_type": "none", + "$label_text": "course.edu.connectionInfo", + "$animation": [] + }, + + "joincode_label_content@edu_pause.game_tip_item_panel": { + "$label_text_binding_type": "none", + "$label_text": "pauseScreen.joinCode.Label", + "$animation": [] + }, + + "hide_height_from_parent": { + "type": "panel", + "size": [ "100%", 0 ], + "controls": [ + { + "content@$hidden_content": { + "anchor_from": "top_left", + "anchor_to": "bottom_left" + } + } + ] + }, + + "popup_notification_panel": { + "type": "input_panel", + "size": [ "100%", "100%cm" ], + + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tooltip_button_binding_type|default": "global", + "$tooltip_button_collection_name|default": "", + + "button_mappings": [ + { + "to_button_id": "$hovered_button_id", + "mapping_type": "pressed" + } + ], + "controls": [ + // Popup that appears when hovering. Don't want this to be considered for cm size calculation + { + "hide_wrapper@edu_pause.hide_height_from_parent": { + "$hidden_content": "common.dynamic_tooltip_popup_with_image_and_text", + "$tool_tip_text_max_size": [ 200, "default" ], + "$tooltip_chevron_anchor": "bottom_left", + "$tooltip_popup_chevron_offset": [ "30%x", "100%y - 3px" ], + // Offset left towards the bulb icon and up so the chevron doesn't overlap with the label + "$tooltip_panel_offset": [ -10, -15 ], + "allow_clipping": false + } + }, + // Static label for the hoverable area + { "tooltip_panel_content@$tooltip_panel_content": {} } + ] + }, + + "conn_id_tooltip_panel@edu_pause.popup_notification_panel": { + "$hovered_button_id": "conn_id_tooltip.is_hovered", + "$tooltip_popup_visible_binding": "#is_conn_id_tooltip_hover_panel_visible", + "$tooltip_text_binding_name": "course.edu.conInfoHostTooltipText", + "$tts_tooltip_header": "course.edu.conInfoHostTooltipTextScreenReader", + "$tooltip_text_binding_type": "none", + "$tooltip_panel_content": "edu_pause.conn_id_label_content" + }, + + "joincode_tooltip_panel@edu_pause.popup_notification_panel": { + "$hovered_button_id": "joincode_tooltip.is_hovered", + "$tooltip_popup_visible_binding": "#is_joincode_tooltip_hover_panel_visible", + "$tooltip_text_binding_name": "#joincode_tooltip_text", + "$tts_text_binding_name": "#joincode_tooltip_text", + "$tts_text_binding_type": "global", + "$tooltip_text_binding_type": "global", + "$tooltip_panel_content": "edu_pause.joincode_label_content" + }, + + "info_tooltip_label_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "padding1@edu_pause.horizontal_padding": {} }, + { "info_icon@edu_pause.info_tooltip_label_icon": {} }, + { "padding2@edu_pause.horizontal_padding": { "size": [ 5, "100%sm" ] } }, + { + "label_aligner": { + "type": "panel", + "size": [ "fill", "100%cm" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "label@edu_pause.info_tooltip_label_text": {} } + ] + } + } + ] + }, + + "info_tooltip@edu_pause.tooltip": { + "anchor_to": "top_middle", + "anchor_from": "bottom_middle", + "$tooltip_popup_chevron_texture": "textures/ui/tooltip_inverted_chevron", + "$tooltip_chevron_anchor": "top_left", + "$tooltip_offset": [ 0, 7 ], + "$tooltip_popup_chevron_offset": [ "130%x", "-100%y + 3px" ] + }, + + "nethernet_tooltip@edu_pause.tooltip": { + "anchor_to": "bottom_middle", + "anchor_from": "top_middle", + "$tooltip_chevron_anchor": "bottom_left", + "$tooltip_offset": [ 0, -7 ], + "$tooltip_popup_chevron_offset": [ "135%x", " 100%y - 3px" ] + }, + + "tooltip@common.dynamic_tooltip_popup_with_image_and_text": { + "$ignore_tooltip_popup_image": false, + "$tool_tip_text_max_size": [ 180, 150 ], + "offset": "$tooltip_offset", + "allow_clipping": false + }, + + "info_tooltip_label@common.tts_label_focus_wrapper": { + "$focus_id|default": "", + + "$focus_border_size": [ "100%", "100%sm + 2px" ], + "$focus_border_visible_binding_type": "none", + "$hover_focus_border_control": "edu_pause.non_interact_focus_border_panel", + "$pressed_focus_border_control": "edu_pause.non_interact_focus_border_panel", + "$tooltip_button_binding_type": "none", + "$tooltip_button_collection_name": "none", + "$tooltip_text_font_type": "smooth", + "$tts_label_panel": "edu_pause.info_tooltip_label_stack" + }, + + "info_resource_uri_label@edu_pause.info_tooltip_label": { + "$label_text": "resourceUri.tooltip.label", + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_text_binding_name|default": "", + "$tooltip_label_image": "textures/ui/infobulb_darkborder_small", + "bindings": [ + { + "binding_name": "$visiblity_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + // EDU joincode content + "joincode_shuffle_animation": { + "type": "image", + "texture": "textures/ui/animation_code_shuffle1", + "uv": "@edu_pause.joincode_shuffle_animation_definition", + "uv_size": [ 44, 44 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#joincode_is_fetching", + "binding_name_override": "#visible" + }, + { + "binding_name": "#joincode_fetching_anim_texture", + "binding_name_override": "#texture" + } + ] + }, + + "joincode_shuffle_animation_definition": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 6, + "frame_step": 4, + "fps": 10, + "easing": "linear" + }, + + "spacer": { + "type": "image", + "texture": "textures/ui/whiteline", + "color": [ 0.7, 0.7, 0.7 ], + "tiled": true + }, + + "non_interact_focus_border_panel": { + "type": "panel", + "controls": [ + { + "non_interact_focus_border@common.non_interact_focus_border": {} + }, + { + "tooltip@edu_pause.info_tooltip": {} + } + ] + }, + + "anim_joincode_icon_in": { + "anim_type": "offset", + "easing": "out_bounce", + "duration": 1.5, + "from": [ 0, -24 ], + "to": [ 0, 0 ], + "resettable": true, + "reset_event": "button.generate_joincode" + }, + + "joincode_icon": { + "type": "image", + "offset": "@edu_pause.anim_joincode_icon_in", + "size": [ 16, 16 ], + "layer": 4, + "bindings": [ + { + "binding_name": "#joincode_icon", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$joincode_icon_collection_name" + }, + { + "binding_name": "(not #joincode_is_fetching)", + "binding_name_override": "#visible" + } + ] + }, + + "joincode_icon_slot_hover_panel@common.button": { + "$button_tts_name": "", + // empty so tts doesn't read it + "$pressed_button_name": "", + "size": [ 22, 22 ], + "layer": 1, + "$tooltip_text_binding_name": "#joincode_icon_name", + "tts_override_control_value": "#joincode_icon_slot_tts", + "$tooltip_button_collection_name": "$joincode_icon_collection_name", + "$tooltip_button_binding_type": "collection", + "$tooltip_popup_visible_binding": "#joincode_error_icon_visible", + "controls": [ + { "default@common.empty_panel": {} }, + { "pressed@common.empty_panel": {} }, + { + "hover@common.empty_panel": { + "controls": [ + { + //Necessary to have this inside a child because of an odd visibility binding + "tooltip@common.dynamic_tooltip_popup_with_image_and_text": { + "min_size": [ 0, 0 ], + "$ignore_tooltip_popup_image": true, + "$tooltip_text_binding_name": "#joincode_icon_name", + "$tooltip_button_collection_name": "$joincode_icon_collection_name", + "$tooltip_button_binding_type": "collection", + "$tooltip_popup_visible_binding": "#joincode_error_icon_visible", + "$tool_tip_text_max_size": [ 100, 40 ], + "allow_clipping": false, + "$tooltip_popup_chevron_offset": [ 2, 9 ], + "$tooltip_chevron_anchor": "bottom_left", + "anchor_from": "top_left", + "anchor_to": "bottom_left", + "offset": [ 0, -5 ], + // Don't read tool tip icon name as we are reading it as part of whole code on hover + "$tts_override_control_value": " " + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#joincode_icon_name", + "binding_type": "collection", + "binding_collection_name": "$joincode_icon_collection_name" + }, + { + "binding_name": "#joincode_icon_slot_tts", + "binding_type": "collection", + "binding_collection_name": "$joincode_icon_collection_name" + }, + { + "binding_name": "#joincode_icon_slot_name", + "binding_type": "collection", + "binding_collection_name": "$joincode_icon_collection_name" + }, + { + "binding_name": "#joincode_icon_left_focus_override", + "binding_type": "collection", + "binding_collection_name": "$joincode_icon_collection_name", + "binding_name_override": "#focus_change_left" + }, + { + "binding_name": "#joincode_icon_slot_name", + "binding_type": "collection", + "binding_collection_name": "$joincode_icon_collection_name" + } + ] + }, + + "joincode_icon_slot": { + "type": "image", + "texture": "textures/ui/hud_mob_effect_background", + "size": [ 22, 22 ], + "layer": 3, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "clips_children": true, + "controls": [ + { "icon@edu_pause.joincode_icon": {} }, + { + "shuffle_anim@edu_pause.joincode_shuffle_animation": { + "allow_clipping": false + } + } + ] + }, + + "joincode_icon_slot_spacing_wrapper": { + "type": "panel", + "size": [ 24, 22 ], + "layer": 1, + "controls": [ + { "tooltip_input_panel@joincode_icon_slot_hover_panel": {} }, + { "inputPanel@edu_pause.joincode_icon_slot": {} } + ] + }, + + "joincode_icon_list": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%c", 22 ], + "orientation": "horizontal", + "$focus_id": "joincode_icon_list", + + "$joincode_icon_collection_name": "joincode_icon_collection", + "collection_name": "$joincode_icon_collection_name", + "factory": { + "name": "joincode_icon_factory", + "control_name": "edu_pause.joincode_icon_slot_spacing_wrapper" + }, + "bindings": [ + { + "binding_name": "#joincode_icon_count", + "binding_name_override": "#collection_length" + } + ] + }, + + "refresh_image": { + "type": "image", + "texture": "$content_texture", + "variables": [ + { + "requires": "$hover_state", + "$content_texture": "textures/ui/refresh_hover" + }, + { + "requires": "(not $hover_state)", + "$content_texture": "textures/ui/refresh" + } + ] + }, + + "join_code_icon_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 22 ], + "controls": [ + { + "icon_list@edu_pause.joincode_icon_list": {} + }, + { + "refresh_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "generate_code_button@common_buttons.light_content_button": { + "size": [ "100%", "100%" ], + "max_size": [ "100%y + 2px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_tts_header": "joincode.generate_new.button.text", + "$pressed_button_name": "button.generate_joincode", + "$button_content": "edu_pause.refresh_image", + "focus_change_right": "profile_button", + "bindings": [ + { + "binding_name": "(not #refresh_joincode_button_disabled)", + "binding_name_override": "#enabled" + }, + { + "binding_name": "(not #refresh_joincode_button_hide)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "edu_info_panel_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + + "controls": [ + { + "joincode_tooltip_label@edu_pause.joincode_tooltip_panel": { + "$focus_id": "joincode_tooltip_label" + } + }, + { "vertical_padding_1@edu_pause.vertical_padding": {} }, + { "joincode_panel@edu_pause.join_code_icon_panel": {} }, + { + "vertical_padding_2@edu_pause.vertical_padding": { + "bindings": [ + { + "binding_name": "#share_link_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "share_link@pause.pause_button_template": { + "size": [ "100%", 18 ], + "$button_text": "library.item.button.share", + "$pressed_button_name": "button.joincode_share", + "focus_change_right": "profile_button", + "$focus_override_up": "joincode_icon_list", + "layer": 5, + "bindings": [ + { + "binding_name": "#share_link_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "restart_hosting@pause.pause_button_template": { + "size": [ "100%", 18 ], + "$button_text": "joincode.button.restart_hosting.text", + "$pressed_button_name": "button.restart_hosting", + "focus_change_right": "profile_button", + "layer": 5, + "bindings": [ + { + "binding_name": "#restart_hosting_button_visible", + "binding_type": "global", + "binding_name_override": "#visible" + } + ] + } + }, + { "vertical_padding_3@edu_pause.vertical_padding": {} }, + { + "stop_hosting@pause.pause_button_template": { + "size": [ "100%", 18 ], + "$button_text": "joincode.button.stop_hosting.text", + "$pressed_button_name": "button.stop_hosting", + "focus_change_right": "profile_button", + "layer": 5 + } + }, + { + "vertical_padding_4@edu_pause.vertical_padding": { + "size": [ "100%sm", 3 ] + } + }, + { + "spacer2@edu_pause.spacer": { + "size": [ "100%sm", "2px" ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // IP content + //--------------------------------------------------------------------------- + + + "ip_port_data_label": { + "type": "label", + "color": "$sub_header_text_color", + "size": [ "100%", 10 ], + "layer": 1 + }, + + "ip_label@edu_pause.ip_port_data_label": { + "text": "$ip_address_text" + }, + + "port_label@edu_pause.ip_port_data_label": { + "text": "$port_text" + }, + + "network_title_label": { + "font_type": "MinecraftTen", + "type": "label", + "color": "$main_header_text_color", + "font_scale_factor": 1.2 + + }, + + //--------------------------------------------------------------------------- + // Nethernet content + //--------------------------------------------------------------------------- + + "nethernetid_label@edu_pause.ip_port_data_label": { + "text": "$nethernet_id_text", + "tts_override_control_value": "$nethernet_id_text_tts" + }, + + "nethernetid_label_panel@common.tts_label_focus_wrapper": { + "size": [ "100%sm", "100%cm" ], + "$focus_border_size": [ "100%", "100%sm + 2px" ], + "$tts_label_panel": "edu_pause.nethernetid_label" + }, + + "nethernet_panel_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + + "controls": [ + { + "spacer2@edu_pause.spacer": { + "size": [ "100%sm", 2 ] + } + }, + { + "vertical_padding_4@edu_pause.vertical_padding": { + "size": [ "100%sm", 3 ] + } + }, + { + "connection_id_tooltip_label@edu_pause.conn_id_tooltip_panel": { + "$focus_id": "connection_id_tooltip_label" + } + }, + { "vertical_padding_1@edu_pause.vertical_padding": {} }, + { "nethernetLabel@edu_pause.nethernetid_label_panel": {} } + ] + }, + + //--------------------------------------------------------------------------- + // "Scroll" content + //--------------------------------------------------------------------------- + "vertical_padding": { + "type": "panel", + "size": [ "100%sm", 2 ] + }, + + "horizontal_padding": { + "type": "panel", + "size": [ 2, "100%sm" ] + }, + + "shared_resource_uri_button@common_buttons.light_text_button": { + "$button_text": "#edu_external_link_display_name", + "$pressed_button_name": "button.external_link", + "size": [ "100%", 18 ], + "$button_text_binding_type": "global", + "$button_binding_condition": "visible", + "bindings": [ + { + "binding_name": "#edu_external_resource_uri_exists", + "binding_type": "global", + "binding_name_override": "#visible" + }, + { + "binding_name": "#edu_external_resource_uri_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "edu_game_menu_content": { + "type": "stack_panel", + "controls": [ + { + "resource_uri_tooltip": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "enabled@edu_pause.info_resource_uri_label": { + "$visiblity_binding_name": "#edu_external_resource_uri_enabled", + "$focus_id": "resource_uri_tooltip", + "$focus_override_up": "profile_button", + "$tooltip_text_binding_name": "resourceUri.tooltip.infotext" + } + }, + { + "disabled@edu_pause.info_resource_uri_label": { + "$visiblity_binding_name": "(not #edu_external_resource_uri_enabled)", + "$focus_id": "resource_uri_tooltip", + "$focus_override_up": "profile_button", + "$tooltip_text_binding_name": "resourceUri.tooltip.infotext.disabled" + } + } + ], + "bindings": [ + { + "binding_name": "#edu_external_resource_uri_exists", + "binding_name_override": "#visible" + } + ] + } + }, + { + "external_link_button@edu_pause.shared_resource_uri_button": { + "focus_change_right": "profile_button", + "focus_change_up": "resource_uri_tooltip" + } + }, + { + "divider@edu_common.horizontal_divider": { + "size": [ "100%", 10 ], + "$alpha": 0.8, + "bindings": [ + { + "binding_name": "#edu_external_resource_uri_exists", + "binding_type": "global", + "binding_name_override": "#visible" + } + ] + } + }, + { + "how_to_play_button@pause.how_to_play_button": { + "size": [ "100%", 18 ], + "$focus_id": "how_to_play_button", + "focus_change_right": "profile_button", + "$button_text": "menu.howToPlay.caps", + "bindings": [ + { + "binding_name": "#edu_external_resource_uri_exists", + "binding_name_override": "#visible" + } + ] + } + }, + { + "how_to_play_button_top@pause.how_to_play_button": { + "size": [ "100%", 18 ], + "$focus_id": "how_to_play_button", + "focus_change_up": "profile_button", + "focus_change_right": "profile_button", + "$button_text": "menu.howToPlay", + "bindings": [ + { + "binding_name": "(not #edu_external_resource_uri_exists)", + "binding_name_override": "#visible" + } + ] + } + }, + { "vertical_padding_4@edu_pause.vertical_padding": {} }, + { + "settings_button@pause.settings_button": { + "size": [ "100%", 18 ], + "focus_change_right": "profile_button", + "$button_text": "menu.settings" + } + }, + { + "divider2@edu_common.horizontal_divider": { + "size": [ "100%", 10 ], + "$alpha": 0.8 + } + }, + { "quit_button@edu_quit_button.quit_button": {} } + ] + }, + + "info_panel_content_list": { + "type": "stack_panel", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "edu_content@edu_pause.edu_info_panel_content": { + "ignored": "(not $is_host)", + "bindings": [ + { + "binding_name": "#edu_info_panel_visible", + "binding_type": "global", + "binding_name_override": "#visible" + } + ] + } + }, + { + "start_hosting@pause.pause_button_template": { + "size": [ "100%sm", 18 ], + "min_size": [ 130, 18 ], + "$button_text": "joincode.button.start_hosting.text", + "$pressed_button_name": "button.start_hosting", + "focus_change_up": "profile_button", + "focus_change_right": "profile_button", + "layer": 5, + "bindings": [ + { + "binding_name": "#start_hosting_button_visible", + "binding_type": "global", + "binding_name_override": "#visible" + } + ] + } + }, + { + "player_list_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "min_size": [ 130, "100%c" ], + "controls": [ + { + "player_list@pause.player_lists": {} + + } + ] + } + }, + { + "nethernet_panel@edu_pause.nethernet_panel_content": { + "ignored": "(not $is_host)", + "bindings": [ + { + "binding_name": "#edu_info_panel_visible", + "binding_type": "global", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Tab Panel Content + //--------------------------------------------------------------------------- + "common_tab_content_panel": { + "type": "panel", + "controls": [ + { + "background@common.common_panel": { + "$dialog_background": "dialog_background_hollow_4", + "$show_close_button": false + } + }, + { + "scroll_panel@common.scrolling_panel": { + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 22px", "100% - 22px" ], + "offset": [ 11, 11 ], + "$show_background": false, + "$scroll_track_size": [ 6, "100% - 4px" ], + "$scroll_track_offset|default": [ -4, 2 ], + "$scroll_bar_right_padding_size": [ 0, 0 ], + "$scroll_bar_left_padding_size": [ 4, 0 ], + "$scrolling_content": "$scroll_tab_content", + "$scroll_box_visible": true + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visible_bind_toggle_source_control", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "game_menu_content_panel@edu_pause.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "game_menu_nav_tab_toggle", + "$scroll_tab_content": "edu_pause.edu_game_menu_content" + }, + + "multiplayer_demo_content_panel@common.button_text": { + "text": "edu.pause.multiplayer.disabled", + "size": [ "100%", 30 ], + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + + "multiplayer_content_panel@edu_pause.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "multiplayer_nav_tab_toggle", + "$scroll_tab_content": "$multiplayer_tab_content" + }, + + //--------------------------------------------------------------------------- + // Content layout panels + //--------------------------------------------------------------------------- + + "common_tab_content_panel_type": { + "type": "input_panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%", "100%-26px" ] + }, + + "default_tab_content_panel_layout@edu_pause.common_tab_content_panel_type": { + "variables": [ + { + "$multiplayer_tab_content": "edu_pause.multiplayer_demo_content_panel", + "requires": "$multiplayer_tab_ignored" + }, + { + "$multiplayer_tab_content": "edu_pause.info_panel_content_list", + "requires": "(not $multiplayer_tab_ignored)" + } + ], + "controls": [ + { "game_menu_tab_content@edu_pause.game_menu_content_panel": {} }, + { "multiplayer_tab_content@edu_pause.multiplayer_content_panel": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Nav Tabs + //--------------------------------------------------------------------------- + + "common_navigation_tab_content": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 2px", "100% - 2px" ], + "offset": [ 1, 0 ], + "controls": [ + { + "stacked_content": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "padding0@edu_pause.horizontal_padding": { + "size": [ "50% - 9px", "100%" ] + } + }, + { + "icon_section": { + "type": "panel", + "size": [ "100%c", "100%" ], + "offset": [ "50%c", 0 ], + "controls": [ + { + "icon@$tab_icon": { + "layer": 2 + } + } + ] + } + }, + { + "padding1@edu_pause.horizontal_padding": { + "size": [ 2, "100%sm" ] + } + }, + { + // Number of users in the world, displayed next to the tab's icon + "count_section": { + "type": "panel", + "size": [ "100%cm", "100%sm" ], + "controls": [ + { + "count_background": { + "type": "image", + "size": [ "100%c + 3px", "100%c + 2px" ], + "offset": [ 0, 3 ], + "texture": "textures/ui/box_number_grey", + "$count_visible|default": false, + "ignored": "(not $count_visible)", + "controls": [ + { + "count@play.common_button_text": { + "layer": 3, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 2, -1 ], + "text": "$count_text_name", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "$count_text_name", + "binding_type": "$count_text_binding_type" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#edu_info_panel_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "top_tab@common_tabs.tab_top": { + "$toggle_tts_enabled_binding_type": "global", + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$default_tab", + "anchor_to": "top_left", + "anchor_from": "top_left", + "$toggle_tts_type_priority": 1001, + "$toggle_tts_toggle_on_text": "", + "$toggle_tts_toggle_off_text": "", + "$toggle_tts_index_priority": 1002, + "variables": [ + { + "requires": "($is_left_most_tab and not $is_right_most_tab)", + "$unchecked_default_image": "textures/ui/TabTopBackLeftMost", + "$unchecked_hover_image": "textures/ui/TabTopBackLeftMost", + "$unchecked_locked_image": "textures/ui/TabTopBackLeftMost", + "$unchecked_locked_hover_image": "textures/ui/TabTopBackLeftMost", + + "$checked_default_image": "textures/ui/TabTopFrontLeftMost", + "$checked_hover_image": "textures/ui/TabTopFrontLeftMost", + "$checked_locked_image": "textures/ui/TabTopFrontLeftMost", + "$checked_locked_hover_image": "textures/ui/TabTopFrontLeftMost" + }, + { + "requires": "($is_right_most_tab and not $is_left_most_tab)", + "$unchecked_default_image": "textures/ui/TabTopBackRightMostDark", + "$unchecked_hover_image": "textures/ui/TabTopBackRightMostDark", + "$unchecked_locked_image": "textures/ui/TabTopBackRightMostDark", + "$unchecked_locked_hover_image": "textures/ui/TabTopBackRightMostDark", + + "$checked_default_image": "textures/ui/TabTopFrontRightMost", + "$checked_hover_image": "textures/ui/TabTopFrontRightMost", + "$checked_locked_image": "textures/ui/TabTopFrontRightMost", + "$checked_locked_hover_image": "textures/ui/TabTopFrontRightMost" + } + ] + }, + + "game_menu_nav_tab@edu_pause.top_tab": { + "$is_left_most_tab": true, + "$tab_view_binding_name": "game_menu_nav_tab_toggle", + "$tab_icon": "play.worlds_icon", + "$tab_text_name": "", + "$toggle_tts_toggle_on_text": "pauseScreen.header", + "$toggle_tts_toggle_off_text": "pauseScreen.header", + "$toggle_group_forced_index": 0, + "$tab_content": "edu_pause.common_navigation_tab_content", + "$count_visible": false + }, + + "icon_multiplayer": { + "type": "image", + "texture": "textures/ui/icon_multiplayer", + "size": [ 18, 18 ] + }, + + "multiplayer_nav_tab@edu_pause.top_tab": { + "$is_right_most_tab": true, + "$tab_view_binding_name": "multiplayer_nav_tab_toggle", + "$tab_icon": "edu_pause.icon_multiplayer", + "$tab_text_name": "", + "$toggle_tts_toggle_on_text": "menu.multiplayer", + "$toggle_tts_toggle_off_text": "menu.multiplayer", + "$toggle_group_forced_index": 1, + "$count_text_name": "#players_in_game_count", + "$count_text_binding_type": "global", + "$count_visible": true, + "$tab_content": "edu_pause.common_navigation_tab_content" + }, + + //--------------------------------------------------------------------------- + // Tabs layout panels + //--------------------------------------------------------------------------- + + + "default_tab_navigation_panel_layout@play.common_tab_navigation_panel_layout": { + "controls": [ + { + "game_menu_nav_tab@edu_pause.game_menu_nav_tab": { + "size": [ "50%", "100%" ] + } + }, + { + "multiplayer_nav_tab@edu_pause.multiplayer_nav_tab": { + //-2px is needed for to make tab and tab content panels right edge line up + "size": [ "50% - 2px", "100%" ] + } + } + ] + }, + + "tab_navigation_panel_layout": { + "type": "panel", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", 30 ], + "controls": [ + { + "content@$navigation_tab": { + "anchor_to": "top_left", + "anchor_from": "top_left" + } + } + ] + }, + + + //--------------------------------------------------------------------------- + // Menus Panel + //--------------------------------------------------------------------------- + + "pause_menu_panel": { + "type": "panel", + "size": [ 174, "100%" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "tab_navigation_panel@edu_pause.tab_navigation_panel_layout": { + "layer": 1 + } + }, + { + "tab_content_panel@$tab_content_panel": { + "layer": 2 + } + }, + { + "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": { + "offset": [ -1, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_right", + "$hide_description": true, + "bindings": [ + { + "binding_name": "#bumper_tooltips_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": { + "offset": [ 1, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_left", + "$hide_description": true, + "bindings": [ + { + "binding_name": "#bumper_tooltips_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "keyboard_helper_left_bracket@common.keyboard_left_trigger": { + "offset": [ -1, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_right", + "$hide_description": true, + "$text_color": [ 1, 1, 1 ] + } + }, + { + "keyboard_helper_right_bracket@common.keyboard_right_trigger": { + "offset": [ 1, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_left", + "$hide_description": true, + "$text_color": [ 1, 1, 1 ] + } + } + ] + }, + + "default_pause_menu_panel@edu_pause.pause_menu_panel": { + "$navigation_tab": "edu_pause.default_tab_navigation_panel_layout", + "$tab_content_panel": "edu_pause.default_tab_content_panel_layout" + }, + + //--------------------------------------------------------------------------- + // Skin Viewer + //--------------------------------------------------------------------------- + + "nametag": { + "type": "custom", + "renderer": "name_tag_renderer", + "size": [ 8, 8 ], + "bindings": [ + { + "binding_name": "#playername" + }, + { + "binding_name": "#playername_visible", + "binding_name_override": "#visible" + } + ] + }, + + "skin_viewer": { + "type": "custom", + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "size": [ "100%", "100%" ], + "offset": [ 0, "-16%" ], + "rotation": "gesture_x", + "use_selected_skin": false, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_name": "#paper_doll_skin" + }, + { + "binding_type": "view", + "source_control_name": "$skin_input_control", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "$skin_input_control", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + }, + + "player_viewer": { + "type": "panel", + "size": [ "100%", "fill" ], + "$skin_input_control": "viewer_input", + "controls": [ + { + "viewer_input": { + "type": "input_panel", + "size": [ "100%", "100%" ], + "gesture_tracking_button": "button.turn_doll", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { "skin_viewer_panel@edu_pause.skin_viewer": {} } + ] + } + } + ] + }, + + "change_skin_texture": { + "type": "image", + "texture": "textures/ui/hangar", + "color": "$glyph_color", + // Use tiled to trim extra space + "tiled": true, + "size": [ 17, 12 ] + }, + + "x_helper_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%sm" ], + "controls": [ + { + "x_helper_cropping_panel": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "x_helper@common.gamepad_icon_button": { + "$icon_texture": "#controller_face_left_icon" + } + } + ] + } + }, + { "padding@common.empty_panel": { "size": [ 4, "100%" ] } } + ], + "bindings": [ + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + }, + + "change_skin_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "x_helper_panel@edu_pause.x_helper_panel": {} }, + { "change_skin_texture@edu_pause.change_skin_texture": {} } + ] + }, + + "change_skin_button@common_buttons.light_content_form_fitting_button": { + "$pressed_button_name": "button.to_profile_or_skins_screen", + "$button_tts_header": "accessibility.start.skinPicker", + "$button_content": "edu_pause.change_skin_button_content", + "$button_pressed_offset": [ 0, 1 ], + "$button_offset": [ 0, 0 ] + }, + + "edu_skin_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "nametag_alignment_panel@edu_common.vertical_stack_item": { + "controls": [ + { "nametag@edu_pause.nametag": {} } + ] + } + }, + { "player_viewer@edu_pause.player_viewer": {} }, + { + "change_skin_alignment_panel@edu_common.vertical_stack_item": { + "controls": [ + { "change_skin_button@edu_pause.change_skin_button": {} } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Pause Screen + //--------------------------------------------------------------------------- + + "pause_screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { "edu_pause_screen_main_panels@edu_pause.pause_screen_header_and_panels": {} }, + { "gamepad_helpers@pause.gamepad_helpers": {} }, + { "keyboard_helpers@pause.keyboard_helpers": {} }, + { "edu_permissions_factory@edu_permissions.permissions_menu_factory": {} }, + { "discovery_dialog_factory@discovery_dialog.discovery_dialog_factory": {} }, + { "joincode_share_popup_factory@edu_pause.joincode_share_popup_dialog_factory": {} } + ] + }, + + "pause_screen_header_and_panels": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "header@edu_common.edu_screen_header": { + "$title_text": "menu.returnToGame" + } + }, + { + "control_wrapper": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { "control@edu_pause.pause_screen_main_panels": {} } + ] + } + } + ] + }, + + "pause_screen_main_panels": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100% - 10px" ], + "$achievements_ignored|default": false, + "controls": [ + { + "spacer1@edu_pause.spacer": { + "size": [ 30, 0 ] + } + }, + { "menu@edu_pause.default_pause_menu_panel": {} }, + { + "spacer2@edu_pause.spacer": { + "size": [ 30, 0 ] + } + }, + { "skin_panel@edu_pause.edu_skin_panel": {} } + ] + }, + + //joincode popup + "joincode_share_popup_dialog_factory": { + "type": "factory", + "control_ids": { + "joincode_share_link_popup": "@edu_common.joincode_edu_popup" + } + } +} diff --git a/resource_pack/ui/edu_pause_screen_pause_button.json b/resource_pack/ui/edu_pause_screen_pause_button.json new file mode 100644 index 0000000..26f1b4f --- /dev/null +++ b/resource_pack/ui/edu_pause_screen_pause_button.json @@ -0,0 +1,12 @@ +{ + "namespace": "edu_quit_button", + + // This control needs per world customization for edu demo + // pulling it into it's own file let's us do that with resource packs + "quit_button@pause.quit_button": { + "size": [ "100%", 18 ], + "focus_change_right": "profile_button", + "$focus_id": "quit_button", + "$button_text": "menu.quit.edu" + } +} diff --git a/resource_pack/ui/edu_permissions_screen.json b/resource_pack/ui/edu_permissions_screen.json new file mode 100644 index 0000000..9c44e01 --- /dev/null +++ b/resource_pack/ui/edu_permissions_screen.json @@ -0,0 +1,354 @@ +{ + "namespace": "edu_permissions", + + //--------------------------------------------------------------------------- + // SCREEN + //--------------------------------------------------------------------------- + + "permissions_menu_factory": { + "type": "factory", + "control_ids": { + "permissions_popup": "@edu_permissions.permissions_screen_popup" + } + }, + + "permissions_screen_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "permissions.popup.title", + "$popup_dialog_escape_button_name": "button.close_permissions_popup", + "$modal_contents": "edu_permissions.permission_content_panel", + "$screen_background_alpha": 0.4, + "$modal_contents_padding": [ 6, 6 ], + // Keeps the whole dialog above the menu but behind modal dialogs + "layer": 25 + }, + + //--------------------------------------------------------------------------- + // CONTENT + //--------------------------------------------------------------------------- + + "permission_content_panel": { + "type": "panel", + "size": [ 260, 166 ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "permission_stack_panel_content@edu_permissions.content_stack_panel": {} + } + ] + }, + + "content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "perm_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "perms_dropdown@edu_permissions.permissions_dropdown": { + "bindings": [ + { + "binding_name": "#permissions_dropdown_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "static_perms_display@edu_permissions.static_permissions_display": { + "bindings": [ + { + "binding_name": "(not #permissions_dropdown_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "remove_player_button@edu_permissions.remove_player_button": {} + } + ] + }, + + "static_permissions_display": { + "type": "panel", + "size": ["100%", "100%cm" ], + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%sm", "100%sm" ], + "$default_focus_border_control": "edu_common.border", + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "vertical_stack": { + "type": "stack_panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "padding0@common.empty_panel": { "size": [ "100%sm", 4 ] } + }, + { + "permissions_label": { + "type": "label", + "text": "#permissions_dropdown_label", + "color": "$main_header_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#permissions_dropdown_label" + } + ] + } + }, + { + "padding1@common.empty_panel": { "size": [ "100%sm", 4 ] } + }, + { + "icon_stack": { + "type": "stack_panel", + "size": [ "100%c", 16 ], + "orientation": "horizontal", + "layer": 1, + "controls": [ + { + "icon": { + "type": "image", + "size": [ "100%y", 16 ], + "bindings": [ + { + "binding_name": "#permission_level_dropdown_icon_texture", + "binding_name_override": "#texture" + } + ] + } + }, + { + "padding2@common.empty_panel": { "size": [ 4, "100%sm" ] } + }, + { + "label_aligner": { + "type": "panel", + "size": [ "100%c", "100%sm" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "controls": [ + { + "label": { + "type": "label", + "size": [ 80, 12 ], + "color": "$main_header_text_color", + "text": "#permission_level_dropdown_label", + "layer": 1, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#permission_level_dropdown_label", + "binding_type": "global" + } + ] + } + + } + ] + } + } + ] + } + }, + { + "padding2@common.empty_panel": { "size": [ "100%sm", 4 ] } + }, + { + "description": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "color": "$main_header_text_color", + "text": "#text", + "layer": 1, + "bindings": [ + { + "binding_name": "#static_permissions_display_description", + "binding_name_override": "#text" + } + ] + } + }, + { + "padding3@common.empty_panel": { "size": [ "100%sm", 4 ] } + } + ] + } + }, + { + "background": { + "type": "image", + "texture": "textures/ui/White", + "keep_ratio": false, + "size": [ "100%", "100%sm" ], + "color": "$dropdown_radio_background_checked_color" + } + } + ] + }, + + "permissions_dropdown@settings_common.option_dropdown": { + "$option_label": "#permissions_dropdown_label", + "$dropdown_area": "permission_stack_panel_content", + "$dropdown_name": "permission_level_dropdown", + "$option_enabled_binding_name": "#permissions_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#permissions_dropdown_button_label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + + // Dropdown toggle button // + "$option_dropdown_size": [ "100%", 22 ], + "$options_dropdown_toggle_button_state_content": [ "100%", "100%" ], + + "$options_dropdown_toggle_left_padding": [ 2, 0 ], + "$options_dropdown_toggle_prelabel_content_size": [ 14, 14 ], + "$options_dropdown_toggle_prelabel_content_padding": [ 4, 0 ], + "$options_dropdown_toggle_prelabel_content": "edu_permissions.permission_level_icon", + + "$label_bindings": [ + { + "binding_name": "$option_label", + "binding_name_override": "$option_label" + } + ], + + "$options_dropdown_label_bindings": [ + { + "binding_name": "$options_dropdown_toggle_label_binding", + "binding_condition": "none", + "binding_type": "$options_dropdown_toggle_label_binding_type", + "binding_collection_name": "$options_dropdown_toggle_label_binding_collection_name" + } + ], + + // Dropdown contents // + "$dropdown_content": "edu_permissions.permissions_dropdown_content", + "$dropdown_scroll_content_size": [ "100%", "700%" ] + }, + + "permissions_dropdown_content": { + "type": "stack_panel", + "size": [ "99%", "100%c + 4px" ], + "offset": [ 0, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "collection_name": "permission_roles", + "controls": [ + { + "permission_level_radio_visitor@edu_permissions.custom_radio": { + "$toggle_state_binding_name": "#permission_level_radio_visitor", + "$radio_label_text": "permissions.visitor", + "$radio_label_desc": "permissions.description.visitors", + "$radio_content_control": "edu_permissions.visitor_icon", + "$dropdown_item_description": "permissions.description.visitors" + } + }, + { + "permission_level_radio_member@edu_permissions.custom_radio": { + "$toggle_state_binding_name": "#permission_level_radio_member", + "$radio_label_text": "permissions.member", + "$radio_label_desc": "permissions.description.members", + "$radio_content_control": "edu_permissions.member_icon", + "$dropdown_item_description": "permissions.description.members" + } + }, + { + "permission_level_radio_oeprator@edu_permissions.custom_radio": { + "$toggle_state_binding_name": "#permission_level_radio_operator", + "$radio_label_text": "permissions.operator", + "$radio_label_desc": "permissions.description.operators", + "$radio_content_control": "edu_permissions.operator_icon", + "$dropdown_item_description": "permissions.description.operators" + } + } + ] + }, + + "custom_radio": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "$no_description": false, + "$no_radio_content": false, + "controls": [ + { + "radio@settings_common.radio_item_with_label_and_content": {} + } + ] + }, + + "operator_icon": { + "type": "image", + "size": [ 14, 14 ], + "texture": "textures/ui/permissions_op_crown" + }, + + "member_icon": { + "type": "image", + "size": [ 14, 14 ], + "texture": "textures/ui/permissions_member_star" + }, + + "visitor_icon": { + "type": "image", + "size": [ 14, 14 ], + "texture": "textures/ui/permissions_visitor_hand" + }, + + "permission_level_icon": { + "type": "image", + "size": [ 14, 14 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 4 ], + + "bindings": [ + { + "binding_type": "global", + "binding_name": "#player_permissions_dropdown_toggle_button_icon_texture", + "binding_name_override": "#texture" + } + ] + }, + + "remove_player_button@common_buttons.light_text_button": { + "size": [ "100%", 22 ], + "$button_text": "permissions.removeplayer", + "$pressed_button_name": "remove_player_button", + "$focus_id": "remove_player_button", + "$focus_override_up": "permissions_dropdown_root", + "bindings": [ + { + "binding_name": "#remove_player_button_visible", + "binding_name_override": "#visible" + } + ] + } + +} + diff --git a/resource_pack/ui/edu_play_screen.json b/resource_pack/ui/edu_play_screen.json new file mode 100644 index 0000000..66d81c7 --- /dev/null +++ b/resource_pack/ui/edu_play_screen.json @@ -0,0 +1,237 @@ +{ + "namespace": "edu_play", + + "picture_background": { + "type": "image", + "texture": "$picture_background_texture", + "keep_ratio": false + }, + + "top_button_definitions@common_buttons.transparent_label_nestable_button": { + "$use_parent_size": true, + "$nestable_button_size": [ "fill", "100%" ], + "$nested_button_content_size": [ "100%", "fill" ], + "$nested_button_label_size": [ "100%", 23 ], + "$nested_content_control": "edu_play.picture_background", + "$nested_label_control": "common_buttons.nested_label_with_image_control" + }, + + "top_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "max_size": [ "100%", 152 ], + "size": [ "100%", "100% - 64px" ], + "controls": [ + { + "view_worlds@edu_play.top_button_definitions": { + "$pressed_button_name": "button.view_worlds", + + "$picture_background_texture": "textures/ui/view_worlds_background", + + "$nested_label_image": "textures/ui/worldsIcon", + "$nested_label_text": "edu.play_screen.view_worlds", + + "$transparent_label_color": "$nested_transparent_green_label_color", + "$transparent_label_pressed_color": "$nested_transparent_green_label_pressed_color" + } + }, + { "padding@common.empty_panel": { "size": [ 6, "100%" ] } }, + { + "view_library@edu_play.top_button_definitions": { + "$pressed_button_name": "button.view_library", + + "$picture_background_texture": "textures/ui/view_library_background", + + "$nested_label_image": "textures/ui/icon_bookshelf", + "$nested_label_text": "edu.play_screen.view_library", + + "$transparent_label_color": "$nested_transparent_green_label_color", + "$transparent_label_pressed_color": "$nested_transparent_green_label_pressed_color" + } + } + ] + }, + + "divider": { + "type": "panel", + "size": [ "100%", 12 ], + "controls": [ + { + "line": { + "size": [ "100%", 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 6 ], + "type": "image", + "alpha": 0.05, + "texture": "textures/ui/White" + } + } + ] + }, + + "create_new_nested_button@common_buttons.light_text_button": { + "$font_type": "MinecraftTen", + "$new_ui_label_offset": [ 0, -2 ], + "size": [ "100%", 18 ], + "$border_visible": false + }, + + "create_new_nested_buttons": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "offset": [ 0, 2 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "guided_create_nested_button@edu_play.create_new_nested_button": { + "$button_text": "edu.play_screen.guided_create", + "$pressed_button_name": "button.create_new.guided_create" + } + }, + { "button_padding@common.empty_panel": { "size": [ "100%", 1 ] } }, + { + "create_new_nested_button@edu_play.create_new_nested_button": { + "$button_text": "edu.play_screen.traditional", + "$pressed_button_name": "button.create_new.traditional" + } + } + ] + }, + + "bottom_button_definitions@common_buttons.dark_nestable_button": { + "$use_parent_size": true, + "$nested_button_content_size": [ "100%", "fill" ], + "$nested_button_label_size": [ "100%", 19 ] + }, + + "bottom_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 52 ], + "controls": [ + { + "create_new@edu_play.bottom_button_definitions": { + "$pressed_button_name": "button.create_new", + "$nestable_button_size": [ "fill", "100%" ], + + "$nested_control_image": "textures/ui/color_plus", + "$nested_label_text": "edu.play_screen.create_new" + } + }, + { "padding_1@common.empty_panel": { "size": [ 3, "100%" ] } }, + { + "join_world@edu_play.bottom_button_definitions": { + "$pressed_button_name": "button.join_world_popup", + "$nestable_button_size": [ "fill", "100%" ], + + "$nested_control_image": "textures/ui/icon_multiplayer", + "$nested_label_text": "edu.play_screen.join_world" + } + }, + { + "padding_2@common.empty_panel": { + "size": [ 3, "100%" ], + "bindings": [ + { + "binding_name": "#edu_server_screen_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "servers@edu_play.bottom_button_definitions": { + "$pressed_button_name": "button.servers", + "$nestable_button_size": [ "fill", "100%" ], + + "$nested_control_image": "textures/ui/servers", + "$nested_label_text": "edu.play_screen.servers", + + "bindings": [ + { + "binding_name": "#edu_server_screen_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_3@common.empty_panel": { "size": [ 3, "100%" ] } + }, + { + "import@edu_play.bottom_button_definitions": { + "$pressed_button_name": "button.import", + "$nestable_button_size": [ "fill", "100%" ], + + "$nested_control_image": "textures/ui/icon_import", + "$nested_label_text": "edu.play_screen.import", + + "bindings": [ + { + "binding_name": "#import_enabled", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "screen_content": { + "type": "panel", + "controls": [ + { + "main_control": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "header@edu_common.edu_screen_header": { + "$title_text": "menu.eduPlayScreen.header" + } + }, + { + "screen_contents": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "useable_space": { + "type": "stack_panel", + "max_size": [ 428, "100% - 12px" ], + "size": [ "100% - 16px", "100%" ], + "controls": [ + { "fill_top@common.empty_panel": { "size": [ "100%", "fill" ] } }, + { "top@edu_play.top_panel": {} }, + { "divider@edu_play.divider": {} }, + { "bottom@edu_play.bottom_panel": {} }, + { "fill_bottom@common.empty_panel": { "size": [ "100%", "fill" ] } } + ] + } + } + ] + } + } + ] + } + }, + { "joincode_popup_factory@joincode.joincode_popup_factory": {} }, + { "discovery_dialog_factory@discovery_dialog.discovery_dialog_factory": {} } + ] + }, + + "edu_play_screen@common.base_screen": { + "$screen_content": "edu_play.screen_content", + "$screen_bg_content": "common.screen_background", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/edu_signin_screen.json b/resource_pack/ui/edu_signin_screen.json new file mode 100644 index 0000000..2dfe972 --- /dev/null +++ b/resource_pack/ui/edu_signin_screen.json @@ -0,0 +1,381 @@ +{ + "namespace": "edu_signin", + + + "terms_check_box_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { "padding@common.empty_panel": { "size": [ 2, "100%" ] } }, + { + "check_box_wrapper": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "check_box": { + "type": "panel", + "size": [ 10, 10 ], + "controls": [ + { + "checked": { + "type": "image", + "$box_texture|default": "textures/ui/checkbox_check", + "variables": [ + { + "requires": "$is_interacting", + "$box_texture": "textures/ui/checkbox_checkHover" + } + ], + "texture": "$box_texture", + "bindings": [ + { + "binding_name": "#confirm_button_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unchecked": { + "type": "image", + "$box_texture|default": "textures/ui/checkbox_space", + "variables": [ + { + "requires": "$is_interacting", + "$box_texture": "textures/ui/checkbox_spaceHover" + } + ], + "texture": "$box_texture", + "bindings": [ + { + "binding_name": "(not #confirm_button_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { "box_to_text_padding@common.empty_panel": { "size": [ 4, "100%" ] } }, + { + "accept_label_wrapper": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "accept_terms@edu_signin.body_label": { + "max_size": [ "100%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "signin.acceptTerms" + } + } + ] + } + } + ] + }, + + "terms_check_box@common.button": { + "$pressed_button_name": "button.signin.accept_terms", + "$is_interacting|default": true, + + "controls": [ + { "default@edu_signin.terms_check_box_panel": { "$is_interacting": false } }, + { "hover@edu_signin.terms_check_box_panel": {} }, + { "pressed@edu_signin.terms_check_box_panel": {} } + ] + }, + + "body_label": { + "type": "label", + "font_type": "smooth", + "font_scale_factor": 0.8, + "color": "$main_header_text_color", + "max_size": [ "100%", "fill" ] + }, + + "top_image": { + "type": "image", + "size": [ "100%", 92 ], + "texture": "textures/ui/Black", + "controls": [ + { + "image": { + "type": "image", + "fill": true, + "size": [ "100% - 2px", "100% - 2px" ], + "texture": "$texture", + "layer": 1 + } + } + ] + }, + + "signin_image@edu_signin.top_image": { + "$texture": "textures/ui/signin_full_header" + }, + + "demo_image@edu_signin.top_image": { + "$texture": "textures/ui/signin_demo_header" + }, + + "welcome_text": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "signin_header_line1@common.minecraftTenLabel": { + "text": "signin.welcome.header.line1", + "color": "$main_header_text_color", + "text_alignment": "center", + "size": [ "100%", "default" ], + "max_size": [ "100%", "default" ] + } + }, + { + "signin_header_line2@common.minecraftTenLabel": { + "text": "signin.welcome.header.line2", + "color": "$main_header_text_color", + "text_alignment": "center", + "size": [ "100%", "default" ], + "max_size": [ "100%", "default" ] + } + }, + { "header_body_padding@common.empty_panel": { "size": [ "100%", 3 ] } }, + { + "signin_body@edu_signin.body_label": { + "text": "signin.welcome.body", + "text_alignment": "center", + "size": [ "100%", "default" ], + "max_size": [ "100%", "default" ] + } + } + ] + }, + + "welcome_content": { + "type": "stack_panel", + "size": [ 224, "100%c" ], + "controls": [ + { "image@edu_signin.signin_image": {} }, + { "divider@edu_common.horizontal_divider": {} }, + { + "welcome_text_reader@common.tts_label_focus_wrapper": { + "$focus_id": "tts_panel", + + "$tts_label_panel": "edu_signin.welcome_text" + } + }, + { "body_button_padding@common.empty_panel": { "size": [ "100%", 2 ] } }, + { + "signin_button@common_buttons.light_text_button": { + "$focus_override_right": "demo_button", + + "$pressed_button_name": "button.signIn", + "size": [ "100%", 20 ], + "$button_text": "gui.signIn" + } + }, + { + "demo_trigger_wrapper": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "demo_trigger@edu_common.underline_button": { + "$focus_id": "demo_button", + "$focus_override_right": "tts_panel", + + "$pressed_button_name": "button.open_demo_screen", + "$single_line_label_text": "signin.welcome.footer" + } + } + ] + } + } + ] + }, + + "demo_content": { + "type": "stack_panel", + "size": [ 224, "100%c" ], + "controls": [ + { + "title_panel": { + "type": "panel", + "size": [ "100%", 23 ], + "controls": [ + { + "demo_header@common.minecraftTenLabel": { + "max_size": [ "100%", "100%" ], + "color": "$title_text_color", + "text": "signin.demo.header" + } + }, + { + "close@common.close_button": { + "focus_enabled": true, + "focus_identifier": "close_button", + + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$close_button_offset": [ 10, 0 ], + "$close_button_to_button_id": "button.auth_cancel", + + "bindings": [ + { + "binding_name": "#close_right_focus", + "binding_name_override": "#focus_change_right" + } + ] + } + } + ] + } + }, + { "padding@common.empty_panel": { "size": [ "100%", 3 ] } }, + { "image@edu_signin.demo_image": {} }, + { "divider@edu_common.horizontal_divider": {} }, + { + "info_text_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "layer": 1, + "controls": [ + { + "border@authentication.tts_control": { + "focus_identifier": "demo_text" + } + }, + { + "demo_body@edu_signin.body_label": { + "size": [ "100% - 4px", "100%" ], + "font_scale_factor": 1, + "text": "signin.demo.body" + } + } + ] + } + }, + { + "terms@edu_signin.terms_check_box": { + "focus_identifier": "terms_checkbox", + "focus_change_right": "view_terms", + + "size": [ "100%", 16 ] + } + }, + { "accept_to_view_padding@common.empty_panel": { "size": [ "100%", 1 ] } }, + { + "view_terms_button@common_buttons.light_text_button": { + "focus_identifier": "view_terms", + + "$pressed_button_name": "button.showEula", + "size": [ "100%", 20 ], + "$button_text": "edu.signin_screen.viewTerms", + + "bindings": [ + { + "binding_name": "#view_terms_right_focus", + "binding_name_override": "#focus_change_right" + } + ] + } + }, + { "view_to_play_padding@common.empty_panel": { "size": [ "100%", 3 ] } }, + { + "demo_play_button@common_buttons.light_text_button": { + "focus_identifier": "demo_start", + "focus_change_right": "close_button", + + "$pressed_button_name": "button.signin.play", + "size": [ "100%", 20 ], + "$button_text": "menu.play", + "$button_bindings": [ + { + "binding_name": "#confirm_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { "play_padding@common.empty_panel": { "size": [ "100%", 11 ] } } + ] + }, + + "content": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "welcome@edu_signin.welcome_content": { + "bindings": [ + { + "binding_name": "#welcome_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "demo@edu_signin.demo_content": { + "bindings": [ + { + "binding_name": "#demo_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "background": { + "type": "panel", + "size": [ "100%sm", "100%sm" ], + "layer": -2, + "controls": [ + { + "thin_border@common.dialog_background_hollow_4_thin": { + "size": [ "100% + 18px", "100% + 18px" ], + "bindings": [ + { + "binding_name": "#welcome_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "title_border@common.dialog_background_hollow_3": { + "size": [ "100% + 22px", "100%" ], + "bindings": [ + { + "binding_name": "#demo_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "screen_content": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "layer": 1, + "controls": [ + { "panel_background@edu_signin.background": {} }, + { "panel_content@edu_signin.content": {} } + ] + } + +} diff --git a/resource_pack/ui/edu_world_templates_screen.json b/resource_pack/ui/edu_world_templates_screen.json new file mode 100644 index 0000000..946b22c --- /dev/null +++ b/resource_pack/ui/edu_world_templates_screen.json @@ -0,0 +1,592 @@ +{ + "namespace": "edu_world_templates", + /* Table of Contents + Misc Definitions + Template Creation Buttons + Template Button + Template Grid + Screen + */ + + //--------------------------------------------------------------------------- + // Misc Definitions + //--------------------------------------------------------------------------- + + "section_header": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "header_text": { + "type": "label", + "color": "$main_header_text_color", + "text": "$header_text", + "$header_bindings|default": [], + "bindings": "$header_bindings" + } + }, + { "padding@common.empty_panel": { "size": [ "100%", 3 ] } } + ] + }, + + "template_image": { + "type": "image", + "force_texture_reload": true, + "keep_ratio": false, + "property_bag": { + "is_local": "$is_local" + }, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + }, + { + "binding_name": "#template_texture", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_name": "#template_texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "global" + }, + { + "binding_name": "#template_texture_zip", + "binding_name_override": "#zip_folder", + "binding_type": "global" + } + ] + }, + + "template_label_def": { + "type": "label", + "text": "$text_binding", + "color": "$text_color", + "font_type": "smooth", + + "property_bag": { + "is_local": "$is_local" + }, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + }, + { + "binding_name": "$text_binding", + "binding_type": "global" + } + ] + }, + + "template_name@edu_world_templates.template_label_def": { + "$text_binding": "#template_name", + "$text_color": "$dark_button_default_text_color", + "max_size": [ "100%", 30 ] + }, + + "template_subtext_1@edu_world_templates.template_label_def": { + "$text_binding": "#template_subtext_1", + "$text_color": "$light_button_secondary_default_text_color", + "max_size": [ "100%", 15 ] + }, + + "template_subtext_2@edu_world_templates.template_label_def": { + "$text_binding": "#template_subtext_2", + "$text_color": "$light_button_secondary_default_text_color", + "max_size": [ "100%", 15 ] + }, + + //--------------------------------------------------------------------------- + // Template Creation Buttons + //--------------------------------------------------------------------------- + + "template_use_button_def@common_buttons.light_text_button": { + "$font_type": "MinecraftTen", + "$new_ui_label_offset": [ 0, -2 ], + "size": [ "100%", 18 ], + "$border_visible": false, + "$button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + } + ] + }, + + "template_buttons": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "offset": [ 0, 2 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "create_new@edu_world_templates.template_use_button_def": { + "$button_text": "edu.templates.create_new", + "$pressed_button_name": "button.templates.local_template_create" + } + }, + { "button_padding@edu_worlds.nested_button_padding": {} }, + { + "delete@edu_world_templates.template_use_button_def": { + "$button_text": "edu.templates.delete", + "$pressed_button_name": "button.templates.local_template_delete", + "bindings": [ + { + "binding_name": "#delete_template_visible", + "binding_name_override": "#visible", + "binding_condition": "once" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Template Button + //--------------------------------------------------------------------------- + + "template_button@common_buttons.transparent_label_nestable_button": { + "variables": [ + { + "requires": "$is_local", + "$pressed_button_name": "button.templates.local_nestable", + "$has_special_nested_controls": true, + "$nested_content_controls": "edu_world_templates.template_buttons", + "$special_nested_content_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + }, + { + "binding_name": "#template_controls_visiblity", + "binding_name_override": "#visible", + "binding_type": "global" + } + ], + "$special_nested_button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + }, + { + "binding_name": "(not #template_controls_visiblity)", + "binding_name_override": "#enabled", + "binding_type": "global" + } + ] + } + ], + + "$use_parent_size": true, + "$nestable_button_size": [ "100%", "100%" ], + + "$nested_button_content_size": [ "100%", "fill" ], + "$nested_content_control": "edu_world_templates.template_image", + + "$nested_button_label_size": [ "100%", 30 ], + "$nested_label_control": "common_buttons.nested_six_part_label_control", + "$left_top_label_definition": "edu_world_templates.template_name", + "$left_bottom_label_definition": "edu_world_templates.template_subtext_1", + "$right_bottom_label_definition": "edu_world_templates.template_subtext_2", + + "$transparent_label_color": [ 0, 0, 0 ], + "$transparent_label_hover_color": [ 0, 0.45, 0 ], + "$transparent_label_pressed_color": [ 0, 0.45, 0 ], + "$nested_transparent_label_alpha": 0.7 + }, + + //--------------------------------------------------------------------------- + // Template Grid + //--------------------------------------------------------------------------- + + "template_item_button": { + "type": "panel", + "$is_local|default": false, + "controls": [ + { + "template@edu_world_templates.template_button": { + "property_bag": { + "is_local": "$is_local" + }, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + } + ] + } + } + ], + "property_bag": { + "is_local": "$is_local" + }, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_column", + "binding_collection_prefix": "column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + }, + { + "binding_name": "#in_bounds", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "template_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "fill", "100%cm" ], + "controls": [ + { "left_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + // Since we scroll on y we will fill on x and set y size to screenshot ratio + label size + { "button@edu_world_templates.template_item_button": { "size": [ "fill", "56.25%x + 31px" ] } }, + { "right_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } } + ] + }, + + "template_row_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { + "template_row_item": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "template_row": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% + 4px", "100%cm" ], + "collection_name": "template_column", + "factory": { + "name": "template_item_factory", + "control_name": "edu_world_templates.template_item" + }, + "bindings": [ + { + "binding_name": "#template_column_count", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + } + }, + { + "divider": { + "type": "panel", + "size": [ "100%", 11 ], + "controls": [ + { + "line": { + "type": "image", + "texture": "textures/ui/White", + "size": [ "100%", 1 ], + "alpha": 0.05 + } + } + ], + "property_bag": { + "is_local": "$is_local" + }, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "template_row", + "binding_collection_prefix": "row" + }, + { + "binding_name": "#divider_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + } + ] + }, + + "template_grid": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "collection_name": "template_row", + "orientation": "vertical", + "factory": { + "name": "template_row_factory", + "control_name": "edu_world_templates.template_row_panel" + }, + "property_bag": { + "is_local": "$is_local" + }, + "bindings": [ + { + "binding_name": "#template_row_count", + "binding_name_override": "#collection_length", + "binding_type": "global" + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "local_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "search_padding@common.empty_panel": { "size": [ "100%", 3 ] } }, + { "info_banner@edu_world_templates.info_banner": {} }, + { "info_padding@common.empty_panel": { "size": [ "100%", 6 ] } }, + { "no_templates_banner@edu_world_templates.no_templates_banner": {} }, + { + "local_worlds@edu_world_templates.template_grid": { + "$is_local": true + } + } + ] + }, + + "all_templates": { + "type": "stack_panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { "local_templates@edu_world_templates.local_section": {} }, + { "bottom_padding@common.empty_panel": { "size": [ "100%", 11 ] } } + ] + }, + + "template_scroll_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%" ], + "controls": [ + { + "world_scroll@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scrolling_content": "edu_world_templates.all_templates", + "$show_background": false, + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 1, 0 ], + "$scroll_size": [ 5, "100% - 11px" ], + "$scroll_size_touch": "$scroll_size", + "$scroll_track_anchor": "top_middle", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle" + } + } + ] + }, + + "info_banner": { + "type": "image", + "texture": "textures/ui/Black", + "size": [ "100%", "100%cm" ], + "alpha": 0.7, + "controls": [ + { + "border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "$default_focus_border_control": "edu_common.border", + "size": [ "100%", "100%sm + 4px" ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "description": { + "type": "label", + "color": "$body_text_color", + "font_type": "smooth", + "text": "edu.templates.info_banner", + "size": [ "100% - 10px", "default" ] + } + } + ] + }, + + "no_templates_banner": { + "type": "image", + "texture": "textures/ui/edu_no_templates_background", + "layer": 1, + "size": [ "100%", 140 ], + "controls": [ + { + "border@common.non_interact_focus_border": { + "size": [ "100%", "100%" ], + "color": [ 0.117, 0.117, 0.121, 1.0 ] + } + }, + { + "banner_contents_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "controls": [ + { "info_padding_top@common.empty_panel": { "size": [ "100%", 8 ] } }, + { + "image_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "no_templates_image": { + "type": "image", + "texture": "textures/ui/edu_templates_empty", + "size": [ 256, 96 ] + } + } + ] + } + }, + { + "text_wrapper": { + "type": "panel", + "size": [ "100%", 20 ], + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%", "100%" ], + "offset": [ 0, 4 ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "no_templates_text": { + "type": "label", + "size": [ "100% - 8px", "100%" ], + "offset": [ 0, 4 ], + "font_type": "smooth", + "text_alignment": "center", + "text": "edu.templates.empty_banner" + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#no_templates_banner", + "binding_name_override": "#visible" + } + ] + }, + + "screen_content": { + "type": "stack_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100%" ], + "controls": [ + { + "title@edu_common.edu_screen_header": { + "$title_text": "edu.templates.title", + "$title_is_templates_screen": true + } + }, + { + "search_bar@edu_common.worlds_and_templates_search_bar": { + "$place_holder_text": "edu.templates.search_placeholder", + "$text_box_name": "#template_search_box", + "$toggle_button_label": "edu.worlds_screen.title", + "$goingToTemplates": false + } + }, + { + "template_scroll_panel_item": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { "worlds@edu_world_templates.template_scroll_panel": {} } + ] + } + } + ] + }, + + "edu_world_templates_screen@common.base_screen": { + "$screen_content": "edu_world_templates.screen_content", + "$screen_bg_content": "common.screen_background", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/edu_worlds_screen.json b/resource_pack/ui/edu_worlds_screen.json new file mode 100644 index 0000000..af7c34e --- /dev/null +++ b/resource_pack/ui/edu_worlds_screen.json @@ -0,0 +1,899 @@ +{ + "namespace": "edu_worlds", + /* Table of Contents + Misc Definitions + New World Button + World Button + Worlds grid + Storage Dropdown + Screen + */ + + //--------------------------------------------------------------------------- + // Misc Definitions + //--------------------------------------------------------------------------- + + "nested_button_padding@common.empty_panel": { + "size": [ "100%", 1 ] + }, + + "nested_buttons_base_def": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "offset": [ 0, 2 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + }, + + "world_entry_button_def@common_buttons.light_text_button": { + "$font_type": "MinecraftTen", + "$new_ui_label_offset": [ 0, -2 ], + "size": [ "100%", 18 ], + "$border_visible": false, + "$button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + } + ] + }, + + "nav_glyph": { + "type": "image", + "size": [ 4, 7 ], + "anchor_from": "$glyph_anchor", + "anchor_to": "$glyph_anchor", + + "texture": "$glyph_texture", + "color": "$text_color", + + "$direction|default": "right", + "variables": [ + { + "requires": "($direction = 'right')", + "$glyph_texture": "textures/ui/arrow_right_white", + "$glyph_anchor": "right_middle" + }, + { + "requires": "($direction = 'left')", + "$glyph_texture": "textures/ui/arrow_left_white", + "$glyph_anchor": "left_middle" + } + ] + }, + + "nav_entry_contents": { + "type": "panel", + "controls": [ + { + "text@common_buttons.new_ui_binding_button_label": { + "$button_text_binding_type": "none", + "$button_binding_condition": "none", + "$button_text_grid_collection_name": "", + "$button_text_max_size": [ "100% - 12px", 10 ], // 12px for nav glyph ([4 + 2 pad] * 2 for left and right) + "$new_ui_label_offset": [ 0, -2 ] + } + }, + { "nav_glyph@edu_worlds.nav_glyph": {} } + ] + }, + + "nav_world_back_button_def@common_buttons.dark_content_button": { + "$font_type": "MinecraftTen", + "size": [ "100%", 18 ], + "$border_visible": false, + "$button_content": "edu_worlds.nav_entry_contents", + "$button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + } + ] + }, + + "nav_world_entry_button_def@common_buttons.light_content_button": { + "$font_type": "MinecraftTen", + "size": [ "100%", 18 ], + "$border_visible": false, + "$button_content": "edu_worlds.nav_entry_contents", + "$button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + } + ] + }, + + "grid_label_def": { + "type": "label", + "text": "$text_binding", + "color": "$text_color", + "font_type": "smooth", + "max_size": [ "100%", 15 ], + + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "$text_binding", + "binding_type": "global" + } + ] + }, + + //--------------------------------------------------------------------------- + // New World Button + //--------------------------------------------------------------------------- + + "new_world_nested_button@common_buttons.light_text_button": { + "$font_type": "MinecraftTen", + "$new_ui_label_offset": [ 0, -2 ], + "size": [ "100%", 18 ], + "$border_visible": false + }, + + "new_world_nested_buttons@edu_worlds.nested_buttons_base_def": { + "controls": [ + { + "guided_create_nested_button@edu_worlds.new_world_nested_button": { + "$button_text": "edu.worlds_screen.guided_create", + "$pressed_button_name": "button.worlds.new_world.guided_create" + } + }, + { "button_padding@edu_worlds.nested_button_padding": {} }, + { + "create_new_nested_button@edu_worlds.new_world_nested_button": { + "$button_text": "edu.worlds_screen.traditional", + "$pressed_button_name": "button.worlds.new_world.traditional" + } + } + ] + }, + + "new_world_button@common_buttons.dark_nestable_button": { + + "$pressed_button_name": "button.worlds.new_world", + "$use_parent_size": true, + "$nestable_button_size": [ "100%", "100%" ], + + "$nested_button_content_size": [ "100%", "fill" ], + "$nested_control_image": "textures/ui/color_plus", + + "$nested_button_label_size": [ "100%", 31 ], + "$nested_label_text": "edu.worlds_screen.new_world", + "$nested_label_font_type": "smooth" + }, + + //--------------------------------------------------------------------------- + // World Button + //--------------------------------------------------------------------------- + + "world_image": { + "type": "image", + "force_texture_reload": true, + "keep_ratio": false, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "#world_texture", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_name": "#world_texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "global" + } + ] + }, + + "world_name@edu_worlds.grid_label_def": { + "$text_binding": "#world_name", + "$text_color": "$dark_button_default_text_color" + }, + + "world_type@edu_worlds.grid_label_def": { + "tts_override_control_value": " ", + "$text_binding": "#world_type", + "$text_color": "$light_button_secondary_default_text_color", + "max_size": [ "86%", 15 ] + }, + + "world_date@edu_worlds.grid_label_def": { + "tts_override_control_value": " ", + "$text_binding": "#world_date", + "$text_color": "$light_button_secondary_default_text_color" + }, + + "world_cloud_state": { + "type": "image", + "size": [ 12, 12 ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "#world_cloud_state", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_name": "#cloud_icon_outline_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ], + "controls": [ + { + "cloud_icon_outline": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "$bevel_texture", + + "$bevel_texture": "", + "variables": [ + { + "requires": "$hover_state", + "$bevel_texture": "textures/ui/cloud_state_bevel" + } + ] + } + } + ] + }, + + "world_size@edu_worlds.grid_label_def": { + "tts_override_control_value": " ", + "$text_binding": "#world_size", + "$text_color": "$light_button_secondary_default_text_color" + }, + + "world_entry_buttons@edu_worlds.nested_buttons_base_def": { + "controls": [ + { + "play_nested_button@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.play", + "$pressed_button_name": "button.worlds.entry.play" + } + }, + { "button_padding_1@edu_worlds.nested_button_padding": {} }, + { + "host@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.host", + "$pressed_button_name": "button.worlds.entry.host" + } + }, + { "button_padding_2@edu_worlds.nested_button_padding": {} }, + { + "settings@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.settings", + "$pressed_button_name": "button.worlds.entry.settings", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "(not #is_placeholder_selected)", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "download@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.download", + "$pressed_button_name": "button.worlds.entry.download", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "(#is_placeholder_selected)", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "button_padding_3@edu_worlds.nested_button_padding": {} }, + { + "manage@edu_worlds.nav_world_entry_button_def": { + "$button_text": "edu.worlds_screen.manage", + "$pressed_button_name": "button.worlds.entry.manage", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "(not #is_placeholder_selected)", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "about@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.about", + "$pressed_button_name": "button.worlds.entry.about", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "(#is_placeholder_selected)", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + } + ] + }, + + "manage_buttons@edu_worlds.nested_buttons_base_def": { + "controls": [ + { + "back@edu_worlds.nav_world_back_button_def": { + "$button_text": "edu.worlds_screen.back", + "$pressed_button_name": "button.worlds.entry.manage", + "$direction": "left" + } + }, + { "button_padding_1@edu_worlds.nested_button_padding": {} }, + { + "copy@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.copy", + "$pressed_button_name": "copy_world_button" + } + }, + { "button_padding_2@edu_worlds.nested_button_padding": {} }, + { + "export@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.export", + "$pressed_button_name": "export_world_button" + } + }, + { "button_padding_3@edu_worlds.nested_button_padding": {} }, + { + "delete@edu_worlds.world_entry_button_def": { + "$button_text": "edu.worlds_screen.delete", + "$pressed_button_name": "delete_world_button" + } + } + ] + }, + + "world_nested_buttons": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "world_entry_buttons@edu_worlds.world_entry_buttons": { + "bindings": [ + { + "binding_name": "(not #manage_active)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "manage_buttons@edu_worlds.manage_buttons": { + "bindings": [ + { + "binding_name": "#manage_active", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // Darkened overlay for edu cloud placeholder world buttons + "placeholder_nested_content_overlay_assets@common_buttons.nested_content_overlay_assets": { + "$nested_asset_default_texture": "textures/ui/EduCloudPlaceholderDimmer" + }, + + "world_button@common_buttons.transparent_label_nestable_button": { + "$has_special_nested_controls": true, + "$pressed_button_name": "button.worlds.world_button", + "$nested_content_visibility_binding": "#world_controls_visiblity", + "$nested_content_controls": "edu_worlds.world_nested_buttons", + "$special_nested_content_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "#world_controls_visiblity", + "binding_name_override": "#visible", + "binding_type": "global" + } + ], + "$special_nested_button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "(not #world_controls_visiblity)", + "binding_name_override": "#enabled", + "binding_type": "global" + } + ], + + "$use_parent_size": true, + "$nestable_button_size": [ "100%", "100%" ], + + "$nested_content_control": "edu_worlds.world_image", + "$nested_button_content_size": [ "100%", "fill" ], + + "$nested_button_label_size": [ "100%", 30 ], + "$nested_label_control": "common_buttons.nested_six_part_label_control", + "$left_top_label_definition": "edu_worlds.world_name", + "$left_middle_label_definition": "edu_worlds.world_type", + "$left_bottom_label_definition": "edu_worlds.world_date", + "$right_middle_label_definition": "edu_worlds.world_cloud_state", + "$right_bottom_label_definition": "edu_worlds.world_size", + + "$transparent_label_color": [ 0, 0, 0 ], + "$transparent_label_hover_color": [ 0, 0.45, 0 ], + "$transparent_label_pressed_color": [ 0, 0.45, 0 ], + "$nested_transparent_label_alpha": 0.7 + }, + + "placeholder_button@common_buttons.transparent_label_nestable_button": { + "$has_special_nested_controls": true, + "$pressed_button_name": "button.worlds.world_button", + "$nested_content_visibility_binding": "#world_controls_visiblity", + "$nested_content_controls": "edu_worlds.world_nested_buttons", + "$special_nested_content_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "#world_controls_visiblity", + "binding_name_override": "#visible", + "binding_type": "global" + } + ], + "$special_nested_button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "(not #world_controls_visiblity)", + "binding_name_override": "#enabled", + "binding_type": "global" + } + ], + + "$use_parent_size": true, + "$nestable_button_size": [ "100%", "100%" ], + + "$nested_content_control": "edu_worlds.world_image", + "$nested_content_overlay_assets": "edu_worlds.placeholder_nested_content_overlay_assets", + "$nested_button_content_size": [ "100%", "fill" ], + + "$nested_button_label_size": [ "100%", 30 ], + "$nested_label_control": "common_buttons.nested_six_part_label_control", + "$left_top_label_definition": "edu_worlds.world_name", + "$left_middle_label_definition": "edu_worlds.world_type", + "$left_bottom_label_definition": "edu_worlds.world_date", + "$right_middle_label_definition": "edu_worlds.world_cloud_state", + "$right_bottom_label_definition": "edu_worlds.world_size", + + "$transparent_label_color": [ 0, 0, 0 ], + "$transparent_label_hover_color": [ 0, 0.45, 0 ], + "$transparent_label_pressed_color": [ 0, 0.45, 0 ], + "$nested_transparent_label_alpha": 0.7 + }, + + + //--------------------------------------------------------------------------- + // Worlds grid + //--------------------------------------------------------------------------- + + "world_item_button": { + "type": "panel", + "controls": [ + { + "new_world@edu_worlds.new_world_button": { + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "#is_first", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "world@edu_worlds.world_button": { + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "#is_world", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "placeholder@edu_worlds.placeholder_button": { + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_column_collection", + "binding_collection_prefix": "world_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "world_row_collection", + "binding_collection_prefix": "world_row" + }, + { + "binding_name": "#is_placeholder", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + } + ] + }, + + "world_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { "left_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + // Since we scroll on y we will fill on x and set y size to screenshot ratio + label size + { "button@edu_worlds.world_item_button": { "size": [ "fill", "56.25%x + 31px" ] } }, + { "right_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } } + ] + }, + + "worlds_grid@edu_common.stack_panel_grid": { + "$grid_collection_prefix": "world", + "$stack_grid_item": "edu_worlds.world_item" + }, + + //--------------------------------------------------------------------------- + // storage dropdown + //--------------------------------------------------------------------------- + + "storage_dropdown_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + // Needs to be nested so dropdowns have an area with specific name + "storage_dropdown_content_area": { + "type": "stack_panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { "storage_dropdown@edu_worlds.file_storage_dropdown": {} } + ], + "layer": 2 + } + }, + { + "background": { + "type": "image", + "texture": "textures/ui/Gray", + "size": [ "100%", "100%sm + 8px" ], + "alpha": 0.8, + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#external_storage_permission_dropdown_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "file_storage_dropdown@settings_common.option_dropdown": { + "$option_label": "worlds.storage.missing", + "ignored": "($education_edition or ($is_holographic and $is_reality_mode))", + "visible": "(not $gear_vr)", + "$dropdown_content": "general_section.file_storage_location_content", + "$dropdown_area": "storage_dropdown_content_area", + "$dropdown_name": "storage_dropdown", + "$option_enabled_binding_name": "#file_storage_location_enabled", + "$options_dropdown_toggle_label_binding": "#file_storage_location_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "150%" ] + }, + + //--------------------------------------------------------------------------- + // cloud fetch error banner + //--------------------------------------------------------------------------- + + "cloud_fetch_error_banner": { + "type": "image", + "texture": "textures/ui/Black", + "size": [ "100%", "100%cm" ], + "alpha": 0.7, + "controls": [ + { + "border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "$default_focus_border_control": "edu_common.border", + "size": [ "100%", "100%sm + 4px" ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "description": { + "type": "label", + "color": "$body_text_color", + "font_type": "smooth", + "text": "#cloud_fetch_error_text", + "size": [ "100% - 10px", "default" ], + "bindings": [ + { + "binding_name": "#cloud_fetch_error_text" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#cloud_fetch_error_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "search_and_worlds": { + "type": "stack_panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { "search_to_storage_dropdown@common.empty_panel": { "size": [ "100%", 3 ] } }, + { "storage_dropdown@edu_worlds.storage_dropdown_panel": {} }, + { + "storage_to_fetch_padding@common.empty_panel": { + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "#external_storage_permission_dropdown_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "cloud_fetch_error@edu_worlds.cloud_fetch_error_banner": {} }, + { + "fetch_to_items_padding@common.empty_panel": { + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "#cloud_fetch_error_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "world_row_item@edu_worlds.worlds_grid": {} }, + { "bottom_padding@common.empty_panel": { "size": [ "100%", 11 ] } } + ] + }, + + "world_scroll_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%" ], + "controls": [ + { + "world_scroll@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scrolling_content": "edu_worlds.search_and_worlds", + "$show_background": false, + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 1, 0 ], + "$scroll_size": [ 5, "100% - 11px" ], + "$scroll_size_touch": "$scroll_size", + "$scroll_track_anchor": "top_middle", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle" + } + } + ] + }, + + "screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { "screen_content_stack_panel@edu_worlds.screen_content_stack_panel": {} }, + { "cloud_conflict_resolution_popup_factory@edu_common.edu_cloud_conflict_resolution_popup_dialog_factory": {} } + ] + }, + + "screen_content_stack_panel": { + "type": "stack_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100%" ], + "controls": [ + { + "title@edu_common.edu_screen_header": { + "$title_text": "edu.worlds_screen.title", + "$title_has_image": true, + "$title_texture": "textures/ui/worldsIcon" + } + }, + { + "search_bar@edu_common.worlds_and_templates_search_bar": { + "$place_holder_text": "edu.worlds_screen.search_placeholder", + "$text_box_name": "#world_search_box", + "$toggle_button_label": "edu.templates.title", + "$goingToTemplates": true + } + }, + { + "world_scroll_panel_item": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { "worlds@edu_worlds.world_scroll_panel": {} } + ] + } + } + ] + }, + + "edu_worlds_screen@common.base_screen": { + "$screen_content": "edu_worlds.screen_content", + "$screen_bg_content": "common.screen_background", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/element_constructor_screen.json b/resource_pack/ui/element_constructor_screen.json new file mode 100644 index 0000000..d5d2740 --- /dev/null +++ b/resource_pack/ui/element_constructor_screen.json @@ -0,0 +1,423 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "elemconstruct", + + ///// Shared with Pocket Screen ///// + + "particle_count@common.text_edit_box": { + "size": [ 24, 20 ], + "$text_edit_box_content_binding_name": "$particle_count_bind_name", + "$text_alignment": "center", + "max_length": 3, + "$wrap": false, + "text_type": "NumberChars", + + "$focus_override_up": "FOCUS_OVERRIDE_STOP" + }, + + "chemistry_slider_button_hover_layout@common.slider_button_hover_layout": { + "texture": "textures/ui/chemistry_slider_button_default" + }, + + "slider_background": { + "type": "image", + "texture": "textures/ui/slider_background" + }, + + "slider_background_hover@elemconstruct.slider_background": { + "texture": "textures/ui/chemistry_slider_background_hover" + }, + + "bohr_model@common.cell_image": { + "size": [ 110, "100%" ], + "controls": [ + { + "model": { + "type": "custom", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "offset": [ 2, 2 ], + "size": [ "100% - 4px", "100% - 4px" ], + "renderer": "bohr_model_renderer", + // Bind used to fill the property bag + "bindings": [ + { + "binding_type": "global", + // Binding itself doesn't do anything, but the callback is used to fill the property bag + "binding_name": "#bohr_model_update" + } + ] + } + } + ] + }, + + ///// Differs from Pocket Screen ///// + + "title_label@edu_common.dark_label": { + "layer": 2, + "text": "elementconstructor.title", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text_alignment": "center", + "offset": [ 0, 4 ] + }, + + "particle_label": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 18, 15 ], + "controls": [ + { + "pad@common.empty_panel": { + "size": [ 2, 2 ] + } + }, + { + "label@edu_common.dark_label": { + "text": "$particle_label" + } + }, + { + "wrap@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "texture": "$particle_icon", + "size": [ 8, 8 ], + "offset": [ 0, 1 ] + } + } + ] + } + } + ] + }, + + // Use our own white progress since we're going to tint it with a color + "slider_progress": { + "type": "image", + "texture": "textures/ui/white_slider_progress", + "color": "$slider_progress_color" + }, + + "slider_progress_hover@elemconstruct.slider_progress": {}, + + "slider_bar_default@common.slider_bar_default": { + // Extend by knob size so knob is always contained in track even at value extremes + "size": [ "100%", "100% + 10px" ], + "$background_control": "elemconstruct.slider_background", + "$progress_control": "elemconstruct.slider_progress" + }, + + "slider_bar_hover@common.slider_bar_hover": { + // Extend by knob size so knob is always contained in track even at value extremes + "size": [ "100%", "100% + 10px" ], + "$background_control": "elemconstruct.slider_background_hover", + "$progress_control": "elemconstruct.slider_progress_hover" + }, + + "particle_slider@common.empty_panel": { + "size": [ 24, "100%c" ], + "controls": [ + { + "slider@common.slider": { + "size": [ 12, 128 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$slider_direction": "vertical", + "slider_inverted": true, + "$progress_clip_direction": "down", + "$slider_tts_header": "$particle_label", + "$slider_tts_text_value": "$particle_count_bind_name", + + // Override base controls so I can make the track contain the knob, even at min and max values + "controls": [ + { + "slider_box@common.slider_box": { + "$slider_box_layout": "$slider_box_layout", + "$slider_box_size": [ 16, 10 ], + "$slider_track_button": "$slider_name", + "$slider_box_hover_layout": "elemconstruct.chemistry_slider_button_hover_layout" + } + }, + { + "slider_bar_default@elemconstruct.slider_bar_default": {} + }, + { + "slider_bar_hover@elemconstruct.slider_bar_hover": { + "visible": false + } + } + ] + } + } + ] + }, + + "particle_slider_plus@common.empty_panel": { + "size": [ 24, "100%c + 5px" ], + "controls": [ + { + "button@common_buttons.light_text_button": { + "size": [ 12, 12 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$pressed_button_name": "$plus_button_name", + "$button_text": "+", + + "$focus_id_binding_type": "none", + "$focus_id": "$plus_focus_id", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "$plus_focus_override_right", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "$plus_focus_override_left" + } + } + ] + }, + + "particle_slider_minus@common.empty_panel": { + "size": [ 24, "100%c + 5px" ], + "controls": [ + { + "button@common_buttons.light_text_button": { + "size": [ 12, 12 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$pressed_button_name": "$minus_button_name", + "$button_text": "-", + + "$focus_override_down_binding_type": "none", + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "particle": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 24, "100%c" ], + "controls": [ + { "label@elemconstruct.particle_label": {} }, + { "count@elemconstruct.particle_count": {} }, + { "p0@common.empty_panel": { "size": [ 2, 2 ] } }, + { "plus@elemconstruct.particle_slider_plus": {} }, + { "slider@elemconstruct.particle_slider": {} }, + { "minus@elemconstruct.particle_slider_minus": {} } + ] + }, + + "particle_panel": { + "type": "stack_panel", + "orientation": "horizontal", + // Size and offset so it's on the bottom left within the frame, under the title + "size": [ "100%c", "100% - 20px" ], + "offset": [ 4, 16 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "controls": [ + { + "protons@elemconstruct.particle": { + "$particle_label": "p", + "$particle_icon": "textures/ui/proton", + "$particle_count_bind_name": "#proton_label_count", + "$plus_button_name": "button.proton_plus", + "$minus_button_name": "button.proton_minus", + "$slider_value_binding_name": "#proton_slider_count", + "$slider_name": "proton_slider", + "$slider_progress_color": "$proton_color", + "$text_box_name": "proton_text_edit", + + "$plus_focus_id": "protons_plus", + + "$plus_focus_override_right": "electrons_plus", + "$plus_focus_override_left": "FOCUS_OVERRIDE_STOP", + + "$focus_override_left": "FOCUS_OVERRIDE_STOP" + } + }, + { "p0@common.empty_panel": { "size": [ 2, 2 ] } }, + { + "electrons@elemconstruct.particle": { + "$particle_label": "e", + "$particle_icon": "textures/ui/electron", + "$particle_count_bind_name": "#electron_label_count", + "$plus_button_name": "button.electron_plus", + "$minus_button_name": "button.electron_minus", + "$slider_value_binding_name": "#electron_slider_count", + "$slider_name": "electron_slider", + "$slider_progress_color": "$electron_color", + "$text_box_name": "electron_text_edit", + + "$plus_focus_id": "electrons_plus", + + "$plus_focus_override_right": "neutrons_plus", + "$plus_focus_override_left": "protons_plus" + } + }, + { "p1@common.empty_panel": { "size": [ 2, 2 ] } }, + { + "neutrons@elemconstruct.particle": { + "$particle_label": "n", + "$particle_icon": "textures/ui/neutron", + "$particle_count_bind_name": "#neutron_label_count", + "$plus_button_name": "button.neutron_plus", + "$minus_button_name": "button.neutron_minus", + "$slider_value_binding_name": "#neutron_slider_count", + "$slider_name": "neutron_slider", + "$slider_progress_color": "$neutron_color", + "$text_box_name": "neutron_text_edit", + + "$plus_focus_id": "neutrons_plus", + + "$plus_focus_override_right": "", + "$plus_focus_override_left": "electrons_plus" + } + } + ] + }, + + "output_panel@common.empty_panel": { + "size": [ 52, "100%" ], + "controls": [ + { + "element_icon": { + "type": "image", + "size": [ 50, 50 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "texture": "textures/ui/microscope" + } + }, + { + "arrow_to_output": { + "type": "image", + "size": [ 17, 4 ], + "offset": [ -1, 25 ], + "layer": 4, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "texture": "textures/ui/dialog_indent_horiz" + } + }, + { + "output_slot@common.empty_panel": { + "$slot_size": [ 24, 24 ], + "size": "$slot_size", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 1, 25 ], + "controls": [ + { + "slot@common.container_item": { + "$item_collection_name": "elemconstruct_output", + "size": "$slot_size", + "$cell_image_size": "$slot_size", + "$button_ref": "chem_common_pocket.output_slot_button", + "layer": 2 + } + }, + { + "placeholder_icon": { + "type": "image", + "size": [ 16, 16 ], + "layer": 4, + "texture": "textures/ui/placeholder_element" + } + } + ] + } + } + ] + }, + + // Top right portion of the screen with Bohr model, result slot, and decorations + "result_panel": { + "type": "stack_panel", + "layer": 2, + "orientation": "horizontal", + "anchor_from": "top_right", + "anchor_to": "top_right", + // Take up entire top right, lining up top with top of slider labels and left/right with inventory + "size": [ 162, 110 ], + "offset": [ -5, 18 ], + "controls": [ + { "bohr_model@elemconstruct.bohr_model": {} }, + { "output@elemconstruct.output_panel": {} } + ] + }, + + "inventory_panel": { + "type": "panel", + "layer": 2, + "controls": [ + { + "inventory@common.inventory_panel": { + "size": [ 162, 54 ], + "offset": [ -5, 0 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + }, + { + "hotbar@common.hotbar_grid_template": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -5, -5 ] + } + } + ] + }, + + "content": { + "type": "panel", + "controls": [ + { + "root_panel@common.root_panel": { + "layer": 1, + "size": [ 250, 220 ], + "controls": [ + { "common_panel@common.common_panel": {} }, + { "title_label@elemconstruct.title_label": {} }, + { "particle_panel@elemconstruct.particle_panel": {} }, + { "result_panel@elemconstruct.result_panel": {} }, + { "inventory@elemconstruct.inventory_panel": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 13 } } + ] + } + }, + { "container_gamepad_helpers@common.container_gamepad_helpers": {} } // Gamepad tool tips + ] + }, + + "element_constructor@common.inventory_screen_common": { + "$close_on_player_hurt|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "$screen_bg_content": "common.screen_background", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "elemconstruct.content" + }, + { + "requires": "$pocket_screen", + "$screen_content": "elemconstruct_pocket.content" + } + ] + } +} diff --git a/resource_pack/ui/element_constructor_screen_pocket.json b/resource_pack/ui/element_constructor_screen_pocket.json new file mode 100644 index 0000000..daade9a --- /dev/null +++ b/resource_pack/ui/element_constructor_screen_pocket.json @@ -0,0 +1,295 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "elemconstruct_pocket", + + "title_label@edu_common.dark_label": { + "layer": 2, + "text": "elementconstructor.title", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text_alignment": "center", + "offset": [ 0, 8 ] + }, + + "particle_label@common.empty_panel": { + "size": [ 18, "100%c" ], + "offset": [ 15, 5 ], + "controls": [ + { + "label@edu_common.dark_label": { + "text": "$particle_label" + } + } + ] + }, + + "slider_progress_hover@elemconstruct.slider_progress": {}, + + "slider_bar_default@common.slider_bar_default": { + // Extend by knob size so knob is always contained in track even at value extremes + "size": [ "100% + 10px", "100% + 10px" ], + "$background_control": "elemconstruct.slider_background", + "$progress_control": "elemconstruct.slider_progress" + }, + + "slider_bar_hover@common.slider_bar_hover": { + // Extend by knob size so knob is always contained in track even at value extremes + "size": [ "100% + 10px", "100% + 10px" ], + "$background_control": "elemconstruct.slider_background_hover", + "$progress_control": "elemconstruct_pocket.slider_progress_hover", + "visible": false + }, + + "particle_slider@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "offset": [ 4.5, 10 ], + "controls": [ + { + "slider@common.slider": { + "size": [ 23, 4 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$slider_tts_header": "$particle_label", + "$slider_tts_text_value": "$particle_count_bind_name", + + // Override base controls so I can make the track contain the knob, even at min and max values + "controls": [ + { + "slider_box@common.slider_box": { + "$slider_box_layout": "$slider_box_layout", + "$slider_box_size": [ 10, 24 ], + "$slider_track_button": "$slider_name", + "$slider_box_hover_layout": "elemconstruct.chemistry_slider_button_hover_layout" + } + }, + { "slider_bar_default@elemconstruct_pocket.slider_bar_default": {} }, + { "slider_bar_hover@elemconstruct_pocket.slider_bar_hover": {} } + ] + } + } + ] + }, + + "particle_slider_plus@common_buttons.light_text_button": { + "size": [ 24, 24 ], + "offset": [ 9, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$pressed_button_name": "$plus_button_name", + "$button_text": "+" + }, + + "particle_slider_minus@common_buttons.light_text_button": { + "size": [ 24, 24 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$pressed_button_name": "$minus_button_name", + "$button_text": "-" + }, + + "particle": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 24.8 ], + // This stack panel is sort of ugly with offsets, but they're needed because we're shuffling around + "controls": [ + { + "minus@elemconstruct_pocket.particle_slider_minus": {} + }, + { + "slider@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { "slider@elemconstruct_pocket.particle_slider": {} } + ] + } + }, + { + "plus@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { "plus@elemconstruct_pocket.particle_slider_plus": {} } + ] + } + }, + { + "label@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { "label@elemconstruct_pocket.particle_label": {} } + ] + } + }, + { + "count@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "count@elemconstruct.particle_count": { + // Changing only these properties, so using the non-pocket element. + "offset": [ 13, 0 ], + "size": [ 24, 24 ] + } + } + ] + } + } + ] + }, + + "particle_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 130, "30%" ], + "offset": [ 2, 38 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 2, + "controls": [ + { + "protons@elemconstruct_pocket.particle": { + "$particle_label": "p", + "$particle_count_bind_name": "#proton_label_count", + "$plus_button_name": "button.proton_plus", + "$minus_button_name": "button.proton_minus", + "$slider_value_binding_name": "#proton_slider_count", + "$slider_name": "proton_slider", + "$slider_progress_color": "$proton_color", + "$text_box_name": "proton_text_edit" + } + }, + { + "electrons@elemconstruct_pocket.particle": { + "$particle_label": "e", + "$particle_count_bind_name": "#electron_label_count", + "$plus_button_name": "button.electron_plus", + "$minus_button_name": "button.electron_minus", + "$slider_value_binding_name": "#electron_slider_count", + "$slider_name": "electron_slider", + "$slider_progress_color": "$electron_color", + "$text_box_name": "electron_text_edit" + } + }, + { + "neutrons@elemconstruct_pocket.particle": { + "$particle_label": "n", + "$particle_count_bind_name": "#neutron_label_count", + "$plus_button_name": "button.neutron_plus", + "$minus_button_name": "button.neutron_minus", + "$slider_value_binding_name": "#neutron_slider_count", + "$slider_name": "neutron_slider", + "$slider_progress_color": "$neutron_color", + "$text_box_name": "neutron_text_edit" + } + } + ] + }, + + "output_panel@common.empty_panel": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "element_icon": { + "type": "image", + "size": [ 50, 50 ], + "offset": [ 7, -10 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "texture": "textures/ui/microscope" + } + }, + { + "arrow_to_output": { + "type": "image", + "size": [ 24, 4 ], + "offset": [ 5, -10 ], + "layer": 4, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "texture": "textures/ui/dialog_indent_horiz" + } + }, + { + "output_slot@common.empty_panel": { + "$slot_size": [ 24, 24 ], + "size": "$slot_size", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 28, 0 ], + "controls": [ + { + "slot@common.pocket_ui_container_item": { + "$item_collection_name": "elemconstruct_output", + "size": "$slot_size", + "$cell_image_size": "$slot_size", + "$item_renderer_size": [ 20, 20 ], + "$button_ref": "chem_common_pocket.output_slot_button", + "layer": 2 + } + }, + { + "placeholder_icon": { + "type": "image", + "size": [ 16, 16 ], + "layer": 4, + "texture": "textures/ui/placeholder_element" + } + } + ] + } + } + ] + }, + + // Top right portion of the screen with Bohr model, result slot, and decorations + "result_panel": { + "type": "stack_panel", + "layer": 2, + "orientation": "horizontal", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + // Take up entire top right, lining up top with top of slider labels and left/right with inventory + "size": [ 130, 90 ], + "offset": [ -4, 13 ], + "controls": [ + { + "bohr@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "bohr_model@elemconstruct.bohr_model": { + "size": [ 80, 80 ], + "offset": [ 6, 10 ] + } + } + ] + } + }, + { "output@elemconstruct_pocket.output_panel": {} } + ] + }, + + "right_panel@common.empty_panel": { + "size": [ "49.5%", "100%" ], + "layer": 2, + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "dialog_background_opaque@common.dialog_background_opaque": {} }, + { "title_label@elemconstruct_pocket.title_label": {} }, + { "particle_panel@elemconstruct_pocket.particle_panel": {} }, + { "result_panel@elemconstruct_pocket.result_panel": {} } + ] + }, + + "content@chem_common_pocket.screen_contents": { + "$right_panel": "right_panel@elemconstruct_pocket.right_panel" + } +} diff --git a/resource_pack/ui/emote_wheel_screen.json b/resource_pack/ui/emote_wheel_screen.json new file mode 100644 index 0000000..bea6fff --- /dev/null +++ b/resource_pack/ui/emote_wheel_screen.json @@ -0,0 +1,259 @@ +{ + "namespace": "persona", + + "emote_wheel_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.emote_wheel_exit_non_gamepad", + "mapping_type": "global", + "input_mode_condition": "not_gamepad" + }, + { + "from_button_id": "button.controller_start", + "to_button_id": "button.dressing_room", + "mapping_type": "global" + }, + { + "from_button_id": "key.emote", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$default_text_color": [ 0.7, 0.7, 0.7 ], + "$screen_content": "persona.emote_wheel_screen_content", + "$screen_bg_content": "emote_wheel_touch_zone", + "$is_full_screen_layout": true, + "$fill_alpha": 0.0, + "gamepad_cursor_deflection_mode": true + }, + + + "emote_wheel_touch_zone@common_buttons.light_content_button": { + "size": [ "100%", "100%" ], + "$pressed_button_name": "button.menu_exit", + "alpha": 0 + }, + + "emote_wheel_screen_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "root_panel": { + "type": "panel", + "size": [ "100%", "55% + 35px" ], + "controls": [ + { + "emotes_panel@common.squaring_panel": { + "$squaring_panel_content": "persona_common.emote_wheel_panel" + } + } + ] + } + }, + { + "instruction_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "instruction_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "instruction_background": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.7, + "size": [ "100%c + 10px", "100%c + 14px" ], + "min_size": [ 1 , "100%c + 14px" ], + "max_size": [ "100%c + 10px", "100%c + 14px" ], + "controls": [ + { + "gamepad_instruction_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "instruction_label_gamepad": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ 300, 28 ], + "offset": [ 0, -3 ], + "layer": 2, + "color": "$emote_screen_gamepad_instruction_colors", + "text_alignment": "center", + "text": "#emote_screen_instructions", + "font_type": "MinecraftSeven", + "line_padding": 5.0, + "shadow": true, + "bindings": [ + { + "binding_name": "#emote_screen_instructions", + "binding_condition": "always" + }, + { + "binding_name": "#is_using_gamepad_override", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamepad_helpers@common.empty_panel": { + "size": [ "100%sm", "100%c" ], + "controls": [ + { + "gamepad_helper_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "offset": [ 0, 2 ], + "controls": [ + { + "gamepad_start@common.gamepad_helper_start": { + "$gamepad_helper_visible_binding_name": "#is_using_gamepad_override" + } + }, + { + "gamepad_exit_panel@common.empty_panel": { + "size": [ 100, "100%sm" ], + "controls": [ + { + "gamepad_exit": { + "type": "label", + "color": "$f_color_format", + "text": "#emote_screen_exit", + "text_alignment": "center", + "bindings": [ + { + "binding_name": "#emote_screen_exit", + "binding_condition": "always" + }, + { + "binding_name": "#is_using_gamepad_override", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "instruction_label_keyboard": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ 300, 20 ], + "layer": 2, + "color": "$generic_button_text_color", + "text_alignment": "center", + "text": "emotes.instructions_keyboard", + "line_padding": 5.0, + "shadow": true, + "bindings": [ + { + "binding_name": "#is_using_mouse", + "binding_name_override": "#visible" + } + ] + } + }, + { + "instruction_label_touch": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ 300, 20 ], + "layer": 2, + "color": "$generic_button_text_color", + "text_alignment": "center", + "text": "emotes.instructions_touch", + "line_padding": 5.0, + "shadow": true, + "bindings": [ + { + "binding_name": "#is_touch_mode", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { + "dressing_room_button_panel": { + "type": "panel", + "size": [ "100%", 27 ], + "bindings": [ + { + "binding_name": "(not #is_using_gamepad_override)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "dressing_room_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.dressing_room", + "size": [ 120, 23 ], + "enabled": "(not $store_disabled)", + "$button_text": "emotes.change_emotes", + "$default_text_color": "$light_button_default_text_color", + + "focus_change_down": "FOCUS_OVERRIDE_STOP", + "focus_change_left": "emote_wheel", + "focus_change_right": "emote_wheel", + "bindings": [ + { + "binding_name": "#dressing_room_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + } + ] + }, + + "swap_emote_button@common_buttons.dark_text_button": { + "$pressed_button_name": "button.rebind_emote", + "size": [ "16%", "100%" ] + } +} diff --git a/resource_pack/ui/enchanting_screen.json b/resource_pack/ui/enchanting_screen.json new file mode 100644 index 0000000..daa9cb4 --- /dev/null +++ b/resource_pack/ui/enchanting_screen.json @@ -0,0 +1,426 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "enchanting", + + "enchanting_image": { + "type": "image" + }, + + "lapis_image@enchanting.enchanting_image": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 1, + "offset": [ 1, 1 ], + "size": [ 16, 16 ], + "texture": "textures/ui/lapis_image" + }, + + "dust_image@enchanting.enchanting_image": { + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "offset": [ 3, 0 ], + "size": [ 13, 11 ], + "bindings": [ + { + "binding_name": "$visibility_binding_name", + "binding_name_override": "#visible", + "binding_collection_name": "#enchant_buttons", + "binding_type": "collection" + } + ] + }, + + "dust_image_selectable@enchanting.dust_image": { + "texture": "$texture_selectable", + "layer": 23, + "$visibility_binding_name": "#selectable_dust_is_visible" + }, + + "dust_image_unselectable@enchanting.dust_image": { + "texture": "$texture_unselectable", + "layer": 23, + "$visibility_binding_name": "#unselectable_dust_is_visible" + }, + + "dust_template": { + "type": "panel", + "controls": [ + { "dust_image_selectable@enchanting.dust_image_selectable": {} }, + { "dust_image_unselectable@enchanting.dust_image_unselectable": {} } + ] + }, + + "dust_panel": { + "type": "grid", + "grid_dimensions": [ 1, 3 ], + "layer": 5, + "collection_name": "#enchant_buttons", + "controls": [ + { + "a@enchanting.dust_template": { + "grid_position": [ 0, 0 ], + "$texture_selectable": "textures/ui/dust_selectable_1", + "$texture_unselectable": "textures/ui/dust_unselectable_1" + } + }, + { + "b@enchanting.dust_template": { + "grid_position": [ 0, 1 ], + "$texture_selectable": "textures/ui/dust_selectable_2", + "$texture_unselectable": "textures/ui/dust_unselectable_2" + } + }, + { + "c@enchanting.dust_template": { + "grid_position": [ 0, 2 ], + "$texture_selectable": "textures/ui/dust_selectable_3", + "$texture_unselectable": "textures/ui/dust_unselectable_3" + } + } + ] + }, + + "background_with_hover_text@enchanting.enchanting_image": { + "controls": [ + { + "hover_text@common.hover_text": { + "bindings": [ + { + "binding_name": "#hover_text", + "binding_collection_name": "#enchant_buttons", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "dark_background@enchanting.enchanting_image": { + "texture": "textures/ui/enchanting_dark_background" + }, + + "dark_background_with_hover_text@enchanting.background_with_hover_text": { + "texture": "textures/ui/enchanting_dark_background" + }, + + "active_background@enchanting.enchanting_image": { + "texture": "textures/ui/enchanting_active_background" + }, + + "active_background_with_hover_text@enchanting.background_with_hover_text": { + "texture": "textures/ui/enchanting_active_background_with_hover_text" + }, + + "enchant_runes": { + "type": "label", + "color": "$enchanting_runes_color", + "shadow": false, + "layer": 1, + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "text": "#runes", + "offset": [ 18, 4 ], + "size": [ 84, 16 ], + "font_type": "rune", + "bindings": [ + { + "binding_collection_name": "#enchant_buttons", + "binding_name": "#runes", + "binding_type": "collection" + } + ] + }, + + "enchant_cost": { + "type": "label", + "color": "$enchanting_cost_success_color", + "shadow": true, + "offset": [ -2, -2 ], + "layer": 1, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "text": "#cost", + "bindings": [ + { + "binding_name": "#cost", + "binding_collection_name": "#enchant_buttons", + "binding_type": "collection" + } + ] + }, + + "success_runes@enchanting.enchant_runes": { + "color": "$enchanting_runes_color" + }, + + "fail_runes@enchanting.enchant_runes": { + "color": "$enchanting_runes_fail_color" + }, + + "success_cost@enchanting.enchant_cost": { + "color": "$enchanting_cost_success_color" + }, + + "fail_cost@enchanting.enchant_cost": { + "color": "$enchanting_cost_fail_color" + }, + + "enchanting_label": { + "type": "label", + "offset": [ 12, -4 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "$container_title", + "color": "$title_text_color", + "layer": 2 + }, + + "base_button@common.button": { + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "$visibility_binding_name", + "binding_name_override": "#visible", + "binding_collection_name": "#enchant_buttons", + "binding_type": "collection" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "#enchant_buttons" + } + ] + }, + + "unselectable_button@enchanting.base_button": { + "$visibility_binding_name": "#unselectable_button_visibility", + "sound_volume": 0.0, + "layer": 22, + "button_mappings": [], + "controls": [ + { "default@enchanting.dark_background": {} }, + { "hover@enchanting.dark_background_with_hover_text": {} }, + { "pressed@enchanting.dark_background": {} }, + { "rune_text@enchanting.fail_runes": {} }, + { "enchant_cost@enchanting.fail_cost": {} } + ] + }, + + "selectable_button@enchanting.base_button": { + "$visibility_binding_name": "#selectable_button_visibility", + "$focus_override_left": "enchanting_lapis", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "sound_volume": 0.0, + "layer": 22, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_ok", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.menu_ok", + "mapping_type": "focused", + "ignored": "(not $is_ps4)" + } + ], + "controls": [ + { "default@enchanting.active_background": {} }, + { "hover@enchanting.active_background_with_hover_text": {} }, + { "pressed@enchanting.dark_background": {} }, + { "rune_text@enchanting.fail_runes": {} }, + { "enchant_cost@enchanting.success_cost": {} } + ] + }, + + "enchant_button_panel": { + "type": "panel", + "size": [ "100%", "33.333333%" ], + "layer": 7, + "controls": [ + { "dark_background@enchanting.dark_background": {} }, + { "unselectable_button@enchanting.unselectable_button": {} }, + { "selectable_button@enchanting.selectable_button": {} } + ] + }, + + "enchanting_panel_top_half": { + "type": "panel", + "size": [ "100%", "50% - 12px" ], + "offset": [ 0, 7 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { "enchanting_label@enchanting.enchanting_label": {} }, + { + "enchanting_book_panel": { + "type": "panel", + "offset": [ 13, -12 ], + "size": [ 40, 40 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "enchanting_book": { + "type": "custom", + "renderer": "enchanting_book_renderer", + "layer": 13, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_name": "#open", + "binding_type": "global" + } + ] + } + } + ] + } + }, + { + "item_grid": { + "type": "grid", + "grid_dimensions": [ 1, 1 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 13, 14 ], + "size": [ 18, 18 ], + "collection_name": "enchanting_input_items", + "controls": [ + { + "item_slot@common.container_item": { + "grid_position": [ 0, 0 ], + "$item_collection_name": "enchanting_input_items" + } + } + ] + } + }, + { + "lapis_grid": { + "type": "grid", + "grid_dimensions": [ 1, 1 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 33, 14 ], + "size": [ 18, 18 ], + "collection_name": "enchanting_lapis_items", + "controls": [ + { + "lapis@common.container_item": { + "grid_position": [ 0, 0 ], + "$cell_overlay_ref": "enchanting.lapis_image", + "$item_collection_name": "enchanting_lapis_items", + + "$focus_id_binding_type": "none", + "$focus_id": "enchanting_lapis" + } + } + ] + } + }, + { + "grid_panel": { + "type": "panel", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ -8, 2 ], + "size": [ "65%-8px", "80%+4px" ], + "controls": [ + { + "indent@common.cell_image": { + "size": [ "100%+2px", "100%+2px" ] + } + }, + { + "dust_panel@enchanting.dust_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 10 + } + }, + { + "enchantments_grid": { + "type": "grid", + "collection_name": "#enchant_buttons", + "size": [ "100%", "100%" ], + "layer": 2, + "anchor_from": "center", + "anchor_to": "center", + "grid_dimensions": [ 1, 3 ], + "grid_item_template": "enchanting.enchant_button_panel" + } + } + ] + } + } + ] + }, + + "enchanting_panel": { + "type": "panel", + "$use_compact_close_button": true, + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "controls": [ + { "common_panel@common.common_panel": {} }, + { + "enchanting_screen_inventory": { + "type": "panel", + "layer": 5, + "controls": [ + { "enchanting_panel_top_half@enchanting.enchanting_panel_top_half": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + }, + "enchanting_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "close_on_player_hurt": "$close_on_player_hurt", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "enchanting.enchanting_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "$pocket_screen", + "$screen_content": "enchanting_pocket.enchanting_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + } + ] + } +} diff --git a/resource_pack/ui/enchanting_screen_pocket.json b/resource_pack/ui/enchanting_screen_pocket.json new file mode 100644 index 0000000..43e3ba7 --- /dev/null +++ b/resource_pack/ui/enchanting_screen_pocket.json @@ -0,0 +1,660 @@ +{ + "namespace": "enchanting_pocket", + + "generic_label": { + "type": "label", + "color": "$body_text_color", + "anchor_from": "center", + "anchor_to": "center", + "shadow": true + }, + + // Backgrounds // + + "background_image": { + "type": "image", + "size": [ "85%", "85%" ], + "texture": "textures/ui/background_panel" + }, + + // Inventory Grids // + + "inventory_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "maximum_grid_items": 36, + "collection_name": "combined_hotbar_and_inventory_items", + "grid_item_template": "common.pocket_ui_container_item", + "$item_collection_name": "combined_hotbar_and_inventory_items" + }, + + "inventory_content": { + "type": "panel", + "size": [ "100%-5px", "100%-5px" ], + "offset": [ "5px", "2px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$allow_scrolling_even_when_content_fits": false, + "$scrolling_pane_size": [ "100%", "100%-2px" ], + "$scrolling_content": "enchanting_pocket.inventory_grid", + "$scroll_box_mouse_image_control": "common-classic.button_state_default", + "$scroll_size": [ "8px", "100%" ] + } + } + ] + }, + + // Enchanting Slots Panel // + + "lapis_image@enchanting.enchanting_image": { + "anchor_to": "center", + "anchor_from": "center", + "size": [ 16, 16 ], + "texture": "textures/ui/lapis" + }, + + "enchanting_slots_panel": { + "type": "panel", + "size": [ 32, 67 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "input_slot@common.pocket_ui_large_container_item": { + "$item_collection_name": "enchanting_input_items", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "property_bag": { + "#start_selected": true + } + } + }, + { + "lapis_slot@common.pocket_ui_large_container_item": { + "$item_collection_name": "enchanting_lapis_items", + "$cell_overlay_ref": "enchanting_pocket.lapis_image", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + // Enchant Buttton // + + "enchant_text_runes@enchanting.enchant_runes": { + "size": [ "100% - 29px", "100% - 6px" ], + "color": "$enchanting_runes_fail_color" + }, + + "show_highlighted_slot_control@common.pocket_ui_highlight_selected_slot": { + "visible": false, + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#show_selected_button_highlight", + "binding_name_override": "#visible", + "binding_collection_name": "#enchant_buttons" + } + ] + }, + + "show_highlighted_hover_slot_control@common.pocket_ui_highlight_selected_slot": { + "visible": false, + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#show_selected_button_highlight", + "binding_name_override": "#visible", + "binding_collection_name": "#enchant_buttons" + } + ] + }, + + "inactive_background": { + "type": "image", + "texture": "textures/ui/pocket_button_pressed" + }, + + "unselectable_button@enchanting.unselectable_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.button_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { "default@enchanting.dark_background": {} }, + { "hover@enchanting.dark_background_with_hover_text": {} }, + { "pressed@enchanting.dark_background": {} }, + { + "enchant_cost@enchanting.fail_cost": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -3, -2 ] + } + } + ] + }, + + "selectable_button@enchanting.selectable_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.button_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { "default@enchanting.active_background": {} }, + { "hover@enchanting.active_background_with_hover_text": {} }, + { "pressed@enchanting.dark_background": {} }, + { + "enchant_cost@enchanting.success_cost": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -3, -2 ] + } + } + ] + }, + + "enchant_button_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "33% - 5px" ], + "controls": [ + { + "inactive_background@enchanting_pocket.inactive_background": { + "size": [ "100%", "100%" ] + } + }, + { + "unselectable_button@enchanting_pocket.unselectable_button": { + "size": [ "100%", "100%" ], + "layer": 22 + } + }, + { + "selectable_button@enchanting_pocket.selectable_button": { + "size": [ "100%", "100%" ], + "layer": 22 + } + }, + { + "dust@enchanting.dust_template": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 13, 11 ], + "offset": [ 1, 0 ], + "layer": 1 + } + }, + { + "rune_text@enchanting_pocket.enchant_text_runes": { + "layer": 23, + "offset": [ 20, 2 ] + } + }, + { "highlight@enchanting_pocket.show_highlighted_slot_control": { "layer": 3 } } + ] + }, + + // Enchant Selection Panel // + + "enchant_selection_panel": { + "type": "panel", + "size": [ "100%-34px", 72 ], + "offset": [ 0, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "grid": { + "type": "grid", + "collection_name": "#enchant_buttons", + "size": [ "100%", "100%" ], + "layer": 6, + "anchor_from": "center", + "anchor_to": "center", + "grid_dimensions": [ 1, 3 ], + "controls": [ + { + "button1@enchanting_pocket.enchant_button_panel": { + "grid_position": [ 0, 0 ], + "$texture_selectable": "textures/ui/dust_selectable_1", + "$texture_unselectable": "textures/ui/dust_unselectable_1" + } + }, + { + "button2@enchanting_pocket.enchant_button_panel": { + "grid_position": [ 0, 1 ], + "$texture_selectable": "textures/ui/dust_selectable_2", + "$texture_unselectable": "textures/ui/dust_unselectable_2" + } + }, + { + "button3@enchanting_pocket.enchant_button_panel": { + "grid_position": [ 0, 2 ], + "$texture_selectable": "textures/ui/dust_selectable_3", + "$texture_unselectable": "textures/ui/dust_unselectable_3" + } + } + ] + } + } + ] + }, + + + // Enchanting Confirm Panel // + + "item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "anchor_from": "center", + "anchor_to": "center", + "size": [ 16, 16 ] + }, + + "confirm_default_control": { + "type": "image", + "texture": "textures/ui/pocket_button_default" + }, + + "enchanting_confirm_button@common.button": { + "size": [ "100%", 30 ], + "focus_enabled": false, + "$pressed_button_name": "button.enchant", + + "controls": [ + { "default@enchanting_pocket.confirm_default_control": {} }, + { "hover@enchanting_pocket.confirm_default_control": {} }, + { + "pressed": { + "type": "image", + "texture": "textures/ui/pocket_button_pressed" + } + }, + { + "arrow_active": { + "type": "image", + "texture": "textures/ui/arrow_active", + "size": [ 22, 15 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#active_enchant", + "binding_name_override": "#visible" + } + ] + } + }, + { + "arrow_inactive": { + "type": "image", + "texture": "textures/ui/arrow_inactive", + "size": [ 22, 15 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#inactive_enchant", + "binding_name_override": "#visible" + } + ] + } + }, + { + "input_item_renderer@enchanting_pocket.item_renderer": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "offset": [ 5, 0 ], + "property_bag": { + "#filtered_light_multiplier": 0.5 + }, + "bindings": [ + { + "binding_name": "#input_item_id", + "binding_name_override": "#item_id_aux" + }, + { + "binding_name": "#inactive_enchant", + "binding_name_override": "#disabled_filter_visible" + } + ] + } + }, + { + "output_item_renderer@enchanting_pocket.item_renderer": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ -5, 0 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#output_item_id", + "binding_name_override": "#item_id_aux" + } + ] + } + } + ] + }, + + "enchanting_confirm_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "offset": [ 0, 0 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "confirm@enchanting_pocket.enchanting_confirm_button": { + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { + "enchantment_hint_text@enchanting_pocket.generic_label": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "text": "#text", + "bindings": [ + { + "binding_name": "#enchant_hint", + "binding_name_override": "#text" + } + ] + } + } + ] + }, + + // Enchanting Book Panel // + + "enchanting_book_contents_panel": { + "type": "panel", + "size": [ 40, 40 ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "enchanting_book": { + "type": "custom", + "renderer": "enchanting_book_renderer", + "animation_reset_name": "screen_animation_reset", + "layer": 0, + "offset": [ 0, 0 ], + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_name": "#open", + "binding_type": "global" + } + ] + } + }, + { + "player_level_label@enchanting_pocket.generic_label": { + "offset": [ 0, -9 ], + "font_type": "rune", + // This doesn't need loc because it is being converted to the rune font. + "text": "Level", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#player_level_color", + "binding_name_override": "#color" + } + ] + } + }, + { + "level_label@enchanting_pocket.generic_label": { + "text": "#text", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#player_level_info", + "binding_name_override": "#text" + }, + { + "binding_name": "#player_level_color", + "binding_name_override": "#color" + } + ] + } + } + ] + }, + + "enchanting_book_panel": { + "type": "panel", + "size": [ "100%", 40 ], + "controls": [ + { "enchanting_slots_panel@enchanting_pocket.enchanting_book_contents_panel": {} } + ] + }, + + + + "enchanting_slots_and_selection": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 67 ], + "controls": [ + { "enchanting_slots_panel@enchanting_pocket.enchanting_slots_panel": {} }, + { + "pad1": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { "enchant_selection_panel@enchanting_pocket.enchant_selection_panel": {} } + ] + }, + + + // Enchanting Panel // + + "enchanting_contents_panel": { + "type": "stack_panel", + "size": [ "85%", "95%" ], + "offset": [ 0, 0 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "fill1": { + "type": "panel", + "size": [ 0, "fill" ] + } + }, + { "enchanting_book_panel@enchanting_pocket.enchanting_book_panel": {} }, + { + "pad1": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { "enchanting_slots_and_selection@enchanting_pocket.enchanting_slots_and_selection": {} }, + { + "pad2": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { "enchanting_confirm_panel@enchanting_pocket.enchanting_confirm_panel": {} }, + { + "fill2": { + "type": "panel", + "size": [ 0, "fill" ] + } + } + ] + }, + + + + // Header // + + "header": { + "type": "panel", + "size": [ "100%", 28 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "header_background": { + "type": "image", + "texture": "textures/ui/header_bar_2" + } + }, + { "legacy_pocket_close_button@common.legacy_pocket_close_button": { "offset": [ -3, 3 ] } }, + { + "panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "title_label@enchanting_pocket.generic_label": { + "text": "$container_title", + "color": "$title_text_color", + "shadow": false, + "layer": 1 + } + } + ] + } + } + ] + }, + + // Layout Content Panels // + + "inventory_and_enchanting_panel": { + "type": "panel", + "controls": [ + { + "inventory_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "controls": [ + { "inventory_content@enchanting_pocket.inventory_content": {} } + ] + } + }, + { + "enchanting_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "controls": [ + { "enchanting_content@enchanting_pocket.enchanting_contents_panel": {} } + ] + } + } + ] + }, + + "header_and_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "85%", "85%" ], + "controls": [ + { "header@enchanting_pocket.header": { "layer": 2 } }, + { + "inventory_and_enchanting_panel@enchanting_pocket.inventory_and_enchanting_panel": { + "size": [ "100%", "fill" ] + } + } + ] + }, + + // Output error label // + + "anim_error_text_alpha": { + "anim_type": "alpha", + "easing": "in_expo", + "destroy_at_end": "item_text_label", + "duration": 2, + "from": 1.0, + "to": 0 + }, + "error_text_panel": { + "type": "panel", + "anchor_from": "bottom_middle", + "offset": [ 0, "-20%+10px" ], + "layer": 30, + "controls": [ + { + "item_text_label@enchanting_pocket.generic_label": { + "text": "#enchant_error", + "alpha": "@enchanting_pocket.anim_error_text_alpha" + } + } + ] + }, + + // Enchanting Screen // + + "enchanting_panel": { + "type": "panel", + "controls": [ + { "bg@enchanting_pocket.background_image": {} }, + { "root_panel@common.root_panel": { "size": [ "85%", "85%" ], "layer": 1 } }, + { "header_and_content_stack_panel@enchanting_pocket.header_and_content_stack_panel": {} }, + + { "container_gamepad_helpers@common.container_gamepad_helpers": { "layer": 2 } }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "hold_icon@common.inventory_take_progress_icon_button": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 12 } } + ] + } +} diff --git a/resource_pack/ui/encyclopedia_screen.json b/resource_pack/ui/encyclopedia_screen.json new file mode 100644 index 0000000..b18afd4 --- /dev/null +++ b/resource_pack/ui/encyclopedia_screen.json @@ -0,0 +1,4526 @@ +{ + "namespace": "encyclopedia", + + "encyclopedia_screen@how_to_play_common.screen_base": { + "$selector_stack_panel": "encyclopedia.encyclopedia_selector_stack_panel", + "$section_content_panels": "encyclopedia.encyclopedia_section_content_panels", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": true, + "$fill_alpha": 1.0 + }, + + "encyclopedia_selector_stack_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "$default_selector_toggle_index": 2, + "controls": [ + { + "how_to_play_selector_pane": { + "type": "stack_panel", + "controls": [ + // Place in display order + // Make sure the $toggle_group_forced_index values match the respective enum values in EncyclopediaScreenController.h + { "overworld_category@how_to_play_common.topic_category": { "$category": "overworld" } }, + { "armor_button@encyclopedia.armor_button": { "$toggle_group_forced_index": 0 } }, + { "armor_stand_button@encyclopedia.armor_stand_button": { "$toggle_group_forced_index": 1 } }, + { "banners_button@encyclopedia.banners_button": { "$toggle_group_forced_index": 2 } }, + { "beacons_button@encyclopedia.beacons_button": { "$toggle_group_forced_index": 3 } }, + { "beds_button@encyclopedia.beds_button": { "$toggle_group_forced_index": 4 } }, + { "blocks_button@encyclopedia.blocks_button": { "$toggle_group_forced_index": 5 } }, + { "book_and_quill_button@encyclopedia.book_and_quill_button": { "$toggle_group_forced_index": 6 } }, + { "chests_button@encyclopedia.chests_button": { "$toggle_group_forced_index": 7 } }, + { "conduits_button@encyclopedia.conduits_button": { "$toggle_group_forced_index": 8 } }, + { "dyes_button@encyclopedia.dyes_button": { "$toggle_group_forced_index": 9 } }, + { "farming_button@encyclopedia.farming_button": { "$toggle_group_forced_index": 10 } }, + { "fireworks_button@encyclopedia.fireworks_button": { "$toggle_group_forced_index": 11 } }, + { "fishing_button@encyclopedia.fishing_button": { "$toggle_group_forced_index": 12 } }, + { "jigsaw_blocks_button@encyclopedia.jigsaw_blocks_button": { "$toggle_group_forced_index": 13 } }, + { "mounts_button@encyclopedia.mounts_button": { "$toggle_group_forced_index": 14 } }, + { "navigation_button@encyclopedia.navigation_button": { "$toggle_group_forced_index": 15 } }, + { "nether_portals_button@encyclopedia.nether_portals_button": { "$toggle_group_forced_index": 16 } }, + { "pets_button@encyclopedia.pets_button": { "$toggle_group_forced_index": 17 } }, + { "raids_button@encyclopedia.raids_button": { "$toggle_group_forced_index": 18 } }, + { "ranching_button@encyclopedia.ranching_button": { "$toggle_group_forced_index": 19 } }, + { "scaffolding_button@encyclopedia.scaffolding_button": { "$toggle_group_forced_index": 20 } }, + { "structure_blocks_button@encyclopedia.structure_blocks_button": { "$toggle_group_forced_index": 21 } }, + { "tools_button@encyclopedia.tools_button": { "$toggle_group_forced_index": 22 } }, + { "transportation_button@encyclopedia.transportation_button": { "$toggle_group_forced_index": 23 } }, + { "trading_button@encyclopedia.trading_button": { "$toggle_group_forced_index": 24 } }, + { "weapons_button@encyclopedia.weapons_button": { "$toggle_group_forced_index": 25 } }, + + { "stands_and_tables_category@how_to_play_common.topic_category": { "$category": "standsAndTables" } }, + { "anvil_button@encyclopedia.anvil_button": { "$toggle_group_forced_index": 26 } }, + { "brewing_stand_button@encyclopedia.brewing_stand_button": { "$toggle_group_forced_index": 27 } }, + { "cauldron_button@encyclopedia.cauldron_button": { "$toggle_group_forced_index": 28 } }, + { "crafting_table_button@encyclopedia.crafting_table_button": { "$toggle_group_forced_index": 29 } }, + { "enchanting_table_button@encyclopedia.enchanting_table_button": { "$toggle_group_forced_index": 30 } }, + { "furnace_button@encyclopedia.furnace_button": { "$toggle_group_forced_index": 31 } }, + { "loom_button@encyclopedia.loom_button": { "$toggle_group_forced_index": 32 } }, + { "smithing_table_button@encyclopedia.smithing_table_button": { "$toggle_group_forced_index": 33 } }, + + { "redstone_engineering_category@how_to_play_common.topic_category": { "$category": "redstoneEngineering" } }, + { "droppers_button@encyclopedia.droppers_button": { "$toggle_group_forced_index": 34 } }, + { "dispensers_button@encyclopedia.dispensers_button": { "$toggle_group_forced_index": 35 } }, + { "hoppers_button@encyclopedia.hoppers_button": { "$toggle_group_forced_index": 36 } }, + { "jukebox_button@encyclopedia.jukebox_button": { "$toggle_group_forced_index": 37 } }, + { "redstone_button@encyclopedia.redstone_button": { "$toggle_group_forced_index": 38 } }, + + { "the_end_dimension_category@how_to_play_common.topic_category": { "$category": "theEndDimension" } }, + { "the_end_button@encyclopedia.the_end_button": { "$toggle_group_forced_index": 39 } }, + { "eye_of_ender_button@encyclopedia.eye_of_ender_button": { "$toggle_group_forced_index": 40 } }, + { "end_cities_button@encyclopedia.end_cities_button": { "$toggle_group_forced_index": 41 } }, + { "elytra_button@encyclopedia.elytra_button": { "$toggle_group_forced_index": 42 } }, + { "shulker_boxes_button@encyclopedia.shulker_boxes_button": { "$toggle_group_forced_index": 43 } }, + + { "options_and_cheats_category@how_to_play_common.topic_category": { "$category": "optionsAndCheats" } }, + { "game_settings_button@encyclopedia.game_settings_button": { "$toggle_group_forced_index": 44 } }, + { "difficulty_button@encyclopedia.difficulty_button": { "$toggle_group_forced_index": 45 } }, + { "adventure_mode_button@encyclopedia.adventure_mode_button": { "$toggle_group_forced_index": 46 } }, + { "creative_mode_button@encyclopedia.creative_mode_button": { "$toggle_group_forced_index": 47 } }, + { "commands_button@encyclopedia.commands_button": { "$toggle_group_forced_index": 48 } }, + { "host_and_player_options_button@encyclopedia.host_and_player_options_button": { "$toggle_group_forced_index": 49 } }, + { "command_blocks_button@encyclopedia.command_blocks_button": { "$toggle_group_forced_index": 50 } }, + + { + "realms_category@how_to_play_common.topic_category": { + "$category": "realms", + "ignored": "$education_edition" + } + }, + { + "realms_stories_button@encyclopedia.realms_stories_button": { + "$toggle_group_forced_index": 51, + "ignored": "$education_edition" + } + }, + + { + "marketplace_category@how_to_play_common.topic_category": { + "$category": "marketplace", + "ignored": "$education_edition" + } + }, + { + "minecoins_button@encyclopedia.minecoins_button": { + "$toggle_group_forced_index": 52, + "ignored": "$education_edition" + } + }, + { + "addons_button@encyclopedia.addons_button": { + "$toggle_group_forced_index": 53, + "ignored": "$education_edition" + } + }, + { + "worlds_button@encyclopedia.worlds_button": { + "$toggle_group_forced_index": 54, + "ignored": "$education_edition" + } + }, + { + "textures_button@encyclopedia.textures_button": { + "$toggle_group_forced_index": 55, + "ignored": "$education_edition" + } + }, + { + "skins_button@encyclopedia.skins_button": { + "$toggle_group_forced_index": 56, + "ignored": "$education_edition" + } + }, + { + "mashups_button@encyclopedia.mashups_button": { + "$toggle_group_forced_index": 57, + "ignored": "$education_edition" + } + } + ] + } + } + ] + }, + + "encyclopedia_section_content_panels": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 5px", "100%c + 5px" ], + "offset": [ 2, 0 ], + "controls": [ + { + "general_tips_sections": { + "type": "stack_panel", + "controls": [ + { + "section_contents_header@how_to_play_common.section_contents_header": {} + }, + // Placed in display order + { "armor_section@encyclopedia.armor_section": {} }, + { "armor_stand_section@encyclopedia.armor_stand_section": {} }, + { "banners_section@encyclopedia.banners_section": {} }, + { "beacons_section@encyclopedia.beacons_section": {} }, + { "beds_section@encyclopedia.beds_section": {} }, + { "blocks_section@encyclopedia.blocks_section": {} }, + { "book_and_quill_section@encyclopedia.book_and_quill_section": {} }, + { "chests_section@encyclopedia.chests_section": {} }, + { "conduits_section@encyclopedia.conduits_section": {} }, + { "dyes_section@encyclopedia.dyes_section": {} }, + { "farming_section@encyclopedia.farming_section": {} }, + { "fireworks_section@encyclopedia.fireworks_section": {} }, + { "fishing_section@encyclopedia.fishing_section": {} }, + { "jigsaw@encyclopedia.jigsaw_blocks_section": {} }, + { "mounts_section@encyclopedia.mounts_section": {} }, + { "navigation_section@encyclopedia.navigation_section": {} }, + { "nether_portals_section@encyclopedia.nether_portals_section": {} }, + { "pets_section@encyclopedia.pets_section": {} }, + { "raids_section@encyclopedia.raids_section": {} }, + { "ranching_section@encyclopedia.ranching_section": {} }, + { "scaffolding_section@encyclopedia.scaffolding_section": {} }, + { "structure_blocks_section@encyclopedia.structure_blocks_section": {} }, + { "tools_section@encyclopedia.tools_section": {} }, + { "transportation_section@encyclopedia.transportation_section": {} }, + { "trading_section@encyclopedia.trading_section": {} }, + { "weapons_section@encyclopedia.weapons_section": {} }, + + { "anvil_section@encyclopedia.anvil_section": {} }, + { "brewing_stand_section@encyclopedia.brewing_stand_section": {} }, + { "cauldron_section@encyclopedia.cauldron_section": {} }, + { "crafting_table_section@encyclopedia.crafting_table_section": {} }, + { "enchanting_table_section@encyclopedia.enchanting_table_section": {} }, + { "furnace_section@encyclopedia.furnace_section": {} }, + { "loom_section@encyclopedia.loom_section": {} }, + { "smithing_table_section@encyclopedia.smithing_table_section": {} }, + + { "droppers_section@encyclopedia.droppers_section": {} }, + { "dispensers_section@encyclopedia.dispensers_section": {} }, + { "hoppers_section@encyclopedia.hoppers_section": {} }, + { "jukebox_section@encyclopedia.jukebox_section": {} }, + { "redstone_section@encyclopedia.redstone_section": {} }, + + { "the_end_section@encyclopedia.the_end_section": {} }, + { "eye_of_ender_section@encyclopedia.eye_of_ender_section": {} }, + { "end_cities_section@encyclopedia.end_cities_section": {} }, + { "elytra_section@encyclopedia.elytra_section": {} }, + { "shulker_boxes_section@encyclopedia.shulker_boxes_section": {} }, + + { "game_settings_section@encyclopedia.game_settings_section": {} }, + { "difficulty_section@encyclopedia.difficulty_section": {} }, + { "adventure_mode_section@encyclopedia.adventure_mode_section": {} }, + { "creative_mode_section@encyclopedia.creative_mode_section": {} }, + { "commands_section@encyclopedia.commands_section": {} }, + { "host_and_player_options_section@encyclopedia.host_and_player_options_section": {} }, + { "command_blocks_section@encyclopedia.command_blocks_section": {} }, + + { "realms_stories_section@encyclopedia.realms_stories_section": { "ignored": "$education_edition" } }, + + { "minecoins_section@encyclopedia.minecoins_section": { "ignored": "$education_edition" } }, + { "addons_section@encyclopedia.addons_section": { "ignored": "$education_edition" } }, + { "worlds_section@encyclopedia.worlds_section": { "ignored": "$education_edition" } }, + { "textures_section@encyclopedia.textures_section": { "ignored": "$education_edition" } }, + { "skins_section@encyclopedia.skins_section": { "ignored": "$education_edition" } }, + { "mashups_section@encyclopedia.mashups_section": { "ignored": "$education_edition" } }, + + { + "section_contents_footer@how_to_play_common.section_contents_footer": {} + } + ] + } + } + ] + }, + + "adventure_mode_button@how_to_play_common.section_toggle_button": { + "$section_topic": "adventureMode" + }, + + "adventure_mode_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "adventureMode_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.adventureMode.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.adventureMode.text.2" + } + } + ] + }, + + "anvil_button@how_to_play_common.section_toggle_button": { + "$section_topic": "anvil" + }, + + "anvil_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "anvil_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.anvil.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.anvil.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.anvil.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.anvil.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.anvil.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.anvil.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.anvil.text.5" + } + } + ] + }, + + "armor_button@how_to_play_common.section_toggle_button": { + "$section_topic": "armor" + }, + + "armor_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "armor_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.armor.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.armor.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.armor.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.armor.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.armor.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.armor.header.2" + } + }, + { + "paragraph_5_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.armor.text.5.keyboard" + } + }, + { + "paragraph_5_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.armor.text.5.gamepad" + } + }, + { + "paragraph_5a_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.armor.text.5a.touch" + } + }, + { "padding_5a_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_5b_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.armor.text.5b.touch" + } + }, + { "padding_5b_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_5c_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.armor.text.5c.touch" + } + }, + { + "paragraph_5_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.armor.text.5.rift_controller" + } + }, + { + "paragraph_5_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.armor.text.5.windowsmr_controller" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.armor.text.6", + "bindings": [ + { + "binding_name": "('#pre_process_' + $text)" + }, + { + "binding_name": "(not #touch_being_used)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_6@how_to_play_common.padding": { + "bindings": [ + { + "binding_name": "(not #touch_being_used)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.armor.header.3" + } + }, + { + "paragraph_7@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.armor.text.7" + } + } + ] + }, + + "armor_stand_button@how_to_play_common.section_toggle_button": { + "$section_topic": "armorStand" + }, + + "armor_stand_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "armorStand_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.armorStand.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.armorStand.header.1" + } + }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.armorStand.text.2.notTouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.armorStand.text.2.notTouch" + } + }, + { + "paragraph_2_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.armorStand.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.armorStand.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.armorStand.text.3.notTouch" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.armorStand.text.3.notTouch" + } + }, + { + "paragraph_3_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.armorStand.text.3.notTouch" + } + }, + { + "paragraph_3_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.armorStand.text.3.touch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.armorStand.header.2" + } + }, + { + "paragraph_4_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.armorStand.text.4.notTouch" + } + }, + { + "paragraph_4_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.armorStand.text.4.notTouch" + } + }, + { + "paragraph_4_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.armorStand.text.4.notTouch" + } + }, + { + "paragraph_4_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.armorStand.text.4.touch" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.armorStand.header.3" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.armorStand.text.5" + } + } + ] + }, + + "banners_button@how_to_play_common.section_toggle_button": { + "$section_topic": "banners" + }, + + "banners_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "banners_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.banners.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.banners.header.2" + } + }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.banners.header.3" + } + }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.banners.text.9" + } + } + ] + }, + + "beacons_button@how_to_play_common.section_toggle_button": { + "$section_topic": "beacons" + }, + + "beacons_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "beacons_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.beacons.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.beacons.header.2" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.beacons.text.8" + } + } + ] + }, + + "conduits_button@how_to_play_common.section_toggle_button": { + "$section_topic": "conduits" + }, + + "conduits_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "conduits_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.conduits.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.conduits.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.conduits.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.conduits.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.conduits.text.4" + } + } + ] + }, + + "beds_button@how_to_play_common.section_toggle_button": { + "$section_topic": "beds" + }, + + "beds_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "beds_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.beds.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.beds.text.2.notTouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.beds.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.beds.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.beds.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.beds.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.beds.text.5" + } + } + ] + }, + + "blocks_button@how_to_play_common.section_toggle_button": { + "$section_topic": "blocks" + }, + + "blocks_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "blocks_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.blocks.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.blocks.header.2" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.blocks.text.9" + } + } + ] + }, + + "book_and_quill_button@how_to_play_common.section_toggle_button": { + "$section_topic": "bookAndQuill" + }, + + "book_and_quill_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "bookAndQuill_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.bookAndQuill.text.1" + } + } + ] + }, + + "brewing_stand_button@how_to_play_common.section_toggle_button": { + "$section_topic": "brewingStand" + }, + + "brewing_stand_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "brewingStand_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.brewingStand.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.brewingStand.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.brewingStand.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.brewingStand.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.brewingStand.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.brewingStand.text.4" + } + } + ] + }, + + "cauldron_button@how_to_play_common.section_toggle_button": { + "$section_topic": "cauldron" + }, + + "cauldron_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "cauldron_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.cauldron.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.cauldron.header.1" + } + }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.cauldron.text.2.notTouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.cauldron.text.2.notTouch" + } + }, + { + "paragraph_2_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.cauldron.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.cauldron.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.cauldron.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.cauldron.header.2" + } + }, + { + "paragraph_4_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.cauldron.text.4.notTouch" + } + }, + { + "paragraph_4_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.cauldron.text.4.notTouch" + } + }, + { + "paragraph_4_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.cauldron.text.4.notTouch" + } + }, + { + "paragraph_4_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.cauldron.text.4.touch" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.cauldron.header.3" + } + }, + { + "paragraph_5_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.cauldron.text.5.notTouch" + } + }, + { + "paragraph_5_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.cauldron.text.5.notTouch" + } + }, + { + "paragraph_5_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.cauldron.text.5.notTouch" + } + }, + { + "paragraph_5_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.cauldron.text.5.touch" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.cauldron.text.6" + } + } + ] + }, + + "chests_button@how_to_play_common.section_toggle_button": { + "$section_topic": "chests" + }, + + "chests_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "chests_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.chests.text.1.notTouch" + } + }, + { + "paragraph_1_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.chests.text.1.notTouch" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.chests.text.1.touch" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.chests.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.chests.text.3" + } + } + ] + }, + + "command_blocks_button@how_to_play_common.section_toggle_button": { + "$section_topic": "commandBlocks" + }, + + "command_blocks_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "commandBlocks_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.5" + } + }, + { + "paragraph_5_1@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.5.1" + } + }, + { + "paragraph_5_2@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.5.2" + } + }, + { + "paragraph_5_3@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.5.3" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.6" + } + }, + { + "paragraph_6_1@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.6.1" + } + }, + { + "paragraph_6_2@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.6.2" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.7" + } + }, + { + "paragraph_7_1@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.7.1" + } + }, + { + "paragraph_7_2@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.7.2" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.commandBlocks.text.8" + } + } + ] + }, + + "commands_button@how_to_play_common.section_toggle_button": { + "$section_topic": "commands" + }, + + "commands_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "commands_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.commands.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.commands.text.2" + } + } + ] + }, + "vr_button@how_to_play_common.section_toggle_button": { + "$section_topic": "vr" + }, + + "vr_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "vr_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.vr.header.1" + } + }, + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.vr.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.vr.text.2.gamepad" + } + }, + { + "paragraph_2_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.vr.text.2.rift_controller" + } + }, + { + "paragraph_2_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.vr.text.2.windowsmr_controller" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.vr.header.2" + } + }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.vr.text.3.keyboard" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.vr.text.3.gamepad" + } + }, + { + "paragraph_3_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.vr.text.3.rift_controller" + } + }, + { + "paragraph_3_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.vr.text.3.windowsmr_controller" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.4" + } + }, + { "padding_centerCursor@how_to_play_common.padding": {} }, + { + "header_centerCursor@how_to_play_common.header": { + "$text": "howtoplay.vr.header.centerCursor" + } + }, + { + "paragraph_centerCursor_1@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.centerCursor.1" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.vr.header.3" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.vr.text.7.keyboard" + } + }, + { + "paragraph_7_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.vr.text.7.gamepad" + } + }, + { + "paragraph_7_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.vr.text.7.rift_controller" + } + }, + { + "paragraph_7_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.vr.text.7.windowsmr_controller" + } + }, + { "padding_snapWheel@how_to_play_common.padding": {} }, + { + "paragraph_snapWheel_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.vr.text.snapWheel.keyboard" + } + }, + { + "paragraph_snapWheel_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.vr.text.snapWheel.gamepad" + } + }, + { + "paragraph_snapWheel_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.vr.text.snapWheel.rift_controller" + } + }, + { + "paragraph_snapWheel_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.vr.text.snapWheel.windowsmr_controller" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.vr.header.4" + } + }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "header_5@how_to_play_common.header": { + "$text": "howtoplay.vr.header.5" + } + }, + { + "paragraph_9_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.vr.text.9.keyboard" + } + }, + { + "paragraph_9_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.vr.text.9.gamepad" + } + }, + { + "paragraph_9_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.vr.text.9.rift_controller" + } + }, + { + "paragraph_9_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.vr.text.9.windowsmr_controller" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "header_6@how_to_play_common.header": { + "$text": "howtoplay.vr.header.6" + } + }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.10" + } + }, + { "padding_10@how_to_play_common.padding": {} }, + { + "header_7@how_to_play_common.header": { + "$text": "howtoplay.vr.header.7" + } + }, + { + "paragraph_11@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.11" + } + }, + { "padding_11@how_to_play_common.padding": {} }, + { + "paragraph_12@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.12" + } + }, + { "padding_12@how_to_play_common.padding": {} }, + { + "header_8@how_to_play_common.header": { + "$text": "howtoplay.vr.header.8" + } + }, + { + "paragraph_13@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.13" + } + }, + { "padding_13@how_to_play_common.padding": {} }, + { + "paragraph_14@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.14" + } + }, + { "padding_14@how_to_play_common.padding": {} }, + { + "header_9@how_to_play_common.header": { + "$text": "howtoplay.vr.header.9" + } + }, + { + "paragraph_15@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.15" + } + }, + { "padding_15@how_to_play_common.padding": {} }, + { + "header_10@how_to_play_common.header": { + "$text": "howtoplay.vr.header.10" + } + }, + { + "paragraph_16@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.16" + } + }, + { "padding_16@how_to_play_common.padding": {} }, + { + "paragraph_17@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.17" + } + }, + { "padding_17@how_to_play_common.padding": {} }, + { + "header_11@how_to_play_common.header": { + "$text": "howtoplay.vr.header.11" + } + }, + { + "paragraph_18@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.18" + } + }, + { + "padding_18@how_to_play_common.padding": { + "ignored": "(not $supports_hand_controllers)" + } + }, + { + "paragraph_19@how_to_play_common.paragraph": { + "ignored": "(not $supports_hand_controllers)", + "$text": "howtoplay.vr.text.19" + } + }, + { "padding_19@how_to_play_common.padding": {} }, + { + "paragraph_20@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.20" + } + }, + { "padding_20@how_to_play_common.padding": {} }, + { + "header_12@how_to_play_common.header": { + "$text": "howtoplay.vr.header.12" + } + }, + { + "paragraph_21@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.21" + } + }, + { "padding_21@how_to_play_common.padding": {} }, + { + "paragraph_22@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.22" + } + }, + { + "padding_22@how_to_play_common.padding": { + "ignored": "(not $supports_hand_controllers)" + } + }, + { + "paragraph_23@how_to_play_common.paragraph": { + "ignored": "(not $supports_hand_controllers)", + "$text": "howtoplay.vr.text.23" + } + }, + { + "padding_hud_distance@how_to_play_common.padding": {} + }, + { + "header_hud_distance@how_to_play_common.header": { + "$text": "howtoplay.vr.header.hudDistance" + } + }, + { + "paragraph_hud_distance_1@how_to_play_common.paragraph": { + "$text": "howtoplay.vr.text.hudDistance.1" + } + }, + { + "padding_24@how_to_play_common.padding": { + "ignored": "(not $supports_hand_controllers)" + } + }, + { + "header_14@how_to_play_common.header": { + "ignored": "(not $supports_hand_controllers)", + "$text": "howtoplay.vr.header.14" + } + }, + { + "paragraph_25@how_to_play_common.paragraph": { + "ignored": "(not $supports_hand_controllers)", + "$text": "howtoplay.vr.text.25" + } + } + ] + }, + + "crafting_table_button@how_to_play_common.section_toggle_button": { + "$section_topic": "craftingTable" + }, + + "crafting_table_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "craftingTable_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.craftingTable.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.craftingTable.text.2.notTouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.craftingTable.text.2.notTouch" + } + }, + { + "paragraph_2_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.craftingTable.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.craftingTable.text.2.touch" + } + } + ] + }, + + "creative_mode_button@how_to_play_common.section_toggle_button": { + "$section_topic": "creativeMode" + }, + + "creative_mode_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "creativeMode_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.creativeMode.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.creativeMode.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.creativeMode.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.creativeMode.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.creativeMode.header.2" + } + }, + { + "paragraph_4_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.creativeMode.text.4.keyboard" + } + }, + { + "paragraph_4_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.creativeMode.text.4.gamepad" + } + }, + { + "paragraph_4a_touch_joystick_tap@how_to_play_common.paragraph_touch_joystick_tap": { + "$text": "howtoplay.creativeMode.text.4a.touch.joystick_tap_and_crosshair" + } + }, + { + "paragraph_4a_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.creativeMode.text.4a.touch.classic_dpad" + } + }, + { + "paragraph_4a_touch_joystick_crosshair@how_to_play_common.paragraph_touch_joystick_crosshair": { + "$text": "howtoplay.creativeMode.text.4a.touch.joystick_tap_and_crosshair" + } + }, + { "padding_4a_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_4b_touch_joystick_tap@how_to_play_common.paragraph_touch_joystick_tap": { + "$text": "howtoplay.creativeMode.text.4b.touch.joystick_tap_and_crosshair" + } + }, + { + "paragraph_4b_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.creativeMode.text.4b.touch.classic_dpad" + } + }, + { + "paragraph_4b_touch_joystick_crosshair@how_to_play_common.paragraph_touch_joystick_crosshair": { + "$text": "howtoplay.creativeMode.text.4b.touch.joystick_tap_and_crosshair" + } + } + ] + }, + + "difficulty_button@how_to_play_common.section_toggle_button": { + "$section_topic": "difficulty" + }, + + "difficulty_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "difficulty_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.difficulty.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.difficulty.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.difficulty.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.difficulty.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.difficulty.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.difficulty.header.3" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.difficulty.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.difficulty.header.4" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.difficulty.text.5" + } + } + ] + }, + + "dispensers_button@how_to_play_common.section_toggle_button": { + "$section_topic": "dispensers" + }, + + "dispensers_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "dispensers_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.dispensers.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.dispensers.text.2.notTouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.dispensers.text.2.notTouch" + } + }, + { + "paragraph_2_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.dispensers.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.dispensers.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.dispensers.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.dispensers.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.dispensers.text.4" + } + } + ] + }, + + "droppers_button@how_to_play_common.section_toggle_button": { + "$section_topic": "droppers" + }, + + "droppers_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "droppers_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.droppers.text.1.notTouch" + } + }, + { + "paragraph_1_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.droppers.text.1.notTouch" + } + }, + { + "paragraph_1_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.droppers.text.1.notTouch" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.droppers.text.1.touch" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.droppers.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.droppers.text.2" + } + } + ] + }, + + "dyes_button@how_to_play_common.section_toggle_button": { + "$section_topic": "dyes" + }, + + "dyes_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "dyes_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.dyes.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.dyes.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.dyes.text.4" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.dyes.text.3" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.dyes.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.dyes.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.dyes.text.7" + } + } + ] + }, + + "elytra_button@how_to_play_common.section_toggle_button": { + "$section_topic": "elytra" + }, + + "elytra_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "elytra_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.elytra.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.elytra.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.elytra.header.1" + } + }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.elytra.text.3.notTouch" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.elytra.text.3.notTouch" + } + }, + { + "paragraph_3_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.elytra.text.3.notTouch" + } + }, + { + "paragraph_3_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.elytra.text.3.touch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.elytra.text.4" + } + }, + { + "paragraph_4_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.elytra.text.4.touch" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.elytra.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.elytra.header.2" + } + }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.elytra.text.6" + } + } + ] + }, + + "enchanting_table_button@how_to_play_common.section_toggle_button": { + "$section_topic": "enchantingTable" + }, + + "enchanting_table_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "enchantingTable_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.enchantingTable.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.enchantingTable.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.enchantingTable.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.enchantingTable.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.enchantingTable.header.2" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.enchantingTable.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.enchantingTable.header.3" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.enchantingTable.text.5" + } + } + ] + }, + + "end_cities_button@how_to_play_common.section_toggle_button": { + "$section_topic": "endCities" + }, + + "end_cities_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "endCities_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.endCities.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.endCities.text.2" + } + } + ] + }, + + "eye_of_ender_button@how_to_play_common.section_toggle_button": { + "$section_topic": "eyeOfEnder" + }, + + "eye_of_ender_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "eyeOfEnder_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.eyeOfEnder.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.eyeOfEnder.text.2" + } + } + ] + }, + + "farming_button@how_to_play_common.section_toggle_button": { + "$section_topic": "farming" + }, + + "farming_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "farming_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.farming.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.farming.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.farming.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.farming.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.farming.header.2" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.farming.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.farming.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.farming.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.farming.text.7" + } + } + ] + }, + + "fireworks_button@how_to_play_common.section_toggle_button": { + "$section_topic": "fireworks" + }, + + "fireworks_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "fireworks_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.fireworks.header.1" + } + }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.fireworks.text.3.notTouch" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.fireworks.text.3.notTouch" + } + }, + { + "paragraph_3_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.fireworks.text.3.touch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.fireworks.header.2" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.6" + } + }, + { "padding_5a@how_to_play_common.padding": {} }, + { + "paragraph_6_1@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.6.1" + } + }, + { "padding_5b@how_to_play_common.padding": {} }, + { + "paragraph_6_2@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.6.2" + } + }, + { "padding_5c@how_to_play_common.padding": {} }, + { + "paragraph_6_3@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.6.3" + } + }, + { "padding_5d@how_to_play_common.padding": {} }, + { + "paragraph_6_4@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.6.4" + } + }, + { "padding_5e@how_to_play_common.padding": {} }, + { + "paragraph_6_5@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.6.5" + } + }, + { "padding_5f@how_to_play_common.padding": {} }, + { + "paragraph_6_6@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.6.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.fireworks.header.3" + } + }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.fireworks.text.7" + } + } + ] + }, + + "jigsaw_blocks_button@how_to_play_common.section_toggle_button": { + "$section_topic": "jigsawBlocks" + }, + + "jigsaw_blocks_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "jigsawBlocks_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.jigsawBlocks.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.jigsawBlocks.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.jigsawBlocks.text.9" + } + } + ] + }, + + "fishing_button@how_to_play_common.section_toggle_button": { + "$section_topic": "fishing" + }, + + "fishing_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "fishing_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.fishing.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.fishing.header.1" + } + }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.fishing.text.2.notTouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.fishing.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.fishing.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.fishing.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.fishing.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.fishing.text.4.notTouch" + } + }, + { + "paragraph_4_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.fishing.text.4.notTouch" + } + }, + { + "paragraph_4_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.fishing.text.4.notTouch" + } + }, + { + "paragraph_4_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.fishing.text.4.touch" + } + } + ] + }, + + "furnace_button@how_to_play_common.section_toggle_button": { + "$section_topic": "furnace" + }, + + "furnace_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "furnace_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.furnace.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.furnace.text.2.notTouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.furnace.text.2.notTouch" + } + }, + { + "paragraph_2_vr@how_to_play_common.paragraph_vr": { + "$text": "howtoplay.furnace.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.furnace.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.furnace.text.3" + } + } + ] + }, + + "game_settings_button@how_to_play_common.section_toggle_button": { + "$section_topic": "gameSettings" + }, + + "game_settings_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gameSettings_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.gameSettings.header.1" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.7" + } + }, + { + "paragraph_7_1@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.7.1" + } + }, + { + "paragraph_7_2@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.7.2" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.gameSettings.header.2" + } + }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.9" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.10" + } + }, + { "padding_10@how_to_play_common.padding": {} }, + { + "paragraph_11@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.11" + } + }, + { "padding_11@how_to_play_common.padding": {} }, + { + "paragraph_12@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.12" + } + }, + { "padding_12@how_to_play_common.padding": {} }, + { + "paragraph_13@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.13" + } + }, + { "padding_13@how_to_play_common.padding": {} }, + { + "paragraph_14@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.14" + } + }, + { "padding_14@how_to_play_common.padding": {} }, + { + "paragraph_15@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.15" + } + }, + { "padding_15@how_to_play_common.padding": {} }, + { + "paragraph_16@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.16" + } + }, + { "padding_16@how_to_play_common.padding": {} }, + { + "paragraph_17@how_to_play_common.paragraph": { + "$text": "howtoplay.gameSettings.text.17" + } + } + ] + }, + + "hoppers_button@how_to_play_common.section_toggle_button": { + "$section_topic": "hoppers" + }, + + "hoppers_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "hoppers_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.hoppers.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.hoppers.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.hoppers.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.hoppers.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.hoppers.text.4" + } + } + ] + }, + + "host_and_player_options_button@how_to_play_common.section_toggle_button": { + "$section_topic": "hostAndPlayerOptions" + }, + + "host_and_player_options_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "hostAndPlayerOptions_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.hostAndPlayerOptions.text.1.notTouch" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.hostAndPlayerOptions.text.1.touch" + } + } + ] + }, + + "jukebox_button@how_to_play_common.section_toggle_button": { + "$section_topic": "jukebox" + }, + + "jukebox_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "jukebox_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.jukebox.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.jukebox.header.1" + } + }, + { + "paragraph_2_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.jukebox.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.jukebox.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.jukebox.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.jukebox.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.jukebox.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.jukebox.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.jukebox.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.jukebox.header.3" + } + }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.jukebox.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.jukebox.text.8" + } + } + ] + }, + + "loom_button@how_to_play_common.section_toggle_button": { + "$section_topic": "loom" + }, + + "loom_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "loom_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.loom.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.loom.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.loom.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.loom.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.loom.header.2" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.loom.text.4" + } + } + ] + }, + + + "realms_stories_button@how_to_play_common.section_toggle_button": { + "$section_topic": "realms_stories" + }, + + "realms_stories_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "realms_stories_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.realms_stories.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.realms_stories.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.realms_stories.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.realms_stories.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.realms_stories.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.realms_stories.header.3" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.realms_stories.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.realms_stories.header.4" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.realms_stories.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "header_5@how_to_play_common.header": { + "$text": "howtoplay.realms_stories.header.5" + } + }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.realms_stories.text.6" + } + } + ] + }, + + "smithing_table_button@how_to_play_common.section_toggle_button": { + "$section_topic": "smithing_table" + }, + + "smithing_table_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "smithing_table_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.smithing_table.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.smithing_table.header.2" + } + }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.smithing_table.text.9" + } + } + ] + }, + + "mounts_button@how_to_play_common.section_toggle_button": { + "$section_topic": "mounts" + }, + + "mounts_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "mounts_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.mounts.header.1" + } + }, + { + "paragraph_3_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.mounts.text.3.notTouch" + } + }, + { + "paragraph_3_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.mounts.text.3.touch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.mounts.header.2" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_6b@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.6b" + } + }, + { "padding_6b@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.mounts.header.3" + } + }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.9" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.10" + } + }, + { "padding_10@how_to_play_common.padding": {} }, + { + "paragraph_11@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.11" + } + }, + { "padding_11@how_to_play_common.padding": {} }, + { + "paragraph_12@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.12" + } + }, + { "padding_12@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.mounts.header.4" + } + }, + { + "paragraph_13@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.13" + } + }, + { "padding_13@how_to_play_common.padding": {} }, + { + "paragraph_14@how_to_play_common.paragraph": { + "$text": "howtoplay.mounts.text.14" + } + }, + { "padding_14@how_to_play_common.padding": {} }, + { + "header_5@how_to_play_common.header": { + "$text": "howtoplay.mounts.header.5" + } + }, + { + "paragraph_15_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.mounts.text.15.notTouch" + } + }, + { + "paragraph_15a_touch@how_to_play_common.paragraph_touch_classic_dpad_spacing": { + "$text": "howtoplay.mounts.text.15a.touch" + } + }, + { "padding_15@how_to_play_common.small_padding": {} }, + { + "paragraph_15b_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.mounts.text.15b.touch" + } + } + ] + }, + + "navigation_button@how_to_play_common.section_toggle_button": { + "$section_topic": "navigation" + }, + + "navigation_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "navigation_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.navigation.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.navigation.header.2" + } + }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.9" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.navigation.header.3" + } + }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.navigation.text.10" + } + } + ] + }, + + "nether_portals_button@how_to_play_common.section_toggle_button": { + "$section_topic": "netherPortals" + }, + + "nether_portals_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "netherPortals_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.netherPortals.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.netherPortals.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.netherPortals.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "image_1@how_to_play_common.image": { + "texture": "textures/ui/NetherPortal", + "size": [ "100%", "96px" ] + } + } + ] + }, + + "pets_button@how_to_play_common.section_toggle_button": { + "$section_topic": "pets" + }, + + "pets_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "pets_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.pets.header.1" + } + }, + { + "paragraph_1_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.pets.text.1.notTouch" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.pets.text.1.touch" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.pets.header.2" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.pets.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.pets.header.3" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.pets.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.pets.header.4" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.pets.text.4" + } + } + ] + }, + + "raids_button@how_to_play_common.section_toggle_button": { + "$section_topic": "raids" + }, + + "raids_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "raids_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.raids.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.raids.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.raids.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.raids.text.3" + } + } + ] + }, + + "ranching_button@how_to_play_common.section_toggle_button": { + "$section_topic": "ranching" + }, + + "ranching_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "ranching_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.ranching.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.ranching.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.ranching.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.ranching.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.ranching.header.2" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.ranching.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.ranching.text.5" + } + } + ] + }, + + "redstone_button@how_to_play_common.section_toggle_button": { + "$section_topic": "redstone" + }, + + "redstone_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "redstone_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.redstone.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.redstone.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.redstone.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.redstone.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.redstone.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.redstone.text.5" + } + } + ] + }, + + "scaffolding_button@how_to_play_common.section_toggle_button": { + "$section_topic": "scaffolding" + }, + + "scaffolding_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "scaffolding_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.scaffolding.header.1" + } + }, + { + "paragraph_1_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.scaffolding.text.1.keyboard" + } + }, + { + "paragraph_1_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.scaffolding.text.1.gamepad" + } + }, + { + "paragraph_1a_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.scaffolding.text.1a.touch" + } + }, + { "padding_1a_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_1b_touch@how_to_play_common.paragraph_touch_classic_dpad_spacing": { + "$text": "howtoplay.scaffolding.text.1b.touch" + } + }, + { "padding_1b_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_1c_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.scaffolding.text.1c.touch" + } + }, + { + "paragraph_1_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.scaffolding.text.1.rift_controller" + } + }, + { + "paragraph_1_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.scaffolding.text.1.windowsmr_controller" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.scaffolding.header.2" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.scaffolding.text.2" + } + }, + { + "image_1@how_to_play_common.image": { + "texture": "textures/ui/Scaffolding", + "size": [ "100%", "250px" ] + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.scaffolding.header.3" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.scaffolding.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} } + ] + }, + + "structure_blocks_button@how_to_play_common.section_toggle_button": { + "$section_topic": "structureBlocks" + }, + + "structure_blocks_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "structureBlocks_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.structureBlocks.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.structureBlocks.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.structureBlocks.header.3" + } + }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "paragraph_9_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.structureBlocks.text.9.keyboard" + } + }, + { + "paragraph_9_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.structureBlocks.text.9.gamepad" + } + }, + { + "paragraph_9_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.structureBlocks.text.9.touch" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.structureBlocks.header.4" + } + }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.10" + } + }, + { "padding_10@how_to_play_common.padding": {} }, + { + "header_5@how_to_play_common.header": { + "$text": "howtoplay.structureBlocks.header.5" + } + }, + { + "paragraph_11@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.11" + } + }, + { "padding_11@how_to_play_common.padding": {} }, + { + "paragraph_12@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.12" + } + }, + { "padding_12@how_to_play_common.padding": {} }, + { + "paragraph_13@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.13" + } + }, + { "padding_13@how_to_play_common.padding": {} }, + { + "header_6@how_to_play_common.header": { + "$text": "howtoplay.structureBlocks.header.6" + } + }, + { + "paragraph_14@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.14" + } + }, + { "padding_14@how_to_play_common.padding": {} }, + { + "paragraph_15@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.15" + } + }, + { "padding_15@how_to_play_common.padding": {} }, + { + "header_7@how_to_play_common.header": { + "$text": "howtoplay.structureBlocks.header.7" + } + }, + { + "paragraph_16@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.16" + } + }, + { "padding_16@how_to_play_common.padding": {} }, + { + "paragraph_17@how_to_play_common.paragraph": { + "$text": "howtoplay.structureBlocks.text.17" + } + } + ] + }, + + "shulker_boxes_button@how_to_play_common.section_toggle_button": { + "$section_topic": "shulkerBoxes" + }, + + "shulker_boxes_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "shulkerBoxes_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.shulkerBoxes.text.1" + } + } + ] + }, + + "the_end_button@how_to_play_common.section_toggle_button": { + "$section_topic": "theEnd" + }, + + "the_end_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "theEnd_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.theEnd.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.theEnd.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.theEnd.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.theEnd.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.theEnd.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.theEnd.text.5" + } + } + ] + }, + + "tools_button@how_to_play_common.section_toggle_button": { + "$section_topic": "tools" + }, + + "tools_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "tools_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.tools.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.tools.text.5.notTouch" + } + }, + { + "paragraph_5_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.tools.text.5.touch" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.tools.text.6.notTouch" + } + }, + { + "paragraph_6_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.tools.text.6.touch" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.tools.header.2" + } + }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.9" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.10" + } + }, + { "padding_10@how_to_play_common.padding": {} }, + { + "paragraph_11@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.11" + } + }, + { "padding_11@how_to_play_common.padding": {} }, + { + "paragraph_12@how_to_play_common.paragraph": { + "$text": "howtoplay.tools.text.12" + } + } + ] + }, + + "trading_button@how_to_play_common.section_toggle_button": { + "$section_topic": "trading" + }, + + "trading_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "trading_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.trading.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.trading.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.trading.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.trading.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.trading.text.4" + } + } + ] + }, + + "transportation_button@how_to_play_common.section_toggle_button": { + "$section_topic": "transportation" + }, + + "transportation_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "transportation_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.transportation.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.transportation.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.transportation.text.2" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.transportation.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.transportation.text.3.keyboard" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.transportation.text.3.gamepad" + } + }, + { + "paragraph_3a_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.transportation.text.3a.touch" + } + }, + { "padding_3a@how_to_play_common.padding": {} }, + { + "paragraph_3b_touch@how_to_play_common.paragraph_touch_classic_dpad_spacing": { + "$text": "howtoplay.transportation.text.3b.touch" + } + }, + { "padding_3b@how_to_play_common.padding": {} }, + { + "paragraph_3c_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.transportation.text.3c.touch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.transportation.header.2" + } + }, + { + "paragraph_4@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.transportation.text.4" + } + }, + { + "paragraph_4_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.transportation.text.4.touch" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.transportation.text.5.keyboard" + } + }, + { + "paragraph_5_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.transportation.text.5.gamepad" + } + }, + { + "paragraph_5a_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.transportation.text.5a.touch" + } + }, + { "padding_5a@how_to_play_common.padding": {} }, + { + "paragraph_5b_touch@how_to_play_common.paragraph_touch_classic_dpad_spacing": { + "$text": "howtoplay.transportation.text.5b.touch" + } + }, + { "padding_5b@how_to_play_common.padding": {} }, + { + "paragraph_5c_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.transportation.text.5c.touch" + } + } + ] + }, + + "weapons_button@how_to_play_common.section_toggle_button": { + "$section_topic": "weapons" + }, + + "weapons_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "weapons_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.weapons.header.1" + } + }, + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.weapons.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.weapons.text.2.notTouch" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.weapons.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.weapons.header.2" + } + }, + { + "paragraph_3_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.weapons.text.3.notTouch" + } + }, + { + "paragraph_3_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.weapons.text.3.touch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.weapons.text.4" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.weapons.header.3" + } + }, + { + "paragraph_5_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.weapons.text.5.notTouch" + } + }, + { + "paragraph_5a_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.weapons.text.5a.touch" + } + }, + { "padding_5a_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_5b_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.weapons.text.5b.touch" + } + }, + { "padding_5b_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_5c_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.weapons.text.5c.touch" + } + }, + { "padding_5c_touch@how_to_play_common.touch_padding": {} }, + { + "paragraph_5d_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.weapons.text.5d.touch" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.weapons.header.4" + } + }, + { + "paragraph_6_not_touch@how_to_play_common.paragraph_not_touch": { + "$text": "howtoplay.weapons.text.6.notTouch" + } + }, + { + "paragraph_6_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.weapons.text.6.touch" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "header_5@how_to_play_common.header": { + "$text": "howtoplay.weapons.header.5" + } + }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.weapons.text.7" + } + } + ] + }, + + "minecoins_button@how_to_play_common.section_toggle_button": { + "$section_topic": "minecoins" + }, + + "minecoins_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "minecoins_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.minecoins.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.minecoins.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "get_minecoins_button@common_buttons.light_text_button": { + "size": [ "100px", "30px" ], + "$button_text": "howtoplay.minecoins.button.text.1", + "$pressed_button_name": "button.coin_wallet" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.minecoins.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.minecoins.text.3" + } + } + ] + }, + + "addons_button@how_to_play_common.section_toggle_button": { + "$section_topic": "addons" + }, + + "addons_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "addons_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.addons.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.addons.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.addons.header.1" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.addons.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.addons.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.addons.text.5" + } + }, + { + "addons_faq_button@common_buttons.light_text_button": { + "size": [ "100px", "30px" ], + "$button_text": "howtoplay.addons.button.text.1", + "$pressed_button_name": "button.addons_faq" + } + } + ] + }, + + "worlds_button@how_to_play_common.section_toggle_button": { + "$section_topic": "worlds" + }, + + "worlds_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "worlds_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.worlds.header.1" + } + }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.worlds.header.2" + } + }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.8" + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.worlds.header.3" + } + }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.9" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.10" + } + }, + { "padding_10@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.worlds.header.4" + } + }, + { + "paragraph_11@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.11" + } + }, + { "padding_11@how_to_play_common.padding": {} }, + { + "paragraph_12@how_to_play_common.paragraph": { + "$text": "howtoplay.worlds.text.12" + } + }, + { "padding_12@how_to_play_common.padding": {} } + ] + }, + + "textures_button@how_to_play_common.section_toggle_button": { + "$section_topic": "textures" + }, + + "textures_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "textures_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.textures.text.1" + } + } + ] + }, + + "skins_button@how_to_play_common.section_toggle_button": { + "$section_topic": "skins" + }, + + "skins_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "skins_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.skins.text.1" + } + } + ] + }, + + "mashups_button@how_to_play_common.section_toggle_button": { + "$section_topic": "mashups" + }, + + "mashups_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "mashups_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.mashups.text.1" + } + } + ] + } +} diff --git a/resource_pack/ui/expanded_skin_pack_screen.json b/resource_pack/ui/expanded_skin_pack_screen.json new file mode 100644 index 0000000..21c870a --- /dev/null +++ b/resource_pack/ui/expanded_skin_pack_screen.json @@ -0,0 +1,856 @@ +{ + "namespace": "expanded_skin_pack", + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners" + }, + + "title_label": { + "type": "label", + "size": [ "default", "default" ], + "color": "$title_text_color" + }, + + "label": { + "type": "label", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ], + "color": "$main_header_text_color" + }, + + "undo_image": { + "type": "image", + "texture": "textures/ui/undoArrow", + "color": "$custom_color", + "size": [ 14, 14 ] + }, + + "lock_icon": { + "type": "image", + "size": [ 8, 8 ], + "texture": "textures/ui/lock" + }, + + "skin_button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "layer": 3, + "hover_control": "hover", + "pressed_control": "pressed", + "$highlight_size|default": [ "100% - 1px", "100% - 2px" ], + "controls": [ + { + "hover@common.focus_border_white": { + "size": "$highlight_size" + } + }, + { + "pressed@common.focus_border_white": { + "size": "$highlight_size" + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Preview Skin + //-------------------------------------------------------------------------------- + + "skin_rotation_arrows": { + "type": "image", + "layer": 6, + "texture": "textures/ui/Rotate", + "color": [ 0.6, 0.6, 0.6 ] + }, + + "skin_viewer_panel": { + "type": "input_panel", + "layer": 3, + "anchor_from": "top_left", + "anchor_to": "top_left", + "gesture_tracking_button": "button.turn_doll", + "always_handle_controller_direction": true, + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "skin_model_panel": { + "type": "panel", + "size": [ "100%", "76%" ], + "offset": [ 0, -38 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + + "controls": [ + { + "skin_model": { + "type": "custom", + "renderer": "paper_doll_renderer", + "layer": 5, + "use_selected_skin": false, + "use_skin_gui_scale": true, + "use_player_paperdoll": true, + "rotation": "gesture_x", + + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@expanded_skin_pack.screen_exit_size_animation_push", + "@expanded_skin_pack.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#preview_skin" + }, + { + "binding_type": "view", + "source_control_name": "preview", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "preview", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + } + } + ] + } + }, + { + "lock@expanded_skin_pack.lock_icon": { + "size": [ 16, 16 ], + "offset": [ -48, -6 ], + "layer": 6, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_name": "#show_preview_skin_lock", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "undo_skin_button@common_buttons.light_glyph_button": { + "$pressed_button_name": "button.undo", + "$button_content": "expanded_skin_pack.undo_image", + "bindings": [ + { + "binding_name": "#undo_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "confirm_skin_button@common_buttons.light_text_button": { + "$button_text": "skins.picker.accept.button", + "$pressed_button_name": "button.confirm", + "bindings": [ + { + "binding_name": "#confirm_skin_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "stack_item": { + "type": "panel" + }, + + "accept_skin_panel": { + "type": "stack_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "orientation": "horizontal", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 0, -2 ], + "controls": [ + { + "stack_item_0@stack_item": { + "size": [ "25%", "100%" ], + "controls": [ + { + "undo_btn@undo_skin_button": { + "default_focus_precedence": 0, + "size": [ "100%", "100%" ], + "offset": [ 0, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 2, + "$focus_id": "undo_focus_id" + } + } + ] + } + }, + { + "stack_item_1@stack_item": { + "size": [ "75% + 1px", "100%" ], + "controls": [ + { + "confirm_button@confirm_skin_button": { + "default_focus_precedence": 1, + "size": [ "100%", "100%" ], + "offset": [ -1, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#delay_right_side_buttons_visible", + "binding_name_override": "#visible" + } + ] + }, + + "preview_skin_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 2, 0 ], + "size": [ "100%", "100% - 2px" ], + "controls": [ + { + "preview@expanded_skin_pack.skin_viewer_panel": { + "size": [ "100%", "100% - 48px" ] + } + }, + { + "button_frame": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", 50 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "stack_item_0@expanded_skin_pack.stack_item": { + "size": [ "100%", 12 ], + "controls": [ + { + "rotation@expanded_skin_pack.skin_rotation_arrows": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "50%", "100% - 4px" ] + } + } + ] + } + }, + { + "stack_item_1@expanded_skin_pack.stack_item": { + "size": [ "100%", "fill" ], + "controls": [ + { "accept@expanded_skin_pack.accept_skin_panel": {} } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_owned", + "binding_name_override": "#visible" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Change Skins Panel + //-------------------------------------------------------------------------------- + + "skin_model": { + "type": "custom", + "renderer": "paper_doll_renderer", + "layer": 5, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", "100%" ], + "offset": [ 0, -10 ], + "use_selected_skin": false, + "enable_scissor_test": true, + "animation_reset_name": "screen_animation_reset", + "$skin_model_animations|default": [], + "variables": [ + { + "requires": "$screen_transitions_enabled", + "$skin_model_animations": [ + "@expanded_skin_pack.screen_exit_size_animation_push", + "@expanded_skin_pack.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ] + } + ], + + "anims": "$skin_model_animations", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "skin_pack_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "skin_pack_collection", + "binding_name": "#skin_index" + } + ] + }, + + "screen_exit_size_animation_push": { + "anim_type": "size", + "easing": "out_cubic", + "duration": "$transition_time_push_size", + "from": [ 0, 0 ], + "to": [ 0, 0 ], + "play_event": "screen.exit_push", + "reset_event": "screen_animation_reset" + }, + + "screen_exit_size_animation_pop": { + "anim_type": "size", + "easing": "out_cubic", + "duration": "$transition_time_pop_size", + "from": [ 0, 0 ], + "to": [ 0, 0 ], + "play_event": "screen.exit_pop", + "reset_event": "screen_animation_reset" + }, + + //-------------------------------------------------------------------------------- + // Scrolling Skins Panel + //-------------------------------------------------------------------------------- + + "scrolling_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "padding_0@common.empty_panel": { + "size": [ "100%", 10 ] + } + }, + { + "pack_info_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "pack_info_panel@expanded_skin_pack.pack_info_panel": {} + } + ] + } + }, + { + "skin_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "skins_grid@expanded_skin_pack.skins_grid": {} + } + ] + } + } + ] + }, + + "pack_info_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 25px", 20 ], + "offset": [ 17, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "lock_icon_panel": { + "ignored": "$education_edition", + "type": "panel", + "size": [ 8, "100%" ], + "controls": [ + { + "lock_icon@expanded_skin_pack.lock_icon": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ -1, 1 ], + "bindings": [ + { + "binding_name": "(not #is_owned)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "pack_info_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "pack_name": { + "type": "label", + "text": "#pack_name", + "color": "$generic_button_text_color", + "bindings": [ + { + "binding_name": "#pack_name" + } + ] + } + }, + { + "creator_name": { + "type": "label", + "text": "#creator_name", + "color": "$generic_button_text_color", + "bindings": [ + { + "binding_name": "#creator_name" + } + ] + } + } + ] + } + } + ] + }, + + "skins_grid_item": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "20% - 2px", 85 ], + "controls": [ + { + "clip": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 2px" ], + "offset": [ 0, 2 ], + "controls": [ + { + "model@expanded_skin_pack.skin_model": { + "offset": [ 0, -15 ] + } + } + ] + } + }, + { + "lock@expanded_skin_pack.lock_icon": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -2, -5 ], + "bindings": [ + { + "binding_name": "#skin_locked", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "skin_pack_collection" + } + ] + } + }, + { + "button@expanded_skin_pack.select_skin_button": {} + } + ] + }, + + "skins_grid": { + "type": "grid", + "size": [ "100% - 8px", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "grid_item_template": "expanded_skin_pack.skins_grid_item", + "grid_rescaling_type": "horizontal", + "collection_name": "skin_pack_collection", + "bindings": [ + { + "binding_name": "#skins_grid_dimensions", + "binding_name_override": "#maximum_grid_items" + } + ] + }, + + "select_skin_button@common.button": { + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "hover@common.focus_border_white": {} + }, + { + "pressed@common.focus_border_white": {} + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "skin_pack_collection" + }, + { + "binding_name": "#skin_default_focus", + "binding_name_override": "#default_focus_precedence", + "binding_type": "collection", + "binding_collection_name": "skin_pack_collection", + "binding_condition": "visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.select_skin", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.select_skin", + "mapping_type": "focused" + }, + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + } + ] + }, + + "all_skins_content": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 3, 0 ], + "size": [ "100% - 3px", "100% - 2px" ], + "focus_container": true, + "use_last_focus": true, + "controls": [ + { + "scrolling_frame": { + "type": "panel", + "controls": [ + { + "change_skin_scroll@common.scrolling_panel": { + "$scrolling_pane_size": [ "100%", "100%" ], + "$scroll_size": [ "5px", "100% - 4px" ], + "$scrolling_content": "expanded_skin_pack.scrolling_content", + "$show_background": false, + "$bar_visible": false + } + } + ] + } + } + ] + }, + + "all_skins_frame": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "offset": [ 0, 0 ], + "controls": [ + { "all_skins_content@expanded_skin_pack.all_skins_content": {} } + ] + }, + + //-------------------------------------------------------------------------------- + // Title bar + //-------------------------------------------------------------------------------- + + "title_bar": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 21 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 28, "100%" ] + } + }, + { + "fill_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "layer": 2, + "controls": [ + { + "title_holder": { + "type": "panel", + // This lets the main title start overlapping the padding + // between it and the skin name once it can't move any farther + // to the left as the skin name approaches its max size. + "size": [ "100%", "100%" ], + "min_size": [ "100%c", "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "change_skin_title@expanded_skin_pack.title_label": { + "text": "$back_button_text", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 17, "100%" ] + } + }, + { + "skin_name_holder": { + "type": "panel", + "layer": 2, + "min_size": [ "40% - 32px", "100%" ], + "size": [ "100%c", "100%" ], + "controls": [ + { + "preview_skin_name@expanded_skin_pack.title_label": { + "ignored": "$education_edition", + "text": "#skin_name", + // In the edge case where the skin name is too long to fit, + // even with the main title pushed as far to the left as it can + // go, then the skin name should truncate. Since the label's + // parent control has a width of "100%c", this truncation must + // be due to a hard pixel limit for the label width. This limit + // should be the pixels available at the smallest possible + // screen width (320 on pocket) with the largest possible main + // title (es_ES, "Seleccionar aspecto"). + // 320 - 4 (padding around dialog) - 10 (padding around content) + // - 3 (padding to the left of main title) + // - 15 (close button) - 103 (texels for es_ES main title) + // - 4 (space between title and skin name) + // = 181 pixels, or about 30 characters, plus a bit more if + // enough of those characters are narrow ones. + // Marketing should avoid skin names longer than this. + "size": [ "default", 10 ], + "max_size": [ 181, 10 ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#skin_name" + }, + { + "binding_name": "#is_owned", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 15, "100%" ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Root Controls + //-------------------------------------------------------------------------------- + + "content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "title@expanded_skin_pack.title_bar": {} }, + { "selector_area@expanded_skin_pack.selector_area": {} }, + { "content_area@expanded_skin_pack.content_area": {} }, + { "section_divider@expanded_skin_pack.section_divider": {} } + ] + }, + + "expanded_skin_pack_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "expanded_skin_pack.skin_picker_screen_content", + "$screen_bg_content": "persona.persona_screen_background_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": true + }, + + "skin_picker_screen_content@common.common_panel": { + "type": "panel", + "layer": 1, + "controls": [ + { + "bg@common.fullscreen_header": { + "$dialog_background": "dialog_background_hollow_3", + "$show_divider": true, + "$divider_offset": [ "60% - 1px", "22px" ] + } + }, + { + "container": { + "type": "panel", + "layer": 1, + "controls": [ + { "content@expanded_skin_pack.content": {} } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Controller Focus + //-------------------------------------------------------------------------------- + + "scrollable_selector_area_content": { + "type": "panel", + "offset": [ "2px", "2px" ], + "size": [ "100% - 4px", "100%c + 4px" ], + "controls": [ + { "$selector_stack_panel@$selector_stack_panel": {} } + ] + }, + + // left side + "selector_area@common.modal_area_panel_base": { + "offset": [ "0px", "23px" ], + "size": [ "60%", "100% - 21px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$menu_cancel_button_id": "button.menu_exit", + "$modal_binding_name": "#selector_area_focused", + "default_focus_precedence": 5, + "layer": 2, + "controls": [ + { + "all_skins@expanded_skin_pack.all_skins_frame": {} + }, + { + "inactive_modal_pane_fade@common.inactive_modal_pane_fade": { + "bindings": [ + { + "binding_name": "#content_area_focused", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // right side + "content_area@common.modal_area_panel_base": { + "offset": [ -2, 23 ], + "size": [ "40% - 4px", "100% - 21px" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$menu_cancel_button_id": "button.back_to_selector_area", + "$modal_binding_name": "#content_area_focused", + "layer": 1, + "controls": [ + { + "preview_skin@expanded_skin_pack.preview_skin_panel": { + "visible": false + } + }, + { + "inactive_modal_pane_fade@common.inactive_modal_pane_fade": { + "bindings": [ + { + "binding_name": "#selector_area_focused", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // divider between two sides + "section_divider": { + "type": "image", + "offset": [ "60%", "22px" ], + "size": [ "4px", "100% - 22px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "texture": "textures/ui/HowToPlayDivider" + } +} diff --git a/resource_pack/ui/experimental_code_screen.json b/resource_pack/ui/experimental_code_screen.json new file mode 100644 index 0000000..7567c8e --- /dev/null +++ b/resource_pack/ui/experimental_code_screen.json @@ -0,0 +1,409 @@ +{ + "namespace": "experimental_code", + + "icon_with_hover": { + "type": "image", + "$texture": "$default_image", + "variables": [ + { + "requires": "($hover_state or $pressed_state)", + "$texture": "$hover_image" + } + ], + "texture": "$texture", + "size": [ "100%y", "100%" ] + }, + + "menu_button_content@experimental_code.icon_with_hover": { + "$default_image": "textures/ui/hamburger_icon_default", + "$hover_image": "textures/ui/hamburger_icon_hover", + "size": [ 13, 13 ] + }, + + "return_button_content@experimental_code.icon_with_hover": { + "$default_image": "textures/ui/close_code_default", + "$hover_image": "textures/ui/close_code_hover", + "size": [ 9, 9 ] + }, + + "code_screen_content": { + "type": "panel", + "controls": [ + { "chooser@code.editor_chooser": {} }, + { "webview@code.webview": {} }, + { "progress@code.webview_progress": {} } + ] + }, + + "parent_relative_panel@common.dialog_background_hollow_4": { + "$child_control|default": "common.empty_panel", + + "controls": [ + { + "content_background@code.code_screen_content_background": { + "size": [ "100% - 16px", "100% - 16px" ], + "anchor_from": "center", + "anchor_to": "center" + } + }, + { + "prevent_dismiss_region@code.prevent_dismiss_region": { + "layer": -2 + } + } + ] + }, + + "side_toolbar_button_panel@common.empty_panel": { + "size": [ 10, 10 ], + "controls": [ + { + "button@$toolbar_button": { + "$pressed_button_name": "$press_button_name", + "anchor_from": "center", + "anchor_to": "center" + } + } + ], + "$button_visibility_binding|default": "none", + "$button_visibility_binding_type|default": "global", + "bindings": [ + { + "binding_name": "$button_visibility_binding", + "binding_type": "$button_visibility_binding_type", + "binding_name_override": "#visible" + } + ] + }, + + "code_screen_panel_base@experimental_code.parent_relative_panel": { + "$child_control": "experimental_code.code_screen_content" + }, + "image_and_collapsable_text": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "$default_image|default": "", + "controls": [ + { + "icon@experimental_code.icon_with_hover": { + } + }, + { + "text_padding@common.empty_panel": { + "ignored": "$no_text", + "size": [ 3, "100%" ] + } + }, + { + "text_panel": { + "ignored": "$no_text", + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "text@common_buttons.new_ui_binding_button_label": { + "$button_text_max_size": [ "100%", 10 ] + } + } + ] + } + } + ] + }, + "menu_sub_button_definition@common_buttons.light_content_button": { + "$button_content": "experimental_code.image_and_collapsable_text", + "$button_offset": [ 0, 0 ], + "$anchor": "left_middle" + }, + "menu_sub_button": { + "type": "panel", + "size": [ "100%c", 20 ], + "$button_text_binding_type": "none", + "$button_text_grid_collection_name": "", + "$button_binding_condition": "none", + "controls": [ + { + "icon_only@experimental_code.menu_sub_button_definition": { + "size": [ 20, 20 ], + "$no_text": true, + "bindings": [ + { + "binding_name": "(not #show_split)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "icon_with_text@experimental_code.menu_sub_button_definition": { + "size": [ 100, 20 ], + "$no_text": false, + "bindings": [ + { + "binding_name": "#show_split", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "split_padding@common.empty_panel": { + "size": "$pad_size", + "controls": [ + { + "position_display@hud.player_position": { + "anchor_from": "$position_anchor", + "anchor_to": "$position_anchor" + } + }, + { + "vertical_toolbar_panel_banner": { + "type": "image", + "texture": "textures/ui/Banners", + "size": [ "100%c + 4px", "100%c + 4px" ], + "offset": "$menu_offset", + "anchor_from": "$menu_anchor", + "anchor_to": "$menu_anchor", + "controls": [ + { + "vertical_toolbar_panel": { + "layer": 1, + "type": "stack_panel", + "orientation": "vertical", + "size": [ 20, "100%c" ], + "controls": [ + { + "return_button@common_buttons.light_content_button": { + "size": [ "100%", 20 ], + "$pressed_button_name": "button.menu_exit", + "$button_content": "experimental_code.return_button_content" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "menu_button@common_buttons.light_content_button": { + "size": [ "100%", 20 ], + "$pressed_button_name": "button.menu_toggle", + "$button_content": "experimental_code.menu_button_content" + } + } + ] + } + } + ] + } + }, + { + "menu_sub_button_panel": { + "type": "image", + "texture": "textures/ui/Banners", + "size": [ "100%c + 4px", "100%c + 4px" ], + "anchor_from": "$menu_anchor", + "anchor_to": "$menu_anchor", + "offset": "$sub_menu_offset", + "bindings": [ + { + "binding_name": "#show_menu", + "binding_name_override": "#visible", + "binding_type": "global" + } + ], + "controls": [ + { + "menu_sub_button_contents": { + "type": "stack_panel", + "orientation": "vertical", + "layer": 1, + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "home_button@menu_sub_button": { + "$pressed_button_name": "button.home", + "$default_image": "textures/ui/home_default", + "$hover_image": "textures/ui/home_hover", + "$button_text": "codeScreen.buttonTTS.home", + "bindings": [ + { + "binding_name": "#show_home_button", + "binding_name_override": "#visible" + } + ] + } + }, + { + "flip_side_left_button@menu_sub_button": { + "ignored": "(not $dynamic_window)", + "$pressed_button_name": "button.window_left", + "$button_text": "codeScreen.button.flipWindow", + "$default_image": "textures/ui/left_split_panel_default", + "$hover_image": "textures/ui/left_split_panel_hover", + "bindings": [ + { + "binding_name": "#is_right", + "binding_name_override": "#visible" + } + ] + } + }, + { + "flip_side_right_button@menu_sub_button": { + "ignored": "(not $dynamic_window)", + "$pressed_button_name": "button.window_right", + "$button_text": "codeScreen.button.flipWindow", + "$default_image": "textures/ui/right_split_panel_default", + "$hover_image": "textures/ui/right_split_panel_hover", + "bindings": [ + { + "binding_name": "#is_left", + "binding_name_override": "#visible" + } + ] + } + }, + { + "maximize_button@menu_sub_button": { + "$default_image": "textures/ui/maximize_arrow_default", + "$hover_image": "textures/ui/maximize_arrow_hover", + "$pressed_button_name": "button.maximize", + "$button_text": "codeScreen.button.largerWindow", + "bindings": [ + { + "binding_name": "#show_split", + "binding_name_override": "#visible" + } + ] + } + }, + { + "restore_button@menu_sub_button": { + "$default_image": "textures/ui/restore_arrow_default", + "$hover_image": "textures/ui/restore_arrow_hover", + "$pressed_button_name": "button.restore", + "$button_text": "", + "bindings": [ + { + "binding_name": "#show_full", + "binding_name_override": "#visible" + } + ] + } + }, + { + "restart_button@menu_sub_button": { + "$default_image": "textures/ui/refresh_flat", + "$hover_image": "textures/ui/refresh_flat_hover", + "$pressed_button_name": "button.reset", + "$button_text": "codeScreen.button.resetEditor", + "bindings": [ + { + "binding_name": "#is_reset_implemented", + "binding_name_override": "#visible" + } + ] + } + }, + { + "change_editor_button@menu_sub_button": { + "$default_image": "textures/ui/code_reset_default", + "$hover_image": "textures/ui/code_reset_hover", + "$pressed_button_name": "button.change_editor", + "$button_text": "codeScreen.button.changeEditor", + "bindings": [ + { + "binding_name": "#can_change_url", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "$split_visibility", + "binding_condition": "always", + "binding_name_override": "#visible" + } + ] + }, + + "variable_panel": { + "size": [ "100%", "100%" ], + "type": "stack_panel", + "orientation": "horizontal", + // Control the position and size of the window by toggling visibility bindings + // to have half the panel on the left, only the right padding is visible, for full screen no padding is used, in all cases the content fills the remaining space + "controls": [ + { + "pad_left_big@experimental_code.split_padding": { + "$pad_size": [ "50%", "100%" ], + "$position_anchor": "top_left", + "$menu_anchor": "top_right", + "$menu_button_anchor": "right_middle", + "$menu_offset": [ 0, 0 ], + "$sub_menu_offset": [ 0, 45 ], + "$split_visibility": "#show_split_right" + } + }, + { + "pad_left_small@experimental_code.split_padding": { + "$pad_size": [ "10%", "100%" ], + "$position_anchor": "top_left", + "$menu_anchor": "top_right", + "$menu_button_anchor": "right_middle", + "$menu_offset": [ 0, 0 ], + "$sub_menu_offset": [ 0, 45 ], + "$split_visibility": "#show_full_right" + } + }, + { + "content@$content": { + "size": [ "fill", "100%" ] + } + }, + { + "pad_right_big@experimental_code.split_padding": { + "$pad_size": [ "50%", "100%" ], + "$position_anchor": "top_right", + "$menu_anchor": "top_left", + "$menu_button_anchor": "left_middle", + "$menu_offset": [ 0, 0 ], + "$sub_menu_offset": [ 0, 45 ], + "$split_visibility": "#show_split_left" + } + }, + { + "pad_right_small@experimental_code.split_padding": { + "$pad_size": [ "10%", "100%" ], + "$position_anchor": "top_right", + "$menu_anchor": "top_left", + "$menu_button_anchor": "left_middle", + "$menu_offset": [ 0, 0 ], + "$sub_menu_offset": [ 0, 45 ], + "$split_visibility": "#show_full_left" + } + } + ] + }, + + "code_screen_variable_panel": { + "type": "panel", + "$content": "experimental_code.code_screen_panel_base", + "controls": [ + { "codebuilder@experimental_code.variable_panel": {} } + ] + } +} diff --git a/resource_pack/ui/feed_common.json b/resource_pack/ui/feed_common.json new file mode 100644 index 0000000..93c453f --- /dev/null +++ b/resource_pack/ui/feed_common.json @@ -0,0 +1,750 @@ +{ + "namespace": "feed_common", + + //-------------------------------------------------------------------------------- + // Renderers + //-------------------------------------------------------------------------------- + + "top_bar_gradient": { + "type": "custom", + "renderer": "gradient_renderer", + "color1": "$transparent_dark_gradient_start_color", + "color2": "$transparent_dark_gradient_end_color", + "variables": [ + { + "requires": "$is_holographic", + "visible": false + } + ] + }, + + //-------------------------------------------------------------------------------- + // Common labels + //-------------------------------------------------------------------------------- + "label": { + "type": "label", + "color": "$feed_text_color" + }, + + "smooth_label@feed_common.label": { + "size": [ "100%", "default" ], + "font_type": "smooth", + "text_alignment": "center" + }, + + + "share_label@feed_common.smooth_label": { + "text": "feed.share", + "anchor_from": "center", + "anchor_to": "center", + "text_alignment": "center", + "size": [ "100%", 15 ], + "offset": [ 0, 2 ] + }, + + "title_label@feed_common.label": { + "size": [ "default", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "alpha": 0.5, + "offset": [ 0, 10 ] + }, + + + "feed_label@feed_common.label": { + "size": [ "80%", "default" ], + "layer": 0, + "anchor_from": "center", + "anchor_to": "center", + "font_type": "smooth" + }, + + "item_label@feed_common.label": { + "size": [ "default", "default" ], + "layer": 0, + "anchor_from": "center", + "anchor_to": "center", + "font_type": "smooth" + }, + + "return_label@feed_common.label": { + "anchor_from": "center", + "anchor_to": "center", + "$return_label_text|default": "feed.return", + "text": "$return_label_text", + "alpha": "$content_alpha", + "text_alignment": "center", + "layer": 2, + "size": [ "100%", 15 ], + "offset": [ 0, 2 ] + }, + + "prev_label@feed_common.label": { + "size": [ "default", 20 ], + "offset": [ 0, 5 ], + "text_alignment": "left", + "anchor_from": "center", + "anchor_to": "center", + "text": "feed.previous", + "alpha": "$content_alpha", + "layer": 2 + }, + + "next_label@feed_common.label": { + "size": [ "default", 20 ], + "offset": [ 0, 5 ], + "text_alignment": "left", + "anchor_from": "center", + "anchor_to": "center", + "text": "feed.next", + "alpha": "$content_alpha", + "layer": 2 + }, + + "delete_label@feed_common.smooth_label": { + "text": "feed.delete", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "alpha": "@feed_common.anim_box_text", + "offset": [ 6, 2 ], + "text_alignment": "left", + "size": [ "100%", 15 ] + }, + + "report_to_club_label@feed_common.smooth_label": { + "text": "feed.report_club", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "alpha": "@feed_common.anim_box_text", + "offset": [ 6, 2 ], + "text_alignment": "left", + "size": [ "100%", 15 ] + }, + + "report_to_xbox_label@feed_common.smooth_label": { + "text": "feed.report_xbox", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "alpha": "@feed_common.anim_box_text", + "offset": [ 6, 2 ], + "text_alignment": "left", + "size": [ "100%", 15 ] + }, + + "new_post_header_text": { + "type": "label", + "layer": 1, + "text": "feed.newPost", + "font_size": "normal", + "color": "$title_text_color", + "anchor_from": "center", + "anchor_to": "center" + }, + + //-------------------------------------------------------------------------------- + // Common Buttons + //-------------------------------------------------------------------------------- + + "feed_button@common_buttons.light_content_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "layer": 2, + "$default_button_texture": "textures/ui/imagetaggedcornerborder", + "$locked_button_texture": "textures/ui/imagetaggedcornerborder", + "$hover_button_texture": "textures/ui/imagetaggedcornergreenhover", + "$pressed_button_texture": "textures/ui/imagetaggedcornergreenpressed", + "$default_color": "white", + "$default_font": "smooth", + "$button_offset": [ 0, 0 ], + "$border_visible": false, + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false + }, + + "return_button@common_buttons.transparent_content_button": { + "layer": 10, + "size": [ 50, 25 ], + "offset": [ 5, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_content": "feed_common.return_label", + "$default_content_alpha": 1, + "$default_button_alpha": 0, + "$hover_button_texture": "textures/ui/imagetaggedcornergreenhover", + "$pressed_button_texture": "textures/ui/imagetaggedcornergreenpressed", + "bindings": [ + { + "binding_name": "(not #gamepad_helper_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "prev_button@common_buttons.transparent_content_button": { + "layer": 10, + "size": [ 60, 25 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$pressed_button_name": "$prev_button_name", + "$button_content": "feed_common.prev_label", + "$default_content_alpha": 1, + "$default_button_alpha": 0.3, + "$hover_button_texture": "textures/ui/imagetaggedcornergreenhover", + "$pressed_button_texture": "textures/ui/imagetaggedcornergreenpressed", + "$is_prev_visible|default": "#visible", + "bindings": [ + { + "binding_name": "$is_prev_visible", + "binding_name_override": "#visible" + } + ] + }, + + "prev_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "$direction_gamepad_button_helper|default": "gamepad_helper@common.gamepad_helper_left_bumper", + "layer": 10, + "size": [ 60, 25 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$content_alpha": 1, + "controls": [ + { + "$direction_gamepad_button_helper": { + "offset": [ 0, 4 ], + "anchor_from": "center", + "anchor_to": "center", + "$hide_description|default": true, + "$gamepad_helper_icon_size|default": [ 18, 18 ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 3, 0 ] + } + }, + { + "lab_panel": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "vert_pad": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "prevlab@feed_common.prev_label": {} + } + ] + } + } + ] + }, + + "next_button@common_buttons.transparent_content_button": { + "layer": 10, + "size": [ 60, 25 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$pressed_button_name": "$next_button_name", + "$button_content": "feed_common.next_label", + "$default_content_alpha": 1, + "$default_button_alpha": 0.3, + + "$hover_button_texture": "textures/ui/imagetaggedcornergreenhover", + "$pressed_button_texture": "textures/ui/imagetaggedcornergreenpressed", + + "$is_next_visible|default": "#visible", + "bindings": [ + { + "binding_name": "$is_next_visible", + "binding_name_override": "#visible" + } + ] + }, + + "next_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "$direction_gamepad_button_helper|default": "gamepad_helper@common.gamepad_helper_right_bumper", + "layer": 10, + "size": [ "100%c", 25 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$content_alpha": 1, + "controls": [ + { + "lab_panel2": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", 15 ], + "controls": [ + { + "vert_pad2": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "nextlab@feed_common.next_label": {} + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "$direction_gamepad_button_helper": { + "offset": [ 0, 4 ], + "anchor_from": "center", + "anchor_to": "center", + "$hide_description|default": true, + "$gamepad_helper_icon_size|default": [ 18, 18 ] + } + } + ] + }, + + "like_button@feed_common.feed_button": { + "size": [ 40, 25 ], + "$button_content": "feed_common.feed_like_content_panel", + "$button_mapping_id|default": "", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$button_mapping_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$button_mapping_id", + "mapping_type": "focused" + } + ] + }, + + "delete_button@feed_common.feed_button": { + "size": [ 135, 25 ], + "$button_content": "feed_common.delete_label" + }, + + "report_to_xbox_button@feed_common.feed_button": { + "size": [ 135, 25 ], + "$button_content": "feed_common.report_to_xbox_label" + }, + + "report_to_club_button@feed_common.feed_button": { + "size": [ 135, 25 ], + "$button_content": "feed_common.report_to_club_label" + }, + + "options_button@feed_common.feed_button": { + "size": [ 25, 25 ], + "layer": 0, + "$button_content": "feed_common.options_icon", + "$button_mapping_id|default": "", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$button_mapping_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$button_mapping_id", + "mapping_type": "focused" + } + ] + }, + + "options_close_button_high_contrast@common.close_button": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/imagetaggedcornerborder" + } + }, + { + "default@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_default_light" + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_hover_light" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_pressed_light" + } + } + ] + }, + + "share_button@common_buttons.transparent_content_button": { + "size": [ 40, 25 ], + "$default_button_alpha": 0.6, + "$button_content": "feed_common.share_label", + "$hover_button_texture": "textures/ui/imagetaggedcornergreenhover", + "$pressed_button_texture": "textures/ui/imagetaggedcornergreenpressed" + }, + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "spacing_gap": { + "type": "panel", + "size": [ "100%", 20 ] + }, + + "platform_icon": { + "type": "image", + "texture": "textures/ui/platform_icon", + "size": [ 15, 15 ] + }, + + "platform_icon_panel": { + "type": "panel", + "size": [ 15, 15 ], + "$icon_offset|default": [ 0, 2 ], + "controls": [ + { + "platform_icon@feed_common.platform_icon": { + "layer": 1, + "offset": "$icon_offset", + "size": [ "100%-2px", "100%-2px" ] + } + } + ] + }, + + "account_link_image": { + "type": "image", + "texture": "textures/ui/control_white" + }, + + "account_link_icon": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 5 ], + "layer": 1, + "controls": [ + { + "space_01": { + "type": "panel", + "size": [ 9, "100%" ] + } + }, + { + "account_link_image@feed_common.account_link_image": { + "size": [ 2, "100%" ] + } + }, + { + "space_02": { + "type": "panel", + "size": [ 9, "100%" ] + } + } + ] + }, + + "player_pic_bevel": { + "type": "image", + "texture": "textures/ui/focus_border_white", + "size": [ "100%", "100%" ] + }, + + "no_feed_item_content": { + "type": "label", + "color": "$f_color_format", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "70%", "default" ], + "text_alignment": "center", + "layer": 1, + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#no_feed_item_visible", + "binding_name_override": "#visible" + } + ] + }, + + "gamepad_helpers@common.gamepad_helpers_a_and_b": { + "layer": 0, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "31px" ] + }, + + "share_text_box@common.transparent_text_edit_box": { + "size": [ "85%", 25 ], + "max_length": 350, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$box_texture": "textures/ui/White", + "$text_box_text_color": "$8_color_format", + "$alpha": 1, + "$hover_alpha": 0.1, + "$place_holder_text": "feed.whatup", + "$place_holder_text_color": "$8_color_format" + }, + + "progress_loading_bars": { + "type": "image", + "layer": 3, + "texture": "textures/ui/loading_bar", + "anchor_from": "center", + "anchor_to": "center", + "size": [ 64, 8 ], + "uv_size": [ 64, 8 ], + "uv": "@feed_common.bar_animation", + "color": [ 0.7, 0.7, 0.7, 1.0 ] + }, + + "bar_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 10, + "frame_step": 64, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + "popup_dialog_bg": { + "type": "image", + "texture": "textures/ui/White", + "color": "$7_color_format" + }, + + "pagination_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 30 ], + "$next_button_name|default": "", + "$prev_button_name|default": "", + "controls": [ + { + "prev_button@feed_common.prev_button": { + } + }, + { + "page_text@feed_common.page_text": { + + } + }, + { + "next_button@feed_common.next_button": { + } + } + ] + }, + + "pagination_panel_gamepad": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 30 ], + "controls": [ + { + "prev_panel@feed_common.prev_panel": { + } + }, + { + "page_text@feed_common.page_text": { + } + }, + { + "next_panel@feed_common.next_panel": { + } + } + ] + }, + + "like_image": { + "type": "image", + "texture": "textures/ui/heart_new", + "size": [ "100%", "100%" ], + "layer": 1, + "$is_like_visible|default": "#hidden", + "$is_like_visible_comment|default": "#hidden", + "bindings": [ + { + "binding_name": "$is_like_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_name": "$is_like_visible_comment", + "binding_name_override": "#visible" + } + ] + }, + + "like_image_default": { + "type": "image", + "texture": "textures/ui/like_default", + "size": [ "100%", "100%" ], + "layer": 0 + }, + + "like_image_panel": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "like_image_instance@feed_common.like_image": { + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "like_image_default@feed_common.like_image_default": { + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + }, + + "feed_like_content_panel": { + "type": "stack_panel", + "size": [ "100%", "50%" ], + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "like_image_panel@feed_common.like_image_panel": { + "size": [ "25%", "100%" ] + } + }, + { + "like_label@feed_common.smooth_label": { + "text": "feed.like", + "size": [ "fill", 15 ] + } + } + ] + }, + + "white_banner": { + "type": "image", + "texture": "textures/ui/White" + }, + + "page_text": { + "type": "label", + "text": "$this_page_index_text", + "color": "$f_color_format", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "default", 30 ], + "bindings": [ + { + "binding_name": "$this_page_index_text" + } + ] + }, + + "options_icon": { + "type": "image", + "layer": 0, + "texture": "textures/ui/more-dots", + "size": [ 11, 11 ] + }, + + "transparent_background": { + "type": "image", + "texture": "textures/ui/control", + "size": [ "100%", "100%" ], + "alpha": 0.80 + }, + + "black_arrow": { + "type": "image", + "texture": "textures/ui/black-arrow", + "size": [ 10, 10 ], + "alpha": "@feed_common.anim_faded_background" + }, + + "faded_background_image": { + "type": "image", + "size": [ "110%", "100%" ], + "texture": "textures/ui/control", + "alpha": "@feed_common.anim_faded_background" + }, + + "anim_faded_background": { + "anim_type": "alpha", + "easing": "in_expo", + "duration": 0.4, + "from": 0, + "to": 0.7 + }, + + "anim_faded_background_full": { + "anim_type": "alpha", + "easing": "in_expo", + "duration": 0.4, + "from": 0, + "to": 1 + }, + + "anim_box_text": { + "anim_type": "alpha", + "easing": "in_expo", + "duration": 0.4, + "from": 0, + "to": 1 + }, + + "unviewed_post_badge": { + "type": "image", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100%c+4px", "100%c+4px" ], + "texture": "textures/ui/recolorable_background", + "color": "$realms_plus_border_color", + "$is_unviewed_post|default": "#hidden", + "controls": [ + { + "unviewed_post_text@feed_common.smooth_label": { + "layer": 1, + "text": "feed.unviewedPost", + "size": [ "default", "default" ] + } + } + ], + "bindings": [ + { + "binding_name": "$is_unviewed_post", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } +} diff --git a/resource_pack/ui/file_upload_screen.json b/resource_pack/ui/file_upload_screen.json new file mode 100644 index 0000000..70e0016 --- /dev/null +++ b/resource_pack/ui/file_upload_screen.json @@ -0,0 +1,442 @@ +{ + "namespace": "file_upload", + + //--------------------------------------------------------------------------- + // Progress Bar + //--------------------------------------------------------------------------- + + "empty_progress_bar_icon": { + "type": "image", + "texture": "textures/ui/experiencebarempty" + }, + + "full_progress_bar_icon": { + "type": "image", + "texture": "textures/ui/experiencebarfull", + "clip_direction": "left", + "clip_pixelperfect": false, + "$progress_bindings|default": [ + { + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio", + "binding_type": "global" + } + ], + "bindings": "$progress_bindings" + }, + + "progress_bar_nub": { + "type": "image", + "texture": "textures/ui/experiencenub", + "tiled": true + }, + + "progress_bar_icon": { + "type": "panel", + "controls": [ + { + "empty_progress_bar_icon@file_upload.empty_progress_bar_icon": { + "layer": 1, + "visible": "#progress_visible", + "bindings": [ + { + "binding_name": "#progress_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_percent_panel": { + "type": "panel", + "layer": 2, + "visible": "#progress_visible", + "controls": [ + { + "full_progress_bar_icon@file_upload.full_progress_bar_icon": { + "layer": 2 + } + }, + { + "progress_bar_nub@file_upload.progress_bar_nub": { + "size": [ "100% - 10px", 5 ], + "layer": 3 + } + } + ], + "bindings": [ + { + "binding_name": "#progress_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Progress Labels + //--------------------------------------------------------------------------- + + "common_label": { + "type": "label", + "color": "$body_text_color", + "size": [ "default", "100%" ], + "text": "#label_text", + "bindings": [ + { + "binding_name": "$label_binding_name", + "binding_name_override": "#label_text" + } + ] + }, + + "progress_text_panel": { + "type": "panel", + "visible": "#progress_text_visible", + "controls": [ + { + "progress@file_upload.common_label": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "$label_binding_name": "#progress_size_label" + } + }, + { + "total@file_upload.common_label": { + "layer": 1, + "anchor_from": "top_right", + "anchor_to": "top_right", + "$label_binding_name": "#total_size_label" + } + } + ], + "bindings": [ + { + "binding_name": "#progress_text_visible", + "binding_name_override": "#visible" + } + ] + }, + + "message_text_panel": { + "type": "panel", + "visible": "#message_text_visible", + "controls": [ + { + "message_text@file_upload.common_label": { + "layer": 1, + "anchor_from": "center", + "anchor_to": "center", + "$label_binding_name": "#message_text" + } + } + ], + "bindings": [ + { + "binding_name": "#message_text_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#message_text" + } + ] + }, + + //--------------------------------------------------------------------------- + // Buttons + //--------------------------------------------------------------------------- + + "button_common@common_buttons.light_text_button": { + "layer": 1, + "size": [ "100%", "100%" ] + }, + + "lets_go_button@file_upload.button_common": { + "$pressed_button_name": "button.file_upload_play", + "$button_text": "progressScreen.message.letsGo" + }, + + "cancel_button@file_upload.button_common": { + "$pressed_button_name": "button.file_upload_cancel", + "$button_text": "gui.cancel" + }, + + "continue_button@file_upload.button_common": { + "$pressed_button_name": "button.file_upload_wifi_warning_continue", + "$button_text": "permissions.Continue" + }, + + "continue_or_cancel_button": { + "type": "panel", + "controls": [ + { + "continue@file_upload.continue_button": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50% - 1px", "100%" ] + } + }, + { + "cancel@file_upload.cancel_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "50% - 1px", "100%" ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Main Panels + //--------------------------------------------------------------------------- + + "single_title_panel": { + "type": "panel", + "controls": [ + { + "center@file_upload.common_label": { + "layer": 1, + "$label_binding_name": "#single_title_label", + "color": "$title_text_color" + } + } + ] + }, + + "dual_title_panel": { + "type": "panel", + "controls": [ + { + "left@file_upload.common_label": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "$label_binding_name": "#dual_title_left_label", + "color": "$title_text_color" + } + }, + { + "right@file_upload.common_label": { + "layer": 1, + "anchor_from": "top_right", + "anchor_to": "top_right", + "$label_binding_name": "#dual_title_right_label", + "color": "$title_text_color" + } + } + ] + }, + + "upload_title_panel": { + "type": "panel", + "controls": [ + { + "single_label@file_upload.single_title_panel": { + "bindings": [ + { + "binding_name": "#single_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "dual_label@file_upload.dual_title_panel": { + "bindings": [ + { + "binding_name": "#dual_label_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "content_panel": { + "type": "panel", + "controls": [ + { + "stack_panel_0@file_upload.content_stack_panel": { + "bindings": [ + { + "binding_name": "#upload_content_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "stack_panel_1@file_upload.warning_content_panel": { + "bindings": [ + { + "binding_name": "#warning_content_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "message@message_text_panel": { + "layer": 1, + "size": [ "100%", 10 ] + } + + }, + { + "description@progress_text_panel": { + "layer": 1, + "size": [ "100%", 10 ] + } + }, + { + "progress@file_upload.progress_bar_icon": { + "layer": 1, + "size": [ "100%", 5 ] + } + } + ] + }, + + "warning_content_panel": { + "type": "panel", + "controls": [ + { + "message": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%", "default" ], + "text": "progressScreen.noWifi.mobileDataWarning" + } + } + ] + }, + + "button_panel": { + "type": "panel", + "controls": [ + { + "play@file_upload.lets_go_button": { + "bindings": [ + { + "binding_name": "#play_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "cancel@file_upload.cancel_button": { + "bindings": [ + { + "binding_name": "#cancel_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "continue_cancel@file_upload.continue_or_cancel_button": { + "bindings": [ + { + "binding_name": "#warning_button2_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen and Content + //--------------------------------------------------------------------------- + + "file_upload_content": { + "type": "panel", + "controls": [ + { + "title_panel_content@common_art.title_panel_content": { + "$splash_text_visible": false, + "layer": -1 + } + }, + { + "content": { + "type": "panel", + "size": [ 268, 95 ], + "controls": [ + { + "background@common.common_panel": { + "$dialog_background": "dialog_background_hollow_2", + "$show_close_button|default": false + } + }, + { + "title@file_upload.upload_title_panel": { + "layer": 2, + "size": [ "100% - 14px", 10 ], + "offset": [ 7, 7 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "content@file_upload.content_panel": { + "layer": 2, + "size": [ "100% - 20px", "100% - 65px" ], + "offset": [ 10, 23 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "buttons@file_upload.button_panel": { + "layer": 2, + "size": [ "100% - 14px", 30 ], + "offset": [ 7, -7 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + } + ] + } + } + ] + }, + + "file_transmission_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "file_upload.file_upload_content" + } + +} diff --git a/resource_pack/ui/furnace_screen.json b/resource_pack/ui/furnace_screen.json new file mode 100644 index 0000000..8f79bcd --- /dev/null +++ b/resource_pack/ui/furnace_screen.json @@ -0,0 +1,250 @@ +{ + "namespace": "furnace", + + + //--------------------------------------------------------------------------- + // Furnace + //--------------------------------------------------------------------------- + + "flame_panel": { + "type": "panel", + "size": [ 13, 13 ], + "offset": [ -21, 0 ], + "controls": [ + { + "flame_empty_image@furnace.flame_empty_image": {} + }, + { + "flame_full_image@furnace.flame_full_image": {} + } + ] + }, + + "furnace_arrow_empty_image": { + "type": "image", + "layer": 1, + "texture": "textures/ui/arrow_inactive", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 22, 15 ] + }, + + "furnace_arrow_full_image": { + "type": "image", + "layer": 3, + "texture": "textures/ui/arrow_active", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 22, 15 ], + "clip_direction": "left", + "bindings": [ + { + "binding_name": "#furnace_arrow_ratio", + "binding_name_override": "#clip_ratio", + "binding_condition": "always" + } + ] + }, + + "flame_empty_image": { + "type": "image", + "texture": "textures/ui/flame_empty_image", + "layer": 2 + }, + + "flame_full_image": { + "type": "image", + "texture": "textures/ui/flame_full_image", + "layer": 3, + "clip_direction": "down", + "bindings": [ + { + "binding_name": "#furnace_flame_ratio", + "binding_name_override": "#clip_ratio", + "binding_condition": "always" + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "furnace_label": { + "type": "label", + "offset": [ 0, -3 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text": "$container_title", + "color": "$title_text_color", + "layer": 2 + }, + + "furnace_input_panel": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "panel": { + "type": "panel", + "size": [ 16, 16 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { "furnace_ingredient_panel@furnace_ingredient_panel": {} }, + { "flame_panel@flame_panel": {} }, + { "furnace_fuel_panel@furnace_fuel_panel": {} } + ] + } + } + ] + }, + + "furnace_ingredient_panel": { + "type": "panel", + "size": [ 18, 18 ], + "offset": [ -20, -19 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "ingredient_item@common.container_item": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$item_collection_name": "furnace_ingredient_items", + + "$focus_id": "furnace_ingredient_item", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_left_binding_type": "none", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$focus_override_up_binding_type": "none" + } + } + ] + }, + + "furnace_fuel_panel": { + "type": "panel", + "size": [ 18, 18 ], + "offset": [ -20, 19 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "fuel_item@common.container_item": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$item_collection_name": "furnace_fuel_items", + + "$focus_id": "furnace_fuel_item", + "$focus_override_right": "furnace_output_item", + "$focus_override_right_binding_type": "none", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_left_binding_type": "none" + } + } + ] + }, + + "furnace_output_panel": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "output_item@common.container_item": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 26, 26 ], + "$cell_image_size": [ 26, 26 ], + "offset": [ 20, 0 ], + "$item_collection_name": "furnace_output_items", + + "$focus_id": "furnace_output_item", + "$focus_override_right_binding_type": "none", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$focus_override_left_binding_type": "none", + "$focus_override_left": "furnace_fuel_item" + } + } + ] + }, + + "furnace_panel_top_half": { + "type": "panel", + "size": [ "100%", "50% - 12px" ], + "offset": [ 0, 7 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { "furnace_label@furnace_label": {} }, + { "input@furnace_input_panel": {} }, + { + "furnace_arrow_empty_image@furnace_arrow_empty_image": { + "anchor_to": "center", + "anchor_from": "center" + } + }, + { + "furnace_arrow_full_image@furnace_arrow_full_image": { + "anchor_to": "center", + "anchor_from": "center" + } + }, + { "output@furnace_output_panel": {} } + ] + }, + + "furnace_panel": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "controls": [ + { "common_panel@common.common_panel": {} }, + { + "furnace_screen_inventory": { + "type": "panel", + "layer": 5, + "controls": [ + { "furnace_panel_top_half@furnace.furnace_panel_top_half": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + }, + "furnace_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "close_on_player_hurt": "$close_on_player_hurt", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "furnace.furnace_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "$pocket_screen", + "$screen_content": "furnace_pocket.furnace_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + } + ] + } +} diff --git a/resource_pack/ui/furnace_screen_pocket.json b/resource_pack/ui/furnace_screen_pocket.json new file mode 100644 index 0000000..b7e9e84 --- /dev/null +++ b/resource_pack/ui/furnace_screen_pocket.json @@ -0,0 +1,309 @@ +{ + "namespace": "furnace_pocket", + + "generic_label": { + "type": "label", + "color": "$pocket_title_text_color", + "anchor_from": "center", + "anchor_to": "center", + "layer": 3 + }, + + // Backgrounds // + + "background_image": { + "type": "image", + "size": [ "85%", "85%" ], + "texture": "textures/ui/background_panel" + }, + + // Arrow // + + "empty_arrow@furnace.furnace_arrow_empty_image": { + "anchor_from": "center", + "anchor_to": "center" + }, + "full_arrow@furnace.furnace_arrow_full_image": { + "anchor_from": "center", + "anchor_to": "center" + }, + + // Flame // + + "flame_empty@furnace.flame_empty_image": { + }, + "flame_full@furnace.flame_full_image": { + }, + + // Labels // + + "input_label@furnace_pocket.generic_label": { + "text": "furnaceScreen.input" + }, + "fuel_label@furnace_pocket.generic_label": { + "text": "furnaceScreen.fuel" + }, + "result_label@furnace_pocket.generic_label": { + "text": "furnaceScreen.result" + }, + "result_name_label@furnace_pocket.generic_label": { + "text": "" + }, + + // Slots // + + "furnace_content": { + "type": "panel", + "size": [ 104, 110 ], + "anchor_from": "center", + "anchor_to": "center", + "offset": [ -1, -2 ], + + "controls": [ + { + "input_panel": { + "type": "panel", + "size": [ 32, 45 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "input_label@furnace_pocket.input_label": { + "offset": [ 0.5, 0 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { + "ingredient_item@common.pocket_ui_large_container_item": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$item_collection_name": "furnace_ingredient_items" + } + } + ] + } + }, + { + "flame_empty@furnace.flame_empty_image": { + "anchor_from": "left_middle", + "anchor_to": "center", + "offset": [ 16, 0 ], + "size": [ 13, 13 ] + } + }, + { + "flame_full@furnace.flame_full_image": { + "anchor_from": "left_middle", + "anchor_to": "center", + "offset": [ 16, 0 ], + "layer": 3, + "size": [ 13, 13 ] + } + }, + { + "fuel_panel": { + "type": "panel", + "size": [ 32, 45 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "fuel_label@furnace_pocket.fuel_label": { + "offset": [ 0.5, 0 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + }, + { + "fuel_item@common.pocket_ui_large_container_item": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$item_collection_name": "furnace_fuel_items" + } + } + ] + } + }, + { "empty_arrow@furnace_pocket.empty_arrow": {} }, + { "full_arrow@furnace_pocket.full_arrow": { "layer": 2 } }, + { + "output_panel": { + "type": "panel", + "size": [ 32, 54 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "controls": [ + { + "result_label@furnace_pocket.result_label": { + "offset": [ 0.5, 0 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { + "result_name_label@furnace_pocket.result_name_label": { + "anchor_from": "bottom_middle", + "anchor_to": "top_middle", + "text": "#text", + "text_alignment": "center", + "size": [ "200%", "default" ], + "offset": [ 0, "default-10px" ], + "bindings": [ + { + "binding_name": "#output_name", + "binding_name_override": "#text" + } + ] + } + }, + { + "output_item@common.pocket_ui_large_container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "furnace_output_items" + } + } + ] + } + } + ] + }, + + // Inventory Grids // + + "inventory_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "maximum_grid_items": 36, + "collection_name": "combined_hotbar_and_inventory_items", + "grid_item_template": "common.pocket_ui_container_item", + "$item_collection_name": "combined_hotbar_and_inventory_items" + }, + + "inventory_content": { + "type": "panel", + "size": [ "100%-5px", "100%-5px" ], + "offset": [ "5px", "2px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$allow_scrolling_even_when_content_fits": false, + "$scrolling_pane_size": [ "100%", "100%-2px" ], + "$scrolling_content": "furnace_pocket.inventory_grid", + "$scroll_box_mouse_image_control": "common-classic.button_state_default", + "$scroll_size": [ "8px", "100%" ] + } + } + ] + }, + + // Header // + + "header": { + "type": "panel", + "size": [ "100%", 28 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "header_background": { + "type": "image", + "texture": "textures/ui/header_bar_2" + } + }, + { + "close_button@common.legacy_pocket_close_button": { "offset": [ -3, 3 ] } + }, + { + "panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "title_label@furnace_pocket.generic_label": { + "text": "$container_title", + "layer": 1 + } + } + ] + } + } + ] + }, + + // Layout Content Panels // + + "inventory_and_furnace_panel": { + "type": "panel", + "controls": [ + { + "inventory_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "controls": [ + { "inventory_content@furnace_pocket.inventory_content": {} } + ] + } + }, + { + "furnace_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "controls": [ + { "furnace_content@furnace_pocket.furnace_content": {} } + ] + } + } + ] + }, + + "header_and_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "85%", "85%" ], + "controls": [ + { "header@furnace_pocket.header": { "layer": 2 } }, + { + "inventory_and_furnace_panel@furnace_pocket.inventory_and_furnace_panel": { + "size": [ "100%", "fill" ] + } + } + ] + }, + + // Furnace Screen // + + "furnace_panel": { + "type": "panel", + "controls": [ + { "bg@furnace_pocket.background_image": {} }, + { "root_panel@common.root_panel": { "size": [ "85%", "85%" ], "layer": 1 } }, + { "header_and_content_stack_panel@furnace_pocket.header_and_content_stack_panel": {} }, + + { "container_gamepad_helpers@common.container_gamepad_helpers": { "layer": 2 } }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "hold_icon@common.inventory_take_progress_icon_button": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 10 } } + ] + } +} diff --git a/resource_pack/ui/game_tip_screen.json b/resource_pack/ui/game_tip_screen.json new file mode 100644 index 0000000..3b410c1 --- /dev/null +++ b/resource_pack/ui/game_tip_screen.json @@ -0,0 +1,232 @@ +{ + "namespace": "game_tip", + + //--------------------------------------------------------------------------- + // Game Tip UI elements + //--------------------------------------------------------------------------- + + "fade_animation": { + "anim_type": "alpha", + "easing": "linear", + "from": "$anim_alpha_from", + "to": "$anim_alpha_to", + "duration": "$anim_duration", + "$anim_event_name|default": "game_tip_animation_in_finished", + "end_event": "$anim_event_name" + }, + + "tip_animation": { + "anim_type": "aseprite_flip_book", + "initial_uv": [ 0, 0 ] + }, + + "game_tip_animation": { + "$animation_image_size|default": [ 84, 64 ], + "type": "image", + "texture": "#texture", + "size": "$animation_image_size", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, -4 ], + "layer": 50, + "uv_size": "$animation_image_size", + "uv": "@game_tip.tip_animation", + "disable_anim_fast_forward": true, + "bindings": [ + { + "binding_name": "#animation_name" + }, + { + "binding_type": "view", + "source_property_name": "('textures/ui/game_tip_animations/' + #animation_name)", + "target_property_name": "#texture" + } + ] + }, + + "game_tip_animation_panel": { + "type": "panel", + "size": [ "100%c", "0px" ], // Animation can be higher than game tip frame, so it's height shouldn't be counted. + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "animated_icon@game_tip.game_tip_animation": {} + } + ] + }, + + "game_tip_label": { + "type": "label", + "layer": 3, + "text_alignment": "left", + "color": "$body_text_color", + "max_size": [ 120, 100 ], + "line_padding": 1.5, + "$label_text|default": "#text", + "$label_text_binding_type|default": "global", + "text": "$label_text", + "bindings": [ + { + "binding_name": "$label_text", + "binding_name_override": "$label_text", + "binding_type": "$label_text_binding_type" + } + ] + }, + + "game_tip_text_panel": { + "type": "stack_panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "upper_padding": { "type": "panel", "size": [ 0, 5 ]} }, + { + "label@game_tip.game_tip_label": {} + }, + { "lower_padding": { "type": "panel", "size": [ 0, 5 ]} } + ] + }, + + "game_tip_arrow_image": { + "type": "image", + "alpha": 1.0, + + "anchor_from": "$arrow_anchor_point", + "anchor_to": "$arrow_anchor_point", + + "texture": "$arrow_texture", + "size": "$arrow_size" + }, + + "game_tip_arrow_panel": { + "type": "panel", + "size": [ "0px", "0px" ], // Arrow shouldn't be included in size calculation for the game tip frame. + "$arrow_offset|default": [ 25, -3 ], + "$arrow_texture|default": "textures/ui/gameTipArrow_down", + "$arrow_anchor_point|default": "left_middle", + "$arrow_size|default": [ 8, 12 ], + "$arrow_direction|default": "bottom_left", + + "variables": [ + { + "requires": "($arrow_direction = 'left')", + "$arrow_texture": "textures/ui/gameTipArrow_left", + "$arrow_size": [ 8, 12 ] + }, + { + "requires": "($arrow_direction = 'right')", + "$arrow_texture": "textures/ui/gameTipArrow_right", + "$arrow_size": [ 8, 12 ] + }, + { + "requires": "($arrow_direction = 'up')", + "$arrow_texture": "textures/ui/gameTipArrow_up", + "$arrow_size": [ 28, 15 ] + }, + { + "requires": "($arrow_direction = 'down')", + "$arrow_texture": "textures/ui/gameTipArrow_down", + "$arrow_size": [ 28, 15 ] + } + ], + + "anchor_from": "$arrow_anchor_point", + "anchor_to": "$arrow_anchor_point", + "offset": "$arrow_offset", + + "controls": [ + { + "tip_arrow@game_tip.game_tip_arrow_image": {} + } + ] + }, + + "game_tip_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "use_child_anchors": true, + "controls": [ + { "animated_panel@game_tip.game_tip_animation_panel": {} }, + { "middle_padding": { "type": "panel", "size": [ 7, 0 ]} }, // Padding between animation and text. + { "label@game_tip.game_tip_text_panel": {} }, + { "right_padding": { "type": "panel", "size": [ 9, 0 ]} } // 7px padding between text and frame + 2px frame border. + ] + }, + + "game_tip_item_background": { + "type": "image", + "texture": "textures/ui/gameTipBorder", + "layer": 50, + + "min_size": [ "default", 40 ], + "size": [ "100%c", "100%cm" ], + + "$tip_anchor_from|default": "top_right", + "$tip_anchor_to|default": "top_right", + "$game_tip_offset|default": [ 0, 0 ], + "$ignore_arrow|default": false, + + "anchor_from": "$tip_anchor_from", + "anchor_to": "$tip_anchor_to", + "offset": "$game_tip_offset", + + "alpha": "@game_tip.fade_animation", + "propagate_alpha": true, + + "controls": [ + { "horizontal_container@game_tip.game_tip_panel": {} }, + { + "arrow_panel@game_tip_arrow_panel": { + "ignored": "$ignore_arrow" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // UI helpers + //--------------------------------------------------------------------------- + + "chat_stack_game_tip_panel": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { "game_tip_background@game_tip.game_tip_item_background": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Game Tip Factories + //--------------------------------------------------------------------------- + + "game_tip_factory": { + "type": "panel", + "size": [ "default", "default" ], + "factory": { + "name": "game_tip_item_factory", + "max_children_size": 1, + "control_ids": { + "game_tip": "game_tip@game_tip.game_tip_item_background" + } + } + }, + + "game_tip_chat_stack_factory": { + "type": "panel", + "size": [ "default", "default" ], + "factory": { + "name": "game_tip_chat_stack_item_factory", + "max_children_size": 1, + "control_ids": { + "game_tip": "game_tip@game_tip.chat_stack_game_tip_panel" + } + } + } +} diff --git a/resource_pack/ui/gamepad_disconnected.json b/resource_pack/ui/gamepad_disconnected.json new file mode 100644 index 0000000..9a4b116 --- /dev/null +++ b/resource_pack/ui/gamepad_disconnected.json @@ -0,0 +1,74 @@ +{ + "namespace": "gamepad_disconnected", + + "gamepad_disconnected_modal": { + "type": "panel", + "size": "$gamepad_disconnect_screen_size", + + + "controls": [ + { + "dialog_background_hollow_3@common.dialog_background_hollow_3": { + "size": [ "100%", "110%" ], + + "controls": [ + { + "control": { + "type": "image", + "texture": "textures/ui/control", + "size": [ "100% - 16px", "100%" ], + "layer": -1, + "controls": [ + { + "content_panel": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "title": { + "layer": 10, + "type": "label", + "offset": [ 0, 8 ], + "size": [ "95%", 10 ], + "color": "$title_text_color", + "shadow": false, + "text": "gamepad_disconnect" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "description": { + "layer": 10, + "type": "label", + "color": "$body_text_color", + "size": [ "100%", "default" ], + "text": "gamepad_disconnect.reconnectController" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "gamepad_disconnected_screen@common.base_screen": { + "$screen_content": "gamepad_disconnected.gamepad_disconnected_modal" + } +} \ No newline at end of file diff --git a/resource_pack/ui/gamepad_layout_screen.json b/resource_pack/ui/gamepad_layout_screen.json new file mode 100644 index 0000000..5b1d754 --- /dev/null +++ b/resource_pack/ui/gamepad_layout_screen.json @@ -0,0 +1,640 @@ +{ + "namespace": "gamepad_layout", + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + "dark_thin_button": { + "type": "image", + "texture": "textures/ui/dark_thin_button", + "layer": 3 + }, + + "normal_stroke_button": { + "type": "image", + "texture": "textures/ui/normal_stroke_button", + "layer": 3 + }, + + "normal_thin_button": { + "type": "image", + "texture": "textures/ui/NormalButtonThinNewBevel", + "layer": 3 + }, + + "hover_thin_stroke_button": { + "type": "image", + "texture": "textures/ui/hover_thin_stroke_button", + "layer": 3 + }, + + "hover_thin_button": { + "type": "image", + "texture": "textures/ui/HoverButtonThinNewBevel2", + "layer": 3 + }, + + "indent": { + "type": "image", + "texture": "textures/ui/default_indent", + "layer": 3 + }, + + //--------------------------------------------------------------------------- + // Text + //--------------------------------------------------------------------------- + + "gamepad_action_text": { + "type": "label", + "color": "$generic_button_text_color", + "shadow": true, + "layer": 5 + }, + + "actions@gamepad_action_text": { + "text": "controllerLayoutScreen.actions", + "offset": [ "23%", "8%" ] + }, + + "bindings@gamepad_action_text": { + "text": "controllerLayoutScreen.bindings", + "offset": [ "-20%", "8%" ] + }, + + "header@gamepad_action_text": { + "text": "options.controllerLayout", + "offset": [ 0, "2%" ] + }, + + "gamepad_action@gamepad_action_text": { + "text": "#action", + "bindings": [ + { + "binding_name": "#action", + "binding_type": "collection", + "binding_collection_name": "gamepad_action_items" + } + ] + }, + + "gamepad_binding@gamepad_action_text": { + "text": "#binding", + "bindings": [ + { + "binding_name": "#binding", + "binding_type": "collection", + "binding_collection_name": "gamepad_action_items" + } + ] + }, + + "confirmation_text@gamepad_action_text": { + "text": "#confirmation", + "offset": [ 0, "-5%" ], + "bindings": [ + { + "binding_name": "#confirmation" + } + ] + }, + + + //--------------------------------------------------------------------------- + // Buttons + //--------------------------------------------------------------------------- + + "back_button@common.button": { + "$pressed_button_name": "button.menu_exit", + "size": [ "33%-2px", "100%" ], + "offset": [ -1, 0 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "layer": 4, + "controls": [ + { + "default@normal_thin_button": { + "controls": [ + { + "back_button_text@common.button_text": { + "text": "controllerLayoutScreen.cancel" + } + } + ] + } + }, + { + "hover@hover_thin_button": { + "controls": [ + { + "back_button_text@common.button_text": { + "text": "controllerLayoutScreen.cancel", + "color": "$generic_button_text_color" + } + } + ] + } + }, + { + "pressed@normal_thin_button": { + "controls": [ + { + "back_button_text@common.button_text": { + "text": "controllerLayoutScreen.cancel", + "color": "$generic_button_text_color", + "alpha": 0.65 + } + } + ] + } + } + ] + }, + + "accept_button@common.button": { + "$pressed_button_name": "button.menu_save_and_exit", + "size": [ "33%-2px", "100%" ], + "offset": [ 1, 0 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "layer": 4, + "controls": [ + { + "default@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "controllerLayoutScreen.save" + } + } + ] + } + }, + { + "hover@hover_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "controllerLayoutScreen.save", + "color": "$generic_button_text_color" + } + } + ] + } + }, + { + "pressed@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "controllerLayoutScreen.save", + "color": "$generic_button_text_color", + "alpha": 0.65 + } + } + ] + } + } + ] + }, + + "reset_button@common.button": { + "$pressed_button_name": "button.menu_reset_default", + "size": [ "33%-2px", "100%" ], + "offset": [ 0, 0 ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "layer": 4, + "controls": [ + { + "default@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "controls.reset" + } + } + ] + } + }, + { + "hover@hover_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "controls.reset", + "color": "$generic_button_text_color" + } + } + ] + } + }, + { + "pressed@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "controls.reset", + "color": "$generic_button_text_color", + "alpha": 0.65 + } + } + ] + } + } + ] + }, + + "yes_button@common.button": { + "$pressed_button_name": "button.menu_yes", + "size": [ "50%-2px", "100%" ], + "offset": [ 1, 0 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "layer": 4, + "controls": [ + { + "default@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "gui.yes" + } + } + ] + } + }, + { + "hover@hover_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "gui.yes", + "color": "$generic_button_text_color" + } + } + ] + } + }, + { + "pressed@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "gui.yes", + "color": "$generic_button_text_color", + "alpha": 0.65 + } + } + ] + } + } + ] + }, + + "no_button@common.button": { + "$pressed_button_name": "button.menu_no", + "size": [ "50%-2px", "100%" ], + "offset": [ -1, 0 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "layer": 4, + "controls": [ + { + "default@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "gui.no" + } + } + ] + } + }, + { + "hover@hover_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "gui.no", + "color": "$generic_button_text_color" + } + } + ] + } + }, + { + "pressed@normal_thin_button": { + "controls": [ + { + "accept_button_text@common.button_text": { + "text": "gui.no", + "color": "$generic_button_text_color", + "alpha": 0.65 + } + } + ] + } + } + ] + }, + + "bottom_buttons": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-6px", "15%" ], + "offset": [ 0, -4 ], + "controls": [ + { "accept@accept_button": { } }, + { "reset@reset_button": { } }, + { "back@back_button": { } } + ] + }, + + "cda_button_buttons": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-6px", "25%" ], + "offset": [ 0, -4 ], + "controls": [ + { "yes@yes_button": { } }, + { "no@no_button": { } } + ] + }, + + "gamepad_action_item_button_default_state": { + "type": "panel", + "size": [ "60%-1px", 25 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 4, + "controls": [ + { "action_bg@normal_thin_button": { } }, + { "action_text@gamepad_action": { } } + ] + }, + + "gamepad_action_item_button_hover_state": { + "type": "panel", + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "action_bg@hover_thin_stroke_button": { } }, + { + "action_text@gamepad_action": { + "color": "$generic_button_text_color" + } + } + ] + }, + + "gamepad_binding_button_hover_state": { + "type": "panel", + "layer": 4, + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "binding_bg@hover_thin_stroke_button": { } }, + { + "binding_text@gamepad_binding": { + "color": "$generic_button_text_color" + } + } + ] + }, + + "gamepad_binding_button_default_state": { + "type": "panel", + "layer": 4, + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "binding_bg@dark_thin_button": { } }, + { "binding_text@gamepad_binding": { } } + ] + }, + + "gamepad_action_item_button@common.button": { + "$pressed_button_name": "button.menu_binding_start", + "size": [ "60%-1px", 25 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "gamepad_action_items" + } + ], + "controls": [ + { "default@gamepad_action_item_button_default_state": { } }, + { "hover@gamepad_action_item_button_hover_state": { } }, + { "pressed@gamepad_action_item_button_hover_state": { } } + ] + }, + + "gamepad_binding_button@common.button": { + "$pressed_button_name": "button.menu_binding_start", + "size": [ "40%-1px", 25 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "gamepad_action_items" + } + ], + "controls": [ + { "default@gamepad_binding_button_default_state": { } }, + { "hover@gamepad_binding_button_hover_state": { } }, + { "pressed@gamepad_binding_button_hover_state": { } } + ] + }, + + //--------------------------------------------------------------------------- + // Grid Items + //--------------------------------------------------------------------------- + + "gamepad_action_items": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 26 ], + "controls": [ + { "action_panel@gamepad_action_item_button_default_state": { } }, + { "binding_button@gamepad_binding_button": { } } + ] + }, + + + "gamepad_action_grid": { + "type": "grid", + "grid_item_template": "gamepad_action_items", + "grid_dimension_binding": "#gamepad_action_item_grid_dimension", + "collection_name": "gamepad_action_items", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#gamepad_action_item_grid_dimension" + } + ] + }, + + "gamepad_action_grid_layout": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 4px", "100%c + 4px" ], + "offset": [ 2, 2 ], + "layer": 1, + "controls": [ + { + "gamepad_action_grid@gamepad_layout.gamepad_action_grid": { } + } + ] + }, + + //--------------------------------------------------------------------------- + // Panels + //--------------------------------------------------------------------------- + + "root_panel_common": { + "type": "panel", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "100%" ], + "controls": [ + { "root_button@normal_stroke_button": { "layer": 1 } }, + { "header_text@header": { } }, + { "bindings_text@bindings": { } }, + { "actions_text@actions": { } }, + { "root_edit_panel@gamepad_edit_panel": { } }, + { "root_bottom_buttons@bottom_buttons": { "layer": 2 } }, + { "input_siphon@ghost_binding": { "visible": false } } + ], + "bindings": [ + { + "binding_name": "#root_visible", + "binding_name_override": "#visible" + } + ] + }, + + "cda_panel": { + "type": "panel", + "anchor_to": "center", + "anchor_from": "center", + "size": [ "70%", "60%" ], + "controls": [ + { "bg@normal_stroke_button": { } }, + { "cda_text@confirmation_text": { } }, + { "test_buttons@cda_button_buttons": { } } + ], + "bindings": [ + { + "binding_name": "#cda_visible", + "binding_name_override": "#visible" + } + ] + }, + + "gamepad_action_binding": { + "type": "panel", + "anchor_to": "top_right", + "anchor_from": "top_right", + "size": [ "50%", 25 ], + "offset": [ 0, 2 ], + "controls": [ + { "binding_bg@dark_thin_button": { } }, + { "binding_txt@gamepad_binding": { } } + ] + }, + + "gamepad_edit_panel": { + "type": "panel", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%-14px", "68%" ], + "offset": [ 0, "15%" ], + "controls": [ + { + "scroll_area_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "offset": [ 0, -6 ], + "controls": [ + { + "scroll_section": { + "type": "panel", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_content": "gamepad_layout.gamepad_action_grid_layout" + } + } + ] + } + } + ] + } + } + ] + }, + + "ghost_binding": { + "type": "input_panel", + "button_mappings": [ + { + "from_button_id": "any", + "mapping_type": "global" + } + ], + "bindings": [ + { + "binding_name": "#binding_state", + "binding_name_override": "#visible" + } + ] + }, + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + "gamepad_layout_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "gamepad_layout.gamepad_layout_screen_content" + }, + + "gamepad_layout_screen_content": { + "type": "panel", + "controls": [ + + { "fade_panel@cda_panel": { } }, + { "root_panel@root_panel_common": { } } + ] + } + +} \ No newline at end of file diff --git a/resource_pack/ui/gameplay_common.json b/resource_pack/ui/gameplay_common.json new file mode 100644 index 0000000..d84b511 --- /dev/null +++ b/resource_pack/ui/gameplay_common.json @@ -0,0 +1,794 @@ +{ + "namespace": "gameplay", + + //--------------------------------------------------------------------------- + // Bundle controls + //--------------------------------------------------------------------------- + + "bundle_selected_item_icon@common.item_renderer": { + "size": "$item_renderer_size", + "offset": "$item_renderer_offset", + "layer": 51, + "bindings": [ + { + "binding_name": "#bundle_selected_item_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#bundle_item_renderer_data", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$item_renderer_binding_condition" + } + ] + }, + + "bundle_selected_item_background": { + "type": "panel", + "size": [ "100%+3px", "100%+3px" ], + "controls": [ + { + "bundle_selected_item_background_colour_green@common.highlight_slot": { + "layer": 1, + "alpha": 1.0, + "size": [ "100%-5px", "100%-5px" ], + "bindings": [ + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bundle_selected_item_background_colour": { + "type": "image", + "texture": "textures/ui/recipe_book_touch_cell_selected", + "layer": 1, + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#using_touch", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bundle_selected_item_frame@common.pocket_ui_highlight_slot": { + "layer": 4, + "bindings": [ + { + "binding_name": "#using_touch", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "bundle_selected_item_panel": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "layer": 1, + "controls": [ + { + "bundle_selected_item_background@gameplay.bundle_selected_item_background": { + "size": [ "100% + 7px", "100% + 7px" ], + "layer": 1 + } + }, + { + "bundle_open_icon_back": { + "type": "image", + "size": [ "100% + 2px", "100% + 2px" ], + "layer": 2, + "bindings": [ + { + "binding_name": "#bundle_open_back", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "visible" + } + ] + } + }, + { + "bundle_selected_item_icon@gameplay.bundle_selected_item_icon": { + "layer": 3 + } + }, + { + "bundle_open_icon_front": { + "type": "image", + "size": [ "100% + 2px", "100% + 2px" ], + "layer": 4, + "bindings": [ + { + "binding_name": "#bundle_open_front", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "visible" + } + ] + } + }, + { + "storage_bar@common.storage_bar": { + "layer": 5 + } + } + ], + "bindings": [ + { + "binding_name": "#bundle_selected_item_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "bundle_slot_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { + "bundle_selected_item_panel@gameplay.bundle_selected_item_panel": { + "layer": 1 + } + } + ] + }, + + "bundle_cell_image": { + "type": "panel", + "controls": [ + { + "background_panel": { + "type": "panel", + "controls": [ + { + "item_background": { + "type": "image", + "texture": "textures/ui/bundle_item_background", + "layer": 1, + "size": [ "100%", "100%" ] + } + } + ] + } + }, + { + "highlight_panel": { + "type": "panel", + "controls": [ + { + "bundle_selected_item_background_colour_green@common.highlight_slot": { + "layer": 1, + "alpha": 1.0, + "size": [ "100%", "100%" ], + "visible": false, + "bindings": [ + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bundle_selected_item_background_border_white": { + "type": "image", + "texture": "textures/ui/focus_border_white", + "layer": 2, + "alpha": 1.0, + "size": [ "100%", "100%" ], + "visible": false, + "bindings": [ + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bundle_selected_item_background_colour_blue@common.cell_image_selected": { + "layer": 1, + "visible": false, + "bindings": [ + { + "binding_name": "#using_touch", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_selected_bundle_item_slot", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + }, + + "bundle_tooltip_slot_button@common.container_slot_button_prototype": { + "$pressed_button_name": "button.tapped_bundle_item_icon", + "size": [ "100%", "100%" ], + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.hide_bundle_tooltip", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + } + ] + }, + + "bundle_tooltip_slot_pocket": { + "type": "panel", + "size": [ 30, 30 ], + "controls": [ + { + "item_in_bundle_tooltip_pocket@common.pocket_ui_container_item": { + "size": [ 28, 28 ], + "$background_images|default": "gameplay.bundle_cell_image", + "$button_ref|default": "gameplay.bundle_tooltip_slot_button", + "bindings": [ + { + "binding_name": "#show_bundle_item_slot", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + }, + { + "more_hidden_items_label": { + "size": [ "default", 10 ], + "type": "label", + "color": "$item_stack_count_color", + "layer": 2, + "text": "#more_hidden_items_text", + "bindings": [ + { + "binding_name": "#is_hidden_items_label", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#more_hidden_items_text", + "binding_condition": "visible" + } + ] + } + } + ] + }, + + "bundle_tooltip_slot_classic": { + "type": "panel", + "size": [ 20, 20 ], + "controls": [ + { + "item_in_bundle_tooltip_pocket@common.container_item": { + "size": [ 18, 18 ], + "$background_images|default": "gameplay.bundle_cell_image", + "$button_ref|default": "gameplay.bundle_tooltip_slot_button", + "bindings": [ + { + "binding_name": "#show_bundle_item_slot", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + }, + { + "more_hidden_items_label": { + "size": [ "default", 10 ], + "type": "label", + "color": "$item_stack_count_color", + "layer": 2, + "text": "#more_hidden_items_text", + "bindings": [ + { + "binding_name": "#is_hidden_items_label", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#more_hidden_items_text", + "binding_condition": "visible" + } + ] + } + } + ] + }, + + "bundle_tooltip": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "min_size": "$tooltip_size", + "layer": 50, + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/purpleBorder", + "layer": 1, + "size": [ "100%sm + 10px", "100%sm + 10px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "empty_button@common.button": { + "$pressed_button_name": "button.tapped_bundle_tooltip", + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { "default@common.empty_panel": {} }, + { "hover@common.empty_panel": {} }, + { "pressed@common.empty_panel": {} } + ] + } + }, + { + "selected_item_tooltip@common.item_panel_image": { + "alpha": 1, + "anchor_to": "bottom_middle", + "anchor_from": "top_middle", + "visible": "#visible", + "controls": [ + { + "item_text_label@common.item_text_label": { + "alpha": 1, + "text": "#selected_bundle_item_text", + "bindings": [ + { + "binding_name": "#selected_bundle_item_text", + "binding_condition": "visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#bundle_has_selected_item", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "header_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "default", 15 ], + "offset": [ 5, 5 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "controls": [ + { + "bundle_label": { + "type": "label", + "color": "$main_header_text_color", + "min_size": "$bundle_label_size", + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#bundle_name", + "bindings": [ + { + "binding_name": "#bundle_name", + "binding_condition": "visible" + } + ], + "variables": [ + { + "requires": "$desktop_screen", + "$bundle_label_size": [ 77, "default" ] + }, + { + "requires": "$pocket_screen", + "$bundle_label_size": [ 117, "default" ] + } + ] + } + }, + { + "close_button@common.close_button": { + "$pressed_button_name": "button.hide_bundle_tooltip", + "size": [ 8, 8 ], + "layer": 2, + "button_mappings": [ + { + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + } + ], + "controls": [ + { + "default@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_default_light", + "$button_alpha": "$default_button_alpha" + + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_hover_light" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_pressed_light" + } + } + ], + "bindings": [ + { + "binding_name": "#show_bundle_tooltip_pocket", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "wrapper": { + "type": "panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%sm", "100%c" ], + "controls": [ + { + "vertical_layout_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "controls": [ + { + "header_padding": { + "type": "panel", + "layer": 3, + "size": [ 0, 18 ], + "offset": [ 5, 100 ] + } + }, + { + "horisontal_layout_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + "layer": 3, + "controls": [ + { + "left_padding": { + "type": "panel", + "size": "$tooltip_body_padding_size", + "layer": 4 + } + }, + { + "body_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", "100%c" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 4, + "controls": [ + { + "item_grid": { + "type": "grid", + "layer": 3, + "grid_dimension_binding": "#bundle_tooltip_grid_dimensions", + "collection_name": "bundle_items", + "grid_item_template": "$bundle_tooltip_slot_type", + "$item_collection_name": "bundle_items", + "bindings": [ + { + "binding_name": "#bundle_tooltip_grid_dimensions", + "binding_condition": "always_when_visible" + } + ], + "variables": [ + { + "requires": "$desktop_screen", + "$bundle_tooltip_slot_type": "gameplay.bundle_tooltip_slot_classic" + }, + { + "requires": "$pocket_screen", + "$bundle_tooltip_slot_type": "gameplay.bundle_tooltip_slot_pocket" + } + ] + } + }, + { + "info_message": { + "type": "label", + "layer": 3, + "color": "$bundle_info_description_color", + "text": "item.bundle.empty.description", + "size": "$info_message_size", + + "bindings": [ + { + "binding_name": "#is_selected_bundle_empty", + "binding_name_override": "#visible" + } + ], + "variables": [ + { + "requires": "$desktop_screen", + "$info_message_size": [ 77, "default" ] + }, + { + "requires": "$pocket_screen", + "$info_message_size": [ 117, "default" ] + } + ] + } + }, + { + "footer_panel": { + "type": "panel", + "layer": 3, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": "$tooltip_footer_size", + "controls": [ + { + "weight_bar": { + "type": "panel", + "layer": 4, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, 3 ], + "size": "$weight_bar_size", + "controls": [ + { + "empty_message": { + "type": "label", + "color": "$sub_header_text_color", + "layer": 5, + "text": "item.bundle.empty", + "shadow": true, + "bindings": [ + { + "binding_name": "#is_selected_bundle_empty", + "binding_name_override": "#visible" + } + ] + } + }, + { + "weight_bar_fill": { + "type": "image", + "layer": 5, + "texture": "textures/ui/container_weight_bar_fill", + "clip_direction": "left", + "clip_pixelperfect": false, + "bindings": [ + { + "binding_name": "#bundle_weight_bar_ratio", + "binding_name_override": "#clip_ratio", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "(not #is_selected_bundle_full)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "weight_bar_full": { + "type": "image", + "layer": 5, + "texture": "textures/ui/container_weight_bar_full", + "controls": [ + { + "full_label": { + "type": "label", + "color": "$sub_header_text_color", + "layer": 2, + "text": "item.bundle.full", + "shadow": true + } + } + ], + "bindings": [ + { + "binding_name": "#is_selected_bundle_full", + "binding_name_override": "#visible" + } + ] + } + }, + { + "weight_bar_border": { + "type": "image", + "texture": "textures/ui/empty_stack_progress_bar", + "layer": 5 + } + } + ], + "variables": [ + { + "requires": "$desktop_screen", + "$weight_bar_size": [ 76, 12 ] + }, + { + "requires": "$pocket_screen", + "$weight_bar_size": [ 112, 12 ] + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ], + "variables": [ + { + "requires": "$desktop_screen", + "$tooltip_size": [ 86, 58 ], + "$tooltip_body_padding_size": [ "50% - 34px", 1 ], + "$tooltip_footer_size": [ 76, 15 ] + }, + { + "requires": "$pocket_screen", + "$tooltip_size": [ 127, 60 ], + "$tooltip_body_padding_size": [ "50% - 54px", 1 ], + "$tooltip_footer_size": [ 112, 15 ] + } + ], + "bindings": [ + { + "binding_name": "#show_bundle_tooltip_hover", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "bundle_touch_tooltip@gameplay.bundle_tooltip": { + "offset": [ 0, "-36px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#show_bundle_tooltip_pocket", + "binding_name_override": "#visible" + } + ] + }, + + "bundle_cursor_tooltip": { + "type": "button", + "size": [ "100%cm", "100%cm" ], + "layer": 100, + "locked_control": "", + "always_listen_to_input": true, + "follows_cursor_inside_parent": true, + "always_handle_pointer": true, + "controls": [ + { + "default@common.empty_panel": { + "size": [ 0, 0 ] + } + }, + { + "pressed@common.empty_panel": { + "size": [ 0, 0 ] + } + }, + { "hover@gameplay.bundle_tooltip": {} } + ] + } +} diff --git a/resource_pack/ui/gamma_calibration_screen.json b/resource_pack/ui/gamma_calibration_screen.json new file mode 100644 index 0000000..f1fa017 --- /dev/null +++ b/resource_pack/ui/gamma_calibration_screen.json @@ -0,0 +1,245 @@ +{ + "namespace": "gamma_calibration", + + + "stack_panel_centering_panel": { + "type": "panel", + "$control_name|default": "common.empty_panel", + "controls": [ + { + "child@$control_name": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "image_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "33.3333% - 10.66667px", "100%c" ], + "$image_label|default": "", + "controls": [ + { + "centering_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "image_label": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ "100%", "100%" ], + "text": "$image_label", + "color": "$body_text_color" + } + } + ] + } + }, + { + "image": { + "type": "image", + "texture": "$texture_name", + "size": [ "100%", "100%x" ], + "color_corrected": true + } + } + ] + }, + + "horizontal_padding": { + "type": "panel", + "size": [ 16, 0 ] + }, + + "image_stack": { + "type": "stack_panel", + "size": "$image_panel_size", + "orientation": "horizontal", + "controls": [ + { + "not_visible_image@gamma_calibration.image_panel": { + "$image_label": "options.brightness.notVisible", + "$texture_name": "textures/ui/not_visible_creeper" + } + }, + { + "padding_0@gamma_calibration.horizontal_padding": {} + }, + { + "barely_visible_image@gamma_calibration.image_panel": { + "$image_label": "options.brightness.barelyVisible", + "$texture_name": "textures/ui/barely_visible_creeper" + } + }, + { + "padding_1@gamma_calibration.horizontal_padding": {} + }, + { + "easily_visible_image@gamma_calibration.image_panel": { + "$image_label": "options.brightness.easilyVisible", + "$texture_name": "textures/ui/easily_visible_creeper" + } + } + ] + }, + + "message_panel": { + "type": "panel", + "controls": [ + { + "message_label": { + "size": [ "default", "default" ], + "max_size": [ "100%", "100%" ], + "type": "label", + "color": "$body_text_color", + "text": "options.adjustBrightness" + } + } + ] + }, + + "calibration_slider": { + "type": "stack_panel", + "size": [ "50%", "100%c" ], + "$slider_header": "options.gamma", + "controls": [ + { + "centering_panel": { + "type": "panel", + "size": [ "100%", 14 ], + "controls": [ + { + "slider_label": { + "type": "label", + "size": [ "default", "default" ], + "text": "$slider_header", + "color": "$body_text_color" + } + } + ] + } + }, + { + "slider_control": { + "type": "panel", + "size": [ "100% - 2px", 16 ], + "$slider_name": "gamma_calibration", + "$option_label": "#hdr_strength_slider_label", + "$option_enabled_binding_name": "#hdr_strength_enabled", + "$slider_value_binding_name": "#gamma_calibration", + "$default_focus_precedence": 1, + "controls": [ + { + "slider@common.slider": { + "size": "$slider_size", + "$slider_box_size": [ 10, 16 ], + "offset": [ 1, 0 ], + "$slider_select_on_hover": true, + "$slider_tts_header": "$slider_header", + "$slider_tts_name": "", + "$slider_tts_text_value": "#gamma_calibration_text_value" + } + } + ] + } + } + ] + }, + + + + "continue_button@common_buttons.light_text_button": { + "size": [ "20%", 30 ], + "$pressed_button_name": "button.continue", + "$button_text": "gui.continue" + }, + + "main_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "layer": 1, + "variables": [ + { + "requires": "($pocket_screen or $is_holographic)", + "$padding_between_button_size": [ "100%", 2 ] + }, + { + "requires": "$desktop_screen", + "$padding_between_button_size": [ "100%", 16 ] + } + ], + "controls": [ + { + "hdr_message_panel@gamma_calibration.stack_panel_centering_panel": { + "$control_name": "gamma_calibration.message_panel", + "size": [ "100%", 30 ] + } + }, + { + "image_stack_panel@gamma_calibration.stack_panel_centering_panel": { + "$control_name": "gamma_calibration.image_stack", + "size": [ "100%", "100%c" ], + "variables": [ + { + "requires": "($pocket_screen or $is_holographic)", + "$image_panel_size": [ 192, "33.3333%c" ] + }, + { + "requires": "$desktop_screen", + "$image_panel_size": [ 248, "33.3333%c" ] + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 16 ] + } + }, + { + "slider_panel@gamma_calibration.stack_panel_centering_panel": { + "$control_name": "gamma_calibration.calibration_slider", + "size": [ "100%", "100%c" ], + "variables": [ + { + "requires": "($pocket_screen or $is_holographic)", + "$slider_size": [ 162, 10 ] + }, + { + "requires": "$desktop_screen", + "$slider_size": [ 218, 10 ] + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": "$padding_between_button_size" + } + }, + { + "continue_button_panel@gamma_calibration.stack_panel_centering_panel": { + "$control_name": "gamma_calibration.continue_button", + "size": [ "100%", 30 ] + } + } + ] + }, + + "black_background": { + "type": "image", + "texture": "textures/ui/realms_text_background" + }, + + "gamma_calibration_screen@common.base_screen": { + "$screen_content": "gamma_calibration.main_panel", + "$screen_bg_content": "gamma_calibration.black_background" + } + +} diff --git a/resource_pack/ui/gathering_info_screen.json b/resource_pack/ui/gathering_info_screen.json new file mode 100644 index 0000000..0fc1a72 --- /dev/null +++ b/resource_pack/ui/gathering_info_screen.json @@ -0,0 +1,502 @@ +{ + "namespace": "gathering_info", + + "gathering_info_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_exit", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "variables": [ + { + "requires": "($auto_connect)", + "$screen_animations": [ + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ] + } + ], + + "$screen_content": "gathering_info.info_content", + "$is_full_screen_layout": true + }, + + "info_content": { + "type": "panel", + "controls": [ + { + "header@common.fullscreen_header": { + "$back_button_has_title": true, + "$button_text": "#header_text", + "$button_text_binding_type": "global" + } + }, + { + "left_panel": { + "type": "panel", + "size": [ "40%", "100% - 22px" ], + "offset": [ 0, 22 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 18px", "100%" ], + "controls": [ + { + "event_image": { + "type": "image", + "size": [ "100%", "77%x" ], + "max_size": [ "100%", "100% - 119px" ], + "allow_debug_missing_texture": false, + "bindings": [ + { + "binding_name": "#event_image", + "binding_name_override": "#texture" + } + ] + } + }, + { + "pad_2@common.empty_panel": { + "size": [ "100%", 8 ] + } + }, + { + "button_and_caption": { + "type": "panel", + "size": [ "100%", 28 ], + "controls": [ + { + "caption@start.gathering_caption": { + "size": [ 100, "default" ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "offset": [ 8, -20 ], + "layer": 20 + } + }, + { + "action_button@common_buttons.light_text_button": { + "size": [ "100%", 28 ], + "$pressed_button_name": "button.action", + "$button_text": "#action_button_text", + "$button_text_binding_type": "global", + "bindings": [ + { + "binding_name": "#action_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + }, + { + "pad_3@common.empty_panel": { + "size": [ "100%", 4 ] + } + }, + { + "info_button@common_buttons.light_text_button": { + "size": [ "100%", 28 ], + "$pressed_button_name": "button.info", + "$button_text": "#info_button_text", + "$button_text_binding_type": "global" + } + }, + { + "pad_4@common.empty_panel": { + "size": [ "100%", 10 ] + } + }, + { + "gamepad_helper_panel": { + "type": "panel", + "size": [ "100%", 26 ], + "controls": [ + { + "gamepad_helpers@gathering_info.gamepad_helpers": {} + } + ] + } + }, + { + "pad_fill@common.empty_panel": { + "size": [ "100%", "fill" ] + } + }, + { + "gathering_id_label": { + "type": "label", + "text": "#gathering_id_label", + "size": [ "100%", "20px" ], + "color": "$alert_label_background_color", + "text_alignment": "center", + "bindings": [ + { + "binding_name": "#gathering_id_label", + "binding_condition": "once" + } + ] + } + }, + { + "pad_5@common.empty_panel": { + "size": [ "100%", "5px" ] + } + } + ] + } + } + ] + } + }, + { + "section_divider@gathering_info.section_divider": {} + }, + { + "right_panel": { + "type": "panel", + "size": [ "60% - 4px", "100% - 23px" ], + "offset": [ 0, 23 ], + "anchor_to": "top_right", + "anchor_from": "top_right", + "controls": [ + { + "scroll@common.scrolling_panel": { + "$scrolling_content": "gathering_info.right_panel_content", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$show_background": false + } + } + ] + } + } + ] + }, + + "right_panel_content": { + "type": "stack_panel", + "size": [ "100% - 24px", "100%c" ], + "orientation": "vertical", + "use_child_anchors": true, + "controls": [ + { + "pad": { + "type": "panel", + "size": [ "100%", 15 ] + } + }, + { + "sign_in_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "sign_in_image": { + "type": "image", + "texture": "textures/ui/promo_chicken", + "size": [ 37, 37 ] + } + }, + { + "horizontal_pad": { + "type": "panel", + "size": [ 10, 0 ] + } + }, + { + "text_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "sign_in_title@gathering_info.tts_label_title": { + "$tts_label_panel": "gathering_info.sign_in_title" + } + }, + { + "text_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "sign_in_body@gathering_info.tts_label": { + "$tts_label_panel": "gathering_info.sign_in_body" + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sign_in_pad@common.empty_panel": { + "size": [ "100%", 20 ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "qr_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "visible": false, + "controls": [ + { + "qr_background": { + "type": "image", + "texture": "textures/ui/white_background", + "size": [ 60, 60 ], + "controls": [ + { + "qr_image": { + "type": "image", + "texture": "#qr_texture", + "texture_file_system": "RawPath", + "size": [ 56, 56 ], + "layer": 2, + "bindings": [ + { + "binding_name": "#qr_texture", + "binding_name_override": "#texture", + "binding_condition": "visibility_changed" + } + ] + } + } + ] + } + }, + { + "horizontal_pad": { + "type": "panel", + "size": [ 10, 0 ] + } + }, + { + "text_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "qr_title@gathering_info.tts_label_title": { + "$tts_label_panel": "gathering_info.qr_title" + } + }, + { + "text_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "qr_body@gathering_info.tts_label": { + "$tts_label_panel": "gathering_info.qr_body" + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#qr_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "qr_pad@common.empty_panel": { + "size": [ "100%", 20 ], + "bindings": [ + { + "binding_name": "#qr_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "title@gathering_info.tts_label_title": { + "$tts_label_panel": "gathering_info.title_panel" + } + }, + { + "pad_1@common.empty_panel": { + "size": [ "100%", 4 ] + } + }, + { + "body@gathering_info.tts_label": { + "$tts_label_panel": "gathering_info.body_panel" + } + }, + { + "pad_2@common.empty_panel": { + "size": [ "100%", 20 ] + } + }, + { + "body_image": { + "type": "image", + "texture": "#body_image", + "size": [ "100%", "77%x" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "allow_debug_missing_texture": false, + "bindings": [ + { + "binding_name": "#body_image", + "binding_name_override": "#texture" + } + ] + } + }, + { + "footer": { + "type": "input_panel", + "focus_enabled": true, + "tts_ignore_count": true, + "size": [ "100%", "1px" ] + } + } + ] + }, + + "tts_label@common.tts_label_focus_wrapper": { + "$focus_border_visible_binding_type": "none", + "$focus_border_offset": [ -2, -1 ], + "$focus_border_size": [ "100%", "100%sm + 3px" ] + }, + + "tts_label_title@common.tts_label_focus_wrapper": { + "$focus_border_visible_binding_type": "none", + "$focus_border_offset": [ -2, 1 ], + "$focus_border_size": [ "100%", "100%sm + 2px" ] + }, + + "sign_in_title": { + "type": "label", + "text": "gathering.info.signIn.title", + "font_type": "MinecraftTen", + "color": "$body_text_color", + "size": [ "100%", "default" ] + }, + + "sign_in_body": { + "type": "label", + "text": "gathering.info.signIn.body", + "size": [ "100%", "default" ], + "color": "$body_text_color" + }, + + "qr_title": { + "type": "label", + "text": "#qr_title_text", + "font_type": "MinecraftTen", + "color": "$body_text_color", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#qr_title_text", + "binding_condition": "visibility_changed" + } + ] + }, + + "qr_body": { + "type": "label", + "text": "#qr_body_text", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#qr_body_text", + "binding_condition": "visibility_changed" + } + ] + }, + + "title_panel": { + "type": "label", + "text": "#title_text", + "size": [ "100%", "default" ], + "font_type": "MinecraftTen", + "anchor_to": "top_left", + "anchor_from": "top_left", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#title_text" + } + ] + }, + + "body_panel": { + "type": "label", + "text": "#body_text", + "size": [ "100%", "default" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#body_text" + } + ] + }, + + "section_divider": { + "type": "image", + "offset": [ "40%", "20px" ], + "size": [ "4px", "100% - 18px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "texture": "textures/ui/HowToPlayDivider" + }, + + "gamepad_helpers": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 26 ], + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": {} + }, + { + "gamepad_helper_b@common.gamepad_helper_b": {} + } + ] + } +} diff --git a/resource_pack/ui/global_pause_screen.json b/resource_pack/ui/global_pause_screen.json new file mode 100644 index 0000000..3412f5d --- /dev/null +++ b/resource_pack/ui/global_pause_screen.json @@ -0,0 +1,63 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "globalpause", + + "message": { + "type": "label", + "color": "$body_text_color", + "anchor_to": "center", + "anchor_from": "center", + "layer": 2, + "shadow": false, + "text": "globalPauseScreen.message" + }, + + "quit_button@common_buttons.light_text_form_fitting_button": { + "$pressed_button_name": "button.menu_quit", + "$button_text": "globalPauseScreen.quit", + "layer": 2, + "offset": [ 0, "10%" ], + "variables": [ + { + "requires": "$is_editor_playtest_roundtrip", + "$button_text": "pauseScreen.editor.quit" + } + ] + }, + + "globalpause_screen@common.base_screen": { + "$screen_content": "globalpause.pause_screen_content" + }, + "pause_screen_content": { + "type": "panel", + "$fill_alpha|default": 0.8, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + + "controls": [ + { + "transparentFill": { + "type": "image", + "texture": "textures/ui/control", + "layer": -1, + "size": [ "100%", "100%" ], + "alpha": "$fill_alpha" + } + }, + { + "message@globalpause.message": {} + }, + { + "quit_button@globalpause.quit_button": {} + } + ] + } +} diff --git a/resource_pack/ui/grindstone_screen.json b/resource_pack/ui/grindstone_screen.json new file mode 100644 index 0000000..04a893b --- /dev/null +++ b/resource_pack/ui/grindstone_screen.json @@ -0,0 +1,266 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ +{ + "namespace": "grindstone", + + "title_label": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "container.repairAndDisenchant", + "color": "$title_text_color" + }, + + "arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_large", + "size": [ 22, 15 ] + }, + + "cross_out_icon": { + "type": "image", + "texture": "textures/ui/crossout", + "size": [ 15, 15 ], + "bindings": [ + { + "binding_name": "#cross_out_icon", + "binding_name_override": "#visible" + } + ] + }, + + "grindstone_output_slot_button@common.container_slot_button_prototype": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.grindstone_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.grindstone_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.grindstone_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.grindstone_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.grindstone_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.grindstone_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.grindstone_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "grindstone_item_slot": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "container_item@common.container_item": { + "anchor_to": "center", + "anchor_from": "center" + } + } + ] + }, + + "grindstone_middle_panel": { + "type": "panel", + "size": [ 18, 41 ], + "controls": [ + { + "input_item_slot@grindstone.grindstone_item_slot": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 1 ], + "$item_collection_name": "grindstone_input_items", + + "$focus_id_binding_type": "none", + "$focus_id": "grindstone_input", + + "$focus_override_down_binding_type": "none", + "$focus_override_down": "grindstone_additional", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "grindstone_result" + } + }, + { + "additional_item_slot@grindstone.grindstone_item_slot": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -1 ], + "$item_collection_name": "grindstone_additional_items", + + "$focus_id_binding_type": "none", + "$focus_id": "grindstone_additional", + + "$focus_override_up_binding_type": "none", + "$focus_override_up": "grindstone_input", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "grindstone_result" + } + } + ] + }, + + "grindstone_slots_panel": { + "type": "panel", + "size": [ 90, 56 ], + "controls": [ + { + "grindstone_middle_panel@grindstone.grindstone_middle_panel": { + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "yields": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ 22, 15 ], + "controls": [ + { "arrow_icon@grindstone.arrow_icon": {} }, + { + "cross_out_icon@grindstone.cross_out_icon": { + "layer": 1 + } + } + ] + } + }, + { + "result_item_slot@grindstone.grindstone_item_slot": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$item_collection_name": "grindstone_result_items", + "$button_ref": "grindstone.grindstone_output_slot_button", + + "$focus_id_binding_type": "none", + "$focus_id": "grindstone_result", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "grindstone_additional" + } + } + ] + }, + + "top_half_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 8px", "50% - 8px" ], + "offset": [ 4, 6 ], + "controls": [ + { + "title_label@grindstone.title_label": { + "offset": [ 4, 2 ] + } + }, + { + "grindstone_slots_panel@grindstone.grindstone_slots_panel": { + "offset": [ 0, 4 ] + } + } + ] + }, + + "grindstone_panel": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "controls": [ + { "common_panel@common.common_panel": {} }, + { + "grindstone_screen_inventory": { + "type": "panel", + "layer": 2, + "controls": [ + { "top_half_panel@grindstone.top_half_panel": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + }, + + "grindstone_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "close_on_player_hurt": "$close_on_player_hurt", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "grindstone.grindstone_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "$pocket_screen", + "$screen_content": "grindstone_pocket.grindstone_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + } + ] + } +} diff --git a/resource_pack/ui/grindstone_screen_pocket.json b/resource_pack/ui/grindstone_screen_pocket.json new file mode 100644 index 0000000..261225f --- /dev/null +++ b/resource_pack/ui/grindstone_screen_pocket.json @@ -0,0 +1,243 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ +{ + "namespace": "grindstone_pocket", + + "background_image": { + "type": "image", + "size": [ "85%", "85%" ], + "texture": "textures/ui/background_panel" + }, + + "repair_title_label": { + "type": "label", + "anchor_from": "center", + "anchor_to": "center", + "text": "container.repairAndDisenchant", + "color": "$title_text_color" + }, + + "grindstone_middle_panel": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 32, 67 ], + "controls": [ + { + "input_slot@common.pocket_ui_large_container_item": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 1 ], + + "$item_collection_name": "grindstone_input_items" + } + }, + { + "additional_slot@common.pocket_ui_large_container_item": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -1 ], + + "$item_collection_name": "grindstone_additional_items" + } + } + ] + }, + + "slots_panel": { + "type": "panel", + "size": [ 142, 83 ], + "controls": [ + { + "grindstone_middle_panel@grindstone_pocket.grindstone_middle_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "arrow": { + "type": "image", + "texture": "textures/ui/arrow_large", + "size": [ 22, 15 ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "cross_out": { + "type": "image", + "layer": 1, + "texture": "textures/ui/crossout", + "bindings": [ + { + "binding_name": "#cross_out_icon", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "result_slot@common.pocket_ui_large_container_item": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$item_collection_name": "grindstone_result_items", + "$button_ref": "grindstone.grindstone_output_slot_button" + } + } + ] + }, + + "grindstone_contents_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "repair_title_label@grindstone_pocket.repair_title_label": { + "offset": [ 0, -50 ] + } + }, + { + "slots_panel@grindstone_pocket.slots_panel": { + } + } + ] + }, + + "inventory_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "maximum_grid_items": 36, + "collection_name": "combined_hotbar_and_inventory_items", + "grid_item_template": "common.pocket_ui_container_item", + "$item_collection_name": "combined_hotbar_and_inventory_items" + }, + + "inventory_content": { + "type": "panel", + "size": [ "100%-5px", "100%-5px" ], + "offset": [ "5px", "2px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$allow_scrolling_even_when_content_fits": false, + "$scrolling_pane_size": [ "100%", "100%-2px" ], + "$scrolling_content": "grindstone_pocket.inventory_grid", + "$scroll_box_mouse_image_control": "common-classic.button_state_default", + "$scroll_size": [ "8px", "100%" ] + } + } + ] + }, + + + "header": { + "type": "panel", + "size": [ "100%", 28 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "header_background": { + "type": "image", + "texture": "textures/ui/header_bar_2" + } + }, + { "legacy_pocket_close_button@common.legacy_pocket_close_button": { "offset": [ -3, 3 ] } }, + { + "panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "title_label": { + "type": "label", + "color": "$pocket_title_text_color", + "text": "tile.grindstone.name", + "layer": 1 + } + } + ] + } + } + ] + }, + + // Layout Content Panels // + + "inventory_and_grindstone_panel": { + "type": "panel", + "controls": [ + { + "inventory_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "controls": [ + { "inventory_content@grindstone_pocket.inventory_content": {} } + ] + } + }, + { + "grindstone_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "controls": [ + { "grindstone_content@grindstone_pocket.grindstone_contents_panel": {} } + ] + } + } + ] + }, + + "header_and_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "85%", "85%" ], + "controls": [ + { "header@grindstone_pocket.header": { "layer": 2 } }, + { + "inventory_and_grindstone_panel@grindstone_pocket.inventory_and_grindstone_panel": { + "size": [ "100%", "fill" ] + } + } + ] + }, + + // Screen + + "grindstone_panel": { + "type": "panel", + "controls": [ + { "bg@grindstone_pocket.background_image": {} }, + { "root_panel@common.root_panel": { "size": [ "85%", "85%" ], "layer": 1 } }, + { "header_and_content_stack_panel@grindstone_pocket.header_and_content_stack_panel": {} }, + + { "container_gamepad_helpers@common.container_gamepad_helpers": { "layer": 2 } }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "hold_icon@common.inventory_take_progress_icon_button": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 10 } } + ] + } +} diff --git a/resource_pack/ui/holographic_postrender_screen.json b/resource_pack/ui/holographic_postrender_screen.json new file mode 100644 index 0000000..f2316aa --- /dev/null +++ b/resource_pack/ui/holographic_postrender_screen.json @@ -0,0 +1,20 @@ +{ + "namespace": "holographic_postrender_screen", + + "special_render": { + "type": "custom", + "renderer": "holographic_postrenderer" + }, + + "holographic_postrender_screen@common.base_screen": { + "send_telemetry": false, + "screen_not_flushable": true, + "render_game_behind": true, + "is_showing_menu": false, + "is_modal": true, + "should_steal_mouse": false, + "render_only_when_topmost": false, + "screen_draws_last": true, + "$screen_content": "holographic_postrender_screen.special_render" + } +} \ No newline at end of file diff --git a/resource_pack/ui/horse_screen.json b/resource_pack/ui/horse_screen.json new file mode 100644 index 0000000..08a660f --- /dev/null +++ b/resource_pack/ui/horse_screen.json @@ -0,0 +1,278 @@ +{ + "namespace": "horse", + + "renderer_bg": { + "type": "image", + "texture": "textures/ui/pocket_button_pressed" + }, + + "overlay_image": { + "type": "image", + "alpha": 0.5 + }, + + "saddle_image@horse.overlay_image": { + "texture": "textures/ui/empty_horse_slot_saddle" + }, + + "armor_image@horse.overlay_image": { + "texture": "textures/ui/empty_horse_slot_armor" + }, + + "carpet_image@horse.overlay_image": { + "texture": "textures/ui/empty_llama_slot_carpet" + }, + + "horse_label@common.section_heading_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 7, 7 ], + "text": "$container_title", + "layer": 5 + }, + + "equip_grid": { + "type": "grid", + "anchor_to": "top_left", + "anchor_from": "top_left", + "collection_name": "horse_equip_items", + "grid_item_template": "@common.container_item", + "grid_dimension_binding": "#equip_grid_dimensions", + "$item_collection_name": "horse_equip_items", + "bindings": [ + { + "binding_name": "#equip_grid_dimensions" + } + ] + }, + + "inv_grid": { + "type": "grid", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 3, + "collection_name": "container_items", + "grid_item_template": "@common.container_item", + "grid_dimension_binding": "#inv_grid_dimensions", + "$item_collection_name": "container_items", + "bindings": [ + { + "binding_name": "#inv_grid_dimensions" + } + ] + }, + + "inv_bg_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 90, 54 ], + "layer": 2, + "controls": [ + { "cell_image@common.cell_image": { } } + ] + }, + + "equip_panel": { + "type": "panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { "equip_grid@horse.equip_grid": { } }, + { + "saddle@horse.saddle_image": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 16, 16 ], + "offset": [ 1, 1 ], + "layer": 4, + "bindings": [ + { + "binding_name": "#has_saddle_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "armor_0@horse.armor_image": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 16, 16 ], + "offset": [ 1, 1 ], + "layer": 4, + "bindings": [ + { + "binding_name": "#has_only_armor_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "carpet_0@horse.carpet_image": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 16, 16 ], + "offset": [ 1, 1 ], + "layer": 4, + "bindings": [ + { + "binding_name": "#has_only_carpet_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "armor_1@horse.armor_image": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 16, 16 ], + "offset": [ 1, 19 ], + "layer": 4, + "bindings": [ + { + "binding_name": "#has_armor_and_saddle_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "carpet_1@horse.carpet_image": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 16, 16 ], + "offset": [ 1, 19 ], + "layer": 4, + "bindings": [ + { + "binding_name": "#has_carpet_and_saddle_slot", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "inv_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 79, 18 ], + "controls": [ + { "inv_bg_panel@horse.inv_bg_panel": { } }, + { "inv_grid@horse.inv_grid": { } } + ] + }, + + "horse_renderer": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 54, 54 ], + "controls": [ + { + "renderer_bg@horse.renderer_bg": { + "layer": 3 + } + }, + { + "horse_custom_panel": { + "type": "panel", + "size": [ "30%", "30%" ], + "offset": [ 0, "30%" ], + + "controls": [ + { + "horse_custom": { + "type": "custom", + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "renderer": "live_horse_renderer", + "layer": 4, + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#entity_id" + } + ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "horse_panel": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "controls": [ + { + "common_panel@common.common_panel": { + "$use_compact_close_button": true + } + }, + + { "horse_section_label@horse.horse_label": {} }, + { "inv_panel@horse.inv_panel": {} }, + + { + "equipment@horse.equip_panel": { + "offset": [ 7, 18 ] + } + }, + { + "renderer@horse.horse_renderer": { + "offset": [ 25, 18 ] + } + }, + + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid_template@common.hotbar_grid_template": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 10 } } + ] + }, + + "horse_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "horse.horse_panel", + "$screen_bg_content": "common.screen_background" + }, + { + "requires": "$pocket_screen", + "$screen_content": "horse_pocket.horse_panel", + "$screen_bg_content": "common.screen_background", + "$close_on_player_hurt": true + } + ] + } +} diff --git a/resource_pack/ui/horse_screen_pocket.json b/resource_pack/ui/horse_screen_pocket.json new file mode 100644 index 0000000..7357adc --- /dev/null +++ b/resource_pack/ui/horse_screen_pocket.json @@ -0,0 +1,649 @@ +{ + "namespace": "horse_pocket", + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "horse_panel": { + "type": "panel", + "controls": [ + { + "gamepad_helpers@common.container_gamepad_helpers": { + "size": [ "90%-4px", 26 ], + "offset": [ "2%+4px", -6 ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { + "base_panel": { + "type": "panel", + "size": [ "100%-8px", "100%-4px" ], + "controls": [ + { + "root_panel@common.root_panel": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100% - 29px", "100%" ] + } + }, + { + "hold_icon@common.inventory_take_progress_icon_button": { } + }, + { + "bg@common.common_panel": { + "size": [ "100% - 29px", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1, + + "$dialog_background": "dialog_background_opaque", + "$show_close_button": false + } + }, + { "interactive_tabs@horse_pocket.interactive_tabs": {} }, + { + "close_button@horse_pocket.close_button": { + "focus_enabled": false, + "offset": [ 7, 4 ], + "layer": 5 + } + }, + { + "inventory@horse_pocket.half_screen_inventory": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 30, 0 ], + "$container_size": 36, + "$pane_collection": "combined_hotbar_and_inventory_items" + } + }, + { + "equipment@horse_pocket.equip_middle_screen": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 15, 0 ], + "layer": 1 + } + }, + { + "chest_tab": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "visible": false, + "controls": [ + { "visual_tabs_chest@horse_pocket.visual_tabs_chest": {} }, + { + "chest@horse_pocket.half_screen_chest": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "$container_size": "$chest_size", + "$pane_collection": "container_items" + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "chest_tab_interactive", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + } + }, + { + "renderer_tab": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "visual_tabs_equip@horse_pocket.visual_tabs_equip": {} }, + { + "renderer@horse_pocket.half_screen_renderer": { + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "renderer_tab_interactive", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + } + } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 10 } } + ] + }, + + "background_image": { + "type": "image", + "texture": "textures/ui/background_image" + }, + + "dark_bg": { + "type": "image", + "texture": "textures/ui/item_cell" + }, + + "renderer_bg": { + "type": "image", + "texture": "textures/ui/pocket_button_pressed" + }, + + "saddle_image": { + "type": "image", + "texture": "textures/ui/empty_horse_slot_saddle", + "alpha": 0.7 + }, + + "armor_image": { + "type": "image", + "texture": "textures/ui/empty_horse_slot_armor", + "alpha": 0.7 + }, + + "carpet_image": { + "type": "image", + "texture": "textures/ui/empty_llama_slot_carpet", + "alpha": 0.7 + }, + + "panel_outline": { + "type": "image", + "texture": "textures/ui/panel_outline" + }, + + "close_button_default": { + "type": "image", + "texture": "textures/ui/legacy_pocket_close_button_default" + }, + + "close_button_pressed@close_button_default": { + "texture": "textures/ui/legacy_pocket_close_button_pressed" + }, + + "close_button@common.button": { + "$pressed_button_name": "button.menu_exit", + "size": [ 21, 21 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "default@close_button_default": {} }, + { "hover@close_button_default": {} }, + { "pressed@close_button_pressed": {} } + ] + }, + + "base_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100% - 4px", "default" ], + "maximum_grid_items": "$container_size", + "collection_name": "$pane_collection", + "grid_item_template": "common.pocket_ui_container_item", + "$item_collection_name": "$pane_collection" + }, + + "inventory_grid@horse_pocket.base_grid": {}, + "chest_grid@horse_pocket.base_grid": {}, + + "base_grid_panel": { + "type": "panel", + "size": [ "100%-16px", "100%-16px" ], + "controls": [ + { + "panel_outline@panel_outline": { + "layer": 4 + } + }, + { + "dark_bg@dark_bg": { + "layer": 3 + } + }, + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%-2px", "100%-2px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "$scrolling_pane_size": [ "100%-2px", "100%-2px" ], + "offset": [ 1, 1 ], + "$scroll_size": [ "8px", "100%" ], + "$allow_scrolling_even_when_content_fits": false, + "$scroll_box_mouse_image_control": "common-classic.button_state_default" + } + } + ] + }, + + // these are separated so that grid scrolling is unique to each panel (both would scroll the same panel otherwise) + "inventory_panel@horse_pocket.base_grid_panel": { + "$scrolling_content": "horse_pocket.inventory_grid" + }, + + "chest_panel@horse_pocket.base_grid_panel": { + "$scrolling_content": "horse_pocket.chest_grid" + }, + + "half_screen": { + "type": "panel", + "size": [ "50%-32px", "100%" ] + }, + + "middle_screen": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "32px", "100%" ] + }, + + "half_screen_inventory@horse_pocket.half_screen": { + "controls": [ + { "inventory_panel@inventory_panel": {} } + ] + }, + + "half_screen_chest@horse_pocket.half_screen": { + "controls": [ + { "chest_panel@chest_panel": {} } + ] + }, + + "horse_renderer": { + "$size|default": [ "40%", "40%" ], + "$offset|default": [ "5%", "30%" ], + + "type": "panel", + "size": "$size", + "offset": "$offset", + + "controls": [ + { + "horse_custom": { + "type": "custom", + "renderer": "live_horse_renderer", + "layer": 4, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#entity_id" + }, + { + "binding_name": "$visible_binding", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "half_screen_renderer@horse_pocket.half_screen": { + "controls": [ + { + "renderer_bg@horse_pocket.renderer_bg": { + "size": [ "100%-16px", "100%-16px" ], + "layer": 3 + } + }, + { + "horse_custom_panel@horse_pocket.horse_renderer": { + "$visible_binding": "(not #is_camel)" + } + }, + { + "camel_custom_panel@horse_pocket.horse_renderer": { + "$size": [ "28%", "28%" ], + "$offset": [ "5%", "35%" ], + "$visible_binding": "#is_camel" + } + } + ] + }, + + // insert spacing between grid items! + "equip_item_panel": { + "type": "panel", + "size": [ 32, 32 ], + "controls": [ + { "equip_container_item@common.pocket_ui_container_item": {} } + ] + }, + + "equip_grid": { + "type": "grid", + "collection_name": "horse_equip_items", + "grid_item_template": "horse_pocket.equip_item_panel", + "grid_dimension_binding": "#equip_grid_dimensions", + "$item_collection_name": "horse_equip_items", + "bindings": [ + { + "binding_name": "#equip_grid_dimensions" + } + ] + }, + + "equip_middle_screen@horse_pocket.middle_screen": { + "controls": [ + { + "equip_grid_panel": { + "type": "panel", + "size": [ 32, 64 ], + "controls": [ + { "equip_grid@horse_pocket.equip_grid": {} }, + { + "centered_0@horse_pocket.saddle_image": { + "size": [ 16, 16 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#sadle_slot_centered", + "binding_name_override": "#visible" + } + ] + } + }, + { + "offset@horse_pocket.saddle_image": { + "size": [ 16, 16 ], + "offset": [ 0, -16 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#has_armor_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "centered_1@horse_pocket.armor_image": { + "size": [ 16, 16 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#has_only_armor_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "centered_2@horse_pocket.carpet_image": { + "size": [ 16, 16 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#has_only_carpet_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "armor_image@horse_pocket.armor_image": { + "size": [ 16, 16 ], + "offset": [ 0, 16 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#has_armor_and_saddle_slot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "carpet_image@horse_pocket.carpet_image": { + "size": [ 16, 16 ], + "offset": [ 0, 16 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#has_carpet_and_saddle_slot", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "horse_screen_tab_toggle@common.toggle": { + "$toggle_name": "horse_interactive_tabs", + "$unchecked_control": "common.empty_panel", + "$checked_control": "common.empty_panel", + "$unchecked_hover_control": "common.empty_panel", + "$checked_hover_control": "common.empty_panel", + "$unchecked_locked_control": "common.empty_panel", + "$unchecked_locked_hover_control": "common.empty_panel", + "$checked_locked_control": "common.empty_panel", + "$checked_locked_hover_control": "common.empty_panel", + "toggle_group_default_selected": 1, + "$radio_toggle_group": true, + "focus_enabled": false + }, + "interactive_tabs": { + "type": "panel", + "controls": [ + { + "renderer_tab_interactive@horse_pocket.horse_screen_tab_toggle": { + "layer": 2, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ 32, 32 ], + "offset": [ 0, -2 ], + "toggle_group_forced_index": 1, + "$toggle_state_binding_name": "#renderer_tab_toggle" + } + }, + { + "chest_tab_interactive@horse_pocket.horse_screen_tab_toggle": { + "layer": 2, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ 32, 32 ], + "offset": [ 0, -36 ], + "toggle_group_forced_index": 2, + "$toggle_state_binding_name": "#chest_tab_toggle", + "bindings": [ + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + }, + { + "binding_type": "$toggle_enabled_binding_type", + "binding_condition": "$toggle_enabled_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#is_chested", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "tab_front": { + "type": "image", + "layer": 3, + "texture": "textures/ui/TabLeftFront" + }, + + "tab_back@horse_pocket.tab_front": { + "layer": 1, + "texture": "textures/ui/TabLeftBackTopMost" + }, + + "close_tab@tab_back": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 34, 32 ] + }, + + "item_icon_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 20, 20 ], + "layer": 5 + }, + + "saddle_icon_front@horse_pocket.item_icon_renderer": { + "property_bag": { + "#item_id_aux": 21561344 + } + }, + + "chest_icon_front@horse_pocket.item_icon_renderer": { + "property_bag": { + "#item_id_aux": 3538944 + } + }, + + "visual_tabs_equip": { + "type": "panel", + "controls": [ + { + "close_tab@horse_pocket.close_tab": { + "controls": [ + { + "nodrop_zone@common.root_panel": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%", "100%" ] + } + } + ] + } + }, + { + "chest@tab_back": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ 34, 32 ], + "offset": [ 0, -36 ], + "bindings": [ + { + "binding_name": "#is_chested", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "chest_icon@chest_icon_front": { + "offset": [ 2, 1 ], + "bindings": [ + { + "binding_name": "#is_chested", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "equip@tab_front": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ 34, 32 ], + "offset": [ 0, -2 ], + "controls": [ + { + "equip_icon@saddle_icon_front": { + "offset": [ 2, 1 ] + } + } + ] + } + } + ] + }, + + "visual_tabs_chest": { + "type": "panel", + "controls": [ + { "close_tab@horse_pocket.close_tab": {} }, + { + "chest@tab_front": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ 34, 32 ], + "offset": [ 0, -36 ], + "bindings": [ + { + "binding_name": "#is_chested", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "chest_icon@chest_icon_front": { + "offset": [ 2, 1 ], + "bindings": [ + { + "binding_name": "#is_chested", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "equip@tab_back": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ 34, 32 ], + "offset": [ 0, -2 ], + "controls": [ + { + "equip_icon@saddle_icon_front": { + "offset": [ 2, 1 ] + } + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/host_options_screen.json b/resource_pack/ui/host_options_screen.json new file mode 100644 index 0000000..da1c9ef --- /dev/null +++ b/resource_pack/ui/host_options_screen.json @@ -0,0 +1,702 @@ +{ + "namespace": "host_options", + + ////////////////////////////////////////////////////////////////////////// + // Host Panel + ////////////////////////////////////////////////////////////////////////// + + "button_label": { + "type": "label", + "text": "$button_text", + "$button_label_shadow|default": false, + "shadow": "$button_label_shadow", + "$button_label_anchor_from|default": "center", + "$button_label_anchor_to|default": "center", + "$button_label_offset|default": [ 0, 0 ], + "anchor_from": "$button_label_anchor_from", + "anchor_to": "$button_label_anchor_to", + "offset": "$button_label_offset", + "color": "$button_text_color", + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + + "bindings": [ + { + "binding_type": "$button_text_binding_type", + "binding_condition": "$button_binding_condition", + "binding_collection_name": "$button_text_grid_collection_name", + "binding_name": "$button_text", + "binding_name_override": "$button_text" + } + ] + }, + + "host_image_panel": { + "type": "panel", + "size": [ 17, 17 ], + "controls": [ + { + "host_image@host_options.button_label": { + "$button_text_color": "$text_color", + "$button_text": "/" + } + } + ] + }, + + "host_glyph_panel": { + "$offset_glyph|default": [ 0, 0 ], + "type": "image", + "layer": 1, + "offset": "$offset_glyph", + "anchor_from": "$button_glyph_anchor_from", + "anchor_to": "$button_glyph_anchor_to", + + "texture": "$button_glyph_texture", + + // For texture bindings + "$button_glyph_binding_type|default": "none", + "$button_glyph_binding_condition|default": "none", + "$button_glyph_grid_collection_name|default": "", + + "$button_glyph_visible_binding_type|default": "none", + "$button_glyph_visible_binding_condition|default": "none", + "$button_glyph_visible_collection_name|default": "", + + "bindings": [ + { + "binding_type": "$button_glyph_binding_type", + "binding_condition": "$button_glyph_binding_condition", + "binding_collection_name": "$button_glyph_grid_collection_name", + "binding_name": "$button_glyph_texture", + "binding_name_override": "$button_glyph_texture" + }, + { + "binding_type": "$button_glyph_visible_binding_type", + "binding_condition": "$button_glyph_visible_binding_condition", + "binding_collection_name": "$button_glyph_visible_collection_name", + "binding_name": "#button_glyph_visible", + "binding_name_override": "#visible" + } + ] + }, + + // Scrollable Panel // + + "scrollable_selector_area@common.scrolling_panel": { + "$size_scrollable_panel|default": [ "100%", "100%" ], + "$offset_scrollable_panel|default": [ 0, 0 ], + + "offset": "$offset_scrollable_panel", + "size": "$size_scrollable_panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + + "$scroll_size": [ 5, "100%" ], + "$show_background": false, + "$scroll_bar_contained": false + }, + + "host_main_button@common_buttons.light_text_form_fitting_button": { + "$pressed_button_name": "button.host_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ "100%c", 27 ], + "$focus_id": "host_main_button_focus_id", + "$button_type_panel": "host_options.host_image_panel", + "bindings": [ + { + "binding_name": "#cheats_on", + "binding_name_override": "#visible" + }, + { + "binding_name": "#host_main_button_focus_override_up", + "binding_name_override": "#focus_change_up" + }, + { + "binding_name": "#host_main_button_focus_override_down", + "binding_name_override": "#focus_change_down" + } + ] + }, + + "scrolling_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + + "$main_scrolling_content|default": "host_main_buttons", + "$main_offset_scrollable_panel|default": [ 0, -1 ], + "$main_offset_background|default": [ -2, 0 ], + "$main_size_scrollable_panel|default": [ "100% - 2px", "100% - 4px" ], + "$main_background_visible": true, + + "$scroll_bar_right_padding_size": [ 0, 0 ], + + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/Banners", + "offset": "$main_offset_background", + "size": [ "100% + 4px", "100%" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "visible": "$main_background_visible" + } + }, + { + "scrollable_tab@host_options.scrollable_selector_area": { + "layer": 2, + "$scrolling_content": "$main_scrolling_content", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$offset_scrollable_panel": "$main_offset_scrollable_panel", + "$size_scrollable_panel": "$main_size_scrollable_panel" + } + } + ] + }, + + "button_content": { + "$button_glyph_visible|default": true, + "$button_glyph_texture|default": "textures/ui/arrowRight", + "$glyph_size|default": [ 8, 8 ], + "$button_content_offset_glyph|default": [ 0, 0 ], + + "type": "panel", + "controls": [ + { + "button_label@host_options.button_label": { + "$button_text_color|default": "$text_color", + "$button_label_anchor_from": "left_middle", + "$button_label_anchor_to": "left_middle" + } + }, + { + "image@host_options.host_glyph_panel": { + "$offset_glyph": "$button_content_offset_glyph", + "$button_glyph_anchor_from|default": "center", + "$button_glyph_anchor_to|default": "center", + "visible": "$button_glyph_visible", + "size": "$glyph_size" + } + } + ] + }, + + "main_light_button@common_buttons.light_content_button": { + "$button_size|default": [ "100%", 30 ], + "size": "$button_size", + "offset": "$button_offset", + "$button_content": "host_options.button_content" + }, + + "main_dark_button@common_buttons.dark_content_button": { + "$button_size|default": [ "100%", 30 ], + "size": "$button_size", + "$button_content": "host_options.button_content", + "$glyph_size": [ "20px", "20px" ] + }, + + // Sub command helper grid // + + "host_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "$grid_item_template", + "grid_dimension_binding": "$grid_dimension_binding", + "collection_name": "$grid_collection_name", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "$grid_dimension_binding" + } + ] + }, + + // Button for the sub command grid // + + "host_sub_command_grid_item": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "host_option_banner@main_dark_button": { + "$button_text": "#button_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$grid_collection_name", + "$pressed_button_name": "button.sub_command", + + "$button_glyph_anchor_from": "left_middle", + "$button_glyph_anchor_to": "left_middle", + "$button_content_offset_glyph": [ 2, 0 ], + "$button_label_offset": [ 30, 0 ], + + "$button_glyph_texture": "#texture", + "$button_glyph_binding_type": "collection", + "$button_glyph_grid_collection_name": "$grid_collection_name", + + "property_bag": { + "#sub_command": "" + }, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#sub_command" + } + ] + } + } + ] + }, + + // Return to the main panel button (requires the button_text field) // + + "return_from_sub_command_button@host_options.main_light_button": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_label_offset": [ 30, 0 ], + "$pressed_button_name": "button.host_main", + "$button_glyph_texture": "textures/ui/arrowLeft", + "$glyph_size": [ 8, 8 ], + "$button_glyph_anchor_from": "left_middle", + "$button_glyph_anchor_to": "left_middle", + "$button_content_offset_glyph": [ 10, 0 ] + }, + + ////////////////////////////////////////////////////////////////////////// + // Teleport + ////////////////////////////////////////////////////////////////////////// + + // This is defined in the pause namespace, stealing it from there + "platform_icon_panel@pause.platform_icon_panel": { + "$icon_panel_size": [ "100%c + 2px", "100%" ] + }, + + "gamertag_wrapper@pause.gametag_wrapper": { + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + + "player_pic_panel": { + "type": "panel", + "size": [ 20, "100%" ], + "offset": [ 1, 0 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "ignored": "$education_edition", + "controls": [ + { "player_gamer_pic@pause.player_gamer_pic": {} }, + { "player_local_icon@pause.player_local_icon": {} } + ] + }, + + "player_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%-4px", "100%-4px" ], + "offset": [ 4, 0 ], + "layer": 3, + "controls": [ + { "player_pic_panel@host_options.player_pic_panel": {} }, + { + "player_gamertag@host_options.gamertag_wrapper": { + "size": [ "fill", "100%" ] + } + }, + { "platform_icon@host_options.platform_icon_panel": {} } + ] + }, + + "player_grid_item": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "player_banner@main_dark_button": { + "$button_text": "#gamertag", + "$pressed_button_name": "button.sub_command", + "$button_content": "host_options.player_button_content", + + "bindings": [ + { + "binding_name": "#gamertag", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#sub_command" + } + ] + } + } + ] + }, + + "host_friends_tab": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$button_glyph_anchor_from": "left_middle", + "$button_glyph_anchor_to": "left_middle", + "$button_content_offset_label": [ 30, 0 ], + "$button_content_offset_glyph": [ 10, 0 ], + "controls": [ + { + "players_grid@host_grid": { + "$grid_dimension_binding": "#players_grid_dimension", + "$grid_collection_name": "players_collection", + "$grid_item_template": "host_options.player_grid_item" + } + } + ] + }, + + // Who and where + "host_teleport_grid_item": { + "type": "panel", + "size": [ "100%", 30 ], + + "controls": [ + { + "host_option_toggle@common_toggles.light_text_toggle_collection": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + + "$button_label_offset": [ 10, 0 ], + "$button_type_panel": "host_options.button_content", + + "$button_glyph_anchor_from": "right_middle", + "$button_glyph_anchor_to": "right_middle", + "$button_content_offset_glyph": [ -10, 0 ], + + "$toggle_group_default_selected": 0, + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + + "$button_text": "#button_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$grid_collection_name", + + "$toggle_grid_collection_name": "$grid_collection_name", + + "$toggle_state_binding_name": "#toggle_selected", + "$toggle_binding_type": "collection", + + "bindings": [ + { + "binding_name": "#host_teleport_visible", + "binding_name_override": "#visible", + "binding_collection_name": "$grid_collection_name", + "binding_type": "collection" + } + ] + } + }, + { + // The inverse button for undoing tele comand, shadow tele + "host_option_button@main_dark_button": { + "$button_text": "#tele_name", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$grid_collection_name", + "$pressed_button_name": "button.teleport_clear", + "$button_glyph_texture": "textures/ui/arrowRight", + "$glyph_size": [ 8, 8 ], + + "$button_glyph_anchor_from": "right_middle", + "$button_glyph_anchor_to": "right_middle", + "$button_content_offset_glyph": [ -10, 0 ], + "$button_label_offset": [ 10, 0 ], + + "property_bag": { + "#button_navigation": 0 // For knowing what button is pressed + }, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#button_navigation", + "binding_name_override": "#button_navigation" + }, + { + "binding_name": "(not #host_teleport_visible)", + "binding_name_override": "#visible", + "binding_collection_name": "$grid_collection_name", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "host_teleport_buttons": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_name": "#host_teleport_main_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "return@return_from_sub_command_button": { + "$button_text": "hostOption.teleport" + } + }, + { + "sub_tab": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "host_main_grid@host_grid": { + "offset": "$offset_sub_tabs", + "$grid_dimension_binding": "#host_teleport_grid_dimension", + "$grid_collection_name": "host_teleport_collection", + "$grid_item_template": "host_options.host_teleport_grid_item" + } + } + ] + } + } + ] + }, + + "host_teleport_player_list_buttons": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$offset_second_sub_tabs|default": [ 0, 0 ], + "controls": [ + { + "toggle": { + "type": "panel", + "size": [ "100%", "90px" ], + "controls": [ + { + "host_time_panel@scrolling_panel": { + "$main_scrolling_content": "host_options.host_friends_tab", + "offset": "$offset_second_sub_tabs" + } + } + ] + } + } + ] + }, + + "host_teleport_player_buttons@host_teleport_player_list_buttons": { + "bindings": [ + { + "binding_name": "#host_teleport_players_visible", + "binding_name_override": "#visible" + } + ] + }, + + ////////////////////////////////////////////////////////////////////////// + // Time Buttons + ////////////////////////////////////////////////////////////////////////// + + "host_time_buttons": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_name": "#host_time_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "return@return_from_sub_command_button": { + "$button_text": "hostOption.time" + } + }, + { + "sub_tab": { + "type": "panel", + "size": [ "100%", "90px" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "scrolli_scrolli_ravioli@scrolling_panel": { + "offset": "$offset_sub_tabs", + "$main_scrolling_content": "host_options.host_grid", + "$grid_dimension_binding": "#host_time_grid_dimension", + "$grid_collection_name": "host_time_collection", + "$grid_item_template": "host_options.host_sub_command_grid_item" + } + } + ] + } + } + ] + }, + + ////////////////////////////////////////////////////////////////////////// + // Weather Buttons + ////////////////////////////////////////////////////////////////////////// + + "host_weather_buttons": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_name": "#host_weather_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "return@return_from_sub_command_button": { + "$button_text": "hostOption.weather" + } + }, + { + "sub_tab": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "host_main_grid@host_grid": { + "offset": "$offset_sub_tabs", + "$grid_dimension_binding": "#host_weather_grid_dimension", + "$grid_collection_name": "host_weather_collection", + "$grid_item_template": "host_options.host_sub_command_grid_item" + } + } + ] + } + } + ] + }, + + ////////////////////////////////////////////////////////////////////////// + // Main Buttons + ////////////////////////////////////////////////////////////////////////// + + "host_menu_grid_item": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "host_option_banner@host_options.main_light_button": { + "$button_text": "#button_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$grid_collection_name", + "$pressed_button_name": "button.menu_navigation", + "$button_content": "host_options.button_content", + "$button_glyph_anchor_from": "right_middle", + "$button_glyph_anchor_to": "right_middle", + "$button_content_offset_glyph": [ -10, 0 ], + "$glyph_size": [ 8, 8 ], + "$button_label_offset": [ 10, 0 ], + "$button_glyph_visible_binding_type": "collection", + "$button_glyph_visible_collection_name": "$grid_collection_name", + "property_bag": { + "#button_navigation": 0 + }, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#button_navigation", + "binding_name_override": "#button_navigation" + }, + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#host_option_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#host_option_focus_override_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#host_option_focus_override_right", + "binding_name_override": "#focus_change_right" + }, + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#host_option_focus_override_up", + "binding_name_override": "#focus_change_up" + }, + { + "binding_type": "collection", + "binding_collection_name": "$grid_collection_name", + "binding_name": "#host_option_focus_override_down", + "binding_name_override": "#focus_change_down" + } + ] + } + } + ] + }, + + "host_main_buttons": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "host_main_grid@host_grid": { + "$grid_dimension_binding": "#host_main_grid_dimension", + "$grid_collection_name": "host_main_collection", + "$grid_item_template": "host_options.host_menu_grid_item" + } + } + ], + "bindings": [ + { + "binding_name": "#host_main_visible", + "binding_name_override": "#visible" + } + ] + }, + + ////////////////////////////////////////////////////////////////////////// + // Host Panel + ////////////////////////////////////////////////////////////////////////// + + "host_panel": { + "type": "panel", + "size": [ 160, "100%-20px" ], + "offset": [ 0, -27 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$offset_sub_tabs": [ "10%", 0 ], + "$offset_second_sub_tabs": [ "110% + 2px", 0 ], + "controls": [ + { "host_main_panel@host_main_buttons": {} }, + { "host_teleport_panel@host_teleport_buttons": {} }, + { "host_teleport_player_panel@host_teleport_player_buttons": {} }, + { "host_time_panel@host_time_buttons": {} }, + { "host_weather_panel@host_weather_buttons": {} } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/how_to_play_common.json b/resource_pack/ui/how_to_play_common.json new file mode 100644 index 0000000..8f7832e --- /dev/null +++ b/resource_pack/ui/how_to_play_common.json @@ -0,0 +1,635 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "how_to_play_common", + + "dynamic_dialog_screen@common.base_screen": { + "type": "screen", + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "how_to_play_common.how_to_play_content", + "$screen_background_control": "how_to_play_common.screen_background" + }, + + "screen_background": { + "type": "image", + "texture": "textures/ui/White", + "color": [ 0.192, 0.196, 0.2 ], + "layer": -1 + }, + + "top_bar": { + "type": "image", + "texture": "textures/ui/StoreTopBar" + }, + + "button_panel@common_buttons.new_ui_binding_button_label": { + "$anchor|default": "left_middle", + "$offset|default": [ 10, 0 ], + "offset": "$offset" + }, + + "light_text_button@common_buttons.light_text_button": { + "$button_type_panel": "how_to_play_common.button_panel" + }, + + "action_button@how_to_play_common.light_text_button": { + "$pressed_button_name|default": "unset_button_name", + "$button_text|default": "unset $button_text", + "size": [ "100%", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + + "topic_category": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", "9px" ] + } + }, + { + "category_text": { + "type": "label", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "default", "default" ], + "max_size": [ "100%", "50px" ], + "offset": [ "0px", "-3px" ], + "text": "('howtoplay.category.' + $category)", + "color": "$main_header_text_color" + } + } + ] + }, + + "toggle_button_control": { + "type": "panel", + "layer": 2, + "controls": [ + { + "tab_button_text": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 10px", "default" ], + "max_size": [ "100% - 14px", "100% - 4px" ], + "offset": [ 10, 0 ], + "text": "('howtoplay.' + $section_topic)", + "layer": 3, + "color": "$text_color", + "alpha": "$content_alpha" + } + } + ] + }, + + "glyph_button_control": { + "type": "panel", + "layer": 2, + "$glyph_texture|": "textures/ui/arrowRight", + "controls": [ + { + "tab_button_text": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 10px", "default" ], + "max_size": [ "100% - 14px", "100% - 4px" ], + "offset": [ 10, 0 ], + "text": "('howtoplay.' + $section_topic)", + "layer": 3, + "color": "$text_color", + "alpha": "$content_alpha" + } + }, + { + "glyph": { + "type": "image", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ -4, 0 ], + "texture": "$glyph_texture", + "size": [ 10, 10 ] + } + } + ] + }, + + "section_toggle_button": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "30px" ], + "controls": [ + { + "section_toggle_button@common_toggles.light_ui_toggle": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "30px" ], + + "$button_type_panel|default": "how_to_play_common.toggle_button_control", + "$checked_control": "common_toggles.toggle_checked", + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$default_selector_toggle_index", + + "$toggle_tab_focus_binding_type": "global", + "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence", + "$toggle_on_hover_binding_type": "global", + "$toggle_on_hover_binding_name": "#toggle_on_hover", + + "$toggle_view_binding_name": "($section_topic + '_button_toggle')", + "$toggle_property_bag": { + "#panel_title": "('howtoplay.' + $section_topic)" + } + } + } + ] + }, + + "edu_section_toggle_button@how_to_play_common.section_toggle_button": { + "ignored": "(not $education_edition)" + }, + + "padding": { + "type": "panel", + "size": [ "100%", "12px" ] + }, + + "touch_padding@padding": { + "bindings": [ + { + "binding_name": "#touch_being_used", + "binding_name_override": "#visible" + } + ] + }, + + "small_padding": { + "type": "panel", + "size": [ "100%", "4px" ] + }, + + "large_padding@how_to_play_common.padding": { + "type": "panel", + "size": [ "100%", "22px" ] + }, + + "section_contents_header": { + "type": "input_panel", + "focus_enabled": true, + "size": [ "100%", "6px" ] + }, + + "section_contents_footer": { + "type": "input_panel", + "focus_enabled": true, + "size": [ "100%", "24px" ] + }, + + "main_sections": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "splitscreen_only_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": "$content", + "bindings": [ + { + "binding_name": "#splitscreen_enabled", + "binding_name_override": "#visible" + } + ] + }, + + "tts_focus_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "default_focus_precedence": 0, + "$focus_border_visible_binding|default": "#tts_enabled", + "$focus_border_visible_binding_override|default": "#visible", + "$focus_border_visible_binding_type|default": "global", + "consume_hover_events": true, + "bindings": [ + { + "binding_type": "$focus_border_visible_binding_type", + "binding_name": "$focus_border_visible_binding", + "binding_name_override": "$focus_border_visible_binding_override" + } + ] + }, + + "header_tts_focus_border@how_to_play_common.tts_focus_border": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "100%" ] + }, + + "header_background": { + "type": "image", + "size": [ "100%", "20px" ], + "offset": [ 0, "-2px" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "texture": "textures/ui/banners_no_border", + "controls": [ + { + "header_label": { + "type": "label", + "color": "$body_text_color", + "layer": 1, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text_alignment": "center", + "max_size": [ "95%", 10 ], + "offset": [ 8, 0 ], + "text": "$text", + "text_tts": "$text" + } + }, + { + "focus_border@how_to_play_common.header_tts_focus_border": {} + } + ] + }, + + "header": { + "type": "panel", + "size": [ "100%", "28px" ], + "controls": [ + { "header@how_to_play_common.header_background": {} } + ] + }, + + "paragraph_panel": { + "type": "panel", + "$text|default": "", + "$line_padding|default": 4.0, + "size": [ "100%", "100%cm" ] + }, + + "paragraph_label": { + "type": "label", + "color": "$body_text_color", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "75%", "default" ], + "line_padding": "$line_padding", + "text": "$text", + "text_tts": "$text" + }, + + "paragraph_tts_focus_border@how_to_play_common.tts_focus_border": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "75% + 4px", "100%sm + 3px" ], + "offset": [ -2, -1 ] + }, + + "paragraph@how_to_play_common.paragraph_panel": { + "controls": [ + { + "label@how_to_play_common.paragraph_label": {} + }, + { + "focus_border@how_to_play_common.paragraph_tts_focus_border": {} + } + ] + }, + + "paragraph_with_icons@how_to_play_common.paragraph_panel": { + "controls": [ + { + "label@how_to_play_common.paragraph_label": { + "text": "('#pre_process_' + $text)", + "text_tts": "('#pre_process_' + $text)", + "bindings": [ + { + "binding_name": "('#pre_process_' + $text)" + } + ] + } + }, + { + "focus_border@how_to_play_common.paragraph_tts_focus_border": {} + } + ] + }, + + "input_conditional_paragraph@how_to_play_common.paragraph": { + "bindings": [ + { + "binding_name": "$input_binding", + "binding_name_override": "#visible" + } + ] + }, + + "input_conditional_paragraph_with_icons@how_to_play_common.paragraph_with_icons": { + "bindings": [ + { + "binding_name": "$input_binding", + "binding_name_override": "#visible" + } + ] + }, + + "paragraph_keyboard@how_to_play_common.input_conditional_paragraph_with_icons": { + "$input_binding": "#keyboard_being_used" + }, + + "paragraph_gamepad@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 6.0, + "$input_binding": "#gamepad_being_used" + }, + + "paragraph_gamepad_no_icons@how_to_play_common.input_conditional_paragraph": { + "$input_binding": "#gamepad_being_used" + }, + + "paragraph_rift_controller@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 10.0, + "$input_binding": "#rift_controller_being_used" + }, + + "paragraph_windowsmr_controller@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 10.0, + "$input_binding": "#windowsmr_controller_being_used" + }, + + "paragraph_vr@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 10.0, + "$input_binding": "#vr_controls_being_used" + }, + + "paragraph_touch@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 6.0, + "$input_binding": "#touch_being_used" + }, + + "paragraph_touch_classic_dpad_spacing@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 12.0, + "$input_binding": "#touch_being_used" + }, + + "paragraph_touch_no_icons@how_to_play_common.input_conditional_paragraph": { + "$input_binding": "#touch_being_used" + }, + + "paragraph_touch_joystick_tap@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 6.0, + "$input_binding": "#touch_joystick_tap_being_used" + }, + + "paragraph_touch_classic_dpad@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 12.0, + "$input_binding": "#touch_classic_dpad_being_used" + }, + + "paragraph_touch_joystick_crosshair@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 6.0, + "$input_binding": "#touch_joystick_crosshair_being_used" + }, + + "paragraph_not_touch@how_to_play_common.input_conditional_paragraph_with_icons": { + "$line_padding": 6.0, + "$input_binding": "#touch_not_being_used" + }, + + "image": { + "type": "image", + "layer": 1, + "size": [ "100%", "128px" ], + "offset": [ 0, 5 ], + "anchor_from": "center", + "anchor_to": "center" + }, + + "how_to_play_header": { + "type": "panel", + "controls": [ + { + "top_bar@how_to_play_common.top_bar": { + "size": [ "100%", "100%" ], + "layer": 2, + "controls": [ + { + "back_button@common.back_title_button": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 2, -1 ] + } + }, + { + "how_to_play_title@common.screen_header_title_panel": { + "size": [ "70% - 22px", "100%" ], // Gamepad helpers have max size of 30% and the back button is 20px + "offset": [ 20, -1 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$screen_header_title": "#section_title", + "$screen_header_title_binding_type": "global", + "layer": 2 + } + }, + { "gamepad_bumper_helpers@how_to_play_common.gamepad_bumper_helpers": {} } + ] + } + } + ] + }, + + "how_to_play_content": { + "type": "panel", + "controls": [ + { + "header@how_to_play_common.how_to_play_header": { + "size": [ "100%", "23px" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "container": { + "type": "panel", + "size": "$store_screen_size", + "controls": [ + { "$dialog_content@$dialog_content": {} } + ] + } + } + ] + }, + + "dialog_content": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "selector_area@how_to_play_common.selector_area": {} }, + { "content_area@how_to_play_common.content_area_wrapper": {} }, + { "section_divider@how_to_play_common.section_divider": {} } + ] + }, + + "scrollable_selector_area_content": { + "type": "panel", + "offset": [ "6px", "2px" ], + "size": [ "100% - 8px", "100%c + 4px" ], + "controls": [ + { "$selector_stack_panel@$selector_stack_panel": {} } + ] + }, + + // left side + "selector_area": { + "type": "panel", + "offset": [ "-2px", "21px" ], + "size": [ "30% + 2px", "100% - 19px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "focus_container": true, + "use_last_focus": true, + "$focus_navigation_mode_override_down|default": "contained", + "$focus_navigation_mode_override_up|default": "contained", + "$focus_navigation_mode_override_left|default": "", + "$focus_navigation_mode_override_right|default": "", + "focus_navigation_mode_down": "$focus_navigation_mode_override_down", + "focus_navigation_mode_up": "$focus_navigation_mode_override_up", + "focus_navigation_mode_left": "$focus_navigation_mode_override_left", + "focus_navigation_mode_right": "$focus_navigation_mode_override_right", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "how_to_play_common.scrollable_selector_area_content", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 0, 0 ] + } + } + ] + }, + + // divider between two sides + "section_divider": { + "type": "image", + "offset": [ "30%", "20px" ], + "size": [ "4px", "100% - 18px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "texture": "textures/ui/HowToPlayDivider" + }, + + // contains right side + "content_area_wrapper": { + "type": "panel", + "offset": [ "2px", "21px" ], + "size": [ "70% - 2px", "100% - 19px" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1, + "focus_container": true, + "use_last_focus": false, + "controls": [ + { "content_area@how_to_play_common.content_area": {} } + ] + }, + + // right side + "content_area": { + "type": "panel", + "size": [ "100% - 6px", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "control": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%", "fill" ], + "$scrolling_content": "$section_content_panels", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 5, 0 ], + "$scroll_bar_right_padding_size": [ 5, 0 ] + } + } + ] + } + } + ] + }, + + "screen_base@how_to_play_common.dynamic_dialog_screen": { + "$dialog_content": "how_to_play_common.dialog_content" + }, + + "gamepad_bumper_helper_description@common.gamepad_helper_icon_description": { + "max_size": [ "54px", "10px" ] + }, + + // gamepad helpers + "gamepad_bumper_helpers": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ "-4px", "-2px" ], + "max_size": [ "30%", "26px" ], + "layer": 6, + "controls": [ + { + "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": { + "$gamepad_description": "how_to_play_common.gamepad_bumper_helper_description" + } + }, + { + "padding": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": { + "$gamepad_description": "how_to_play_common.gamepad_bumper_helper_description" + } + } + ] + } + +} diff --git a/resource_pack/ui/how_to_play_screen.json b/resource_pack/ui/how_to_play_screen.json new file mode 100644 index 0000000..74c63df --- /dev/null +++ b/resource_pack/ui/how_to_play_screen.json @@ -0,0 +1,1726 @@ +{ + "namespace": "how_to_play", + + "how_to_play_screen@how_to_play_common.screen_base": { + "$selector_stack_panel": "how_to_play.how_to_play_selector_stack_panel", + "$section_content_panels": "how_to_play.how_to_play_section_content_panels", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": true, + "$fill_alpha": 1.0 + }, + + "how_to_play_selector_stack_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "$default_selector_toggle_index": 2, + "controls": [ + { + "how_to_play_selector_pane": { + "type": "stack_panel", + "controls": [ + // Make sure the $toggle_group_forced_index values match the respective enum values in HowToPlayScreenController.h + { "getting_started_category@how_to_play_common.topic_category": { "$category": "gettingStarted" } }, + { "moving_around_button@how_to_play.moving_around_button": { "$toggle_group_forced_index": 0 } }, + { "gathering_resources_button@how_to_play.gathering_resources_button": { "$toggle_group_forced_index": 1 } }, + { "selecting_items_button@how_to_play.selecting_items_button": { "$toggle_group_forced_index": 2 } }, + { "placing_blocks_button@how_to_play.placing_blocks_button": { "$toggle_group_forced_index": 3 } }, + { "inventory_button@how_to_play.inventory_button": { "$toggle_group_forced_index": 4 } }, + + { "preparing_for_the_night_category@how_to_play_common.topic_category": { "$category": "preparingForTheNight" } }, + { "your_first_craft_button@how_to_play.your_first_craft_button": { "$toggle_group_forced_index": 5 } }, + { "recipe_book_button@how_to_play.recipe_book_button": { "$toggle_group_forced_index": 6 } }, + { "the_crafting_table_button@how_to_play.the_crafting_table_button": { "$toggle_group_forced_index": 7 } }, + { "crafting_a_tool_button@how_to_play.crafting_a_tool_button": { "$toggle_group_forced_index": 8 } }, + { "mining_button@how_to_play.mining_button": { "$toggle_group_forced_index": 9 } }, + + { "surviving_the_first_night_category@how_to_play_common.topic_category": { "$category": "survivingTheFirstNight" } }, + { "nightfall_new_button@how_to_play.nightfall_new_button": { "$toggle_group_forced_index": 10 } }, + { "building_a_shelter_button@how_to_play.building_a_shelter_button": { "$toggle_group_forced_index": 11 } }, + { "death_and_respawn_button@how_to_play.death_and_respawn_button": { "$toggle_group_forced_index": 12 } }, + + { "getting_settled_category@how_to_play_common.topic_category": { "$category": "gettingSettled" } }, + { "food_button@how_to_play.food_button": { "$toggle_group_forced_index": 13 } }, + { "beds_new_button@how_to_play.beds_new_button": { "$toggle_group_forced_index": 14 } }, + { "improved_tools_button@how_to_play.improved_tools_button": { "$toggle_group_forced_index": 15 } }, + + { + "education_category@how_to_play_common.topic_category": { + "$category": "education", + "ignored": "(not $education_edition)" + } + }, + { "world_builder_button@how_to_play.world_builder_button": { "$toggle_group_forced_index": 18 } }, + { "permission_blocks_button@how_to_play.permission_blocks_button": { "$toggle_group_forced_index": 17 } }, + { "chalkboard_button@how_to_play.chalkboard_button": { "$toggle_group_forced_index": 18 } }, + { "chemistry_button@how_to_play.chemistry_button": { "$toggle_group_forced_index": 19 } }, + { "npc_button@how_to_play.npc_button": { "$toggle_group_forced_index": 20 } }, + { "camera_button@how_to_play.camera_button": { "$toggle_group_forced_index": 21 } }, + { "portfolio_button@how_to_play.portfolio_button": { "$toggle_group_forced_index": 22 } }, + { "classroom_mode_button@how_to_play.classroom_mode_button": { "$toggle_group_forced_index": 23 } }, + { "code_builder_button@how_to_play.code_builder_button": { "$toggle_group_forced_index": 24 } }, + + { + "padding_1@how_to_play_common.padding": { + "size": [ 0, 10 ] + } + }, + { + "playing_together_button@how_to_play.playing_together_button": { + "$toggle_group_forced_index": 25, + "ignored": "$education_edition" + } + }, + { "encyclopedia_button@how_to_play.encyclopedia_button": { "$toggle_group_forced_index": 26 } } + ] + } + } + ] + }, + + "how_to_play_section_content_panels": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 5px", "100%c + 5px" ], + "offset": [ 2, 0 ], + "controls": [ + { + "general_tips_sections": { + "type": "stack_panel", + "controls": [ + { + "section_contents_header@how_to_play_common.section_contents_header": {} + }, + { "moving_around_section@how_to_play.moving_around_section": {} }, + { "gathering_resources_section@how_to_play.gathering_resources_section": {} }, + { "selecting_items_section@how_to_play.selecting_items_section": {} }, + { "placing_blocks_section@how_to_play.placing_blocks_section": {} }, + { "inventory_section@how_to_play.inventory_section": {} }, + + { "your_first_craft_section@how_to_play.your_first_craft_section": {} }, + { "recipe_book_section@how_to_play.recipe_book_section": {} }, + { "the_crafting_table_section@how_to_play.the_crafting_table_section": {} }, + { "crafting_a_tool_section@how_to_play.crafting_a_tool_section": {} }, + { "mining_section@how_to_play.mining_section": {} }, + + { "nightfall_new_section@how_to_play.nightfall_new_section": {} }, + { "building_a_shelter_section@how_to_play.building_a_shelter_section": {} }, + { "death_and_respawn_section@how_to_play.death_and_respawn_section": {} }, + + { "food_section@how_to_play.food_section": {} }, + { "beds_new_section@how_to_play.beds_new_section": {} }, + { "improved_tools_section@how_to_play.improved_tools_section": {} }, + + { "world_builder_section@how_to_play.world_builder_section": { "ignored": "(not $education_edition)" } }, + { "permission_blocks_section@how_to_play.permission_blocks_section": { "ignored": "(not $education_edition)" } }, + { "chalkboard_section@how_to_play.chalkboard_section": { "ignored": "(not $education_edition)" } }, + { "chemistry_section@how_to_play.chemistry_section": { "ignored": "(not $education_edition)" } }, + { "npc_section@how_to_play.npc_section": { "ignored": "(not $education_edition)" } }, + { "camera_section@how_to_play.camera_section": { "ignored": "(not $education_edition)" } }, + { "portfolio_section@how_to_play.portfolio_section": { "ignored": "(not $education_edition)" } }, + { "classroom_mode_section@how_to_play.classroom_mode_section": { "ignored": "(not $education_edition)" } }, + { "code_builder_section@how_to_play.code_builder_section": { "ignored": "(not $education_edition)" } }, + + { "playing_together_section@how_to_play.playing_together_section": { "ignored": "$education_edition" } }, + { "encyclopedia_section@how_to_play.encyclopedia_section": {} }, + { + "section_contents_footer@how_to_play_common.section_contents_footer": {} + } + ] + } + } + ] + }, + + "moving_around_button@how_to_play_common.section_toggle_button": { + "$section_topic": "movingAround" + }, + + "moving_around_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "movingAround_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.movingAround.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.movingAround.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.movingAround.text.2.gamepad" + } + }, + { + "paragraph_touch_joystick_tap@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.movingAround.text.2.touch" + } + }, + { + "paragraph_2_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.movingAround.text.2.rift_controller" + } + }, + { + "paragraph_2_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.movingAround.text.2.windowsmr_controller" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3a_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.movingAround.text.3a.keyboard" + } + }, + { + "paragraph_3b_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.movingAround.text.3b.keyboard" + } + }, + { + "paragraph_3a_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.movingAround.text.3.gamepad" + } + }, + { + "paragraph_3b_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.movingAround.text.3b.gamepad" + } + }, + { + "paragraph_3_touch_joystick_tap@how_to_play_common.paragraph_touch_joystick_tap": { + "$text": "howtoplay.movingAround.text.3.touch.joystick_tap" + } + }, + { + "paragraph_3a_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.movingAround.text.3a.touch.classic_dpad" + } + }, + { + "paragraph_3b_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.movingAround.text.3b.touch.classic_dpad" + } + }, + { + "paragraph_3c_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.movingAround.text.3c.touch.classic_dpad" + } + }, + { + "paragraph_3d_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.movingAround.text.3d.touch.classic_dpad" + } + }, + { + "paragraph_3e_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.movingAround.text.3e.touch.classic_dpad" + } + }, + { + "paragraph_3_touch_joystick_crosshair@how_to_play_common.paragraph_touch_joystick_crosshair": { + "$text": "howtoplay.movingAround.text.3.touch.joystick_crosshair" + } + }, + { + "paragraph_3_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.movingAround.text.3.rift_controller" + } + }, + { + "paragraph_3_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.movingAround.text.3.windowsmr_controller" + } + }, + { + "padding_3a@how_to_play_common.padding": { + "bindings": [ + { + "binding_name": "(#rift_controller_being_used or #windowsmr_controller_being_used)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "paragraph_3b_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.movingAround.text.3b.rift_controller" + } + }, + { + "paragraph_3b_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.movingAround.text.3b.windowsmr_controller" + } + }, + { + "image_1@how_to_play_common.image": { + "texture": "textures/ui/welcome", + "size": [ "100%", "200px" ] + } + } + ] + }, + + "gathering_resources_button@how_to_play_common.section_toggle_button": { + "$section_topic": "gatheringResources" + }, + + "gathering_resources_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gatheringResources_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.gatheringResources.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.gatheringResources.text.2.pc" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.gatheringResources.text.2.nottouch" + } + }, + { + "paragraph_2_touch_joystick_tap@how_to_play_common.paragraph_touch_joystick_tap": { + "$line_padding": 3.0, + "$text": "howtoplay.gatheringResources.text.2.touch" + } + }, + { + "paragraph_2_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$line_padding": 3.0, + "$text": "howtoplay.gatheringResources.text.2.touch" + } + }, + { + "paragraph_2_touch_joystick_crosshair@how_to_play_common.paragraph_touch_joystick_crosshair": { + "$text": "howtoplay.gatheringResources.text.2.touch.joystick_crosshair" + } + }, + { + "paragraph_2_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.gatheringResources.text.2.nottouch" + } + }, + { + "paragraph_2_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.gatheringResources.text.2.nottouch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.gatheringResources.text.3" + } + } + ] + }, + + "selecting_items_button@how_to_play_common.section_toggle_button": { + "$section_topic": "selectingItems" + }, + + "selecting_items_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "selectingItems_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.selectingItems.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.selectingItems.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.selectingItems.text.2.gamepad" + } + }, + { + "paragraph_touch_joystick_tap@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.selectingItems.text.2.touch" + } + }, + { + "paragraph_2_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.selectingItems.text.2.rift" + } + }, + { + "paragraph_2_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.selectingItems.text.2.windowsmr" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.selectingItems.text.3.nottouch" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.selectingItems.text.3.nottouch" + } + }, + { + "paragraph_3_touch_joystick_tap@how_to_play_common.paragraph_touch_joystick_tap": { + "$text": "howtoplay.selectingItems.text.3.touch", + "$line_padding": 3.0 + } + }, + { + "paragraph_3_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.selectingItems.text.3.touch", + "$line_padding": 3.0 + } + }, + { + "paragraph_3_touch_joystick_crosshair@how_to_play_common.paragraph_touch_joystick_crosshair": { + "$text": "howtoplay.selectingItems.text.3.touch.joystick_crosshair" + } + }, + { + "paragraph_3_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.selectingItems.text.3.nottouch" + } + }, + { + "paragraph_3_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.selectingItems.text.3.nottouch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.selectingItems.header.1" + } + }, + { + "image_1_not_touch@how_to_play_common.image": { + "bindings": [ + { + "binding_name": "(not #touch_being_used)", + "binding_name_override": "#visible" + } + ], + "texture": "textures/ui/selecting_items_desktop", + "size": [ "100%", "175px" ] + } + }, + { + "image_1_touch@how_to_play_common.image": { + "bindings": [ + { + "binding_name": "(#touch_being_used)", + "binding_name_override": "#visible" + } + ], + "texture": "textures/ui/selecting_items_mobile", + "size": [ "100%", "175px" ] + } + } + ] + }, + + "placing_blocks_button@how_to_play_common.section_toggle_button": { + "$section_topic": "placingBlocks" + }, + + "placing_blocks_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "placingBlocks_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.placingBlocks.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.placingBlocks.text.2.nottouch" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.placingBlocks.text.2.nottouch" + } + }, + { + "paragraph_2_touch_joystick_tap@how_to_play_common.paragraph_touch_joystick_tap": { + "$text": "howtoplay.placingBlocks.text.2.touch", + "$line_padding": 3.0 + } + }, + { + "paragraph_2_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.placingBlocks.text.2.touch", + "$line_padding": 3.0 + } + }, + { + "paragraph_2_touch_joystick_crosshair@how_to_play_common.paragraph_touch_joystick_crosshair": { + "$text": "howtoplay.placingBlocks.text.2.touch.joystick_crosshair" + } + }, + { + "paragraph_2_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.placingBlocks.text.2.nottouch" + } + }, + { + "paragraph_2_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.placingBlocks.text.2.nottouch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.placingBlocks.text.3" + } + } + ] + }, + + "inventory_button@how_to_play_common.section_toggle_button": { + "$section_topic": "inventory" + }, + + "inventory_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "inventory_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "image_1_not_touch@how_to_play_common.image": { + "bindings": [ + { + "binding_name": "(not #touch_being_used)", + "binding_name_override": "#visible" + } + ], + "texture": "textures/ui/inventory_desktop", + "size": [ "100%", "175px" ] + } + }, + { + "image_1_touch@how_to_play_common.image": { + "bindings": [ + { + "binding_name": "(#touch_being_used)", + "binding_name_override": "#visible" + } + ], + "texture": "textures/ui/inventory_mobile", + "size": [ "100%", "175px" ] + } + }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.inventory.header.1" + } + }, + { + "paragraph_1_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.inventory.text.1.pc_console" + } + }, + { + "paragraph_1_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.inventory.text.1.pc_console" + } + }, + { + "paragraph_1_rift_controller@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.inventory.text.1.rift" + } + }, + { + "paragraph_1_windowsmr_controller@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.inventory.text.1.windowsmr" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.inventory.text.1.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.inventory.header.2" + } + }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.inventory.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.inventory.text.2.gamepad" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.inventory.text.2.touch" + } + }, + { + "paragraph_2_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.inventory.text.2.vr" + } + }, + { + "paragraph_2_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.inventory.text.2.vr" + } + } + ] + }, + + "your_first_craft_button@how_to_play_common.section_toggle_button": { + "$section_topic": "yourFirstCraft" + }, + + "your_first_craft_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "yourFirstCraft_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "image_1_not_touch@how_to_play_common.image": { + "bindings": [ + { + "binding_name": "(not #touch_being_used)", + "binding_name_override": "#visible" + } + ], + "texture": "textures/ui/first_craft_desktop", + "size": [ "100%", "175px" ] + } + }, + { + "image_1_touch@how_to_play_common.image": { + "bindings": [ + { + "binding_name": "(#touch_being_used)", + "binding_name_override": "#visible" + } + ], + "texture": "textures/ui/first_craft_mobile", + "size": [ "100%", "175px" ] + } + }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.yourFirstCraft.header.1" + } + }, + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.yourFirstCraft.text.1" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.yourFirstCraft.text.2" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_3_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.yourFirstCraft.text.3.touch" + } + }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.yourFirstCraft.text.3.keyboard" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad_no_icons": { + "$text": "howtoplay.yourFirstCraft.text.3.gamepad" + } + }, + { + "paragraph_3_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.yourFirstCraft.text.3.touch" + } + }, + { + "paragraph_3_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.yourFirstCraft.text.3.touch" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.yourFirstCraft.header.2" + } + }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.yourFirstCraft.text.4" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.yourFirstCraft.text.5" + } + } + ] + }, + + "recipe_book_button@how_to_play_common.section_toggle_button": { + "$section_topic": "recipeBook" + }, + + "recipe_book_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "recipeBook_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.recipeBook.text.1.keyboard" + } + }, + { + "paragraph_1_gamepad@how_to_play_common.paragraph_gamepad_no_icons": { + "$text": "howtoplay.recipeBook.text.1.gamepad" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.recipeBook.text.1.touch" + } + }, + { + "paragraph_1_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.recipeBook.text.1.gamepad" + } + }, + { + "paragraph_1_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.recipeBook.text.1.gamepad" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.recipeBook.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad_no_icons": { + "$text": "howtoplay.recipeBook.text.2.gamepad" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.recipeBook.text.2.touch" + } + }, + { + "paragraph_2_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.recipeBook.text.2.gamepad" + } + }, + { + "paragraph_2_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.recipeBook.text.2.gamepad" + } + } + ] + }, + + "the_crafting_table_button@how_to_play_common.section_toggle_button": { + "$section_topic": "theCraftingTable" + }, + + "the_crafting_table_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "theCraftingTable_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "image_1@how_to_play_common.image": { + "texture": "textures/ui/crafting_table", + "size": [ "100%", "200px" ] + } + }, + { + "paragraph_1@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.theCraftingTable.text.1" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.theCraftingTable.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.theCraftingTable.text.2.gamepad" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch_no_icons": { + "$text": "howtoplay.theCraftingTable.text.2.touch" + } + }, + { + "paragraph_2_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.theCraftingTable.text.2.gamepad" + } + }, + { + "paragraph_2_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.theCraftingTable.text.2.gamepad" + } + } + ] + }, + + "crafting_a_tool_button@how_to_play_common.section_toggle_button": { + "$section_topic": "craftingATool" + }, + + "crafting_a_tool_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "craftingATool_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.craftingATool.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.craftingATool.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.craftingATool.text.2.gamepad" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.craftingATool.text.2.touch" + } + }, + { + "paragraph_2_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.craftingATool.text.2.gamepad" + } + }, + { + "paragraph_2_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.craftingATool.text.2.gamepad" + } + } + ] + }, + + "mining_button@how_to_play_common.section_toggle_button": { + "$section_topic": "mining" + }, + + "mining_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "mining_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "image_1@how_to_play_common.image": { + "texture": "textures/ui/mining", + "size": [ "100%", "200px" ] + } + }, + { + "paragraph_1@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.mining.text.1" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.mining.text.2" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.mining.text.3" + } + } + ] + }, + + "nightfall_new_button@how_to_play_common.section_toggle_button": { + "$section_topic": "nightfallNew" + }, + + "nightfall_new_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "nightfallNew_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.nightfall.new.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.nightfall.new.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.nightfall.new.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.nightfall.new.text.4.keyboard" + } + }, + { + "paragraph_4_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.nightfall.new.text.4.gamepad" + } + }, + { + "paragraph_4_touch_joystick_tap@how_to_play_common.paragraph_touch_joystick_tap": { + "$text": "howtoplay.nightfall.new.text.4.touch" + } + }, + { + "paragraph_4_touch_classic_dpad@how_to_play_common.paragraph_touch_classic_dpad": { + "$text": "howtoplay.nightfall.new.text.4.touch" + } + }, + { + "paragraph_4_touch_joystick_crosshair@how_to_play_common.paragraph_touch_joystick_crosshair": { + "$text": "howtoplay.nightfall.new.text.4.touch.crosshair" + } + }, + { + "paragraph_4_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.nightfall.new.text.4.gamepad" + } + }, + { + "paragraph_4_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.nightfall.new.text.4.gamepad" + } + } + ] + }, + + "building_a_shelter_button@how_to_play_common.section_toggle_button": { + "$section_topic": "buildingAShelter" + }, + + "building_a_shelter_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "buildingAShelter_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "image_1@how_to_play_common.image": { + "texture": "textures/ui/building_a_shelter", + "size": [ "100%", "200px" ] + } + }, + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.buildingAShelter.text.1" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.buildingAShelter.text.2" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.buildingAShelter.text.3" + } + } + ] + }, + + "death_and_respawn_button@how_to_play_common.section_toggle_button": { + "$section_topic": "deathAndRespawn" + }, + + "death_and_respawn_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "deathAndRespawn_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph_with_icons": { + "$text": "howtoplay.deathAndRespawn.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.deathAndRespawn.text.2" + } + } + ] + }, + + "food_button@how_to_play_common.section_toggle_button": { + "$section_topic": "food" + }, + + "food_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "food_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.food.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.food.text.2.keyboard" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.food.text.2.gamepad" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.food.text.2.touch" + } + }, + { + "paragraph_2_rift@how_to_play_common.paragraph_rift_controller": { + "$text": "howtoplay.food.text.2.gamepad" + } + }, + { + "paragraph_2_windowsmr@how_to_play_common.paragraph_windowsmr_controller": { + "$text": "howtoplay.food.text.2.gamepad" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.food.text.3" + } + } + ] + }, + + "beds_new_button@how_to_play_common.section_toggle_button": { + "$section_topic": "bedsNew" + }, + + "beds_new_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "bedsNew_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.bedsNew.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.bedsNew.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.bedsNew.text.3" + } + } + ] + }, + + "improved_tools_button@how_to_play_common.section_toggle_button": { + "$section_topic": "improvedTools" + }, + + "improved_tools_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "improvedTools_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.improvedTools.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.improvedTools.text.2" + } + } + ] + }, + + "world_builder_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "worldBuilder" + }, + + "world_builder_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "worldBuilder_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.3" + } + }, + { "padding_3@how_to_play_common.small_padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.5" + } + }, + { "padding_5@how_to_play_common.small_padding": {} }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.6" + } + }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.8" + } + }, + { "padding_8@how_to_play_common.small_padding": {} }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.worldBuilder.text.9" + } + } + ] + }, + + "permission_blocks_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "permissionBlocks" + }, + + "permission_blocks_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "permissionBlocks_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.permissionBlocks.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.permissionBlocks.title.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.permissionBlocks.text.2" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.permissionBlocks.text.3" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.permissionBlocks.text.4" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.permissionBlocks.text.5" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.permissionBlocks.title.2" + } + }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.permissionBlocks.text.6" + } + } + ] + }, + + "chalkboard_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "chalkboard" + }, + + "chalkboard_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "chalkboard_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.chalkboard.text.1" + } + }, + { + "paragraph_1_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.chalkboard.text.1" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.chalkboard.text.1.touch" + } + } + ] + }, + + "chemistry_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "chemistry" + }, + + "chemistry_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "chemistry_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.chemistry.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.chemistry.text.2" + } + } + ] + }, + + "npc_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "npc" + }, + + "npc_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "npc_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.npc.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.npc.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.npc.text.3" + } + } + ] + }, + + "camera_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "camera" + }, + + "camera_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "camera_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.camera.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.camera.text.2" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.camera.text.2" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.camera.text.2.touch" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "paragraph_3_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.camera.text.3" + } + }, + { + "paragraph_3_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.camera.text.3" + } + }, + { + "paragraph_3_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.camera.text.3.touch" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.camera.text.4" + } + } + ] + }, + + "portfolio_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "portfolio" + }, + + "portfolio_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "portfolio_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.portfolio.text.1" + } + }, + { + "paragraph_1_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.portfolio.text.1" + } + }, + { + "paragraph_1_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.portfolio.text.1.touch" + } + } + ] + }, + + "classroom_mode_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "classroomMode" + }, + + "classroom_mode_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "classroomMode_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.classroomMode.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2@how_to_play_common.paragraph": { + "ignored": "$is_ios", + "$text": "howtoplay.classroomMode.text.2" + } + } + ] + }, + + "code_builder_button@how_to_play_common.edu_section_toggle_button": { + "$section_topic": "codeBuilder" + }, + + "code_builder_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "codeBuilder_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.codeBuilder.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "paragraph_2_keyboard@how_to_play_common.paragraph_keyboard": { + "$text": "howtoplay.codeBuilder.text.2" + } + }, + { + "paragraph_2_gamepad@how_to_play_common.paragraph_gamepad": { + "$text": "howtoplay.codeBuilder.text.2" + } + }, + { + "paragraph_2_touch@how_to_play_common.paragraph_touch": { + "$text": "howtoplay.codeBuilder.text.2.touch" + } + } + ] + }, + + "playing_together_button@how_to_play_common.section_toggle_button": { + "$section_topic": "playingTogether" + }, + + "playing_together_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "playingTogether_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.1" + } + }, + { "padding_1@how_to_play_common.padding": {} }, + { + "header_1@how_to_play_common.header": { + "$text": "howtoplay.playingTogether.header.1" + } + }, + { + "paragraph_2@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.2" + } + }, + { "padding_2@how_to_play_common.padding": {} }, + { + "header_2@how_to_play_common.header": { + "$text": "howtoplay.playingTogether.header.2" + } + }, + { + "paragraph_3@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.3" + } + }, + { "padding_3@how_to_play_common.padding": {} }, + { + "paragraph_4@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.4" + } + }, + { "padding_4@how_to_play_common.padding": {} }, + { + "paragraph_5@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.5" + } + }, + { "padding_5@how_to_play_common.padding": {} }, + { + "header_3@how_to_play_common.header": { + "$text": "howtoplay.playingTogether.header.3" + } + }, + { + "paragraph_6@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.6" + } + }, + { "padding_6@how_to_play_common.padding": {} }, + { + "paragraph_7@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.7" + } + }, + { "padding_7@how_to_play_common.padding": {} }, + { + "paragraph_8@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.8" + } + }, + { + "realms_button@how_to_play.try_realms_action_button": { + "size": [ "29%", 25 ], + "$button_text": "howtoplay.playingTogether.realms", + "bindings": [ + { + "binding_name": "#should_show_subscription_tab", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sign_in_button@how_to_play.try_realms_action_button": { + "size": [ "40%", 25 ], + "$button_text": "howtoplay.playingTogether.signIn", + "bindings": [ + { + "binding_name": "(not #should_show_subscription_tab)", + "binding_name_override": "#visible" + } + ] + } + }, + { "padding_8@how_to_play_common.padding": {} }, + { + "header_4@how_to_play_common.header": { + "$text": "howtoplay.playingTogether.header.4" + } + }, + { + "paragraph_9@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.9" + } + }, + { "padding_9@how_to_play_common.padding": {} }, + { + "paragraph_10@how_to_play_common.paragraph": { + "$text": "howtoplay.playingTogether.text.10" + } + } + ] + }, + + "try_realms_action_button@how_to_play_common.action_button": { + "$anchor": "center", + "$offset": [ 0, 0 ], + "$pressed_button_name": "try_realms_button" + }, + + "encyclopedia_button@how_to_play_common.section_toggle_button": { + "$section_topic": "encyclopedia", + "$button_type_panel": "how_to_play_common.glyph_button_control", + "$glyph_texture": "textures/ui/arrowRight" + }, + + "encyclopedia_section@how_to_play_common.main_sections": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "encyclopedia_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "paragraph_1@how_to_play_common.paragraph": { + "$text": "howtoplay.encyclopedia.text.1" + } + } + ] + } + +} diff --git a/resource_pack/ui/hud_screen.json b/resource_pack/ui/hud_screen.json new file mode 100644 index 0000000..c59a21d --- /dev/null +++ b/resource_pack/ui/hud_screen.json @@ -0,0 +1,3893 @@ +{ + "namespace": "hud", + + //--------------------------------------------------------------------------- + // Hud Screen + //--------------------------------------------------------------------------- + + "hud_player_renderer": { + "type": "panel", + "size": [ 15, 15 ], + + "controls": [ + { + "hud_player": { + "type": "custom", + "renderer": "hud_player_renderer", + "layer": 1, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_name": "#paper_doll_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "hotbar_renderer": { + "type": "custom", + "$hotbar_renderer_size|default": [ 20, 22 ], + "renderer": "hotbar_renderer", + "size": "$hotbar_renderer_size", + "layer": 1, + "bindings": [ + { + "binding_collection_name": "$hotbar_collection_name", + "binding_type": "collection_details" + }, + { + "binding_name": "#hotbar_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "hotbar_slot_image@hotbar_slot_image": { + "$hotbar_slot_image_size": "$hotbar_renderer_size" + } + } + ] + }, + + "cooldown_renderer": { + "type": "custom", + "renderer": "hotbar_cooldown_renderer", + "size": [ 20, 22 ], + "layer": 1, + "bindings": [ + { + "binding_collection_name": "$hotbar_collection_name", + "binding_type": "collection_details" + } + ] + }, + + "heart_renderer": { + "type": "custom", + "size": [ 1, 1 ], + "renderer": "heart_renderer", + "layer": 1, + "bindings": [ + { + "binding_name": "#show_survival_ui", + "binding_name_override": "#visible" + } + ] + }, + + "horse_heart_renderer": { + "type": "custom", + "size": [ 1, 1 ], + "renderer": "horse_heart_renderer", + "layer": 1 + }, + + "armor_renderer": { + "type": "custom", + "size": [ 1, 1 ], + "renderer": "armor_renderer", + "layer": 1, + "bindings": [ + { + "binding_name": "#is_armor_visible", + "binding_name_override": "#visible" + } + ] + }, + + "exp_progress_bar_and_hotbar": { + "type": "panel", + "size": [ "100%c", 31 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": "$xp_control_offset", + "controls": [ + { + "resizing_xp_bar_with_hotbar": { + "type": "panel", + "size": [ "100%c", 5 ], + "controls": [ + { + "empty_progress_bar@empty_progress_bar": { + "size": [ "100%c", 5 ], + "layer": 1, + "controls": [ + { + "full_progress_bar@full_progress_bar": { + "size": [ "100%c + 10px", 5 ], + "layer": 2, + "controls": [ + { + "progress_bar_nub@progress_bar_nub": { + "size": [ "100%c - 10px", 5 ], + "max_size": [ 190, 5 ], + "layer": 3, + "controls": [ + { + "horse_jump_rend@horse_jump_renderer": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%c", 5 ], + "layer": 7, + "controls": [ + { + "dash_rend@dash_renderer": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%c", 5 ], + "layer": 7, + "controls": [ + { + "hotbar@hotbar_chooser": { + "offset": [ 4, 16 ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "progress_text_label@progress_text_label": { + "offset": [ 0, 0 ], + "layer": 7 + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_with_xp_bar", + "binding_name_override": "#visible" + } + ] + } + }, + // For when we hide the XP bar in Creative Move we still want to display the HUD + { + "resizing_hotbar_no_xp_bar": { + "type": "panel", + "size": [ "100%c", 5 ], + "controls": [ + { + "horse_jump_rend@horse_jump_renderer": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%c", 5 ], + "layer": 7, + "bindings": [ + { + "binding_name": "#hotbar_no_xp_bar", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "dash_rend@dash_renderer": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%c", 5 ], + "layer": 7, + "controls": [ + { + "hotbar@hotbar_chooser": { + "offset": [ 4, 16 ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "item_text_factory": { + "size": [ 100, 10 ], + "type": "factory", + "control_ids": { + "item_text": "@hud.item_name_text", + "jukebox_text": "@hud.jukebox_popup_text" + } + } + } + ] + }, + + // redo layout for exp and progress bar to work with the binding trick + // without touching classic + "exp_progress_bar_and_hotbar_pocket": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "resizing_xp_bar_with_hotbar": { + "type": "panel", + "size": [ "100%", 5 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "use_anchored_offset": true, + "property_bag": { + "#anchored_offset_value_y": 0.0, + "#size_binding_x": 0.0, + "#size_binding_y": 0.0 + }, + "controls": [ + { + "empty_progress_bar@empty_progress_bar": { + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { + "full_progress_bar@full_progress_bar": { + "size": [ "100%", "100%" ], + "layer": 2, + "controls": [ + { + "progress_bar_nub@progress_bar_nub": { + "size": [ "99%", "100%" ], + "layer": 3 + } + } + ] + } + } + ] + } + }, + { + "progress_text_label@progress_text_label": { + "offset": [ 0, 0 ], + "layer": 7 + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_with_xp_bar", + "binding_name_override": "#visible" + }, + { + "binding_name": "#exp_bar_and_text_offset_y", + "binding_name_override": "#anchored_offset_value_y" + }, + { + "binding_name": "#exp_bar_size_x", + "binding_name_override": "#size_binding_x" + }, + { + "binding_name": "#exp_bar_size_y", + "binding_name_override": "#size_binding_y" + } + ] + } + }, + { + "hotbar_panel@hotbar_panel_pocket": {} + }, + { + "item_text": { + "type": "panel", + "offset": [ 0, 0 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "use_anchored_offset": true, + "property_bag": { + "#anchored_offset_value_y": 0.0 + }, + "bindings": [ + { + "binding_name": "#exp_bar_and_text_offset_y", + "binding_name_override": "#anchored_offset_value_y" + } + ], + "controls": [ + { + "item_text_factory": { + "size": [ 100, 10 ], + "type": "factory", + "control_ids": { + "item_text": "@hud.item_name_text_root", + "jukebox_text": "@hud.jukebox_popup_text" + } + } + } + ] + } + }, + { + "horse_jump_rend@horse_jump_renderer": { + "layer": 7, + "size": [ "100%", 5 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "use_anchored_offset": true, + "property_bag": { + "#anchored_offset_value_y": 0.0, + "#size_binding_x": 0.0, + "#size_binding_y": 0.0 + }, + "bindings": [ + { + "binding_name": "#exp_bar_and_text_offset_y", + "binding_name_override": "#anchored_offset_value_y" + }, + { + "binding_name": "#exp_bar_size_x", + "binding_name_override": "#size_binding_x" + }, + { + "binding_name": "#exp_bar_size_y", + "binding_name_override": "#size_binding_y" + } + ] + } + }, + { + "dash_rend@dash_renderer": { + "layer": 7, + "size": [ "100%", 5 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "use_anchored_offset": true, + "property_bag": { + "#anchored_offset_value_y": 0.0, + "#size_binding_x": 0.0, + "#size_binding_y": 0.0 + }, + "bindings": [ + { + "binding_name": "#exp_bar_and_text_offset_y", + "binding_name_override": "#anchored_offset_value_y" + }, + { + "binding_name": "#exp_bar_size_x", + "binding_name_override": "#size_binding_x" + }, + { + "binding_name": "#exp_bar_size_y", + "binding_name_override": "#size_binding_y" + } + ] + } + } + ] + }, + + "full_progress_bar": { + "type": "image", + "texture": "textures/ui/experiencebarfull", + "clip_direction": "left", + "clip_pixelperfect": false, + "bindings": [ + { + "binding_name": "#exp_progress", + "binding_name_override": "#clip_ratio", + "binding_type": "global" + } + ] + }, + + "empty_progress_bar": { + "type": "image", + "texture": "textures/ui/experiencebarempty" + }, + + "progress_bar_nub": { + "type": "image", + "texture": "textures/ui/experiencenub", + "tiled": "x" + }, + + "progress_text_label": { + "type": "label", + "shadow": true, + "text": "#level_number", + "color": "$experience_text_color", + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#level_number", + "binding_type": "global" + }, + { + "binding_name": "#level_number_visible", + "binding_type": "global", + "binding_name_override": "#visible" + } + ] + }, + + "horse_jump_renderer": { + "type": "custom", + "renderer": "horse_jump_renderer" + }, + + "dash_renderer": { + "type": "custom", + "renderer": "dash_renderer" + }, + + "hunger_renderer": { + "type": "custom", + "size": [ 1, 1 ], + "renderer": "hunger_renderer", + "layer": 1, + "bindings": [ + { + "binding_name": "#show_survival_ui", + "binding_name_override": "#visible" + } + ] + }, + + "bubbles_renderer": { + "type": "custom", + "size": [ 1, 1 ], + "renderer": "bubbles_renderer", + "layer": 1 + }, + + "mob_effects_renderer": { + "type": "custom", + "renderer": "mob_effects_renderer", + "layer": 1 + }, + + "vignette_renderer": { + "type": "custom", + "renderer": "vignette_renderer", + "layer": 0 + }, + + "editor_gizmo_renderer": { + "type": "custom", + "renderer": "editor_gizmo_renderer", + "layer": 1 + }, + + "cursor_renderer": { + "type": "custom", + "size": [ 16, 16 ], + "renderer": "cursor_renderer", + "layer": 4 + }, + + "progress_indicator_renderer": { + "type": "custom", + "renderer": "progress_indicator_renderer", + "layer": 4 + }, + + "camera_renderer": { + "type": "custom", + "renderer": "camera_renderer", + "layer": 1 + }, + + "editor_volume_highlight_renderer": { + "type": "custom", + "renderer": "editor_volume_highlight_renderer", + "layer": 4 + }, + + "editor_compass_renderer": { + "type": "custom", + "renderer": "editor_compass_renderer", + "layer": 4 + }, + + "hotbar_hud_item_icon@common.item_renderer": { + "$item_collection_name": "$hotbar_collection_name", + "property_bag": { + "force_update": true + } + }, + + "elipses_image": { + "type": "image", + "$elipses_image_size|default": [ 14, 4 ], + "texture": "textures/ui/elipses", + "anchor_from": "center", + "anchor_to": "center", + "size": "$elipses_image_size", + "offset": [ 0.0, 0.5 ], + "layer": 30, + "alpha": 0.65 + }, + + "bound_button_label@button_label": { + "text": "$label_bind_name", + "bindings": [ + { + "binding_name": "$label_bind_name", + "binding_type": "global" + } + ] + }, + + "default_borderless_button_layout": { + "type": "image", + "texture": "textures/ui/button_borderless_light", + "alpha": 0.45 + }, + + "hover_borderless_button_layout@default_borderless_button_layout": { + "texture": "textures/ui/button_borderless_lighthover" + }, + + "pressed_borderless_button_layout@default_borderless_button_layout": { + "texture": "textures/ui/button_borderless_lightpressed" + }, + + "borderless_button@common.button": { + "controls": [ + { + "default@default_borderless_button_layout": {} + }, + { + "hover@hover_borderless_button_layout": {} + }, + { + "pressed@pressed_borderless_button_layout": {} + }, + { + "elipses@elipses_image": {} + } + ] + }, + + "hotbar_elipses_button@borderless_button": { + "$pressed_button_name": "button.hotbar_inventory_button", + "$hotbar_elipses_button_size|default": [ 16, 16 ], + "anchor_from": "center", + "anchor_to": "center", + "size": "$hotbar_elipses_button_size", + "layer": 3, + "focus_enabled": false, + "default_focus_precedence": 10, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + } + ], + "bindings": [ + { + "binding_name": "#inventory_touch_button", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "start_cap_image": { + "type": "image", + "$cap_image_size|default": [ 1, 22 ], + "texture": "textures/ui/hotbar_start_cap", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": "$cap_image_size", + "layer": 4, + "alpha": 0.65, + "visible": true + }, + + "end_cap_image@start_cap_image": { + "texture": "textures/ui/hotbar_end_cap" + }, + + "hotbar_start_cap": { + "type": "panel", + "$cap_size|default": [ 1, 22 ], + "size": "$cap_size", + "controls": [ + { + "start_cap_image@start_cap_image": { + "$cap_image_size": "$cap_size" + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_visible", + "binding_name_override": "#visible" + } + ] + }, + + "hotbar_end_cap@hotbar_start_cap": { + "$cap_size|default": [ 1, 22 ], + "controls": [ + { + "end_cap_image@end_cap_image": { + "$cap_image_size": "$cap_size" + } + } + ] + }, + + "heart_image": { + "type": "image", + "texture": "textures/ui/heart_background", + "size": [ 9, 9 ], + "layer": 1, + "alpha": 0.65 + }, + + "hotbar_slot_image": { + "$hotbar_slot_image_size|default": [ 20, 22 ], + "type": "image", + "offset": [ 0, 0 ], + "size": "$hotbar_slot_image_size", + "layer": 1, + "alpha": 1 + }, + + "hotbar_slot_selected_image": { + "type": "image", + "texture": "textures/ui/selected_hotbar_slot", + "size": [ 24, 24 ], + "layer": 8, + "bindings": [ + { + "binding_name": "#slot_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$hotbar_collection_name" + } + ] + }, + + "gui_hotbar_slot_button_prototype": { + "type": "button", + + "$hotbar_select|default": "button.hotbar_select", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + "tts_ignore_count": true, + + "layer": 2, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$hotbar_select", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.hotbar_ok", + "mapping_type": "focused" + }, + { + "to_button_id": "button.slot_pressed", + "mapping_type": "pressed" + } + ], + "bindings": [ + { + "binding_collection_name": "$hotbar_collection_name", + "binding_type": "collection_details" + } + ] + }, + + // Displays player's position in the form "Position: 0, 0, 0", as well as "Agent Pos: 0, 0, 0" if an owned agent is present + "player_position": { + "type": "image", + "size": [ "100%c + 6px", "100%c + 2px" ], + "texture": "textures/ui/Black", + "alpha": 0.7, + "controls": [ + { + "player_position_text": { + "type": "label", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 1, + + "enable_profanity_filter": false, + "color": "$chat_text_color", + "text": "#text", + "shadow": true, + + "bindings": [ + { + "binding_name": "#player_position_text", + "binding_name_override": "#text", + "binding_condition": "always_when_visible", + "binding_type": "global" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#player_position_visible", + "binding_name_override": "#visible", + "binding_condition": "always", + "binding_type": "global" + } + ] + }, + + // Displays number of played in-game days + "number_of_days_played": { + "type": "image", + "size": [ "100%c + 6px", "100%c + 2px" ], + "texture": "textures/ui/Black", + "alpha": 0.7, + "controls": [ + { + "number_of_days_played_text": { + "type": "label", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 1, + + "enable_profanity_filter": false, + "color": "$chat_text_color", + "text": "#text", + "shadow": true, + + "bindings": [ + { + "binding_name": "#number_of_days_played_text", + "binding_name_override": "#text", + "binding_condition": "always_when_visible", + "binding_type": "global" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#number_of_days_played_visible", + "binding_name_override": "#visible", + "binding_condition": "always", + "binding_type": "global" + } + ] + }, + + "anim_chat_txt_alpha": { + "anim_type": "alpha", + "easing": "in_quart", + "duration": 1, + "from": 1, + "to": 0 + }, + + "anim_chat_txt_wait": { + "anim_type": "wait", + "duration": "$chat_item_lifetime", + "next": "@hud.anim_chat_txt_alpha" + }, + + "anim_chat_bg_alpha": { + "anim_type": "alpha", + "easing": "in_quart", + "destroy_at_end": "chat_grid_item", + "duration": 1, + "from": 0.7, + "to": 0 + }, + + "anim_chat_bg_wait": { + "anim_type": "wait", + "duration": "$chat_item_lifetime", + "next": "@hud.anim_chat_bg_alpha" + }, + + "chat_label": { + "type": "label", + "layer": 31, + "text": "#text", + "size": [ "100%", "default" ], + "shadow": true, + "localize": false, + "color": "$chat_text_color", + "font_type": "$chat_font_type", + "font_scale_factor": "$chat_font_scale_factor", + "line_padding": "$chat_line_spacing", + "anims": [ + "@hud.anim_chat_txt_wait" + ], + "bindings": [ + { + "binding_name": "#chat_text", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "chat_text_grid", + "binding_condition": "once" + } + ] + }, + + "chat_grid_item": { + "type": "panel", + "layer": 1, + "size": [ "100%-2px", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "(not #on_new_death_screen)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "chat_background": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.7, + "size": [ "100%", "100%c" ], + "anims": [ + "@hud.anim_chat_bg_wait" + ], + "controls": [ + { + "chat_text@chat_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 2, 0 ] + } + } + ] + } + } + ] + }, + + "chat_panel": { + "type": "panel", + //Uncomment when text formatting is being accounted for in word length + //"clips_children": true, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "max_size": [ "100%", "50%" ], + + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "factory": { + "name": "chat_item_factory", + "max_children_size": 50, + "control_ids": { + "chat_item": "chat_item@hud.chat_grid_item" + } + } + } + } + ] + }, + + "item_durability@common.durability_bar": { + "$durability_bar_required|default": true, + "$item_collection_name": "$hotbar_collection_name" + }, + + "item_storage@common.storage_bar": { + "$storage_bar_required|default": true, + "$item_collection_name": "$hotbar_collection_name" + }, + + "container_item_lock_overlay@common.container_item_lock_overlay": { + "$item_collection_name": "$hotbar_collection_name" + }, + + "item_lock_cell_image@common.item_lock_cell_image": { + "$item_collection_name": "$hotbar_collection_name" + }, + + "gui_hotbar_grid_item": { + "type": "panel", + "layer": 1, + "size": [ 20, 22 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "$stack_count_required|default": true, + "$durability_bar_required|default": true, + "$storage_bar_required|default": true, + "controls": [ + { "hotbar_slot_selected_image@hotbar_slot_selected_image": {} }, + { "hotbar_renderer@hotbar_renderer": {} }, + { + "hotbar_parent": { + "type": "panel", + "size": [ 18, 18 ], + "controls": [ + { + "item_icon@hotbar_hud_item_icon": { + "layer": 3, + "size": [ 16, 16 ] + } + }, + { + "item_count@common.stack_count_label": { + "layer": 4, + "$item_collection_name": "$hotbar_collection_name", + "$stack_count_collection_name": "$hotbar_collection_name", + "bindings": [ + { + "binding_name": "#inventory_stack_count", + "binding_type": "collection", + "binding_collection_name": "$stack_count_collection_name" + }, + { + "binding_name": "#stack_count_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$stack_count_collection_name" + } + ] + } + }, + { "hotbar_hint@edu_common.hotbar_hint": {} }, + { + "item_dura@item_durability": { + "layer": 5 + } + }, + { + "item_store@item_storage": { + "layer": 5 + } + }, + { + "container_item_lock_overlay@hud.container_item_lock_overlay": { + "layer": 6, + "size": [ 16, 16 ] + } + } + ] + } + }, + { "cooldown_renderer@cooldown_renderer": { "layer": 10 } }, + { "hotbar_slot_button@gui_hotbar_slot_button_prototype": {} } + ], + "bindings": [ + { + "binding_name": "#hotbar_visible", + "binding_name_override": "#visible" + } + ] + }, + + // redo layout for each hotbar grid item to work with the binding trick + // without touching classic + "gui_hotbar_grid_item_pocket": { + "type": "panel", + "layer": 1, + "size": [ "11.11%", "100%" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "$stack_count_required|default": true, + "$durability_bar_required|default": true, + "$storage_bar_required|default": true, + "controls": [ + { + "hotbar_slot_selected_image@hotbar_slot_selected_image": { + "size": [ "120%", "120%" ] + } + }, + { + "hotbar_renderer@hotbar_renderer": { + "$hotbar_renderer_size": [ "105%", "105%" ] + } + }, + { + "hotbar_parent": { + "type": "panel", + "controls": [ + { + "item_icon@hotbar_hud_item_icon": { + "layer": 3, + "size": [ "80%", "80%" ] + } + }, + { + "item_count@common.stack_count_label": { + "layer": 4, + "$item_collection_name": "$hotbar_collection_name", + "$stack_count_collection_name": "$hotbar_collection_name", + "bindings": [ + { + "binding_name": "#inventory_stack_count", + "binding_type": "collection", + "binding_collection_name": "$stack_count_collection_name" + }, + { + "binding_name": "#stack_count_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$stack_count_collection_name" + } + ] + } + }, + { + "item_dura@item_durability": { + "layer": 5 + } + }, + { + "item_store@item_storage": { + "layer": 5 + } + }, + { + "container_item_lock_overlay@hud.container_item_lock_overlay": { + "layer": 6, + "size": [ 16, 16 ] + } + } + ] + } + }, + { "cooldown_renderer@cooldown_renderer": { "layer": 10 } }, + { "hotbar_slot_button@gui_hotbar_slot_button_prototype": {} } + ], + "bindings": [ + { + "binding_name": "#hotbar_visible", + "binding_name_override": "#visible" + } + ] + }, + + "centered_gui_elements": { + "type": "panel", + "controls": [ + { + "hud_player_rend_desktop@hud_player_renderer": { + "offset": "$hud_player_rend_desktop_offset", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ], + "bindings": [ + { + "binding_name": "#hud_visible_centered_gui_elements", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "centered_gui_elements_at_bottom_middle": { + "type": "panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ 180, 50 ], + "controls": [ + { + "heart_rend@heart_renderer": { + "offset": [ -1, -40 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "horse_heart_rend_0@horse_heart_renderer": { + "offset": [ 180, -56 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#creative_horse_hearts", + "binding_name_override": "#visible" + } + ] + } + }, + { + "horse_heart_rend_1@horse_heart_renderer": { + "offset": [ 180, -50 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#survival_horse_hearts", + "binding_name_override": "#visible" + } + ] + } + }, + { + "armor_rend@armor_renderer": { + "offset": [ -1, -40 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "hunger_rend@hunger_renderer": { + "offset": [ 180, -40 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "bubbles_rend_0@bubbles_renderer": { + "offset": [ 180, -50 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#is_not_riding_bubbles", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bubbles_rend_1@bubbles_renderer": { + "offset": [ 180, -50 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#is_riding_bubbles", + "binding_name_override": "#visible" + } + ] + } + }, + { "exp_rend@exp_progress_bar_and_hotbar": {} } // for classic + ], + "bindings": [ + { + "binding_name": "#hud_visible_centered", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "centered_gui_elements_at_bottom_middle_touch": { + "type": "panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ 200, 50 ], + "controls": [ + { + "heart_rend@heart_renderer": { + "offset": [ -1, -40 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "horse_heart_rend_0@horse_heart_renderer": { + "offset": [ 200, -56 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#creative_horse_hearts", + "binding_name_override": "#visible" + } + ] + } + }, + { + "horse_heart_rend_1@horse_heart_renderer": { + "offset": [ 200, -50 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#survival_horse_hearts", + "binding_name_override": "#visible" + } + ] + } + }, + { + "armor_rend@armor_renderer": { + "offset": [ -1, -40 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "hunger_rend@hunger_renderer": { + "offset": [ 200, -40 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "bubbles_rend_0@bubbles_renderer": { + "offset": [ 200, -50 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#is_not_riding_bubbles", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bubbles_rend_1@bubbles_renderer": { + "offset": [ 200, -50 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#is_riding_bubbles", + "binding_name_override": "#visible" + } + ] + } + }, + { "exp_rend@exp_progress_bar_and_hotbar": {} } // for classic + ], + "bindings": [ + { + "binding_name": "#hud_visible_centered_touch", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "not_centered_gui_elements": { + "type": "panel", + "controls": [ + { + "heart_rend@heart_renderer": { + "offset": [ 2, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "horse_heart_rend@horse_heart_renderer": { + "offset": [ -2, 2 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1, + "bindings": [ + { + "binding_name": "#horse_hearts_touch", + "binding_name_override": "#visible" + } + ] + } + }, + { + "hunger_rend@hunger_renderer": { + "offset": [ -2, 2 ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + }, + { + "armor_rend@armor_renderer": { + "offset": [ 2, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "hud_player_rend_pocket@hud_player_renderer": { + "offset": [ 15, 25 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "bubbles_rend_0@bubbles_renderer": { + "offset": [ -2, 12 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#is_not_riding_bubbles", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bubbles_rend_1@bubbles_renderer": { + "offset": [ -2, 12 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#is_riding_bubbles", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#hud_visible_not_centered", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "hotbar_chooser": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "$ignore_desktop": true, + "$ignore_pocket": false, + "variables": [ + { + "requires": "($desktop_screen and not $education_edition)", + "$ignore_desktop": false, + "$ignore_pocket": true + } + ], + + "controls": [ + { + "desktop_hotbar@hotbar_panel": { + "ignored": "$ignore_desktop", + "offset": [ -4, 0 ] + } + }, + { + "pocket_hotbar@hotbar_panel": { + "ignored": "$ignore_pocket", + "offset": [ -4, 0 ] + } + } + ] + }, + + "hotbar_elipses_panel_right_content": { + "type": "stack_panel", + "size": [ 20, 22 ], + "orientation": "horizontal", + "controls": [ + { "elipses_content@hud.hotbar_elipses_panel_right_art": {} } + ], + "bindings": [ + { + "binding_name": "#hotbar_elipses_right_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "hotbar_elipses_panel_right_art": { + "type": "panel", + "$hotbar_elipses_panel_right_art_size|default": [ 20, 22 ], + "size": "$hotbar_elipses_panel_right_art_size", + "layer": 4, + "controls": [ + { + "slot@hud.hotbar_slot_image": { + "$hotbar_slot_image_size": "$hotbar_elipses_panel_right_art_size", + // The layering is for cover the grid cap/black border when this panel is visible + "layer": 2, + //Grab the right hand end of the hotbar + "texture": "textures/ui/hotbar_8" + } + }, + { "button@hud.hotbar_elipses_button": {} } + ] + }, + + "hotbar_elipses_panel_left_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 20, 22 ], + "controls": [ + { "button@hud.hotbar_elipses_panel_left_art": {} } + ], + "bindings": [ + { + "binding_name": "#hotbar_elipses_left_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "hotbar_elipses_panel_left_art": { + "type": "panel", + "$hotbar_elipses_panel_left_art_size|default": [ 20, 22 ], + "size": "$hotbar_elipses_panel_left_art_size", + "layer": 4, + "controls": [ + { + "slot@hud.hotbar_slot_image": { + "layer": 2, + "$hotbar_slot_image_size": "$hotbar_elipses_panel_left_art_size", + //Grab the left hand end of the hotbar + "texture": "textures/ui/hotbar_0" + } + }, + { "button@hud.hotbar_elipses_button": {} } + ] + }, + + "hotbar_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 22 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "hotbar_start_cap@hud.hotbar_start_cap": {} }, + { "hotbar_elipses_panel_left@hud.hotbar_elipses_panel_left_content": {} }, + { "hotbar_grid@hud.hotbar_grid": {} }, + { "hotbar_elipses_panel_right@hud.hotbar_elipses_panel_right_content": {} }, + { "hotbar_end_cap@hud.hotbar_end_cap": {} } + ] + }, + + // redo layout for hotbar panel to work with the binding trick + // without touching classic + "hotbar_panel_pocket": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 40 ], + "offset": [ 0, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "use_anchored_offset": true, + "property_bag": { + "#anchored_offset_value_x": 0.0, + "#anchored_offset_value_y": 0.0, + "#size_binding_x": 0.0, + "#size_binding_y": 0.0 + }, + "controls": [ + { + "hotbar_start_cap_frame": { + "type": "panel", + "size": [ 1, "100%" ], + "controls": [ + { + "hotbar_start_cap@hud.hotbar_start_cap": { + "offset": [ 0, "-2.5%" ], + "$cap_size": [ 1, "105%" ] + } + } + ] + } + }, + { + "hotbar_elipses_panel_left": { + "type": "panel", + "size": [ "10%", "100%" ], + "controls": [ + { + "hotbar_elipses_panel_left@hud.hotbar_elipses_panel_left_art": { + "$hotbar_elipses_panel_left_art_size": [ "105%", "105%" ], + "$hotbar_elipses_button_size": [ "77%", "77%" ], + "$elipses_image_size": [ "75%", "75%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_elipses_left_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "hotbar_grid@hud.hotbar_grid": { + "size": [ "90%", "100%" ], + "grid_item_template": "hud.gui_hotbar_grid_item_pocket" + } + }, + { + "hotbar_elipses_panel_right": { + "type": "panel", + "size": [ "10%", "100%" ], + "controls": [ + { + "hotbar_elipses_panel_right@hud.hotbar_elipses_panel_right_art": { + "$hotbar_elipses_panel_right_art_size": [ "105%", "105%" ], + "$hotbar_elipses_button_size": [ "77%", "77%" ], + "$elipses_image_size": [ "75%", "75%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_elipses_right_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "hotbar_end_cap_frame": { + "type": "panel", + "size": [ 1, "100%" ], + "controls": [ + { + "hotbar_end_cap@hud.hotbar_end_cap": { + "offset": [ 0, "-2.5%" ], + "$cap_size": [ 1, "105%" ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_offset_x", + "binding_name_override": "#anchored_offset_value_x" + }, + { + "binding_name": "#hotbar_offset_y", + "binding_name_override": "#anchored_offset_value_y" + }, + { + "binding_name": "#hotbar_size_x", + "binding_name_override": "#size_binding_x" + }, + { + "binding_name": "#hotbar_size_y", + "binding_name_override": "#size_binding_y" + } + ] + }, + + "hotbar_grid": { + "type": "grid", + "$hotbar_collection_name|default": "hotbar_items", + "grid_item_template": "hud.gui_hotbar_grid_item", + "grid_dimension_binding": "#hotbar_grid_dimensions", + "collection_name": "$hotbar_collection_name", + "bindings": [ + { + "binding_name": "#hotbar_grid_dimensions", + "binding_type": "global" + } + ] + }, + + "edu_hotbar_grid": { + "type": "grid", + "grid_item_template": "hud.gui_hotbar_grid_item", + "grid_dimension_binding": "#hotbar_grid_dimensions", + "collection_name": "$hotbar_collection_name", + "bindings": [ + { + "binding_name": "#hotbar_grid_dimensions", + "binding_type": "global" + } + ] + }, + + "anim_item_name_text_alpha_in": { + "anim_type": "alpha", + "duration": 0, + "from": 0.0, + "to": 1.0, + "next": "@hud.anim_item_name_text_alpha_stay" + }, + + "anim_item_name_text_alpha_stay": { + "anim_type": "wait", + "duration": "$wait_duration", + "next": "@hud.anim_item_name_text_alpha_out" + }, + + "anim_item_name_text_alpha_out": { + "anim_type": "alpha", + "easing": "in_expo", + "destroy_at_end": "$destroy_id", + "duration": 2, + "from": 1.0, + "to": 0 + }, + + "anim_item_name_background_alpha_in": { + "anim_type": "alpha", + "duration": 0, + "from": 0, + "to": 0.6, + "next": "@hud.anim_item_name_background_alpha_stay" + }, + + "anim_item_name_background_alpha_stay": { + "anim_type": "wait", + "duration": "$wait_duration", + "next": "@hud.anim_item_name_background_alpha_out" + }, + + "anim_item_name_background_alpha_out": { + "anim_type": "alpha", + "easing": "in_expo", + "duration": 2, + "from": 0.6, + "to": 0 + }, + + "item_name_text_root": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "$show_interact_padding|default": false, + "$show_survival_padding|default": false, + + "$show_text_background|default": false, + + "$text_color|default": "$tool_tip_text", + "$text_binding|default": "#item_text", + + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$wait_duration|default": 1, + "$destroy_id|default": "item_name_text", + "controls": [ + { + "item_text_aligner": { + "type": "stack_panel", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "item_text_control": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "controls": [ + { + "item_text_background": { + "ignored": "(not $show_text_background)", + + "type": "image", + "size": [ "100%sm + 12px", "100%sm + 5px" ], + "texture": "textures/ui/hud_tip_text_background", + "alpha": "@hud.anim_item_name_background_alpha_in" + } + }, + { + "item_text_label": { + "type": "label", + "max_size": [ 200, "default" ], + "text_alignment": "center", + "layer": 31, + "color": "$text_color", + "text": "#text", + "alpha": "@hud.anim_item_name_text_alpha_in", + // Disable profanity filter for this control so that + // we can enable it on the fly only for items with custom names + "enable_profanity_filter": false, + "bindings": [ + { + "binding_name": "$text_binding", + "binding_name_override": "#text" + } + ] + } + } + ] + } + }, + { + "interact_padding@common.empty_panel": { + "visible": "$show_interact_padding", + // To not overlap with the interact button + // the text needs to move up by 18 + "size": [ "100%sm", 18 ], + "bindings": [ + { + "binding_name": "#interact_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + + } + ] + } + }, + { + "survival_buffer@common.empty_panel": { + "visible": "$show_survival_padding", + // Survival HUD has elements above the hot bar + // meaning the text needs to move up + "size": [ "100%sm", 17 ], + "bindings": [ + { + "binding_name": "#show_survival_ui", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "item_name_text@hud.item_name_text_root": { + "bindings": [ + { + "binding_name": "#item_name_text_offset", + "binding_name_override": "#offset" + } + ] + }, + + "jukebox_popup_text@hud.item_name_text_root": { + "$text_color": "$jukebox_text_color", + "$text_binding": "#jukebox_text", + "offset": [ 0, -34 ] + }, + + "hud_tip_text": { + "type": "image", + "size": [ "100%c + 12px", "100%c + 5px" ], + "offset": [ 0, -42 ], + "texture": "textures/ui/hud_tip_text_background", + "alpha": "@hud.anim_item_name_background_alpha_out", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$wait_duration|default": 1, + "$destroy_id|default": "popup_tip_text", + "controls": [ + { + "item_text_label": { + "type": "label", + "layer": 31, + "color": "$tool_tip_text", + "text": "#text", + "shadow": true, + "alpha": "@hud.anim_item_name_text_alpha_out", + "bindings": [ + { + "binding_name": "#tip_text", + "binding_name_override": "#text" + } + ] + } + } + ] + }, + + "anim_actionbar_text_alpha_out": { + "anim_type": "alpha", + "easing": "in_expo", + "duration": 3, + "from": 1.0, + "to": 0, + "destroy_at_end": "hud_actionbar_text", + "end_event": "hud_actionbar_text_complete" + }, + + "anim_actionbar_text_background_alpha_out": { + "anim_type": "alpha", + "easing": "in_expo", + "duration": 3, + "from": "$actionbar_text_background_alpha", + "to": 0, + "destroy_at_end": "hud_actionbar_text", + "end_event": "hud_actionbar_text_complete" + }, + + "auto_save_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 9, + "frame_step": 18, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + "auto_save": { + "type": "image", + "layer": 31, + "texture": "textures/ui/auto_save", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -15, 15 ], + "size": [ 18, 30 ], + "uv_size": [ 18, 30 ], + "uv": "@auto_save_animation", + "disable_anim_fast_forward": true, + "bindings": [ + { + "binding_name": "#auto_save_animation_visible", + "binding_name_override": "#visible" + } + ] + }, + + "hud_actionbar_text": { + "type": "image", + "size": [ "100%c + 12px", "100%c + 5px" ], + "offset": [ 0, "50%-68px" ], + "texture": "textures/ui/hud_tip_text_background", + "alpha": "@hud.anim_actionbar_text_background_alpha_out", + "controls": [ + { + "actionbar_message": { + "type": "label", + "anchor_from": "center", + "anchor_to": "center", + "color": "$tool_tip_text", + "layer": 31, + "text": "$actionbar_text", + "localize": false, + "alpha": "@hud.anim_actionbar_text_alpha_out" + } + } + ] + }, + + "anim_title_text_alpha_in": { + "anim_type": "alpha", + "easing": "linear", + "duration": "$title_fade_in_time", + "from": 0, + "to": 1, + "next": "@hud.anim_title_text_alpha_stay" + }, + + "anim_title_text_alpha_stay": { + "anim_type": "wait", + "duration": "$title_stay_time", + "next": "@hud.anim_title_text_alpha_out" + }, + + "anim_title_text_alpha_out": { + "anim_type": "alpha", + "easing": "linear", + "duration": "$title_fade_out_time", + "from": 1, + "to": 0, + "destroy_at_end": "hud_title_text", + "end_event": "hud_title_text_complete" + }, + + "anim_title_background_alpha_in": { + "anim_type": "alpha", + "easing": "linear", + "duration": "$title_fade_in_time", + "from": 0, + "to": "$title_alpha", + "next": "@hud.anim_title_background_alpha_stay" + }, + + "anim_title_background_alpha_stay": { + "anim_type": "wait", + "duration": "$title_stay_time", + "next": "@hud.anim_title_background_alpha_out" + }, + + "anim_title_background_alpha_out": { + "anim_type": "alpha", + "easing": "linear", + "duration": "$title_fade_out_time", + "from": "$title_alpha", + "to": 0, + "destroy_at_end": "hud_title_text", + "end_event": "hud_title_text_complete" + }, + + "anim_subtitle_text_alpha_in": { + "anim_type": "alpha", + "play_event": "anim_subtitle_text_alpha_in_play_event", + "easing": "linear", + "duration": "$title_fade_in_time", + "from": 0, + "to": 1, + "next": "@hud.anim_subtitle_text_alpha_stay" + }, + + "anim_subtitle_text_alpha_stay": { + "anim_type": "wait", + "duration": "$title_stay_time", + "next": "@hud.anim_subtitle_text_alpha_out" + }, + + "anim_subtitle_text_alpha_out": { + "anim_type": "alpha", + "easing": "linear", + "duration": "$title_fade_out_time", + "from": 1, + "to": 0, + "end_event": "hud_subtitle_text_complete" + }, + + "anim_subtitle_background_alpha_in": { + "anim_type": "alpha", + "play_event": "anim_subtitle_text_alpha_in_play_event", + "easing": "linear", + "duration": "$title_fade_in_time", + "from": 0, + "to": "$title_alpha", + "next": "@hud.anim_subtitle_background_alpha_stay" + }, + + "anim_subtitle_background_alpha_stay": { + "anim_type": "wait", + "duration": "$title_stay_time", + "next": "@hud.anim_subtitle_background_alpha_out" + }, + + "anim_subtitle_background_alpha_out": { + "anim_type": "alpha", + "easing": "linear", + "duration": "$title_fade_out_time", + "from": "$title_alpha", + "to": 0, + "end_event": "hud_subtitle_text_complete" + }, + + "hud_title_text": { + "type": "stack_panel", + "orientation": "vertical", + "offset": [ 0, -19 ], + "layer": 1, + "alpha": "@hud.anim_title_text_alpha_in", + "propagate_alpha": true, + "controls": [ + { + "title_frame": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "title_background": { + "type": "image", + "size": [ "100%sm + 30px", "100%sm + 6px" ], + "texture": "textures/ui/hud_tip_text_background", + "alpha": "@hud.anim_title_background_alpha_in" + } + }, + { + "title": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$title_command_text_color", + "text": "#text", + "layer": 31, + "localize": false, + "font_size": "extra_large", + "variables": [ + { + "requires": "(not $title_shadow)", + "$show_shadow": false + }, + { + "requires": "$title_shadow", + "$show_shadow": true + } + ], + "shadow": "$show_shadow", + "text_alignment": "center", + "offset": [ 0, 6 ], + "bindings": [ + { + "binding_name": "#hud_title_text_string", + "binding_name_override": "#text", + "binding_type": "global" + } + ] + } + } + ] + } + }, + { + "subtitle_frame": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "subtitle_background": { + "type": "image", + "size": [ "100%sm + 20px", "100%sm + 5px" ], + "offset": [ 0, 16 ], + "texture": "textures/ui/hud_tip_text_background", + "variables": [ + { + "requires": "$subtitle_initially_visible", + "$subtitle_bg": "@hud.anim_title_background_alpha_in" + }, + { + "requires": "(not $subtitle_initially_visible)", + "$subtitle_bg": "@hud.anim_subtitle_background_alpha_in" + } + ], + "alpha": "$subtitle_bg" + } + }, + { + "subtitle": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$title_command_text_color", + "text": "#text", + "layer": 31, + "localize": false, + "font_size": "large", + "variables": [ + { + "requires": "$subtitle_initially_visible", + "$anim_type": 1.0 + }, + { + "requires": "(not $subtitle_initially_visible)", + "$anim_type": "@hud.anim_subtitle_text_alpha_in" + }, + { + "requires": "(not $title_shadow)", + "$show_shadow": false + }, + { + "requires": "$title_shadow", + "$show_shadow": true + } + ], + "shadow": "$show_shadow", + "alpha": "$anim_type", + "text_alignment": "center", + "offset": [ 1, 19 ], + "bindings": [ + { + "binding_name": "#hud_subtitle_text_string", + "binding_name_override": "#text", + "binding_type": "global" + } + ] + } + } + ] + } + } + ] + }, + + "boss_name_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "boss_name": { + "type": "label", + "color": "$boss_name_text_color", + "text": "#bossName", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "shadow": true, + "bindings": [ + { + "binding_name": "#bossName", + "binding_type": "collection", + "binding_collection_name": "boss_bars" + } + ] + } + } + ] + }, + + "tooltip_helper_icon_description": { + "type": "label", + "$tooltip_helper_description_size|default": [ "fill", "default" ], + "size": "$tooltip_helper_description_size", + "$tooltip_helper_description_max_size|default": [ "fill", "default" ], + "max_size": "$tooltip_helper_description_max_size", + + "color": "$gamepad_description_text_color", + + "$tooltip_helper_description_shadow|default": true, + "shadow": "$tooltip_helper_description_shadow", + + "$tooltip_description_offset|default": [ 0, 0 ], + "offset": "$tooltip_description_offset", + + "$tooltip_anchor": "left_middle", + "anchor_from": "$tooltip_anchor", + "anchor_to": "$tooltip_anchor", + + "$tip_description_font|default": "default", + "font_type": "$tip_description_font", + + "text": "#helper_description", + + "controls": [ + { + "label_background": { + "$tip_description_background_offset|default": [ 0, 0 ], + "$tip_description_background_visible|default": true, + + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.5, + "layer": -1, + "offset": "$tip_description_background_offset", + "size": [ "100% + 2px", "100% + 2px" ], + "visible": "$tip_description_background_visible" + } + } + ], + "bindings": [ + // Duplicate binding necessary when toggling visibility + // otherwise there is a delay when updating binds + // + // No condition has it update immediately when it + // becomes visible but won't update if the tooltip + // changes later. + // + // Always when visible condition lets it change but + // has a delay in binding timing when it first becomes + // visible. + { + "binding_name": "#helper_description", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#helper_description", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name", + "binding_condition": "visible" + } + ] + }, + + "tooltip_helper": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "layer": 100, + "controls": [ + { "icon@$icon_image_ref": { "layer": 2 } }, + { "padding@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + { + "centerer": { + "type": "panel", + "size": [ "100%", "100%sm" ], + "layer": 1, + "controls": [ + { "desc@hud.tooltip_helper_icon_description": {} } + ] + } + } + ] + }, + + "tooltip_helper_form_fitting": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "layer": 100, + "controls": [ + { "icon@$icon_image_ref": { "layer": 2 } }, + { "padding@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + { + "centerer": { + "type": "panel", + "size": [ "100%c", "100%sm" ], + "layer": 1, + "controls": [ + { "desc@hud.tooltip_helper_icon_description": {} } + ] + } + } + ] + }, + + "keyboard_tooltip_helper@hud.tooltip_helper": { + "ignored": "(not $education_edition)", + "$keyboard_description_offset|default": [ 0, 1 ], + "$tooltip_description_offset": "$keyboard_description_offset" + }, + + "keyboard_tooltip_helper_form_fitting@hud.tooltip_helper_form_fitting": { + "ignored": "(not $education_edition)", + "$keyboard_description_offset|default": [ 0, 1 ], + "$tooltip_description_offset": "$keyboard_description_offset" + }, + + // Wrap in panel so @mixed_tooltip_helper doesn't override binds + "mixed_tooltip_helper": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "gamepad_tooltip@hud.tooltip_helper": { + "$icon_image_ref": "hud.base_icon_image", + "visible": false, + "bindings": [ + { + "binding_name": "#is_gamepad_tip", + "binding_name_override": "#visible" + } + ] + } + }, + { + "keyboard_tooltip@hud.keyboard_tooltip_helper": { + "$icon_image_ref": "hud.base_keyboard_icon", + "bindings": [ + { + "binding_name": "(not #is_gamepad_tip)", + "binding_name_override": "#visible" + } + ] + } + } + ], + "$tooltip_collection_name|default": "", + "$tooltip_collection_prefix|default": "", + "bindings": [ + // Duplicate binding necessary when toggling visibility + // otherwise there is a delay when updating binds + // + // No condition has it update immediately when it + // becomes visible but won't update if the tooltip + // changes later. + // + // Always condition lets it change but has a delay in + // binding timing when it first becomes visible. + { + "binding_name": "#tooltip_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name", + "binding_condition": "always" + }, + { + "binding_name": "#tooltip_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name" + } + ] + }, + + "mixed_tooltip_helper_form_fitting": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "controls": [ + { + "gamepad_tooltip@hud.tooltip_helper_form_fitting": { + "$icon_image_ref": "hud.base_icon_image", + "visible": false, + "bindings": [ + { + "binding_name": "#is_gamepad_tip", + "binding_name_override": "#visible" + } + ] + } + }, + { + "keyboard_tooltip@hud.keyboard_tooltip_helper_form_fitting": { + "$icon_image_ref": "hud.base_keyboard_icon", + "bindings": [ + { + "binding_name": "(not #is_gamepad_tip)", + "binding_name_override": "#visible" + } + ] + } + } + ], + "$tooltip_collection_name|default": "", + "$tooltip_collection_prefix|default": "", + "bindings": [ + // Duplicate binding necessary when toggling visibility + // otherwise there is a delay when updating binds + // + // No condition has it update immediately when it + // becomes visible but won't update if the tooltip + // changes later. + // + // Always condition lets it change but has a delay in + // binding timing when it first becomes visible. + { + "binding_name": "#tooltip_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name", + "binding_condition": "always" + }, + { + "binding_name": "#tooltip_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name" + } + ] + }, + + "base_icon_image": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "icon": { + "type": "image", + "size": [ 26, 26 ], + "bindings": [ + { + "binding_name": "#gamepad_button_icon", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name", + "binding_condition": "visible" + } + ] + } + }, + { + "postfix_label_wrapper": { + "type": "panel", + "size": [ "100%c", "100%sm" ], + "min_size": [ 9, "100%sm" ], + "controls": [ + { + "label": { + "type": "label", + "font_type": "smooth", + "color": "$gamepad_description_text_color", + "text": "#gamepad_postfix_text", + "bindings": [ + { + "binding_name": "#gamepad_postfix_text", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name", + "binding_condition": "visible" + } + ] + } + } + ] + } + } + ] + }, + + "base_keyboard_icon": { + "type": "panel", + // Outer panel provides padding between neighboring tooltips + "size": [ "100%c + 2px", "100%c + 2px" ], + "controls": [ + { + "icon": { + "type": "panel", + "size": [ "100%cm", 17 ], + "min_size": [ 17, 17 ], + "controls": [ + { + "key_backing": { + "type": "image", + "texture": "textures/ui/keyboard_tooltip_background", + "size": [ "100%cm + 10px", "100%" ], + "min_size": [ 17, "100%" ], + "bindings": [ + { + "binding_name": "(not #is_mouse_button)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name" + } + ], + "controls": [ + { + "key_label": { + "type": "label", + "layer": 1, + "font_type": "smooth", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 1 ], + "text": "#keyboard_key_text", + "color": "$0_color_format", + "bindings": [ + { + "binding_name": "#keyboard_key_text", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name" + } + ] + } + } + ] + } + }, + { + "mouse_buttons": { + "type": "label", + "layer": 1, + "text": "#keyboard_key_text", + "color": "$dark_body_text_color", + "bindings": [ + { + "binding_name": "#keyboard_key_text", + "binding_type": "collection", + "binding_collection_name": "$tooltip_collection_name" + }, + { + "binding_type": "view", + "source_control_name": "key_backing", + "source_property_name": "#visible", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + } + ] + } + } + ] + }, + + "left_helpers_edu": { + "type": "stack_panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 3, 0 ], + "layer": 100, + "size": [ "100%", "100%c" ], + "$tooltip_helper_description_shadow": false, + + "controls": [ + { + "tip_window@common.tooltip_background": { + "$tooltip_background_texture": "#texture", + "$tip_description_font": "smooth", + "$keyboard_description_offset": [ 0, 0 ], + + "size": [ "100%cm + 10px", "100%cm + 18px" ], + "alpha": 0.7, + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "size": [ "100%cm", "100%c" ], + "offset": [ 0, -5 ], + + "$tooltip_collection_name": "left_helper_collection", + "$tooltip_collection_prefix": "left_helpers", + "collection_name": "$tooltip_collection_name", + "$tooltip_helper_description_size": [ "default", 10 ], + "factory": { + "name": "left_tooltip_factory", + "control_name": "hud.mixed_tooltip_helper_form_fitting" + }, + "bindings": [ + { + "binding_name": "#left_helper_count", + "binding_name_override": "#collection_length" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#left_tips_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "controls_toggle", + "binding_condition": "always" + }, + { + "binding_name": "#left_tip_background", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "controls_toggle" + } + ] + } + }, + { "tip_paddding@common.empty_panel": { "size": [ "100%sm", 4 ] } }, + { + "controls_toggle_label": { + "type": "panel", + "size": [ "100%", "100%cm" ], + + "$tooltip_collection_name": "controls_toggle", + "$gamepad_helper_visible_binding_type": "none", + "$tip_description_background_visible": true, + "$tip_description_background_offset": [ 0, 0 ], + "$tooltip_helper_description_size": [ "default", 10 ], + + "controls": [ + { "tip@hud.mixed_tooltip_helper": {} } + ] + } + }, + { + "controls_inventory_label": { + "type": "panel", + "size": [ "100%", "100%cm" ], + + "$tooltip_collection_name": "controls_inventory_prompts_toggle", + "$gamepad_helper_visible_binding_type": "none", + "$tip_description_background_visible": true, + "$tip_description_background_offset": [ 0, 0 ], + "$tooltip_helper_description_size": [ "default", 10 ], + + "controls": [ + { "tip@hud.mixed_tooltip_helper": {} } + ] + } + }, + { + "controls_menu_label": { + "type": "panel", + "size": [ "100%", "100%cm" ], + + "$tooltip_collection_name": "controls_menu_prompts_toggle", + "$gamepad_helper_visible_binding_type": "none", + "$tip_description_background_visible": true, + "$tip_description_background_offset": [ 0, 0 ], + "$tooltip_helper_description_size": [ "default", "default" ], + "$tooltip_helper_description_max_size": [ "50% - 125px", "20px" ], + + "controls": [ + { + "tip@hud.mixed_tooltip_helper": {} + } + ] + } + } + ] + }, + + "left_helpers": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 10, 0 ], + "size": [ "100%", "100%c" ], + "max_size": [ "100%", "50%" ], + "$tooltip_description_offset": [ -10, 0.5 ], + + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + + "$tooltip_collection_name": "left_helper_collection", + "$tooltip_collection_prefix": "left_helpers", + "collection_name": "$tooltip_collection_name", + "$tooltip_helper_description_size": [ "default", 10 ], + "factory": { + "name": "left_tooltip_factory", + "control_name": "hud.mixed_tooltip_helper" + }, + "bindings": [ + { + "binding_name": "(not #emote_tips_visible)", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#left_helper_count", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + }, + + "emote_label_background": { + "type": "image", + "size": [ 100, 24 ], + "texture": "textures/ui/Black", + "alpha": 0.7, + "layer": 0 + }, + + "emote_tip@hud.emote_label_background": { + "controls": [ + { + "emote_keyboard_centerer": { + "type": "panel", + "size": [ 100, 26 ], + "controls": [ + { + "emote_keyboard_helper@common.keyboard_helper_keys": { + "layer": 100, + "$icon_size_panel": [ 17, "100%" ], + "$keyboard_helper_size": [ 96, 24 ], // 96 to create a small horizontal margin in the 100 size panel + "$keyboard_character": "$keyboard_keyname", + "$text_color": "$generic_button_text_color", + "$description_bind": "$emote_tip_description", + "$keyboard_description_max_size": [ 79, "100%" ] // 79 To account for the size of the image + } + } + ] + } + }, + { + "emote_gamepad_helper@$gamepad_helper_button_name": { + "$icon_description_bind": "$emote_tip_description", + "$gamepad_description_max_size": [ 79, 24 ], // 79 To account for the size of the image + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "emote_expediate_helpers": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", "100%c" ], + "max_size": [ "100%", "50%" ], + + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + + "$gamepad_helper_visible_binding_type": "none", + + "controls": [ + { + "emote_tip_0@hud.emote_tip": { + "$keyboard_keyname": "keyboard.keyname.1", + "$emote_tip_description": "#button_emote_0_description", + "$gamepad_helper_button_name": "common.gamepad_helper_y" + } + }, + { + "emote_tip_1@hud.emote_tip": { + "$keyboard_keyname": "keyboard.keyname.2", + "$emote_tip_description": "#button_emote_1_description", + "$gamepad_helper_button_name": "common.gamepad_helper_b" + } + }, + { + "emote_tip_2@hud.emote_tip": { + "$keyboard_keyname": "keyboard.keyname.3", + "$emote_tip_description": "#button_emote_2_description", + "$gamepad_helper_button_name": "common.gamepad_helper_a" + } + }, + { + "emote_tip_3@hud.emote_tip": { + "$keyboard_keyname": "keyboard.keyname.4", + "$emote_tip_description": "#button_emote_3_description", + "$gamepad_helper_button_name": "common.gamepad_helper_x" + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#emote_tips_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "right_helpers": { + "type": "panel", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ "fill", "100%c" ], + "max_size": [ "100%", "50%" ], + "$tooltip_description_offset": [ -10, 0.5 ], + + "variables": [ + { + "requires": "$education_edition", + "$tip_description_background_visible": true, + "$tip_description_background_offset": [ 0, 0 ], + "$tooltip_helper_description_shadow": false + } + ], + + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "size": [ "100%cm", "100%c" ], + "min_size": [ 75, "100%c" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + + "$tooltip_collection_name": "right_helper_collection", + "$tooltip_collection_prefix": "right_helpers", + "collection_name": "$tooltip_collection_name", + "$tooltip_helper_description_size": [ "default", 10 ], + "factory": { + "name": "right_tooltip_factory", + "control_name": "hud.mixed_tooltip_helper_form_fitting" + }, + "bindings": [ + { + "binding_name": "#right_helper_count", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + }, + + "boss_health_panel": { + "type": "panel", + "size": [ 182, 20 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$progress_bar_collection": "boss_bars", + "controls": [ + { + "boss_name@boss_name_panel": {} + }, + { + "progress_bar_for_collections@common.progress_bar_for_collections": { + "offset": [ 0, 10 ] + } + } + ], + "bindings": [ + { + "binding_name": "#bar_visible", + "binding_type": "collection", + "binding_collection_name": "boss_bars", + "binding_name_override": "#visible" + } + ] + }, + + "boss_health_grid": { + "type": "grid", + "grid_dimension_binding": "#boss_grid_dimension", + "grid_item_template": "hud.boss_health_panel", + "grid_fill_direction": "vertical", + "collection_name": "boss_bars", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ 182, "30%" ], + "bindings": [ + { + "binding_name": "(not #on_new_death_screen)", + "binding_name_override": "#visible" + } + ] + }, + + "wysiwyg_reset_modal_ok@library_modal.modal_button": { + "$button_mapping": "button.confirm_reset", + "$button_text": "hudScreen.controlCustomization.resetConfirm" + }, + + "wysiwyg_reset_modal_cancel@library_modal.modal_button": { + "$button_mapping": "button.cancel_reset", + "$button_text": "hudScreen.controlCustomization.resetCancel" + }, + + "wysiwyg_close_without_saving_modal_ok@library_modal.modal_button": { + "$button_mapping": "button.confirm_close_without_saving", + "$button_text": "hudScreen.controlCustomization.closeWithoutSavingConfirm" + }, + + "wysiwyg_close_without_saving_modal_cancel@library_modal.modal_button": { + "$button_mapping": "button.cancel_close_without_saving", + "$button_text": "hudScreen.controlCustomization.closeWithoutSavingCancel" + }, + + "root_panel": { + "type": "panel", + "$xp_control_offset|default": [ 0, -13 ], + "variables": [ + { + "requires": "$education_edition", + "$left_helpers": "hud.left_helpers_edu" + }, + { + "requires": "(not $education_edition)", + "$left_helpers": "hud.left_helpers" + } + ], + "controls": [ + { + "layout_customization_reset": { + "type": "image", + "size": [ "200%", "200%" ], + "texture": "textures/ui/Black.png", + "fill": true, + "alpha": 0.5, + "layer": 50, + "controls": [ + { + "layout_customization_reset_modal@common_dialogs.main_panel_two_buttons": { + "size": [ 210, 160 ], + "$show_close_button": false, + "$child_control": "library_modal.modal_text_content", + "$top_button_panel": "hud.wysiwyg_reset_modal_ok", + "$bottom_button_panel": "hud.wysiwyg_reset_modal_cancel", + "$modal_text": "hudScreen.controlCustomization.resetModalText" + } + } + ], + "bindings": [ + { + "binding_name": "#reset_modal_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "layout_customization_close_without_saving": { + "type": "image", + "size": [ "200%", "200%" ], + "texture": "textures/ui/Black.png", + "fill": true, + "alpha": 0.5, + "layer": 50, + "controls": [ + { + "layout_customization_close_without_saving_modal@common_dialogs.main_panel_two_buttons": { + "size": [ 210, 160 ], + "$show_close_button": false, + "$child_control": "library_modal.modal_text_content", + "$top_button_panel": "hud.wysiwyg_close_without_saving_modal_ok", + "$bottom_button_panel": "hud.wysiwyg_close_without_saving_modal_cancel", + "$modal_text": "hudScreen.controlCustomization.closeWithoutSavingModalText" + } + } + ], + "bindings": [ + { + "binding_name": "#close_without_saving_modal_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "layout_customization_main_panel@hud.layout_customization_main_panel": {} + }, + { + "layout_customization_sub_panel@hud.layout_customization_sub_panel": {} + }, + { + "layout_customization_hint_drag_frame": { + "type": "image", + "layer": 40, + "use_anchored_offset": true, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "property_bag": { + "#anchored_offset_value_y": 0.0 + }, + "texture": "textures/ui/Black", + "size": [ "100%c+5px", "100%c+2px" ], + "alpha": 0.5, + "controls": [ + { + "layout_customization_hint_drag": { + "type": "label", + "text": "hudScreen.controlCustomization.hintDrag", + "color": "$f_color_format" + } + } + ], + "bindings": [ + { + "binding_name": "#hint_drag_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#layout_customization_hint_offset_y", + "binding_name_override": "#anchored_offset_value_y", + "binding_condition": "visible" + } + ] + } + }, + { + "layout_customization_hint_deselect_frame": { + "type": "image", + "layer": 40, + "use_anchored_offset": true, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "property_bag": { + "#anchored_offset_value_y": 0.0 + }, + "texture": "textures/ui/Black", + "size": [ "100%c+5px", "100%c+2px" ], + "alpha": 0.5, + "controls": [ + { + "layout_customization_hint_deselect": { + "type": "label", + "text": "hudScreen.controlCustomization.hintDeselect", + "color": "$f_color_format" + } + } + ], + "bindings": [ + { + "binding_name": "#hint_deselect_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#layout_customization_hint_offset_y", + "binding_name_override": "#anchored_offset_value_y", + "binding_condition": "visible" + } + ] + } + }, + { + "layout_customization_hint_saved": { + "type": "image", + "layer": 40, + "use_anchored_offset": true, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "property_bag": { + "#anchored_offset_value_y": 0.0 + }, + "texture": "textures/ui/Black", + "size": [ "100%c+5px", "100%c+2px" ], + "alpha": 0.5, + "controls": [ + { + "layout_customization_hint_saved": { + "type": "label", + "text": "hudScreen.controlCustomization.hintSaved", + "color": "$f_color_format" + } + } + ], + "bindings": [ + { + "binding_name": "#hint_saved_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#layout_customization_hint_offset_y", + "binding_name_override": "#anchored_offset_value_y", + "binding_condition": "visible" + } + ] + } + }, + { + "left_helpers@$left_helpers": {} + }, + { + "right_helpers@hud.right_helpers": {} + }, + { + "emote_expediate_helpers@hud.emote_expediate_helpers": {} + }, + { "centered_gui_elements@centered_gui_elements": {} }, + { "centered_gui_elements_at_bottom_middle@centered_gui_elements_at_bottom_middle": {} }, + { "centered_gui_elements_at_bottom_middle_touch@centered_gui_elements_at_bottom_middle_touch": {} }, + { + "centered_ridingvr_gui_elements@centered_gui_elements_at_bottom_middle": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 60 ], + "size": [ 180, 50 ], + "bindings": [ + { + "binding_name": "#hud_visible_centered_ridingvr", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "not_centered_gui_elements@not_centered_gui_elements": {} }, + { + "gamertag_label_for_splitscreen": { + "type": "label", + "size": [ "default", "default" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -4, 4 ], + "color": "$hud_gamertag_color", + "text_alignment": "right", + "text": "#gamertag", + "bindings": [ + { + "binding_name": "#gamertag" + } + ] + } + }, + { + "exp_rend@exp_progress_bar_and_hotbar": { // for pocket + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#hotbar_visible_not_centered", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "exp_rend_resizable@exp_progress_bar_and_hotbar_pocket": { + "bindings": [ + { + "binding_name": "#hotbar_visible_not_centered_resizable", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "hud_tip_text_factory": { + "type": "factory", + "control_name": "@hud.hud_tip_text" + } + }, + { + "hud_actionbar_text_area": { + "type": "panel", + "factory": { + "name": "hud_actionbar_text_factory", + "control_ids": { + "hud_actionbar_text": "hud_actionbar_text@hud.hud_actionbar_text" + } + } + } + }, + { + "hud_title_text_area": { + "type": "panel", + "factory": { + "name": "hud_title_text_factory", + "control_ids": { + "hud_title_text": "hud_title_text@hud.hud_title_text" + } + } + } + }, + { + "mob_effects_renderer@mob_effects_renderer": { + "size": [ "100%", "75%" ], + "offset": [ 0, 24 ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#status_effects_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "vignette_rend@vignette_renderer": {} }, + { + "curor_rend@cursor_renderer": { + "bindings": [ + { + "binding_name": "(not #on_new_death_screen)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "editor_volume_highlight_rend@editor_volume_highlight_renderer": { + "ignored": "(not $is_editor_mode_enabled)", + "bindings": [ + { + "binding_name": "#is_editor_mode_paste_preview_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "game_tip@game_tip.game_tip_factory": {} + }, + { + "sidebar@scoreboard.scoreboard_sidebar": { + "bindings": [ + { + "binding_name": "#scoreboard_sidebar_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_rend@progress_indicator_renderer": { + "offset": [ "50%", "50%" ] + } + }, + { + //We need to be able to move chat down the screen when we are in VR and riding. + //SO use a stack panel with a padding that we can ignore at runtime as needed + "chat_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "40%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "paper_doll_padding": { + "type": "panel", + "size": [ "100%", 50 ], + "bindings": [ + { + "binding_name": "#paper_doll_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "paper_doll_padding_living_room": { + "type": "panel", + "size": [ "100%", 30 ], + "bindings": [ + { + "binding_name": "#paper_doll_visible_living_room", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vr_riding_chat_padding": { + "type": "panel", + "size": [ "100%", 132 ], + "visible": "#vr_riding", //Make this visible to move the chat panel down + "bindings": [ + { + "binding_name": "#vr_riding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vr_chat_padding": { + "type": "panel", + "size": [ "100%", 30 ], + "visible": "#vr_non_riding", //Make this visible to move the chat panel down + "bindings": [ + { + "binding_name": "#vr_non_riding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "non_centered_gui_padding": { + "type": "panel", + "size": [ "100%", 32 ], + "bindings": [ + { + "binding_name": "#hud_visible_not_centered", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "player_position@hud.player_position": {} }, + { "number_of_days_played@hud.number_of_days_played": {} }, + { + "game_tip@game_tip.game_tip_chat_stack_factory": { + "size": [ "100%", "100%c" ] + } + }, + { "chat_panel@hud.chat_panel": {} } + ] + } + }, + { + "boss_health_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "boss_hud_padding": { + "type": "panel", + "size": [ "100%", 20 ], + "visible": "#boss_hud_padding", //Make this visible to move the boss hud panel down + "bindings": [ + { + "binding_name": "#boss_hud_padding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "boss_hud_touch_padding": { + "type": "panel", + "size": [ "100%", "15%" ], + "visible": "#boss_hud_touch_padding", //Make this visible to move the boss hud panel down + "bindings": [ + { + "binding_name": "#boss_hud_touch_padding", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "boss_hud_panel": { + "type": "panel", + "controls": [ + { + "boss_health_grid@boss_health_grid": { + "offset": [ 0, 2 ] + } + } + ] + } + } + ] + } + }, + { + "save_icon@hud.auto_save": { + } + } + ], + "bindings": [ + { + "binding_name": "#hud_visible", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#hud_alpha", + "binding_name_override": "#alpha", + "binding_type": "global" + }, + { + "binding_name": "#hud_propagate_alpha", + "binding_name_override": "#propagateAlpha", + "binding_type": "global" + } + ] + }, + + "hud_screen@common.base_screen": { + "is_showing_menu": false, + "should_steal_mouse": true, + "low_frequency_rendering": true, + "absorbs_input": false, + "send_telemetry": false, + + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + + "button_mappings": [ + { + "from_button_id": "button.scoreboard", + "to_button_id": "button.scoreboard", + "mapping_type": "global" + }, + { + "from_button_id": "button.inventory_left", + "to_button_id": "button.hotbar_inventory_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.inventory_right", + "to_button_id": "button.hotbar_inventory_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.hide_gui", + "to_button_id": "button.hide_gui_all", + "mapping_type": "global" + }, + { + "from_button_id": "button.hide_tooltips", + "to_button_id": "button.hide_tooltips_hud", + "mapping_type": "global" + }, + { + "from_button_id": "button.hide_paperdoll", + "to_button_id": "button.hide_paperdoll_hud", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot1", + "to_button_id": "button.slot_1", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot2", + "to_button_id": "button.slot_2", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot3", + "to_button_id": "button.slot_3", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot4", + "to_button_id": "button.slot_4", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot5", + "to_button_id": "button.slot_5", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot6", + "to_button_id": "button.slot_6", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot7", + "to_button_id": "button.slot_7", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot8", + "to_button_id": "button.slot_8", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot9", + "to_button_id": "button.slot_9", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot0", + "to_button_id": "button.slot_0", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_up", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_down", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_left", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_right", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + } + ], + "$screen_content": "hud.hud_content" + }, + + "hud_content": { + "type": "panel", + "$hud_size": [ "100%", "100%" ], + "$hud_player_rend_desktop_offset|default": [ 15, 15 ], + "variables": [ + { + "requires": "($is_holographic and not $is_living_room_mode)", + "$hud_player_rend_desktop_offset": [ 100, 50 ] + }, + { + "requires": "($compress_hud_width)", + "$hud_size": [ "90%", "100%" ] + } + ], + "size": "$hud_size", + "controls": [ + { + "root_panel@hud.root_panel": {} + }, + { + "editor_gizmo_renderer@editor_gizmo_renderer": { + "ignored": "(not $is_editor_mode_enabled)" + } + }, + { + "editor_compass_renderer@editor_compass_renderer": { + "ignored": "(not $is_editor_mode_enabled)" + } + }, + { + "camera_renderer@camera_renderer": {} + } + ] + }, + + "layout_customization_main_panel_button": { + "type": "panel", + "size": [ "50%", "100%" ], + "controls": [ + { + "button@common_buttons.light_text_button": { + "$new_ui_label_offset": [ 0, -1 ], + "size": [ "100%-4px", "100%-10px" ], + "$button_bindings|default": [], + "bindings": "$button_bindings" + } + } + ] + }, + + "layout_customization_main_panel": { + "type": "panel", + "layer": 65, + "size": [ 100, 100 ], + "use_anchored_offset": true, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "property_bag": { + "#anchored_offset_value_y": 0.0, + "#size_binding_x": 0.0, + "#size_binding_y": 0.0 + }, + "controls": [ + { + "main_panel_frame": { + "type": "image", + "texture": "textures/ui/text_label_box", + "color": [ 0.6, 0.6, 0.6 ], + "size": [ "100%", "100%" ], + "controls": [ + { + "main_panel_content": { + "type": "stack_panel", + "size": [ "100%-6px", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "reset_button@hud.layout_customization_main_panel_button": { + "$button_text": "hudScreen.controlCustomization.reset", + "$pressed_button_name": "button.reset", + "$button_bindings": [ + { + "binding_name": "#wysiwyg_reset_button_enabled", + "binding_name_override": "#enabled", + "binding_condition": "visible" + } + ], + "bindings": [ + { + "binding_name": "#wysiwyg_no_control_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "exit_button@hud.layout_customization_main_panel_button": { + "$button_text": "hudScreen.controlCustomization.exit", + "$pressed_button_name": "button.exit", + "bindings": [ + { + "binding_name": "#wysiwyg_no_control_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "opacity_button@hud.layout_customization_main_panel_button": { + "$button_text": "hudScreen.controlCustomization.opacity", + "$pressed_button_name": "button.opacity", + "bindings": [ + { + "binding_name": "#wysiwyg_control_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "size_button@hud.layout_customization_main_panel_button": { + "$button_text": "hudScreen.controlCustomization.size", + "$pressed_button_name": "button.size", + "bindings": [ + { + "binding_name": "#wysiwyg_control_selected", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#layout_customization_main_panel_offset_y", + "binding_name_override": "#anchored_offset_value_y", + "binding_condition": "visible" + }, + { + "binding_name": "#layout_customization_main_panel_size_x", + "binding_name_override": "#size_binding_x", + "binding_condition": "visible" + }, + { + "binding_name": "#layout_customization_main_panel_size_y", + "binding_name_override": "#size_binding_y", + "binding_condition": "visible" + }, + { + "binding_name": "#layout_customization_main_panel_visible", + "binding_name_override": "#visible" + } + ] + }, + + "layout_customization_option_slider": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "slider@settings_common.option_slider": { + "size": [ "fill", "100%" ], + "$label_offset": [ 6, 2 ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$slider_binding_condition": "always_when_visible", + "$label_bindings": [ + { + "binding_name": "$option_label", + "binding_condition": "always_when_visible" + } + ] + } + }, + { + "reset": { + "type": "panel", + "size": [ "100%y", "80%" ], + "controls": [ + { + "reset_button@common.button": { + "offset": [ 0, 5 ], + "size": [ "75%", "75%" ], + "$default_texture": "textures/ui/wysiwyg_reset", + "$hover_texture": "textures/ui/wysiwyg_reset", + "$pressed_texture": "textures/ui/wysiwyg_reset", + "$pressed_button_name": "button.option_reset", + "controls": [ + { + "default": { + "type": "image", + "texture": "$default_texture" + } + }, + { + "hover": { + "type": "image", + "texture": "$hover_texture" + } + }, + { + "pressed": { + "type": "image", + "texture": "$pressed_texture" + } + } + ] + } + } + ] + } + } + ] + }, + + "layout_customization_option_content": { + "type": "panel", + "offset": [ 0, 2 ], + "size": [ "100%-4px", "100%-4px" ], + "$customization_option_collection_name|default": "option_items", + "controls": [ + { + "scale_option@layout_customization_option_slider": { + "$option_label": "#scale_option_slider_label", + "$slider_name": "scale_option", + "$slider_value_binding_name": "#scale_option", + "$slider_tts_text_value": "#scale_option_text_value", + "$option_enabled_binding_name": "#scale_option_enabled", + "bindings": [ + { + "binding_name": "#scale_option_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$customization_option_collection_name" + } + ] + } + }, + { + "opacity_option@layout_customization_option_slider": { + "$option_label": "#opacity_option_slider_label", + "$slider_name": "opacity_option", + "$slider_value_binding_name": "#opacity_option", + "$slider_tts_text_value": "#opacity_option_text_value", + "$option_enabled_binding_name": "#opacity_option_enabled", + "bindings": [ + { + "binding_name": "#opacity_option_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$customization_option_collection_name" + } + ] + } + }, + { + "apply_to_all_toggle": { + "type": "stack_panel", + "offset": [ 0, -4 ], + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "checkbox_frame": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "checkbox_unchecked": { + "type": "image", + "size": [ "50%", "50%" ], + "texture": "textures/ui/radio_off", + "bindings": [ + { + "binding_name": "(not #apply_to_all_selected)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "checkbox_checked": { + "type": "image", + "size": [ "50%", "50%" ], + "texture": "textures/ui/radio_checked_dark", + "bindings": [ + { + "binding_name": "#apply_to_all_selected", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "caption_frame": { + "type": "panel", + "controls": [ + { + "caption": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "hudScreen.controlCustomization.applyToAll", + "color": "$f_color_format" + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#apply_to_all_option_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$customization_option_collection_name" + } + ] + } + } + ] + }, + + "layout_customization_option": { + "type": "panel", + "size": [ "100%", 1 ], + "$customization_option_collection_name|default": "option_items", + "property_bag": { + "#size_binding_y": 0.0 + }, + "controls": [ + { + "content@layout_customization_option_content": {} + } + ], + "bindings": [ + { + "binding_name": "#layout_customization_option_size_y", + "binding_name_override": "#size_binding_y", + "binding_condition": "visible" + } + ] + }, + + "layout_customization_sub_panel": { + "type": "panel", + "size": [ 1, 1 ], + "use_anchored_offset": true, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "property_bag": { + "#anchored_offset_value_y": 0.0, + "#size_binding_x": 0.0, + "#size_binding_y": 0.0 + }, + "controls": [ + { + "background": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/text_label_box", + "color": [ 0.6, 0.6, 0.6 ], + "controls": [ + { + "sub_panel_content": { + "type": "grid", + "size": [ "100%", "100%" ], + "grid_item_template": "hud.layout_customization_option", + "$customization_option_collection_name|default": "option_items", + "collection_name": "$customization_option_collection_name", + "grid_dimension_binding": "#layout_customization_dimension", + "bindings": [ + { + "binding_name": "#layout_customization_dimension", + "binding_condition": "visible" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#layout_customization_sub_panel_offset_y", + "binding_name_override": "#anchored_offset_value_y", + "binding_condition": "visible" + }, + { + "binding_name": "#layout_customization_sub_panel_size_x", + "binding_name_override": "#size_binding_x", + "binding_condition": "visible" + }, + { + "binding_name": "#layout_customization_sub_panel_size_y", + "binding_name_override": "#size_binding_y", + "binding_condition": "visible" + }, + { + "binding_name": "#layout_customization_sub_panel_visible", + "binding_name_override": "#visible" + } + ] + } +} diff --git a/resource_pack/ui/immersive_reader.json b/resource_pack/ui/immersive_reader.json new file mode 100644 index 0000000..0251aa8 --- /dev/null +++ b/resource_pack/ui/immersive_reader.json @@ -0,0 +1,240 @@ +{ + "namespace": "im_reader", + + "reader_button_contents": { + "type": "image", + "texture": "textures/ui/immersive_reader" + }, + + "reader_button@common_buttons.light_content_button": { + "size": [ 16, 16 ], + "$pressed_button_name": "button.immersive_reader", + "$button_content": "im_reader.reader_button_contents" + }, + + "webview": { + "type": "custom", + "layer": 1, + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%", "100%" ], + "renderer": "web_view_renderer", + "bindings": [ + { + "binding_type": "global", + "binding_condition": "visible", + // Binding itself doesn't do anything, but the callback is used to fill the property bag + "binding_name": "#webview_update" + }, + { + "binding_name": "#immersive_reader_running", + "binding_name_override": "#visible" + } + ] + }, + + "loading": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "animation_item@edu_common.vertical_stack_item": { + "controls": [ + { + "animation@edu_common.edu_loading_animation": { + "size": [ 64, 64 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + } + }, + { + "loading_text_item@edu_common.vertical_stack_item": { + "controls": [ + { + "loading_text": { + "type": "label", + "text": "progressScreen.loading", + "color": "$body_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + } + }, + { "bottom_padding@common.empty_panel": { "size": [ "100%", "fill" ] } }, + { + "cancel_button@common_buttons.light_text_button": { + "$border_visible": false, + "$pressed_button_name": "button.menu_exit", + "$button_text": "gui.cancel", + "size": [ "100%", 18 ] + } + } + ], + "bindings": [ + { + "binding_name": "#immersive_reader_loading", + "binding_name_override": "#visible" + } + ] + }, + + "no_retry_error_button@common_buttons.light_text_button": { + "$border_visible": false, + "$pressed_button_name": "button.menu_exit", + "$button_text": "gui.ok", + "bindings": [ + { + "binding_name": "(not #can_retry)", + "binding_name_override": "#visible" + } + ] + }, + + "retry_error_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "try_again@common_buttons.light_text_button": { + "$border_visible": false, + "$pressed_button_name": "button.error.try_again", + "$button_text": "gui.tryAgain", + "size": [ "fill", "100%" ] + } + }, + { "middle_padding@common.empty_panel": { "size": [ 2, "100%" ] } }, + { + "cancel@common_buttons.light_text_button": { + "$border_visible": false, + "$pressed_button_name": "button.menu_exit", + "$button_text": "gui.cancel", + "size": [ "fill", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#can_retry", + "binding_name_override": "#visible" + } + ] + }, + + "error": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "error_text": { + "type": "label", + "color": "$body_text_color", + "max_size": [ "100%", "fill" ], + "size": [ "default", "fill" ], + "text": "#error_text", + "font_type": "smooth", + "font_scale_factor": 1.2, + "bindings": [ + { + "binding_name": "#error_text" + } + ] + } + }, + { + "error_buttons": { + "type": "panel", + "size": [ "100%", 18 ], + "controls": [ + { "retry@im_reader.retry_error_buttons": {} }, + { "no_retry@im_reader.no_retry_error_button": {} } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#immersive_reader_error", + "binding_name_override": "#visible" + } + ] + }, + + "loading_and_error_panel": { + "type": "panel", + "size": [ 236, 108 ], + "controls": [ + { "loading@im_reader.loading": {} }, + { "error@im_reader.error": {} } + ] + }, + + "immersive_reader_screen_content": { + "type": "panel", + "controls": [ + { + "loading_and_error@popup_dialog.form_fit_screen_with_title_and_close": { + "$modal_title": "key.immersivereader", + "$popup_dialog_escape_button_name": "button.menu_cancel", + "$no_close_button": true, + "$modal_contents": "im_reader.loading_and_error_panel", + "$modal_contents_padding": [ 8, 8 ], + "bindings": [ + { + "binding_name": "(not #immersive_reader_running)", + "binding_name_override": "#visible" + } + ] + } + }, + { "webview@im_reader.webview": {} } + ] + }, + + "screen_exit_upwards_animation_pop_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_pop", + "from": [ 0, 0 ], + "to": [ 0, "-100%" ], + "play_event": "screen.exit_pop", + "end_event": "screen.exit_end" + }, + + "screen_entrance_downwards_animation_push_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_push", + "from": [ 0, "-100%" ], + "to": [ 0, 0 ], + "play_event": "screen.entrance_push", + "end_event": "screen.entrance_end" + }, + + "immersive_reader_screen@common.base_screen": { + "$screen_content": "im_reader.immersive_reader_screen_content", + "$screen_bg_content": "common.screen_background", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_offset", + "@im_reader.screen_exit_upwards_animation_pop_offset", + "@im_reader.screen_entrance_downwards_animation_push_offset", + "@common.screen_entrance_animation_pop_offset", + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ] + } +} diff --git a/resource_pack/ui/in_bed_screen.json b/resource_pack/ui/in_bed_screen.json new file mode 100644 index 0000000..2fbdb02 --- /dev/null +++ b/resource_pack/ui/in_bed_screen.json @@ -0,0 +1,115 @@ +{ + "namespace": "bed", + + // Screen // + + "in_bed_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.wake_up_button", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_exit", + "to_button_id": "button.wake_up_button", + "mapping_type": "global" + } + ], + + "$screen_content": "bed.in_bed_screen_content", + "$screen_bg_content": "bed.background" + }, + + "in_bed_screen_content": { + "type": "panel", + "controls": [ + { + "wake_up_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 128, "15%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "-15.0%" ], + "controls": [ + { + "wake_up_button@common_buttons.light_text_form_fitting_button": { + "layer": 1, + // Size is defaulted to the size of the text fitting on one line + // Must specify a max size for layout to solve + "$button_text_max_size": [ 120, 10 ], + "$button_text": "multiplayer.stopSleeping", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.wake_up_button", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.wake_up_button", + "mapping_type": "pressed" + } + ] + } + }, + { + "spacer": { + "type": "panel", + "size": [ 20, 0 ] + } + }, + { + "chat_button@common_buttons.light_text_form_fitting_button": { + "layer": 1, + "$button_text_max_size": [ 120, 10 ], + "$button_text": "multiplayer.inBedOpenChat", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.chat", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.chat", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { + "wake_up_label_panel": { + "type": "label", + "size": [ "default", 49 ], + "offset": [ 0, "15.0%" ], + "text": "#wake_up_label_panel", + "color": "$main_header_text_color", + "bindings": [ + { + "binding_name": "#wake_up_label_panel" + } + ] + } + }, + { + "select_button@death.a_button_panel": { + "layer": 1, + "offset": [ 0, "-5%" ] + } + } + ] + }, + + "background": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White", + "color": [ 0.0, 0.0, 0.0 ], + "alpha": 0.5 + } +} \ No newline at end of file diff --git a/resource_pack/ui/inventory_screen.json b/resource_pack/ui/inventory_screen.json new file mode 100644 index 0000000..d870a83 --- /dev/null +++ b/resource_pack/ui/inventory_screen.json @@ -0,0 +1,2845 @@ +{ + "namespace": "crafting", + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + + "inventory_x_gamepad_helper@common.gamepad_helper_x_14": { + "bindings": [ + { + "binding_name": "#gamepad_helper_x_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "inventory_y_gamepad_helper@common.gamepad_helper_y_14": { + "bindings": [ + { + "binding_name": "#gamepad_helper_y_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "inventory_a_gamepad_helper@common.gamepad_helper_a_14": { + "bindings": [ + { + "binding_name": "#gamepad_helper_a_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "inventory_b_gamepad_helper@common.gamepad_helper_b_14": {}, + + "gamepad_helper_bumpers": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 16 ], + "$left_bumper_anchor_from|default": "top_left", + "$left_bumper_anchor_to|default": "top_right", + "$right_bumper_anchor_from|default": "top_right", + "$right_bumper_anchor_to|default": "top_left", + "controls": [ + { + "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": { + "offset": [ -1, 0 ], + "anchor_from": "$left_bumper_anchor_from", + "anchor_to": "$left_bumper_anchor_to", + "$hide_description": true + } + }, + { + "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": { + "anchor_from": "$right_bumper_anchor_from", + "anchor_to": "$right_bumper_anchor_to", + "$hide_description": true + } + } + ] + }, + + "gamepad_helper_left_trigger@common.gamepad_helper_left_trigger": { + "$hide_description": true + }, + + "gamepad_helper_right_trigger@common.gamepad_helper_right_trigger": { + "$hide_description": true + }, + + "container_gamepad_helpers_second_row": { + "type": "stack_panel", + "size": [ "100%", 18 ], + "orientation": "horizontal", + "controls": [ + { + "buffer_panel_left": { + "type": "panel", + "size": [ 10, 0 ] + } + }, + { + "left_thumbstick_visibility": { + "type": "panel", + "size": [ "100%c", "350%" ], + "controls": [ + { + "gamepad_helper_thumbstick_left@common.gamepad_helper_thumbstick_left": { + "bindings": [ + { + "binding_name": "#gamepad_helper_ls_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + } + }, + { + "fill_panel": { + "type": "panel", + "size": [ "fill", 0 ] + } + }, + { + "right_thumbstick_visibility": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "gamepad_helper_thumbstick_right@common.gamepad_helper_thumbstick_right": { + "bindings": [ + { + "binding_name": "#gamepad_helper_rs_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + } + }, + { + "buffer_panel_right": { + "type": "panel", + "size": [ 10, 0 ] + } + } + ] + }, + + "crafting_root_panel@common.root_panel": { + "type": "input_panel", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.destroy_selection", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.destroy_selection", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.destroy_selection", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.clear_hotbar_or_remove_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + } + ] + }, + + "drop_item_panel": { + "type": "input_panel", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + } + ] + }, + + //--------------------------------------------------------------------------- + // Creative Grid Items + //--------------------------------------------------------------------------- + + "inventory_container_slot_button@common.container_slot_button_prototype": { + "$button_take_half_place_one|default": "button.container_take_half_place_one", + "$button_auto_place|default": "button.container_auto_place", + "$button_take_all_place_all|default": "button.container_take_all_place_all", + "$coalesce_button|default": "button.coalesce_stack", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.try_menu_exit", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$button_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$button_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "$button_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "$button_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "$button_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "$button_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "$button_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$coalesce_button", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$coalesce_button", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.shape_drawing", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "creative_hotbar_container_slot_button@crafting.inventory_container_slot_button": { + "$button_auto_place": "button.container_auto_destroy" + }, + + "no_coalesce_container_slot_button@crafting.inventory_container_slot_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.try_menu_exit", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$button_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$button_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "$button_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "$button_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "$button_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "$button_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "$button_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.shape_drawing", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "creative_no_coalesce_container_slot_button@crafting.no_coalesce_container_slot_button": { + "$button_take_all_place_all": "button.recipe_select", + "$button_take_half_place_one": "button.recipe_secondary", + "$button_auto_place": "button.recipe_tertiary" + }, + + "output_no_coalesce_container_slot_button@crafting.no_coalesce_container_slot_button": { + "$button_take_all_place_all": "button.crafting_output_primary", + "$button_take_half_place_one": "button.crafting_output_secondary", + "$button_auto_place": "button.crafting_output_tertiary" + }, + + //--------------------------------------------------------------------------- + // Creative Tabs + //--------------------------------------------------------------------------- + + "tab_image": { + "type": "image", + "layer": 2, + "size": [ 24, 25 ] + }, + + "item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ] + }, + + "inventory_icon": { + "type": "image", + "size": [ 19, 13 ], + "texture": "textures/ui/inventory_icon" + }, + + "recipe_book_icon": { + "type": "image", + "size": [ 19, 13 ], + "texture": "textures/ui/recipe_book_icon" + }, + + "creative_icon": { + "type": "image", + "size": [ 19, 13 ], + "texture": "textures/ui/creative_icon" + }, + + "icon_image": { + "layer": -1, + "type": "image", + "size": [ 17, 17 ] + }, + + "tab_front@crafting.tab_image": { + "texture": "textures/ui/TabTopFront" + }, + + "tab_back@crafting.tab_image": { + "texture": "textures/ui/TabTopBack" + }, + + "equipment_icon@crafting.icon_image": { + "texture": "textures/ui/icon_recipe_equipment" + }, + + "construction_icon@crafting.icon_image": { + "texture": "textures/ui/icon_recipe_construction" + }, + + "nature_icon@crafting.icon_image": { + "texture": "textures/ui/icon_recipe_nature" + }, + + "search_icon@crafting.icon_image": { + "texture": "textures/ui/magnifyingGlass" + }, + + "miscellaneous_icon@crafting.icon_image": { + "texture": "textures/ui/icon_recipe_item" + }, + + "empty_tab_panel": { + "type": "panel", + "size": [ 24, 25 ], + "controls": [ + { + "img@$tab_icon": {} + } + ] + }, + + "tab_wait_anim": { + "anim_type": "wait", + "duration": 0.8, + "next": "@crafting.tab_offset_anim" + }, + + "tab_offset_anim": { + "$top_tab_anim_start|default": [ 0, 27 ], + "$top_tab_anim_end|default": [ 0, 0 ], + "anim_type": "offset", + "easing": "out_cubic", + "from": "$top_tab_anim_start", + "to": "$top_tab_anim_end", + "duration": 0.5 + }, + + //--------------------------------------------------------------------------- + // Tab Navigation + //--------------------------------------------------------------------------- + + "top_tab@common_tabs.tab_top": { + "alpha": 0.2, + "$anims|default": [], + "anims": "$anims", + "$offset|default": [ 0, 0 ], + "offset": "$offset", + "$toggle_focus_enabled": false, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$construction_index", //Construction tab + "$tab_content": "crafting.empty_tab_panel", + "$allow_controller_back_button_mapping": "$is_ps4" + }, + + "search_tab@crafting.top_tab": { + "$is_right_most_tab": true, + "$tab_view_binding_name": "search_tab_toggle", + "$tab_icon": "crafting.search_icon", + "$toggle_group_forced_index": "$search_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_search", + "$top_tab_tts_name": "craftingScreen.tab.search", + + "$focus_id": "search_tab", + "$focus_override_left": "nature_tab", + "$focus_override_up": "FOCUS_OVERRIDE_STOP" + }, + + "construction_tab@crafting.top_tab": { + "$is_left_most_tab": true, + "$tab_view_binding_name": "construction_tab_toggle", + "$tab_icon": "crafting.construction_icon", + "$toggle_group_forced_index": "$construction_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_construct", + + "$top_tab_tts_name": "craftingScreen.tab.construction", + + "$focus_id": "construction_tab", + "$focus_override_left": "help_button", + "$focus_override_right": "equipment_tab", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + + "$unchecked_default_image": "textures/ui/TabTopBackLeftMost", + "$unchecked_hover_image": "textures/ui/TabTopBackLeftMostHover", + "$unchecked_locked_image": "textures/ui/TabTopBackLeftMost", + "$unchecked_locked_hover_image": "textures/ui/TabTopBackLeftMost", + + "$checked_default_image": "textures/ui/TabTopFrontLeftMost", + "$checked_hover_image": "textures/ui/TabTopFrontLeftMostHover", + "$checked_locked_image": "textures/ui/TabTopFrontLeftMost", + "$checked_locked_hover_image": "textures/ui/TabTopFrontLeftMost", + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "equipment_tab@crafting.top_tab": { + "$tab_view_binding_name": "equipment_tab_toggle", + "$tab_icon": "crafting.equipment_icon", + "$toggle_group_forced_index": "$equipment_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_equipment", + + "$top_tab_tts_name": "craftingScreen.tab.equipment", + + "$focus_id": "equipment_tab", + "$focus_override_left": "construction_tab", + "$focus_override_right": "items_tab", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "nature_tab@crafting.top_tab": { + "$tab_view_binding_name": "nature_tab_toggle", + "$tab_icon": "crafting.nature_icon", + "$toggle_group_forced_index": "$nature_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_nature", + + "$top_tab_tts_name": "craftingScreen.tab.nature", + + "$focus_id": "nature_tab", + "$focus_override_left": "items_tab", + "$focus_override_right": "search_tab", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "items_tab@crafting.top_tab": { + "$tab_view_binding_name": "items_tab_toggle", + "$tab_icon": "crafting.miscellaneous_icon", + "$toggle_group_forced_index": "$items_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_items", + + "$top_tab_tts_name": "craftingScreen.tab.items", + + "$focus_id": "items_tab", + "$focus_override_left": "equipment_tab", + "$focus_override_right": "nature_tab", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 27 ], + "ttsSectionContainer": true, + "$is_search_right_most_tab|default": true, + + "controls": [ + { + "navigation_tabs": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100% + 4px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "construction_tab_panel": { + "type": "panel", + "size": [ 25, "100%" ], + "$is_left_most_tab": true, + "controls": [ + { + "construction_tab_factory": { + "type": "factory", + "control_ids": { + "construction_tab": "@crafting.construction_tab" + } + } + } + ] + } + }, + { + "equipment_tab_panel": { + "type": "panel", + "size": [ 25, "100%" ], + "controls": [ + { + "equipment_tab_factory": { + "type": "factory", + "control_ids": { + "equipment_tab": "@crafting.equipment_tab" + } + } + } + ] + } + }, + { + "items_tab_panel": { + "type": "panel", + "size": [ 25, "100%" ], + "controls": [ + { + "items_tab_factory": { + "type": "factory", + "control_ids": { + "items_tab": "@crafting.items_tab" + } + } + } + ] + } + }, + { + "nature_tab_panel": { + "type": "panel", + "size": [ 25, "100%" ], + "controls": [ + { + "nature_tab_factory": { + "type": "factory", + "control_ids": { + "nature_tab": "@crafting.nature_tab" + } + } + } + ] + } + }, + { + "fill_panel_0": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "search_tab_holder": { + "type": "panel", + "size": [ 25, "100%" ], + "controls": [ + { + "search_tab_end_creative@crafting.search_tab": { + "$focus_override_right": "creative_layout_toggle", + + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_creative_and_recipe_book_layout", + "binding_name_override": "#visible" + } + ] + } + }, + { + "search_tab_creative@crafting.search_tab": { + "$is_right_most_tab": false, + "$focus_override_right": "creative_layout_toggle", + + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_creative_and_creative_layout", + "binding_name_override": "#visible" + } + ] + } + }, + { + "search_tab_survival@crafting.search_tab": { + "$focus_override_right": "recipe_book_layout_toggle", + + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #is_creative_mode)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "tab_content_padding": { + "type": "panel", + "size": [ 0, 0 ], + "bindings": [ + { + "binding_name": "(not #is_left_tab_inventory)", + "binding_name_override": "#visible" + } + ] + }, + + "tab_content": { + "type": "panel", + "layer": 1, + "controls": [ + { + "tab_content_search_bar_panel": { + "type": "stack_panel", + "size": [ "100% - 12px", "100% - 12px" ], + "orientation": "vertical", + + "controls": [ + { + "vertical_padding_1@crafting.tab_content_padding": { + "size": [ 0, 2 ] + } + }, + { + "creative_label_and_filter_toggle_holder": { + "type": "stack_panel", + "size": [ "100% + 1px", 10 ], + "orientation": "horizontal", + + "bindings": [ + { + "binding_name": "(not #is_left_tab_inventory)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ 3, 0 ] + } + }, + { + "creative_label@crafting.creative_label": { + "size": [ "fill", "100%" ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "filter_toggle_holder": { + "type": "panel", + "size": [ "100%c", "100%" ], + + "bindings": [ + { + "binding_name": "#is_creative_mode" + }, + { + "binding_name": "#is_left_tab_search" + }, + { + "binding_type": "view", + "source_property_name": "(not #is_creative_mode and not #is_left_tab_search)", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "filter_toggle@crafting.filter_toggle": { + "offset": [ 1, -1 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "$focus_id": "craftable_toggle", + "$focus_override_left": "recipe_search_bar", + "$default_border_visible": false, + "$hover_border_visible": false + } + } + ] + } + } + ] + } + }, + { + "vertical_padding_2@crafting.tab_content_padding": { + "size": [ 0, 1 ] + } + }, + { + "search_and_filter_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% + 1px", 16 ], + "layer": 2, + + "bindings": [ + { + "binding_name": "#is_left_tab_search", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "text_edit_control@common.text_edit_box": { + "size": [ "fill", "100%" ], + + "property_bag": { + "#property_field": "#item_name" + }, + + "max_length": 30, + "$text_edit_binding_name": "#text_box_item_name", + "$text_edit_box_label_size": [ "default", 10 ], + "$text_edit_box_label_offset": [ 10, 0 ], + "$text_edit_box_hovered_button_id": "button.search_bar_hovered", + "$text_edit_box_clear_to_button_id": "button.search_bar_clear", + "$text_edit_box_selected_to_button_id": "button.search_bar_selected", + "$text_edit_box_deselected_to_button_id": "button.search_bar_deselected", + + "$text_clear_button_enabled" : true, + "$text_clear_button_size": [ 15, 15 ], + "$text_clear_button_offset": [ 2, 0 ], + "$magnifying_glass_enabled" : true, + "$magnifying_glass_size": [ 8, 8 ], + "$magnifying_glass_offset": [0, -0.5], + + "focus_wrap_enabled": false, + + "$focus_id": "recipe_search_bar", + "$focus_override_right": "craftable_toggle", + "$focus_override_up": "construction_tab" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "filter_toggle_holder": { + "type": "panel", + "size": [ "100%c", "100%" ], + + "bindings": [ + { + "binding_name": "(not #is_creative_mode)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "filter_toggle@crafting.filter_toggle": { + "offset": [ 1, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "$focus_id": "craftable_toggle", + "$focus_override_left": "recipe_search_bar", + "$default_border_visible": false, + "$hover_border_visible": false + } + } + ] + } + } + ] + } + }, + { + "vertical_padding_3@crafting.tab_content_padding": { + "size": [ 0, 2 ] + } + }, + { + "scroll_pane@$scrolling_pane_control": { + "size": [ "100%", "fill" ] + } + } + ] + } + }, + { + "nodrop_zone@common.root_panel": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%", "100%" ], + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_left_tab_inventory", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + + //--------------------------------------------------------------------------- + // Player and armor + //--------------------------------------------------------------------------- + + "armor_overlay": { + "type": "image", + "layer": 2, + "$armor_overlay_size|default": [ 16, 16 ], + "size": "$armor_overlay_size", + "bindings": [ + { + "binding_name": "#empty_armor_image_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "offhand_overlay": { + "type": "image", + "layer": 2, + "$offhand_overlay_size|default": [ 16, 16 ], + "size": "$offhand_overlay_size", + "bindings": [ + { + "binding_name": "#empty_offhand_image_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "armor_overlay_helmet@armor_overlay": { + "texture": "textures/ui/empty_armor_slot_helmet" + }, + + "armor_overlay_chest@armor_overlay": { + "texture": "textures/ui/empty_armor_slot_chestplate" + }, + + "armor_overlay_legs@armor_overlay": { + "texture": "textures/ui/empty_armor_slot_leggings" + }, + + "armor_image_feet@armor_overlay": { + "texture": "textures/ui/empty_armor_slot_boots" + }, + + "armor_overlay_shield@offhand_overlay": { + "texture": "textures/ui/empty_armor_slot_shield" + }, + + "player_armor_panel": { + "type": "panel", + "size": [ 88, 83 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "player_bg": { + "type": "image", + "texture": "textures/ui/Black", + "size": [ 52, 70 ], + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 26, 8 ], + "controls": [ + { + "player_renderer_panel": { + "type": "panel", + "size": [ 30, 30 ], + "offset": [ 0, -14 ], + + "controls": [ + { + "player_renderer": { + "type": "custom", + "renderer": "live_player_renderer", + "property_bag": { + "#look_at_cursor": true + }, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "layer": 8, + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + } + ] + } + }, + { + "player_preview_border": { + "type": "image", + "texture": "textures/ui/player_preview_border", + "size": [ 54, 72 ], + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 25, 7 ] + } + }, + { + "armor_grid": { + "type": "grid", + "layer": 1, + "size": [ 18, 72 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 7, 7 ], + "grid_dimensions": [ 1, 4 ], + "$item_collection_name": "armor_items", + "collection_name": "$item_collection_name", + "controls": [ + { + "head_grid_item@common.container_item": { + "grid_position": [ 0, 0 ], + "$cell_overlay_ref": "crafting.armor_overlay_helmet", + "$button_ref": "crafting.no_coalesce_container_slot_button", + + "$focus_id_binding_type": "none", + "$focus_id": "armor_item_head", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "crafting_input_top_left" + } + }, + { + "chest_grid_item@common.container_item": { + "grid_position": [ 0, 1 ], + "$cell_overlay_ref": "crafting.armor_overlay_chest", + "$button_ref": "crafting.no_coalesce_container_slot_button", + + "$focus_id_binding_type": "none", + "$focus_id": "armor_item_chest", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "crafting_input_top_left" + } + }, + { + "legs_grid_item@common.container_item": { + "grid_position": [ 0, 2 ], + "$cell_overlay_ref": "crafting.armor_overlay_legs", + "$button_ref": "crafting.no_coalesce_container_slot_button", + + "$focus_id_binding_type": "none", + "$focus_id": "armor_item_legs", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "crafting_input_mid_left" + } + }, + { + "feet_grid_item@common.container_item": { + "grid_position": [ 0, 3 ], + "$cell_overlay_ref": "crafting.armor_image_feet", + "$button_ref": "crafting.no_coalesce_container_slot_button", + + "$focus_id_binding_type": "none", + "$focus_id": "armor_item_feet", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "offhand_items0" + } + } + ] + } + }, + { + "offhand_grid": { + "type": "grid", + "layer": 1, + "size": [ 18, 18 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 79, 61 ], + "grid_dimensions": [ 1, 1 ], + "$item_collection_name": "offhand_items", + "collection_name": "$item_collection_name", + "controls": [ + { + "offhand_grid_item@common.container_item": { + "grid_position": [ 0, 0 ], + "$cell_overlay_ref": "crafting.armor_overlay_shield", + "$button_ref": "crafting.no_coalesce_container_slot_button", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "armor_item_feet" + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Crafting panels, 2x2 and 3x3 + //--------------------------------------------------------------------------- + + "crafting_label": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#crafting_label_text", + "color": "$title_text_color", + "layer": 2, + "bindings": [ + { + "binding_name": "#crafting_label_text" + } + ] + }, + + "inventory_label": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "container.inventory", + "color": "$title_text_color", + "layer": 2 + }, + + "crafting_arrow": { + "type": "image", + "layer": 3, + "texture": "textures/ui/arrow", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 16, 13 ] + }, + + "crafting_arrow_large": { + "type": "image", + "layer": 3, + "texture": "textures/ui/arrow_large", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 22, 15 ] + }, + + "crafting_input_grid_item@crafting.inventory_container_item": { + "$item_collection_name": "crafting_input_items", + "$background_images": "crafting.crafting_container_cell_images", + "$item_renderer_binding_condition": "always", + "$button_ref": "crafting.inventory_container_slot_button" + }, + + "crafting_grid_3x3": { + "type": "grid", + "size": [ 54, 54 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "grid_dimensions": [ 3, 3 ], + "collection_name": "crafting_input_items", + + "controls": [ + { + "crafting_input_item_top_left@crafting.crafting_input_grid_item": { + "grid_position": [ 0, 0 ], + + "$focus_id_binding_type": "none", + "$focus_id": "crafting_input_top_left", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "armor_item_head" + } + }, + { + "crafting_input_item_top_mid@crafting.crafting_input_grid_item": { + "grid_position": [ 1, 0 ] + } + }, + { + "crafting_input_item_top_right@crafting.crafting_input_grid_item": { + "grid_position": [ 2, 0 ] + } + }, + { + "crafting_input_item_mid_left@crafting.crafting_input_grid_item": { + "grid_position": [ 0, 1 ], + + "$focus_id_binding_type": "none", + "$focus_id": "crafting_input_mid_left", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "armor_item_legs" + } + }, + { + "crafting_input_item_middle@crafting.crafting_input_grid_item": { + "grid_position": [ 1, 1 ] + } + }, + { + "crafting_input_item_mid_right@crafting.crafting_input_grid_item": { + "grid_position": [ 2, 1 ] + } + }, + { + "crafting_input_item_bot_left@crafting.crafting_input_grid_item": { + "grid_position": [ 0, 2 ] + } + }, + { + "crafting_input_item_bot_mid@crafting.crafting_input_grid_item": { + "grid_position": [ 1, 2 ] + } + }, + { + "crafting_input_item_bot_right@crafting.crafting_input_grid_item": { + "grid_position": [ 2, 2 ], + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "crafting_output_item" + } + } + ] + }, + + "crafting_grid_2x2": { + "type": "grid", + "size": [ 36, 36 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 25 ], + "grid_dimensions": [ 2, 2 ], + "collection_name": "crafting_input_items", + + "controls": [ + { + "crafting_input_item_top_left@crafting.crafting_input_grid_item": { + "grid_position": [ 0, 0 ], + + "$focus_id_binding_type": "none", + "$focus_id": "crafting_input_top_left", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "armor_item_head" + } + }, + { + "crafting_input_item_top_right@crafting.crafting_input_grid_item": { + "grid_position": [ 1, 0 ], + + "$focus_id_binding_type": "none", + "$focus_id": "crafting_input_top_right", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "crafting_output_item" + } + }, + { + "crafting_input_item_bot_left@crafting.crafting_input_grid_item": { + "grid_position": [ 0, 1 ], + + "$focus_id_binding_type": "none", + "$focus_id": "crafting_input_mid_left", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "armor_item_legs" + } + }, + { + "crafting_input_item_bot_right@crafting.crafting_input_grid_item": { + "grid_position": [ 1, 1 ], + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "crafting_output_item" + } + } + ] + }, + + "output_grid_3x3": { + "type": "grid", + "grid_dimensions": [ 1, 1 ], + "collection_name": "crafting_output_items", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 26, 26 ], + "controls": [ + { + "work_bench_output@crafting.inventory_container_item": { + "size": [ 26, 26 ], + "$cell_image_size": [ 26, 26 ], + "$item_collection_name": "crafting_output_items", + "$button_ref": "crafting.output_no_coalesce_container_slot_button", + "$stack_count_binding_condition": "always", + "$item_renderer_binding_condition": "always", + "$background_images": "crafting.crafting_container_cell_images", + + "$focus_id_binding_type": "none", + "$focus_id": "crafting_output_item", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "output_grid_2x2": { + "type": "grid", + "grid_dimensions": [ 1, 1 ], + "collection_name": "crafting_output_items", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 18, 18 ], + "controls": [ + { + "work_bench_output@crafting.inventory_container_item": { + "$item_collection_name": "crafting_output_items", + "$button_ref": "crafting.output_no_coalesce_container_slot_button", + "$background_images": "crafting.crafting_container_cell_images", + "$item_renderer_binding_condition": "always", + "$stack_count_binding_condition": "always", + + "$focus_id_binding_type": "none", + "$focus_id": "crafting_output_item", + "$focus_override_left_binding_type": "none", + "$focus_override_left": "crafting_input_top_right", + "$focus_override_up_binding_type": "none", + "$focus_override_up": "help_button" + } + } + ] + }, + + "work_bench_panel_3x3": { + "type": "panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "inventory_label@inventory_label": { //? refactor this out + "offset": [ -21, 72 ] + } + }, + { + "crafting_arrow_large@crafting_arrow_large": { + "offset": [ 61, 35.5 ] + } + }, + { + "crafting_grid_3x3_with_label_0@crafting_grid_3x3_with_label": { + "offset": [ 0, 5 ] + } + }, + { + "work_bench_output_grid@crafting.output_grid_3x3": { + "offset": [ 94, 30 ] + } + } + ] + }, + + "crafting_grid_3x3_with_label": { + "type": "panel", + "size": [ "default", 65 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$grid_label_alignment|default": "center", + "controls": [ + { + "crafting_label@crafting.crafting_label": { + "size": [ 84, 10 ], + "offset": [ -15, 0 ], + "text_alignment": "$grid_label_alignment" + } + }, + { + "crafting_grid_3x3@crafting.crafting_grid_3x3": { + "offset": [ 0, 11 ] + } + } + ] + }, + + "crafting_grid_2x2_with_label": { + "type": "panel", + "size": [ "default", 47 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$grid_label_alignment|default": "center", + "controls": [ + { + "crafting_label@crafting.crafting_label": { + "size": [ 66, 10 ], + "offset": [ -15, 0 ], + "text_alignment": "$grid_label_alignment" + } + }, + { + "crafting_grid_2x2@crafting.crafting_grid_2x2": { + "offset": [ 0, 11 ] + } + } + ] + }, + + "crafting_panel_2x2": { + "type": "panel", + "size": [ 88, 83 ], + "anchor_from": "top_middle", + "anchor_to": "top_left", + "controls": [ + { + "crafting_arrow@crafting_arrow": { + "offset": [ 46, 29 ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "crafting_panel", + "resolve_sibling_scope": true, + "source_property_name": "(not #needs_crafting_table)", + "target_property_name": "#visible" + } + ] + } + }, + { + "crafting_table@crafting.item_renderer": { + "offset": [ 10, -5 ], + "property_bag": { + "#item_id_aux": 3801088 + }, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "crafting_panel", + "resolve_sibling_scope": true, + "source_property_name": "(#needs_crafting_table)", + "target_property_name": "#visible" + } + ] + } + }, + { + "crafting_grid_2x2@crafting.crafting_grid_2x2_with_label": { + "offset": [ 8, 7 ] + } + }, + { + "survival_crafting_output_grid@crafting.output_grid_2x2": { + "offset": [ 64, 26 ] + } + } + ], + "bindings": [ + { + "binding_name": "#needs_crafting_table", + "binding_condition": "visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Base Panels + //--------------------------------------------------------------------------- + + // Top half of ui, elements specific to survival inventory + // - player with armor on left + // - small crafting panel (2x2) on right + "survival_panel_top_half": { + "type": "panel", + "size": [ "100%", "50%" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { "player_armor_panel@player_armor_panel": {} }, + { "crafting_panel@crafting_panel_2x2": {} } + ] + }, + + // Top half of ui, elements specific to crafting screen + // - large crafting panel 3x3 on top half + "crafting_panel_top_half": { + "type": "panel", + "size": [ "100%", "50%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "crafting_panel@work_bench_panel_3x3": { + "offset": [ 29, 0 ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens, survival inventory and crafting + //--------------------------------------------------------------------------- + + "recipe_container_cell_images": { + "type": "image", + "$cell_images_binding_condition|default": "visible", + "size": "$cell_image_size", + "$cell_image_size|default": [ "default", "default" ], + "bindings": [ + { + "binding_name": "#container_item_background_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$cell_images_binding_condition" + } + ] + }, + + "cell_image_recipe_default@crafting.cell_image": { + "texture": "textures/ui/recipe_book_item_bg", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 0)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_recipe_group_head_collapsed@crafting.cell_image": { + "texture": "textures/ui/recipe_book_light_button", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 1)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_recipe_group_head_expanded@crafting.cell_image": { + "texture": "textures/ui/recipe_book_dark_button_pressed", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 2)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_recipe_group_item@crafting.cell_image": { + "texture": "textures/ui/recipe_book_dark_button", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 3)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_recipe_selected@crafting.cell_image": { + "texture": "textures/ui/recipe_book_touch_cell_selected", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 4)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_recipe_default_red@crafting.cell_image": { + "texture": "textures/ui/recipe_book_red_button", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 5)", + "target_property_name": "#visible" + } + ] + }, + + "container_cell_images": { + "type": "panel", + "$cell_images_binding_condition|default": "visible", + "controls": [ + { "cell_classic@crafting.cell_image_classic": {} }, + { "cell_normal@crafting.cell_image_normal": {} }, + { "cell_invert@crafting.cell_image_invert": {} }, + { "cell_red@crafting.cell_image_red": {} }, + { "cell_selected@crafting.cell_image_selected": {} }, + { "cell_darkgrey@crafting.cell_image_darkgrey": {} } + ], + "bindings": [ + { + "binding_name": "#container_item_background", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$cell_images_binding_condition" + } + ] + }, + + "crafting_container_cell_images@crafting.container_cell_images": { + "$cell_images_binding_condition": "always" + }, + + "cell_image": { + "type": "image", + "texture": "textures/ui/cell_image" + }, + + "cell_image_classic@crafting.cell_image": { + "texture": "textures/ui/cell_image", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 0)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_normal@crafting.cell_image": { + "texture": "textures/ui/cell_image_normal", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 1)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_invert@crafting.cell_image": { + "texture": "textures/ui/cell_image_invert", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 2)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_red@crafting.cell_image": { + "texture": "textures/ui/cell_image_red", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 3)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_selected@common.cell_image": { + "texture": "textures/ui/recipe_book_touch_cell_selected", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 4)", + "target_property_name": "#visible" + } + ] + }, + + "cell_image_darkgrey@crafting.cell_image": { + "texture": "textures/ui/cell_image_darkgrey", + "$cell_image_size|default": [ "default", "default" ], + "size": "$cell_image_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$background_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_background = 7)", + "target_property_name": "#visible" + } + ] + }, + + "container_overlay_images": { + "type": "panel", + "controls": [ + { "expand@crafting.item_overlay_expand": {} }, + { "contract@crafting.item_overlay_contract": {} } + ], + "bindings": [ + { + "binding_name": "#container_item_modifier", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "visible" + } + ] + }, + + "item_overlay_image": { + "type": "image", + "size": [ 7, 7 ], + "offset": [ -1, -1 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + }, + + "item_overlay_contract@crafting.item_overlay_image": { + "texture": "textures/ui/recipe_book_collapse_icon", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$overlay_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_modifier = 1)", + "target_property_name": "#visible" + } + ] + }, + + "item_overlay_expand@crafting.item_overlay_image": { + "texture": "textures/ui/recipe_book_expand_icon", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$overlay_image_control_name", + "resolve_sibling_scope": true, + "source_property_name": "(#container_item_modifier = 2)", + "target_property_name": "#visible" + } + ] + }, + + "inventory_container_item@common.container_item": { + "$button_ref|default": "crafting.inventory_container_slot_button", + "$background_images|default": "crafting.container_cell_images", + + "$overlay_images|default": "crafting.container_overlay_images", + "$overlay_image_control_name|default": "overlay", + + "controls": [ + { + "item_cell": { + "type": "panel", + "size": "$cell_image_size", + "layer": 0, + "controls": [ + { + "$background_image_control_name@$background_images": { + "layer": 1 + } + }, + { + "item": { + "type": "panel", + "size": "$item_renderer_panel_size", + "layer": 0, + "controls": [ + { + "stack_count_label@common.stack_count_label": { + "layer": 10 + } + }, + { + "$item_renderer@$item_renderer": { + "size": "$item_renderer_size", + "offset": "$item_renderer_offset", + "anchor_to": "center", + "anchor_from": "center", + "layer": 7 + } + } + ] + } + }, + { + "durability_bar@common.durability_bar": { + "layer": 22 + } + }, + { + "storage_bar@common.storage_bar": { + "layer": 8 + } + }, + { + "$overlay_image_control_name@$overlay_images": { + "layer": 9 + } + } + ] + } + }, + { + "item_cell_overlay_ref@$cell_overlay_ref": { + "layer": 3 + } + }, + { + "item_selected_image@common.slot_selected": { + "layer": 4 + } + }, + { + "item_button_ref@$button_ref": { + "tts_ignore_count": true, + "tts_skip_message": true, + "tts_inherit_siblings": true, + "layer": 5 + } + }, + { + "container_item_lock_overlay@common.container_item_lock_overlay": { + "size": "$item_renderer_size", + "offset": [ 1, 1 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 6 + } + }, + { + "item_lock_cell_image@common.item_lock_cell_image": { + "layer": 2 + } + }, + { + "bundle_slot_panel@gameplay.bundle_slot_panel": { + "layer": 10 + } + } + ] + }, + + "grid_item_for_recipe_book@crafting.inventory_container_item": { + "$stack_count_required": true, + "$durability_bar_required": false, + "$storage_bar_required": false, + "$item_renderer_binding_condition": "visible", + "$button_ref": "crafting.creative_no_coalesce_container_slot_button", + "$background_images": "crafting.recipe_container_cell_images", + + "$slot_selected_binding_name": "#is_creative_selected_slot", + + "$stack_count_binding_name": "#recipe_craftable_count", + "$item_collection_name": "recipe_book", + "$scrolling_grid_item_size|default": [ 18, 18 ], + "$hover_text_binding_name": "#recipe_hover_text", + "size": "$scrolling_grid_item_size" + }, + + + + //---------------------------------- + //---------------------------------- + + "scroll_grid_panel@crafting.crafting_root_panel": { + "type": "input_panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { "grid@crafting.scroll_grid": {} } + ] + }, + + "scroll_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + + "$binding_condition|default": "visible", + "$grid_item_precache_count|default": 0, + "$grid_item_template|default": "crafting.grid_item_for_recipe_book", + + "collection_name": "$collection_name", + "grid_rescaling_type": "horizontal", + "grid_item_template": "$grid_item_template", + "bindings": [ + { + "binding_name": "#recipe_book_total_items", + "binding_name_override": "#maximum_grid_items", + "binding_condition": "$binding_condition", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "scroll_panel@common.container_scroll_panel": { + "$scrolling_panel_base_button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.destroy_selection", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.destroy_selection", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.destroy_selection", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.clear_hotbar_or_remove_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + } + ] + }, + + "recipe_book_scroll_panel@crafting.scroll_panel": { + "$scrolling_content": "crafting.scroll_grid_panel", + "$collection_name": "recipe_book" + }, + + + + //------------------------ + // Other parts + //------------------------ + + "creative_label": { + "type": "label", + "size": [ "100%", 10 ], + "anchor_from": "center", + "anchor_to": "center", + "text_alignment": "right", + "color": "$title_text_color", + "layer": 2, + + "text": "#tab_label_text", + "bindings": [ + { + "binding_name": "#tab_label_text" + } + ] + }, + + "filter_toggle@common_toggles.switch_toggle": { + "size": [ 29, 17 ], + "$default_texture": "textures/ui/craft_toggle_off", + "$hover_texture": "textures/ui/craft_toggle_on", + "$pressed_texture": "textures/ui/craft_toggle_off_hover", + "$pressed_no_hover_texture": "textures/ui/craft_toggle_on_hover", + "$unchecked_locked_texture": "textures/ui/craft_toggle_off", + "$checked_locked_texture": "textures/ui/craft_toggle_on", + + "$toggle_name": "toggle.enableFiltering", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#filtering_enabled", + + "$button_mappings": [ + { + "to_button_id": "button.filter_toggle_hovered", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.controller_back", + "mapping_type": "focused", + "ignored": "(not $is_ps4)" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_left", + "to_button_id": "$toggle_off_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_right", + "to_button_id": "$toggle_on_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + } + ] + }, + + //--------------------------- + // Toolbar Controls + //--------------------------- + + "toolbar_background": { + "type": "image", + "texture": "textures/ui/toolbar_background" + }, + + "layout_toggle_content": { + "type": "panel", + "controls": [ + { "image@$toggle_image": {} }, + { + "icon@$icon_control": { + "offset": [ 0, -1 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + + "layer": 1 + } + } + ] + }, + + "layout_template_toggle@common_toggles.light_template_toggle": { + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + + "$default_texture": "textures/ui/recipe_book_button_borderless_light", + "$hover_texture": "textures/ui/recipe_book_button_borderless_lightpressednohover", + "$pressed_texture": "textures/ui/recipe_book_button_borderless_lighthover", + "$pressed_no_hover_texture": "textures/ui/recipe_book_button_borderless_lightpressed" + }, + + "layout_toggle@common_toggles.light_image_toggle": { + "size": [ 25, 18 ], + "$button_content": "crafting.layout_toggle_content", + "$toggle_name": "layout_toggle", + + "$template_toggle": "crafting.layout_template_toggle", + "$allow_controller_back_button_mapping": "$is_ps4" + }, + + "creative_layout_toggle@crafting.layout_toggle": { + "$icon_control": "crafting.creative_icon", + "$toggle_group_forced_index": "$creative_layout_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_creative_layout", + + "$focus_id": "creative_layout_toggle", + "$toggle_tts_header": "accessibility.button.creative.layout" + }, + + "recipe_book_layout_toggle@crafting.layout_toggle": { + "$icon_control": "crafting.recipe_book_icon", + "$toggle_group_forced_index": "$recipe_book_layout_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_recipe_book_layout", + + "$focus_id": "recipe_book_layout_toggle", + "$toggle_tts_header": "accessibility.button.recipebook.layout" + }, + + "survival_layout_toggle@crafting.layout_toggle": { + "$icon_control": "crafting.inventory_icon", + "$toggle_group_forced_index": "$survival_layout_index", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_survival_layout", + "$toggle_tts_header": "accessibility.button.survival.layout" + }, + + "help_button@common.button": { + "size": [ 15, 15 ], + "layer": 5, + + "$default_texture|default": "textures/ui/how_to_play_button_default_light", + "$hover_texture|default": "textures/ui/how_to_play_button_hover_light", + "$pressed_texture|default": "textures/ui/how_to_play_button_pressed_light", + + "$pressed_button_name": "button.help", + + "$focus_id": "help_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + + "controls": [ + { + "default": { + "type": "image", + "texture": "$default_texture" + } + }, + { + "hover": { + "type": "image", + "texture": "$hover_texture" + } + }, + { + "pressed": { + "type": "image", + "texture": "$pressed_texture" + } + } + ] + }, + + //--------------------------- + // Layout Panels + //--------------------------- + + "player_inventory@common.root_panel": { + "layer": 4, + + "controls": [ + { + "common_panel@common.common_panel": { + "offset": [ 0, 0 ], + "$show_close_button": false + } + }, + { + "inventory_panel_top_half@$top_half_variant": { + "layer": 2 + } + }, + { + "inventory_panel_bottom_half@common.inventory_panel_bottom_half": { + "layer": 2, + "$button_ref": "crafting.inventory_container_slot_button", + "$background_images": "crafting.container_cell_images" + + } + }, + { + "hotbar_grid@common.hotbar_grid_template": { + "layer": 2, + "$button_ref": "crafting.inventory_container_slot_button", + "$background_images": "crafting.container_cell_images" + + } + } + ] + }, + + "recipe_book@common.root_panel": { + "layer": 1, + "controls": [ + { + "gamepad_helper_bumpers@crafting.gamepad_helper_bumpers": { + "size": [ 146, 16 ], + "offset": [ 0, -5 ], + "anchor_from": "top_left", + "anchor_to": "bottom_left" + } + }, + { + "tab_navigation_panel@crafting.tab_navigation_panel_layout": { + "layer": 5, + "size": [ 146, 23 ], + "anchor_from": "top_left", + "anchor_to": "bottom_left", + + "$is_search_right_most_tab": "#is_recipe_book_layout", + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_recipe_book_layout" + } + ] + } + }, + { + "bg@common.common_panel": { + "layer": 8, + "$show_close_button": false + } + }, + { + "tab_content_panel@crafting.tab_content": { + "size": [ "100%", "100%" ], + "layer": 8, + "$scrolling_pane_control": "crafting.recipe_book_scroll_panel" + } + }, + { + "creative_hotbar_panel@crafting.creative_hotbar_panel": { + "layer": 3, + "offset": [ 0, -5 ], + "anchor_from": "bottom_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_creative_layout", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "creative_hotbar_panel@common.root_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "creative_hotbar_background": { + "type": "image", + "texture": "textures/ui/dialog_background_opaque_overlap_bottom", + + "size": [ "100%c + 12px", "100%c + 10px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 6, + + "controls": [ + { + "hotbar_grid@common.hotbar_grid_template": { + "offset": [ 0, -6 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + + "$button_ref": "crafting.creative_hotbar_container_slot_button" + } + } + ] + } + } + ] + }, + + "center_fold@common.root_panel": { + "controls": [ + { + "center_bg": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "size": [ "100% + 8px", "100% - 6px" ] + } + } + ] + }, + + "toolbar_panel@crafting.crafting_root_panel": { + "size": [ "100%c", 20 ], + + "controls": [ + { + "toolbar_background@crafting.toolbar_background": { + "size": [ "100%cm", "100% + 8px" ], + "offset": [ 0, -3 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + + "controls": [ + { + "toolbar_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "ttsSectionContainer": true, + "size": [ "default", "100% - 8px" ], + "offset": [ 0, 3 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "controls": [ + { + "left_trigger_anchor": { + "type": "panel", + "size": [ 0, "100%" ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gamepad_helper_left_trigger@common.gamepad_helper_left_trigger": { + "offset": [ 3, -2 ], + "anchor_from": "left_middle", + "anchor_to": "right_middle" + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 8, 0 ] + } + }, + { + "creative_layout_toggle_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#creative_layout_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "creative_layout_toggle@crafting.creative_layout_toggle": { + "$focus_override_left": "search_tab" + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, 0 ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#creative_layout_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "recipe_book_layout_toggle_panel_survival": { + "type": "panel", + "size": [ 25, "100%" ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #is_creative_mode)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "recipe_book_layout_toggle@crafting.recipe_book_layout_toggle": { + "$focus_override_left": "search_tab" + } + } + ] + } + }, + { + "recipe_book_layout_toggle_panel_creative": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_creative_mode", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "recipe_book_layout_toggle@crafting.recipe_book_layout_toggle": {} } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "survival_layout_toggle_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { "survival_layout_toggle@crafting.survival_layout_toggle": {} } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { + "help_button_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { "help_button@crafting.help_button": {} } + ] + } + }, + { + "close_button_panel": { + "type": "panel", + "size": [ 15, "100%" ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "close_button@common.light_close_button": { + "offset": [ 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "padding_4": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "right_trigger_anchor": { + "type": "panel", + "size": [ 0, "100%" ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gamepad_helper_right_trigger@common.gamepad_helper_right_trigger": { + "offset": [ -2, -2 ], + "anchor_from": "right_middle", + "anchor_to": "left_middle" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + //--------------------------- + //--------------------------- + + "inventory_screen_base@common.inventory_screen_common": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.clear_hotbar_or_drop", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_clear", + "to_button_id": "button.menu_clear", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.left_panel_tab_decrement", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.left_panel_tab_increment", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_left", + "to_button_id": "button.layout_increment", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_right", + "to_button_id": "button.layout_decrement", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.shift_pane_focus", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_right", + "to_button_id": "button.clear_selected_recipe", + "mapping_type": "global" + } + ] + }, + + "crafting_screen@crafting.inventory_screen_base": { + "send_telemetry": false, + "$uses_bundle_tooltip": true, + "$screen_content": "crafting.recipe_inventory_screen_content", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "$top_half_variant": "crafting.crafting_panel_top_half", + "$close_on_player_hurt|default": true, + "close_on_player_hurt": "$close_on_player_hurt" + }, + + "inventory_screen@crafting.inventory_screen_base": { + "send_telemetry": false, + "$screen_content": "crafting.recipe_inventory_screen_content", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "$top_half_variant": "crafting.survival_panel_top_half" + }, + + "recipe_book_toggle_image": { + "type": "image", + "layer": 2, + "size": [ 5, 9 ], + + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "$toggle_checked|default": false, + "$toggle_unchecked|default": false, + "$toggle_checked_hover|default": false, + "$toggle_unchecked_hover|default": false, + "$toggle_texture|default": "textures/ui/expand_dots_out", + "$image_offset|default": [ 2, 0 ], + + "variables": [ + { + "requires": "($toggle_checked)", + "$toggle_texture": "textures/ui/recipe_book_expand_dots_in" + }, + { + "requires": "($toggle_checked_hover)", + "$toggle_texture": "textures/ui/recipe_book_expand_dots_in_hover" + }, + { + "requires": "($toggle_unchecked)", + "$toggle_texture": "textures/ui/recipe_book_expand_dots_out", + "$image_offset|default": [ 1, 0 ] + }, + { + "requires": "($toggle_unchecked_hover)", + "$toggle_texture": "textures/ui/recipe_book_expand_dots_out_hover", + "$image_offset|default": [ 1, 0 ] + } + ], + + "offset": "$image_offset", + + "texture": "$toggle_texture" + }, + + "recipe_inventory_screen_content": { + "type": "panel", + "controls": [ + { + "content_stack_panel": { + "type": "stack_panel", + "size": [ 326, 166 ], + "orientation": "horizontal", + + "controls": [ + { + "recipe_book@crafting.recipe_book": { + "size": [ "fill", "100%" ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #is_survival_layout)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "center_fold@crafting.center_fold": { + "size": [ 4, 166 ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_recipe_book_layout", + "binding_name_override": "#visible" + } + ] + } + }, + { + "survival_padding": { + "type": "panel", + "size": [ 75, "100%" ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_survival_layout", + "binding_name_override": "#visible" + } + ] + } + }, + { + "player_inventory@crafting.player_inventory": { + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #is_creative_layout)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "toolbar_anchor": { + "type": "panel", + "size": [ 0, "100%" ], + "controls": [ + { + "toolbar_panel@crafting.toolbar_panel": { + "anchor_from": "top_right", + "anchor_to": "bottom_right" + } + } + ] + } + } + ] + } + }, + + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "hold_icon@common.inventory_take_progress_icon_button": {} }, + { + "controller_gamepad_helpers_stack_panel": { + "type": "stack_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "container_gamepad_helpers_second_row@crafting.container_gamepad_helpers_second_row": {} }, + { + "container_gamepad_helpers@common.container_gamepad_helpers": { + "$helper_x_control": "crafting.inventory_x_gamepad_helper", + "$helper_y_control": "crafting.inventory_y_gamepad_helper", + "$helper_a_control": "crafting.inventory_a_gamepad_helper" + } + } + ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + } +} diff --git a/resource_pack/ui/inventory_screen_pocket.json b/resource_pack/ui/inventory_screen_pocket.json new file mode 100644 index 0000000..c86da0a --- /dev/null +++ b/resource_pack/ui/inventory_screen_pocket.json @@ -0,0 +1,1453 @@ +{ + "namespace": "crafting_pocket", + + //--------------------------------------------------------------------------- + // Creative Tabs Pocket + //--------------------------------------------------------------------------- + + "survival_icon@crafting.item_renderer": { + "layer": 3, + "property_bag": { + "#item_id_aux": 3538944, + "#collection_name": "inventory_tab", + "#collection_index": 0 + } + }, + + "full_screen_icon@crafting.icon_image": { + "texture": "textures/ui/icon_expand" + }, + + "crafting_icon@crafting.icon_image": { + "texture": "textures/ui/icon_crafting" + }, + + "armor_icon@crafting.icon_image": { + "texture": "textures/ui/icon_armor" + }, + + "tab_wait_anim": { + "anim_type": "wait", + "duration": 0.8, + "next": "@crafting_pocket.tab_offset_anim" + }, + + "tab_offset_anim": { + "$top_tab_anim_start|default": [ 31, 0 ], + "$top_tab_anim_end|default": [ 0, 0 ], + "anim_type": "offset", + "easing": "out_cubic", + "from": "$top_tab_anim_start", + "to": "$top_tab_anim_end", + "duration": 0.5 + }, + + "crafting_arrow_down": { + "type": "image", + "layer": 3, + "texture": "textures/ui/arrow_down", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 20, 30 ] + }, + + "empty_tab_panel": { + "type": "panel", + "size": [ 35, 33 ], + "controls": [ + { "$tab_icon@$tab_icon": {} } + ] + }, + + "left_tab@common_tabs.tab_left": { + "anchor_from": "center", + "anchor_to": "center", + "alpha": 0.2, + "$anims|default": [], + "anims": "$anims", + "$offset|default": [ 0, 0 ], + "offset": "$offset", + "$toggle_focus_enabled": false, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$construction_index", //Construction Tab + "$tab_content": "crafting_pocket.empty_tab_panel" + }, + + "right_tab@common_tabs.tab_right": { + "anchor_from": "right_middle", + "anchor_to": "left_middle", + "$toggle_focus_enabled": false, + "$radio_toggle_group": true, + "$toggle_name": "right_inventory_navigation_tab", + "$toggle_group_default_selected": "$crafting_index", //Crafting Tab, + "$tab_content": "crafting_pocket.empty_tab_panel" + }, + + "full_screen_tab@crafting_pocket.right_tab": { + "$tab_view_binding_name": "full_screen_tab_toggle", + "$tab_icon": "crafting_pocket.full_screen_icon", + "$toggle_group_forced_index": "$full_screen_index" + }, + + "crafting_tab@crafting_pocket.right_tab": { + "$tab_view_binding_name": "crafting_tab_toggle", + "$tab_icon": "crafting_pocket.crafting_icon", + "$toggle_group_forced_index": "$crafting_index" + }, + + "armor_tab@crafting_pocket.right_tab": { + "$is_bottom_most_tab": true, + "$tab_view_binding_name": "armor_tab_toggle", + "$tab_icon": "crafting_pocket.armor_icon", + "$toggle_group_forced_index": "$armor_index" + }, + + "search_tab@crafting_pocket.left_tab": { + "$is_top_most_tab": true, + "$tab_view_binding_name": "search_tab_toggle", + "$tab_icon": "crafting.search_icon", + "$toggle_group_forced_index": "$search_index", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_search", + + "$top_tab_tts_name": "craftingScreen.tab.search" + }, + + "construction_tab@crafting_pocket.left_tab": { + "$tab_view_binding_name": "construction_tab_toggle", + "$tab_icon": "crafting.construction_icon", + "$toggle_group_forced_index": "$construction_index", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_construct", + + "$top_tab_tts_name": "craftingScreen.tab.construction", + + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting_pocket.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "equipment_tab@crafting_pocket.left_tab": { + "$tab_view_binding_name": "equipment_tab_toggle", + "$tab_icon": "crafting.equipment_icon", + "$toggle_group_forced_index": "$equipment_index", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_equipment", + + "$top_tab_tts_name": "craftingScreen.tab.equipment", + + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting_pocket.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "items_tab@crafting_pocket.left_tab": { + "$tab_view_binding_name": "items_tab_toggle", + "$tab_icon": "crafting.miscellaneous_icon", + "$toggle_group_forced_index": "$items_index", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_items", + + "$top_tab_tts_name": "craftingScreen.tab.items", + + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting_pocket.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "nature_tab@crafting_pocket.left_tab": { + "$tab_view_binding_name": "nature_tab_toggle", + "$tab_icon": "crafting.nature_icon", + "$toggle_group_forced_index": "$nature_index", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_nature", + + "$top_tab_tts_name": "craftingScreen.tab.nature", + + "variables": [ + { + "requires": "$animate", + "$anims": [ "@crafting_pocket.tab_wait_anim" ], + "$offset": "$top_tab_anim_start" + } + ] + }, + + "inventory_tab@crafting_pocket.left_tab": { + "$is_bottom_most_tab": true, + "$tab_view_binding_name": "survival_tab_toggle", + "$tab_icon": "crafting_pocket.survival_icon", + "$toggle_group_forced_index": "$survival_index", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_inventory" + }, + + "left_tab_navigation_panel_pocket": { + "type": "panel", + "size": [ 31, "100%" ], + "controls": [ + { + "content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% + 4px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "ttsSectionContainer": true, + "controls": [ + { + "search_tab_panel": { + "type": "panel", + "size": [ "100%", 29 ], + "controls": [ + { + "search_tab@crafting_pocket.search_tab": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "construction_tab_panel": { + "type": "panel", + "size": [ "100%", 29 ], + "controls": [ + { + "construction_tab_factory": { + "type": "factory", + "control_ids": { + "construction_tab": "@crafting_pocket.construction_tab" + } + } + } + ] + } + }, + { + "equipment_tab_panel": { + "type": "panel", + "size": [ "100%", 29 ], + "controls": [ + { + "equipment_tab_factory": { + "type": "factory", + "control_ids": { + "equipment_tab": "@crafting_pocket.equipment_tab" + } + } + } + ] + } + }, + { + "items_tab_panel": { + "type": "panel", + "size": [ "100%", 29 ], + "controls": [ + { + "items_tab_factory": { + "type": "factory", + "control_ids": { + "items_tab": "@crafting_pocket.items_tab" + } + } + } + ] + } + }, + { + "nature_tab_panel": { + "type": "panel", + "size": [ "100%", 29 ], + "controls": [ + { + "nature_tab_factory": { + "type": "factory", + "control_ids": { + "nature_tab": "@crafting_pocket.nature_tab" + } + } + } + ] + } + }, + { + "fill": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "inventory_tab@crafting_pocket.inventory_tab": { + "size": [ "100%", 29 ] + } + } + ] + } + } + ] + }, + + "right_tab_navigation_panel_pocket": { + "type": "panel", + "size": [ 31, "100%" ], + "controls": [ + { + "content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% + 4px", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "ttsSectionContainer": true, + "controls": [ + { + "close": { + "type": "image", + "texture": "textures/ui/TabRightBackTopMost", + "size": [ "100%", 29 ], + + "controls": [ + { + "nodrop_zone@common.root_panel": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%", "100%" ] + } + }, + { + "close_button@common.light_close_button": { + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ], + "layer": 2 + } + } + ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "fill": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "full_screen_tab@crafting_pocket.full_screen_tab": { + "size": [ "100%", 29 ], + "bindings": [ + { + "binding_name": "#is_creative_mode", + "binding_name_override": "#visible" + } + ] + } + }, + { + "crafting_tab@crafting_pocket.crafting_tab": { + "size": [ "100%", 29 ] + } + }, + { + "armor_tab@crafting_pocket.armor_tab": { + "size": [ "100%", 29 ] + } + } + ] + } + } + ] + }, + + + "recipe_book_tab_content@crafting.tab_content": { + "$scrolling_pane_control": "crafting_pocket.recipe_book_scroll_panel_pocket" + }, + + "inventory_tab_content@crafting.tab_content": { + "$scrolling_pane_control": "crafting_pocket.survival_scroll_panel", + "$navigation_tab_name": "survival_tab_toggle" + }, + + "right_tab_content": { + "type": "panel", + "controls": [ + { + "bg@common.common_panel": { + "$dialog_background": "dialog_background_opaque", + "$show_close_button": false + } + }, + { "content@$right_tab_content_control": {} } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$right_tab_view_toggle_name", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Crafting panels, 2x2 and 3x3 + //--------------------------------------------------------------------------- + + "crafting_input_grid_item@crafting.inventory_container_item": { + "$item_collection_name": "crafting_input_items", + "size": [ 28, 28 ], + "$cell_image_size": [ 28, 28 ], + "$item_renderer_panel_size": [ 28, 28 ], + "$item_renderer_size": [ 24, 24 ], + "$durability_bar_size": [ 18, 1 ], + "$durability_bar_offset": [ 0, 8 ], + "$background_images": "crafting.crafting_container_cell_images", + "$item_renderer_binding_condition": "always", + "$button_ref": "crafting.inventory_container_slot_button" + }, + + "crafting_grid_3x3": { + "type": "grid", + "size": [ 84, 84 ], + "layer": 10, + "anchor_from": "top_left", + "anchor_to": "top_left", + "grid_dimensions": [ 3, 3 ], + "grid_item_template": "crafting_pocket.crafting_input_grid_item", + "collection_name": "crafting_input_items" + }, + + "crafting_grid_2x2": { + "type": "grid", + "size": [ 56, 56 ], + "layer": 10, + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 25 ], + "grid_dimensions": [ 2, 2 ], + "grid_item_template": "crafting_pocket.crafting_input_grid_item", + "collection_name": "crafting_input_items" + }, + + "output_grid_and_label": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "recipe_item_label": { + "type": "label", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "default", "default" ], + "text": "#text", + "color": "$title_text_color", + "layer": 51, + "offset": [ 0, -30 ], + "bindings": [ + { + "binding_name": "#recipe_item_name", + "binding_name_override": "#text", + "binding_type": "global", + "binding_condition": "always_when_visible" + } + ] + } + }, + { + "output_grid@crafting_pocket.output_grid": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "output_grid": { + "type": "grid", + "grid_dimensions": [ 1, 1 ], + "layer": 1, + "collection_name": "crafting_output_items", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 28, 28 ], + "$durability_bar_size": [ 18, 1 ], + "$durability_bar_offset": [ 0, 8 ], + "controls": [ + { + "work_bench_output@crafting.inventory_container_item": { + "size": [ 28, 28 ], + "$cell_image_size": [ 28, 28 ], + "$item_collection_name": "crafting_output_items", + "$button_ref": "crafting.output_no_coalesce_container_slot_button", + "$background_images": "crafting.crafting_container_cell_images", + "$item_renderer_binding_condition": "always", + "$stack_count_binding_condition": "always", + "$item_renderer_panel_size": [ 28, 28 ], + "$item_renderer_size": [ 24, 24 ] + } + } + ] + }, + + "crafting_grid_3x3_with_label": { + "type": "panel", + "size": [ 84, 94 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$grid_label_alignment|default": "left", + "controls": [ + { + "crafting_label@crafting.crafting_label": { + "size": [ "100%", 10 ], + "text_alignment": "$grid_label_alignment" + } + }, + { + "crafting_grid_3x3@crafting_pocket.crafting_grid_3x3": { + "offset": [ 0, 11 ] + } + } + ] + }, + + "crafting_grid_2x2_with_label": { + "type": "panel", + "size": [ 56, 64 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$grid_label_alignment|default": "left", + "controls": [ + { + "crafting_label@crafting.crafting_label": { + "size": [ "200%", 10 ], + "offset": [ "-50%", 0 ], + "text_alignment": "$grid_label_alignment" + } + }, + { + "crafting_grid_2x2@crafting_pocket.crafting_grid_2x2": { + "offset": [ 0, 11 ] + } + } + ] + }, + + "scroll_background_image": { + "type": "image", + "texture": "textures/ui/cell_image", + "size": [ 28, 28 ] + }, + + "grid_item_for_inventory@common.grid_item_for_inventory": { + "$scrolling_grid_item_size|default": [ 18, 18 ], + "size": "$scrolling_grid_item_size", + "$button_ref": "crafting.inventory_container_slot_button", + "$background_images": "crafting.container_cell_images" + }, + + "survival_inventory_grid@crafting.scroll_grid_panel": { + "$grid_rescaling_type": "horizontal", + "$grid_item_template": "crafting_pocket.grid_item_for_inventory" + }, + + "scroll_panel_pocket@crafting.scroll_panel": { + "$scrolling_grid_item_size": [ 28, 28 ], + "$item_renderer_panel_size": [ 28, 28 ], + "$item_renderer_size": [ 24, 24 ], + "$cell_image_size": [ 28, 28 ], + "$durability_bar_size": [ 18, 1 ], + "$durability_bar_offset": [ 0, 8 ] + }, + + "recipe_book_scroll_panel_pocket@crafting_pocket.scroll_panel_pocket": { + "$scrolling_content": "crafting.scroll_grid_panel", + "$collection_name": "recipe_book" + }, + + "survival_scroll_panel@crafting_pocket.scroll_panel_pocket": { + "$scrolling_content": "crafting_pocket.survival_inventory_grid", + "$collection_name": "inventory_items" + }, + + //--------------------------------------------------------------------------- + // Player and armor + //--------------------------------------------------------------------------- + + "pocket_armor_tab_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 12px", "100% - 12px" ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "label_and_renderer": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "offset": [ 0, -10 ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "armor_label": { + "type": "label", + "layer": 2, + "text": "craftingScreen.tab.armor", + "color": "$title_text_color", + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + } + ] + } + }, + { + "renderer_panel": { + "type": "panel", + "size": [ "100%", 15 ], + "offset": [ 0, 5 ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "armor_renderer": { + "type": "custom", + "size": [ 1, 1 ], + "offset": [ -40, -5 ], + "layer": 2, + "renderer": "armor_renderer", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "property_bag": { + "#use_heart_offset": false + } + } + } + ] + } + } + ] + } + }, + { + "equipment_and_renderer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 140 ], + "controls": [ + { + "equipment": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 28, "100%" ], + "controls": [ + { + "armor_grid": { + "type": "grid", + "layer": 4, + "size": [ 28, 112 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "grid_dimensions": [ 1, 4 ], + "$item_collection_name": "armor_items", + "collection_name": "$item_collection_name", + "$item_renderer_panel_size": [ 28, 28 ], + "$item_renderer_size": [ 24, 24 ], + "$durability_bar_size": [ 18, 1 ], + "$durability_bar_offset": [ 0, 8 ], + "$armor_overlay_size": [ 24, 24 ], + "controls": [ + { + "head_grid_item@common.pocket_ui_container_item": { + "size": [ 28, 28 ], + "grid_position": [ 0, 0 ], + "$cell_image_size": [ 28, 28 ], + "$cell_overlay_ref": "crafting.armor_overlay_helmet", + "$button_ref": "crafting.no_coalesce_container_slot_button" + } + }, + { + "chest_grid_item@common.pocket_ui_container_item": { + "size": [ 28, 28 ], + "grid_position": [ 0, 1 ], + "$cell_image_size": [ 28, 28 ], + "$cell_overlay_ref": "crafting.armor_overlay_chest", + "$button_ref": "crafting.no_coalesce_container_slot_button" + } + }, + { + "legs_grid_item@common.pocket_ui_container_item": { + "size": [ 28, 28 ], + "grid_position": [ 0, 2 ], + "$cell_image_size": [ 28, 28 ], + "$cell_overlay_ref": "crafting.armor_overlay_legs", + "$button_ref": "crafting.no_coalesce_container_slot_button" + } + }, + { + "feet_grid_item@common.pocket_ui_container_item": { + "size": [ 28, 28 ], + "grid_position": [ 0, 3 ], + "$cell_image_size": [ 28, 28 ], + "$cell_overlay_ref": "crafting.armor_image_feet", + "$button_ref": "crafting.no_coalesce_container_slot_button" + } + } + ] + } + }, + { + "offhand_grid": { + "type": "grid", + "layer": 1, + "size": [ 28, 28 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "grid_dimensions": [ 1, 1 ], + "$item_collection_name": "offhand_items", + "collection_name": "$item_collection_name", + "$item_renderer_panel_size": [ 28, 28 ], + "$item_renderer_size": [ 24, 24 ], + "$durability_bar_size": [ 18, 1 ], + "$durability_bar_offset": [ 0, 8 ], + "$offhand_overlay_size": [ 24, 24 ], + "controls": [ + { + "offhand_grid_item@common.pocket_ui_container_item": { + "size": [ 28, 28 ], + "grid_position": [ 0, 0 ], + "$cell_image_size": [ 28, 28 ], + "$cell_overlay_ref": "crafting.armor_overlay_shield", + "$button_ref": "crafting.no_coalesce_container_slot_button" + } + } + ] + } + } + ] + } + }, + { + "armor_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "armor_and_player": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "player_preview_border": { + "type": "image", + "texture": "textures/ui/player_preview_border", + "size": [ "100%", "100%" ], + "layer": 2, + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "player_bg": { + "type": "image", + "texture": "textures/ui/Black", + "size": [ "100% - 2px", "100% - 2px" ], + "layer": 2, + "controls": [ + { + "player_renderer_panel": { + "type": "panel", + "size": [ "40%", "40%" ], + "offset": [ 0, "-20%" ], + + "controls": [ + { + "player_renderer": { + "type": "custom", + "renderer": "live_player_renderer", + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "layer": 20, + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + + + //--------------------------------------------------------------------------- + // Hotbar + //--------------------------------------------------------------------------- + + "hotbar_panel": { + "type": "input_panel", + "size": [ 260, 36 ], + "layer": 5, + "controls": [ + { + "bg@common.common_panel": { + "$show_close_button": false + } + }, + { + "hotbar_grid": { + "type": "grid", + "size": [ 252, 28 ], + "anchor_from": "center", + "anchor_to": "center", + "grid_dimensions": [ 9, 1 ], + "grid_item_template": "crafting_pocket.hotbar_grid_item", + "collection_name": "hotbar_items" + } + } + ] + }, + + "hotbar_grid_item@common.pocket_ui_container_item": { + "$item_collection_name": "hotbar_items", + "size": [ 28, 28 ], + "$cell_image_size": [ 28, 28 ], + "$item_renderer_panel_size": [ 28, 28 ], + "$item_renderer_size": [ 24, 24 ], + "$durability_bar_size": [ 18, 1 ], + "$durability_bar_offset": [ 0, 8 ], + "$button_ref": "crafting.inventory_container_slot_button", + "$background_images": "crafting.container_cell_images" + }, + + //--------------------------------------------------------------------------- + // Base Panels Pocket + //--------------------------------------------------------------------------- + + "survival_panel_pocket": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "crafting_panel@crafting_pocket.crafting_grid_2x2_with_label": { + "$grid_label_alignment": "center", + "offset": [ 0, 30 ] + } + }, + { + "crafting_arrow_down@crafting_pocket.crafting_arrow_down": { + "offset": [ 0, "55%" ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "content", + "resolve_sibling_scope": true, + "source_property_name": "(not #needs_crafting_table)", + "target_property_name": "#visible" + } + ] + } + }, + { + "crafting_table@crafting.item_renderer": { + "size": [ 28, 28 ], + "layer": 2, + "offset": [ 5, 25 ], + "property_bag": { + "#item_id_aux": 3801088 + }, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "content", + "resolve_sibling_scope": true, + "source_property_name": "(#needs_crafting_table)", + "target_property_name": "#visible" + } + ] + } + }, + { + "output@crafting_pocket.output_grid_and_label": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -18 ] + } + } + ], + "bindings": [ + { + "binding_name": "#needs_crafting_table", + "binding_condition": "visible" + } + ] + }, + + "survival_panel_crafting_pocket": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "crafting_panel@crafting_pocket.crafting_grid_3x3_with_label": { + "$grid_label_alignment": "center", + "offset": [ 0, 10 ] + } + }, + { + "crafting_arrow_down@crafting_pocket.crafting_arrow_down": { + "offset": [ 0, "65%-4px" ] + } + }, + { + "output@crafting_pocket.output_grid_and_label": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -7 ] + } + } + ] + }, + + //--------------------------- + //--------------------------- + + "inventory_screen_pocket_base@common.inventory_screen_common": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.left_panel_tab_decrement", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.right_panel_tab_decrement", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_left", + "to_button_id": "button.left_panel_tab_increment", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_right", + "to_button_id": "button.right_panel_tab_increment", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.shift_pane_focus", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_clear", + "to_button_id": "button.menu_clear", + "mapping_type": "focused" + } + ] + }, + + "crafting_screen_pocket@crafting_pocket.inventory_screen_pocket_base": { + "send_telemetry": false, + "$screen_content": "crafting_pocket.recipe_inventory_screen_content_pocket", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "$top_half_variant": "crafting_pocket.survival_panel_crafting_pocket" + }, + + "inventory_screen_pocket@crafting_pocket.inventory_screen_pocket_base": { + "send_telemetry": false, + "$screen_content": "crafting_pocket.recipe_inventory_screen_content_pocket", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "$top_half_variant": "crafting_pocket.survival_panel_pocket" + }, + + "left_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "left_background@common.common_panel": { + "$dialog_background": "common.dialog_background_opaque", + "$show_close_button": false + } + }, + { + "recipe_book_tab_content@crafting_pocket.recipe_book_tab_content": { + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #is_left_tab_inventory)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "inventory_tab_content@crafting_pocket.inventory_tab_content": { + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_left_tab_inventory", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "right_panel": { + "type": "input_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "right_background@common.common_panel": { + "$dialog_background": "common.dialog_background_opaque", + "$show_close_button": false + } + }, + { + "help_button@crafting.help_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ "-7px", "7px" ], + "visible": "$show_inventory_screen_button", + + "$default_texture": "textures/ui/how_to_play_button_default", + "$hover_texture": "textures/ui/how_to_play_button_hover", + "$pressed_texture": "textures/ui/how_to_play_button_pressed" + } + }, + { + "crafting_tab_content@crafting_pocket.right_tab_content": { + "$right_tab_view_toggle_name": "crafting_tab_toggle", + "$right_tab_content_control": "$top_half_variant" + } + }, + { + "armor_tab_content@crafting_pocket.right_tab_content": { + "$right_tab_view_toggle_name": "armor_tab_toggle", + "$right_tab_content_control": "crafting_pocket.pocket_armor_tab_content" + } + } + ] + }, + + "both_panels": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "left_tab_navigation_panel_pocket@crafting_pocket.left_tab_navigation_panel_pocket": { + "layer": 5 + } + }, + { + "left_panel@crafting_pocket.left_panel": { + "size": [ "fill", "100%" ], + "layer": 8 + } + }, + { + "offset_panel": { + "type": "panel", + "size": [ 4, "100%" ], + "controls": [ + { + "center_bg": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "size": [ 12, "100% - 4px" ] + } + } + ], + "bindings": [ + { + "binding_name": "#pocket_right_pane_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "right_panel@crafting_pocket.right_panel": { + "size": [ "50% - 31px", "100%" ], + "bindings": [ + { + "binding_name": "#pocket_right_pane_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "right_tab_navigation_panel_pocket@crafting_pocket.right_tab_navigation_panel_pocket": { + "layer": 2 + } + } + ] + }, + + + "gamepad_helper_border": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "left_gamepad_panel": { + "type": "panel", + "size": [ 14, "100%" ], + "controls": [ + { + "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": { + "offset": [ -4, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$hide_description": true + } + }, + { + "gamepad_helper_left_trigger@common.gamepad_helper_left_trigger": { + "offset": [ -4, 0 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$hide_description": true + } + } + ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "both_panels@crafting_pocket.both_panels": { + "size": [ "fill", "100%" ] + } + }, + { + "right_gamepad_panel": { + "type": "panel", + "size": [ 14, "100%" ], + "layer": 5, + "controls": [ + { + "gamepad_helper_right_bumper_creative@common.gamepad_helper_right_bumper": { + "offset": [ 4, -73 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$hide_description": true, + "bindings": [ + { + "binding_name": "#is_creative_mode", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": { + "offset": [ 4, -40 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$hide_description": true, + "bindings": [ + { + "binding_name": "(not #is_creative_mode)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamepad_helper_right_trigger@common.gamepad_helper_right_trigger": { + "offset": [ 2, 0 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$hide_description": true + } + } + ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "hotbar_and_panels": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%" ], + "orientation": "vertical", + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ "100%", "2px" ] + } + }, + { + "gamepad_helper_border@crafting_pocket.gamepad_helper_border": { + "size": [ "100%", "fill" ] + } + }, + { + "hotbar_section_panel@crafting.drop_item_panel": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "hotbar@crafting_pocket.hotbar_panel": { + "anchor_from": "center", + "anchor_to": "center", + "layer": 5 + } + } + ] + } + } + ] + }, + + "recipe_inventory_screen_content_pocket": { + "type": "input_panel", + "controls": [ + { + "container_gamepad_helpers_pocket@common.container_gamepad_helpers": { + "size": [ "100%", 40 ], + "$gamepad_helper_size": [ "100%c", 15 ], + "$a_b_stack_panel_orientation": "vertical", + "$x_y_stack_panel_orientation": "vertical", + "$a_b_stack_panel_size": [ "100%cm", "100%" ], + "$x_y_stack_panel_size": [ "100%cm", "100%" ], + "$helper_x_control": "crafting.inventory_x_gamepad_helper", + "$helper_y_control": "crafting.inventory_y_gamepad_helper", + "$helper_a_control": "crafting.inventory_a_gamepad_helper", + "$helper_b_control": "crafting.inventory_b_gamepad_helper" + } + }, + { + "toast_screen_content@toast_screen.toast_screen_content": {} + }, + { + "selected_item_details_factory@common.selected_item_details_factory": { + "$offset": [ 0, "-37px" ] + } + }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { + "base_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "root_panel@common.root_panel": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ "33px", "2px" ], + "size": [ "100% - 66px", "100% - 38px" ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} }, + { "hold_icon@common.inventory_take_progress_icon_button": {} }, + { "hotbar_and_panels@crafting_pocket.hotbar_and_panels": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 20 } } + ], + "button_mappings": [ + { + "from_button_id": "button.inventory_left", + "to_button_id": "button.hotbar_inventory_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.inventory_right", + "to_button_id": "button.hotbar_inventory_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.hide_gui", + "to_button_id": "button.hide_gui_hud", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot1", + "to_button_id": "button.slot_1", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot2", + "to_button_id": "button.slot_2", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot3", + "to_button_id": "button.slot_3", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot4", + "to_button_id": "button.slot_4", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot5", + "to_button_id": "button.slot_5", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot6", + "to_button_id": "button.slot_6", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot7", + "to_button_id": "button.slot_7", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot8", + "to_button_id": "button.slot_8", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot9", + "to_button_id": "button.slot_9", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot0", + "to_button_id": "button.slot_0", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/invite_screen.json b/resource_pack/ui/invite_screen.json new file mode 100644 index 0000000..f8b6ca2 --- /dev/null +++ b/resource_pack/ui/invite_screen.json @@ -0,0 +1,1984 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "invite", + + //Black bordered box is used for the grid item and around the gamerpic + "black_border": { + "type": "image", + "texture": "textures/ui/mainbanners" + }, + + "black_border_hover@invite.black_border": { + "texture": "textures/ui/MainBannersHover" + }, + + "platform_icon": { + "ignored": "(not $invite_platform_icons_visible)", + "type": "image", + "texture": "textures/ui/platform_icon" + }, + + "grey_borderless_locked@invite.black_border": { + "texture": "textures/ui/disabledButtonNoBorder" + }, + + //locked image boxes + "checked_locked_image@common.checkbox_image": { + "texture": "textures/ui/checkbox_check_locked" + }, + + "unchecked_locked_image@common.checkbox_image": { + "texture": "textures/ui/checkbox_space_locked" + }, + + "left_arrow_image": { + "type": "image", + "texture": "textures/ui/arrow_l_default", + "size": [ 7, 9 ] + }, + + "right_arrow_image": { + "type": "image", + "texture": "textures/ui/arrow_r_default", + "size": [ 7, 9 ] + }, + + "account_link_image": { + "type": "image", + "texture": "textures/ui/control" + }, + + "panel_text": { + "type": "label", + "color": "$dark_grid_item_text_color", + "shadow": false, + "layer": 5, + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "loading_friends@invite.panel_text": { + "text": "realmsInvitationScreen.loadingFriends", + "size": [ "100%", 20 ], + "font_size": "normal", + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#is_loading", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "account_link_icon": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "space_01": { + "type": "panel", + "size": [ 9, "21%" ] + } + }, + { + "account_link_image@invite.account_link_image": { + "size": [ 2, "100%" ] + } + }, + { + "space_03": { + "type": "panel", + "size": [ 9, "100%" ] + } + } + ] + }, + + //Gamerpic uses the black border and an image that will come from XBL + "gamerpic": { + "type": "custom", + "renderer": "profile_image_renderer", + "bindings": [ + { + "binding_name": "#profile_image_options", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "third_party_profile_pic": { + "type": "image", + "bindings": [ + { + "binding_name": "#third_party_profile_pic", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#third_party_profile_pic_file_system", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "gamerpic_panel": { + "type": "panel", + "size": [ 20, 20 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "offset": [ 20, 0 ], + "controls": [ + { "black_border@invite.black_border": {} }, + { + "gamerpic@invite.gamerpic": { + "layer": 1, + "size": [ "100%-2px", "100%-2px" ] + } + } + ] + }, + + "third_party_profile_pic_panel": { + "type": "panel", + "size": [ 20, 20 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "offset": [ 20, 0 ], + "controls": [ + { "black_border@invite.black_border": {} }, + { + "third_party_profile_pic@invite.third_party_profile_pic": { + "layer": 1, + "size": [ "100%-2px", "100%-2px" ] + } + } + ] + }, + + "platform_icon_panel": { + "type": "panel", + "size": [ 15, 15 ], + "anchor_to": "right_middle", + "anchor_from": "right_middle", + "offset": "$icon_offset", + "$icon_offset|default": [ -24, 0 ], + "$is_platform_icon|default": false, + "visible": "$is_platform_icon", + "controls": [ + { + "platform_icon@invite.platform_icon": { + "layer": 1, + "size": [ "100%-2px", "100%-2px" ] + } + } + ] + }, + + //Status image - 2 images with flipped visibility + "status_image": { + "type": "image", + "size": [ 8, 8 ] + }, + + "online_image@invite.status_image": { + "texture": "textures/ui/online", + "bindings": [ + { + "binding_name": "#online_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "offline_image@invite.status_image": { + "texture": "textures/ui/offline", + "bindings": [ + { + "binding_name": "#offline_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "online_indicator": { + "type": "panel", + "anchor_to": "right_middle", + "anchor_from": "right_middle", + "offset": "$indicator_offset", + "$indicator_offset|default": [ -6, 0 ], + "size": [ 9, 9 ], + "controls": [ + { + "online_image@invite.online_image": {} + }, + { + "offline_image@invite.offline_image": {} + } + ] + }, + + //The selected indicator - a check box - 4 images for checked/hover + "checkbox_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "layer": 2 + }, + + "checked_panel@invite.checkbox_panel": { + "$image_offset|default": [ 6, 0 ], + "controls": [ + { + "checked_image@common.checked_image": { + "offset": "$image_offset" + } + } + ] + }, + + "unchecked_panel@invite.checkbox_panel": { + "$image_offset|default": [ 6, 0 ], + "controls": [ + { + "unchecked_image@common.unchecked_image": { + "offset": "$image_offset" + } + } + ] + }, + + "checked_locked_panel@invite.checkbox_panel": { + "$image_offset|default": [ 6, 0 ], + "controls": [ + { + "checked_image@invite.checked_locked_image": { + "offset": "$image_offset" + } + } + ] + }, + + "unchecked_locked_panel@invite.checkbox_panel": { + "$image_offset|default": [ 6, 0 ], + "controls": [ + { + "unchecked_image@invite.unchecked_locked_image": { + "offset": "$image_offset" + } + } + ] + }, + + "checked_hover_panel@invite.checkbox_panel": { + "$image_offset|default": [ 6, 0 ], + "controls": [ + { + "checked_hover_image@common.checked_hover_image": { + "offset": "$image_offset" + } + } + ] + }, + + "unchecked_hover_panel@invite.checkbox_panel": { + "$image_offset|default": [ 6, 0 ], + "controls": [ + { + "unchecked_hover_image@common.unchecked_hover_image": { + "offset": "$image_offset" + } + } + ] + }, + + + + //labels that indicate the information about the game + //Since there's no flow panel we use the color switch codes to build up the string from multiple inputs + "friend_label": { + "type": "label", + "color": "$body_text_color", + "locked_color": "$light_button_default_text_color", + "size": [ "100%-60px", "50%" ] + }, + + "friend_grid_xbl_gamertag@invite.friend_label": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "text": "#xbl_gamertag", + "offset": [ 42, 5 ], + "bindings": [ + { + "binding_name": "#xbl_gamertag", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "friend_grid_current_game_label@invite.friend_label": { + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "offset": [ 42, 0 ], + "text": "#current_game_label", + "bindings": [ + { + "binding_name": "#current_game_label", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "friend_grid_third_party_tag@invite.friend_label": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "offset": [ 42, 5 ], + "text": "#third_party_tag", + "bindings": [ + { + "binding_name": "#third_party_tag", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "friend_background@invite.black_border": { + "size": [ "100%-2px", "100%-2px" ] + }, + + "friend_background_hover@invite.black_border_hover": { + "size": [ "100%-2px", "100%-2px" ] + }, + + "friend_background_borderless@invite.grey_borderless_locked": { + "size": [ "100%-2px", "100%-2px" ] + }, + + "hover_friend_button": { + "type": "panel", + "controls": [ + { "friend_button_layout@invite.friend_button_layout": {} }, + { + "hover_text@common.hover_text": { + "layer": 30, + "bindings": [ + { + "binding_name": "#hover_text", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + "linked_hover_friend_button": { + "type": "panel", + "controls": [ + { + "hover_text@common.hover_text": { + "layer": 30, + "bindings": [ + { + "binding_name": "#hover_text", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + "msa_friend_button_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100% - 6px" ], //3px padding at top and bottom + "layer": 1, //Without this the background disappeared on certain layout changes. + "controls": [ + { + "spacer01": { + "type": "panel", + "size": [ 20, "100%" ] + } + }, + { + "platform_icon_spacer": { + "type": "panel", + "size": [ 19, "100%" ], + "ignored": "(not $is_ps4 or not $is_inviting_to_realm)" + } + }, + { + "gamerpic_panel_positioner": { + "type": "panel", + "size": [ 20, "100%" ], + "controls": [ + { + "pp@invite.gamerpic_panel": { + "layer": 1, + "offset": [ 0, 0 ], + "anchor_to": "center", + "anchor_from": "center" + } + } + ] + } + }, + { + "spacer_02": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "friend_grid_label_layout": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_to": "center", + "anchor_from": "center", + "size": [ "fill", "100%" ], + "controls": [ + { + "spacer_01": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "friend_grid_xbl_gamertag@invite.friend_grid_xbl_gamertag": { + "layer": 1 + } + }, + { + "friend_grid_current_game_label@invite.friend_grid_current_game_label": { + "layer": 1 + } + } + ] + } + }, + { + "online_indication_positioner": { + "type": "panel", + "size": [ 10, "100%" ], + "controls": [ + { + "indicator_images@invite.online_indicator": { + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "$indicator_offset": [ -8, 6 ] + } + } + ] + } + } + ] + }, + + "platform_friend_button_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100% - 6px" ], //3px padding at top and bottom + "layer": 1, //Without this the background disappeared on certain layout changes. + "controls": [ + { + "spacer01": { + "type": "panel", + "size": [ 20, "100%" ] + } + }, + { + "platform_icon_spacer": { + "type": "panel", + "size": [ 19, "100%" ], + "ignored": "(not $is_ps4 or not $is_inviting_to_realm)" + } + }, + { + "third_party_pic_panel_positioner": { + "type": "panel", + "size": [ 20, "100%" ], + "controls": [ + { + "pp@invite.third_party_profile_pic_panel": { + "layer": 1, + "offset": [ 0, 0 ], + "anchor_to": "center", + "anchor_from": "center" + } + } + ] + } + }, + { + "spacer_02": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "friend_grid_label_layout": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "controls": [ + { + "spacer_01": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "friend_grid_third_party_tag@invite.friend_grid_third_party_tag": { + "layer": 1 + } + }, + { + "friend_grid_current_game_label@invite.friend_grid_current_game_label": { + "layer": 1 + } + } + ] + } + }, + { + "platform_icon_positioner": { + "type": "panel", + "size": [ 15, "100%" ], + "controls": [ + { + "platform_icon@invite.platform_icon_panel": { + "layer": 1, + "$icon_offset": [ -10, 4 ], + "anchor_to": "top_left", + "anchor_from": "top_left" + } + } + ] + } + }, + { + "online_indication_positioner": { + "type": "panel", + "size": [ 10, "100%" ], + "controls": [ + { + "indicator_images@invite.online_indicator": { + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "$indicator_offset": [ -8, 8 ] + } + } + ] + } + } + ] + }, + + "linked_friend_button_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "layer": 1, //Without this the background disappeared on certain layout changes. + "controls": [ + { + "spacer01": { + "type": "panel", + "size": [ 6, "100%" ] + } + }, + { + "platform_icon_positioner": { + "type": "panel", + "size": [ 15, "100%" ], + "controls": [ + { + "platform_icon@invite.platform_icon_panel": { + "layer": 1, + "$icon_offset": [ 0, 4 ], + "anchor_to": "top_left", + "anchor_from": "top_left" + } + } + ] + } + }, + { + "spacer02": { + "type": "panel", + "size": [ 5, "100%" ] + } + }, + { + "platform_profile_pictures": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 20, "100%" ], + "anchor_to": "center", + "anchor_from": "center", + "offset": [ 0, 2 ], + "controls": [ + { + "spacer_01": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "pp2@invite.third_party_profile_pic_panel": { + "size": [ "100%", "fill" ], + "layer": 1 + } + }, + { + "account_link@invite.account_link_icon": { + "size": [ "100%", "10%" ] + } + }, + { + "pp1@invite.gamerpic_panel": { + "size": [ "100%", "fill" ], + "layer": 1 + } + }, + { + "spacer_03": { + "type": "panel", + "size": [ "100%", 3 ] + } + } + ] + } + }, + { + "spacer03": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "platform_profile_names": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "controls": [ + { + "spacer_01": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "friend_grid_third_party_tag@invite.friend_grid_third_party_tag": { + "size": [ "100%", "25%" ], + "layer": 1 + } + }, + { + "spacer_02": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "friend_grid_xbl_gamertag@invite.friend_grid_xbl_gamertag": { + "size": [ "100%", "25%" ], + "layer": 1 + } + }, + { + "friend_grid_current_game_label@invite.friend_grid_current_game_label": { + "size": [ "100%", "fill" ], + "layer": 1 + } + } + ] + } + }, + { + "online_indication_positioner": { + "type": "panel", + "size": [ 10, "100%" ], + "controls": [ + { + "indicator_images@invite.online_indicator": { + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "$indicator_offset": [ -14, 4 ] + } + } + ] + } + } + ] + }, + + "template_msa_friend_button_layout": { + "type": "panel", + "controls": [ + { "friend_background@invite.friend_background": {} }, + { "friend_button_layout@invite.msa_friend_button_layout": { "layer": 1 } }, + { "unchecked@$check_state_panel": {} } + ] + }, + + "template_platform_friend_button_layout": { + "type": "panel", + "controls": [ + { "friend_background@invite.friend_background": {} }, + { "friend_button_layout@invite.platform_friend_button_layout": { "layer": 1 } }, + { "unchecked@$check_state_panel": {} } + ] + }, + + "template_linked_friend_button_layout": { + "type": "panel", + "controls": [ + { "friend_background@invite.friend_background": {} }, + { + "horizontal_spacer_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", "100% - 6px" ], + "controls": [ + { + "unchecked_locked@$check_state_panel": { + "$image_offset": [ 3, 6 ] + } + }, + { + "friend_button_layout@invite.linked_friend_button_layout": { + "layer": 1 + } + } + ] + } + } + ] + }, + + "msa_friend_button@common.checkbox": { + "$pressed_button_name": "button.menu_friend_select", + "size": [ "100%", "100%" ], + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + + "$toggle_grid_collection_name": "$collection_name", + "$toggle_name": "$toggle_invite_name", + "$toggle_binding_type": "collection", + "$toggle_state_binding_name": "#toggle_invite_state", + + "controls": [ + { + "checked@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.checked_panel" + } + }, + { + "unchecked@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.unchecked_panel" + } + }, + { + "checked_hover@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.checked_hover_panel" + } + }, + { + "unchecked_hover@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.unchecked_hover_panel" + } + }, + { + "checked_locked@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.checked_locked_panel" + } + }, + { + "unchecked_locked@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.unchecked_locked_panel" + } + }, + { + "checked_locked_hover@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.checked_locked_panel" + } + }, + { + "unchecked_locked_hover@invite.template_msa_friend_button_layout": { + "$check_state_panel": "invite.unchecked_locked_panel" + } + } + ], + "bindings": [ + { + "binding_name": "#friend_button_focus_override_up", + "binding_name_override": "#focus_change_up", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#friend_button_focus_override_down", + "binding_name_override": "#focus_change_down", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + } + ] + }, + + "platform_friend_button@common.checkbox": { + "$pressed_button_name": "button.menu_friend_select", + "size": [ "100%", "100%" ], + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + + "$toggle_grid_collection_name": "$collection_name", + "$toggle_name": "$toggle_invite_name", + "$toggle_binding_type": "collection", + "$toggle_state_binding_name": "#toggle_invite_state", + + "controls": [ + { + "checked@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.checked_panel" + } + }, + { + "unchecked@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.unchecked_panel" + } + }, + { + "checked_hover@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.checked_hover_panel" + } + }, + { + "unchecked_hover@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.unchecked_hover_panel" + } + }, + { + "checked_locked@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.checked_locked_panel" + } + }, + { + "unchecked_locked@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.unchecked_locked_panel" + } + }, + { + "checked_locked_hover@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.checked_locked_panel" + } + }, + { + "unchecked_locked_hover@invite.template_platform_friend_button_layout": { + "$check_state_panel": "invite.unchecked_locked_panel" + } + } + ], + "bindings": [ + { + "binding_name": "#friend_button_focus_override_up", + "binding_name_override": "#focus_change_up", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#friend_button_focus_override_down", + "binding_name_override": "#focus_change_down", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + } + ] + }, + + "linked_friend_button@common.checkbox": { + "$pressed_button_name": "button.menu_friend_select", + "size": [ "100%", "100%" ], + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + + "$toggle_grid_collection_name": "$collection_name", + "$toggle_name": "$toggle_invite_name", + "$toggle_binding_type": "collection", + "$toggle_state_binding_name": "#toggle_invite_state", + + "controls": [ + { + "checked@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.checked_panel" + } + }, + { + "unchecked@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.unchecked_panel" + } + }, + { + "checked_hover@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.checked_hover_panel" + } + }, + { + "unchecked_hover@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.unchecked_hover_panel" + } + }, + { + "checked_locked@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.checked_locked_panel" + } + }, + { + "unchecked_locked@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.unchecked_locked_panel" + } + }, + { + "checked_locked_hover@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.checked_locked_panel" + } + }, + { + "unchecked_locked_hover@invite.template_linked_friend_button_layout": { + "$check_state_panel": "invite.unchecked_locked_panel" + } + } + ], + "bindings": [ + { + "binding_name": "#friend_button_focus_override_up", + "binding_name_override": "#focus_change_up", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#friend_button_focus_override_down", + "binding_name_override": "#focus_change_down", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + } + ] + }, + + + "msa_friend_grid_item_template": { + "type": "panel", + "size": [ "100% - 7px", 30 ], + "controls": [ + { + "friend_button@invite.msa_friend_button": {} + } + ] + }, + + "platform_friend_grid_item_template": { + "type": "panel", + "size": [ "100% - 7px", 30 ], + "controls": [ + { + "friend_button@invite.platform_friend_button": {} + } + ] + }, + + "friend_linked_account_grid_item_template": { + "type": "panel", + "size": [ "100% - 7px", 56 ], + "controls": [ + { + "friend_button@invite.linked_friend_button": {} + } + ] + }, + + "online_xbox_live_friend_grid_item@invite.msa_friend_grid_item_template": { + "type": "panel", + "bindings": [ + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "offline_xbox_live_friend_grid_item@invite.msa_friend_grid_item_template": { + "type": "panel", + "bindings": [ + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "online_linked_account_friend_grid_item@invite.friend_linked_account_grid_item_template": { + "type": "panel", + "$is_platform_icon": "$invite_platform_icons_visible", + + "bindings": [ + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "offline_linked_account_friend_grid_item@invite.friend_linked_account_grid_item_template": { + "type": "panel", + "$is_platform_icon": "$invite_platform_icons_visible", + + "bindings": [ + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "online_platform_friend_grid_item@invite.platform_friend_grid_item_template": { + "type": "panel", + "$is_platform_icon": "$invite_platform_icons_visible" + }, + + "offline_platform_friend_grid_item@invite.platform_friend_grid_item_template": { + "type": "panel", + "$is_platform_icon": "$invite_platform_icons_visible" + }, + + "online_xbox_live_friend_list_grid": { + "type": "grid", + "grid_item_template": "online_xbox_live_friend_grid_item", + "grid_dimension_binding": "#online_xbox_live_friend_grid_dimension", + "collection_name": "$collection_name", + "$toggle_invite_name": "toggle_xbox_live_invite_online", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 2, + "size": [ "100%", "default" ], + "offset": [ 3, 0 ], + "bindings": [ + { + "binding_name": "#online_xbox_live_friend_grid_dimension" + } + ] + }, + + "offline_xbox_live_friend_list_grid": { + "type": "grid", + "grid_item_template": "offline_xbox_live_friend_grid_item", + "grid_dimension_binding": "#offline_xbox_live_friend_grid_dimension", + "collection_name": "$collection_name", + "$toggle_invite_name": "toggle_xbox_live_invite_offline", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 2, + "size": [ "100%", "default" ], + "offset": [ 3, 0 ], + "bindings": [ + { + "binding_name": "#offline_xbox_live_friend_grid_dimension" + } + ] + }, + + "online_platform_friend_list_grid": { + "type": "grid", + "grid_item_template": "online_platform_friend_grid_item", + "grid_dimension_binding": "#online_platform_friend_grid_dimension", + "collection_name": "$collection_name", + "$toggle_invite_name": "toggle_platform_invite_online", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 2, + "size": [ "100%", "default" ], + "offset": [ 3, 0 ], + "bindings": [ + { + "binding_name": "#online_platform_friend_grid_dimension" + } + ] + }, + + "offline_platform_friend_list_grid": { + "type": "grid", + "grid_item_template": "offline_platform_friend_grid_item", + "grid_dimension_binding": "#offline_platform_friend_grid_dimension", + "collection_name": "$collection_name", + "$toggle_invite_name": "toggle_platform_invite_offline", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 2, + "size": [ "100%", "default" ], + "offset": [ 3, 0 ], + "bindings": [ + { + "binding_name": "#offline_platform_friend_grid_dimension" + } + ] + }, + + "online_linked_account_friend_list_grid": { + "type": "grid", + "grid_item_template": "online_linked_account_friend_grid_item", + "grid_dimension_binding": "#online_linked_account_friend_grid_dimension", + "collection_name": "$collection_name", + "$toggle_invite_name": "toggle_linked_account_invite_online", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 2, + "size": [ "100%", "default" ], + "offset": [ 3, 0 ], + "bindings": [ + { + "binding_name": "#online_linked_account_friend_grid_dimension" + } + ] + }, + + "offline_linked_account_friend_list_grid": { + "type": "grid", + "grid_item_template": "offline_linked_account_friend_grid_item", + "grid_dimension_binding": "#offline_linked_account_friend_grid_dimension", + "collection_name": "$collection_name", + "$toggle_invite_name": "toggle_linked_account_invite_offline", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 2, + "size": [ "100%", "default" ], + "offset": [ 3, 0 ], + "bindings": [ + { + "binding_name": "#offline_linked_account_friend_grid_dimension" + } + ] + }, + + "friends_pagination_controls": { + "type": "stack_panel", + "orientation": "horizontal", + "$button_size|default": [ "100%y", "100%" ], + "size": [ "100% - 7px", 30 ], + "controls": [ + { + "previous_button@common_buttons.light_glyph_button": { + "$pressed_button_name": "button.previous_friends_page", + "$button_content": "invite.left_arrow_image", + "size": "$button_size", + "focus_identifier": "$button_focus_identifier", + "$button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#previous_button_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "center_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "page_counter": { + "type": "label", + "anchor_from": "center", + "anchor_to": "center", + "color": "$body_text_color", + "text": "#page_counter_label", + "bindings": [ + { + "binding_name": "#page_counter_label", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + } + }, + { + "next_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.next_friends_page", + "$button_content": "invite.right_arrow_image", + "size": "$button_size", + "focus_identifier": "$button_focus_identifier", + "$button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#next_button_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + "friends_category": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "friends_grid@$friends_category_grid_type": {} + }, + { + "pagination_stack_panel": { + "ignored": "(not $use_pagination)", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "pagination_controls@invite.friends_pagination_controls": {} + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "divider@common.horizontal_divider": { + "size": [ "100% - 7px", "100%c" ] + } + } + ], + "bindings": [ + { + "binding_name": "#friends_pagination_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ], + "bindings": [ + { + "binding_name": "$visibility_binding", + "binding_name_override": "#visible" + } + ] + }, + + "frame_label@invite.label": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "default", 10 ], + "offset": [ 1, 2 ], + "layer": 3, + "color": "$body_text_color" + }, + + "friend_panel": { + "type": "panel", + "size": [ "100%", "100%" ] + }, + + "scrolling_content_stack": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% + 6px", "100%c + 1px" ], + "controls": [ + { + "message@invite.friend_panel": { + "size": [ "100%", "100%c" ], + "ignored": "$hide_err_message", + "controls": [ + { + "frame_label@invite.frame_label": { + "text": "$err_message_text", + "color": "$error_text_color" + } + } + ] + } + }, + // Platform Friends + { + "online_platform@invite.friend_panel": { + "size": [ "100%", 10 ], + "controls": [ + { + "frame_label@frame_label": { + "text": "thirdPartyConsole.invite.OnlineFriends" + } + } + ], + "bindings": [ + { + "binding_name": "#online_platform_friends_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vertical_padding_0": { + "type": "panel", + "size": [ "100%", 2 ], + "visible": "$platform_invites_visible" + } + }, + { + "online_platform_friend_list_category@invite.friends_category": { + "$collection_name": "online_platform_friends", + "$friends_category_grid_type": "invite.online_platform_friend_list_grid", + "$button_focus_identifier": "online_platform_friends_pagination_controls", + "$tts_section_header": "thirdPartyConsole.invite.OnlineFriends", + "$visibility_binding": "#online_platform_friends_visible" + } + }, + { + "crossplatform_disabled_panel": { + "type": "image", + "texture": "textures/ui/mainbanners", + "size": [ "100%-8px", "100%c+8px" ], + "controls": [ + { + "disable_text": { + "type": "label", + "color": "$dark_button_default_text_color", + "size": [ "100% - 8px", "default" ], + "layer": 1, + "shadow": false, + "text": "crossPlatformToggle.crossPlatformDisabled.invite" + } + } + ], + "bindings": [ + { + "binding_name": "(not #cross_platform_enabled)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "crossplatform_disable_spacer": { + "type": "panel", + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "(not #cross_platform_enabled)", + "binding_name_override": "#visible" + } + ] + } + }, + // Cross-Platform Friends + { + "online_cross_platform@invite.friend_panel": { + "size": [ "100%", 10 ], + "controls": [ + { + "frame_label@invite.frame_label": { + "text": "invite.OnlineFriends" + } + } + ], + "bindings": [ + { + "binding_name": "#online_xbox_live_friends_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vertical_padding_1": { + "type": "panel", + "size": [ 0, 1 ] + } + }, + { + "online_linked_account_friend_list_category@invite.friends_category": { + "$collection_name": "online_linked_account_friends", + "$friends_category_grid_type": "invite.online_linked_account_friend_list_grid", + "$button_focus_identifier": "online_linked_account_friends_pagination_controls", + "$tts_section_header": "invite.OnlineFriends", + "$visibility_binding": "#online_linked_account_friends_visible" + } + }, + { + "online_xbox_live_friend_list_category@invite.friends_category": { + "$collection_name": "online_xbox_live_friends", + "$friends_category_grid_type": "invite.online_xbox_live_friend_list_grid", + "$button_focus_identifier": "online_xbox_live_friends_pagination_controls", + "$tts_section_header": "invite.OnlineFriends", + "$visibility_binding": "#online_xbox_live_friends_visible" + } + }, + // Platform Friends + { + "offline_platform@invite.friend_panel": { + "size": [ "100%", 10 ], + "controls": [ + { + "frame_label@invite.frame_label": { + "text": "thirdPartyConsole.invite.OfflineFriends" + } + } + ], + "bindings": [ + { + "binding_name": "#offline_platform_friends_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vertical_padding_2": { + "type": "panel", + "size": [ 0, 1 ], + "visible": "$platform_invites_visible" + } + }, + { + "offline_platform_friend_list_category@invite.friends_category": { + "$collection_name": "offline_platform_friends", + "$friends_category_grid_type": "invite.offline_platform_friend_list_grid", + "$button_focus_identifier": "offline_platform_friends_pagination_controls", + "$tts_section_header": "thirdPartyConsole.invite.OfflineFriends", + "$visibility_binding": "#offline_platform_friends_visible" + } + }, + { + "no_platform_friends@invite.friend_panel": { + "size": [ "100%", 30 ], + "controls": [ + { + "no_friends_tts_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "invite.no_platform_friends_frame_label" + } + } + ], + "bindings": [ + { + "binding_name": "#no_platform_friends_visible", + "binding_name_override": "#visible" + } + ] + } + }, + // Cross Platform Friends + { + "offline_cross_platform@invite.friend_panel": { + "size": [ "100%", 10 ], + "controls": [ + { + "frame_label@invite.frame_label": { + "text": "invite.OfflineFriends" + } + } + ], + "bindings": [ + { + "binding_name": "#offline_xbox_live_friends_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vertical_padding_3": { + "type": "panel", + "size": [ 0, 1 ] + } + }, + { + "offline_linked_account_friend_list_category@invite.friends_category": { + "$collection_name": "offline_linked_account_friends", + "$friends_category_grid_type": "invite.offline_linked_account_friend_list_grid", + "$button_focus_identifier": "offline_linked_account_friends_pagination_controls", + "$tts_section_header": "invite.OfflineFriends", + "$visibility_binding": "#offline_linked_account_friends_visible" + } + }, + { + "offline_xbox_live_friend_list_category@invite.friends_category": { + "$collection_name": "offline_xbox_live_friends", + "$friends_category_grid_type": "invite.offline_xbox_live_friend_list_grid", + "$button_focus_identifier": "offline_xbox_live_friends_pagination_controls", + "$tts_section_header": "invite.OfflineFriends", + "$visibility_binding": "#offline_xbox_live_friends_visible" + } + }, + { + "no_xbox_live_friends@invite.friend_panel": { + "size": [ "100%", 30 ], + "controls": [ + { + "no_friends_tts_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "invite.no_xbox_live_friends_frame_label" + } + } + ], + "bindings": [ + { + "binding_name": "#no_xbox_live_friends_visible", + "binding_name_override": "#visible" + } + ] + } + } + + //{ + // "suggested@friend_panel": { + // "size": [ "100%", 10 ], + // "controls": [ + // { + // "frame_label@frame_label": { + // "text": "invite.SuggestedFriends" + // } + // } + // ] + // } + //} + ] + }, + + "progress_bar_and_scrolling_content_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "controls": [ + { + "progress_loading_bars@play.progress_loading_bars": { + "offset": [ 0, 0 ], // offset on base control is [0,18] resetting this to zero + "anchor_from": "center", + "anchor_to": "center", + "$visible_binding_name": "#is_loading" + } + }, + { + "invite_scrolling_area@invite.scrolling_content_stack": { + "bindings": [ + { + "binding_name": "(not #is_loading)", + "binding_name_override": "#visible", + "binding_type": "global", + "binding_condition": "always" + } + ] + } + } + ] + + }, + + "no_xbox_live_friends_frame_label@invite.frame_label": { + "size": [ "default", 30 ], + "max_size": [ "100% - 14px", 30 ], + "text": "#no_xbox_live_friends_text", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#no_xbox_live_friends_text" + } + ] + }, + + "no_platform_friends_frame_label@invite.frame_label": { + "size": [ "default", 30 ], + "max_size": [ "100% - 14px", 30 ], + "text": "thirdPartyConsole.invite.noFriends", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + }, + + "horizontal_invite_panel@common_dialogs.main_panel_one_button": { + "size": "$large_screen_size", + "$button_panel": "invite.horizontal_button_stack_panel", + "$child_control": "invite.scrolling_area", + "variables": [ + { + "requires": "$is_inviting_to_realm", + "$text_name": "invite.titleRealms" + }, + { + "requires": "(not $is_inviting_to_realm)", + "$text_name": "invite.title" + } + ] + }, + + "vertical_invite_panel@common_dialogs.main_panel_two_buttons": { + "size": "$large_screen_size", + "$top_button_panel": "invite.vertical_buttons_top_panel", + "$bottom_button_panel": "invite.vertical_buttons_bottom_panel", + "$child_control": "invite.scrolling_area", + "variables": [ + { + "requires": "$is_inviting_to_realm", + "$text_name": "invite.titleRealms" + }, + { + "requires": "(not $is_inviting_to_realm)", + "$text_name": "invite.title" + } + ], + "$add_button_mappings": [ + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "scrolling_area@common.scrolling_panel": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$scrolling_pane_size": [ "100% - 2px", "100%" ], + "$scrolling_pane_offset": [ 1, 0 ], + "$scroll_bar_right_padding_size": [ 1, 0 ], + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "invite.progress_bar_and_scrolling_content_panel", + "$show_background": false + }, + + "invite_button_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 2, + "$label_color|default": "$light_button_default_text_color", + "controls": [ + { + "gameplay_helper@$gamepad_helper": { + "$gamepad_helper_size": [ "100%", "100%" ], + "$description_panel_size": [ "fill", "100%" ], + "$gamepad_description_size": [ "100%", "default" ], + "$gamepad_description_max_size": [ "100%", "100%" ], + "$icon_description_bind": "$button_text", + "$gamepad_helper_icon_description_text_color": "$label_color", + "$gamepad_helper_icon_description_shadow": false, + "$icon_description_bind_condition": "none" + } + }, + { + "button_label": { + "type": "label", + "text": "$button_text", + "layer": 3, + "color": "$label_color", + "text_alignment": "center", + "$invite_label_binding_type|default": "none", + "bindings": [ + { + "binding_name": "(not #gamepad_helper_visible)", + "binding_name_override": "#visible" + }, + { + "binding_name": "$button_text", + "binding_type": "$invite_label_binding_type" + } + ] + } + } + ] + }, + "invite_button_content_hover@invite.invite_button_content": { + "$label_color|default": "$light_button_hover_text_color" + }, + "invite_button_content_pressed@invite.invite_button_content": { + "$label_color|default": "$light_button_pressed_text_color" + }, + "invite_button_content_locked@invite.invite_button_content": { + "$label_color|default": "$light_button_locked_text_color" + }, + "add_friend_button@common_buttons.light_content_button_control_content": { + "ignored": "($is_inviting_to_realm or (not $supports_add_friend))", + "$pressed_button_name": "button.add_friend", + "$button_content": "invite.invite_button_content", + "$button_content_hover": "invite.invite_button_content_hover", + "$button_content_pressed": "invite.invite_button_content_pressed", + "$button_content_locked": "invite.invite_button_content_locked", + "$button_text|default": "networkWorld.add_friend", + "$icon_description_bind_type": "none", + "$gamepad_helper": "common.gamepad_helper_y", + "size": "$button_size", + "layer": 2, + "button_mappings": "$add_button_mappings", + "bindings": [ + { + "binding_name": "#find_cross_platform_friends_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "add_member_button@common_buttons.light_content_button_control_content": { + "ignored": "(not $is_realm_owner)", + "$pressed_button_name": "button.add_member", + "$button_content": "invite.invite_button_content", + "$button_content_hover": "invite.invite_button_content_hover", + "$button_content_pressed": "invite.invite_button_content_pressed", + "$button_content_locked": "invite.invite_button_content_locked", + "$button_text": "invite.realm.add_member", + "$icon_description_bind_type": "none", + "$gamepad_helper": "common.gamepad_helper_y", + "size": "$button_size", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 2, + "button_mappings": "$add_button_mappings" + }, + + "send_button@common_buttons.light_content_button_control_content": { + "$pressed_button_name": "button.send_invites", + "$button_content": "invite.invite_button_content", + "$button_content_hover": "invite.invite_button_content_hover", + "$button_content_pressed": "invite.invite_button_content_pressed", + "$button_content_locked": "invite.invite_button_content_locked", + "$button_text": "#send_button", + "$invite_label_binding_type": "global", + "$gamepad_helper": "common.gamepad_helper_x", + "size": [ "fill", 30 ], + "layer": 2, + "button_mappings": [ + { + "from_button_id": "button.controller_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "horizontal_button_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "$button_size|default": [ "50% - 1px", 30 ], + "$add_button_mappings": [ + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + "variables": [ + { + "requires": "($is_inviting_to_realm and not $is_realm_owner)", + "$button_size": [ "100%", 30 ] + } + ], + "controls": [ + { + "add_friend_button@invite.add_friend_button": { + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + }, + { + "add_member_button@invite.add_member_button": { + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, 0 ], + "visible": "(not $is_inviting_to_realm or $is_realm_owner)" + } + }, + { + "send_button@invite.send_button": { + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "vertical_buttons_top_panel": { + "type": "panel", + "$button_size|default": [ "100%", 30 ], + "controls": [ + { + "add_friend_button@invite.add_friend_button": { + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "add_member_button@invite.add_member_button": { + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "vertical_buttons_bottom_panel": { + "type": "panel", + "controls": [ + { + "send_button@invite.send_button": { + "size": [ "100%", 30 ], + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "gamepad_helpers": { + "type": "panel", + "layer": 2, + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "invite_screen@common.base_screen": { + "type": "screen", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "invite.invite_screen_content" + }, + + "invite_screen_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "$invite_panel|default": "invite.horizontal_invite_panel", + "variables": [ + { + "requires": "($use_vertical_button_stack_panel and (not $is_inviting_to_realm or $is_realm_owner))", + "$invite_panel": "invite.vertical_invite_panel" + } + ], + "controls": [ + { "gamepad_helpers@invite.gamepad_helpers": {} }, + { + "invite_panel@$invite_panel": { + "layer": 1 + } + } + ] + } +} diff --git a/resource_pack/ui/ip_join_screen.json b/resource_pack/ui/ip_join_screen.json new file mode 100644 index 0000000..24bfc01 --- /dev/null +++ b/resource_pack/ui/ip_join_screen.json @@ -0,0 +1,247 @@ +{ + "namespace": "ip_join", + + "play_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.join_server", + "$button_text": "course.edu.join", + "bindings": [ + { + "binding_name": "#play_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "game_tip_item_panel": { + "type": "panel", + "size": [ "100%", "100%cm + 4px" ], + "controls": [ + { + "offset_wrap": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "info_bulb": { + "type": "image", + "layer": 13, + "size": [ "100%y", "100%sm" ], + "texture": "textures/ui/infobulb" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "label@game_tip.game_tip_label": { + "size": [ "fill", 10 ] + } + } + ] + } + }, + { + "focus_border@common.non_interact_focus_border_button": { + "size": [ "100%", "100%sm" ], + "consume_hover_events": false, + "tts_inherit_siblings": true, + // Expose a way for the parent to announce the tooltip in addition to the text from the label above + "$tts_tooltip_header|default": " ", + "tts_control_header": "$tts_tooltip_header", + "$focus_border_visible_binding|default": "#tts_enabled", + "bindings": [ + { + "binding_name": "$focus_border_visible_binding", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "ip_label_content@ip_join.game_tip_item_panel": { + "$label_text_binding_type": "none", + "$label_text": "course.edu.connectionInfo", + "$animation": [] + }, + + "hide_height_from_parent": { + "type": "panel", + "size": [ "100%", 0 ], + "controls": [ + { + "content@$hidden_content": { + "anchor_from": "top_left", + "anchor_to": "bottom_left" + } + } + ] + }, + + "popup_notification_panel": { + "type": "input_panel", + "size": [ "100%", "100%cm" ], + + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tooltip_button_binding_type|default": "global", + "$tooltip_button_collection_name|default": "", + + "button_mappings": [ + { + "to_button_id": "$hovered_button_id", + "mapping_type": "pressed" + } + ], + "controls": [ + // Popup that appears when hovering. Don't want this to be considered for cm size calculation + { + "hide_wrapper@ip_join.hide_height_from_parent": { + "$hidden_content": "common.dynamic_tooltip_popup_with_image_and_text", + "$tool_tip_text_max_size": [ 200, "default" ], + "$tooltip_chevron_anchor": "bottom_left", + "$tooltip_popup_chevron_offset": [ "30%x", "100%y - 3px" ], + // Offset left towards the bulb icon and up so the chevron doesn't overlap with the label + "$tooltip_panel_offset": [ -10, -15 ] + } + }, + // Static label for the hoverable area + { "tooltip_panel_content@$tooltip_panel_content": {} } + ] + }, + + "ip_address_tooltip_panel@ip_join.popup_notification_panel": { + "$hovered_button_id": "ip_tooltip.is_hovered", + "$tooltip_popup_visible_binding": "#is_ip_tooltip_hover_panel_visible", + "$tooltip_text_binding_name": "course.edu.conInfoTooltipText", + "$tts_tooltip_header": "course.edu.conInfoTooltipTextScreenReader", + "$tooltip_text_binding_type": "none", + "$tooltip_panel_content": "ip_join.ip_label_content" + }, + + "edit_label_and_box": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "$label_focus_id|default": "", + "$edit_focus_id|default": "", + "$box_focus_override_right|default": "", + "$box_focus_override_right_binding_type|default": "none", + "$box_focus_override_left|default": "", + + "controls": [ + { + "tooltip_panel@$tooltip_panel": { + "$focus_id": "$label_focus_id" + } + }, + { + "edit_box@common.text_edit_box": { + "layer": 2, + "size": [ "100%", 20 ], + "$text_box_name": "$text_box_name", + "$text_edit_box_content_binding_name": "$content_binding_name", + "max_length": "$max_length", + "$place_holder_text": "$placeholder_label", + "$text_edit_box_binding_condition": "once", + + "$focus_id": "$edit_focus_id", + "$focus_override_right": "$box_focus_override_right", + "$focus_override_left": "$box_focus_override_left", + + "bindings": [ + { + "binding_name": "$box_focus_override_right", + "binding_name_override": "#focus_change_right", + "binding_type": "$box_focus_override_right_binding_type" + } + ] + } + } + ] + }, + + "ip_edit_label_and_box@ip_join.edit_label_and_box": { + "$placeholder_label": "course.edu.conInfoPlaceholder", + "$text_box_name": "#ip_text_box", + "$max_length": 256, + "$content_binding_name": "#ip_text_box_content", + "$tooltip_panel": "ip_join.ip_address_tooltip_panel" + }, + + "horizontal_padding_4px@common.empty_panel": { + "size": [ "100%", 4 ] + }, + + "header_label_text@common.button_text": { + "size": [ "100%", "default" ], + "text": "#header_text", + "font_type": "smooth", + "font_scale_factor": 1.1, + "bindings": [ + { + "binding_name": "#header_text" + } + ] + }, + + "header_label@common.tts_label_focus_wrapper": { + "$tts_label_panel": "ip_join.header_label_text" + }, + + "join_ip_content": { + "type": "panel", + "size": [ 225, "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "shrink_wrap": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "controls": [ + { "header_pad@ip_join.horizontal_padding_4px": {} }, + { + "header@ip_join.header_label": { + "$focus_id": "header" + } + }, + { "body_pad@ip_join.horizontal_padding_4px": {} }, + { + "ip_edit_label_and_box@ip_join.ip_edit_label_and_box": { + "$label_focus_id": "ip_label", + "$edit_focus_id": "ip_entry", + "$box_focus_override_left": "play" + } + }, + { + "pad@common.empty_panel": { + "size": [ "100%", 2 ] + } + }, + { "padding_center@course.horizontal_padding_4px": {} }, + { + "play@ip_join.play_button": { + "size": [ "100%", 18 ], + + "$focus_id": "play", + "$focus_override_right": "ip_entry" + } + }, + { "padding_bottom@course.horizontal_padding_4px": {} } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/item_detail_description_screen.json b/resource_pack/ui/item_detail_description_screen.json new file mode 100644 index 0000000..c85c5ad --- /dev/null +++ b/resource_pack/ui/item_detail_description_screen.json @@ -0,0 +1,152 @@ +{ + "namespace": "item_description", + + "base_label": { + "type": "label", + "size": [ "100% - 8px", "default" ], + "offset": [ 3, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "color": "$body_text_color", + "font_type": "smooth", + "text_alignment": "left" + }, + + "summary_text_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "title_panel": { + "type": "input_panel", + "focus_enabled": true, + "size": [ "100%", "100%c + 1px" ], + "controls": [ + { + "pack_title@item_description.base_label": { + "font_scale_factor": 1.3, + "text": "#pack_title", + "bindings": [ + { + "binding_name": "#pack_title", + "binding_condition": "once" + } + ] + } + } + ] + } + }, + { + "contents_description_panel": { + "type": "panel", + "size": [ "100%", "100%c + 3px" ], + "controls": [ + { + "contents_description@item_description.base_label": { + "text": "#pack_contents_description", + "bindings": [ + { + "binding_name": "#pack_contents_description", + "binding_condition": "once" + } + ] + } + } + ] + } + }, + { + "author_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "author_label@item_description.base_label": { + "text": "#author_label", + "bindings": [ + { + "binding_name": "#author_label", + "binding_condition": "once" + } + ] + } + } + ] + } + }, + { "pad@pdp.vertical_padding_2px": {} }, + { + "description_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "contents_description@item_description.base_label": { + "text": "#pack_description", + "bindings": [ + { + "binding_name": "#pack_description", + "binding_condition": "once" + } + ] + } + } + ] + } + }, + { "bottom_padding@pdp.vertical_padding_2px": {} } + ] + }, + + "description@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 2px", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "item_description.summary_text_panel", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": false + }, + + "screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "dialog@common_dialogs.main_panel_no_buttons": { + "size": [ "50%", "60%" ], + "$child_control": "item_description.description", + "$text_name": "store.offerDescription.title", + "$dialog_background_texture": "textures/ui/store_banner_no_border", + "$fill_alpha": 1.0 + } + } + ] + }, + + "item_description_screen@common.base_screen": { + "force_render_below": true, + "$screen_content": "item_description.screen_content", + "$screen_background_control": "common.screen_background", + "$screen_background_alpha": 0.65, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/jigsaw_editor_screen.json b/resource_pack/ui/jigsaw_editor_screen.json new file mode 100644 index 0000000..a8344af --- /dev/null +++ b/resource_pack/ui/jigsaw_editor_screen.json @@ -0,0 +1,354 @@ +{ + "namespace": "jigsaw_editor", + + "horizontal_buffer": { + "type": "panel", + "size": [10, 0] + }, + + "vertical_buffer": { + "type": "panel", + "size": [0, 10] + }, + + "common_text_label": { + "type": "label", + "size": ["default", 10], + "color": "$main_header_text_color", + "layer": 1 + }, + + "text_edit_box@common.text_edit_box": { + "size": ["100%", 22], + "max_length": 40 + }, + + "help_icon": { + "type": "image", + "texture": "textures/ui/how_to_play_button_default_light", + "anchor_from": "center", + "anchor_to": "center", + "size": [32, 16] + }, + + "toggle_with_label": { + "type": "stack_panel", + "orientation": "horizontal", + "size": ["100%c", 18], + "offset": [6, 0], + "controls": [ + { + "toggle@settings_common.option_toggle_control": { + "size": [30, 16], + "$toggle_name": "$toggle_name", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "$toggle_state_binding_name", + "$option_binding_name": "$toggle_name" + } + }, + { + "toggle_label_padding": { + "type": "panel", + "size": [2, "100%"] + } + }, + { + "toggle_label_wrapper": { + "type": "panel", + "size": ["100%c", "100%"], + "controls": [ + { + "toggle_label@jigsaw_editor.common_text_label": { + "text": "$toggle_label_text", + "bindings": [ + { + "binding_name": "$toggle_label_text" + }, + { + "binding_name": "$toggle_label_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "toggle_label_disabled@jigsaw_editor.common_text_label": { + "text": "$toggle_label_text", + "color": "$light_button_locked_text_color", + "bindings": [ + { + "binding_name": "$toggle_label_text" + }, + { + "binding_name": "$toggle_label_disabled", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "data_item_title_and_edit": { + "type": "stack_panel", + "size": ["100%", "100%c"], + "controls": [ + { + "data_title@jigsaw_editor.common_text_label": { + "text": "$data_title" + } + }, + { + "data_text_edit@jigsaw_editor.text_edit_box": { + "$text_box_name": "$data_text_box_name", + "$text_edit_box_content_binding_name": "$data_text_box_value" + } + } + ] + }, + + "data_item_title_and_edit_fill@data_item_title_and_edit": { + "size": ["fill", "16px"] + }, + + "data_item_title_and_toggle": { + "type": "stack_panel", + "size": ["100%", "100%c"], + "controls": [ + { + "data_title@jigsaw_editor.common_text_label": { + "text": "$data_title" + } + }, + { + "toggle@jigsaw_editor.toggle_with_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "$enabled": true, + "$option_enabled_binding_name": "$option_enabled_binding_name", + "$toggle_name": "$toggle_name", + "$toggle_state_binding_name": "$toggle_state_binding_name", + "$toggle_label_text": "$toggle_label_text", + "$toggle_label_enabled": "$toggle_label_enabled", + "$toggle_label_disabled": "$toggle_label_disabled" + } + } + ] + }, + + "exit_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": ["100% - 16px", "100% - 16px"], + + "controls": [ + { + "done_button@common_buttons.light_text_button": { + "size": ["fill", "100%"], + "$button_text": "jigsaw.exit.done", + "$pressed_button_name": "button.exit_done" + } + }, + { + "buffer": { + "type": "panel", + "size": [2, 0] + } + }, + { + "help_button@common_buttons.light_glyph_button": { + "size": [24, 24], + "$pressed_button_name": "button.help", + "$button_content": "jigsaw_editor.help_icon" + } + } + ] + }, + + "scrolling_panel_wrapper@common.dialog_background_hollow_4": { + "size": ["100%", "100% - 72px"], + "controls": [ + { + "scrolling_panel@jigsaw_editor.scrolling_panel": { + "size": ["100% - 16px", "100% - 16px"] + } + } + ] + }, + + "scrolling_panel@common.scrolling_panel": { + "$scrolling_pane_size": ["100%", "100%"], + "$scrolling_content": "jigsaw_editor.scroll_panel_content", + "$scroll_size": [5, "100% - 4px"], + "$show_background": false + }, + + "scroll_panel_content": { + "type": "stack_panel", + "offset": [4, 4], + "size": ["100% - 8px", "100%c"], + "controls": [ + { + "target_pool_title_and_edit@jigsaw_editor.data_item_title_and_edit": { + "$data_title": "jigsaw.title.target_pool", + "$data_text_box_name": "text_box.target_pool_text_box", + "$data_text_box_value": "#target_pool_text_box_value" + } + }, + { "buffer_1@jigsaw_editor.vertical_buffer": {} }, + { + "name_title_and_edit@jigsaw_editor.data_item_title_and_edit": { + "$data_title": "jigsaw.title.name", + "$data_text_box_name": "text_box.name_text_box", + "$data_text_box_value": "#name_text_box_value" + } + }, + { "buffer_2@jigsaw_editor.vertical_buffer": {} }, + { + "target_title_and_edit@jigsaw_editor.data_item_title_and_edit": { + "$data_title": "jigsaw.title.target", + "$data_text_box_name": "text_box.target_text_box", + "$data_text_box_value": "#target_text_box_value" + } + }, + { "buffer_3@jigsaw_editor.vertical_buffer": {} }, + { + "final_block_title_and_edit@jigsaw_editor.data_item_title_and_edit": { + "$data_title": "jigsaw.title.final_block", + "$data_text_box_name": "text_box.final_block_text_box", + "$data_text_box_value": "#final_block_text_box_value" + } + }, + { "buffer_4@jigsaw_editor.vertical_buffer": {} }, + { + "selection_and_placement_priority@jigsaw_editor.selection_and_placement_priority": {} + }, + { "buffer_5@jigsaw_editor.vertical_buffer": {} }, + { + "joint_type_title_and_toggle@jigsaw_editor.data_item_title_and_toggle": { + "$data_title": "jigsaw.title.joint_type", + "$toggle_name": "toggle.joint_type_toggle", + "$toggle_state_binding_name": "#joint_type_toggle_state", + "$option_enabled_binding_name": "#joint_type_enabled", + "$toggle_label_text": "#joint_type_toggle_text", + "$toggle_label_enabled": "#joint_type_enabled", + "$toggle_label_disabled": "#joint_type_disabled" + } + }, + { "buffer_6@jigsaw_editor.vertical_buffer": {} } + ] + }, + + "selection_and_placement_priority": { + "type": "stack_panel", + "orientation": "horizontal", + "size": ["100%", "100%c"], + "controls": [ + { + "selection_priority_title_and_edit@jigsaw_editor.data_item_title_and_edit_fill": { + "$data_title": "jigsaw.title.selection_priority", + "$data_text_box_name": "text_box.selection_priority_text_box", + "$data_text_box_value": "#selection_priority_text_box_value" + } + }, + { "buffer_1@jigsaw_editor.horizontal_buffer": {} }, + { + "placement_priority_title_and_edit@jigsaw_editor.data_item_title_and_edit_fill": { + "$data_title": "jigsaw.title.placement_priority", + "$data_text_box_name": "text_box.placement_priority", + "$data_text_box_value": "#placement_priority_text_box_value" + } + } + ] + }, + + "button_panel_wrapper": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "size": ["100%", "40px"], + "controls": [ + { + "exit_buttons@jigsaw_editor.exit_buttons": {} + } + ] + }, + + "jigsaw_editor_panel": { + "type": "stack_panel", + "size": ["100% - 16px", "100%"], + "offset": [0, 26], + "controls": [ + { + "scrolling_panel@jigsaw_editor.scrolling_panel_wrapper": {} + }, + { + "button_wrapper": { + "type": "panel", + "size": ["100%", "46px"], + "controls": [ + { + "buttons@jigsaw_editor.button_panel_wrapper": {} + } + ] + } + } + ] + }, + + "jigsaw_editor_content": { + "type": "panel", + "size": ["100%", "100%"], + "controls": [ + { + "background_panel@common.fullscreen_header": { + "$dialog_background": "common.dialog_background_hollow_3" + } + }, + { + "title@jigsaw_editor.common_text_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [40, 6], + + "text": "jigsaw_block.title", + "color": "$title_text_color" + } + }, + { + "jigsaw_editor_panel@jigsaw_editor.jigsaw_editor_panel": {} + } + ] + }, + + "jigsaw_editor_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "jigsaw_editor.jigsaw_editor_content", + "$screen_bg_content": "common.screen_background" + } +} diff --git a/resource_pack/ui/joincode_entry_screen.json b/resource_pack/ui/joincode_entry_screen.json new file mode 100644 index 0000000..3a8966c --- /dev/null +++ b/resource_pack/ui/joincode_entry_screen.json @@ -0,0 +1,800 @@ +{ + "namespace": "joincode", + + // Put this in the base screen + "joincode_popup_factory": { + "type": "factory", + "control_ids": { + "joincode_entry": "@joincode.entry_popup", + "connecting": "@joincode.connecting_popup", + "error": "@joincode.error_popup", + "server_found": "@joincode.found_popup", + "ip_entry": "@joincode.ip_popup" + } + }, + + //--------------------------------------------------------------------------- + // Common Elements + //--------------------------------------------------------------------------- + + "horizontal_padding": { + "type": "panel", + "size": [ 6, "100%sm" ] + }, + + "vertical_stack_item": { + "type": "panel", + "size": [ "100%", "100%c" ] + }, + + "popup_window_with_joincode@popup_dialog.modal_input_panel": { + "controls": [ + { "background@common.screen_background": {} }, + { "content@joincode.popup_window_with_joincode_control": {} } + ] + }, + + "popup_window_with_joincode_control": { + "type": "panel", + "size": [ 284, 222 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 6, + "controls": [ + { + "background@common.dialog_background_hollow_7": { + "size": [ "100%", "100%" ], + "layer": -2, + "$fill_alpha": 0.8 + } + }, + { + "title": { + "type": "label", + "text": "$title", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 7 ], + "color": "$light_button_default_text_color" + } + }, + { + "close@common.close_button": { + "$close_button_offset": [ -1, 1 ] + } + }, + { "header_content@joincode.entered_content": {} }, + { + "hollow_content_panel": { + "type": "panel", + "size": [ "100% - 16px", "100% - 74px" ], + "offset": [ 0, 66 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { "hollow_content@$contents": {} } + ] + } + } + ] + }, + + "loading_animation_and_text": { + "type": "stack_panel", + "size": [ 128, "100%c" ], + "controls": [ + { + "loading_animation_item@joincode.vertical_stack_item": { + "controls": [ + { + "loading_animation@edu_common.edu_loading_animation": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 64, 64 ] + } + } + ] + } + }, + { + "bottom_text_padding@common.empty_panel": { + "size": [ "100%", 4 ] + } + }, + { + "loading_text_item@joincode.vertical_stack_item": { + "controls": [ + { + "searching_text": { + "type": "label", + "text": "$bottom_text", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$text_box_text_color" + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Entry Button + //--------------------------------------------------------------------------- + + "entry_button_contents": { + "type": "panel", + "controls": [ + { + "background": { + "type": "image", + "size": [ 38, 38 ], + "texture": "textures/ui/joincode_button_background" + } + }, + { + "entry_image": { + "type": "image", + "size": [ 26, 26 ], + "layer": 2, + "bindings": [ + { + "binding_name": "#icon", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + "entry_button_border": { + "type": "image", + "texture": "textures/ui/button_select_corner", + "size": [ "100%", "100%" ], + "layer": 1 + }, + + "entry_button": { + "type": "panel", + "$button_size|default": [ 38, 38 ], + "size": "$button_size", + "$entry_tts_binding|default": "", + "controls": [ + { + "internal_button@common.button": { + "size": [ 38, 38 ], + "$button_tts_name": "", + "tts_override_control_value": "$entry_tts_binding", + "tts_value_order_priority": 100, + + "controls": [ + { "default@joincode.entry_button_contents": {} }, + { "pressed@joincode.entry_button_contents": {} }, + { + "hover": { + "type": "panel", + "controls": [ + { + "tooltip@common.dynamic_tooltip": { + "$ignore_tooltip_popup_image": true, + "$tooltip_text_binding_name": "#entry_button_tooltip", + "$tooltip_button_collection_name": "$collection_name", + "$tooltip_button_binding_type": "collection", + "$tooltip_popup_visible_binding": "#entry_button_tooltip_visible", + + "$tooltip_above_binding_name": "#tooltip_above", + "$tooltip_above_binding_collection_name": "$collection_name", + "$tooltip_above_binding_type": "collection", + + "$tts_override_control_value": " " + } + }, + { "button@joincode.entry_button_contents": {} }, + { "hover@joincode.entry_button_border": { "layer": 3 } } + ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name", + "binding_collection_prefix": "$collection_name" + }, + { + "binding_name": "$entry_tts_binding", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#entry_button_focus_id_override", + "binding_name_override": "#focus_identifier", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#entry_button_focus_change_left_override", + "binding_name_override": "#focus_change_left", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#entry_button_focus_change_right_override", + "binding_name_override": "#focus_change_right", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Entry Selection Header + //--------------------------------------------------------------------------- + + "entered_button": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "$final_button|default": false, + "controls": [ + { + "button_with_hover@common.empty_panel": { + "size": [ 38, 38 ], + "controls": [ + { + "button@joincode.entry_button": { + "$entry_tts_binding": "#entry_selection_tts_header" + } + }, + { + "hover@joincode.entry_button_border": { + "layer": 3, + "bindings": [ + { + "binding_name": "#border_visible", + "binding_collection_name": "$collection_name", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "padding@joincode.horizontal_padding": { + "bindings": [ + { + "binding_name": "#code_padding_visible", + "binding_collection_name": "$collection_name", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "entered_content": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%c", "100%cm" ], + "offset": [ 0, 22 ], + "$collection_name": "entry_selection", + "collection_name": "$collection_name", + "$pressed_button_name": "button.entered_entries", + "$code_entry_enabled|default": true, + "enabled": "$code_entry_enabled", + "factory": { + "name": "code_factory", + "control_name": "joincode.entered_button" + }, + "bindings": [ + { + "binding_name": "#code_length", + "binding_name_override": "#collection_length" + } + ] + }, + + //--------------------------------------------------------------------------- + // Entry Input Panel + //--------------------------------------------------------------------------- + + "ip_entry_button_content": { + "type": "image", + "texture": "textures/ui/elipses" + }, + + "entry_input_button_grid": { + "type": "grid", + "$entry_tts_binding": "#entry_button_tts_header", + "grid_item_template": "joincode.entry_button", + "grid_dimensions": [ 6, 3 ], + "$collection_name": "entry_grid", + "collection_name": "$collection_name", + "$pressed_button_name": "button.entry_grid_button" + }, + + "entry_padding": { + "type": "panel", + "size": [ 3, "100%sm" ] + }, + + "entry_input_clear_confirm_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "controls": [ + { + "clear_button@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "$pressed_button_name": "button.entry_clear", + "$button_text": "gui.clear", + "focus_identifier": "clear_button_focus_id", + "$focus_override_left": "ip_button_focus_id", + "bindings": [ + { + "binding_name": "#can_clear", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#clear_button_focus_change_right", + "binding_name_override": "#focus_change_right" + } + ] + } + }, + { "horizontal_padding@joincode.entry_padding": {} }, + { + "confirm_button@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "$pressed_button_name": "button.entry_confirm", + "$button_text": "gui.confirm", + "focus_identifier": "confirm_button_focus_id", + "bindings": [ + { + "binding_name": "#can_confirm", + "binding_name_override": "#enabled" + } + ] + } + }, + { "ip_padding@joincode.entry_padding": {} }, + { + "ip_entry@common_buttons.light_content_button": { + "size": [ 20, "100%" ], + "$button_tts_header": "joincode.ip_entry.button_tts", + "$pressed_button_name": "button.entry_ip", + "$button_content": "joincode.ip_entry_button_content", + "focus_identifier": "ip_button_focus_id", + "$focus_override_right": "clear_button_focus_id", + "bindings": [ + { + "binding_name": "#ip_button_focus_change_left", + "binding_name_override": "#focus_change_left" + } + ] + } + } + ] + }, + + "entry_input_panel_content": { + "type": "stack_panel", + "max_size": [ "100%", "100%" ], + "size": [ "100%", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + + "controls": [ + { + "top_padding@common.empty_panel": { + "size": [ "100%", 1.5 ] + } + }, + { + "entry_input_button_grid@joincode.vertical_stack_item": { + "controls": [ + { + "contents@joincode.entry_input_button_grid": { + "$button_size": [ 44, 41 ], + "size": [ "100%c", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + } + }, + { + "grid_to_button_padding@common.empty_panel": { + "size": [ "100%", 2.5 ] + } + }, + { + "clear_confirm@joincode.vertical_stack_item": { + "controls": [ + { + "contents@joincode.entry_input_clear_confirm_panel": { + "size": [ "100% - 12px", 18 ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Entry Popup + //--------------------------------------------------------------------------- + + "entry_popup@joincode.popup_window_with_joincode": { + "$title": "joincode.entry_popup.title", + "$popup_dialog_escape_button_name": "button.entry_close", + "$close_button_to_button_id": "button.entry_close", + "$contents": "joincode.entry_input_panel_content" + }, + + //--------------------------------------------------------------------------- + // Connecting Popup + //--------------------------------------------------------------------------- + + "connecting_content": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "controls": [ + { + "loading_animation_and_text@joincode.loading_animation_and_text": { + "offset": [ 0, -12 ], + "$bottom_text": "joincode.connecting.lower_text" + } + }, + { + "cancel_button@common_buttons.light_text_button": { + "size": [ "100%", 18 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$pressed_button_name": "button.connecting_cancel", + "$button_text": "gui.cancel" + } + } + ] + }, + + "connecting_popup@joincode.popup_window_with_joincode": { + "$title": "joincode.connecting.title", + "$contents": "joincode.connecting_content", + "$popup_dialog_escape_button_name": "button.connecting_close", + "$close_button_to_button_id": "button.connecting_close" + }, + + //--------------------------------------------------------------------------- + // Server Found Popup + //--------------------------------------------------------------------------- + + "found_text_label": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "found_message_top": { + "size": [ "100%", "default" ], + "type": "label", + "text": "joincode.found.message", + "color": "$body_text_color" + } + }, + { + "top_to_info_padding@common.empty_panel": { + "size": [ "100%", 4 ] + } + }, + { + "world_name": { + "size": [ "100%", "default" ], + "type": "label", + "text": "#found_world_name", + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#found_world_name" + } + ] + } + }, + { + "world_to_host_padding@common.empty_panel": { + "size": [ "100%", 2 ] + } + }, + { + "host_name": { + "size": [ "100%", "default" ], + "type": "label", + "text": "#found_host_name", + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#found_host_name" + } + ] + } + } + ] + }, + + "found_content": { + "type": "stack_panel", + "size": [ 218, "100%c" ], + "controls": [ + { + "found_text@common.tts_label_focus_wrapper": { + "size": [ "100%", "100%cm" ], + "$tts_label_panel": "joincode.found_text_label" + } + }, + { + "text_to_button_padding@common.empty_panel": { + "size": [ "100%", 18 ] + } + }, + { + "confirm_button@common_buttons.light_text_button": { + "size": [ "100%", 18 ], + "$pressed_button_name": "button.join_world", + "$button_text": "gui.confirm" + } + }, + { + "confirm_to_cancel_padding@common.empty_panel": { + "size": [ "100%", 2 ] + } + }, + { + "cancel_button@common_buttons.light_text_button": { + "size": [ "100%", 18 ], + "$pressed_button_name": "button.found_cancel", + "$button_text": "gui.cancel" + } + } + ] + }, + + "found_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "joincode.found.title", + "$modal_contents": "joincode.found_content", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.server_found_close" + }, + + //--------------------------------------------------------------------------- + // Error Popup + //--------------------------------------------------------------------------- + + "error_debug_buttons": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#show_debug", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "debug_error_buttons_row1": { + "type": "stack_panel", + "size": [ "100%", 18 ], + "orientation": "horizontal", + "collection_name": "error_debug", + "$pressed_button_name": "button.debug_button", + "controls": [ + { + "no_match@common_buttons.light_text_button": { + "size": [ "33%", "100%" ], + "$button_text": "No Match", + "collection_index": 0, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "error_debug", + "binding_collection_prefix": "error_debug" + } + ] + } + }, + { + "no_response@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "$button_text": "Timeout", + "collection_index": 1, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "error_debug", + "binding_collection_prefix": "error_debug" + } + ] + } + }, + { + "service_error@common_buttons.light_text_button": { + "size": [ "33%", "100%" ], + "$button_text": "Service", + "collection_index": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "error_debug", + "binding_collection_prefix": "error_debug" + } + ] + } + } + ] + } + }, + { + "debug_error_buttons_row2": { + "type": "stack_panel", + "size": [ "100%", 18 ], + "orientation": "horizontal", + "collection_name": "error_debug", + "$pressed_button_name": "button.debug_button", + "controls": [ + { + "hide@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$button_text": "Hide", + "collection_index": 3, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "error_debug", + "binding_collection_prefix": "error_debug" + } + ] + } + }, + { + "show_found@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$button_text": "Found Server", + "collection_index": 4, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "error_debug", + "binding_collection_prefix": "error_debug" + } + ] + } + } + ] + } + } + ] + }, + + "error_text_label": { + "size": [ "100%", "default" ], + "type": "label", + "text": "#error_message", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#error_message" + } + ] + }, + + "error_content": { + "type": "stack_panel", + "size": [ 218, "100%c" ], + "controls": [ + { + "error_text@common.tts_label_focus_wrapper": { + "size": [ "100%", "100%cm" ], + "$tts_label_panel": "joincode.error_text_label" + } + }, + { + "text_to_button_padding@common.empty_panel": { + "size": [ "100%", 3 ] + } + }, + { + "try_again_button@common_buttons.light_text_button": { + "size": [ "100%", 18 ], + "$pressed_button_name": "button.error_try_again", + "$button_text": "gui.tryAgain" + } + }, + { "debug_buttons@joincode.error_debug_buttons": {} } + ] + }, + + "error_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "joincode.error.title", + "$modal_contents": "joincode.error_content", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.error_close" + }, + + //--------------------------------------------------------------------------- + // IP Entry Popup + //--------------------------------------------------------------------------- + + // If ip entry is reached by pushing the button it's not supposed to have the join code entry frame, + // but for service errors it is supposed to have the frame. + "ip_popup": { + "type": "panel", + "controls": [ + { + "plain@joincode.ip_popup_plain": { + "bindings": [ + { + "binding_name": "(not #is_ip_fallback)", + "binding_name_override": "#visible", + "binding_condition": "once" + } + ] + } + }, + { + "with_code@joincode.ip_popup_with_code": { + "bindings": [ + { + "binding_name": "#is_ip_fallback", + "binding_name_override": "#visible", + "binding_condition": "once" + } + ] + } + } + ] + }, + + "ip_popup_plain@popup_dialog.form_fit_modal_dialog_popup": { + "layer": 18, + "$modal_title": "joincode.found.title", + "$popup_dialog_escape_button_name": "button.close_to_code_entry", + "$modal_contents": "ip_join.join_ip_content" + }, + + "ip_popup_with_code@joincode.popup_window_with_joincode": { + "$title": "joincode.entry_popup.title", + "$code_entry_enabled": false, + "$close_button_to_button_id": "button.popup_escape", + "$popup_dialog_escape_button_name": "button.popup_escape", + "$contents": "ip_join.join_ip_content" + } +} diff --git a/resource_pack/ui/lab_table_screen.json b/resource_pack/ui/lab_table_screen.json new file mode 100644 index 0000000..7b49101 --- /dev/null +++ b/resource_pack/ui/lab_table_screen.json @@ -0,0 +1,220 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "labtable", + + ///// Shared with Pocket Screen ///// + + "jar_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 29, + "frame_step": 45, + "fps": 10, + "easing": "linear" + }, + + "beaker_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 17, + "frame_step": 45, + "fps": 10, + "easing": "linear" + }, + + "flask_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 21, + "frame_step": 45, + "fps": 10, + "easing": "linear" + }, + + "tool@common.empty_panel": { + "size": [ "100%c + 5px", "100%c" ], + "$image_offset|default": [ 0, 0 ], + "controls": [ + { + "active": { + "type": "image", + "texture": "$active_texture", + "size": "$image_size", + "offset": "$image_offset", + "uv": "$active_animation", + "uv_size": [ 45, 45 ], + "bindings": [ + { + "binding_name": "$active_binding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "default": { + "type": "image", + "texture": "$default_texture", + "size": "$image_size", + "offset": "$image_offset", + "bindings": [ + { + "binding_name": "(not $active_binding)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + ///// Differs from Pocket Screen ///// + + "title_label@edu_common.dark_label": { + "layer": 2, + "text": "labtable.title", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text_alignment": "center", + "offset": [ 0, 4 ] + }, + + "input_slot@common.container_item": { + "$item_collection_name": "labtable_input" + }, + + "input_grid": { + "type": "grid", + "size": [ "100%", 18 ], + "grid_dimensions": [ 9, 1 ], + "grid_item_template": "labtable.input_slot", + "collection_name": "labtable_input" + }, + + "tools_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 50 ], + "controls": [ + { + "beaker@labtable.tool": { + "$image_size": [ 45, 45 ], + "$active_texture": "textures/ui/beaker_active", + "$default_texture": "textures/ui/beaker_default", + "$active_animation": "@labtable.beaker_animation", + "$active_binding": "#beaker_active" + } + }, + { + "flask@labtable.tool": { + "$image_size": [ 45, 45 ], + "$active_texture": "textures/ui/flask_active", + "$active_animation": "@labtable.flask_animation", + "$default_texture": "textures/ui/flask_default", + "$active_binding": "#flask_active" + } + }, + { + "jar@labtable.tool": { + "$image_size": [ 45, 45 ], + "$image_offset": [ 5, 0 ], + "$active_texture": "textures/ui/jar_active", + "$active_animation": "@labtable.jar_animation", + "$default_texture": "textures/ui/jar_default", + "$active_binding": "#jar_active" + } + } + ] + }, + + "combine_button@common.empty_panel": { + "size": [ "100%", 20 ], + "controls": [ + { + "button@common_buttons.light_text_button": { + "size": [ 100, 14 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_text": "labtable.combine", + "$pressed_button_name": "button.combine" + } + } + ], + "bindings": [ + { + "binding_name": "#combine_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "top_half": { + "type": "stack_panel", + "orientation": "vertical", + // Offset so it starts under the title label and within the frame, and goes down to the inventory + "offset": [ 4, 14 ], + "size": [ "100% - 8px", 95 ], + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "tools@labtable.tools_panel": {} }, + { "pa@common.empty_panel": { "size": [ 1, 4 ] } }, + { "input@labtable.input_grid": {} }, + { "combine@labtable.combine_button": {} } + ] + }, + + "content": { + "type": "panel", + "controls": [ + { + "root_panel@common.root_panel": { + "layer": 1, + "size": [ 176, 200 ], + "controls": [ + { "common_panel@common.common_panel": {} }, + { "title_label@labtable.title_label": {} }, + { "top_half@labtable.top_half": {} }, + { + "inventory": { + "type": "panel", + "layer": 3, + "controls": [ + { "inventory_panel_bottom_half@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 13 } } + ] + } + }, + { "container_gamepad_helpers@common.container_gamepad_helpers": {} } // Gamepad tool tips + ] + }, + + "lab_table@common.inventory_screen_common": { + "$close_on_player_hurt|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "$screen_bg_content": "common.screen_background", + + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "labtable.content" + }, + { + "requires": "$pocket_screen", + "$screen_content": "labtable_pocket.content" + } + ] + } +} diff --git a/resource_pack/ui/lab_table_screen_pocket.json b/resource_pack/ui/lab_table_screen_pocket.json new file mode 100644 index 0000000..5aaa704 --- /dev/null +++ b/resource_pack/ui/lab_table_screen_pocket.json @@ -0,0 +1,188 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "labtable_pocket", + + "title_label@edu_common.dark_label": { + "layer": 2, + "text": "labtable.title", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text_alignment": "center", + "offset": [ 0, 8 ] + }, + + "input_slot@chem_common_pocket.pocket_ui_container_item": { + "$item_collection_name": "compcreate_input", + "$button_ref": "labtable_pocket.one_touch_button" + }, + + "one_touch_button@chem_common_pocket.one_touch_button": { + "$take_all_place_all": "button.labtable_take_all_place_all", + "$coalesce_stack": "button.labtable_coalesce_stack" + }, + + "tools_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 50 ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "beaker@labtable.tool": { + "$image_size": [ 45, 45 ], + "$active_texture": "textures/ui/beaker_active", + "$default_texture": "textures/ui/beaker_default", + "$active_animation": "@labtable.beaker_animation", + "$active_binding": "#beaker_active" + } + }, + { + "flask@labtable.tool": { + "$image_offset": [ -8, 0 ], + "$image_size": [ 45, 45 ], + "$active_texture": "textures/ui/flask_active", + "$active_animation": "@labtable.flask_animation", + "$default_texture": "textures/ui/flask_default", + "$active_binding": "#flask_active" + } + }, + { + "jar@labtable.tool": { + "$image_offset": [ -8, 0 ], + "$image_size": [ 45, 45 ], + "$active_texture": "textures/ui/jar_active", + "$active_animation": "@labtable.jar_animation", + "$default_texture": "textures/ui/jar_default", + "$active_binding": "#jar_active" + } + } + ] + }, + + "input_item": { + "type": "panel", + "grid_position": "$grid_position", + "size": [ 24, 24 ], + "controls": [ + { + "input_slot@labtable_pocket.input_slot": { + "$offset|default": [ 0, 0 ], + "offset": "$offset", + "$item_collection_name": "labtable_input", + "$item_renderer_size": [ 20, 20 ] + } + } + ] + }, + + "input_grid": { + "type": "grid", + "size": [ 130, 54 ], + "grid_dimensions": [ 5, 2 ], + "offset": [ 0, 15 ], + "collection_name": "labtable_input", + "controls": [ + { + "a@labtable_pocket.input_item": { + "$grid_position": [ 0, 0 ], + "$offset": [ 13, 0 ] + } + }, + { + "b@labtable_pocket.input_item": { + "$grid_position": [ 1, 0 ], + "$offset": [ 13, 0 ] + } + }, + { + "c@labtable_pocket.input_item": { + "$grid_position": [ 2, 0 ], + "$offset": [ 13, 0 ] + } + }, + { + "d@labtable_pocket.input_item": { + "$grid_position": [ 3, 0 ], + "$offset": [ 13, 0 ] + } + }, + { + "z@labtable_pocket.input_item": { + "$grid_position": [ 4, 0 ], + "$offset": [ 0, 27 ] + } + }, + { + "f@labtable_pocket.input_item": { + "$grid_position": [ 0, 1 ] + } + }, + { + "g@labtable_pocket.input_item": { + "$grid_position": [ 1, 1 ] + } + }, + { + "h@labtable_pocket.input_item": { + "$grid_position": [ 2, 1 ] + } + }, + { + "i@labtable_pocket.input_item": { + "$grid_position": [ 3, 1 ] + } + } + ] + }, + + "combine_button@common.empty_panel": { + "size": [ "100%", 20 ], + "controls": [ + { + "button@common_buttons.light_text_button": { + "size": [ 120, 28 ], + "offset": [ 0, 50 ], + "anchor_from": "center", + "anchor_to": "top_middle", + "$button_text": "labtable.combine", + "$pressed_button_name": "button.combine" + } + } + ], + "bindings": [ + { + "binding_name": "#combine_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "right_panel@common.empty_panel": { + "size": [ "49.5%", "100%" ], + "layer": 2, + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "title_label@labtable_pocket.title_label": {} }, + { "dialog_background_opaque@common.dialog_background_opaque": {} }, + { + "tools@labtable_pocket.tools_panel": { + "layer": 2, + "offset": [ 0, -40 ] + } + }, + { "input@labtable_pocket.input_grid": {} }, + { "combine@labtable_pocket.combine_button": {} } + ] + }, + + "content@chem_common_pocket.screen_contents": { + "$right_panel": "right_panel@labtable_pocket.right_panel" + } +} diff --git a/resource_pack/ui/late_join_pregame_screen.json b/resource_pack/ui/late_join_pregame_screen.json new file mode 100644 index 0000000..1c8b363 --- /dev/null +++ b/resource_pack/ui/late_join_pregame_screen.json @@ -0,0 +1,95 @@ +{ + "namespace": "late_join", + + "animation_panel": { + "type": "panel", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "size": [ "50% - 75px", 32 ], + "offset": [ 0, "-10%" ], + "controls": [ + { + "stacked_column": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "offset": [ "5%", 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "controls": [ + { + "waiting_animating_text": { + "size": [ "default", "100%" ], + "max_size": [ "100%", "100%" ], + "type": "label", + "color": "$main_header_text_color", + "text": "#animating_text", + "bindings": [ + { + "binding_name": "#animating_text_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#animating_text" + } + ] + } + } + ] + } + } + ] + }, + + "gamepad_helpers": { + "type": "stack_panel", + "orientation": "horizontal", + "offset": [ 0, "40%" ], + "size": [ "100%c", 26 ], + "controls": [ + { + "gamepad_helper_b_and_padding": { + "type": "panel", + "size": [ "100%c + 10px", "100%c" ], + "controls": [ + { + "gamepad_helper_b@common.gamepad_helper_b": { + "offset": [ 10, 0 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle" + } + } + ] + } + } + ] + }, + + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "late_join_pregame_screen@common.base_screen": { + "$screen_content": "late_join.late_join_screen_content", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.leave", + "mapping_type": "global" + } + ] + }, + + "late_join_screen_content": { + "type": "panel", + "controls": [ + { + "animation_panel@late_join.animation_panel": {} + }, + { + "gamepad_helpers@late_join.gamepad_helpers": {} + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/lesson_complete_dialog.json b/resource_pack/ui/lesson_complete_dialog.json new file mode 100644 index 0000000..ddc922b --- /dev/null +++ b/resource_pack/ui/lesson_complete_dialog.json @@ -0,0 +1,180 @@ +{ + "namespace": "lesson_complete", + + //--------------------------------------------------------------------------- + // Padding panels + //--------------------------------------------------------------------------- + + "padding_vertical": { + "type": "panel", + "size": [ "100%sm", 3 ] + }, + + "spacer": { + "type": "image", + "texture": "textures/ui/whiteline", + "color": [ 0.7, 0.7, 0.7 ], + "tiled": true + }, + + //--------------------------------------------------------------------------- + // Content layout panels + //--------------------------------------------------------------------------- + + "body": { + "type": "label", + "size": [ "100%", "100%" ], + "offset": [ 2, 1 ], + "text_alignment": "center", + "text": "lesson.end.dialog.body.noimages", + "color": "$body_text_color", + "font_type": "smooth" + }, + + "image_wrapper": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100%c" ], + "controls": [ + { + "image": { + "type": "image", + "fill": true, + "size": [ 131, 90 ], + "texture": "textures/ui/lesson_complete/certificate_preview", + "layer": 1 + } + } + ] + }, + + "internal_content_panel": { + "type": "stack_panel", + "size": [ "100% - 6px", "100% - 6px" ], + "orientation": "vertical", + "controls": [ + { "certificate@lesson_complete.image_wrapper": {} }, + { "spacer@edu_common.horizontal_divider": {} }, + { + "body_text_tts_panel@common.tts_label_focus_wrapper": { + "size": [ "100%", "fill" ], + "$tts_label_panel": "lesson_complete.body" + } + }, + { + "get_certificate_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$pressed_button_name": "button.get_certificate", + "$button_text": "lesson.end.dialog.button.getcert" + } + }, + { "button_padding@lesson_complete.padding_vertical": {} }, + { + "finished_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$pressed_button_name": "button.menu_quit", + "$button_text": "lesson.end.dialog.button.exit" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Dialog layout panels + //--------------------------------------------------------------------------- + + "dialog_background@common.dialog_background_hollow_3": { + "size": [ "100%", "100%" ], + "layer": -2, + "$fill_alpha": 0.8 + }, + + "lesson_completed_dialog_content": { + "type": "panel", + "layer": 6, + "controls": [ + { + "background@lesson_complete.dialog_background": {} + }, + { + "title@common.minecraftTenLabel": { + "text": "lesson.end.dialog.body.title", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 5 ], + "color": "$light_button_default_text_color" + } + }, + { + "close@common.close_button": { + "$close_button_offset": [ -1, 1 ] + } + }, + { + "hollow_content_panel": { + "type": "panel", + "size": [ "100% - 16px", "100% - 31px" ], + "offset": [ 0, 23 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { "hollow_content@lesson_complete.internal_content_panel": {} } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "lesson_complete_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "force_render_below": false, + "$screen_content": "lesson_complete.lesson_complete_screen_layout" + }, + + "lesson_complete_screen_layout": { + "type": "panel", + "controls": [ + { + "lesson_complete_screen_content_panel": { + "type": "panel", + "size": [ 246, 196 ], + "layer": 2, + "controls": [ + { + "lesson_complete_content@lesson_complete.lesson_completed_dialog_content": {} + } + ] + } + }, + { + "background@common.screen_background": { + "alpha": 0.5, + "layer": 1 + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/library_item_screen.json b/resource_pack/ui/library_item_screen.json new file mode 100644 index 0000000..286d148 --- /dev/null +++ b/resource_pack/ui/library_item_screen.json @@ -0,0 +1,1084 @@ +{ + "namespace": "library_item", + + //-------------------------------------------------------------------------------- + // Buttons + //-------------------------------------------------------------------------------- + + "button_def": { + "type": "stack_panel", + "layer": 1, + "$no_padding|default": false, + "controls": [ + { + "button@common_buttons.light_text_button": { + "size": [ "100%", 18 ] + } + }, + { + "padding@common.empty_panel": { + "ignored": "$no_padding", + "size": [ "100%", 3 ] + } + } + ] + }, + + "message_label": { + "type": "panel", + "controls": [ + { + "message_icon": { + "type": "image", + "size": [ "100%y", "100%" ], + "texture": "textures/ui/infobulb", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "tooltip@common.dynamic_tooltip_below": { + "ignored": "(not $show_tip)", + + "$tool_tip_text_max_size": [ 130, "default" ], + "$tooltip_panel_offset": [ 0, 8 ], + + "$tooltip_popup_image_control_array": [ + { + "tooltip_popup_image_panel": { + "type": "image", + "texture": "textures/ui/infobulb" + } + } + ], + + "$tooltip_text_binding_name": "$button_tip", + "$tooltip_button_binding_type": "none", + "$tooltip_button_collection_name": "" + } + } + ] + } + }, + { + "label@common_buttons.new_ui_binding_button_label": { + "offset": [ "50%y", 0 ], + "$button_text_max_size": [ "100% - 100%y - 2px", 10 ] + } + } + ] + }, + + "fake_locked_state": { + "type": "panel", + "controls": [ + { + "locked@$button_state_panel": { + "$button_type_panel": "library_item.message_label", + "$new_ui_button_texture": "$locked_button_texture", + "$text_color": "$locked_text_color", + "$secondary_text_color": "$light_button_secondary_locked_text_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$light_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_layer": 1, + "layer": 1 + } + } + ] + }, + + "fake_locked@common_buttons.light_text_button": { + "$pressed_button_name": "button.noop", + "$show_tip": false, + "controls": [ + { "default@library_item.fake_locked_state": {} }, + { "hover@library_item.fake_locked_state": { "$show_tip": true } }, + { "pressed@library_item.fake_locked_state": { "$show_tip": true } }, + { "locked@library_item.fake_locked_state": {} } + ] + }, + + "button_tip_locked": { + "type": "stack_panel", + "layer": 1, + "$no_padding|default": false, + "$button_type|default": "common_buttons.light_text_button", + "variables": [ + { + "requires": "(not $button_enabled)", + "$button_type": "library_item.fake_locked" + } + ], + "controls": [ + { + "button@$button_type": { + "size": [ "100%", 18 ] + } + }, + { + "padding@common.empty_panel": { + "ignored": "$no_padding", + "size": [ "100%", 3 ] + } + } + ] + }, + + "play_button@library_item.button_tip_locked": { + "ignored": "(not ($first_button = 'play'))", + "$button_text": "library.item.button.create", + "$pressed_button_name": "button.play_world", + "$button_enabled": "$can_create", + "$button_tip": "$create_tip" + }, + + "sign_in_button@library_item.button_def": { + "ignored": "(not ($first_button = 'sign_in'))", + "$button_text": "library.item.button.signin", + "$pressed_button_name": "button.sign_in", + + "$default_button_texture": "textures/ui/button_purple", + "$pressed_button_texture": "textures/ui/button_borderless_darkpressednohover", + "$locked_button_texture": "textures/ui/disabledButtonNoBorder", + "$default_text_color": "white" + }, + + "share_button@library_item.button_def": { + "ignored": "$share_link_ignored", + "$button_text": "$share_button_world", + "$pressed_button_name": "button.share_world_link" + }, + + "learn_more@library_item.button_def": { + "ignored": "$library_item_learn_more_ignored", + "$button_text": "library.item.button.plan", + "$pressed_button_name": "button.learn_more" + }, + + "resources@library_item.button_def": { + "ignored": "$library_item_resources_ignored", + "$button_text": "library.item.button.resources", + "$pressed_button_name": "button.resources" + }, + + "tag_base": { + "type": "image", + "texture": "textures/ui/effect_background", + "size": [ "100%sm + 10px", 16 ] + }, + + "tag_trailer@library_item.tag": { + "$is_trailer": true + }, + + "tag": { + "type": "panel", + "$pressed_button_name": "button.tag", + "$tag_text|default": "#tag_label", + "$tag_text_binding|default": "collection", + "$is_trailer|default": false, + "$is_vertical|default": false, + "$is_show_more|default": false, + "$priority|default": 1, + "$priority_rule|default": "default", + "$size": [ "100%cm + 3px", 16 ], + "variables": [ + { + "requires": "$is_vertical", + "$size": [ "100%cm", 19 ] + }, + { + "requires": "$is_trailer", + "$button_tts_header": "library.item.tagsAll.tts", + "$pressed_button_name": "button.tag_trailer", + "$tag_text": "...", + "$tag_text_binding": "none", + "$priority": 0, + "$priority_rule": "show_when_controls_are_hidden" + } + ], + "priority": "$priority", + "priority_rule": "$priority_rule", + "size": "$size", + "$collection_name|default": "tag", + "controls": [ + { + "button@common.button": { + "size": [ "100%cm", 16 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "default@library_item.tag_base": { + } + }, + { + "hover@library_item.tag_base": { + "color": [ 0, 1, 0 ] + } + }, + { + "pressed@library_item.tag_base": { + "color": [ 0.6, 0.6, 0.6 ] + } + }, + { + "all_label": { + "type": "label", + "text": "$tag_text", + "color": "$generic_button_text_color", + "offset": [ 0.5, 0.5 ], + "max_size": [ 275, 10 ], + "layer": 1, + "bindings": [ + { + "binding_name": "$tag_text", + "binding_type": "$tag_text_binding", + "binding_collection_name": "$collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name" + } + ], + "property_bag": { + "#show_more": "$is_show_more" + } + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "library_item_screen@common.base_screen": { + // When the player hits Esc (menu_cancel button), they can exit the screen + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.library_back_button", + "mapping_type": "global" + } + ], + "$is_full_screen_layout": true, + "$screen_content": "library_item.screen_content" + }, + + "screen_content": { + "type": "panel", + "controls": [ + { + "download_progress_panel@edu_common.download_progress_modal_panel": { + "$title_text": "library.item.progress.title", + "$body_text": "library.item.progress.body" + } + }, + { + "header@common.fullscreen_header": { + "$back_button_pressed_button_name": "button.library_back_button", + "$back_button_has_title": true, + "$button_text": "gui.back", + "$child_control": "library_item.main_panel" + } + }, + { "search_bar_and_home_button@edu_common.search_bar_and_home_button": {} }, + { + "share_popup_factory@edu_common.share_popup_dialog_factory": {} + }, + { + "all_tags_factory@library_item.all_tags_factory": {} + } + ] + }, + + "main_panel": { + "type": "panel", + "controls": [ + { + "scrolling_content@common.scrolling_panel": { + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "library_item.scrolling_content_panel", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 2, 0 ], + "$scroll_size_touch": "$scroll_size", + "$show_background": false + } + } + ] + }, + + "scrolling_content_panel": { + "type": "panel", + "size": [ "100% - 2px", "100%c + 4px" ], + "controls": [ + { + "scrolling_content": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "controls": [ + { + "resource_uri_notification@library_item.share_notification": { + "ignored": "$resource_uri_notification_ignored" + } + }, + { + "padding": { + "ignored": "$resource_uri_notification_ignored", + "type": "panel", + "size": [ "100%sm", 4 ] + } + }, + { "basic_world_info@library_item.top_panel": {} }, + { "world_info@library_item.info_stack_panel": {} } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Top Section + //-------------------------------------------------------------------------------- + + "basic_info_label": { + "type": "label", + "color": "$body_text_color", + "text": "$info_label_var", + "font_type": "smooth", + "max_size": [ "100%", "default" ], + "font_scale_factor": 1.04 + }, + + "basic_info_panel": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "title@library_item.basic_info_label": { + "$info_label_var": "$library_item_title", + "font_scale_factor": 1.3 + } + }, + { + "author@library_item.basic_info_label": { + "$info_label_var": "$library_item_author" + } + }, + { + "size@library_item.basic_info_label": { + "$info_label_var": "#file_size", + "bindings": [ + { + "binding_name": "#file_size" + } + ] + } + }, + { + "duration@library_item.basic_info_label": { + "ignored": "$library_item_duration_ignored", + "$info_label_var": "$library_item_duration" + } + }, + { + "difficulty@library_item.basic_info_label": { + "ignored": "$library_item_difficulty_ignored", + "$info_label_var": "$library_item_difficulty" + } + }, + { + "age_range@library_item.basic_info_label": { + "ignored": "$library_item_age_range_ignored", + "$info_label_var": "$library_item_age_range" + } + } + ] + }, + + "thumbnail": { + "type": "image", + "bilinear": true, + "fill": true, + "bindings": [ + { + "binding_name": "#world_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "#file_system", + "binding_name_override": "#texture_file_system" + } + ], + "controls": [ + { + "video_link@common.button": { + "ignored": "$library_item_video_ignored", + + "layer": 4, + "$pressed_button_name": "button.play_video", + "controls": [ + { + "mask": { + "type": "image", + "layer": 2, + "texture": "textures/ui/store_play_button_mask" + } + }, + { "default@pdp.play_button": {} }, + { + "hover@pdp.play_button": { + "color": [ 0.215, 0.839, 0.118 ] + } + }, + { + "pressed@pdp.play_button": { + "color": [ 0.215, 0.839, 0.118 ] + } + } + ] + } + } + ] + }, + + "info_and_tags": { + "type": "stack_panel", + "controls": [ + { + "thumbnail_and_info": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "thumbnail_background": { + "type": "image", + "texture": "textures/ui/Black", + "size": [ "100%c + 2px", "100%c + 2px" ], + "controls": [ + { + "thumbnail@library_item.thumbnail": { + "$thumbnail_size": [ "177.78%y", 70 ], + "variables": [ + { + "requires": "$is_ios", + "$thumbnail_size": [ "177.78%y", 50 ] + } + ], + "size": "$thumbnail_size", + "layer": 1 + } + } + ] + } + }, + { "info_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + { + "basic_info@common.tts_label_focus_wrapper": { + "size": [ "fill", "100%cm" ], + "$tts_label_panel": "library_item.basic_info_panel" + } + } + ] + } + }, + { + "tags_wrapper": { + "type": "stack_panel", + "controls": [ + { "tag_padding@common.empty_panel": { "size": [ "100%", 2 ] } }, + { + "tags": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "label_wrapper": { + "type": "panel", + "size": [ "100%c", "100%sm" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$body_text_color", + "text": "library.item.tags", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + }, + { "label_to_buttons@common.empty_panel": { "size": [ 5, "100%sm" ] } }, + { + "tag_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "$collection_name": "tag", + "collection_name": "$collection_name", + "use_priority": true, + "size": [ "fill", 16 ], + "factory": { + "name": "tag_factory", + "control_ids": { + "tag": "@library_item.tag", + "trailer": "@library_item.tag_trailer" + } + }, + "bindings": [ + { + "binding_name": "#tag_buttons", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#tags_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "top_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "info_and_tags@library_item.info_and_tags": { + "size": [ "fill", "100%c" ] + } + }, + { "button_divider@edu_common.vertical_divider": { "size": [ 8, "100%sm" ] } }, + { + "button_panel": { + "type": "stack_panel", + "size": [ 130, "100%c" ], + "controls": [ + { "play_button@library_item.play_button": {} }, + { "sign_in_button@library_item.sign_in_button": {} }, + + { "learn_more_button@library_item.learn_more": {} }, + { "resources_button@library_item.resources": {} }, + { + "share_button@library_item.share_button": { + "$no_padding": true + } + } + ] + } + } + ] + }, + + "notification": { + "type": "image", + "texture": "textures/ui/effect_background", + "size": [ "100%", "100%cm + 10px" ], + "$notification_text|default": "", + "$notification_icon|default": "textures/ui/icon_agent", + "layer": 1, + "controls": [ + { + "notification_controls": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 10px", "100%cm" ], + "layer": 2, + "controls": [ + { + "image_center_panel": { + "type": "panel", + "min_size": [ "100%c", "100%c" ], + "size": [ "100%c", "100%sm" ], + "controls": [ + { + "image": { + "type": "image", + "texture": "$notification_icon", + "size": [ "100%y", 15 ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 5, "100%sm" ] + } + }, + { + "text": { + "type": "label", + "font_type": "smooth", + "color": "$body_text_color", + "text": "$notification_text", + "size": [ "fill", "default" ] + } + } + ] + } + } + ] + }, + + "share_notification@library_item.notification": { + "variables": [ + { + "requires": "($apple_os)", + "$notification_icon": "textures/ui/share_apple" + }, + { + "requires": "($microsoft_os or (not $apple_os and not $google_os))", + "$notification_icon": "textures/ui/share_microsoft" + }, + { + "requires": "($google_os)", + "$notification_icon": "textures/ui/share_google" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Tag Popup + //-------------------------------------------------------------------------------- + + "all_tags_factory": { + "type": "factory", + "control_ids": { + "all_tags_popup": "@library_item.all_tags_popup" + } + }, + + "all_tags_popup": { + "type": "input_panel", + "modal": true, + // Layer needs to be this big otherwise the back button + // bleeds through. + "layer": 300, + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.tag_escape", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ], + "controls": [ + { + "dim_background": { + "type": "image", + "texture": "textures/ui/control", + "size": [ "100%", "100%" ], + "alpha": 0.8 + } + }, + { + "background_clickable@common.button": { + "size": [ "100%", "100%" ], + "hover_control": "default", + "pressed_control": "default", + "$pressed_button_name": "button.tag_escape", + "$button_tts_name": "", + "controls": [ + { + "default@common.empty_panel": { + } + } + ] + } + }, + { "all_tags_panel@library_item.all_tags_panel": {} } + ] + }, + + "all_tags_panel": { + "type": "input_panel", + "size": [ "100%cm", "100%cm" ], + "layer": 5, + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/tooltip_default_background", + "size": [ "100%sm + 6px", "100%sm + 6px" ] + } + }, + { + "title_and_content": { + "layer": 1, + "type": "stack_panel", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "top_padding@common.empty_panel": { + "size": [ "100%sm", 3 ] + } + }, + { + "title_aligner": { + "type": "panel", + "size": [ "100%sm", "100%c" ], + "controls": [ + { + "title_mover": { + "type": "panel", + "size": [ "100%", "100%c" ], + "offset": [ 3, -2 ], + "controls": [ + { + "label@common.minecraftTenLabel": { + "text": "library.item.tagsAll", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + } + ] + } + }, + { + "content@library_item.all_tags_content": { + } + } + ] + } + } + ] + }, + + "all_tags_stack": { + "type": "stack_panel", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "tags": { + "$is_vertical": true, + "$is_show_more": true, + "type": "stack_panel", + "$collection_name": "all_tags", + "collection_name": "$collection_name", + "size": [ "100%cm", "100%c" ], + "min_size": [ 100, "100%c" ], + "factory": { + "name": "tag_factory", + "control_name": "library_item.tag" + }, + "bindings": [ + { + "binding_name": "#tag_count", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + }, + + "all_tags_content": { + "type": "panel", + "size": [ "100%cm + 6px", "100%cm" ], + "controls": [ + { + "scrolling_content@common.scrolling_panel": { + "size": [ "100%cm", 160 ], + + "$scrolling_pane_size": [ "100%cm", "100%" ], + + "$scroll_view_control_size": [ "100%cm", "100%" ], + + "$scroll_view_stack_panel_size": [ "100%c", "100%" ], + "$scroll_view_port_panel_size": [ "100%cm", "100%" ], + + + "$view_port_size": [ "100%cm", "100%" ], + "$view_port_size_touch": "$view_port_size", + + "$scroll_view_port_size": [ "100%cm", "100%" ], + "$scroll_view_port_size_touch": "$scroll_view_port_size", + + "$scroll_view_port_max_size": [ "100%cm", "100%" ], + "$scroll_view_port_max_size_touch": [ "100%cm", "100%" ], + + "$scroll_size": [ 5, "100% - 3px" ], + "$scroll_size_touch": "$scroll_size", + + "$scrolling_content": "library_item.all_tags_stack", + "$show_background": false, + "$scroll_bar_left_padding_size": [ 3, 0 ], + "$scroll_bar_right_padding_size": [ 1, 0 ], + "$scroll_track_anchor": "top_middle", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle" + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Info Sections + //-------------------------------------------------------------------------------- + + // Base definition for info sections + "info_type_binding": { + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#section_type_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$section_collection" + } + ], + "property_bag": { + "#info_type": "$info_type" + } + }, + + "info_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "divider@edu_common.horizontal_divider": {} }, + { + "header": { + "type": "label", + "color": "$body_text_color", + "text": "#section_header", + "bindings": [ + { + "binding_name": "#section_header", + "binding_type": "collection", + "binding_collection_name": "$section_collection" + } + ] + } + }, + { "header_padding@common.empty_panel": { "size": [ "100%", 2 ] } }, + { + "section_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "background@common.dialog_background_hollow_4_thin": { + "size": [ "100%", "100%sm + 20px" ] + } + }, + { + "section_content": { + "type": "panel", + "size": [ "100% - 20px", "100%c" ], + "layer": 3, + "controls": [ + { "expandable_info@library_item.expandable_info": {} } + // Add more types of panels here + ] + } + } + ] + } + } + ] + }, + + "info_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "$section_collection": "info_panels", + "collection_name": "$section_collection", + "factory": { + "name": "info_item_factory", + "control_name": "library_item.info_section" + }, + "bindings": [ + { + "binding_name": "#info_item_count", + "binding_name_override": "#collection_length" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Expandable Text Section + + "expandable_body_label": { + "type": "label", + "font_type": "smooth", + "$text_color|default": "$body_text_color", + "color": "$text_color", + "text": "$text_binding_name", + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "$text_binding_name", + "binding_type": "collection", + "binding_collection_name": "$section_collection" + } + ] + }, + + "expandable_button_label": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "label@library_item.expandable_body_label": { + "anchor_from": "top_right", + "anchor_to": "top_right" + } + }, + { + "underline": { + "type": "image", + "size": [ "100%sm", 1 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "texture": "textures/ui/White", + "color": "$text_color" + } + } + ] + }, + + "expandable_body_panel_def": { + "type": "panel", + "bindings": [ + { + "binding_name": "$body_visible_binding", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$section_collection" + } + ] + }, + + "expandable_body": { + "type": "stack_panel", + "$text_binding_name": "#body_text", + "controls": [ + { + "slim_body_wrapper@library_item.expandable_body_panel_def": { + "$body_visible_binding": "(not #text_expanded)", + "size": [ "100%", 30 ], + "controls": [ + { + "slim_body@library_item.expandable_body_label": { + "max_size": [ "100%", "100%" ] + } + } + ] + } + }, + { + "body_wrapper@library_item.expandable_body_panel_def": { + "$body_visible_binding": "#text_expanded", + "size": [ "100%", "100%c" ], + "min_size": [ "100%", 30 ], + "controls": [ + { + "body@library_item.expandable_body_label": { + "max_size": [ "100%", "default" ] + } + } + ] + } + } + ] + }, + + "expandable_info@library_item.info_type_binding": { + "$info_type": "expandable", + + "type": "stack_panel", + "controls": [ + { + "body_focus@common.tts_label_focus_wrapper": { + "size": [ "100%", "100%cm - 4px" ], + "$focus_border_size": [ "100% + 4px", "100%sm + 4px" ], + "$tts_label_panel": "library_item.expandable_body" + } + }, + { + "expand_padding@common.empty_panel": { + "size": [ "100%", 3 ] + } + }, + { + "expand_toggle_button@common.button": { + "size": [ "100%", "100%c" ], + "$pressed_button_name": "button.expandable.expand", + "$interact_color": [ 0.215, 0.839, 0.118 ], + "$text_binding_name": "#expand_text", + "controls": [ + { "default@library_item.expandable_button_label": { "$text_color": [ 1, 1, 1 ] } }, + { "hover@library_item.expandable_button_label": { "$text_color": "$interact_color" } }, + { "pressed@library_item.expandable_button_label": { "$text_color": "$interact_color" } } + ], + "$button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$section_collection" + }, + { + "binding_name": "#can_expand", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$section_collection" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/library_modal_screen.json b/resource_pack/ui/library_modal_screen.json new file mode 100644 index 0000000..7cd6401 --- /dev/null +++ b/resource_pack/ui/library_modal_screen.json @@ -0,0 +1,241 @@ +{ + "namespace": "library_modal", + + "modal_button@common_buttons.light_text_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$button_mapping", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$button_mapping", + "mapping_type": "focused" + } + ] + }, + + "modal_text_content": { + "type": "label", + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 4px", "default" ], + "offset": [ 2, 2 ], + "color": "$f_color_format", + "text": "$modal_text" + }, + + "modal_ok@library_modal.modal_button": { + "$button_mapping": "button.ok", + "$button_text": "gui.ok" + }, + + "modal_cancel@library_modal.modal_button": { + "$button_mapping": "button.cancel", + "$button_text": "gui.cancel" + }, + + "in_game_prompt@common_dialogs.main_panel_two_buttons": { + "$show_close_button": false, + "$child_control": "library_modal.modal_text_content", + "$top_button_panel": "library_modal.modal_ok", + "$bottom_button_panel": "library_modal.modal_cancel", + "$modal_text": "library.prompt.inGameLink", + "bindings": [ + { + "binding_name": "#show_in_game_prompt", + "binding_name_override": "#visible" + } + ] + }, + + "fetch_error@common_dialogs.main_panel_one_button": { + "$show_close_button": false, + "$button_panel": "library_modal.modal_ok", + "$child_control": "library_modal.modal_text_content", + "$modal_text": "library.fetchingItem.failed", + "bindings": [ + { + "binding_name": "#show_fetch_error", + "binding_name_override": "#visible" + } + ] + }, + + "content": { + "type": "panel", + "size": [ 250, 150 ], + "controls": [ + { "fetch@library_modal.fetch_error": {} }, + { "ingame@library_modal.in_game_prompt": {} } + ] + }, + + // Wrap input panel to catch input so user must press modal button (or esc) to dismiss + "content_wrapper": { + "type": "input_panel", + "controls": [ + { "content@library_modal.content": {} } + ] + }, + + "background": { + "type": "image", + "texture": "textures/ui/Banners", + "alpha": 0.4, + "layer": -1 + }, + + "library_modal_screen@common.base_screen": { + "$screen_content": "library_modal.content_wrapper", + "$screen_bg_content": "library_modal.background", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "90%", "100%" ], + "anchor_from": "center", + "anchor_to": "center" + }, + + "edu_icon": { + "type": "image", + "texture": "textures/ui/eduicon" + }, + + "continue_button@library_modal.modal_button": { + "$button_mapping": "button.continue", + "$button_text": "gui.continue" + }, + + "paragraph": { + "size": [ "100%", "default" ], + "type": "label", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "color": "$dark_button_default_text_color", + "layer": 1, + "shadow": false, + "$welcome_text|default": "", + "text": "$welcome_text", + "font_type": "smooth" + }, + + "welcome_text_panel@library_modal.text_panel": { + "size": [ "100%-12px", "100%c" ], + "controls": [ + { "padding_1@common.empty_panel": { "size": [ "100%", 10 ] } }, + { + "paragraph_1_wrapper": { + "size": [ "100%", 40 ], + "type": "stack_panel", + "orientation": "horizontal", + "controls": [ + { "edu_icon@library_modal.edu_icon": { "size": [ 40, "100%" ] } }, + { "stack_buffer1@common.empty_panel": { "size": [ "2%", "100%" ] } }, + { + "paragraph_1_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "paragraph_1@library_modal.paragraph": { + "anchor_from": "center", + "anchor_to": "center", + "$welcome_text": "library.welcome.1" + } + } + ] + } + } + ] + } + }, + { "padding_2@common.empty_panel": { "size": [ "100%", 10 ] } }, + { "paragraph_two@library_modal.paragraph": { "$welcome_text": "library.welcome.2" } }, + { "padding_3@common.empty_panel": { "size": [ "100%", 10 ] } }, + { + "paragraph_three@library_modal.paragraph": { + // This part mentions "beta" and "in progress" wording that is not allowed by ios certification + "ignored":"$is_ios", + "$welcome_text": "library.welcome.3" + } + } + ] + }, + + "welcome_scrolling_panel@common.scrolling_panel": { + "$scroll_size": [ 6, "100% - 4px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$scrolling_content": "library_modal.welcome_text_panel", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 2, 0 ], + "$show_background": false + }, + + "welcome_panel_content": { + "type": "panel", + "size": [ "70%", "85%" ], + "$background_fill_alpha|default": 1.0, + "controls": [ + { + "background_panel@common.common_panel": { + "layer": 1, + "$dialog_background": "dialog_background_hollow_5", + "$fill_alpha": "$background_fill_alpha", + "$show_close_button": false + } + }, + { + "welcome_scrolling_panel@library_modal.welcome_scrolling_panel": { + // SizeY: -15 for offset, -30 for button size, -15 to look nice and be safe + "size": [ "100%-16px", "100% - 15px - 30px - 15px" ], + "offset": [ 0, 15 ], + "layer": 2 + } + }, + { + "continue_button@library_modal.continue_button": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%-12px", 30 ], + "offset": [ 0, -8 ] + } + } + ] + }, + + "welcome_panel@common.input_panel": { + "layer": 15, + "size": [ "100%", "100%" ], + // Stop mouse scroll from controlling scrollbar underneath + "modal": true, + "bindings": [ + { + "binding_name": "#welcome", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "welcome@library_modal.welcome_panel_content": { + "layer": 1, + "$pressed_button_name": "button.download_cancel" + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/library_screen.json b/resource_pack/ui/library_screen.json new file mode 100644 index 0000000..5a51218 --- /dev/null +++ b/resource_pack/ui/library_screen.json @@ -0,0 +1,572 @@ +{ + "namespace": "library", + /* Table of Contents + Misc Definitions + Grid + Main Screen + Base Screen + */ + + //--------------------------------------------------------------------------- + // Misc Definitions + //--------------------------------------------------------------------------- + + "base_label": { + "type": "label", + "color": "$body_text_color", + "font_type": "smooth", + + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + }, + + "feedback_icon": { + "type": "image", + "texture": "textures/ui/Feedback", + "layer": 3, + "size": [ 16, 16 ] + }, + + "find_more_worlds_icon": { + "type": "image", + "texture": "textures/ui/worldsIcon", + "size": [ 16, 17 ] + }, + + "gray_overlay": { + "type": "image", + "texture": "textures/ui/Gray", + "size": [ "100%", "100%" ], + "alpha": 0.8 + }, + + "locked_overlay": { + "type": "image", + "texture": "textures/ui/Black", + "size": [ "100%", "100%" ], + "alpha": 0.4, + "controls": [ + { + "small_lock@library.locked_item_icon": { + "layer": 1, + "size": [ 22, 22 ] + } + } + ] + }, + + "completed_item_icon": { + "type": "image", + "texture": "textures/ui/check", + "size": [ 44, 32 ] + }, + + "locked_item_icon": { + "type": "image", + "texture": "textures/ui/lock_color", + "size": [ 44, 44 ] + }, + + //--------------------------------------------------------------------------- + // Grid + //--------------------------------------------------------------------------- + + "world_image": { + "type": "image", + "fill": true, + "bilinear": true, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "item_column_collection", + "binding_collection_prefix": "item_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "item_row_collection", + "binding_collection_prefix": "item_row" + }, + { + "binding_name": "#world_texture", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_name": "#file_system", + "binding_name_override": "#texture_file_system", + "binding_type": "global" + } + ], + "$image_binding_sibling_def": [ + { + "binding_type": "view", + "resolve_sibling_scope": true, + "source_control_name": "image_binding_object", + "source_property_name": "$visible_binding", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "image_binding_object@common.empty_panel": { + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "item_column_collection", + "binding_collection_prefix": "item_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "item_row_collection", + "binding_collection_prefix": "item_row" + }, + { + "binding_name": "#is_complete", + "binding_type": "global" + }, + { + "binding_name": "#is_enabled", + "binding_type": "global" + }, + { + "binding_name": "#is_demo_locked", + "binding_type": "global" + }, + { + "binding_name": "#should_display_new_icon", + "binding_type": "global" + } + ] + } + }, + { + "new_item_tag@common_store.status_new_offer_icon": { + "offset": [ 3, -3 ], + "$visible_binding": "#should_display_new_icon", + "bindings": "$image_binding_sibling_def" + } + }, + { + "gray_overlay@library.gray_overlay": { + "layer": 2, + "$visible_binding": "(#is_complete or not #is_enabled)", + "bindings": "$image_binding_sibling_def" + } + }, + { + "locked_overlay@library.locked_overlay": { + "layer": 2, + "$visible_binding": "#is_demo_locked", + "bindings": "$image_binding_sibling_def" + } + }, + { + "completed_item_icon@library.completed_item_icon": { + "layer": 3, + "$visible_binding": "#is_complete", + "bindings": "$image_binding_sibling_def" + } + }, + { + "locked_item_icon@library.locked_item_icon": { + "layer": 4, + "$visible_binding": "(not #is_complete and not #is_enabled)", + "bindings": "$image_binding_sibling_def" + } + } + ] + }, + + "title_label@library.base_label": { + "text": "#library_item_title", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "item_column_collection", + "binding_collection_prefix": "item_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "item_row_collection", + "binding_collection_prefix": "item_row" + }, + { + "binding_name": "#library_item_title", + "binding_type": "global" + } + ] + }, + + "creator_label@library.base_label": { + "text": "#creator", + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "item_column_collection", + "binding_collection_prefix": "item_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "item_row_collection", + "binding_collection_prefix": "item_row" + }, + { + "binding_name": "#creator", + "binding_type": "global" + } + ] + }, + + "world_info_slim": { + "type": "stack_panel", + "size": [ "100% - 6px", "100% - 2px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "title@library.title_label": { + "size": [ "100%", "default" ], + "max_size": [ "100%", 20 ] + } + }, + { "title_creator_split@common.empty_panel": { "size": [ "100%", "fill" ] } }, + { + "creator@library.creator_label": { + "size": [ "100%", "default" ], + "max_size": [ "100%", 10 ] + } + } + ] + }, + + "world_info_full": { + "type": "stack_panel", + "size": [ "100% - 6px", "100% - 4px" ], + "offset": [ 0, 2 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "title_creator_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "title@library.title_label": { + "size": [ "fill", "default" ], + "max_size": [ "fill", 20 ] + } + }, + { "title_creator_split@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + { + "creator_wrapper": { + "type": "panel", + "size": [ "fill", "100%sm" ], + "controls": [ + { + "creator@library.creator_label": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", "default" ], + "max_size": [ "100%", 10 ] + } + } + ] + } + } + ] + } + }, + { "top_bottom_padding@common.empty_panel": { "size": [ "100%", 2 ] } }, + { + "description_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "description@library.base_label": { + "text": "#description", + "color": "$light_button_secondary_default_text_color", + "size": [ "100%", "default" ], + "max_size": [ "100%", "100%" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "item_column_collection", + "binding_collection_prefix": "item_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "item_row_collection", + "binding_collection_prefix": "item_row" + }, + { + "binding_name": "#description", + "binding_type": "global" + } + ] + } + } + ] + } + } + ] + }, + + "library_grid_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + + "$full_button_size|default": [ "fill", "60%x + 33px" ], + "$button_image_size|default": [ "100%", "fill" ], + "$button_label_size|default": [ "100%", 32 ], + "$button_label_control": "library.world_info_slim", + "variables": [ + { + "requires": "$is_large_button", + "$full_button_size": [ "fill", "90%x" ], + "$button_image_size": [ "100%", "60%x" ], + "$button_label_size": [ "100%", "fill" ], + "$button_label_control": "library.world_info_full" + } + ], + + "controls": [ + { "left_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + { + "button@common_buttons.transparent_label_nestable_button": { + "size": "$full_button_size", + + "$use_parent_size": true, + "$nestable_button_size": [ "100%", "100%" ], + + "$pressed_button_name": "button.library_item", + "$has_special_button_bindings": true, + "$special_nested_button_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "item_column_collection", + "binding_collection_prefix": "item_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "item_row_collection", + "binding_collection_prefix": "item_row" + }, + { + "binding_name": "#is_enabled", + "binding_name_override": "#enabled", + "binding_type": "global" + } + ], + + "$nested_button_content_size": "$button_image_size", + "$nested_content_control": "library.world_image", + + "$nested_button_label_size": "$button_label_size", + "$nested_label_control": "$button_label_control", + + "$transparent_label_color": [ 0, 0, 0 ], + "$transparent_label_hover_color": [ 0, 0.45, 0 ], + "$transparent_label_pressed_color": [ 0, 0.45, 0 ], + "$nested_transparent_label_alpha": 0.7, + "$nested_asset_locked_alpha": 0.7 + } + }, + { "right_padding@common.empty_panel": { "size": [ 2, "100%sm" ] } } + ] + }, + + "grid_content@edu_common.stack_panel_grid": { + "$grid_collection_prefix": "item", + "$stack_grid_item": "library.library_grid_item" + }, + + //--------------------------------------------------------------------------- + // Main Screen + //--------------------------------------------------------------------------- + + "main_stack_panel": { + "type": "stack_panel", + "controls": [ + { + "search_result_info_panel": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.7, + "ignored": "$ignore_search_result_info_panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "$default_focus_border_control": "edu_common.border", + "size": [ "100%", "100%sm + 10px" ], + "layer": 1, + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "text_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 10px", "100%c" ], + "controls": [ + { + "result_count": { + "type": "label", + "color": "$body_text_color", + "font_type": "smooth", + "text": "#library_search_result_string", + "bindings": [ + { + "binding_name": "#library_search_result_string" + } + ] + } + }, + { + "sort_method": { + "type": "label", + "color": "$body_text_color", + "font_type": "smooth", + "text": "#library_search_sort_method_string", + "bindings": [ + { + "binding_name": "#library_search_sort_method_string" + } + ] + } + } + ] + } + } + ] + } + }, + { + "search_result_info_panel_to_grid@common.empty_panel": { + "ignored": "$ignore_search_result_info_panel", + "size": [ "100%", 4 ] + } + }, + { "description@edu_common.description_panel": {} }, + { + "description_to_grid@common.empty_panel": { + "ignored": "$ignore_page_description", + "size": [ "100%", 4 ] + } + }, + { + "grid_content_wrapper@edu_common.vertical_stack_item": { + "controls": [ + { "grid_content@library.grid_content": {} } + ] + } + } + ] + }, + + "scrolling_content": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "scrolling_content_padded": { + "type": "panel", + "size": [ "100% - 4px", "100%c + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "main_stack_panel@library.main_stack_panel": {} } + ] + } + }, + { + "worlds_populating_progress@progress.progress_panel": { + "size": [ 200, 200 ], + "bindings": [ + { + "binding_name": "#show_worlds_populating_progress", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "main_panel@common.scrolling_panel": { + "$scroll_size": [ 5, "100% - 8px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$scrolling_content": "library.scrolling_content", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 2, 0 ], + "$show_background": false + }, + + //--------------------------------------------------------------------------- + // Base Screen + //--------------------------------------------------------------------------- + + "screen_content_stack": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "header": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "title@edu_common.edu_screen_header": { + "$title_texture": "$library_screen_header_icon", + "$title_has_image": true, + "$title_text": "$library_screen_header_title" + } + }, + { "search_bar_and_home_button@edu_common.search_bar_and_home_button": {} } + ] + } + }, + { "main_panel@library.main_panel": { "size": [ "100%", "fill" ] } } + ] + }, + + "screen_content": { + "type": "panel", + "controls": [ + { "screen_content_stack@library.screen_content_stack": {} }, + { + "welcome_panel@library_modal.welcome_panel": { + // Make the input_panel be above the header's back button and the "new" tags + "layer": 201 + } + } + ] + }, + + "library_screen@common.base_screen": { + // When the player hits Esc (menu_cancel button), they can exit the screen + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$is_full_screen_layout": true, + "$screen_content": "library.screen_content" + } +} diff --git a/resource_pack/ui/local_world_picker_screen.json b/resource_pack/ui/local_world_picker_screen.json new file mode 100644 index 0000000..d5a735a --- /dev/null +++ b/resource_pack/ui/local_world_picker_screen.json @@ -0,0 +1,62 @@ +{ + "namespace": "local_world_picker", + + "local_world_picker_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "local_world_picker.local_world_picker_content" + }, + + "local_world_picker_content": { + "type": "panel", + "size": "$narrow_screen_size", + "controls": [ + { + "background@common.common_panel": { + "$dialog_background": "dialog_background_hollow_3", + "$show_close_button": true + } + }, + { + "panel_label": { + "type": "label", + "offset": [ 0, 7 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text": "realmsCreateScreen.chooseWorld", + "color": "$title_text_color", + "layer": 2 + } + }, + { + "content@play.worlds_scroll_content": { + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + // background_hollow_3 has a (6, 21, 6, 6) nineslice offset, so we need to modify the size and offsets + "size": [ "100%-12px", "100%-27px" ], + "offset": [ 6, 21 ], + "$local_world_edit_button_visible": false, + "$world_picker_screen": true + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/loom_screen.json b/resource_pack/ui/loom_screen.json new file mode 100644 index 0000000..04b7aba --- /dev/null +++ b/resource_pack/ui/loom_screen.json @@ -0,0 +1,947 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "loom", + + //--------------------------------------------------------------------------- + // #region common images + //--------------------------------------------------------------------------- + + "loom_label": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$title_text_color", + "layer": 1, + "text": "container.loom" + }, + + "arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_large", + "size": [ 18, 12 ] + }, + + "pattern_cell_image": { + "type": "image", + "layer": 1, + "bindings": [ + { + "binding_name": "#pattern_cell_background_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "always_when_visible" + } + ] + }, + + "container_cell_image": { + "type": "image", + "$cell_images_binding_condition|default": "visible", + "size": "$cell_image_size", + "$cell_image_size|default": [ "default", "default" ], + + "bindings": [ + { + "binding_name": "#container_cell_background_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$cell_images_binding_condition" + } + ] + }, + + "banner_outline": { + "type": "image", + "texture": "textures/ui/Banners" + }, + + "item_empty_image": { + "type": "image", + "layer": 2, + "size": [ 16, 16 ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#empty_image_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "banner_empty_image@loom.item_empty_image": { + "texture": "textures/ui/loom_banner_empty" + }, + + "dye_empty_image@loom.item_empty_image": { + "texture": "textures/ui/loom_dye_empty" + }, + + "pattern_item_empty_image@loom.item_empty_image": { + "texture": "textures/ui/loom_pattern_item_empty" + }, + + "toolbar_background": { + "type": "image", + "texture": "textures/ui/toolbar_background" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region pattern book + //--------------------------------------------------------------------------- + + "highlight_slot_panel": { + "type": "panel", + "controls": [ + { + "highlight@common.highlight_slot": { + "layer": 1, + "bindings": [ + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "white_border@common.white_border_slot": { + "layer": 1, + "bindings": [ + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "pattern_slot_button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + + "$focus_id_binding_type|default": "collection", + "$focus_override_down_binding_type|default": "collection", + "$focus_override_up_binding_type|default": "collection", + "$focus_override_left_binding_type|default": "collection", + "$focus_override_right_binding_type|default": "collection", + + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + "focus_wrap_enabled": false, + "focus_magnet_enabled": true, + "$highlight_control|default": "loom.highlight_slot_panel", + + "sound_name": "ui.loom.select_pattern", + "sound_volume": 1.0, + "sound_pitch": 1.0, + + "default_focus_precedence": 1, + "hover_control": "hover", + "layer": 1, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_id_binding_type", + "binding_name": "#focus_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_down_binding_type", + "binding_name": "#focus_change_down", + "binding_name_override": "#focus_change_down", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_up_binding_type", + "binding_name": "#focus_change_up", + "binding_name_override": "#focus_change_up", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_left_binding_type", + "binding_name": "#focus_change_left", + "binding_name_override": "#focus_change_left", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_right_binding_type", + "binding_name": "#focus_change_right", + "binding_name_override": "#focus_change_right", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.pattern_select", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover@$highlight_control": {} + } + ] + }, + + "banner_pattern": { + "type": "custom", + "renderer": "banner_pattern_renderer", + "size": [ 7, 14 ], + "bindings": [ + { + "binding_name": "#banner_patterns", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#banner_colors", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "pattern_button": { + "layer": 2, + "type": "input_panel", + "size": [ 18, 18 ], + "$button_ref|default": "loom.pattern_slot_button", + "$banner_pattern_ref|default": "loom.banner_pattern", + "$background_images|default": "loom.pattern_cell_image", + "$background_image_control_name|default": "bg", + + "controls": [ + { + "$background_image_control_name@$background_images": { + "layer": 1 + } + }, + { + "banner_pattern@$banner_pattern_ref": { + "layer": 6 + } + }, + { "item_button_ref@$button_ref": {} } + ] + }, + + "scroll_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + + "$binding_condition|default": "visible", + "$grid_item_template|default": "loom.pattern_button", + + "collection_name": "$collection_name", + "grid_rescaling_type": "horizontal", + "grid_item_template": "$grid_item_template", + "bindings": [ + { + "binding_name": "#pattern_selector_total_items", + "binding_name_override": "#maximum_grid_items", + "binding_condition": "$binding_condition", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "scroll_grid_panel@common.root_panel": { + "type": "input_panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { "grid@loom.scroll_grid": {} } + ] + }, + + "scroll_panel@common.container_scroll_panel": { + "size": [ "100% - 12px", "100% - 12px" ], + + "$scrolling_content": "loom.scroll_grid_panel", + "$collection_name": "patterns" + }, + + "pattern_book_panel@common.root_panel": { + "size": [ 146, 166 ], + "controls": [ + { + "bg@common.common_panel": { + "$show_close_button": false + } + }, + { "scroll_panel@loom.scroll_panel": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region top half item slots + //--------------------------------------------------------------------------- + + "result_slot_button@common.no_coalesce_container_slot_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.loom_result_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.loom_result_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.loom_result_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.loom_result_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.loom_result_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "input_item_slot@common.container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_input_items", + "$cell_overlay_ref": "loom.banner_empty_image" + }, + + "dye_item_slot@common.container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_dye_items", + "$cell_overlay_ref": "loom.dye_empty_image" + }, + + "material_item_slot@common.container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_material_items", + "$cell_overlay_ref": "loom.pattern_item_empty_image", + "$item_renderer_binding_condition": "always_when_visible", + "$background_images": "loom.container_cell_image", + "$cell_images_binding_condition": "always_when_visible" + }, + + "result_item_slot@common.container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_result_items", + "$button_ref": "loom.result_slot_button" + }, + + "input_slots_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "input_item_slot@loom.input_item_slot": {} }, + { + "padding_1": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { "dye_item_slot@loom.dye_item_slot": {} }, + { + "padding_2": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { "material_item_slot@loom.material_item_slot": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region right panel, inventory and loom crafting + //--------------------------------------------------------------------------- + + "result_banner_renderer": { + "type": "custom", + "renderer": "banner_pattern_renderer", + "size": [ 20, 40 ], + "bindings": [ + { + "binding_name": "#result_patterns", + "binding_name_override": "#banner_patterns", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#result_colors", + "binding_name_override": "#banner_colors", + "binding_condition": "always_when_visible" + } + ] + }, + + "top_half_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "input_slots_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { "input_slots_stack_panel@loom.input_slots_stack_panel": {} } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "arrow_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { "arrow_icon@loom.arrow_icon": {} } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "result_item_slot_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { "result_item_slot@loom.result_item_slot": {} } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "result_banner_outline@loom.banner_outline": { + "size": [ "100%c + 2px", "100%c + 2px" ], + "layer": 1, + "controls": [ + { + "result_banner_renderer@loom.result_banner_renderer": { + "layer": 1 + } + } + ] + } + } + ] + }, + + "top_half_panel": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 14px", "50% - 22px" ], + "offset": [ 0, 15 ], + "controls": [ + { "top_half_stack_panel@loom.top_half_stack_panel": {} } + ] + }, + + "right_panel@common.root_panel": { + "layer": 1, + "controls": [ + { + "common_panel@common.common_panel": { + "$show_close_button": false + } + }, + { + "loom_screen_inventory": { + "type": "panel", + "layer": 2, + "controls": [ + { + "loom_label@loom.loom_label": { + "offset": [ 0, 5 ] + } + }, + { "top_half_panel@loom.top_half_panel": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region screen + //--------------------------------------------------------------------------- + + "help_button@common.help_button": { + "layer": 5, + "$focus_id": "help_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP" + }, + + "toolbar_panel@common.root_panel": { + "size": [ "100%c", 20 ], + "controls": [ + { + "toolbar_background@loom.toolbar_background": { + "size": [ "100%cm", "100% + 8px" ], + "offset": [ 0, -3 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + + "controls": [ + { + "toolbar_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + + "size": [ "default", "100% - 8px" ], + "offset": [ 0, 3 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "help_button_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { "help_button@loom.help_button": {} } + ] + } + }, + { + "close_button_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "close_button@common.light_close_button": { + "size": [ "100%cm", "100%cm" ], + "offset": [ 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 6, 0 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "toolbar_anchor": { + "type": "panel", + "size": [ 0, 0 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "toolbar_panel@loom.toolbar_panel": { + "anchor_from": "top_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region screen + //--------------------------------------------------------------------------- + + "center_fold@common.root_panel": { + "size": [ 4, 166 ], + "controls": [ + { + "center_bg": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "size": [ "100% + 8px", "100% - 6px" ] + } + } + ] + }, + + "screen_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "pattern_book_panel@loom.pattern_book_panel": {} }, + { "center_fold@loom.center_fold": {} }, + { "right_panel@loom.right_panel": {} }, + { "toolbar_anchor@loom.toolbar_anchor": {} } + ] + }, + + "loom_panel": { + "type": "panel", + "controls": [ + { "screen_stack_panel@loom.screen_stack_panel": {} }, + + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + }, + + "loom_screen@common.inventory_screen_common": { + "close_on_player_hurt": true, + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "button_mappings": "$button_mappings", + + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "loom.loom_panel" + }, + { + "requires": "$pocket_screen", + "$screen_content": "loom_pocket.loom_panel", + "$button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.left_panel_tab_decrement", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_left", + "to_button_id": "button.left_panel_tab_increment", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_right", + "to_button_id": "button.menu_alternate_tab_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.controller_secondary_select_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_clear", + "to_button_id": "button.menu_clear", + "mapping_type": "focused" + } + ] + } + ], + + "$button_mappings|default": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.focus_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_right", + "to_button_id": "button.focus_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.chat", + "to_button_id": "button.chat", + "mapping_type": "global" + } + ] + } +} + +// #endregion diff --git a/resource_pack/ui/loom_screen_pocket.json b/resource_pack/ui/loom_screen_pocket.json new file mode 100644 index 0000000..5e14aad --- /dev/null +++ b/resource_pack/ui/loom_screen_pocket.json @@ -0,0 +1,502 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "loom_pocket", + + //--------------------------------------------------------------------------- + // #region Images + //--------------------------------------------------------------------------- + + "vertical_arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_down_large", + "size": [ 15, 22 ] + }, + + "banner_empty_image@loom.banner_empty_image": { + "size": [ 28, 28 ] + }, + + "dye_empty_image@loom.dye_empty_image": { + "size": [ 28, 28 ] + }, + + "pattern_item_empty_image@loom.pattern_item_empty_image": { + "size": [ 28, 28 ] + }, + + "chest_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": 3538944, + "#collection_name": "inventory_tab", + "#collection_index": 0 + } + }, + + "banner_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": 29229057, + "#collection_name": "patterns_tab", + "#collection_index": 0 + } + }, + + "loom_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": -13369344, + "#collection_name": "loom_tab", + "#collection_index": 0 + } + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Item Slots + //--------------------------------------------------------------------------- + + "input_item_slot@common.pocket_ui_container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_input_items", + "$cell_overlay_ref": "loom_pocket.banner_empty_image" + }, + + "dye_item_slot@common.pocket_ui_container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_dye_items", + "$cell_overlay_ref": "loom_pocket.dye_empty_image" + }, + + "material_item_slot@common.pocket_ui_container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_material_items", + "$cell_overlay_ref": "loom_pocket.pattern_item_empty_image", + "$item_renderer_binding_condition": "always_when_visible", + "$background_images": "loom.container_cell_image", + "$cell_images_binding_condition": "always_when_visible" + }, + + "result_item_slot@common.pocket_ui_container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "loom_result_items", + "$button_ref": "loom.result_slot_button" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right Panel + //--------------------------------------------------------------------------- + + "right_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "loom_content_stack_panel@loom_pocket.loom_content_stack_panel": { + "layer": 2 + } + } + ] + } + }, + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%" ], + "controls": [ + { "right_navigation_tabs@loom_pocket.right_navigation_tabs": {} } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right Navigation Tabs + //--------------------------------------------------------------------------- + + "right_tab_loom@common_tabs.pocket_tab_right": { + "$tab_view_binding_name": "loom_tab_toggle", + + "$tab_content": "loom_pocket.loom_item_renderer", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_right_tab_loom" + }, + + "right_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "100%" ], + "offset": [ -4, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "pocket_tab_close_and_help_button@common_tabs.pocket_tab_close_and_help_button": {} }, + { + "fill": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "right_tab_loom@loom_pocket.right_tab_loom": { + "$is_bottom_most_tab": true + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Loom Content + //--------------------------------------------------------------------------- + + "input_slots_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "input_item_slot@loom_pocket.input_item_slot": {} }, + { + "padding_1": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { "dye_item_slot@loom_pocket.dye_item_slot": {} }, + { + "padding_2": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { "material_item_slot@loom_pocket.material_item_slot": {} } + ] + }, + + "result_banner_outline@loom.banner_outline": { + "size": [ "50%y", "100%" ], + "layer": 1, + "controls": [ + { + "result_banner_renderer@loom.result_banner_renderer": { + "layer": 1, + "size": [ "100% - 2px", "100% - 2px" ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Loom Content Stack Panel + //--------------------------------------------------------------------------- + + "loom_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 12px", "100% - 12px" ], + "controls": [ + { + "label_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "loom_label@loom.loom_label": {} } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "input_slots_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "input_slots_stack_panel@loom_pocket.input_slots_stack_panel": {} } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "banner_pattern_holder": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { "result_banner_outline@loom_pocket.result_banner_outline": {} } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "arrow_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "vertical_arrow_icon@loom_pocket.vertical_arrow_icon": {} } + ] + } + }, + { + "padding_4": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "result_item_slot_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "result_item_slot@loom_pocket.result_item_slot": {} } + ] + } + }, + { + "padding_5": { + "type": "panel", + "size": [ 0, 4 ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Left Panel + //--------------------------------------------------------------------------- + + "inventory_scroll_panel@common.container_scroll_panel": { + "size": [ "100% - 12px", "100% - 12px" ], + "$scrolling_content": "common.pocket_container_grid" + }, + + "pattern_button@loom.pattern_button": { + "size": [ 28, 28 ] + }, + + "banner_pattern@loom.banner_pattern": { + "size": [ 12, 24 ] + }, + + "pattern_scroll_panel@loom.scroll_panel": { + "$grid_item_template": "loom_pocket.pattern_button", + "$banner_pattern_ref": "loom_pocket.banner_pattern" + }, + + "left_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "gamepad_helpers_and_tabs_holder": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "tabs_left_gamepad_helpers@common.tabs_left_gamepad_helpers": { + "size": [ 14, 0 ], + "inherit_max_sibling_height": true, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%c" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "controls": [ + { "left_navigation_tabs@loom_pocket.left_navigation_tabs": {} } + ] + } + } + ] + } + }, + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "inventory_scroll_panel@loom_pocket.inventory_scroll_panel": { + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_left_tab_inventory", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pattern_scroll_panel@loom_pocket.pattern_scroll_panel": { + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #is_left_tab_inventory)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Left Navigation Tabs + //--------------------------------------------------------------------------- + + "left_tab_patterns@common_tabs.pocket_tab_left": { + "$tab_view_binding_name": "patterns_tab_toggle", + "$toggle_group_forced_index": "$left_tab_index_patterns", + + "$tab_content": "loom_pocket.banner_item_renderer", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_patterns" + }, + + "left_tab_inventory@common_tabs.pocket_tab_left": { + "$tab_view_binding_name": "inventory_tab_toggle", + "$toggle_group_forced_index": "$left_tab_index_inventory", + + "$tab_content": "loom_pocket.chest_item_renderer", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_inventory" + }, + + "left_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "default" ], + "offset": [ 4, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "left_tab_patterns@loom_pocket.left_tab_patterns": {} }, + { + "padding": { + "type": "panel", + "size": [ 0, 1 ] + } + }, + { + "left_tab_inventory@loom_pocket.left_tab_inventory": { + "$is_bottom_most_tab": true + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Base Panels + //--------------------------------------------------------------------------- + + "pocket_hotbar_and_content_panels@common.pocket_hotbar_and_content_panels": { + "layer": 2, + "$left_panel_control": "loom_pocket.left_panel", + "$right_panel_control": "loom_pocket.right_panel" + }, + + "loom_panel": { + "type": "panel", + "controls": [ + { "pocket_hotbar_and_content_panels@loom_pocket.pocket_hotbar_and_content_panels": {} }, + + { + "container_gamepad_helpers@common.container_gamepad_helpers": { + "size": [ "100%", 40 ], + "$gamepad_helper_size": [ "100%c", 15 ], + "$a_b_stack_panel_orientation": "vertical", + "$x_y_stack_panel_orientation": "vertical", + "$a_b_stack_panel_size": [ "100%cm", "100%" ], + "$x_y_stack_panel_size": [ "100%cm", "100%" ] + } + }, + { + "selected_item_details_factory@common.selected_item_details_factory": { + "$offset": [ 0, "-37px" ] + } + }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + } +} + +// #endregion diff --git a/resource_pack/ui/manage_feed_screen.json b/resource_pack/ui/manage_feed_screen.json new file mode 100644 index 0000000..e0d0316 --- /dev/null +++ b/resource_pack/ui/manage_feed_screen.json @@ -0,0 +1,633 @@ +{ + "namespace": "manage_feed", + + + //-------------------------------------------------------------------------------- + // Manage_Feed_grid + //-------------------------------------------------------------------------------- + + "manage_feed_item_scrolling_panel": { + "type": "panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 0, + "controls": [ + { + "manage_feed_item_scrolling_panel_content@manage_feed.manage_feed_item_scrolling_panel_content": { + "$scrolling_pane_size": [ "100% - 4px", "100%" ] + } + } + ] + }, + + "manage_feed_item_scrolling_panel_content@common.scrolling_panel": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "manage_feed.grid_panel", + "$feed_panel_size": [ "100%", "100%c" ] + }, + + "grid_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": "$feed_panel_size", + "offset": [ 0, 0 ], + "controls": [ + { "top_spacing_gap@feed_common.spacing_gap": {} }, + { "manage_feed_loading_grid_item@manage_feed.manage_feed_loading_grid_item": {} }, + { "manage_feed_grid@manage_feed.manage_feed_grid": {} }, + { "spacing_gap2@feed_common.spacing_gap": {} }, + { + "pagination_panel@manage_feed.pagination_panel": { + "$is_visible_binding_name": "#manage_feed_buttons_visible", + "$this_page_index_text": "#manage_feed_page_index_text", + "$is_prev_visible": "#manage_feed_prevButton_visible", + "$is_next_visible": "#manage_feed_nextButton_visible" + } + } + ] + }, + + "pagination_panel@feed_common.pagination_panel": { + "$next_button_name": "button.manage_feed_next_button", + "$prev_button_name": "button.manage_feed_prev_button", + "bindings": [ + { + "binding_name": "$is_visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "manage_feed_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "manage_feed.manage_feed_grid_item", + "grid_dimension_binding": "#manage_feed_grid_dimension", + "$collection_binding_name": "manage_feed_collection", + "collection_name": "manage_feed_collection", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#manage_feed_grid_dimension" + } + ] + }, + + "manage_feed_grid_item": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 190 ], + "controls": [ + { + "image_panel_instance@manage_feed.image_panel": { + "size": [ "60%", "80%" ] + } + }, + { "manage_feed_buttons_panel@manage_feed.manage_feed_buttons_panel": {} }, + { + "manage_feed_text_instance@feed_common.item_label": { + "size": [ 100, 30 ], + "font_size": "normal", + "offset": [ 140, 0 ], + "text": "#manage_content", + "bindings": [ + { + "binding_name": "#manage_content", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + }, + { + "binding_name": "#manage_feed_text_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + } + ] + } + }, + { + "feed_timesince_instance@feed_common.item_label": { + "size": [ 100, 10 ], + "font_size": "normal", + "offset": [ 164, -30 ], + "alpha": 0.5, + "text": "#time_since_manage_feed_post", + "bindings": [ + { + "binding_name": "#time_since_manage_feed_post", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + } + ] + } + }, + { + "nr_of_reports@feed_common.item_label": { + "size": [ 150, 10 ], + "font_size": "normal", + "offset": [ 165, 30 ], + "alpha": 0.5, + "text": "#nrreports", + "bindings": [ + { + "binding_name": "#nrreports", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + } + ] + } + }, + { + "manage_player_pic_panel@manage_feed.manage_player_pic_panel": { + "offset": [ 100, -35 ], + "layer": 0 + } + }, + { + "manage_feed_gamertag_instance@feed_common.item_label": { + "size": [ 100, 10 ], + "font_size": "normal", + "offset": [ 164, -40 ], + "text": "#manage_gamertag", + "bindings": [ + { + "binding_name": "#manage_gamertag", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + } + ] + } + } + ] + }, + + "manage_feed_buttons_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -29, 0 ], + "size": [ "30%", "30%" ], + "controls": [ + { + "ignore_button@manage_feed.ignore_button": {} + }, + { + "delete_button@manage_feed.delete_button": {} + } + ] + }, + + //-------------------------------------------------------------------------------- + // Grid item for loading manage feed + //-------------------------------------------------------------------------------- + + "manage_feed_loading_grid_item": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 190 ], + "$visible_binding_name|default": "#loading_bars_animation_visible", + "controls": [ + { + "loading_image_panel@manage_feed.loading_image_panel": { + "size": [ "65%", "90%" ] + } + } + ], + "bindings": [ + { + "binding_name": "$visible_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "feed_buttons_panel_loading": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -10, 0 ], + "size": [ "30%", "30%" ], + "controls": [ + { + "like_button_loading@feed.like_button_loading": {} + }, + { + "spacing_gap1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { "comment_button_loading@feed.comment_button_loading": {} }, + { + "spacing_gap2": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { "options_button_loading@feed.options_button_loading": {} } + ] + }, + + "like_button_loading": { + "size": [ 40, 25 ], + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.5 + }, + + "comment_button_loading": { + "size": [ 70, 25 ], + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.5 + }, + + "options_button_loading": { + "size": [ 25, 25 ], + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.5 + }, + + "player_pic_panel_loading": { + "type": "panel", + "size": [ 20, 20 ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { "player_gamer_pic_loading@feed.player_gamer_pic_loading": {} } + ] + }, + + "player_gamer_pic_loading": { + "type": "image", + "texture": "textures/ui/Black", + "size": [ 18, 18 ], + "alpha": 0.5 + }, + + "loading_image_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 0 ], + "controls": [ + { + "progress_loading_bars@feed_common.progress_loading_bars": { + "bindings": [ + { + "binding_name": "#progress_visible", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection", + "binding_name_override": "#visible" + } + ] + } + }, + { "manage_feed_image_loading@manage_feed.manage_feed_image_loading": {} }, + { + "no_feed_item_content@feed_common.no_feed_item_content": { + "text": "feed.no_reported_item_content" + } + } + ] + }, + + "manage_feed_image_loading": { + "type": "image", + "layer": 0, + "texture": "textures/ui/Black", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "alpha": 0.5 + }, + + //-------------------------------------------------------------------------------- + // Buttons and others + //-------------------------------------------------------------------------------- + + "ignore_button@common_buttons.transparent_content_button": { + "size": [ 70, 25 ], + "$pressed_button_name": "button.menu_start_realms_world", + "$button_content": "manage_feed.ignore_content_panel", + "$default_button_alpha": 0.3, + "$hover_button_texture": "textures/ui/imagetaggedcornergreenhover", + "$pressed_button_texture": "textures/ui/imagetaggedcornergreenpressed", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.manage_feed_ignore", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.manage_feed_ignore", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "ignore_content_panel": { + "type": "panel", + "size": [ "100%", "50%" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "ignore_label@feed_common.smooth_label": { + "text": "feed.ignore", + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "delete_button@common_buttons.transparent_content_button": { + "size": [ 70, 25 ], + "$pressed_button_name": "button.menu_start_realms_world", + "$button_content": "manage_feed.delete_content_panel", + "$default_button_alpha": 0.3, + "$hover_button_texture": "textures/ui/imagetaggedcornergreenhover", + "$pressed_button_texture": "textures/ui/imagetaggedcornergreenpressed", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.manage_feed_delete", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.manage_feed_delete", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "delete_content_panel": { + "type": "panel", + "size": [ "100%", "50%" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "delete_label@feed_common.smooth_label": { + "text": "feed.delete", + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "manage_feed_image": { + "type": "image", + "layer": 0, + "texture": "#manage_feed_texture", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "texture_file_system": "#manage_feed_texture_source", + "bindings": [ + { + "binding_name": "#manage_feed_texture", + "binding_type": "collection", + "binding_name_override": "#texture", + "binding_collection_name": "manage_feed_collection" + }, + { + "binding_name": "#manage_feed_texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + } + ] + }, + + "manage_feed_image_content_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 0 ], + "controls": [ + { "manage_feed_image@manage_feed.manage_feed_image": {} }, + { "textpost_content@manage_feed.textpost_content": {} } + ] + }, + + "textpost_content": { + "type": "label", + "color": "$f_color_format", + "text": "#manage_textpost_content", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "80%", "default" ], + "text_alignment": "center", + "layer": 6, + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#manage_textpost_content", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + }, + { + "binding_name": "#manage_textpost_visible", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection", + "binding_name_override": "#visible" + } + ] + }, + + "image_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 0 ], + "controls": [ + { "manage_feed_image_content_panel@manage_feed.manage_feed_image_content_panel": {} } + ] + }, + + //-------------------------------------------------------------------------------- + // player Related + //-------------------------------------------------------------------------------- + + + "manage_player_pic_panel": { + "type": "panel", + "size": [ 20, 20 ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { "manage_player_gamer_pic@manage_feed.manage_player_gamer_pic": {} } + ] + }, + + "manage_player_gamer_pic": { + "type": "custom", + "renderer": "profile_image_renderer", + "size": [ 18, 18 ], + "layer": 0, + "bindings": [ + { + "binding_name": "#manage_profile_image_options", + "binding_name_override": "#profile_image_options", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection" + }, + { + "binding_name": "#manage_gamerpic_visible", + "binding_type": "collection", + "binding_collection_name": "manage_feed_collection", + "binding_name_override": "#visible" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Root Controls + //-------------------------------------------------------------------------------- + + "content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "offset": [ 5, 0 ], + "controls": [ + { + "top_bar_gradient@feed_common.top_bar_gradient": { + "size": [ "100%", "8%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ -5, 0 ], + "layer": 9 + } + }, + { + "gamepad_helpers@feed_common.gamepad_helpers": {} + }, + { + "return_button@feed_common.return_button": { + "$close_button_to_button_id|default": "button.close_manage_feed", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "focused" + } + ] + } + }, + { + "reported_items_label@feed_common.title_label": { + "layer": 10, + "text": "feed.reported_label" + } + }, + { "manage_feed_item_scrolling_panel_instance@manage_feed.manage_feed_item_scrolling_panel": {} } + ] + }, + + "manage_feed_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.manage_feed_next_button", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.manage_feed_prev_button", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "manage_feed.manage_feed_screen_content" + }, + + "manage_feed_screen_content@common.common_panel": { + "type": "panel", + "controls": [ + { + "transparent_background@feed_common.transparent_background": {} + }, + { + "container": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { "content@manage_feed.content": {} } + ] + } + } + ] + } +} + diff --git a/resource_pack/ui/manifest_validation_screen.json b/resource_pack/ui/manifest_validation_screen.json new file mode 100644 index 0000000..0542dc9 --- /dev/null +++ b/resource_pack/ui/manifest_validation_screen.json @@ -0,0 +1,999 @@ +{ + "namespace": "manifest_validation", + + //--------------------------------------------------------------------------- + // ICONS + //--------------------------------------------------------------------------- + + "clipboard_icon": { + "layer": 1, + "type": "image", + "texture": "textures/ui/copy", + "size": [ 13, 14 ] + }, + + "clipboard_icon_wrapper": { + "type": "panel", + "size": [ "100% - 2px", "100% - 2px" ], + "controls": [ + { + "icon@manifest_validation.clipboard_icon": { + + } + } + ] + }, + + "trash_icon": { + "layer": 1, + "type": "image", + "texture": "textures/ui/trash_default", + "size": [ 11, 12 ] + }, + + "trash_icon_wrapper": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 2px", "100% - 2px" ], + "controls": [ + { + "icon@manifest_validation.trash_icon": { + "bindings": [ + { + "binding_name": "(not #is_deleting)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading_bars@manifest_validation.progress_loading_bars": { + "bindings": [ + { + "binding_name": "#is_deleting", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "refresh_icon": { + "layer": 1, + "type": "image", + "texture": "textures/ui/refresh", + "size": [ 18, 14 ] + }, + + "refresh_icon_wrapper": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 2px", "100% - 2px" ], + "controls": [ + { + "icon@manifest_validation.refresh_icon": { + "bindings": [ + { + "binding_name": "#is_done_validating", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading_bars@manifest_validation.progress_loading_bars": { + "bindings": [ + { + "binding_name": "(not #is_done_validating)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // CONTROLS + //--------------------------------------------------------------------------- + + "section_divider": { + "type": "panel", + "size": [ "100% - 5px", "100%c" ], + "controls": [ + { + "divider_image": { + "type": "image", + "size": [ "100%", 1 ], + "texture": "textures/ui/divider3", + "tiled": "x", + "alpha": 0.4 + } + } + ] + }, + + "text_label": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "default", "default" ], + "layer": 1, + "text": "$text_label", + "bindings": [ + { + "binding_name": "$text_label", + "binding_condition": "visible" + } + ] + }, + + "icon_image": { + "type": "image", + "$icon_collection_name": "none", + "layer": 8, + "bindings": [ + { + "binding_name": "#icon_path", + "binding_name_override": "#texture", + "binding_condition": "visible" + }, + { + "binding_name": "#icon_zip", + "binding_name_override": "#zip_folder", + "binding_condition": "visible" + }, + { + "binding_name": "#icon_file_system", + "binding_name_override": "#texture_file_system", + "binding_condition": "visible" + } + ] + }, + + "progress_loading_bars": { + "type": "image", + "layer": 1, + "texture": "textures/ui/loading_bar", + "offset": [ 0, 8 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 16, 8 ], + "uv_size": [ 64, 8 ], + "uv": "@common.bar_animation", + "color": [ 0.7, 0.7, 0.7, 1.0 ] + }, + + "background": { + "type": "image", + "texture": "textures/ui/BannersLight" + }, + + "black_background_fill@resource_packs.black_image": {}, + + "error_pack_secondary_layout": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "black@manifest_validation.background": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "controls": [ + { + "stack_panel": { + "layer": 1, + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 50 ], + "controls": [ + { + "icon_background@manifest_validation.black_background_fill": { + "layer": 1, + "size": [ "100%c + 2px", "100%" ], + "controls": [ + { + "icon@manifest_validation.icon_image": { + "layer": 1, + "size": [ 44, 44 ] + } + } + ] + } + }, + { + "pack_info": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "top": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "size": [ "100% - 5px", 10 ], + "offset": [ 2, 2 ], + "controls": [ + { + "title@manifest_validation.text_label": { + "layer": 1, + "size": [ "fill", "100%" ], + "$text_label": "#pack_header_title" + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "pack_size@manifest_validation.text_label": { + "layer": 1, + "size": [ "default", "100%" ], + "$text_label": "#pack_header_size", + "bindings": [ + { + "binding_name": "#pack_header_size_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "bottom": { + "type": "stack_panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "orientation": "horizontal", + "size": [ "100% - 5px", 35 ], + "offset": [ 2, -1 ], + "controls": [ + { + "description@manifest_validation.text_label": { + "layer": 1, + "size": [ "fill", 30 ], + "font_type": "smooth", + "$text_label": "#pack_header_description" + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + } + } + ] + } + }, + { + "button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 80, "100%" ], + "controls": [ + { + "top_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "refresh": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "button@manifest_validation.refresh_text_button": { + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#refresh_visible", + "binding_name_override": "#visible", + "binding_condition": "once" + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "delete": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "button@manifest_validation.delete_text_button": { + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#delete_visible", + "binding_name_override": "#visible", + "binding_condition": "once" + } + ] + } + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 3, "100%" ] + } + } + ] + } + }, + { + "secondary_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c + 4px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "padding_0@manifest_validation.section_divider": {} + }, + { + "title_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "title_text@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "text": "manifestvalidation.packid", + "color": "$main_header_text_color" + } + }, + { + "space": { + "type": "panel", + "size": [ 2, 2 ] + } + }, + { + "offset": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "title@manifest_validation.text_label": { + "layer": 1, + "size": [ "100%", "default" ], + "offset": [ 0, 1 ], + "$text_label": "#pack_id", + "font_type": "smooth", + "font_scale_factor": 1.1 + } + } + ] + } + } + ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "padding_1@manifest_validation.section_divider": {} + }, + { + "version_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "version_text@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "text": "manifestvalidation.packversion", + "color": "$main_header_text_color" + } + }, + { + "space": { + "type": "panel", + "size": [ 2, 2 ] + } + }, + { + "offset": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "version@manifest_validation.text_label": { + "layer": 1, + "size": [ "100%", "default" ], + "offset": [ 0, 1 ], + "$text_label": "#pack_version", + "font_type": "smooth", + "font_scale_factor": 1.1 + } + } + ] + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "padding_2@manifest_validation.section_divider": {} + }, + { + "path_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "path_text@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "text": "manifestvalidation.filelocation", + "color": "$main_header_text_color" + } + }, + { + "space": { + "type": "panel", + "size": [ 2, 2 ] + } + }, + { + "offset": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "description@manifest_validation.text_label": { + "layer": 1, + "size": [ "100%", "default" ], + "offset": [ 0, 1 ], + "font_type": "smooth", + "font_scale_factor": 1.1, + "$text_label": "#pack_path" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "error_pack_content_layout": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "black@manifest_validation.background": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "controls": [ + { + "error_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c + 8px" ], + "controls": [ + { + "error_header_panel": { + "type": "panel", + "size": [ "100%", "100%cm + 2px" ], + "controls": [ + { + "error_type_panel": { + "type": "label", + "size": [ "default", "default" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 2, 2 ], + "text": "#error_type_label", + "font_type": "smooth", + "font_scale_factor": 1.2, + "color": "$main_header_text_color", + "bindings": [ + { + "binding_collection_name": "pack_errors", + "binding_name": "#error_type_label", + "binding_type": "collection" + } + ] + } + }, + { + "button@manifest_validation.clipboard_button": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ -2, 2 ], + "bindings": [ + { + "binding_name": "#has_errors_or_warnings", + "binding_name_override": "#visible" + }, + { + "binding_collection_name": "pack_errors", + "binding_type": "collection_details" + } + ] + } + } + ] + } + }, + { + "padding_0@manifest_validation.section_divider": { + "bindings": [ + { + "binding_name": "#has_errors_or_warnings", + "binding_name_override": "#visible" + } + ] + } + }, + //TODO: integrate backend to have separate section for file name [Bug 249941] + //{ + // "file_text_panel": { + // "type": "stack_panel", + // "orientation": "horizontal", + // "size": [ "100%", "100%cm" ], + // "controls": [ + // { + // "file_text": { + // "type": "label", + // "size": [ "default", "default" ], + // "text": "manifestvalidation.file", + // "font_type": "MinecraftTen", + // "color": "$main_header_text_color" + // } + // }, + // { + // "space": { + // "type": "panel", + // "size": [ 2, 2 ] + // } + // }, + // { + // "offset": { + // "type": "panel", + // "size": [ "fill", "100%c" ], + // "controls": [ + // { + // "file_label": { + // "type": "label", + // "color": "$main_header_text_color", + // "size": [ "100% - 8px", "default" ], + // "font_type": "smooth", + // "offset": [ 4, 4 ], + // "anchor_from": "top_left", + // "anchor_to": "top_left", + // "layer": 1, + // "shadow": false, + // "text": "#file_label", + // "bindings": [ + // { + // "binding_name": "#file_label", + // "binding_condition": "visible" + // } + // ] + // } + // } + // ] + // } + // } + // ], + // "bindings": [ + // { + // "binding_name": "#file_error", + // "binding_name_override": "#visible" + // } + // ] + // } + //}, + //{ + // "padding_1@manifest_validation.section_divider": { + // "bindings": [ + // { + // "binding_name": "#file_error", + // "binding_name_override": "#visible" + // } + // ] + // } + //}, + { + "error_text_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "error_text@common.minecraftTenLabel": { + "size": [ 30, 10 ], + "text": "manifestvalidation.issue", + "color": "$main_header_text_color" + } + }, + { + "space": { + "type": "panel", + "size": [ 2, 2 ] + } + }, + { + "offset": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "error_label": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "100% - 8px", "default" ], + "font_type": "smooth", + "offset": [ 0, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#error_content_label", + "bindings": [ + { + "binding_collection_name": "pack_errors", + "binding_name": "#error_content_label", + "binding_type": "collection" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#has_errors_or_warnings", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // BUTTONS + //--------------------------------------------------------------------------- + + "delete_button@common_buttons.light_content_button": { + "size": [ 30, 30 ], + "$pressed_button_name": "button.delete_manifest", + "$button_content": "manifest_validation.trash_icon_wrapper", + "bindings": [ + { + "binding_name": "(not #is_working)", + "binding_name_override": "#enabled" + } + ] + }, + + "delete_text_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$pressed_button_name": "button.delete_manifest", + "$button_text": "manifestvalidation.delete", + "bindings": [ + { + "binding_name": "(not #is_working)", + "binding_name_override": "#enabled" + } + ] + }, + + "clipboard_button@common_buttons.light_content_button": { + "size": [ 25, 25 ], + "$pressed_button_name": "button.copy_to_clipboard", + "$button_content": "manifest_validation.clipboard_icon_wrapper", + "bindings": [ + { + "binding_name": "(not #is_working)", + "binding_name_override": "#enabled" + } + ] + }, + + "refresh_button@common_buttons.light_content_button": { + "size": [ 30, 30 ], + "$pressed_button_name": "button.refresh_manifest", + "$button_content": "manifest_validation.refresh_icon_wrapper", + "bindings": [ + { + "binding_name": "(not #is_working)", + "binding_name_override": "#enabled" + } + ] + }, + + "refresh_text_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$pressed_button_name": "button.refresh_manifest", + "$button_text": "selectServer.refresh", + "bindings": [ + { + "binding_name": "(not #is_working)", + "binding_name_override": "#enabled" + } + ] + }, + + //--------------------------------------------------------------------------- + // PACK SECONDARY INFO + //--------------------------------------------------------------------------- + + "pack_secondary_info": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "layout@manifest_validation.error_pack_secondary_layout": { + "size": [ "100% - 4px", "100%c" ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // ERROR CONTENT ITEM + //--------------------------------------------------------------------------- + + "error_content_grid": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "factory": { + "name": "pack_error_factory", + "control_name": "manifest_validation.error_pack_content_layout" + }, + "collection_name": "pack_errors", + "bindings": [ + { + "binding_name": "#error_grid_dimensions", + "binding_name_override": "#collection_length" + } + ] + }, + + //--------------------------------------------------------------------------- + // PACK ERROR ITEM + //--------------------------------------------------------------------------- + + "pack_error_item": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "secondary@manifest_validation.pack_secondary_info": {} + }, + { + "error_header": { + "type": "panel", + "size": [ "100%", "100%c + 3px" ], + "controls": [ + { + "error_text@common.minecraftTenLabel": { + "size": [ "100%", "default" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 2, 0 ], + "text": "manifestvalidation.errorlist", + "color": "$main_header_text_color" + } + } + ] + } + }, + { + "error@manifest_validation.error_content_grid": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // PACK ERROR GROUP + //--------------------------------------------------------------------------- + + "pack_error_group": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "errors@manifest_validation.pack_error_item": {} + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // SCROLL REGION + //--------------------------------------------------------------------------- + + "common_scrolling_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100% - 1px", "100%" ], + "$scrolling_content": "$scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + "common_content": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "scrolling_offsets@manifest_validation.common_scrolling_panel": { + "size": [ "100% - 4px", "100%" ], + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "manifest_validation_scroll_content@manifest_validation.common_content": { + "controls": [ + { + "scrolling_panel@manifest_validation.scrolling_offsets": { + "layer": 1, + "$scrolling_content": "manifest_validation.manifest_validation_scroll_panel" + } + } + ] + }, + + "common_scroll_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-4px", "100%c" ], + "offset": [ 2, 0 ] + }, + + "manifest_validation_scroll_panel@manifest_validation.common_scroll_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "pack_error_group@manifest_validation.pack_error_group": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // SCREEN + //--------------------------------------------------------------------------- + + "manifest_validation_screen@common.base_screen": { + "force_render_below": true, + "$screen_background_control": "common.screen_background", + "$screen_background_alpha": 0.65, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "manifest_validation.manifest_validation_screen_content" + }, + + "manifest_validation_screen_content": { + "type": "panel", + "size": "$extra_large_screen_size", + "max_size": "$extra_large_max_screen_size", + "controls": [ + { + "background@common_dialogs.main_panel_no_buttons": { + "$fill_alpha": 1, + "$text_name": "manifestvalidation.title", + "$child_control": "manifest_validation.manifest_validation_scroll_content", + "$show_close_button": true + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/marketplace_sdl/sdl_dropdowns.json b/resource_pack/ui/marketplace_sdl/sdl_dropdowns.json new file mode 100644 index 0000000..98a130c --- /dev/null +++ b/resource_pack/ui/marketplace_sdl/sdl_dropdowns.json @@ -0,0 +1,126 @@ +{ + "namespace": "sdl_dropdowns", + + "sdl_dropdown_rows": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "container_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "toggle@sdl_dropdowns.sdl_rows_toggle": { + "size": [ "100%", 24 ], + "$toggle_name": "toggle.sdl_rows_dropdown", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "pad@common.empty_panel": { + "size": [ "100%", 2 ] + } + } + ] + } + } + ] + }, + + "sdl_rows_toggle@common_toggles.light_content_toggle": { + "$ignore_content_toggle_image": true, + + "$default_checked_text_color": "$dropdown_radio_background_checked_color", + "$hover_texture": "textures/ui/button_borderless_lightpressednohover", + + "$content_toggle_label_offset": [ 0, 0 ], + "$content_toggle_label_font_type": "Default", + + "$content_toggle_icon_size": [ 11, 11 ], + "$checked_toggle_icon": "textures/ui/dropdown_chevron_up", + "$checked_hover_toggle_icon": "textures/ui/chevron_white_up", + "$unchecked_toggle_icon": "textures/ui/dropdown_chevron", + "$unchecked_hover_toggle_icon": "textures/ui/chevron_white_down", + + "$toggle_binding_type": "$store_factory_binding_type", + "$toggle_binding_condition": "visible", + "$toggle_grid_collection_name": "$store_factory_collection_name", + "$toggle_state_binding_name": "#sdl_dropdown_row_expanded", + "$toggle_parent_collection_details_prefix": "$store_factory_collection_prefix", + "$toggle_parent_collection_details": "$store_factory_collection_details", + "$toggle_parent_collection_details_name": "$store_factory_collection_name", + + "$sdl_factory_size": [ "fill", "100%" ], + "$sdl_label_max_size": [ "100%", "100% - 4px" ], + + "$content_toggle_panel_content": "sdl_label.sdl_label_factory", + + "$sdl_label_binding_name": "#header_label_from_style", + "$sdl_label_text_color": "#header_label_color", + "$sdl_label_font_type": "#header_label_font_type", + "$sdl_label_font_scalar": "#header_label_font_scale", + "$sdl_label_alignment": "#header_label_alignment", + "$sdl_label_binding_type": "collection", + + // If we don't define this here it can be overwritten from above us in the visual tree + "$sdl_label_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_binding_name" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_text_color", + "binding_name_override": "#color" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_font_type", + "binding_name_override": "#font_type" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_font_scalar", + "binding_name_override": "#font_scale_factor" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_alignment", + "binding_name_override": "#text_alignment" + } + ], + + "$content_image_binding_name": "textures/ui/chevron_white_down", + "$sdl_factory_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#header_label_id", + "binding_type": "collection", + "binding_collection_name": "$store_factory_collection_name", + "binding_name_override": "#collection_length" + } + ] + } +} diff --git a/resource_pack/ui/marketplace_sdl/sdl_image_row.json b/resource_pack/ui/marketplace_sdl/sdl_image_row.json new file mode 100644 index 0000000..28f5f8c --- /dev/null +++ b/resource_pack/ui/marketplace_sdl/sdl_image_row.json @@ -0,0 +1,202 @@ +{ + "namespace": "sdl_image_row", + + "image_row_factory": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + + "$screenshot_grid_collection_name|default": "screenshot_collection", + "collection_name": "$screenshot_grid_collection_name", + "size": [ "100% - 4px", "100%cm + 4px" ], + "$factory_ids|default": { + "single_image": "@sdl_image_row.single_image", + "duo_image": "@sdl_image_row.double_image", + "tri_image": "@sdl_image_row.triple_image_with_buffer" + }, + "factory": { + "name": "image_row_factory", + "control_ids": "$factory_ids", + "factory_variables": [ + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix", + "$screenshot_grid_collection_name" + ] + }, + + "bindings": [ + { + "binding_name": "#image_row_ids", + "binding_name_override": "#collection_length" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + }, + + "buffer_panel": { + "type": "panel", + "size": [ "2px", "100%sm" ] + }, + + "single_image": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "fill", "100%cm + 4px" ], + "$image_size|default": [ "100% - 2px", "28.125%x" ], + "$image_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#screenshot_texture_image_row", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#screenshot_texture_file_system_image_row", + "binding_name_override": "#texture_file_system" + } + ], + + "controls": [ + { + "image_with_border": { + "type": "panel", + "size": "$image_size", + "controls": [ + { + "screenshot_image": { + "type": "image", + "layer": 1, + "size": [ "100%", "100%" ], + "bindings": "$image_bindings" + } + }, + { + "dark_border@common.focus_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": "$dark_border_default_color" + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 5, + "$source_control_name": "screenshot_image", + "$source_property_name": "(#texture = '')", + "$use_sibling_scope": true, + "$hide_failure_text": true + } + } + ] + } + } + ] + }, + + "double_image@sdl_image_row.single_image": { + "$image_size": [ "100% - 2px", "56.25%x" ] + }, + + "triple_image_with_buffer": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "fill", "100%cm + 4px" ], + "controls": [ + { + "buffer_panel_in_1": { + "type": "panel", + "size": [ "2px", "100%sm" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#3rd_border", + "binding_name_override": "#visible" + } + ] + } + }, + { + "buffer_panel_in_2": { + "type": "panel", + "size": [ "1px", "100%sm" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#2nd_border", + "binding_name_override": "#visible" + } + ] + } + }, + { + "triple_image@sdl_image_row.single_image": { + "$image_size": [ "100% - 2px", "75%x" ] // will need some extra buffers I think. + } + }, + { + "buffer_panel_out_1": { + "type": "panel", + "size": [ "1px", "100%sm" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#2nd_border", + "binding_name_override": "#visible" + } + ] + } + }, + { + "buffer_panel_out_2": { + "type": "panel", + "size": [ "2px", "100%sm" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#1st_border", + "binding_name_override": "#visible" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/marketplace_sdl/sdl_label.json b/resource_pack/ui/marketplace_sdl/sdl_label.json new file mode 100644 index 0000000..2f00a6f --- /dev/null +++ b/resource_pack/ui/marketplace_sdl/sdl_label.json @@ -0,0 +1,114 @@ +{ + "namespace": "sdl_label", + + // The reason we use this is that MinecraftTen font has specific requirements for a backup font and offset on devices that are low memory + // so we unfortunately can't bind the font type directly. The factory creates an instance of the layout for MCTen based on this behavior and uses + // the SDLLabel for everything else + "sdl_label_factory": { + "type": "stack_panel", + "orientation": "horizontal", + "layer": 1, + + "$sdl_factory_size|default": [ "100%", "100%" ], + "$sdl_factory_bindings|default": [], // You will want to implement this with a unique name for each instance + "$sdl_label_binding_name|default": "", + "$sdl_label_offset|default": [ 0, 0 ], + "$sdl_label_size|default": [ "100%", "default" ], + "$sdl_label_max_size|default": [ "100%", "100%" ], + "$sdl_label_collection_name|default": "sdl_label_factory", + + "size": "$sdl_factory_size", + + "$sdl_label_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_binding_name" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_text_color", + "binding_condition": "once", + "binding_name_override": "#color" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_font_type", + "binding_condition": "once", + "binding_name_override": "#font_type" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_font_scalar", + "binding_condition": "once", + "binding_name_override": "#font_scale_factor" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_alignment", + "binding_condition": "once", + "binding_name_override": "#text_alignment" + } + ], + + "factory": { + "name": "sdl_label_factory", + "control_ids": { + "MinecraftTenLabel": "@sdl_label.sdl_mc_ten_label", + "SDLLabel": "@sdl_label.sdl_label" + }, + "factory_variables": [ + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix", + "$sdl_label_size", + "$sdl_label_max_size", + "$sdl_label_offset", + "$sdl_label_bindings", + "$sdl_label_binding_type", + "$sdl_label_collection_name", + "$sdl_label_binding_name", + "$sdl_label_text_color", + "$sdl_label_font_type", + "$sdl_label_font_scalar", + "$sdl_label_alignment" + ] + }, + "collection_name": "sdl_label_factory", + "bindings": "$sdl_factory_bindings" + }, + + "sdl_label": { + "type": "label", + "layer": 3, + + "size": "$sdl_label_size", + "max_size": "$sdl_label_max_size", + "offset": "$sdl_label_offset", + "color": "$sdl_label_text_color", + "text": "$sdl_label_binding_name", + "bindings": "$sdl_label_bindings" + }, + + "sdl_mc_ten_label@common.minecraftTenLabel": { + "layer": 3, + + "size": "$sdl_label_size", + "max_size": "$sdl_label_max_size", + "offset": "$sdl_label_offset", + + "$sdl_label_font_binding_type": "none", // We aren't binding the font type as this is specified as MCTen + + "text": "$sdl_label_binding_name", + "bindings": "$sdl_label_bindings" + } +} diff --git a/resource_pack/ui/marketplace_sdl/sdl_text_row.json b/resource_pack/ui/marketplace_sdl/sdl_text_row.json new file mode 100644 index 0000000..8476505 --- /dev/null +++ b/resource_pack/ui/marketplace_sdl/sdl_text_row.json @@ -0,0 +1,329 @@ +{ + "namespace": "sdl_text_row", + + "sdl_text_row_factory@sdl_label.sdl_label_factory": { + "layer": 2, + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$sdl_label_binding_name": "#text_row_label", + "$sdl_label_text_color": "#color", + "$sdl_label_font_type": "#font_type", + "$sdl_label_font_scalar": "#font_scale_factor", + "$sdl_label_size": [ "100%", "default" ], + "$sdl_label_max_size": [ "100%", "default" ], + "$sdl_label_alignment": "#text_alignment", + "$sdl_label_binding_type": "collection", + + "$sdl_factory_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#text_row_ids", + "binding_collection_name": "$store_factory_collection_name", + "binding_name_override": "#collection_length" + } + ], + + "$sdl_label_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "#text_row_label" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "#text_row_font_scale", + "binding_name_override": "#font_scale_factor" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "#text_row_font_type", + "binding_name_override": "#font_type" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "#text_row_text_color", + "binding_name_override": "#color" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "#text_row_alignment", + "binding_name_override": "#text_alignment" + } + ] + }, + + "sdl_header_component_factory@sdl_label.sdl_label_factory": { + "layer": 2, + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$sdl_label_max_size": [ "100%", "default" ], + "$sdl_label_binding_type": "collection", + "$sdl_label_binding_name": "#header_label_from_style", + "$sdl_label_text_color": "#header_label_color", + "$sdl_label_font_type": "#header_label_font_type", + "$sdl_label_font_scalar": "#header_label_font_scale", + "$sdl_label_alignment": "#header_label_alignment", + + "$sdl_factory_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#header_label_id", + "binding_type": "collection", + "binding_collection_name": "$store_factory_collection_name", + "binding_name_override": "#collection_length" + } + ], + + // If we don't define this here it can be overwritten from above us in the visual tree + "$sdl_label_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_binding_name" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_text_color", + "binding_name_override": "#color" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_font_type", + "binding_name_override": "#font_type" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_font_scalar", + "binding_name_override": "#font_scale_factor" + }, + { + "binding_type": "$sdl_label_binding_type", + "binding_collection_name": "$sdl_label_collection_name", + "binding_name": "$sdl_label_alignment", + "binding_name_override": "#text_alignment" + } + ] + }, + + "label_button@common.button": { + "sound_volume": 1.0, + "size": [ "100%", "100%sm" ], + "$pressed_button_name": "button.focus_filler", + "$button_tts_name": "", + "focus_enabled": true + }, + + "sdl_header_component_panel": { + "type": "panel", + "anchor_to": "center", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "header_background@common_store.store_description_background": { + "size": "$background_size", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$background_size|default": [ "100%", "100%sm" ], + "offset": [ 0, 2 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#show_header_background", + "binding_type": "collection", + "binding_collection_name": "$store_factory_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "header_internals@sdl_text_row.label_button": { + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "tts_inherit_siblings": true, + "controls": [ + { + "default": { + "type": "panel", + "size": [ "100%", "100%" ] + } + }, + { + "pressed@sdl_text_row.label_hover": {} + }, + { + "hover@sdl_text_row.label_hover": {} + } + + ] + } + }, + { + "header_highlight": { + "type": "image", + "size": [ "100%", "100%sm" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "offset": [ 0, 2 ], + "layer": 2, + "texture": "textures/ui/call_out_header", + "bindings": [ + { + "binding_name": "#header_bg_color_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$store_factory_collection_name" + }, + { + "binding_name": "#header_bg_color", + "binding_type": "collection", + "binding_collection_name": "$store_factory_collection_name", + "binding_name_override": "#color" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "text_row_header_text@sdl_text_row.sdl_header_component_factory": { + "$sdl_factory_size": [ "100%", "100%c" ] + } + } + ] + }, + + "sdl_text_row_component_panel": { + "type": "panel", + "anchor_to": "center", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "text_background@common_store.store_description_background": { + "size": "$background_size", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$background_size|default": [ "100%", "100%sm" ], + "offset": [ 0, 2 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#text_row_show_background", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "text_row_selector@common.tts_activate_sibling": { + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + }, + { + "text_row_background": { + "type": "image", + "size": [ "100%", "100%sm" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "offset": [ 0, 2 ], + "layer": 2, + "texture": "textures/ui/call_out_header", + "bindings": [ + { + "binding_name": "#text_row_highlight_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#text_row_highlight_color", + "binding_name_override": "#color" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "text_row_component_text@sdl_text_row.sdl_text_row_factory": { + "$sdl_factory_size": [ "100%", "100%c" ] + } + } + ] + }, + + "solo_text_row": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "buffer_panel_front": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + }, + { + "headercomp_and_textcomp_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "text_row_header_text_panel@sdl_text_row.sdl_header_component_panel": {} + }, + { + "text_row_text_panel@sdl_text_row.sdl_text_row_component_panel": {} + } + ] + } + }, + { + "buffer_panel_back": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + } + ] + } +} diff --git a/resource_pack/ui/material_reducer_screen.json b/resource_pack/ui/material_reducer_screen.json new file mode 100644 index 0000000..c69d461 --- /dev/null +++ b/resource_pack/ui/material_reducer_screen.json @@ -0,0 +1,218 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "matreduce", + + ///// Shared with Pocket Screen ///// + + "one_touch_button@chem_common_pocket.one_touch_button": { + "$take_all_place_all": "button.matreduce_take_all_place_all", + "$coalesce_stack": "button.matreduce_coalesce_stack" + }, + + ///// Differs from Pocket Screen ///// + + "title_label@edu_common.dark_label": { + "layer": 2, + "text": "materialreducer.title", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text_alignment": "center", + "offset": [ 0, 4 ] + }, + + "input_slot@common.empty_panel": { + "size": [ 18, 18 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 4 ], + + "controls": [ + { + "slot@common.container_item": { + "layer": 2, + "$item_collection_name": "matreduce_input", + "$button_ref": "matreduce.one_touch_button", + "bindings": [ + { + "binding_name": "#input_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "disabled_overlay": { + "type": "image", + "layer": 4, + "texture": "textures/ui/recipe_book_red_button", + "bindings": [ + { + "binding_name": "(not #input_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "connectors": { + "type": "image", + "texture": "textures/ui/material_reducer_connectors", + "size": [ 108, 54 ], + "offset": [ 0, 11 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 4 + }, + + "output_item": { + "type": "panel", + "grid_position": "$grid_position", + "size": [ 18, 18 ], + "controls": [ + { + "slot@common.container_item": { + "$offset|default": [ 0, 0 ], + "offset": "$offset", + "$item_collection_name": "matreduce_output" + } + } + ] + }, + + "output_slots": { + "type": "grid", + "size": [ 130, 50 ], + "offset": [ 4, 4 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "grid_dimensions": [ 5, 2 ], + "collection_name": "matreduce_output", + "controls": [ + { + "a@matreduce.output_item": { + "$grid_position": [ 0, 0 ] + } + }, + { + "b@matreduce.output_item": { + "$grid_position": [ 1, 0 ] + } + }, + { + "c@matreduce.output_item": { + "$grid_position": [ 2, 0 ] + } + }, + { + "d@matreduce.output_item": { + "$grid_position": [ 3, 0 ] + } + }, + { + "e@matreduce.output_item": { + "$grid_position": [ 4, 0 ] + } + }, + { + "f@matreduce.output_item": { + "$grid_position": [ 0, 1 ], + "$offset": [ 13, 0 ] + } + }, + { + "g@matreduce.output_item": { + "$grid_position": [ 1, 1 ], + "$offset": [ 13, 0 ] + } + }, + { + "h@matreduce.output_item": { + "$grid_position": [ 2, 1 ], + "$offset": [ 13, 0 ] + } + }, + { + "i@matreduce.output_item": { + "$grid_position": [ 3, 1 ], + "$offset": [ 13, 0 ] + } + } + ] + }, + + "top_half@common.empty_panel": { + // Offset so it starts under the title label and within the frame, and goes down to the inventory + "offset": [ 4, 14 ], + "size": [ "100% - 8px", 85 ], + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "input@matreduce.input_slot": {} }, + { "output@matreduce.output_slots": {} }, + { "connectors@matreduce.connectors": {} } + ] + }, + + "content": { + "type": "panel", + "controls": [ + { + "root_panel@common.root_panel": { + "layer": 1, + "$bottom_padding": 10, + "size": [ 205, 200 ], + "controls": [ + { "common_panel@common.common_panel": {} }, + { "title_label@matreduce.title_label": {} }, + { "top_half@matreduce.top_half": {} }, + { + "inventory": { + "type": "panel", + "layer": 2, + "offset": [ 0, -10 ], + "controls": [ + { + "inventory@common.inventory_panel_bottom_half_with_label": { + "size": [ 176, 93 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + }, + { "hotbar@common.hotbar_grid_template": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 13 } } + ] + } + }, + { "container_gamepad_helpers@common.container_gamepad_helpers": {} } // Gamepad tool tips + ] + }, + + "material_reducer@common.inventory_screen_common": { + "$close_on_player_hurt|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "$screen_bg_content": "common.screen_background", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "matreduce.content" + }, + { + "requires": "$pocket_screen", + "$screen_content": "matreduce_pocket.content" + } + ] + } +} diff --git a/resource_pack/ui/material_reducer_screen_pocket.json b/resource_pack/ui/material_reducer_screen_pocket.json new file mode 100644 index 0000000..c0ef24b --- /dev/null +++ b/resource_pack/ui/material_reducer_screen_pocket.json @@ -0,0 +1,168 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "matreduce_pocket", + + "title_label@edu_common.dark_label": { + "layer": 2, + "text": "materialreducer.title", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text_alignment": "center", + "offset": [ 0, 8 ] + }, + + "hotbar_slot@chem_common_pocket.pocket_ui_container_item": { + "$item_collection_name": "hotbar_items", + "$button_ref": "matreduce.one_touch_button" + }, + + "inventory_slot@chem_common_pocket.pocket_ui_container_item": { + "$item_collection_name": "inventory_items", + "$button_ref": "matreduce.one_touch_button" + }, + + "input_slot@common.empty_panel": { + "size": [ 18, 18 ], + "anchor_from": "center", + "anchor_to": "center", + "offset": [ -0.5, -49 ], // I weep for -0.5, but it's needed to line up with the connectors element. + "controls": [ + { + "slot@chem_common_pocket.pocket_ui_container_item": { + "layer": 2, + "$item_collection_name": "matreduce_input", + "$button_ref": "matreduce.one_touch_button", + "$item_renderer_size": [ 20, 20 ], + "bindings": [ + { + "binding_name": "#input_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "disabled_overlay": { + "type": "image", + "layer": 4, + "texture": "textures/ui/recipe_book_red_button", + "bindings": [ + { + "binding_name": "(not #input_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "connectors": { + "type": "image", + "texture": "textures/ui/material_reducer_connectors_pocket", + "size": [ 119, 79 ], + "offset": [ 0, -10.5 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 10 + }, + + "output_item": { + "type": "panel", + "grid_position": "$grid_position", + "size": [ 18, 18 ], + "controls": [ + { + "slot@chem_common_pocket.pocket_ui_container_item": { + "$offset|default": [ 0, 0 ], + "offset": "$offset", + "$item_collection_name": "matreduce_output", + "$item_renderer_size": [ 20, 20 ] + } + } + ] + }, + + "output_slots": { + "type": "grid", + "layer": 2, + "size": [ 130, 55 ], + "offset": [ 4, 17.5 ], + "grid_dimensions": [ 5, 2 ], + "collection_name": "matreduce_output", + "controls": [ + { + "a@matreduce_pocket.output_item": { + "$grid_position": [ 0, 0 ] + } + }, + { + "b@matreduce_pocket.output_item": { + "$grid_position": [ 1, 0 ] + } + }, + { + "c@matreduce_pocket.output_item": { + "$grid_position": [ 2, 0 ] + } + }, + { + "d@matreduce_pocket.output_item": { + "$grid_position": [ 3, 0 ] + } + }, + { + "e@matreduce_pocket.output_item": { + "$grid_position": [ 4, 0 ] + } + }, + { + "f@matreduce_pocket.output_item": { + "$grid_position": [ 0, 1 ], + "$offset": [ 12.5, 0 ] + } + }, + { + "g@matreduce_pocket.output_item": { + "$grid_position": [ 1, 1 ], + "$offset": [ 12.5, 0 ] + } + }, + { + "h@matreduce_pocket.output_item": { + "$grid_position": [ 2, 1 ], + "$offset": [ 12.5, 0 ] + } + }, + { + "i@matreduce_pocket.output_item": { + "$grid_position": [ 3, 1 ], + "$offset": [ 12.5, 0 ] + } + } + ] + }, + + "right_panel@common.empty_panel": { + "size": [ "49.5%", "100%" ], + "layer": 2, + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "title_label@matreduce_pocket.title_label": {} }, + { "dialog_background_opaque@common.dialog_background_opaque": {} }, + { "input@matreduce_pocket.input_slot": {} }, + { "output@matreduce_pocket.output_slots": {} }, + { "connectors@matreduce_pocket.connectors": {} } + ] + }, + + "content@chem_common_pocket.screen_contents": { + "$right_panel": "right_panel@matreduce_pocket.right_panel" + } +} diff --git a/resource_pack/ui/mob_effect_screen.json b/resource_pack/ui/mob_effect_screen.json new file mode 100644 index 0000000..53828c1 --- /dev/null +++ b/resource_pack/ui/mob_effect_screen.json @@ -0,0 +1,186 @@ +{ + "namespace": "mob_effect", + //--------------------------------------------------------------------------- + // Controls + //--------------------------------------------------------------------------- + "effect_background": { + "type": "image", + "texture": "textures/ui/effect_background" + }, + "main_background": { + "type": "image", + "size": "$mob_effect_screen_size", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 4, 4 ], + "texture": "textures/ui/mob_effect_background" + }, + "button_background": { + "type": "image", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 25, 25 ], + "offset": [ "90% + 2px", 4 ], + "texture": "textures/ui/pocket_tab_right_side" + }, + "effect_name": { + "type": "label", + "color": "$dark_button_default_text_color", + "shadow": true, + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 27, 5 ], + "text_alignment": "left", + "text": "#mob_effect_name", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#mob_effect_name", + "binding_collection_name": "mob_effects_collection", + "binding_condition": "visible" + } + ] + }, + "effect_timer": { + "type": "label", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 27, -5 ], + "text": "#mob_effect_timer", + "color": "$dark_button_secondary_default_text_color", + "text_alignment": "left", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#mob_effect_timer", + "binding_collection_name": "mob_effects_collection", + "binding_condition": "always_when_visible" + } + ] + }, + "effect_icon": { + "type": "image", + "size": [ "60%", "60%" ], + "offset": [ -105, -1 ], + "texture": "#texture", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#texture", + "binding_collection_name": "mob_effects_collection", + "binding_condition": "visible" + } + ] + }, + "mob_effect_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "mob_effect_grid@mob_effect.mob_effect_grid": { } + } + ] + }, + "mob_effect_grid": { + "type": "grid", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 150, "default" ], + "offset": [ "45% - 60px", 4 ], + "grid_item_template": "mob_effect.mob_effect_grid_item", + "grid_dimension_binding": "#mob_effect_grid_size", + "collection_name": "mob_effects_collection", + "bindings": [ + { + "binding_name": "#mob_effect_grid_size" + } + ] + }, + + + //--------------------------------------------------------------------------- + // CONTENT + //--------------------------------------------------------------------------- + "mob_effect_grid_item": { + "type": "panel", + "size": [ 240, 30 ], + "controls": [ + { "bg@mob_effect.effect_background": { } }, + { "name@mob_effect.effect_name": { "layer": 1 } }, + { "timer@mob_effect.effect_timer": { "layer": 1 } }, + { "icon@mob_effect.effect_icon": { "layer": 1 } } + ] + }, + "mob_effect_list_content_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "90%", "90% - 4px" ], + "clips_children": true, + "offset": [ -4, 4 ], + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "mob_effect.mob_effect_grid_panel", + "$show_background": false, + "$scroll_size": [ "8px", "100% - 4px" ], + "$scrolling_pane_size|default": [ "100%", "default" ], + "$scroll_box_mouse_image_control": "common-classic.button_state_default", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ "default", "2px" ] + } + } + ] + }, + "mob_effect_screen_close_button@common.legacy_pocket_close_button": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 18, 18 ], + "offset": [ "90% + 4px", 7.5 ], + "$pressed_button_name": "button.menu_continue" + }, + "close_button_panel": { + "type": "panel", + "controls": [ + { "bg@mob_effect.button_background": { } }, + { "close_button@mob_effect.mob_effect_screen_close_button": { } } + ] + }, + "mob_effect_content": { + "type": "panel", + "controls": [ + { "bg@mob_effect.main_background": { } }, + { "close_panel@mob_effect.close_button_panel": { } }, + { "content_panel@mob_effect.mob_effect_list_content_panel": { } } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + "main_screen": { + "type": "panel", + "controls": [ + { "main_screen@mob_effect.mob_effect_content": {} } + ] + }, + "mob_effect_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_continue", + "mapping_type": "global" + }, + { + "from_button_id": "button.mobeffects", + "to_button_id": "button.menu_continue", + "mapping_type": "global" + } + ], + "close_on_player_hurt": true, + "$screen_content": "mob_effect.main_screen", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + } +} diff --git a/resource_pack/ui/multiplayer_lesson_screen.json b/resource_pack/ui/multiplayer_lesson_screen.json new file mode 100644 index 0000000..2c88bde --- /dev/null +++ b/resource_pack/ui/multiplayer_lesson_screen.json @@ -0,0 +1,447 @@ +{ + "namespace": "multiplayer_lesson", + + "vertical_stack_item": { + "type": "panel", + "size": [ "100%", "100%c" ] + }, + + "join_ip_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.active_lesson.join_ip", + "$button_text": "course.edu.noLessonFoundJoinIp", + "$button_text_binding_type": "none", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + "play_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.active_lesson.join_server", + "$button_text": "course.edu.join", + "bindings": [ + { + "binding_name": "#play_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "popup_dialog@popup_dialog.popup_dialog": { + "size": [ "60%", "80%" ], + "$fill_alpha": 1.0, + "controls": [ + { + "background@common.common_panel": { + "$show_close_button": true, + "$close_button_to_button_id": "button.active_lesson.popup_close" + } + }, + { + "content": { + "type": "panel", + "$popup_controls|default": [], + "controls": "$popup_controls" + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.active_lesson.popup_close", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + "popup_message": { + "type": "label", + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 25 ], + "color": "$body_text_color", + "size": [ "100% - 20px", "default" ] + }, + + "popup_title": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 2, + "offset": [ 0, 8 ], + "color": "$title_text_color", + "size": [ "default", 20 ] + }, + + "loading_animation_and_text": { + "type": "stack_panel", + "size": [ 128, "100%c" ], + "controls": [ + { + "loading_animation_item@multiplayer_lesson.vertical_stack_item": { + "controls": [ + { + "loading_animation@edu_common.edu_loading_animation": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 64, 64 ] + } + } + ] + } + }, + { + "bottom_text_padding@common.empty_panel": { + "size": [ 0, 4 ] + } + }, + { + "loading_text_item@multiplayer_lesson.vertical_stack_item": { + "controls": [ + { + "searching_text": { + "type": "label", + "text": "$bottom_text", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$text_box_text_color" + } + } + ] + } + } + ] + }, + + "friends_scroll_panel@play.common_scroll_pane": { + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "95%", "100%c - 1px" ], + "offset": [ 0, 0 ], + "$add_friend_visible": true, + "$add_friend_not_visible": false, + "controls": [ + { + "lan_grid@play.label_content_template": { + "$label_content_label": "", + "$label_content_content": "play.network_world_item_grid", + "$network_world_grid_item_template": "play.network_world_item", + "$network_world_icon": "play.lan_icon", + "$network_world_item_grid_dimension_binding": "#lan_network_world_item_grid_dimension", + "$collection_name": "lan_network_worlds", + "$tts_section_header": "$label_content_label" + } + } + ] + } + } + ] + }, + + "join_list_content@play.common_content": { + "controls": [ + { + "scrolling_panel@play.scrolling_offsets": { + "layer": 1, + "$scrolling_content": "multiplayer_lesson.friends_scroll_panel" + } + }, + { + "searching_anim": { + "type": "panel", + "size": [ "100%", "100%" ], + "offset": [ 0, -2 ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "loading_animation_and_text@multiplayer_lesson.loading_animation_and_text": { + "$bottom_text": "course.edu.searching" + } + } + ], + "bindings": [ + { + "binding_name": "(not #has_worlds)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "join_list_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "join_list_content@multiplayer_lesson.join_list_content": { + "size": [ "100% -10px", "fill" ] + } + }, + { "padding_center@course.horizontal_padding_4px": {} }, + { + "join_ip_button_panel@common.empty_panel": { + "size": [ "100%", "100%c" ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "controls": [ + { + "join_ip_button@multiplayer_lesson.join_ip_button": { + "size": [ "50%-8px", 25 ] + } + } + ] + } + }, + { "padding_bottom@course.horizontal_padding_4px": {} } + ] + }, + + "ip_label_content@game_tip.game_tip_item_panel": { + "$label_text_binding_type": "none", + "$label_text": "course.edu.ipAddress", + "$animation": [], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "port_label_content@game_tip.game_tip_item_panel": { + "$label_text_binding_type": "none", + "$label_text": "addExternalServerScreen.portTextBoxLabel", + "$animation": [], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "popup_notification_panel@common_buttons.static_tooltip_notification_panel": { + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_default_texture": "textures/ui/Black", + "$tooltip_button_pressed_texture": "textures/ui/Black", + "$tooltip_button_hover_texture": "textures/ui/Black", + "$tooltip_button_locked_texture": "textures/ui/Black", + "button_mappings": [], + "bindings": [], + "consume_hover_events": false, + "focus_enabled": false + }, + + "tooltip_panel": { + "type": "input_panel", + "size": [ "100%", 15 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "button_mappings": [ + { + "to_button_id": "$hovered_button_id", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "notification_section": { + "type": "panel", + "controls": [ + { + "notification_panel@multiplayer_lesson.popup_notification_panel": {} + } + ] + } + } + ] + }, + + "ip_address_tooltip_panel@multiplayer_lesson.tooltip_panel": { + "$hovered_button_id": "ip_tooltip.is_hovered", + "$tooltip_popup_visible_binding": "#is_ip_tooltip_hover_panel_visible", + "$tooltip_text_binding_name": "#ip_tooltip_hover_label", + "$tooltip_panel_content": "multiplayer_lesson.ip_label_content" + }, + + "port_tooltip_panel@multiplayer_lesson.tooltip_panel": { + "$hovered_button_id": "port_tooltip.is_hovered", + "$tooltip_popup_visible_binding": "#is_port_tooltip_hover_panel_visible", + "$tooltip_text_binding_name": "#port_tooltip_hover_label", + "$tooltip_panel_content": "multiplayer_lesson.port_label_content" + }, + + "edit_label_and_box@add_external_server.text_edit_group": { + "controls": [ + { + "tooltip_panel@$tooltip_panel": {} + }, + { + "edit_box@common.text_edit_box": { + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 20 ], + "$text_box_name": "$text_box_name", + "$text_edit_box_content_binding_name": "$content_binding_name", + "max_length": "$max_length", + "$text_edit_box_text_type": "$text_type", + "$place_holder_text": "$placeholder_label", + "$text_edit_box_binding_condition": "once" + } + } + ] + }, + + "ip_edit_label_and_box@multiplayer_lesson.edit_label_and_box": { + "$placeholder_label": "course.edu.ipPlaceholder", + "$text_box_name": "#ip_text_box", + "$max_length": 256, + "$content_binding_name": "#ip_text_box_content", + "$tooltip_panel": "multiplayer_lesson.ip_address_tooltip_panel" + }, + + "port_edit_label_and_box@multiplayer_lesson.edit_label_and_box": { + "$placeholder_label": "", + "$max_length": 6, + "$text_type": "NumberChars", + "$text_box_name": "#port_text_box", + "$content_binding_name": "#port_text_box_content", + "$tooltip_panel": "multiplayer_lesson.port_tooltip_panel" + }, + + "join_ip_content": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "edit_boxes_panel@common.empty_panel": { + "size": [ "100%", "fill" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { + "edit_boxes_stack_panel": { + "size": [ "90%", "100%" ], + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "ip_edit_label_and_box@multiplayer_lesson.ip_edit_label_and_box": {} + }, + { + "port_edit_label_and_box@multiplayer_lesson.port_edit_label_and_box": {} + } + ] + } + } + ] + } + }, + { "padding_center@course.horizontal_padding_4px": {} }, + { + "join_lesson_button_panel@common.empty_panel": { + "size": [ "100%", "100%c" ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "controls": [ + { + "play@multiplayer_lesson.play_button": { + "size": [ "50%-8px", 25 ] + } + } + ] + } + }, + { "padding_bottom@course.horizontal_padding_4px": {} } + ] + }, + + "popup_dialog_join_multiplayer@multiplayer_lesson.popup_dialog": { + "$dialog_background": "dialog_background_hollow_3", + "$popup_controls": [ + { + "popup_title@multiplayer_lesson.popup_title": { + "text": "course.edu.joinLesson" + } + }, + { + "popup_message@multiplayer_lesson.popup_message": { + "text": "$popup_message" + } + }, + { + "popup_join_list_content@$popup_content": { + "size": [ "95%", "100%-60px" ], + "offset": [ 0, 25 ] + } + } + ] + }, + + "popup_dialog_join_lesson_list@multiplayer_lesson.popup_dialog_join_multiplayer": { + "$popup_message": "$join_lesson_label", + "$popup_content": "multiplayer_lesson.join_list_content_panel" + }, + + "popup_dialog_join_ip@multiplayer_lesson.popup_dialog_join_multiplayer": { + "$popup_message": "course.edu.enterIp", + "$popup_content": "multiplayer_lesson.join_ip_content", + "size": [ 300, 180 ] + } +} diff --git a/resource_pack/ui/non_xbl_user_management_screen.json b/resource_pack/ui/non_xbl_user_management_screen.json new file mode 100644 index 0000000..60e51b7 --- /dev/null +++ b/resource_pack/ui/non_xbl_user_management_screen.json @@ -0,0 +1,309 @@ +{ + "namespace": "non_xbl_user_management", + + "black_tint_image": { + "type": "image", + "texture": "textures/ui/Black", + "layer": 1 + }, + + "modal_title_text": { + "type": "label", + "$title_text_offset|default": [ 9, 9 ], + "offset": "$title_text_offset", + "size": [ "90%", 15 ], + "$title_text_anchor|default": "top_left", + "$title_text_alignment|default": "left", + "anchor_to": "$title_text_anchor", + "anchor_from": "$title_text_anchor", + "text_alignment": "$title_text_alignment", + "layer": 1, + "text": "#modal_title_text", + "color": "$title_text_color", + "shadow": false, + "bindings": [ + { + "binding_name": "#modal_title_text" + } + ] + }, + + "modal_label_text": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "offset": [ 2, 0 ], + "controls": [ + { + "padding": { + "type": "panel", + "layer": 2, + "size": [ 0, 2 ] + } + }, + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "layer": 2, + "text": "#modal_label_text", + "color": "$body_text_color", + "font_type": "smooth", + "shadow": true, + "bindings": [ + { + "binding_name": "#modal_label_text" + } + ] + } + } + ] + }, + + "modal_label_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100% - 1px", "100% - 3px" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$scrolling_content": "non_xbl_user_management.modal_label_text", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "layer": 1, + "offset": [ 0, 23 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + }, + + "modal_left_button@common_buttons.light_text_button": { + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "50%-1px" ], + "$pressed_button_name": "$popup_dialog_left_button_name", + "$button_text": "#modal_left_button_text", + "bindings": [ + { + "binding_name": "#modal_left_button_text" + } + ] + }, + + "modal_middle_button@common_buttons.light_text_button": { + "anchor_to": "center", + "anchor_from": "center", + "size": [ "100%", "50%-1px" ], + "$pressed_button_name": "$popup_dialog_middle_button_name", + "$button_text": "#modal_middle_button_text", + "bindings": [ + { + "binding_name": "#modal_middle_button_text" + } + ] + }, + + "modal_rightcancel_button@common_buttons.light_text_button": { + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%", "50%-1px" ], + "$pressed_button_name": "$popup_dialog_rightcancel_button_name", + "$button_text": "#modal_rightcancel_button_text", + "bindings": [ + { + "binding_name": "#modal_rightcancel_button_text" + } + ] + }, + + "three_buttons_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 90 ], + "offset": [ 0, -7 ], + "$left_button_focus_precedence|default": 0, + "$right_button_focus_precedence|default": 1, + "controls": [ + { + "left@non_xbl_user_management.modal_left_button": { + "size": [ "100%", "33% - 1px" ], + "default_focus_precedence": "$left_button_focus_precedence" + } + }, + { + "middle@non_xbl_user_management.modal_middle_button": { + "size": [ "100%", "33% - 1px" ] + } + }, + { + "right@non_xbl_user_management.modal_rightcancel_button": { + "size": [ "100%", "33% - 1px" ], + "default_focus_precedence": "$right_button_focus_precedence" + } + } + ] + }, + + "two_buttons_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 64 ], + "offset": [ 0, -7 ], + "$left_button_focus_precedence|default": 0, + "$right_button_focus_precedence|default": 1, + "controls": [ + { + "left@non_xbl_user_management.modal_left_button": { + "default_focus_precedence": "$left_button_focus_precedence" + } + }, + { + "right@non_xbl_user_management.modal_rightcancel_button": { + "default_focus_precedence": "$right_button_focus_precedence" + } + } + ] + }, + + "single_button_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 30 ], + "offset": [ 0, -7 ], + "controls": [ + { "left@non_xbl_user_management.modal_middle_button": { "size": [ "100%", "100%" ] } } + ] + }, + + "modal_dialog_with_buttons": { + "type": "panel", + "anchor_to": "center", + "anchor_from": "center", + "size": "$modal_screen_size", + "controls": [ + { + "background_with_buttons@common.common_panel": { + "$dialog_background": "$dialog_background_override", + "$show_close_button": false, + "$fill_alpha": 1 + } + }, + { "title@non_xbl_user_management.modal_title_text": {} }, + { + "text_with_buttons@non_xbl_user_management.modal_label_panel": { + "size": "$modal_panel_label_size" + } + }, + { + "button_panel@$button_panel": {} + } + ] + }, + + "modal_input_panel@common.input_panel": { + "$popup_dialog_escape_button_name|default": "user_confirm_dialog.escape", + "$popup_dialog_left_button_name|default": "user_confirm_dialog.left_button", + "$popup_dialog_middle_button_name|default": "user_confirm_dialog.middle_button", + "$popup_dialog_rightcancel_button_name|default": "user_confirm_dialog.rightcancel_button", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.menu_secondary_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$popup_dialog_escape_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + } + ], + "controls": [ + { + "black_tint_image@non_xbl_user_management.black_tint_image": { + "ignored": "$is_holographic", + "alpha": 0.5 + } + } + ] + }, + + "user_confirm_dialog_screen_content": { + "type": "panel", + "$button_text_binding_type": "global", + "$button_text_max_size": [ "100%", "100%" ], + "$modal_screen_size|default": [ 204, 140 ], + "$title_text_anchor": "top_middle", + "$title_text_alignment": "center", + "$title_text_offset": [0, 9], + "variables": [ + { + "requires": "($modal_dialog_popup_size = small)", + "$modal_screen_size": [ 204, 110 ] + }, + { + "requires": "($modal_dialog_popup_size = medium)", + "$modal_screen_size": [ 204, 140 ] + }, + { + "requires": "($modal_dialog_popup_size = large)", + "$modal_screen_size": [ 290, 180 ] + }, + { + "requires": "$two_buttons_visible", + "$dialog_background_override": "dialog_background_hollow_1", + "$button_panel": "non_xbl_user_management.two_buttons_panel", + "$modal_panel_label_size": ["100% - 16px", "100% - 96px"] + }, + { + "requires": "$single_button_visible", + "$dialog_background_override": "dialog_background_hollow_2", + "$button_panel": "non_xbl_user_management.single_button_panel", + "$modal_panel_label_size": ["100% - 16px", "100% - 62px"] + }, + { + "requires": "$no_buttons_visible", + "$dialog_background_override": "dialog_background_hollow_3", + "$button_panel": "common.empty_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 28px" ] + } + ], + "controls": [ + { + "modal_input@non_xbl_user_management.modal_input_panel": { + "controls": [ + { + "modal_bg_buttons@non_xbl_user_management.modal_dialog_with_buttons": {} + } + ] + } + } + ] + }, + + "user_confirm_dialog_screen@common.base_screen": { + "$screen_content": "non_xbl_user_management.user_confirm_dialog_screen_content" + } +} diff --git a/resource_pack/ui/npc_interact_screen.json b/resource_pack/ui/npc_interact_screen.json new file mode 100644 index 0000000..c4c4999 --- /dev/null +++ b/resource_pack/ui/npc_interact_screen.json @@ -0,0 +1,1537 @@ + /******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "npc_interact", + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + "multiline_text_edit_control@common.multiline_text_edit_box": { + "anchor_from": "center", + "anchor_to": "center", + "$place_holder_text": "npcscreen.addtext", + "property_bag": { + "#property_field": "#item_name" + } + }, + + "text_edit_control@common.text_edit_box": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "property_bag": { + "#property_field": "#item_name" + } + }, + + "label_padding@common.empty_panel": { + "size": [ "100%", 1 ] + }, + + // Stack panel under title bar that fills the frame + "main_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 8px", "100%c" ] + }, + + //--------------------------------------------------------------------------- + // Skin picker + //--------------------------------------------------------------------------- + "skin_button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "skins_collection", + "binding_collection_prefix": "skins" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.view_skin", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.view_skin", + "mapping_type": "focused" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + } + ] + }, + + "skin_model": { + "type": "custom", + "renderer": "actor_portrait_renderer", + "layer": 5, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", "100%" ], + "offset": [ 0, -10 ], + "enable_scissor_test": true, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "skins_collection", + "binding_name": "#skin_index" + } + ] + }, + + "skin_model_clipper": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 1px" ], + "clips_children": true + }, + + "skins_grid_item": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "default", "100%" ], + "controls": [ + { + "clip@npc_interact.skin_model_clipper": { + "controls": [ + { + "model@npc_interact.skin_model": {} + } + ] + } + }, + { "button@npc_interact.skin_button": {} }, + { + // Frame that appears around this item if it is the selected one + "selectFrame@common.focus_border_white": { + "size": [ "100% - 1px", "100% - 2px" ], + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#skin_visible", + "binding_name_override": "#visible", + "binding_collection_name": "skins_collection" + } + ] + } + } + ] + }, + + "skins_grid": { + "type": "grid", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, 0 ], + "size": [ 160, 65 ], + "grid_item_template": "npc_interact.skins_grid_item", + "grid_dimension_binding": "#skins_grid_dimensions", + "collection_name": "skins_collection", + "bindings": [ + { + "binding_name": "#skins_grid_dimensions" + } + ] + }, + + "cycle_pack_button@common_buttons.light_glyph_button": { + "$button_content": "skin_picker.chevron_image" + }, + + "cycle_pack_left_button@npc_interact.cycle_pack_button": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$chevron_image_name": "textures/ui/chevron_left", + "$pressed_button_name": "button.cycle_pack_left" + }, + + "cycle_pack_right_button@npc_interact.cycle_pack_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$chevron_image_name": "textures/ui/chevron_right", + "$pressed_button_name": "button.cycle_pack_right" + }, + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners" + }, + + "skin_picker@npc_interact.banner_fill": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 65 ], + "offset": [ -1, -10 ], + "layer": 5, + "controls": [ + { + "left@npc_interact.cycle_pack_left_button": { + "size": [ 30, "100%" ], + "bindings": [ + { + "binding_name": "#cycle_pack_left_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sg@npc_interact.skins_grid": { + } + }, + { + "right@npc_interact.cycle_pack_right_button": { + "size": [ 30, "100%" ], + "bindings": [ + { + "binding_name": "#cycle_pack_left_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Basic Panel + //--------------------------------------------------------------------------- + "name_edit@npc_interact.text_edit_control": { + "max_length": 128, + "size": [ "100%", 14 ], + "$wrap": false, + "$text_edit_box_content_binding_name": "#name_text", + "$text_box_name": "#name_text_box", + "$text_edit_box_binding_condition": "once" + }, + + "advanced_button": { + // This button is small, and we want it to be centered, so wrap in in a panel and center relative to that + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "button@common_buttons.light_text_form_fitting_button": { + "$pressed_button_name": "button.advanced_settings", + "$button_text": "npcscreen.advancedsettings", + "layer": 2, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 2 ] + } + } + ] + }, + + "dialog_button": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "button@common_buttons.light_text_form_fitting_button": { + "$pressed_button_name": "button.dialog_button", + "$button_text": "npcscreen.editdialog", + "layer": 2, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 1 ] + } + } + ] + }, + + "basic_stack_panel@npc_interact.main_stack_panel": { + "controls": [ + { "top_pad@common.empty_panel": { "size": [ "100%", 4 ] } }, + { + "name_label@edu_common.light_label": { + "text": "npcscreen.name" + } + }, + { "name_padding@npc_interact.label_padding": {} }, + { "name_edit@npc_interact.name_edit": {} }, + { "dialog_pre_padding@npc_interact.label_padding": {} }, + { + "dialog_label@edu_common.light_label": { + "text": "npcscreen.dialog" + } + }, + { "dialog_post_padding@npc_interact.label_padding": {} }, + { "dialog__padding@npc_interact.label_padding": {} }, + { "dialog_button@npc_interact.dialog_button": {} }, + { "appearance_pre_padding@npc_interact.label_padding": {} }, + { + "appearance_label@edu_common.light_label": { + "text": "npcscreen.appearance" + } + }, + { "appearance_post_padding@npc_interact.label_padding": {} }, + { "skins@npc_interact.skin_picker": {} }, + { "advanced_button@npc_interact.advanced_button": {} } + ] + }, + + "basic_content": { + // Arbitrary type, just want to group all basic controls together + "type": "panel", + "controls": [ + { "basic@npc_interact.basic_stack_panel": {} } + ], + "bindings": [ + { + "binding_name": "#basic_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + //--------------------------------------------------------------------------- + // Advanced Panel + //--------------------------------------------------------------------------- + "advanced_stack_panel@npc_interact.main_stack_panel": { + "controls": [ + { "top_pad@common.empty_panel": { "size": [ "100%", 4 ] } }, + { "add_help_text@npc_interact.add_help_text": {} }, + { "middle_pad@common.empty_panel": { "size": [ "100%", 12 ] } }, + { "actions@npc_interact.action_panel": {} }, + { "add_buttons@npc_interact.add_buttons": {} }, + { "bottom_pad@common.empty_panel": { "size": [ "100%", 4 ] } } + ] + }, + + "action_title@edu_common.dark_label": { + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "plus_icon": { + "type": "image", + "size": [ 15, 15 ], + "layer": 2, + "texture": "textures/ui/plus" + }, + + "plus_button@common_buttons.light_glyph_button": { + "size": [ 30, 30 ], + "layer": 1, + "$button_content": "npc_interact.plus_icon", + "$pressed_button_name": "button.expand_action_edit", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "actions_collection", + "binding_collection_prefix": "actions" + } + ] + }, + + "action_text_edit@npc_interact.multiline_text_edit_control": { + "size": [ 252, 50 ], + "max_length": 1024, + "anchor_from": "top_left", + "anchor_to": "top_left", + "$text_edit_box_content_binding_type": "collection", + "$text_edit_box_grid_collection_name": "actions_collection", + "$text_edit_box_content_binding_name": "#action_text", + "$text_box_name": "action_text_box", + "$text_edit_box_binding_condition": "visible", + "enabled_newline": true, + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#command_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "actions_collection", + "binding_condition": "once" + }, + { + "binding_type": "collection", + "binding_name": "#add_command_focus_override_up", + "binding_name_override": "#focus_change_up", + "binding_collection_name": "actions_collection" + }, + { + "binding_type": "collection", + "binding_name": "#command_focus_override_down", + "binding_name_override": "#focus_change_down", + "binding_collection_name": "actions_collection" + } + ] + }, + + "maximized_action_edit@npc_interact.multiline_text_edit_control": { + "size": [ "100%", "100%" ], + "$text_edit_box_content_binding_name": "#maximized_action_text", + "$text_box_name": "maximized_action_edit_box", + "$text_edit_box_binding_condition": "visible", + "$place_holder_text": "#maximized_placeholder_text", + "max_length": 1024, + "enabled_newline": true, + "bindings": [ + { + "binding_name": "#maximized_edit_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#maximized_placeholder_text" + } + ] + }, + + "action_edit": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50px" ], + "controls": [ + { + "text_edit@npc_interact.action_text_edit": { + "$place_holder_text": "$action_edit_placeholder" + } + }, + { + "expand@npc_interact.plus_button": { + "size": [ 30, 50 ] + } + } + ] + }, + + "button_name_edit@npc_interact.text_edit_control": { + "max_length": 128, + "size": [ "100%", 14 ], + "$wrap": false, + "$text_edit_box_content_binding_type": "collection", + "$text_edit_box_grid_collection_name": "actions_collection", + "$text_edit_box_content_binding_name": "#button_name_text", + "$text_box_name": "button_name_edit", + "$text_edit_box_binding_condition": "once", + // Shouldn't be needed, but for some reason this control doesn't pad the label properly + "$text_edit_box_label_anchor_point": "left_middle", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#button_name_edit_visible", + "binding_name_override": "#visible", + "binding_collection_name": "actions_collection" + }, + { + "binding_type": "collection", + "binding_name": "#button_name_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "actions_collection", + "binding_condition": "once" + }, + { + "binding_type": "collection", + "binding_name": "#button_name_focus_override_up", + "binding_name_override": "#focus_change_up", + "binding_collection_name": "actions_collection", + "binding_condition": "once" + } + ] + }, + + "command_toggle@edu_common.slider_toggle": { + "$toggle_grid_collection_name": "actions_collection", + "$toggle_binding_type": "collection", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "actions_collection", + "binding_collection_prefix": "actions" + }, + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + }, + { + "binding_type": "$toggle_enabled_binding_type", + "binding_condition": "$toggle_enabled_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_type": "collection", + "binding_name": "#button_mode_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "actions_collection", + "binding_condition": "once" + }, + { + "binding_type": "collection", + "binding_name": "#button_mode_focus_override_up", + "binding_name_override": "#focus_change_up", + "binding_collection_name": "actions_collection", + "binding_condition": "once" + } + ] + }, + + "command_toggle_panel@common.empty_panel": { + "size": [ "30% + 10px", "100%" ], + "controls": [ + { + "command_toggle@npc_interact.command_toggle": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$toggle_name": "$toggle_name", + "$toggle_state_binding_name": "$toggle_state_binding_name" + } + }, + { + // Can't use $option_label because the text has to be dark + "toggle_label@edu_common.dark_label": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "max_size": [ "70%", "100%" ], + "text": "$toggle_label_text", + "offset": [ 32, 0 ] + } + } + ] + }, + + "action_mode": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 25 ], + "controls": [ + { + "button_mode_toggle_panel@npc_interact.command_toggle_panel": { + "$toggle_name": "button_mode_toggle", + "$toggle_state_binding_name": "#button_mode_enabled", + "$toggle_label_text": "npcscreen.action.buttonmode" + } + }, + { + "on_enter_toggle_panel@npc_interact.command_toggle_panel": { + "$toggle_name": "on_enter_toggle", + "$toggle_state_binding_name": "#on_enter_enabled", + "$toggle_label_text": "npcscreen.action.onEnter" + } + }, + { + "on_exit_toggle_panel@npc_interact.command_toggle_panel": { + "$toggle_name": "on_exit_toggle", + "$toggle_state_binding_name": "#on_exit_enabled", + "$toggle_label_text": "npcscreen.action.onExit" + } + } + ], + "bindings": [ + { + // Actions on close are not allowed for url actions, so hide this toggle in that case + "binding_type": "collection", + "binding_name": "(not #is_url_action)", + "binding_name_override": "#visible", + "binding_collection_name": "actions_collection" + } + ] + }, + + "button_name_label@edu_common.dark_label": { + "text": "npcscreen.action.buttonname", + "bindings": [ + { + // Actions on close are not allowed for url actions, so show this label instead + "binding_type": "collection", + "binding_name": "#is_url_action", + "binding_name_override": "#visible", + "binding_collection_name": "actions_collection" + } + ] + }, + + "url_notifications": { + "type": "stack_panel", + "orientation": "vertical", + "size": ["100%", "100%c"], + "controls": [ + { + "empty_uri_warning@edu_common.inline_notification": { + "$state": "warning", + "$warning_text": "npcscreen.action.url.warning.emptyUri", + "bindings": [ + { + "binding_name": "(#action_error_status = 'EmptyUri')", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "actions_collection" + } + ] + } + }, + { + "invalid_uri_warning@edu_common.inline_notification": { + "$state": "warning", + "$warning_text": "npcscreen.action.url.warning.invalidUri", + "bindings": [ + { + "binding_name": "(#action_error_status = 'InvalidUri')", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "actions_collection" + } + ] + } + } + ] + }, + + "action_template@npc_interact.main_stack_panel": { + "size": [ "100% - 12px", "100%c" ], + "offset": [ 0, 5 ], + "controls": [ + { + "title@npc_interact.action_title": { + "text": "$action_title" + } + }, + { "label_pad@common.empty_panel": { "size": [ "100%", 2 ] } }, + { "edit@npc_interact.action_edit": {} }, + { "edit_pad@common.empty_panel": { "size": [ "100%", 1 ] } }, + { "url_warning@npc_interact.url_notifications": {} }, + { "url_pad@common.empty_panel": { "size": [ "100%", 3 ] } }, + { "action_mode@npc_interact.action_mode": {} }, + { "mode_pad@common.empty_panel": { "size": [ "100%", 3 ] } }, + { "button_name_label@npc_interact.button_name_label": {} }, + { "button_name@npc_interact.button_name_edit": {} } + ] + }, + + "action_command@npc_interact.action_template": { + "$action_title": "npcscreen.action.command.title", + "$action_edit_placeholder": "npcscreen.action.command.placeholder", + "bindings": [ + { + // All action types are in the control, but only one is visible through bindings + "binding_type": "collection", + "binding_name": "#is_command_action", + "binding_name_override": "#visible", + "binding_collection_name": "actions_collection" + }, + { + "binding_name": "#commands_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "action_url@npc_interact.action_template": { + "$action_title": "npcscreen.action.url.title", + "$action_edit_placeholder": "npcscreen.action.url.placeholder", + "bindings": [ + { + // All action types are in the control, but only one is visible through bindings + "binding_type": "collection", + "binding_name": "#is_url_action", + "binding_name_override": "#visible", + "binding_collection_name": "actions_collection" + } + ] + }, + + "padded_action": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { "action@npc_interact.action": {} }, + { + "padding": { + "type": "panel", + "size": [ "100%", 10 ] + } + } + ] + }, + + "action": { + "type": "image", + "texture": "textures/ui/dialog_background_opaque", + "size": [ "100%", "100%c" ], + "controls": [ + { + "trash@edu_common.photo_trash_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -4, 4 ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.delete_action", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.delete_action", + "mapping_type": "pressed" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "actions_collection", + "binding_collection_prefix": "actions" + } + ] + } + }, + { "command@npc_interact.action_command": {} }, + { "url@npc_interact.action_url": {} } + ] + }, + + // Collection of "actions", meaning url or command buttons + "action_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "factory": { + "name": "action_item_factory", + "control_name": "npc_interact.padded_action" + }, + "collection_name": "actions_collection", + "bindings": [ + { + "binding_name": "#action_count", + "binding_name_override": "#collection_length" + } + ] + }, + + "add_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.add_url", + "$button_text": "npcscreen.addurl", + "size": [ "fill", 20 ] + }, + + "help_label@edu_common.light_label": { + "size": "$label_size", + "variables": [ + { + "requires": "$education_edition", + "$label_size": [ 139, "default" ] + }, + { + "requires": "(not $education_edition)", + "$label_size": [ "default", "default" ] + } + ] + }, + + // Help text that is visible when no actions have been added + "add_help_section": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "text_url": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "ignored": "(not $education_edition)", + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%sm + 5px", "100%sm + 5px" ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "wrapper_panel_url": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "text_url_a@npc_interact.help_label": { + "text": "$text_url_a" + } + }, + { + "padding@common.empty_panel": { + "size": [ "100%sm", 12 ] + } + }, + { + "text_url_b@npc_interact.help_label": { + "text": "$text_url_b" + } + } + ] + } + } + ] + } + }, + { + "padding@common.empty_panel": { + "size": [ 23, 12 ], + "ignored": "(not $education_edition)" + } + }, + { + "text_command": { + "type": "panel", + "size": [ "fill", "100%cm" ], + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%sm + 5px", "100%sm + 5px" ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "wrapper_panel_command": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "text_command_a@npc_interact.help_label": { + "text": "$text_command_a" + } + }, + { + "padding@common.empty_panel": { + "size": [ "100%sm", 12 ] + } + }, + { + "text_command_b@npc_interact.help_label": { + "text": "$text_command_b" + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#help_visible", + "binding_name_override": "#visible" + } + ] + }, + + "add_help_text@npc_interact.add_help_section": { + "$text_url_a": "npcscreen.help.url.a", + "$text_url_b": "npcscreen.help.url.b", + "$text_command_a": "npcscreen.help.command.a", + "$text_command_b": "npcscreen.help.command.b" + }, + + "add_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "add_url@npc_interact.add_button": { + "$pressed_button_name": "button.add_url", + "$button_text": "npcscreen.addurl", + "ignored": "(not $education_edition)", + "bindings": [ + { + "binding_name": "#commands_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#add_command_focus_override_up", + "binding_name_override": "#focus_change_up" + } + ] + } + }, + { + "padding@common.empty_panel": { + "size": [ 23, "100%sm" ], + "ignored": "(not $education_edition)" + } + }, + { + "add_command@npc_interact.add_button": { + "$pressed_button_name": "button.add_command", + "$button_text": "npcscreen.addcommand", + "bindings": [ + { + "binding_name": "#commands_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#add_command_focus_override_up", + "binding_name_override": "#focus_change_up" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#add_buttons_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "advanced_scrolling_panel@common.scrolling_panel": { + "$show_background": false, + "size": [ "100%", "100%" ], + "$scroll_size": [ 5, "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 4, 0 ], + "$scrolling_content": "npc_interact.advanced_scrolling_content" + }, + + "advanced_scrolling_content": { + // Arbitrary type, just want to group all advanced controls together + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "advanced@npc_interact.advanced_stack_panel": {} } + ], + "bindings": [ + { + "binding_name": "#advanced_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + //--------------------------------------------------------------------------- + // Student Panel + //--------------------------------------------------------------------------- + "message_model": { + "type": "panel", + // This window has a zoomed in top portion of the paper doll, so offset down and oversize a bit to zoom in + // Do this on a parent element since the async ui transition grabs parent size + "size": [ "100%", "150%" ], + "controls": [ + { + "model@npc_interact.skin_model": { + "offset": [ 0, 0 ], + "bindings": [ + { + "binding_type": "global", + // Binding itself doesn't do anything, but the callback is used to fill the property bag + "binding_name": "#student_model_update" + } + ] + } + } + ] + }, + + "clipped_message_model@npc_interact.skin_model_clipper": { + "controls": [ + { "model@npc_interact.message_model": {} } + ] + }, + + "message_model_window@npc_interact.banner_fill": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + // Take up the rest of the space that the text doesn't take, with a gap + "size": [ "100% - 222px - 2px", "100%" ], + "controls": [ + { "model@npc_interact.clipped_message_model": {} }, + { + "immersive_reader_button@im_reader.reader_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -2, -2 ], + "size": [ 18, 18 ], + "$button_tts_name|default": "key.immersivereader", + "layer": 5, + "ignored": "($is_worldbuilder or not $education_edition)", + "bindings": [ + { + "binding_name": "#im_reader_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "edit_box_background@common.empty_panel": {}, + + "npc_message@npc_interact.multiline_text_edit_control": { + "$enabled": true, + "size": [ "100%", "100%cm" ], + "enabled": "$enabled", + "anchor_from": "top_left", + "anchor_to": "top_left", + "$text_background_default": "npc_interact.edit_box_background", + "$text_background_hover": "npc_interact.edit_box_background", + "$text_box_text_color": "$npc_dialog_text_color", + "$text_box_name": "student_message_bubble", + "$text_edit_box_content_binding_name": "#dialogtext", + "$color": "$npc_dialog_text_color", + "$disabled_alpha": 1, + "max_length": 1000, + "constrain_to_rect": false, + "$text_edit_box_placeholder_content_binding_name": "#placeholder_dialog_text", + "$text_alpha": 1, + "$locked_text_alpha": "$disabled_alpha", + "$locked_color": "$color", + "variables": [ + { + // Clear placeholder text for non-worldbuilders so they don't see "add text here" when they don't have permission to add text + "requires": "(not $is_worldbuilder)", + "$place_holder_text": "", + "$enabled": false + } + ], + // Clear enabled binding, we're using a variable + "bindings": [ + ], + "locked_control": "background", + "default_control": "background", + "hover_control": "background", + "pressed_control": "background", + "text_control": "label", + "place_holder_control": "place_holder", + "controls": [ + { + "label@common.text_edit_box_label": { + "layer": 1, + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "visibility_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "place_holder@common.text_edit_box_place_holder_label": { + "layer": 1, + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ], + + "bindings": [ + { + "binding_type": "view", + "source_control_name": "label", + "source_property_name": "(#item_name = '')", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + }, + { "background@common.empty_panel": { "size": [ "100%", "100%sm" ] } } + ] + }, + + "text_scroll@common.scrolling_panel": { + "size": [ "100% - 10px", "100% - 11px" ], + "$always_handle_scrolling": true, + "$jump_to_bottom_on_update": false, + "$scrolling_content": "npc_interact.npc_message", + "$scroll_box_visible_touch": false, + "$show_background": false, + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 0, 0 ], + "$scroll_size": [ 5, "100%" ], + "$scroll_size_touch": "$scroll_size", + "offset": [ 0, -1 ], + "variables": [ + { + // Always jump to the bottom when it's in worldbuilder + "requires": "($is_worldbuilder)", + "$jump_to_bottom_on_update": true + } + ] + }, + + "student_message_bubble": { + "type": "image", + "texture": "textures/ui/dialog_bubble", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 222, "100%" ], + "controls": [ + { + "dialog_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$virtual_keyboard_buffer_control": "text_scroll", + "controls": [ + { "text_scroll@npc_interact.text_scroll": {} } + ] + } + } + ] + }, + + // Point on the speach bubble, positioned right at the edge of the bubble pointing into the paper doll window + "bubble_point": { + "type": "image", + "texture": "textures/ui/dialog_bubble_point", + "size": [ 16, 18 ], + "layer": 6, + "anchor_from": "right_middle", + "anchor_to": "right_middle", + // Offset to be on just to the left of the text + "offset": [ "-222px + 1px", 0 ] + }, + + "student_message_section@common.empty_panel": { + "size": [ "100%", 97 ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "model@npc_interact.message_model_window": {} + }, + { + "point@npc_interact.bubble_point": {} + }, + { + "message@npc_interact.student_message_bubble": {} + } + ] + }, + + "student_button_label": { + "type": "label", + "color": "$text_color", + "text": "#student_button_text", + "bindings": [ + { + "binding_name": "#student_button_text", + "binding_type": "collection", + "binding_collection_name": "student_buttons_collection" + }, + { + "binding_name": "$visible_binding", + "binding_type": "collection", + "binding_name_override": "#visible", + "binding_collection_name": "student_buttons_collection" + } + ] + }, + + "student_button_label_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "url@npc_interact.student_button_label": { + "variables": [ + { + "requires": "$default_state", + "$text_color": "$npc_url_text_color" + } + ], + "$visible_binding": "#is_url_button" + } + }, + { + "command@npc_interact.student_button_label": { + "$visible_binding": "#is_command_button" + } + } + ] + }, + + // Wrap in panel so we can make the buttons a bit smaller for padding + "student_button@common.empty_panel": { + // Grid has 3 columns, so 1/3 size + "size": [ "33.3333%", 20 ], + "controls": [ + { + "button@common_buttons.light_text_button": { + "$button_type_panel": "npc_interact.student_button_label_panel", + "$pressed_button_name": "button.student_button", + "layer": 4, + "size": [ "100% - 2px", "100% - 2px" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "student_buttons_collection", + "binding_collection_prefix": "student_buttons" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#student_button_visible", + "binding_type": "collection", + "binding_name_override": "#visible", + "binding_collection_name": "student_buttons_collection" + } + ] + }, + + "student_buttons@common.empty_panel": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "buttons": { + "type": "stack_panel", + "orientation": "horizontal", + // A bit bigger than 100% so edges line up with other ui, as the buttons are -2px smaller for padding + "size": [ "100% + 2px", "100%cm" ], + "controls": [ + { + "actions": { + "type": "grid", + "size": [ "fill", "default" ], + "grid_item_template": "npc_interact.student_button", + "grid_dimension_binding": "#student_button_grid_dimensions", + "collection_name": "student_buttons_collection", + "bindings": [ + { + "binding_name": "#student_button_grid_dimensions" + } + ] + } + } + ] + } + } + ] + }, + + "student_stack_panel@npc_interact.main_stack_panel": { + "size": [ "100%", "100%c" ], + "controls": [ + { "top_pad@common.empty_panel": { "size": [ "100%", 4 ] } }, + { "message@npc_interact.student_message_section": {} }, + { "message_pad@common.empty_panel": { "size": [ "100%", 4 ] } }, + { "buttons@npc_interact.student_buttons": {} } + ] + }, + + "student_view_content": { + // Arbitrary type, just want to group all advanced controls together + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { "student@npc_interact.student_stack_panel": {} }, + { + "close@npc_interact.close_button_holder": { + "$close_button_to_button_id": "button.exit_student" + } + } + ], + "bindings": [ + { + "binding_name": "#student_view_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + // ----------------------------------------------- + // Base window + // ----------------------------------------------- + "close_button_base@common.back_button": { + "type": "button", + "size": [ 21, 21 ], + "layer": 10, + "offset": [ -2, 2 ], + "locked_control": "", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "$close_button_panel_size": [ 15, 15 ], + "$close_button_to_button_id": "button.menu_exit", + "$button_text": "", + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "focused" + }, + { + // Catch ESC here too + "from_button_id": "button.menu_cancel", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "global" + } + ], + "controls": [ + { + "default@common.close_button_panel": { + "$close_button_texture": "$default_texture" + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "$hover_texture" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "$pressed_texture" + } + } + ], + "bindings": [ + { + "binding_name": "$visibility_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "x_close_button@common.close_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "focused" + }, + { + // Catch ESC here too + "from_button_id": "button.menu_cancel", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "global" + } + ], + "bindings": [ + { + "binding_name": "$visibility_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + // Visibility binding overtakes ignore condition, so wrap in parent that can ignore, then child can bind visibility + "ignorable_x_close_button": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "button@npc_interact.x_close_button": {} } + ] + }, + + "close_button_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + // Weird anchoring since this needs to be above the top right corner, outside the panel indent + "anchor_from": "top_right", + "anchor_to": "bottom_right", + "offset": [ 8, -3 ], + // Since there's a close button on every screen, the close button on a given screen handles the button mapping + // for back/esc. This means for any screen the first back press will first deselect a text box if one is selected, + // then the next press maps to one of these "close_button_to_button_id" values + "controls": [ + { + "close_basic@npc_interact.x_close_button": { + "$close_button_to_button_id": "button.exit_basic", + "$visibility_binding_name": "#basic_visible" + } + }, + { + "close_student_edit@npc_interact.ignorable_x_close_button": { + // Only show this when editing the student view as a worldbuilder + "ignored": "(not $is_worldbuilder)", + "$close_button_to_button_id": "button.exit_student_edit", + "$visibility_binding_name": "#student_view_visible" + } + }, + { + "close_student@npc_interact.ignorable_x_close_button": { + // Only show this when viewing the student view as a non-worldbuilder + "ignored": "$is_worldbuilder", + "$close_button_to_button_id": "button.exit_student", + "$visibility_binding_name": "#student_view_visible" + } + }, + { + "close_maximized_action_edit@npc_interact.close_button_base": { + "$close_button_to_button_id": "button.exit_maximized", + "$default_texture": "textures/ui/minimize", + "$hover_texture": "textures/ui/minimizeHover", + "$pressed_texture": "textures/ui/minimizePress", + "$visibility_binding_name": "#maximized_edit_visible" + } + }, + { + "close_advanced@npc_interact.close_button_base": { + "$close_button_to_button_id": "button.exit_advanced", + "$default_texture": "textures/ui/back_button_default", + "$hover_texture": "textures/ui/back_button_hover", + "$pressed_texture": "textures/ui/back_button_pressed", + "$visibility_binding_name": "#advanced_visible" + } + } + ] + }, + + "main_content@common.empty_panel": { + "controls": [ + { "basic@npc_interact.basic_content": {} }, + { "advanced@npc_interact.advanced_scrolling_panel": {} }, + { "maximized_action_edit@npc_interact.maximized_action_edit": {} }, + { "close@npc_interact.close_button_holder": {} } + ] + }, + + "root_panel@common_dialogs.main_panel_no_buttons": { + "size": [ 325, 200 ], + "layer": 1, + "anchor_from": "center", + "anchor_to": "center", + "$title_panel": "common_dialogs.standard_title_label", + "$text_name": "#title_text", + "$title_text_binding_type": "global", + // Can't use default button because we need to change the icon to indicate if it's going to go back or close the window + "$show_close_button": false + }, + + "gamepad_helper_exit_text": { + "type": "label", + "text": "controller.buttonTip.exit", + "color": "$gamepad_description_text_color" + }, + + "close_text@common.gamepad_helper_b": { + "$gamepad_description": "npc_interact.gamepad_helper_exit_text" + }, + + "npc_screen_contents": { + "type": "panel", + "controls": [ + { + // Teacher window containing basic and advanced editing screens + "teacher@npc_interact.root_panel": { + "$child_control": "npc_interact.main_content", + "bindings": [ + { + "binding_name": "#teacher_view_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + // Student view is form fitting because there could be any amount of student buttons and we don't want dead space + "student@common_dialogs.form_fitting_main_panel_no_buttons": { + "$panel_size": [ 320, "100%cm" ], + "size": "$panel_size", + "$child_control": "npc_interact.student_view_content", + "$title_panel": "common_dialogs.standard_title_label", + "$text_name": "#title_text", + "$title_text_binding_type": "global", + // Don't show default close button, we want our own + "$show_close_button": false, + "$custom_background": "common_dialogs.dialog_background_opaque_with_child", + "bindings": [ + { + "binding_name": "#student_view_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "npc_screen_close@npc_interact.close_text": { + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "offset": [ 20, 0 ] + } + } + ] + }, + + "npc_screen@common.base_screen": { + "type": "screen", + "$screen_content": "npc_interact.npc_screen_contents", + "button_mappings": [ + { + "from_button_id": "button.menu_exit", + "to_button_id": "button.menu_continue", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/online_safety_screen.json b/resource_pack/ui/online_safety_screen.json new file mode 100644 index 0000000..d543e5b --- /dev/null +++ b/resource_pack/ui/online_safety_screen.json @@ -0,0 +1,263 @@ +{ + "namespace": "online_safety", + + //-------------------------------------------------------------------------------- + + "online_safety_proceed_button@popup_dialog.popup_dialog_button": { + "size": "$button_size", + "$pressed_button_name": "button.proceed", + "$button_text": "onlinePlay.proceed" + }, + + "online_safety_back_button@popup_dialog.popup_dialog_button": { + "size": "$button_size", + "$pressed_button_name": "button.back", + "$button_text": "onlinePlay.Back" + }, + + "online_safety_description": { + "type": "label", + "size": [ "100%-4px", "default" ], + "color": "$body_text_color", + "$safety_description_text|default": "onlinePlay.message", + "variables": [ + { + "requires": "$is_editor_mode_enabled", + "$safety_description_text": "onlinePlay.editor.message" + } + ], + "text": "$safety_description_text" + }, + + "ip_safety_description": { + "type": "label", + "size": [ "100%-4px", "default" ], + "color": "$body_text_color", + "$safety_description_text|default": "onlinePlay.untrustedIp.message", + + "text": "$safety_description_text" + }, + + "online_safety_label_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100% - 1px", "100% - 3px" ], + "$scrolling_pane_offset": [ 2, 2 ], + "$scrolling_content": "online_safety.online_safety_description", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$always_handle_scrolling": true + }, + + "ip_safety_label_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100% - 1px", "100% - 3px" ], + "$scrolling_pane_offset": [ 2, 2 ], + "$scrolling_content": "online_safety.ip_safety_description", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$always_handle_scrolling": true + }, + + "do_not_show_checkbox@common.checkbox": { + "size": [ "100%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$toggle_name": "online_safety_do_not_show_again", + "$toggle_state_binding_name": "#online_safety_do_not_show_again", + "$toggle_label_text|default": "onlinePlay.doNotShowAgain", + + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + "$toggle_enabled_binding_type": "global", + + "controls": [ + { + "header_description_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "controls": [ + { + "checkbox_visuals@common.toggle_visuals": { + "size": [ 30, "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "buffer_panel": { + "type": "panel", + "layer": 3, + "size": [ "fill", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "$toggle_label_text", + "size": [ "default", "default" ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "another_panel": { + "type": "panel", + "size": [ 30, "100%" ] + } + } + ] + } + } + ] + }, + + "online_safety_dialog@common_dialogs.main_panel_two_buttons": { + "size": [ 300, 200 ], + "$fill_alpha": 1, + + "layer": 101, + "$text_name": "onlinePlay.notRated", + "$description_text": "onlinePlay.message", + "variables": [ + { + "requires": "$is_editor_mode_enabled", + "$text_name": "onlinePlay.editor.notRated", + "$description_text": "onlinePlay.editor.message" + } + ], + + "$button_size": [ "100%", 30 ], + + "$show_close_button": false, + "$child_control": "online_safety.online_safety_label_panel", + "$top_button_panel": "online_safety.online_safety_proceed_button", + "$bottom_button_panel": "online_safety.online_safety_back_button" + }, + + "ip_safety_dialog@common_dialogs.main_panel_three_buttons": { + "size": [ 300, 200 ], + "$fill_alpha": 1, + + "layer": 101, + "$text_name": "onlinePlay.untrustedIp.title", + "$description_text": "onlinePlay.untrustedIp.message", + + "$button_size": [ "100%", 30 ], + + "$show_close_button": false, + "$child_control": "online_safety.ip_safety_label_panel", + "$top_button_panel": "online_safety.do_not_show_checkbox", + "$middle_button_panel": "online_safety.online_safety_proceed_button", + "$bottom_button_panel": "online_safety.online_safety_back_button" + }, + + //-------------------------------------------------------------------------------- + + "gamepad_helpers": { + "type": "panel", + "size": [ 100, 10 ], + "offset": [ 0, "45%" ], + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + "online_safety_screen@common.base_screen": { + "force_render_below": false, + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade" + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + + "$screen_content": "online_safety.online_safety_screen_content" + }, + + "online_safety_screen_content": { + "type": "panel", + "variables": [ + { + "requires": "$desktop_screen", + "$button_state_default_base": "common.button_state_default", + "$button_state_hover_base": "common.button_state_hover", + "$button_state_pressed_base": "common.button_state_pressed" + }, + { + "requires": "$pocket_screen", + "$button_state_default_base": "common-classic.button_state_default", + "$button_state_hover_base": "common-classic.button_state_hover", + "$button_state_pressed_base": "common-classic.button_state_pressed" + } + ], + "controls": [ + { "online_safety_dialog@online_safety.online_safety_dialog": {} }, + { "gamepad_helpers@online_safety.gamepad_helpers": {} } + ] + }, + "ip_safety_screen@common.base_screen": { + "force_render_below": false, + "should_be_skipped_during_automation": true, + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade" + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + + "$screen_content": "online_safety.ip_safety_screen_content" + }, + + "ip_safety_screen_content": { + "type": "panel", + "variables": [ + { + "requires": "$desktop_screen", + "$button_state_default_base": "common.button_state_default", + "$button_state_hover_base": "common.button_state_hover", + "$button_state_pressed_base": "common.button_state_pressed" + }, + { + "requires": "$pocket_screen", + "$button_state_default_base": "common-classic.button_state_default", + "$button_state_hover_base": "common-classic.button_state_hover", + "$button_state_pressed_base": "common-classic.button_state_pressed" + } + ], + "controls": [ + { "ip_safety_dialog@online_safety.ip_safety_dialog": {} }, + { "gamepad_helpers@online_safety.gamepad_helpers": {} } + ] + } +} diff --git a/resource_pack/ui/pack_settings_screen.json b/resource_pack/ui/pack_settings_screen.json new file mode 100644 index 0000000..378fa18 --- /dev/null +++ b/resource_pack/ui/pack_settings_screen.json @@ -0,0 +1,189 @@ +{ + "namespace": "pack_settings", + + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + }, + + "screen@common.base_screen": { + "force_render_below": true, + "$fill_alpha": 1.0, + "$screen_content": "pack_settings.main_screen_content", + "$screen_bg_content": "pack_settings.background", + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "main_screen_content@common_dialogs.main_panel_no_buttons": { + "size": "$extra_large_screen_size", + "max_size": "$extra_large_max_screen_size", + "$child_control": "pack_settings.pack_scroll_panel", + "$text_name": "#pack_settings_title", + "$title_text_binding_type": "global", + "layer": 2 + }, + + "pack_scroll_panel@common.scrolling_panel": { + "$show_background": false, + "$scrolling_content": "pack_settings.scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_pane_size": [ "100% - 4px", "100%" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$scroll_bar_right_padding_size": [ 0, 0 ] + }, + + "scrolling_content": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "content_tiering_panel@pack_settings.content_tiering_panel": {} + }, + { + "generated_form@server_form.generated_contents": {} + } + ] + }, + + "content_tiering_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#has_content_tiering", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "100%", "100%c+2px" ], + "controls": [ + { + "content_tier_label": { + "type": "label", + "text": "#text", + "color": "$body_text_color", + "size": [ "100%-8px", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 4, 2 ], + "layer": 1, + "localize": false, + "bindings": [ + { + "binding_name": "#content_tier_label", + "binding_name_override": "#text" + }, + { + "binding_name": "#content_tier_supported", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unsupported_content_tier_label": { + "type": "label", + "text": "#text", + "color": "$error_text_color", + "size": [ "100%-8px", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 4, 2 ], + "layer": 1, + "localize": false, + "bindings": [ + { + "binding_name": "#content_tier_label", + "binding_name_override": "#text" + }, + { + "binding_name": "(not #content_tier_supported)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "slider_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "controls": [ + { + "content_tier_slider@common.slider": { + "anchor_from": "center", + "anchor_to": "center", + "$slider_select_on_hover": true, + "$slider_deselected_button": "button.menu_exit", + "size": [ "100% - 18px", 10 ], + "layer": 1, + + "$slider_box_size": [ 10, 16 ], + "$slider_name": "content_tier_slider", + + "$slider_binding_type": "global", + "$slider_value_binding_name": "#content_tier_value", + + "$slider_steps_binding_type": "global", + "$slider_steps_binding_name": "#content_tier_steps", + + "$slider_enabled_binding_type": "global", + "$slider_enabled_binding_name": "#has_content_tiering", + + "$slider_tts_text_value": "#content_tier_slider_text_value" + } + } + ] + } + }, + { + "incompatible_label_panel": { + "type": "panel", + "size": [ "100%", "100%c+2px" ], + "controls": [ + { + "label": { + "type": "label", + "text": "#text", + "color": "$error_text_color", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1, + "size": [ "100%-8px", "default" ], + "offset": [ 4, -2 ], + "bindings": [ + { + "binding_name": "(not #content_tier_supported)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#incompatible_reason", + "binding_name_override": "#text" + } + ] + } + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/panorama_screen.json b/resource_pack/ui/panorama_screen.json new file mode 100644 index 0000000..8a95d46 --- /dev/null +++ b/resource_pack/ui/panorama_screen.json @@ -0,0 +1,139 @@ +{ + "namespace": "panorama", + + // This is what is referenced in the mashup screen + "panorama_view": { + "type": "panel", + "size": [ "100%", "100%" ], + "$cycle_pack_button_factory_collection_details": "$store_factory_collection_details", + "$cycle_pack_button_factory_collection_prefix": "$store_factory_collection_prefix", + "$cycle_pack_button_factory_collection_name": "$store_factory_collection_name", + "$ignore_cycle_buttons": false, + "$focus_enabled": true, + "controls": [ + { "pan_left@panorama.pan_left_button": {} }, + { "screenshot@panorama.panorama_input_panel": {} }, + { "pan_right@panorama.pan_right_button": {} } + ] + }, + + "panorama_input_panel": { + "type": "input_panel", + "size": [ "100% - 38px", "100%" ], + "layer": 2, + "gesture_tracking_button": "button.scroll_map", + "focus_enabled": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.scroll_map", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.pan_left", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.pan_right", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "controls": [ + { + "image_border@common.square_image_border_white": { + "color": [ 0, 0, 0 ], + "layer": 4, + "controls": [ + { + "panorama_key_art": { + "type": "custom", + "renderer": "panorama_renderer", + "rotation": "gesture_x", + "size": [ "100% - 2px", "100% - 2px" ], + "bilinear": true, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#panorama_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#panorama_texture_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#panorama_view" + }, + { + "binding_type": "view", + "source_control_name": "screenshot", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 2, + "$source_control_name": "panorama_key_art", + "$source_property_name": "(#texture = '')" + } + } + ] + } + } + ] + }, + + "pan_left_button@common_store.cycle_pack_left_button": { + "size": [ 20, "100%" ], + "layer": 3, + "anchor_from": "top_left", + "anchor_to": "top_left", + "$focus_id": "screenshot_pan_left", + "$chevron_image_name": "textures/ui/chevron_left", + "$pressed_button_name": "button.pan_left", + "$cycle_pack_button_name_right": "button.pan_right", + "$cycle_pack_button_name_left": "button.pan_left", + "$cycle_pack_button_up_right_refusal": true, + "$gamepad_helper_icon_size": [ 15, 15 ], + + "$cycle_pack_enabled_source_control_name": "panorama_key_art", + "$cycle_pack_enabled_source_property_name": "#can_scroll_left", + "$cycle_pack_enabled_use_sibling_scope": true + }, + + "pan_right_button@common_store.cycle_pack_right_button": { + "size": [ 20, "100%" ], + "layer": 3, + "anchor_from": "top_right", + "anchor_to": "top_right", + "$focus_id": "screenshot_pan_right", + "$chevron_image_name": "textures/ui/chevron_right", + "$pressed_button_name": "button.pan_right", + "$cycle_pack_button_name_right": "button.pan_right", + "$cycle_pack_button_name_left": "button.pan_left", + "$cycle_pack_button_up_right_refusal": true, + "$gamepad_helper_icon_size": [ 15, 15 ], + + "$cycle_pack_enabled_source_control_name": "panorama_key_art", + "$cycle_pack_enabled_source_property_name": "#can_scroll_right", + "$cycle_pack_enabled_use_sibling_scope": true + } +} diff --git a/resource_pack/ui/patch_notes_screen.json b/resource_pack/ui/patch_notes_screen.json new file mode 100644 index 0000000..9766289 --- /dev/null +++ b/resource_pack/ui/patch_notes_screen.json @@ -0,0 +1,521 @@ +{ + "namespace": "patch_notes", + + "solid_texture": { + "type": "image", + "texture": "textures/ui/White", + "color": [ 0.0, 0.0, 0.0 ] + }, + + "image_with_background@patch_notes.solid_texture": { + "$background_size|default": [ "100%", "100%" ], + "size": "$background_size", + "controls": [ + { + "image@$image": { + "layer": 1, + "$image_size|default": [ "100%-2px", "100%-2px" ], + "size": "$image_size", + "controls": [ + { + "loading_animation@common_store.progress_loading": { + "$hide_failure_text": true, + "$use_sibling_scope": false, + "layer": 2, + "bindings": [ + { + "binding_name": "#loading_patch_notes", + "binding_name_override": "#visible", + "binding_condition": "always_when_visible", + "binding_type": "global" + } + ] + } + } + ] + } + } + ] + }, + + "white_image@patch_notes.solid_texture": { + "color": [ 1, 1, 1 ] + }, + + "patch_main_image": { + "type": "image", + "bindings": [ + { + "binding_name": "#main_image_texture", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_name": "#main_image_texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "global" + }, + { + "binding_name": "(not #loading_patch_notes)", + "binding_name_override": "#visible" + } + ] + }, + + "store_image": { + "type": "image", + "bindings": [ + { + "binding_name": "#store_image_texture", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_name": "#store_image_texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "global" + } + ] + }, + + "patch_notes_header_background": { + "type": "panel", + "controls": [ + { + "black_background": { + "type": "image", + "texture": "textures/ui/mainbanners", + "size": "$control_size", + "$control_size|default": [ "100%", "100%" ], + "variables": [ + { + "requires": "(not $show_patch_image and not $show_button)", + "$control_size": [ "100%", "100%c" ] + } + ], + "controls": [ + { + "content@$header_content": { + "variables": [ + { + "requires": "(not $show_button)", + "$header_size": [ "100%-6px", "100%c" ] + } + ], + + "$header_size|default": [ "100%-6px", "50%c" ], + "size": "$header_size" + } + } + ] + } + } + ] + }, + + "button_label_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text_label": { + "type": "label", + "color": "$text_color", + "text": "#patch_link_button_text", + "size": [ "default", "default" ], + "max_size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#patch_link_button_text" + } + ] + } + } + ] + }, + "button_content": { + "type": "panel", + "controls": [ + { + "button_label2@patch_notes.button_label_panel": {} + } + ] + }, + + "patch_image@patch_notes.image_with_background": { + "$image": "patch_notes.patch_main_image", + "$background_size": [ "60% - 2px", "56.25%x + 2px" ], + "$image_size": [ "100% - 2px", "56.25%x" ] + }, + + "patch_notes_header_content_without_offer": { + "type": "panel", + "layer": 1, + "$show_patch_image_full_width|default": false, + "controls": [ + { + "patch_image@patch_notes.patch_image": { + "variables": [ + { + "requires": "$show_patch_image_full_width", + "$background_size": [ "100%", "100%c + 2px" ], + "$image_size": [ "100% - 2px", "33.33%x" ] + } + ] + } + } + ] + }, + + + "patch_notes_header_content_with_offer": { + "type": "stack_panel", + "orientation": "horizontal", + "layer": 1, + "controls": [ + { + "patch_image@patch_notes.patch_image": { + "min_size": [ "60% - 2px", "56.25%x - 2px" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "store_item_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "store_image@patch_notes.image_with_background": { + "$image": "patch_notes.store_image", + "$background_size": [ "100%", "100%c + 2px" ], + "$image_size": [ "100%-2px", "56.25%x" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "store_button@patch_notes.store_button": { + "size": [ "100%", "28.125%x - 3.3px" ] + } + } + ] + } + } + ] + }, + + "store_button": { + "type": "panel", + "$progress_loading_focus_precedence|default": 0, + "controls": [ + { + "store_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.menu_store_offer", + "$button_content": "patch_notes.button_content", + "enabled": "$is_pregame", + "$button_tts_name": "#tts_offer_name", + "$button_tts_control_type_order_priority": 10, + "bindings": [ + { + "binding_name": "(not #loading_patch_notes)", + "binding_name_override": "#visible", + "binding_condition": "always" + }, + { + "binding_name": "#tts_offer_name" + } + ] + } + }, + { + "loading_animation@pdp.focus_border": { + "size": ["100%", "60px"], + "bindings": [ + { + "binding_name": "#loading_patch_notes", + "binding_name_override": "#visible", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + }, + + "patch_notes_header": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "patch_notes_background@patch_notes.patch_notes_header_background": { + "size": [ "100% - 4px", "33.75%x + 2px" ], + "$control_size": [ "100% - 4px", "33.75%x + 2px" ], + "variables": [ + { + "requires": "$show_button", + "$header_content": "patch_notes_header_content_with_offer" + + } + ], + "$header_content|default": "patch_notes_header_content_without_offer" + } + } + ] + }, + + "scroll_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { "patch_notes_header@patch_notes.patch_notes_header": {} }, + { + "padding_1": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "tts_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "patch_notes.patch_notes_panel" + } + } + ] + }, + + "patch_notes_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "patch_notes_text": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%-4px", "default" ], + "text": "#patch_description", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#patch_description", + "binding_type": "global" + }, + { + "binding_type": "global", + "binding_name": "#tts_dialog_body" + } + ], + "property_bag": { + "#tts_dialog_body": "#patch_description" + }, + "controls": [ + { + "loading_animation@common_store.progress_loading": { + "size": [ "100%", "100%" ], + "$hide_failure_text": true, + "$use_sibling_scope": false, + "bindings": [ + { + "binding_name": "#loading_patch_notes", + "binding_name_override": "#visible", + "binding_condition": "always_when_visible", + "binding_type": "global" + } + ] + } + } + ] + } + } + ] + }, + + "patch_notes_content": { + "type": "panel", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "patch_notes.scroll_content", + "$show_background": false, + "$scroll_size": [ 4, "100% - 4px" ], + "$scrolling_pane_size|default": [ "100%", "default" ], + "$always_handle_scrolling": true + } + } + ] + }, + + "continue_button@common_buttons.light_text_button": { + "$button_text": "patchNotes.continue", + "$pressed_button_name": "button.menu_exit", + "$button_focus_precedence": 1 + }, + + "patch_notes_dialog@common_dialogs.main_panel_small_title_one_button": { + "size": "$patch_notes_screen_size", + + "$custom_title_label": "common_dialogs.standard_title_label", + "$text_name": "#dialog_title", + "$title_text_binding_type": "global", + "$use_custom_title_control": true, + + "$child_control": "patch_notes.patch_notes_content", + "$button_panel": "patch_notes.continue_button" + }, + + "patch_notes_screen@common.base_screen": { + "$screen_content": "patch_notes.patch_notes_dialog" + }, + + "sunsetting_button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "60px" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "more_info_button@common_buttons.light_text_button": { + "$button_text": "sunsetting.popup.moreInfo", + "$pressed_button_name": "sunsetting.moreInfo", + "$button_focus_precedence": 1, + "size": [ "100%", "20px" ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "continue_button@common_buttons.light_text_button": { + "$button_text": "patchNotes.continue", + "$pressed_button_name": "button.menu_exit", + "$button_focus_precedence": 2, + "size": [ "100%", "20px" ] + } + }, + + { + "padding_2": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "sunsetting_toggle_panel@common.checkbox": { + "$toggle_name": "sunsetting_do_not_show_again", + "$toggle_state_binding_name": "#sunsetting_do_not_show_again", + "$toggle_label_text|default": "sunsetting.popup.dontshow", + "size": [ "100%", 10 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + "$toggle_enabled_binding_type": "global", + + "controls": [ + { + "header_description_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "controls": [ + { + "checkbox_visuals@common.toggle_visuals": { + "size": [ 30, "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "buffer_panel": { + "type": "panel", + "layer": 3, + "size": [ "fill", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "$toggle_label_text", + "size": [ "default", "default" ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "another_panel": { + "type": "panel", + "size": [ 30, "100%" ] + } + } + ] + } + } + ] + } + } + ] + }, + + "sunsetting_content": { + "type": "panel", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "patch_notes.scroll_content", + "$show_background": false, + "$scroll_size": [ 4, "100% - 4px" ], + "$scrolling_pane_size|default": [ "100%", "92%" ], + "$main_panel_size": [ "100% - 16px", "100% - 89px" ], + "$always_handle_scrolling": true + } + } + ] + }, + + "sunsetting_dialog@common_dialogs.main_panel_small_title_one_button": { + "size": "$patch_notes_screen_size", + + "$custom_title_label": "common_dialogs.standard_title_label", + "$text_name": "#dialog_title", + "$title_text_binding_type": "global", + "$use_custom_title_control": true, + + "$child_control": "patch_notes.sunsetting_content", + "$button_panel": "patch_notes.sunsetting_button_panel", + "$button_panel_size": [ "100% - 14px", 60 ] + }, + + "sunsetting_screen@common.base_screen": { + "$screen_content": "patch_notes.sunsetting_dialog" + } +} \ No newline at end of file diff --git a/resource_pack/ui/pause_screen.json b/resource_pack/ui/pause_screen.json new file mode 100644 index 0000000..8c65802 --- /dev/null +++ b/resource_pack/ui/pause_screen.json @@ -0,0 +1,1898 @@ +{ + "namespace": "pause", + + "achievements_icon": { + "type": "image", + "texture": "textures/ui/achievements", + "layer": 3, + "size": [ 16, 16 ] + }, + + "feedback_icon": { + "type": "image", + "texture": "textures/ui/Feedback", + "layer": 3, + "size": [ 16, 16 ] + }, + + "change_skin_icon": { + "type": "image", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "texture": "textures/ui/hangar", + "layer": 3, + "size": [ 32, 16 ], + "color": [ 0.3, 0.3, 0.3 ] + }, + + "take_screenshot_icon": { + "type": "image", + "texture": "textures/ui/camera-yo", + "layer": 3, + "size": [ 24, 12 ] + }, + + "alex_icon": { + "type": "image", + "texture": "textures/ui/icon_alex", + "layer": 1, + "size": [ 16, 16 ] + }, + + "profile_gamerpic": { + "type": "custom", + "renderer": "profile_image_renderer", + "size": [ 16, 16 ], + "layer": 2, + "bindings": [ + { + "binding_name": "#profile_image_options" + }, + { + "binding_name": "$gamerpic_visible", + "binding_name_override": "#visible" + } + ] + }, + + "button_x@common.gamepad_helper_x_14": { + "$gamepad_helper_visible_binding_type": "none", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": -1, + "bindings": [ + { + "binding_name": "$button_x_visible", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Skins Panel + //--------------------------------------------------------------------------- + + "dressing_room_controller_button_content": { + "type": "panel", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "button_x@pause.button_x": { + "offset": [ 1, -1 ], + "$button_x_visible": "#can_change_skin" + } + }, + { + "button_label_panel": { + "type": "panel", + "offset": [ -1, 0 ], + "size": [ "100%c", "100%c" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "button_label_text_left@pause.controller_button_label": { + "size": [ "default", "default" ], + "max_size": [ 80, 20 ] + } + } + ] + } + } + ] + }, + + "controller_button_label@common_buttons.new_ui_binding_button_label": { + "size": [ "100%", "100%c" ], + "$anchor": "left_middle", + "$button_text": "profileScreen.header", + "$button_text_binding_type": "none", + "$button_binding_condition": "none", + "$button_text_grid_collection_name": "" + }, + + "column_frame": { + "type": "panel" + }, + + "dressing_room_button_gamepad@common_buttons.light_content_form_fitting_button": { + "size": [ "100%c", "100%c" ], + "$button_content_size_override": [ "100%c - 2px", "100%c - 4px" ], + "$pressed_button_name": "button.to_profile_or_skins_screen", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_offset": [ -3, 1 ], + "$new_ui_label_offset": [ 0, -1 ], + "$text_alignment": "left", + "$button_content": "pause.dressing_room_controller_button_content", + "$pressed_alpha": 0.65, + "$hide_description": true, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#dressing_room_controller_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "dressing_room_button@common_buttons.light_text_form_fitting_button": { + "$pressed_button_name": "button.to_profile_or_skins_screen", + "$form_fitting_min_size": [ "100%c + 2px", 24 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_text": "profileScreen.header", + "offset": [ 0, -5 ], + "$focus_id": "profile_button", + "$pressed_alpha": 0.65, + "bindings": [ + { + "binding_name": "#dressing_room_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "profile_button_content": { + "type": "stack_panel", + "size": [ "100%c", 24 ], + "orientation": "horizontal", + "controls": [ + { + "button_offset_wrapper": { + "type": "panel", + "size": [ "100%c - 12px", "100%c" ], + "bindings": [ + { + "binding_name": "#profile_button_x_icon_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "button_x@pause.button_x": { + "$button_x_visible": "#profile_button_x_icon_visible", + "offset": [ -6, -4 ] + } + } + ] + } + }, + { + "gamerpic_offset_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "bindings": [ + { + "binding_name": "(not #profile_button_x_icon_visible)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gamerpic_with_border": { + "type": "panel", + "size": [ 18, 18 ], + "offset": [ -2, 0 ], + "controls": [ + { + "gamerpic@pause.profile_gamerpic": { + "$gamerpic_visible": "#is_signed_in_xbl" + } + }, + { + "alex_icon@pause.alex_icon": { + "bindings": [ + { + "binding_name": "(not #is_signed_in_xbl)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "border_black@common.focus_border_black": { + "layer": 3, + "size": [ 18, 18 ] + } + } + ] + } + } + ] + } + }, + { + "padding_middle@common.empty_panel": { + "size": [ 2, "100%" ] + } + }, + { + "vertically_central_text": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "0px", 4 ] + } + }, + { + "profile_button_label@common_buttons.new_ui_binding_button_label": { + "layer": 1, + "$button_text": "menu.profile", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "default", 20 ], + "$button_text_binding_type": "none", + "$button_binding_condition": "none", + "$button_text_grid_collection_name": "" + } + } + ] + } + }, + { + "padding_right@common.empty_panel": { + "size": [ 6, "100%" ] + } + } + ] + }, + + "profile_button@common_buttons.light_content_form_fitting_button": { + "size": [ "100%c", "100%c" ], + "$button_content_size_override": [ "100%c", "100%c - 4px" ], + "$button_content": "pause.profile_button_content", + "$pressed_button_name": "button.menu_profile" + }, + + "skin_viewer_panel": { + "type": "input_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", "100px" ], + "$skin_viewer_panel_offset|default": [ 0, 11 ], + "offset": "$skin_viewer_panel_offset", + "gesture_tracking_button": "button.turn_doll", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "paper_doll_panel": { + "type": "panel", + "size": [ "100%", "100% - 10px" ], + "$paper_doll_offset|default": [ 0, -22 ], + "offset": "$paper_doll_offset", + + "controls": [ + { + "paper_doll": { + "type": "custom", + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "layer": 2, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "rotation": "gesture_x", + "size": [ "100%", "100%" ], + "use_selected_skin": false, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_name": "#paper_doll_skin" + }, + { + "binding_type": "view", + "source_control_name": "viewer_panel", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "viewer_panel", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + } + } + ] + } + }, + { + "paper_doll_name_tag": { + "ignored": "($pocket_edition and $pocket_screen)", + "type": "custom", + "renderer": "name_tag_renderer", + "layer": 2, + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "size": [ 8, 8 ], + "bindings": [ + { + "binding_name": "#playername" + }, + { + "binding_name": "#playername_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "skin_panel": { + "type": "panel", + "size": [ "40%", "100%" ], + "max_size": [ 100, "100%" ], + "controls": [ + { + "interior@pause.skin_panel_interior": {} + } + ] + }, + + "skin_panel_interior": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "offset_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "viewer_panel@pause.skin_viewer_panel": { + "tts_ignore_count": true + } + } + ] + } + }, + { + "change_profile_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "centering_panel_1": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "dressing_room_button@pause.dressing_room_button": {} } + ] + } + }, + { + "centering_panel_2": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "button_mappings": [ + { + "from_button_id": "button.controller_select", + "to_button_id": "button.to_profile_or_skins_screen", + "mapping_type": "global", + "scope": "controller" + } + ], + "controls": [ + { "dressing_room_button_gamepad@pause.dressing_room_button_gamepad": {} } + ], + "bindings": [ + { + "binding_name": "#dressing_room_controller_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "centering_panel_3": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "button_mappings": [ + { + "from_button_id": "button.controller_select", + "to_button_id": "button.menu_profile", + "mapping_type": "global", + "scope": "controller" + } + ], + "controls": [ + { + "profile_button@pause.profile_button": { + "$focus_id": "profile_button" + } + } + ], + "bindings": [ + { + "binding_name": "#profile_button_b_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#can_change_skin", + "binding_name_override": "#enabled" + } + ] + } + } + + ] + }, + + "pause_button_template@common_buttons.light_text_button": { + "size": [ "100%", 28 ], + "focus_identifier": "$pressed_button_name", + "focus_change_right": "$focus_override_right", + "focus_change_left": "$pressed_button_name" + }, + + "grid_button_template@common_buttons.light_text_button": { + "size": [ "100%", 28 ] + }, + + "return_to_game_button@pause.pause_button_template": { + "$pressed_button_name": "button.menu_continue", + "$button_text": "menu.returnToGame", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$button_focus_precedence": 1, + "$focus_override_up": "icon_panel_main_focus", + "variables": [ + { + "requires": "$is_editor_playtest_roundtrip", + "$button_text": "pauseScreen.editor.returnToTesting" + }, + { + "requires": "$is_editor_mode_enabled", + "$button_text": "pauseScreen.editor.returnToEditing" + } + ] + }, + + "realms_stories_button_panel": { + "type": "panel", + "size": [ "100%", 28 ], + "controls": [ + { "realms_stories_button@pause.realms_stories_button": {} }, + { "unread_story_count_panel@pause.unread_story_count_panel": {} } + ], + "bindings": [ + { + "binding_name": "#is_realm_level", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "realms_stories_button@pause.pause_button_template": { + "$pressed_button_name": "button.menu_feed", + "$button_text": "pauseScreen.realmsStories", + "anchor_to": "top_middle", + "anchor_from": "top_middle" + }, + + "unread_story_count_panel": { + "type": "panel", + "anchor_from": "top_right", + "anchor_to": "center", + "size": [ "100%c", "100%c" ], + "layer": 3, + "controls": [ + { + "text": { + "type": "label", + "color": "$tab_secondary_unchecked_text_color", + "shadow": false, + "text": "#realms_unread_story_count", + "layer": 9, + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/invite_number_background", + "layer": -1, + "size": [ "100%+4px", "100%" ], + "offset": [ -0.5, 0 ] + } + } + ], + "bindings": [ + { + "binding_name": "#realms_unread_story_count", + "binding_type": "global" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#realms_unread_story_count_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "store_button_panel": { + "type": "panel", + "size": [ "100%", 28 ], + "ignored": "$is_secondary_client", + "controls": [ + { "store_button@pause.store_button": {} }, + { "store_error_button@pause.store_error_button": {} } + ] + }, + + "store_button@pause.pause_button_template": { + "$pressed_button_name": "button.menu_store", + "$button_text": "$store_button_text", + "bindings": [ + { + "binding_name": "#store_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "store_error_button@common_buttons.dynamic_tooltip_notification_panel": { + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_store_error", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.is_hovered", + "mapping_type": "pressed" + } + ], + "consume_hover_events": false, + "focus_enabled": true, + "$dynamic_tooltip_button_visibility_binding_name": "(not #store_button_visible)", + "$tooltip_popup_visible_binding": "#store_error_tooltip_visible", + "$override_tooltip_popup_image": true, + "$tooltip_popup_override_image_panel": "start.store_error_image", + "$tooltip_text_binding_name": "#store_error_text", + "$tool_tip_text_max_size": [ "160px", "default" ], + "$tooltip_panel_content": "pause.store_error_button_content", + "bindings": [ + { + "binding_name": "(not #store_button_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "store_error_button_content": { + "type": "image", + "texture": "textures/ui/disabledButton", + "layer": 9, + "controls": [ + { + "marketplace_button_label": { + "layer": 9, + "type": "label", + "text": "$store_button_text", + "color": "$light_button_locked_text_color" + } + } + ] + }, + + "settings_button@pause.pause_button_template": { + "$pressed_button_name": "button.menu_settings", + "$button_text": "menu.settings", + "anchor_to": "top_middle", + "anchor_from": "top_middle" + }, + + "how_to_play_button@pause.pause_button_template": { + "$pressed_button_name": "button.menu_how_to_play", + "$button_text": "menu.howToPlay", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "ignored": "(not $education_edition)" + }, + + "invite_players_button@pause.grid_button_template": { + "$pressed_button_name": "button.menu_invite_players", + "$button_text": "pauseScreen.invite", + "focus_change_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#invite_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#invite_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "buy_button@pause.pause_button_template": { + "$pressed_button_name": "button.menu_buy_game", + "$button_text": "$unlock_full_game_button_text", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "ignored": "(not $trial or $is_secondary_client)", + "bindings": [ + { + "binding_name": "#is_trial_version", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "quit_button@pause.pause_button_template": { + "$pressed_button_name": "button.menu_quit", + "$button_text": "pauseScreen.quit", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$focus_override_down": "icon_panel_main_focus", + "variables": [ + { + "requires": "($is_secondary_client and not $is_editor_playtest_roundtrip)", + "$button_text": "pauseScreen.secondaryClientLeave" + }, + { + "requires": "$is_editor_playtest_roundtrip", + "$button_text": "pauseScreen.editor.quit" + } + ] + }, + + "feedback_button@common_buttons.light_content_button": { + "size": [ 24, 24 ], + "$button_pressed_offset": [ 0, 0 ], + "$button_content": "pause.feedback_icon", + "$pressed_button_name": "button.feedback_button_pressed" + }, + + "feedback_icon_button": { + "type": "panel", + "$button_tts_header": "accessibility.start.feedback", + "$pressed_button_name": "button.feedback", + "controls": [ + { + "feedback_button@pause.feedback_button": { + "ignored": "$education_edition", + "$focus_override_left": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "take_screenshot_gamepad_button_content": { + "type": "panel", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "button_y@common.gamepad_helper_y_14": { + "$gamepad_helper_visible_binding_type": "none", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": -1, + "offset": [ 6, 0 ] + } + }, + { + "take_screenshot_icon@pause.take_screenshot_icon": { + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + }, + + "take_screenshot_gamepad_button@common_buttons.light_content_form_fitting_button": { + "size": [ "100%c", "100%c" ], + "$button_image_size_override": [ "100%c", "100%c" ], + "$button_content_size_override": [ "100%c - 8px", "100%c - 4px" ], + "$pressed_button_name": "button.screenshot", + "$focus_id": "icon_panel_main_focus", + "$button_tts_header": "key.screenshot", + "$button_offset": [ -4, 0 ], + "$button_pressed_offset": [ -4, 0 ], + "$button_content": "pause.take_screenshot_gamepad_button_content", + "$pressed_alpha": 0.65, + "$hide_description": true, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + }, + + "take_screenshot_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.screenshot", + "$focus_id": "icon_panel_main_focus", + "$button_tts_header": "key.screenshot", + "size": [ 24, 24 ], + "$button_content": "pause.take_screenshot_icon", + "$pressed_alpha": 0.65, + "bindings": [ + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + } + ] + }, + + "pause_screen@common.base_screen": { + "cache_screen": true, + + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_continue", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_start", + "to_button_id": "button.menu_continue", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_vr_realign", + "to_button_id": "button.menu_vr_realign", + "mapping_type": "global", + "scope": "controller" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + + "variables": [ + { + "requires": "$ignore_edu_pause", + "$screen_content": "pause.pause_screen_content", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.1 + }, + { + "requires": "(not $ignore_edu_pause)", + "$screen_content": "edu_pause.pause_screen_content" + } + ] + }, + + "pause_screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "variables": [ + { + "requires": "$education_edition", + "$achievements_ignored": true + }, + { + "requires": "$trial", + "$achievements_ignored": true + } + ], + "controls": [ + { "pause_screen_main_panels@pause.pause_screen_main_panels": {} }, + { "gamepad_helpers@pause.gamepad_helpers": {} }, + { "keyboard_helpers@pause.keyboard_helpers": {} } + ] + }, + + "pause_screen_main_panels": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "$achievements_ignored|default": false, + "controls": [ + { "menu@pause.pause_screen_menu": {} }, + { "info_panel@pause.info_panel": {} } + ] + }, + + "pause_screen_menu": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "filler@pause.filler_panel": { + "size": [ "100%", 10 ] + } + }, + { + "trialTime": { + "type": "custom", + "ignored": "(not $trial)", + "renderer": "trial_time_renderer", + "size": [ "default", 10 ], + "offset": [ -2, -4 ], + "layer": 3, + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#is_trial_version", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "the_rest_panel@pause.the_rest_panel": {} }, + { "the_icon_panel@pause.the_icon_panel": {} } + ] + }, + + "the_rest_panel": { + "type": "stack_panel", + "size": [ "100%", "fill" ], + "orientation": "horizontal", + "layer": 1, + "controls": [ + { + "fill_1": { + "type": "panel", + "layer": 1, + "size": [ "fill", "100%" ] + } + }, + { + "pause_menu@pause.menu_the_rest_panel": {} + }, + { + "fill_2": { + "type": "panel", + "layer": 1, + "size": [ "fill", "100%" ] + } + }, + { + "skin_panel@pause.skin_panel": { + "layer": 1 + } + }, + { + "fill_3": { + "type": "panel", + "layer": 1, + "size": [ "fill", "100%" ] + } + } + ] + }, + + "paused_text": { + "type":"label", + "color": "$f_color_format", + "text": "pauseScreen.gameIsPaused", + "anchor_from":"center", + "anchor_to":"center" + }, + + "paused_text_panel@common.screen_background":{ + "size":[90, 24], + "$screen_background_alpha": 0.5, + "controls":[ + { + "pause@paused_text": {} + } + ] + }, + + + "the_icon_panel": { + "type": "stack_panel", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "size": [ "50% - 75px", "130%c" ], + "offset": [ 0, "-10%" ], + "controls": [ + { + "stacked_column": { + "type": "stack_panel", + "size": [ "100%", 32 ], + "offset": [ "5%", 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "controls": [ + { + "side_padding": { + "type": "panel", + "size": [ "12%", 0 ] + } + }, + { + "feedback_btn@pause.column_frame": { + "ignored": "$education_edition", + "size": [ 28, 32 ], + "controls": [ + { + "feedback_icon_button@pause.feedback_icon_button": { + "variables": [ + { + "requires": "$feedback_button_focus", + "$focus_id": "icon_panel_main_focus" + } + ] + } + } + ] + } + }, + { + "feedback_padding": { + "type": "panel", + "size": [ "2%", 0 ] + } + }, + { + "take_screenshot_btn": { + "type": "input_panel", + "size": [ "100%c + 4px", 32 ], + "controls": [ + { "take_screenshot_button@pause.take_screenshot_button": {} }, + { "take_screenshot_gamepad_button@pause.take_screenshot_gamepad_button": {} } + ], + "bindings": [ + { + "binding_name": "#screenshot_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ], + "button_mappings": [ + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.screenshot", + "mapping_type": "global", + "scope": "controller" + } + ] + } + }, + { + "screenshot_padding": { + "type": "panel", + "size": [ "2%", 0 ], + "bindings": [ + { + "binding_name": "#screenshot_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "profile_btn_padding_left": { + "type": "panel", + "size": [ "2%", 0 ], + "bindings": [ + { + "binding_name": "#profile_button_a_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "profile_btn@pause.column_frame": { + "size": [ "100%c", 32 ], + "controls": [ + { + "profile_button@pause.profile_button": { + "variables": [ + { + "requires": "$profile_button_focus", + "$focus_id": "icon_panel_main_focus" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#profile_button_a_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "profile_btn_padding_right": { + "type": "panel", + "size": [ "5%", 0 ], + "bindings": [ + { + "binding_name": "#profile_button_a_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pause_padding_left": { + "type": "panel", + "size": [ "2%", 0 ], + "bindings": [ + { + "binding_name": "#pause_annoucement_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pause_text_panel@pause.column_frame": { + "size": [ "100%c", 32 ], + "controls": [ + { + "pause_text@pause.paused_text_panel":{} + } + ], + "bindings": [ + { + "binding_name": "#pause_annoucement_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "pause_padding_right": { + "type": "panel", + "size": [ "4%", 0 ], + "bindings": [ + { + "binding_name": "#pause_annoucement_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "transparent_background": { + "type": "image", + "texture": "textures/ui/menubackground", + "layer": 1, + "alpha": 0.8 + }, + + "non_transparent_background": { + "type": "image", + "texture": "textures/ui/menubackground", + "layer": 1, + "alpha": 1 + }, + + "menu_the_rest_panel": { + "type": "panel", + "size": [ "50% + 10px", "100%" ], + "focus_container": true, + "use_last_focus": true, + "focus_navigation_mode_left": "contained", + "controls": [ + { "menu_button_control@pause.menu_button_control": {} } + ] + }, + + "menu_button_control@pause.transparent_background": { + "size": [ "100%", "100%c + 2px" ], + "alpha": 0, + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { "menu_background@pause.menu_background": {} } + ] + }, + + "menu_background@pause.transparent_background": { + "size": [ "100% - 2px", "100%c + 8px" ], + "alpha": 0, + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "button_panel": { + "type": "stack_panel", + "size": [ "100% - 8px", "100%c" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { "return_to_game_button@pause.return_to_game_button": {} }, + { "return@pause.vertical_padding": {} }, + { "realms_stories_button_panel@pause.realms_stories_button_panel": {} }, + { + "realms_stories@pause.vertical_padding": { + "bindings": [ + { + "binding_name": "#is_realm_level", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "settings_button@pause.settings_button": {} }, + { "settings@pause.vertical_padding": {} }, + { "buy_button@pause.buy_button": {} }, + { + "buy@pause.vertical_padding": { + "bindings": [ + { + "binding_name": "#is_trial_version", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "store_button_panel@pause.store_button_panel": {} }, + { + "server@pause.vertical_padding": { + "ignored": "$is_secondary_client", + "bindings": [ + { + "binding_name": "#store_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "quit_button@pause.quit_button": {} } + ] + } + } + ] + }, + + "info_panel_content_list": { + "type": "stack_panel", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100% - 4px", "100%" ], + "orientation": "vertical", + "controls": [ + { "player_list_scrolling_panel@pause.player_list_scrolling_panel": {} }, + { + "vertical_padding@pause.vertical_padding": { + "size": [ 0, 8 ] + } + } + ] + }, + + "info_panel_background@pause.non_transparent_background": { + "size": [ "200%", "120%" ], + "offset": [ 0, "-10%" ], + "anchor_from": "top_right", + "anchor_to": "top_middle" + }, + + "info_panel@pause.pause_screen_border": { + "size": [ 150, "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "ignored": "($trial and $is_new_trial_mode_enabled)", + "controls": [ + { "info_panel_background@pause.info_panel_background": {} }, + { "info_panel_list@pause.info_panel_content_list": {} } + ] + }, + + "player_panel_background@pause.transparent_background": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100% - 2px", "100% - 2px" ], + "controls": [ + { "player_list_scrolling_panel@pause.player_list_scrolling_panel": {} } + ] + }, + + "player_list": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "focus_container": true, + "use_last_focus": true, + "focus_navigation_mode_right": "contained", + "controls": [ + { + "vertical_padding_0@pause.vertical_padding": { + "size": [ 0, 8 ] + } + }, + { + "players_label@pause.players_label": { + "ignored": "$education_edition" + } + }, + { + "vertical_padding_2@pause.vertical_padding": { + "size": [ 0, 3 ], + "ignored": "$education_edition" + } + }, + { "players_grid_panel@pause.players_grid": {} }, + { + "vertical_padding_3@pause.vertical_padding": { + "size": [ 0, 3 ] + } + }, + { "invite_players_button_panel@pause.invite_players_button_panel": {} }, + { + "vertical_padding_4@pause.vertical_padding": { + "size": [ 0, 3 ] + } + }, + { "disconnected_from_multiplayer_label_panel@pause.disconnected_from_multiplayer_label_panel": {} }, + { + "vertical_padding_5@pause.vertical_padding": { + "size": [ 0, 1 ] + } + } + ] + }, + + "player_lists": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "normal_list@pause.player_list": { + "bindings": [ + { + "binding_name": "(not #list_has_display_objective)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "scoreboard_list@scoreboard.scoreboard_player_list": { + "bindings": [ + { + "binding_name": "#list_has_display_objective", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "player_list_scrolling_panel@common.scrolling_panel": { + "size": [ "100% - 4px", "100%" ], + "offset": [ 2, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$show_background": false, + "$scroll_track_size": [ 5, "100% - 4px" ], + "$scroll_track_offset|default": [ -4, 2 ], + "$scrolling_content": "pause.player_lists" + }, + + "disconnected_label": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$main_header_text_color", + "layer": 1 + }, + + "disconnected_from_multiplayer_label_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "disconnected_from_xbox_live_label@pause.disconnected_label": { + "text": "pauseScreen.xboxLiveDisconnect", + "bindings": [ + { + "binding_name": "#disconnected_from_xbox_live_label_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "disconnected_from_third_party_label@pause.disconnected_label": { + "text": "pauseScreen.thirdPartyConsoleDisconnect", + "bindings": [ + { + "binding_name": "#disconnected_from_third_party_label_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "disconnected_from_adhoc_label@pause.disconnected_label": { + "text": "pauseScreen.thirdPartyConsoleAdhocDisconnect", + "bindings": [ + { + "binding_name": "#disconnected_from_adhoc_label_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "disconnected_from_crossplatform_multiplayer@pause.disconnected_label": { + "text": "options.crossPlatformMultiplayerDisabled", + "bindings": [ + { + "binding_name": "#disconnected_from_crossplatform_multiplayer", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "disconnected_from_multiplayer@pause.disconnected_label": { + "text": "options.multiplayerDisabled", + "bindings": [ + { + "binding_name": "#disconnected_from_multiplayer", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + } + ] + }, + + "invite_players_button_panel": { + "type": "panel", + "size": [ "100% - 1px", "100%c" ], + "controls": [ + { + "invite_players_button@pause.invite_players_button": {} + } + ] + }, + + "ip_label": { + "type": "label", + "text": "#ip", + "size": [ "100%", 10 ], + "color": "$main_header_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#ip_address_text", + "binding_name_override": "#ip", + "binding_condition": "visibility_changed" + } + ] + }, + + + "players_label": { + "type": "label", + "text": "#players_list_title", + "localize": false, + "size": [ "100%", 10 ], + "color": "$main_header_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#players_list_title", + "binding_type": "global" + } + ] + }, + + "players_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "pause.player_grid_item", + "grid_dimension_binding": "#players_grid_dimension", + "collection_name": "players_collection", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#players_grid_dimension", + // Necessary do to a bug with grid item bindings not refreshing when the grid is inside a stack panel + "binding_condition": "always" + } + ] + }, + + "player_grid_item": { + "type": "panel", + "size": [ "100%", 27 ], + "controls": [ + { "player_grid_item_content@pause.player_grid_item_content": {} } + ] + }, + + "player_grid_item_content": { + "type": "panel", + + "controls": [ + { + "player_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100% + 1px" ], + "controls": [ + { + "player_button_banner": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { "player_button@pause.player_button": {} }, + { "player_banner@pause.player_banner": {} } + ] + } + }, + { + "player_permission_button_padding": { + "type": "panel", + "size": [ 27, "100%" ], + "bindings": [ + { + "binding_name": "#permissions_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "player_permission_button_panel": { + "type": "panel", + "anchor_to": "top_right", + "anchor_from": "top_right", + "offset": [ "-1px", 0 ], + "size": [ "100%c", "100% + 1px" ], + "controls": [ + { "player_permission_button@pause.player_permission_button": {} } + ], + "bindings": [ + { + "binding_name": "#permissions_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "player_permission_button@common_buttons.dark_content_button": { + "size": [ 28, "100%" ], + "$button_content": "pause.player_permission_button_content", + "$button_tts_header": "accessibility.pause.permissions", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_permission", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_permission", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "players_collection" + } + ] + }, + + "player_permission_button_content": { + "type": "panel", + "size": [ 15, 15 ], + "controls": [ + { + "permission_icon_image": { + "type": "image", + "texture": "#player_permission_level_icon_texture", + "size": [ 15, 15 ], + "bindings": [ + { + "binding_name": "#player_permission_level_icon_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "players_collection" + } + ] + } + } + ] + }, + + "vertical_padding": { + "type": "panel", + "size": [ 0, 2 ] + }, + + "horizontal_padding": { + "type": "panel", + "size": [ 2, 0 ] + }, + + "player_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 4, 0 ], + "layer": 3, + "controls": [ + { + "player_pic_panel@pause.player_pic_panel": { + "layer": 1 + } + }, + { + "player_gamertag@pause.gametag_wrapper": { + "size": [ "fill", "100%" ], + "layer": 1 + } + }, + { + "platform_icon@pause.platform_icon_panel": { + "layer": 1 + } + } + ] + }, + + "player_button@common_buttons.dark_content_button": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_content": "pause.player_button_content", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.player_profile_card", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.player_profile_card", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_name": "#button_enabled", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "players_collection" + } + ] + }, + + "player_banner@pause.player_grid_banner": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "bindings": [ + { + "binding_name": "#button_disabled", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#visible" + } + ] + }, + + "player_pic_panel": { + "type": "panel", + "size": [ 20, "100%" ], + "offset": [ 1, 0 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "ignored": "$education_edition", + "controls": [ + { "player_gamer_pic@pause.player_gamer_pic": {} }, + { "player_local_icon@pause.player_local_icon": {} } + ] + }, + + "player_local_icon": { + "type": "image", + "texture": "textures/ui/lan_icon", + "size": [ 13, 13 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#local_icon_visible", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#visible" + } + ] + }, + + "player_gamer_pic": { + "type": "image", + "texture": "#texture", + "size": [ 18, 18 ], + "layer": 1, + "texture_file_system": "#texture_source", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#texture", + "binding_type": "collection", + "binding_collection_name": "players_collection" + }, + { + "binding_name": "#texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "players_collection" + }, + { + "binding_name": "#gamerpic_visible", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "player_panel_black_border@pause.pause_screen_border": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "gametag_wrapper": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "gamertag@pause.player_gamertag": {} + } + ] + }, + + "platform_icon_panel": { + "type": "panel", + "$icon_panel_size|default": [ "100%c + 4px", "100%" ], + "size": "$icon_panel_size", + "controls": [ + { + "platform_icon@pause.platform_icon": { + "layer": 1, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 15, 15 ] + } + } + ] + }, + + "player_gamertag": { + "type": "label", + "color": "$main_header_text_color", + "text": "#gamertag", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", 10 ], + "layer": 2, + "bindings": [ + { + "binding_name": "#gamertag", + "binding_type": "collection", + "binding_collection_name": "players_collection" + } + ] + }, + + "platform_icon": { + "ignored": "(not $platform_icons_visible)", + "type": "image", + "texture": "textures/ui/platform_icon", + "bindings": [ + { + "binding_name": "#is_platform_icon_visible", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#visible" + } + ] + }, + + "player_grid_banner_no_focus": { + "type": "image", + "texture": "textures/ui/MainBannersHover" + }, + + "player_grid_banner": { + "type": "panel", + "controls": [ + { + "player_grid_banner_no_focus@pause.player_grid_banner_no_focus": { + "controls": [ + { + "player_button_content@pause.player_button_content": { + "offset": [ 7, 0 ], + "size": [ "92%", "90%" ] + } + } + ] + } + }, + { + "focus_border_button@pause.focus_border_button": { + "tts_inherit_siblings": true, + "layer": 5 + } + } + ] + }, + + "focus_border_button@common.button": { + "size": [ "100%", "100%" ], + "sound_volume": 0.0, + "$pressed_button_name": "button.pause_focus_filler", + "$button_tts_name": "", + "controls": [ + { "default@pause.filler_panel": {} }, + { "hover@pause.focus_border": {} }, + { "pressed@pause.focus_border": {} } + ] + }, + + "focus_border": { + "type": "image", + "texture": "textures/ui/focus_border_white", + "color": [ 0.7, 0.7, 0.7 ] + }, + + "pause_screen_border": { + "type": "image", + "layer": 2, + "texture": "textures/ui/pause_screen_border" + }, + + "filler_panel": { + "type": "panel", + "layer": 1 + }, + + "gamepad_helpers": { + "type": "panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ -66, "-4px" ], + "size": [ "100%c", 10 ], + "layer": 10, + "visible": "($win10_edition and $is_holographic)", + "controls": [ + { "gamepad_helper_y@common.gamepad_helper_y": {} } + ] + }, + + "keyboard_helpers": { + "type": "panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ -66, "-4px" ], + "size": [ "100%c", 10 ], + "layer": 10, + "visible": "($win10_edition and $is_holographic)", + "$keyboard_helper_visible_binding": "#edu_keyboard_helper_visible", + "$ignore_image": true, + "controls": [ + { "keyboard_helper_keys@common.keyboard_helper_keys": {} } + ] + } +} diff --git a/resource_pack/ui/pdp_screen.json b/resource_pack/ui/pdp_screen.json new file mode 100644 index 0000000..24cddfe --- /dev/null +++ b/resource_pack/ui/pdp_screen.json @@ -0,0 +1,6434 @@ +{ + "namespace": "pdp", + + //-------------------------------------------------------------------------------- + // Floating Controls + //-------------------------------------------------------------------------------- + + "download_progress": { + "type": "image", + "texture": "textures/ui/Banners", + "layer": 1, + "$baseLayer|default": 2, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#download_info_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "stacker": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "sizer_text": { + "type": "panel", + "size": [ "100%", "50%" ], + "controls": [ + { + "download_progress_text": { + "type": "label", + "layer": "($baseLayer + 1)", + "size": [ "70%", "100%" ], + "offset": [ 0, "50%" ], + "color": "$body_text_color", + "text": "#text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#download_info_text", + "binding_name_override": "#text", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + }, + { + "sizer_bar": { + "type": "panel", + "size": [ "100%", "50%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#download_progress_bar_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "download_progress_bar@common_store.store_progress_bar_icon": { + "size": [ "70%", 5 ], + "layer": "($baseLayer + 1)", + "anchor_from": "center", + "anchor_to": "center", + "$progress_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#download_progress", + "binding_name_override": "#clip_ratio", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "summary_box_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$button_text_bind_name|default": "#main_button_text", + "$button_action|default": "button.defaultNoAction", + "$progress_loading_focus_precedence|default": 0, + + "$focus_override_left": "author_button", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "controls": [ + { + "buttons_panel@pdp.smooth_buttons_panel": { + "$is_primary_purchase_button": true + } + }, + { + "download_buttons_panel@pdp.download_buttons_panel": {} + }, + { + "focus_border@pdp.focus_border": {} + } + ] + }, + + "interaction_button_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "horizontal", + "controls": [ + { + "line1_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "upsell_text": { + "type": "label", + "size": [ "100%", "default" ], + "max_size": [ "100%", "default" ], + "$offset|default": [ 0, 0 ], + "offset": "$offset", + "$font_type|default": "default", + "font_type": "$font_type", + "anchor_from": "center", + "anchor_to": "center", + "text_alignment": "center", + "color": "$text_color", + + "$button_text_bind_name|default": "#interaction_button_text", + "text": "$button_text_bind_name", + + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$button_text_bind_name" + } + ] + } + } + ] + } + } + ] + }, + + "interaction_button_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "$progress_loading_focus_precedence|default": 0, + "$font_type": "default", + "controls": [ + { + "content_action_button@common_buttons.light_content_button": { + "$button_content": "pdp.interaction_button_content", + "$button_focus_precedence|default": 9, + "$pressed_button_name": "button.interaction", + "$focus_id": "$interact_button_id", + "visible": false, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#interation_button_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#interaction_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_bar@pdp.download_progress": {} + }, + { + "focus_border@pdp.focus_border": {} + } + ] + }, + + "download_progress_small@purchase_common.banner_fill": { + "$baseLayer|default": 2, + "controls": [ + { + "stacker": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "sizer_text": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "download_progress_text": { + "type": "label", + "layer": "($baseLayer +2)", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "90%", 10 ], + "offset": [ 0, "25%" ], + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "text": "#text", + "bindings": [ + { + "binding_name": "#download_info_text", + "binding_name_override": "#text", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + }, + { + "sizer_bar": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#download_progress_bar_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "download_progress_bar@common_store.store_progress_bar_icon": { + "size": [ "90%", 5 ], + "layer": "($baseLayer + 1)", + "anchor_from": "center", + "anchor_to": "center", + "$progress_bindings": [ + { + "binding_name": "#download_progress_bar_percentage", + "binding_name_override": "#clip_ratio", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "progress_loading_anim@common_store.progress_loading": { + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "size": [ "100%", 10 ], + "layer": 3, + "anchor_from": "center", + "anchor_to": "center", + "visible": false, + "bindings": [ + { + "binding_name": "#progress_loading_anim_visible", + "binding_name_override": "#visible" + } + ] + }, + + "focus_border@common.button": { + "size": [ "100%", "100%c" ], + "default_focus_precedence": "$progress_loading_focus_precedence", + "$pressed_button_name": "", + "layer": 6, + "controls": [ + { + "default": { + "type": "image", + "size": [ "100%", "100%c" ], + "texture": "textures/ui/Banners", + "controls": [ + { + "loading_anim@pdp.progress_loading_anim": {} //Looks like this is just super imposed on top + } + ] + } + }, + { + "hover@common_buttons.focus_border": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "loading_anim@pdp.progress_loading_anim": {} + } + ] + } + }, + { + "pressed@common_buttons.focus_border": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "loading_anim@pdp.progress_loading_anim": {} + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#progress_loading_anim_visible", + "binding_name_override": "#visible" + } + ] + }, + + "purchase_button_base@common_buttons.light_content_button": { + "$pressed_button_name": "$button_action", + "size": [ "100%", 20 ], + "$focus_border_size_override": [ "100%", 20 ], + "$button_image_size_override": [ "100% - 2px", 18 ], + "$is_purchase_button": true, + "enabled": false, + "bindings": [ + { + "binding_name": "#purchase_buttons_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "deactivated_purchase_button_base@common_buttons.deactivated_light_content_button": { + "$pressed_button_name": "$button_action", + "size": [ "100%", 20 ], + "$focus_border_size_override": [ "100%", 20 ], + "$button_image_size_override": [ "100% - 2px", 18 ] + }, + + "download_buttons_panel": { + "type": "stack_panel", + "layer": 3, + "size": [ "100% - 8px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "$button_action|default": "button.defaultNoAction", + "visible": false, + "bindings": [ + { + "binding_name": "#download_info_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "progress_panel": { + "type": "stack_panel", + "layer": 3, + "size": [ "100%", 30 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "horizontal", + "$button_action|default": "button.defaultNoAction", + "controls": [ + { + "progress_bar@pdp.download_progress_small": {} + } + ] + } + } + ] + }, + + "smooth_purchase_buttons_panel": { + "type": "stack_panel", + "layer": 3, + "size": [ "100%", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "visible": false, + "controls": [ + { + "activated_purchase_buttons_panel@pdp.activated_smooth_purchase_buttons_panel": { + "bindings": [ + { + "binding_name": "#activated_purchase_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "deactivated_purchase_buttons_panel@pdp.deactivated_smooth_purchase_buttons_panel": { + "bindings": [ + { + "binding_name": "#deactivated_purchase_panel_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "smooth_buttons_panel": { + "type": "stack_panel", + "layer": 3, + "size": [ "100% - 4px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "$button_action|default": "button.defaultNoAction", + "visible": false, + "bindings": [ + { + "binding_name": "#buttons_panel_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#buttons_panel_visible", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "purchase_buttons_panel@pdp.smooth_purchase_buttons_panel": { + "bindings": [ + { + "binding_name": "#purchase_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "interact_filling_button@common_buttons.light_text_button": { + "layer": 3, + "$button_focus_precedence": 9, + "$pressed_button_name": "$button_action", + "$button_text": "#interact_button_text", + "$button_action": "button.interact_button", + "$focus_id": "interact_button_base", + "$button_binding_condition": "visible", + "$button_text_binding_type": "global", + "size": [ "100%", 20 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_name": "#action_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#action_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "interact_exit_world_filling_button@common_buttons.deactivated_light_content_button": { + "$pressed_button_name": "$button_action", + "$button_size_override": [ "100%", "100%c" ], + "$focus_border_size_override": [ "100%", "100%c + 2px" ], + "$button_image_size_override": [ "100% - 2px", "100%c + 2px" ], + "$button_content_size_override": [ "100% - 4px", "100%c + 6px" ], + "$button_state_panel": "common_buttons.new_ui_form_fitting_button_panel", + "$button_action": "button.must_exit_world_error_dialog", + "$button_binding_condition": "visible", + "$button_content": "pdp.disabled_interact_label_formfitting", + "$button_type_panel": "common_buttons.height_fitting_button_content_panel", + "size": [ "100%", "100%c" ], + "$anchor": "top_left", + "bindings": [ + { + "binding_name": "#exit_world_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "view", + "source_property_name": "#visible", + "target_property_name": "#enabled" + } + ] + } + } + ] + }, + + "disabled_interact_label_formfitting": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "use_priority": true, + "controls": [ + { + "info_icon": { + "type": "image", + "texture": "textures/ui/infobulb", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 9, 12 ], + "priority": 1 + } + }, + { + "info_icon_pad": { + "priority": 1, + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "interact_label_panel": { + "priority": 0, + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "interact_label_text_left@pdp.interact_label_text": {} + } + ] + } + }, + { + "pad": { + "priority": 0, + "type": "panel", + "size": [ 2, 0 ] + } + } + ] + }, + + "interact_label_text": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$text_color", + "text_alignment": "left", + "text": "#interact_button_text", + "$purchase_price_font_type|default": "default", + "font_type": "$purchase_price_font_type", + "bindings": [ + { + "binding_name": "#interact_button_text" + } + ] + }, + + "activated_smooth_purchase_buttons_panel": { + "type": "stack_panel", + "layer": 3, + "size": [ "100%", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "$has_real_money_button|default": false, + "$button_action|default": "button.defaultNoAction", + "$interact_button_id|default": "interact_button", + "$is_purchase_button": true, + "visible": false, + "controls": [ + { + "purchase_coins_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "smooth_purchase_with_coins_button@pdp.purchase_button_base": { + "$button_focus_precedence": 8, + "$button_action": "button.purchase_with_coins", + "$focus_id": "purchase_with_coins", + "$button_content": "pdp.smooth_coin_purchase_label_formfitting" + } + } + ] + } + }, + { + "pad_h1": { + "type": "panel", + "size": [ "100%", 3 ], + "bindings": [ + { + "binding_name": "#currency_purchase_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "purchase_currency_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#currency_purchase_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "purchase_with_currency_button@pdp.purchase_button_base": { + "$button_focus_precedence": 10, + "$button_action": "button.purchase_with_currency", + "$button_content": "pdp.currency_purchase_label", + "$text_size": [ "100%", "100%" ] + } + } + ] + } + } + ] + }, + + "deactivated_smooth_purchase_buttons_panel": { + "type": "stack_panel", + "layer": 3, + "size": [ "100%", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "$has_real_money_button|default": false, + "$button_action": "button.purchase_error_dialog", + "$is_purchase_button": true, + "controls": [ + { + "purchase_coins_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "deactivated_smooth_purchase_with_coins_button@pdp.deactivated_purchase_button_base": { + "enabled": true, + "$button_focus_precedence": 8, + "$button_content": "pdp.disabled_smooth_coin_purchase_label_formfitting", + "$is_purchase_button": true + } + } + ] + } + }, + { + "pad_h1": { + "type": "panel", + "size": [ "100%", 3 ], + "bindings": [ + { + "binding_name": "#currency_purchase_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "purchase_currency_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#currency_purchase_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "deactivated_purchase_with_currency_button@pdp.deactivated_purchase_button_base": { + "$button_focus_precedence": 10, + "$button_content": "pdp.currency_purchase_label", + "$text_size": [ "100%", "100%" ] + } + } + ] + } + } + ] + }, + + "smooth_save_share_button_panel": { + "type": "stack_panel", + "layer": 3, + "size": [ "100%c", 20 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "orientation": "horizontal", + "controls": [ + { + "pad_0": { + "type": "panel", + "ignored": "(not $supports_clipboard_set and not $supports_share)", + "size": [ 2, "100%" ], + "bindings": [ + { + "binding_name": "#share_button_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "share_button@common_buttons.light_content_button": { + "type": "button", + "ignored": "(not $supports_clipboard_set and not $supports_share)", + "size": [ 24, "100%" ], + "$button_focus_precedence": 7, + "$pressed_button_name": "button.share", + "$button_content": "pdp.share_label", + "$button_tts_header": "accessibility.store.offerDescription.share", + "$focus_id": "share_button", + "$focus_override_up": "interact_button", + "$focus_override_down": "read_more_button", + "$focus_override_left": "rating_button", + "$focus_override_right": "save_button", + "bindings": [ + { + "binding_name": "#share_button_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "save_button@common_buttons.light_content_button": { + "type": "button", + "size": [ 24, "100%" ], + "$button_focus_precedence": 8, + "$pressed_button_name": "button.save", + "$button_content": "pdp.save_label_panel", + "$button_tts_header": "accessibility.store.wishlist.button", + "$focus_id": "save_button", + "$focus_override_up": "interact_button", + "$focus_override_down": "read_more_button", + "$focus_override_left": "share_button", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#wishlist_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#wishlist_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + }, + + "currency_purchase_label": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "currency_purchase_label_text": { + "type": "label", + "$text_size|default": [ "100%", 10 ], + "color": "$text_color", + "size": "$text_size", + "$currency_purchase_label_offset|default": [ 0.5, 2 ], + "offset": "$currency_purchase_label_offset", + "text_alignment": "center", + "text": "#purchase_with_currency_button_text", + "bindings": [ + { + "binding_name": "#purchase_with_currency_button_text" + } + ] + } + } + ] + }, + + "coin_image@common_store.coin_icon": { + "bindings": [ + { + "binding_name": "#coin_visible", + "binding_name_override": "#visible" + } + ] + }, + + + "smooth_currency_purchase_label": { + "type": "panel", + "controls": [ + { + "currency_purchase_label_text": { + "type": "label", + "color": "$light_button_default_text_color", + "size": [ "100%", "default" ], + "anchor_from": "center", + "anchor_to": "center", + "text_alignment": "center", + "text": "#purchase_with_currency_button_text", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#purchase_with_currency_button_text" + } + ] + } + } + ] + }, + + "large_button_markdown_background": { + "type": "stack_panel", + "orientation": "horizontal", + "$markdown_size|default": [ "100%c", "100%" ], + "size": "$markdown_size", + "$markdown_offset|default": [ -1, 0 ], + "offset": "$markdown_offset", + "$markdown_label|default": "common.empty_panel", + "$banner_size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "banner@common_store.markdown_banner": { + "$markdown_label": "pdp.discount_label", + "size": [ "100%c", "100%" ], + "offset": [ -3, 0 ], // account for button sizing ($button_content_size_override) + "$banner_size": [ "26px", "100%" ], + "$triangle_offset": [ 0, 0 ], + "layer": 9, + "$triangle_texture": "textures/ui/saleflagtrianglebeveldefault", + "$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag" + } + }, + { + "triangle_panel": { + "type": "panel", + "size": [ "50%y", "100%" ], + "$triangle_offset|default": [ -1, 0 ], + "controls": [ + { + "triangle@common_store.markdown_triangle": { + "size": [ "100%", "100%" ], + "offset": "$triangle_offset", + "layer": 2, + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "discount_label": { + "type": "label", + "size": [ "default", 10 ], + "$discount_label_font|default": "smooth", + "font_type": "$discount_label_font", + "text": "#markdown_percentage", + "color": "$store_sales_banner_text_color", + "$discount_label_offset|default": [ 0, 0 ], + "offset": "$discount_label_offset", + "layer": 1, + "$discount_label_binding_type|default": "global", + "$discount_label_binding_collection|default": "", + "tts_override_control_value": "#tts_markdown_percentage", + + "bindings": [ + { + "binding_type": "$discount_label_binding_type", + "binding_collection_name": "$discount_label_binding_collection", + "binding_name": "#markdown_percentage" + }, + { + "binding_type": "$discount_label_binding_type", + "binding_collection_name": "$discount_label_binding_collection", + "binding_name": "#tts_markdown_percentage" + } + ] + }, + + "coin_purchase_label_text": { + "type": "label", + "size": [ "default", 10 ], + "color": "$text_color", + "text_alignment": "center", + "$purchase_price_offset|default": [ 0, 0 ], + "offset": "$purchase_price_offset", + "inherit_max_sibling_height": true, + "text": "#purchase_with_coins_button_text", + "$purchase_price_font_type|default": "default", + "font_type": "$purchase_price_font_type", + "tts_override_control_value": "#tts_purchase_with_coins_button_text", + "bindings": [ + { + "binding_name": "#purchase_with_coins_button_text" + }, + { + "binding_name": "#tts_purchase_with_coins_button_text" + } + ] + }, + + "smooth_coin_purchase_label_formfitting": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "use_priority": true, + "$coin_image_on_right|default": false, + "$purchase_price_font_type|default": "smooth", + "controls": [ + { + "sales_banner_offset_panel": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "sales_banner_panel": { + "type": "panel", + "size": [ "100%c", "100% + 4px" ], + "offset": [ -2, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "markdown_banner@common_store.markdown_background": { + "$markdown_label": "pdp.discount_label", + "size": [ "100%c", "100%" ], + "$banner_size": [ "20px", "100%" ], + "$triangle_offset": [ 0, 0 ], + "layer": 9, + "$triangle_texture": "textures/ui/saleflagtrianglebeveldefault", + "$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag" + } + } + ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "markdown_panel": { + "priority": 10, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "markdown_label@pdp.price_markdown_panel": { + "size": [ "100%c + 5px", "100%" ], + "$strike_thru_offset": [ 0, 0 ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + }, + { + "fill_pad_left": { + "priority": 0, + "type": "panel", + "size": [ "fill", "100%" ], + "bindings": [ + { + "binding_name": "(not #is_on_sale)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "left_coin_image_offset_panel": { + "priority": 0, + "ignored": "$coin_image_on_right", + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin@pdp.coin_image": { + "offset": [ -1, 0 ] + } + } + ] + } + }, + { + "coin_purchase_label_panel": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin_purchase_label_text_left@pdp.coin_purchase_label_text": {} + } + ] + } + }, + { + "pad": { + "priority": 0, + "type": "panel", + "size": [ 5, "100%" ] + } + }, + { + "right_coin_image_offset_panel": { + "priority": 0, + "ignored": "(not $coin_image_on_right)", + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin@pdp.coin_image": { + "offset": [ -3, 0 ] + } + } + ] + } + }, + { + "fill_pad_right": { + "priority": 0, + "type": "panel", + "size": [ "fill", "100%" ], + "bindings": [ + { + "binding_name": "(not #is_on_sale)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "disabled_smooth_coin_purchase_label_formfitting": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "use_priority": true, + "$coin_image_on_right|default": false, + "$purchase_price_font_type|default": "smooth", + "controls": [ + { + "sales_banner_offset_panel": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "sales_banner_panel": { + "type": "panel", + "size": [ "100%c", "100% + 4px" ], + "offset": [ -2, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "markdown_banner@common_store.markdown_background": { + "$markdown_label": "pdp.discount_label", + "size": [ "100%c", "100%" ], + "$banner_size": [ "20px", "100%" ], + "$triangle_offset": [ 0, 0 ], + "layer": 9, + "$triangle_texture": "textures/ui/saleflagtrianglebeveldefault", + "$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag" + } + } + ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "markdown_panel": { + "priority": 10, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "markdown_label@pdp.price_markdown_panel": { + "size": [ "100%c + 5px", "100%" ], + "$strike_thru_offset": [ 0, 0 ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + }, + { + "fill_pad_left": { + "priority": 0, + "type": "panel", + "size": [ "fill", "100%" ], + "bindings": [ + { + "binding_name": "(not #is_on_sale)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "info_icon": { + "type": "image", + "texture": "textures/ui/infobulb", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 9, 12 ], + "priority": 1 + } + }, + { + "left_coin_image_offset_panel": { + "priority": 0, + "ignored": "$coin_image_on_right", + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin@pdp.coin_image": { + "offset": [ -1, 0 ] + } + } + ] + } + }, + { + "info_icon_pad": { + "priority": 1, + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "coin_purchase_label_panel": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin_purchase_label_text_left@pdp.coin_purchase_label_text": {} + } + ] + } + }, + { + "pad": { + "priority": 0, + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "right_coin_image_offset_panel": { + "priority": 0, + "ignored": "(not $coin_image_on_right)", + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin@pdp.coin_image": { + "offset": [ -3, 0 ] + } + } + ] + } + }, + { + "fill_pad_right": { + "priority": 0, + "type": "panel", + "size": [ "fill", "100%" ], + "bindings": [ + { + "binding_name": "(not #is_on_sale)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "share_icon": { + "type": "image", + "layer": 2, + "size": "$share_icon_size", + "texture": "$share_icon_texture", + "offset": "$share_icon_offset" + }, + + "share_label": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "offset": [ 0, 1 ], + "orientation": "horizontal", + "controls": [ + { + "share_image_offset_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "variables": [ + { + "requires": "($apple_os and $supports_share)", + "$share_icon_texture": "textures/ui/share_apple", + "$share_icon_offset": [ 3.5, -1.5 ], + "$share_icon_size": [ 11, 15 ] + }, + { + "requires": "(($microsoft_os or (not $apple_os and not $google_os)) and $supports_share)", + "$share_icon_texture": "textures/ui/share_microsoft", + "$share_icon_offset": [ 2.5, -0.5 ], + "$share_icon_size": [ 15, 13 ] + }, + { + "requires": "($google_os and $supports_share)", + "$share_icon_texture": "textures/ui/share_google", + "$share_icon_offset": [ 2.0, -0.5 ], + "$share_icon_size": [ 14, 13 ] + }, + { + "requires": "($supports_clipboard_set and not $supports_share)", + "$share_icon_texture": "textures/ui/copy", + "$share_icon_offset": [ 2.5, -1.0 ], + "$share_icon_size": [ 13, 14 ] + } + ], + "controls": [ + { + "link_share@share_icon": { + } + } + ] + } + } + ] + }, + + "save_label_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "heart_image@pdp.save_label": { + "bindings": [ + { + "binding_name": "#wishlist_button_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading_spinner": { + "size": [ 12, 12 ], + "bindings": [ + { + "binding_name": "(not #wishlist_button_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "save_label": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "save_image_offset_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "full_heart": { + "type": "image", + "layer": 2, + "size": [ 12, 12 ], + "texture": "textures/ui/heart", + "bindings": [ + { + "binding_name": "#is_on_wishlist", + "binding_name_override": "#visible" + } + ] + } + }, + { + "empty_heart": { + "type": "image", + "layer": 1, + "size": [ 12, 12 ], + "texture": "textures/ui/heart_background" + } + } + ] + } + } + ] + }, + + "large_button_coin_purchase_label": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "use_priority": true, + "offset": [ 0, 0 ], + "orientation": "horizontal", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$coin_image_on_right|default": false, + "controls": [ + { + "markdown_banner_filler_panel": { + "priority": 0, + "type": "panel", + "size": [ "fill", "100%" ], + "$ignore_markdown_filler_panel|default": false, + "ignored": "$ignore_markdown_filler_panel", + "bindings": [ + { + "binding_name": "(not #is_on_sale)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "center_markdown_panel": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "markdown_banner@common_store.markdown_background": { + "$markdown_label": "pdp.discount_label", + "size": [ "100%c", "100% + 4px" ], + "offset": [ -2, 2 ], // account for button sizing ($button_content_size_override) + "$banner_size": [ "26px", "100%" ], + "$triangle_offset": [ 0, 0 ], + "layer": 8, + "$triangle_texture": "textures/ui/saleflagtrianglebeveldefault", + "$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag" + } + } + ] + } + }, + { + "sales_padding_0": { + "priority": 10, + "type": "panel", + "size": [ 2, "100%" ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + }, + { + "price_markdown_panel": { + "priority": 10, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "price_markdown_label@pdp.price_markdown_panel": { + "$purchase_price_offset|default": [ 0, 0.5 ], + "offset": "$purchase_price_offset" + } + } + ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sales_padding_1": { + "priority": 10, + "type": "panel", + "size": [ 4, "100%" ], + "bindings": [ + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ] + } + }, + { + "left_coin_image_offset_panel": { + "priority": 0, + "ignored": "$coin_image_on_right", + "type": "panel", + "size": [ "100%c + 2px", "100%" ], + "controls": [ + { + "coin@pdp.coin_image": { + "anchor_to": "left_middle", + "anchor_from": "left_middle" + } + } + ] + } + }, + { + "coin_purchase_label_panel": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin_purchase_label_text@pdp.coin_purchase_label_text": {} + } + ] + } + }, + { + "right_coin_image_offset_panel": { + "priority": 0, + "ignored": "(not $coin_image_on_right)", + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin@pdp.coin_image": {} + } + ] + } + }, + { + "fill_padding_1": { + "type": "panel", + "size": [ "fill", "100%" ] + } + } + ] + }, + + "price_markdown_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "offer_price": { + "type": "label", + "size": [ "default", 10 ], + "layer": 4, + "color": "$text_color", + "alpha": 0.6, + "text": "#full_price", + "tts_override_control_value": "#tts_full_price", + "bindings": [ + { + "binding_name": "#full_price" + }, + { + "binding_name": "#tts_full_price" + }, + { + "binding_name": "#is_on_sale", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "text_strike_through@common_store.text_strike_through": { + "size": [ "100% + 2px", 1 ], + "$strike_thru_offset|default": [ 0, -1 ], + "color": "$text_color", + "offset": "$strike_thru_offset", + "alpha": 0.6, + "layer": 5 + } + } + ] + } + } + ] + }, + + "vertical_padding_2px": { + "type": "panel", + "size": [ 1, 2 ] + }, + + "vertical_padding_4px": { + "type": "panel", + "size": [ 1, 4 ] + }, + + "vertical_padding_fill": { + "type": "panel", + "size": [ 1, "fill" ] + }, + + "horizontal_padding_2px": { + "type": "panel", + "size": [ 2, 1 ] + }, + + "horizontal_padding_4px": { + "type": "panel", + "size": [ 4, 0 ] // Y = 0 since it is used within an object whose Y = 100%c + }, + + "horizontal_padding_8px": { + "type": "panel", + "size": [ 8, 0 ] // Y = 0 since it is used within an object whose Y = 100%c + }, + + "horizontal_padding_fill": { + "type": "panel", + "size": [ "fill", 1 ] + }, + + "empty_content_panel": { + "type": "panel", + "size": [ 0, 0 ] + }, + + "section_header": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "header_label": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "$content_title_binding_type|default": "$store_factory_binding_type", + "$content_title_bind_name|default": "#section_header", + "text": "$content_title_bind_name", + "font_type": "MinecraftTen", + "color": "$body_text_color", + "enable_profanity_filter": false, + "bindings": [ + { + "binding_name": "$content_title_bind_name", + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#section_title_visible", + "binding_name_override": "#visible" + } + ] + }, + + "content_section_bg": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$content_name|default": "", + "$content|default": "pdp.empty_content_panel", + "controls": [ + { "pad@pdp.vertical_padding_2px": {} }, + { "section_header@pdp.section_header": {} }, + { + "bg_and_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "bg": { + "type": "image", + "$bg_size|default": [ "100% - 4px", "100%c" ], + "size": "$bg_size", + "texture": "textures/ui/Banners", + "$section_bg_alpha|default": 1.0, + "alpha": "$section_bg_alpha", + "controls": [ + { "$content@$content": {} } + ] + } + } + ] + } + } + ], + + "$content_section_bg_bindings|default": [], + "variables": [ + { + "requires": "(not $content_name = '')", + "$content_section_bg_bindings": [ + { + "binding_name": "$content_name", + "binding_name_override": "#visible" + } + ] + } + ], + "bindings": "$content_section_bg_bindings" + }, + + "content_section_boarder_bg": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$content_name|default": "", + "$content|default": "pdp.empty_content_panel", + "controls": [ + { "pad@pdp.vertical_padding_2px": {} }, + { + "bg_and_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "bg": { + "type": "image", + "size": [ "100% - 6px", "100%c + 10px" ], + "anchor_from": "center", + "anchor_to": "center", + "texture": "textures/ui/thin_dialog", + "controls": [ + { + "inner": { + "type": "image", + "size": [ "100% - 7px", "100%c" ], + "offset": [ 0, 6 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": -1, + "texture": "textures/ui/Black", + "alpha": 0.8, + "controls": [ + { "$content@$content": { "layer": 5 } } + ] + } + } + ] + } + } + ] + } + }, + { "pad_3@pdp.vertical_padding_2px": {} }, + { "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } } + ], + + "$content_section_boarder_bg_bindings|default": [], + "variables": [ + { + "requires": "(not $content_name = '')", + "$content_section_boarder_bg_bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$content_name", + "binding_name_override": "#visible" + } + ] + } + ], + "bindings": "$content_section_boarder_bg_bindings" + }, + + "realms_default_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 16, + "frame_step": 19, + "fps": 10, + "reversible": false + }, + + "realms_hover_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 16, + "frame_step": 19, + "fps": 8, + "reversible": false + }, + + "summary_factory_object": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + + "focus_container": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + + "controls": [ + { + "summary@pdp.summary_content_panel": { + "$content_name": "#summary_content_visible" + } + }, + { + "navigation_tab_section@store_layout.nav_button_grid_panel": { + "$nav_button_event_name": "button.tab_button", + "$nav_button_collection_name": "tab_button_collection", + "$section_content": "#tab_section_content", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#nav_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "update_notification_section@pdp.content_section_boarder_bg": { + "size": [ "100%", "100%c" ], + "$content": "pdp.update_notification_stack_panel", + "$content_name": "#update_notification_section_visible" + } + } + ] + }, + + "screenshot_carousel_factory_object": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "resource_pack_content_panel@pdp.content_section_bg": { + "size": [ "100%", "100%c" ], + "$section_bg_alpha": 0.5, + "$content": "pdp.resource_pack_content" + } + }, + { "pad_3@pdp.vertical_padding_2px": {} }, + { "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } } + ] + }, + + "image_gallery_factory_object": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%cm" ], + "controls": [ + { "resource_pack_content_panel@pdp.image_row_content": {} } + ] + }, + + "left_text_right_image_factory_object": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%cm" ], + "controls": [ + { "resource_pack_content_panel@pdp.image_row_left_text_content": {} } + ] + }, + + "right_text_left_image_factory_object": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%cm" ], + "controls": [ + { "resource_pack_content_panel@pdp.image_row_right_text_content": {} } + ] + }, + + "skin_pack_section_factory_object": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "skin_pack_section_factory_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { "skin_pack_content_panel@pdp.skin_pack_content_panel": {} }, + { "pad_3@pdp.vertical_padding_2px": {} }, + { "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#is_skin_pack_section_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#skin_pack_section_visible", + "binding_name_override": "#visible" + } + ] + }, + + "panorama_view_factory_object": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$store_factory_collection_details|default": "none", + "$store_factory_binding_type|default": "global", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "controls": [ + { + "panorama_view_content_panel@pdp.content_section_bg": { + "size": [ "100%", "100%c" ], + "$content": "pdp.panorama_view_content" + } + }, + { + "pad_3@pdp.vertical_padding_2px": {} + }, + { "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } } + ] + }, + + "ratings_factory_object": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "rating_factory_object_content@pdp.ratings_content_panel": {} } + ] + }, + + "focus_container_button@common.button": { + "size": [ "100%", "100%sm" ], + "focus_enabled": true, + "$focus_id": "ratings_focus", + "layer": 3, + "default_control": "", + "hover_control": "default", + "pressed_control": "default", + "$pressed_button_name": "", + "tts_override_control_value": "store.mashup.title.ratings", + "controls": [ + { + "default@common.empty_panel": {} + } + ], + "bindings": [ + { + "binding_name": "#ratings_focus_container_visible", + "binding_name_override": "#visible" + } + ] + }, + + "bundle_summary_factory_object": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$control_id": "bundle", + "controls": [ + { "bundle_summary_factory_object_content@pdp.bundle_summary_section_panel": {} } + ] + }, + + "bundles_upsell_factory_object": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$control_id": "bundle_upsell", + "controls": [ + { "bundle_upsell_factor_object_content@pdp.bundle_upsell_section_panel": {} } + ] + }, + + "pdp_cycle_offer_row_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "store_row_panel@common_store.store_row": { + "$is_subscription_screen": false, + "$content_offer_panel_size": [ "100% - 48px", "100%" ] + } + }, + { "pad_3@pdp.vertical_padding_2px": {} }, + { "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } } + ] + }, + + "pdp_cycle_offer_row_section@common_store.store_section_panel": { + "$section_panel_object": "pdp.pdp_cycle_offer_row_content", + "$store_section_header_font_type": "MinecraftTen" + }, + + "recently_viewed_viewed_factory_object@pdp.pdp_cycle_offer_row_section": { + "$store_offer_section_visible": "#recently_viewed_row_visible" + }, + + "scrolling_content_stack": { + "type": "stack_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$store_factory_collection_details|default": "collection_details", + "$store_factory_binding_type|default": "collection", + "$store_factory_collection_prefix|default": "factory", + "$store_factory_collection_name|default": "factory_collection", + + "factory": { + "name": "factory", + "control_ids": { + "summary": "@pdp.summary_factory_object", + "screenshots": "@pdp.resource_pack_factory_object", + "skin_pack": "@pdp.skin_pack_factory_object", + "world_view": "@pdp.world_view_factory_object", + "ratings": "@pdp.ratings_factory_object", + "recently_viewed": "@pdp.pdp_cycle_offer_row_section", + "related_items": "@pdp.pdp_cycle_offer_row_section", + "bundles": "@pdp.bundle_factory_object", + "bundle_upsell": "@pdp.bundles_upsell_factory_object" + }, + "factory_variables": [ + "$store_factory_collection_details", + "$store_factory_binding_type", + "$store_factory_collection_prefix", + "$store_factory_collection_name" + ] + }, + "collection_name": "$store_factory_collection_name", + "bindings": [ + { + "binding_name": "#item_page_section_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "warning_image": { + "type": "image", + "size": [ 9, 14 ], + "bindings": [ + { + "binding_name": "#warning_icon_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + }, + + // Ratings Section + //-------------------------------------------------------------------------------- + + "scaling_rating": { + "type": "panel", + "size": [ 55, 11 ], + "$rating_bind_name|default": "#content_rating", + + "controls": [ + { + "empty_rating": { + "type": "image", + "texture": "textures/ui/5stars_empty_white", + "bilinear": true, + "controls": [ + { + "full_rating": { + "type": "image", + "texture": "textures/ui/5stars_full", + "bilinear": true, + "layer": 1, + "clip_direction": "left", + "clip_pixelperfect": false, + "bindings": [ + { + "binding_name": "$rating_bind_name", + "binding_name_override": "#clip_ratio" + } + ] + } + } + ] + } + } + ] + }, + + "scaling_rating_new": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "$rating_bind_name|default": "#content_rating", + "controls": [ + { + "empty_rating": { + "type": "image", + "size": [ 81, 19 ], + "texture": "textures/ui/5stars_empty_new", + "clip_direction": "right", + "clip_pixelperfect": false, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#content_rating_reverse", + "binding_name_override": "#clip_ratio" + } + ], + "controls": [ + { + "full_rating": { + "type": "image", + "texture": "textures/ui/5stars_full_new", + "layer": 1, + "clip_direction": "left", + "clip_pixelperfect": false, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$rating_bind_name", + "binding_name_override": "#clip_ratio" + } + ] + } + } + ] + } + } + ] + }, + + "chart_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$section_offset|default": [ 3, 0 ], + "controls": [ + { + "stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 11 ], + "offset": "$section_offset", + "$star_number|default": "-1", + "controls": [ + { + "star_number_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "star_number": { + "type": "label", + "size": [ "default", "100%" ], + "text": "$star_number", + "font_type": "smooth", + "color": "$body_text_color" + } + } + ] + } + }, + { + "star_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "star_img": { + "type": "image", + "size": [ "112.727%y", 8 ], + "offset": [ 0, -0.5 ], + "texture": "textures/ui/ratings_fullstar", + "bilinear": true + } + } + ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ 1, 1 ] + } + }, + { + "bar_panel": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "bar": { + "type": "image", + "texture": "textures/ui/emptyBar", + "size": [ "100%", 7 ], + "offset": [ 0, 2 ], + "controls": [ + { + "full_bar": { + "type": "image", + "texture": "textures/ui/filledBar", + "size": [ "100% - 2px", "100% - 2px" ], + "layer": 1, + "clip_direction": "left", + "clip_pixelperfect": false, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$progress_bar_name", + "binding_name_override": "#clip_ratio" + } + ] + } + } + ] + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ 2, 1 ] + } + }, + { + "percent": { + "type": "label", + "size": [ 20, "100%" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "$rating_percentage", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$rating_percentage" + } + ] + } + } + ] + } + } + ] + }, + + "ratings_chart": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "5_star@pdp.chart_section": { + "$star_number": "5", + "$progress_bar_name": "#5_star_percent_normalized", + "$rating_percentage": "#5_star_percent" + } + }, + { + "4_star@pdp.chart_section": { + "$star_number": "4", + "$progress_bar_name": "#4_star_percent_normalized", + "$rating_percentage": "#4_star_percent" + } + }, + { + "3_star@pdp.chart_section": { + "$star_number": "3", + "$progress_bar_name": "#3_star_percent_normalized", + "$rating_percentage": "#3_star_percent" + } + }, + { + "2_star@pdp.chart_section": { + "$star_number": "2", + "$progress_bar_name": "#2_star_percent_normalized", + "$rating_percentage": "#2_star_percent" + } + }, + { + "1_star@pdp.chart_section": { + "$star_number": "1", + "$progress_bar_name": "#1_star_percent_normalized", + "$rating_percentage": "#1_star_percent" + } + } + ] + }, + + "ratings_chart_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%", "100%c" ], + "controls": [ + { + "ratings_chart_content": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 6px", "100%c" ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "title": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_text": { + "type": "label", + "size": [ "100%", 10 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "font_type": "MinecraftTen", + "text": "store.mashup.title.ratings", + "color": "$body_text_color" + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "rating_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "rating": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%c", "100%c" ], + "controls": [ + { "rating_bar@pdp.scaling_rating_new": {} }, + { + "pad": { + "type": "panel", + "size": [ 2, 1 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#ratings_panel_5stars_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "rating_text_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "rating_text": { + "type": "label", + "size": [ "default", "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text": "#ratings_panel_text", + "font_type": "smooth", + "color": "$body_text_color", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#ratings_panel_text" + } + ] + } + } + ] + } + }, + { + "count_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "count": { + "type": "label", + "size": [ "default", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text": "#number_of_ratings", + "offset": [ 0, -1 ], + "font_type": "smooth", + "color": "$body_text_color", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#number_of_ratings" + } + ] + } + } + ] + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { "chart@pdp.ratings_chart": {} }, + { "pad_3@pdp.vertical_padding_2px": {} } + ] + } + } + ] + }, + + "ratings_box": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { "ratings_panel_focus_point@pdp.focus_container_button": {} }, + { + "ratings_full_panel": { + "type": "panel", + "size": [ "100% - 4px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "ratings_chart_and_button": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { "chart@pdp.ratings_chart_panel": {} }, + { "pad_1@pdp.vertical_padding_2px": {} } + ] + } + } + ] + } + }, + { + "divider": { + "type": "image", + "size": [ 1, 85 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ 0, -6 ], + "texture": "textures/ui/divider3", + "tiled": "y", + "alpha": 0.6 + } + } + ] + }, + + "user_rating_star_button@common.button": { + "size": [ 17, 20 ], + "pressed_control": "hover", + "$pressed_button_name": "button.user_rating_star_toggle", + "controls": [ + { + "default": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "default_user_rating_star": { + "type": "image", + "size": [ 17, 19 ], + "texture": "textures/ui/emptyStar", + + "property_bag": { + "#empty_star_texture": "textures/ui/emptyStar", + "#filled_star_texture": "textures/ui/filledStar" + }, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "ratings_star_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "ratings_star_collection", + "binding_name": "#user_rating_star_texture", + "binding_name_override": "#texture" + } + ] + } + } + ] + } + }, + { + "hover": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "hover_user_rating_star": { + "type": "image", + "size": [ 17, 19 ], + "texture": "textures/ui/emptyStarFocus", + + "property_bag": { + "#empty_star_texture": "textures/ui/emptyStarFocus", + "#filled_star_texture": "textures/ui/filledStarFocus" + }, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "ratings_star_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "ratings_star_collection", + "binding_name": "#user_rating_star_texture", + "binding_name_override": "#texture" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "ratings_star_collection" + } + ] + }, + + "user_rating_star_list_grid": { + "type": "grid", + "grid_item_template": "pdp.user_rating_star_button", + "grid_dimension_binding": "#ratings_star_dimensions", + "collection_name": "ratings_star_collection", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#ratings_star_dimensions" + } + ] + }, + + "ratings_interact_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 15px", "100%c" ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#ratings_interact_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "title_text": { + "type": "label", + "size": [ "default", 10 ], + "font_type": "MinecraftTen", + "text": "store.ratings.yourRating", + "color": "$body_text_color" + } + }, + { + "pad_vertical_4px": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "rating_stars_and_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "fill_stars": { + "type": "panel", + "size": [ "60%", "100%c" ], + "controls": [ + { + "rating_buttons@pdp.user_rating_star_list_grid": {} + } + ] + } + }, + { + "pad_3_percent": { + "type": "panel", + "size": [ "3%", "100%sm" ] + } + }, + { + "submit_button_panel": { + "type": "panel", + "size": [ "37%", "100%c" ], + "controls": [ + { + "submit@common_buttons.light_content_button": { + "$button_content": "pdp.interaction_button_content", + "size": [ "100%", 20 ], + "$button_text_bind_name": "#submit_rating_button_text", + "$focus_wrap_enabled": false, + "$button_focus_precedence|default": 9, + "$pressed_button_name": "button.submit_rating", + "$focus_id": "interact_button", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#ratings_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + } + ] + } + }, + { + "pad_vertical_8px": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "fill_pad": { + "type": "panel", + "size": [ "100%", 48 ], + "controls": [ + { + "text": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "default" ], + "text_alignment": "left", + "color": "$body_text_color", + "text": "#rating_footer_text", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#rating_footer_text" + } + ] + } + } + ] + } + }, + { + "send_feedback_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$pressed_button_name": "button.send_feedback", + "$button_text": "gui.submitFeedback.text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "ratings_info_panel": { + "type": "panel", + "size": [ "100% - 2px", "100%cm" ], + "controls": [ + { + "ratings@pdp.ratings_box": { + "size": [ "34%", "100%cm" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "ratings_right": { + "type": "panel", + "size": [ "66%", "100%cm" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "ratings_interact_panel@pdp.ratings_interact_panel": {} + } + ] + } + } + ] + }, + + "ratings_content_panel@pdp.content_section_boarder_bg": { + "size": [ "100%", "100%c" ], + "$content": "pdp.ratings_info_panel", + "clip_state_change_event": "$store_factory_clipping_event" + }, + + //-------------------------------------------------------------------------------- + // World View Section + //-------------------------------------------------------------------------------- + + "panorama_view_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "panorama_panel": { + "type": "panel", + "size": [ "100%", 150 ], + "controls": [ + { "panorama_content@panorama.panorama_view": {} } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Skin Pack Section + //-------------------------------------------------------------------------------- + + "skins@skin_pack_purchase.skins_panel": { + "size": [ "100%", 150 ] + }, + + "skin_pack_content_panel@pdp.content_section_bg": { + "size": [ "100%", "100%c + 4px" ], + "$content": "pdp.skins", + "$section_bg_alpha": 0.5, + "$grid_size": [ "100%", "100%" ], + "$skins_grid_size": [ "100% - 40px", "100% - 2px" ], + "$skins_grid_item_size": [ "19.9%", "100%" ], + "$skin_model_size": [ "100%", "100%" ], + "$skin_model_offset": [ 0, -15 ], + "$skin_model_anchor_from": "top_middle", + "$skin_model_anchor_to": "top_middle", + "$skin_lock_offset": [ -3, -4.0 ] + }, + + //-------------------------------------------------------------------------------- + // Resource Pack Section + //-------------------------------------------------------------------------------- + + "resource_pack_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "screenshots@pdp_screenshots.screenshot_carousel": { + "size": [ "100%", "100%cm" ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ] + }, + + "image_row_left_text_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "buffer_panel_front": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + }, + { + "text_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "left_header@pdp.section_header": { + "size": [ "100%", "100%c" ] + } + }, + { + "left_text@sdl_text_row.sdl_text_row_component_panel": { + } + }, + { + "buffer_panel_bottom": { + "type": "panel", + "size": [ "100%", "3px" ] + } + } + ] + } + }, + { + "buffer_panel_mid": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + }, + { + "screenshots_single@sdl_image_row.double_image": { + "$image_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "global", // bypassing the factory. + "binding_name": "#screenshot_texture_image_row_global", + "binding_name_override": "#texture" + }, + { + "binding_type": "global", + "binding_name": "#screenshot_texture_file_system_image_row_global", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "buffer_panel_back": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + } + ] + }, + + "image_row_right_text_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "buffer_panel_front": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + }, + { + "screenshots_single@sdl_image_row.double_image": { + "$image_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "global", + "binding_name": "#screenshot_texture_image_row_global", + "binding_name_override": "#texture" + }, + { + "binding_type": "global", + "binding_name": "#screenshot_texture_file_system_image_row_global", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "buffer_panel_mid": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + }, + { + "text_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%sm" ], + "min_size": [ "fill", "100%c" ], + "controls": [ + { + "right_header@pdp.section_header": { + "size": [ "100%", "100%c" ] + } + }, + { + "right_text@sdl_text_row.sdl_text_row_component_panel": { + } + }, + { + "buffer_panel_bottom": { + "type": "panel", + "size": [ "100%", "3px" ] + } + } + ] + } + }, + { + "buffer_panel_back": { + "type": "panel", + "size": [ "2px", "100%sm" ] + } + } + ] + }, + + "image_row_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "screenshots_triple@sdl_image_row.image_row_factory": { + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Summary Section + //-------------------------------------------------------------------------------- + + "play_button": { + "type": "image", + "layer": 4, + "size": [ 31, 31 ], + "offset": [ 1, 1 ], + "texture": "textures/ui/store_play_button" + }, + + "csb_expiration": { + "type": "panel", + "size": [ "100%", 14 ], + "offset": [ 0, 0.5 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "background": { + "type": "image", + "size": [ "100%", "100%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "texture": "textures/ui/White", + "color": "$csub_text_color", + "layer": 3 + } + }, + { + "icon": { + "type": "image", + "size": [ 12, 12 ], + "texture": "textures/ui/sidebar_icons/csb_sidebar_icon", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 1, 0 ], + "layer": 5 + } + }, + { + "text": { + "type": "label", + "size": [ "default", 10 ], + "color": "$0_color_format", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 18, 0 ], + "text": "#item_csb_expiration_label", + "layer": 6, + "bindings": [ + { + "binding_name": "#item_csb_expiration_label" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#csb_expiration_banner_visible", + "binding_name_override": "#visible" + } + ] + }, + + "summary_content_left_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "70% - 6px", "100%c" ], + "controls": [ + { "pad_left@pdp.horizontal_padding_4px": {} }, + { + "full_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "100%c" ], + "controls": [ + { + "top": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "image": { + "type": "panel", + "size": [ "50%", "56.25%x" ], + "controls": [ + { + "key_image": { + "type": "image", + "layer": 1, + "size": [ "100%", "100%" ], + "bilinear": true, + "controls": [ + { + "border@common.focus_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": "$light_border_default_color", + "layer": 8 + } + }, + { + "csb_expiration_banner@pdp.csb_expiration": { + "layer": 4 + } + }, + { + "video_overlay_button@common.button": { + "layer": 3, + "size": [ "100%", "100%" ], + "focus_enabled": true, + "default_control": "default", + "hover_control": "hover", + "pressed_control": "hover", + + "focus_identifier": "video_overlay", + "focus_change_right": "author_button", + "focus_change_down": "read_more_button", + + "bindings": [ + { + "binding_name": "#video_button_enabled", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.play_video", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.play_video", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "mask": { + "type": "image", + "layer": 2, + "size": [ "100%", "100%" ], + "texture": "textures/ui/store_play_button_mask" + } + }, + { + "default@pdp.play_button": { + } + }, + { + "hover@pdp.play_button": { + "color": "$store_play_button_hover" + } + } + ] + } + }, + { + "rtx_label@common_store.rtx_label": { + "size": [ 20, 12 ], + "layer": 5, + "bindings": [ + { + "binding_name": "#rtx_label_visible", + "binding_name_override": "#visible" + } + ] + } + + } + ], + "bindings": [ + { + "binding_name": "#main_mashup_key_art_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "#main_mashup_key_art_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + } + }, + { + "divider": { + "type": "panel", + "size": [ 3, 0 ], + "inherit_max_sibling_height": true + } + }, + { + "info": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "summary_title_and_author_panel@pdp.title_and_author_panel": {} + }, + { + "pad_fill": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "glyph_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "glyph_section_panel@pdp.vertical_glyph_section_panel": { + "offset": [ 0, 1 ] + } + } + ] + } + }, + { + "ratings_summary": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "ratings_display": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$mashup_collection_binding_type|default": "global", + "$mashup_collection_name|default": "", + "bindings": [ + { + "binding_name": "#rating_status_valid", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "rating_stars_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "rating@pdp.scaling_rating": { + "size": [ 50, 10 ], + "$rating_bind_name": "#rating_button_stars" + } + } + ] + } + }, + { + "summary_rating_button@common_buttons.underline_button": { + "$focus_id": "rating_button", + "$focus_override_up": "glyph_button", + "$focus_override_left": "video_overlay", + "$focus_override_right": "share_button", + "$focus_override_down": "read_more_button", + + "$single_line_label_text": "#rating_button_text", + "$label_text_bindings": [ + { + "binding_name": "#rating_button_text" + } + ], + "$pressed_button_name": "button.scrollToRateContent" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom": { + "type": "panel", + "size": [ "100%", 5 ] + } + } + ] + } + } + ] + }, + + "offer_title_label@common.single_line_label": { + "$single_line_label_text": "#title_label", + "$label_text_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "$single_line_label_text", + "binding_condition": "visibility_changed" + } + ] + }, + + "title_and_author_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$mashup_collection_binding_type|default": "global", + "$mashup_collection_name|default": "", + + "controls": [ + { + "title_panel@pdp.offer_title_label": { + "layer": 1, + "$size": [ "100%", "100%c" ], + "$single_label_size": [ "100%", "default" ], + "$single_line_font_scale_factor": 1.3, + "$single_line_label_offset": [ 1.5, -3 ] + } + }, + { + "author_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "summary_author_button@common_buttons.underline_button": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, -4 ], + "$pressed_button_name": "button.seeMoreBy", + "$single_line_label_text": "#creator_label", + + "$focus_id": "author_button", + "$focus_override_down": "glyph_button", + "$focus_override_left": "video_overlay", + "$focus_override_right": "interact_button", + + "$label_text_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "$single_line_label_text" + } + ], + "bindings": [ + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#is_creator_label_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + } + ] + }, + + "description_label": { + "type": "label", + "size": [ "100%", "default" ], + "$contents_max_size|default": [ "100%", "default" ], + "max_size": "$contents_max_size", + "layer": 1, + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "enable_profanity_filter": false, + "$description_label_binding_name": "#description_label", + "text": "$description_label_binding_name", + "bindings": [ + { + "binding_name": "$description_label_binding_name" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + }, + + "warning_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 16px", 20 ], + "controls": [ + { + "warning_icon@pdp.warning_image": { + "size": [ 13, "100%" ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "warning_text_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "warning_text": { + "type": "label", + "size": [ "100%", 12 ], + "text": "#warning_text_string", + "font_type": "smooth", + "font_scale_factor": 1.1, + "color": "$body_text_color", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#warning_text_string" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + } + ] + }, + + "warning_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "background": { + "type": "image", + "size": [ "100% - 8px", "100%sm + 4px" ], + "texture": "textures/ui/banners_no_border" + } + }, + { + "content_stack_panel@pdp.warning_stack_panel": {} + } + ] + }, + + "description_toggle_show_button_panel": { + "type": "panel", + "$border_offset|default": [ 0, 0 ], + "$show_button_offset|default": [ 0, 0 ], + "controls": [ + { + "description_bottom_right_button_border": { + "type": "image", + "size": [ "100%sm + 4px", "100%sm + 4px" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "texture": "textures/ui/button_border_light_bottom_right", + "offset": "$border_offset" + } + }, + { + "description_toggle_show_button@common_buttons.light_text_form_fitting_button": { + "$focus_id": "$description_toggle_focus_id", + "size": [ "100%cm", "100%cm" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$pressed_button_name": "button.expand_toggle", + "offset": "$show_button_offset", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "warning_icon": { + "type": "image", + "size": [ 7, 10 ], + "offset": [ 6, -5 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 20, + "bindings": [ + { + "binding_name": "#show_warning_icon", + "binding_name_override": "#visible" + }, + { + "binding_name": "#warning_icon_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + }, + + // Glyph Tags + + // Requires: $glyph_texture + "glyph_icon": { + "type": "image", + "size": [ 8, 8 ], + "offset": [ 0, -1.5 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "texture": "$glyph_texture", + "color": "$body_text_color", + "bilinear": true + }, + + // Requires: $glyph_text_binding + "glyph_count_label": { + "type": "label", + "size": [ "default", 10 ], + "text_alignment": "left", + "font_type": "smooth", + "font_scale_factor": 0.8, + "color": "$body_text_color", + "text": "$glyph_text_binding", + "bindings": [ + { + "binding_type": "global", + "binding_name": "$glyph_text_binding", + "binding_condition": "visible" + } + ] + }, + + // Requires: $glyph_text_binding, $pressed_button_name + "glyph_count_underline_button@common_buttons.underline_button": { + "$single_label_size": [ "default", 9 ], + "$single_line_label_offset": [ 0, -1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$single_line_label_text": "$glyph_text_binding", + "$focus_id": "glyph_button", + "$focus_override_down": "rating_button", + "$label_text_bindings": [ + { + "binding_type": "global", + "binding_name": "$glyph_text_binding", + "binding_condition": "visible" + } + ] + }, + + // Requires: $glyph_text_binding, $pressed_button_name, $glyph_button_hover_bind + "glyph_count_hover_underline_button_panel@common.empty_panel": { + "size": [ 32, 10 ], + "$glyph_button_hover_bind|default": "glyph_button.is_hovered", + "$glyph_hover_control|default": "pdp.glyph_panel_hover_popup", + "controls": [ + { + "glyph_hover_popup@$glyph_hover_control": {} + }, + { + "glyph_count_underline_button@pdp.glyph_count_underline_button": { + "button_mappings": [ + { + "to_button_id": "$glyph_button_hover_bind", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + // Requires: $item_glyph_count_visible_binding + "glyph_icon_with_count@common.horizontal_stack_panel": { + "size": [ "100%c", 10 ], + "$glyph_label_content|default": "pdp.glyph_count_label", + "controls": [ + { + "glyph_icon@pdp.glyph_icon": {} + }, + { + "horizontal_padding@common.empty_panel": { "size": [ 2, "100%" ] } + }, + { + "item_glyph_count_panel_label@$glyph_label_content": {} + } + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "$item_glyph_count_visible_binding", + "binding_name_override": "#visible" + } + ] + }, + + "glyph_panel_hover_popup@common.dynamic_tooltip_popup_with_image_and_text": { + "$tooltip_panel_offset": [ "-45%", "-10px" ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "#glyph_hover_visible", + "$tooltip_hovered_to_button_id": "$glyph_button_hover_bind" + }, + + "glyph_panel_mashup_hover_popup@common.dynamic_custom_tooltip_below": { + "$tooltip_panel_offset": [ "-45%", "10px" ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding": "#glyph_hover_visible", + "$tooltip_hovered_to_button_id": "glyph_button.is_hovered", + "$pressed_button_name": "button.navigate_to_store_search_mashup", + "$tooltip_content": "pdp.mashup_glyph_tooltip_content" + }, + + "mashup_glyph_tooltip_content@common.vertical_stack_panel": { + "size": [ "100%cm", "100%c" ], + "$glyph_label_content": "pdp.glyph_count_label", + "controls": [ + { + "mashup_text_row@common.horizontal_stack_panel": { + "size": [ "100%c", 12 ], + "controls": [ + { + "lightbulb_icon": { + "type": "image", + "size": [ 11, 11 ], + "texture": "textures/ui/infobulb" + } + }, + { + "mashup_line_one@common.single_line_label": { + "$single_line_label_text": "store.mashup.hover.label.mashup.lineOne", + "$font_type": "default" + } + } + ] + } + }, + { "mashup_line_two@common.single_line_label": { "$single_line_label_text": "store.mashup.hover.label.mashup.lineTwo" } }, + { + "offset_panel@common.empty_panel": { + "size": [ "100%cm", "100%cm" ], + "controls": [ + { + "basic_vertical_glyph_section_panel@pdp.basic_vertical_glyph_section_panel": { "offset": [ 2, 0 ] } + } + ] + } + } + ] + }, + + "glyph_section_mashup@pdp.glyph_icon_with_count": { + "$glyph_texture": "textures/ui/glyph_mashup_pack_small", + "$glyph_text_binding": "#item_mashup_count_and_label", + "$item_glyph_count_visible_binding": "#item_mashup_count_visible", + "$pressed_button_name": "button.navigate_to_store_search_mashup", + "$tooltip_text_binding_name": "#glyph_hover_text_mashup", + "$glyph_hover_control": "pdp.glyph_panel_mashup_hover_popup" + }, + + "glyph_section_skin@pdp.glyph_icon_with_count": { + "$glyph_texture": "textures/ui/glyph_skin_pack_small", + "$glyph_text_binding": "#item_skin_count_and_label", + "$glyph_button_hover_bind": "glyph_button_skin.is_hovered", + "$tooltip_popup_visible_binding": "#glyph_skin_hover_visible", + "$item_glyph_count_visible_binding": "#item_skin_count_visible", + "$pressed_button_name": "button.navigate_to_store_search_skin", + "$tooltip_text_binding_name": "store.mashup.hover.label.skin", + "$tooltip_text_binding_type": "none" + }, + + "glyph_section_resource_pack@pdp.glyph_icon_with_count": { + "$glyph_texture": "textures/ui/glyph_resource_pack_small", + "$glyph_text_binding": "#item_resource_pack_count_and_label", + "$item_glyph_count_visible_binding": "#item_resource_pack_count_visible", + "$pressed_button_name": "button.navigate_to_store_search_resource", + "$tooltip_text_binding_name": "store.mashup.hover.label.texturePack", + "$tooltip_text_binding_type": "none" + }, + + "glyph_section_world@pdp.glyph_icon_with_count": { + "$glyph_texture": "textures/ui/glyph_world_template_small", + "$glyph_text_binding": "#item_world_template_count_and_label", + "$item_glyph_count_visible_binding": "#item_world_template_count_visible", + "$pressed_button_name": "button.navigate_to_store_search_world", + "$tooltip_text_binding_name": "store.mashup.hover.label.world", + "$tooltip_text_binding_type": "none" + }, + + "glyph_section_addon@pdp.glyph_icon_with_count": { + "$glyph_texture": "textures/ui/glyph_addon_pack_small", + "$glyph_text_binding": "#item_addon_pack_count_and_label", + "$item_glyph_count_visible_binding": "#item_addon_pack_count_visible", + "$pressed_button_name": "button.navigate_to_store_search_addon", + "$tooltip_text_binding_name": "store.mashup.hover.label.addonPack", + "$tooltip_text_binding_type": "none" + }, + + "basic_vertical_glyph_section_panel@common.vertical_stack_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { "glyph_section_skin@pdp.glyph_section_skin": {} }, + { "glyph_section_world@pdp.glyph_section_world": {} }, + { "glyph_section_resource_pack@pdp.glyph_section_resource_pack": {} }, + { "glyph_section_addon@pdp.glyph_section_addon": {} } + ] + }, + + "vertical_glyph_section_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%cm" ], + "$glyph_label_content": "pdp.glyph_count_hover_underline_button_panel", + "controls": [ + { "glyph_section_mashup@pdp.glyph_section_mashup": {} }, + { + "basic_vertical_glyph_section_panel@pdp.basic_vertical_glyph_section_panel": { + "visible": false, + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #item_mashup_count_visible)", + "binding_name_override": "#visible", + "binding_condition": "once" + } + ] + } + } + ] + }, + + "summary_text_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "sale_timer_panel": { + "type": "panel", + "size": [ "100%c", 10 ], + "controls": [ + { + "timer_label": { + "type": "label", + "size": [ "default", "100%" ], + "font_type": "smooth", + "text": "#time_until_sale_expires", + "color": "$coin_color", + "offset": [ 2, 0 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#time_until_sale_expires" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_sale_timer_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + // used in currency purchase treatment - don't rename until the AB test is done + "top_interact_button_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_interact@pdp.summary_box_button_panel": { + "size": [ "100%", "100%c" ], + "$button_action": "button.homeButton", + "$button_focus_precedence": 11, + "$progress_loading_focus_precedence": 12 + } + } + ] + } + }, + { + "apply_to_realm_panel": { + "type": "panel", + "size": [ "100%", "100%c + 3px" ], + "visible": false, + "controls": [ + { + "apply_to_realm_button@pdp.apply_to_realm_button": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + } + }, + { + "in_csb_panel": { + "type": "panel", + "size": [ "100%", "100%c + 3px" ], + "controls": [ + { + "in_csb_button@pdp.in_csb_button": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "(not #csb_incompatible_button_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { "binding_name": "#in_csb_button_visible" }, + { + "binding_type": "view", + "source_property_name": "#in_csb_button_visible", + "target_property_name": "#visible" + } + ] + } + }, + { + "progress_loading_anim_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "progress_loading_anim@common_store.progress_loading": { + "$hide_failure_text": true, + "$use_sibling_scope": false, + "$hide_progress_loading_outline": true, + "size": [ 36, "100%" ], + "offset": [ 2, 0 ], + "layer": 3, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + ] + } + } + ], + "bindings": [ + { + "binding_name": "#progress_loading_anim_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "disclaimer_panel@common_store.disclaimer_panel": {} + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "save_share_button_panel@pdp.smooth_save_share_button_panel": {} + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "info_bulb_image": { + "type": "image", + "texture": "textures/ui/infobulb", + "size": [ 15, 15 ] + }, + + "info_bulb_image_small": { + "type": "image", + "texture": "textures/ui/infobulb_darkborder_small", + "size": [ 7, 9 ] + }, + + "realms_incompatable_content": { + "type": "image", + "texture": "textures/ui/disabledButton", + "layer": 2, + "controls": [ + { + "realms_content_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "offset": [ 0, 5 ], + "controls": [ + { + "info_bulb_image@pdp.info_bulb_image_small": { + "layer": 3 + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "realms_incompatable_button_label": { + "type": "label", + "text": "sunsetting.store.incompatible", + "color": "$light_button_locked_text_color", + "layer": 3 + } + } + ] + } + } + ] + }, + + "apply_to_realm_button@common_buttons.dark_text_button": { + "size": [ "100% - 4px", 20 ], + "$focus_border_size_override": [ "100%", 20 ], + "$button_image_size_override": [ "100% - 2px", 18 ], + "$button_content_size_override": [ "100%", 20 ], + "$button_text": "store.applyToRealm", + "$button_text_max_size": [ "default", 8 ], + "$default_text_color": "$store_white_text_color", + "$pressed_button_name": "button.apply_to_realm", + "$default_button_texture": "textures/ui/realmsContent", + "$hover_button_texture": "textures/ui/realmsContentHover", + "$pressed_button_texture": "textures/ui/realmsContentPressed" + }, + + "in_realms_plus_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% + 4px", "100%" ], + "offset": [ -3, 0 ], + "$is_purchase_button": false, + "controls": [ + { + "realm_icon_panel": { + "type": "panel", + "size": [ "50%y + 13px", "100% + 4px" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "realms_banner@realmsPlus.markdown_background": { + "size": [ "default", "100%" ], + "$banner_size": [ "13px", "100%" ], + "offset": [ 3, -2 ], + "$triangle_offset": [ 0, 0 ], + "ignored": "(not $default_state)", + "layer": 9 + } + }, + { + "realms_plus_normal": { + "type": "image", + "texture": "textures/ui/realms_plus_normal", + "size": [ 19, 19 ], + "uv_size": [ 19, 19 ], + "uv": "@pdp.realms_default_animation", + "disable_anim_fast_forward": true, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 1, -2 ], + "layer": 15, + "ignored": "(not $default_state)" + } + }, + { + "realms_plus_hover": { + "type": "image", + "texture": "textures/ui/realms_plus_hover", + "size": [ 19, 19 ], + "uv_size": [ 19, 19 ], + "uv": "@pdp.realms_default_animation", + "disable_anim_fast_forward": true, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 1, -2 ], + "layer": 15, + "ignored": "$default_state" + } + } + ] + } + }, + { + "buffer_panel": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "alignment_text_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", 10 ], + "text_alignment": "center", + "text": "store.inRealmsPlus", + "color": "$text_color" + } + } + ] + } + } + ] + }, + + "in_csb_button@common_csb.csb_gold_text_button": { + "size": [ "100% - 4px", 20 ], + "$button_text": "store.inCsb", + "$pressed_button_name": "button.in_csb_button" + }, + + "in_realms_plus_button@common_buttons.dark_content_button": { + "size": [ "100% - 4px", 20 ], + "$focus_border_size_override": [ "100%", 20 ], + "$button_image_size_override": [ "100% - 2px", 18 ], + "$button_content_size_override": [ "100%", 20 ], + + "$button_content": "pdp.in_realms_plus_button_content", + "$hover_button_texture": "textures/ui/realmsContentHover", + "$pressed_button_texture": "textures/ui/realmsContentPressed", + "$pressed_button_name": "button.realms_plus" + }, + + "read_more_button@common.button": { + "$pressed_button_name": "button.read_more", + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "hover@common.focus_border_white": { + "color": "$dark_border_hover_color" + } + }, + { + "pressed@common.focus_border_white": { + "color": "$dark_border_pressed_color" + } + } + ] + }, + + "summary_content_right_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "30%", "100%cm" ], + "controls": [ + { "pad_middle@pdp.horizontal_padding_2px": {} }, + { + "text@pdp.summary_text_panel": { + "size": [ "100% - 6px", "100%c" ], + "bindings": [ + { + "binding_name": "(not #entitlements_refreshing_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "entitlements_progress_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "progress_loading@common_store.progress_loading_spinner": { + "bindings": [ + { + "binding_name": "#entitlements_refreshing_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { "pad_right@pdp.horizontal_padding_4px": {} } + ] + }, + + "summary_content_whole_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "left_side@pdp.summary_content_left_side": { + "size": [ "70% - 6px", "100%c" ] + } + }, + { + "divider_panel@common.vertical_divider": { + "$size": [ "100%c", 0 ], + "inherit_max_sibling_height": true + } + }, + { + "right_side@pdp.summary_content_right_side": { + "size": [ "30%", "100%cm" ] + } + } + ] + }, + + "summary_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { "pad_top@pdp.vertical_padding_4px": {} }, + { "summary_content_whole_stack@pdp.summary_content_whole_stack_panel": {} }, + { "pad_3@pdp.vertical_padding_2px": {} }, + { "divider_3@common.horizontal_divider": { "$image_size": [ "100% - 6px", 1 ] } } + ] + }, + + "appearance_status_image_panel": { + "type": "panel", + "size": [ 8, "100%" ], + "layer": 10, + "controls": [ + { + "limited_status_image": { + "type": "image", + "size": [ "100%", "90%x" ], + "offset": [ 0, -1 ], + "bilinear": true, + "texture": "textures/ui/infobulb", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#update_notification_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_restrictions_status_image": { + "type": "image", + "size": [ "100%", "100%x" ], + "bilinear": true, + "texture": "textures/ui/realms_green_check", + "layer": 2, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#update_check_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "appearance_status_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", "100% - 2px" ], + "controls": [ + { + "appearance_status_image_panel@pdp.appearance_status_image_panel": {} + }, + { + "last_update_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "last_update_label": { + "type": "label", + "size": [ "100% - 2px", "default" ], + "offset": [ 0, -1 ], + "layer": 10, + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "text": "#last_update_text", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#last_update_text" + } + ] + } + } + ] + } + } + ] + }, + + "dynamic_tooltip_notification_panel@common.button": { + "size": [ "100%", 12 ], + "sound_volume": 0.0, + + "$pressed_button_name": "button.ignore_me", + + "$tooltip_button_binding_type": "none", + "$tooltip_button_collection_name": "", + "$tooltip_text_binding_name": "store.mashup.out_of_date_tooltip", + "$tooltip_popup_override_image_panel": "pdp.appearance_status_image_panel", + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tooltip_background_texture": "textures/ui/tooltip_default_background", + "$override_tooltip_popup_image": true, + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "hover@common.dynamic_tooltip_popup_with_image_and_text": {} + }, + { + "pressed@common.dynamic_tooltip_popup_with_image_and_text": {} + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#update_notification_visible", + "binding_name_override": "#visible" + } + ] + }, + + "update_notification_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "dynamic_tooltip_notification_panel@pdp.dynamic_tooltip_notification_panel": { + "layer": 2 + } + }, + { + "status@pdp.appearance_status_content": { + "layer": 1 + } + } + ] + }, + + "update_notification_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% + 2 px", "14px" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "content@pdp.update_notification_content": {} + }, + { + "pad_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + }, + + "tag_base": { + "type": "image", + "texture": "textures/ui/effect_background", + "size": [ "100%sm + 10px", 14 ] + }, + + "tag_button_panel@pdp.tag": { + "type": "panel", + "size": [ "100%cm + 2px", 15 ], + "$pressed_button_name": "button.tag", + "controls": [ + { + "button@common.button": { + "size": [ "100%cm", 14 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$pressed_button_name": "button.tag", + "controls": [ + { + "default@pdp.tag_base": { + } + }, + { + "hover@pdp.tag_base": { + "color": [ 0, 1, 0 ] + } + }, + { + "pressed@pdp.tag_base": { + "color": [ 0.6, 0.6, 0.6 ] + } + }, + { + "label": { + "type": "label", + "text": "#tag_label", + "color": "$generic_button_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "offset": [ 0.5, -0.5 ], + "max_size": [ 275, 10 ], + "layer": 1, + "bindings": "$tag_label_bindings" + } + } + ], + "bindings": "$tag_label_bindings" + } + } + ] + }, + + "tag_row_factory": { + "type": "stack_panel", + "size": "$tag_factory_size", + "orientation": "horizontal", + "use_priority": true, + "collection_name": "$tag_factory_collection_name", + "factory": { + "name": "tag_factory", + "control_ids": { + "tag": "@pdp.tag_button_panel" + }, + "factory_variables": [ + "$tag_factory_collection_name", + "$tag_label_bindings", + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix" + ] + }, + "bindings": "$tag_factory_bindings" + }, + + "player_count_button_panel": { + "type": "panel", + "size": [ "100%c + 1px", "100%" ], + "controls": [ + { + "player_count_button@common_buttons.underline_button": { + "size": [ "100%cm", "100%" ], + "offset": [ -3, 0 ], + "$single_line_label_text": "#player_count_label", + "$pressed_button_name": "button.player_count", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "$label_text_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$tag_factory_collection_name" + }, + { + "binding_type": "collection", + "binding_collection_name": "$tag_factory_collection_name", + "binding_name": "#player_count_label" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "bindings": "$label_text_bindings" + } + }, + { + "comma": { + "type": "label", + "size": [ "default", "100%" ], + "offset": [ -3, 0 ], + "anchor_from": "right_middle", + "anchor_to": "left_middle", + "text": ", ", + "font_type": "smooth", + "color": "$body_text_color", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$tag_factory_collection_name" + }, + { + "binding_type": "collection", + "binding_collection_name": "$tag_factory_collection_name", + "binding_name_override": "#visible", + "binding_name": "#player_count_comma_visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + }, + + "player_count_factory": { + "type": "stack_panel", + "size": [ "100%c", "100%" ], + "orientation": "horizontal", + "$tag_factory_collection_name": "player_count_collection", + "collection_name": "$tag_factory_collection_name", + "factory": { + "name": "player_count_factory", + "control_ids": { + "player_count": "@pdp.player_count_button_panel" + }, + "factory_variables": [ + "$tag_factory_collection_name", + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix" + ] + }, + "bindings": [ + { + "binding_name": "#player_count_collection_length", + "binding_name_override": "#collection_length" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + }, + + "language_button_panel": { + "type": "panel", + "size": [ "100%cm + 3px", "100%cm" ], + "controls": [ + { + "language_button@common_buttons.underline_button": { + "size": [ "100%cm", "100%cm" ], + "$single_line_label_text": "#language_label", + "$pressed_button_name": "button.language", + "offset": [ 0, 2 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "comma": { + "type": "label", + "size": [ "default", "default" ], + "anchor_from": "right_middle", + "anchor_to": "left_middle", + "offset": [ 0, 1 ], + "text": ", ", + "font_type": "smooth", + "bindings": "$comma_text_bindings", + "color": "$body_text_color" + } + } + ] + }, + + "language_row_factory": { + "type": "stack_panel", + "size": "$language_factory_size", + "orientation": "horizontal", + "use_priority": true, + "collection_name": "$language_factory_collection_name", + "factory": { + "name": "language_factory", + "control_ids": { + "language": "@pdp.language_button_panel" + }, + "factory_variables": [ + "$language_factory_collection_name", + "$label_text_bindings", + "$comma_text_bindings", + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix" + ] + }, + "bindings": "$language_factory_bindings" + }, + + "description_inner_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "description_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "100%c" ], + "offset": [ 2, 0 ], + "$mashup_collection_binding_type|default": "global", + "$mashup_collection_name|default": "", + "$description_button_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "title_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 5px", "100%c" ], + "controls": [ + { + "title_text_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "title_label_icon": { + "type": "image", + "size": [ 9, 9 ], + "bindings": [ + { + "binding_name": "#has_title_icon", + "binding_name_override": "#visible" + }, + { + "binding_name": "#description_header_icon", + "binding_name_override": "#texture" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ 2, "100%sm" ], + "bindings": [ + { + "binding_name": "#has_title_icon", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "title_label": { + "type": "label", + "size": [ "fill", "default" ], + "text": "#description_title", + "font_type": "smooth", + "color": "$body_text_color", + "enable_profanity_filter": false, + "bindings": [ + { + "binding_name": "#description_title" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "divider_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "divider@common.horizontal_divider": { + "$image_size": [ "100%", 1 ], + "offset": [ 1, 0 ] + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ], + "bindings": [ + { + "binding_name": "#has_title", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "description_text_panel_full": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 5px", "100%cm" ], + "controls": [ + { + "description_text_expanded": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "description_label@pdp.description_label": {} + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "warning_panel@pdp.warning_panel": { + "bindings": [ + { + "binding_name": "#show_warning", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + }, + { + "button_panel@pdp.description_toggle_show_button_panel": { + "size": [ "100%cm + 2px", "100%sm" ], + "min_size": [ "100%cm + 2px", 20 ], + "$button_text": "store.offerDescription.showLess", + "$border_offset": [ 3.5, 3 ], + "$show_button_offset": [ 3.5, 2.5 ], + "bindings": [ + { + "binding_name": "(not #has_tags)", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_description_expanded", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "description_text_panel_collapsed": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 5px", "100%cm" ], + "controls": [ + { + "description_text_collapsed@pdp.description_label": { + "size": [ "fill", 17 ], //Setting the height to be always 17px, as ShowMore button panel goes beyond the default size of label, when PDP description is short & contains metadata + "$contents_max_size": [ "fill", 17 ], + "notify_ellipses_sibling": true, + "notify_on_ellipses": [ + "collapsed_show_more_panel" + ] + } + }, + { + "collapsed_show_more_panel@pdp.description_toggle_show_button_panel": { + "size": [ "100%cm + 2px", "100%sm" ], + "$button_text": "store.offerDescription.showMore", + "$border_offset": [ 3.5, 3 ], + "$show_button_offset": [ 3.5, 2.5 ], + "bindings": [ + { + "binding_name": "#collapsed_show_more_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "(not #is_description_expanded)", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "divider_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "divider@common.horizontal_divider": { + "$image_size": [ "100%", 1 ], + "offset": [ 1, 0 ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#description_expanded_visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "tags_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 5px", "100%cm" ], + "controls": [ + { + "label_text_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "label_text@common.minecraftTenLabel": { + "type": "label", + "size": [ "default", "default" ], + "text": "store.offerDescription.tags", + "color": "$body_text_color" + } + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 2, "100%sm" ] + } + }, + { + "tag_factory_panel": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "tags_factory_with_rows": { + "type": "stack_panel", + "orientation": "vertical", + "collection_name": "tag_row_collection", + "size": [ "100%", "100%c" ], + "$tag_factory_collection_name": "tag_column_collection", + "$tag_factory_size": [ "100%", "100%cm" ], + "$tag_factory_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "tag_row_collection", + "binding_collection_prefix": "row" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#tag_columns_collection_length", + "binding_type": "collection", + "binding_name_override": "#collection_length", + "binding_collection_name": "tag_row_collection" + } + ], + "$tag_label_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "tag_row_collection", + "binding_collection_prefix": "row" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#tag_label", + "binding_type": "collection", + "binding_collection_name": "tag_column_collection" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$tag_factory_collection_name" + } + ], + "factory": { + "name": "tag_row_factory", + "control_ids": { + "tag_row": "@pdp.tag_row_factory" + }, + "factory_variables": [ + "$tag_factory_collection_name", + "$tag_factory_size", + "$tag_factory_bindings", + "$tag_label_bindings", + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix" + ] + }, + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#tag_rows_collection_length", + "binding_name_override": "#collection_length" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "tags_factory@pdp.tag_row_factory": { + "$tag_factory_collection_name": "tag_collapsed_collection", + "$tag_factory_size": [ "100%", "100%cm" ], + "$tag_factory_bindings": [ + { + "binding_name": "#description_collapsed_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#tag_collapsed_collection_length", + "binding_name_override": "#collection_length" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "$tag_label_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "tag_collapsed_collection", + "binding_collection_prefix": "collapsed" + }, + { + "binding_name": "#tag_label", + "binding_type": "collection", + "binding_collection_name": "tag_collapsed_collection" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "genre_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 5px", "100%cm + 2px" ], + "controls": [ + { + "label_text@common.minecraftTenLabel": { + "type": "label", + "size": [ "default", "default" ], + "text": "store.offerDescription.genre", + "color": "$body_text_color" + } + }, + { + "pad": { + "type": "panel", + "size": [ 2, "100%sm" ] + } + }, + { + "text_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "text_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "offset": [ 0, 2 ], + "controls": [ + { + "genre_button@common_buttons.underline_button": { + "size": [ "100%cm", "100%cm" ], + "$single_line_label_text": "#genre_label", + "$pressed_button_name": "button.genre", + "bindings": "$description_button_bindings", + "$label_text_bindings": [ + { + "binding_name": "#genre_label" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "slash_divider": { + "type": "label", + "size": [ "default", "default" ], + "text": "/", + "font_type": "smooth", + "color": "$body_text_color" + } + }, + { + "subgenre_button@common_buttons.underline_button": { + "size": [ "100%cm", "100%cm" ], + "$single_line_label_text": "#subgenre_label", + "$pressed_button_name": "button.subgenre", + "bindings": "$description_button_bindings", + "$label_text_bindings": [ + { + "binding_name": "#subgenre_label" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "players_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 5px", "100%cm + 2px" ], + "controls": [ + { + "label_text@common.minecraftTenLabel": { + "type": "label", + "size": [ "default", "default" ], + "text": "store.offerDescription.players", + "color": "$body_text_color" + } + }, + { + "pad": { + "type": "panel", + "size": [ 2, "100%sm" ] + } + }, + { + "text_panel": { + "type": "panel", + "size": [ "fill", "100%cm" ], + "controls": [ + { + "text_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "offset": [ 0, 2 ], + "controls": [ + { + "player_count_button_panel": { + "type": "stack_panel", + "size": [ "100%c", 10 ], + "orientation": "horizontal", + "use_priority": true, + "controls": [ + { + "player_count_button_factory@pdp.player_count_factory": {} + }, + { + "pad": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "player_count_range_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "player_count_range_text": { + "type": "label", + "size": [ "default", "100%" ], + "offset": [ -1, 0 ], + "font_type": "smooth", + "font_scale_factor": 0.8, + "text": "#player_count_range_label", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#player_count_range_label" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + } + ] + } + }, + { + "note_text": { + "type": "label", + "size": [ "100%", "default" ], + "text": "store.offerDescription.playerCountNote", + "font_scale_factor": 0.8, + "font_type": "smooth", + "color": "$body_text_color" + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "languages_panel": { + "visible": false, //TODO [ADO:661384]: remove this when languages are implemented in service + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 5px", "100%cm - 7px" ], + "controls": [ + { + "label_text_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "label_text@common.minecraftTenLabel": { + "type": "label", + "size": [ "default", "default" ], + "text": "store.offerDescription.languages", + "color": "$body_text_color" + } + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ "fill", "100%sm" ] //TODO [ADO:661384]: change fill to 2px when languages are implemented in service + } + }, + { + "languages_factory": { + "type": "stack_panel", + "orientation": "horizontal", + "collection_name": "language_row_collection", + "size": [ "fill", 10 ], + "$language_factory_collection_name": "language_column_collection", + "$language_factory_size": [ "100%", "100%cm" ], + "$language_factory_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "language_row_collection", + "binding_collection_prefix": "language_row" + }, + { + "binding_name": "#language_columns_collection_length", + "binding_type": "collection", + "binding_name_override": "#collection_length", + "binding_collection_name": "language_row_collection" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "$label_text_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "language_row_collection", + "binding_collection_prefix": "row" + }, + { + "binding_type": "collection", + "binding_collection_name": "language_column_collection", + "binding_name": "#language_label" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "$comma_text_bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "language_row_collection", + "binding_collection_prefix": "row" + }, + { + "binding_type": "collection", + "binding_collection_name": "language_column_collection", + "binding_name": "#comma_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "factory": { + "name": "language_row_factory", + "control_ids": { + "language_row": "@pdp.language_row_factory" + }, + "factory_variables": [ + "$language_factory_collection_name", + "$language_factory_size", + "$language_factory_bindings", + "$label_text_bindings", + "$comma_text_bindings", + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix" + ] + }, + "bindings": [ + { + "binding_name": "#language_rows_collection_length", + "binding_name_override": "#collection_length" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + }, + { + "pad_3": { + "type": "panel", + "size": [ "100%", 3 ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "show_less_button_panel@pdp.description_toggle_show_button_panel": { + "size": [ "100%", "100%cm" ], + "$button_text": "store.offerDescription.showLess", + "$border_offset": [ -1.5, -0.75 ], + "$show_button_offset": [ -1.5, -0.75 ], + "bindings": [ + { + "binding_name": "#description_expanded_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + } + ] + }, + + "description_section@pdp.content_section_boarder_bg": { + "$description_toggle_focus_id|default": "description_toggle_button", + "size": [ "100%", "100%c + 4px" ], + + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "focus_container": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + + "$content": "pdp.description_inner_panel" + }, + + "changelog_section@pdp.description_section": { + "$description_toggle_focus_id": "changelog_toggle_button" + }, + + //-------------------------------------------------------------------------------- + // Bundle Section + //-------------------------------------------------------------------------------- + + "bundle_thumbnail": { + "type": "image", + "size": [ "10%", "56.25%x" ], + "bilinear": true, + "layer": 10, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "factory_collection", + "binding_collection_prefix": "factory" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#thumbnail_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#thumbnail_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "bundle_thumbnail_section_content": { + "type": "panel", + "size": [ "100% - 2px", "100%c" ], + "controls": [ + { + "bundle_thumbnail_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "$bundle_thumbnail_grid_dimension_binding": "#bundle_thumbnail_grid_dimensions", + "grid_dimension_binding": "$bundle_thumbnail_grid_dimension_binding", + "grid_item_template": "pdp.bundle_thumbnail", + + "collection_name": "$mashup_collection_name", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$bundle_thumbnail_grid_dimension_binding", + "binding_condition": "once" + } + ] + } + } + ] + }, + + "bundle_thumbnail_section@pdp.content_section_bg": { + "$bg_size": [ "100% - 4px", "100%c + 2px" ], + "$content": "pdp.bundle_thumbnail_section_content" + }, + + "price_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "$price_padding_size|default": [ 40, 0 ], + "controls": [ + { + "coin_non_sale_price_label@common_store.offer_price_markdown_panel": { + "size": [ "100%c + 6px", 11 ], + "$offer_price_offset": [ 0, 1 ], + "$offer_price_strikethru_offset": [ 0, 0 ], + "$offer_binding_type": "$mashup_collection_binding_type", + "$offer_collection_name": "$mashup_collection_name" + } + }, + { + "price_padding": { + "type": "panel", + "size": "$price_padding_size" + } + }, + { + "offer_prompt_panel": { + "type": "panel", + "size": [ "100%c", 11 ], + "controls": [ + { + "offer_status_text": { + "type": "label", + "size": [ "default", 10 ], + "offset": [ 0, 1 ], + "text": "#offer_prompt_text", + "font_type": "smooth", + "$offer_price_color|default": "$dark_button_secondary_default_text_color", + "color": "$offer_price_color", + "tts_override_control_value": "#tts_offer_prompt_text", + "property_bag": { + "#default_prompt_color": "$dark_button_secondary_default_text_color", + "#coin_prompt_color": "$coin_color", + "control_id": "$control_id" + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#offer_prompt_text" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#tts_offer_prompt_text" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#offer_prompt_text_color", + "binding_name_override": "#color" + } + ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "coin_panel": { + "type": "panel", + "size": [ "100%c", 11 ], + "controls": [ + { + "offer_coin_icon@common_store.coin_icon": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#offer_coin_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "rating_and_coins_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 13 ], + "layer": 4, + + "$rating_text_factory_collection_details": "$store_factory_collection_details", + "$rating_text_factory_collection_prefix": "$store_factory_collection_prefix", + "$rating_text_factory_collection_name": "$store_factory_collection_name", + "$rating_text_binding_type": "$mashup_collection_binding_type", + "$rating_text_collection_name": "$mashup_collection_name", + "$store_rating_text_panel_color": "$dark_button_secondary_default_text_color", + + "controls": [ + { + "rating_panel@common_store.rating_text_panel": {} + }, + { + "rating_padding_coin@pdp.horizontal_padding_fill": {} + }, + { + "price_panel@pdp.price_panel": {} + } + ] + }, + + "bundle_offer_texture": { + "type": "panel", + "size": [ "177.78%y", "100%" ], + "$image_type|default": "thumbnail", + "controls": [ + { + "texture": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 3, + "bilinear": true, + "controls": [ + { + "border@common_buttons.focus_border": { + "size": [ "100%", "100%" ], + "color": "$border_color", + "layer": "$border_layer" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "('#' + $image_type + '_texture_path')", + "binding_name_override": "#texture" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "('#' + $image_type + '_texture_file_system')", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#item_does_not_meet_requirements", + "binding_name_override": "#grayscale" + } + ] + } + } + ] + }, + + "bundle_offer_info": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "controls": [ + { + "top_padding@pdp.vertical_padding_4px": {} + }, + { + "offer_title_and_author_panel@pdp.title_and_author_panel": {} + }, + { + "glyph_section@pdp.horizontal_glyph_section_panel": { + "$glyph_section_only_show_count": true + } + }, + { + "glyph_description_padding@pdp.vertical_padding_2px": {} // above section has 2px of bottom padding built in + }, + { + "description_panel@pdp.description_section_panel": { + "size": [ "100%", 20 ], + "$ignore_read_more_button": true + } + }, + { + "description_padding@pdp.vertical_padding_4px": {} + }, + { + "description_padding_bottom@pdp.vertical_padding_fill": {} + }, + { + "rating_and_price_panel@pdp.rating_and_coins_panel": { + "$ignored_pack_section": true, + "$sales_banner_offset": [ 3.2, 0 ], + "$coin_icon_offset": [ -2, 1.5 ] + } + }, + { + "bottom_padding@pdp.vertical_padding_4px": {} + } + ] + }, + + "bundle_offer_summary_grid_item_content": { + "type": "image", + "size": [ "100%", "100%c" ], + "texture": "textures/ui/Banners", + "$section_bg_alpha|default": 1.0, + "alpha": "$section_bg_alpha", + "controls": [ + { + "bundle_offer_pdp_panel": { + "type": "panel", + "size": [ "100%", 84 ], + "controls": [ + { + "focus_border@common_buttons.focus_border": { + "color": "$border_color", + "layer": "$border_layer" + } + }, + { + "bundle_offer_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "layer": 2, + "$bundle_control_id": "bundle_suboffer", + "controls": [ + { + "key_art@pdp.bundle_offer_texture": {} + }, + { + "mid_padding@pdp.horizontal_padding_4px": {} + }, + { + "info@pdp.bundle_offer_info": {} + }, + { + "right_padding@pdp.horizontal_padding_4px": {} + } + ] + } + } + ] + } + } + ] + }, + + "bundle_offer_summary_grid_item": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "$focus_wrap_enabled": false, + "controls": [ + { + "bundle_offer_summary_button@common_buttons.dark_content_button": { + "size": [ "100% - 4px", "100%c" ], + "$pressed_button_name": "button.select_bundle_summary_offer", + "$button_state_panel": "pdp.bundle_offer_summary_grid_item_content", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$mashup_collection_name" + } + ] + } + } + ] + }, + + "bundle_offer_content_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "bundle_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "$bundle_offer_grid_dimension_binding": "#offer_grid_dimensions", + "grid_dimension_binding": "$bundle_offer_grid_dimension_binding", + "grid_item_template": "pdp.bundle_offer_summary_grid_item", + + "collection_name": "$mashup_collection_name", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$bundle_offer_grid_dimension_binding" + } + ] + } + } + ] + }, + + "bundle_summary_section_panel": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "clip_state_change_event": "$store_factory_clipping_event", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "controls": [ + { + "bundle_summary_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$mashup_collection_binding_type": "collection", + "$mashup_collection_name": "bundle_suboffer_collection", + + "controls": [ + { + "bundle_header_and_thumnails_section@pdp.bundle_thumbnail_section": {} + }, + { + "mid_padding@pdp.vertical_padding_2px": {} + }, + { + "bundle_offers_info_section@pdp.bundle_offer_content_section": {} + }, + { + "mid_padding_2@pdp.vertical_padding_2px": {} + }, + { + "interact_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "bundle_interact@pdp.interaction_button_panel": { + "size": [ "100% - 4px", 30 ] + } + } + ] + } + } + ] + } + }, + { + "divider_3@common.horizontal_divider": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$image_size": [ "100% - 6px", 1 ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Bundle Upsell Section + //------------------------------------------------------------------------------- + + "pack_icon_and_coin_section": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 12 ], + "$is_purchase_button": false, + "$ignored_pack_section|default": false, + + "$offer_binding_type": "$mashup_collection_binding_type", + "$offer_collection_name": "$mashup_collection_name", + + "$icon_stack_visibility_type": "$mashup_collection_binding_type", + "$icon_stack_visibility_collection": "$mashup_collection_name", + "$icon_stack_visibility": "#NO_BINDING", + + "controls": [ + { + "sales_banner_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "sales_banner@common_store.markdown_background": { + "$sales_banner_offset|default": [ 0.2, 0 ], + "offset": "$sales_banner_offset", + "layer": 3, + "$markdown_label": "common_store.row_offer_sale_markdown" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#offer_markdown_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pack_icons_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "ignored": "$ignored_pack_section", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "pack_icons_panel@common_store.pack_icon_stack": { + "$pack_icon_stack_factory_offset": [ 2, 2 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "(not #offer_markdown_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "pack_icons_and_coin_padding@pdp.horizontal_padding_fill": {} + }, + { + "price_panel@pdp.price_panel": { + "$price_padding_size": [ 5, 0 ], + "$offer_price_color": "$coin_color" + } + } + ] + }, + + "bundle_upsell_offer_info": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "$single_line_label_offset": [ 2, 0 ], + "controls": [ + { + "bundle_title@pdp.offer_title_label": { + "size": [ "100%", "100%c" ] + } + }, + { + "other_bundle_packs_label@common.single_line_label": { + "size": [ "100%", "100%c" ], + "$single_line_label_color": "$dark_button_secondary_default_text_color", + "$single_line_label_text": "#bundle_upsell_other_packs_description", + "$label_text_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#bundle_upsell_other_packs_description" + } + ] + } + }, + { + "mid_padding": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "pack_icon_and_coin_section@pdp.pack_icon_and_coin_section": { + "$offer_strikethrough_price_visible_binding": "#bundle_upsell_strikethrough_price_visible" + } + } + ] + }, + + "bundle_upsell_offer_content": { + "type": "image", + "size": [ "100%", "100%c" ], + "texture": "textures/ui/Banners", + "$section_bg_alpha|default": 1.0, + "alpha": "$section_bg_alpha", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#bundle_upsell_offer_alpha", + "binding_name_override": "#alpha" + } + ], + "controls": [ + { + "bundle_offer_info": { + "type": "panel", + "size": [ "100%", 34 ], // if changing, be sure to update the size of bundle_upsell_section_panel->progress_loading as well + "controls": [ + { + "focus_border@common_buttons.focus_border": { + "color": "$border_color", + "layer": "$border_layer", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "bundle_offer_content_panel", + "source_property_name": "#visible", + "target_property_name": "#enabled", + "resolve_sibling_scope": true + } + ] + } + }, + { + "bundle_offer_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "layer": 2, + "controls": [ + { + "thumbnail_art@pdp.bundle_offer_texture": { + "$image_type": "thumbnail" + } + }, + { + "info@pdp.bundle_upsell_offer_info": {} + }, + { + "right_padding@pdp.horizontal_padding_4px": {} + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#is_valid_bundle_upsell", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$hide_failure_text": true, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#is_bundle_upsell_loading", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "bundle_upsell_offer": { + "type": "panel", + "size": [ "50% - 1px", "100%c + 2px" ], + "controls": [ + { + "bundle_upsell_grid_button@common_buttons.dark_content_button": { + "size": [ "100% - 2px", "100%c" ], + "$pressed_button_name": "button.select_offer", + "$button_state_panel": "pdp.bundle_upsell_offer_content", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$mashup_collection_name" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#is_valid_bundle_upsell", + "binding_name_override": "#enabled" + }, + { + "binding_type": "collection", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#left_most_grid_item_focus_override_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "collection", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "#right_most_grid_item_focus_override_right", + "binding_name_override": "#focus_change_right", + "binding_condition": "visible" + } + ] + } + } + ] + }, + + "bundle_upsell_offers_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "single_bundle_upsell_offer@pdp.bundle_upsell_offer": { + "size": [ "100% - 2px", "100%c + 2px" ], + // using source control binding since we don't show + // the parent panel if there are no offers to view + "bindings": [ + { + "binding_type": "view", + "source_control_name": "bundle_upsell_grid", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + }, + { + "bundle_upsell_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "grid_item_template": "pdp.bundle_upsell_offer", + "grid_rescaling_type": "horizontal", + + "collection_name": "$mashup_collection_name", + + "property_bag": { + "#max_upsell_offers": 10 + }, + + "bindings": [ + { + "binding_collection_name": "$store_factory_collection_name", + "binding_type": "$store_factory_binding_type", + "binding_name": "#bundle_upsell_offer_count", + "binding_name_override": "#maximum_grid_items" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#bundle_upsell_grid_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#bundle_upsell_content_visible", + "binding_name_override": "#visible" + } + ] + }, + + "bundle_upsell_section_panel": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "clip_state_change_event": "$store_factory_clipping_event", + "controls": [ + { + "bundle_upsell_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "bundle_upsell_section_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "$mashup_collection_binding_type": "collection", + "$mashup_collection_name": "bundle_upsell_collection", + + "controls": [ + { + "bundle_header@pdp.section_header": {} + }, + { + "bundle_upsell_offers_panel@pdp.bundle_upsell_offers_panel": {} + }, + { + "progress_loading_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "progress_loading@common_store.progress_loading": { + "size": [ "100% - 4px", 34 ], // height of upsell bundle offer + 2px + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 4, + "$hide_failure_text": true, + "$use_sibling_scope": false, + "$source_control_name": "bundle_upsell_offers_panel", + "$source_property_name": "(not #visible)" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#bundle_upsell_progress_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { + "divider_3@common.horizontal_divider": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$image_size": [ "100% - 6px", 1 ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#bundle_upsell_row_visible", + "binding_name_override": "#visible" + } + ] + }, + + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "pdp_screen@common_store.store_base_screen": { + "$screen_content": "pdp.mashup_screen_content", + "$screen_header_title_visible": false, + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "common_store.store_background", + "$is_full_screen_layout": true, + "$fill_alpha": 0.75, + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ] + }, + + "mashup_screen_content": { + "type": "panel", + "controls": [ + { + "header@common_store.store_header_with_coins": { + "$child_control": "pdp.mashup_screen_main", + "$button_text": "store.itemDetail.back", + "$back_button_has_title": true + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "size": [ 0, 0 ], + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed" + } + } + } + ] + }, + + "mashup_screen_main": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "controls": [ + { + "pack_content@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "pdp.scrolling_content_stack", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": false, + "$space_to_add_on_focus_change_left": 0, + "$space_to_add_on_focus_change_right": 0, + "$space_to_add_on_focus_change_down": 0, + "$space_to_add_on_focus_change_up": 0, + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 5, + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/pdp_screenshots_section.json b/resource_pack/ui/pdp_screenshots_section.json new file mode 100644 index 0000000..51b23d7 --- /dev/null +++ b/resource_pack/ui/pdp_screenshots_section.json @@ -0,0 +1,199 @@ +{ + "namespace": "pdp_screenshots", + + "banner_empty": { + "type": "image", + "texture": "textures/ui/BannersTransparent" + }, + + "screenshot_carousel": { + "type": "panel", + "size": [ "100%", "100%c" ], + + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "controls": [ + { + "screenshot_carousel_content": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "clips_children": true, + + "$cycle_pack_button_factory_collection_details": "$store_factory_collection_details", + "$cycle_pack_button_factory_collection_prefix": "$store_factory_collection_prefix", + "$cycle_pack_button_factory_collection_name": "$store_factory_collection_name", + + "$ignore_cycle_buttons": false, + + "controls": [ + { + "cycle_pack_left_button@common_store.cycle_pack_left_button": { + "$pressed_button_name": "button.cycle_screenshots_left", + "$cycle_pack_button_name_right": "button.cycle_screenshots_right", + "$cycle_pack_button_name_left": "button.cycle_screenshots_left", + "$cycle_pack_button_up_right_refusal": true, + "$cycle_pack_button_enabled": "#cycle_screenshots_left_button_enabled", + "$gamepad_helper_icon_size": [ 15, 15 ], + "size": [ 20, "100%sm" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "screenshots_grid@pdp_screenshots.screenshots_grid": {} + }, + { + "cycle_pack_right_button@common_store.cycle_pack_right_button": { + "$pressed_button_name": "button.cycle_screenshots_right", + "$cycle_pack_button_name_right": "button.cycle_screenshots_right", + "$cycle_pack_button_name_left": "button.cycle_screenshots_left", + "$cycle_pack_button_up_right_refusal": true, + "$cycle_pack_button_enabled": "#cycle_screenshots_right_button_enabled", + "$gamepad_helper_icon_size": [ 15, 15 ], + "size": [ 20, "100%sm" ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ] + } + } + ] + }, + + "screenshots_grid": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%", "100%cm" ], + "offset": [ "-40%", 0 ], + + "$screenshot_grid_collection_name|default": "screenshot_collection", + "collection_name": "$screenshot_grid_collection_name", + "controls": [ + { + "left_image_panel@pdp_screenshots.screenshots_grid_item": { + "collection_index": 0, + "alpha": 0.4, + "propagate_alpha": true + } + }, + { + "middle_image_panel@pdp_screenshots.screenshots_grid_item": { + "collection_index": 1, + "$is_middle": true + } + }, + { + "right_image_panel@pdp_screenshots.screenshots_grid_item": { + "collection_index": 2, + "alpha": 0.4, + "propagate_alpha": true + } + } + ] + }, + + "screenshots_grid_item": { + "type": "panel", + "size": [ "60%", "56.25%x + 0.675px" ], + "controls": [ + { + "frame@banner_empty": { + "size": [ "100%", "100%" ], + "layer": 2, + "controls": [ + { + "screenshot_button@common.button": { + "$is_middle|default": false, + "visible": "$is_middle", + "layer": 4, + "size": [ "100%", "100%" ], + "focus_enabled": true, + "focus_identifier": "screenshot_button_focus_id", + "$focus_override_left_binding_type": "none", + "$focus_override_left": "screenshot_interact_button", + "$focus_override_right_binding_type": "none", + "$focus_override_right": "screenshot_interact_button", + "default_control": "", + "hover_control": "hover", + "pressed_control": "pressed", + "button_mappings": [ + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.cycle_screenshots_right", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.cycle_screenshots_left", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#screenshot_focus_override_right", + "binding_name_override": "#focus_change_right" + } + ], + "controls": [ + { + "hover@common.square_image_border_white": { + } + }, + { + "pressed@common.square_image_border_white": { + } + } + ] + } + } + ] + } + }, + { + "screenshot_image": { + "type": "image", + "layer": 1, + "size": [ "100% - 2px", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#screenshot_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "$screenshot_grid_collection_name", + "binding_name": "#screenshot_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 5, + "$source_control_name": "screenshot_image", + "$source_property_name": "(#texture = '')", + "$use_sibling_scope": true, + "$hide_failure_text": true + } + } + ] + } +} diff --git a/resource_pack/ui/perf_turtle.json b/resource_pack/ui/perf_turtle.json new file mode 100644 index 0000000..4dc72fd --- /dev/null +++ b/resource_pack/ui/perf_turtle.json @@ -0,0 +1,62 @@ +{ + "namespace": "perf_turtle", + + "perf_turtle_panel": { + "ignored": "$test_infrastructure_disabled", + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "100%c" ], + "max_size": [ "100%", "50%" ], + "bindings": [ + { + "binding_name": "#turtle_visible", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { + "perf_turtle_background": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.5, + "size": [ "100%", 35 ] + } + }, + { + "stack_panel": { + "type": "stack_panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", 70 ], + "orientation": "horizontal", + "controls": [ + { + "turtle": { + "size": [ 35, 35 ], + "type": "image", + "texture": "textures/ui/purtle" + } + }, + { + "turtle_text": { + "type": "label", + "size": [ "fill", "default" ], + "text": "#text", + "font_type": "smooth", + "color": "$main_header_text_color", + "bindings": [ + { + "binding_name": "#turtle_text", + "binding_name_override": "#text" + } + ] + } + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/permissions_screen.json b/resource_pack/ui/permissions_screen.json new file mode 100644 index 0000000..60f3d95 --- /dev/null +++ b/resource_pack/ui/permissions_screen.json @@ -0,0 +1,1101 @@ +{ + "namespace": "permissions", + + //--------------------------------------------------------------------------- + // SCREEN + //--------------------------------------------------------------------------- + + "permissions_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_exit", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + + "$screen_content": "permissions.permissions_screen_content", + "$screen_bg_content": "common.screen_background" + }, + + //--------------------------------------------------------------------------- + // CONTENT + //--------------------------------------------------------------------------- + + "permissions_screen_content": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { "top_bar_panel@permissions.top_bar_panel": {} }, + { "content_panel@permissions.content_panel": {} } + ] + }, + + "top_bar_panel": { + "type": "panel", + "size": [ "100%", 23 ], + + "controls": [ + { "top_bar@permissions.top_bar": {} }, + { + "back_button@permissions.back_button": { + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "bindings": [ + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamepad_helper_b@common.gamepad_helper_b": { + "size": [ "100%c", 16 ], + "offset": [ 1, -6 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + + "$icon_description_bind_type": "global", + "$icon_description_bind": "#b_button_text", + "$gamepad_helper_visible_binding_name": "#is_using_gamepad" + } + }, + { "title_label@permissions.title_label": {} } + ] + }, + + "content_panel": { + "type": "panel", + "size": [ "default", "fill" ], + "controls": [ + { + "content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "88%", "100%" ], + "controls": [ + { + "content_padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { "ip_label@permissions.ip_label": {} }, + { "world_label@permissions.world_label": {} }, + { + "content_padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { "player_and_permissions_panel@permissions.player_and_permissions_panel": {} } + ] + } + } + ] + }, + + "player_and_permissions_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "fill" ], + "controls": [ + { "selector_area@permissions.selector_area": {} }, + { "content_area@permissions.content_area": {} } + ] + }, + + // left side + "selector_area@common.modal_area_panel_base": { + "size": [ "154px", "95%" ], + "$menu_cancel_button_id": "button.menu_exit", + "$modal_binding_name": "#selector_area_focused", + "layer": 2, + "controls": [ + { + "player_scrolling_panel@common.scrolling_panel": { + "$show_background": false, + "$scrolling_content": "permissions.players_grid_panel" + } + } + ] + }, + + // right side + "content_area@common.modal_area_panel_base": { + "size": [ "fill", "95%" ], + "$menu_cancel_button_id": "button.back_to_selector_area", + "$modal_binding_name": "#content_area_focused", + "layer": 1, + "controls": [ + { + "permissions_options_background": { + "type": "panel", + "controls": [ + { + "permissions_options_background_image@permissions.banner_background": { + "size": [ "100% + 2px", "100%" ], + "controls": [ + { "permissions_options_scrolling_panel@permissions.permissions_options_scrolling_panel": {} } + ] + } + } + ] + } + }, + { + "inactive_modal_pane_fade@common.inactive_modal_pane_fade": { + "bindings": [ + { + "binding_name": "#selector_area_focused", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "kick_button@common_buttons.light_text_button": { + "size": [ "100%", 28 ], + "$pressed_button_name": "button.kick", + "$button_text": "permissionsScreen.kick", + "focus_change_down": "button.ban", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "layer": 2, + "bindings": [ + { + "binding_name": "#kick_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#kick_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "ban_button@common_buttons.light_text_button": { + "size": [ "100%", 28 ], + "$pressed_button_name": "button.ban", + "$button_text": "permissionsScreen.ban", + "focus_change_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "layer": 2, + "bindings": [ + { + "binding_name": "#ban_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#ban_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "players_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "players_grid@permissions.players_grid": {} } + ] + }, + + "players_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "permissions.player_grid_item", + "grid_dimension_binding": "#players_grid_dimension", + "collection_name": "players_collection", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#players_grid_dimension" + } + ] + }, + + "player_grid_item": { + "type": "panel", + "size": [ "100%", 27 ], + "controls": [ + { + "player_toggle@permissions.player_toggle": { + "size": [ "100%", "100% + 1px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { + "inactive_modal_pane_fade@common.inactive_modal_pane_fade": { + "texture": "textures/ui/permissions_player_fade_overlay", + "bindings": [ + { + "binding_name": "#content_area_focused", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "permissions_options_scrolling_panel@common.scrolling_panel": { + "size": [ "100% - 2px", "100% - 2px" ], + "$show_background": false, + "$scrolling_content": "permissions.permissions_options_panel", + "$always_handle_scrolling": true + }, + + "permissions_options_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "inner_permissions_options_panel": { + "type": "panel", + "size": [ "100% - 20px", "100%c" ], + "controls": [ + { "permissions_options_stack_panel@permissions.permissions_options_stack_panel": {} } + ] + } + } + ] + }, + + "permissions_options_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "permissions_padding_0": { + "type": "panel", + "size": [ "100%", 8 ], + "bindings": [ + { + "binding_name": "#is_world_template_locked", + "binding_name_override": "#visible" + } + ] + } + }, + { + "world_template_option_lock_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#is_world_template_locked", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "option_info_label@settings_common.option_info_label": { + "$container_text_binding_name": "#world_template_permissions_locked_warning_text", + "$show_option_label": false + } + } + ] + } + }, + { + "permissions_padding_1": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { "permission_level_dropdown@permissions.permission_level_dropdown": {} }, + { + "permissions_padding_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { "permissions_options_grid@permissions.permissions_options_grid": {} }, + { + "permissions_padding_3": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { "permissions_kick_button_panel@permissions.permissions_kick_button_panel": {} }, + { + "permissions_padding_4": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { "permissions_ban_button_panel@permissions.permissions_ban_button_panel": {} }, + { + "permissions_padding_5": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "permissions_options_grid": { + "type": "grid", + "grid_item_template": "permissions.permissions_options_grid_item", + "grid_dimension_binding": "#permissions_grid_dimension", + "size": [ "100%", "default" ], + "collection_name": "permissions_collection", + + "bindings": [ + { + "binding_name": "#permissions_grid_dimension" + }, + { + "binding_name": "#permission_options_grid_visible", + "binding_name_override": "#visible" + } + ] + }, + + "permissions_options_grid_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 24 ], + "controls": [ + { + "option_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "option_label@permissions.option_label": { + "size": [ "100%", "default" ], + "anchor_to": "left_middle", + "anchor_from": "left_middle" + } + } + ] + } + }, + { + "option_state_label_panel": { + "type": "panel", + "size": [ "100%c + 8px", "100%" ], + "controls": [ + { + "option_state_label@permissions.option_state_label": { + "size": [ "default", "default" ], + "anchor_to": "center", + "anchor_from": "center" + } + } + ] + } + }, + { + "option_toggle@permissions.option_toggle": { + "size": [ 30, "100%" ], + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "permissions_collection", + "$toggle_tts_header": "#option_name" + } + } + ] + }, + + "permissions_kick_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "kick_button@permissions.kick_button": {} + } + ] + }, + + "permissions_ban_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "ban_button@permissions.ban_button": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // LABELS + //--------------------------------------------------------------------------- + + "title_label": { + "type": "label", + "size": [ "default", "default" ], + "text": "permissions.title", + "color": "$title_text_color", + "layer": 3 + }, + + "ip_label": { + "ignored": "(not $education_edition)", + + "type": "label", + "size": [ "default", "default" ], + "text": "#ip", + "color": "$main_header_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#ip_address_text", + "binding_name_override": "#ip", + "binding_condition": "visibility_changed" + } + ] + }, + + "world_label": { + "type": "label", + "size": [ "default", "default" ], + "text": "pauseScreen.currentWorld", + "color": "$main_header_text_color", + "layer": 1 + }, + + "gamertag_label": { + "type": "label", + "color": "$main_header_text_color", + "text": "#gamertag", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 2, + "bindings": [ + { + "binding_name": "#gamertag", + "binding_type": "collection", + "binding_collection_name": "players_collection" + } + ] + }, + + "option_state_label": { + "type": "label", + "text": "#option_state_name", + "color": "$main_header_text_color", + "layer": 2, + + "bindings": [ + { + "binding_name": "#option_state_name", + "binding_type": "collection", + "binding_collection_name": "permissions_collection" + } + ] + }, + + "option_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#option_name", + "color": "$main_header_text_color", + "layer": 2, + + "bindings": [ + { + "binding_name": "#option_name", + "binding_type": "collection", + "binding_collection_name": "permissions_collection" + } + ] + }, + + //--------------------------------------------------------------------------- + // IMAGES + //--------------------------------------------------------------------------- + + "top_bar": { + "type": "image", + "texture": "textures/ui/StoreTopBar", + "layer": 1 + }, + + "banner_background": { + "type": "image", + "texture": "textures/ui/Banners" + }, + + "player_local_icon": { + "type": "image", + "texture": "textures/ui/lan_icon", + "size": [ 13, 13 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#local_icon_visible", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#visible" + } + ] + }, + + "player_gamer_pic": { + "type": "image", + "texture": "#texture", + "size": [ 18, 18 ], + "layer": 1, + "texture_file_system": "#texture_source", + "bindings": [ + { + "binding_name": "#texture", + "binding_type": "collection", + "binding_collection_name": "players_collection" + }, + { + "binding_name": "#texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "players_collection" + }, + { + "binding_name": "#gamerpic_visible", + "binding_type": "collection", + "binding_collection_name": "players_collection", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "player_panel_black_border@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // BUTTONS + //--------------------------------------------------------------------------- + + "back_button@common_buttons.no_background_content_button": { + "layer": 2, + "$button_text|default": "gui.back", + "$button_content": "permissions.back_button_content", + "$button_type_panel": "common_buttons.form_fitting_button_content_panel", + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + "$focus_id": "back_button", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_exit", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_exit", + "mapping_type": "focused" + } + ] + }, + + "back_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 16 ], + "controls": [ + { + "chevron_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "left_chevron@common.chevron_image": { + "texture": "textures/ui/chevron_left", + "offset": [ 0, 1 ], + "color": "$text_color" + } + } + ] + } + }, + { + "back_button_padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "label@common_buttons.new_ui_binding_button_label": { + "offset": [ 0, 0 ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // TOGGLES + //--------------------------------------------------------------------------- + + "player_toggle@common_toggles.dark_image_toggle_collection": { + "$toggle_name": "player_toggle", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "players_collection", + "$toggle_state_binding_name": "#player_toggle_state", + "$radio_toggle_group": true, + "$button_content": "permissions.player_button_content" + }, + + "player_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 4px", "100% - 4px" ], + "layer": 3, + "controls": [ + { "player_pic_panel@permissions.player_pic_panel": {} }, + { + "player_button_padding_1": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { + "gamertag_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "gamertag_label@permissions.gamertag_label": { + "offset": [ 0, 1 ] + } + } + ] + } + }, + { + "icon_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%c", "100%" ], + "controls": [ + { + "dropdown_icon_image": { + "type": "image", + "texture": "#player_permission_level_icon_texture", + "size": [ 15, 15 ], + "bindings": [ + { + "binding_name": "#player_permission_level_icon_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "players_collection" + } + ] + } + } + ] + } + }, + { + "player_button_padding_2": { + "type": "panel", + "size": [ 4, 0 ] + } + } + ] + }, + + "player_pic_panel": { + "type": "panel", + "size": [ 20, "100%" ], + "offset": [ 1, 0 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "controls": [ + { "player_gamer_pic@permissions.player_gamer_pic": {} }, + { "player_local_icon@permissions.player_local_icon": {} } + ] + }, + + "option_toggle@common_toggles.switch_toggle_collection": { + "$toggle_name": "option_toggle", + "$toggle_grid_collection_name": "permissions_collection", + + "$toggle_binding_type": "collection", + "$toggle_state_binding_name": "#option_toggle_state", + + "$toggle_enabled_binding_type": "global", + "$toggle_enabled_binding_name": "#can_edit_permissions" + }, + + //--------------------------------------------------------------------------- + // DROPDOWNS + //--------------------------------------------------------------------------- + + "permission_level_dropdown@settings_common.option_dropdown": { + "$option_dropdown_type": "common.dropdown_no_scrollpanel", + "$option_label": "permissions.level", + "$dropdown_content": "permissions.permission_level_dropdown_content", + "$dropdown_area": "permissions_options_scrolling_panel", + "$dropdown_name": "permission_level_dropdown", + "$button_type_panel": "permissions.permission_level_dropdown_state_content", + "$option_enabled_binding_name": "#can_edit_permissions", + "$options_dropdown_toggle_label_binding": "#permission_level_dropdown_label", + "$dropdown_scroll_content_size": [ "100%", "245%" ], + + "$default_focus_precedence": 2, + "$focus_override_up": "back_button" + }, + + "radio_title_and_icon": { + "type": "panel", + "size": [ "100%", 16 ], + "$alpha|default": 1.0, + "$radio_label_bindings|default": [], + "$radio_label_color|default": "$main_header_text_color", + "controls": [ + { + "radio_icon": { + "type": "image", + "texture": "$radio_texture", + "alpha": "$alpha", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 10, 10 ] + } + }, + { + "radio_title": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$radio_label_text", + "color": "$radio_label_color", + "offset": [ 16, 0.5 ], + "size": [ "100% - 16px", "default" ], + "alpha": "$alpha", + "bindings": "$radio_label_bindings" + } + } + ] + }, + + // This radio content includes a title with icon on the left, followed by auto resizing smooth text below + "radio_content_with_title_bar": { + "type": "stack_panel", + "orientation": "vertical", + "offset": [ 4, 0 ], + "controls": [ + { + "title_and_icon@permissions.radio_title_and_icon": {} + }, + { + "helper_text": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "100%-8px", "default" ], + "text": "$radio_label_desc", + "font_type": "smooth", + "font_scale_factor": 1.333, + "shadow": false + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + // The radio content actually aligned and sized nicely + "radio_visuals_with_title": { + "type": "panel", + "size": [ "100%-4px", "100%c" ], + "offset": [ -2, 0 ], + "controls": [ + { "radio_content@permissions.radio_content_with_title_bar": {} } + ] + }, + + // With a white outline + "radio_visuals_with_title_hover": { + "type": "image", + "texture": "textures/ui/focus_border_white", + "size": [ "100%-4px", "100%c" ], + "offset": [ -2, 0 ], + "controls": [ + { "radio_content@permissions.radio_content_with_title_bar": {} } + ] + }, + + // WITH TITLE // + + "permissions_visitor_visuals_with_title_normal@permissions.radio_visuals_with_title": { + "$radio_texture": "textures/ui/permissions_visitor_hand" + }, + + "permissions_visitor_visuals_with_title_hover@permissions.radio_visuals_with_title_hover": { + "$radio_texture": "textures/ui/permissions_visitor_hand_hover" + }, + + "permissions_member_visuals_with_title_normal@permissions.radio_visuals_with_title": { + "$radio_texture": "textures/ui/permissions_member_star" + }, + + "permissions_member_visuals_with_title_hover@permissions.radio_visuals_with_title_hover": { + "$radio_texture": "textures/ui/permissions_member_star_hover" + }, + + "permissions_op_visuals_with_title_normal@permissions.radio_visuals_with_title": { + "$radio_texture": "textures/ui/permissions_op_crown" + }, + + "permissions_op_visuals_with_title_hover@permissions.radio_visuals_with_title_hover": { + "$radio_texture": "textures/ui/permissions_op_crown_hover" + }, + + // WITHOUT TITLE // + + "permissions_visitor_radio_visuals_normal@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_visitor_hand" + }, + + "permissions_visitor_radio_visuals_hover@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_visitor_hand_hover" + }, + + "permissions_member_radio_visuals_normal@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_member_star" + }, + + "permissions_member_radio_visuals_hover@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_member_star_hover" + }, + + "permissions_op_radio_visuals_normal@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_op_crown" + }, + + "permissions_op_radio_visuals_hover@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_op_crown_hover" + }, + + "permissions_custom_radio_visuals_normal@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_custom_dots" + }, + + "permissions_custom_radio_visuals_hover@settings_common.radio_visuals": { + "$radio_texture": "textures/ui/permissions_custom_dots_hover" + }, + + // GENERIC RADIO FOR PERMS // + + "permission_level_radio@settings_common.radio_with_label": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "radio_with_label_core@settings_common.radio_with_label_core": { + "$unchecked_control": "$permissions_visuals_normal", + "$checked_control": "$permissions_visuals_normal", + "$unchecked_hover_control": "$permissions_visuals_hover", + "$checked_hover_control": "$permissions_visuals_hover" + } + } + ] + }, + + "permission_level_dropdown_content@settings_common.option_radio_dropdown_group": { + "$is_world_settings|default": false, + "$is_in_realm|default": false, + "$radio_buttons": [ + // VISITOR // + { + "permission_level_radio_visitor@permissions.permission_level_radio": { + "ignored": "$is_world_settings", + "$toggle_state_binding_name": "#permission_level_radio_visitor", + "$radio_label_text": "permissions.level.visitor", + "$permissions_visuals_normal": "permissions.permissions_visitor_radio_visuals_normal", + "$permissions_visuals_hover": "permissions.permissions_visitor_radio_visuals_hover" + } + }, + { + "permission_level_radio_visitor_settings@permissions.permission_level_radio": { + "ignored": "(not $is_world_settings)", + "$toggle_state_binding_name": "#permission_level_radio_visitor", + "$radio_label_text": "permissions.level.visitor", + "$radio_label_desc": "permissions.description.visitors", + "$permissions_visuals_normal": "permissions.permissions_visitor_visuals_with_title_normal", + "$permissions_visuals_hover": "permissions.permissions_visitor_visuals_with_title_hover" + } + }, + // MEMBER // + { + "permission_level_radio_member@permissions.permission_level_radio": { + "ignored": "$is_world_settings", + "$toggle_state_binding_name": "#permission_level_radio_member", + "$radio_label_text": "permissions.level.member", + "$permissions_visuals_normal": "permissions.permissions_member_radio_visuals_normal", + "$permissions_visuals_hover": "permissions.permissions_member_radio_visuals_hover" + } + }, + { + "permission_level_radio_member_settings@permissions.permission_level_radio": { + "ignored": "(not $is_world_settings)", + "$toggle_state_binding_name": "#permission_level_radio_member", + "$radio_label_text": "permissions.level.member", + "$radio_label_desc": "permissions.description.members", + "$permissions_visuals_normal": "permissions.permissions_member_visuals_with_title_normal", + "$permissions_visuals_hover": "permissions.permissions_member_visuals_with_title_hover" + } + }, + // OPERATOR // + { + "permission_level_radio_operator@permissions.permission_level_radio": { + "ignored": "$is_world_settings", + "$toggle_state_binding_name": "#permission_level_radio_operator", + "$radio_label_text": "permissions.level.operator", + "$permissions_visuals_normal": "permissions.permissions_op_radio_visuals_normal", + "$permissions_visuals_hover": "permissions.permissions_op_radio_visuals_hover" + } + }, + { + "permission_level_radio_operator_settings@permissions.permission_level_radio": { + "ignored": "(not $is_world_settings)", + "$toggle_state_binding_name": "#permission_level_radio_operator", + "$radio_label_text": "permissions.level.operator", + "$radio_label_desc": "permissions.description.operators", + "$permissions_visuals_normal": "permissions.permissions_op_visuals_with_title_normal", + "$permissions_visuals_hover": "permissions.permissions_op_visuals_with_title_hover" + } + }, + // CUSTOM // + { + "permission_level_radio_custom@permissions.permission_level_radio": { + "ignored": "($is_world_settings or $is_in_realm)", + "$toggle_state_binding_name": "#permission_level_radio_custom", + "$radio_label_text": "permissions.level.custom", + "$permissions_visuals_normal": "permissions.permissions_custom_radio_visuals_normal", + "$permissions_visuals_hover": "permissions.permissions_custom_radio_visuals_hover" + } + } + ] + }, + + "permission_level_dropdown_state_content": { + "type": "stack_panel", + // new_button_state has a layer of 2 + "layer": 3, + "orientation": "horizontal", + "$content_size|default": [ "100% - 16px", "100% - 8px" ], + "$content_label_visible|default": true, + "size": "$content_size", + "$padding_size|default": [ 10, 0 ], + "controls": [ + { + "icon_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%c", "100%" ], + "controls": [ + { + "dropdown_icon_image": { + "type": "image", + "$dropdown_icon_image_texture_binding|default": "#permission_level_dropdown_icon_texture", + "$icon_binding_type_override|default": "global", + "$icon_binding_collection_name_override|default": "", + "texture": "$dropdown_icon_image_texture_binding", + "$dropdown_icon_image_size|default": [ 15, 15 ], + "size": "$dropdown_icon_image_size", + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_name": "$dropdown_icon_image_texture_binding", + "binding_name_override": "#texture", + "binding_type": "$icon_binding_type_override", + "binding_collection_name": "$icon_binding_collection_name_override" + } + ] + } + } + ] + } + }, + { + "dropdown_label_padding": { + "type": "panel", + "size": "$padding_size" + } + }, + { + "label_panel": { + "type": "panel", + "layer": 1, + "size": [ "fill", "100%" ], + "controls": [ + { + "label@common.new_button_label": { + "layer": 1, + "$options_dropdown_label_color_binding_type|default": "none", + "$options_dropdown_label_color_binding|default": "", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "default" ], + "max_size": [ "100%", "100%" ], + "text": "$options_dropdown_toggle_label_binding", + "alpha": "$content_alpha", + "visible": "$content_label_visible", + "bindings": [ + { + "binding_name": "$options_dropdown_toggle_label_binding", + "binding_condition": "none" + }, + { + "binding_name": "$options_dropdown_label_color_binding", + "binding_type": "$options_dropdown_label_color_binding_type", + "binding_name_override": "#color" + } + ] + } + } + ] + } + }, + { + "arrow_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%c", "100%" ], + "controls": [ + { + "arrow_image@settings_common.arrow_image": {} + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/persona_cast_character_screen.json b/resource_pack/ui/persona_cast_character_screen.json new file mode 100644 index 0000000..68202c1 --- /dev/null +++ b/resource_pack/ui/persona_cast_character_screen.json @@ -0,0 +1,990 @@ +{ + "namespace": "persona_cast_character_screen", + + "cast_modal_bottom_bar": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "95%", 32 ], + "offset": [ 0, -6 ], + "layer": 50, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + + "$cast_modal_bottom_bar_controls|default": [], + "controls": "$cast_modal_bottom_bar_controls" + }, + + "cast_common_dialog_background@common_dialogs.dialog_background_hollow_2": { + "size": [ "100%", "100%" ], + + "$inner_contents|default": "persona_cast_character_screen.cast_character_select_main", + "$inner_contents_size|default": [ "100% - 16px", "100% - 65px" ], + "$inner_contents_offset|default": [ 0, -9.5 ], + + "controls": [ + { "top_bar@persona_cast_character_screen.common_cast_modal_top_bar": {} }, + { + "popup_inner_contents@$inner_contents": { + "size": "$inner_contents_size", + "offset": "$inner_contents_offset" + } + }, + { "cast_modal_bottom_bar@persona_cast_character_screen.cast_modal_bottom_bar": {} } + ] + }, + + "cast_modal_panel": { + "type": "input_panel", + + "$show_close_button": true, + + "controls": [ + { "cast_preview_modal_content@persona_cast_character_screen.cast_common_dialog_background": {} } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + } + ] + }, + + "popup_dialog__cast_character_select@persona_cast_character_screen.common_dcast_popup_framework": { + "$cast_modal_bottom_bar_controls": [ + { + "select_button@common_buttons.light_text_button": { + "size": [ "100%", "100%" ], + "$pressed_button_name": "button.cast_select", + "$button_text": "gui.select", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#cast_enabled_select", + "binding_name_override": "#enabled" + } + ] + } + } + ], + + "controls": [ + { "background@persona_cast_character_screen.common_background_blocker": {} }, + { "popup_background@persona_cast_character_screen.cast_modal_panel": { "size": [ "57%", "90%" ] } } + ] + }, + + "common_dcast_popup_framework@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "layer": 500, + "$section_content_size": [ "100%", "100% - 16px" ], + "$close_button_to_button_id": "button.cast_back", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + "common_cast_modal_top_bar": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "layer": 2, + "$close_button_offset": [ 0, 0 ], + "$use_compact_close_button": false, + "$character_cast_prompt_title|default": "menu.character_cast.select_title", + "controls": [ + { + "title_panel": { + "type": "label", + "text": "$character_cast_prompt_title", + "layer": 2, + "offset": [ 0, 8 ], + "color": "$profile_create_character_selected_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { "close_button_holder@common_dialogs.common_close_button_holder": {} } + ] + }, + + "cast_character_select_main": { + "type": "panel", + "size": [ "100% - 16px", "100% - 65px" ], + "anchor_to": "center", + "anchor_from": "center", + "offset": [ 0, -9.5 ], + "controls": [ + { + "modal_inner_background": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White", + "color": "black", + "alpha": 1.0 + } + }, + { + "main_content_horizontal_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { "cast_grid@persona_cast_character_screen.cast_scroll_view_panel": {} }, + { + "vertical_centerer@common.empty_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size" : ["fill", "100%"], + "controls": [ + { "top_fill@common.empty_panel": { "size": [ "100%", "fill" ] } }, + { "skin_viewer_panel@persona_cast_character_screen.persona_cast_paper_doll_panel": {} }, + { "bottom_fill@common.empty_panel": { "size": [ "100%", "fill" ] } }, + { "bottom_padding@common.empty_panel": { "size": [ "100%", "16px" ] } } + ] + } + } + ] + } + } + ] + }, + + "cast_scroll_view_panel@common.scrolling_panel": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "size": [ "62%", "100%" ], + + "focus_container": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "stop", + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_up": "stop", + + "$scroll_size": [ 2, "100% - 4px" ], + "$scrolling_content": "persona_cast_character_screen.cast_grid_panel", + "$scroll_view_port_size": [ "100%", "100%" ], + "$scroll_view_port_size_touch": [ "100%", "100%" ] + }, + + "cast_grid_with_buttons": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "100%c" ], + "controls": [ + { + "top_spacing": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "cast_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "persona_cast_character_screen.cast_single_character_button_panel", + "grid_dimension_binding": "#cast_character_options_dimensions", + "collection_name": "cast_character_options", + "$cast_single_character_collection_name": "cast_character_options", + "bindings": [ + { + "binding_type": "global", + "binding_name": "#cast_character_options_dimensions" + } + ] + } + }, + { + "bottom_spacing": { + "type": "panel", + "size": [ "100%", 1 ] + } + } + ] + }, + + "cast_grid_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "min_size": [ "100%", "100%c" ], + "controls": [ + { "cast_grid@persona_cast_character_screen.cast_grid_with_buttons": {} } + ] + }, + + "cast_single_character_button_panel": { + "type": "panel", + "size": [ "33%", "100%x" ], + "layer": 10, + "$pressed_button_name": "button.cast_single_character_button", + "controls": [ + { + "cast_character_button@common.button": { + "max_size": [ "100%-2px", "100%-2px" ], + "$controller_left_bumper_mapping|default": "", + "$controller_right_bumper_mapping|default": "", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "background_image": { + "type": "image", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/White", + "color": "black", + "alpha": 0.8 + } + }, + { + "selected@persona.selected_border": { + "layer": 8, + "$enable_border": false, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$cast_single_character_collection_name", + "binding_name": "#cast_button_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { "default@common.empty_panel": {} }, + { "hover@persona.focus_border": {} }, + { "pressed@persona.focus_border": {} }, + { + "button_outline": { + "type": "image", + "size": [ "100%-2px", "100%-2px" ], + "anchor_from": "center", + "anchor_to": "center", + "texture": "textures/ui/White", + "color": "$dressing_room_semi_dark_bg_color", + "controls": [ + { "cast_character_content@persona_cast_character_screen.cast_character_button_content_panel": {} } + ] + } + } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.asset_button_hovered", + "mapping_type": "pressed" + }, + { + "ignored": "($controller_left_bumper_mapping = '')", + "from_button_id": "button.menu_tab_left", + "to_button_id": "$controller_left_bumper_mapping", + "mapping_type": "focused" + }, + { + "ignored": "($controller_right_bumper_mapping = '')", + "from_button_id": "button.menu_tab_right", + "to_button_id": "$controller_right_bumper_mapping", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$cast_single_character_collection_name", + "binding_collection_prefix": "cast_character_options" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#cast_button_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$cast_single_character_collection_name" + } + ] + }, + + "cast_character_button_content_panel": { + "type": "panel", + "controls": [ + { + "cast_single_character_content_visible_panel": { + "type": "panel", + "controls": [ + { + "cast_single_character_button_content@persona_cast_character_screen.in_use_grid_item": { + "size": [ "100% - 2px", "100% - 2px" ], + "$in_use_grid_collection_name": "$cast_single_character_collection_name" + } + } + ] + } + } + ] + }, + + "in_use_grid_item": { + "type": "image", + "layer": 5, + "size": [ 20, 20 ], + "fill": true, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$in_use_grid_collection_name", + "binding_name": "#in_use_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "$in_use_grid_collection_name", + "binding_name": "#in_use_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "persona_cast_paper_doll_panel": { + "type": "panel", + "size": [ "100%", "192%x" ], + "max_size": [ "100%", "100%" ], + "controls": [ + { "preset_input_panel@persona_cast_character_screen.cast_character_screen_right_side_model": {} } + ] + }, + + "character_loading_anim@persona.loading_icon": { + "anchor_from": "center", + "anchor_to": "center" + }, + + "character_loading_anim_panel": { + "type": "image", + "size": [ "100%c + 12px", "100%c + 6px" ], + "texture": "textures/ui/Banners", + "layer": 600, + "controls": [ + { "character_loading_anim@persona_cast_character_screen.character_loading_anim": {} } + ], + "bindings": [ + { + "binding_name": "#is_character_loading", + "binding_name_override": "#visible" + } + ] + }, + + "cast_character_screen_right_side_model": { + "type": "input_panel", + "size": [ "52%y", "90%" ], + "layer": 600, + "$skin_model_layer": 100, + + "always_handle_controller_direction": true, + "gesture_tracking_button": "button.turn_character_select_doll", + "$gesture_input_panel_control": "preset_input_panel", + "$skin_preview": "#cast_preview_skin", + "controls": [ + { "skin_model_panel@persona.skin_viewer_panel_skin_model": {} }, + { "skin_model_loading_anim@persona_cast_character_screen.character_loading_anim_panel": {} }, + { + "skin_model_label": { + "type": "label", + "text": "#selected_character_name", + "color": "$generic_button_text_color", + "anchor_from": "bottom_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_name": "#selected_character_name" + } + ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_character_select_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ] + }, + + "common_background_blocker@profile.modal_window_input_blocker": { + "controls": [ + { + "modal_background_button": { + "type": "button", + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + "common_preview_page_framework@persona_cast_character_screen.common_dcast_popup_framework": { + "$close_button_to_button_id": "button.close_entry_prompt_dialog", + + "$cast_modal_bottom_bar_controls": [ + { + "left_bottom_button@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "$pressed_button_name": "button.cast_left_select", + "$left_button_text|default": "", + "$button_text": "$left_button_text", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#cast_enabled_select", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "right_bottom_button@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "$pressed_button_name": "button.cast_right_select", + "$right_button_text|default": "", + "$button_text": "$right_button_text", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#cast_enabled_select", + "binding_name_override": "#enabled" + } + ] + } + } + ], + + "controls": [ + { "background@persona_cast_character_screen.common_background_blocker": {} }, + { "cast_preview_modal@persona_cast_character_screen.cast_modal_panel": { "size": [ "71.40625%", "90%" ] } } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + "cast_preview_page_one@persona_cast_character_screen.common_preview_page_framework": { + "$character_cast_prompt_title": "menu.character_cast.ftue_title", + "$left_button_text": "dr.button.ok", + "$right_button_text": "menu.character_cast.see_how_to_select_one", + "$inner_contents": "persona_cast_character_screen.cast_preview_page_one_inner_section" + }, + + "cast_preview_page_two@persona_cast_character_screen.common_preview_page_framework": { + "$character_cast_prompt_title": "menu.character_cast.ftue_title", + "$left_button_text": "gui.back", + "$right_button_text": "menu.character_cast.go_to_dressing_room", + "$inner_contents": "persona_cast_character_screen.cast_preview_page_two_inner_section" + }, + + "cast_preview_page_one_inner_section": { + "type": "panel", + + "$next_page_button_event": "button.cast_subpage_right", + "$prev_page_button_event": "button.cast_subpage_left", + + "controls": [ + { + "modal_inner_background": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White", + "color": "black", + "alpha": 1.0 + } + }, + { + "cast_content": { + "type": "input_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "cast_image_cycler@common.image_cycler": { + "size": [ "80%", "100%" ], + "images": [ + { + "texture_path": "textures/ui/default_cast/ftue/00_dcast_lineup.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/01_dcast_lineup_zuri.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/02_dcast_lineup_noor.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/03_dcast_lineup_kai.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/04_dcast_lineup_ari.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/05_dcast_lineup_steve.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/06_dcast_lineup_alex.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/07_dcast_lineup_efe.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/08_dcast_lineup_makena.png" + }, + { + "texture_path": "textures/ui/default_cast/ftue/09_dcast_lineup_sunny.png" + } + ] + } + }, + { + "cast_vertical_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "34%" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "controls_label_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text_cycler@common.text_cycler": { + "size": [ "100% - 4px", "default" ], + "layer": 2, + "offset": [ 0, 8 ], + "text_alignment": "center", + "target_cycler_to_compare": "cast_image_cycler", + "text_labels": [ + "menu.character_cast.ftue_page1", + "skin.Standard.Zuri", + "skin.Standard.Noor", + "skin.Standard.Kai", + "skin.Standard.Ari", + "skin.Standard.Steve", + "skin.Standard.Alex", + "skin.Standard.Efe", + "skin.Standard.Makena", + "skin.Standard.Sunny" + ] + } + } + ] + } + }, + { + "buffer_panel": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { "controls_shoulder_button_display_panel@persona_cast_character_screen.ftue_subpage_indicator_panel": {} } + ] + } + } + ] + } + } + ] + }, + + "chevron_image_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { "chevron_image@common.chevron_image": { "color": "$text_color" } } + ] + }, + + "chevron_button@common_buttons.light_content_button": { + "consume_event": false, + "$button_content": "persona_cast_character_screen.chevron_image_panel", + + "$use_right_chevron|default": false, + "$chevron_visible_source_control|default": "gamepad_helper_left_bumper", + "$chevron_image_name|default": "textures/ui/chevron_left", + "variables": [ + { + "requires": "$use_right_chevron", + "$chevron_visible_source_control": "gamepad_helper_right_bumper", + "$chevron_image_name": "textures/ui/chevron_right" + } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed", + "scope": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused", + "scope": "global" + } + ], + + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$chevron_visible_source_control", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + }, + + "shift_page_panel": { + "type": "panel", + "size": [ 30, "100%" ], + "$focus_wrap_enabled": false, + "controls": [ + { + "centering_panel": { + "type": "panel", + "size": [ "100%", 25 ], + "controls": "$shift_page_controls" + } + } + ] + }, + + "shift_page_left_panel@persona_cast_character_screen.shift_page_panel": { + "$pressed_button_name": "button.cast_subpage_left", + + "$focus_id": "shift_page_left_button", + "$focus_override_right": "shift_page_right_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + + "$shift_page_controls": [ + { "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": {} }, + { "left_chevron_button@persona_cast_character_screen.chevron_button": {} } + ] + }, + + "shift_page_right_panel@persona_cast_character_screen.shift_page_panel": { + "$pressed_button_name": "button.cast_subpage_right", + "$use_right_chevron": true, + + "$focus_id": "shift_page_right_button", + "$focus_override_left": "shift_page_left_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + + "$shift_page_controls": [ + { "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": {} }, + { "right_chevron_button@persona_cast_character_screen.chevron_button": {} } + ] + }, + + "horizontal_8px_padding": { + "type": "panel", + "size": [ 8, "100%" ] + }, + + "horizontal_20px_padding": { + "type": "panel", + "size": [ 20, "100%" ] + }, + + "ftue_subpage_indicator_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "controls_shoulder_button_display": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { "left_padding@persona_cast_character_screen.horizontal_20px_padding": {} }, + { "left_shoulder_button_panel@persona_cast_character_screen.shift_page_left_panel": {} }, + { "left_shoulder_button_padding@persona_cast_character_screen.horizontal_8px_padding": {} }, + { + "page_indicator_grid": { + "type": "grid_page_indicator", + "size": [ "fill", "100%" ], + "grid_item_template": "persona_cast_character_screen.individaul_cast_page_indicator", + "grid_item_when_current": "panel_when_current_page", + "grid_item_when_not_current": "panel_when_not_current_page", + "collection_name": "cast_page_indicator", + "cycler_manager_size_control_target": "cast_image_cycler" + } + }, + { "right_shoulder_button_padding@persona_cast_character_screen.horizontal_8px_padding": {} }, + { "right_shoulder_button_panel@persona_cast_character_screen.shift_page_right_panel": {} }, + { "right_padding@persona_cast_character_screen.horizontal_20px_padding": {} } + ] + } + } + ] + }, + + "individaul_cast_page_indicator": { + "type": "panel", + "size": [ "fill", "100%" ], + "alpha": 0.8, + "controls": [ + { + "panel_when_current_page": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "panel_with_padding": { + "type": "panel", + "size": [ 6, 6 ], + "controls": [ + { + "cast_dot": { + "type": "image", + "size": [ 4, 4 ], + "texture": "textures/ui/White", + "color": "white" + } + } + ] + } + } + ] + } + }, + { + "panel_when_not_current_page": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "panel_with_padding": { + "type": "panel", + "size": [ 6, 6 ], + "controls": [ + { + "cast_dot": { + "type": "image", + "size": [ 4, 4 ], + "texture": "textures/ui/White", + "alpha": 0.5 + } + } + ] + } + } + ] + } + } + ] + }, + + "how_to_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "48.5%", "100%" ], + + "controls": [ + { + "how_to_image": { + "type": "image", + "size": [ "100%", "75%" ], + "texture": "$how_to_image", + "keep_ratio": false + } + }, + { + "how_to_label_section": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "how_to_label": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "max_size": [ "100% - 4px", "100% - 4px" ], + "layer": 2, + "font_size": "$instruction_text_size", + "color": "$generic_button_text_color", + "text": "$how_to_text" + } + } + ] + } + } + ] + }, + + "cast_preview_page_two_inner_section": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/white_background", + "fill": true, + "color": "black", + + "$instruction_text_size": "normal", + + "controls": [ + { + "how_to_section_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "how_to_section_left@persona_cast_character_screen.how_to_section": { + "$how_to_image": "textures/ui/default_cast/ftue/how_to_left_image", + "$how_to_text": "menu.character_cast.ftue_page2_left" + } + }, + { + "divider_panel": { + "type": "panel", + "size": [ "fill", "100% + 2px" ], + "controls": [ + { + "divider": { + "type": "image", + "offset": [ 0, -1 ], + "layer": 3, + "texture": "textures/ui/default_cast/ftue/how_to_page_divider" + } + } + ] + } + }, + { + "how_to_section_right@persona_cast_character_screen.how_to_section": { + "$how_to_image": "textures/ui/default_cast/ftue/how_to_right_image", + "$how_to_text": "menu.character_cast.ftue_page2_right" + } + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/persona_common.json b/resource_pack/ui/persona_common.json new file mode 100644 index 0000000..c61c444 --- /dev/null +++ b/resource_pack/ui/persona_common.json @@ -0,0 +1,850 @@ +{ + "namespace": "persona_common", + + "icon_image": { + "type": "image", + "layer": 2 + }, + + "focus_border": { + "type": "image", + "layer": 10, + "$border_texture|default": "textures/ui/focus_border_selected", + "texture": "$border_texture" + }, + + "selected_border@persona.focus_border": { + "$border_texture": "textures/ui/focus_border_white", + "color": "$dressing_room_skin_picker_equipped_border_color" + }, + + "equipped_border": { + "type": "image", + "$enable_border|default": true, + "size": [ "100%", "100%" ], + "layer": 11, + "texture": "textures/ui/equipped_item_border" + }, + + "progress_loading": { + "type": "image", + "texture": "textures/ui/White", + "color": "$rarity_common_bg_color", + "$progress_loading_binding_type|default": "global", + "$progress_loading_collection_name|default": "", + "$progress_loading_binding_name|default": "", + "controls": [ + { + "progress_loading@common_store.progress_loading": { + "size": [ "100% - 2px", "100% - 2px" ], + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "bindings": [] + } + } + ], + "bindings": [ + { + "binding_type": "$progress_loading_binding_type", + "binding_condition": "always", + "binding_collection_name": "$progress_loading_collection_name", + "binding_name": "$progress_loading_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "generic_title_panel": { + "type": "image", + "size": [ "100%", 14 ], + "layer": 10, + "texture": "textures/ui/White", + "color": "$rarity_common_bg_color", + "alpha": "$dressing_room_panel_alpha", + "controls": [ + { + "title_label@persona.title_rarity_positionable_title": { + "size": [ "100% - 4px", 10 ] + } + } + ] + }, + + /* ============================================================ + RARITY BAR + + Requires: + - #rarity_bar_texture + - #rarity_bar_visible + - $persona_piece_binding_type + - $persona_piece_collection_name + + Bindings: + - #rarity_bar_texture + Texture to use for the rarity bar. + - #rarity_bar_visible + If the bar is visible or not + */ + "rarity_bar": { + "type": "image", + "size": [ "100%", 3 ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "texture": "#rarity_bar_texture", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_binding_type", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#rarity_bar_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "$persona_piece_binding_type", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#rarity_bar_visible", + "binding_name_override": "#visible" + } + ] + }, + + /* ============================================================ + RARITY BACKGROUND + + Requires: + - #rarity_color + + Variables: + - $rarity_color_background_texture + Optional override for texture. Defaults to white texture. + - $rarity_binding_type + The binding type for the `#rarity_color` binding. Defaults to `global` + - $rarity_collection_name + Optional collection name for the `#rarity_color` binding. Defaults to `none` + + Bindings: + - #rarity_color + The color to tint the texture with. + + */ + "item_rarity_color_background": { + "type": "image", + "$rarity_color_background_texture|default": "textures/ui/White", + "texture": "$rarity_color_background_texture", + "$rarity_background_alpha|default": 1, + "alpha": "$rarity_background_alpha", + + "property_bag": { + "#common": "$rarity_common_bg_color", + "#uncommon": "$rarity_uncommon_bg_color", + "#rare": "$rarity_rare_bg_color", + "#epic": "$rarity_epic_bg_color", + "#legendary": "$rarity_legendary_bg_color" + }, + + "$rarity_section_collection_details|default": "none", + "$rarity_section_collection_prefix|default": "", + "$rarity_section_collection_name|default": "", + + "$rarity_binding_type|default": "global", + "$rarity_collection_name|default": "none", + "$rarity_background_bindings|default": [ + { + "binding_type": "$rarity_section_collection_details", + "binding_collection_name": "$rarity_section_collection_name", + "binding_collection_prefix": "$rarity_section_collection_prefix" + }, + { + "binding_type": "$rarity_binding_type", + "binding_collection_name": "$rarity_collection_name", + "binding_name": "#rarity_color", + "binding_name_override": "#color" + } + ], + "bindings": "$rarity_background_bindings" + }, + + + /* ============================================================ + PERSONA ITEM DISPLAY + + Requires: + - #rarity_color + - #rarity_bar_texture + - #rarity_bar_visible + - $persona_piece_binding_type + - $persona_piece_collection_name + + Variables: + - $item_display_size + The size of the control. Default is `[ "100%", "100%" ]` + - $is_loading + If the item is still loading or not (doesn't have image). Default is `false` + - $item_content_control + Child control to be placed over the image. (Extra icons, status symbols, + ...). Default is empty panel. + - $item_texture_file_system_binding_name + Binding name for the file system binding. Default is `#thumbnail_texture_file_system` + - $item_texture_path_binding_name + Binding name for the texture path binding. Default is `#thumbnail_texture_path` + - $ignore_background + If you want the background or not. Default is `false` + - $ignore_rarity_bar + If you want the rarity bar or not. Default is `false` + + Bindings: + - #rarity_color + The color to tint the texture with. + - #rarity_bar_texture + Texture to use for the rarity bar. + - #rarity_bar_visible + If the bar is visible or not + */ + "piece_item_display@common.empty_panel": { + "$item_display_size|default": [ "100%", "100%" ], + "size": "$item_display_size", + "$is_loading|default": false, + "$item_content_control|default": "common.empty_panel", + "$ignore_background|default": false, + "$ignore_rarity_bar|default": false, + + "$piece_section_collection_details|default": "none", + "$piece_section_collection_prefix|default": "", + "$piece_section_collection_name|default": "", + + "$item_texture_path_binding_name|default": "#thumbnail_texture_path", + "$item_texture_file_system_binding_name|default": "#thumbnail_texture_file_system", + + "controls": [ + { + "item_renderer@common.empty_panel": { + "visible": "(not $is_loading)", + "controls": [ + { + "background@persona_common.item_rarity_color_background": { + "ignored": "$ignore_background", + "$rarity_color_background_texture": "textures/ui/button_borderless_light", + "$rarity_binding_type": "$persona_piece_binding_type", + "$rarity_collection_name": "$persona_piece_collection_name", + + "$rarity_section_collection_details": "$piece_section_collection_details", + "$rarity_section_collection_prefix": "$piece_section_collection_prefix", + "$rarity_section_collection_name": "$piece_section_collection_name" + } + }, + { + "item_image": { + "type": "image", + "layer": 2, + "size": [ "100% - 3px", "100% - 3px" ], + "offset": [ 0, 1 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_binding_type", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "$item_texture_file_system_binding_name", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$persona_piece_binding_type", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "$item_texture_path_binding_name", + "binding_name_override": "#texture" + } + ] + } + }, + { + "rarity_bar_panel@persona_common.rarity_bar": { + "ignored": "$ignore_rarity_bar", + "layer": 3 + } + }, + { + "extra_control@common.empty_panel": { + "layer": 4, + "controls": [ + { "control_instance@$item_content_control": {} } + ] + } + } + ] + } + }, + { + "loading_progress_spinner": { + "type": "image", + "layer": 2, + "texture": "textures/ui/loading_spinner", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 6 ], + "uv_size": [ 7, 7 ], + "size": [ 14, 14 ], + "uv": "@progress.spinner_animation", + "visible": "$is_loading" + } + } + ] + }, + + /* + Emote Wheel definitions + */ + "wheel_state": { + "type": "image", + "layer": 1, + "texture": "$wheel_state_texture" + }, + + "emote_label": { + "ignored": "(not #visible)", + "type": "label", + "size": [ "100%", "default" ], + "text_alignment": "center", + "color": "$dark_button_default_text_color" + }, + + "touch_name_label": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ 75, 30 ], + "text_alignment": "left", + "text": "#emote_label", + "shadow": true, + "color": "$dark_button_default_text_color", + "font_type": "smooth", + "tts_skip_message": true, + "bindings": [ + { + "binding_name": "#is_touch_mode", + "binding_name_override": "#visible" + }, + { + "binding_name": "#emote_name_touch", + "binding_name_override": "#emote_label" + } + ] + }, + + "emote_image@common.empty_panel": { + "layer": 2, + "size": [ "100%", "100%" ], + "controls": [ + { + "empty": { + "type": "image", + "texture": "textures/ui/icon_none", + "size": [ "100%", "100%" ], + "property_bag": "$property_bag", + "bindings": [ + { + "binding_name": "(not #emote_is_valid)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "emote_preview": { + "type": "panel", + "size": [ "100%", "100%" ], + "property_bag": "$property_bag", + "bindings": [ + { + "binding_name": "#emote_is_valid", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "valid": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "#texture", + "property_bag": "$property_bag", + "bindings": [ + { + "binding_name": "#emote_image", + "binding_name_override": "#texture" + }, + { + "binding_name": "#emote_image_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "#image_is_valid", + "binding_name_override": "#visible" + } + ] + } + }, + { + "valid_no_image": { + "type": "panel", + "size": [ "100%", "100%" ], + "property_bag": "$property_bag", + "bindings": [ + { + "binding_name": "(not #image_is_valid)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "valid_text": { + "type": "label", + "size": [ "100%", 13 ], + "text_alignment": "center", + "color": "$dark_button_default_text_color", + "font_scale_factor": 1.5, + "shadow": true, + "property_bag": "$property_bag", + "text": "#text", + "bindings": [ + { + "binding_name": "#emote_index_name", + "binding_name_override": "#text" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "keyboard_hotkey_helpers": { + "type": "panel", + "size": [ "100%", "100%" ], + "$keyboard_helper_size": [ 17, 17 ], + "$hide_description": true, + "controls": [ + { + "keyboard_1@common.keyboard_helper_keys": { + "size": "$keyboard_helper_size", + "offset": [ 0, "-50%y - 50% - 3px" ], + "$keyboard_character": "keyboard.keyName.1", + "$text_color": "$generic_button_text_color" + } + }, + { + "keyboard_2@common.keyboard_helper_keys": { + "size": "$keyboard_helper_size", + "offset": [ "50%x + 50% + 3px", 0 ], + "$keyboard_character": "keyboard.keyName.2", + "$text_color": "$generic_button_text_color" + } + }, + { + "keyboard_3@common.keyboard_helper_keys": { + "size": "$keyboard_helper_size", + "offset": [ 0, "50%y + 50% + 3px" ], + "layer": 3, + "$keyboard_character": "keyboard.keyName.3", + "$text_color": "$generic_button_text_color" + } + }, + { + "keyboard_4@common.keyboard_helper_keys": { + "size": "$keyboard_helper_size", + "offset": [ "-50%x - 50% - 3px", 0 ], + "$keyboard_character": "keyboard.keyName.4", + "$text_color": "$generic_button_text_color" + } + } + ] + }, + + "gamepad_hotkey_helpers": { + "type": "panel", + "size": [ "100%", "100%" ], + + "controls": [ + { + "quick_select_gamepad_helpers": { + "type": "panel", + "size": [ "100%", "100%" ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#are_gamepad_quick_select_helpers_visible", + "binding_name_override": "#visible" + } + ], + + "$gamepad_face_right_helper|default": "gamepad_helper_b", + "$gamepad_face_down_helper|default": "gamepad_helper_a", + "variables": [ + { + // on switch we need to reverse a/b gamepad helpers since the client bases the gamepad helpers + // based on what the button does (ie. select/cancel) and not by location on the controller + "requires": "$nx_os", + "$gamepad_face_right_helper": "gamepad_helper_a", + "$gamepad_face_down_helper": "gamepad_helper_b" + } + ], + + "controls": [ + { + "gamepad_y@common.gamepad_helper_y": { + "offset": [ 0, "-50%y - 50% + 3px" ] + } + }, + { + "gamepad_b@common.$gamepad_face_right_helper": { + "offset": [ "50%x + 50% - 3px", 0 ] + } + }, + { + "gamepad_a@common.$gamepad_face_down_helper": { + "offset": [ 0, "50%y + 50% - 3px" ] + } + }, + { + "gamepad_x@common.gamepad_helper_x": { + "offset": [ "-50%x - 50% + 3px", 0 ] + } + } + ] + } + }, + { + "analog_select_gamepad_helper_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "offset": [ 0, "50% + 9px" ], + "$icon_description_bind_type": "none", + "bindings": [ + { + "binding_name": "(not #are_gamepad_quick_select_helpers_visible)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "analog_select_gamepad_helper@common.gamepad_helper_a": { "$icon_description_bind": "emote_wheel.gamepad_helper.select" } } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_emote_gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + }, + + ///////////////////////////////////////////////////////////// + // + // requires: + // - $emote_slot_index : int + // - $emote_slot_name : string + // - $wheel_state_texture : string : texture path + // - $emote_image_offset : vec2 + // - $emote_touch_label_offset : vec2 + // - $emote_touch_label_ignore : bool + // + ///////////////////////////////////////////////////////////// + "emote_wheel_slot_content": { + "type": "panel", + "controls": [ + { + "$emote_slot_name@persona_common.wheel_state": {} + }, + { + "image_0@persona_common.emote_image": { + "size": [ "30%", "30%" ], + "offset": "$emote_image_offset", + "$property_bag": { + "#index": "$emote_slot_index" + } + } + }, + { + "touch_label_0@persona_common.touch_name_label": { + "ignored": "$emote_touch_label_ignore", + "offset": "$emote_touch_label_offset", + "text_alignment": "$emote_touch_label_alignment", + "property_bag": { + "#index": "$emote_slot_index" + } + } + } + ] + }, + + "selection_wheel": { + "type": "selection_wheel", + "size": [ "100%", "100%" ], + + "always_handle_controller_direction": true, + + "$slice_count|default": 1, + "$inner_radius|default": 0.0, + "$outer_radius|default": 1.0, + + "$gamepad_bottom_button_name|default": "('button.select_' + $gamepad_bottom_emote_name)", + "$gamepad_top_button_name|default": "('button.select_' + $gamepad_top_emote_name)", + "$gamepad_left_button_name|default": "('button.select_' + $gamepad_left_emote_name)", + "$gamepad_right_button_name|default": "('button.select_' + $gamepad_right_emote_name)", + + "variables": [ + { + // on switch we need to reverse a/b button events since the client bases the gamepad helpers + // based on what the button does (ie. select/cancel) and not by location on the controller + "requires": "$nx_os", + "$gamepad_right_button_name|default": "('button.select_' + $gamepad_bottom_emote_name)", + "$gamepad_bottom_button_name|default": "('button.select_' + $gamepad_right_emote_name)" + } + ], + + "$select_button_name|default": "", + "$hover_button_name|default": "", + "$analog_button_name|default": "", + "$iterate_left_button_name|default": "button.iterate_selection_left", + "$iterate_right_button_name|default": "button.iterate_selection_right", + "slice_count": "$slice_count", + "inner_radius": "$inner_radius", + "outer_radius": "$outer_radius", + + "focus_enabled": true, + + "select_button_name": "$select_button_name", + "hover_button_name": "$hover_button_name", + "analog_button_name": "$analog_button_name", + + "iterate_left_button_name": "$iterate_left_button_name", + "iterate_right_button_name": "$iterate_right_button_name", + "initial_button_slice": 0, + "$button_focus_precedence|default": 0, + "default_focus_precedence": "$button_focus_precedence", + + "$button_tts_name|default": "", + "$button_tts_header|default": "", + "$tts_section_header|default": "", + "$button_tts_control_type_order_priority|default": 100, + + "tts_name": "$button_tts_name", + "tts_control_header": "$button_tts_header", + "tts_section_header": "$tts_section_header", + "tts_control_type_order_priority": "$button_tts_control_type_order_priority", + "tts_skip_message": true, + + "layer": 1, + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "state_controls": [], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$select_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "$analog_button_name", + "to_button_id": "$analog_button_name", + "mapping_type": "pressed" + }, + { + "to_button_id": "$hover_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "$gamepad_top_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$gamepad_right_button_name", + "input_mode_condition": "gamepad_and_not_gaze", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$gamepad_bottom_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_clear", + "to_button_id": "$gamepad_left_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot1", + "to_button_id": "$gamepad_top_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot2", + "to_button_id": "$gamepad_right_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot3", + "to_button_id": "$gamepad_bottom_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.slot4", + "to_button_id": "$gamepad_left_button_name", + "mapping_type": "global" + } + ], + "property_bag": { + "#hover_slice": 0 + }, + + "bindings": [ + { + "binding_name": "#init_selection_wheel_input_mode", + "binding_condition": "once" + } + ] + }, + + /* ============================================================ + Emote Wheel Panel + + */ + "emote_selection_wheel@persona_common.selection_wheel": { + "inner_radius": 0.35, + "outer_radius": 1.0, + "$slice_count": 4, + "$select_button_name": "button.emote_selected", + "$hover_button_name": "button.emote_hovered", + "$analog_button_name": "button.emote_hovered_via_analog", + "$ignore_touch_labels|default": false, + "$button_focus_precedence": 10, + "focus_identifier": "emote_wheel", + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP", + "focus_change_up": "FOCUS_OVERRIDE_STOP", + + "controls": [ + { + "default_state@persona_common.wheel_state": { + "texture": "textures/ui/emote_wheel_updated_base" + } + }, + { + "emote_slot_0_content@persona_common.emote_wheel_slot_content": { + "$emote_slot_index": 0, + "$emote_slot_name": "$gamepad_top_emote_name", + "$wheel_state_texture": "textures/ui/emote_wheel_updated_select_0", + "$emote_image_offset": [ 0, "-33%" ], + "$emote_touch_label_offset": [ 0, "-50%y - 50% - 3px" ], + "$emote_touch_label_alignment": "center", + "$emote_touch_label_ignore": "$ignore_touch_labels" + } + }, + { + "emote_slot_1_content@persona_common.emote_wheel_slot_content": { + "$emote_slot_index": 1, + "$emote_slot_name": "$gamepad_right_emote_name", + "$wheel_state_texture": "textures/ui/emote_wheel_updated_select_1", + "$emote_image_offset": [ "33%", 0 ], + "$emote_touch_label_offset": [ "50%x + 50% + 3px", 0 ], + "$emote_touch_label_alignment": "left", + "$emote_touch_label_ignore": "$ignore_touch_labels" + } + }, + { + "emote_slot_2_content@persona_common.emote_wheel_slot_content": { + "$emote_slot_index": 2, + "$emote_slot_name": "$gamepad_bottom_emote_name", + "$wheel_state_texture": "textures/ui/emote_wheel_updated_select_2", + "$emote_image_offset": [ 0, "33%" ], + "$emote_touch_label_offset": [ 0, "50%y + 50% + 3px" ], + "$emote_touch_label_alignment": "center", + "$emote_touch_label_ignore": "$ignore_touch_labels" + } + }, + { + "emote_slot_3_content@persona_common.emote_wheel_slot_content": { + "$emote_slot_index": 3, + "$emote_slot_name": "$gamepad_left_emote_name", + "$wheel_state_texture": "textures/ui/emote_wheel_updated_select_3", + "$emote_image_offset": [ "-33%", 0 ], + "$emote_touch_label_offset": [ "-50%x - 50% - 3px", 0 ], + "$emote_touch_label_alignment": "right", + "$emote_touch_label_ignore": "$ignore_touch_labels" + } + } + ], + "state_controls": [ + { + "control_name": "default_state" + }, + { + "control_name": "$gamepad_top_emote_name" + }, + { + "control_name": "$gamepad_right_emote_name" + }, + { + "control_name": "$gamepad_bottom_emote_name" + }, + { + "control_name": "$gamepad_left_emote_name" + } + ] + }, + + "emote_wheel_panel@common_dialogs.main_panel": { + "size": [ "100%", "100%" ], + + "$gamepad_top_emote_name": "emote_slot_0", + "$gamepad_right_emote_name": "emote_slot_1", + "$gamepad_bottom_emote_name": "emote_slot_2", + "$gamepad_left_emote_name": "emote_slot_3", + + "controls": [ + { + "emote_name@persona_common.emote_label": { + "size": [ 35, "default" ], + "max_size": [ 35, 35 ], + "text": "#emote_name", + "layer": 10, + "font_type": "smooth", + "font_scale_factor": 0.8, + "shadow": true, + "bindings": [ + { + "binding_name": "#emote_name" + } + ] + } + }, + { + "emote_wheel_content_panel": { + "type": "panel", + "size": [ "75%", "75%" ], + + "controls": [ + { "gamepad_helpers@persona_common.gamepad_hotkey_helpers": {} }, + { "keyboard_helpers@persona_common.keyboard_hotkey_helpers": {} }, + { "emote_wheel@persona_common.emote_selection_wheel": {} } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/persona_screen.json b/resource_pack/ui/persona_screen.json new file mode 100644 index 0000000..805ed94 --- /dev/null +++ b/resource_pack/ui/persona_screen.json @@ -0,0 +1,7440 @@ +{ + "namespace": "persona", + + "horizontal_1_padding": { + "type": "panel", + "size": [ 1, "100%" ] + }, + + "horizontal_2_padding": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + "horizontal_3_padding": { + "type": "panel", + "size": [ 3, 0 ] + }, + + "horizontal_4_padding": { + "type": "panel", + "size": [ 4, "100%" ] + }, + + "horizontal_6_padding": { + "type": "panel", + "size": [ 6, "100%" ] + }, + + "horizontal_4z_padding": { + "type": "panel", + "size": [ 4, 0 ] + }, + + "common_horizontal_divider@common.vertical_stack_panel": { + "size": [ "100%", 8 ], + "controls": [ + { "padding_top@common.empty_panel": { "size": [ 1, 5 ] } }, + { "divider@common.horizontal_divider": {} }, + { "padding_bottom@common.empty_panel": { "size": [ 1, 10 ] } } + ] + }, + + "horizontal_fill_padding": { + "type": "panel", + "size": [ "fill", "100%" ] + }, + + "vertical_1_padding": { + "type": "panel", + "size": [ "100%", 1 ] + }, + + "vertical_2_padding": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "vertical_4_padding": { + "type": "panel", + "size": [ "100%", 4 ] + }, + + "vertical_5_padding": { + "type": "panel", + "size": [ "100%", 5 ] + }, + + "vertical_9_padding": { + "type": "panel", + "size": [ "100%", 9 ] + }, + + "vertical_fill_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + }, + + ////////////////////////////////////////////////////////////////////////// + //// Icons + ///////////////////////////////////////////////////////////////////////// + + "common_image": { + "type": "image", + "keep_ratio": false, + "texture": "$image", + "$image|default": "#texture", + "$image_binding_name|default": "#none", + "$image_binding_type|default": "none", + + "bindings": [ + { + "binding_type": "$image_binding_type", + "binding_name": "$image_binding_name", + "binding_name_override": "#texture" + } + ] + }, + + "icon_image": { + "type": "image", + "layer": 2 + }, + + "lock_icon@icon_image": { + "size": [ 12, 11 ], + "texture": "textures/ui/icon_lock" + }, + + "realms_icon@icon_image": { + "size": [ 11, 14 ], + "texture": "textures/ui/realmsIcon" + }, + + "realms_small_icon@icon_image": { + "size": [ 8, 10 ], + "texture": "textures/ui/realm_icon_small" + }, + + "realms_banner_small@icon_image": { + "size": [ 14, 12 ], + "texture": "textures/ui/realm_banner_small" + }, + + "realms_banner_big@icon_image": { + "size": [ 24, 20 ], + "texture": "textures/ui/realm_banner_big" + }, + + "info_bulb_icon@icon_image": { + "size": [ 7, 9 ], + "texture": "textures/ui/infobulb" + }, + + "mashup_hangar@icon_image": { + "size": [ 8, 8 ], + "bilinear": true, + "texture": "textures/ui/glyph_skin_pack" + }, + + "mashup_PaintBrush@icon_image": { + "size": [ 8, 8 ], + "bilinear": true, + "texture": "textures/ui/glyph_resource_pack" + }, + + "mashup_world@icon_image": { + "size": [ 8, 8 ], + "bilinear": true, + "texture": "textures/ui/glyph_world_template" + }, + + "checkmark_icon@icon_image": { + "size": [ 7, 6 ], + "texture": "textures/ui/listcheck_smaller" + }, + + "green_checkmark_icon@icon_image": { + "size": [ 9, 7 ], + "texture": "textures/ui/realms_green_check" + }, + + "view_character_icon@icon_image": { + "size": [ 14, 14 ], + "texture": "textures/ui/icon_preview" + }, + + "info_glyph_icon@icon_image": { + "size": [ 14, 14 ], + "texture": "textures/ui/blue_info_glyph" + }, + + "right_icon@icon_image": { + "size": [ 4, 7 ], + "color": "$dressing_room_dark_button_color", + "texture": "textures/ui/chevron_right" + }, + + "left_icon@icon_image": { + "size": [ 4, 7 ], + "color": "$dressing_room_dark_button_color", + "texture": "textures/ui/chevron_left" + }, + + "close_color_icon@icon_image": { + "size": [ 15, 15 ], + "color": "$dressing_room_dark_button_color", + "texture": "textures/ui/close_button_default" + }, + + "color_picker_icon@icon_image": { + "size": [ 16, 16 ], + "texture": "textures/ui/color_picker" + }, + + "progress_loading": { + "type": "image", + "texture": "textures/ui/White", + "color": "$rarity_common_bg_color", + "$progress_loading_binding_type|default": "global", + "$progress_loading_collection_name|default": "", + "$progress_loading_binding_name|default": "", + "controls": [ + { + "progress_loading@common_store.progress_loading": { + "size": [ "100% - 2px", "100% - 2px" ], + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "bindings": [] + } + } + ], + "bindings": [ + { + "binding_type": "$progress_loading_binding_type", + "binding_condition": "always", + "binding_collection_name": "$progress_loading_collection_name", + "binding_name": "$progress_loading_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "progress_loading_input_panel": { + "type": "input_panel", + "size": [ "100%sm - 2px", "100%sm" ], + "layer": 200, + + "$input_progress_loading_collection_binding_type|default": "none", + "$input_progress_loading_prefix|default": "", + + "$input_progress_loading_binding_type|default": "global", + "$input_progress_loading_collection_name|default": "", + "$input_progress_loading_binding_name|default": "", + "bindings": [ + { + "binding_type": "$input_progress_loading_collection_binding_type", + "binding_collection_name": "$input_progress_loading_collection_name", + "binding_collection_prefix": "$input_progress_loading_prefix" + }, + { + "binding_type": "$input_progress_loading_binding_type", + "binding_collection_name": "$input_progress_loading_collection_name", + "binding_name": "$input_progress_loading_binding_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "progress_loading@persona.progress_loading": { + "bindings": [] + } + } + ] + }, + + "skin_viewer_panel_skin_model": { + "type": "panel", + "$skin_viewer_panel_skin_model_size|default": [ "51%y", "110%" ], // 5x base dimensions [20, 39] + "size": "$skin_viewer_panel_skin_model_size", + "max_size": [ "100%", "100%" ], + "$model_offset|default": [ 0, "-15%" ], + "controls": [ + { + "skin_model": { + "type": "custom", + "offset": "$model_offset", + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "$skin_model_layer|default": 5, + "layer": "$skin_model_layer", + "use_selected_skin": false, + "use_skin_gui_scale": true, + "rotation": "gesture_x", + "animation_reset_name": "screen_animation_reset", + "$skin_model_anims|default": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "anims": "$skin_model_anims", + "bindings": [ + { + "binding_type": "global", + "binding_name": "$skin_preview" + }, + { + "binding_type": "view", + "source_control_name": "$gesture_input_panel_control", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "$gesture_input_panel_control", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + } + } + ] + }, + + "skin_viewer_panel": { + "type": "input_panel", + "layer": 90, + "gesture_tracking_button": "button.turn_doll", + "bindings": [ + { + "binding_name": "#can_paperdoll_rotate", + "binding_name_override": "#always_handle_controller_direction", + "binding_condition": "always" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "toast_message": "@persona.popup_toast" + } + } + }, + { "skin_model_panel@persona.skin_viewer_panel_skin_model": {} }, + { + "arrow_panel": { + "type": "panel", + "size": [ "100%", 22 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "(not #preview_appearance_on)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "skin_color_picker_button_container": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "bindings": [ + { + "binding_name": "#left_skin_color_option_on", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "skin_color_picker_button@persona.skin_color_picker": { + "size": [ 23, 22 ], + "$focus_id": "skin_color_picker_button", + "bindings": [ + { + "binding_name": "(not #expanded_appearance_visible)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#skin_color_option_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#skin_color_option_enabled", + "binding_name_override": "#focus_enabled" + } + ] + } + } + ] + } + }, + { + "play_highlighted_emote_panel": { + "type": "panel", + "size": [ "100%", "default" ], + "visible": false, + "property_bag": { + "#visible": false + }, + "bindings": [ + { + "binding_name": "#play_highlighted_emote_helper_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gamepad_helper@common.gamepad_helper_x": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ -6, 7 ] + } + }, + { + "play_highlighted_emote_helper": { + "type": "label", + "layer": 2, + "font_scale_factor": 0.8, + "size": [ "100%", "default" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 16, -2 ], + "text_alignment": "left", + "text": "persona.preview.emote", + "color": "$dressing_room_right_side_default_text_color" + } + } + ] + } + }, + { + "right_side_button_stack_panel": { + "type": "stack_panel", + "size": [ "100%c", "100%" ], + "orientation": "horizontal", + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "controls": [ + { + "skin_color_picker_button_container": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "bindings": [ + { + "binding_name": "#right_skin_color_option_on", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "skin_color_picker_button@persona.skin_color_picker": { + "size": [ 23, 22 ], + "$focus_id": "skin_color_picker_button", + "bindings": [ + { + "binding_name": "(not #expanded_appearance_visible)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#skin_color_option_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#skin_color_option_enabled", + "binding_name_override": "#focus_enabled" + } + ] + } + } + ] + } + }, + { + "info_button@persona.info_button": { + "size": [ 22, 22 ], + "$focus_id": "info_button", + "bindings": [ + { + "binding_name": "#restricted_info_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "preview_skin_mouse@persona.preview_skin_full": { + "size": [ 22, 22 ], + "$focus_id": "skin_preview_button" + } + } + ] + } + } + ] + } + }, + { + "persona_updating@persona.loading_icon": { + "anchor_to": "top_right", + "anchor_from": "top_right", + "bindings": [ + { + "binding_name": "#persona_is_updating", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "popup_dialog__restricted_content_popup@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "layer": 96, // Must be usable on top of skin rotation input panel which has layer of 90 + "$scrolling_content": "common.empty_panel", + "$confirm_button_text": "dr.button.ok", + "controls": [ + { + "popup@common.dialog_background_hollow_2": { + "size": [ "46%", "100%c" ], + "controls": [ + { + "modal@persona.popup_frame_background": { + "size": [ "100%", "100%c + 25px" ], + "controls": [ + { + "popup_dialog_message": { + "type": "label", + "layer": 2, + "size": [ "100% - 18px", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 8 ], + "text_alignment": "center", + "text": "dr.modal.restricted_content_text", + "color": "$dressing_room_right_side_default_text_color" + } + }, + { + "image": { + "type": "image", + "size": [ "60%", "50%x" ], + "layer": 2, + "texture": "textures/ui/warning_sad_steve", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -25 ] + } + } + ] + } + }, + { + "title_label": { + "type": "label", + "size": [ "100% - 18px", "default" ], + "text": "dr.modal.restricted_content_title", + "layer": 1, + "offset": [ 0, 8 ], + "color": "$profile_create_character_selected_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { "Ok_button@persona.differences_popup_ok_button": {} } + ] + } + } + ] + }, + + ///////////////////////////////////////////// + //// real money purchase button controls //// + "offer_real_money_purchase_button@common_buttons.light_text_button": { + "size": [ "100%c", "100%" ], + "$anchor": "center", + "$pressed_button_name": "button.real_money_purchase", + "$button_text": "#purchase_with_currency_button_text", + "$button_text_binding_type": "global", + "$focus_id": "offer_real_money_purchase_button" + }, + + ///////////////////////////////////////////// + //// Realms button controls //// + "csb_timer_banner@common_csb.csb_expiration_banner": { + "size": [ "100%", 16 ] + }, + + "realms_savings_text": { + "type": "label", + "text": "#realms_saved_coins_label", + "size": [ "50%", 24 ], + "font_size": "small", + "font_scale_factor": 1.2, + "color": "$store_csb_gold_text_color", + "bindings": [ + { + "binding_name": "#realms_redeem_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#realms_saved_coins_label", + "binding_type": "global" + } + ] + }, + + "realms_redeem_button_content@common.empty_panel": { + "$realms_button_text|default": "", + + "controls": [ + { + "csb_icon@common_csb.csb_icon_large": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$pack_icon_size": [ "100%y", "100% + 10px" ], + "offset": [ "-2px", "0px" ] + } + }, + { + "realms_text_label": { + "type": "label", + "layer": 2, + "size": [ "100%", 10 ], + "max_size": [ "100%", "100%" ], + "text_alignment": "center", + "text": "persona.csb.see.subscription", + "color": "$text_color", + "$realms_button_text_offset|default": [ 0, 0 ], + "offset": "$realms_button_text_offset" + } + } + ] + }, + + "realms_redeem_button@common_buttons.light_content_button": { + "max_size": [ "50%", "100%" ], + "size": [ "fill", "100%" ], + "$realms_button_text_offset": [ 8, 0 ], + "$pressed_button_name": "button.redeem_realms_item", + "$button_content": "persona.realms_redeem_button_content", + "$realms_button_text": "persona.realms.redeem", + "bindings": [ + { + "binding_name": "#realms_redeem_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "realms_subscription_button@common_buttons.light_content_button": { + "size": [ "50%", "100%" ], + "$realms_button_text_offset": [ 8, 0 ], + "$pressed_button_name": "button.see_realms_subscription", + "$button_content": "persona.realms_redeem_button_content", + "$realms_button_text": "persona.csb.see.subscription", + "bindings": [ + { + "binding_name": "#realms_subscription_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + /////////////////////////////// + //// coin purchase button ///// + "offer_coin_purchase_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.coin_purchase", + "$ignore_markdown_filler_panel": "#is_on_sale", + "$button_content": "pdp.large_button_coin_purchase_label", + "$is_on_sale": false, + "$coin_image_on_right": false, + "$is_purchase_button": true, + "$interact_button_id": "button.purchase_with_coins", + "$markdown_size": [ "100% + 2px", "100% + 4px" ], + "$strike_thru_offset": [ 0, -1 ], + "$markdown_offset": [ -1, 0 ], + "$focus_id": "offer_coin_purchase_button", + + "bindings": [ + { + "binding_name": "(not #persona_is_updating)", + "binding_name_override": "#enabled" + } + ] + }, + + "achievement_text_button@common_buttons.light_text_button": { + "$focus_id": "offer_coin_purchase_button", + "$persona_focus_precedence": 3, + "$button_font_scale_factor": 1.0 + }, + + "view_achievement@persona.achievement_text_button": { + "$pressed_button_name": "button.view_achievement", + "$button_text": "store.view_achievement" + }, + + "collect_achievement@persona.achievement_text_button": { + "$pressed_button_name": "button.collect_achievement", + "$button_text": "dr.collect_achievement_item" + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// Equip button controls + + "a_button_helper@common.gamepad_helper_a": { + "$hide_description": true, + "$gamepad_helper_icon_size": [ 20, 20 ], + "$gamepad_helper_size": [ "100%", "100%" ], + "offset": [ "-25% - 2px", "-25% + 1px" ], + "size": [ "100%", "100%" ] + }, + + "a_button_helper_center@common.empty_panel": { + "size": [ "90%y", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "a_button_helper@persona.a_button_helper": {} } + ], + "bindings": [ + { + "binding_name": "#show_equip_button_helper", + "binding_name_override": "#visible" + } + ] + }, + + "equip_piece_text": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$text_color", + "text": "dr.equip_piece", + "text_alignment": "center" + }, + + "equip_piece_text_wrapper@common.empty_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "text@persona.equip_piece_text": {} } + ] + }, + + "equip_button_content@common.empty_panel": { + "size": [ "100%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "helper_wrapper@persona.a_button_helper_center": {} }, + { "equip_text@persona.equip_piece_text_wrapper": {} } + ] + }, + + "equip_piece_button@common_buttons.light_content_button": { + "$focus_id": "equip_piece_button", + "$persona_focus_precedence": 3, + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$pressed_button_name": "$equip_button_name", + "$button_content": "persona.equip_button_content" + }, + + "equip_button_panel": { + "type": "panel", + "size": [ "40%", "100%" ], + "controls": [ + { "equip@persona.equip_piece_button": {} } + ], + "bindings": [ + { + "binding_name": "$show_equip_button", + "binding_name_override": "#visible" + } + ] + }, + + "subcategory_equip_button_panel@persona.equip_button_panel": { + "size": [ "fill", "100%" ], + "max_size": [ "50%", "100%" ], + "$equip_button_name": "button.equip_piece", + "$show_equip_button": "#is_subcategory_equip_button_visible" + }, + + "classic_skin_equip_button_panel@persona.equip_button_panel": { + "size": [ "50%", "100%" ], + "$equip_button_name": "button.equip_skin", + "$show_equip_button": "#is_skin_equip_visible" + }, + + "size_equip_button_panel@persona.equip_button_panel": { + "$equip_button_name": "button.equip_size", + "$show_equip_button": "#is_size_equip_visible" + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// purchase button controls + + "purchase_button_panel": { + "type": "panel", + "bindings": [ + { + "binding_name": "$purchase_panel_visible_binding", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "$purchase_button_control@$purchase_button_control": { + "size": [ "100%", "100%" ], + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true + } + } + ] + }, + + "coin_purchase_panel@persona.purchase_button_panel": { + "size": [ "fill", "100%" ], + "max_size": [ "50%", "100%" ], + "$purchase_panel_visible_binding": "#is_coin_purchase_visible", + "$purchase_button_control": "persona.offer_coin_purchase_button" + }, + + "real_money_purchase@persona.purchase_button_panel": { + "size": [ "fill", "100%" ], + "max_size": [ "50%", "100%" ], + "$purchase_panel_visible_binding": "#is_currency_purchase_visible", + "$purchase_button_control": "persona.offer_real_money_purchase_button" + }, + + "achievement_button@persona.view_achievement": { + "ignored": "(not $supports_xbl_achievements)", + "size": [ "fill", "100%" ], + "max_size": [ "50%", "100%" ], + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#is_achievement_award", + "binding_name_override": "#visible" + } + ] + }, + + "collect_achievement_button@persona.collect_achievement": { + "size": [ "fill", "100%" ], + "max_size": [ "50%", "100%" ], + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#can_collect_achievement_award", + "binding_name_override": "#visible" + } + ] + }, + + "see_skin_pack_in_store@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$pressed_button_name": "button.see_pack_in_store", + "$button_text": "dr.classic_skins.see_in_store", + "$focus_id": "see_pack_in_store_button", + "bindings": [ + { + "binding_name": "#is_see_in_store_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "purchase_buttons@common.horizontal_stack_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { "padding_0@persona.horizontal_1_padding": {} }, + { "subcategory_equip@persona.subcategory_equip_button_panel": {} }, + { "coin_purchase_panel@persona.coin_purchase_panel": {} }, + { "view_achievement_button@persona.achievement_button": {} }, + { + "padding@persona.horizontal_1_padding": { + "bindings": [ + { + "binding_name": "#is_purchase_button_padding_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "classic_skin_equip@persona.classic_skin_equip_button_panel": {} }, + { "size_equip@persona.size_equip_button_panel": { "ignored": "$is_persona_sdl_enabled" } }, + { "collect_achievement_button@persona.collect_achievement_button": {} }, + { "real_money_purchase_panel@persona.real_money_purchase": {} }, + { "realms_redeem_button_panel@persona.realms_redeem_button": {} }, + { "padding_2@persona.horizontal_1_padding": {} }, + { "realms_subscription_button_panel@persona.realms_subscription_button": {} }, + { "see_skin_pack_in_store@persona.see_skin_pack_in_store": {} }, + { "realms_savings_text_label@persona.realms_savings_text": {} }, + { "emote_play_again_button@persona.emote_play_again_button": {} } + ] + }, + + "right_side_bottom_buttons@common.horizontal_stack_panel": { + "ignored": "$ignore_right_side_buttom_buttons", + "size": [ "100% - 2px", 20 ], + "offset": [ 0, -1 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "controls": [ + { "purchase_buttons_panel@persona.purchase_buttons": {} } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// Title Display Objects + + "common_title_text": { + "type": "label", + "color": "$dressing_room_right_side_default_text_color", + "layer": 2, + "size": [ "100%", "100%" ], + "text": "#right_panel_title", + "font_type": "MinecraftTen", + "text_alignment": "left", + "bindings": [ + { + "binding_name": "#right_panel_title" + } + ] + }, + + "common_title_image": { + "type": "panel", + "alpha": 0.0, + "size": [ "100%", 15 ], + + "controls": [ + { "text@persona.common_title_text": {} } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////// + ////// Title Rarity Background + + "title_rarity_positionable_title": { + "type": "label", + "size": [ "100%", "100%" ], + "layer": 11, + "offset": [ 0, -2 ], + "color": "$dressing_room_right_side_default_text_color", + "text": "$title_binding", + "$rarity_title_font_type|default": "MinecraftTen", + "font_type": "$rarity_title_font_type", + "text_alignment": "left", + "$title_binding|default": "#right_panel_title", + "$title_binding_type|default": "global", + "bindings": [ + { + "binding_type": "$title_binding_type", + "binding_name": "$title_binding" + } + ] + }, + + "title_stack_postioning_panel": { + "type": "panel", + "size": [ "fill", 10 ], + "controls": [ + { "title@persona.title_rarity_positionable_title": {} } + ] + }, + + "title_rarity_right_title": { + "type": "label", + "size": [ "default", "100%" ], + "offset": [ 0, 1 ], + "layer": 2, + "color": "$dressing_room_right_side_default_text_color", + "text": "$title_rarity_binding", + "font_size": "medium", + "text_alignment": "right", + "$title_rarity_binding|default": "#right_panel_title_rarity", + "bindings": [ + { + "binding_name": "$title_rarity_binding" + } + ] + }, + + "title_rarity_stack_postioning_panel": { + "type": "panel", + "size": [ "100%c", 10 ], + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "rarity_right_title@persona.title_rarity_right_title": {} } + ] + }, + + "title_rarity_stack@common.horizontal_stack_panel": { + "$title_rarity_stack_size|default": [ "100% - 2px", 10 ], + "size": "$title_rarity_stack_size", + + "$rarity_title_font_type|default": "MinecraftTen", + "controls": [ + { "position_title_panel_offset@persona.title_stack_postioning_panel": {} }, + { "mid_padding@persona.horizontal_2_padding": {} }, + { "position_rarity_panel_offset@persona.title_rarity_stack_postioning_panel": {} } + ] + }, + + "title_rarity_background_image@persona_common.item_rarity_color_background": { + "size": [ "100%", 14 ], + "layer": 10, + "$rarity_background_alpha": "$rarity_title_background_alpha", + + "controls": [ + { "title_stack_panel@persona.title_rarity_stack": {} } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// dressing room right side panel content + + "information_and_selection_title_bar": { + "type": "image", + "layer": 2, + "texture": "$title_bar_texture", + "color": "$title_bar_color", + "alpha": "$title_bar_alpha", + "size": [ "100%", 14 ], + "$ignore_title_bar_visibility|default": true, + "controls": [ + { "dressing_room_title@$info_title_control": {} } + ], + "bindings": [ + { + "ignored": "$ignore_title_bar_visibility", + "binding_name": "(not #is_right_panel_classic_custom_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "information_and_selection_stack@common.vertical_stack_panel": { + + "size": "$info_and_selection_panel_size", + "$title_bar_color|default": "$dressing_room_semi_dark_bg_color", + "$title_bar_texture|default": "textures/ui/White", + "$title_bar_alpha|default": "$dressing_room_panel_alpha", + "$info_bottom_section_size|default": [ "100%", "fill" ], + + "controls": [ + { "title_bar@persona.information_and_selection_title_bar": {} }, + { "bottom_section_panel@$info_content_control": { "size": "$info_bottom_section_size" } } + ] + }, + + "information_and_selection_panel": { + "type": "panel", + + "$info_and_selection_panel_size|default": [ "100%", "100%" ], + "size": "$info_content_panel_size", + + "$info_title_control|default": "common.empty_panel", + "$info_content_control|default": "common.empty_panel", + + "controls": [ + { + "stack@persona.information_and_selection_stack": {} + } + ] + }, + + "special_offer_banner": { + "ignored": "$ignore_special_banner", + "type": "image", + "size": [ "100%c + 15px", 15 ], // 15px = 3 for left side of banner + 6 for right side of banner + 6 for padding + "$special_offer_banner_offset|default": [ -3, "-60%y" ], + "offset": "$special_offer_banner_offset", + "layer": 15, + "anchor_to": "top_left", + "anchor_from": "top_left", + "texture": "textures/ui/saleribbon", + "controls": [ + { + "banner_info@common.horizontal_stack_panel": { + "size": [ "100%c", 8 ], + "offset": [ -1, -2.5 ], + "controls": [ + { + "limited_time_icon": { + "type": "image", + "size": [ "100%y", "100%" ], + "layer": 3, + "texture": "textures/ui/icon_timer", + "bindings": [ + { + "binding_name": "#is_limited_time_offer", + "binding_name_override": "#visible" + } + ] + } + }, + { "padding_0@persona.horizontal_2_padding": {} }, + { + "special_banner_text": { + "type": "label", + "layer": 3, + "font_type": "smooth", + "color": "$dressing_room_sale_banner_text_color", + "$special_banner_text_binding_name|default": "#special_banner_text", + "text": "$special_banner_text_binding_name", + "bindings": [ + { + "binding_name": "$special_banner_text_binding_name" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_specail_offer_banner_visible", + "binding_name_override": "#visible" + } + ] + }, + + "dialog_background_object_content": { + "$dialog_bg_size|default": [ "100% - 2px", "100% - 2px" ], + "offset": [ 0, 0 ], + "type": "image", + "size": "$dialog_bg_size", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": "$dressing_room_background_alpha", + "layer": 2, + "controls": [ + { + "dialog_content@$persona_dialog_content": { + "layer": 4 + } + } + ] + }, + + "dialog_background_object@common_dialogs.flat_solid_background": { + "size": [ "100%", "100%" ], + "controls": [ + { "content@persona.dialog_background_object_content": {} } + ] + }, + + "color_picker_content_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { "color_picker@persona.color_picker_panel": {} } + ] + }, + + "offer_info_section_content": { + "type": "panel", + "$offer_info_section_content_size|default": [ "100%", "100%" ], + "size": "$offer_info_section_content_size", + + "$ignore_special_banner|default": false, + + "controls": [ + { + "info_content_panels": { + "type": "panel", + + "$info_content_panel_size|default": [ "100%", "100%" ], + "size": "$info_content_panel_size", + + "controls": [ + { "offer_info_content@persona.information_and_selection_panel": {} }, + { "special_offer_banner@persona.special_offer_banner": {} } + ] + } + } + ] + }, + + "left_cycle_button@common_store.cycle_pack_left_button": { + "$cycle_pack_button_enabled": "#left_cycle_button_enabled", + "$gamepad_helper_icon_size": [ 15, 15 ] + }, + + "right_cycle_button@common_store.cycle_pack_right_button": { + "$cycle_pack_button_enabled": "#right_cycle_button_enabled", + "$gamepad_helper_icon_size": [ 15, 15 ] + }, + + ////////////////////////////////////////////////////////////////////////////////////////////////////////// + /// Right Side Stack + ////////////////////////////////////////////////////////////////////////////////////////////////////////// + + "right_side_dialog_panel": { + "type": "input_panel", + "$right_side_dialog_bg_size|default": [ "100% - 2px", "100% - 2px" ], + "$right_side_dialog_visible_binding|default": "('#is_right_info_' + $info_panel_prefix +'_panel_visible')", + "bindings": [ + { + "binding_name": "$right_side_dialog_visible_binding", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "right_side_dialog@persona.dialog_background_object": { + "size": "$right_side_dialog_size", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$dialog_bg_size": "$right_side_dialog_bg_size" + } + } + ] + }, + + "right_info_panel": { + "type": "panel", + "$right_info_panel_size|default": [ "100%", "100%" ], + "size": "$right_info_panel_size", + + "$right_side_bottom_buttons|default": "persona.right_side_bottom_buttons", + + "$ignore_right_side_buttom_buttons|default": false, + "controls": [ + { + "info_panel": { + "type": "panel", + "$right_info_panel_content_size|default": [ "100%", "100% - 2px" ], + "size": "$right_info_panel_content_size", + "controls": [ + { "right_info_content@$right_info_content_control": {} } + ] + } + }, + { "right_side_bottom_buttons@$right_side_bottom_buttons": {} } + ] + }, + + "right_info_panel_dialog_object@persona.dialog_background_object": { + "size": [ "100%", "100% - 2px" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle" + }, + + "piece_list_right_side_section@persona.right_side_dialog_panel": { + "type": "panel", + + "size": [ "100%", 65 ], + "$title_rarity_stack_size": [ "100% - 4px", 10 ], + "$rarity_title_background_alpha|default": "$dressing_room_panel_alpha", + "$info_title_control": "persona.title_rarity_background_image", + "$persona_dialog_content": "persona.offer_info_section_content", + "$info_content_control": "persona.right_info_panel", + "$right_info_content_control": "persona.info_text_box", + + "$dialog_bg_size": [ "100% - 2px", "100% - 2px" ], + "$right_side_dialog_size": [ "100%", "100% - 12px" ], + "$ignore_color_picker": false, + + "$info_panel_prefix": "piece_offer", + "controls": [ + { "right_info_panel@persona.right_info_panel_dialog_object": {} } + ] + }, + + "size_button_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "controls": [ + { + "size_equip@persona.size_equip_button_panel": { + "offset": [ 2, -2 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left" + } + } + ] + }, + + "size_right_side_info_section@persona.right_side_dialog_panel": { + "ignored": "(not $is_persona_sdl_enabled)", + "type": "input_panel", + "size": [ "100%", 65 ], + + "$title_rarity_stack_size": [ "100% - 4px", 10 ], + "$info_title_control": "persona_common.generic_title_panel", + "$persona_dialog_content": "persona.offer_info_section_content", + "$info_content_control": "persona.right_info_panel", + "$dialog_bg_size": [ "100% - 2px", "100% - 2px" ], + "$right_side_dialog_size": [ "100%", "100% - 12px" ], + "$right_info_content_control": "common.empty_panel", + "$right_side_bottom_buttons": "persona.size_button_panel", + "$ignore_color_picker": true, + "$ignore_special_banner": true, + "$ignore_title_bar_visibility": true, + + "$info_panel_prefix": "size", + "controls": [ + { "right_info_panel@persona.right_info_panel_dialog_object": {} } + ] + }, + + "right_side_stack_debug_control@common.vertical_stack_panel": { + "size": [ "100%", "fill" ], + "bindings": [ + { + "binding_name": "#is_using_dressing_room_debugging", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "debug_skin_names@common.horizontal_stack_panel": { + "size": [ "100%", 1 ], + "controls": [ + { + "debug_current_name": { + "type": "label", + "size": [ "fill", 15 ], + "font_type": "smooth", + "font_scale_factor": 0.75, + "layer": 15, + "color": "$right_side_default_text_color", + "text": "#current_skin_name", + "bindings": [ + { + "binding_name": "#current_skin_name" + } + ] + } + }, + { + "debug_active_name": { + "type": "label", + "size": [ "fill", 15 ], + "font_type": "smooth", + "font_scale_factor": 0.75, + "layer": 15, + "color": "$right_side_default_text_color", + "text": "#active_skin_name", + "bindings": [ + { + "binding_name": "#active_skin_name" + } + ] + } + } + ] + } + }, + { + "debug_skins@common.horizontal_stack_panel": { + "size": [ "100%", 75 ], + "controls": [ + { + "dressing_room_right_side_model_current@persona.skin_viewer_panel_skin_model": { + "size": [ "fill", "100%" ], + "$skin_offset": [ 0, -10 ], + "$gesture_input_panel_control": "dressing_room_skin_model", + "$skin_preview": "#current_skin" + } + }, + { + "dressing_room_right_side_model_active@persona.skin_viewer_panel_skin_model": { + "size": [ "fill", "100%" ], + "$skin_offset": [ 0, -10 ], + "$gesture_input_panel_control": "dressing_room_skin_model", + "$skin_preview": "#active_skin" + } + } + ] + } + }, + { + "debug_preview_skin_name": { + "type": "label", + "size": [ "100%", 20 ], + "layer": 15, + "font_type": "smooth", + "color": "$right_side_default_text_color", + "text": "#preview_skin_name", + "bindings": [ + { + "binding_name": "#preview_skin_name" + } + ] + } + } + ] + }, + + "persona_getting_started_title": { + "type": "label", + "layer": 2, + "size": [ "100%", 14 ], + "offset": [ 2, 0 ], + "font_type": "MinecraftTen", + "text": "dr.character_creator_getting_started_title", + "color": "$dressing_room_right_side_default_text_color", + "text_alignment": "left", + "bindings": [ + { + "binding_name": "#is_getting_started_visible", + "binding_name_override": "#visible" + } + ] + }, + + "persona_getting_started_description": { + "type": "label", + "size": [ "100% - 4px", "100% - 2px" ], + "font_type": "smooth", + "font_scale_factor": 0.7, + "color": "$dressing_room_right_side_default_text_color", + "text": "dr.character_creator_getting_started_detail", + "bindings": [ + { + "binding_name": "#is_getting_started_visible", + "binding_name_override": "#visible" + } + ] + }, + + "persona_getting_started_description_area@common.empty_panel": { + "controls": [ + { "text@persona_getting_started_description": {} } + ] + }, + + "dressing_room_right_side_model@persona.skin_viewer_panel": { + "size": [ "100%", "fill" ], + "$gesture_input_panel_control": "dressing_room_skin_model", + "$skin_preview": "#preview_skin" + }, + + "persona_getting_started_panel@persona.right_side_dialog_panel": { + "size": [ "100%", 65 ], + "$persona_dialog_content": "persona.offer_info_section_content", + "$ignore_special_banner|default": true, + + "$info_title_control": "persona.persona_getting_started_title", + "$title_bar_texture": "textures/ui/White", + "$title_bar_alpha": "$dressing_room_panel_alpha", + + "$info_content_control": "persona.persona_getting_started_description_area", + "$info_bottom_section_size": [ "100%", "100% - 12px" ], + + "$right_side_dialog_size": [ "100%", "100% - 2px" ], + "$right_side_dialog_bg_size": [ "100% - 2px", "100% - 2px" ], + + "$info_panel_prefix": "getting_started" + }, + + "right_side_color_picker_panel@persona.right_side_dialog_panel": { + "size": [ "100%", "100%c + 2px" ], + "$right_side_dialog_size": [ "100%", 63 ], + + "$info_title_control": "persona.color_picker_info_panel_title", + "$persona_dialog_content": "persona.offer_info_section_content", + + "$info_panel_prefix": "color_picker", + "$right_side_dialog_visible_binding": "#show_color_picker" + }, + + "right_side_offer_info_skins@persona.right_side_dialog_panel": { + "$right_side_dialog_size": [ "100%", "100% - 2px" ], + "size": [ "100%", 65 ], + + "$title_rarity_stack_size": [ "100% - 2px", 10 ], + "$info_title_control": "persona.right_panel_classic_skins_title", + "$persona_dialog_content": "persona.offer_info_section_content", + "$info_content_control": "persona.right_panel_classic_skin_content", + + "$info_panel_prefix": "classic_skin" + }, + + "right_panel_classic_skin_featured_grid": { + "type": "grid", + "size": [ "100% - 2px", "100%c" ], + + "$persona_featured_skin_pack_binding_type|default": "collection", + "$persona_featured_skin_pack_collection_prefix|default": "persona_featured_skin_pack", + "$persona_featured_skin_pack_collection_name|default": "persona_featured_skin_pack_collection", + + "$featured_skin_skin_dimension_binding": "#featured_skin_pack_dimensions", + "$grid_item_template|default": "persona.featured_skin_pack_button_panel", + "$feature_skin_pack_button_size|default": [ "33%", "56.25%x" ], + "grid_item_template": "$grid_item_template", + "collection_name": "$persona_featured_skin_pack_collection_name", + "$featured_skin_grid_dimensions|default": [ 3, 1 ], + "grid_dimensions": "$featured_skin_grid_dimensions" + }, + + "classic_skin_featured_content@common.horizontal_stack_panel": { + "size": [ "100% - 4px", "100%cm" ], + + "$featured_skin_grid_panel_size|default": [ "fill", "100%c + 4px" ], + "$cycle_button_panel_size": [ 15, "100%sm" ], + "$cycle_button_size": [ "100%", "90%" ], + "$ignore_cycle_buttons|default": false, + "$is_skins": true, + + "controls": [ + { + "left_cycle_button@persona.left_cycle_button": { + "size": [ 15, "100%sm" ], + "$pressed_button_name": "button.cycle_featured_skins_left", + "$cycle_pack_button_name_right": "button.cycle_featured_skins_right", + "$cycle_pack_button_name_left": "button.cycle_featured_skins_left", + "$cycle_pack_button_enabled": "#is_left_cycle_featured_skins_button_enabled" + } + }, + { + "featured_skin_grid_panel": { + "type": "panel", + "size": "$featured_skin_grid_panel_size", + "controls": [ + { "featured_skin_grid@persona.right_panel_classic_skin_featured_grid": {} } + ] + } + }, + { + "right_cycle_button@persona.right_cycle_button": { + "size": [ 15, "100%sm" ], + "$pressed_button_name": "button.cycle_featured_skins_right", + "$cycle_pack_button_name_right": "button.cycle_featured_skins_right", + "$cycle_pack_button_name_left": "button.cycle_featured_skins_left", + "$cycle_pack_button_enabled": "#is_right_cycle_featured_skins_button_enabled" + } + } + ] + }, + + "classic_skin_featured_panel_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "classic_skin_featured_content@persona.classic_skin_featured_content": {} } + ] + }, + + "right_side_classic_skin_featured_panel@persona.right_side_dialog_panel": { + "size": [ "100%", "100%c + 4px" ], + + "$right_side_dialog_size": [ "100%", "100%c + 2px" ], + "$right_side_dialog_bg_size": [ "100% - 2px", "100%c" ], + + "$rarity_title_background_alpha|default": "$dressing_room_panel_alpha", + "$info_title_control": "persona.title_rarity_background_image", + "$info_content_control": "persona.classic_skin_featured_panel_content", + "$persona_dialog_content": "persona.offer_info_section_content", + + "$offer_info_section_content_size": [ "100%", "100%c" ], + "$info_content_panel_size": [ "100%", "100%cm" ], + "$info_and_selection_panel_size": [ "100%", "100%c" ], + "$info_bottom_section_size": [ "100%", "100%cm" ], + + "$ignore_cycle_buttons": true, + + "$info_panel_prefix": "classic_skin_featured" + }, + + "emotes_right_info_panel@persona.right_info_panel": { + "$right_side_bottom_buttons|default": "persona.emotes_right_side_bottom_buttons" + }, + + "right_side_emotes_info_panel@persona.piece_list_right_side_section": { + "$ignore_title_bar_visibility": true, + "$info_panel_prefix": "emote", + "$info_content_control": "persona.emotes_right_info_panel", + "$persona_dialog_content": "persona.offer_info_section_content" + }, + + "right_side_stack@common.vertical_stack_panel": { + "size": [ "fill", "100%" ], + "$right_side_default_text_color": "$dressing_room_right_side_default_text_color", + "$left_focus_container_override|default": "left_main_panel", + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "custom", + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_down": "stop", + "focus_navigation_mode_up": "custom", + "focus_container_custom_up": [ + { + "other_focus_container_name": "top_bar" + } + ], + "focus_container_custom_left": [ + { + "other_focus_container_name": "$left_focus_container_override" + } + ], + + "controls": [ + { "debug_information@persona.right_side_stack_debug_control": {} }, + { "dressing_room_skin_model@persona.dressing_room_right_side_model": {} }, + { "padding@persona.vertical_2_padding": {} }, + { "csb_banner@persona.csb_timer_banner": {} }, + + // below are the sub sections which dis/re-appear depending on context. + { + "offer_related_info_panels": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { "getting_started@persona.persona_getting_started_panel": {} }, + { "piece_offer_info_panel@persona.piece_list_right_side_section": {} }, + { "size_info_panel@persona.size_right_side_info_section": {} }, + { "offer_info_panel_skins@persona.right_side_offer_info_skins": {} }, + { "emote_info_panel@persona.right_side_emotes_info_panel": {} } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "color_picker_info_panel", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + }, + { "color_picker_info_panel@persona.right_side_color_picker_panel": {} } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// dressing room right side panel content + + "info_text_summary_author_button@common_buttons.underline_button": { + "offset": [ 2, 0 ], + "size": [ "100%c", 12 ], + "layer": 2, + "$pressed_button_name": "button.seeMoreBy", + "$single_label_size": [ "default", 10 ], + "$single_line_label_offset": [ 0, 0 ], + "$single_line_font_scale_factor": 1, + "$single_line_label_color": "$right_side_default_text_color", + "$single_line_label_text": "#creator_label", + "$label_text_bindings": [ + { + "binding_name": "$single_line_label_text" + } + ], + "bindings": [ + { + "binding_name": "(not #emotes_active)", + "binding_name_override": "#enabled" + } + ] + }, + + "info_text_summary_button_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "bindings": [ + { + "binding_name": "(not (#creator_label = ''))", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "summary_author_button@persona.info_text_summary_author_button": {} } + ] + }, + + "info_text_box_description_stack_locked_icon@persona.icon_image": { + "size": [ 12, 11 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "bindings": [ + { + "binding_name": "#achievement_offer_lock_state_texture", + "binding_name_override": "#texture" + } + ] + }, + + "info_text_box_description_stack_lock_state_panel@common.empty_panel": { + "size": [ 15, "100%" ], + "bindings": [ + { + "binding_name": "#is_offer_achievement", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "locked_state_icon@persona.info_text_box_description_stack_locked_icon": {} } + ] + }, + + "info_text_box_description_stack_description_label": { + "type": "label", + "size": [ "100%", 14 ], + "offset": [ 0, 5 ], + "layer": 2, + "color": "$right_side_default_text_color", + "text": "#right_panel_description", + "font_type": "smooth", + "font_scale_factor": 0.7, + "bindings": [ + { + "binding_name": "#right_panel_description" + } + ] + }, + + "info_text_description_padding@persona.horizontal_2_padding": { + "bindings": [ + { + "binding_name": "(not #is_offer_achievement)", + "binding_name_override": "#visible" + } + ] + }, + + "description_reward_panel": { + "type": "panel", + "size": [ "fill", "fill" ], + "bindings": [ + { + "binding_name": "(not (#creator_label = ''))", + "binding_name_override": "#visible" + }, + { + "binding_name": "#right_panel_description" + } + ], + "controls": [ + { "summary_author_button@persona.info_text_box_description_stack_description_label": {} } + ] + }, + + "info_text_box_description_stack_label_panel@common.horizontal_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { "lock_state_icon_panel@persona.info_text_box_description_stack_lock_state_panel": {} }, + { "padding@persona.info_text_description_padding": {} }, + { "description_text_panel@persona.description_reward_panel": {} } + ] + }, + + "info_text_box_description_label_stack@common.vertical_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { "description_label_panel@persona.info_text_box_description_stack_label_panel": {} } + ] + }, + + "info_text_box_description_stack@common.vertical_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { "summary_author_button_panel@persona.info_text_summary_button_panel": {} }, + { "description_label_vert_stack@persona.info_text_box_description_stack_label_panel": {} } + ] + }, + + "info_text_box_padding@persona.vertical_2_padding": { + "bindings": [ + { + "binding_name": "#currency_purchase_visible", + "binding_name_override": "#visible" + } + ] + }, + + "info_text_box@common.vertical_stack_panel": { + "size": [ "100%", "100% - 17px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "$legal_text_offset": [ 2, -4 ], + "controls": [ + { "description_panel@persona.info_text_box_description_stack": {} }, + { "mid_padding@persona.info_text_box_padding": {} }, + { "disclaimer_panel@common_store.disclaimer_panel": {} } + ] + }, + + "category_featured_offer_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%cm" ], + + "$cycle_button_panel_size": [ 15, "100%sm" ], + "$cycle_button_size": [ "100%", "90%" ], + + "$ignore_cycle_buttons|default": false, + "$ignore_piece_offer_grid_dimension_binding": true, + + "controls": [ + { + "left_cycle_button@persona.left_cycle_button": { + "size": [ 15, "100%sm" ], + "$pressed_button_name": "button.cycle_featured_pieces_left", + "$cycle_pack_button_name_left": "button.cycle_featured_pieces_left", + "$cycle_pack_button_enabled": "#is_left_cycle_featured_pieces_button_enabled" + } + }, + { + "left_padding": { + "ignored": "$ignore_cycle_buttons", + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "category_featured_offer_grid_panel": { + "type": "stack_panel", + "$category_featured_offer_grid_size|default": [ "fill", "17%x" ], + "size": "$category_featured_offer_grid_size", + + "$piece_section_collection_details": "collection_details", + "$piece_section_binding_type": "collection", + "$piece_section_collection_prefix": "piece_section", + "$piece_section_collection_name": "piece_section_collection", + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + } + ], + "controls": [ + { + "category_featured_offer_grid@persona.persona_piece_offer_grid": { + "size": [ "100%", "100%" ], + "clip_state_change_event": "", + "$featured_grid_dimensions|default": [ 6, 1 ], + "grid_dimensions": "$featured_grid_dimensions", + "grid_rescaling_type": "none" + } + } + ] + } + }, + { + "right_padding": { + "ignored": "$ignore_cycle_buttons", + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "right_cycle_button@persona.right_cycle_button": { + "size": [ 15, "100%sm" ], + "$pressed_button_name": "button.cycle_featured_pieces_right", + "$cycle_pack_button_name_right": "button.cycle_featured_pieces_right", + "$cycle_pack_button_enabled": "#is_right_cycle_featured_pieces_button_enabled" + } + } + ] + }, + + "category_featured_offer_panel": { + "type": "panel", + "$category_featured_offer_panel_size|default": [ "100%", "100%cm + 2px" ], + "size": "$category_featured_offer_panel_size", + + "$persona_piece_collection_name": "piece_collection", + "$piece_grid_dimension_binding": "'#' + $piece_section_collection_prefix + '_grid_dimension_binding'", + + "$category_featured_offer_size|default": [ "16.7% - 2px", "100%" ], + + "$pressed_button_function": "('button.' + $piece_section_collection_prefix)", + + "$input_progress_loading_binding_type": "$piece_section_binding_type", + "$input_progress_loading_collection_name": "$piece_section_collection_name", + "$input_progress_loading_binding_name": "('#is_' + $piece_section_collection_prefix + '_section_loading')", + + "$ignore_emote_keybind_helpers": true, + "$piece_grid_visible_binding_name": "('#is_' + $piece_section_collection_prefix + '_offers_visible'", + + "controls": [ + { + "category_featured_content@persona.category_featured_offer_content": { + "$persona_piece_size": "$category_featured_offer_size" + } + }, + { + "progress_loading_input_panel@persona.progress_loading_input_panel": {} + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// color picker controls + + "color_picker@common.tooltip_background": { + "size": [ 210, 88 ], + "layer": 100, + "controls": [ + { "panel_control@$child_control": {} } + ] + }, + + "color_grid": { + "type": "grid", + "size": [ "100% - 2px", "100%c + 2px" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "grid_item_template": "persona.color_grid_item", + "grid_rescaling_type": "horizontal", + "grid_dimension_binding": "#color_single_page_size", + "collection_name": "color_collection", + "bindings": [ + { + "binding_name": "#color_single_page_size", + "binding_name_override": "#maximum_grid_items" + } + ] + }, + + "color_picker_info_panel_title": { + "type": "image", + "size": [ "100%", 12 ], + "alpha": "$dressing_room_panel_alpha", + "texture": "textures/ui/White", + "bindings": [ + { + "binding_name": "#color_picker_info_panel_title_color", + "binding_name_override": "#color" + } + ], + "controls": [ + { + "color_name": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "font_type": "MinecraftTen", + "color": "$dressing_room_right_side_default_text_color", + "layer": 2, + "offset": [ 2, -1 ], + "text": "#color_picker_info_panel_title_name", + "text_alignment": "left", + "bindings": [ + { + "binding_name": "#color_picker_info_panel_title_name" + } + ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// classic skins right side panel content + "appearance_status_image_panel@common.empty_panel": { + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "usage_limited@persona.info_bulb_icon": { + "bindings": [ + { + "binding_name": "#skin_pack_right_panel_usage_is_limited", + "binding_name_override": "#visible" + } + ] + } + }, + { + "usage_not_limited@persona.green_checkmark_icon": { + "bindings": [ + { + "binding_name": "(not #skin_pack_right_panel_usage_is_limited)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "appearance_status_panel": { + "type": "panel", + "controls": [ + { + "appearance_status@common.horizontal_stack_panel": { + "size": [ "100% - 4px", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "appearance_status_image_panel@persona.appearance_status_image_panel": {} + }, + { + "label_panel": { + "type": "panel", + "size": [ "85%", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "size": [ "100%", 10 ], + "offset": [ 0, -1 ], + "layer": 2, + "text_alignment": "left", + "color": "$dressing_room_right_side_default_text_color", + "text": "#skin_pack_right_panel_usage_text", + "font_type": "smooth", + "bindings": [ + { + "binding_type": "global", + "binding_name": "#skin_pack_right_panel_usage_text" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "roamable_status_notification_panel": { + "type": "input_panel", + "size": [ "100%", 10 ], + "$text_binding_name|default": "#skin_pack_right_panel_usage_text", + "button_mappings": [ + { + "to_button_id": "button.is_appearance_status_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "appearance_status_notification@common_buttons.static_tooltip_notification_panel": { + "size": [ "100%", "100%" ], + "offset": [ "-50% + 10px", 0 ], + "button_mappings": [], + "consume_hover_events": false, + "focus_enabled": true, + "$static_tooltip_button_visibility_binding_name": "#is_right_panel_classic_skin_pack_visible", + "$tooltip_popup_visible_binding": "#is_appearance_status_hover_panel_visible", + "$override_tooltip_popup_image": true, + "$tooltip_popup_override_image_panel": "persona.appearance_status_image_panel", + "$tooltip_text_binding_name": "#skin_pack_right_panel_usage_tooltip_text", + "$tooltip_panel_content": "common.empty_panel", + "$tooltip_panel_content_background_alpha": 0.0, + "$tooltip_panel_size": [ "140%", "100%cm + 8px" ], + "$tooltip_panel_offset": [ "-14%", "-100%c - 2px" ], + "$tooltip_popup_chevron_offset": [ "7%", "100%y - 3px" ], + "$tooltip_chevron_anchor": "bottom_middle", + "$tooltip_text_font_type": "smooth", + "$button_tts_name": "$text_binding_name", + "bindings": [ + { + "binding_type": "global", + "binding_name": "$text_binding_name" + } + ] + } + }, + { + "roamable_status@persona.skin_info_label_and_image": { + "$texture_to_show": "persona.appearance_status_image_panel", + "$text_binding_name": "#skin_pack_right_panel_usage_text" + } + } + ] + }, + + "pack_information_skins_and_world@common.vertical_stack_panel": { + "size": [ "40%", 22 ], + "$middle_padding|default": "persona.vertical_2_padding", + "controls": [ + { + "skins@persona.skin_info_label_and_image": { + "size": [ "100%", 10 ], + "$texture_to_show": "persona.mashup_hangar", + "$text_binding_name": "#skin_pack_right_panel_skin_count_text" + } + }, + { "mid_padding@$middle_padding": {} }, + { + "worlds@persona.skin_info_label_and_image": { + "size": [ "100%", 10 ], + "$texture_to_show": "persona.mashup_world", + "$text_binding_name": "#skin_pack_right_panel_world_count_text" + } + } + ] + }, + + "pack_information_textures_and_usage_tooltip@common.vertical_stack_panel": { + "size": [ "60%", 22 ], + "$middle_padding|default": "persona.vertical_2_padding", + "controls": [ + { + "textures@persona.skin_info_label_and_image": { + "size": [ "100%", 10 ], + "$texture_to_show": "persona.mashup_PaintBrush", + "$text_binding_name": "#skin_pack_right_panel_texture_pack_count_text" + } + }, + { "mid_padding@$middle_padding": {} }, + { "appearance_status@persona.roamable_status_notification_panel": {} } + ] + }, + + "popup_dialog_close_button@common_buttons.light_text_button": { + "layer": 2, + "$pressed_button_name": "button.close_dialog", + "$button_text": "gui.close", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.close_dialog", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.close_dialog", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.close_dialog", + "mapping_type": "focused" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// Realms plus extra info popup + + "realms_extra_info_button_collection@common.vertical_stack_panel": { + "size": [ "100% - 16px", 26 ], + "offset": [ 0, -10 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "close@persona.popup_dialog_close_button": {} } + ] + }, + + "realms_extra_info_panel_text": { + "type": "label", + "layer": 2, + "color": "$light_button_default_text_color", + "offset": [ 0, 7 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "font_type": "default", + "text": "#realms_plus_skin_pack_name", + "bindings": [ + { + "binding_name": "#realms_plus_skin_pack_name" + } + ] + }, + + "realms_extra_info_pack_info": { + "size": [ 94, 53 ], + "type": "image", + "keep_ratio": false, + "bindings": [ + { + "binding_name": "#realms_plus_skin_pack_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "#realms_plus_skin_pack_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "realms_extra_info_content@common.empty_panel": { + "size": [ "100% - 16px", "100% - 65px" ], + "anchor_to": "center", + "anchor_from": "center", + "offset": [ 0, -9.5 ], + "controls": [ + { + "the_spread@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "offset": [ 7, 6 ], + "controls": [ + { "pack_image@persona.realms_extra_info_pack_info": {} }, + { "padding@persona.horizontal_6_padding": {} }, + { + "the_info_stack@common.vertical_stack_panel": { + "$middle_padding": "persona.vertical_5_padding", + "controls": [ + { "skins_and_world@persona.pack_information_skins_and_world": {} }, + { "padding@$middle_padding": { "size": [ "100%", 6 ] } }, + { "textures_and_usage@persona.pack_information_textures_and_usage_tooltip": {} } + ] + } + } + ] + } + } + ] + }, + + "realms_extra_info_panel@common.empty_panel": { + "controls": [ + { "realms_extra@persona.realms_extra_info_content": {} }, + { "button_group@persona.realms_extra_info_button_collection": {} } + ] + }, + + "realms_plus_extra_info_popup_dialog_bg@common_dialogs.dialog_background_hollow_2": { + "size": [ "100%", "100%" ], + "$persona_popup_title_text|default": "dr.classic_skins.select_skin.title", + "$persona_popup_title_font_type|default": "MinecraftTen", + "$persona_popup_title_offset|default": [ 0, 8 ], + "controls": [ + { + "background_image": { + "type": "image", + "layer": -1, + "size": "$section_content_size", + "offset": "$section_content_offset", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": "$dressing_room_background_alpha" + } + }, + { "title@persona.realms_extra_info_panel_text": {} }, + { "popup_content@$dialog_content": {} } + ] + }, + + "popup_dialog__realms_plus_extra_info@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "layer": 990, + "$message_text": "dr.classic_skins.select_skin", + "$section_content_size": [ "100%", "100% - 16px" ], + "$section_content_offset": [ 0, 0 ], + "controls": [ + { + "background_image": { + "type": "image", + "size": [ "100%", "100% + 64px" ], + "offset": "$section_content_offset", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": 0.8 + } + }, + { + "dialog_bg@persona.realms_plus_extra_info_popup_dialog_bg": { + "$dialog_content": "persona.realms_extra_info_panel", + "size": [ 219, 133 ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// right panel skin pack info + + "right_realms_pack_button_more_info@common_buttons.light_content_button": { + "layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90 + "$button_content": "persona.bigger_usage_limited_bulb", + "size": [ 21.5, 20 ], + "$button_size_override": [ 20, 20 ], + "$pressed_button_name": "button.realms_pack_more_info", + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true + }, + + "right_panel_pack_information_content@common.horizontal_stack_panel": { + "size": [ "100% - 4px", "100%cm + 26px" ], + "controls": [ + { "padding@persona.horizontal_4z_padding": {} }, + { "skins_and_world@persona.pack_information_skins_and_world": {} }, + { "textures_and_usage@persona.pack_information_textures_and_usage_tooltip": {} } + ], + "bindings": [ + { + "binding_name": "(not #is_currency_purchase_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "right_panel_disclaimer_and_info_button@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "disclaimer_panel@common_store.disclaimer_panel": { "size": [ "fill", "100% - 26px" ] } }, + { "realms_plus_more_info_button@persona.right_realms_pack_button_more_info": {} } + ], + "bindings": [ + { + "binding_name": "#is_currency_purchase_visible", + "binding_name_override": "#visible" + } + ] + }, + + "right_panel_pack_info_content_stack@common.empty_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "information@persona.right_panel_pack_information_content": {} }, + { "right_disclaimer_button@persona.right_panel_disclaimer_and_info_button": {} } + ] + }, + + "right_panel_classic_skin_pack@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { + "pack_info@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "top_padding@persona.vertical_2_padding": {} }, + { "right_panel_pack_info_content@persona.right_panel_pack_info_content_stack": {} }, + { "bottom_padding@persona.vertical_5_padding": {} } + ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + "featured_skin_pack_button_content_panel": { + "type": "panel", + "controls": [ + { + "featured_skin_pack_button_content_visible_panel": { + "type": "panel", + "controls": [ + { + "featured_skin_pack_button_content@persona.in_use_grid_item": { + "size": [ "100% - 2px", "100% - 2px" ], + "$in_use_grid_collection_name": "$featured_skin_pack_collection_name" + } + }, + { + "offer_state_info@persona.offer_state_info": { + "$offer_state_info_collection_name": "$featured_skin_pack_collection_name" + } + } + ], + "bindings": [ + { + "binding_type": "collection", + "binding_name": "(not #is_featured_classic_skin_loading)", + "binding_collection_name": "$featured_skin_pack_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@persona.progress_loading": { + "bindings": [ + { + "binding_type": "collection", + "binding_condition": "always", + "binding_name": "#is_featured_classic_skin_loading", + "binding_collection_name": "$featured_skin_pack_collection_name", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "featured_skin_pack_button_panel": { + "type": "panel", + "size": "$feature_skin_pack_button_size", + "$featured_skin_pack_collection_name": "persona_featured_skin_pack_collection", + "$pressed_button_name": "button.featured_skin_pack_pressed", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#is_featured_pack_visible", + "binding_collection_name": "$featured_skin_pack_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "featured_skin_pack_button@common.button": { + "max_size": [ "100%", "100%" ], + "$controller_left_bumper_mapping|default": "", + "$controller_right_bumper_mapping|default": "", + "controls": [ + { "default@common.empty_panel": {} }, + { "hover@persona.focus_border": {} }, + { "pressed@persona.focus_border": {} }, + { "featured_content@persona.featured_skin_pack_button_content_panel": {} } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.asset_button_hovered", + "mapping_type": "pressed" + }, + { + "ignored": "($controller_left_bumper_mapping = '')", + "from_button_id": "button.menu_tab_left", + "to_button_id": "$controller_left_bumper_mapping", + "mapping_type": "focused" + }, + { + "ignored": "($controller_right_bumper_mapping = '')", + "from_button_id": "button.menu_tab_right", + "to_button_id": "$controller_right_bumper_mapping", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$featured_skin_pack_collection_name", + "binding_collection_prefix": "persona_featured_skin_pack" + } + ] + } + } + ] + }, + + "to_realms_plus_screen_realms_text": { + "type": "label", + "offset": [ 0, 2 ], + "size": [ "100%", "100%" ], + "text": "dr.classic_skins.realms_plus_button", + "text_alignment": "center", + "color": "$light_button_default_text_color" + }, + + "to_realms_plus_screen_realms_text_container@common.empty_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { "to_realms_text@persona.to_realms_plus_screen_realms_text": {} } + ] + }, + + "to_realms_plus_screen_realms_banner@persona.realms_banner_big": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ -3, 0 ], + "controls": [ + { + "realms_icon@persona.realms_icon": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "offset": [ 4, 0 ] + } + } + ] + }, + + "to_realms_plus_screen_realms_banner_container@common.empty_panel": { + "size": [ "100%cm - 3px", "100%" ], + "controls": [ + { "realms_banner@persona.to_realms_plus_screen_realms_banner": {} } + ] + }, + + "to_realms_plus_buy_screen_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "realms_banner@persona.to_realms_plus_screen_realms_banner_container": {} }, + { "realms_text@persona.to_realms_plus_screen_realms_text_container": {} } + ] + }, + + "right_panel_classic_skin_pack_bottom_buttons@common.horizontal_stack_panel": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 0, -1 ], + "size": [ "100% - 1px", 20 ], + "controls": [ + { "purchase_buttons_panel@persona.purchase_buttons": {} } + ] + }, + + "right_panel_classic_skin_pack_information@common.empty_panel": { + "controls": [ + { + "content_panel@common.empty_panel": { + "controls": [ + { "content_pack@persona.right_panel_classic_skin_pack": {} }, + { "bottom_buttons@persona.right_panel_classic_skin_pack_bottom_buttons": {} } + ], + "bindings": [ + { + "binding_name": "(not #is_classic_skin_current_offer_loading)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@persona.loading_progress_bars": { + "bindings": [ + { + "binding_name": "#is_classic_skin_current_offer_loading", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "usage_limited_bulb_panel@common.empty_panel": { + "size": [ 10, 12 ], + "controls": [ + { "bulb@persona.usage_limited_bulb": {} } + ] + }, + + "usage_limited_bulb@persona.info_bulb_icon": { + "anchor_from": "center", + "anchor_to": "center" + }, + + "bigger_usage_limited_bulb@persona.info_bulb_icon": { + "size": [ 10, 12 ], + "anchor_from": "center", + "anchor_to": "center" + }, + + "usage_limited_right_panel_text": { + "type": "label", + "size": [ "fill", "default" ], + "text": "#right_panel_description", + "text_alignment": "left", + "font_type": "smooth", + "font_scale_factor": 0.75, + + "color": "$dressing_room_right_side_default_text_color", + "bindings": [ + { + "binding_name": "#right_panel_description" + } + ] + }, + + "usage_limited_stack@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 4 ], + "controls": [ + { "left@persona.horizontal_4_padding": {} }, + { "usage_limited@persona.usage_limited_bulb_panel": {} }, + { "pad@persona.horizontal_2_padding": {} }, + { "text@persona.usage_limited_right_panel_text": {} }, + { "right@persona.horizontal_4_padding": {} } + ] + }, + + "default_body_text_panel@common.empty_panel": { + "size": [ "100%", "100%c" ], + "offset": [ 3, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "text@persona.usage_limited_right_panel_text": {} } + ] + }, + + "select_custom_skin@common_buttons.light_text_form_fitting_button": { + "$ignore_choose_skin|default": true, + "ignored": "$ignore_choose_skin", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$pressed_button_name": "button.choose_custom_skin", + "$button_text": "dr.classic_skins.choose_custom_skin", + "bindings": [ + { + "binding_name": "#custom_skin_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "info_popup_button@common_buttons.light_content_button": { + "size": [ 20, 20 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$pressed_button_name": "button.custom_skin_info_popup", + "$button_content": "persona.bigger_usage_limited_bulb" + }, + + "select_custom_skin_stack@common.empty_panel": { + "size": [ "100% - 1px", 20 ], + "offset": [ 0, -1 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "select_skin@persona.select_custom_skin": {} }, + { "extra_info@info_popup_button": {} } + ] + }, + + "right_panel_classic_skin_default_pack_information": { + "type": "panel", + "controls": [ + { "stack@persona.usage_limited_stack": {} }, + { "button_stack@select_custom_skin_stack": {} } + ] + }, + + "right_panel_classic_skin_pack_info@persona.right_panel_classic_skin_pack_information": { + "bindings": [ + { + "binding_name": "#is_right_panel_classic_skin_pack_visible", + "binding_name_override": "#visible" + } + ] + }, + + "right_panel_classic_default_skin_pack@persona.right_panel_classic_skin_default_pack_information": { + "$ignore_choose_skin": false, + "bindings": [ + { + "binding_name": "#is_right_panel_classic_custom_visible", + "binding_name_override": "#visible" + } + ] + }, + + "right_panel_classic_blank_skin_pack_info@persona.default_body_text_panel": { + "bindings": [ + { + "binding_name": "(not #is_right_panel_classic_custom_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "right_panel_classic_skin_pack_built_in@common.empty_panel": { + "controls": [ + { "default_skin_pack_info@persona.right_panel_classic_default_skin_pack": {} }, + { "blank_skin_pack_info@persona.right_panel_classic_blank_skin_pack_info": {} } + ], + "bindings": [ + { + "binding_name": "(not #is_right_panel_classic_skin_pack_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "right_panel_classic_skin_content": { + "type": "panel", + "controls": [ + { "skin_pack_info@persona.right_panel_classic_skin_pack_info": {} }, + { "built_in_skin_pack@right_panel_classic_skin_pack_built_in": {} } + ] + }, + + "right_panel_classic_skins_title@common.horizontal_stack_panel": { + "size": [ "100%", "100%cm" ], + "controls": [ + { + "padding_start@common.empty_panel": { + "size": [ "3px", "100%sm" ] + } + }, + { + "title_panel@common.empty_panel": { + "type": "input_panel", + "size": [ "50% - 4px", "100%c + 4px" ], + "controls": [ + { + "title": { + "type": "label", + "size": [ "100%", 10 ], + "layer": 2, + "color": "$dressing_room_right_side_default_text_color", + "font_type": "MinecraftTen", + "offset": [ 0, -2 ], + "text": "#skin_pack_title", + "text_alignment": "left", + "bindings": [ + { + "binding_name": "#skin_pack_title" + } + ] + } + } + ] + } + }, + { + "author_panel@common.empty_panel": { + "size": [ "50% - 2px", "100%c + 4px" ], + "controls": [ + { + "author": { + "type": "label", + "size": [ "100%", 10 ], + "layer": 2, + "color": "$dressing_room_right_side_default_text_color", + "text": "#skin_pack_author", + "text_alignment": "right", + "bindings": [ + { + "binding_name": "#skin_pack_author" + } + ] + } + } + ] + } + }, + { + "padding_end@common.empty_panel": { + "size": [ "4px", "100%sm" ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// body sizing objects + + "size_option_content": { + "type": "image", + "texture": "textures/ui/slots_bg", + "size": [ "100% - 2px", "100%" ], + "controls": [ + { + "size_option_image": { + "type": "image", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": "$image_size", + "offset": [ 0, -5 ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$size_option_collection_name", + "binding_name": "$size_option_image_binding_name", + "binding_name_override": "#texture" + } + ] + } + } + ] + }, + + "size_option_panel": { + "type": "panel", + "$size_option_panel_size|default": [ "25%", "100%" ], + "size": "$size_option_panel_size", + "controls": [ + { + "size_option_button@common.button": { + "$button_content": "persona.size_option_content", + "$pressed_button_name": "$size_option_pressed_button_name", + "$focus_id": "body_option", + "controls": [ + { "default@common.empty_panel": {} }, + { + "hover@persona.focus_border": { + "layer": 4 + } + }, + { + "pressed@persona.selected_border": { + "layer": 3 + } + }, + { + "content@$button_content": { + "layer": 2 + } + }, + { + "equipped@persona.equipped_border": { + "layer": 10, + "size": [ "100% + 2px", "100% + 2px" ], + "$enable_border": false, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$size_option_collection_name", + "binding_name": "$equipped_border_binding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "selected@persona.selected_border": { + "layer": 8, + "size": [ "100% + 2px", "100% + 2px" ], + "$enable_border": false, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$size_option_collection_name", + "binding_name": "$selection_border_binding", + "binding_name_override": "#visible" + } + ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.piece_button_hovered", + "mapping_type": "pressed" + } + ], + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$size_option_collection_name", + "binding_collection_prefix": "$size_option_collection_prefix" + } + ] + } + } + ] + }, + + "body_size_option_grid@common.horizontal_stack_panel": { + "collection_name": "$size_option_collection_name", + "layer": 10, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$size_option_collection_name", + "binding_collection_prefix": "$size_option_collection_prefix" + } + ], + "controls": [ + { + "smaller@persona.size_option_panel": { + "$image_size": [ 18, 28.8 ], + "collection_index": 0 + } + }, + { + "small@persona.size_option_panel": { + "$image_size": [ 18, 32.4 ], + "collection_index": 1 + } + }, + { + "medium@persona.size_option_panel": { + "$image_size": [ 18, 36 ], + "collection_index": 2 + } + }, + { + "tall@persona.size_option_panel": { + "$image_size": [ 18, 37.8 ], + "collection_index": 3 + } + } + ] + }, + + "arm_size_option_grid@common.horizontal_stack_panel": { + "collection_name": "$size_option_collection_name", + "layer": 10, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$size_option_collection_name", + "binding_collection_prefix": "$size_option_collection_prefix" + } + ], + "controls": [ + { + "narrow@persona.size_option_panel": { + "$image_size": [ 12.8, 20 ], + "collection_index": 0 + } + }, + { + "wide@persona.size_option_panel": { + "$image_size": [ 16, 20 ], + "collection_index": 1 + } + } + ] + }, + + "body_sizes@persona.body_size_option_grid": { + "size": [ "100%", 50 ], + "$size_option_pressed_button_name": "button.change_height", + "$size_option_image_binding_name": "#height_image_binding", + "$size_option_dimension_binding": "#body_size_dimensions", + "$selection_border_binding": "#body_size_selected", + "$equipped_border_binding": "#body_size_equipped", + "$size_option_collection_prefix": "body_size", + "$size_option_collection_name": "body_size_collection" + }, + + "arm_sizes@persona.arm_size_option_grid": { + "size": [ "100%", 30 ], + "$size_option_pressed_button_name": "button.change_arm_size", + "$size_option_image_binding_name": "#arms_image_binding", + "$size_option_dimension_binding": "#arm_size_dimensions", + "$selection_border_binding": "#arm_size_selected", + "$equipped_border_binding": "#arm_size_equipped", + "$size_option_collection_prefix": "arm_size", + "$size_option_collection_name": "arm_size_collection" + }, + + "arm_size_label": { + "type": "label", + "text": "dr.arm_size_label_text", + "color": "$dressing_room_size_default_text_color" + }, + + "body_size_label": { + "type": "label", + "text": "dr.body_size_label_text", + "color": "$dressing_room_size_default_text_color" + }, + + /////// + + "loading_progress_bars": { + "type": "image", + "layer": 2, + "texture": "textures/ui/loading_spin", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 6 ], + "uv_size": [ 7, 7 ], + "size": [ 14, 14 ], + "uv": "@progress.spinner_animation", + "controls": [ + { + "loading_text": { + "type": "label", + "offset": [ 0, -12 ], + "layer": 2, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text_alignment": "center", + "text": "dr.loading", + "color": "$dressing_room_right_side_dark_text_color" + } + } + ] + }, + + "pick_axe_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 91, + "frame_step": 10, + "fps": 30, + "reversible": false, + "easing": "linear" + }, + + "loading_icon": { + "type": "image", + "layer": 1, + "texture": "textures/ui/mine_chop_dig_animation", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 30, 30 ], + "uv_size": [ 10, 10 ], + "uv": "@persona.pick_axe_animation", + "color": [ 1, 1, 1, 1 ] + }, + + "info_button@common_buttons.light_content_button": { + "layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90 + "$button_content": "persona.info_glyph_icon", + "$button_size_override": [ 22, 22 ], + "$pressed_button_name": "button.info_popup" + }, + + "preview_skin_full@common_buttons.light_content_button": { + "layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90 + "$button_content": "persona.view_character_icon", + "$button_size_override": [ 22, 22 ], + "$pressed_button_name": "button.preview_skin", + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true + }, + + "color_picker_right_cycle@common_buttons.light_content_button": { + "$button_content": "persona.right_icon", + "$pressed_button_name": "button.swap_color_channel_right", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "color_picker_left_cycle@common_buttons.light_content_button": { + "$button_content": "persona.left_icon", + "$pressed_button_name": "button.swap_color_channel_left", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "leave_color_picker@common_buttons.light_content_button": { + "$button_content": "persona.close_color_icon", + "$pressed_button_name": "button.toggle_skin_color_picker", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false + }, + + + "left_limb_button@common_buttons.light_content_button": { + "$button_content": "persona.left_icon", + "$pressed_button_name": "button.swap_to_left_limb", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "right_limb_button@common_buttons.light_content_button": { + "$button_content": "persona.right_icon", + "$pressed_button_name": "button.swap_to_right_limb", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "skin_color_picker@common_buttons.light_content_button": { + "$button_content": "persona.color_picker_icon_content", + "layer": 92, + "$pressed_button_name": "button.toggle_skin_color_picker", + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true + }, + + "color_picker_icon_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "color_picker_icon@persona.color_picker_icon": {} } + ] + }, + + "offer_state_info": { + "type": "panel", + + "$ignore_offer_state_info|default": false, + "$offer_state_info_collection_name|default": "", + + "$piece_section_collection_details|default": "none", + "$piece_section_collection_prefix|default": "", + "$piece_section_collection_name|default": "", + "$ignore_emote_keybind_helpers|default": false, + + "controls": [ + { + "offer_state_info_panel": { + "ignored": "$ignore_offer_state_info", + "type": "panel", + "controls": [ + { + "sale_ribbon@persona.icon_image": { + "size": [ 9, 6 ], + "offset": [ -1, -1 ], + "layer": 20, + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/slot_sale", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_on_sale", + "binding_name_override": "#visible" + } + ] + } + }, + { + "limited_time@persona.icon_image": { + "size": [ 9, 9 ], + "layer": 20, + "anchor_from": "top_right", + "anchor_to": "top_right", + "texture": "textures/ui/icon_timer", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_limited_time_offer", + "binding_name_override": "#visible" + } + ] + } + }, + { + "coin_icon@persona.icon_image": { + "size": [ 9, 9 ], + "layer": 21, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "texture": "textures/ui/icon_minecoin_9x9", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_purchasable_and_not_free", + "binding_name_override": "#visible" + } + ] + } + }, + { + "free_download@persona.icon_image": { + "size": [ 8, 10 ], + "layer": 22, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "texture": "textures/ui/free_download", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_redeemable", + "binding_name_override": "#visible" + } + ] + } + }, + { + "new_offer_symbol@persona.icon_image": { + "size": [ 9, 9 ], + "offset": [ -1, -1 ], + "layer": 21, + "anchor_to": "top_left", + "anchor_from": "top_left", + "texture": "textures/ui/icon_new_item", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_new", + "binding_name_override": "#visible" + } + ] + } + }, + { + "locked_icon@persona.icon_image": { + "size": [ 12, 11 ], + "layer": 20, + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "texture": "textures/ui/icon_lock", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_locked", + "binding_name_override": "#visible" + } + ] + } + }, + { + "achievement_icons@persona.icon_image": { + "size": [ 12, 11 ], + "layer": 20, + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_achievement", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#achievement_offer_lock_state_texture", + "binding_name_override": "#texture" + } + ] + } + }, + { + "key_helpers@common.empty_panel": { + "ignored": "$ignore_emote_keybind_helpers", + "offset": [ "25%", "-30%" ], + + "controls": [ + { + "key_binding_icons@persona.icon_image": { + "size": [ 25, 25 ], + "offset": [ 1, 0 ], + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#key_bound_texture", + "binding_name_override": "#texture" + } + ] + } + }, + { + "keyboard_helpers@common.keyboard_helper": { + "offset": [ 1, 0 ], + "$hide_description": true, + "$icon_size": [ 14, 14 ], + "$icon_label_offset": [ 0.5, -1.5 ], + "$text_color": "$generic_button_text_color", + "$keyboard_character": "#key_bound_label", + + "$keyboard_character_bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "$keyboard_character" + } + ], + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_key_bound", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "color_grid_item@common_buttons.light_content_button": { + "size": [ "17% - 2px", "100%x" ], + "layer": 3, + "$hover_button_texture": "textures/ui/button_borderless_light", + "$button_pressed_offset": [ 0, 0 ], + "$button_content": "persona.color_grid_icon", + "$pressed_button_name": "button.change_piece_color", + "$focus_id": "color_grid_item", + "$button_focus_precedence": 20, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "color_collection", + "binding_collection_prefix": "color" + } + ] + }, + + "color_grid_icon": { + "type": "image", + "size": [ "100% + 2px", "100% + 2px" ], + "texture": "textures/ui/White", + "bindings": [ + { + "binding_name": "#current_panel_color", + "binding_name_override": "#color", + "binding_type": "collection", + "binding_collection_name": "color_collection" + } + ], + "controls": [ + { + "equipped@persona.equipped_border": { + "bindings": [ + { + "binding_name": "#color_equipped", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "color_collection" + } + ] + } + }, + { + "selected@persona.selected_border": { + "bindings": [ + { + "binding_name": "#color_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "color_collection" + } + ] + } + } + ] + }, + + "in_use_grid_item": { + "type": "image", + "layer": 5, + "size": [ 20, 20 ], + "fill": true, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$in_use_grid_collection_name", + "binding_name": "#in_use_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "$in_use_grid_collection_name", + "binding_name": "#in_use_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "color_picker_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "top_pad@persona.vertical_2_padding": {} }, + { + "top_bar@common.horizontal_stack_panel": { + "size": [ "100%", 20 ], + "controls": [ + { + "cycle_left": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "button@persona.color_picker_left_cycle": { + "layer": 2, + "offset": [ 5, 0 ], + "bindings": [ + { + "binding_name": "#left_color_cycle_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ] + } + }, + { + "left_bumper_panel@common.empty_panel": { + "bindings": [ + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "left_bumper@common.gamepad_helper_left_bumper": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, -20 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { "padding_0@persona.horizontal_2_padding": {} }, + { + "title": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "skin_title": { + "type": "label", + "size": [ "100%", "default" ], + "max_size": [ "100%", "100%" ], + "text": "#color_picker_title", + "text_alignment": "center", + "color": "$dressing_room_color_title", + "layer": 2, + "bindings": [ + { + "binding_name": "#color_picker_title" + } + ] + } + } + ] + } + }, + { "padding_1@persona.horizontal_2_padding": {} }, + { + "cycle_right": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "button@persona.color_picker_right_cycle": { + "layer": 2, + "offset": [ -5, 0 ], + "bindings": [ + { + "binding_name": "#right_color_cycle_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ] + } + }, + { + "right_bumper_panel@common.empty_panel": { + "bindings": [ + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "right_bumper@common.gamepad_helper_right_bumper": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, -20 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { "middle_pad@persona.vertical_1_padding": {} }, + { + "grid_of_colors@persona.scroll_section": { + "size": [ "100%", "fill" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$scrolling_content": "persona.color_grid" + } + } + ] + }, + + + /////////////////////////////////////////////////////////////////////////////////////// + //// helper objects + + "scroll_section@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scroll_size": [ 5, "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_view_port_size": [ "100% - 8px", "100%" ], + "$show_background": false, + "$bar_visible": true, + "$scroll_bar_contained": true + }, + + "skin_info_image_panel@common.empty_panel": { + "size": [ "100%c", "100%" ], + "controls": [ + { "image@$texture_to_show": {} } + ] + }, + + "skin_info_label_panel_label": { + "type": "label", + "size": [ "100%", 10 ], + "layer": 2, + "text_alignment": "left", + "color": "$dressing_room_right_side_default_text_color", + "text": "$text_binding_name", + "font_type": "smooth", + "bindings": [ + { + "binding_type": "global", + "binding_name": "$text_binding_name" + } + ] + }, + + "skin_info_label_panel@common.empty_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { "label@persona.skin_info_label_panel_label": {} } + ] + }, + + "skin_info_content_stack@common.horizontal_stack_panel": { + "size": [ "100% - 4px", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "image_panel@persona.skin_info_image_panel": {} }, + { "padding_0@persona.horizontal_2_padding": {} }, + { "label_panel@skin_info_label_panel": {} } + ] + }, + + "skin_info_label_and_image": { + "type": "panel", + "controls": [ + { "content_stack@persona.skin_info_content_stack": {} } + ] + }, + + "sub_category_label_image_button_content": { + "type": "panel", + "size": [ "100% - 6px", "100%" ], + "controls": [ + { + "stack_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + + "$content_label_image_binding_type|default": "global", + "$content_label_image_file_system_binding_type|default": "none", + "$content_label_image_collection_name|default": "", + + "controls": [ + { + "content_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "content_label": { + "type": "label", + "size": [ "100%", 12 ], + "layer": 10, + "text": "$content_label_binding_name", + "color": "$text_color", + "bindings": [ + { + "binding_type": "$content_label_image_binding_type", + "binding_collection_name": "$content_label_image_collection_name", + "binding_name": "$content_label_binding_name" + } + ] + } + } + ] + } + }, + { + "content_image_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "$content_image_size|default": [ 15, 14 ], + "controls": [ + { + "content_image": { + "type": "image", + "size": "$content_image_size", + "layer": 2, + "alpha": 1.0, + "$content_image_binding_name|default": "", + "$content_image_binding_system|default": "", + "$content_image_bindings|default": [], + "$content_image_is_dynamic|default": false, // ie. it is determined by a bind + "controls": [ + { + "border_image": { + "type": "image", + "size": [ "100% + 2px", "100% + 4px" ], + "layer": 3, + "alpha": 0.0, + "texture": "textures/ui/square_image_border_white", + "$border_bindings|default": [], + "bindings": "$border_bindings", + "$has_border|default": false + } + } + ], + "variables": [ + { + "requires": "$content_image_is_dynamic", + "$content_image_bindings": [ + { + "binding_type": "$content_label_image_binding_type", + "binding_collection_name": "$content_label_image_collection_name", + "binding_name": "$content_image_binding_name", + "binding_name_override": "#texture" + }, + { + "binding_type": "$content_label_image_file_system_binding_type", + "binding_collection_name": "$content_label_image_collection_name", + "binding_name": "$content_image_binding_system", + "binding_name_override": "#texture_file_system" + } + ] + } + ], + + "texture": "$content_image_binding_name", + "bindings": "$content_image_bindings" + } + } + ] + } + } + ] + } + }, + { + "bottom_bar": { + "type": "image", + "texture": "textures/ui/White", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "offset": [ 0, "7%" ], + "size": [ "100%", "5%" ], + "color": "$dressing_room_sub_category_seperator_color", + "alpha": 0.2 + } + } + ] + }, + + "label_image_button_content@common.horizontal_stack_panel": { + "size": [ "100% - 6px", "100%" ], + + "$content_label_image_binding_type|default": "global", + "$content_label_image_collection_name|default": "", + "$content_label_font_type|default": "MinecraftTen", + "$content_label_text_offset|default": [ 0, -2 ], + "controls": [ + { + "content_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "content_label": { + "type": "label", + "size": [ "100%", 12 ], + "layer": 10, + "text": "$content_label_binding_name", + "color": "$text_color", + "font_type": "$content_label_font_type", + "offset": "$content_label_text_offset", + "bindings": [ + { + "binding_type": "$content_label_image_binding_type", + "binding_collection_name": "$content_label_image_collection_name", + "binding_name": "$content_label_binding_name" + } + ] + } + } + ] + } + }, + { + "content_image_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "$content_image_color|default": "$text_color", + "controls": [ + { + "content_image": { + "type": "image", + "$content_image_size|default": [ 11, 11 ], + "size": "$content_image_size", + "layer": 2, + "color": "$content_image_color", + "$content_image_binding_name|default": "", + "$content_image_is_dynamic|default": false, // ie. it is determined by a bind + "$content_image_bindings|default": [ + { + "ignored": "(not $content_image_is_dynamic)", + "binding_type": "$content_label_image_binding_type", + "binding_collection_name": "$content_label_image_collection_name", + "binding_name": "$content_image_binding_name", + "binding_name_override": "#texture" + } + ], + + "texture": "$content_image_binding_name", + "bindings": "$content_image_bindings" + } + } + ] + } + } + ] + }, + + "subcategory_button@common_buttons.dark_content_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "$hover_button_name", + "mapping_type": "pressed" + } + ] + }, + + "persona_classic_skin_paper_doll": { + "type": "custom", + "$paper_doll_offset|default": [ 0, -7 ], + "offset": "$paper_doll_offset", + "size": [ "100%", "100%" ], + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "use_selected_skin": false, + "use_skin_gui_scale": true, + "enable_scissor_test": true, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ] + }, + + /* + SKIN DOLL BUTTON + Requires: + - $content_size + - $skin_collection_name + - $skin_collection_prefix + - $skin_pack_collection_name + - $skin_pack_collection_prefix + - $pressed_button_name + + Bindings: + - #is_skin_selected: + Boolean to enable the selected border on a skin in the primary collection. Has primary + and secondary collections. + - #is_skin_equipped: + Boolean to enable the equipped border on a skin in the primary collection. Has primary + and secondary collections. + - #classic_skin_index + The skin setting binding. Has primary and secondary collections. + - #is_skin_locked: + Boolean to enable the locked icon on the skin in the primary collection. Has primary + and secondary collections. + - #is_skin_index_visible + Boolean to disable the entire object but the object still must be present for grid + sizes. Has primary and secondary collections. + - #is_skin_not_equippable + Boolean to enable the locked icon on the skin in the primary collection. Has primary + and secondary collections. + - #is_skin_realms_plus + Boolean to enable the realms plus icon on the skin in the primary collection. Has primary + and secondary collections. + + $content_size: + The size of the panel. In general, the y component should be "153%x". + + $skin_collection_name: + $skin_collection_prefix: + The name and prefix for the primary collection you want this skin to be in. Usually this is the + skin index collection for the skin, not the pack. + + $skin_pack_collection_name: + $skin_pack_collection_prefix: + The name and prefix for the secondary collection you want this skin to be in. Usually this is the + pack collection, not the skin index. + + $pressed_button_name: + The button event handle that is called when the button is pressed + + $is_background_visible: (optional) + Whether or not the background of the button is visible. Default is true + */ + "skin_doll_button": { + "type": "panel", + "size": "$content_size", + + "clips_children": true, + + "$skin_binding_type|default": "global", + "$skin_collection_details|default": "none", + "$skin_collection_name|default": "", + "$skin_collection_prefix|default": "", + + "$skin_pack_collection_details|default": "none", + "$skin_pack_collection_name|default": "", + "$skin_pack_collection_prefix|default": "", + + "$section_collection_details|default": "none", + "$section_collection_name|default": "", + "$section_collection_prefix|default": "", + + "$is_background_visible|default": true, + + "$ignore_skin_focus_binds|default": true, + + "$ignore_skin_realms_plus_icon|default": false, + + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_index_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_collection_details", + "binding_collection_name": "$skin_collection_name", + "binding_collection_prefix": "$skin_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ], + "controls": [ + { + "size_control": { + "type": "panel", + "size": [ "65.21%y", "100% - 2px" ], + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/slots_bg", + "visible": "$is_background_visible" + } + }, + { + "new_offer_icon@common_store.status_new_offer_icon": { + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_new", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "locked_icon@persona.lock_icon": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_locked", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "unequippable_icon@persona.lock_icon": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_not_equippable", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "realms_plus_icon@common.empty_panel": { + "ignored": "$ignore_skin_realms_plus_icon", + "controls": [ + { + "csb_icon@common_csb.csb_icon_large": { + "layer": 3, + "$pack_icon_size": [ 8, 10 ], + "offset": [ 1, 1 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + } + ], + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_realms_plus", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "skin_button@common.button": { + "controls": [ + { "default@common.empty_panel": {} }, + { + "hover@persona.focus_border": { + "layer": 10 + } + }, + { + "pressed@persona.selected_border": { + "layer": 4 + } + }, + { + "selected@persona.selected_border": { + "layer": 8, + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_selected", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "equipped@persona.equipped_border": { + "layer": 10, + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_equipped", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "content_panel": { + "type": "panel", + "size": [ "100%", "100% - 2px" ], + "clips_children": true, + "controls": [ + { + "content@persona.persona_classic_skin_paper_doll": { + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#classic_skin_index" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$skin_collection_details", + "binding_collection_name": "$skin_collection_name", + "binding_collection_prefix": "$skin_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + }, + { + "ignored": "$ignore_skin_focus_binds", + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#skin_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "ignored": "$ignore_skin_focus_binds", + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#skin_pack_change_right", + "binding_name_override": "#focus_change_right" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + } + ] + }, + + "focus_border": { + "type": "image", + "layer": 10, + "$border_texture|default": "textures/ui/focus_border_selected", + "texture": "$border_texture" + }, + + "selected_border@persona.focus_border": { + "$border_texture": "textures/ui/focus_border_white", + "color": "$dressing_room_skin_picker_equipped_border_color" + }, + + "equipped_border": { + "type": "image", + "$enable_border|default": true, + "size": [ "100%", "100%" ], + "layer": 11, + "texture": "textures/ui/equipped_item_border" + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// tab controls + "rarity_bar_panel": { + "type": "image", + "size": [ "100%", 3 ], + "layer": 2, + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "texture": "#rarity_bar_texture", + "bindings": [ + { + "binding_type": "$persona_piece_binding_type", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#rarity_bar_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "$persona_piece_binding_type", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#rarity_bar_visible", + "binding_name_override": "#visible" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// piece offer section + + "piece_offer_button_content@persona_common.piece_item_display": { + "$offer_state_info_collection_name": "$persona_piece_collection_name", + "$item_content_control": "persona.offer_state_info", + "$is_loading": false + }, + + "piece_offer_button@common.button": { + "$focus_id": "piece_offer_button", + "$button_content|default": "common.empty_panel", + + "$hide_while_loading|default": true, + "$ignore_piece_selected|default": false, + + "$piece_section_collection_details|default": "none", + "$piece_section_collection_prefix|default": "", + "$piece_section_collection_name|default": "", + + "$progress_loading_binding_type": "$persona_piece_binding_type", + "$progress_loading_collection_name": "$persona_piece_collection_name", + "$progress_loading_binding_name": "#piece_content_downloading", + + "$controller_left_bumper_mapping|default": "", + "$controller_right_bumper_mapping|default": "", + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_collection_details", + "binding_collection_name": "$persona_piece_collection_name", + "binding_collection_prefix": "$persona_piece_prefix" + } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$controller_left_bumper_mapping", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$controller_right_bumper_mapping", + "mapping_type": "focused" + }, + { + "to_button_id": "button.persona_item_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.persona_item_unhovered", + "mapping_type": "pressed" + } + ], + + "controls": [ + { + "button_controls": { + "type": "panel", + "visible": false, + + "$loading_bindings|default": [], + "variables": [ + { + "requires": "$hide_while_loading", + "$loading_bindings": [ + { + "binding_type": "view", + "source_control_name": "progress_loading", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + ], + "bindings": "$loading_bindings", + + "controls": [ + { "default@common.empty_panel": {} }, + { + "pressed@persona.selected_border": { + "layer": 9 + } + }, + { + "csb_icon@common_csb.csb_icon_large": { + "layer": 10, + "$pack_icon_size": [ 8, 10 ], + "offset": [ "0px", "2px" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_csb", + "binding_name_override": "#visible" + } + ] + } + }, + { + "content@$button_content": { + "layer": 2 + } + }, + { + "equipped@persona.equipped_border": { + "ignored": "$ignore_piece_selected", + "layer": 10, + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_equipped", + "binding_name_override": "#visible" + } + ] + } + }, + { + "selected@persona.selected_border": { + "ignored": "$ignore_piece_selected", + "layer": 8, + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "previewed@persona.selected_border": { + "ignored": "$ignore_piece_selected", + "layer": 8, + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_being_previewed", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "hover@persona.focus_border": { + "layer": 9 + } + }, + { + "progress_loading@persona.progress_loading": { + "ignored": "(not $hide_while_loading)", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_binding_type", + "binding_condition": "always", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#piece_content_downloading", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "persona_piece_offer": { + "type": "panel", + "$persona_piece_size|default": [ "16.3%", "100%x" ], + "$max_size_centered_y_panel|default": [ "100%y", "100%" ], + "$max_size_centered_x_panel|default": [ "100%", "100%x" ], + "size": "$persona_piece_size", + + "$pressed_button_function|default": "button.apply_persona_piece", + + "controls": [ + { + "piece_offer_center_on_y_axis": { + "type": "panel", + "size": [ "100%", "100%" ], + "max_size": "$max_size_centered_y_panel", + "controls": [ + { + "piece_offer_center_on_x_axis": { + "type": "panel", + "size": [ "100%", "100%" ], + "max_size": "$max_size_centered_x_panel", + "controls": [ + { + "piece_offer_button@persona.piece_offer_button": { + "size": [ "100% - 2px", "100% - 2px" ], + "$pressed_button_name": "$pressed_button_function", + "$button_content": "persona.piece_offer_button_content", + "$button_content_size": [ "100%", "100%" ], + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_collection_details", + "binding_collection_name": "$persona_piece_collection_name", + "binding_collection_prefix": "$persona_piece_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "plus_image@common_buttons.light_text_button": { + "layer": 50, + "size": [ "100%", "100%" ], + + "$pressed_button_name": "$pressed_button_function", + "$button_text": "#piece_plus_button_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$piece_section_collection_name", + "$button_text_collection_details": "$piece_section_collection_details", + "$button_text_collection_prefix": "$piece_section_collection_prefix", + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_plus_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "persona_piece_offer_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + + "$piece_grid_dimension_binding|default": "#piece_offer_count", + "grid_dimension_binding": "$piece_grid_dimension_binding", + "grid_rescaling_type": "horizontal", + "grid_item_template": "persona.persona_piece_offer", + "$pressed_button_function|default": "button.apply_persona_piece", + "$persona_piece_prefix|default": "piece", + "$persona_piece_binding_type|default": "collection", + "$filesystem_binding_type": "collection", + "$persona_piece_collection_details|default": "collection_details", + "$persona_piece_collection_name|default": "piece_collection", + "collection_name": "$persona_piece_collection_name", + + "$piece_section_binding_type|default": "global", + "$piece_section_collection_name|default": "", + "$piece_section_collection_prefix|default": "", + + "$ignore_piece_offer_grid_dimension_binding|default": false, + + "$ignore_piece_offer_grid_visible_bind|default": true, + "$piece_grid_visible_binding_name|default": "", + + "$button_focus_precedence": 20, + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "ignored": "$ignore_piece_offer_grid_dimension_binding", + "binding_type": "$piece_section_binding_type", + "binding_collection_name": "$piece_section_collection_name", + "binding_name": "$piece_grid_dimension_binding", + "binding_name_override": "#maximum_grid_items" + }, + { + "ignored": "$ignore_piece_offer_grid_visible_bind", + "binding_type": "$piece_section_binding_type", + "binding_collection_name": "$piece_section_collection_name", + "binding_name": "$piece_grid_visible_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "persona_offer_piece_list@common.empty_panel": { + "size": [ "100%", "100%c" ], + "$persona_piece_collection_name": "($persona_piece_prefix + '_collection')", + "$piece_grid_dimension_binding": "('#' + $persona_piece_prefix + '_piece_offer_list_count')", + "$piece_grid_visible_binding_name": "('#is_' + $persona_piece_prefix + '_piece_offer_list_visible')", + "$pressed_button_function": "('button.apply_' + $persona_piece_prefix + '_piece_offer')", + "controls": [ + { "featured_piece_offer_grid@persona.persona_piece_offer_grid": {} } + ] + }, + + "featured_piece_offer_list_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$ignore_piece_offer_grid_visible_bind": false, + "controls": [ + { "category_featured_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "category_featured" } }, + { "main_featured_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "main_featured" } }, + { "profile_featured_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "profile_featured" } }, + { "custom_section_piece_list@persona.persona_offer_piece_list": { "$persona_piece_prefix": "custom_section" } } + ] + }, + + "conditional_top_padding@persona.vertical_2_padding": { + "bindings": [ + { + "binding_name": "#is_none_option_visible", + "binding_name_override": "#visible" + } + ] + }, + + "piece_section_title_panel": { + "type": "panel", + "size": [ "100%", 11 ], + "controls": [ + { + "title": { + "type": "label", + "size": [ "100% - 6px", 10 ], + "offset": [ 0, -2 ], + "layer": 1, + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "color": "$f_color_format", + "font_type": "MinecraftTen", + "text_alignment": "left", + + "$piece_section_binding_type|default": "global", + "$piece_section_collection_name|default": "", + + "$piece_section_title_bind": "#piece_section_title", + "text": "$piece_section_title_bind", + "bindings": [ + { + "binding_type": "$piece_section_binding_type", + "binding_collection_name": "$piece_section_collection_name", + "binding_name": "$piece_section_title_bind" + } + ] + } + } + ] + }, + + "limb_side_switcher@common.horizontal_stack_panel": { + "size": [ "100%", 19 ], + "controls": [ + { "padding_0@persona.horizontal_2_padding": {} }, + { + "left_button_panel": { + "type": "panel", + "size": [ 20, "100%x" ], + "controls": [ + { + "left_button@persona.left_limb_button": { + "bindings": [ + { + "binding_name": "#left_limb_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "left_bumper@common.gamepad_helper_left_bumper": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, -20 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "title": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "limb_title": { + "type": "label", + "text": "#limb_title", + "font_type": "MinecraftTen", + "color": "$generic_button_text_color", + "locked_color": "$dressing_room_side_locked_text_color", + "offset": [ 0, 0 ], + "anchor_to": "center", + "anchor_from": "center", + "layer": 2, + "bindings": [ + { + "binding_name": "#limb_title" + }, + { + "binding_name": "#limb_title_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + }, + { + "right_button_panel": { + "type": "panel", + "size": [ 20, "100%x" ], + "controls": [ + { + "right_button@persona.right_limb_button": { + "bindings": [ + { + "binding_name": "#right_limb_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "right_bumper@common.gamepad_helper_right_bumper": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, -20 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { "padding_1@persona.horizontal_2_padding": {} } + ], + "bindings": [ + { + "binding_name": "#is_leg_or_arms_selected", + "binding_name_override": "#visible" + } + ] + }, + + "none_piece_option_panel": { + "ignored": "$ignore_none_button", + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + + "$piece_section_binding_type|default": "global", + "$piece_section_collection_name|default": "", + + "bindings": [ + { + "binding_type": "$piece_section_binding_type", + "binding_collection_name": "$piece_section_collection_name", + "binding_name": "#is_none_option_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "none_piece_option_button@common_buttons.light_text_button": { + "size": [ "100% - 4px", 20 ], + "$pressed_button_name": "button.none_piece_option", + "$button_text": "#none_option_text", + "$button_text_binding_type": "global", + "$button_text_size": [ "default", 10 ], + "$new_ui_label_offset": [ 0, 0 ], + "bindings": [ + { + "binding_name": "#is_none_option_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#is_none_option_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#is_none_option_enabled", + "binding_name_override": "#focus_enabled" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + "sizing_section_wrapper": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", "100%c" ], + "bindings": [ + { + "binding_name": "#sizing_options_on", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "padding@persona.horizontal_3_padding": {} }, + { "vertical@persona.sizing_section": {} } + ] + }, + + "sizing_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { "body_size_label@persona.body_size_label": {} }, + { "pad_0@persona.vertical_2_padding": {} }, + { "body_size_option@persona.body_sizes": {} }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { "arm_size_label@persona.arm_size_label": {} }, + { "pad_2@persona.vertical_2_padding": {} }, + { "arm_sizes@persona.arm_sizes": {} } + ] + }, + + "piece_section_end_panel": { + "type": "panel", + "size": [ "100%", 5 ], + "controls": [ + { + "end_line": { + "type": "image", + "size": [ "100% - 10px", 1 ], + "texture": "textures/ui/White", + "color": "$dressing_room_end_piece_section_line", + "alpha": 0.2 + } + } + ] + }, + + "piece_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$piece_section_binding_type|default": "global", + "$piece_section_collection_name|default": "", + + "$ignore_none_button|default": true, + + "bindings": [ + { + "binding_type": "$piece_section_binding_type", + "binding_collection_name": "$piece_section_collection_name", + "binding_name": "#is_piece_section_visible", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { "title_panel@persona.piece_section_title_panel": {} }, + { "none@persona.none_piece_option_panel": {} }, + { "piece_offer_grid@persona.persona_piece_offer_grid": {} }, + { "end_section_panel@persona.piece_section_end_panel": {} } + ] + }, + + "owned_piece_section@persona.piece_section": { + "$ignore_none_button": false + }, + + "piece_section_factory": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$piece_section_collection_details": "collection_details", + "$piece_section_binding_type": "collection", + "$piece_section_collection_prefix": "piece_section", + "$piece_section_collection_name": "piece_section_collection", + "collection_name": "$piece_section_collection_name", + + "factory": { + "name": "sidebar_factory", + "control_ids": "$piece_section_control_ids", + "factory_variables": [ + "$piece_section_collection_details", + "$piece_section_binding_type", + "$piece_section_collection_name", + "$piece_section_collection_prefix" + ] + }, + "bindings": [ + { + "binding_name": "$piece_section_collection_binding_name", + "binding_name_override": "#collection_length" + } + ] + }, + + "persona_section_factory_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + + "$piece_section_collection_binding_name": "#piece_sections", + "$piece_section_control_ids": { + "featured_piece_section": "persona.piece_section", + "owned_piece_section": "persona.owned_piece_section", + "piece_section": "persona.piece_section", + "unknown_section": "persona.empty_section" + }, + + "bindings": [ + { + "binding_type": "view", + "source_control_name": "size_section", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ], + "controls": [ + { "piece_section_factory@persona.piece_section_factory": {} } + ] + }, + + "piece_list_scroll_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { "size_section@persona.sizing_section_wrapper": {} }, + { "piece_section_factory@persona.persona_section_factory_panel": {} } + ] + }, + + "piece_list_scroll_section@persona.scroll_section": { + "size": [ "100%", "fill" ], + "$scrolling_content": "persona.piece_list_scroll_content" + }, + + "piece_offer_section_panel": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "type": "stack_panel", + "size": [ "100%", "100% - 1px" ], + "controls": [ + { "padding@persona.vertical_1_padding": {} }, + { + "pieces": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "color_picker_content_panel", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ], + "controls": [ + { + "padding_0@persona.vertical_1_padding": { + "bindings": [ + { + "binding_name": "#is_leg_or_arms_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { "limb_side_switcher@persona.limb_side_switcher": {} }, + { + "padding_2@persona.vertical_1_padding": { + "bindings": [ + { + "binding_name": "#is_leg_or_arms_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { "piece_list_scroll_section@persona.piece_list_scroll_section": {} } + ] + } + }, + { + "color_picker_content_panel@persona.color_picker_content_panel": { + "bindings": [ + { + "binding_name": "#show_color_picker", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "persona_piece_section@persona.dialog_background_object": { + "$persona_dialog_content": "persona.piece_offer_section_panel", + "bindings": [ + { + "binding_name": "#is_piece_list_section_visible", + "binding_name_override": "#visible" + } + ] + }, + + "cycle_featured_content_section": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "cycle_featured_content@common.horizontal_stack_panel": { + "size": [ "100% - 4px", "100% - 2px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + + "$cycle_button_panel_size": [ "fill", "100%" ], + "$cycle_button_size": [ "100%", "100%" ], + + "$piece_grid_dimension_binding": "", + + "$ignore_cycle_buttons|default": false, + + "bindings": [ + { + "binding_name": "#is_cycle_featured_section_ready", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { + "left_cycle_button@persona.left_cycle_button": { + "size": [ 15, "100%" ], + "$pressed_button_name": "button.cycle_featured_pieces_left", + "$cycle_pack_button_name_left": "button.cycle_featured_pieces_left", + "$cycle_pack_button_enabled": "#is_left_cycle_featured_pieces_button_enabled" + } + }, + { + "featured_offer_grid_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "featured_offer_grid@persona.persona_piece_offer_grid": { + "size": [ "100%", "33%x" ], + "max_size": [ "100%", "100%" ], + "$persona_piece_size": [ "33%", "100%" ], + "$pressed_button_function": "button.apply_persona_piece", + "$controller_left_bumper_mapping": "button.cycle_featured_pieces_left", + "$controller_right_bumper_mapping": "button.cycle_featured_pieces_right", + "clip_state_change_event": "", + "grid_dimensions": [ 3, 1 ], + "maximum_grid_items": 3 + } + } + ] + } + }, + { + "right_cycle_button@persona.right_cycle_button": { + "size": [ 15, "100%" ], + "$pressed_button_name": "button.cycle_featured_pieces_right", + "$cycle_pack_button_name_right": "button.cycle_featured_pieces_right", + "$cycle_pack_button_enabled": "#is_right_cycle_featured_pieces_button_enabled" + } + } + ] + } + } + ] + }, + + "featured_piece_offer_section_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { + "center_featured_header_panel": { + "type": "panel", + "size": [ "100%", 12 ], + "controls": [ + { + "featured_header@common.minecraftTenLabel": { + "size": [ "100% - 4px", 10 ], + "$featured_header": "#sub_category_featured_title", + "text": "$featured_header", + "color": "$dark_button_default_text_color", + "bindings": [ + { + "binding_condition": "visible", + "binding_name": "$featured_header" + } + ] + } + } + ] + } + }, + { "cycle_featured_content_section@persona.cycle_featured_content_section": {} }, + { + "bottom_padding@persona.vertical_2_padding": {} + } + ] + }, + + "featured_piece_section": { + "type": "panel", + "size": [ "100%", "35%" ], + "bindings": [ + { + "binding_name": "#is_subcategory_featured_section_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "featured_piece_section_dailog_bg@persona.dialog_background_object": { + "size": [ "100%", "100% - 2px" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$persona_dialog_content": "persona.featured_piece_offer_section_panel" + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// subcategory objects + "persona_subcategory_button@persona.subcategory_button": { + "size": [ "100%", 25 ], + + // button vars + "$pressed_button_name": "button.subcategory_selected", + "$hover_button_name": "button.subcategory_button_hovered", + "$button_content": "persona.sub_category_label_image_button_content", + "$focus_id": "$subcategory_button_focus_id", + + // override textures + "$default_button_texture": "", + "$hover_button_texture": "textures/ui/white_background", + "$pressed_button_texture": "textures/ui/banners_no_border_dark_hover", + "$locked_button_texture": "textures/ui/banners_no_border", + + // override text colors + "$default_text_color": "$dark_toggle_checked_default_text_color", + "$hover_text_color": "$dark_toggle_checked_hover_text_color", + "$border_visible": false, + + // override image properties + "$hover_button_image_fill": true, + "$hover_content_alpha": 0.5, + "$hover_button_image_color": "$dressing_room_subcategory_button_hover_color", + + // content vars + "$content_label_image_binding_type": "collection", + "$content_label_image_collection_name": "$subcategory_collection_name", + "$content_label_binding_name": "#subcategory_title", + "$content_image_binding_name": "#subcategory_image", + "$content_image_is_dynamic": true, + + + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$subcategory_collection_name", + "binding_collection_prefix": "$subcategory_collection_prefix" + } + ] + }, + + "category_toggle@common_toggles.light_content_toggle": { + "$ignore_content_toggle_image": true, + + "$default_checked_text_color": "$dropdown_radio_background_checked_color", + "$hover_texture": "textures/ui/button_borderless_lightpressednohover", + + "$content_toggle_label_offset": [ 0, 0 ], + "$content_toggle_label_font_type": "Default", + + "$content_toggle_icon_size": [ 11, 11 ], + "$checked_toggle_icon": "textures/ui/dropdown_chevron_up", + "$checked_hover_toggle_icon": "textures/ui/chevron_white_up", + "$unchecked_toggle_icon": "textures/ui/dropdown_chevron", + "$unchecked_hover_toggle_icon": "textures/ui/chevron_white_down", + + "$toggle_binding_type": "collection", + "$toggle_binding_condition": "visible", + "$toggle_state_binding_name": "#is_category_toggle_selected" + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// category select objects + "category_select_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "category_select_button@persona.category_toggle": { + "size": [ "100%", 25 ], + + "$toggle_grid_collection_name": "$category_collection_name", + + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$category_collection_name", + "binding_collection_prefix": "$category_collection_prefix" + } + ] + } + } + ] + }, + + "category_content@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + + "$light_button_hover_text_color": "$light_button_hover_text_color", + "$content_label_font_type": "default", + "$content_label_text_offset": [ 0, 0 ], + "controls": [ + { + "select_category_button@persona.category_select_button_panel": { + "$toggle_name": "toggle.category_selected", + "$enable_hover_event_mapping": true, + "$toggle_hover_event_mapping": "button.category_button_hovered", + "$content_image_binding_name": "textures/ui/chevron_white_down", + "$focus_id": "select_category_button", + + "$content_toggle_label": "#category_title", + "$content_toggle_label_binding_type": "collection" + } + }, + { + "subcategory_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$category_collection_name", + "binding_name": "#is_category_toggle_selected", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "subcategory_grid": { + "type": "grid", + "size": [ "100% - 4px", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + + "$subcategory_collection_prefix|default": "subcategory", + "$subcategory_collection_name|default": "subcategory_collection", + "$subcategory_button_focus_id": "subcategory_button", + + "$subcategory_dimension_binding": "#subcategory_dimension_binding", + "grid_dimension_binding": "$subcategory_dimension_binding", + "grid_item_template": "persona.persona_subcategory_button", + "collection_name": "$subcategory_collection_name", + + "$button_focus_precedence": 20, + + "bindings": [ + { + "binding_name": "$subcategory_dimension_binding" + } + ] + } + } + ] + } + } + ] + }, + + "featured_info_panel@persona.right_side_dialog_panel": { + "size": [ "100%", "100%c" ], + + "$ignore_right_side_dialog_visible_binding": true, + + "$persona_dialog_content": "persona.offer_info_section_content", + + "$title_bar_color": "$dressing_room_dark_button_color", + "$rarity_title_background_alpha": 0.0, + "$title_bar_alpha": 0.0, + "$info_title_control": "persona.title_rarity_background_image", + "$info_content_control": "persona.right_info_panel", + + "$right_info_content_control": "persona.category_featured_offer_panel", + + "$info_panel_prefix": "piece", + + "$input_progress_loading_collection_binding_type": "collection_details", + "$input_progress_loading_prefix": "$info_panel_prefix", + + "$right_side_dialog_size": [ "100%", "100%c" ], + "$right_side_dialog_bg_size": [ "100%", "100%c" ], + + "$offer_info_section_content_size": [ "100%", "100%c" ], + "$info_content_panel_size": [ "100%", "100%c" ], + "$info_and_selection_panel_size": [ "100%", "100%c" ], + "$info_bottom_section_size": [ "100%", "100%c" ], + "$right_info_panel_size": [ "100%", "100%c" ], + "$right_info_panel_content_size": [ "100%", "100%c" ], + + "$ignore_right_side_buttom_buttons": true, + "$ignore_special_banner": true, + "$ignore_piece_selected": true, + "$ignore_cycle_buttons": true + }, + + "persona_category_featured_info_panel@persona.featured_info_panel": { + "$title_binding_type": "none", + "$title_binding": "dr.header.featured" + + }, + + "persona_category_main_realms_info_panel@persona.featured_info_panel": { + "$title_binding_type": "none", + "$title_binding": "store.csb", + + "ignored": "(not #is_right_info_main_realms_panel_visible)" + }, + + "persona_category_factory@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + + "$store_factory_clipping_event": "category factory_section_shown", + + "$category_collection_prefix": "category", + "$category_collection_name": "category_collection", + + "factory": { + "name": "store_section_factory", + "control_ids": { + "category_content": "@persona.category_content" + }, + "factory_variables": [ + "$category_collection_prefix", + "$category_collection_name" + ] + }, + + "collection_name": "$category_collection_name", + + "bindings": [ + { + "binding_name": "#category_section_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "featured_section_factory@persona.piece_section_factory": { + "size": [ "100%", "100%c + 4px" ], + + "$piece_section_collection_binding_name": "#featured_section_content", + "$piece_section_control_ids": { + "featured_row": "persona.persona_category_featured_info_panel", + "realms_row": "persona.persona_category_main_realms_info_panel" + } + }, + + "persona_category_grid_panel@common.vertical_stack_panel": { + "size": [ "100% - 4px", "100%c" ], + "$title_rarity_binding": "#none", + + "controls": [ + { + "section_wrapper": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "featured_section_factory@persona.featured_section_factory": {} } + ] + } + }, + { "factory@persona.persona_category_factory": {} } + ] + }, + + "category_scroll_panel@persona.scroll_section": { + "$scrolling_content": "persona.persona_category_grid_panel" + }, + + "persona_category_section@persona.dialog_background_object": { + "$persona_dialog_content": "persona.category_scroll_panel", + "bindings": [ + { + "binding_name": "#is_category_section_visible", + "binding_name_override": "#visible" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// custom skin popup dialog + + "popup_dialog_skin_model": { + "type": "panel", + "offset": [ 0, -20 ], + "controls": [ + { + "paper_doll": { + "type": "custom", + "layer": 100, + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "use_selected_skin": false, + "bindings": [ + { "binding_name": "$button_model_type" } + ] + } + } + ] + }, + + "popup_dialog_choose_skin_type_panel@common.empty_panel": { + "size": [ "50%", "80%" ], + "layer": 1, + "controls": [ + { + "choose_skin_type_button@common_buttons.light_content_button": { + "size": [ "90%", "90%" ], + "$button_content": "persona.popup_dialog_skin_model" + } + } + ] + }, + + "popup_dialog_bg@common_dialogs.dialog_background_hollow_3": { + "size": [ "100%", "100%" ], + "$persona_popup_title_text|default": "dr.classic_skins.select_skin.title", + "$persona_popup_title_font_type|default": "MinecraftTen", + "$persona_popup_title_offset|default": [ 0, 5.5 ], + "$section_content_offset|default": [ 0, 0 ], + "controls": [ + { + "background_image": { + "type": "image", + "layer": -1, + "size": "$section_content_size", + "offset": "$section_content_offset", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": "$dressing_room_background_alpha" + } + }, + { + "title_panel@common.empty_panel": { + "size": [ "100% - 16px", 21 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "title": { + "type": "label", + "$persona_popup_title_size|default": [ "100%", 15 ], + "$persona_popup_title_offset|default": [ 0, 2 ], + "size": "$persona_popup_title_size", + "layer": 2, + "font_type": "$persona_popup_title_font_type", + "text_alignment": "center", + "offset": "$persona_popup_title_offset", + "text": "$persona_popup_title_text", + "color": "$light_button_default_text_color", + + "$persona_popup_title_bindings|default": [], + "bindings": "$persona_popup_title_bindings" + } + } + ] + } + }, + { "popup_content@$dialog_content": {} } + ] + }, + + "popup_dialog_invalid_custom_skin_content@common.empty_panel": { + "size": "$section_content_size", + "offset": "$section_content_offset", + "controls": [ + { + "popup_dialog_message@popup_dialog.popup_dialog_message": { + "color": "$dressing_room_right_side_default_text_color" + } + }, + { "popup_dialog_middle_button@popup_dialog.popup_dialog_middle_button": {} } + ] + }, + + "popup_dialog_choose_skin_type_content@common.empty_panel": { + "size": "$choose_skin_type_content_size", + "offset": "$choose_skin_type_content_offset", + "controls": [ + { + "popup_dialog_message@popup_dialog.popup_dialog_message": { + "color": "$dressing_room_right_side_default_text_color" + } + }, + { + "left@persona.popup_dialog_choose_skin_type_panel": { + "$pressed_button_name": "button.choose_skinny", + "$button_model_type": "#skinny_skin_index", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "right@persona.popup_dialog_choose_skin_type_panel": { + "$pressed_button_name": "button.choose_fat", + "$button_model_type": "#fat_skin_index", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_left" + } + } + ] + }, + + "popup_dialog__invalid_custom_skin@popup_dialog.popup_dialog": { + "$middle_button_press": "button.close_dialog", + "$message_text": "dr.classic_skins.invalidCustomSkin", + "$middle_button_text": "gui.ok", + "size": [ "40%", "75%" ], + "$section_content_size": [ "100% - 16px", "100% - 31px" ], + "$section_content_offset": [ 0, "7.5px" ], + "controls": [ + { + "popup_dialog_bg@persona.popup_dialog_bg": { + "$dialog_content": "persona.popup_dialog_invalid_custom_skin_content" + } + } + ] + }, + + "popup_dialog__upsell_without_store@popup_dialog__invalid_custom_skin": { + "$message_text": "dr.classic_skins.upsellWithoutStore" + }, + + "popup_anim_wait": { + "anim_type": "wait", + "duration": "$display_time", + "next": "@persona.popup_anim_end" + }, + + "popup_anim_start": { + "anim_type": "alpha", + "easing": "linear", + "from": 0.0, + "to": 1.0, + "duration": "$transition_in_time", + "next": "@persona.popup_anim_wait" + }, + + "popup_anim_end": { + "anim_type": "alpha", + "easing": "linear", + "from": 1.0, + "to": 0.0, + "duration": "$transition_out_time", + "destroy_at_end": "toast_message", + "end_event": "toast_end" + }, + + "popup_title@toast_screen.toast_label": { + "text": "#toast_title", + "color": "$toast_text_color", + "size": [ "100%-10px", "default" ], + "max_size": [ "100%-10px", 20 ], + "layer": 2, + "$popup_title_binding_type|default": "global", + "$popup_title_collection_name|default": "", + "$popup_title_collection_details|default": "none", + "$popup_title_collection_prefix|default": "", + "bindings": [ + { + "binding_type": "$popup_title_collection_details", + "binding_collection_name": "$popup_title_collection_name", + "binding_collection_prefix": "$popup_title_collection_prefix" + }, + { + "binding_type": "$popup_title_binding_type", + "binding_collection_name": "$popup_title_collection_name", + "binding_name": "#toast_title" + } + ] + }, + + "popup@common.input_panel": { + "$toast_anchor_from|default": "top_middle", + "$toast_anchor_to|default": "bottom_middle", + "$toast_offset|default": [ 0, 0 ], + "$popup_size|default": [ 1, 1 ], + "anchor_from": "$toast_anchor_from", + "anchor_to": "$toast_anchor_to", + "size": "$popup_size", + "offset": "$toast_offset", + "$toast_label_offset": [ 0, 0 ], + "$offset_anims|default": [], + "$toast_text_alignment": "center", + "$alpha_anims|default": [], + "controls": [ + { + "background": { + "type": "image", + "size": [ "100%", "100%c + 12px" ], + "texture": "textures/ui/greyBorder", + "anims": "$alpha_anims", + "controls": [ + { + "text_stack_panel@persona.popup_title": {} + } + ] + } + } + ], + "anims": "$offset_anims" + }, + + "popup_toast@persona.popup": { + "layer": 100, + "$display_time": 0.75, + "$transition_in_time": 0.15, + "$transition_out_time": 0.15, + "$popup_size": [ 184, "100%cm" ], + "$toast_text_offset": [ 0, 0 ], + "$toast_text_alignment": "center", + "$toast_anchor_from": "center", + "$toast_anchor_to": "center", + "$toast_font_type": "smooth", + "$offset_anims": [], + "$alpha_anims": [ + "@persona.popup_anim_start" + ] + }, + + "popup_dialog__choose_skin_type@popup_dialog.popup_dialog": { + "$message_text": "dr.classic_skins.select_skin", + "$choose_skin_type_content_size": [ "100% - 16px", "91.5% - 16px" ], + "$choose_skin_type_content_offset": [ 0, "4.5%" ], + "$section_content_size": [ "100% - 16px", "100%" ], + "$section_content_offset": [ 0, 0 ], + "size": [ "40%", "75%" ], + "controls": [ + { + "popup_dialog_bg@persona.popup_dialog_bg": { + "$dialog_content": "persona.popup_dialog_choose_skin_type_content" + } + } + ] + }, + + ////////////////////////////////////////////////////////////////////////////////////////////// + // custom skins popup + ////////////////////////////////////////////////////////////////////////////////////////////// + + "custom_skin_popup_dialog_bg@common_dialogs.dialog_background_hollow_1": { + "size": [ "100%", "100%" ], + "$persona_popup_title_text|default": "dr.classic_skins.select_skin.title", + "$persona_popup_title_font_type|default": "MinecraftTen", + "$persona_popup_title_offset|default": [ 0, 3 ], + "controls": [ + { + "background_image": { + "type": "image", + "layer": -1, + "size": "$section_content_size", + "offset": "$section_content_offset", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": "$dressing_room_background_alpha" + } + }, + { + "vertical_align_title@common.empty_panel": { + "size": [ "100%", 23 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "title": { + "type": "label", + "size": [ "100%", "default" ], + "max_size": [ "100%", "100%" ], + "layer": 2, + "text_alignment": "center", + "offset": "$persona_popup_title_offset", + "text": "$persona_popup_title_text", + "color": "$light_button_default_text_color" + } + } + ] + } + }, + { "popup_content@$dialog_content": {} } + ] + }, + + "usage_limited_settings_profile_button@common_buttons.light_text_button": { + "layer": 2, + "$pressed_button_name": "button.show_profile_settings", + "$button_text": "dr.go_to_profile_settings_text" + }, + + "custom_skin_info_button_collection@common.vertical_stack_panel": { + "size": [ "100% - 16px", 30 ], + "offset": [ 0, -40 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "settings@persona.usage_limited_settings_profile_button": {} }, + { "padding@persona.vertical_4_padding": {} }, + { "close@persona.popup_dialog_close_button": {} } + ] + }, + + "custom_skin_info_panel_text": { + "type": "label", + "color": "$dressing_room_right_side_default_text_color", + "size": [ "100% - 20px", "100% - 103px" ], + "offset": [ 0, 25 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "font_type": "smooth", + "text": "dr.classic_skins.custom_skin_description_popup" + }, + + "custom_skin_info_panel": { + "type": "panel", + "controls": [ + { "message@persona.custom_skin_info_panel_text": {} }, + { "button_group@persona.custom_skin_info_button_collection": {} } + ] + }, + + "popup_dialog__custom_skin_info@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "layer": 990, + "$message_text": "dr.classic_skins.select_skin", + "$section_content_size": [ "100% - 16px", "100% - 16px" ], + "$section_content_offset": [ 0, 0 ], + "controls": [ + { + "background_image": { + "type": "image", + "size": [ "100%", "100% + 64px" ], + "offset": "$section_content_offset", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": 0.8 + } + }, + { + "popup_dialog_bg@persona.custom_skin_popup_dialog_bg": { + "$dialog_content": "persona.custom_skin_info_panel", + "size": [ "60%", "60%" ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.close_dialog", + "mapping_type": "global" + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + ///// Switching between Persona and Classic Skin prompt + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "create_persona_choice_checked_image": { + "type": "image", + "keep_ratio": false, + "size": [ 10, 10 ], + "$image": "textures/ui/radiobox_filled" + }, + + "create_persona_choice_unchecked_image": { + "type": "image", + "keep_ratio": false, + "size": [ 10, 10 ], + "$image": "textures/ui/radiobox_unfilled" + }, + + "modal_window_input_blocker": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/white_background", + "keep_ratio": false, + "color": "$0_color_format", + "alpha": "$dressing_room_full_screen_popup_background_alpha" + }, + + "popup_frame_background@persona.modal_window_input_blocker": { + "size": [ "100%", "100%" ], + "layer": -1, + "alpha": 1.0 + }, + + "switch_persona_and_classic_title": { + "type": "label", + "text": "#switching_persona_skin_title", + "layer": 2, + "offset": [ 0, 8 ], + "color": "$profile_create_character_selected_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "bindings": [ + { + "binding_name": "#switching_persona_skin_title" + } + ] + }, + + "switch_persona_and_classic_message": { + "type": "label", + "font_type": "smooth", + "font_scale_factor": 0.8, + "color": "$dressing_room_right_side_default_text_color", + "size": [ "100%", "fill" ], + "text": "#switching_persona_skin_message", + "layer": 2, + + "bindings": [ + { + "binding_name": "#switching_persona_skin_message" + } + ] + }, + + "switch_persona_and_classic_repeat_check_text": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$f_color_format", + "text_alignment": "left", + "text": "dr.prompt.do_not_show_again" + }, + + "switch_persona_and_classic_repeate_check_text_offset": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { "text@persona.switch_persona_and_classic_repeat_check_text": {} } + ] + }, + + "create_persona_choice_check_positioning@common.horizontal_stack_panel": { + "size": [ "100%", "15%" ], + "controls": [ + { "toggle_image@persona.switch_persona_and_classic_repeat_check": {} }, + { "padding@persona.horizontal_2_padding": {} }, + { "text_wrapper@persona.switch_persona_and_classic_repeate_check_text_offset": {} } + ] + }, + + "switch_persona_and_classic_repeat_check@common.checkbox": { + "size": [ 10, "100%" ], + "$toggle_name": "#classic_skin_persona_switch_toggle" + }, + + "differences_popup_ok_button@common_buttons.light_text_button": { + "size": [ "100% - 15px", 24 ], + "layer": 10, + "$pressed_button_name": "button.persona_confirm_switching", + "offset": [ 0, -9 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_text": "$confirm_button_text", + "$confirm_button_text|default": "#none", + "$confirm_button_enabled|default": "#none", + "bindings": [ + { + "binding_name": "$confirm_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "switch_persona_and_classic_prompt_content@common.vertical_stack_panel": { + "size": [ "100% - 20px", "100% - 70px" ], + "offset": [ 0, 26 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "message@persona.switch_persona_and_classic_message": {} }, + { "padding@persona.vertical_2_padding": {} }, + { "not_again_check@persona.create_persona_choice_check_positioning": {} } + ] + }, + + "popup_frame@common.dialog_background_hollow_2": { + "size": [ "46%", "56%" ], + "controls": [ + { "modal@persona.popup_frame_background": {} }, + { "title_label@persona.switch_persona_and_classic_title": {} }, + { "content@persona.switch_persona_and_classic_prompt_content": {} }, + { "Ok_button@persona.differences_popup_ok_button": {} } + ] + }, + + "popup_dialog__switch_persona_and_classic_skin@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "layer": 995, + "$message_text": "dr.classic_skins.upsellWithoutStore", + "$scrolling_content": "common.empty_panel", + "$confirm_button_text": "dr.button.ok", + "controls": [ + { "modal@persona.modal_window_input_blocker": {} }, + { "popup@persona.popup_frame": {} } + ] + }, + + ////////////////////////////////////////////////////////////////////////////////////////////// + + "custom_skin_popup_dialog_panel": { + "type": "panel", + "layer": 99, // must be above the persona renderer which is layer 90 + "controls": [ + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "invalid_custom_skin": "@persona.popup_dialog__invalid_custom_skin", + "choose_skin_type": "@persona.popup_dialog__choose_skin_type", + "upsell_without_store": "@persona.popup_dialog__upsell_without_store" + } + } + }, + { + "full_screen_darkening": { + "type": "image", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": "$dressing_room_full_screen_popup_background_alpha", + "bindings": [ + { + "binding_name": "#is_custom_skin_popup_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// skin picking screen + + "persona_skin_picker_skin_button@persona.skin_doll_button": { + "$content_size": [ "16.7% - 2px", "153.3%x" ], + "$paper_doll_offset": [ 0, -8 ], + "$pressed_button_name": "button.skin_selected_skins_page" + }, + + "persona_classic_skin_grid_panel": { + "type": "panel", + "size": [ "100% - 4px", "100%c + 2px" ], + "controls": [ + { + "persona_skin_pack_category_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "layer": 1, + "$skin_binding_type": "collection", + "$skin_collection_details": "collection_details", + "$skin_collection_name": "expanded_skin_pack_collection", + "$skin_collection_prefix": "expanded_skin_pack", + + "$skin_dimension_binding|default": "#expanded_pack_dimensions", + "grid_dimension_binding": "$skin_dimension_binding", + "grid_item_template": "persona.persona_skin_picker_skin_button", + "collection_name": "$skin_collection_name", + "bindings": [ + { + "binding_name": "$skin_dimension_binding" + } + ] + } + } + ] + }, + + "skin_scroll_panel@persona.scroll_section": { + "$scrolling_content": "persona.persona_classic_skin_grid_panel" + }, + + "persona_skin_section@persona.dialog_background_object": { + "$persona_dialog_content": "persona.skin_scroll_panel", + "bindings": [ + { + "binding_name": "#is_skin_picker_section_visible", + "binding_name_override": "#visible" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// skin pack selection objects + "persona_skin_button_for_pack_view@persona.skin_doll_button": { + "$content_size": [ "20%", "100%" ], + "max_size": [ "20%", "100%" ], + "$pressed_button_name": "button.skin_selected", + "$is_background_visible": false, + "$ignore_skin_focus_binds": false + }, + + "skin_pack_expand_pack": { + "type": "label", + "offset": [ 0, 2.5 ], + "size": [ "100%", 16 ], + "text": "#pack_additional_skin_count_text", + "color": "$dressing_room_right_side_default_text_color", + "text_alignment": "center", + "bindings": [ + { + "binding_type": "$skin_pack_binding_type", + "binding_collection_name": "$skin_pack_collection_name", + "binding_name": "#pack_additional_skin_count_text" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + }, + + "persona_skin_pack_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + + "$skin_pack_binding_type|default": "global", + "$skin_pack_collection_details|default": "none", + "$skin_pack_collection_name|default": "", + "$skin_pack_collection_prefix|default": "", + + "$section_collection_details|default": "none", + "$section_collection_name|default": "", + "$section_collection_prefix|default": "", + + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "pack_label": { + "type": "label", + "size": [ "100%", 10 ], + "text": "#pack_title", + "color": "$dressing_room_right_side_default_text_color", + "bindings": [ + { + "binding_type": "$skin_pack_binding_type", + "binding_collection_name": "$skin_pack_collection_name", + "binding_name": "#pack_title" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { "mid_padding@persona.vertical_1_padding": {} }, + { + "pack_body@common.empty_panel": { + "size": [ "100%", "100%cm" ], + "controls": [ + { + "progress_loading_button@common.button": { + "size": [ "100%", 26 ], + "$pressed_button_name": "button.fake_button", + "$button_content": "", + "controls": [ + { "content@persona.loading_progress_bars": {} }, + { "default@common.empty_panel": {} }, + { "hover@persona.focus_border": {} }, + { "pressed@persona.selected_border": {} } + ], + "bindings": [ + { + "binding_type": "$skin_pack_binding_type", + "binding_name": "#is_classic_skin_pack_loading", + "binding_collection_name": "$skin_pack_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "skin_pack_panel": { + "type": "image", + "texture": "textures/ui/dressing_room_banner", + "color": "$dressing_room_skin_picker_dark_bg_color", + "alpha": "$dressing_room_panel_alpha", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ "100%", "100%cm" ], + "bindings": [ + { + "binding_type": "$skin_pack_binding_type", + "binding_name": "(not #is_classic_skin_pack_loading)", + "binding_collection_name": "$skin_pack_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ], + "controls": [ + { + "skins_grid": { + "type": "grid", + "size": [ "80%", "30%x" ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + + "$skin_binding_type": "collection", + "$skin_collection_details": "collection_details", + "$skin_collection_prefix": "skin", + "$skin_collection_name": "skin_collection", + + "$skin_dimension_binding": "#skin_dimensions", + "grid_dimension_binding": "$skin_dimension_binding", + "grid_item_template": "persona.persona_skin_button_for_pack_view", + "collection_name": "$skin_collection_name", + "bindings": [ + { + "binding_type": "$skin_pack_binding_type", + "binding_collection_name": "$skin_pack_collection_name", + "binding_name": "$skin_dimension_binding" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "expand_view_button@common_buttons.light_content_button": { + "size": [ "20%-2px", 10 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "inherit_max_sibling_height": true, + "$focus_id": "skin_pack_expand_view_button", + "$pressed_alpha": "$dressing_room_panel_alpha", + "$default_button_alpha": "$dressing_room_panel_alpha", + "$pressed_button_name": "button.expand_skin_pack", + "$button_content": "persona.skin_pack_expand_pack", + "bindings": [ + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$skin_pack_collection_name", + "binding_name": "#expand_button_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "collection", + "binding_collection_name": "$skin_pack_collection_name", + "binding_name": "#skin_pack_expand_pack_focus_change_left", + "binding_name_override": "#focus_change_left" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "persona_skin_pack_grid": { + "type": "grid", + "size": [ "100% - 4px", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + + "$skin_pack_binding_type": "collection", + "$skin_pack_collection_details": "collection_details", + "$skin_collection_name": "skin_pack_collection", + "$skin_pack_collection_prefix": "skin_pack", + + "collection_name": "$skin_pack_collection_name", + "$skin_pack_dimension_binding": "#skin_pack_dimensions", + "grid_dimension_binding": "$skin_pack_dimension_binding", + "grid_item_template": "persona.persona_skin_pack_panel", + + "bindings": [ + { + "binding_type": "$section_collection_binding_type", + "binding_collection_name": "$section_collection_name", + "binding_name": "$skin_pack_dimension_binding" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + }, + + "persona_skin_pack_label": { + "type": "label", + "offset": [ 2, 5 ], + "font_type": "MinecraftTen", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 10 ], + "text": "$persona_skin_pack_label_text", + "color": "$dressing_room_right_side_default_text_color" + }, + + "default_skin_button@persona.skin_doll_button": { + "size": [ 12, 52 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 11, 3 ], + "clips_children": false, + + "$paper_doll_offset": [ 0, -10 ], + "$pressed_button_name": "button.default_skin_selected", + + "$skin_binding_type": "collection", + "$skin_collection_details": "collection_details", + "$skin_collection_prefix": "persona_default_skin", + "$skin_collection_name": "persona_default_skin_collection" + }, + + "default_skin_button_panel": { + "type": "panel", + "size": [ "100%", 52 ], + "controls": [ + { "default_button@persona.default_skin_button": {} } + ] + }, + + "persona_owned_skin_pack_grid_panel@common.vertical_stack_panel": { + "$persona_skin_pack_label_text": "sidebar.skinsOwned", + + "$skin_pack_collection_prefix": "owned_skin_pack", + "$skin_collection_name": "owned_skin_collection", + + "$ignore_skin_realms_plus_icon": true, + + "controls": [ + { "pack_label@persona.persona_skin_pack_label": {} }, + { + "default_skin_button@persona.default_skin_button_panel": { + "ignored": "$console_edition" + } + }, + { "owned_packs_grid@persona.persona_skin_pack_grid": {} } + ] + }, + + "persona_realms_purchasable_skin_pack_grid_panel@common.vertical_stack_panel": { + "$skin_pack_collection_prefix": "realms_skin_pack", + "$skin_collection_name": "realms_skin_collection", + + "controls": [ + { + "csb_pack_label@persona.persona_skin_pack_label": { + "$persona_skin_pack_label_text": "store.csb" + } + }, + { "purchasable_packs_grid@persona.persona_skin_pack_grid": {} } + ] + }, + + "persona_unowned_purchasable_skin_pack_grid_panel@common.vertical_stack_panel": { + "$persona_skin_pack_label_text": "sidebar.skinsUnowned", + + "$skin_pack_collection_prefix": "unowned_skin_pack", + "$skin_collection_name": "unowned_skin_collection", + "$ignore_skin_realms_plus_icon": true, + + "controls": [ + { "pack_label@persona.persona_skin_pack_label": {} }, + { "purchasable_packs_grid@persona.persona_skin_pack_grid": {} } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// classic skins categories panel + + "grouped_header_body_content@common.vertical_stack_panel": { + "controls": [ + { "group_header@$group_header_content": {} }, + { "group_body@$group_body_content": {} } + ] + }, + + "classic_skin_features_header": { + "type": "label", + "font_type": "MinecraftTen", + "text": "dr.header.featured_skins", + "color": "$dressing_room_right_side_default_text_color", + "offset": [ 1, 0 ], + "size": [ "100%", "default" ] + }, + + "classic_skin_features_header_wrapper": { + "type": "panel", + "size": [ "100%", 12 ], + "controls": [ + { "header@persona.classic_skin_features_header": {} } + ] + }, + + "grouped_classic_skin_featured_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%cm + 2px" ], + "$featured_skin_grid_panel_size|default": [ "fill", "100%c" ], + "$featured_skin_grid_dimensions": [ 4, 1 ], + "$feature_skin_pack_button_size": [ "25%", "56.25%x" ], + "$is_skins": true, + + "controls": [ + { + "featured_skin_grid_panel": { + "type": "panel", + "size": "$featured_skin_grid_panel_size", + "controls": [ + { "featured_skin_grid@persona.right_panel_classic_skin_featured_grid": {} } + ] + } + } + ] + }, + + "classic_skin_features_group_content@persona.grouped_header_body_content": { + "$group_header_content": "persona.classic_skin_features_header_wrapper", + "$group_body_content": "persona.grouped_classic_skin_featured_content" + }, + + "get_more_button_icon@persona.icon_image": { + "size": [ 12, 12 ], + "texture": "textures/ui/sidebar_icons/marketplace.png" + }, + + "get_more_icon_panel@common.empty_panel": { + "size": [ 14, 14 ], + "controls": [ + { "button_icon_panel@persona.get_more_button_icon": {} } + ] + }, + + "button_label": { + "type": "label", + "size": [ "100%", 10 ], + "text": "dr.marketplace.get_more_skins", + "color": "$text_color", + "text_alignment": "left" + }, + + "button_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { "text@persona.button_label": {} } + ] + }, + + "get_more_button_content@common.horizontal_stack_panel": { + "size": [ "100%", 16 ], + "controls": [ + { "space1@common.empty_panel": { "size": [ 2, "100%" ] } }, + { "icon@persona.get_more_icon_panel": {} }, + { "space2@common.empty_panel": { "size": [ 4, "100%" ] } }, + { "label@persona.button_label_panel": {} } + ] + }, + + "get_more_skins_button@common_buttons.light_content_button": { + "ignored": "$ignore_skins_button", + "size": [ "100%", 26 ], + "$pressed_button_name": "button.get_more_skins", + "$button_content": "persona.get_more_button_content" + }, + + "see_more_skins_button@common_buttons.light_text_button": { + "size": [ "50%", 26 ], + "$button_text": "dr.classic_skins.show_more", + "$pressed_button_name": "button.show_more_skin_packs", + "$button_bindings": [ + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + }, + { + "binding_type": "$section_collection_binding_type", + "binding_collection_name": "$section_collection_name", + "binding_name": "#show_more_pack_visible", + "binding_name_override": "#visible" + } + ], + "property_bag": { + "skin_pack_collection_name": "$skin_pack_collection_name" + } + }, + + "classic_skin_stack_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + "$skin_pack_collection": "common.empty_panel", + + "clip_state_change_event": "skin_pack_collector_clip_change_event", + + "controls": [ + { "skin_packs@$skin_pack_collection": {} }, + { "spacer1@persona.vertical_4_padding": {} }, + { "see_more_owned@persona.see_more_skins_button": {} }, + { "divider2@persona.common_horizontal_divider": {} } + ], + "bindings": [ + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + }, + + "owned_skin_pack_collection@persona.classic_skin_stack_panel": { + "$skin_pack_collection": "persona.persona_owned_skin_pack_grid_panel", + "$skin_pack_collection_name": "owned_skin_pack_collection" + }, + + "realms_skin_pack_collection@persona.classic_skin_stack_panel": { + "$skin_pack_collection": "persona.persona_realms_purchasable_skin_pack_grid_panel", + "$skin_pack_collection_name": "realms_skin_pack_collection" + }, + + "unowned_skin_pack_collection@persona.classic_skin_stack_panel": { + "$skin_pack_collection": "persona.persona_unowned_purchasable_skin_pack_grid_panel", + "$skin_pack_collection_name": "unowned_skin_pack_collection" + }, + + "skin_pack_collection_factory": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "collection_name": "$section_collection_name", + "$section_collection_binding_type": "collection", + "$section_collection_details": "collection_details", + "$section_collection_name": "skin_pack_collector_collection", + "$section_collection_prefix": "skin_pack_collector", + "factory": { + "name": "skin_pack_collector_factory", + "control_ids": { + "owned_collector_section": "persona.owned_skin_pack_collection", + "unowned_collector_section": "persona.unowned_skin_pack_collection", + "realms_collector_section": "persona.realms_skin_pack_collection" + }, + "factory_variables": [ + "$section_collection_binding_type", + "$section_collection_details", + "$section_collection_name", + "$section_collection_prefix" + ] + }, + "bindings": [ + { + "binding_name": "#skin_pack_collector_sections", + "binding_name_override": "#collection_length" + } + ] + }, + + "classic_skin_sections@common.vertical_stack_panel": { + "size": [ "100% - 4px", "100%c" ], + "$category_collection_prefix": "persona_skin_pack_category", + "$category_collection_name": "persona_skin_pack_category_collection", + "collection_name": "$category_collection_name", + "$content_label_binding_name": "#persona_skin_pack_category_name", + "$persona_skin_pack_binding_type": "collection", + "$persona_skin_pack_collection_prefix": "persona_skin_pack", + + "controls": [ + { "featured_section@persona.classic_skin_features_group_content": { "size": [ "100%", "100%c" ] } }, + { "get_more_button@persona.get_more_skins_button": {} }, + { "divider1@persona.common_horizontal_divider": {} }, + { "skin_pack_factory@persona.skin_pack_collection_factory": {} } + ] + }, + + "background_classic_skin_section": { + "type": "button", + "size": [ "100%", "100%c" ], + "controls": [ + { "classic_skin_sections@persona.classic_skin_sections": {} } + ] + }, + + "classic_skin_scroll_panel@persona.scroll_section": { + "$scrolling_content": "persona.background_classic_skin_section", + "bindings": [ + { + "binding_name": "(not #is_skin_pack_screen_search_loading)", + "binding_name_override": "#visible" + } + ] + }, + + "classic_skin_loading@persona.progress_loading": { + "bindings": [ + { + "binding_name": "#is_skin_pack_screen_search_loading", + "binding_name_override": "#visible" + } + ] + }, + + "classic_skin_scroll_panel_loading_group": { + "type": "panel", + "controls": [ + { "loading@persona.classic_skin_loading": {} }, + { "scroll_panel@persona.classic_skin_scroll_panel": {} } + ] + }, + + "classic_skin_categories@persona.dialog_background_object": { + "$persona_dialog_content": "persona.classic_skin_scroll_panel_loading_group", + "bindings": [ + { + "binding_name": "#is_classic_skin_section_visible", + "binding_name_override": "#visible" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// cape objects + + "cape_section_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { + "none_spacing": { + "type": "panel", + "size": [ "100%", 22 ] + } + }, + { + "grid@persona.cape_grid_panel": {} + } + ] + }, + + "cape_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "grid_stack@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "(not #sizing_options_on)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "cape_piece_offer_grid": { + "type": "grid", + "size": [ "100% - 4px", "100%c" ], + + "grid_dimension_binding": "#cape_count", + "grid_rescaling_type": "horizontal", + "grid_item_template": "persona.persona_piece_offer", + "$pressed_button_function": "button.apply_cape", + "$persona_piece_prefix|default": "cape", + "$persona_piece_binding_type|default": "collection", + "$persona_piece_collection_details|default": "collection_details", + "$persona_piece_collection_name|default": "cape_collection", + "collection_name": "$persona_piece_collection_name", + "bindings": [ + { + "binding_name": "#cape_count", + "binding_name_override": "#maximum_grid_items" + } + ] + } + } + ] + } + } + ] + }, + + "cape_button_content@common.empty_panel": { + "size": [ "100% - 6px", "100%" ], + "controls": [ + { + "stack_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + + "controls": [ + { + "content_label_panel@common.empty_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "content_label": { + "type": "label", + "size": [ "100%", 12 ], + "layer": 10, + "text": "dr.header.capes", + "color": "$text_color" + } + } + ] + } + }, + { + "content_image_panel@common.empty_panel": { + "size": [ "15%", "100%x" ] + } + } + ] + } + }, + { + "bottom_bar": { + "type": "image", + "texture": "textures/ui/White", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "offset": [ 0, "7%" ], + "size": [ "100%", "5%" ], + "color": "$dressing_room_sub_category_seperator_color", + "alpha": 0.2 + } + } + ] + }, + + "cape_button@common_buttons.dark_content_button": { + "size": [ "100% - 8px", 25 ], + // button vars + "$pressed_button_name": "button.show_capes", + "$button_content": "persona.cape_button_content", + + // override textures + "$default_button_texture": "", + "$hover_button_texture": "textures/ui/banners_no_border", + "$pressed_button_texture": "textures/ui/banners_no_border_dark_hover", + "$locked_button_texture": "textures/ui/banners_no_border", + + // override text colors + "$default_text_color": "$dark_toggle_checked_default_text_color", + "$hover_text_color": "$dark_toggle_checked_hover_text_color", + "$border_visible": false, + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.subcategory_button_hovered", + "mapping_type": "pressed" + } + ] + }, + + "cape_piece_section_scroll_panel@persona.scroll_section": { + "$scrolling_content": "persona.cape_section_panel" + }, + + "cape_piece_section@persona.dialog_background_object": { + "$persona_dialog_content": "persona.cape_piece_section_scroll_panel", + "bindings": [ + { + "binding_name": "#is_cape_selection_visible", + "binding_name_override": "#visible" + } + ] + }, + + "cape_scrolling_content@common.empty_panel": { + "controls": [ + { + "the_cape_button@persona.cape_button": { + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + } + ] + }, + + "cape_scroll_panel@persona.scroll_section": { + "$scrolling_content": "persona.cape_scrolling_content" + }, + + "cape_category_section@persona.dialog_background_object": { + "$persona_dialog_content": "persona.cape_scroll_panel", + "bindings": [ + { + "binding_name": "#is_cape_section_visible", + "binding_name_override": "#visible" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// emotes content + "emotes_slot_button_content@persona.sub_category_label_image_button_content": { + "$has_border": true + }, + + "emote_slot_grid_item@persona.persona_subcategory_button": { + "$content_label_image_binding_type": "collection", + "$content_label_image_collection_name": "$subcategory_collection_name", + "$content_label_binding_name": "#persona_emote_slot_name", + "$content_image_binding_name": "#persona_emote_image_name", + "$content_label_image_file_system_binding_type": "collection", + "$content_image_binding_system": "#persona_emote_image_file_system", + "$content_image_is_dynamic": true, + + "$pressed_button_name": "button.emote_slot_selected", + "$hover_button_name": "button.emote_slot_button_hovered", + "$button_content": "persona.emotes_slot_button_content" + }, + + "emotes_slot_grid": { + "type": "grid", + "size": [ "100% - 4px", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + + "$button_focus_precedence": 20, + + "$subcategory_collection_prefix|default": "persona_emote_slot", + "$subcategory_collection_name|default": "persona_emote_slot_collection", + "$subcategory_button_focus_id": "emote_slot_grid_item", + + "$emote_slot_dimension_binding": "#emote_slot_dimension_binding", + "grid_dimension_binding": "$emote_slot_dimension_binding", + "grid_item_template": "persona.emote_slot_grid_item", + "collection_name": "$subcategory_collection_name", + + "bindings": [ + { + "binding_name": "$emote_slot_dimension_binding" + } + ] + }, + + "emote_scroll_panel@persona.scroll_section": { + "$scrolling_content": "persona.emotes_slot_grid" + }, + + "emotes_right_side_bottom_buttons@persona.right_side_bottom_buttons": { + "controls": [ + { "purchase_buttons_panel@persona.purchase_buttons": {} } + ] + }, + + "emote_play_again_button@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "max_size": [ "50%", "100%" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$pressed_button_name": "button.play_emote_again", + "$font_type": "default", + "$button_text": "dr.emotes.play_again", + "$focus_id": "play_again_button", //see_pack_in_store_button + "$focus_override_left": "offer_real_money_purchase_button", + "$persona_focus_precedence": 3, + "bindings": [ + { + "binding_name": "#is_play_again_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "persona_emote_offer_scroll_content": { + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + "$max_size_centered_x_panel": [ "100%", "100%" ], + "$pressed_button_function": "button.select_emote", + "$piece_grid_dimension_binding": "#emote_offer_count", + "$persona_piece_prefix": "emote", + "$persona_piece_collection_name": "emote_collection", + "$ignore_piece_offer_grid_visible_bind": false, + "$piece_grid_visible_binding_name": "#is_emote_offer_list_visible", + "$button_content": "persona.piece_offer_button_content", + "$button_focus_precedence": 20, + + "controls": [ + { + "emote_offer_grid@persona.persona_piece_offer_grid": {} + } + ] + }, + + "emote_offer_section_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + + "focus_container": true, + "use_last_focus": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + + "controls": [ + { + "remove_emote_option_panel@common.empty_panel": { + "size": [ "100%", 19 ], + "controls": [ + { + "none_emote_button@common_buttons.light_text_button": { + "size": [ "100% - 4px", "100%" ], + "$pressed_button_name": "button.remove_emote", + "$button_text": "#none_option_text", + "$button_text_binding_type": "global", + "$button_text_size": [ "default", 10 ], + "$new_ui_label_offset": [ 0, -1 ], + "$font_type": "MinecraftTen", + "bindings": [ + { + "binding_name": "#is_none_emote_option_enabled", + "binding_name_override": "#enabled" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + } + } + ] + } + }, + { + "emote_offer_scroll_panel@persona.scroll_section": { + "size": [ "100%", "fill" ], + "$scrolling_content": "persona.persona_emote_offer_scroll_content" + } + } + ] + }, + + "emote_piece_section@common.vertical_stack_panel": { + "size": [ "100%", "100% - 4px" ], + "controls": [ + { "top_padding@persona.vertical_2_padding": {} }, + { + "emote_piece_dialog@persona.dialog_background_object": { + "$persona_dialog_content": "persona.emote_offer_section_panel" + } + } + ], + "bindings": [ + { + "binding_name": "#is_emote_offer_list_visible", + "binding_name_override": "#visible" + } + ] + }, + + //-------------------- Emote Slot Editor Popup ---------------------------------------------- + "close_emote_popup_controller@common.empty_panel": { + "$gamepad_helper_layer": 2, + "$gamepad_helper_visible_binding_name": "#is_using_gamepad", + "controls": [ + { + "close_ui@common.gamepad_helper_dpad_left": { + "$icon_description_bind": "controller.buttonTip.cancel", + "$icon_description_bind_type": "none" + } + } + ], + + "bindings": [ + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + }, + "emote_close_popup@common.close_button": { + "$close_button_to_button_id": "button.emote_slot_popup_close" + }, + + "emote_wheel_content@persona_common.emote_wheel_panel": { + "$gamepad_helper_visible_binding_name": "#is_using_gamepad", + "size": [ "100%", "100%" ], + "layer": 2 + }, + + "emote_equip_slot_content": { + "type": "panel", + + "$close_button_visible_binding_type": "global", + + "controls": [ + { + "close@common.close_button": { + "offset": [ -2, 2 ] + } + }, + { + "emote_wheel_content_panel": { + "type": "panel", + + // shrink size to that of the content section of popup + "size": [ "100% - 16px", "100% - 31px" ], + // center control to the content section of popup + "offset": [ 0, 7 ], + + "controls": [ + { + "cancel@persona.close_emote_popup_controller": { + "size": [ 50, 20 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -12, -8 ] + } + }, + { + "emote_wheel_prompt_content@common.squaring_panel": { + "$squaring_panel_content": "persona.emote_wheel_content" + } + } + ] + } + } + ] + }, + + "popup_emote_wheel_dialog": { + "type": "panel", + "controls": [ + { + "popup_background@persona.popup_dialog_bg": { + "$persona_popup_title_text": "#emote_popup_title", + "$persona_popup_title_size": [ "100% - 20px", "default" ], + "$persona_popup_title_font_type": "default", + "$show_close_button": false, + "$dialog_content": "persona.emote_equip_slot_content", + + "$dialog_size|default": [ "60%", "90%" ], + + "variables": [ + { + "requires": "(($pocket_edition or $is_ios) and $touch)", + "$dialog_size": [ "88%", "90%" ] + } + ], + "size": "$dialog_size", + + "$persona_popup_title_bindings": [ + { + "binding_name": "#emote_popup_title" + } + ] + } + } + ] + }, + + "popup_dialog__emote_equip_slot_editor@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "layer": 990, + "gamepad_deflection_mode": true, + "$section_content_size": [ "100%", "100% - 16px" ], + "$close_button_to_button_id": "button.close_dialog", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "global" + } + ], + + "controls": [ + { + "background_image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": 0.8 + } + }, + { "popup_emote_wheel_dialog@persona.popup_emote_wheel_dialog": {} } + ] + }, + + + /////////////////////////////////////////////////////////////////////////////////////// + //// left panel content + + "category_section_panels": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", "100%" ], + "controls": [ + { "category_section@persona.persona_category_section": {} }, + { "classic_skin_section@persona.classic_skin_categories": {} } + ] + }, + + "persona_section_panels": { + "type": "panel", + "size": [ "100%", "fill" ], + "focus_container": true, + "use_last_focus": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_right": "custom", + "focus_container_custom_right": [ + { + "other_focus_container_name": "content_stack2" + } + ], + + "$is_sidebar_navigation_enabled|default": false, + "$focus_navigation_mode_up|default": "none", + "$focus_container_custom_up|default": [], + "variables": [ + { + "requires": "(not $is_sidebar_navigation_enabled)", + "$focus_navigation_mode_up": "custom", + "$focus_container_custom_up": [ + { + "other_focus_container_name": "persona_tabs_cape" + } + ] + } + ], + "focus_navigation_mode_up": "$focus_navigation_mode_up", + "focus_container_custom_up": "$focus_container_custom_up", + + "controls": [ + { "category_sections@persona.category_section_panels": {} }, + { "persona_piece_section@persona.persona_piece_section": {} }, + { "classic_skin_skin@persona.persona_skin_section": {} } + ] + }, + + "persona_left_panel": { + "type": "panel", + "size": [ "50%", "100%" ], + "controls": [ + { + "persona_offer_panel_content@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "layer": 2, + "$left_focus_container_override": "left_main_panel", + "controls": [ + { "space@persona.vertical_2_padding": {} }, + { "persona_left_panels@persona.persona_section_panels": {} }, + { "bottom_panel_padding@persona.vertical_2_padding": {} } + ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// overall screen objects + + "persona_screen_main_panel_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "preview_panel": { + "type": "input_panel", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "100%" ], + "always_listen_to_input": true, + "controls": [ + { + "preview@skin_viewer_panel": { + "$model_offset": [ 0, -2 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "80%", "80%" ], + "$gesture_input_panel_control": "preview", + "$skin_preview": "#preview_skin_full", + "focus_enabled": true + } + } + ], + "bindings": [ + { + "binding_name": "#preview_appearance_on", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.try_exiting", + "mapping_type": "pressed" + } + ] + } + }, + { + "stack_panel@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "$left_focus_container_override": "left_main_panel", + "controls": [ + { "left_main_panel_padding@persona.horizontal_2_padding": {} }, + { "left_main_panel@persona.persona_left_panel": {} }, + { "middle_main_panel_padding@persona.horizontal_1_padding": {} }, + { "right_main_panel@persona.right_side_stack": {} }, + { "right_main_panel_padding@persona.horizontal_2_padding": {} } + ], + "bindings": [ + { + "binding_name": "(not #preview_appearance_on)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { "classic_skin_custom_popup@persona.custom_skin_popup_dialog_panel": {} } + ], + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "persona_progress_loading@common_store.progress_loading": { + "layer": 100, // Make this on top + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "persona_screen_main_panel@sidebar_navigation.sidebar_view": { + "$sidebar_main_view_content": "persona.persona_screen_main_panel_content" + }, + + "persona_screen_background_content": { + "type": "image", + "fill": true, + "texture": "textures/ui/profile_bg" + }, + + "persona_screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "persona.persona_screen_main_panel", + "$back_button_pressed_button_name": "button.try_exiting", + "$top_status_and_coins_visible_binding_type": "global", + "$top_status_and_coins_visible_binding": "(not #preview_appearance_on)", + "$coin_focus_enabled_binding": "#persona_coins_focus_enabled" + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed", + "switch_character_skin_screens": "@persona.popup_dialog__switch_persona_and_classic_skin", + "custom_skin_info": "@persona.popup_dialog__custom_skin_info", + "realms_plus_extra_info": "@persona.popup_dialog__realms_plus_extra_info", + "emote_equip_slot_editor": "@persona.popup_dialog__emote_equip_slot_editor", + "restricted_content_popup": "@persona.popup_dialog__restricted_content_popup" + } + } + } + ] + }, + + "persona_screen@common.base_screen": { + "$safezone_screen_matrix_layer": 20, + "$ignore_inventory_button": true, + + "$wallet_gamepad_helper_bindings": [ + { + "binding_name": "(#gamepad_helper_visible and #persona_x_bind_enabled)", + "binding_name_override": "#visible", + "binding_condition": "once" + } + ], + + "button_mappings": [ + { + "from_button_id": "button.controller_select", // controller_X + "to_button_id": "button.coin_wallet_or_emote_preview", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.try_exiting", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_right", // controller_R3 + "to_button_id": "button.preview_skin", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$screen_content": "persona.persona_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": false, + "$ignore_swappers": false, + + "$ignore_home_button": true, + "$ignore_search": true, + + "$sidebar_ignore_page_loading": false, + "$hide_failure_text": true, + + "$screen_bg_content": "persona.persona_screen_background_content" + } +} diff --git a/resource_pack/ui/persona_sdl.json b/resource_pack/ui/persona_sdl.json new file mode 100644 index 0000000..43d392e --- /dev/null +++ b/resource_pack/ui/persona_sdl.json @@ -0,0 +1,4397 @@ +{ + "namespace": "persona_sdl", + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Helpers + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "horizontal_fill_padding": { + "type": "panel", + "size": [ "fill", "100%sm" ] + }, + + "horizontal_1_padding": { + "type": "panel", + "size": [ 1, "100%" ] + }, + + "horizontal_2_padding": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + "horizontal_padding_4px": { + "type": "panel", + "size": [ 4, "100%sm" ] + }, + + "horizontal_padding_6px": { + "type": "panel", + "size": [ 6, "100%sm" ] + }, + + "vertical_padding_1px": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "vertical_padding_2px": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "sides_padding_panel": { + "type": "panel", + "size": [ "5%", 0 ] + }, + + "general_text_field": { + "type": "label", + "color": "$generic_button_text_color", + "font_scale_factor": "$font_scale", + "$font_type|default": "default", + "font_type": "$font_type", + "$font_scale|default": 1.0, + "$text_anchor|default": "left_middle", + "anchor_from": "$text_anchor", + "anchor_to": "$text_anchor" + }, + + "right_icon@persona_common.icon_image": { + "size": [ 4, 7 ], + "color": "$dressing_room_dark_button_color", + "texture": "textures/ui/chevron_right" + }, + + "left_icon@persona_common.icon_image": { + "size": [ 4, 7 ], + "color": "$dressing_room_dark_button_color", + "texture": "textures/ui/chevron_left" + }, + + "lock_icon@persona_common.icon_image": { + "size": [ 12, 11 ], + "texture": "textures/ui/icon_lock" + }, + + "realms_icon@persona_common.icon_image": { + "size": [ 11, 14 ], + "texture": "textures/ui/realmsIcon" + }, + + "realms_small_icon@persona_common.icon_image": { + "size": [ 8, 10 ], + "texture": "textures/ui/realm_icon_small" + }, + + "realms_banner_small@persona_common.icon_image": { + "size": [ 14, 12 ], + "texture": "textures/ui/realm_banner_small" + }, + + "common_image": { + "type": "image", + "layer": 2, + "keep_ratio": false, + "texture": "$image", + "$image|default": "#texture", + "$image_binding_name|default": "#none", + "$image_binding_type|default": "none", + + "bindings": [ + { + "binding_type": "$image_binding_type", + "binding_name": "$image_binding_name", + "binding_name_override": "#texture" + } + ] + }, + + "common_icon@common_image": { + "size": [ 12, 12 ], + "$icon_image|default": "textures/ui/white_background", + "$image|default": "$icon_image", + "$icon_binding_type|default": "none", + "$image_binding_type": "$icon_binding_type", + "$icon_binding_name|default": "#none", + "$image_binding_name": "$icon_binding_name" + }, + + "loading_icon": { + "type": "image", + "layer": 1, + "texture": "textures/ui/mine_chop_dig_animation", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 30, 30 ], + "uv_size": [ 10, 10 ], + "uv": "@persona.pick_axe_animation", + "color": [ 1, 1, 1, 1 ] + }, + + "view_character_icon@persona_sdl.common_image": { + "size": [ 14, 14 ], + "texture": "textures/ui/icon_preview" + }, + + "replay_emote_icon@persona_sdl.common_image": { + "size": [ 14, 14 ], + "texture": "textures/ui/book_arrowright_pressed_transparent" + }, + + "info_glyph_icon@persona_sdl.common_image": { + "size": [ 14, 14 ], + "texture": "textures/ui/blue_info_glyph" + }, + + "popup_toast@persona.popup": { + "layer": 100, + "$display_time": 0.75, + "$transition_in_time": 0.15, + "$transition_out_time": 0.15, + "$popup_size": [ 184, "100%cm" ], + "$toast_text_offset": [ 0, 0 ], + "$toast_text_alignment": "center", + "$toast_anchor_from": "center", + "$toast_anchor_to": "center", + "$toast_font_type": "smooth", + "$offset_anims": [], + "$alpha_anims": [ + "@persona.popup_anim_start" + ] + }, + + "profile_button_image_content": { + "type": "image", + "size": "$button_image_content_size", + "$button_image_content_size|default": [ "100%", "100%" ], + "layer": 2, + "alpha": "$alpha", + "texture": "$profile_button_image", + "$texture_color|default": "white", + "color": "$texture_color", + "variables": [ + { + "requires": "$locked_state", + "$alpha": 0.6 + }, + { + "requires": "(not $locked_state)", + "$alpha": 1.0 + } + ] + }, + + "scroll_section@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scroll_size": [ 5, "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_view_port_size": [ "100% - 8px", "100%" ], + "$show_background": false, + "$bar_visible": true, + "$scroll_bar_contained": true + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Color Picker + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "color_picker_left_cycle@common_buttons.light_content_button": { + "$button_content": "persona_sdl.left_icon", + "$pressed_button_name": "button.swap_color_channel_left", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "color_picker_right_cycle@common_buttons.light_content_button": { + "$button_content": "persona_sdl.right_icon", + "$pressed_button_name": "button.swap_color_channel_right", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "color_grid_icon": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/white_background", + "bindings": [ + { + "binding_name": "#current_panel_color", + "binding_name_override": "#color", + "binding_type": "collection", + "binding_collection_name": "color_collection" + } + ], + "controls": [ + { + "equipped@persona_sdl.equipped_border": { + "size": [ "100% + 2px", "100% + 2px" ], + "bindings": [ + { + "binding_name": "#color_equipped", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "color_collection" + } + ] + } + }, + { + "selected@persona_sdl.selected_border": { + "size": [ "100% + 2px", "100% + 2px" ], + "layer": 1, + "bindings": [ + { + "binding_name": "#color_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "color_collection" + } + ] + } + } + ] + }, + + "color_grid_item@common_buttons.light_content_button": { + "size": [ "17% - 2px", "100%x" ], + "layer": 3, + + "$border_hover_layer": 10, + "$light_border_hover_color": "$dressing_room_hover_color", //hover focus border color + "$hover_button_texture": "textures/ui/button_borderless_light", + "$focus_border_size": [ "100% - 2px", "100% - 2px" ], + "$button_content_size": [ "100% - 4px", "100% - 4px" ], + "$button_pressed_offset": [ 0, 0 ], + "$button_content": "persona_sdl.color_grid_icon", + "$pressed_button_name": "button.change_piece_color", + "$focus_id": "color_grid_item", + "$button_focus_precedence": 20, + "$default_state_border_visible": false, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "color_collection", + "binding_collection_prefix": "color" + } + ] + }, + + "color_grid": { + "type": "grid", + "size": [ "100% - 2px", "100%c + 2px" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "grid_item_template": "persona_sdl.color_grid_item", + "grid_rescaling_type": "horizontal", + "grid_dimension_binding": "#color_single_page_size", + "collection_name": "color_collection", + "bindings": [ + { + "binding_name": "#color_single_page_size", + "binding_name_override": "#maximum_grid_items" + } + ] + }, + + "color_picker_content_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "top_pad@persona_sdl.vertical_padding_2px": {} }, + { + "top_bar@common.horizontal_stack_panel": { + "size": [ "100%", 20 ], + "controls": [ + { + "cycle_left": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "button@persona_sdl.color_picker_left_cycle": { + "layer": 2, + "offset": [ 5, 0 ], + "bindings": [ + { + "binding_name": "#left_color_cycle_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ] + } + }, + { + "left_bumper_panel@common.empty_panel": { + "bindings": [ + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "left_bumper@common.gamepad_helper_left_bumper": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, -20 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { "padding_0@persona_sdl.horizontal_2_padding": {} }, + { + "title": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "skin_title": { + "type": "label", + "size": [ "100%", "default" ], + "max_size": [ "100%", "100%" ], + "text": "#color_picker_title", + "text_alignment": "center", + "color": "$dressing_room_color_title", + "layer": 2, + "bindings": [ + { + "binding_name": "#color_picker_title" + } + ] + } + } + ] + } + }, + { "padding_1@persona_sdl.horizontal_2_padding": {} }, + { + "cycle_right": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "button@persona_sdl.color_picker_right_cycle": { + "layer": 2, + "offset": [ -5, 0 ], + "bindings": [ + { + "binding_name": "#right_color_cycle_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ] + } + }, + { + "right_bumper_panel@common.empty_panel": { + "bindings": [ + { + "binding_name": "#other_channels", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "right_bumper@common.gamepad_helper_right_bumper": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, -20 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { "middle_pad@persona_sdl.vertical_padding_2px": {} }, + { + "grid_of_colors@persona_sdl.scroll_section": { + "size": [ "100%", "fill" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$scrolling_content": "persona_sdl.color_grid" + } + } + ] + }, + + "color_picker_icon@persona_sdl.common_image": { + "size": [ 16, 16 ], + "layer": 2, + "texture": "textures/ui/color_picker" + }, + + "color_picker_icon_content@common.empty_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "color_picker_icon@persona_sdl.color_picker_icon": {} } + ] + }, + + "open_color_picker_button@common_buttons.light_content_button": { + "size": [ 23, 22 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "layer": 92, + + "$button_content": "persona_sdl.color_picker_icon_content", + "$pressed_button_name": "button.open_color_picker", + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true, + "$focus_id": "open_color_picker_button", + + "bindings": [ + { + "binding_name": "#open_color_picker_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#open_color_picker_button_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#open_color_picker_button_enabled", + "binding_name_override": "#focus_enabled" + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Appearance Section Controls + ///////////////////////////////////////////////////////////////////////////////////////////////// + "appearance_viewer_panel": { + "type": "input_panel", + "$appearance_viewer_model_size|default": [ "51%y", "110%" ], // 5x base dimensions [20, 39] + "size": "$appearance_viewer_model_size", + "max_size": [ "100%", "100%" ], + "$model_offset|default": [ 0, "-15%" ], + + "gesture_tracking_button": "button.turn_doll", + + "controls": [ + { + "appearance_model": { + "type": "custom", + "offset": "$model_offset", + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "$skin_model_layer|default": 5, + "layer": "$skin_model_layer", + "use_selected_skin": false, + "use_skin_gui_scale": true, + "rotation": "gesture_x", + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "$skin_preview" + }, + { + "binding_type": "view", + "source_control_name": "$gesture_input_panel_control", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "$gesture_input_panel_control", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#can_paperdoll_rotate", + "binding_name_override": "#always_handle_controller_direction", + "binding_condition": "always" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ] + }, + + "play_highlighted_emote_panel": { + "type": "panel", + "size": [ "100%", "default" ], + "visible": false, + "property_bag": { + "#visible": false + }, + "bindings": [ + { + "binding_name": "#play_highlighted_emote_helper_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gamepad_helper@common.gamepad_helper_x": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ -6, 7 ] + } + }, + { + "play_highlighted_emote_helper": { + "type": "label", + "layer": 2, + "font_scale_factor": 0.8, + "size": [ "100%", "default" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 16, -2 ], + "text_alignment": "left", + "text": "persona.preview.emote", + "color": "$dressing_room_right_side_default_text_color" + } + } + ] + }, + + "info_button@common_buttons.light_content_button": { + "size": [ 22, 22 ], + "layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90 + + "$focus_id": "info_button", + "$button_content": "persona_sdl.info_glyph_icon", + "$button_size_override": [ 22, 22 ], + "$pressed_button_name": "button.info_popup", + + "bindings": [ + { + "binding_name": "#restricted_info_visible", + "binding_name_override": "#visible" + } + ] + }, + + "expand_appearance_preview_button@common_buttons.light_content_button": { + "size": [ 22, 22 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + + "$expand_appearance_preview_button_event|default": "button.open_expanded_appearance_view", + + "layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90 + "$focus_id": "skin_preview_button", + "$button_content": "persona_sdl.view_character_icon", + "$button_size_override": [ 22, 22 ], + "$pressed_button_name": "$expand_appearance_preview_button_event", + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true + }, + + "play_emote_icon_button@common_buttons.light_content_button": { + "size": [ 22, 22 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + + "layer": 92, // Must be usable on top of skin rotation input panel which has layer of 90 + "$button_content": "persona_sdl.replay_emote_icon", + "$button_size_override": [ 22, 22 ], + "$pressed_button_name": "button.play_emote_again", + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true, + + "bindings": [ + { + "binding_name": "#is_play_again_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "expanded_appearance_button_stack@common.vertical_stack_panel": { + "size": [ 22, 48 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "controls": [ + { "play_emote_icon_button@persona_sdl.play_emote_icon_button": {} }, + { "expand_appearance_preview_button@persona_sdl.expand_appearance_preview_button": {} } + ] + }, + + "appearance_section": { + "type": "panel", + "size": [ "100%", "fill" ], + "layer": 90, + + "$skin_preview|default": "#preview_skin", + "$gesture_input_panel_control": "appearance_model", + + "$extra_appearance_section_content|default": "persona_sdl.dressing_room_extra_appearance_section_content", + "controls": [ + { "$gesture_input_panel_control@persona_sdl.appearance_viewer_panel": {} }, + { "extra_appearance_section_content@$extra_appearance_section_content": {} } + ] + }, + + "dressing_room_extra_appearance_section_content": { + "type": "panel", + "controls": [ + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "toast_message": "@persona_sdl.popup_toast" + } + } + }, + { + "arrow_panel": { + "type": "panel", + "size": [ "100%", 22 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "open_color_picker_button@persona_sdl.open_color_picker_button": {} }, + { "play_highlighted_emote_panel@persona_sdl.play_highlighted_emote_panel": {} }, + { + "right_side_button_stack_panel": { + "type": "stack_panel", + "size": [ "100%c", "100%" ], + "orientation": "horizontal", + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "controls": [ + { "info_button@persona_sdl.info_button": {} }, + { "pad@persona_sdl.horizontal_2_padding": {} }, + { "preview_appearance@persona_sdl.expand_appearance_preview_button": {} } + ] + } + } + ] + } + }, + { + "persona_updating@persona_sdl.loading_icon": { + "anchor_to": "top_right", + "anchor_from": "top_right", + "bindings": [ + { + "binding_name": "#persona_is_updating", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //////////////////////////////////////////////////////////////////////////////////////////////// + // Debug Appearance Controls + //////////////////////////////////////////////////////////////////////////////////////////////// + "right_side_stack_debug_control@common.vertical_stack_panel": { + "size": [ "100%", "fill" ], + "bindings": [ + { + "binding_name": "#is_using_dressing_room_debugging", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "debug_skin_names@common.horizontal_stack_panel": { + "size": [ "100%", 1 ], + "controls": [ + { + "debug_current_name": { + "type": "label", + "size": [ "fill", 15 ], + "font_type": "smooth", + "font_scale_factor": 0.75, + "layer": 15, + "color": "$right_side_default_text_color", + "text": "#current_skin_name", + "bindings": [ + { + "binding_name": "#current_skin_name" + } + ] + } + }, + { + "debug_active_name": { + "type": "label", + "size": [ "fill", 15 ], + "font_type": "smooth", + "font_scale_factor": 0.75, + "layer": 15, + "color": "$right_side_default_text_color", + "text": "#active_skin_name", + "bindings": [ + { + "binding_name": "#active_skin_name" + } + ] + } + } + ] + } + }, + { + "debug_skins@common.horizontal_stack_panel": { + "size": [ "100%", 75 ], + "controls": [ + { + "dressing_room_right_side_model_current@persona_sdl.appearance_viewer_panel": { + "size": [ "fill", "100%" ], + "$skin_offset": [ 0, -10 ], + "$skin_preview": "#current_skin", + "$gesture_input_panel_control": "dressing_room_right_side_model_current" + } + }, + { + "dressing_room_right_side_model_active@persona_sdl.appearance_viewer_panel": { + "size": [ "fill", "100%" ], + "$skin_offset": [ 0, -10 ], + "$skin_preview": "#active_skin", + "$gesture_input_panel_control": "dressing_room_right_side_model_active" + } + } + ] + } + }, + { + "debug_preview_skin_name": { + "type": "label", + "size": [ "100%", 20 ], + "layer": 15, + "font_type": "smooth", + "color": "$right_side_default_text_color", + "text": "#preview_skin_name", + "bindings": [ + { + "binding_name": "#preview_skin_name" + } + ] + } + } + ] + }, + + "enter_screen_appearance_size_animation@common.screen_entrance_size_animation_immediate": { + "duration": "$transition_time_pop", + "play_event": "anim.appearance_enter", + "end_event": "screen.entrance_end", + "resettable": true + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Right Side Dialog Controls + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "dialog_background_object@common_dialogs.flat_solid_background": { + "size": [ "100%", "100%" ], + "controls": [ + { + "dialog_background_object_content": { + "$dialog_bg_size|default": [ "100% - 2px", "100% - 2px" ], + "offset": [ 0, 0 ], + "type": "image", + "size": "$dialog_bg_size", + "texture": "textures/ui/White", + "color": "$dressing_room_dark_bg_color", + "alpha": "$dressing_room_background_alpha", + "layer": 2, + "controls": [ + { + "dialog_content@$persona_dialog_content": { + "layer": 4 + } + } + ] + } + } + ] + }, + + "right_side_dialog_panel": { + "type": "input_panel", + "$right_side_dialog_bg_size|default": [ "100% - 2px", "100% - 2px" ], + "$right_side_dialog_visible_binding|default": "('#is_right_info_' + $info_panel_prefix +'_panel_visible')", + "$ignore_right_side_dialog_visible_bind|default": false, + "bindings": [ + { + "ignored": "$ignore_right_side_dialog_visible_bind", + "binding_name": "$right_side_dialog_visible_binding", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "right_side_dialog@persona_sdl.dialog_background_object": { + "size": "$right_side_dialog_size", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "$dialog_bg_size": "$right_side_dialog_bg_size" + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Persona Height Options + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "persona_size_option_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 6px", "100%c" ], + "controls": [ + { + "height_label": { + "type": "label", + "font_type": "MinecraftTen", + "text": "$size_option_stack_title", + "color": "$dressing_room_size_default_text_color" + } + }, + { "pad_0@persona_sdl.vertical_padding_2px": {} }, + { "size_option_stack@$size_option_stack_control": {} } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + }, + + "persona_size_options_row_base": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "persona_arm_size_option_stack@persona_sdl.persona_size_option_stack": {} } + ] + }, + + "persona_height_options_row@persona_sdl.persona_size_options_row_base": { + "$size_option_stack_title": "dr.body_size_label_text", + "$size_option_stack_control": "persona_sdl.body_sizes" + }, + + "persona_arm_size_options_row@persona_sdl.persona_size_options_row_base": { + "$size_option_stack_title": "dr.arm_size_label_text", + "$size_option_stack_control": "persona_sdl.arm_sizes" + }, + + "arm_sizes@persona_sdl.arm_size_option_grid": { + "size": [ "100%", 30 ], + "$size_option_pressed_button_name": "button.change_arm_size", + "$size_option_image_binding_name": "#arms_image_binding", + "$size_option_dimension_binding": "#arm_size_dimensions", + "$selection_border_binding": "#arm_size_selected", + "$equipped_border_binding": "#arm_size_equipped", + "$size_option_collection_prefix": "arm_size", + "$size_option_collection_name": "arm_size_collection" + }, + + "body_sizes@persona_sdl.body_size_option_grid": { + "size": [ "100%", 50 ], + "$size_option_pressed_button_name": "button.change_height", + "$size_option_image_binding_name": "#height_image_binding", + "$size_option_dimension_binding": "#body_size_dimensions", + "$selection_border_binding": "#body_size_selected", + "$equipped_border_binding": "#body_size_equipped", + "$size_option_collection_prefix": "body_size", + "$size_option_collection_name": "body_size_collection" + }, + + "arm_size_option_grid@common.horizontal_stack_panel": { + "collection_name": "$size_option_collection_name", + "layer": 10, + "$size_option_panel_size": [ "25% - 3px", "100%" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$size_option_collection_name", + "binding_collection_prefix": "$size_option_collection_prefix" + } + ], + "controls": [ + { + "narrow@persona_sdl.size_option_panel": { + "$image_size": [ 12.8, 20 ], + "collection_index": 0 + } + }, + { "padding_1@persona_sdl.horizontal_padding_4px": {} }, + { + "wide@persona_sdl.size_option_panel": { + "$image_size": [ 16, 20 ], + "collection_index": 1 + } + } + ] + }, + + "body_size_option_grid@common.horizontal_stack_panel": { + "collection_name": "$size_option_collection_name", + "layer": 10, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$size_option_collection_name", + "binding_collection_prefix": "$size_option_collection_prefix" + } + ], + "controls": [ + { + "smaller@persona_sdl.size_option_panel": { + "$image_size": [ 18, 28.8 ], + "collection_index": 0 + } + }, + { "padding_1@persona_sdl.horizontal_padding_4px": {} }, + { + "small@persona_sdl.size_option_panel": { + "$image_size": [ 18, 32.4 ], + "collection_index": 1 + } + }, + { "padding_2@persona_sdl.horizontal_padding_4px": {} }, + { + "medium@persona_sdl.size_option_panel": { + "$image_size": [ 18, 36 ], + "collection_index": 2 + } + }, + { "padding_3@persona_sdl.horizontal_padding_4px": {} }, + { + "tall@persona_sdl.size_option_panel": { + "$image_size": [ 18, 37.8 ], + "collection_index": 3 + } + } + ] + }, + + "size_option_panel": { + "type": "panel", + "$size_option_panel_size|default": [ "fill", "100%" ], + "size": "$size_option_panel_size", + "controls": [ + { + "size_option_button@common.button": { + "$button_content": "persona_sdl.size_option_content", + "$pressed_button_name": "$size_option_pressed_button_name", + "$focus_id": "body_option", + "controls": [ + { "default@common.empty_panel": {} }, + { + "hover@persona_sdl.focus_border": { + "layer": 4 + } + }, + { + "pressed@persona_sdl.selected_border": { + "layer": 3 + } + }, + { + "content@$button_content": { + "layer": 2 + } + }, + { + "equipped@persona_sdl.equipped_border": { + "layer": 10, + "$enable_border": false, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$size_option_collection_name", + "binding_name": "$equipped_border_binding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "selected@persona_sdl.selected_border": { + "layer": 8, + "$enable_border": false, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$size_option_collection_name", + "binding_name": "$selection_border_binding", + "binding_name_override": "#visible" + } + ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.piece_button_hovered", + "mapping_type": "pressed" + } + ], + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$size_option_collection_name", + "binding_collection_prefix": "$size_option_collection_prefix" + } + ] + } + } + ] + }, + + "size_option_content": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/slots_bg", + "controls": [ + { + "size_option_image": { + "type": "image", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": "$image_size", + "offset": [ 0, -5 ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$size_option_collection_name", + "binding_name": "$size_option_image_binding_name", + "binding_name_override": "#texture" + } + ] + } + } + ] + }, + + "focus_border": { + "type": "image", + "layer": 10, + "$border_texture|default": "textures/ui/focus_border_selected", + "texture": "$border_texture" + }, + + "selected_border@persona_sdl.focus_border": { + "$border_texture": "textures/ui/focus_border_white", + "color": "$dressing_room_skin_picker_equipped_border_color" + }, + + "equipped_border": { + "type": "image", + "$enable_border|default": true, + "size": [ "100%", "100%" ], + "layer": 11, + "texture": "textures/ui/equipped_item_border" + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Character Selector + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "appearance_preset_side_panel": { + "type": "panel", + "size": [ "80%y", "100%sm" ], + "$is_left_preset_side|default": true, + "$small_preset_appearance_size": [ "51.2821%y", "80%" ], + "$large_preset_appearance_size": [ "51.2821%y", "90%" ], + "$large_preset_appearance_min_size": [ "51.2821%y", 85 ], + "$small_preset_appearance_min_size": [ "51.2821%y", 75 ], + "$large_preset_appearance_max_size": [ "51.2821%y", 125 ], + "$small_preset_appearance_max_size": [ "51.2821%y", 100 ], + "$large_preset_image_size": [ 50, 105 ], + "$small_preset_image_size": [ 37, 70 ], + "$large_preset_image": "textures/ui/profile_new_look", + "$small_preset_image": "textures/ui/profile_new_look_small", + "$low_preset_alpha": 0.4, + "$high_preset_alpha": 0.7, + "$preset_appearance_front_layer": 6, + "$preset_appearance_back_layer": 5, + "controls": [ + { + "appearance_presets_panel": { + "type": "panel", + + "$preset_appearance_binding_name": "#appearance_preset_preview", + "$left_appearance_size": "$small_preset_appearance_size", + "$right_appearance_size": "$large_preset_appearance_size", + + "$left_appearance_preset_min_size|default": "$small_preset_appearance_min_size", + "$left_appearance_preset_max_size|default": "$small_preset_appearance_max_size", + "$left_image_preset_size|default": "$small_preset_image_size", + "$left_image|default": "$small_preset_image", + "$left_appearance_preset_layer|default": "$preset_appearance_back_layer", + "$left_appearance_preset_alpha|default": "$low_preset_alpha", + "$right_appearance_preset_min_size|default": "$large_preset_appearance_min_size", + "$right_appearance_preset_max_size|default": "$large_preset_appearance_max_size", + "$right_image_preset_size|default": "$large_preset_image_size", + "$right_image|default": "$large_preset_image", + "$right_appearance_preset_layer|default": "$preset_appearance_front_layer", + "$right_appearance_preset_alpha|default": "$high_preset_alpha", + "variables": [ + { + "requires": "(not $is_left_preset_side)", + "$left_appearance_size": "$large_preset_appearance_size", + "$right_appearance_size": "$small_preset_appearance_size", + "$left_appearance_preset_min_size": "$large_preset_appearance_min_size", + "$left_appearance_preset_max_size": "$large_preset_appearance_max_size", + "$left_image_preset_size": "$large_preset_image_size", + "$left_image": "$large_preset_image", + "$left_appearance_preset_layer": "$preset_appearance_front_layer", + "$left_appearance_preset_alpha": "$high_preset_alpha", + "$right_appearance_preset_min_size": "$small_preset_appearance_min_size", + "$right_appearance_preset_max_size": "$small_preset_appearance_max_size", + "$right_image_preset_size": "$small_preset_image_size", + "$right_image": "$small_preset_image", + "$right_appearance_preset_layer": "$preset_appearance_back_layer", + "$right_appearance_preset_alpha": "$low_preset_alpha" + } + ], + "controls": [ + { + "left_appearance_preset@persona_sdl.persona_appearance_preset_panel": { + "size": "$left_appearance_size", + "min_size": "$left_appearance_preset_min_size", + "max_size": "$left_appearance_preset_max_size", + "$preset_appearance_layer": "$left_appearance_preset_layer", + "$preset_appearance_alpha": "$left_appearance_preset_alpha", + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "$preset_image_size": "$left_image_preset_size", + "$preset_image": "$left_image", + "variables": [ + { + "requires": "$is_left_preset_side", + "$idx": 1 + }, + { + "requires": "(not $is_left_preset_side)", + "$idx": 4 + } + ], + "$preset_appearance_property_bag": { + "#preview_idx": "$idx" + } + } + }, + { + "right_appearance_preset@persona_sdl.persona_appearance_preset_panel": { + "size": "$right_appearance_size", + "min_size": "$right_appearance_preset_min_size", + "max_size": "$right_appearance_preset_max_size", + "$preset_appearance_layer": "$right_appearance_preset_layer", + "$preset_appearance_alpha": "$right_appearance_preset_alpha", + "anchor_to": "right_middle", + "anchor_from": "right_middle", + "$preset_image_size": "$right_image_preset_size", + "$preset_image": "$right_image", + "variables": [ + { + "requires": "$is_left_preset_side", + "$idx": 2 + }, + { + "requires": "(not $is_left_preset_side)", + "$idx": 5 + } + ], + "$preset_appearance_property_bag": { + "#preview_idx": "$idx" + } + } + } + ] + } + } + ] + }, + + "preset_arrow_button@common_buttons.light_content_button": { + "size": [ "100%", "100%x" ], + + "$focus_id": "$arrow_button_focus_id", + "$focus_override_left": "$arrow_button_focus_override_left", + "$focus_override_right": "$arrow_button_focus_override_right", + "$button_content": "persona_sdl.profile_button_image_content", + "$texture_color": "$dressing_room_dark_button_color", + "$button_image_content_size": [ 4, 7 ], + "$profile_button_image|default": "textures/ui/chevron_left", + "$pressed_button_name|default": "button.pressedArrowLeft", + "$enabled_binding_Name|default": "#arrow_left_enabled", + "$is_arrow_right|default": false, + "variables": [ + { + "requires": "$is_arrow_right", + "$pressed_button_name": "button.pressedArrowRight", + "$profile_button_image": "textures/ui/chevron_right", + "$enabled_binding_Name": "#arrow_right_enabled" + } + ], + "bindings": [ + { + "binding_name": "$enabled_binding_Name", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + }, + + "preset_arrow_button_panel": { + "type": "panel", + "size": [ "100%", "100%x" ], + "$arrow_button_focus_id|default": "", + "$arrow_button_focus_override_left|default": "", + "$arrow_button_focus_override_right|default": "", + "controls": [ + { + "preset_arrow_button@persona_sdl.preset_arrow_button": {} + } + ] + }, + + "preset_arrow_button_left_panel": { + "type": "panel", + "size": [ 24, "100%sm" ], + "layer": "$preset_arrow_button_layer", + "controls": [ + { + "preset_arrow_button_left@persona_sdl.preset_arrow_button_panel": { + "$arrow_button_focus_id": "preset_arrow_button_left", + "$arrow_button_focus_override_right": "preset_arrow_button_right" + } + }, + { + "left_bumper@common.gamepad_helper_left_bumper": { + "offset": [ -2, -20 ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "preset_arrow_button_right_panel": { + "type": "panel", + "size": [ 24, "100%sm" ], + "layer": "$preset_arrow_button_layer", + "controls": [ + { + "preset_arrow_button_right@persona_sdl.preset_arrow_button_panel": { + "$is_arrow_right": true, + "$arrow_button_focus_id": "preset_arrow_button_right", + "$arrow_button_focus_override_left": "preset_arrow_button_left" + } + }, + { + "right_bumper@common.gamepad_helper_right_bumper": { + "offset": [ 2, -20 ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "skin_model_renderer": { + "type": "custom", + "size": [ "100%", "100%" ], + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + + "layer": "$preset_appearance_layer", + + "$preset_appearance_alpha|default": 0.2, + "alpha": "$preset_appearance_alpha", + + "use_selected_skin": false, + "use_skin_gui_scale": true, + "animation_reset_name": "screen_animation_reset", + "$skin_model_preset_visible_binding_name|default": "#is_preset_visible", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + + "$preset_appearance_property_bag|default": {}, + "property_bag": "$preset_appearance_property_bag", + + "$preset_model_gesture_rotation|default": "", + "$preset_model_gesteure_bindings|default": [ + { + "binding_type": "global", + "binding_name": "$preset_appearance_binding_name", + "binding_condition": "always" + }, + { + "binding_name": "$skin_model_preset_visible_binding_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ], + "variables": [ + { + "requires": "$is_preset_appearance_using_gestures", + "$preset_model_gesture_rotation": "gesture_x", + "$preset_model_gesteure_bindings": [ + { + "binding_type": "global", + "binding_name": "$preset_appearance_binding_name", + "binding_condition": "always" + }, + { + "binding_type": "view", + "source_control_name": "$preset_gesture_source_control_name", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "$preset_gesture_source_control_name", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + }, + { + "binding_name": "$skin_model_preset_visible_binding_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + ], + + "rotation": "$preset_model_gesture_rotation", + "bindings": "$preset_model_gesteure_bindings" + }, + + "skin_select_button_input": { + "type": "input_panel", + "size": [ "100%", "100%" ], + "offset": [ 0, "22%" ], + "layer": "$preset_appearance_layer", + "$preset_appearance_property_bag|default": {}, + "property_bag": "$preset_appearance_property_bag", + "$select_preset_to_button_id|default": "button.select_appearance", + "$binding_preset_add_visible_name|default": "#is_preset_add_visible", + "controls": [ + { + "create_new_preset_image": { + "type": "image", + "size": [ "51.282%y", "78%" ], + "offset": [ 0, 4 ], + "$preset_image|default": "textures/misc/missing_texture", + "texture": "$preset_image", + "property_bag": "$preset_appearance_property_bag", + "bindings": [ + { + "binding_name": "$binding_preset_add_visible_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$select_preset_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$select_preset_to_button_id", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_name": "#enable_edit_appearance", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + }, + + "retry_button_image_content@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ "100%", "10%" ] + } + }, + { + "icon_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "size": [ 20, 20 ], + "texture": "textures/ui/refresh", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle" + } + } + ] + } + }, + { + "reload_label": { + "type": "label", + "size": [ "100%", "100%" ], + "text": "Reload", + "font_type": "MinecraftTen", + "font_scale_factor": 1.0, + "text_alignment": "center", + "color": "$light_button_default_text_color" + } + } + ] + }, + + "skin_retry_button@common_buttons.light_content_button": { + "size": [ "130%y", "30%" ], + "offset": [ 0, "14%" ], + "layer": "$always_show_layer", + "visible": false, + "$preset_appearance_property_bag|default": {}, + "$pressed_button_name": "button.retry_appearance_preset", + "$button_content": "persona_sdl.retry_button_image_content", + "property_bag": "$preset_appearance_property_bag", + "$binding_is_retry_visible_name|default": "#is_retry_visible", + "bindings": [ + { + "binding_name": "$binding_is_retry_visible_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "skin_appearance_loading_panel@common_store.progress_loading": { + "offset": [ 0, "14%" ], + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "$preset_appearance_property_bag|default": {}, + "property_bag": "$preset_appearance_property_bag", + "$binding_is_preset_loading_visible_name|default": "#is_preset_loading_visible", + "bindings": [ + { + "binding_name": "$binding_is_preset_loading_visible_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "persona_appearance_preset_panel": { + "type": "panel", + "offset": [ 0, -22 ], + "$preset_appearance_layer|default": 5, + "$is_preset_appearance_using_gestures|default": false, + "controls": [ + { "skin_renderer@persona_sdl.skin_model_renderer": { "offset": [ 0, 10 ] } }, + { "skin_select@persona_sdl.skin_select_button_input": {} }, + { "skin_retry@persona_sdl.skin_retry_button": {} }, + { "skin_loading@persona_sdl.skin_appearance_loading_panel": {} } + ] + }, + + "persona_preset_main_panel@persona_sdl.persona_appearance_preset_panel": { + "$persona_preset_size|default": [ "51.2821%y", 120 ], + "variables": [ + { + "requires": "$pocket_edition", + "$persona_preset_size": [ "51.2821%y", 100 ] + } + ], + "size": "$persona_preset_size", + "$preset_appearance_binding_name": "#appearance_preset_preview", + "$is_preset_appearance_using_gestures": true, + "$preset_gesture_source_control_name": "main_preset_persona", + "$preset_image": "textures/ui/profile_new_look", + "$select_preset_to_button_id": "button.edit_appearance_preset", + "$preset_appearance_property_bag": { + "#preview_idx": 3 + }, + "bindings": [ + { + "binding_name": "#center_preset_size", + "binding_condition": "always" + } + ] + }, + + "persona_main_preset_panel": { + "type": "input_panel", + "size": [ "100%c", "100%c" ], + "layer": "$always_show_paper_doll", + "gesture_tracking_button": "button.turn_doll", + "always_handle_controller_direction": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { "preset_panel@persona_sdl.persona_preset_main_panel": {} } + ] + }, + + "persona_preset_section_panel": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "persona_preset_content@persona_sdl.persona_preset_section_panel_content": {} } + ] + }, + + "persona_preset_section_panel_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + "$preset_arrow_button_layer": 100, + + "controls": [ + { "left_padding@persona_sdl.horizontal_fill_padding": {} }, + { "presets_left_side@persona_sdl.appearance_preset_side_panel": {} }, + { "presets_right_padding_arrow_right@persona_sdl.horizontal_padding_6px": {} }, + { "arrow_left_panel@persona_sdl.preset_arrow_button_left_panel": {} }, + { "arrow_left_padding_preview@persona_sdl.horizontal_padding_6px": {} }, + { "main_preset_persona@persona_sdl.persona_main_preset_panel": {} }, + { "preview_padding_arrow_right@persona_sdl.horizontal_padding_6px": {} }, + { "arrow_right_panel@persona_sdl.preset_arrow_button_right_panel": {} }, + { "arrow_right_padding_right_presets@persona_sdl.horizontal_padding_6px": {} }, + { "presets_right_side@persona_sdl.appearance_preset_side_panel": { "$is_left_preset_side": false } }, + { "right_padding@persona_sdl.horizontal_fill_padding": {} } + ] + }, + + "debug_skin_view@common.vertical_stack_panel": { + "controls": [ + { + "skin_name": { + "type": "label", + "size": [ "100%", 10 ], + "font_scale_factor": 0.75, + "layer": 15, + "font_type": "smooth", + "color": "$dressing_room_right_side_default_text_color", + "text": "#selected_skin_name", + "bindings": [ + { + "binding_name": "#selected_skin_name" + } + ] + } + }, + { + "debug_skin": { + "type": "panel", + "size": [ 20, 39 ], + "controls": [ + { + "skin_model": { + "offset": [ 0, -10 ], + "type": "custom", + "renderer": "paper_doll_renderer", + "layer": 5, + "use_selected_skin": false, + "use_skin_gui_scale": true, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#selected_skin" + } + ] + } + } + ] + } + } + ] + }, + + "profile_screen_debug_view@persona_sdl.debug_skin_view": { + "bindings": [ + { + "binding_name": "#is_using_dressing_room_debugging", + "binding_name_override": "#visible" + } + ] + }, + + "title_text@general_text_field": { + "size": "$title_size", + "$title_size|default": [ "default", "default" ], + "text": "$title_text", + "text_alignment": "center", + "layer": 2, + "$title_text|default": "#title_text", + "$title_text_binding_name|default": "#none", + "bindings": [ + { + "binding_name": "$title_text_binding_name", + "binding_name_override": "#title_text" + } + ] + }, + + "icon_title_bar@common.horizontal_stack_panel": { + "size": [ "100%c", "100%cm" ], + "$title_font_type|default": "default", + "controls": [ + { "icon@persona_sdl.common_icon": {} }, + { "padding_1@horizontal_padding_4px": { "size": [ 5, "100%cm" ] } }, + { + "text_title_panel@persona_sdl.title_text": { + "$font_type": "$title_font_type" + } + } + ] + }, + + "selected_persona_skin_text_display@persona_sdl.icon_title_bar": { + "size": [ "100% + 4px", "100%cm + 2px" ], + "layer": 1, + "offset": [ 3, 2 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$title_font_type": "smooth", + "$title_size": [ "100% - 30px", 11 ], + "$title_text_binding_name": "#selected_persona_skin_text", + "$icon_binding_type": "global", + "$icon_binding_name": "#selected_persona_skin_icon" + }, + + "selected_persona_skin_background@persona_sdl.common_image": { + "size": [ 160, 16 ], + "color": "black", + "controls": [ + { "title@persona_sdl.selected_persona_skin_text_display": {} } + ], + "bindings": [ + { + "binding_name": "#is_a_profile_selected", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "selected_persona_skin_label": { + "type": "panel", + "size": [ "100%", 16 ], + "controls": [ + { + "selected_label_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%cm" ], + "controls": [ + { "left_padding@persona_sdl.buttons_sides_padding_panel": {} }, + { "background@persona_sdl.selected_persona_skin_background": {} }, + { "spacing@common.empty_panel": { "size": [ 31, 0 ] } }, + { "right_padding@persona_sdl.buttons_sides_padding_panel": {} } + ] + } + } + ] + }, + + "buttons_sides_padding_panel": { + "type": "panel", + "size": "$sides_padding_size", + "variables": [ + { + "requires": "$supports_xbl_achievements", + "$sides_padding_size": [ "fill", 0 ] + }, + { + "requires": "(not $supports_xbl_achievements)", + "$sides_padding_size": [ "27%", 0 ] + } + ] + }, + + "edit_appearance_button@common_buttons.light_text_button": { + "size": [ 132, 22 ], + "default_focus_precedence": 2, + "$pressed_button_name": "button.edit_appearance_preset", + "$button_font_scale_factor": 1.0, + "$new_ui_label_offset": [ 0, 3 ], + "$button_text": "#edit_appearance_text", + "$button_text_binding_type": "global", + "$button_binding_condition": "always", + "$button_text_size": [ "100%", "100%" ], + "$button_text_max_size": [ "100%", "100%" ], + "tts_play_on_unchanged_focus_control": true, + "bindings": [ + { + "binding_name": "#enable_edit_appearance", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ], + "$focus_id": "edit_appearance_button" + }, + + "edit_appearance_error_button_content": { + "type": "image", + "texture": "textures/ui/disabledButton", + "layer": 9, + "controls": [ + { + "marketplace_button_label": { + "layer": 9, + "type": "label", + "text": "store.disabledOnBeta", + "color": "$light_button_locked_text_color" + } + } + ] + }, + + "edit_appearance_error_button@common_buttons.dynamic_tooltip_notification_panel": { + "ignored": "(not $store_disabled)", + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_store_error", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.is_hovered", + "mapping_type": "pressed" + } + ], + "consume_hover_events": false, + "focus_enabled": true, + "$tooltip_popup_visible_binding": "#edit_appearance_error_tooltip_visible", + "$override_tooltip_popup_image": true, + "$tooltip_popup_override_image_panel": "start.store_error_image", + "$tool_tip_text_max_size": [ "160px", "default" ], + "$tooltip_panel_content": "persona_sdl.edit_appearance_error_button_content", + "bindings": [ + { + "binding_name": "(not #marketplace_disabled)", + "binding_name_override": "#visible" + } + ] + }, + + "edit_appearance_button_panel": { + "type": "panel", + "size": [ 132, 22 ], + "controls": [ + { "edit_appearance_button@persona_sdl.edit_appearance_button": {} }, + { "edit_appearance_error_button@persona_sdl.edit_appearance_error_button": {} } + ] + }, + + "delete_appearance_button@common_buttons.light_content_button": { + "size": [ 28, 22 ], + "$pressed_button_name": "button.delete_appearance_preset", + "$button_content": "persona_sdl.profile_button_image_content", + "$button_image_content_size": [ 13, 14 ], + "$profile_button_image": "textures/ui/icon_trash", + "tts_control_header": "profileScreen.delete_button", + "tts_play_on_unchanged_focus_control": true, + "$focus_id": "delete_appearance_button", + "bindings": [ + { + "binding_name": "#delete_button_enabled", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + }, + + "differences_information_button@common_buttons.light_content_button": { + "size": [ 28, 22 ], + "$pressed_button_name": "button.differences_information_button", + "$button_content": "persona_sdl.profile_button_image_content", + "$button_image_content_size": [ 15, 14 ], + "$profile_button_image": "textures/ui/infobulb", + "tts_control_header": "profileScreen.differences_information_button", + "tts_play_on_unchanged_focus_control": true + }, + + "lower_button_section@common.horizontal_stack_panel": { + "size": [ "100%", 22 ], + "focus_container": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + "controls": [ + { "left_padding@persona_sdl.buttons_sides_padding_panel": {} }, + { "edit_button@persona_sdl.edit_appearance_button_panel": {} }, + { "delete_button@persona_sdl.delete_appearance_button": {} }, + { "spacing_1@common.empty_panel": { "size": [ 3, "100%" ] } }, + { "differences_info_button@persona_sdl.differences_information_button": {} }, + { "right_padding@persona_sdl.buttons_sides_padding_panel": {} } + ] + }, + + "lower_button_label_section@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + "layer": "$always_show_layer", + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + "controls": [ + { "persona_label@persona_sdl.selected_persona_skin_label": {} }, + { "lower_button_section@persona_sdl.lower_button_section": {} } + ] + }, + + "character_selector_content@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + "controls": [ + { "persona_preset_section@persona_sdl.persona_preset_section_panel": {} }, + { "debug_view@persona_sdl.profile_screen_debug_view": {} }, + { "mid_padding@persona_sdl.vertical_padding_2px": {} }, + { "button_section@persona_sdl.lower_button_label_section": {} } + ] + }, + + "character_selector": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "button_mappings": [ + { + "from_button_id": "button.menu_tab_left", // controller_left_bumper + "to_button_id": "button.pressedArrowLeft", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", // controller_right_bumper + "to_button_id": "button.pressedArrowRight", + "mapping_type": "global" + } + ], + "controls": [ + { "character_selector_content@persona_sdl.character_selector_content": {} } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Redirect Button + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "dark_redirect_label_image_button_content": { + "type": "panel", + "size": [ "100% - 6px", "100%" ], + "controls": [ + { + "stack_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { + "content_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "content_label": { + "type": "label", + "size": [ "100%", 12 ], + "layer": 10, + "text": "#section_header", + "color": "$text_color", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#section_header" + } + ] + } + } + ] + } + }, + { + "content_image_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "$content_image_size|default": [ 15, 14 ], + "controls": [ + { + "content_image@common_store.sdl_texture": { + "size": "$content_image_size", + "controls": [ + { + "border_image": { + "type": "image", + "size": [ "100% + 2px", "100% + 4px" ], + "layer": 3, + "alpha": 0.0, + "texture": "textures/ui/square_image_border_white", + "$border_bindings|default": [], + "bindings": "$border_bindings", + "$has_border|default": false + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom_bar": { + "type": "image", + "texture": "textures/ui/White", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "offset": [ 0, "7%" ], + "size": [ "100%", "5%" ], + "color": "$redirect_separator_color", + "alpha": 0.2 + } + } + ] + }, + + "dark_redirect_button_base@common_buttons.dark_content_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "dark_redirect_button@persona_sdl.dark_redirect_button_base": { + "size": [ "100%", 25 ], + + // button vars + "$pressed_button_name": "button.redirect_button", + "$button_content": "persona_sdl.dark_redirect_label_image_button_content", + "$focus_id": "redirect_button", + + // override textures + "$default_button_texture": "", + "$hover_button_texture": "textures/ui/white_background", + "$pressed_button_texture": "textures/ui/banners_no_border_dark_hover", + "$locked_button_texture": "textures/ui/banners_no_border", + + // override text colors + "$default_text_color": "$dark_toggle_checked_default_text_color", + "$hover_text_color": "$dark_toggle_checked_hover_text_color", + "$border_visible": false, + + // override image properties + "$hover_button_image_fill": true, + "$hover_content_alpha": 0.5, + "$hover_button_image_color": "$redirect_button_hover_color", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_dropdown_data_row_visible", + "binding_name_override": "#visible" + } + ] + }, + + "dark_redirect_button_panel": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + + "$redirect_button_hover_color": "$dark_redirect_button_hover_color", + "$redirect_separator_color": "$dark_redirect_separator_color", + + "controls": [ + { "dark_redirect_button@persona_sdl.dark_redirect_button": {} } + ] + }, + + "expanded_appearance_view": { + "type": "input_panel", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "100%" ], + "always_listen_to_input": true, + "controls": [ + { + "expanded_appearance@persona_sdl.appearance_section": { + "size": [ "100% - 10px", "100% - 10px" ], + "$model_offset": [ 0, "-10%" ], + "$appearance_viewer_model_size": [ "51%y", "100%" ], + "$extra_appearance_section_content": "persona_sdl.expanded_appearance_button_stack", + "$expand_appearance_preview_button_event": "button.menu_exit" + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.close_expanded_appearance_view", + "mapping_type": "pressed" + } + ] + }, + + "right_info_panel": { + "type": "panel", + "$right_info_panel_size|default": [ "100%", "100%" ], + "size": "$right_info_panel_size", + + "$right_side_bottom_buttons|default": "persona_sdl.right_side_bottom_buttons", + + "$ignore_right_side_buttom_buttons|default": false, + "controls": [ + { + "info_panel": { + "type": "panel", + "$right_info_panel_content_size|default": [ "100%", "100% - 2px" ], + "size": "$right_info_panel_content_size", + "controls": [ + { "right_info_content@$right_info_content_control": {} } + ] + } + }, + { "right_side_bottom_buttons@$right_side_bottom_buttons": {} } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// dressing room right side panel content + /////////////////////////////////////////////////////////////////////////////////////// + + "info_text_summary_author_button@common_buttons.underline_button": { + "offset": [ 2, 0 ], + "size": [ "100%c", 12 ], + "layer": 2, + "$pressed_button_name": "button.seeMoreBy", + "$single_label_size": [ "default", 10 ], + "$single_line_label_offset": [ 0, 0 ], + "$single_line_font_scale_factor": 1, + "$single_line_label_color": "$dressing_room_right_side_default_text_color", + "$single_line_label_text": "#creator_label", + "$label_text_bindings": [ + { + "binding_name": "$single_line_label_text" + } + ], + "bindings": [ + { + "binding_name": "(not #emotes_active)", + "binding_name_override": "#enabled" + } + ] + }, + + "info_text_summary_button_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "bindings": [ + { + "binding_name": "(not (#creator_label = ''))", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "summary_author_button@persona_sdl.info_text_summary_author_button": {} } + ] + }, + + "info_text_box_description_stack_locked_icon@persona_common.icon_image": { + "size": [ 12, 11 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "bindings": [ + { + "binding_name": "#achievement_offer_lock_state_texture", + "binding_name_override": "#texture" + } + ] + }, + + "info_text_box_description_stack_lock_state_panel@common.empty_panel": { + "size": [ 15, "100%" ], + "bindings": [ + { + "binding_name": "#is_offer_achievement", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "locked_state_icon@persona_sdl.info_text_box_description_stack_locked_icon": {} } + ] + }, + + "info_text_box_description_stack_description_label": { + "type": "label", + "size": [ "100%", 14 ], + "offset": [ 0, 5 ], + "layer": 2, + "color": "$dressing_room_right_side_default_text_color", + "text": "#right_panel_description", + "font_type": "smooth", + "font_scale_factor": 0.7, + "bindings": [ + { + "binding_name": "#right_panel_description" + } + ] + }, + + "description_reward_panel": { + "type": "panel", + "size": [ "fill", "fill" ], + "bindings": [ + { + "binding_name": "(not (#creator_label = ''))", + "binding_name_override": "#visible" + }, + { + "binding_name": "#right_panel_description" + } + ], + "controls": [ + { "summary_author_button@persona_sdl.info_text_box_description_stack_description_label": {} } + ] + }, + + "info_text_box_description_stack_label_panel@common.horizontal_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { "lock_state_icon_panel@persona_sdl.info_text_box_description_stack_lock_state_panel": {} }, + { + "info_text_description_padding": { + "type": "panel", + "size": [ 2, "100%" ], + "bindings": [ + { + "binding_name": "(not #is_offer_achievement)", + "binding_name_override": "#visible" + } + ] + } + }, + { "description_text_panel@persona_sdl.description_reward_panel": {} } + ] + }, + + "info_text_box_description_stack@common.vertical_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { "summary_author_button_panel@persona_sdl.info_text_summary_button_panel": {} }, + { "description_label_vert_stack@persona_sdl.info_text_box_description_stack_label_panel": {} } + ] + }, + + "info_text_box@common.vertical_stack_panel": { + "size": [ "100%", "100% - 17px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "$legal_text_offset": [ 2, -4 ], + "controls": [ + { "description_panel@persona_sdl.info_text_box_description_stack": {} }, + { + "info_text_box_padding": { + "type": "panel", + "size": [ "100%", 2 ], + "bindings": [ + { + "binding_name": "#currency_purchase_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "disclaimer_panel@common_store.disclaimer_panel": {} } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// purchase button controls + /////////////////////////////////////////////////////////////////////////////////////// + + "purchase_button_panel": { + "type": "panel", + "bindings": [ + { + "binding_name": "$purchase_panel_visible_binding", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "$purchase_button_control@$purchase_button_control": { + "size": [ "100%", "100%" ], + "$default_state_border_visible": true, + "$hover_state_border_visible": true, + "$pressed_state_border_visible": true, + "$locked_state_border_visible": true + } + } + ] + }, + + "coin_purchase_panel@persona_sdl.purchase_button_panel": { + "size": [ "40%", "100%" ], + "$purchase_panel_visible_binding": "#is_coin_purchase_visible", + "$purchase_button_control": "persona_sdl.offer_coin_purchase_button" + }, + + "real_money_purchase@persona_sdl.purchase_button_panel": { + "size": [ "40%", "100%" ], + "$purchase_panel_visible_binding": "#is_currency_purchase_visible", + "$purchase_button_control": "persona_sdl.offer_real_money_purchase_button" + }, + + "achievement_button@persona_sdl.view_achievement": { + "ignored": "(not $supports_xbl_achievements)", + "size": [ "60%", "100%" ], + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#is_achievement_award", + "binding_name_override": "#visible" + } + ] + }, + + "achievement_text_button@common_buttons.light_text_button": { + "$focus_id": "offer_coin_purchase_button", + "$persona_focus_precedence": 3, + "$button_font_scale_factor": 1.0 + }, + + "view_achievement@persona_sdl.achievement_text_button": { + "$pressed_button_name": "button.view_achievement", + "$button_text": "store.view_achievement" + }, + + "collect_achievement@persona_sdl.achievement_text_button": { + "$pressed_button_name": "button.collect_achievement", + "$button_text": "dr.collect_achievement_item" + }, + + "collect_achievement_button@persona_sdl.collect_achievement": { + "size": [ "40%", "100%" ], + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#can_collect_achievement_award", + "binding_name_override": "#visible" + } + ] + }, + + "purchase_buttons@common.horizontal_stack_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { "coin_purchase_panel@persona_sdl.coin_purchase_panel": {} }, + { "view_achievement_button@persona_sdl.achievement_button": {} }, + { + "padding_1": { + "type": "panel", + "size": [ 1, "100%" ], + "bindings": [ + { + "binding_name": "#is_purchase_button_padding_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "subcategory_equip@persona_sdl.subcategory_equip_button_panel": {} }, + { "classic_skin_equip@persona_sdl.classic_skin_equip_button_panel": {} }, + { "size_equip@persona_sdl.size_equip_button_panel": {} }, + { "collect_achievement_button@persona_sdl.collect_achievement_button": {} }, + { "real_money_purchase_panel@persona_sdl.real_money_purchase": {} }, + { "realms_subscription_button_panel@persona_sdl.realms_subscription_button": {} }, + { "realms_redeem_button_panel@persona_sdl.realms_redeem_button": {} }, + { + "padding_2": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { "realms_savings_text_label@persona_sdl.realms_savings_text": {} } + ] + }, + + "right_side_bottom_buttons@common.horizontal_stack_panel": { + "ignored": "$ignore_right_side_buttom_buttons", + "size": [ "100% - 2px", 20 ], + "offset": [ 0, -1 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "controls": [ + { "purchase_buttons_panel@persona_sdl.purchase_buttons": {} } + ] + }, + + //////////////////////////////// + //// Realms button controls //// + //////////////////////////////// + "realms_timer_banner": { + "type": "panel", + "size": [ "100%", 16 ], + "controls": [ + { + "csub_banner@common_csb.csb_expiration_banner": { + "size": [ "100%", "100%" ] + } + } + ] + }, + + "realms_savings_text": { + "type": "label", + "text": "#realms_saved_coins_label", + "size": [ "60%", 16 ], + "font_size": "small", + "font_scale_factor": 1.2, + "color": "$store_csb_gold_text_color", + "bindings": [ + { + "binding_name": "#realms_redeem_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#realms_saved_coins_label", + "binding_type": "global" + } + ] + }, + + "realms_redeem_button_content@common.empty_panel": { + "$realms_button_text|default": "", + + "controls": [ + { + "csb_icon@common_csb.csb_icon_large": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$pack_icon_size": [ "100%y", "100% + 10px" ], + "offset": [ "-2px", "0px" ] + } + }, + { + "realms_text_label": { + "type": "label", + "layer": 2, + "size": [ "100%", 10 ], + "max_size": [ "100%", "100%" ], + "text_alignment": "center", + "text": "$realms_button_text", + "color": "$text_color", + "$realms_button_text_offset|default": [ 0, 0 ], + "offset": "$realms_button_text_offset" + } + } + ] + }, + + "realms_redeem_button@common_buttons.light_content_button": { + "max_size": [ "50%", "100%" ], + "size": [ 300, "100%" ], + "$realms_button_text_offset": [ 8, 0 ], + "$pressed_button_name": "button.redeem_realms_item", + "$button_content": "persona_sdl.realms_redeem_button_content", + "$realms_button_text": "persona.realms.redeem", + "bindings": [ + { + "binding_name": "#realms_redeem_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "realms_subscription_button@common_buttons.light_content_button": { + "size": [ "50%", "100%" ], + "$realms_button_text_offset": [ 8, 0 ], + "$pressed_button_name": "button.see_realms_subscription", + "$button_content": "persona_sdl.realms_redeem_button_content", + "$realms_button_text": "persona.realms.see.subscription", + "bindings": [ + { + "binding_name": "#realms_subscription_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// Equip button controls + /////////////////////////////////////////////////////////////////////////////////////// + + "a_button_helper@common.gamepad_helper_a": { + "$hide_description": true, + "$gamepad_helper_icon_size": [ 20, 20 ], + "$gamepad_helper_size": [ "100%", "100%" ], + "offset": [ "-25% - 2px", "-25% + 1px" ], + "size": [ "100%", "100%" ] + }, + + "a_button_helper_center@common.empty_panel": { + "size": [ "90%y", "100%" ], + "controls": [ + { "a_button_helper@persona_sdl.a_button_helper": {} } + ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + }, + + "equip_piece_text": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$text_color", + "text": "dr.equip_piece", + "text_alignment": "center" + }, + + "equip_piece_text_wrapper@common.empty_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { "text@persona_sdl.equip_piece_text": {} } + ] + }, + + "equip_button_content@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "offset": [ 0, 3 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "helper_wrapper@persona_sdl.a_button_helper_center": {} }, + { "equip_text@persona_sdl.equip_piece_text_wrapper": {} } + ] + }, + + "equip_piece_button@common_buttons.light_content_button": { + "$focus_id": "equip_piece_button", + "$persona_focus_precedence": 3, + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$pressed_button_name": "$equip_button_name", + "$button_content": "persona_sdl.equip_button_content", + + "variables": [ + { + "requires": "(not $is_low_memory_device)", + "$button_offset": [ 0, -3 ], + "$button_pressed_offset": [ 3, 0 ] + } + ] + }, + + "equip_button_panel": { + "type": "panel", + "size": [ "40%", "100%" ], + "controls": [ + { "equip@persona_sdl.equip_piece_button": {} } + ], + "bindings": [ + { + "binding_name": "$show_equip_button", + "binding_name_override": "#visible" + } + ] + }, + + "subcategory_equip_button_panel@persona_sdl.equip_button_panel": { + "size": [ "40%", "100%" ], + "$equip_button_name": "button.equip_piece", + "$show_equip_button": "#is_subcategory_equip_button_visible" + }, + + "classic_skin_equip_button_panel@persona_sdl.equip_button_panel": { + "size": [ "100%", "100%" ], + "$equip_button_name": "button.equip_skin", + "$show_equip_button": "#is_skin_equip_visible" + }, + + "size_equip_button_panel@persona_sdl.equip_button_panel": { + "$equip_button_name": "button.equip_size", + "$show_equip_button": "#is_size_equip_visible" + }, + + /////////////////////////////// + //// coin purchase button ///// + /////////////////////////////// + "offer_coin_purchase_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.coin_purchase", + "$ignore_markdown_filler_panel": "#is_on_sale", + "$button_content": "pdp.large_button_coin_purchase_label", + "$is_on_sale": false, + "$coin_image_on_right": false, + "$is_purchase_button": true, + "$interact_button_id": "button.purchase_with_coins", + "$markdown_size": [ "100% + 2px", "100% + 4px" ], + "$strike_thru_offset": [ 0, -1 ], + "$markdown_offset": [ -1, 0 ], + "$focus_id": "offer_coin_purchase_button", + + "bindings": [ + { + "binding_name": "(not #persona_is_updating)", + "binding_name_override": "#enabled" + } + ] + }, + + ///////////////////////////////////////////// + //// real money purchase button controls //// + ///////////////////////////////////////////// + "offer_real_money_purchase_button@common_buttons.light_text_button": { + "size": [ "100%c", "100%" ], + "$anchor": "center", + "$pressed_button_name": "button.real_money_purchase", + "$button_text": "#purchase_with_currency_button_text", + "$button_text_binding_type": "global", + "$focus_id": "offer_real_money_purchase_button" + }, + + + ///////////////////////////////////////////////////////////////////////////////////////////// + ////// Title Rarity Background + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "title_rarity_positionable_title": { + "type": "label", + "size": [ "100%", "100%" ], + "layer": 11, + "offset": [ 0, -2 ], + "color": "$dressing_room_right_side_default_text_color", + "text": "$title_binding", + "$rarity_title_font_type|default": "MinecraftTen", + "font_type": "$rarity_title_font_type", + "text_alignment": "left", + "$title_binding|default": "#right_panel_title", + "$title_binding_type|default": "global", + "bindings": [ + { + "binding_type": "$title_binding_type", + "binding_name": "$title_binding" + } + ] + }, + + "title_stack_postioning_panel": { + "type": "panel", + "size": [ "fill", 10 ], + "controls": [ + { "title@persona_sdl.title_rarity_positionable_title": {} } + ] + }, + + "title_rarity_right_title": { + "type": "label", + "size": [ "default", "100%" ], + "offset": [ 0, 1 ], + "layer": 2, + "color": "$dressing_room_right_side_default_text_color", + "text": "$title_rarity_binding", + "font_size": "medium", + "text_alignment": "right", + "$title_rarity_binding|default": "#right_panel_title_rarity", + "bindings": [ + { + "binding_name": "$title_rarity_binding" + } + ] + }, + + "title_rarity_stack_postioning_panel": { + "type": "panel", + "size": [ "100%c", 10 ], + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "rarity_right_title@persona_sdl.title_rarity_right_title": {} } + ] + }, + + "title_rarity_stack@common.horizontal_stack_panel": { + "$title_rarity_stack_size|default": [ "100% - 2px", 10 ], + "size": "$title_rarity_stack_size", + + "$rarity_title_font_type|default": "MinecraftTen", + "controls": [ + { "position_title_panel_offset@persona_sdl.title_stack_postioning_panel": {} }, + { + "mid_padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { "position_rarity_panel_offset@persona_sdl.title_rarity_stack_postioning_panel": {} } + ] + }, + + "title_rarity_background_image@persona_common.item_rarity_color_background": { + "size": [ "100%", 14 ], + "layer": 10, + "$rarity_background_alpha": "$rarity_title_background_alpha", + + "controls": [ + { "title_stack_panel@persona_sdl.title_rarity_stack": {} } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////// + // Right side Info Section Controls + ///////////////////////////////////////////////////////////////////////////////////////////////// + + "piece_list_right_side_section@persona_sdl.right_side_dialog_panel": { + "type": "panel", + + "size": [ "100%", 65 ], + "$title_rarity_stack_size": [ "100% - 4px", 10 ], + "$rarity_title_background_alpha|default": "$dressing_room_panel_alpha", + "$info_title_control": "persona_sdl.title_rarity_background_image", + "$persona_dialog_content": "persona_sdl.offer_info_section_content", + "$info_content_control": "persona_sdl.right_info_panel", + "$right_info_content_control": "persona_sdl.info_text_box", + + "$dialog_bg_size": [ "100% - 2px", "100% - 2px" ], + "$right_side_dialog_size": [ "100%", "100% - 12px" ], + "$ignore_color_picker": false, + + "$info_panel_prefix": "piece_offer", + "controls": [ + { + "right_info_panel_dialog_object@persona_sdl.dialog_background_object": { + "size": [ "100%", "100% - 2px" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + } + ] + }, + + "information_and_selection_title_bar": { + "type": "image", + "layer": 2, + "texture": "$title_bar_texture", + "color": "$title_bar_color", + "alpha": "$title_bar_alpha", + "size": [ "100%", 14 ], + "$ignore_title_bar_visibility|default": false, + "controls": [ + { "dressing_room_title@$info_title_control": {} } + ], + "bindings": [ + { + "ignored": "$ignore_title_bar_visibility", + "binding_name": "(not #is_right_panel_classic_custom_visible)", + "binding_name_override": "#visible" + } + ] + }, + + "information_and_selection_stack@common.vertical_stack_panel": { + "size": "$info_and_selection_panel_size", + "$title_bar_color|default": "$dressing_room_semi_dark_bg_color", + "$title_bar_texture|default": "textures/ui/White", + "$title_bar_alpha|default": "$dressing_room_panel_alpha", + "$info_bottom_section_size|default": [ "100%", "fill" ], + + "controls": [ + { "title_bar@persona_sdl.information_and_selection_title_bar": {} }, + { "bottom_section_panel@$info_content_control": { "size": "$info_bottom_section_size" } } + ] + }, + + "information_and_selection_panel": { + "type": "panel", + + "$info_and_selection_panel_size|default": [ "100%", "100%" ], + "size": "$info_content_panel_size", + + "$info_title_control|default": "common.empty_panel", + "$info_content_control|default": "common.empty_panel", + + "controls": [ + { + "stack@persona_sdl.information_and_selection_stack": {} + } + ] + }, + + "offer_info_section_content": { + "type": "panel", + "$offer_info_section_content_size|default": [ "100%", "100%" ], + "size": "$offer_info_section_content_size", + + "$ignore_special_banner|default": false, + + "controls": [ + { + "info_content_panels": { + "type": "panel", + + "$info_content_panel_size|default": [ "100%", "100%" ], + "size": "$info_content_panel_size", + + "controls": [ + { "offer_info_content@persona_sdl.information_and_selection_panel": {} }, + { "special_offer_banner@persona_sdl.special_offer_banner": {} } + ] + } + } + ] + }, + + "special_offer_banner": { + "ignored": "$ignore_special_banner", + "type": "image", + "size": [ "100%c + 15px", 15 ], // 15px = 3 for left side of banner + 6 for right side of banner + 6 for padding + "$special_offer_banner_offset|default": [ -3, "-60%y" ], + "offset": "$special_offer_banner_offset", + "layer": 15, + "anchor_to": "top_left", + "anchor_from": "top_left", + "texture": "textures/ui/saleribbon", + "controls": [ + { + "banner_info@common.horizontal_stack_panel": { + "size": [ "100%c", 8 ], + "offset": [ -1, -2.5 ], // x: one extra pixel on right. y: lower left of banner is 3px high + "controls": [ + { + "limited_time_icon": { + "type": "image", + "size": [ "100%y", "100%" ], + "layer": 3, + "texture": "textures/ui/icon_timer", + "bindings": [ + { + "binding_name": "#is_limited_time_offer", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "special_banner_text": { + "type": "label", + "layer": 3, + "font_type": "smooth", + "color": "$dressing_room_sale_banner_text_color", + "$special_banner_text_binding_name|default": "#special_banner_text", + "text": "$special_banner_text_binding_name", + "bindings": [ + { + "binding_name": "$special_banner_text_binding_name" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_specail_offer_banner_visible", + "binding_name_override": "#visible" + } + ] + }, + + //////////////////////////////////////////////////////////////////////////////////////////////// + // Color Picker Info Controls + //////////////////////////////////////////////////////////////////////////////////////////////// + "color_picker_info_panel_title": { + "type": "image", + "size": [ "100%", 12 ], + "alpha": "$dressing_room_panel_alpha", + "texture": "textures/ui/White", + "bindings": [ + { + "binding_name": "#color_picker_info_panel_title_color", + "binding_name_override": "#color" + } + ], + "controls": [ + { + "color_name": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "font_type": "MinecraftTen", + "color": "$dressing_room_right_side_default_text_color", + "layer": 2, + "offset": [ 2, -1 ], + "text": "#color_picker_info_panel_title_name", + "text_alignment": "left", + "bindings": [ + { + "binding_name": "#color_picker_info_panel_title_name" + } + ] + } + } + ] + }, + + "right_side_color_picker_info_panel@persona_sdl.right_side_dialog_panel": { + "size": [ "100%", "100%c + 2px" ], + "$right_side_dialog_size": [ "100%", 63 ], + + "$info_title_control": "persona_sdl.color_picker_info_panel_title", + "$persona_dialog_content": "persona_sdl.offer_info_section_content", + + "$info_panel_prefix": "color_picker", + "$ignore_right_side_dialog_visible_bind": true, + "$ignore_special_banner": true + }, + + + /* ============================================================ + RARITY BACKGROUND + + Requires: + - #rarity_color + + Variables: + - $rarity_color_background_texture + Optional override for texture. Defaults to white texture. + - $rarity_binding_type + The binding type for the `#rarity_color` binding. Defaults to `global` + - $rarity_collection_name + Optional collection name for the `#rarity_color` binding. Defaults to `none` + + Bindings: + - #rarity_color + The color to tint the texture with. + + */ + "item_rarity_color_background": { + "type": "image", + "$rarity_color_background_texture|default": "textures/ui/White", + "texture": "$rarity_color_background_texture", + "$rarity_background_alpha|default": 1, + "alpha": "$rarity_background_alpha", + + "property_bag": { + "#common": "$rarity_common_bg_color", + "#uncommon": "$rarity_uncommon_bg_color", + "#rare": "$rarity_rare_bg_color", + "#epic": "$rarity_epic_bg_color", + "#legendary": "$rarity_legendary_bg_color" + }, + + "$rarity_section_collection_details|default": "none", + "$rarity_section_collection_prefix|default": "", + "$rarity_section_collection_name|default": "", + + "$rarity_binding_type|default": "global", + "$rarity_collection_name|default": "none", + "$rarity_background_bindings|default": [ + { + "binding_type": "$rarity_section_collection_details", + "binding_collection_name": "$rarity_section_collection_name", + "binding_collection_prefix": "$rarity_section_collection_prefix" + }, + { + "binding_type": "$rarity_binding_type", + "binding_collection_name": "$rarity_collection_name", + "binding_name": "#rarity_color", + "binding_name_override": "#color" + } + ], + "bindings": "$rarity_background_bindings" + }, + + ////////////////////////////////////////////////////////////// + //// Persona Offer + "offer_state_info": { + "type": "panel", + + "$ignore_offer_state_info|default": false, + "$offer_state_info_collection_name|default": "", + + "$piece_section_collection_details|default": "none", + "$piece_section_collection_prefix|default": "", + "$piece_section_collection_name|default": "", + "$ignore_emote_keybind_helpers|default": false, + + "controls": [ + { + "offer_state_info_panel": { + "ignored": "$ignore_offer_state_info", + "type": "panel", + "controls": [ + { + "sale_ribbon@persona_common.icon_image": { + "size": [ 9, 6 ], + "offset": [ -1, -1 ], + "layer": 20, + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/slot_sale", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_on_sale", + "binding_name_override": "#visible" + } + ] + } + }, + { + "limited_time@persona_common.icon_image": { + "size": [ 9, 9 ], + "layer": 20, + "anchor_from": "top_right", + "anchor_to": "top_right", + "texture": "textures/ui/icon_timer", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_limited_time_offer", + "binding_name_override": "#visible" + } + ] + } + }, + { + "coin_icon@persona_common.icon_image": { + "size": [ 9, 9 ], + "layer": 21, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "texture": "textures/ui/icon_minecoin_9x9", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_purchasable_and_not_free", + "binding_name_override": "#visible" + } + ] + } + }, + { + "free_download@persona_common.icon_image": { + "size": [ 8, 10 ], + "layer": 22, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "texture": "textures/ui/free_download", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_redeemable", + "binding_name_override": "#visible" + } + ] + } + }, + { + "new_offer_symbol@persona_common.icon_image": { + "size": [ 9, 9 ], + "offset": [ -1, -1 ], + "layer": 21, + "anchor_to": "top_left", + "anchor_from": "top_left", + "texture": "textures/ui/icon_new_item", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_new", + "binding_name_override": "#visible" + } + ] + } + }, + { + "locked_icon@persona_common.icon_image": { + "size": [ 12, 11 ], + "layer": 20, + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "texture": "textures/ui/icon_lock", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_locked", + "binding_name_override": "#visible" + } + ] + } + }, + { + "achievement_icons@persona_common.icon_image": { + "size": [ 12, 11 ], + "layer": 20, + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_offer_achievement", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#achievement_offer_lock_state_texture", + "binding_name_override": "#texture" + } + ] + } + }, + { + "key_helpers@common.empty_panel": { + "ignored": "$ignore_emote_keybind_helpers", + "offset": [ "25%", "-30%" ], + + "controls": [ + { + "key_binding_icons@persona_common.icon_image": { + "size": [ 25, 25 ], + "offset": [ 1, 0 ], + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#key_bound_texture", + "binding_name_override": "#texture" + } + ] + } + }, + { + "keyboard_helpers@common.keyboard_helper": { + "offset": [ 1, 0 ], + "$hide_description": true, + "$icon_size": [ 14, 14 ], + "$icon_label_offset": [ 0.5, -1.5 ], + "$text_color": "$generic_button_text_color", + "$keyboard_character": "#key_bound_label", + + "$keyboard_character_bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "$keyboard_character" + } + ], + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_state_info_collection_name", + "binding_name": "#is_key_bound", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "piece_offer_button_content@persona_common.piece_item_display": { + "$offer_state_info_collection_name": "$persona_piece_collection_name", + "$item_content_control": "persona_sdl.offer_state_info", + "$is_loading": false + }, + + "piece_offer_button@common.button": { + "$focus_id": "piece_offer_button", + "$button_content|default": "common.empty_panel", + + "$hide_while_loading|default": false, + "$hide_failure_text|default": true, + "$hide_progress_loading_outline|default": true, + "$ignore_piece_selected|default": false, + + "$piece_section_collection_details|default": "none", + "$piece_section_collection_prefix|default": "", + "$piece_section_collection_name|default": "", + + "$progress_loading_binding_type": "$persona_piece_binding_type", + "$progress_loading_collection_name": "$persona_piece_collection_name", + "$progress_loading_binding_name": "#piece_content_downloading", + + "$controller_left_bumper_mapping|default": "", + "$controller_right_bumper_mapping|default": "", + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_collection_details", + "binding_collection_name": "$persona_piece_collection_name", + "binding_collection_prefix": "$persona_piece_prefix" + } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$controller_left_bumper_mapping", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$controller_right_bumper_mapping", + "mapping_type": "focused" + }, + { + "to_button_id": "button.piece_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.piece_unhovered", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.play_emote_or_coin_wallet", + "mapping_type": "global" + } + ], + + "controls": [ + { + "button_controls": { + "type": "panel", + + "$loading_bindings|default": [], + "variables": [ + { + "requires": "$hide_while_loading", + "$loading_bindings": [ + { + "binding_type": "view", + "source_control_name": "progress_loading", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + ], + "bindings": "$loading_bindings", + + "controls": [ + { "default@common.empty_panel": {} }, + { + "pressed@persona.selected_border": { + "layer": 9 + } + }, + { + "csb_icon@common_csb.csb_icon_large": { + "layer": 10, + "$pack_icon_size": [ 8, 10 ], + "offset": [ "0px", "2px" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_csb", + "binding_name_override": "#visible" + } + ] + } + }, + { + "content@$button_content": { + "layer": 2 + } + }, + { + "equipped@persona.equipped_border": { + "ignored": "$ignore_piece_selected", + "layer": 10, + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_equipped", + "binding_name_override": "#visible" + } + ] + } + }, + { + "previewed@persona.selected_border": { + "ignored": "$ignore_piece_selected", + "layer": 8, + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#is_piece_being_previewed", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "hover@persona.focus_border": { + "layer": 9 + } + }, + { + "progress_loading@common_store.progress_loading": { + "ignored": "(not $hide_while_loading)", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_binding_type", + "binding_condition": "always", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#piece_content_downloading", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "persona_piece_offer": { + "type": "panel", + "$persona_piece_size|default": [ "16.5%", "100%x" ], + "$max_size_centered_y_panel|default": [ "100%y", "100%" ], + "$max_size_centered_x_panel|default": [ "100%", "100%x" ], + "size": "$persona_piece_size", + + "$pressed_button_function|default": "button.apply_persona_piece", + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$persona_piece_collection_name", + "binding_name": "#persona_piece_offer_visible", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { + "piece_offer_center_on_y_axis": { + "type": "panel", + "size": [ "100%", "100%" ], + "max_size": "$max_size_centered_y_panel", + "controls": [ + { + "piece_offer_center_on_x_axis": { + "type": "panel", + "size": [ "100%", "100%" ], + "max_size": "$max_size_centered_x_panel", + "controls": [ + { + "piece_offer_button@persona_sdl.piece_offer_button": { + "$piece_offer_button_size|default": [ "100% - 2px", "100% - 2px" ], + "size": "$piece_offer_button_size", + "$pressed_button_name": "$pressed_button_function", + "$button_content": "persona_sdl.piece_offer_button_content", + "$button_content_size": [ "100%", "100%" ], + + "bindings": [ + { + "binding_type": "$piece_section_collection_details", + "binding_collection_name": "$piece_section_collection_name", + "binding_collection_prefix": "$piece_section_collection_prefix" + }, + { + "binding_type": "$persona_piece_collection_details", + "binding_collection_name": "$persona_piece_collection_name", + "binding_collection_prefix": "$persona_piece_prefix" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + /// Persona Side Selection + "side_selection_row@common.horizontal_stack_panel": { + "size": [ "100%", 19 ], + "property_bag": { + "#visible": false + }, + "controls": [ + { "padding_0@persona_sdl.horizontal_2_padding": {} }, + { + "left_button_gamepad_helper_panel": { + "type": "panel", + "size": [ "100%cm", "100%" ], + "controls": [ + { + "left_bumper@common.gamepad_helper_left_bumper": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, 1 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "left_button_panel": { + "type": "panel", + "size": [ 20, "100%x" ], + "controls": [ + { + "left_button@persona_sdl.left_limb_button": { + "bindings": [ + { + "binding_name": "#left_limb_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + }, + { + "title": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "limb_title": { + "type": "label", + "text": "#limb_title", + "font_type": "MinecraftTen", + "color": "$generic_button_text_color", + "locked_color": "$dressing_room_side_locked_text_color", + "offset": [ 0, 0 ], + "anchor_to": "center", + "anchor_from": "center", + "layer": 2, + "bindings": [ + { + "binding_name": "#limb_title" + }, + { + "binding_name": "#limb_title_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + }, + { + "right_button_panel": { + "type": "panel", + "size": [ 20, "100%x" ], + "controls": [ + { + "right_button@persona_sdl.right_limb_button": { + "bindings": [ + { + "binding_name": "#right_limb_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + }, + { + "right_button_gamepad_helper_panel": { + "type": "panel", + "size": [ "100%cm", "100%" ], + "controls": [ + { + "right_bumper@common.gamepad_helper_right_bumper": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, 1 ], + "$hide_description": true, + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { "padding_1@persona_sdl.horizontal_2_padding": {} } + ], + "bindings": [ + { + "binding_name": "#is_leg_or_arms_selected", + "binding_name_override": "#visible" + } + ] + }, + + "left_limb_button@common_buttons.light_content_button": { + "$button_content": "persona_sdl.left_icon", + "$pressed_button_name": "button.swap_to_left_limb", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "right_limb_button@common_buttons.light_content_button": { + "$button_content": "persona_sdl.right_icon", + "$pressed_button_name": "button.swap_to_right_limb", + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////// + // Skin list component + ///////////////////////////////////////////////////////////////////////////////// + + "skin_pack_label": { + "type": "label", + "size": [ "100%", 10 ], + "offset": [ 2, 5 ], + "font_type": "MinecraftTen", + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "$skin_pack_label_text", + "color": "$dressing_room_right_side_default_text_color", + "bindings": [ + { + "binding_type": "$section_collection_binding_type", + "binding_collection_name": "$section_collection_name", + "binding_name": "$skin_pack_label_text" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + }, + + "skin_pack_grid": { + "type": "grid", + "size": [ "100% - 4px", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + + "collection_name": "$skin_pack_collection_name", + "$skin_pack_dimension_binding": "#skin_pack_dimensions", + "grid_dimension_binding": "$skin_pack_dimension_binding", + "grid_item_template": "persona.persona_skin_pack_panel", + + "bindings": [ + { + "binding_type": "$section_collection_binding_type", + "binding_collection_name": "$section_collection_name", + "binding_name": "$skin_pack_dimension_binding" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + }, + + "persona_skin_pack_grid@common.vertical_stack_panel": { + "$skin_pack_label_text": "#section_header", + + "$skin_pack_collection_prefix": "skin_pack", + "$skin_collection_name": "skin_pack_collection", + + "controls": [ + { "pack_label@persona_sdl.skin_pack_label": {} }, + { + "default_skin_button@persona.default_skin_button_panel": { + "ignored": "$console_edition", + "$ignore_skin_realms_plus_icon": true, + "bindings": [ + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + }, + { + "binding_type": "$section_collection_binding_type", + "binding_collection_name": "$section_collection_name", + "binding_name": "#is_owned_section", + "binding_name_override": "#visible" + } + ] + } + }, + { "pack_grid@persona_sdl.skin_pack_grid": {} } + ] + }, + + "skin_doll_button": { + "type": "panel", + "size": "$content_size", + + "clips_children": true, + + "$skin_binding_type|default": "global", + "$skin_collection_details|default": "none", + "$skin_collection_name|default": "", + "$skin_collection_prefix|default": "", + + "$skin_pack_collection_details|default": "none", + "$skin_pack_collection_name|default": "", + "$skin_pack_collection_prefix|default": "", + + "$section_collection_details|default": "none", + "$section_collection_name|default": "", + "$section_collection_prefix|default": "", + + "$is_background_visible|default": true, + + "$ignore_skin_focus_binds|default": true, + + "$ignore_skin_realms_plus_icon|default": false, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_collection_details", + "binding_collection_name": "$skin_collection_name", + "binding_collection_prefix": "$skin_collection_prefix" + }, + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_index_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "size_control": { + "type": "panel", + "size": [ "65.21%y", "100% - 2px" ], + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/slots_bg", + "visible": "$is_background_visible" + } + }, + { + "new_offer_icon@common_store.status_new_offer_icon": { + "bindings": [ + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_new", + "binding_name_override": "#visible" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + } + }, + { + "locked_icon@persona_sdl.lock_icon": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_locked", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unequippable_icon@persona_sdl.lock_icon": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_not_equippable", + "binding_name_override": "#visible" + } + ] + } + }, + { + "realms_plus_icon@common.empty_panel": { + "ignored": "$ignore_skin_realms_plus_icon", + "controls": [ + { + "csb_icon@common_csb.csb_icon_large": { + "layer": 3, + "$pack_icon_size": [ 8, 10 ], + "offset": [ 1, 1 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_realms_plus", + "binding_name_override": "#visible" + } + ] + } + }, + { + "skin_button@common.button": { + "controls": [ + { "default@common.empty_panel": {} }, + { + "hover@persona_sdl.focus_border": { + "layer": 10 + } + }, + { + "pressed@persona_sdl.selected_border": { + "layer": 4 + } + }, + { + "selected@persona_sdl.selected_border": { + "layer": 8, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "equipped@persona_sdl.equipped_border": { + "layer": 10, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#is_skin_equipped", + "binding_name_override": "#visible" + } + ] + } + }, + { + "content_panel": { + "type": "panel", + "size": [ "100%", "100% - 2px" ], + "clips_children": true, + "controls": [ + { + "content@persona_sdl.persona_classic_skin_paper_doll": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#classic_skin_index" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$skin_pack_collection_details", + "binding_collection_name": "$skin_pack_collection_name", + "binding_collection_prefix": "$skin_pack_collection_prefix" + }, + { + "binding_type": "$skin_collection_details", + "binding_collection_name": "$skin_collection_name", + "binding_collection_prefix": "$skin_collection_prefix" + }, + { + "ignored": "$ignore_skin_focus_binds", + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#skin_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "ignored": "$ignore_skin_focus_binds", + "binding_type": "$skin_binding_type", + "binding_collection_name": "$skin_collection_name", + "binding_name": "#skin_pack_change_right", + "binding_name_override": "#focus_change_right" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + } + ] + }, + + "persona_classic_skin_paper_doll": { + "type": "custom", + "$paper_doll_offset|default": [ 0, -7 ], + "offset": "$paper_doll_offset", + "size": [ "100%", "100%" ], + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "use_selected_skin": false, + "use_skin_gui_scale": true, + "enable_scissor_test": true, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ] + }, + + "persona_skin_picker_skin_button@persona_sdl.skin_doll_button": { + "$content_size": [ "16.7% - 2px", "153.3%x" ], + "$paper_doll_offset": [ 0, -8 ], + "$pressed_button_name": "button.skin_selected_skins_page" + }, + + "ExpandedSkinPackGrid": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "expanded_skin_grid": { + "type": "grid", + "size": [ "100% - 4px", "100%c + 2px" ], + + "$skin_binding_type": "collection", + "$skin_collection_details": "collection_details", + "$skin_collection_name": "expanded_skin_pack_collection", + "$skin_collection_prefix": "expanded_skin_pack", + + "$skin_dimension_binding|default": "#expanded_pack_dimensions", + "grid_dimension_binding": "$skin_dimension_binding", + "grid_item_template": "persona_sdl.persona_skin_picker_skin_button", + "collection_name": "$skin_collection_name", + + "bindings": [ + { + "binding_name": "$skin_dimension_binding" + } + ] + } + } + ] + }, + + "classic_skin_stack_panel@common.vertical_stack_panel": { + "size": [ "100% - 8px", "100%c" ], + + "clip_state_change_event": "skin_pack_collector_clip_change_event", + + "controls": [ + { "skin_packs@persona_sdl.persona_skin_pack_grid": {} }, + { "spacer1@persona.vertical_4_padding": {} }, + { "see_more_owned@persona.see_more_skins_button": {} } + ], + "bindings": [ + { + "binding_type": "$section_collection_details", + "binding_collection_name": "$section_collection_name", + "binding_collection_prefix": "$section_collection_prefix" + } + ] + }, + + "skin_pack_collection@persona_sdl.classic_skin_stack_panel": { + "$section_collection_details": "$store_factory_collection_details", + "$section_collection_name": "$store_factory_collection_name", + "$section_collection_prefix": "$store_factory_collection_prefix", + "$section_collection_binding_type": "$store_factory_binding_type", + + "$skin_pack_binding_type": "collection", + "$skin_pack_collection_details": "collection_details", + "$skin_collection_name": "skin_pack_collection", + "$skin_pack_collection_prefix": "skin_pack", + + "$skin_pack_collection": "persona_sdl.persona_skin_pack_grid", + "$skin_pack_collection_name": "persona_skin_pack_collection" + }, + + "skin_list_section_panel": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + + "controls": [ + { "skin_list_section@persona_sdl.skin_pack_collection": {} } + ] + }, + + "default_piece_button_panel": { + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + "property_bag": { + "#visible": false + }, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#is_none_option_visible", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { + "none_piece_option_button@common_buttons.light_text_button": { + "size": [ "100% - 2px", 20 ], + "$pressed_button_name": "button.none_piece_option", + "$button_text": "#none_option_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$store_factory_collection_name", + "$button_text_size": [ "default", 10 ], + "$new_ui_label_offset": [ 0, 0 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#is_none_option_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#is_none_option_enabled", + "binding_name_override": "#focus_enabled" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + ///////////////////////////////////////////////////////////// + /// right side stacks + ///////////////////////////////////////////////////////////// + + "ride_side_stack_base@common.vertical_stack_panel": { + "size": [ "fill", "100%" ], + "$right_side_default_text_color": "$dressing_room_right_side_default_text_color", + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "custom", + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_down": "stop", + "focus_navigation_mode_up": "custom", + "focus_container_custom_up": [ + { + "other_focus_container_name": "top_bar" + } + ], + "focus_container_custom_left": [ + { + "other_focus_container_name": "persona_left_panels" + } + ] + }, + + "default_right_side_stack@persona_sdl.ride_side_stack_base": { + "controls": [ + { "debug_information@persona_sdl.right_side_stack_debug_control": {} }, + { "appearance_section@persona_sdl.appearance_section": {} }, + { "padding@persona_sdl.vertical_padding_2px": {} }, + { "realms_banner@persona_sdl.realms_timer_banner": {} }, + + // below are the sub sections which dis/re-appear depending on context. + { + "offer_related_info_panels": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { "getting_started@persona.persona_getting_started_panel": {} }, + { "piece_offer_info_panel@persona.piece_list_right_side_section": {} }, + { "size_info_panel@persona.size_right_side_info_section": {} }, + { "offer_info_panel_skins@persona.right_side_offer_info_skins": {} }, + { "emote_info_panel@persona.right_side_emotes_info_panel": {} } + ] + } + } + ] + }, + + "color_picker_right_side_stack@persona_sdl.ride_side_stack_base": { + "controls": [ + { + "appearance_section@persona_sdl.appearance_section": { + "$extra_appearance_section_content": "persona_sdl.expand_appearance_preview_button" + } + }, + { "padding@persona_sdl.vertical_padding_2px": {} }, + { "color_picker_info_panel@persona_sdl.right_side_color_picker_info_panel": {} } + ] + } +} diff --git a/resource_pack/ui/play_screen.json b/resource_pack/ui/play_screen.json new file mode 100644 index 0000000..f11a4b8 --- /dev/null +++ b/resource_pack/ui/play_screen.json @@ -0,0 +1,8210 @@ +{ + "namespace": "play", + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + + "label_background": { + "type": "image", + "texture": "textures/ui/mainbanners" + }, + + "dark_label_background": { + "type": "image", + "texture": "textures/ui/BannersLight" + }, + + "world_screenshot_base": { + "type": "image", + "size": [ "100%cm + 2px", "100%" ], + "texture": "$border_texture", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1 + }, + + "collection_world_screenshot@play.world_screenshot_base": { + "$fit_image_to_width|default": false, + "$collection_binding_name|default": "", + "$image_binding_name|default": "", + "$texture_source_binding_name|default": "", + "$supports_realmsplus_overlay|default": false, + "controls": [ + { + "screenshot_picture": { + "type": "image", + "layer": 1, + "$fit_to_width": "$fit_image_to_width", + "force_texture_reload": true, + "size": [ "173.91%y", "100% - 2px" ], + "offset": [ 1, 1 ], + "fill": true, + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "$image_binding_name", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_name": "$texture_source_binding_name", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ], + "controls": [ + { + "gradient_container_stacked_panel": { + "ignored": "(not $supports_realmsplus_overlay)", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%cm", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "#realmsplus_expired_visible", + "binding_type": "collection", + "binding_name_override": "#visible", + "binding_collection_name": "$collection_binding_name" + } + ], + "controls": [ + { + "gradient_image_realmsplus_expired": { + "type": "image", + "layer": 1, + "size": [ "69.5%y", "50%" ], + "texture": "textures/ui/realmsparkle" + } + }, + { + "solid_image_realmsplus_expired": { + "type": "image", + "layer": 2, + "size": [ "69.5%y", "50%" ], + "texture": "textures/ui/realmsparkle1", + "controls": [ + { + "exclamationmark": { + "type": "label", + "color": "$realmsplus_exclamation_mark_color", + "layer": 1, + "text": "!", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 1, -1 ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "world_item_grid_base": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left" + }, + + //--------------------------------------------------------------------------- + // Common Icons + //--------------------------------------------------------------------------- + + "edit_icon": { + "type": "image", + "texture": "textures/ui/editIcon", + "size": [ 22, 16 ] + }, + + "realms_stories_icon": { + "type": "image", + "texture": "textures/ui/realmsStoriesIcon", + "size": [ 22, 22 ] + }, + + "realms_stories_icon_animated": { + "type": "image", + "texture": "textures/ui/realmsStoriesIconAnimated", + "size": [ 22, 22 ], + "uv_size": [ 22, 22 ], + "uv": "@play.anim_realms_stories_icon", + "disable_anim_fast_forward": true + }, + + "anim_realms_stories_icon": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 13, + "fps": 4, + "looping": false, + "easing": "linear", + "wait_until_rendered_to_play": true + }, + + "realms_slots_edit_icon": { + "type": "image", + "texture": "textures/ui/realmsSlotsEditIcon", + "size": [ 22, 22 ] + }, + + "worlds_icon": { + "type": "image", + "texture": "textures/ui/worldsIcon", + "size": [ 16, 17 ] + }, + + "realms_icon": { + "type": "image", + "texture": "textures/ui/realmsIcon", + "size": [ 11, 14 ] + }, + + "realms_chevron": { + "type": "image", + "texture": "textures/ui/realms_chevron_play", + "size": [ 23, 28 ] + }, + + "friends_icon_1": { + "type": "image", + "texture": "textures/ui/Friend1", + "size": [ 10, 10 ] + }, + + "friends_icon_2": { + "type": "image", + "texture": "textures/ui/Friend2", + "size": [ 10, 10 ] + }, + + "bell_icon": { + "type": "image", + "texture": "textures/ui/icon_bell", + "size": [ 20, 20 ] + }, + + "invite_icon": { + "type": "image", + "texture": "textures/ui/invite_base", + "size": [ 20, 20 ] + }, + + "delete_icon": { + "type": "image", + "texture": "textures/ui/trash_light", + "size": [ 22, 16 ] + }, + + "world_download_icon": { + "type": "image", + "texture": "textures/ui/world_download", + "size": [ 15, 16 ] + }, + + // To create the bouncing effect of alternating bounces for the notification icon + // the durations have to be alternated and then resynced with the wait time. + "anim_icon_wait_A": { + "anim_type": "wait", + "duration": 0.14, + "next": "@play.anim_icon_A_bounce_in_2", + "end_event": "friend_icon_bounce_start" + }, + + "anim_icon_wait_B": { + "anim_type": "wait", + "duration": 0.1, + "next": "@play.anim_icon_B_bounce_in_2", + "end_event": "friend_icon_bounce_start" + }, + + "anim_count_wait": { + "anim_type": "wait", + "duration": 0.14, + "next": "@play.anim_count_bounce_in_2", + "end_event": "friend_icon_bounce_start" + }, + + "anim_icon_wait_A_2": { + "anim_type": "wait", + "duration": 0.1, + "next": "@play.anim_icon_A_bounce_in_3", + "end_event": "friend_icon_bounce_start" + }, + + "anim_icon_wait_B_2": { + "anim_type": "wait", + "duration": 0.14, + "next": "@play.anim_icon_B_bounce_in_3", + "end_event": "friend_icon_bounce_start" + }, + + "anim_count_wait_2": { + "anim_type": "wait", + "duration": 0.1, + "next": "@play.anim_count_bounce_in_3", + "end_event": "friend_icon_bounce_start" + }, + + // After three bounces the icon waits for three seconds. + "anim_icon_wait_A_3": { + "anim_type": "wait", + "duration": 3.04, + "next": "@play.anim_icon_A_bounce_in", + "end_event": "friend_icon_bounce_start" + }, + + "anim_icon_wait_B_3": { + "anim_type": "wait", + "duration": 2.97, + "next": "@play.anim_icon_B_bounce_in", + "end_event": "friend_icon_bounce_start" + }, + + "anim_count_wait_3": { + "anim_type": "wait", + "duration": 3.04, + "next": "@play.anim_count_bounce_in", + "end_event": "friend_icon_bounce_start" + }, + + // The icon is always being offseted by a constant amount, going up by 4 then down by 4 + // This is to get the text in the right position at the beginning. + "anim_count_wait_offset": { + "anim_type": "offset", + "duration": 1.00, + "from": [ -5, 1 ], + "to": [ -5, 1 ], + "next": "@play.anim_count_wait_3" + }, + + // Alternating between .185 and .225, and being resynced with waits. + "anim_icon_A_bounce_in": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, 2 ], + "to": [ -5, -2 ], + "next": "@play.anim_icon_A_bounce_out" + }, + + "anim_icon_A_bounce_out": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, -2 ], + "to": [ -5, 2 ], + "next": "@play.anim_icon_wait_A", + "end_event": "friend_icon_bounce_end" + }, + + "anim_icon_B_bounce_in": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ 0, -3 ], + "to": [ 0, -7 ], + "next": "@play.anim_icon_B_bounce_out" + }, + + "anim_icon_B_bounce_out": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ 0, -7 ], + "to": [ 0, -3 ], + "next": "@play.anim_icon_wait_B", + "end_event": "friend_icon_bounce_end" + }, + + "anim_icon_A_bounce_in_2": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ -5, 2 ], + "to": [ -5, -2 ], + "next": "@play.anim_icon_A_bounce_out_2" + }, + + "anim_icon_A_bounce_out_2": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ -5, -2 ], + "to": [ -5, 2 ], + "next": "@play.anim_icon_wait_A_2", + "end_event": "friend_icon_bounce_end" + }, + + "anim_icon_B_bounce_in_2": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ 0, -3 ], + "to": [ 0, -7 ], + "next": "@play.anim_icon_B_bounce_out_2" + }, + + "anim_icon_B_bounce_out_2": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ 0, -7 ], + "to": [ 0, -3 ], + "next": "@play.anim_icon_wait_B_2", + "end_event": "friend_icon_bounce_end" + }, + + "anim_icon_A_bounce_in_3": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, 2 ], + "to": [ -5, -2 ], + "next": "@play.anim_icon_A_bounce_out_3" + }, + + "anim_icon_A_bounce_out_3": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, -2 ], + "to": [ -5, 2 ], + "next": "@play.anim_icon_wait_A_3", + "end_event": "friend_icon_bounce_end" + }, + + "anim_icon_B_bounce_in_3": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ 0, -3 ], + "to": [ 0, -7 ], + "next": "@play.anim_icon_B_bounce_out_3" + }, + + "anim_icon_B_bounce_out_3": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ 0, -7 ], + "to": [ 0, -3 ], + "next": "@play.anim_icon_wait_B_3", + "end_event": "friend_icon_bounce_end" + }, + + "anim_count_bounce_in": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, 1 ], + "to": [ -5, -3 ], + "next": "@play.anim_count_bounce_out" + }, + + "anim_count_bounce_out": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, -3 ], + "to": [ -5, 1 ], + "next": "@play.anim_count_wait", + "end_event": "friend_icon_bounce_end" + }, + + "anim_count_bounce_in_2": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ -5, 1 ], + "to": [ -5, -3 ], + "next": "@play.anim_count_bounce_out_2" + }, + + "anim_count_bounce_out_2": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.225, + "from": [ -5, -3 ], + "to": [ -5, 1 ], + "next": "@play.anim_count_wait_2", + "end_event": "friend_icon_bounce_end" + }, + + "anim_count_bounce_in_3": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, 1 ], + "to": [ -5, -3 ], + "next": "@play.anim_count_bounce_out_3" + }, + + "anim_count_bounce_out_3": { + "anim_type": "offset", + "easing": "linear", + "duration": 0.185, + "from": [ -5, -3 ], + "to": [ -5, 1 ], + "next": "@play.anim_count_wait_3", + "end_event": "friend_icon_bounce_end" + }, + + "third_party_servers_icon": { + "type": "image", + "texture": "textures/ui/addServer", + "size": [ 17, 13 ] + }, + + "lan_icon": { + "type": "image", + "texture": "textures/ui/lan_icon", + "size": [ 14, 14 ] + }, + + "friends_server_icon": { + "type": "image", + "size": [ 14, 14 ], + "bindings": [ + { + "binding_name": "#friends_server_icon_texture_name", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "friends_network_worlds" + } + ] + }, + + "cross_platform_friends_server_icon": { + "type": "image", + "size": [ 14, 14 ], + "bindings": [ + { + "binding_name": "#cross_platform_friends_server_icon_texture_name", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "cross_platform_friends_network_worlds" + } + ] + }, + + "realms_remove_icon": { + "type": "image", + "texture": "textures/ui/redX1", + "size": [ 12, 12 ] + }, + + "game_online_icon": { + "type": "image", + "texture": "textures/ui/online", + "size": [ 8, 8 ] + }, + + "game_offline_icon": { + "type": "image", + "texture": "textures/ui/offline", + "size": [ 8, 8 ] + }, + + "game_unavailable_icon": { + "type": "image", + "texture": "textures/ui/offline", + "size": [ 8, 8 ] + }, + + "import_icon": { + "type": "image", + "texture": "textures/ui/import", + "size": [ 16, 16 ] + }, + + "upload_icon": { + "type": "image", + "texture": "textures/ui/upload_glyph", + "size": [ 16, 16 ] + }, + + "add_server_icon": { + "type": "image", + "texture": "textures/ui/addServer", + "size": [ 17, 13 ] + }, + + "server_tab_icon": { + "type": "image", + "texture": "textures/ui/servers", + "size": [ 15, 15 ] + }, + + "realms_art_icon": { + "type": "image", + "texture": "textures/ui/realms_art_icon", + "size": [ 647, 760 ] + }, + + "realms_text_background": { + "type": "image", + "texture": "textures/ui/realms_text_background" + }, + + "connected_storage": { + "type": "image", + "texture": "textures/ui/local_and_cloud_storage", + "size": [ 12, 8 ] + }, + + "feedback_icon": { + "type": "image", + "texture": "textures/ui/Feedback", + "layer": 3, + "size": [ 16, 16 ] + }, + + "local_only_storage@play.connected_storage": { + "texture": "textures/ui/local_only_storage" + }, + + "local_and_cloud_storage@play.connected_storage": { + "texture": "textures/ui/local_and_cloud_storage" + }, + + "cloud_only_storage@play.connected_storage": { + "texture": "textures/ui/cloud_only_storage" + }, + + "left_arrow_icon": { + "type": "image", + "size": [ 7, 7 ], + "texture": "textures/ui/arrow_left_white", + "color": "$text_color" + }, + + "right_arrow_icon": { + "type": "image", + "size": [ 7, 7 ], + "texture": "textures/ui/arrow_right_white", + "color": "$text_color" + }, + + "small_progress_panel@progress.progress_loading_bars": { + "size": [ 20, 10 ], + "layer": 5, + "color": "$dark_button_default_text_color", + "bindings": [ + { + "binding_name": "(not #ping_ready_thirdparty)", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // SIGN IN TO JOIN REALMS PROMPT + //--------------------------------------------------------------------------- + + "sign_in_realms_image": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "controls": [ + { + "chevron@play.realms_chevron": { + "layer": 1, + "offset": "$chevron_offset" + } + }, + { + "portal@play.realms_icon": { + "layer": 2, + "offset": "$portal_offset" + } + } + ], + // this is to counteract the image moving down when the button is pressed + "variables": [ + { + "requires": "$pressed_state", + "$chevron_offset": [ -3, -1 ], + "$portal_offset": [ -6, -1 ] + }, + { + "requires": "(not $pressed_state)", + "$chevron_offset": [ -3, 0 ], + "$portal_offset": [ -6, 0 ] + } + ] + }, + + "realms_sign_in_prompt_label": { + "type": "label", + "color": "$text_color", + "text": "#realms_sign_in_prompt", + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "bindings": [ + { + "binding_name": "#realms_sign_in_prompt" + } + ] + }, + + "realms_sign_in_prompt": { + "type": "panel", + "size": [ "fill", "100%sm" ], + "controls": [ + { + "realms_sign_in_prompt_label@play.realms_sign_in_prompt_label": {} + } + ] + }, + + "realms_sign_in_prompt_friends@play.realms_sign_in_prompt": { + "controls": [ + { + "realms_sign_in_prompt_label_friends@play.realms_sign_in_prompt_label": { + "text": "#realms_sign_in_prompt_friends", + "bindings": [ + { + "binding_name": "#realms_sign_in_prompt_friends" + } + ] + } + } + ] + }, + + "sign_in_to_view_realms_content_panel": { + "type": "stack_panel", + "size": [ "100%", "100%cm" ], + "orientation": "horizontal", + "$prompt": "play.realms_sign_in_prompt", + "controls": [ + { + "sign_in_realms_image@play.sign_in_realms_image": {} + }, + { + "realms_sign_in_prompt@$prompt": {} + } + ] + }, + + "sign_in_to_view_realms_content_panel_friends@play.sign_in_to_view_realms_content_panel": { + "$prompt": "play.realms_sign_in_prompt_friends" + }, + + "sign_in_to_view_realms_button@common_buttons.dark_content_button": { + "$pressed_button_name": "button.menu_sign_in_to_view_realms", + "$button_content": "play.sign_in_to_view_realms_content_panel", + "size": [ "100%", 29 ], + "bindings": [ + { + "binding_name": "#realms_sign_in_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "sign_in_to_view_realms_button_friends@play.sign_in_to_view_realms_button": { + "$button_content": "play.sign_in_to_view_realms_content_panel_friends" + }, + + //--------------------------------------------------------------------------- + // REALMS WORLD GRID + //--------------------------------------------------------------------------- + + "realms_list_text": { + "type": "label", + "color": "$text_color", + "shadow": false, + "text": "$text", + "anchor_from": "top_left", + "anchor_to": "top_left", + "$text_binding_type|default": "none", + "$realms_worlds_collection_name|default": "", + "$text_binding_condition|default": "none", + "bindings": [ + { + "binding_condition": "$text_binding_condition", + "binding_name": "$text", + "binding_type": "$text_binding_type", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + }, + + "realms_world_header@play.realms_list_text": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "color": "$text_color", + "size": [ "100%", 10 ], + "$text": "#realms_world_header", + "$text_binding_type": "collection" + }, + + "realms_world_details@play.realms_list_text": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", 10 ], + "color": "$secondary_text_color", + "$text": "#realms_world_details", + "$text_binding_type": "collection" + }, + + + "realms_world_type@play.realms_list_text": { + "size": [ "default", 10 ], + "color": "$secondary_text_color", + "$text": "selectWorld.worldTags.hardcore", + "bindings": [ + { + "binding_name": "#realms_world_is_hardcore", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + }, + + "realms_world_player_count@play.world_list_text": { + "text": "#realms_world_player_count", + "color": "$secondary_text_color", + "size": [ "default", 10 ], + "bindings": [ + { + "binding_name": "#realms_world_player_count", + "binding_type": "collection", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + }, + + "realms_world_game_status_icon": { + "type": "panel", + "size": [ 10, 10 ], + "controls": [ + { + "game_online_icon@play.game_online_icon": { + "bindings": [ + { + "binding_name": "#realms_game_online", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + }, + { + "game_unavailable_icon@play.game_unavailable_icon": { + "bindings": [ + { + "binding_name": "#realms_game_unavailable", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + }, + { + "game_offline_icon@play.game_offline_icon": { + "bindings": [ + { + "binding_name": "#realms_game_offline", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + } + ] + }, + + "realms_world_text_panel": { + "type": "panel", + "size": [ "100%-2px", "100%-2px" ], + "controls": [ + { "realms_world_header@play.realms_world_header": {} }, + { "realms_world_details@play.realms_world_details": {} } + ] + }, + + "realms_world_trial_text_panel": { + "type": "panel", + "size": [ "100%-2px", "100%-2px" ], + "$world_header_text_binding_type|default": "none", + "$world_details_text|default": "#player_gamertag", + "$world_details_text_binding_type|default": "global", + "controls": [ + { + "realms_world_header_text@play.realms_list_text": { + "$text": "$button_content_text", + "$text_binding_type": "$world_header_text_binding_type", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 10 ] + } + }, + { + "realms_world_details@play.realms_list_text": { + "$text": "$world_details_text", + "color": "$secondary_text_color", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", 10 ] + } + } + ] + }, + + "realms_world_content_text_area_panel": { + "type": "panel", + "controls": [ + { "realms_world_text_panel@play.realms_world_text_panel": {} } + ] + }, + + "realms_trial_content_text_area_panel": { + "type": "panel", + "controls": [ + { "realms_world_trial_text_panel@play.realms_world_trial_text_panel": {} } + ] + }, + + "realms_world_content_status_area_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "world_player_count_text_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "realms_world_player_count@play.realms_world_player_count": { + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, 10 ] + } + }, + { "realms_world_game_status_icon@play.realms_world_game_status_icon": {} } + ] + }, + + "realms_world_content_status_area_panel_container": { + "type": "stack_panel", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "realms_world_status_panel": { + "type": "panel", + "size": [ "100%sm", "100%c" ], + "min_size": [ "100%c", "100%c" ], + "controls": [ + { + "realms_world_content_status_area_panel@play.realms_world_content_status_area_panel": {} + } + ] + } + }, + { + "realms_world_type@play.realms_world_type": {} + } + ] + }, + + "realms_world_content_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "variables": [ + { + "requires": "($realms_worlds_collection_name = $personal_realm_collection_name)", + "$show_screenshot": true + }, + { + "requires": "($realms_worlds_collection_name = $friend_realm_collection_name)", + "$show_screenshot": false + }, + { + "requires": "$default_state", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$hover_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$pressed_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$locked_state", + "$border_texture": "textures/ui/default_indent" + } + ], + "controls": [ + { + "realm_screenshot@play.realm_screenshot": { + "ignored": "(not $show_screenshot)" + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ], + "ignored": "(not $show_screenshot)" + } + }, + { + "realms_world_content_text_area_panel@play.realms_world_content_text_area_panel": { + "size": [ "fill", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1 + } + }, + { + "realms_world_content_status_area_panel": { + "size": [ "100%c", "100%" ], + "type": "panel", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "layer": 1, + "controls": [ + { + "realms_world_content_status_area_panel_container@play.realms_world_content_status_area_panel_container": {} + } + ] + } + } + ] + }, + + "realms_trial_content_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "variables": [ + { + "requires": "$default_state", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$hover_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$pressed_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$locked_state", + "$border_texture": "textures/ui/default_indent" + } + ], + "controls": [ + { "realm_screenshot@play.realm_screenshot": {} }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "realms_trial_content_text_area_panel@play.realms_trial_content_text_area_panel": { + "size": [ "fill", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1 + } + } + ] + }, + + "realms_world_item_button@common_buttons.dark_content_button": { + "$pressed_button_name": "button.menu_start_realms_world", + "$button_content": "play.realms_world_content_panel", + "$personal_realm_collection_name": "personal_realms", + "$friend_realm_collection_name": "friends_realms", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$realms_worlds_collection_name" + }, + { + "binding_type": "collection", + "binding_name": "#world_button_focus_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "$realms_worlds_collection_name" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "realms_world_edit_button@common_buttons.dark_glyph_button": { + "$pressed_button_name": "button.menu_realms_world_item_edit", + "$button_content": "play.realms_slots_edit_icon", + "$button_tts_header": "accessibility.play.editRealm", + "size": [ "100%y", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$realms_worlds_collection_name" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "realms_feed_button_content": { + "type": "image", + "controls": [ + { + "default_icon@play.realms_stories_icon": { + "bindings": [ + { + "binding_type": "collection", + "binding_name": "(not #realms_unread_story_count_visible)", + "binding_name_override": "#visible", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + }, + { + "unread_icon_active@play.realms_stories_icon_animated": { + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#realms_unread_story_count_visible", + "binding_name_override": "#visible", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + } + ] + }, + + "persistent_realms_feed_button_control@common_buttons.new_ui_button_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$glyph_color": "$dark_glyph_default_color", + "$border_color": "$dark_border_default_color", + "$button_press_offset": [ 0, 0 ], + "$border_layer": 2, + "$border_alpha": 0, + "$button_image_alpha": 0, + "$content_alpha": 0, + "layer": 4, + "$button_content": "play.realms_feed_button_content" + }, + + "realms_feed_button@common_buttons.dark_glyph_button_with_custom_control": { + "$pressed_button_name": "button.menu_realms_feed", + "$custom_control": "play.persistent_realms_feed_button_control", + "$button_tts_header": "#realms_feed_button_tts_header", + "size": [ "100%y", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$realms_worlds_collection_name" + }, + { + "binding_name": "#menu_realms_feed_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#realms_feed_button_tts_header", + "binding_collection_name": "$realms_worlds_collection_name", + "binding_type": "collection" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "leave_friends_realm_button@common_buttons.dark_glyph_button": { + "$pressed_button_name": "button.menu_realms_world_item_remove", + "$button_content": "play.realms_remove_icon", + "$button_tts_header": "accessibility.play.leaveRealm", + "size": [ "100%y", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$realms_worlds_collection_name" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "unread_story_count_text": { + "type": "label", + "color": "$tab_secondary_unchecked_text_color", + "shadow": false, + "text": "#realms_unread_story_count", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#realms_unread_story_count", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + }, + + "unread_story_count_text_background": { + "type": "image", + "texture": "textures/ui/invite_number_background" + }, + + "unread_story_count_panel": { + "type": "panel", + "anchor_from": "top_right", + "anchor_to": "right_middle", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "text@play.unread_story_count_text": { + "layer": 9, + "controls": [ + { + "background@play.unread_story_count_text_background": { + "layer": -1, + "size": [ "100%+4px", "100%" ], + "offset": [ -0.5, 0 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#realms_unread_story_count_visible", + "binding_name_override": "#visible", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + }, + + "realms_world_item": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { + "realms_button_panel": { + "type": "panel", + "size": [ "fill", "100% + 1px" ], + "controls": [ + { + "realms_world_item_button@play.realms_world_item_button": { + "size": [ "100%", "100%" ], + "layer": 1 + } + }, + { + "tts_border@common.tts_activate_sibling": { + "size": [ "100%sm", "100%sm - 1px" ], + "bindings": [ + { + "binding_name": "(not #cross_platform_enabled)", + "binding_name_override": "#visible" + } + ], + "offset": [ 0, -2 ] + } + } + ] + + } + }, + { + "edit_panel": { + "type": "panel", + "size": [ "100%y - 1px", "100% + 1px" ], + "controls": [ + { + "realms_world_edit_button@play.realms_world_edit_button": { + "layer": 1 + } + }, + { + "realms_world_expiry_notification_image": { + "type": "image", + "texture": "textures/ui/update", + "offset": [ 0, -10 ], + "size": [ 8, 15 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 7, + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#realms_world_expiry_notification_visible", + "binding_name_override": "#visible", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#realms_edit_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + }, + { + "feed_panel_with_unread_count": { + "type": "panel", + "size": [ "100%y - 1px", "100% + 1px" ], + "controls": [ + { + "feed_panel": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "realms_feed_button@play.realms_feed_button": { + "layer": 1 + } + } + ] + } + }, + { + "unread_story_count@play.unread_story_count_panel": { + "offset": [ 0, 1.5 ] + } + } + ] + } + }, + { + "leave_realm_panel": { + "type": "panel", + "size": [ "100%c - 1px", "100% + 1px" ], + "controls": [ + { + "leave_friends_realm_button@play.leave_friends_realm_button": { + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#leave_realm_button_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realms_worlds_collection_name" + } + ] + } + } + ] + }, + + "realms_world_item_grid@play.world_item_grid_base": { + "grid_item_template": "$grid_item_layout", + "grid_dimension_binding": "$grid_name", + "collection_name": "$realms_worlds_collection_name", + "bindings": [ + { + "binding_name": "$grid_name" + }, + { + "binding_name": "#realms_grids_visible", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // FRIENDS WORLD GRID + //--------------------------------------------------------------------------- + + "network_world_header": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$header_icon_visible|default": false, + "controls": [ + { + "network_world_header_icon": { + "type": "image", + "size": [ 10, 10 ], + "ignored": "(not $header_icon_visible)", + "bindings": [ + { + "binding_name": "#network_world_header_icon_texture_path", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#network_world_header_icon_texture_location", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "spacer": { + "ignored": "(not $header_icon_visible)", + "type": "panel", + "size": [ 5, 0 ] + } + }, + { + "header_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "network_world_header_text@play.world_list_text": { + "text": "#network_world_header", + "color": "$text_color", + "offset": [ 0, 1 ], + "bindings": [ + { + "binding_name": "#network_world_header", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + } + } + ] + }, + + "network_world_details@play.world_list_text": { + "text": "#network_world_details", + "color": "$secondary_text_color", + "size": [ "100%", 10 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#network_world_details", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "network_world_player_count": { + "type": "panel", + "size": [ "100%c", 10 ], + "controls": [ + { + "count@play.world_list_text": { + "text": "#network_world_player_count", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#network_world_player_count", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + "network_world_game_status_icon": { + "type": "panel", + "size": [ 10, 10 ], + "controls": [ + { + "game_online_icon@play.game_online_icon": { + "bindings": [ + { + "binding_name": "#game_online", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "game_unavailable_icon@play.game_unavailable_icon": { + "bindings": [ + { + "binding_name": "#game_unavailable", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "game_offline_icon@play.game_offline_icon": { + "bindings": [ + { + "binding_name": "#game_offline", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + "network_world_text_panel": { + "type": "panel", + "size": [ "100%-2px", "100%-2px" ], + "controls": [ + { "network_world_header@play.network_world_header": {} }, + { "network_world_details@play.network_world_details": {} } + ] + }, + + "network_world_content_text_area_panel": { + "type": "panel", + "controls": [ + { "network_world_text_panel@play.network_world_text_panel": {} } + ] + }, + + "network_world_content_status_area_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "network_player_count_text_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "network_world_player_count@play.network_world_player_count": { + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, 10 ] + } + }, + { "network_world_game_status_icon@play.network_world_game_status_icon": {} } + ] + }, + + "network_world_content_status_area_panel_container": { + "type": "stack_panel", + "size": [ "100%cm", "100%c" ], + "controls": [ + { + "network_world_status_panel": { + "type": "panel", + "size": [ "100%sm", "100%c" ], + "min_size": [ "100%c", "100%c" ], + "controls": [ + { + "network_world_content_status_area_panel@play.network_world_content_status_area_panel": {} + } + ] + } + }, + { + "network_world_type@play.network_world_type": { + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#network_world_is_hardcore", + "binding_name_override": "#visible", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + "network_world_type": { + "type": "panel", + "size": [ "100%c", 10 ], + "controls": [ + { + "type@play.world_list_text": { + "text": "selectWorld.worldTags.hardcore", + "color": "$secondary_text_color" + } + } + ] + }, + + "network_world_item_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "network_world_content_text_area_panel@play.network_world_content_text_area_panel": { + "size": [ "fill", "100%" ], + "layer": 1 + } + }, + { + "network_status_area_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "layer": 1, + "controls": [ + { + "network_world_content_status_area_panel_container@play.network_world_content_status_area_panel_container": {} + } + ] + } + }, + { + "network_world_type_icon": { + "type": "label", + "color": "$text_color", + "size": [ "100%c", "100%" ], + "layer": 2, + "ignored": "$hide_network_icon", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ 6, 10 ] + } + }, + { + "$network_world_icon@$network_world_icon": { + "layer": 1 + } + } + ] + } + } + ] + }, + + "network_world_item_button@common_buttons.dark_content_button": { + "size": [ "100%", "100%" ], + "$pressed_button_name": "button.menu_network_world_item", + "$button_content": "play.network_world_item_button_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#network_world_button_enabled", + "binding_name_override": "#enabled", + "binding_collection_name": "$collection_name", + "binding_type": "collection" + } + ] + }, + + "network_server_world_edit_button@common_buttons.dark_glyph_button": { + "$pressed_button_name": "button.menu_network_server_world_edit", + "$button_content": "play.edit_icon", + "$button_tts_header": "accessibility.play.editServer", + "size": [ "100%y", "100% + 1px" ], + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#network_world_button_enabled", + "binding_name_override": "#enabled", + "binding_collection_name": "$collection_name", + "binding_type": "collection" + } + ] + }, + + "network_world_item": { + "type": "panel", + "layer": 1, + "size": [ "100%", 30 ], + "controls": [ + { + "network_world_item_button@play.network_world_item_button": { + "size": [ "100%", "100% + 1px" ], + "layer": 1 + } + }, + { + "tts_border@common.tts_activate_sibling": { + "size": [ "100%sm", "100%sm - 1px" ], + "bindings": [ + { + "binding_name": "(not #cross_platform_enabled)", + "binding_name_override": "#visible" + } + ], + "offset": [ 0, -2 ] + } + } + ] + }, + + "network_world_item_grid@play.world_item_grid_base": { + "grid_item_template": "$network_world_grid_item_template", + "grid_dimension_binding": "$network_world_item_grid_dimension_binding", + "collection_name": "$collection_name", + "bindings": [ + { + "binding_name": "$network_world_item_grid_dimension_binding" + } + ] + }, + + "network_world_item_ignore_crossplay": { + "type": "panel", + "layer": 1, + "size": [ "100%", 30 ], + "controls": [ + { + "network_world_item_button@play.network_world_item_button": { + "size": [ "100%", "100% + 1px" ], + "layer": 1 + } + } + ] + }, + + "label_content_template": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "$hide_network_icon|default": false, + "$label_panel_visible|default": true, + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "$label_offset|default": [ 1, 0 ], + "$label_size|default": [ "100%", "default" ], + "visible": "$label_panel_visible", + "controls": [ + { + "label_panel_layout": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-4px", "100%c+2px" ], + "offset": "$label_offset", + "controls": [ + { + "label": { + "type": "label", + "color": "$dark_button_default_text_color", + "size": "$label_size", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "shadow": false, + "text": "$label_content_label", + "$label_content_label_binding_type|default": "none", + "$label_content_label_binding_condition|default": "none", + "bindings": [ + { + "binding_name": "$label_content_label", + "binding_type": "$label_content_label_binding_type", + "binding_condition": "$label_content_label_binding_condition" + } + ] + } + } + ] + } + } + ] + } + }, + { + "content@$label_content_content": { + "layer": 1 + } + } + ] + }, + + "information_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { + "background@play.dark_label_background": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "label_panel_layout": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%-8px", "100%c + 8px" ], + "controls": [ + { + "label": { + "type": "label", + "$information_label_font|default": "default", + "font_type": "$information_label_font", + "color": "$dark_button_default_text_color", + "size": [ "100%", "default" ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 1, + "shadow": false, + "text": "$information_panel_label_text", + "$information_panel_label_text_binding_type|default": "none", + "$information_panel_label_text_binding_condition|default": "none", + "bindings": [ + { + "binding_name": "$information_panel_label_text", + "binding_type": "$information_panel_label_text_binding_type", + "binding_condition": "$information_panel_label_text_binding_condition" + } + ] + } + } + ] + } + } + ] + } + }, + { + "focus_button@common.non_interact_focus_border_button": { + "size": [ "100%", "100%sm" ], + "tts_inherit_siblings": true + } + } + ] + }, + + "blocked_multiplayer_privileges_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { + "background@play.dark_label_background": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "label_panel_layout": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%-8px", "100%c + 8px" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$dark_button_default_text_color", + "size": [ "100%", "default" ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 1, + "shadow": false, + "visible": false, + + "text": "#privilegesBlockedText", + "bindings": [ + { + "binding_name": "#privilegesBlockedText", + "binding_type": "global", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // RECENT SERVER GRID + //--------------------------------------------------------------------------- + + "more_servers_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "grid_item_template": "more_servers_world_item", + "grid_dimension_binding": "#servers_network_world_item_grid_dimension", + "collection_name": "servers_network_worlds", + "$collection_name": "servers_network_worlds", + "anchor_to": "top_left", + "anchor_from": "top_left", + "ttsSectionContainer": true, + "$toggle_index_binding_name": "#additional_server_toggle_index", + "bindings": [ + { + "binding_name": "#servers_network_world_item_grid_dimension" + } + ] + }, + + "additional_server_toggle_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "variables": [ + { + "requires": "$toggle_unchecked", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$toggle_unchecked_hover", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$toggle_checked_hover", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$toggle_checked", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$toggle_locked", + "$border_texture": "textures/ui/default_indent" + } + ], + "$secondary_text_color": "$dark_button_secondary_default_text_color", + "controls": [ + { + "network_world_content_text_area_panel@play.network_world_content_text_area_panel": { + "size": [ "fill", "100%" ], + "layer": 1 + } + } + ] + }, + + "more_servers_label_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "list_label": { + "type": "label", + "color": "$dark_button_default_text_color", + "size": [ "100%", 10 ], + "offset": [ 1, 0 ], + "text": "$label_text" + } + } + ] + }, + + "more_servers_world_item": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 30 ], + "orientation": "horizontal", + "controls": [ + { + "additional_server_toggle_base@play.server_toggle_base": { + "$focus_override_right": "edit_server", + "size": [ "fill", "100% + 1px" ], + "layer": 1, + "$button_content": "play.additional_server_toggle_content", + "$toggle_index_binding_name": "#additional_server_toggle_index" + } + }, + { + "network_server_world_edit_button@play.network_server_world_edit_button": { + "$focus_id": "edit_server", + "$focus_override_right": "right_side", + "ignored": "$ignore_add_servers", + "layer": 1 + } + } + ] + }, + + "additional_server_info_panel@play.common_scroll_pane": { + "bindings": [ + { + "binding_name": "#is_network_available_and_multiplayer_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "server_info_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%- 2px", "100%c + 1px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "server_name@play.world_list_text": { + "text": "#info_additional_server_name", + "localize": false, + "color": "$main_header_text_color", + "font_type": "smooth", + "text_alignment": "left", + "size": [ "100%", 10 ], + "bindings": [ + { + "binding_name": "#info_additional_server_name" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "player_count@play.text_icon_number_panel": { + "$text_icon_number_text": "networkWorld.online", + "$text_icon_number_icon": "#server_player_count_icon", + "$text_icon_number_number": "#info_additional_server_player_count", + "$icon_size": [ 5, 5 ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "ping@play.text_icon_number_panel": { + "$text_icon_number_text": "networkWorld.current_ping", + "$text_icon_number_icon": "#info_additional_server_ping_texture_name", + "$text_icon_number_number": "#info_additional_server_ping", + "$icon_size": [ 8, 8 ], + "$ping_bindings": [ + { + "binding_name": "#ping_ready_thirdparty", + "binding_name_override": "#visible" + } + ], + "$progress_panel": "play.small_progress_panel", + "$number_bindings": [ + { + "binding_name": "$text_icon_number_number" + }, + { + "binding_name": "#ping_ready_external", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_4": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "join_server_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_network_server_item", + "$button_text": "networkWorld.join_server", + "$focus_override_left": "left_panel", + "size": [ "100%", 20 ] + } + } + ] + } + } + ] + }, + + "ping_rate_icon": { + "type": "image", + "size": [ 8, 8 ], + "bindings": [ + { + "binding_name": "#texture_name", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "ping_rate_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "concurrency_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 10 ], + "controls": [ + { + "player_count": { + "type": "label", + "size": [ "default", 10 ], + "text": "#server_player_count", + "color": "$text_color", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#server_player_count", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "ping_rate_icon@play.ping_rate_icon": {} + } + ], + "bindings": [ + { + "binding_type": "collection", + "binding_name": "(#is_network_available_and_ping_not_loading)", + "binding_name_override": "#visible", + "binding_collection_name": "third_party_server_network_worlds" + } + ] + } + } + ] + }, + + "add_server_info_panel@play.common_scroll_pane": { + "controls": [ + { + "server_info_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%- 2px", "100%c + 1px" ], + "visible": "(not $is_console)", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "add_server_title": { + "type": "label", + "text": "externalServerScreen.addServerTitle", + "color": "$body_text_color", + "text_alignment": "left", + "size": [ "100%", 10 ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "add_server_description": { + "type": "label", + "text": "externalServerScreen.addServerDescription", + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "text_alignment": "left", + "size": [ "100%", "default" ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // FEATURED SERVER GRID + //--------------------------------------------------------------------------- + + "third_party_featured_server_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "grid_item_template": "featured_server_world_item", + "grid_dimension_binding": "#third_party_featured_item_grid_dimension", + "collection_name": "third_party_server_network_worlds", + "$collection_name": "third_party_server_network_worlds", + "anchor_to": "top_left", + "anchor_from": "top_left", + "ttsSectionContainer": true, + "$toggle_index_binding_name": "#third_party_toggle_index", + "bindings": [ + { + "binding_name": "#third_party_featured_item_grid_dimension" + }, + { + "binding_name": "#featured_servers_visible", + "binding_name_override": "#visible" + } + ] + }, + + "featured_server_world_item": { + "type": "panel", + "size": [ "100%", 40 ], + "controls": [ + { + "server_button@play.server_toggle_base": { + "$button_content": "play.server_button_content_panel", + "$toggle_index_binding_name": "#third_party_toggle_index" + } + } + ] + }, + + "server_button_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "variables": [ + { + "requires": "$toggle_unchecked", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$toggle_unchecked_hover", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$toggle_checked_hover", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$toggle_checked", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$toggle_locked", + "$border_texture": "textures/ui/default_indent" + } + ], + "controls": [ + { + "top_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "controls": [ + { + "third_party_server_screenshot@play.third_party_server_screenshot": { + "bindings": [ + { + "binding_name": "#third_party_screenshot_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 6, "100%" ] + } + }, + { + "title_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "third_party_server_name@play.world_list_text": { + "text": "#third_party_server_name", + "localize": false, + "color": "$text_color", + "font_type": "smooth", + "size": [ "100%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 2 ], + "bindings": [ + { + "binding_name": "#third_party_server_name", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_type": "collection", + "binding_name": "#is_server_info_available_collection", + "binding_name_override": "#visible", + "binding_collection_name": "third_party_server_network_worlds" + } + ] + } + }, + { + "progress@progress.progress_loading_bars": { + "size": [ "100% - 8px", "100% - 4px" ], + "layer": 5, + "color": "$text_color", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 0 ], + "bindings": [ + { + "binding_type": "collection", + "binding_name": "(not #is_server_info_available_collection)", + "binding_name_override": "#visible", + "binding_collection_name": "third_party_server_network_worlds" + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "bottom_panel": { + "type": "panel", + "size": [ "100%", "50% - 2px" ], + "controls": [ + { + "third_party_server_message@play.world_list_text": { + "text": "#third_party_server_message", + "localize": false, + "color": "$dark_button_default_text_color", + "font_type": "smooth", + "size": [ "100% - 4px", "100%" ], + "offset": [ 2, 1 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#third_party_server_message", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_type": "collection", + "binding_name": "(not #is_network_available)", + "binding_name_override": "#visible", + "binding_collection_name": "third_party_server_network_worlds" + } + ] + } + } + ] + } + } + ] + }, + + "third_party_server_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "ping_rate_panel@play.ping_rate_panel": {} + } + ] + }, + + "loading_featured_servers_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "min_size": [ "100%", 60 ], + "offset": [ 0, 2 ], + "controls": [ + { + "load_bars": { + "type": "panel", + "size": [ "100%", 12 ], + "controls": [ + { + "progress_loading_bars@common_store.progress_loading_bars": { + } + } + ] + } + } + ] + }, + + "third_party_server_screenshot": { + "type": "image", + "size": [ "100%c + 2px", "100%" ], + "texture": "$border_texture", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "controls": [ + { + "picture": { + "type": "image", + "layer": 1, + "size": [ "177.78%y", "100% - 2px" ], + "offset": [ 1, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "#third_party_server_logo_texture_path", + "binding_type": "collection", + "binding_name_override": "#texture", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_type": "collection", + "binding_name_override": "#texture_file_system", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + }, + + "third_party_server_info_panel@play.common_scroll_pane": { + "bindings": [ + { + "binding_name": "#featured_servers_visible_and_available", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "server_info_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%- 2px", "100%c + 1px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_name": "#is_server_info_available", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "server_screenshot": { + "type": "image", + "layer": 1, + "size": [ "100%", "56.25%x" ], + "bindings": [ + { + "binding_name": "#info_third_party_server_logo_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_type": "collection", + "binding_name_override": "#texture_file_system", + "binding_collection_name": "server_games_collection" + }, + { + "binding_name": "#info_third_party_screenshot_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "server_name@play.world_list_text": { + "text": "#info_third_party_server_name", + "localize": false, + "color": "$main_header_text_color", + "font_type": "smooth", + "text_alignment": "left", + "size": [ "100%", 10 ], + "bindings": [ + { + "binding_name": "#info_third_party_server_name" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "player_count@play.text_icon_number_panel": { + "$text_icon_number_text": "networkWorld.online", + "$text_icon_number_icon": "#server_player_count_icon", + "$text_icon_number_number": "#info_third_party_server_player_count", + "$icon_size": [ 5, 5 ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "ping@play.text_icon_number_panel": { + "$text_icon_number_text": "networkWorld.current_ping", + "$text_icon_number_icon": "#info_ping_texture_name", + "$text_icon_number_number": "#info_server_ping", + "$icon_size": [ 8, 8 ], + "$ping_bindings": [ + { + "binding_name": "#ping_ready_thirdparty", + "binding_name_override": "#visible" + } + ], + "$progress_panel": "play.small_progress_panel" + } + }, + { + "padding_4": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "join_server_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.connect_to_third_party_server", + "$button_text": "networkWorld.join_server", + "$focus_override_left": "left_panel", + "size": [ "100%", 20 ] + } + }, + { + "view_offers_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.view_third_party_server_offers", + "$button_text": "networkWorld.view_offers", + "$focus_override_left": "left_panel", + "size": [ "100%", 20 ], + "bindings": [ + { + "binding_name": "#view_offers_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_5": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "screenshots_section@play.screenshots_section_panel": { + "bindings": [ + { + "binding_name": "#server_has_screenshots", + "binding_name_override": "#visible" + } + ] + } + }, + { + "description_section@play.description_section_panel": { + "bindings": [ + { + "binding_name": "#server_has_description", + "binding_name_override": "#visible" + } + ] + } + }, + { + "games_section@play.games_section_panel": { + "bindings": [ + { + "binding_name": "#server_has_games", + "binding_name_override": "#visible" + } + ] + } + }, + { + "news_section@play.news_section_panel": { + "bindings": [ + { + "binding_name": "#server_has_news", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "progress@progress.progress_loading_bars": { + "size": [ "100% - 8px", 15 ], + "offset": [ 0, 8 ], + "layer": 5, + "color": "$dark_button_default_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_name": "(not #is_server_info_available)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "text_icon_number_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "$ping_bindings|default": [], + "$progress_bindings|default": [], + "$progress_panel|default": "play.empty_panel", + "$number_bindings|default": [ + { + "binding_name": "$text_icon_number_number" + } + ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "default", "default" ], + "color": "$main_header_text_color", + "font_type": "smooth", + "text_alignment": "left", + "text": "$text_icon_number_text" + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "bindings": "$ping_bindings", + "controls": [ + { + "icon_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "icon": { + "type": "image", + "size": "$icon_size", + "bindings": [ + { + "binding_name": "$text_icon_number_icon", + "binding_name_override": "#texture" + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "number": { + "type": "label", + "size": [ "default", "default" ], + "color": "$main_header_text_color", + "font_type": "smooth", + "text_alignment": "left", + "text": "$text_icon_number_number", + "bindings": "$number_bindings" + } + } + ] + } + }, + { + "$progress_panel@$progress_panel": {} + } + ] + }, + + "grey_bar_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "fill", "100%" ], + "controls": [ + { + "grey_bar": { + "type": "image", + "size": [ "100% - 1px", "100%" ], + "texture": "textures/ui/white_background", + "keep_ratio": false, + "tiled": true, + "color": "$servers_screenshot", + "bindings": [ + { + "binding_name": "(not #this_screenshot_selected)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "server_screenshot_collection" + } + ] + } + }, + { + "green_bar": { + "type": "image", + "size": [ "100% - 1px", "100%" ], + "texture": "textures/ui/white_background", + "keep_ratio": false, + "tiled": true, + "color": "$servers_current_screenshot", + "bindings": [ + { + "binding_name": "#this_screenshot_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "server_screenshot_collection" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 1, "100%" ] + } + } + ] + }, + + "screenshots_section_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "divider_0@common.horizontal_divider": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "screenshots_label": { + "type": "label", + "size": [ "100%", 11 ], + "color": "$body_text_color", + "text": "networkWorld.screenshots" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "screenshots": { + "type": "image", + "size": [ "100%", "56.25%x" ], + "bindings": [ + { + "binding_name": "#screenshot_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_type": "collection", + "binding_name_override": "#texture_file_system", + "binding_collection_name": "server_games_collection" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "navigation_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 15 ], + "controls": [ + { + "left_arrow_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.navigate_screenshots_left", + "$button_content": "play.left_arrow_icon", + "$focus_override_right": "right_arrow_button", + "$focus_override_left": "left_panel", + "size": [ 15, "100%" ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "navigation_bar": { + "type": "panel", + "size": [ "fill", 5 ], + "controls": [ + { + "grey_bar": { + "type": "image", + "size": [ "100%", "100%" ], + "offset": [ 0, 5 ], + "texture": "textures/ui/Black", + "layer": 1, + "controls": [ + { + "grey_bar_factory_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 1px", 3 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "layer": 2, + "factory": { + "name": "grey_bar_factory", + "control_name": "play.grey_bar_panel" + }, + "collection_name": "server_screenshot_collection", + "bindings": [ + { + "binding_name": "#screenshot_collection_length", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "right_arrow_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.navigate_screenshots_right", + "$button_content": "play.right_arrow_icon", + "$focus_id": "right_arrow_button", + "size": [ 15, "100%" ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "description_text_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$description_max_size|default": [ "100% - 2px", 40 ], + "controls": [ + { + "contents_description": { + "type": "label", + "size": [ "100% - 2px", "default" ], + "max_size": "$description_max_size", + "offset": [ 2, 0 ], + "layer": 1, + "color": "$body_text_color", + "font_type": "smooth", + "enable_profanity_filter": false, + "text": "#description_label", + "notify_on_ellipses": [ + "description_read_more_button_panel" + ], + "bindings": [ + { + "binding_name": "#description_label" + } + ] + } + } + ] + }, + + "description_section_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "divider_0@common.horizontal_divider": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "description_label": { + "type": "label", + "size": [ "100%", 11 ], + "color": "$body_text_color", + "text": "networkWorld.description" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "read_more_panel": { + "type": "image", + "texture": "textures/ui/screen_background", + "alpha": 0.6, + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "description_text_small@play.description_text_panel": { + "type": "panel", + "size": [ "100% - 5px", "100%c" ], + "offset": [ 0, 2 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_name": "#description_is_read_more", + "binding_name_override": "#visible" + } + ] + } + }, + { + "description_text_full@play.description_text_panel": { + "type": "panel", + "size": [ "100% - 5px", "100%c" ], + "offset": [ 0, 2 ], + "$description_max_size": [ "100% - 2px", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_name": "#description_is_read_less", + "binding_name_override": "#visible" + } + ] + } + }, + { + "description_read_more_button_panel@common_buttons.read_button": { + "$offset": [ -6, -2.5 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "button.description_read_toggle", + "$focus_override_left": "left_panel", + "bindings": [ + { + "binding_name": "#description_is_read_more", + "binding_name_override": "#visible" + } + ], + "$bindings": [ + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "description_read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -2.5 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "button.description_read_toggle", + "$focus_override_left": "left_panel", + "$bindings": [ + { + "binding_name": "#description_is_read_less", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "games_factory_object": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "games_factory_panel": { + "type": "image", + "size": [ "100%", "100%c" ], + "texture": "textures/ui/screen_background", + "alpha": 0.6, + "layer": 1, + "controls": [ + { + "top_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "min_size": [ "100% - 8px", 30 ], + "size": [ "100% - 8px", "100%cm" ], + "offset": [ 0, 2 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 2, + "controls": [ + { + "game_image_panel": { + "type": "panel", + "min_size": [ "50%", 30 ], + "size": [ "50%", "100%sm" ], + "controls": [ + { + "game_image": { + "type": "image", + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#available_game_image", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "server_games_collection" + }, + { + "binding_name": "#available_game_image_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "server_games_collection" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "#third_party_server_logo_resource_location", + "binding_type": "collection", + "binding_name_override": "#texture_file_system", + "binding_collection_name": "server_games_collection" + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "game_title_panel": { + "type": "stack_panel", + "orientation": "vertical", + "min_size": [ "fill", 30 ], + "size": [ "fill", "100%c" ], + "controls": [ + { + "game_title": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "font_type": "smooth", + "text": "#available_game_title", + "bindings": [ + { + "binding_name": "#available_game_title", + "binding_type": "collection", + "binding_collection_name": "server_games_collection" + } + ] + } + }, + { + "game_subtitle": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "text": "#available_game_subtitle", + "bindings": [ + { + "binding_name": "#available_game_subtitle", + "binding_type": "collection", + "binding_collection_name": "server_games_collection" + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%c + 4px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 2, + "controls": [ + { + "bottom_panel": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "text": "#available_game_description", + "bindings": [ + { + "binding_name": "#available_game_description", + "binding_type": "collection", + "binding_collection_name": "server_games_collection" + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "games_section_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "divider_0@common.horizontal_divider": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "description_label": { + "type": "label", + "size": [ "100%", 11 ], + "color": "$body_text_color", + "text": "networkWorld.available_games" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "games_factory_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + "factory": { + "name": "available_games_factory", + "control_name": "play.games_factory_object" + }, + "collection_name": "server_games_collection", + "bindings": [ + { + "binding_name": "#games_collection_length", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "news_text_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$news_max_size|default": [ "100% - 2px", 40 ], + "controls": [ + { + "contents_news": { + "type": "label", + "size": [ "100% - 2px", "default" ], + "max_size": "$news_max_size", + "offset": [ 2, 0 ], + "layer": 1, + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "enable_profanity_filter": false, + "text": "#news_text", + "notify_on_ellipses": [ + "news_read_more_button_panel" + ], + "bindings": [ + { + "binding_name": "#news_text" + } + ] + } + } + ] + }, + + "news_section_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "divider_0@common.horizontal_divider": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "news_label": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%", 11 ], + "text": "networkWorld.news" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "read_more_panel": { + "type": "image", + "texture": "textures/ui/screen_background", + "alpha": 0.6, + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "text_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 7px", "100%c" ], + "offset": [ 0, 2 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "news_title_text": { + "type": "label", + "size": [ "100%", 11 ], + "color": "$body_text_color", + "font_type": "smooth", + "text": "#news_label", + "layer": 5, + "bindings": [ + { + "binding_name": "#news_label" + } + ] + } + }, + { + "divider_panel": { + "type": "panel", + "size": [ "100%", 4 ], + "layer": 5, + "controls": [ + { + "divider_0@common.horizontal_divider": {} + } + ] + } + }, + { + "news_text_small@play.news_text_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#news_is_read_more", + "binding_name_override": "#visible" + } + ] + } + }, + { + "news_text_full@play.news_text_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$news_max_size": [ "100% - 2px", "default" ], + "bindings": [ + { + "binding_name": "#news_is_read_less", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "news_read_more_button_panel@common_buttons.read_button": { + "$offset": [ -6, -2.5 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "button.news_read_toggle", + "$focus_override_left": "left_panel", + "bindings": [ + { + "binding_name": "#news_is_read_more", + "binding_name_override": "#visible" + } + ], + "$bindings": [ + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "news_read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -2.5 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "button.news_read_toggle", + "$focus_override_left": "left_panel", + "$bindings": [ + { + "binding_name": "#news_is_read_less", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + + //--------------------------------------------------------------------------- + // LOCAL WORLD GRID + //--------------------------------------------------------------------------- + "divider": { + "type": "image", + "texture": "textures/ui/White" + }, + + "blue_diskspace_bar": { + "type": "image", + "texture": "textures/ui/White", + "clip_direction": "left", + "clip_pixelperfect": false, + "color": "$world_diskspace_editions_fill" + }, + + "green_diskspace_bar": { + "type": "image", + "texture": "textures/ui/White", + "clip_direction": "left", + "clip_pixelperfect": false, + "color": "$world_diskspace_bedrock_fill" + }, + + "empty_diskspace_bar": { + "type": "image", + "texture": "textures/ui/White", + "color": "$world_diskspace_empty" + }, + + "legacy_world_content_status_area_panel": { + "type": "panel", + "controls": [ + { + "world_storage_content_panel": { + "type": "panel", + "controls": [ + { + "world_storage_separator@play.divider": { + "size": [ "100% - 2px", "2px" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "color": "$light_glyph_default_color" + } + }, + { + "world_storage_information": { + "type": "stack_panel", + "size": [ "100% - 10px", "100%c" ], + "controls": [ + { + "legacy_world_label": { + "type": "label", + "layer": 1, + "color": "$dark_button_default_text_color", + "text": "playscreen.worldsStorage" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "legacy_world_bar": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 2px", 10 ], + "offset": [ 1, 1 ], + "controls": [ + { + "local_diskspace_bar@play.green_diskspace_bar": { + "layer": 3, + "bindings": [ + { + "binding_name": "#local_worlds_storage_size", + "binding_name_override": "#clip_ratio" + } + ] + } + }, + { + "legacy_diskspace_bar@play.blue_diskspace_bar": { + "layer": 2, + "bindings": [ + { + "binding_name": "#legacy_worlds_storage_size", + "binding_name_override": "#clip_ratio" + } + ] + } + }, + { + "empty_diskspace_bar@play.empty_diskspace_bar": { + "layer": 1, + "size": [ "100%", "100%" ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "world_list_text": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false + }, + + "realm_screenshot@play.world_screenshot_base": { + "controls": [ + { + "picture": { + "type": "image", + "layer": 1, + "texture": "textures/ui/RealmDemoScreen", + "size": [ "173.91%y", "100% - 2px" ], + "offset": [ 1, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "local_world_name@play.world_list_text": { + "text": "#local_world_name", + "localize": false, + "color": "$text_color", + "bindings": [ + { + "binding_name": "#local_world_name", + "binding_type": "collection", + "binding_collection_name": "local_worlds" + } + ] + }, + + "legacy_world_name@play.world_list_text": { + "text": "#legacy_world_name", + "localize": false, + "color": "$text_color", + "bindings": [ + { + "binding_name": "#legacy_world_name", + "binding_type": "collection", + "binding_collection_name": "legacy_worlds" + } + ] + }, + + + // local world copy protection indicator + "world_lock": { + "type": "image", + "layer": 6, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ 8, 8 ], + "texture": "textures/ui/lock" + }, + + "local_world_game_mode@play.world_list_text": { + "text": "#local_world_game_mode", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#local_world_game_mode", + "binding_type": "collection", + "binding_collection_name": "local_worlds" + } + ] + }, + + "legacy_world_game_mode@play.world_list_text": { + "text": "#legacy_world_game_mode", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#legacy_world_game_mode", + "binding_type": "collection", + "binding_collection_name": "legacy_worlds" + } + ] + }, + + "local_world_date@play.world_list_text": { + "text": "#local_world_date", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#local_world_date", + "binding_type": "collection", + "binding_collection_name": "local_worlds" + } + ] + }, + + "legacy_world_date@play.world_list_text": { + "text": "#legacy_world_date", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#legacy_world_date", + "binding_type": "collection", + "binding_collection_name": "legacy_worlds" + }, + { + "binding_name": "#legacy_world_date_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "legacy_worlds" + } + ] + }, + + "local_world_filesize@play.world_list_text": { + "text": "#local_worldfile_size", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#local_worldfile_size", + "binding_type": "collection", + "binding_collection_name": "local_worlds" + } + ] + }, + + "legacy_world_filesize@play.world_list_text": { + "text": "#legacy_worldfile_size", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#legacy_worldfile_size", + "binding_type": "collection", + "binding_collection_name": "legacy_worlds" + } + ] + }, + + "local_world_connected_storage": { + "type": "panel", + "controls": [ + { + "local_and_cloud@play.local_and_cloud_storage": { + "bindings": [ + { + "binding_name": "#local_and_cloud_storage_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "local_worlds" + } + ] + } + }, + { + "local_only@play.local_only_storage": { + "bindings": [ + { + "binding_name": "#local_only_storage_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "local_worlds" + } + ] + } + }, + { + "cloud_only@play.cloud_only_storage": { + "bindings": [ + { + "binding_name": "#cloud_only_storage_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "local_worlds" + } + ] + } + } + ] + }, + + "local_world_lock_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "lock@play.world_lock": { + "offset": [ 0, 1 ] + } + } + ], + "bindings": [ + { + "binding_name": "#world_lock_visible", + "binding_type": "collection", + "binding_name_override": "#visible", + "binding_collection_name": "local_worlds" + } + ] + }, + + "realms_plus_banner": { + "type": "panel", + "size": [ "100%c", "100% + 4px" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "realms_banner@realmsPlus.markdown_background": { + "size": [ "100%c", "100%" ], + "$triangle_offset": [ 0, 0 ], + "$banner_size": [ "100%c - 4px", "100% - 2px" ], + "layer": 9 + } + } + ], + "$banner_content": [ + { + "realms_icon@common_store.realms_banner_icon": {} + }, + { + "pad_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ 5, "100%" ] + } + } + ] + }, + + "local_world_text_panel": { + "type": "panel", + "controls": [ + { + "text_indent": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 1, 0 ], + "controls": [ + { + "top_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "local_world_name@play.local_world_name": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "lock_1@play.local_world_lock_panel": {} + }, + { + "local_world_date@play.local_world_date": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + }, + { + "bottom_side": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "offset": [ -2, 1 ], + "controls": [ + { + "realms_plus_icon@play.realms_plus_banner": { + "size": [ "100%c", 12 ], + "layer": 1, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "local_worlds", + "binding_name": "#realms_chevron_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "local_world_game_mode@play.local_world_game_mode": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "local_world_connected_storage@play.local_world_connected_storage": { + "size": [ 16, 8 ], + "visible": false, + "layer": 1 + } + }, + { + "local_world_filesize@play.local_world_filesize": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + } + ] + } + } + ] + }, + + "legacy_world_text_panel": { + "type": "panel", + "controls": [ + { + "text_indent": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 1, 0 ], + "controls": [ + { + "top_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "legacy_world_name@play.legacy_world_name": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "legacy_world_date@play.legacy_world_date": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + }, + { + "bottom_side": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "controls": [ + { + "legacy_world_game_mode@play.legacy_world_game_mode": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "legacy_world_filesize@play.legacy_world_filesize": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + } + ] + } + } + ] + }, + + "beta_retail_world_text_panel": { + "type": "panel", + "controls": [ + { + "text_indent": { + "type": "panel", + "size": [ "100% - 6px", "100% - 4px" ], + "controls": [ + { + "top_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "beta_retail_world_name@play.world_list_text": { + "text": "$beta_retail_world_name_binding_name", + "size": [ "fill", 10 ], + "color": "$text_color", + "layer": 1, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$beta_retail_collection_name", + "binding_name": "$beta_retail_world_name_binding_name" + } + ] + } + }, + { + "beta_retail_world_date@play.world_list_text": { + "text": "$beta_retail_world_date_binding_name", + "size": [ "default", 10 ], + "color": "$secondary_text_color", + "layer": 1, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$beta_retail_collection_name", + "binding_name": "$beta_retail_world_date_binding_name" + } + ] + } + } + ] + } + }, + { + "bottom_side": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "controls": [ + { + "beta_retail_world_game_mode@play.world_list_text": { + "text": "$beta_retail_world_game_mode_binding_name", + "size": [ "fill", 10 ], + "color": "$secondary_text_color", + "layer": 1, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$beta_retail_collection_name", + "binding_name": "$beta_retail_world_game_mode_binding_name" + } + ] + } + }, + { + "beta_retail_world_filesize@play.world_list_text": { + "text": "$beta_retail_world_filesize_binding_name", + "size": [ "default", 10 ], + "color": "$secondary_text_color", + "layer": 1, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$beta_retail_collection_name", + "binding_name": "$beta_retail_world_filesize_binding_name" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "world_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "variables": [ + { + "requires": "$default_state", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$hover_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$pressed_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$locked_state", + "$border_texture": "textures/ui/default_indent" + } + ], + "controls": [ + { + "world_screenshot@play.collection_world_screenshot": { + "$collection_binding_name": "$worlds_collection_name", + "$image_binding_name": "$world_image_binding_name", + "$supports_realmsplus_overlay": "$world_supports_realmsplus_overlay", + "$texture_source_binding_name": "$world_texture_source_binding_name" + } + }, + { + "world_text_panel@$world_text_panel_control": { + "size": [ "fill", "100%" ] + } + } + ] + }, + + "ownership_verification_in_progress_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { "top_padding@common.empty_panel": { "size": [ "100%", 4 ] } }, + { + "loading_bar_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "loading_bar_animation@progress.progress_loading_bars": { + "size": [ "75%", "75%" ], + "offset": [ 0, 1 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "bindings": [] + } + } + ] + } + }, + { "mid_padding@common.empty_panel": { "size": [ "100%", 2 ] } }, + { + "loading_label": { + "type": "label", + "size": [ "100%", "fill" ], + "text": "#ownership_verification_state_text", + "text_alignment": "center", + "color": "$f_color_format", + "bindings": [ + { + "binding_name": "#ownership_verification_state_text" + } + ] + } + }, + { "bottom_padding@common.empty_panel": { "size": [ "100%", 2 ] } } + ] + }, + + "ownership_verification_in_progress_panel": { + "type": "image", + "layer": 50, + "texture": "textures/ui/DarkBannerNoBorder", + "color": "$0_color_format", + "alpha": 0.7, + "controls": [ + { "ownership_verification_in_progress_content@play.ownership_verification_in_progress_content": {} } + ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "local_worlds", + "binding_name": "#is_ownership_verification_in_progress", + "binding_name_override": "#visible" + } + ] + }, + + "local_world_item_button@common_buttons.dark_content_button": { + "variables": [ + { + "requires": "($local_world_upload)", + "$pressed_button_name": "button.local_world_upload" + }, + { + "requires": "(not $local_world_upload)", + "$pressed_button_name": "button.menu_start_local_world" + } + ], + "$pressed_button_name": "button.menu_start_local_world", + "$worlds_collection_name": "local_worlds", + "$world_image_binding_name": "#local_world_image", + "$world_supports_realmsplus_overlay": true, + "$world_texture_source_binding_name": "#local_world_texture_source", + "$world_text_panel_control": "play.local_world_text_panel", + "$button_content": "play.world_content_panel", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "local_worlds" + }, + { + "binding_type": "collection", + "binding_name": "#world_button_focus_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "local_worlds" + } + ] + }, + + "legacy_world_item_button@common_buttons.dark_content_button": { + "$pressed_button_name": "button.convert_legacy_world", + "$worlds_collection_name": "legacy_worlds", + "$world_image_binding_name": "#legacy_world_image", + "$world_supports_realmsplus_overlay": false, + "$world_texture_source_binding_name": "#legacy_world_texture_source", + "$world_text_panel_control": "play.legacy_world_text_panel", + "$button_content": "play.world_content_panel", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "legacy_worlds" + } + ] + }, + + "beta_retail_world_item_button@common_buttons.dark_content_button": { + "$worlds_collection_name": "$beta_retail_collection_name", + "$world_image_binding_name": "$beta_retail_world_image", + "$world_supports_realmsplus_overlay": false, + "$world_texture_source_binding_name": "$beta_retail_world_texture_source", + "$world_text_panel_control": "play.beta_retail_world_text_panel", + "$button_content": "play.world_content_panel", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$beta_retail_collection_name" + } + ] + }, + + "local_world_edit_button@common_buttons.dark_glyph_button": { + "size": [ "100%y - 1px", "100%" ], + "$pressed_button_name": "button.menu_local_world_item_edit", + "$button_content": "play.edit_icon", + "$button_tts_header": "accessibility.play.editWorld", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "local_worlds" + }, + { + "binding_type": "collection", + "binding_collection_name": "local_worlds", + "binding_name": "(not #is_ownership_verification_in_progress)", + "binding_name_override": "#enabled" + } + ] + }, + + "cloud_upload_button@common_buttons.dark_glyph_button": { + "size": [ "100%y - 1px", "100%" ], + "$pressed_button_name": "button.cloud_upload", + "$button_content": "play.upload_icon", + "$button_tts_header": "accessibility.play.uploadWorld", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "local_worlds" + } + ] + }, + + "cloud_upload_and_edit_world_stack_panel": { + "size": [ "100%c - 2px", "100%" ], + "type": "stack_panel", + "orientation": "horizontal", + "controls": [ + { + "cloud@play.cloud_upload_button": { + "visible": false, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "local_worlds" + }, + { + "binding_name": "#cloud_upload_enabled", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "local_worlds", + "binding_name": "(not #is_ownership_verification_in_progress)", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "edit@play.local_world_edit_button": {} + } + ] + }, + + "legacy_world_delete_button@common_buttons.dark_glyph_button": { + "size": [ "100%y - 1px", "100%" ], + "$pressed_button_name": "button.menu_legacy_world_item_delete", + "$button_content": "play.delete_icon", + "$button_tts_header": "accessibility.play.legacyWorldsDelete", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "legacy_worlds" + } + ] + }, + + "legacy_world_migrate_button@common_buttons.dark_glyph_button": { + "size": [ "100%y - 1px", "100%" ], + "$pressed_button_name": "button.menu_legacy_world_item_migrate", + "$button_content": "play.world_download_icon", + "$button_tts_header": "accessibility.play.importWorld", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "legacy_worlds" + } + ] + }, + + "local_world_item": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 29 ], + "$local_world_edit_button_visible|default": true, + "controls": [ + { + "header_button_panel@play.header_button_panel": { + "layer": 1, + "size": [ "100%", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$primary_header_button": "play.local_world_item_button", + "$secondary_header_button": "play.cloud_upload_and_edit_world_stack_panel", + "$secondary_visible": "$local_world_edit_button_visible" + } + }, + { "signin_in_progress_panel@play.ownership_verification_in_progress_panel": {} } + ] + }, + + "legacy_world_item": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { + "header_button_panel_with_delete@play.header_button_panel": { + "ignored": "(not $legacy_worlds_share_storage)", + "layer": 1, + "size": [ "100%", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$primary_header_button": "play.legacy_world_item_button", + "$secondary_header_button": "play.legacy_world_delete_button" + } + }, + { + "header_button_panel_with_migrate@play.header_button_panel": { + "ignored": "(not $legacy_worlds_supports_migration)", + "layer": 1, + "size": [ "100%", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$primary_header_button": "play.legacy_world_item_button", + "$secondary_header_button": "play.legacy_world_migrate_button" + } + }, + { + "header_button_panel_no_delete@play.header_single_button_panel": { + "ignored": "($legacy_worlds_share_storage or $legacy_worlds_supports_migration)", + "layer": 1, + "size": [ "100%", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$primary_header_button": "play.legacy_world_item_button" + } + } + ] + }, + + "beta_retail_world_item@play.header_single_button_panel": { + "layer": 1, + "size": [ "100%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$primary_header_button": "play.beta_retail_world_item_button" + }, + + "local_world_item_grid@play.world_item_grid_base": { + "$world_item_grid_template|default": "play.local_world_item", + "grid_item_template": "$world_item_grid_template", + "grid_dimension_binding": "#local_world_item_grid_dimension", + "collection_name": "local_worlds", + "bindings": [ + { + "binding_name": "#local_world_item_grid_dimension" + } + ] + }, + + "legacy_world_item_grid@play.world_item_grid_base": { + "grid_item_template": "play.legacy_world_item", + "grid_dimension_binding": "#legacy_world_item_grid_dimension", + "collection_name": "legacy_worlds", + "bindings": [ + { + "binding_name": "#legacy_world_item_grid_dimension" + } + ] + }, + + "beta_retail_local_world_item_grid@play.world_item_grid_base": { + "grid_item_template": "play.beta_retail_world_item", + "grid_dimension_binding": "#beta_retail_local_world_item_grid_dimension", + "collection_name": "beta_retail_local_worlds", + "$beta_retail_collection_name": "beta_retail_local_worlds", + "$beta_retail_world_name_binding_name": "#beta_retail_local_world_name", + "$beta_retail_world_date_binding_name": "#beta_retail_local_world_date", + "$beta_retail_world_game_mode_binding_name": "#beta_retail_local_world_game_mode", + "$beta_retail_world_filesize_binding_name": "#beta_retail_local_world_filesize", + "$beta_retail_world_image": "#beta_retail_local_world_image", + "$beta_retail_world_texture_source": "#beta_retail_local_world_texture_source", + "$pressed_button_name": "button.import_beta_retail_local_world", + "bindings": [ + { + "binding_name": "#beta_retail_local_world_item_grid_dimension" + } + ] + }, + + "beta_retail_legacy_world_item_grid@play.world_item_grid_base": { + "grid_item_template": "play.beta_retail_world_item", + "grid_dimension_binding": "#beta_retail_legacy_world_item_grid_dimension", + "collection_name": "beta_retail_legacy_worlds", + "$beta_retail_collection_name": "beta_retail_legacy_worlds", + "$beta_retail_world_name_binding_name": "#beta_retail_legacy_world_name", + "$beta_retail_world_date_binding_name": "#beta_retail_legacy_world_date", + "$beta_retail_world_game_mode_binding_name": "#beta_retail_legacy_world_game_mode", + "$beta_retail_world_filesize_binding_name": "#beta_retail_legacy_world_filesize", + "$beta_retail_world_image": "#beta_retail_legacy_world_image", + "$beta_retail_world_texture_source": "#beta_retail_legacy_world_texture_source", + "$pressed_button_name": "button.import_beta_retail_legacy_world", + "bindings": [ + { + "binding_name": "#beta_retail_legacy_world_item_grid_dimension" + } + ] + }, + + //--------------------------------------------------------------------------- + // Buttons + //--------------------------------------------------------------------------- + + "common_button_template@common_buttons.light_glyph_button": {}, + + "common_button_text": { + "type": "label", + "color": "$tab_secondary_unchecked_text_color", + "layer": 1, + "shadow": false, + "text": "$common_button_text_text" + }, + + "add_friend_and_invite_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "add_friend_button@play.add_friend_button": { + "ignored": "((not $supports_add_friend) or $nx_os or $is_ps4)", + "size": [ "fill", 30 ], + "bindings": [ + { + "binding_name": "#add_friend_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 1, 0 ], + "ignored": "((not $supports_add_friend) or $nx_os or $is_ps4)" + } + }, + { + "join_by_code_button@play.join_by_code_button": { + "ignored": "$is_editor_mode_enabled", + "size": [ "fill", 30 ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 1, 0 ], + "bindings": [ + { + "binding_name": "#realms_notification_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "notification_button_panel": { + "type": "panel", + "size": [ "13%", 30 ], + "visible": "#realms_notification_button_visible", + "controls": [ + { + "notification_button@play.notification_button": { + "$button_content": "play.notification_content", + "$button_tts_header": "realmsInvitationScreen.shareTitle", + "size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ], + "bindings": [ + { + "binding_name": "#realms_notification_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + } + ] + }, + + "add_friend_button@common_buttons.light_text_button": { + "layer": 2, + "$pressed_button_name": "button.menu_network_add_friend", + "$button_text": "networkWorld.add_friend", + "$button_focus_precedence": 10, + "$focus_override_up": "close_button" + }, + + "join_by_code_button@common_buttons.light_text_button": { + "layer": 2, + "$button_text": "networkWorld.joinByCode", + "$pressed_button_name": "button.menu_network_join_by_code", + "$button_focus_precedence": 10, + "$focus_override_up": "close_button", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_name": "#join_by_code_visible", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + + }, + + "add_server_toggle_button@common_toggles.light_text_toggle": { + "visible": "(not $ignore_add_servers)", + "size": [ "100%", 20 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "$button_text": "networkWorld.add_server", + + "$radio_toggle_group": true, + "$toggle_name": "server_navigation_toggle", + "$toggle_view_binding_name": "add_server_toggle_button", + "$toggle_state_binding_name": "#toggle_state", + "$toggle_on_hover_binding_name": "none", + "$toggle_tab_focus_binding_type": "global", + "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence", + "$toggle_group_forced_index": 100, + "$focus_override_up": "left_panel", + "bindings": [ + { + "binding_name": "#add_server_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "server_toggle_base@common_toggles.dark_image_toggle_collection": { + "size": [ "100%", "100% - 2px" ], + "$radio_toggle_group": true, + "$focus_override_right|default": "right_panel", + "$toggle_name": "server_navigation_toggle", + "$toggle_grid_collection_name": "$collection_name", + "$toggle_group_forced_index": "$toggle_index_binding_name", + "$toggle_state_binding_name": "#toggle_state", + "$toggle_tab_focus_binding_type": "global", + "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence", + "$toggle_on_hover_binding_type": "global", + "$toggle_on_hover_binding_name": "#toggle_on_hover", + "$focus_override_right": "right_side", + + "$button_content": "play.server_button_content_panel", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_type": "collection", + "binding_name": "#is_server_info_available_collection", + "binding_name_override": "#enabled", + "binding_collection_name": "$collection_name" + }, + { + "binding_type": "collection", + "binding_name": "$toggle_index_binding_name", + "binding_collection_name": "$collection_name" + } + ] + }, + + "quick_play_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_quick_play", + "$button_text": "menu.quickplay", + "focus_identifier": "quick_play_button", + "layer": 1 + }, + + "create_new_world_button@common_buttons.light_text_button": { + "variables": [ + { + "requires": "($local_world_upload)", + "$pressed_button_name": "button.new_world_upload" + }, + { + "requires": "(not $local_world_upload)", + "$pressed_button_name": "button.menu_local_world_create" + }, + { + "requires": "$is_editor_mode_enabled", + "$button_text": "playscreen.editor.create" + } + ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_text": "selectWorld.createNew", + "$button_focus_precedence": 1, + "$create_new_row_focus_override_up|default": "close_button", + "$focus_override_up": "$create_new_row_focus_override_up", + "layer": 1 + }, + + "create_on_realms_button_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "create_on_realms_button@settings_common.action_button_dark_text": { + "size": [ "100%", 29 ], + "$button_text": "createWorldScreen.createOnRealms", + "$pressed_button_name": "button.create_on_realms_button", + "$default_button_texture": "textures/ui/realmsContent", + "$hover_button_texture": "textures/ui/realmsContentHover", + "$pressed_button_texture": "textures/ui/realmsContentPressed", + "bindings": [ + { + "binding_name": "#create_on_realms_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "import_world_button@play.common_button_template": { + "variables": [ + { + "requires": "($local_world_upload)", + "$pressed_button_name": "button.archived_world_upload" + }, + { + "requires": "(not $local_world_upload)", + "$pressed_button_name": "button.menu_import_level" + } + ], + "$button_tts_header": "accessibility.play.importWorld", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100%y", "100%" ], + "$button_content": "play.import_icon", + "$button_size_override": [ "100% + 1px", "100%" ], + "$button_background_anchor": "top_right", + "layer": 2, + "$create_new_row_focus_override_up|default": "close_button", + "$focus_override_up": "$create_new_row_focus_override_up", + "bindings": [ + { + "binding_name": "#worlds_tab_import_button_focus_down_override", + "binding_name_override": "#focus_change_down" + } + ] + }, + + "sync_legacy_worlds_button@common_buttons.light_text_button": { + "layer": 2, + "$pressed_button_name": "button.menu_sync_legacy_worlds", + "$button_text": "#sync_legacy_button_text", + "$button_text_binding_type": "global", + + "bindings": [ + { + "binding_name": "#sync_legacy_worlds_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "notification_button_text_layout": { + "type": "panel", + "offset": "$button_offset", + "controls": [ + { + "image1@play.invite_icon": { + "layer": 1, + "bindings": [ + { + "binding_name": "(not #inbox_enabled)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "image2@play.bell_icon": { + "layer": 1, + "bindings": [ + { + "binding_name": "#inbox_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "count@start.notification_button_text_panel": { + "offset": [ -0.5, 0 ] + } + } + ] + }, + + "notification_button_label_panel": { + "type": "panel", + "size": [ "70%", "100%" ], + "offset": "$button_offset", + + "controls": [ + { + "notification_button_label": { + "type": "label", + "offset": [ 0, 0 ], + "color": "$text_color", + "size": [ "100%", 10 ], + "text": "$label_text" + } + } + ] + }, + + "notification_content@play.notification_button_text_layout": {}, + + "notification_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.menu_invite_notification", + "$button_content": "play.notification_content", + "anchor_from": "top_right", + "anchor_to": "top_right", + "$button_offset|default": [ 0, 0 ], + "$focus_override_down": "friends_realms_world_button_0", + "bindings": [ + { + "binding_name": "#friends_tab_invitation_button_focus_down_override", + "binding_name_override": "#focus_change_down" + } + ] + }, + + "header_button_panel": { + "type": "panel", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 1px", "100%" ], + "$secondary_visible|default": true, + "controls": [ + { + "primary_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "primary@$primary_header_button": { + "size": [ "100% - 1px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + } + } + ] + } + }, + { + "secondary@$secondary_header_button": { + "visible": "$secondary_visible", + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1 + } + } + ] + } + } + ] + }, + + "header_button_panel_opt_in": { + "type": "panel", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 1px", "100%" ], + "$secondary_visible|default": true, + "$ternary_visible|default": true, + "controls": [ + { + "primary_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "primary@$primary_header_button": { + "size": [ "100% - 1px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + } + } + ] + } + }, + { + "secondary@$secondary_header_button": { + "visible": "$secondary_visible", + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1 + } + }, + { + "ternary@$ternary_header_button": { + "visible": "$ternary_visible", + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1 + } + } + ] + } + } + ] + }, + + "header_single_button_panel": { + "type": "panel", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "primary@$primary_header_button": { + "size": [ "100% + 1px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + } + } + ] + } + } + ] + }, + + "open_account_setting_button_gamecore@common_buttons.light_text_button": { + "$pressed_button_name": "button.open_account_setting_gamecore", + "$button_text": "permissions.open.account.help.button.gamecore", + "size": [ "100%", 30 ], + "visible": true, + "bindings": [ + { + "binding_name": "#open_account_setting_button_gamecore_visible", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Scroll panes + //--------------------------------------------------------------------------- + + "common_scroll_pane": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-4px", "100%c" ], + "offset": [ 2, 0 ] + }, + + "worlds_scroll_panel@play.common_scroll_pane": { + "controls": [ + { + "worlds_list_stack_panel@play.worlds_stack_panel": {} + } + ] + }, + "game_tip_item_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 8px", "100%cm + 6px" ], + "$game_tip_text|default": "", + "$label_text": "$game_tip_text", + "controls": [ + { + "info_bulb": { + "type": "image", + "layer": 13, + "size": [ 15, 19 ], + "texture": "textures/ui/infobulb" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "label_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "controls": [ + { + "padding_vertical": { + "type": "panel", + "size": [ 0, 1 ] + } + }, + { + "realms_warning_text": { + "type": "label", + "size": [ "100%", "default" ], + "$label_text|default": "#label_text", + "$label_text_binding_type|default": "global", + "text": "$label_text", + "color": "$body_text_color", + "layer": 3, + "bindings": [ + { + "binding_name": "$label_text", + "binding_name_override": "$label_text", + "binding_type": "$label_text_binding_type" + } + ] + + } + }, + { + "padding_vertical_1": { + "type": "panel", + "size": [ 0, 1 ] + } + } + ] + } + }, + { + "more_info_button@common_buttons.light_text_form_fitting_button": { + "$pressed_button_name": "button.realms_warning_more_info", + "$button_text": "playscreen.realmsWarning.moreinfo" + } + } + ] + }, + + "realm_warning_tip": { + "type": "image", + "texture": "textures/ui/greyBorder", + "layer": 1, + "size": [ "100%", "100%cm" ], + "$realms_warning_text|default": "#realms_warning_text", + "controls": [ + { + "padding_vertical": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "info_panel@play.game_tip_item_panel": { + "$game_tip_text": "$realms_warning_text", + "offset": [ 0, 4 ] + } + } + ], + "bindings": [ + { + "binding_name": "#device_sunsetting", + "binding_name_override": "#visible" + } + ] + }, + + "new_ui_switch_button_options_panel": { + "type": "stack_panel", + "ignored": "$education_edition", + "orientation": "vertical", + "size": [ "50% - 10px", "100%c + 4px" ], + "bindings": [ + { + "binding_name": "#show_new_play_screen_opt_in", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "unlock_template_options_button@settings_common.action_button": { + "size": [ "100% - 1px", 30 ], + "$button_text": "options.newUiPlayScreen.initiate", + "$pressed_button_name": "button.switch_to_new_ui" + } + } + ] + }, + + "new_ui_servers_switch_button_options_panel": { + "type": "stack_panel", + "ignored": "$education_edition", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#show_new_play_screen_servers_opt_in", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "unlock_template_options_button@settings_common.action_button": { + "size": [ "100% - 1px", 30 ], + "$button_text": "options.newUiPlayScreen.initiate", + "$pressed_button_name": "button.switch_to_new_ui_servers" + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "worlds_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "play_screen_warning@play.realm_warning_tip": {} + }, + { + "header_button": { + // we don't support importing or creating a new world for realm upload yet + "ignored": "$local_world_upload", + "type": "stack_panel", + "orientation": "vertical", + "layer": 1, + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "quick_play@play.quick_play_button": { + "ignored": "(not $education_edition)", + "layer": 1, + // 0.5 to line up with the button panel below + "size": [ "100% + 0.5px", 30 ], + "$focus_override_up": "close_button" + } + }, + { + "buttons@play.header_button_panel_opt_in": { + "layer": 1, + "size": [ "100%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$primary_header_button": "create_new_world_button", + "$secondary_header_button": "new_ui_switch_button_options_panel", + "$ternary_header_button": "import_world_button", + "$ternary_visible": "$world_archive_support" + } + } + ] + } + }, + { + "worlds_crossplatform_disabled_panel@play.crossplatform_disabled_panel": { + "ignored": "(not $is_realms_enabled)", + "$cross_platform_information_text": "crossPlatformToggle.crossPlatformDisabled.realms" + } + }, + { + "worlds_crossplatform_disable_spacer@play.crossplatform_disable_spacer": { + "ignored": "(not $is_realms_enabled)" + } + }, + { + "realms_panel": { + "ignored": "(not $is_realms_enabled)", + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#personal_realms_grid_visible", + "binding_name_override": "#visible" + } + ], + "variables": [ + { + "requires": "(not $pre_release)", + "$tts_section_header": "playscreen.realms" + }, + { + "requires": "($pre_release and not $beta_build)", + "$tts_section_header": "playscreen.previewRealms" + }, + { + "requires": "($pre_release and $beta_build)", + "$tts_section_header": "playscreen.betaRealms" + } + ], + "controls": [ + { + "realms_label@play.world_list_label_panel": { + "ignored": "$world_picker_screen", + "$label_text": "$tts_section_header", + "bindings": [ + { + "binding_name": "#realm_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sign_in_to_view_realms_button@play.sign_in_to_view_realms_button": {} + }, + { + "realms_previews_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "bindings": [ + { + "binding_name": "#free_preview_realm_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "new_offers_icon@common_store.new_offer_icon": { + "layer": 8, + "offset": [ 0, -2 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#free_preview_realm_new_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "realms_world_item_button@common_buttons.dark_content_button": { + "size": [ "100%", 30 ], + "$pressed_button_name": "button.free_preview_realm_available", + "$button_content": "play.realms_trial_content_panel", + "$button_content_text": "#free_preview_realm_available", + "$world_details_text": "playscreen.withYourPaidRealms", + "$text_binding_condition": "once", + "$world_header_text_binding_type": "global", + "$world_details_text_binding_type": "none", + "$focus_id": "free_preview_realm_available_button" + } + } + ] + } + }, + { + "create_on_realms_button_panel@play.create_on_realms_button_panel": {} + }, + { + "personal_realms@play.realms_world_item_grid": { + "ignored": "$world_picker_screen", + "$grid_name": "#personal_realms_grid_dimension", + "$realms_worlds_collection_name": "personal_realms", + "$grid_item_layout": "play.realms_world_item" + } + }, + { + "placeholder_personal_realms_panel@play.label_background": { + "size": [ "100%", "100%c - 12px" ], + "min_size": [ "100%", 39 ], // Grid item size is 29 + 10 for label, grid items overdraw by 1px + "ignored": "$world_picker_screen", + "controls": [ + { + "placeholder_loading_personal_realms": { + "type": "grid", + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "collection_name": "loading_personal_realms", + "grid_item_template": "play.empty_grid", + "grid_dimension_binding": "#loading_personal_realms_grid_dimension", + "bindings": [ + { + "binding_name": "#loading_personal_realms_grid_dimension" + } + ] + } + }, + { + "loading_friends_realms_label@play.loading_label": { + "$message_binding_name": "#realms_loading_display_message" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "progress_loading_bars@play.progress_loading_bars": {} + } + ], + "bindings": [ + { + "binding_name": "#loading_personal_realms_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + // This is to emulate the sizing behavior of the Realms grid which overdraws by 1 pixel to create a single stroke border + { + "realms_trial_panel": { + "type": "panel", + "size": [ "100%", 29 ], + "controls": [ + { + "realms_world_item_button@common_buttons.dark_content_button": { + "size": [ "100%", 30 ], + "ignored": "$world_picker_screen", + "$pressed_button_name": "button.menu_realm_world_trial", + "$button_content": "play.realms_trial_content_panel", + "$button_content_text": "#realms_trial_text", + "$world_details_text": "playscreen.realmsTrialWorld", + "$text_binding_condition": "once", + "$world_header_text_binding_type": "global", + "$world_details_text_binding_type": "none", + "$focus_id": "realms_trial_button", + "bindings": [ + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#realm_trial_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "realms_nintendo_first_realm_purchase_panel": { + "type": "panel", + "size": [ "100%", 29 ], + "controls": [ + { + "realms_world_item_button@common_buttons.dark_content_button": { + "size": [ "100%", 30 ], + "ignored": "$world_picker_screen", + "$pressed_button_name": "button.menu_realm_nintendo_first_realm_purchase_button", + "$button_content": "play.realms_trial_content_panel", + "$button_content_text": "playscreen.realmsCreateFirstWorld", + "$focus_id": "realms_trial_button" + } + } + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#realm_nintendo_first_realm_purchase_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + }, + { + "realms_multiplayer_blocked_panel": { + "ignored": "(not $is_realms_enabled)", + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "visible": false, + "bindings": [ + { + "binding_name": "#multiplayer_blocked_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "text_panel@play.label_content_template": { + "$label_content_label": "playscreen.header.realms", + "$label_content_content": "play.information_panel", + "$information_panel_label_text": "#multiplayer_sessions", + "$information_panel_label_text_binding_type": "global", + "$information_panel_label_text_binding_condition": "always_when_visible" + } + }, + { + "open_uri_button@play.open_account_setting_button": {} + }, + { + "open_account_setting_button_gamecore@play.open_account_setting_button_gamecore": {} + } + ] + } + }, + { + "worlds_label@play.world_list_label_with_color_panel": { + "$label_text": "playscreen.worlds", + "$square_color": "$world_diskspace_bedrock_fill", + "variables": [ + { + "requires": "($pre_release and not $is_editor_mode_enabled)", + "$label_text": "playscreen.beta_worlds" + }, + { + "requires": "$is_editor_mode_enabled", + "$label_text": "playscreen.editor.worlds" + } + ], + "bindings": [ + { + "binding_name": "#local_worlds_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "grid@play.local_world_item_grid": { + "$tts_section_header": "playscreen.worlds", + "variables": [ + { + "requires": "$pre_release", + "$tts_section_header": "playscreen.beta_worlds" + } + ] + } + }, + { + "no_local_worlds_label@play.label_content_template": { + "ignored": "(not $local_world_upload)", + "$label_content_label": "", + "$label_content_content": "play.information_panel", + "$information_panel_label_text": "localWorld.no_local_world_label", + "bindings": [ + { + "binding_name": "#no_local_worlds", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_local_worlds_switch_setting@play.no_local_worlds_switch_setting": {} + }, + { + "beta_retail_local_padding": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#beta_retail_local_worlds_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "beta_retail_local_worlds_label@play.world_list_label_panel": { + "$label_text": "playscreen.worlds", + "bindings": [ + { + "binding_name": "#beta_retail_local_worlds_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "beta_retail_local_grid@play.beta_retail_local_world_item_grid": { + "$tts_section_header": "playscreen.worlds" + } + }, + { + "loading_legacy_worlds_panel_padding": { + "ignored": "(not $supports_legacy_worlds)", + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#sync_legacy_worlds_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "legacy_worlds_button": { + "type": "stack_panel", + "ignored": "$auto_fetch_legacy_worlds", + "controls": [ + { + "legacy_worlds_label@play.world_list_label_panel": { + "$label_text": "playscreen.dontSeeLegacyWorlds", + "ignored": "(not $supports_legacy_worlds)", + "bindings": [ + { + "binding_name": "#sync_legacy_worlds_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "sync_legacy_worlds_button_panel": { + "ignored": "(not $supports_legacy_worlds)", + "type": "panel", + "layer": 1, + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "button@play.sync_legacy_worlds_button": { + "layer": 1, + "size": [ "100%", 30 ] + } + } + ] + } + } + ] + } + }, + { + "loading_legacy_worlds_panel@play.label_background": { + "size": [ "100%", "100%c - 12px" ], + "min_size": [ "100%", 39 ], // Grid item size is 29 + 10 for label, grid items overdraw by 1px + "controls": [ + { + "loading_legacy_worlds_label@play.loading_label": { + "$message_binding_name": "#legacy_worlds_loading_display_message" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "progress_loading_bars@play.progress_loading_bars": { + "$visible_binding_name": "#loading_legacy_worlds_grid_visible" + } + } + ], + "bindings": [ + { + "binding_name": "#loading_legacy_worlds_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#legacy_worlds_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "upgrade_legacy_worlds_label@play.world_list_label_with_color_panel": { + "$label_text": "playscreen.upgradeLegacyWorlds", + "$square_color": "$world_diskspace_editions_fill", + "variables": [ + { + "requires": "$pre_release", + "$label_text": "playscreen.beta_legacy_worlds" + }, + { + "requires": "($is_preview_app and (not $legacy_worlds_supports_migration))", + "$label_text": "playscreen.upgradeRetailWorlds" + } + ], + "bindings": [ + { + "binding_name": "#legacy_worlds_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "legacy_world_item_grid@play.legacy_world_item_grid": { + "$tts_section_header": "playscreen.upgradeLegacyWorlds", + "variables": [ + { + "requires": "$pre_release", + "$tts_section_header": "playscreen.beta_legacy_worlds" + }, + { + "requires": "($is_preview_app and (not $legacy_worlds_supports_migration))", + "$label_text": "playscreen.upgradeRetailWorlds" + } + ] + } + }, + { + "beta_retail_legacy_padding": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#beta_retail_legacy_worlds_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "beta_retail_legacy_worlds_label@play.world_list_label_panel": { + "$label_text": "playscreen.upgradeLegacyWorlds", + "variables": [ + { + "requires": "($is_preview_app and (not $legacy_worlds_supports_migration))", + "$label_text": "playscreen.upgradeRetailWorlds" + } + ], + "bindings": [ + { + "binding_name": "#beta_retail_legacy_worlds_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "beta_retail_legacy_grid@play.beta_retail_legacy_world_item_grid": { + "$tts_section_header": "playscreen.upgradeLegacyWorlds", + "variables": [ + { + "requires": "($is_preview_app and (not $legacy_worlds_supports_migration))", + "$tts_section_header": "playscreen.upgradeRetailWorlds" + } + ] + } + }, + { + "pad_hack_panel": { + // Grid items are actually rendering 1 pixel more than their size + // this is to avoid double-borders + // however, this means we now need an extra pixel for the last grid item + // also add 2 pixels to make it look nice + "type": "panel", + "size": [ "100%", 3 ] + } + } + ] + }, + + "no_local_worlds_switch_setting": { + "type": "panel", + "size": [ "100%", "100%c" ], + "ignored": "$education_edition", + "controls": [ + { + "bg@play.label_background": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "no_local_worlds_switch_setting@play.label_content_template": { + "size": [ "100% - 6px", "100%c + 1px" ], + "offset": [ 0, 2 ], + "$label_offset": [ 1, 0 ], + "$label_content_label": "localWorld.no_local_worlds_present", + "$label_content_content": "play.storage_location_dropdown_panel", + "$information_panel_label_text": "localWorld.no_local_worlds_present", + "bindings": [ + { + "binding_name": "#no_local_world_switch_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_local_worlds_get_help@play.label_content_template": { + "size": [ "100% - 6px", "100%c + 1px" ], + "offset": [ 0, 2 ], + "$label_offset": [ 1, 0 ], + "$label_content_label": "#no_local_worlds_help_label", + "$label_content_label_binding_type": "global", + "$label_content_content": "play.no_local_worlds_launch_help", + "$information_panel_label_text": "#no_local_worlds_help_label", + "bindings": [ + { + "binding_name": "#no_local_world_help_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#no_local_worlds_switch_setting_visible", + "binding_name_override": "#visible" + } + ] + }, + + "no_local_worlds_launch_help@common_buttons.light_text_button": { + "$pressed_button_name": "button.no_local_worlds_launch_help", + "$button_text": "#no_local_worlds_launch_help_button_label", + "$button_text_binding_type": "global", + "size": [ "100%", 29 ] + }, + + "storage_location_dropdown_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "storage_location_dropdown@play.storage_location_dropdown": { + } + } + ] + }, + + "storage_location_dropdown@settings_common.option_dropdown": { + "$option_label": "options.filelocation.title", + "ignored": "($is_holographic and $is_reality_mode)", + "$dropdown_content": "play.switch_storage_type_content", + "$dropdown_area": "no_local_worlds_switch_setting", + "$dropdown_name": "switch_storage_type", + "$option_enabled_binding_name": "#switch_storage_type_enabled", + "$options_dropdown_toggle_label_binding": "#switch_storage_type_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + }, + + "switch_storage_type_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "storage_location_option_external@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#storage_location_radio_external", + "$radio_label_text": "options.filelocation.external" + } + }, + { + "storage_location_option_appdata@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#storage_location_radio_package", + "$radio_label_text": "options.filelocation.appdata" + } + } + ] + }, + + "bar_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 10, + "frame_step": 64, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + "light_centered_loading_label": { + "type": "label", + "text": "$label_text", + "max_size": [ "100% - 4px", 20 ], + "shadow": false, + "color": "$generic_button_text_color", + "layer": 3, + "bindings": [ + { + "binding_name": "$label_text", + "binding_type": "global" + } + ] + }, + + "light_loading_label": { + "type": "label", + "text": "$label_text", + "max_size": [ "100% - 4px", 20 ], + "shadow": false, + "offset": [ 0, 6 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$dark_button_locked_text_color", + "layer": 3 + }, + + "loading_label": { + "type": "label", + "text": "$message_binding_name", + "max_size": [ "100% - 4px", 40 ], + "shadow": false, + "offset": [ 0, 6 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$dark_button_default_text_color", + "layer": 3, + "$message_binding_name|default": "", + "bindings": [ + { + "binding_name": "$message_binding_name", + "binding_type": "global" + } + ] + }, + + "progress_loading_bars": { + "type": "image", + "layer": 3, + "texture": "textures/ui/loading_bar", + "offset": [ 0, 18 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 64, 8 ], + "uv_size": [ 64, 8 ], + "uv": "@play.bar_animation", + "color": "$dark_button_secondary_default_text_color", + "$visible_binding_name|default": "#loading_bars_animation_visible", + "bindings": [ + { + "binding_name": "$visible_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "world_list_label_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "list_label": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "100%", 10 ], + "offset": [ 1, 0 ], + "text": "$label_text" + } + } + ] + }, + + "world_list_label_with_color_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "controls": [ + { + "colored_square_sizer": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "colored_square": { + "ignored": "(not $legacy_worlds_share_storage) and (not $legacy_worlds_supports_migration)", + "type": "image", + "texture": "textures/ui/progress_bar_simple", + "size": [ "100%y", "100% - 4px" ], + "color": "$square_color" + } + } + ] + } + }, + { + "padding": { + "ignored": "(not $legacy_worlds_share_storage) and (not $legacy_worlds_supports_migration)", + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "list_label": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "fill", "100%" ], + "offset": [ 1, 0 ], + "$label_text|default": "b", + "text": "$label_text", + "$label_binding_type|default": "none", + "bindings": [ + { + "binding_type": "$label_binding_type", + "binding_name": "$label_text", + "binding_name_override": "$label_text" + } + ] + } + } + ] + }, + + "empty_panel": { + "type": "panel", + "size": [ 0, 0 ] + }, + + "empty_grid": { + "type": "panel", + "size": [ "100%", 29 ] + }, + + "lan_servers_scroll_content@play.label_content_template": { + "$label_content_label": "networkWorld.lan_label", + "$label_content_content": "play.network_world_item_grid", + "$network_world_grid_item_template": "play.network_world_item", + "$network_world_icon": "play.lan_icon", + "$network_world_item_grid_dimension_binding": "#lan_network_world_item_grid_dimension", + "$collection_name": "lan_network_worlds", + "$tts_section_header": "$label_content_label", + "bindings": [ + { + "binding_name": "#lan_grid_visible", + "binding_name_override": "#visible" + } + ] + }, + + "friends_scroll_panel@play.common_scroll_pane": { + "$hide_xbox_live_icon": true, + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c - 1px" ], + "$add_friend_visible": true, + "$add_friend_not_visible": false, + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "friends_screen_warning@play.realm_warning_tip": {} + }, + { + "header_button": { + "type": "stack_panel", + "layer": 1, + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "add_friend_and_invite_panel@play.add_friend_and_invite_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "ignored": "$add_friend_not_visible" + } + } + ] + } + }, + { + "friends_crossplatform_disabled_panel@play.crossplatform_disabled_panel": { + "ignored": "(not $is_realms_enabled)", + "$cross_platform_information_text": "crossPlatformToggle.crossPlatformDisabled.friends" + } + }, + { + "friends_crossplatform_disable_spacer@play.crossplatform_disable_spacer": { + "ignored": "(not $is_realms_enabled)" + } + }, + { + "joinable_realms_panel": { + "ignored": "$is_editor_mode_enabled", + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "$tts_section_header": "playscreen.joinableRealms", + "bindings": [ + { + "binding_name": "#joinable_realms_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "friends_realms_label@play.world_list_label_panel": { + "$label_text": "$tts_section_header", + "bindings": [ + { + "binding_name": "#friends_realms_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sign_in_to_view_realms_button_friends@play.sign_in_to_view_realms_button_friends": {} + }, + { + "friends_realms@play.realms_world_item_grid": { + "$grid_name": "#friend_realms_grid_dimension", + "$realms_worlds_collection_name": "friends_realms", + "$grid_item_layout": "play.realms_world_item" + } + }, + { + "placeholder_loading_friends_panel@play.label_background": { + "size": [ "100%", "100%c - 12px" ], + "controls": [ + { + "placeholder_loading_friends_realms": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "collection_name": "loading_friends_realms", + "grid_item_template": "play.empty_grid", + "grid_dimension_binding": "#loading_friends_realms_grid_dimension", + "bindings": [ + { + "binding_name": "#loading_friends_realms_grid_dimension" + } + ] + } + }, + { + "loading_friends_realms_label": { + "type": "label", + "max_size": [ "100% - 4px", 40 ], + "text": "#realms_loading_display_message", + "shadow": false, + "offset": [ 0, 6 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$dark_button_default_text_color", + "layer": 3, + "bindings": [ + { + "binding_name": "#realms_loading_display_message", + "binding_type": "global" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "progress_loading_bars@play.progress_loading_bars": {} + } + ], + "bindings": [ + { + "binding_name": "#loading_friends_realms_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "get_offline_authcode_message_panel@play.label_background": { + "size": [ "100%", 40 ], + "controls": [ + { + "content_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "message_panel": { + "type": "panel", + "size": [ "100% - 15px", "100%" ], + "layer": 3, + "controls": [ + { + "message_label": { + "type": "label", + "size": [ "100%", "default" ], + "text_alignment": "center", + "text": "networkWorld.addAsAuthorizedApp", + "shadow": false, + "color": "$store_white_text_color" + } + } + ] + } + }, + { + "image_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "link_image": { + "type": "image", + "size": [ 8, 8 ], + "texture": "textures/ui/external_link" + } + } + ] + } + } + ] + } + }, + { + "focus_border@common.button": { + "size": [ "100%", "100%sm" ], + "default_control": "", + "$pressed_button_name": "button.get_offline_authcode", + "tts_inherit_siblings": true, + "controls": [ + { + "hover@common.focus_border_white": {} + }, + { + "pressed@common.focus_border_white": {} + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#get_offline_authcode_message_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_realms_grid@play.label_content_template": { + "$label_content_label": "playscreen.joinableRealms", + "$label_content_content": "play.information_panel", + "$information_panel_label_text": "playscreen.noFriendsRealms", + "bindings": [ + { + "binding_name": "#no_friends_realms_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 3 ] + } + } + ] + } + }, + // Original Friends Grid + { + "friends_grid@play.label_content_template": { + "$label_content_label": "networkWorld.joinable_friends_label", + "$label_content_content": "play.network_world_item_grid", + "$network_world_grid_item_template": "play.network_world_item_ignore_crossplay", + "$network_world_icon": "play.friends_server_icon", + "$hide_network_icon": "$hide_xbox_live_icon", + "$network_world_item_grid_dimension_binding": "#friends_network_world_item_grid_dimension", + "$collection_name": "friends_network_worlds", + "$header_icon_visible": true, + "$tts_section_header": "$label_content_label", + "variables": [ + { + "requires": "$nx_os", + "$label_content_label": "networkWorld.joinable_nintendo_friends_label" + }, + { + "requires": "$is_ps4", + "$label_content_label": "networkWorld.joinable_berwick_friends_label" + } + ], + "bindings": [ + { + "binding_name": "#friends_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad_hack_panel": { + // Grid items are actually rendering 1 pixel more than their size + // this is to avoid double-borders + // however, this means we now need an extra pixel for the last grid item + // also add 2 pixels to make it look nice + "type": "panel", + "size": [ "100%", 3 ], + "bindings": [ + { + "binding_name": "#friends_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_friends_grid_message@play.label_content_template": { + "ignored": "$education_edition", + "$label_content_label": "networkWorld.joinable_friends_label", + "$label_content_content": "play.information_panel", + "$information_panel_label_text": "#no_friends_grid_message_text", + "$information_panel_label_text_binding_type": "global", + "$information_panel_label_text_binding_condition": "always_when_visible", + "$tts_section_header": "$label_content_label", + "variables": [ + { + "requires": "$nx_os", + "$label_content_label": "networkWorld.joinable_nintendo_friends_label" + }, + { + "requires": "$is_ps4", + "$label_content_label": "networkWorld.joinable_berwick_friends_label" + } + ], + "bindings": [ + { + "binding_name": "#no_friends_grid_message_text" + }, + { + "binding_name": "#no_friends_grid_message_visible", + "binding_name_override": "#visible" + } + ] + } + }, + // Find Cross-Platform Friends button, only on Switch platform for now + { + "switch_find_cross_platform_friend_button@play.add_friend_button": { + "ignored": "(not $nx_os and not $is_ps4)", + "size": [ "100%", 30 ], + "$button_text": "networkWorld.find_cross_platform_friends", + "bindings": [ + { + "binding_name": "#add_friend_button_visible", + "binding_name_override": "#visible", + "binding_type": "global" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "add_friend_button_padding": { + "ignored": "(not $nx_os and not $is_ps4)", + "type": "panel", + "size": [ 0, 2 ] + } + }, + // Cross Platform Friends Grid + { + "cross_platform_friends_grid@play.label_content_template": { + "$label_content_label": "networkWorld.joinable_cross_platform_friends_label", + "$label_content_content": "play.network_world_item_grid", + "$network_world_grid_item_template": "play.network_world_item", + "$network_world_icon": "play.cross_platform_friends_server_icon", + "$hide_network_icon": "$hide_xbox_live_icon", + "$network_world_item_grid_dimension_binding": "#cross_platform_friends_network_world_item_grid_dimension", + "$collection_name": "cross_platform_friends_network_worlds", + "$header_icon_visible": true, + "ignored": "(not $nx_os and not $is_ps4)", + "$tts_section_header": "$label_content_label", + "bindings": [ + { + "binding_name": "#cross_platform_friends_grid_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_cross_platform_friends_grid_message@play.label_content_template": { + "$label_content_label": "networkWorld.joinable_cross_platform_friends_label", + "$label_content_content": "play.information_panel", + "$information_panel_label_text": "#no_cross_platform_friends_grid_message_text", + "$information_panel_label_text_binding_type": "global", + "$information_panel_label_text_binding_condition": "always_when_visible", + "ignored": "(not $nx_os and not $is_ps4)", + "$tts_section_header": "$label_content_label", + "bindings": [ + { + "binding_name": "#no_cross_platform_friends_grid_message_text" + }, + { + "binding_name": "#no_cross_platform_friends_grid_message_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "general_no_multiplayer_grid_message@play.label_content_template": { + "$label_content_label": "networkWorld.joinable_friends_label", + "$label_content_content": "play.information_panel", + "$information_panel_label_text": "#general_no_multiplayer_grid_message_text", + "$information_panel_label_text_binding_type": "global", + "$information_panel_label_text_binding_condition": "always_when_visible", + "$tts_section_header": "$label_content_label", + "bindings": [ + { + "binding_name": "#general_no_multiplayer_grid_message_text" + }, + { + "binding_name": "#general_no_multiplayer_grid_message_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "lan_grid@play.lan_servers_scroll_content": {} + }, + { + "open_account_setting_button_gamecore@play.open_account_setting_button_gamecore": {} + } + ] + } + } + ] + }, + + "manually_added_servers_scrolling_content": { + "type": "stack_panel", + "ignored": "($ignore_add_servers or $ignore_3rd_party_servers)", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#is_network_available_and_multiplayer_visible", + "binding_name_override": "#visible" + } + ], + "$tts_section_header": "networkWorld.more_servers", + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "more_servers_label@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "text": "thirdPartyWorld.Additional", + "color": "$dark_button_default_text_color", + "bindings": [ + { + "binding_name": "#is_additional_server_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "more_servers_grid@play.more_servers_grid": {} + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#servers_grid_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "servers_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$focus_id": "left_panel", + "controls": [ + { + "new_ui_servers_switch_button_options_panel@play.new_ui_servers_switch_button_options_panel": {} + }, + { + + "featured_servers_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "ignored": "$ignore_3rd_party_servers", + "$third_party_featured_servers": "thirdPartyWorld.Featured", + "$focus_id": "featured_servers_panel", + "controls": [ + { + "loading_featured_panel@play.label_background": { + "size": [ "100%", 40 ], + "controls": [ + { + "loading_friends_realms_label@play.light_loading_label": { + "$label_text": "thirdPartyWorld.loadingFeaturedServers" + } + }, + { + "loading_featured_servers_panel@play.loading_featured_servers_panel": {} + } + + + ], + "bindings": [ + { + "binding_name": "#loading_servers_progress_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "featured_servers_label@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "text": "thirdPartyWorld.Featured", + "color": "$dark_button_default_text_color" + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "third_party_featured_grid@play.third_party_featured_server_grid": { + "$tts_section_header": "$third_party_featured_servers" + } + + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ], + "bindings": [ + { + "binding_name": "#featured_servers_visible_and_available", + "binding_name_override": "#visible" + } + ] + } + }, + { + "more_servers_divider@common.horizontal_divider": {} + }, + { + "more_servers_panel@play.manually_added_servers_scrolling_content": {} + } + ] + }, + + "server_scroll_panel@play.common_scroll_pane": { + "$server_scroll_panel_content|default": "play.servers_content_panel", + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%- 3px", "100%c + 1px" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "servers_crossplatform_disabled_panel@play.crossplatform_disabled_panel": { + "$cross_platform_information_text": "crossPlatformToggle.crossPlatformDisabled.servers" + } + }, + { + "no_featured_server_connection@play.information_panel": { + "ignored": "(not $is_ps4)", + "$information_label_font": "smooth", + "$information_panel_label_text": "#internet_connection_text", + "$information_panel_label_text_binding_type": "global", + "$information_panel_label_text_binding_condition": "always_when_visible", + "bindings": [ + { + "binding_name": "(not #is_network_available)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "more_servers_blocked_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "visible": false, + "ignored": "($ignore_add_servers or $ignore_3rd_party_servers)", + "bindings": [ + { + "binding_name": "#multiplayer_blocked_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "server_multiplayer_privileges_blocked@play.information_panel": { + "$information_label_font": "smooth", + "$information_panel_label_text": "#multiplayer_blocked_text", + "$information_panel_label_text_binding_type": "global", + "$information_panel_label_text_binding_condition": "always_when_visible", + "ignored": "($ignore_add_servers or $ignore_3rd_party_servers)" + } + }, + { + "open_uri_button@play.open_account_setting_button": {} + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "server_content@$server_scroll_panel_content": {} + }, + { + "add_server_button@play.add_server_toggle_button": {} + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Cross Platform panels + //--------------------------------------------------------------------------- + + "crossplatform_disabled_panel@play.information_panel": { + "$information_label_font": "smooth", + "$information_panel_label_text": "$cross_platform_information_text", + "bindings": [ + { + "binding_name": "(not #cross_platform_enabled)", + "binding_name_override": "#visible" + } + ] + }, + + "crossplatform_disable_spacer": { + "type": "panel", + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "(not #cross_platform_enabled)", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Scroll panels + //--------------------------------------------------------------------------- + + "common_scrolling_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100% - 1px", "100%" ], + "$scrolling_content": "$scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + //--------------------------------------------------------------------------- + // Scroll content + //--------------------------------------------------------------------------- + + "common_content": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "focus_container": true, + "use_last_focus": true, + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_right": "contained", + "focus_navigation_mode_left": "contained" + }, + + "scrolling_offsets@play.common_scrolling_panel": { + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 2, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "worlds_scroll_content@play.common_content": { + "controls": [ + { + "worlds_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "controls": [ + { + "scrolling_panel_sizer": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "scrolling_panel@play.scrolling_offsets": { + "layer": 1, + "$scrolling_content": "play.worlds_scroll_panel" + } + } + ] + } + }, + { + "scrolling_panel_legacy_storage_sizer": { + "type": "panel", + "ignored": "(not $legacy_worlds_share_storage) and (not $legacy_worlds_supports_migration)", + "size": [ "100%", "20%" ], + "controls": [ + { + "scrolling_panel@play.scrolling_offsets": { + "layer": 1, + "$scrolling_content": "play.legacy_world_content_status_area_panel" + } + } + ] + } + + } + ] + } + } + ] + }, + + "friends_scroll_content@play.common_content": { + "controls": [ + { + "scrolling_panel@play.scrolling_offsets": { + "layer": 1, + "$scrolling_content": "play.friends_scroll_panel" + } + } + ] + }, + + "show_servers_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "fill" ], + "bindings": [ + { + "binding_name": "(not #feature_server_message_visible)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "left_panel": { + "type": "panel", + "size": [ "50% - 1px", "100%" ], + "controls": [ + { + "scrolling_panel@play.scrolling_offsets": { + "size": [ "100%", "100% - 4px" ], + "offset": [ 0, 2 ], + "layer": 1, + "$scrolling_content": "play.server_scroll_panel" + } + } + ] + } + }, + { + "divider_panel": { + "type": "panel", + "size": [ 3, "100%" ], + "controls": [ + { + "main_divider": { + "type": "image", + "size": [ 3, "100% - 4px" ], + "tiled": "y", + "texture": "textures/ui/HowToPlayDivider", + "layer": 10 + } + } + ] + } + }, + { + "right_panel@play.server_content_area": {} + } + ] + }, + + + "server_scroll_content@play.common_content": { + "size": [ "100% - 4px", "100% - 4px" ], + "controls": [ + { + "severs_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "offset_panel": { + "type": "panel", + "size": [ "100% - 4px", "100%cm" ], + "controls": [ + { + "servers_sunsetting_warning@play.realm_warning_tip": { + "size": [ "100% - 2px", "100%cm - 2px" ], + "offset": [ 2, 2 ] + } + } + ], + "bindings": [ + { + "binding_name": "#device_sunsetting", + "binding_name_override": "#visible" + } + ] + } + }, + { + "show_servers_panel@play.show_servers_panel": {} + } + ] + } + }, + { + "feature_server_message_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 10px", "100%c" ], + "offset": [ 0, 2 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "bindings": [ + { + "binding_name": "#feature_server_message_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "featured_servers_label@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "text": "thirdPartyWorld.Featured", + "color": "$dark_button_default_text_color" + } + }, + { + "pad": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "feature_server_message_panel@play.dark_label_background": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "label_panel_layout": { + "type": "panel", + "size": [ "97%", "100%c + 8px" ], + "controls": [ + { + "label": { + "type": "label", + "$information_label_font|default": "default", + "font_type": "smooth", + "color": "$dark_button_default_text_color", + "size": [ "100%", "default" ], + "layer": 1, + "shadow": false, + "text": "#feature_server_message_text", + "bindings": [ + { + "binding_name": "#feature_server_message_text" + } + ] + } + } + ] + } + } + ] + } + }, + { + "open_account_setting_button_gamecore@play.open_account_setting_button_gamecore": {} + } + ] + } + } + ] + }, + + "server_content_area": { + "type": "panel", + "size": [ "50% - 4px", "100%" ], + "layer": 1, + "$focus_id": "right_side", + "bindings": [ + { + "binding_name": "#is_network_available_and_multiplayer_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "third_party_scrolling_panel@play.scrolling_offsets": { + "size": [ "100%", "100% - 4px" ], + "offset": [ 0, 2 ], + "layer": 1, + "$scrolling_content": "play.third_party_server_info_panel", + "bindings": [ + { + "binding_name": "#is_third_party_server_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "additional_server_scrolling_panel@play.scrolling_offsets": { + "size": [ "100%", "100% - 4px" ], + "offset": [ 0, 2 ], + "layer": 1, + "$scrolling_content": "play.additional_server_info_panel", + "bindings": [ + { + "binding_name": "#is_additional_server_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "add_server_pane@play.add_server_info_panel": { + "bindings": [ + { + "binding_name": "#add_server_info_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Toggle tab buttons + //--------------------------------------------------------------------------- + + "tab_front": { + "type": "image", + "texture": "textures/ui/TabTopFront" + }, + + "tab_front_middle": { + "type": "image", + "texture": "textures/ui/TabTopFront" + }, + + "tab_back": { + "type": "image", + "texture": "textures/ui/TabTopBack" + }, + + "X_tab_back": { + "type": "image", + "texture": "textures/ui/XTab" + }, + + "tab_text_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "controls": [ + { + "padding@common.empty_panel": { + "size": [ "100%", 1 ] + } + }, + { + "text_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text@play.common_button_text": { + "layer": 3, + "text": "$tab_text_name", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ -1, 0 ], + "color": "$text_color" + } + } + ] + } + }, + { + "count_section": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "variables": [ + { + "requires": "$is_checked_state", + "$count_background_image": "textures/ui/numberBGFront", + "$count_text_color": "$secondary_text_color" + }, + { + "requires": "($is_hover_state or not $is_checked_state)", + "$count_background_image": "textures/ui/numberBGBack", + "$count_text_color": "$text_color" + } + ], + "controls": [ + { + "count_background_image": { + "type": "image", + "texture": "$count_background_image", + "size": [ "100%c + 3px", "100%c" ], + "offset": [ -1, -1 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "layer": 3, + "controls": [ + { + "count@common_button_text": { + "layer": 1, + "offset": [ 1, 1 ], + "text": "$count_text_name", + "color": "$count_text_color", + "bindings": [ + { + "binding_name": "$count_text_name" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "common_navigation_tab_content": { + "type": "stack_panel", + "size": [ "100%-3px", "100% - 4px" ], + "orientation": "horizontal", + + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "icon_section": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "icon@$tab_icon": { + "layer": 2 + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "count_text@play.tab_text_stack_panel": {} + } + ] + }, + + "friends_navigation_tab_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%-3px", "100% - 4px" ], + + "controls": [ + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "icon_section": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "$visibility_binding_override_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "icon@$tab_icon": { + "layer": 2, + "offset": "@play.anim_icon_wait_B" + } + } + ] + } + }, + { + "icon_section_2": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "$visibility_binding_override_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "icon@$tab_icon_2": { + "layer": 3, + "offset": "@play.anim_icon_wait_A" + } + } + ] + } + }, + { + "icon_section_nobounce": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "$visibility_binding_override_name_nobounce", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "icon@$tab_icon_nobounce": { + "layer": 2, + "offset": [ 0, -3 ] + } + } + ] + } + }, + { + "icon_section_nobounce_2": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "$visibility_binding_override_name_nobounce", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "icon@$tab_icon_nobounce_2": { + "layer": 3, + "offset": [ -5, 2 ] + } + } + ] + } + }, + { + "icon_section_notification": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "$visibility_binding_override_name_notification", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "icon1@play.invite_icon": { + "layer": 3, + "offset": [ -0.5, -1 ], + "bindings": [ + { + "binding_name": "(not #inbox_enabled)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "icon2@play.bell_icon": { + "layer": 3, + "offset": [ -0.5, -1 ], + "bindings": [ + { + "binding_name": "#inbox_enabled", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "count_text@play.tab_text_stack_panel": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Main navigation tabs + //--------------------------------------------------------------------------- + + "top_tab@common_tabs.tab_top": { + "$toggle_tts_enabled_binding_type": "global", + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$default_tab", + "anchor_to": "top_left", + "anchor_from": "top_left", + "$toggle_tts_type_priority": 1001, + "$toggle_tts_toggle_on_text": "", + "$toggle_tts_toggle_off_text": "", + "$toggle_tts_index_priority": 1002 + }, + + "world_navigation_tab@play.top_tab": { + "$is_left_most_tab": true, + "$tab_view_binding_name": "world_navigation_tab_toggle", + "$tab_icon": "worlds_icon", + "$count_text_name": "#world_item_count", + "$tab_text_name": "selectWorld.tab.worlds", + "$toggle_group_forced_index": 0, + "$tab_content": "play.common_navigation_tab_content", + "variables": [ + { + "requires": "$is_editor_mode_enabled", + "$tab_text_name": "playscreen.editor.worlds" + } + ] + }, + + "friends_navigation_tab@play.top_tab": { + "$tab_view_binding_name": "friends_navigation_tab_toggle", + "$tab_icon": "friends_icon_2", + "$tab_icon_2": "friends_icon_1", + "$tab_icon_nobounce": "friends_icon_2", + "$tab_icon_nobounce_2": "friends_icon_1", + "$visibility_binding_override_name": "#friends_tab_show_bouncing", + "$visibility_binding_override_name_nobounce": "#friends_tab_show_not_bouncing", + "$visibility_binding_override_name_notification": "#friends_tab_show_invites", + "$count_text_name": "#friend_world_item_count", + "$tab_text_name": "selectWorld.tab.friends", + "$toggle_group_forced_index": 1, + "$tab_content": "play.friends_navigation_tab_content" + }, + + "server_navigation_tab@play.top_tab": { + "$tab_view_binding_name": "server_navigation_tab_toggle", + "$tab_icon": "server_tab_icon", + "$count_text_name": "#server_world_item_count", + "$tab_text_name": "selectWorld.tab.thirdParty", + "$toggle_group_forced_index": 2, + "$tab_content": "play.common_navigation_tab_content" + }, + + "close_navigation_tab": { + "type": "panel", + "controls": [ + { + "background@play.X_tab_back": {} + }, + { + "x_image@common.light_close_button": { + "layer": 1, + "offset": [ 0, -1 ], + "anchor_from": "center", + "anchor_to": "center", + "focus_identifier": "close_button", + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_up": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "(not #exit_button_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Content tabs panel + //--------------------------------------------------------------------------- + + "common_tab_content_panel": { + "type": "panel", + "controls": [ + { + "background@common.common_panel": { + "$dialog_background": "dialog_background_hollow_4", + "$show_close_button": false + } + }, + { + "content@$scroll_tab_content": { + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-12px" ], + "offset": [ 6, 6 ], + "ttsSectionContainer": true + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visible_bind_toggle_source_control", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "worlds_tab_content_panel@play.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "world_navigation_tab_toggle", + "$scroll_tab_content": "play.worlds_scroll_content" + }, + + "friends_tab_content_panel@play.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "friends_navigation_tab_toggle", + "$scroll_tab_content": "play.friends_scroll_content" + }, + + "server_tab_content_panel@play.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "server_navigation_tab_toggle", + "$scroll_tab_content": "play.server_scroll_content" + }, + + //--------------------------------------------------------------------------- + // Content layout panels + //--------------------------------------------------------------------------- + + "common_tab_content_panel_type": { + "type": "input_panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%", "100%-26px" ], + "ttsSectionContainer": true + }, + + "edu_tab_content_panel_layout@play.common_tab_content_panel_type": { + "controls": [ + { "worlds_tab_content@play.worlds_tab_content_panel": {} }, + { "friends_tab_content@play.friends_tab_content_panel": {} }, + { "server_tab_content_panel@play.server_tab_content_panel": {} } + ] + }, + + "trial_tab_content_panel_layout@play.common_tab_content_panel_type": { + "controls": [ + { "worlds_tab_content@play.worlds_tab_content_panel": {} } + ] + }, + + "default_tab_content_panel_layout@play.common_tab_content_panel_type": { + "controls": [ + { "worlds_tab_content@play.worlds_tab_content_panel": {} }, + { "friends_tab_content@play.friends_tab_content_panel": {} }, + { "server_tab_content_panel@play.server_tab_content_panel": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Tabs layout panels + //--------------------------------------------------------------------------- + + "tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", 30 ], + "controls": [ + { + "navigation_tabs": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "content@$navigation_tab": { + "anchor_to": "top_left", + "anchor_from": "top_left" + } + } + ] + } + }, + { + "close_navigation_tab": { + "size": [ "100%y", "100%" ], + "type": "panel", + "$end_tab_control|default": "play.close_navigation_tab", + "variables": [ + { + "requires": "$is_editor_mode_enabled", + "$end_tab_control": "play.editor_settings_menu_button" + } + ], + "controls": [ + { "close_button@$end_tab_control": {} } + ] + } + } + ] + }, + + "common_tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% + 2px", "100%" ], + "ttsSectionContainer": true + }, + + "edu_tab_navigation_panel_layout@play.common_tab_navigation_panel_layout": { + "controls": [ + { + "world_navigation_tab@play.world_navigation_tab": { + "size": [ "33%", "100%" ] + } + }, + { + "friends_navigation_tab@play.friends_navigation_tab": { + "size": [ "33%", "100%" ] + } + }, + { + "server_navigation_tab@play.server_navigation_tab": { + "size": [ "fill", "100%" ] + } + } + ] + }, + + "trial_tab_navigation_panel_layout@play.common_tab_navigation_panel_layout": { + "controls": [ + { + "world_navigation_tab@play.world_navigation_tab": { + "size": [ "100%", "100%" ] + } + } + ] + }, + + "default_tab_navigation_panel_layout@play.common_tab_navigation_panel_layout": { + "controls": [ + { + "world_navigation_tab@play.world_navigation_tab": { + "size": [ "33%", "100%" ] + } + }, + { + "friends_navigation_tab@play.friends_navigation_tab": { + "size": [ "33%", "100%" ] + } + }, + { + "server_navigation_tab@play.server_navigation_tab": { + "size": [ "fill", "100%" ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Trial, EDU and Default + //--------------------------------------------------------------------------- + + "common_play_screen_panel": { + "type": "panel", + "size": "$play_screen_size" + }, + + "play_screen_panel@play.common_play_screen_panel": { + // If in edu quickplay is above create new so adjust focus override accordingly + "variables": [ + { + "requires": "$education_edition", + "$create_new_row_focus_override_up": "quick_play_button" + } + ], + "controls": [ + { + "tab_navigation_panel@play.tab_navigation_panel_layout": { + "layer": 1 + } + }, + { + "tab_content_panel@$tab_content_panel": { + "layer": 2 + } + }, + { + "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": { + "offset": [ -1, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_right", + "$hide_description": true, + "bindings": [ + { + "binding_name": "#bumper_tooltips_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": { + "offset": [ 1, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_left", + "$hide_description": true, + "bindings": [ + { + "binding_name": "#bumper_tooltips_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "keyboard_helper_left_bracket@common.keyboard_left_trigger": { + "offset": [ -1, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_right", + "$hide_description": true, + "$text_color": [ 1, 1, 1 ] + } + }, + { + "keyboard_helper_right_bracket@common.keyboard_right_trigger": { + "offset": [ 1, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_left", + "$hide_description": true, + "$text_color": [ 1, 1, 1 ] + } + } + ] + }, + + "default_play_screen_panel@play.play_screen_panel": { + "$navigation_tab": "play.default_tab_navigation_panel_layout", + "$tab_content_panel": "play.default_tab_content_panel_layout" + }, + + "trial_play_screen_panel@play.play_screen_panel": { + "$navigation_tab": "play.trial_tab_navigation_panel_layout", + "$tab_content_panel": "play.trial_tab_content_panel_layout" + }, + + "edu_play_screen_panel@play.play_screen_panel": { + "$navigation_tab": "play.edu_tab_navigation_panel_layout", + "$tab_content_panel": "play.edu_tab_content_panel_layout" + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "play_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "play.play_screen_content", + "$world_picker_screen": false + }, + + "play_screen_content": { + "type": "panel", + "variables": [ + { + "requires": "(not $education_edition and not $is_editor_mode_enabled and not $is_editor_playtest_roundtrip)", + "$main_panel": "play.default_play_screen_panel" + }, + { + "requires": "($education_edition and not $is_editor_mode_enabled and not $is_editor_playtest_roundtrip)", + "$main_panel": "play.edu_play_screen_panel" + }, + { + "requires": "((not $education_edition and $is_editor_mode_enabled) or $is_editor_playtest_roundtrip)", + "$main_panel": "play.editor_play_screen_panel" + } + ], + "controls": [ + { + "main_control@$main_panel": {} + }, + { + "editor_text_panel@play.editor_text_panel": { + "visible": "$is_editor_mode_enabled" + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "join_by_code": "@play.popup_dialog_join_by_code", + "high_ping_warning": "@play.popup_dialog_high_ping" + } + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Join By Code Dialog Popup + //-------------------------------------------------------------------------------- + "popup_dialog_join_by_code@popup_dialog.modal_input_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { + "join_by_code_popup_background@play.join_by_code_popup_background": { + "layer": 0 + } + }, + { + "join_by_code_popup_content@play.join_by_code_popup_content": { + "layer": 1 + } + }, + { + "gamepad_helpers@common.gamepad_helpers_a_and_b": { + "layer": 1, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "31px" ] + } + } + ] + }, + + "join_by_code_popup_background": { + "type": "image", + "texture": "textures/ui/control", + "size": [ "100%", "100%" ], + "alpha": 0.6, + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "join_by_code_popup_content": { + "type": "panel", + "size": [ 200, 90 ], + "controls": [ + { "popup_dialog_bg@realms_common.popup_dialog_bg": {} }, + { + "popup_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { "join_by_code_popup_dialog_header@play.join_by_code_popup_dialog_header": {} }, + { + "spacing_1": { + "type": "panel", + "size": [ "100%", "1px" ] + } + }, + { "join_by_code_popup_dialog_upper_body@play.join_by_code_popup_dialog_upper_body": {} }, + { + "spacing_2": { + "type": "panel", + "size": [ "100%", "10px" ] + } + }, + { "join_by_code_popup_dialog_lower_body@play.join_by_code_popup_dialog_lower_body": {} } + ] + } + + } + ] + }, + + "join_by_code_popup_dialog_header": { + "type": "panel", + "size": [ "100%", "21%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { "join_by_code_popup_header_text@play.join_by_code_popup_header_text": {} }, + { + "close_button@common.close_button": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ -1, 2 ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_network_join_by_code_close", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_network_join_by_code_close", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + "join_by_code_popup_header_text": { + "type": "label", + "text": "networkWorld.joinByCode", + "font_size": "normal", + "color": "$title_text_color", + "anchor_from": "center", + "anchor_to": "center" + }, + + "join_by_code_popup_dialog_upper_body": { + "type": "stack_panel", + "size": [ "100%", "22%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "orientation": "horizontal", + "controls": [ + { + "margin1": { + "type": "panel", + "size": [ "3px", 0 ] + } + }, + { + "join_by_code_popup_code_text_field@play.join_by_code_popup_code_text_field": { + "size": [ "65%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "spacing": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "join_by_code_popup_join_button@play.join_by_code_popup_join_button": { + "size": [ "fill", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "margin2": { + "type": "panel", + "size": [ "3px", 0 ] + } + } + ] + }, + + "join_by_code_popup_code_text_field@common.text_edit_box": { + "$text_box_name": "#join_by_code_text_edit", + "max_length": 15, + "$place_holder_text": "networkWorld.realmsHashPlaceholder" + }, + + "join_by_code_popup_join_button@common_buttons.light_text_button": { + "layer": 1, + "$button_text": "networkWorld.join", + "$pressed_button_name": "button.menu_network_join_by_code_popup_join", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + + }, + + "join_by_code_popup_help_text": { + "type": "label", + "size": [ "95%", "100%" ], + "shadow": false, + "text": "networkWold.joinByCodeHelpText", + "color": "$light_glyph_default_color", + "anchor_from": "center", + "anchor_to": "center", + "text_alignment": "center" + }, + + "lower_body_default_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "info_text@play.join_by_code_popup_help_text": { + } + } + ] + }, + + "join_by_code_popup_dialog_lower_body": { + "type": "panel", + "size": [ "100%", "fill" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { + "default@play.lower_body_default_content": {} + } + ] + }, + "open_account_setting_button@common_buttons.hyperlink_button": { + "$button_text": "permissions.open.account.help.button", + "property_bag": { + "#hyperlink": "https://aka.ms/MCMultiplayerHelp" + }, + "size": [ "100%", 30 ], + "ignored": "$is_holographic", + "visible": false, + "bindings": [ + { + "binding_name": "#open_uri_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // High Ping Warning Dialog Popup + //--------------------------------------------------------------------------- + + "popup_dialog_high_ping@popup_dialog.modal_input_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { + "high_ping_popup_background@play.join_by_code_popup_background": { + "layer": 0 + } + }, + { + "high_ping_popup_content@play.popup_two_buttons": { + "layer": 1 + } + }, + { + "gamepad_helpers@common.gamepad_helpers_a_and_b": { + "layer": 1, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "31px" ] + } + } + ] + }, + + "popup_two_buttons": { + "type": "panel", + "size": [ 250, 170 ], + "anchor_from": "center", + "anchor_to": "center", + "$text_name": "networkWorld.highPingWarning.title", + "$child_control": "play.high_ping_popup_content_stack_panel", + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_2" } + }, + { + "title_label@common_dialogs.title_label": {} + }, + { + "panel_indent": { + "type": "panel", + // Fit to the hole in dialog_background_hollow_1 exactly + "size": [ "100% - 16px", "100% - 99px" ], + "offset": [ 0, 35 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + }, + { + "button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 14px", 30 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -7 ], + "controls": [ + { + "left_button_panel@play.high_ping_popup_join_button": { + "size": [ "fill", "100%" ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 6, "100%" ] + } + }, + { + "right_button_panel@play.high_ping_popup_cancel_button": { + "size": [ "fill", "100%" ] + } + } + ] + } + } + ] + }, + + "high_ping_popup_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c" ], + "layer": 5, + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "ping_images_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "ping_images_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 20 ], + "controls": [ + { + "medium_connection": { + "type": "image", + "size": [ 20, "100%" ], + "texture": "textures/ui/Ping_Yellow_Dark" + } + }, + { + "pad": { + "type": "panel", + "size": [ 30, "100%" ] + } + }, + { + "low_connection": { + "type": "image", + "size": [ 20, "100%" ], + "texture": "textures/ui/Ping_Red_Dark" + } + } + ] + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "text_line_1": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "text": "networkWorld.highPingWarning.line1", + "color": "$main_header_text_color" + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "text_line_2": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "text": "networkWorld.highPingWarning.line2", + "color": "$main_header_text_color" + } + }, + { + "pad_3": { + "type": "panel", + "size": [ "100%", 10 ] + } + } + ] + }, + + "high_ping_popup_join_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.join_server_anyway", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + "$button_text": "networkWorld.join" + }, + + "high_ping_popup_cancel_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.cancel_join_server", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + "$button_text": "gui.cancel" + }, + + //--------------------------------------------------------------------------- + // Editor Mode + //--------------------------------------------------------------------------- + + "copyright": { + "type": "label", + "color": "$main_header_text_color", + "layer": 2, + "text": "menu.copyright", + "size": [ "default", 10 ], + "max_size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "development_version": { + "type": "label", + "color": "$main_header_text_color", + "layer": 2, + "text": "#development_version", + "size": [ "default", 10 ], + "max_size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#development_version" + } + ] + }, + + "version": { + "type": "label", + "color": "$main_header_text_color", + "layer": 2, + "text": "#version", + "size": [ "default", 10 ], + "max_size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#version" + } + ] + }, + + "editor_text_panel": { + "type": "panel", + "size": [ "100%-2px", 10 ], + "offset": [ 0, -1 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "copyright@play.copyright": {} + }, + { + "development_version@play.development_version": { + "ignored": "$is_publish" + } + }, + { + "version@play.version": {} + } + ] + }, + + "editor_settings_image_content": { + "type": "image", + "size": [ 14, 14 ], + "layer": 2, + "texture": "textures/ui/icon_setting", + "color": "white" + }, + + "editor_settings_menu_button@common_buttons.light_content_button": { + "layer": 1, + "offset": [ 0, -3 ], + "size": [ 24, 24 ], + "anchor_from": "center", + "anchor_to": "center", + "$pressed_button_name": "button.editor_settings", + "$button_content": "play.editor_settings_image_content", + "focus_identifier": "close_button", + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_up": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP" + }, + + "editor_server_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$focus_id": "left_panel", + "controls": [ + { + "more_servers_panel@play.manually_added_servers_scrolling_content": {} + } + ] + }, + + "editor_tab_content_panel_layout@play.common_tab_content_panel_type": { + "$server_scroll_panel_content": "play.editor_server_content_panel", + "controls": [ + { "worlds_tab_content@play.worlds_tab_content_panel": {} }, + { "friends_tab_content@play.friends_tab_content_panel": {} }, + { "server_tab_content_panel@play.server_tab_content_panel": {} } + ] + }, + + "editor_play_screen_panel@play.play_screen_panel": { + "$navigation_tab": "play.default_tab_navigation_panel_layout", + "$tab_content_panel": "play.editor_tab_content_panel_layout", + "visible": "(not $is_editor_playtest_roundtrip)" + } +} diff --git a/resource_pack/ui/pocket_containers.json b/resource_pack/ui/pocket_containers.json new file mode 100644 index 0000000..fd92ed9 --- /dev/null +++ b/resource_pack/ui/pocket_containers.json @@ -0,0 +1,180 @@ +{ + "namespace": "pocket_containers", + + "generic_label": { + "type": "label", + "layer": 2, + "anchor_from": "center", + "anchor_to": "center", + "color": "$pocket_title_text_color" + }, + + //---------------------- + // Header Panel + //---------------------- + + "header_panel": { + "type": "panel", + "layer": 1, + "size": [ "50%", "27px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "header_background": { + "type": "image", + "texture": "textures/ui/header_bar" + } + }, + { + "title_label@generic_label": { "text": "$header_label" } + } + ] + }, + + "header_area": { + "type": "panel", + "controls": [ + { "x@common.legacy_pocket_close_button": { "layer": 3 } }, + { + "inventory_header@pocket_containers.header_panel": { + "$header_label": "chestScreen.header.player" + } + }, + { + "container_header@pocket_containers.header_panel": { + "layer": 2, + "anchor_from": "top_middle", + "$header_label": "$container_title" + } + } + ] + }, + + //----------------- + // Inventory Panels + //----------------- + + "dark_bg": { + "type": "image", + "texture": "textures/ui/dark_bg", + "layer": 3 + }, + + "panel_outline": { + "type": "image", + "texture": "textures/ui/panel_outline" + }, + + "background_panel": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/background_panel", + "layer": 2 + }, + + "inventory_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "maximum_grid_items": "$container_size", + "collection_name": "$pane_collection", + "grid_item_template": "common.pocket_ui_container_item", + "$item_collection_name": "$pane_collection" + }, + + "inventory_panel": { + "type": "panel", + "size": [ "80%", "95%" ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$allow_scrolling_even_when_content_fits": false, + "layer": 1, + "$scrolling_pane_size": [ "100%", "100%-2px" ], + "$scrolling_content": "pocket_containers.inventory_grid", + "$scroll_box_mouse_image_control": "common-classic.button_state_default", + "$scroll_size": [ "8px", "100%" ] + } + } + ] + }, + + "half_screen": { + "type": "panel", + "size": [ "50%", "100%-27px" ], + "offset": [ 0, 27 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "inventory_panel@inventory_panel": {} } + ] + }, + + //-------------------- + // Screen Definitions + //-------------------- + + "panel": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": { "layer": 3 } }, + { "header@header_area": { "layer": 2 } }, + { "bg@background_panel": { "layer": 0 } }, + { + "inventory@half_screen": { + "$container_size": 36, + "$pane_collection": "combined_hotbar_and_inventory_items" + } + }, + { + "container@half_screen": { + "anchor_from": "top_middle", + "$pane_collection": "container_items" + } + }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "gamepad_cursor@common.gamepad_cursor_button": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "hold_icon@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 12 } } + ] + }, + + "small_chest_panel@panel": { + "$container_size": 27 + }, + + "large_chest_panel@panel": { + "$container_size": 54 + }, + + "hopper_panel@panel": { + "$container_size": 5 + }, + + "dispenser_panel@panel": { + "$container_size": 9 + }, + + "dropper_panel@panel": { + "$container_size": 9 + }, + + "ender_chest_panel@panel": { + "$container_size": 27 + }, + "shulker_box_panel@small_chest_panel": { + }, + "barrel_panel@small_chest_panel": { + } +} diff --git a/resource_pack/ui/popup_dialog.json b/resource_pack/ui/popup_dialog.json new file mode 100644 index 0000000..05042e9 --- /dev/null +++ b/resource_pack/ui/popup_dialog.json @@ -0,0 +1,879 @@ +{ + "namespace": "popup_dialog", + + //-------------------------------------------------------------------------------- + // Popup Dialog + //-------------------------------------------------------------------------------- + + "popup_dialog_bg": { + "type": "image", + "texture": "textures/ui/NormalButtonThin" + }, + + "popup_dialog_message": { + "type": "label", + "layer": 102, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "90%", "68%" ], + "offset": [ 0, 4 ], + "color": "$dark_body_text_color", + "text": "$message_text" + }, + + "popup_dialog_button@common_buttons.light_text_button": { + "layer": 101, + "size": [ "40%", "20%" ] + }, + + "popup_dialog_button_with_binding@common_buttons.light_text_button": { + "layer": 101, + "size": [ "40%", "20%" ] + }, + + "popup_dialog_left_button@popup_dialog_button": { + "$pressed_button_name": "$left_button_press", + "$button_text": "$left_button_text", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ "6.5%", "-8%" ] + }, + + "popup_dialog_middle_button@popup_dialog_button": { + "$pressed_button_name": "$middle_button_press", + "$button_text": "$middle_button_text", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "-8%" ] + }, + + "popup_dialog_right_button@popup_dialog_button": { + "$pressed_button_name": "$right_button_press", + "$button_text": "$right_button_text", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ "-6.5%", "-8%" ] + }, + + "popup_dialog": { + "type": "input_panel", + "modal": true, + "layer": 100, + "size": [ 204, 140 ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "modal.escape", + "mapping_type": "global" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Modal Dialog Popup + //-------------------------------------------------------------------------------- + + "modal_background_image": { + "type": "image", + "texture": "textures/ui/normal_stroke_button", + "layer": 1 + }, + + "black_tint_image": { + "type": "image", + "texture": "textures/ui/Black", + "layer": 1 + }, + + "modal_title_text": { + "type": "label", + "$title_text_offset|default": [ 9, 9 ], + "offset": "$title_text_offset", + "size": [ "90%", 15 ], + "$title_text_anchor|default": "top_left", + "$title_text_alignment|default": "left", + "anchor_to": "$title_text_anchor", + "anchor_from": "$title_text_anchor", + "text_alignment": "$title_text_alignment", + "layer": 2, + "text": "#text", + "text_tts": "#tts_text", + "color": "$title_text_color", + "shadow": false, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visibility_source_control_name", + "source_property_name": "#modal_title_text", + "target_property_name": "#text" + }, + { + "binding_type": "view", + "source_control_name": "$visibility_source_control_name", + "source_property_name": "#modal_title_tts", + "target_property_name": "#tts_text" + } + ] + }, + + "modal_label_text": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "offset": [ 2, 0 ], + "controls": [ + { + "padding": { + "type": "panel", + "layer": 2, + "size": [ 0, 2 ] + } + }, + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "layer": 2, + "text": "#text", + "text_tts": "#tts_text", + "color": "$body_text_color", + "font_type": "smooth", + "shadow": false, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visibility_source_control_name", + "source_property_name": "#modal_label_text", + "target_property_name": "#text" + }, + { + "binding_type": "view", + "source_control_name": "$visibility_source_control_name", + "source_property_name": "#modal_label_tts", + "target_property_name": "#tts_text" + } + ] + } + } + ] + }, + + "modal_checkbox_button@common.checkbox": { + "size": [ "100%", 30 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "$toggle_name": "$popup_dialog_checkbox_button_name", + "$toggle_state_binding_name": "#modal_checkbox_state", + "$toggle_label_text|default": "#modal_rightcancel_button_text", + + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + "$toggle_enabled_binding_type": "global", + + "controls": [ + { + "header_description_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "controls": [ + { + "checkbox_visuals@common.toggle_visuals": { + "size": [ 30, "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "buffer_panel": { + "type": "panel", + "layer": 3, + "size": [ "fill", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "$toggle_label_text", + "size": [ "default", "default" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + }, + { + "padding_panel": { + "type": "panel", + "size": [ 30, "100%" ] + } + } + ] + } + } + ] + }, + + "dialog_text_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "popup_dialog.modal_label_panel", + "$focus_border_size": [ "100%", "100% - 3px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$focus_border_anchor": "top_middle", + "offset": [ 0, 23 ] + }, + + "modal_label_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100% - 1px", "100% - 3px" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$scrolling_content": "popup_dialog.modal_label_text", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$always_handle_scrolling": true + }, + + "modal_left_button@common_buttons.light_text_button": { + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "50%-1px" ], + "$pressed_button_name": "$popup_dialog_left_button_name", + "$button_text": "#modal_left_button_text", + "$left_focus_number|default": 0, + "default_focus_precedence": "$left_focus_number" + }, + + "modal_middle_button@common_buttons.light_text_button": { + "anchor_to": "center", + "anchor_from": "center", + "size": [ "100%", "50%-1px" ], + "$pressed_button_name": "$popup_dialog_middle_button_name", + "$button_text": "#modal_middle_button_text", + "$middle_focus_number|default": 0, + "default_focus_precedence": "$middle_focus_number" + }, + + "modal_rightcancel_button@common_buttons.light_text_button": { + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%", "50%-1px" ], + "$pressed_button_name": "$popup_dialog_rightcancel_button_name", + "$button_text": "#modal_rightcancel_button_text", + "$right_focus_number|default": 1, + "default_focus_precedence": "$right_focus_number" + }, + + "three_buttons_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 90 ], + "offset": [ 0, -7 ], + "controls": [ + { + "left@popup_dialog.modal_left_button": { + "size": [ "100%", "33% - 1px" ] + } + }, + { + "middle@popup_dialog.modal_middle_button": { + "size": [ "100%", "33% - 1px" ] + } + }, + { + "right@popup_dialog.modal_rightcancel_button": { + "size": [ "100%", "33% - 1px" ] + } + } + ] + }, + + "two_buttons_checkbox_panel": { + "type": "panel", + "debug": "red", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 90 ], + "offset": [ 0, -7 ], + "controls": [ + { + "left@popup_dialog.modal_left_button": { + "size": [ "100%", "33% - 1px" ] + } + }, + { + "middle@popup_dialog.modal_middle_button": { + "size": [ "100%", "33% - 1px" ] + } + }, + { + "checkbox@popup_dialog.modal_checkbox_button": { + "size": [ "100%", "33% - 1px" ] + } + } + ] + }, + + "destructive_three_buttons_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 90 ], + "offset": [ 0, -7 ], + "controls": [ + { + "left@popup_dialog.modal_left_button": { + "size": [ "100%", "33% - 1px" ] + } + }, + { + "middle@popup_dialog.modal_middle_button": { + "size": [ "100%", "33% - 1px" ] + } + }, + { + "right@popup_dialog.modal_rightcancel_button": { + "size": [ "100%", "33% - 1px" ] + } + } + ] + }, + + "two_buttons_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 64 ], + "offset": [ 0, -7 ], + "controls": [ + { "left@popup_dialog.modal_left_button": {} }, + { + "right@popup_dialog.modal_rightcancel_button": { + } + } + ] + }, + + "destructive_two_buttons_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 64 ], + "offset": [ 0, -7 ], + "controls": [ + { + "left@popup_dialog.modal_left_button": { + } + }, + { + "right@popup_dialog.modal_rightcancel_button": { + } + } + ] + }, + + "single_button_panel": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 30 ], + "offset": [ 0, -7 ], + "controls": [ + { "left@popup_dialog.modal_middle_button": { "size": [ "100%", "100%" ] } } + ] + }, + + "modal_dialog_base": { + }, + + "modal_dialog_with_buttons": { + "type": "panel", + "anchor_to": "center", + "anchor_from": "center", + "size": "$modal_screen_size", + "controls": [ + { + "background_with_buttons@common.common_panel": { + "$dialog_background": "$dialog_background_override", + "$fill_alpha": 1 + } + }, + { "title@popup_dialog.modal_title_text": {} }, + // Replacing dialog_text_wrapper with modal_label_panel until the + // dialog text wrapper works with tts on focus + // the follow up work item is ADO: 690427 + { + "text@popup_dialog.modal_label_panel": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 23 ], + "size": "$modal_panel_label_size" + } + }, + /*{ + "text_with_buttons@popup_dialog.dialog_text_wrapper": { + "size": "$modal_panel_label_size" + } + },*/ + { + "button_panel@$button_panel": {} + } + ] + }, + + "modal_input_panel@common.input_panel": { + "modal": true, + "layer": 100, + "$popup_dialog_escape_button_name|default": "popup_dialog.escape", + "$popup_dialog_left_button_name|default": "popup_dialog.left_button", + "$popup_dialog_middle_button_name|default": "popup_dialog.middle_button", + "$popup_dialog_rightcancel_button_name|default": "popup_dialog.rightcancel_button", + "$popup_dialog_checkbox_button_name|default": "popup_dialog.checkbox_button", + "ttsSectionContainer": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.menu_secondary_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$popup_dialog_escape_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ], + "controls": [ + { + "black_tint_image@popup_dialog.black_tint_image": { + "ignored": "$is_holographic", + "alpha": 0.5 + } + } + ] + }, + + "modal_dialog_popup": { + "type": "panel", + "variables": [ + { + "requires": "$three_buttons_visible", + "$modal_screen_size": [ 214, 190 ], + "$dialog_background_override": "dialog_background_hollow_6", + "$button_panel": "popup_dialog.three_buttons_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 124px" ] + }, + { + "requires": "$two_buttons_checkbox_visible", + "$modal_screen_size": [ 214, 190 ], + "$dialog_background_override": "dialog_background_hollow_6", + "$button_panel": "popup_dialog.two_buttons_checkbox_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 124px" ] + }, + { + "requires": "$destructive_three_buttons_visible", + "$modal_screen_size": [ 214, 190 ], + "$dialog_background_override": "dialog_background_hollow_6", + "$button_panel": "popup_dialog.destructive_three_buttons_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 124px" ] + }, + { + "requires": "$two_buttons_visible", + "$modal_screen_size": [ 214, 175 ], + "$dialog_background_override": "dialog_background_hollow_1", + "$button_panel": "popup_dialog.two_buttons_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 96px" ] + }, + { + "requires": "$destructive_two_buttons_visible", + "$modal_screen_size": [ 214, 175 ], + "$dialog_background_override": "dialog_background_hollow_1", + "$button_panel": "popup_dialog.destructive_two_buttons_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 96px" ] + }, + { + "requires": "$single_button_visible", + "$modal_screen_size": [ 214, 130 ], + "$dialog_background_override": "dialog_background_hollow_2", + "$button_panel": "popup_dialog.single_button_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 62px" ] + }, + { + "requires": "$no_buttons_visible", + "$modal_screen_size": [ 214, 100 ], + "$dialog_background_override": "dialog_background_hollow_3", + "$button_panel": "common.empty_panel", + "$modal_panel_label_size": [ "100% - 16px", "100% - 28px" ] + } + ], + "controls": [ + { + "modal_input@popup_dialog.modal_input_panel": { + "$show_black_background|default": false, + "controls": [ + { + "modal_bg_buttons@popup_dialog.modal_dialog_with_buttons": { + "$visibility_source_control_name|default": "modal_bg_buttons", + "layer": 2 + } + }, + { + "black_background": { + "type": "image", + "texture": "textures/ui/realms_text_background", + "ignored": "(not $show_black_background)", + "layer": 1 + } + } + ] + } + } + ] + }, + + "hollow_2_bottom_button_panel": { + "type": "panel", + "size": [ "100% + 2px", 28 ], + "offset": [ 0, -1 ], + "controls": [ + { "lower_button_controls@$lower_button_control": {} } + ] + }, + + "form_fit_screen_with_title_and_close_and_bottom_buttons@popup_dialog.form_fit_screen_with_title_and_close": { + "$window_type": "common.dialog_background_hollow_2", + "$panel_size": [ "100%cm + 16px", "100%c + 23px" ], + + "$title_offset": [ 0, 13 ], + + "$content_offset": [ 0, 23 ], + + "$lower_size": [ "100%sm", 42 ], + "$lower_contents": "popup_dialog.hollow_2_bottom_button_panel" + }, + + "form_fit_screen_with_title_and_close": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "layer": 1, + "$no_close_button|default": false, + + "$window_type|default": "common.dialog_background_hollow_3", + "$panel_size|default": [ "100%cm + 16px", "100%c + 31px" ], + + "$title_offset|default": [ 0, 13 ], + + "$content_offset|default": [ 0, 23 ], + + "$lower_size|default": [ "100%sm", 0 ], + "$lower_contents|default": "common.empty_panel", + + "controls": [ + { + "panel_background@$window_type": { + "size": [ "100%sm", "100%sm" ], + "layer": -1 + } + }, + { + "panel_content": { + "type": "panel", + "size": "$panel_size", + "controls": [ + { + "header": { + "type": "panel", + "size": [ "100%c + 15px", 0 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": "$title_offset", + "controls": [ + { + "header_content": { + "type": "label", + "text": "$modal_title", + "$modal_title_binding_type|default": "none", + "$modal_title_binding_condition|default": "none", + "color": "$light_button_default_text_color", + "bindings": [ + { + "binding_name": "$modal_title", + "binding_type": "$modal_title_binding_type", + "binding_condition": "$modal_title_binding_condition" + } + ] + } + } + ] + } + }, + { + "close_button_panel": { + "ignored": "$no_close_button", + "type": "panel", + "size": [ "100%c", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "close@common.close_button": { + "$close_button_offset": [ -1, 1 ], + "$close_button_to_button_id": "$popup_dialog_escape_button_name" + } + } + ] + } + }, + { + "contents": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": "$content_offset", + "controls": [ + { "contents@$modal_contents": {} }, + { + "content_padding@common.empty_panel": { + "$modal_contents_padding|default": [ 0, 0 ], + "size": "$modal_contents_padding" + } + } + ] + } + }, + { + "lower_contents": { + "type": "panel", + "size": "$lower_size", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "contents@$lower_contents": {} } + ] + } + } + ] + } + } + ] + }, + + // form_fit_modal_dialog_popup Variables // + // + // Required: + // $modal_title: The title text + // $modal_contents: The contents displayed in the hollow part of the dialog and + // the control that will determine the size of the popup + // + // Optional Types: + // Used to define new looks for the popup + // $popup_type (default: popup_dialog.form_fit_screen_with_title_and_close) + // 1) popup_dialog.form_fit_screen_with_title_and_close + // Only has a title and the contents + // 2) popup_dialog.form_fit_screen_with_title_and_close_and_bottom_buttons + // Similar to the default but has space at the bottom for buttons + // Required: + // $lower_button_control: Control containing lower buttons (parent size: [ "100%", 28 ]) + // + // Optional: + // $popup_dialog_escape_button_name: The mapping for button.menu_cancel and the close button (default: popup_dialog.escape) + // $modal_contents_padding: The padding around the contents + // $fill_alpha: The hollow content background alpha + // $modal_background: The fullscreen background + // $no_close_button: Disable the close button (will need to change $popup_dialog_escape_button_name to prevent closing) + "form_fit_modal_dialog_popup@popup_dialog.modal_input_panel": { + "size": [ "100%", "100%" ], + "$modal_background|default": "common.screen_background", + "$popup_type|default": "popup_dialog.form_fit_screen_with_title_and_close", + "controls": [ + { "background@$modal_background": {} }, + { "content@$popup_type": {} } + ] + }, + + + //-------------------------------------------------------------------------------- + // Progress Dialog Popup + //-------------------------------------------------------------------------------- + + "progress_dialog_popup@popup_dialog.modal_dialog_popup": { + "type": "input_panel", + "size": [ 268, 95 ], + "layer": 100, + "modal": true, + "$show_close_button|default": false, + "$popup_dialog_left_button_name|default": "popup_dialog.first_button", + "controls": [ + { + "background@common.common_panel": { + "$dialog_background": "dialog_background_hollow_2" + } + }, + { "title@popup_dialog.modal_title_text": {} }, + { + "progress_content@popup_dialog.progress_content": {} + }, + { + "button@popup_dialog.single_button_panel": { + "$visibility_source_control_name|default": "modal_bg_no_buttons", + "bindings": [] //Get rid of default view binding + } + } + ] + }, + + "progress_content": { + "type": "stack_panel", + "layer": 2, + "size": [ "100% - 20px", "100% - 65px" ], + "offset": [ 10, 23 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + + "controls": [ + { + "progress_titles": { + "type": "panel", + "layer": 1, + "size": [ "100%", 10 ], + + "controls": [ + { "current_progress_label@popup_dialog.current_progress_label": {} }, + { "total_progress_label@popup_dialog.total_progress_label": {} } + ] + } + }, + { + "progress_bar@popup_dialog.progress_bar_icon": { + "layer": 1, + "size": [ "100%", 5 ] + } + } + ] + }, + + "progress_label": { + "type": "label", + "color": "$body_text_color", + "size": [ "default", "100%" ], + "text": "#progress_label", + "bindings": [ + { + "binding_name": "$label_binding_name", + "binding_name_override": "#progress_label" + } + ] + }, + + "current_progress_label@popup_dialog.progress_label": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "$label_binding_name": "#progress_current_label" + }, + + "total_progress_label@popup_dialog.progress_label": { + "layer": 1, + "anchor_from": "top_right", + "anchor_to": "top_right", + "$label_binding_name": "#progress_total_label" + }, + + "progress_bar_icon": { + "type": "panel", + "controls": [ + { + "full_progress_bar_icon@popup_dialog.full_progress_bar_icon": { + "layer": 2 + } + }, + { + "empty_progress_bar_icon@popup_dialog.empty_progress_bar_icon": { + "layer": 1 + } + }, + { + "progress_bar_nub@popup_dialog.progress_bar_nub": { + "size": [ "100% - 10px", 5 ], + "layer": 3 + } + } + ] + }, + + "empty_progress_bar_icon": { + "type": "image", + "texture": "textures/ui/experiencebarempty" + }, + + "full_progress_bar_icon": { + "type": "image", + "texture": "textures/ui/experiencebarfull", + "clip_direction": "left", + "clip_pixelperfect": false, + "$progress_bindings|default": [ + { + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio", + "binding_type": "global" + } + ], + "bindings": "$progress_bindings" + }, + + "progress_bar_nub": { + "type": "image", + "texture": "textures/ui/experiencenub", + "tiled": true + } +} diff --git a/resource_pack/ui/portfolio_screen.json b/resource_pack/ui/portfolio_screen.json new file mode 100644 index 0000000..b8a42d7 --- /dev/null +++ b/resource_pack/ui/portfolio_screen.json @@ -0,0 +1,978 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "portfolio", + + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + "screenshot": { + "type": "image", + "texture_file_system": "$screenshot_file_system", + "layer": 1, + "$screenshot_collection_name|default": "photos", + + "bindings": [ + { + "binding_name": "#screenshot_path", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$screenshot_collection_name" + } + ] + }, + + "screenshot_frame": { + "type": "image", + "texture": "$screenshot_frame_texture", + "layer": 1 + }, + + "trash_default": { + "type": "image", + "texture": "textures/ui/book_trash_default" + }, + + "trash_hover": { + "type": "image", + "texture": "textures/ui/trash_hover" + }, + + "trash_pressed": { + "type": "image", + "texture": "textures/ui/trash_pressed" + }, + + + "photo_trash_button_left@edu_common.photo_trash_button": { + "offset": [ "22%-50%x", -11 ], + "size": [18, 18], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#left_photo_visibility", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.portfolio_delete_photo_left", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.portfolio_delete_photo_left", + "mapping_type": "focused" + } + ], + "controls": [ + { "default@portfolio.trash_default": {} }, + { "hover@portfolio.trash_hover": {} }, + { "pressed@portfolio.trash_pressed": {} } + ] + }, + + "photo_trash_button_right@edu_common.photo_trash_button": { + "offset": [ "-28%+50%x", -11 ], + "size": [ 18, 18 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + + "bindings": [ + { + "binding_name": "#right_photo_visibility", + "binding_name_override": "#visible" + } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.portfolio_delete_photo_right", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.portfolio_delete_photo_right", + "mapping_type": "focused" + } + ], + "controls": [ + { "default@portfolio.trash_default": {} }, + { "hover@portfolio.trash_hover": {} }, + { "pressed@portfolio.trash_pressed": {} } + ] + }, + + "photo_number": { + "type": "label", + "offset": [ 0, -24 ], + "layer": 1, + "size": [ 60, 30 ], + "text": "#item_name", + "color": "$portfolio_body_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "shadow": false + }, + + "photo_number_left@portfolio.photo_number": { + "offset": [ "50%x", -88 ], + "size": [ "25%", "default" ], + "text_alignment": "center", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#photo_page_item_name_left", + "binding_name_override": "#item_name", + "binding_type": "collection", + "binding_collection_name": "photos" + } + ] + }, + + "photo_number_right@portfolio.photo_number": { + "offset": [ "-50%x", -88 ], + "size": [ "25%", "default" ], + "text_alignment": "center", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "bindings": [ + { + "binding_name": "#photo_page_item_name_right", + "binding_name_override": "#item_name", + "binding_type": "collection", + "binding_collection_name": "photos" + } + ] + }, + + "photo_corner_bl": { + "type": "image", + "texture": "textures/ui/photo_corner_bl", + "size": [ 19, 19 ], + "offset": [ -1, 1 ], + "layer": 1, + "anchor_to": "bottom_left", + "anchor_from": "bottom_left" + }, + + "photo_corner_br": { + "type": "image", + "texture": "textures/ui/photo_corner_br", + "size": [ 19, 19 ], + "offset": [ 1, 1 ], + "layer": 1, + "anchor_to": "bottom_right", + "anchor_from": "bottom_right" + }, + + "photo_corner_tr": { + "type": "image", + "texture": "textures/ui/photo_corner_tr", + "size": [ 19, 19 ], + "offset": [ 1, -1 ], + "layer": 1, + "anchor_to": "top_right", + "anchor_from": "top_right" + }, + + "photo_corner_tl": { + "type": "image", + "texture": "textures/ui/photo_corner_tl", + "size": [ 19, 19 ], + "offset": [ -1, -1 ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left" + }, + + "page_photo": { + "type": "panel", + "layer": 1, + // Photos are square, so use x for y size + "size": [ "100%-32px", "100%x" ], + "offset": [ 0, -2 ], + "controls": [ + { + "screenshot@portfolio.screenshot": { + "bindings": [ + { + "binding_name": "#screenshot_path", + "binding_name_override": "#texture", + "binding_type": "global" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "screenshot_column_collection", + "binding_collection_prefix": "screenshot_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "screenshot_row_collection", + "binding_collection_prefix": "screenshot_row" + } + ] + } + }, + { "screenshot_frame@portfolio.screenshot_frame": { "layer": 4 } }, + { "photo_corner_bl@portfolio.photo_corner_bl": { "layer": 5 } }, + { "photo_corner_br@portfolio.photo_corner_br": { "layer": 5 } }, + { "photo_corner_tl@portfolio.photo_corner_tl": { "layer": 5 } }, + { "photo_corner_tr@portfolio.photo_corner_tr": { "layer": 5 } } + ] + }, + + "pick_item@common.empty_panel": { + "type": "panel", + "size": [ 100, 100 ], + "$screenshot_collection_name": "screenshot", + "controls": [ + { + "photo@portfolio.page_photo": { + "size": [ "100% - 8px", "100% - 8px" ], + "bindings": [], + "$caption_enabled": false + } + }, + { + "button": { + "type": "button", + "size": [ "100% - 8px", "100% - 8px" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "screenshot_column_collection", + "binding_collection_prefix": "screenshot_column" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "screenshot_row_collection", + "binding_collection_prefix": "screenshot_row" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.picked", + "mapping_type": "pressed" + } + ] + } + } + ] + }, + + "header": { + "type": "label", + "max_size": [ "100%", "default" ], + "color": "$book_page_number_color", + "text": "$header_text" + }, + + "screenshot_grid@edu_common.stack_panel_grid": { + "$grid_collection_prefix": "screenshot", + "$stack_grid_item": "portfolio.pick_item" + }, + + "text_centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "header@portfolio.header": { + "$header_text": "book.headerInventory" + } + } + ] + }, + + "pick_scrolling_content": { + "type": "stack_panel", + "size": [ "100%", "default" ], + "controls": [ + { "header@portfolio.text_centering_panel": {} }, + { "portfolio_grid@portfolio.screenshot_grid": {} } + ] + }, + + "no_pick_photos_alert_label": { + "layer": 12, + "type": "label", + "size": [ "50%", "default" ], + "text_alignment": "center", + "color": "$portfolio_body_text_color", + "bindings": [ + { + "binding_name": "#no_pick_photos_alert_visibility", + "binding_name_override": "#visible" + } + ], + "text": "portfolioScreen.noInventory" + }, + + "pick_panel": { + "type": "image", + "texture": "textures/ui/book_frame", + "size": [ 225, 231 ], + + "controls": [ + { + "scroll@common.scrolling_panel": { + "$show_background": false, + "$scrolling_pane_size": [ "100% - 16px", "100% - 30px" ], + "$scrolling_pane_offset": [ 8, 21 ], + "$scrolling_content": "portfolio.pick_scrolling_content" + } + }, + { + "close_button@portfolio.close_button": { + "offset": [ -7, 7 ] + } + }, + { + "no_pick_photos_alert_label@portfolio.no_pick_photos_alert_label": {} + } + ] + }, + + "text_edit_box_default_indent": { + "type": "panel", + "allow_clipping": false + }, + + "text_edit_box_hover_indent@portfolio.text_edit_box_default_indent": { + "controls": [ + { + "focus_border_white@common.focus_border_white": { + "allow_clipping": false, + "$focus_border_color": [ 0.0, 0.0, 0.0, 0.0 ] + } + } + ] + }, + + // ************************************************** + + "text_edit_control@common.multiline_text_edit_box": { + "anchor_from": "bottom_middle", // the parent + "anchor_to": "bottom_middle", // this control + "constrain_to_rect": true, + "enabled_newline": true, + "layer": 100, + "$text_edit_binding_name": "#text_box_item_name", + "property_bag": { + "#property_field": "#item_name" + }, + "max_length": 1000, // use the parent area + "$panel_offset|default": [ 0, 0 ], + "size": [ "85%", 22 ], + "offset": "$panel_offset", + "$place_holder_text": "portfolioScreen.caption", + "$text_edit_box_content_binding_type": "collection", + "$text_edit_box_grid_collection_name": "photos", + "$text_box_name": "#text_box_photos", + "$text_color_binding_type": "global", + "$text_alignment": "center", + "variables": [ + { + "requires": "($pocket_screen)", + "$panel_offset": [ 0, 2 ] + } + ], + "controls": [ + { + "clipper_panel": { + "type": "panel", + "size": [ "100% - 6px", "100% - 4px" ], + "clips_children": true, + "$disabled_color|default": "$color", + + "controls": [ + { + "display_text@common.text_edit_box_label": { + "layer": 1, + "size": "$text_edit_box_label_size", + "min_size": [ "100%", 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$text_alpha|default": "$alpha", + "$locked_text_alpha|default": "$disabled_alpha", + "$locked_color|default": "$disabled_color", + "$text_box_tts_name": "accessibility.textbox.tts.title" + } + }, + { + "place_holder_control@$place_holder_control": { + "layer": 1, + "size": "$text_edit_box_label_size", + "min_size": [ "100%", 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$text_alpha|default": "$alpha", + "$locked_text_alpha|default": "$disabled_alpha", + "$locked_color|default": "$disabled_color" + } + } + ] + } + }, + { + "locked": { + "type": "panel", + "$disabled_color|default": "$color", + "controls": [ + { + "edit_box_indent@common.edit_box_indent": { + "$color": "$disabled_color", + "$alpha": "$disabled_alpha" + } + } + ] + } + }, + { "default@portfolio.text_edit_box_default_indent": {} }, + { "hover@portfolio.text_edit_box_hover_indent": {} }, + { "pressed@portfolio.text_edit_box_hover_indent": {} } + + ] + }, + "photo_item": { + "type": "panel", + "layer": 1, + "size": [ "75%", "100%x" ], + "offset": [ 0, -2 ], + "bindings": [ + { + "binding_name": "#photo_visibility", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "photos" + } + ], + "controls": [ + { "screenshot@portfolio.screenshot": {} }, + { "screenshot_frame@portfolio.screenshot_frame": { "layer": 2 } }, + { "text_edit_control@portfolio.text_edit_control": { "layer": 3 } }, + { "photo_corner_bl@portfolio.photo_corner_bl": { "layer": 4 } }, + { "photo_corner_br@portfolio.photo_corner_br": { "layer": 4 } }, + { "photo_corner_tl@portfolio.photo_corner_tl": { "layer": 4 } }, + { "photo_corner_tr@portfolio.photo_corner_tr": { "layer": 4 } } + ] + }, + + "photo_grid_item": { + "type": "panel", + "controls": [ + { "photo_item@portfolio.photo_item": {} } + ] + }, + + "photo_list_grid": { + "type": "grid", + "grid_item_template": "photo_grid_item", + "grid_dimensions": [ 2, 1 ], + "collection_name": "photos", + "size": "$book_size" + }, + // ************************************************** + + // ----------------------------------------- + // Photo Page PREV + // ----------------------------------------- + "prev_button_default": { + "type": "image", + "texture": "textures/ui/portfolio_pageleft_default" + }, + + "prev_button_hover": { + "type": "image", + "texture": "textures/ui/portfolio_pageleft_hover" + }, + + "prev_button_pressed": { + "type": "image", + "texture": "textures/ui/portfolio_pageleft_pressed" + }, + + "photo_page_prev_button@common.button": { + "type": "button", + "focus_enabled": true, + "size": [ 24, 24 ], + "layer": 1, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 6, -8 ], + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "default_focus_precedence": 1, + "bindings": [ + { + "binding_name": "#page_prev_visibility", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.portfolio_page_prev", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.portfolio_page_prev", + "mapping_type": "focused" + } + ], + "controls": [ + { "default@portfolio.prev_button_default": {} }, + { "hover@portfolio.prev_button_hover": {} }, + { "pressed@portfolio.prev_button_pressed": {} } + ] + }, + + + // ----------------------------------------- + // Photo Page NEXT + // ----------------------------------------- + "next_button_default": { + "type": "image", + "texture": "textures/ui/portfolio_pageright_default" + }, + + "next_button_hover": { + "type": "image", + "texture": "textures/ui/portfolio_pageright_hover" + }, + + "next_button_pressed": { + "type": "image", + "texture": "textures/ui/portfolio_pageright_pressed" + }, + + "photo_page_next_button@common.button": { + "type": "button", + "focus_enabled": true, + "size": [ 24, 24 ], + "layer": 1, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -6, -8 ], + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "default_focus_precedence": 2, + "bindings": [ + { + "binding_name": "#page_next_visibility", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.portfolio_page_next", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.portfolio_page_next", + "mapping_type": "focused" + } + ], + "controls": [ + { "default@portfolio.next_button_default": {} }, + { "hover@portfolio.next_button_hover": {} }, + { "pressed@portfolio.next_button_pressed": {} } + ] + }, + + + // ----------------------------------------- + // Photo Convert to Item LEFT + // ----------------------------------------- + "convert_button_default": { + "type": "image", + "texture": "textures/ui/portfolio_convertpicture_default" + }, + + "convert_button_hover": { + "type": "image", + "texture": "textures/ui/portfolio_convertpicture_hover" + }, + + "convert_button_pressed": { + "type": "image", + "texture": "textures/ui/portfolio_convertpicture_pressed" + }, + + "photo_convert_left_button@common.button": { + "type": "button", + "focus_enabled": true, + "size": [ 18, 18 ], + "layer": 1, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_name": "#left_photo_visibility", + "binding_name_override": "#visible" + } + ], + "offset": [ "28%-50%x", -9 ], + "default_focus_precedence": 1, + "$pressed_button_name": "button.portfolio_convert_left", + "controls": [ + { "default@portfolio.convert_button_default": {} }, + { "hover@portfolio.convert_button_hover": {} }, + { "pressed@portfolio.convert_button_pressed": {} } + ] + }, + + // ----------------------------------------- + // Photo Convert to Item RIGHT + // ----------------------------------------- + "photo_convert_right_button@common.button": { + "type": "button", + "focus_enabled": true, + "size": [ 18, 18 ], + "layer": 1, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_name": "#right_photo_visibility", + "binding_name_override": "#visible" + } + ], + "offset": [ "-22%+50%x", -9 ], + "default_focus_precedence": 1, + "$pressed_button_name": "button.portfolio_convert_right", + "controls": [ + { "default@portfolio.convert_button_default": {} }, + { "hover@portfolio.convert_button_hover": {} }, + { "pressed@portfolio.convert_button_pressed": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Bottom Buttons + //--------------------------------------------------------------------------- + + "bottom_button_panel": { + "type": "panel", + "size": "$book_size", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "export_button@portfolio.export_button": {} }, + { "im_content_button@portfolio.im_content_button": {} }, + { "add_photo_button@portfolio.add_photo_button": {} } + ] + }, + + "im_content_button@im_reader.reader_button": { + "size": [ "100%y", "100%sm" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_name": "#export_visibility", + "binding_name_override": "#visible" + } + ] + }, + + "export_button@common_buttons.light_text_button": { + "type": "button", + "size": [ 110, 20 ], + "offset": [ "65%x", "0%y" ], + "$button_text": "portfolioScreen.export", + "$pressed_button_name": "button.portfolio_export", + "layer": 1, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#export_visibility", + "binding_name_override": "#visible" + } + ] + }, + + "add_photo_button@common_buttons.light_text_button": { + "type": "button", + "size": [ 110, 20 ], + "offset": [ "-65%x", "0%y" ], + "$button_text": "portfolioScreen.addPhoto", + "$pressed_button_name": "button.portfolio_add_photo", + "layer": 1, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_name": "#viewing", + "binding_name_override": "#visible" + } + ] + }, + + + + + //--------------------------------------------------------------------------- + // Background + //--------------------------------------------------------------------------- + "book_binding": { + "type": "image", + "texture": "textures/ui/book_binding", + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 7 ], + "size": [ "1.5%", "100%-7px" ] + }, + + "book_spine": { + "type": "image", + "texture": "textures/ui/book_spine", + "layer": 1 + }, + + "book_background": { + "type": "image", + "texture": "textures/ui/book_frame", + "controls": [ + { "book_binding@portfolio.book_binding": {} }, + { + "top_spine@portfolio.book_spine": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 1 ], + "size": [ 7, 6 ] + } + }, + { + "bottom_spine@portfolio.book_spine": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -1 ], + "size": [ 7, 7 ] + } + } + ] + }, + + "header_panel": { + "type": "panel", + "size": [ "100%", 27 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "header_background": { + "type": "image", + "texture": "textures/ui/header_bar" + } + } + ] + }, + + "close_button_default": { + "type": "image", + "texture": "textures/ui/close_button_default", + "color": "$portfolio_close_color" + }, + + "close_button_hover": { + "type": "image", + "texture": "textures/ui/close_button_hover" + }, + + "close_button_pressed": { + "type": "image", + "texture": "textures/ui/close_button_pressed" + }, + + "close_button": { + "type": "button", + "size": [ 14, 14 ], + "layer": 10, + "anchor_from": "top_right", + "anchor_to": "top_right", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "focus_enabled": false, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.close_button", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.close_button", + "mapping_type": "global" + } + ], + "controls": [ + { "default@portfolio.close_button_default": {} }, + { "hover@portfolio.close_button_hover": {} }, + { "pressed@portfolio.close_button_pressed": {} } + ] + }, + + //--------------------------------------------------------------------------- + // No pics alert + //--------------------------------------------------------------------------- + "no_photos_alert_label": { + "layer": 11, + "type": "label", + "offset": [ "50%x", 0 ], + "size": [ "25%", "default" ], + "text_alignment": "center", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "color": "$portfolio_body_text_color", + "bindings": [ + { + "binding_name": "#no_pics_alert_visibility", + "binding_name_override": "#visible" + } + ], + "text": "portfolioScreen.nopics0" + }, + + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + + + "book_and_buttons_panel": { + "type": "panel", + "size": [ "100%cm", "100%" ], + "max_size": [ "100%", 231 ], + + "controls": [ + { + "book_panel": { + "type": "panel", + "size": "$book_size", + "max_size": [ 320, "100% - 20px" ], + "offset": [ 0, -10 ], + + "controls": [ + { + "book_background@portfolio.book_background": { + "bindings": [ + { + "binding_name": "#viewing", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "close_button@portfolio.close_button": { + "offset": [ -7, 7 ], + "bindings": [ + { + "binding_name": "#viewing", + "binding_name_override": "#visible" + } + ] + } + }, + + { "photo_list_grid@portfolio.photo_list_grid": {} }, + + { "photo_number_left@portfolio.photo_number_left": {} }, + { "photo_number_right@portfolio.photo_number_right": {} }, + + { "photo_trash_button_left@portfolio.photo_trash_button_left": {} }, + { "photo_trash_button_right@portfolio.photo_trash_button_right": {} }, + + { "photo_page_prev_button@portfolio.photo_page_prev_button": {} }, + { "photo_page_next_button@portfolio.photo_page_next_button": {} }, + + { "photo_convert_left_button@portfolio.photo_convert_left_button": {} }, + { "photo_convert_right_button@portfolio.photo_convert_right_button": {} }, + + { "no_photos_alert_label@portfolio.no_photos_alert_label": {} } + ] + } + }, + + { "bottom_button_panel@portfolio.bottom_button_panel": {} } + ] + }, + + + // Root panel all others parented to + "root_panel": { + "type": "panel", + "layer": 1 + }, + + "portfolio_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "portfolio.portfolio_screen_content" + }, + + "portfolio_screen_content": { + "type": "panel", + "controls": [ + { + "root_panel@portfolio.root_panel": { + "layer": 1, + "$book_size": [ 320, 207 ], + "$page_size": [ 160, 207 ], + + "controls": [ + + { + "book_and_buttons_panel@portfolio.book_and_buttons_panel": { + "bindings": [ + { + "binding_name": "#viewing", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "pick_panel@portfolio.pick_panel": { + "bindings": [ + { + "binding_name": "#picking", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/post_rating_screen.json b/resource_pack/ui/post_rating_screen.json new file mode 100644 index 0000000..dfff432 --- /dev/null +++ b/resource_pack/ui/post_rating_screen.json @@ -0,0 +1,331 @@ +{ + "namespace": "post_rating", + + "rating_dropdown_button_panel": { + "type": "stack_panel", + "size": [ "100% - 12px", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "rating_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "rating_stars@pdp.scaling_rating": { + "size": [ "75%", "20%x" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$rating_bind_name": "#player_rating" + } + } + ] + } + }, + { + "arrow_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%c", "100%" ], + "controls": [ + { + "arrow@settings_common.arrow_image": {} + } + ] + } + } + ] + }, + + "star": { + "type": "panel", + "controls": [ + { + "bg": { + "type": "image", + "texture": "textures/ui/ratings_nostar", + "ignored": "($star_index < $star_count-1)", + "bilinear": true + } + }, + { + "fg": { + "type": "image", + "layer": 4, + "texture": "textures/ui/ratings_fullstar", + "ignored": "($star_index > $star_count-1)", + "bilinear": true + } + } + ] + }, + + "star_grid": { + "type": "grid", + "grid_dimensions": [ 5, 1 ], + "controls": [ + { + "star_1@star": { + "grid_position": [ 0, 0 ], + "$star_index": 0 + } + }, + { + "star_2@star": { + "grid_position": [ 1, 0 ], + "$star_index": 1 + } + }, + { + "star_3@star": { + "grid_position": [ 2, 0 ], + "$star_index": 2 + } + }, + { + "star_4@star": { + "grid_position": [ 3, 0 ], + "$star_index": 3 + } + }, + { + "star_5@star": { + "grid_position": [ 4, 0 ], + "$star_index": 4 + } + } + ] + }, + + "rating_radio": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "17px" ], + "$enabled|default": true, + "$no_label": true, + "controls": [ + { + "radio_with_label_core@settings_common.radio_with_label_core": { + "offset": [ 5, 0 ] + } + }, + { + "star_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "50%", "80%" ], + "offset": [ 20, -1 ], + "controls": [ + { + "star_grid@star_grid": {} + } + ] + } + } + ] + }, + + "rating_dropdown_content@settings_common.option_radio_dropdown_group": { + "size": [ "100%", "100%c + 4px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$show_option_label": false, + "$radio_buttons": [ + { + "5_star@post_rating.rating_radio": { + "min_size": [ "100%", 22 ], + "$toggle_state_binding_name": "#current_rating_5", + "$star_count": 5 + } + }, + { + "4_star@post_rating.rating_radio": { + "min_size": [ "100%", 22 ], + "$toggle_state_binding_name": "#current_rating_4", + "$star_count": 4 + } + }, + { + "3_star@post_rating.rating_radio": { + "min_size": [ "100%", 22 ], + "$toggle_state_binding_name": "#current_rating_3", + "$star_count": 3 + } + }, + { + "2_star@post_rating.rating_radio": { + "min_size": [ "100%", 22 ], + "$toggle_state_binding_name": "#current_rating_2", + "$star_count": 2 + } + }, + { + "1_star@post_rating.rating_radio": { + "min_size": [ "100%", 22 ], + "$toggle_state_binding_name": "#current_rating_1", + "$star_count": 1 + } + } + ] + }, + + "dropdown_background": { + "layer": 1, + "type": "image", + "texture": "textures/ui/Banners" + }, + + "rating_dropdown_control": { + "type": "panel", + "size": [ "100%", 30 ], + "anchor_from": "center", + "anchor_to": "center", + "$dropdown_background_control|default": "common.dropdown_background", + "$dropdown_toggle_override|default": "", + "$option_dropdown_type|default": "common.dropdown", + "controls": [ + { + "dropdown@$option_dropdown_type": { + "$dropdown_background": "$dropdown_background_control", + "$dropdown_content|default": "unset_dropdown_content", + "$dropdown_name|default": "unset $dropdown_name", + "$options_dropdown_toggle_label_binding|default": "unset $options_dropdown_toggle_label_text", + "$locked_alpha": 0.5 + } + } + ] + }, + + "rating_dropdown@post_rating.rating_dropdown_control": { + "$option_dropdown_type": "common.dropdown_no_scrollpanel", + "$option_enabled_binding_name|default": "", + "$enabled|default": true, + "$button_type_panel": "post_rating.rating_dropdown_button_panel", + "$dropdown_background_control": "post_rating.dropdown_background", + "$dropdown_toggle": "settings_common.options_dropdown_dark_toggle_control", + "$show_option_label": false, + "$dropdown_content": "post_rating.rating_dropdown_content", + "$dropdown_area": "dialog", + "$dropdown_name": "rating_dropdown" + }, + + "main_panel": { + "type": "panel", + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "content": { + "type": "stack_panel", + "size": [ "100% - 2px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "header": { + "type": "label", + "size": [ "100%", "default" ], + "text": "review.item.post.rating.dropdown.label", + "text_alignment": "left", + "color": "$body_text_color" + } + }, + {"rating@rating_dropdown": {} }, + { + "footer": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 5 ], + "size": [ "100%", "default" ], + "text_alignment": "left", + "color": "$body_text_color", + "text": "#footer_text", + "bindings": [ + { + "binding_name": "#footer_text" + } + ] + } + } + ] + } + } + ] + } + }, + { + "submit_button@common_buttons.light_text_button": { + "anchor_from": "bottom_middle", + "anchor_to": "top_middle", + "size": [ "100% + 2px", 30 ], + "offset": [ 0, 5 ], + "layer": 2, + "$button_text": "review.item.post.rating.submit.button", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.submit_rating", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.submit_rating", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + "title_label@common_dialogs.standard_title_label": { + "text_alignment": "left", + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "post_rating_screen_content": { + "type": "panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_one_button": { + "$use_custom_title_control": true, + "$custom_title_label": "post_rating.title_label", + "$dialog_background": "dialog_background_hollow_2", + "$title_size": [ "100% - 14px", 10 ], + "size": "$tall_modal_screen_size", + "$text_name": "store.ratings.rate", + "$title_text_binding_type": "none", + "$child_control": "post_rating.main_panel", + "layer": 2 + } + }, + { + "background@common.screen_background": { + "alpha": 0.85, + "layer": 1 + } + } + ] + }, + "post_rating_screen@common_store.store_base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "force_render_below": true, + "$screen_content": "post_rating.post_rating_screen_content" + } +} diff --git a/resource_pack/ui/profile_card.json b/resource_pack/ui/profile_card.json new file mode 100644 index 0000000..8c4924e --- /dev/null +++ b/resource_pack/ui/profile_card.json @@ -0,0 +1,1112 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "profile_card", + + "online_image": { + "type": "image", + "texture": "textures/ui/online", + "size": [ 7, 7 ] + }, + + "offline_image": { + "type": "image", + "texture": "textures/ui/offline", + "size": [ 7, 7 ] + }, + + "gamer_score_icon": { + "type": "image", + "texture": "textures/ui/gamerscore", + "size": [ 11, 11 ] + }, + + "dropdown_border_line": { + "type": "image", + "texture": "textures/ui/whiteline", + "color": "$dropdown_divider_color", + "tiled": true + }, + + "hammer_l_icon": { + "type": "image", + "texture": "textures/ui/hammer_l", + "size": [ 15, 15 ] + }, + + "hammer_r_icon": { + "type": "image", + "texture": "textures/ui/hammer_r", + "size": [ 15, 15 ] + }, + + "unfriend_x_icon_default": { + "type": "image", + "texture": "textures/ui/x_dropdown_default", + "size": [ 9, 9 ] + }, + + "unfriend_x_icon_hover": { + "type": "image", + "texture": "textures/ui/x_dropdown_hover", + "size": [ 9, 9 ] + }, + + "player_gamer_pic": { + "type": "custom", + "renderer": "profile_image_renderer", + "size": [ 32, 32 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#profile_image_options" + } + ], + "controls": [ + { + "player_panel_black_border@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "player_platform_pic": { + "type": "image", + "size": [ 32, 32 ], + "layer": 1, + "texture": "textures/ui/gamerpic", + "bindings": [ + { + "binding_name": "#platform_picture_path", + "binding_name_override": "#texture" + }, + { + "binding_name": "#platform_picture_file_system", + "binding_name_override": "#texture_file_system" + } + ], + "controls": [ + { + "player_panel_black_border@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "player_gamer_pic_panel": { + "type": "panel", + "size": [ "100%c + 2px", "100%c + 2px" ], + "controls": [ + { + "player_gamer_pic@profile_card.player_gamer_pic": {} + } + ] + }, + + "player_platform_pic_panel": { + "type": "panel", + "size": [ "100%c + 2px", "100%c + 2px" ], + "controls": [ + { + "player_platform_pic@profile_card.player_platform_pic": {} + } + ] + }, + + "x_radio_visuals": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 20 ], + "$alpha|default": 1.0, + "$radio_label_bindings|default": [], + "$radio_label_color|default": "$main_header_text_color", + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "icon_panel": { + "type": "panel", + "size": [ 9, "100%" ], + "controls": [ + { + "texture_icon": { + "type": "image", + "texture": "$icon_texture", + "size": [ 9, 9 ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 6, "100%" ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "radio_label": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$radio_label_text", + "color": "$radio_label_color", + "offset": [ 0, 0.5 ], + "size": [ "100% - 4px", "default" ], + "alpha": "$alpha", + "bindings": "$radio_label_bindings" + } + } + ] + } + } + ] + }, + + "x_default_state@profile_card.x_radio_visuals": { + "$icon_texture": "textures/ui/x_dropdown_default" + }, + + "x_hover_state@profile_card.x_radio_visuals": { + "$icon_texture": "textures/ui/x_dropdown_hover" + }, + + "gamer_score_label": { + "type": "label", + "text": "#gamer_score", + "layer": 2, + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#gamer_score" + } + ] + }, + + "profile_labels": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "gamertag_label": { + "type": "label", + "size": [ "100%", "default" ], + "offset": [ 0, 2 ], + "text": "#gamertag", + "layer": 2, + "color": "$body_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "#gamertag" + } + ] + } + }, + { + "gamer_score_panel": { + "type": "stack_panel", + "size": [ "100%", 11 ], + "offset": [ 0, -2 ], + "orientation": "horizontal", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "gamer_score_icon@profile_card.gamer_score_icon": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "gamer_score_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "gamer_score@profile_card.gamer_score_label": { + "size": [ "100%", "default" ], + "offset": [ 0, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + } + ] + } + } + ] + }, + + "online_indicator": { + "type": "panel", + "size": [ 7, "100%" ], + "controls": [ + { + "online@profile_card.online_image": { + "offset": [ 0, 3 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "#player_online", + "binding_name_override": "#visible" + } + ] + } + }, + { + "offline@profile_card.offline_image": { + "offset": [ 0, 3 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "#player_offline", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "platform_indicator": { + "type": "panel", + "size": [ 11, 11 ] + }, + + "presence_info": { + "type": "stack_panel", + "size": [ "100%c", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "online_indicator@profile_card.online_indicator": { + "bindings": [ + { + "binding_name": "(not #platform_info_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "platform_indicator@profile_card.platform_indicator": {} + } + ] + }, + + "profile_info": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 34 ], + "controls": [ + { + "profile_pic@profile_card.player_gamer_pic_panel": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "profile_labels@profile_card.profile_labels": {} + }, + { + "presence_info@profile_card.presence_info": {} + } + ] + }, + + "platform_info": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 34 ], + "controls": [ + { + "profile_pic@profile_card.player_platform_pic_panel": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "platform_labels": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "platform_label": { + "type": "label", + "size": [ "100% - 30px", "default" ], + "offset": [ 0, 2 ], + "text": "#platform_name", + "layer": 2, + "color": "$body_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_name": "#platform_name" + } + ] + } + }, + { "platform_icon_panel@profile_card.platform_icon_panel": {} }, + { + "online_indicator@profile_card.online_image": { + "size": [ 7, "100%" ], + "offset": [ -3, -10 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + } + } + ] + }, + + "platform_icon_panel": { + "type": "panel", + "size": [ 15, 15 ], + "anchor_to": "right_middle", + "anchor_from": "right_middle", + "offset": [ -15, -10 ], + "controls": [ + { + "platform_icon": { + "type": "image", + "ignored": "(not $xbl_platform_icons_visible)", + "texture": "textures/ui/platform_icon", + "layer": 1, + "size": [ "100%-2px", "100%-2px" ] + } + } + ] + }, + + "add_friend_dropdown_panel": { + "type": "stack_panel", + "size": [ "100% - 12px", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "add_friend_label@profile_card.add_friend_label": {} + } + ] + } + }, + { + "arrow_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%c", "100%" ], + "controls": [ + { + "arrow@settings_common.arrow_image": {} + } + ] + } + } + ] + }, + + "add_friend_label@common.new_button_label": { + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "default" ], + "text": "$options_dropdown_toggle_label_binding", + "alpha": "$alpha", + "bindings": [ + { + "binding_name": "$options_dropdown_toggle_label_binding", + "binding_condition": "none" + } + ] + }, + + "platform_dialog_scrolling_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "platform_info@profile_card.platform_info": {} + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "title_presence_info": { + "type": "label", + "size": [ "100%", "default" ], + "min_size": [ "100%", 20 ], + "text": "profile.platform.currentlyPlaying", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "(not #xbl_info_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#platform_info_visible", + "binding_name_override": "#visible" + } + ] + }, + + "xbl_dialog_scrolling_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "profile_info@profile_card.profile_info": {} + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "title_presence_info": { + "type": "label", + "size": [ "100%", "default" ], + "min_size": [ "100%", 20 ], + "text": "#currently_playing", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#currently_playing" + }, + { + "binding_name": "#currently_playing_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ], + "bindings": [ + { + "binding_name": "#currently_playing_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "add_friend_button@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "ignored": "$is_current_profile", + "$pressed_button_name": "button.add_friend", + "$button_text": "#add_friend_button_text", + "$button_text_binding_type": "global", + "$button_binding_condition": "once", + "bindings": [ + { + "binding_name": "(#add_friend_button_visible)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#add_friend_button_text" + } + ], + "variables": [ + { + "requires": "($nx_os or $is_ps4)", + "$focus_override_down": "mute_option" + } + ] + } + }, + { + "remove_friend_button@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "ignored": "($is_current_profile or (not $nx_os and not $is_ps4))", + "$pressed_button_name": "button.remove_friend", + "$button_text": "#remove_friend_button_text", + "$button_text_binding_type": "global", + "$button_binding_condition": "once", + "$focus_override_down": "mute_option", + "bindings": [ + { + "binding_name": "(#remove_friend_button_visible)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#remove_friend_button_text" + } + ] + } + }, + { + "adding_friend_progress_bars": { + "type": "image", + "texture": "textures/ui/mainbanners", + "size": [ "100%", 30 ], + "controls": [ + { + "searching_bars@common_store.progress_loading_spinner": { + "size": [ "10px", "10px" ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ], + "bindings": [ + { + "binding_name": "#add_remove_in_progress", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 4 ], + "ignored": "$is_current_profile", + "bindings": [ + { + "binding_name": "(not #is_friend)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "dropdown_visibility_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "ignored": "($is_current_profile or $nx_os or $is_ps4)", + "$focus_override_down": "mute_option", + "controls": [ + { + "friends_dropdown@settings_common.option_dropdown": { + "$button_content": "profile_card.add_friend_dropdown_panel", + "$show_option_label": false, + "$option_label": "#friend_status_dropdown_toggle_label", + "$dropdown_content": "profile_card.add_friend_dropdown_content", + "$dropdown_area": "dialog_content", + "$dropdown_name": "add_friend_dropdown", + "$options_dropdown_toggle_label_binding": "#friend_status_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", 112 ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_friend", + "binding_name_override": "#visible" + } + ] + } + }, + { + "real_name_message": { + "type": "label", + "text": "xbox.profile.realName", + "color": "$body_text_color", + "size": [ "100%", "default" ] + } + }, + { + "padding_4": { + "type": "panel", + "size": [ "100%", 4 ], + "ignored": "$is_current_profile" + } + }, + { + "mute_option@profile_card.toggle_option": { + "$toggle_label": "xbox.profile.mute", + "$option_binding_name": "#mute_player", + "$toggle_name": "mute_player", + "ignored": "$is_current_profile", + "$focus_id": "mute_option" + } + }, + { + "padding_5": { + "type": "panel", + "size": [ "100%", 4 ], + "ignored": "$is_current_profile" + } + }, + { + "block_option@profile_card.toggle_option": { + "$toggle_label": "xbox.profile.block", + "$option_binding_name": "#block_player", + "$toggle_name": "block_player", + "ignored": "$is_current_profile" + } + }, + { + "padding_6": { + "type": "panel", + "size": [ "100%", 4 ], + "ignored": "$is_current_profile" + } + }, + { + "report_button@common_buttons.dark_content_button": { + "size": [ "100%", 30 ], + "ignored": "$is_current_profile", + "$pressed_button_name": "button.report", + "$button_content": "profile_card.report_button_content" + } + }, + { + "padding_7": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ], + "bindings": [ + { + "binding_name": "#xbl_info_visible", + "binding_name_override": "#visible" + } + ] + }, + + "dialog_scrolling_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "platform_profile_info@profile_card.platform_dialog_scrolling_content": {} + }, + { + "xbl_profile_info@profile_card.xbl_dialog_scrolling_content": {} + } + ] + }, + + "toggle_option": { + "type": "stack_panel", + "size": [ "100%", 16 ], + "orientation": "horizontal", + "$toggle_label|default": "", + "$option_binding_name|default": "", + "$toggle_name|default": "", + "$option_enabled_binding_name|default": "", + "$enabled|default": true, + "$toggle_tts_header": "$toggle_label", + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "toggle_label": { + "type": "label", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$toggle_label", + "color": "$main_header_text_color" + } + } + ] + } + }, + { + "profile_option_toggle@settings_common.option_toggle_control": { + "size": [ "100%c", "100%c" ] + } + } + ] + }, + + "report_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 8px", "100%" ], + "controls": [ + { + "hammer_icon_panel_l": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "hammer@profile_card.hammer_l_icon": {} + } + ] + } + }, + { + "report_label": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "report_label": { + "type": "label", + "size": [ "default", "default" ], + "color": "$body_text_color", + "text": "xbox.profile.report" + } + } + ] + } + }, + { + "hammer_icon_panel_r": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "hammer@profile_card.hammer_r_icon": {} + } + ] + } + } + ] + }, + + "unfriend_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "x_icon@profile_card.unfriend_x_icon": {} + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "text_label": { + "type": "label", + "text": "xbox.profile.removeFriend", + "size": [ "fill", "100%" ], + "color": "$body_text_color" + } + } + ] + }, + + "add_friend_dropdown_content@settings_common.option_radio_dropdown_group": { + "size": [ "100%", "100%c" ], + "offset": [2, 0], + "$show_option_label": false, + "$radio_buttons": [ + { + "friend@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#friend_option", + "$radio_label_text": "xbox.profile.friend" + } + }, + { + "friend_helper_panel": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "friend_helper_text": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "text": "#friend_helper_text", + "font_type": "smooth", + "font_scale_factor": 1.333, + "shadow": false, + "bindings": [ + { + "binding_name": "#friend_helper_text" + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + }, + { + "favorite@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#favorite_option", + "$radio_label_text": "xbox.profile.favorite" + } + }, + { + "favorite_helper_panel": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "favorite_helper_text": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "text": "xbox.profile.favoriteHelperText", + "font_type": "smooth", + "font_scale_factor": 1.333, + "shadow": false + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + }, + { + "border_panel": { + "type": "input_panel", + "size": [ "100%", 3 ], + "controls": [ + { + "border@profile_card.dropdown_border_line": { + "size": [ "100% + 2px", 3 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ -2, 0 ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + } + }, + { + "remove_friend@settings_common.radio_with_label": { + "size": [ "100%", 20 ], + "$toggle_state_binding_name": "#remove_friend_option", + "$radio_label_text": "xbox.profile.removeFriend", + "$unchecked_control": "profile_card.x_default_state", + "$checked_control": "profile_card.x_default_state", + "$unchecked_hover_control": "profile_card.x_hover_state", + "$checked_hover_control": "profile_card.x_hover_state", + "$unchecked_locked_control": "profile_card.x_default_state", + "$unchecked_locked_hover_control": "profile_card.x_default_state", + "$checked_locked_control": "profile_card.x_default_state", + "$checked_locked_hover_control": "profile_card.x_default_state" + } + } + ] + }, + + "dialog_content@common.scrolling_panel": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "size": [ "100%", "100%" ], + "offset": [ 2, 0 ], + "$scrolling_content": "profile_card.dialog_scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_pane_size": [ "100% - 4px", "100%" ], + "$scroll_bar_right_padding_size": [ 0, 0 ] + }, + + "dialog_content_with_skin": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "skin_pane": { + "type": "input_panel", + "size": [ "35% + 1px", "100%" ], + "ignored": "$hide_skin", + "gesture_tracking_button": "button.turn_doll", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "paper_doll_panel": { + "type": "panel", + "size": [ "100%", "100% - 10px" ], + "offset": [ 0, -35 ], + "controls": [ + { + "paper_doll": { + "type": "custom", + "renderer": "paper_doll_renderer", + "size": [ "100%", "100%" ], + "layer": 2, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "rotation": "gesture_x", + "use_uuid": true, + "use_selected_skin": false, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "skin_pane", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + }, + { + "binding_name": "#player_uuid" + } + ] + } + } + ] + } + } + ] + } + }, + { + "divider_padding": { + "type": "panel", + "size": [ 6, "100%" ], + "ignored": "$hide_skin" + } + }, + { + "profile_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "dialog_content@profile_card.dialog_content": {} + } + ] + } + } + ] + }, + + "main_panel": { + "type": "input_panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_no_buttons": { + "$text_name": "options.profile", + "$child_control": "profile_card.dialog_content_with_skin", + "size": "$dialog_size", + "max_size": "$dialog_max_size", + "$show_divider": "(not $hide_skin)", + "$divider_offset": [ "35% + 4px", "22px" ] + } + } + ], + "variables": [ + { + "requires": "(not $hide_skin)", + "$dialog_size": [ 300, 235 ], + "$dialog_max_size": [ 300, "100% - 4px" ] + }, + { + "requires": "$hide_skin", + "$dialog_size": [ 230, 235 ], + "$dialog_max_size": [ 230, "100% - 4px" ] + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "profile_card_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "profile_card.profile_card_screen_content" + }, + + "profile_card_screen_content": { + "type": "panel", + "controls": [ + { "main_panel@profile_card.main_panel": { "layer": 1 } } + ] + } +} diff --git a/resource_pack/ui/profile_screen.json b/resource_pack/ui/profile_screen.json new file mode 100644 index 0000000..1c1991a --- /dev/null +++ b/resource_pack/ui/profile_screen.json @@ -0,0 +1,1996 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ +{ + "namespace": "profile", + + // -------------------------------------------------------------------------------------- + // helper objects + // -------------------------------------------------------------------------------------- + "horizontal_padding_4px": { + "type": "panel", + "size": [ 4, "100%" ] + }, + + "horizontal_padding_6px": { + "type": "panel", + "size": [ 6, "100%" ] + }, + + "horizontal_padding_8px": { + "type": "panel", + "size": [ 8, "100%" ] + }, + + "horizontal_padding_10px": { + "type": "panel", + "size": [ 10, "100%" ] + }, + + "horizontal_fill_padding": { + "type": "panel", + "size": [ "fill", "100%" ] + }, + + "vertical_fill_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + }, + + "vertical_padding_2px": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "vertical_padding_5px": { + "type": "panel", + "size": [ "100%", 5 ] + }, + + "vertical_padding_10px": { + "type": "panel", + "size": [ "100%", 10 ] + }, + + "vertical_padding_20px": { + "type": "panel", + "size": [ "100%", 20 ] + }, + + "general_text_field": { + "type": "label", + "color": "$generic_button_text_color", + "font_scale_factor": "$font_scale", + "$font_type|default": "default", + "font_type": "$font_type", + "$font_scale|default": 1.0, + "$text_anchor|default": "left_middle", + "anchor_from": "$text_anchor", + "anchor_to": "$text_anchor" + }, + + "common_image": { + "type": "image", + "keep_ratio": false, + "texture": "$image", + "$image|default": "#texture", + "$image_binding_name|default": "#none", + "$image_binding_type|default": "none", + + "bindings": [ + { + "binding_type": "$image_binding_type", + "binding_name": "$image_binding_name", + "binding_name_override": "#texture" + } + ] + }, + + "sides_padding_panel": { + "type": "panel", + "size": [ "5%", 0 ] + }, + + "vertical_padding_panel": { + "type": "panel", + "size": [ 0, "5%" ] + }, + + "common_icon@common_image": { + "size": [ 12, 12 ], + "$icon_image|default": "textures/ui/white_background", + "$image|default": "$icon_image", + "$icon_binding_type|default": "none", + "$image_binding_type": "$icon_binding_type", + "$icon_binding_name|default": "#none", + "$image_binding_name": "$icon_binding_name" + }, + + "profile_button_image_content": { + "type": "image", + "size": "$button_image_content_size", + "$button_image_content_size|default": [ "100%", "100%" ], + "layer": 2, + "alpha": "$alpha", + "texture": "$profile_button_image", + "$texture_color|default": "white", + "color": "$texture_color", + "variables": [ + { + "requires": "$locked_state", + "$alpha": 0.6 + }, + { + "requires": "(not $locked_state)", + "$alpha": 1.0 + } + ] + }, + + // -------------------------------------------------------------------------------------- + // manage option controls + // -------------------------------------------------------------------------------------- + + "edit_appearance_preset_button@common_buttons.light_text_button": { + "size": [ "100%", 23 ], + "$button_focus_precedence": 20, + "$pressed_button_name": "button.edit_appearance_preset", + "$button_text": "gui.edit", + "bindings": [ + { + "binding_name": "#enable_edit_appearance", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + }, + + "delete_appearance_preset_button@common_buttons.light_text_button": { + "size": [ "100%", 23 ], + "$pressed_button_name": "button.delete_appearance_preset", + "$button_text": "gui.delete" + }, + + "tooltip_chevron": { + "type": "image", + "size": [ 19, 13 ], + "offset": [ 0, "100%y - 3px" ], + "layer": "$always_show_layer", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "bilinear": true, + "texture": "textures/ui/tooltip_default_chevron" + }, + + "options_content@common.vertical_stack_panel": { + "size": [ "100% - 10px", "100%c" ], + "controls": [ + { "edit_appearance_preset_button@profile.edit_appearance_preset_button": {} }, + { "mid_padding@vertical_padding_2px": {} }, + { "delete_appearance_preset_button@profile.delete_appearance_preset_button": {} } + ] + }, + + "options_content_panel@common.tooltip_background": { + "size": [ "85.5491%", "100%cm + 10px" ], + "offset": [ 0, "-100%y + 20px" ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "controls": [ + { "options@options_content": {} }, + { "tooltips@profile.tooltip_chevron": {} } + ] + }, + + "options_panel": { + "type": "panel", + "size": [ "37%", "100%" ], + "controls": [ + { "options_content@options_content_panel": {} } + ] + }, + + "manage_options_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { "left_padding@profile.horizontal_padding_10px": {} }, + { "options_panel@profile.options_panel": {} }, + { "right_padding@profile.horizontal_fill_padding": {} } + ] + }, + + "manage_options_modal_content@common.modal_area_panel_base": { + "layer": "$manage_options_background", + "$menu_cancel_button_id": "button.manage_appearance", + "$close_bg_exit_button_name": "button.manage_appearance", + "controls": [ + { "manage_options@profile.manage_options_content_panel": {} }, + { "close_options_bg@common_store.close_bg_panel": {} } + ], + "bindings": [ + { + "binding_name": "#manage_options_visible", + "binding_name_override": "#modal" + }, + { + "binding_name": "#manage_options_visible", + "binding_name_override": "#visible" + } + ] + }, + + // -------------------------------------------------------------------------------------- + // persona preset section controls + // -------------------------------------------------------------------------------------- + "preset_arrow_button@common_buttons.light_content_button": { + "size": [ "100%", "100%x" ], + "$focus_id": "$arrow_button_focus_id", + "$focus_override_left": "$arrow_button_focus_override_left", + "$focus_override_right": "$arrow_button_focus_override_right", + "$button_content": "profile.profile_button_image_content", + "$texture_color": "$dressing_room_dark_button_color", + "$button_image_content_size": [ 4, 7 ], + "$profile_button_image|default": "textures/ui/chevron_left", + "$pressed_button_name|default": "button.pressedArrowLeft", + "$enabled_binding_Name|default": "#arrow_left_enabled", + "$is_arrow_right|default": false, + "variables": [ + { + "requires": "$is_arrow_right", + "$pressed_button_name": "button.pressedArrowRight", + "$profile_button_image": "textures/ui/chevron_right", + "$enabled_binding_Name": "#arrow_right_enabled" + } + ], + "bindings": [ + { + "binding_name": "$enabled_binding_Name", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + }, + "preset_arrow_button_panel": { + "type": "panel", + "size": [ 24, "100%" ], + "$arrow_button_focus_id|default": "", + "$arrow_button_focus_override_left|default": "", + "$arrow_button_focus_override_right|default": "", + "controls": [ + { + "preset_arrow_button@profile.preset_arrow_button": {} + } + ] + }, + + "skin_model_renderer": { + "type": "custom", + "size": [ "100%", "100%" ], + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + + "layer": "$preset_appearance_layer", + + "$preset_appearance_alpha|default": 0.2, + "alpha": "$preset_appearance_alpha", + + "use_selected_skin": false, + "use_skin_gui_scale": true, + "animation_reset_name": "screen_animation_reset", + "$skin_model_preset_visible_binding_name|default": "#is_preset_visible", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + + "$preset_appearance_property_bag|default": {}, + "property_bag": "$preset_appearance_property_bag", + + "$preset_model_gesture_rotation|default": "", + "$preset_model_gesteure_bindings|default": [ + { + "binding_type": "global", + "binding_name": "$preset_appearance_binding_name", + "binding_condition": "always" + }, + { + "binding_name": "$skin_model_preset_visible_binding_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ], + "variables": [ + { + "requires": "$is_preset_appearance_using_gestures", + "$preset_model_gesture_rotation": "gesture_x", + "$preset_model_gesteure_bindings": [ + { + "binding_type": "global", + "binding_name": "$preset_appearance_binding_name", + "binding_condition": "always" + }, + { + "binding_type": "view", + "source_control_name": "$preset_gesture_source_control_name", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "$preset_gesture_source_control_name", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + }, + { + "binding_name": "$skin_model_preset_visible_binding_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + ], + + "rotation": "$preset_model_gesture_rotation", + "bindings": "$preset_model_gesteure_bindings" + }, + + "skin_select_button_input": { + "type": "input_panel", + "size": "$preset_image_size", + "offset": [ 0, "22%" ], + "layer": "$preset_appearance_layer", + "$preset_appearance_property_bag|default": {}, + "property_bag": "$preset_appearance_property_bag", + "$select_preset_to_button_id|default": "button.select_appearance", + "$binding_preset_add_visible_name|default": "#is_preset_add_visible", + "controls": [ + { + "create_new_preset_image": { + "$preset_image|default": "textures/misc/missing_texture", + "$preset_image_size|default": [ 20, 20 ], + "type": "image", + "texture": "$preset_image", + "property_bag": "$preset_appearance_property_bag", + "bindings": [ + { + "binding_name": "$binding_preset_add_visible_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$select_preset_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$select_preset_to_button_id", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_name": "#enable_edit_appearance", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + }, + + // retry button + "skin_retry_button@common_buttons.light_content_button": { + "size": [ "130%y", "30%" ], + "offset": [ 0, "14%" ], + "layer": "$always_show_layer", + "visible": false, + "$preset_appearance_property_bag|default": {}, + "$pressed_button_name": "button.retry_appearance_preset", + "$button_content": "profile.retry_button_image_content", + "property_bag": "$preset_appearance_property_bag", + "$binding_is_retry_visible_name|default": "#is_retry_visible", + "bindings": [ + { + "binding_name": "$binding_is_retry_visible_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "skin_appearance_loading_panel@common_store.progress_loading": { + "offset": [ 0, "14%" ], + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "$preset_appearance_property_bag|default": {}, + "property_bag": "$preset_appearance_property_bag", + "$binding_is_preset_loading_visible_name|default": "#is_preset_loading_visible", + "bindings": [ + { + "binding_name": "$binding_is_preset_loading_visible_name", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "persona_appearance_preset_panel": { + "type": "panel", + "offset": [ 0, -22 ], + "$preset_appearance_layer|default": 5, + "$is_preset_appearance_using_gestures|default": false, + "controls": [ + { "skin_renderer@profile.skin_model_renderer": {} }, + { "skin_select@profile.skin_select_button_input": {} }, + { "skin_retry@profile.skin_retry_button": {} }, + { "skin_loading@profile.skin_appearance_loading_panel": {} } + ] + }, + + "appearance_preset_side_panel": { + "type": "panel", + "size": [ 100, "100%sm" ], + "$is_left_preset_side|default": true, + "$preset_appearance_size": [ "51.2821%y", "90%" ], + "$large_preset_appearance_min_size": [ "51.2821%y", 105 ], + "$small_preset_appearance_min_size": [ "51.2821%y", 95 ], + "$large_preset_appearance_max_size": [ "51.2821%y", 125 ], + "$small_preset_appearance_max_size": [ "51.2821%y", 100 ], + "$large_preset_image_size": [ 50, 105 ], + "$small_preset_image_size": [ 37, 70 ], + "$large_preset_image": "textures/ui/profile_new_look", + "$small_preset_image": "textures/ui/profile_new_look_small", + "$low_preset_alpha": 0.4, + "$high_preset_alpha": 0.7, + "controls": [ + { + "appearance_presets_panel": { + "type": "panel", + + "$preset_appearance_binding_name": "#appearance_preset_preview", + + "$left_appearance_preset_min_size|default": "$small_preset_appearance_min_size", + "$left_appearance_preset_max_size|default": "$small_preset_appearance_max_size", + "$left_image_preset_size|default": "$small_preset_image_size", + "$left_image|default": "$small_preset_image", + "$left_appearance_preset_layer|default": "$preset_appearance_back_layer", + "$left_appearance_preset_alpha|default": "$low_preset_alpha", + "$right_appearance_preset_min_size|default": "$large_preset_appearance_min_size", + "$right_appearance_preset_max_size|default": "$large_preset_appearance_max_size", + "$right_image_preset_size|default": "$large_preset_image_size", + "$right_image|default": "$large_preset_image", + "$right_appearance_preset_layer|default": "$preset_appearance_front_layer", + "$right_appearance_preset_alpha|default": "$high_preset_alpha", + "variables": [ + { + "requires": "(not $is_left_preset_side)", + "$left_appearance_preset_min_size": "$large_preset_appearance_min_size", + "$left_appearance_preset_max_size": "$large_preset_appearance_max_size", + "$left_image_preset_size": "$large_preset_image_size", + "$left_image": "$large_preset_image", + "$left_appearance_preset_layer": "$preset_appearance_front_layer", + "$left_appearance_preset_alpha": "$high_preset_alpha", + "$right_appearance_preset_min_size": "$small_preset_appearance_min_size", + "$right_appearance_preset_max_size": "$small_preset_appearance_max_size", + "$right_image_preset_size": "$small_preset_image_size", + "$right_image": "$small_preset_image", + "$right_appearance_preset_layer": "$preset_appearance_back_layer", + "$right_appearance_preset_alpha": "$low_preset_alpha" + } + ], + "controls": [ + { + "left_appearance_preset@profile.persona_appearance_preset_panel": { + "size": "$preset_appearance_size", + "min_size": "$left_appearance_preset_min_size", + "max_size": "$left_appearance_preset_max_size", + "$preset_appearance_layer": "$left_appearance_preset_layer", + "$preset_appearance_alpha": "$left_appearance_preset_alpha", + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "$preset_image_size": "$left_image_preset_size", + "$preset_image": "$left_image", + "variables": [ + { + "requires": "$is_left_preset_side", + "$idx": 1 + }, + { + "requires": "(not $is_left_preset_side)", + "$idx": 4 + } + ], + "$preset_appearance_property_bag": { + "#preview_idx": "$idx" + } + } + }, + { + "right_appearance_preset@profile.persona_appearance_preset_panel": { + "size": "$preset_appearance_size", + "min_size": "$right_appearance_preset_min_size", + "max_size": "$right_appearance_preset_max_size", + "$preset_appearance_layer": "$right_appearance_preset_layer", + "$preset_appearance_alpha": "$right_appearance_preset_alpha", + "anchor_to": "right_middle", + "anchor_from": "right_middle", + "$preset_image_size": "$right_image_preset_size", + "$preset_image": "$right_image", + "variables": [ + { + "requires": "$is_left_preset_side", + "$idx": 2 + }, + { + "requires": "(not $is_left_preset_side)", + "$idx": 5 + } + ], + "$preset_appearance_property_bag": { + "#preview_idx": "$idx" + } + } + } + ] + } + } + ] + }, + + "debug_skin_view@common.vertical_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { + "skin_name": { + "type": "label", + "size": [ "100%", "25%" ], + "font_scale_factor": 0.75, + "layer": 15, + "font_type": "smooth", + "color": "$dressing_room_right_side_default_text_color", + "text": "#selected_skin_name", + "bindings": [ + { + "binding_name": "#selected_skin_name" + } + ] + } + }, + { + "debug_skin": { + "type": "panel", + "size": [ "25%", "75%" ], + "controls": [ + { + "skin_model": { + "offset": [ 0, -10 ], + "type": "custom", + "renderer": "paper_doll_renderer", + "layer": 5, + "use_selected_skin": false, + "use_skin_gui_scale": true, + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#selected_skin" + } + ] + } + } + ] + } + } + ] + }, + + "persona_preset_main_panel@profile.persona_appearance_preset_panel": { + "size": [ 61.53852, 120 ], + "$preset_appearance_binding_name": "#appearance_preset_preview", + "$is_preset_appearance_using_gestures": true, + "$preset_gesture_source_control_name": "main_preset_persona", + "$preset_image_size": [ 50, 120 ], + "$preset_image": "textures/ui/profile_new_look", + "$select_preset_to_button_id": "button.edit_appearance_preset", + "$preset_appearance_property_bag": { + "#preview_idx": 3 + }, + "bindings": [ + { + "binding_name": "#center_preset_size", + "binding_condition": "always" + } + ] + }, + + "persona_main_preset_panel": { + "type": "input_panel", + "size": [ "100%c", "100%" ], + "layer": "$always_show_paper_doll", + "gesture_tracking_button": "button.turn_doll", + "always_handle_controller_direction": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { "preset_panel@profile.persona_preset_main_panel": {} } + ] + }, + + "preset_arrow_button_left_panel": { + "type": "panel", + "size": [ 24, "100%" ], + "layer": "$preset_arrow_button_layer", + "controls": [ + { + "preset_arrow_button_left@profile.preset_arrow_button_panel": { + "$arrow_button_focus_id": "preset_arrow_button_left", + "$arrow_button_focus_override_right": "preset_arrow_button_right" + } + }, + { + "left_bumper@common.gamepad_helper_left_bumper": { + "offset": [ -2, -20 ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "preset_arrow_button_right_panel": { + "type": "panel", + "size": [ 24, "100%" ], + "layer": "$preset_arrow_button_layer", + "controls": [ + { + "preset_arrow_button_right@profile.preset_arrow_button_panel": { + "$is_arrow_right": true, + "$arrow_button_focus_id": "preset_arrow_button_right", + "$arrow_button_focus_override_left": "preset_arrow_button_left" + } + }, + { + "right_bumper@common.gamepad_helper_right_bumper": { + "offset": [ 2, -20 ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // -------------------------------------------------------------------------------------- + // Persona Presets (previews) panel + // -------------------------------------------------------------------------------------- + "persona_preset_section_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + "$preset_arrow_button_layer": 100, + + "controls": [ + { "left_padding@profile.horizontal_fill_padding": {} }, + { "presets_left_side@profile.appearance_preset_side_panel": {} }, + { "presets_right_padding_arrow_right@profile.horizontal_padding_6px": {} }, + { "arrow_left_panel@profile.preset_arrow_button_left_panel": {} }, + { "arrow_left_padding_preview@profile.horizontal_padding_6px": {} }, + { "main_preset_persona@profile.persona_main_preset_panel": {} }, + { "preview_padding_arrow_right@profile.horizontal_padding_6px": {} }, + { "arrow_right_panel@profile.preset_arrow_button_right_panel": {} }, + { "arrow_right_padding_right_presets@profile.horizontal_padding_6px": {} }, + { "presets_right_side@profile.appearance_preset_side_panel": { "$is_left_preset_side": false } }, + { "right_padding@profile.horizontal_fill_padding": {} } + ] + }, + + // -------------------------------------------------------------------------------------- + // lower button section controls + // -------------------------------------------------------------------------------------- + ////////////////////////////////// + //// manage appearacne button //// + "edit_appearance_button_panel": { + "type": "panel", + "size": [ 132, 22 ], + "controls": [ + { "edit_appearance_button@profile.edit_appearance_button": {} }, + { "edit_appearance_error_button@profile.edit_appearance_error_button": {} } + ] + }, + + "edit_appearance_error_button@common_buttons.dynamic_tooltip_notification_panel": { + "ignored": "(not $store_disabled)", + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_store_error", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.is_hovered", + "mapping_type": "pressed" + } + ], + "consume_hover_events": false, + "focus_enabled": true, + "$tooltip_popup_visible_binding": "#edit_appearance_error_tooltip_visible", + "$override_tooltip_popup_image": true, + "$tooltip_popup_override_image_panel": "start.store_error_image", + "$tool_tip_text_max_size": [ "160px", "default" ], + "$tooltip_panel_content": "profile.edit_appearance_error_button_content", + "bindings": [ + { + "binding_name": "(not #marketplace_disabled)", + "binding_name_override": "#visible" + } + ] + }, + + "edit_appearance_error_button_content": { + "type": "image", + "texture": "textures/ui/disabledButton", + "layer": 9, + "controls": [ + { + "marketplace_button_label": { + "layer": 9, + "type": "label", + "text": "store.disabledOnBeta", + "color": "$light_button_locked_text_color" + } + } + ] + }, + + "edit_appearance_button@common_buttons.light_text_button": { + "size": [ 132, 22 ], + "default_focus_precedence": 2, + "$pressed_button_name": "button.edit_appearance_preset", + "$button_font_scale_factor": 1.0, + "$new_ui_label_offset": [ 0, 3 ], + "$button_text": "#edit_appearance_text", + "$button_text_binding_type": "global", + "$button_binding_condition": "always", + "$button_text_size": [ "100%", "100%" ], + "$button_text_max_size": [ "100%", "100%" ], + "tts_play_on_unchanged_focus_control": true, + "bindings": [ + { + "binding_name": "#enable_edit_appearance", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ], + "$focus_id": "edit_appearance_button" + }, + + + /////////////////////// + //// delete button //// + "delete_appearance_button@common_buttons.light_content_button": { + "size": [ 28, 22 ], + "$pressed_button_name": "button.delete_appearance_preset", + "$button_content": "profile.profile_button_image_content", + "$button_image_content_size": [ 13, 14 ], + "$profile_button_image": "textures/ui/icon_trash", + "tts_control_header": "profileScreen.delete_button", + "tts_play_on_unchanged_focus_control": true, + "$focus_id": "delete_appearance_button", + "bindings": [ + { + "binding_name": "#delete_button_enabled", + "binding_name_override": "#enabled", + "binding_condition": "always" + } + ] + }, + + /////////////////////////////////////////////// + //// persona differences information button//// + "differences_information_button@common_buttons.light_content_button": { + "size": [ 28, 22 ], + "$pressed_button_name": "button.differences_information_button", + "$button_content": "profile.profile_button_image_content", + "$button_image_content_size": [ 15, 14 ], + "$profile_button_image": "textures/ui/infobulb", + "tts_control_header": "profileScreen.differences_information_button", + "tts_play_on_unchanged_focus_control": true + }, + + "retry_button_image_content@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ "100%", "10%" ] + } + }, + { + "icon_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "size": [ 20, 20 ], + "texture": "textures/ui/refresh", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle" + } + } + ] + } + }, + { + "reload_label": { + "type": "label", + "size": [ "100%", "100%" ], + "text": "Reload", + "font_type": "MinecraftTen", + "font_scale_factor": 1.0, + "text_alignment": "center", + "color": "$light_button_default_text_color" + } + } + ] + }, + + ///////////////////////// + //// settings button //// + "settings_button@common_buttons.light_content_button": { + "size": [ "100%y", "100%" ], + "$pressed_button_name": "button.settings", + "$button_content": "profile.profile_button_image_content", + "$button_image_content_size": [ 14, 14 ], + "$profile_button_image": "textures/ui/icon_setting", + "tts_control_header": "profileScreen.settings_button", + "tts_play_on_unchanged_focus_control": true + }, + + ///////////////////////////// + //// sides padding panel //// + "buttons_sides_padding_panel": { + "type": "panel", + "size": "$sides_padding_size", + "variables": [ + { + "requires": "$supports_xbl_achievements", + "$sides_padding_size": [ "fill", 0 ] + }, + { + "requires": "(not $supports_xbl_achievements)", + "$sides_padding_size": [ "27%", 0 ] + } + ] + }, + + "title_text@general_text_field": { + "size": "$title_size", + "$title_size|default": [ "default", "default" ], + "text": "$title_text", + "text_alignment": "center", + "layer": 2, + "$title_text|default": "#title_text", + "$title_text_binding_name|default": "#none", + "bindings": [ + { + "binding_name": "$title_text_binding_name", + "binding_name_override": "#title_text" + } + ] + }, + + "icon_title_bar@common.horizontal_stack_panel": { + "size": [ "100%c", "100%cm" ], + "$title_font_type|default": "default", + "controls": [ + { "icon@profile.common_icon": {} }, + { "padding_1@horizontal_padding_4px": { "size": [ 5, "100%cm" ] } }, + { + "text_title_panel@profile.title_text": { + "$font_type": "$title_font_type" + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////////// + //// Bottom panel content + "selected_persona_skin_text_display@profile.icon_title_bar": { + "size": [ "100% + 4px", "100%cm + 2px" ], + "layer": 1, + "offset": [ 3, 2 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$title_font_type": "smooth", + "$title_size": [ "100% - 30px", 11 ], + "$title_text_binding_name": "#selected_persona_skin_text", + "$icon_binding_type": "global", + "$icon_binding_name": "#selected_persona_skin_icon" + }, + + "selected_persona_skin_background@profile.common_image": { + "size": [ 160, 16 ], + "color": "black", + "controls": [ + { "title@profile.selected_persona_skin_text_display": {} } + ], + "bindings": [ + { + "binding_name": "#is_a_profile_selected", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "selected_persona_skin_label@common.horizontal_stack_panel": { + "size": [ "100%", "100%cm" ], + "controls": [ + { "left_padding@profile.buttons_sides_padding_panel": {} }, + { "background@profile.selected_persona_skin_background": {} }, + { "spacing@common.empty_panel": { "size": [ 31, 0 ] } }, + { "right_padding@profile.buttons_sides_padding_panel": {} } + ] + }, + + "lower_button_section@common.horizontal_stack_panel": { + "size": [ "100%", 22 ], + "focus_container": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + "controls": [ + { "left_padding@profile.buttons_sides_padding_panel": {} }, + { "edit_button@profile.edit_appearance_button_panel": {} }, + { "delete_button@profile.delete_appearance_button": {} }, + { "spacing_1@common.empty_panel": { "size": [ 3, "100%" ] } }, + { "differences_info_button@profile.differences_information_button": {} }, + { "right_padding@profile.buttons_sides_padding_panel": {} } + ] + }, + + "lower_button_label_section@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + "layer": "$always_show_layer", + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + "controls": [ + { "persona_label@profile.selected_persona_skin_label": {} }, + { "lower_button_section@profile.lower_button_section": {} } + ] + }, + + "bottom_panel_framework": { + "ignored": "$store_disabled", + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + "$right_side_default_text_color": "$dressing_room_right_side_default_text_color", + "controls": [ + { "content@profile.bottom_panel_content": {} } + ], + "bindings": [ + { + "binding_name": "(not #marketplace_disabled)", + "binding_name_override": "#visible" + } + ] + }, + + "title_bar": { + "type": "image", + "size": [ "100%", "100%cm" ], + "texture": "textures/ui/White", + "alpha": "$dressing_room_profile_title_bar_alpha", + "layer": 2, + "controls": [ + { "dressing_room_title@$info_title_control": {} } + ] + }, + + "title_content_panel_background": { + "type": "image", + "layer": 4, + "texture": "textures/ui/White", + "color": "$dressing_room_dark_button_color" + }, + + "featured_title_panel@profile.title_content_panel_background": { + "size": [ "100%", 14 ], + "controls": [ + { + "featured_title_label": { + "type": "label", + "size": [ "100% - 8px", 10 ], + "offset": [ 0, -1.0 ], + "layer": 5, + "color": "$dressing_room_right_side_default_text_color", + "font_type": "MinecraftTen", + "font_scale_factor": 0.85, + "text_alignment": "left", + "$title_text|default": "", + "text": "$title_text", + "bindings": [ + { + "binding_name": "$title_text" + } + ] + } + } + ] + }, + + "feature_section_pieces_title@profile.featured_title_panel": { + "$title_text": "#left_panel_title" + }, + + "feature_section_skins_title@profile.featured_title_panel": { + "$title_text": "#right_panel_title" + }, + + "featured_pieces_category_offer_panel@persona.category_featured_offer_panel": { + "$category_featured_offer_panel_size": [ "100% - 4px", "100% + 4px" ], + "$category_featured_offer_grid_size": [ "fill", 35 ], + "offset": [ 0, -7 ], + "$controller_left_bumper_mapping": "button.cycle_featured_pieces_left", + "$controller_right_bumper_mapping": "button.cycle_featured_pieces_right", + + "$persona_piece_prefix": "featured" + }, + + "featured_pieces_info_panel": { + "type": "collection_panel", + + "$ignore_piece_offer_grid_visible_bind": false, + "$piece_section_collection_details": "collection_details", + "$piece_section_binding_type": "collection", + "$piece_section_collection_prefix": "piece_section", + "$piece_section_collection_name": "piece_section_collection", + + "collection_name": "$piece_section_collection_name", + + "$info_panel_prefix": "piece_section", + "controls": [ + { + "right_info_content@profile.featured_pieces_category_offer_panel": { + "collection_index": 0 + } + } + ] + }, + + "featured_persona_pieces_content_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#is_classic_skin_profile_selected", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "section_header@profile.feature_section_pieces_title": {} }, + { "featured_pieces@profile.featured_pieces_info_panel": {} } + ] + }, + + "profile_featured_skin_pack_button_panel@persona.featured_skin_pack_button_panel": { + "size": [ "16.5%", "57%x" ] + }, + + "featured_skins_info_panel": { + "type": "panel", + "size": [ "100%", "100% - 19px" ], + "controls": [ + { + "featured_skin_info_content@persona.classic_skin_featured_content": { + "size": [ "100% - 4px", "100%" ], + "offset": [ 0, 2.5 ], + "$featured_skin_grid_panel_size": [ "fill", "100%" ], + "$grid_item_template": "profile.profile_featured_skin_pack_button_panel", + "$controller_left_bumper_mapping": "button.cycle_featured_skins_left", + "$controller_right_bumper_mapping": "button.cycle_featured_skins_right", + "$featured_skin_grid_dimensions": [ 6, 1 ] + } + } + ] + }, + + "featured_custom_skins_content_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "(not #is_classic_skin_profile_selected)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "section_header@profile.feature_section_skins_title": {} }, + { "content_section@profile.featured_skins_info_panel": {} } + ] + }, + + "feature_set_stack_panel@common.empty_panel": { + "size": [ "100%", 54 ], + "$chevron_color": "$dressing_room_dark_button_color", + "controls": [ + { "featured_pieces@profile.featured_persona_pieces_content_panel": {} }, + { "featured_skins@profile.featured_custom_skins_content_panel": {} } + ] + }, + + "offer_info_background@profile.common_image": { + "$image": "textures/ui/White", + "color": "$nested_transparent_label_default_color", + "layer": 2 + }, + + "offer_info_section_content@offer_info_background": { + "size": "$offer_info_section_content_size", + "$offer_info_section_content_size|default": [ "100% - 2px", "100%cm" ], + + "$ignore_special_banner|default": false, + + "controls": [ + { "horizontal_stack@profile.feature_set_stack_panel": {} }, + { "special_offer_banner@persona.special_offer_banner": {} } + ] + }, + + "bottom_dialog_panel@profile.common_image": { + "$image": "textures/ui/White", + "color": "black" + }, + + "featured_info_panel@profile.bottom_dialog_panel": { + "size": [ "100% - 10px", "100%c + 2px" ], + + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_down": "stop", + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + + "$ignore_right_side_buttom_buttons": true, + "$ignore_special_banner": true, + "$ignore_piece_selected": true, + "$ignore_color_picker": true, + + "controls": [ + { "content@profile.offer_info_section_content": {} } + ], + + "$category_featured_offer_size": [ "10%", "100%" ], + + "$featured_grid_dimensions": [ 10, 1 ] + }, + + "bottom_panel_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$right_side_default_text_color": "$dressing_room_right_side_default_text_color", + "$right_side_dialog_visible_binding": "#is_featured_panel_visible", + "controls": [ + { "left_padding@profile.sides_padding_panel": { "size": [ "fill", 0 ] } }, + { "featured_panel@profile.featured_info_panel": {} }, + { "right_padding@profile.sides_padding_panel": { "size": [ "fill", 0 ] } } + ] + }, + + // -------------------------------------------------------------------------------------- + // screen controls + // -------------------------------------------------------------------------------------- + "profile_screen_debug_view@profile.debug_skin_view": { + "bindings": [ + { + "binding_name": "#is_using_dressing_room_debugging", + "binding_name_override": "#visible" + } + ] + }, + + "profile_screen_mid_padding@profile.vertical_fill_padding": { + "bindings": [ + { + "binding_name": "(not #is_using_dressing_room_debugging)", + "binding_name_override": "#visible" + } + ] + }, + + "profile_screen_main_content@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "hat_zone_padding@profile.vertical_fill_padding": {} }, + { "persona_preset_section@profile.persona_preset_section_panel": {} }, + { "debug_view@profile.profile_screen_debug_view": {} }, + { "mid_padding@profile.profile_screen_mid_padding": {} }, + { "button_section@profile.lower_button_label_section": {} }, + { "featured_section@profile.bottom_panel_framework": {} }, + { + "featured_section_disabled_padding": { + "ignored": "(not $store_disabled)", + "type": "panel", + "size": [ "100%", 70 ], + "bindings": [ + { + "binding_name": "(not #marketplace_disabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "profile_screen_main_panel_content": { + "type": "panel", + "controls": [ + { "content@profile.profile_screen_main_content": {} }, + { + "deep_link_profile_loading@common_store.progress_loading": { + "layer": 999, // Make this on top + "$hide_failure_text": true, + "alpha": "$dressing_room_background_alpha", + "bindings": [ + { + "binding_name": "#deep_link_profile_loading_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { "manage_options_modal@profile.manage_options_modal_content": {} } + ] + }, + + "profile_screen_main_panel@sidebar_navigation.sidebar_view": { + "$sidebar_main_view_content": "profile.profile_screen_main_panel_content" + }, + + "popup_toast@persona.popup": { + "layer": 1000, + "$display_time": 0.75, + "$transition_in_time": 0.15, + "$transition_out_time": 0.15, + "$popup_size": [ 148, 20 ], + "$toast_text_offset": [ 0, 4.5 ], + "$toast_offset": [ 0, "10%" ], + "$toast_text_alignment": "center", + "$toast_anchor_from": "center", + "$toast_anchor_to": "center", + "$toast_font_type": "smooth", + "$offset_anims": [], + "$alpha_anims": [ + "@persona.popup_anim_start" + ] + }, + + ////////////////////////////////////////////////////////////////////////////////////// + // Differences Persona Screen + ////////////////////////////////////////////////////////////////////////////////////// + "differences_common_detail_image@common_image": { + "size": [ 116, 68 ], + "$description_image|default": "textures/ui/white_background", + "$image": "$description_image", + "anchor_from": "right_middle", + "anchor_to": "right_middle" + }, + + "modal_popup_background@profile.common_image": { + "size": [ "100% - 4px", "100% - 4px" ], + "layer": 1, + "$image|default": "textures/ui/white_background", + "alpha": 0.8, + "color": "$profile_create_character_background_color" + }, + + "differences_popup_title@profile.title_text": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 8 ], + "color": "$light_button_default_text_color" + }, + + + //------------------------------------------------------------------------ + + "differences_left_details@general_text_field": { + "size": [ "100%", "default" ], + "text": "$description_text", + "$details_font_type|default": "default", + "font_type": "$details_font_type" + }, + + "differences_left_section@common.vertical_stack_panel": { + "size": [ "fill", "100%c" ], + "controls": [ + { "title_bar@profile.icon_title_bar": {} }, + { "padding_1@vertical_padding_panel": { "size": [ "100%", 5 ] } }, + { "details@differences_left_details": {} } + ] + }, + + "differences_title_card_display@common.horizontal_stack_panel": { + "size": [ "100%", "100%cm" ], + "$title_font_type": "MinecraftTen", + "$details_font_type": "smooth", + "controls": [ + { "left@differences_left_section": {} }, + { "padding_1@vertical_padding_panel": { "size": [ "5%", "100%cm" ] } }, + { "right@differences_common_detail_image": {} } + ] + }, + + //------------------------------------------------------------------------ + // The actual displayed content sections + // for persona details + "differences_persona_detail_section@differences_title_card_display": { + "$title_text": "profileScreen.differences_character_creator_title", + "$icon_image": "textures/ui/sidebar_icons/character_creator", + "$description_text": "profileScreen.difference_character_creator_description", + "$description_image": "textures/ui/persona_key_comp" + }, + + // for classic skin details + "differences_classic_skin_detail_section@differences_title_card_display": { + "$title_text": "profileScreen.differences_classic_skin_title", + "$title_text_anchor": "top_left", + "$icon_image": "textures/ui/sidebar_icons/classic_skins", + "$description_text": "profileScreen.difference_classic_skin_description", + "$description_image": "textures/ui/classic_skin_comp" + }, + + "different_info_panel_contents@common.vertical_stack_panel": { + "size": [ "100% - 20px", "100%c" ], + "offset": [ 8, 4 ], + "controls": [ + { "character_display@differences_persona_detail_section": {} }, + { "item_1_padding@vertical_padding_panel": { "size": [ 0, 10 ] } }, + { + "divider@common.horizontal_divider": { + "size": [ "100% - 10px", 1 ], + "offset": [ 5, 0 ] + } + }, + { "item_2_padding@vertical_padding_panel": { "size": [ 0, 10 ] } }, + { "classic_skin_display@differences_classic_skin_detail_section": {} } + ] + }, + + "modal_window_input_blocker@profile.common_image": { + "$image|default": "textures/ui/white_background", + "color": "black", + "alpha": 0.8 + }, + + "differences_popup_content@common.scrolling_panel": { + "type": "scroll_view", + "size": [ "100% - 16px", "100% - 64px" ], + "offset": [ 0, 23 ], + "$scrolling_pane_offset": [ 0, 0 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$show_background": false + }, + + "differences_popup_ok_button@common_buttons.light_text_button": { + "size": [ "100% - 23px", 26 ], + "$pressed_button_name": "$confirm_button_name", + "offset": [ 0, -9 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_text": "$confirm_button_text", + "$confirm_button_text|default": "#none", + "$confirm_button_enabled|default": "#none", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "$confirm_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "popup_frame@common.dialog_background_hollow_2": { + "$ignore_close_button|default": false, + "$show_close_button": true, + "$close_button_offset": [ -2, 2 ], + "$close_button_visible_binding_type": "global", + + "controls": [ + { "title_label@profile.differences_popup_title": {} }, + { "close_button@common.close_button": { "ignored": "$ignore_close_button" } }, + { "content@profile.differences_popup_content": {} }, + { "Ok_button@profile.differences_popup_ok_button": {} } + ] + }, + + "popup_info_panel": { + "type": "panel", + "size": "$popup_panel_size", + "$popup_panel_size|default": [ 369, 230 ], + "controls": [ + { "background@modal_popup_background": {} }, + { "frame@popup_frame": {} } + ] + }, + + "profile_common_dialog@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "layer": 500, + "controls": [ + { "background@modal_window_input_blocker": {} }, + { "panel@profile.popup_info_panel": {} } + ] + }, + + "popup_dialog__preview_difference_information@profile.popup_dialog__difference_information": { + "$confirm_button_name": "button.close_entry_prompt_dialog" + }, + + "popup_dialog__difference_information@profile.profile_common_dialog": { + "$ignore_close_button": true, + "$popup_panel_size": [ "80%", "93%" ], + "$confirm_button_name": "button.close_differences_dialog", + "$title_text": "dr.modal.difference_information_title", + "$scrolling_content": "profile.different_info_panel_contents", + "$confirm_button_text": "gui.ok", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$confirm_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$confirm_button_name", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$confirm_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + ////////////////////////////////////////////////////////////////////////////////////// + // Delete Persona Screen + ////////////////////////////////////////////////////////////////////////////////////// + + "alex_warning": { + "type": "image", + "size": [ 47, 67 ], + "texture": "textures/ui/warning_alex", + "offset": [ 4, -12 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1 + }, + + "delete_popup_dialog_message@popup_dialog.popup_dialog_message": { + "size": [ "90% - 32px", "68%" ], + "color": "$dressing_room_right_side_default_text_color", + "font_type": "smooth", + "font_scale_factor": 1.3, + "offset": [ 30, 4 ] + }, + + "delete_persona_left_button@popup_dialog.popup_dialog_left_button": { + "size": [ 116, 28 ], + "offset": [ 0, 2 ], + "$new_ui_label_offset": [ 0, 0 ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$left_button_press", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$left_button_press", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$left_button_press", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + "delete_persona_right_button@popup_dialog.popup_dialog_right_button": { + "size": [ 116, 28 ], + "offset": [ 0, 0 ], + "$new_ui_label_offset": [ 0, 0 ] + }, + + "delete_persona_button_stack@common.horizontal_stack_panel": { + "offset": [ 0, "67%" ], + "controls": [ + { "left_button@profile.delete_persona_left_button": {} }, + { "padding@common.empty_panel": { "size": [ 4, "100%" ] } }, + { "right_button@delete_persona_right_button": {} } + ] + }, + + "popup_dialog_delete_persona_content@common.empty_panel": { + "size": "$section_content_size", + "offset": "$section_content_offset", + "controls": [ + { "image@profile.alex_warning": {} }, + { "message@delete_popup_dialog_message": {} }, + { "buttons@delete_persona_button_stack": {} } + ] + }, + + "popup_dialog__delete_persona@popup_dialog.popup_dialog": { + "size": [ 260, 130 ], + "layer": 500, + "$left_button_press": "button.close_dialog", + "$right_button_press": "button.confirm_delete", + "$message_text": "dr.modal.persona_delete_confirm", + "$persona_popup_title_font_type": "default", + "$persona_popup_title_offset": [ 0, 8 ], + "$persona_popup_title_text": "dr.modal.persona_delete_confirm_title", + "$left_button_text": "gui.cancel", + "$right_button_text": "gui.confirm", + "$section_content_size": [ "100% - 16px", "100% - 30px" ], + "$section_content_offset": [ 0, "8px" ], + "controls": [ + { + "popup_dialog_bg@persona.popup_dialog_bg": { + "$dialog_content": "profile.popup_dialog_delete_persona_content" + } + } + ] + }, + + ////////////////////////////////////////////////////////////////////////////////////// + // Create Persona Screen + ////////////////////////////////////////////////////////////////////////////////////// + + "created_persona_top_label@profile.general_text_field": { + "text": "profileScreen.create_persona_label" + }, + + "create_persona_choice_icon_title@profile.icon_title_bar": { + "size": [ "100%c + 4px", "100%cm + 2px" ], + "layer": 1, + "offset": [ 2, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$text_anchor": "center", + "$title_text_binding_name": "#selected_persona_skin_text" + }, + + "create_persona_choice_checked_image@profile.common_image": { + "size": [ 10, 10 ], + "$image": "textures/ui/radiobox_filled" + }, + + "create_persona_choice_unchecked_image@profile.common_image": { + "size": [ 10, 10 ], + "$image": "textures/ui/radiobox_unfilled" + }, + + "create_persona_choice_check_positioning@common.empty_panel": { + "size": [ "100%c + 5px", "100%cm + 2px" ], + "controls": [ + { "toggle_image@$toggle_image": {} } + ] + }, + + "create_persona_choice_title_bar@common.horizontal_stack_panel": { + "size": [ "100%c", "100%cm" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + + "controls": [ + { "checkbox@profile.create_persona_choice_check_positioning": {} }, + { "spacing@common.empty_panel": { "size": [ 2, 0 ] } }, + { "icon_title@profile.create_persona_choice_icon_title": {} } + ] + }, + + "create_persona_choice_detail@profile.general_text_field": { + "size": [ "95%", "default" ], + "max_size": [ "95%", 30 ], + "$create_persona_description|default": "", + "text": "$create_persona_description", + "$font_type": "smooth" + }, + + "create_persona_choice_detail_panel@common.horizontal_stack_panel": { + "size": [ "100%", "100%c" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { "spacing@common.empty_panel": { "size": [ 5, 0 ] } }, + { "choice_details_body@profile.create_persona_choice_detail": {} } + ] + }, + + "select_default_character_button@common_buttons.light_text_button": { + "size": [ "100% - 23px", 26 ], + "$pressed_button_name": "button.open_default_character_selection_modal", + "$button_state_panel": "common_buttons.new_ui_button_panel", + "$button_size_override": [ "100%", "100%" ], + "$button_text_binding_type": "none", + "$button_text": "profileScreen.selectPrebuiltCharacter", + + "consume_hover_events": false, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + + "$button_bindings": [ + { + "binding_type": "view", + "source_control_name": "persona_choice_character_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#enabled" + } + ] + }, + + "select_default_character_button_vertical_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$default_glyph_color": "$light_glyph_default_color", + "$button_image_color": [ 1.0, 1.0, 1.0 ], + + "controls": [ + { "padding@common.empty_panel": { "size": [ "100%", 4 ] } }, + { + "select_default_character_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "select_default_character_button@profile.select_default_character_button": {} } + ] + } + } + ] + }, + + "no_content_panel": { + "type": "panel", + "size": [ 0, 0 ] + }, + + "create_persona_choice_background@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + "offset": [ 0, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "$choice_bottom_content|default": "profile.no_content_panel", + + "controls": [ + { "choice_title_bar@profile.create_persona_choice_title_bar": {} }, + { "choice_details_body@profile.create_persona_choice_detail_panel": {} }, + { "choice_bottom_content@$choice_bottom_content": {} } + ] + }, + + "create_persona_choice_button": { + "type": "panel", + "size": [ 233, "100%c" ], + + "$button_size_override": [ "100%", "100%c" ], + + "$toggle_name": "toggle_create_persona_choice", + "$toggle_binding_type": "collection", + "$toggle_state_binding_name": "#persona_type_toggle_state", + + "$toggle_grid_collection_name": "persona_type_toggles_collection", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "persona_type_toggles_collection", + + "$checked_image": "profile.create_persona_choice_checked_image", + "$unchecked_image": "profile.create_persona_choice_unchecked_image", + + "$default_texture": "textures/ui/disabledButtonNoBorder", + "$hover_texture_color": "$profile_create_character_unselected_color", + "$hover_checked_texture_color": "$profile_create_character_selected_color", + + "$toggle_button_type_panel": "profile.create_persona_choice_background", + + "controls": [ + { + "choice_toggle@common_toggles.dark_vertical_form_fitting_content_toggle": { + "size": [ "100%", "100%c" ] + } + } + ] + }, + + //--------------------------------------------------------------------------------------- + + "create_persona_choice_character": { + "type": "panel", + "size": [ "100%c", "100%c" ], + + "$title_text": "profileScreen.differences_character_creator_title", + "$create_persona_description": "profileScreen.create_persona_character_details", + "$icon_image": "textures/ui/sidebar_icons/character_creator", + "collection_index": 0, + "$toggle_default_state": true, + "$choice_bottom_content": "profile.select_default_character_button_vertical_panel", + "$toggle_view_binding_name": "persona_choice_character_toggle", + + "controls": [ + { "create_persona_choice_character@profile.create_persona_choice_button": {} } + ] + }, + + "create_persona_choice_classic_skin@profile.create_persona_choice_button": { + "$title_text": "profileScreen.differences_classic_skin_title", + "$create_persona_description": "profileScreen.create_persona_classic_skin_details", + "$icon_image": "textures/ui/sidebar_icons/classic_skins", + "collection_index": 1 + }, + + //--------------------------------------------------------------------------------------- + + "create_persona_choice_stack@common.vertical_stack_panel": { + "size": [ "100%cm", "100%c" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "collection_name": "persona_type_toggles_collection", + "controls": [ + { "background1@profile.create_persona_choice_character": {} }, + { "background2@profile.create_persona_choice_classic_skin": {} } + ] + }, + + "create_persona_display@common.vertical_stack_panel": { + "offset": [ 4, 2 ], + "controls": [ + { "space@vertical_padding_2px": {} }, + { "stack_content@profile.create_persona_choice_stack": {} } + ] + }, + + "popup_dialog__create_persona@profile.profile_common_dialog": { + "$title_text": "profileScreen.create_persona_title", + "$scrolling_content": "profile.create_persona_display", + "$confirm_button_name": "button.create_selected_persona", + "$confirm_button_text": "#create_persona_popup_confirm_text", + "$button_text_binding_type": "global", + "$button_binding_condition": "always", + "$close_button_to_button_id": "button.close_edit_appearance_preset", + "$confirm_button_enabled": "#create_persona_has_selected_type", + "$popup_panel_size": [ 260, 175 ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + ////////////////////////////////////////////////////////////////////////////////////// + // Profile screen foundation + ////////////////////////////////////////////////////////////////////////////////////// + + "profile_screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "$ignore_home_button": true, + "$ignore_search": true, + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "profile.profile_screen_main_panel", + "$back_button_pressed_button_name": "button.try_exiting" + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed", + "toast_message": "@profile.popup_toast", + "difference_information": "@profile.popup_dialog__difference_information", + "difference_preview": "@profile.popup_dialog__preview_difference_information", + "delete_persona": "@profile.popup_dialog__delete_persona", + "create_persona": "@profile.popup_dialog__create_persona", + "cast_character_select_popup": "@persona_cast_character_screen.popup_dialog__cast_character_select", + "cast_character_preview_page_one": "@persona_cast_character_screen.cast_preview_page_one", + "cast_character_preview_page_two": "@persona_cast_character_screen.cast_preview_page_two" + } + } + } + ] + }, + + "profile_screen_background_content": { + "type": "image", + "fill": true, + "texture": "textures/ui/profile_bg" + }, + + "render_below_base_screen@common.base_screen": { "force_render_below": true }, + + "profile_screen@common.base_screen": { + "$safezone_screen_matrix_layer": 20, + "$ignore_inventory_button": true, + "$show_close_button": true, + "$close_button_visible_binding_type": "global", + "$close_button_offset": [ -2, 2 ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", // controller_B + "to_button_id": "button.try_exiting", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", // controller_left_bumper + "to_button_id": "button.pressedArrowLeft", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", // controller_right_bumper + "to_button_id": "button.pressedArrowRight", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_select", // controller_X + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ], + + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + + "$default_text_color": "$light_button_default_text_color", + + "$fill_alpha": 0.2, + "$screen_content": "profile.profile_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": true, + "$ignore_home_button": true, + "$ignore_search": true, + "$sidebar_ignore_page_loading": false, + "$hide_failure_text": true, + "$screen_bg_content": "profile.profile_screen_background_content", + + "$always_show_layer": 200, + "$always_show_paper_doll": 190, + "$manage_options_background": 100, + "$preset_appearance_front_layer": 6, + "$preset_appearance_back_layer": 5 + } +} diff --git a/resource_pack/ui/progress_screen.json b/resource_pack/ui/progress_screen.json new file mode 100644 index 0000000..daa7bc2 --- /dev/null +++ b/resource_pack/ui/progress_screen.json @@ -0,0 +1,2078 @@ +{ + "namespace": "progress", + + //-------------------------------------------------------------------------------- + // Popup Dialog for resource packs + "popup_dialog_base@popup_dialog.popup_dialog": { + "size": [ "90%", "90%" ], + "$left_button_press": "button.confirm_download", //"button.download_resourcepack", + "$left_button_text": "gui.close", //"progress.resourcepack.download", + "$right_button_press": "button.deny_packs", //"button.close_dialog", + "$right_button_text": "gui.close", //"progress.resourcepack.cancel", + "controls": [ + { "background@popup_dialog.popup_dialog_bg": {} }, + { + "scrolling_panel@common.scrolling_panel": { + "layer": 1, + "size": [ "100%", "70c%" ], + "offset": [ "0%", "10%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$scrolling_pane_size": [ "99c%", "99c%" ], + "$scrolling_pane_offset": [ "0.5c%", "0.5c%" ], + "$scrolling_content": "progress.resource_pack_section" + } + }, + { + //total number of selected packs x/y + "totalSelected": { + "layer": 100, + "type": "label", + "size": [ "100c%", 10 ], + "color": "$dark_body_text_color", + "offset": [ "0.75%", "-16%" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "text": "#selectedPacks", + "bindings": [ + { + "binding_name": "#selectedPacks" + } + ] + } + }, + { + //total download size of selected packs + "totalSelectedSize": { + "type": "label", + "size": [ "50c%", 10 ], + "color": "$dark_body_text_color", + "offset": [ "-0.75%", "-16%" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "text": "#selectedPackSize", + "bindings": [ + { + "binding_name": "#selectedPackSize" + } + ] + } + }, + { + "left@popup_dialog.popup_dialog_left_button": { + "size": [ "49.25%", "15%" ], + "offset": [ "0.5%", "-1%" ] + } + }, + { + "right@popup_dialog.popup_dialog_right_button": { + "size": [ "49.25%", "15%" ], + "offset": [ "-0.5%", "-1%" ] + } + } + ] + }, + + // Checkbox with label + "checkbox_visual": { + "type": "panel", + "size": [ "100%", 20 ], + "$text_alpha|default": 1.0, + "$checkbox_label_bindings|default": [], + "controls": [ + { + "$toggle_visual@$toggle_visual": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "control": { + "type": "label", + "color": "$sub_header_text_color", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$checkbox_label_text", + "offset": [ 18, -1.5 ], + "alpha": "$text_alpha", + "bindings": "$checkbox_label_bindings" + } + } + ] + }, + + "checkbox_visuals_unchecked@checkbox_visual": { + "$toggle_visual": "common.checkbox_unchecked_state" + }, + + "checkbox_visuals_checked@checkbox_visual": { + "$toggle_visual": "common.checkbox_checked_state" + }, + + "checkbox_visuals_unchecked_locked@checkbox_visual": { + "$toggle_visual": "common.checkbox_unchecked_locked_state", + "$text_alpha": 0.5 + }, + + "checkbox_visuals_checked_locked@checkbox_visual": { + "$toggle_visual": "common.checkbox_checked_locked_state", + "$text_alpha": 0.5 + }, + + "checkbox_visuals_unchecked_hover@checkbox_visual": { + "$toggle_visual": "common.checkbox_unchecked_hover_state" + }, + + "checkbox_visuals_checked_hover@checkbox_visual": { + "$toggle_visual": "common.checkbox_checked_hover_state" + }, + + "checkbox_with_label_core@common.checkbox": { + "$unchecked_control": "progress.checkbox_visuals_unchecked", + "$checked_control": "progress.checkbox_visuals_checked", + "$unchecked_hover_control": "progress.checkbox_visuals_unchecked_hover", + "$checked_hover_control": "progress.checkbox_visuals_checked_hover", + "$unchecked_locked_control": "progress.checkbox_visuals_unchecked_locked", + "$unchecked_locked_hover_control": "progress.checkbox_visuals_unchecked_locked", + "$checked_locked_control": "progress.checkbox_visuals_checked_locked", + "$checked_locked_hover_control": "progress.checkbox_visuals_checked_locked", + "size": [ "100%", "100%c" ], + + "enabled": "$enabled" + }, + + "checkbox_with_label": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "17px" ], + "offset": [ 3, 0 ], + "$enabled|default": true, + "controls": [ + { "checkbox_with_label_core@progress.checkbox_with_label_core": {} } + ] + }, + + // Resourcepack button & section + "resource_pack_grid_item@progress.checkbox_with_label": { + + "$toggle_default_state": true, + "$enabled": "$optional_pack", + + "$checkbox_label_text": "#resource_pack_name", + "$checkbox_label_bindings": [ + { + "binding_name": "#resource_pack_name", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "$resource_pack_collection" + } + ], + "$toggle_binding_type": "collection", + "$toggle_name": "$resource_pack_collection", + "$toggle_grid_collection_name": "$resource_pack_collection" + }, + + "resource_pack_section": { + "type": "stack_panel", + "size": [ "99%", "99%c + 4px" ], + "offset": [ "0.5%", "0.5% + 2px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$active_text_color": [ 1.0, 1.0, 1.0 ], + + "controls": [ + { + "required_resource_pack_list_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + + "grid_item_template": "progress.resource_pack_grid_item", + //for grid_item_template + "$optional_pack": false, + "$resource_pack_collection": "required_resourcepacks", + + + "grid_dimension_binding": "#required_resource_pack_grid_dimension", + "collection_name": "required_resourcepacks", + "bindings": [ + { + "binding_name": "#required_resource_pack_grid_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "optional_resource_pack_list_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + + + "grid_item_template": "progress.resource_pack_grid_item", + //for grid_item_template + "$optional_pack": true, + "$resource_pack_collection": "optional_resourcepacks", + + + "grid_dimension_binding": "#optional_resource_pack_grid_dimension", + "collection_name": "optional_resourcepacks", + "bindings": [ + { + "binding_name": "#optional_resource_pack_grid_dimension", + "binding_condition": "visible" + } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + + "simple_popup_dialog_base@popup_dialog.popup_dialog": { + "size": [ "50%", "100%c" ], + "max_size": [ "50%", "100% - 4px" ], + "min_size": [ "50%", "50%" ], + + "$use_top_button|default": false, + "$top_button_press|default": "", + "$top_button_text|default": "", + "$button_size": [ "100%", 30 ], + "$has_second_line|default": false, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "modal.escape", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ], + + "controls": [ + { + "dialog_background_hollow_3@common.dialog_background_hollow_3": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "control": { + "type": "image", + "texture": "textures/ui/control", + "layer": -10, + "size": [ "100% - 16px", "100%c" ], + "alpha": 1, + "controls": [ + { + "content_panel": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c + 10px" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "title": { + "layer": 101, + "type": "label", + "offset": [ 0, 8 ], + "size": [ "95%", 10 ], + "color": "$title_text_color", + "shadow": false, + "text": "$title_text" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "description": { + "layer": 101, + "type": "label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "text": "$description_text", + "bindings": [ + { + "binding_name": "$description_text" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 0, 8 ], + "visible": "$has_second_line", + "enabled": "$has_second_line" + } + }, + { + "description2": { + "layer": 101, + "type": "label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "text": "$description_text2", + "ignored": "(not $has_second_line)", + "bindings": [ + { + "binding_name": "$description_text2" + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "top_optional_button@popup_dialog.popup_dialog_button_with_binding": { + "visible": "$use_top_button", + "enabled": "$use_top_button", + "size": "$button_size", + "$pressed_button_name": "$top_button_press", + "$button_binding_condition": "once", + "$button_text_binding_type": "global", + "$button_text": "$top_button_text" + } + }, + { + "padding_4": { + "type": "panel", + "size": [ 0, 2 ], + "visible": "$use_top_button", + "enabled": "$use_top_button" + } + }, + { + "middle_button@popup_dialog.popup_dialog_button_with_binding": { + "size": "$button_size", + "$pressed_button_name": "$middle_button_press", + "$button_binding_condition": "once", + "$button_text_binding_type": "global", + "$button_text": "$middle_button_text" + } + }, + { + "padding_5": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "bottom_button@popup_dialog.popup_dialog_button": { + "size": "$button_size", + "$pressed_button_name": "$bottom_button_press", + "$button_text": "$bottom_button_text" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "resource_pack_download_popup_base@progress.simple_popup_dialog_base": { + "$title_text": "progressScreen.dialog.title.resourcePack", + "$has_second_line": "#show_ray_tracing_warning", + "$description_text": "#pack_download_type_message", + "$description_text2": "#ray_tracing_warning_message", + "bindings": [ + { + "binding_name": "#show_ray_tracing_warning" + }, + { + "binding_name": "#pack_download_type_message" + }, + { + "binding_name": "#ray_tracing_warning_message" + } + ] + }, + + "resource_pack_download_server_required@progress.resource_pack_download_popup_base": { + "$top_button_text": "#empty_binding", + + "$middle_button_press": "button.join_and_download_everything", + "$middle_button_text": "#join_and_download_everything", + + "$bottom_button_press": "button.leave", + "$bottom_button_text": "progressScreen.dialog.button.leave" + }, + + "resource_pack_download_optional_and_required@progress.resource_pack_download_popup_base": { + "$use_top_button": true, + "$top_button_press": "button.join_and_download_everything", + "$top_button_text": "#join_and_download_everything", + + "$middle_button_press": "button.join_and_download_required", + "$middle_button_text": "#join_and_download_required", + + "$bottom_button_press": "button.leave", + "$bottom_button_text": "progressScreen.dialog.button.leave" + }, + + "resource_pack_download_optional@progress.resource_pack_download_popup_base": { + "$top_button_text": "#empty_binding", + + "$middle_button_press": "button.join_and_download_everything", + "$middle_button_text": "#join_and_download_everything", + + "$bottom_button_press": "button.join", + "$bottom_button_text": "progressScreen.dialog.button.join" + }, + + "resource_pack_download_required@progress.resource_pack_download_popup_base": { + "$top_button_text": "#empty_binding", + + "$middle_button_press": "button.join_and_download_required", + "$middle_button_text": "#join_and_download_required", + + "$bottom_button_press": "button.leave", + "$bottom_button_text": "progressScreen.dialog.button.leave" + }, + + //-------------------------------------------------------------------------------- + + "normal_stroke_button": { + "type": "image", + "texture": "textures/ui/NormalButtonThinStroke" + }, + "progress_screen_text": { + "type": "label", + "color": "$loading_text_color", + "anchor_to": "center", + "anchor_from": "center", + "layer": 2, + "shadow": false + }, + + "progress_title_text@progress.progress_screen_text": { + "size": [ "default", 20 ], + "max_size": [ "100% - 8px", 20 ], + "offset": [ 0, -15 ], + "text": "#title_text", + "bindings": [ + { + "binding_name": "#title_text" + } + ] + }, + + "progress_bar_text@progress.progress_screen_text": { + "size": [ "default", 20 ], + "max_size": [ "100% - 8px", 20 ], + "offset": [ 0, 9 ], + "text": "#progress_text", + "bindings": [ + { "binding_name": "#progress_text" } + ] + }, + + "code_text@progress.progress_screen_text": { + "size": [ "default", 20 ], + "max_size": [ "100% - 8px", 20 ], + "text": "#code_text", + "bindings": [ + { "binding_name": "#code_text" } + ] + }, + + "code_number@progress.progress_screen_text": { + "size": [ "default", 20 ], + "max_size": [ "100% - 8px", 20 ], + "text": "#code_number", + "color": "$e_color_format", + "bindings": [ + { "binding_name": "#code_number" } + ] + }, + + "bar_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 10, + "frame_step": 64, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + "progress_loading_bars": { + "type": "image", + "layer": 2, + "texture": "textures/ui/loading_bar", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 24 ], + "size": [ 64, 8 ], + "uv_size": [ 64, 8 ], + "uv": "@progress.bar_animation", + "color": [ 0.7, 0.7, 0.7, 1.0 ], + "bindings": [ + { + "binding_name": "#bar_animation_visible", + "binding_name_override": "#visible" + } + ] + }, + + "spinner_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 10, + "frame_step": 7, + "fps": 10 + }, + + "progress_loading_spinner": { + "type": "image", + "layer": 2, + "texture": "textures/ui/loading_spin", + "offset": [ 0, 24 ], + "uv_size": [ 7, 7 ], + "size": [ 14, 14 ], + "uv": "@progress.spinner_animation", + "bindings": [ + { + "binding_name": "#spinner_animation_visible", + "binding_name_override": "#visible" + } + ] + }, + + "fancy_progress_loading_bars": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "90%", 5 ], + "layer": 5, + "controls": [ + { + "full_progress_bar_icon@achievement.full_progress_bar_icon_base": { + "layer": 2, + "bindings": [ + { + "binding_name": "#loading_bar_percentage", + "binding_name_override": "#clip_ratio" + } + ] + } + }, + { + "empty_progress_bar_icon@achievement.empty_progress_bar_icon": { + "layer": 1 + } + }, + { + "progress_bar_nub@progress.progress_bar_nub": { + "size": [ "100% - 10px", 5 ], + "layer": 4 + } + } + ], + "bindings": [ + { + "binding_name": "#loading_bar_visible", + "binding_name_override": "#visible" + } + ] + }, + + "progress_bar": { + "type": "custom", + "renderer": "progress_bar_renderer", + "layer": 2, + "offset": [ 0, 16 ], + "size": [ 100, 2 ], + "primary_color": [ 0.5, 1.0, 0.5, 1.0 ], + "bindings": [ + { + "binding_name": "#loading_bar_visible", + "binding_name_override": "#touch_progress_bar_visible" + }, + { + "binding_name": "#loading_bar_total_amount", + "binding_name_override": "#progress_bar_total_amount" + }, + { + "binding_name": "#loading_bar_current_amount", + "binding_name_override": "#progress_bar_current_amount" + } + ] + }, + + "progress_bar_nub": { + "type": "image", + "texture": "textures/ui/experiencenub", + "tiled": true + }, + + "thick_progress_bar_icon_base": { + "type": "image", + "texture": "textures/ui/progress_bar_simple", + "color": "$day_one_experience_import_progress_bar_fill", + "clip_direction": "left", + "clip_pixelperfect": false + }, + + "thick_progress_bar_icon_empty": { + "type": "image", + "texture": "textures/ui/progress_bar_simple", + "color": "$day_one_experience_import_progress_bar_empty" + }, + + "thick_progress_bar": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "90%", 14 ], + "layer": 5, + "controls": [ + { + "full_progress_bar_icon@progress.thick_progress_bar_icon_base": { + "layer": 2, + "bindings": [ + { + "binding_name": "#loading_bar_percentage", + "binding_name_override": "#clip_ratio" + } + ] + } + }, + { + "empty_progress_bar_icon@progress.thick_progress_bar_icon_empty": { + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#loading_bar_visible", + "binding_name_override": "#visible" + } + ] + }, + + "edu_cloud_upload_progress_bar": { + "type": "panel", + "size": [ "100%" , "100%c" ], + "controls": [ + { + "waveform_loading_bar@progress.progress_loading_bars": { + "bindings": [ + { + "binding_name": "(not #use_determinate_animation)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "determinate_loading_bar@progress.fancy_progress_loading_bars": { + "offset": [ 0, 25 ], + "bindings": [ + { + "binding_name": "#use_determinate_animation", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#progress_animation_visible", + "binding_name_override": "#visible" + } + ] + }, + + "cancel_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_exit", + "$button_text": "#cancel_button_text", + "$button_text_binding_type": "global", + "size": [ 66, 26 ], + "offset": [ 0, 0 ], + "bindings": [ + { + "binding_name": "#cancel_visible", + "binding_name_override": "#visible" + } + ] + }, + + "retry_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_retry", + "$button_text": "gui.retry", + "size": [ 66, 26 ], + "offset": [ 50, 0 ], + "bindings": [ + { + "binding_name": "#retry_and_abort_visible", + "binding_name_override": "#visible" + } + ] + }, + + "abort_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_exit", + "$button_text": "gui.cancel", + "size": [ 66, 26 ], + "offset": [ -50, 0 ], + "bindings": [ + { + "binding_name": "#retry_and_abort_visible", + "binding_name_override": "#visible" + } + ] + }, + + "ok_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_exit", + "$button_text": "gui.ok", + "size": [ 66, 26 ], + "offset": [ 0, 0 ], + "bindings": [ + { + "binding_name": "#ok_visible", + "binding_name_override": "#visible" + } + ] + }, + + "title_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "progress_title_text@progress.progress_title_text": {} + }, + { + "progress_bar_text@progress.progress_bar_text": {} + }, + { + "progress_bar@progress.progress_bar": {} + } + ] + }, + + "button_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 2, + "controls": [ + { + "cancel_button@progress.cancel_button": { + "offset": [ 0, 55 ] + } + } + ] + }, + + "modal_button_panel@button_panel": { + "controls": [ + { + "cancel_button@progress.cancel_button": {} + } + ] + }, + + "modal_button_panel_with_retry@modal_button_panel": { + "controls": [ + { + "abort_button@progress.abort_button": {} + }, + { + "cancel_button@progress.cancel_button": {} + }, + { + "retry_button@progress.retry_button": {} + } + ] + }, + + "modal_ok_button_panel@button_panel": { + "controls": [ + { + "ok_button@progress.ok_button": {} + } + ] + }, + + "gamepad_helpers": { + "type": "panel", + "size": [ 100, 10 ], + "offset": [ 0, "45%" ], + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "world_image": { + "type": "image", + "texture": "textures/ui/worldsIcon", + "size": [ 16, 16 ] + }, + + "cloud_image": { + "type": "image", + "texture": "textures/ui/cloud_only_storage", + "size": [ 14, 10 ] + }, + + "edu_cloud_upload_image": { + "type": "stack_panel", + "size": [ "100%c", 20 ], + "orientation": "horizontal", + "controls": [ + { + "world_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "fetch_world_image@progress.world_image": { "offset": [ -6, 0 ] } } + ] + } + }, + { + "arrow_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "arrow_image": { + "type": "image", + "texture": "textures/ui/arrow", + "size": [ 16, 16 ] + } + } + ] + } + }, + { + "cloud_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "upload_cloud_image@progress.cloud_image": { "offset": [ 6, 3 ] } } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#edu_cloud_upload_images_visible", + "binding_name_override": "#visible" + } + ] + }, + + "edu_cloud_fetch_image": { + "type": "stack_panel", + "size": [ "100%c", 16 ], + "orientation": "horizontal", + "controls": [ + { + "cloud_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "fetch_cloud_image@progress.cloud_image": { "offset": [ -6, 3 ] } } + ] + } + }, + { + "spyglass_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "spyglass_image": { + "type": "image", + "texture": "textures/ui/spyglass_flat", + "size": [ 16, 16 ], + "offset": [ 0, 0 ] + } + } + ] + } + }, + { + "world_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "fetch_world_image@progress.world_image": { "offset": [ 6, 0 ] } } + ] + } + } + ] + }, + + "edu_cloud_download_image": { + "type": "stack_panel", + "size": [ "100%c", 16 ], + "orientation": "horizontal", + "offset": [ 0, 5 ], + "controls": [ + { + "cloud_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "download_cloud_image@progress.cloud_image": { "offset": [ -6, 5 ] } } + ] + } + }, + { + "arrow_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "arrow_image": { + "type": "image", + "texture": "textures/ui/arrow", + "size": [ 18, 15 ], + "offset": [ 0, 2 ] + } + } + ] + } + }, + { + "world_image_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { "download_world_image@progress.world_image": { "offset": [ 6, 1 ] } } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "modal_progress_panel_no_cancel": { + "type": "panel", + "size": "$modal_screen_size", + "$background_fill_alpha|default": 0.8, + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_4", + "$fill_alpha": "$background_fill_alpha", + "$show_close_button": false + } + }, + { + "content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-12px" ], + "offset": [ 6, 6 ], + "controls": [ + { + "title_panel@progress.title_panel": {} + }, + { + "progress_loading_bars@progress.progress_loading_bars": {} + } + ] + } + } + ] + }, + + "modal_progress_panel_with_cancel": { + "type": "panel", + "size": "$modal_screen_size", + "$background_fill_alpha|default": 0.8, + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_2", + "$fill_alpha": "$background_fill_alpha", + "$show_close_button": false + } + }, + { + "content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-60px" ], + "offset": [ 6, 20 ], + "controls": [ + { + "title_panel@progress.title_panel": {} + }, + { + "progress_loading_bars@progress.progress_loading_bars": {} + } + ] + } + }, + { + "modal_button_panel@progress.modal_button_panel": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 40 ] + } + } + ] + }, + + "progress_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "progress_loading_bars@progress.progress_loading_bars": {} + }, + { + "title_panel@progress.title_panel": {} + }, + { + "button_panel@progress.button_panel": {} + } + ] + }, + + "modal_progress_screen@progress_screen": { + "$screen_content": "progress.modal_screen_content" + }, + + "delete_progress_screen@modal_progress_screen": { + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ] + }, + + "realms_loading_background@realms_loading_screen_background": { + "type": "panel", + "controls": [ + { + "solid_blue": { + "type": "image", + "texture": "textures/ui/navy_blue", + "fill": true, + "controls": [ + { + "gradient": { + "type": "image", + "texture": "textures/ui/realms_gradient_top", + "size": [ "100%", "25%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$background_fill_alpha": 0.8, + "tiled": "x" + } + } + ] + } + } + ] + }, + + "realms_stories_loading_progress_screen@progress_screen": { + "$screen_content": "progress.realms_loading_world_modal_progress_screen_content", + "$screen_bg_content": "progress.realms_loading_background" + }, + + "world_loading_progress_screen@progress_screen": { + "$screen_content": "progress.world_convert_modal_progress_screen_content" + }, + + "world_loading_screen_background@common.dirt_background": { + "tiled_scale": [ 2, 2 ] + }, + + "overworld_loading_background@world_loading_screen_background": { + "texture": "textures/blocks/dirt", + "controls": [ + { + "background_gradient": { + "type": "custom", + "renderer": "gradient_renderer", + "color1": [ 0, 0, 0, 0.5 ], + "color2": [ 0, 0, 0, 0.7 ], + "ignored": "$is_holographic" + } + } + ] + }, + + "overworld_loading_progress_screen@world_loading_progress_screen": { + "$screen_bg_content": "progress.overworld_loading_background" + }, + + "nether_loading_background@world_loading_screen_background": { + "texture": "textures/blocks/netherrack", + "color": [ 0.5, 0.5, 0.5 ], + "controls": [ + { + "background_gradient": { + "type": "custom", + "renderer": "gradient_renderer", + "color1": [ 0.3, 0.3, 0.3, 0.2 ], + "color2": [ 0.5, 0.188, 0.188, 0.4 ], + "ignored": "$is_holographic" + } + } + ] + }, + + "nether_loading_progress_screen@world_loading_progress_screen": { + "$screen_bg_content": "progress.nether_loading_background" + }, + + "theend_loading_background@world_loading_screen_background": { + "texture": "textures/blocks/end_stone", + "controls": [ + { + "background_gradient": { + "type": "custom", + "renderer": "gradient_renderer", + "color1": [ 0, 0, 0, 0.2 ], + "color2": [ 0, 0, 0, 0.4 ], + "ignored": "$is_holographic" + } + } + ] + }, + + "theend_loading_progress_screen@world_loading_progress_screen": { + "$screen_bg_content": "progress.theend_loading_background" + }, + + "world_saving_progress_screen@progress_screen": { + "variables": [ + { + "requires": "($education_edition and $edu_save_to_cloud_on)", + "$screen_content": "progress.cloud_upload_screen_content" + }, + { + "requires": "(not $education_edition or not $edu_save_to_cloud_on)", + "$screen_content": "progress.world_save_modal_progress_screen_content" + } + ] + }, + + "fetching_edu_cloud_worlds@progress_screen": { + "variables": [ + { + "requires": "($education_edition and $edu_save_to_cloud_on)", + "$screen_content": "progress.edu_cloud_fetch_screen_content" + } + ] + }, + "edu_cloud_download_progress_screen@progress_screen": { + "variables": [ + { + "requires": "($education_edition and $edu_save_to_cloud_on)", + "$screen_content": "progress.cloud_download_screen_content" + } + ] + }, + + "world_convert_modal_progress_screen@progress.progress_screen": { + "$screen_content": "progress.world_convert_modal_progress_screen_content" + }, + + "progress_screen@common.base_screen": { + "force_render_below": "$force_render_below", + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade" + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "test": "dialog@progress.popup_dialog_base", + "resource_pack_download_server_required": "resource_pack_download_server_required@progress.resource_pack_download_server_required", + "resource_pack_download_optional_and_required": "resource_pack_download_optional_and_required@progress.resource_pack_download_optional_and_required", + "resource_pack_download_optional": "resource_pack_download_optional@progress.resource_pack_download_optional", + "resource_pack_download_required": "resource_pack_download_required@progress.resource_pack_download_required" + } + }, + + "progress_screen_content": { + "type": "panel", + "variables": [ + { + "requires": "$desktop_screen", + "$button_state_default_base": "common.button_state_default", + "$button_state_hover_base": "common.button_state_hover", + "$button_state_pressed_base": "common.button_state_pressed" + }, + { + "requires": "$pocket_screen", + "$button_state_default_base": "common-classic.button_state_default", + "$button_state_hover_base": "common-classic.button_state_hover", + "$button_state_pressed_base": "common-classic.button_state_pressed" + } + ], + "controls": [ + { "progress_content_panel@progress.progress_content_panel": {} }, + { "popup_dialog_factory@progress.popup_dialog_factory": {} } + ] + }, + + "progress_content_panel": { + "type": "panel", + "controls": [ + { + "progress_panel@progress.progress_panel": {} + }, + { + "gamepad_helpers@progress.gamepad_helpers": {} + } + ] + }, + + "modal_screen_content": { + "type": "panel", + "variables": [ + { + "requires": "$desktop_screen", + "$button_state_default_base": "progress.normal_stroke_button", + "$button_state_hover_base": "progress.normal_stroke_button", + "$button_state_pressed_base": "progress.normal_stroke_button" + }, + { + "requires": "$pocket_screen", + "$button_state_default_base": "common-classic.button_state_default", + "$button_state_hover_base": "common-classic.button_state_hover", + "$button_state_pressed_base": "common-classic.button_state_pressed" + } + ], + "controls": [ + { + "modal_progress_panel@progress.modal_progress_panel_with_cancel": {} + } + ] + }, + + "world_modal_progress_panel": { + "type": "panel", + "size": "$world_modal_screen_size", + "variables": [ + { + "requires": "$desktop_screen", + "$button_state_default_base": "common.button_state_default", + "$button_state_hover_base": "common.button_state_hover", + "$button_state_pressed_base": "common.button_state_pressed" + }, + { + "requires": "$pocket_screen", + "$button_state_default_base": "common-classic.button_state_default", + "$button_state_hover_base": "common-classic.button_state_hover", + "$button_state_pressed_base": "common-classic.button_state_pressed" + } + ], + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_3", + "$show_close_button": false + } + }, + { + "base_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-12px" ], + "offset": [ 6, 6 ], + "controls": [ + { + "progress_title_text@progress.progress_title_text": { + "color": "$title_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 3 ] + } + }, + { + "progress_bar_text@progress.progress_bar_text": { + "localize": false, + "size": [ "default", 40 ], + "max_size": [ "100% - 8px", 40 ], + "offset": [ 0, -3 ] + } + } + ] + } + }, + { + "inside_content": { + "type": "stack_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%-12px", "100%c" ], + "controls": [ + { + "loading_bar_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "fancy_progress_loading_bars@progress.fancy_progress_loading_bars": {} + }, + { + "progress_loading_bars@progress.progress_loading_bars": { + "offset": [ 0, 0 ] + } + } + ] + } + }, + + { + "vertical_padding": { + "type": "panel", + "size": [ 0, 5 ] + } + }, + { + "modal_button_panel@$modal_button_panel_type": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", "100%c" ] + } + }, + { + "vertical_padding_2": { + "type": "panel", + "size": [ 0, 14 ] + } + } + ] + } + } + ] + }, + + "cloud_upload_panel": { + "type": "panel", + "size": [ 270, 84 ], + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_3", + "$show_close_button": false + } + }, + { + "base_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-12px" ], + "offset": [ 6, 6 ], + "controls": [ + { + "progress_title_text@progress.progress_title_text": { + "color": "$title_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 3 ] + } + }, + { + "progress_text": { + "type": "label", + "size": [ "default", 60 ], + "max_size": [ "100% - 8px", 60 ], + "offset": [ 0, 15 ], + "color": "$loading_text_color", + "layer": 2, + "anchor_from": "center", + "anchor_to": "center", + "text": "#progress_text", + "bindings": [ + { "binding_name": "#progress_text" } + ] + } + }, + { + "edu_cloud_upload_image@progress.edu_cloud_upload_image": { "offset": [ 0, 10 ] } + }, + { + "loading_bar_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "progress_loading_bars@progress.edu_cloud_upload_progress_bar": {} } + ] + } + } + ] + } + } + ] + }, + + "cloud_error_panel": { + "type": "panel", + "size": [ 300, "100%" ], + "variables": [ + { + "requires": "$desktop_screen", + "$button_state_default_base": "common.button_state_default", + "$button_state_hover_base": "common.button_state_hover", + "$button_state_pressed_base": "common.button_state_pressed" + }, + { + "requires": "$pocket_screen", + "$button_state_default_base": "common-classic.button_state_default", + "$button_state_hover_base": "common-classic.button_state_hover", + "$button_state_pressed_base": "common-classic.button_state_pressed" + } + ], + "controls": [ + { + "common_panel@common.common_panel": { + "size": [ "100%", "100%sm" ], + "$dialog_background": "dialog_background_hollow_3", + "$show_close_button": false + } + }, + { + "content_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_wrapper": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%c" ], + "offset": [ 6, 6 ], + "controls": [ + { + "progress_title_text@progress.progress_title_text": { + "color": "$title_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 3 ] + } + } + ] + } + }, + { + "error_text_tts_wrapper": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%sm + 5px", "100%sm" ], + "offset": [ 0, -8 ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "edu_cloud_error_text_wrapper": { + "type": "stack_panel", + // magic offset to make the text wrapping perfect + "size": [ "100%-24px", "100%c" ], + "offset": [ 0, -8 ], + "controls": [ + { + "edu_cloud_error_text": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ "100% - 8px", 60 ], + "color": "$loading_text_color", + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#progress_text", + "font_type": "smooth", + "bindings": [ + { "binding_name": "#progress_text" } + ] + } + }, + { + "vertical_padding": { + "type": "panel", + "size": [ 0, 5 ] + } + }, + { + "error_code": { + "type": "stack_panel", + "size": [ "100% - 8px", 15 ], + "orientation": "horizontal", + "controls": [ + { + "code_text@progress.code_text": { + "size": [ "default", "default" ], + "font_type": "smooth", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "code_number@progress.code_number": { + "size": [ "default", "default" ], + "font_type": "smooth", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { + "vertical_padding_2": { + "type": "panel", + "size": [ 0, 5 ], + "bindings": [ + { + "binding_name": "#cloud_link_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "cloud_support_link": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%c" ], + "bindings": [ + { + "binding_name": "#cloud_link_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "cloud_support_hypertext@edu_common.underline_button": { + "size": [ "98%c", "100%c" ], + "$single_label_size": [ "default", "default" ], + "$single_line_font_scale_factor": 1, + "$pressed_button_name": "button.edu_cloud_hyperlink", + "$single_line_label_text": "#edu_cloud_error_hyperlink_label", + "$font_type": "smooth", + "anchor_from": "top_left", + "anchor_to": "top_left", + "$label_text_bindings": [ + { + "binding_name": "#edu_cloud_error_hyperlink_label" + } + ] + } + }, + { + "padded_icon@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "texture": "textures/ui/icon_external_link", + "size": [ 9, 9 ], + "offset": [ 7, 0.6 ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "button_content": { + "type": "stack_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 52 ], + "bindings": [ + { + "binding_name": "#one_button_panel", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "modal_button_panel@$modal_button_panel_type": {} + } + ] + } + }, + { + "error_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 52 ], + "offset": [ 80, 13 ], + "bindings": [ + { + "binding_name": "(not #one_button_panel)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "download_ok_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.download_failed_open", + "$button_text": "edu.cloudError.local.download.open", + "size": [ 70, 26 ] + } + }, + { + "download_cancel_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.download_failed_cancel", + "$button_text": "#cancel_button_text", + "$button_text_binding_type": "global", + "size": [ 70, 26 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "cloud_fetch_panel": { + "type": "panel", + "size": [ 270, 84 ], + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_3", + "$show_close_button": false + } + }, + { + "base_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-12px" ], + "offset": [ 6, 6 ], + "controls": [ + { + "progress_title_text@progress.progress_title_text": { + "color": "$title_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 3 ] + } + }, + { + "progress_text": { + "type": "label", + "size": [ "default", 60 ], + "max_size": [ "100% - 8px", 60 ], + "offset": [ 0, 15 ], + "color": "$loading_text_color", + "layer": 2, + "anchor_from": "center", + "anchor_to": "center", + "text": "#progress_text", + "bindings": [ + { "binding_name": "#progress_text" } + ] + } + }, + { + "edu_cloud_fetch_image@progress.edu_cloud_fetch_image": { "offset": [ 0, 10 ] } + }, + { + "loading_bar_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "progress_loading_bars@progress.progress_loading_bars": { "offset": [ 0, 25 ] } + } + ] + } + } + ] + } + } + ] + }, + + "cloud_download_panel": { + "type": "panel", + "size": [ 270, 84 ], + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_3", + "$show_close_button": false + } + }, + { + "base_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-12px" ], + "offset": [ 6, 6 ], + "controls": [ + { + "progress_title_text@progress.progress_title_text": { + "color": "$title_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 3 ] + } + }, + { + "progress_bar_text@progress.progress_bar_text": { + "localize": false, + "size": [ "default", 40 ], + "max_size": [ "100% - 8px", 40 ], + "offset": [ 0, 5 ] + } + }, + { + "edu_cloud_download_image@progress.edu_cloud_download_image": {} + } + ] + } + }, + { + "loading_bar_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "progress_loading_bars@progress.progress_loading_bars": {} } + ] + } + } + ] + }, + + "world_convert_modal_progress_screen_content": { + "type": "panel", + + "layer": 3, + + "controls": [ + { "mobile_data_icon@progress.mobile_data_icon": {} }, + { + "title_panel_content@common_art.title_panel_content": { + "$splash_text_visible": false, + "layer": -2 + } + }, + { + "world_modal_progress_panel@progress.world_modal_progress_panel": { + "$modal_button_panel_type": "progress.modal_button_panel" + } + }, + { "popup_dialog_factory@progress.popup_dialog_factory": {} } + ] + }, + + "realms_loading_world_modal_progress_screen_content": { + "type": "panel", + "controls": [ + { "mobile_data_icon@progress.mobile_data_icon": {} }, + { + "realms_title_image": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "type": "image", + "offset": [ 0, -7 ], + "size": [ 220, "38%x" ], + "texture": "textures/ui/realms_title" + } + }, + { + "world_modal_progress_panel@progress.world_modal_progress_panel": { + "$modal_button_panel_type": "progress.modal_button_panel" + } + }, + { "popup_dialog_factory@progress.popup_dialog_factory": {} } + ] + }, + + "world_save_modal_progress_screen_content": { + "type": "panel", + "controls": [ + { + "title_panel_content@common_art.title_panel_content": { + "$splash_text_visible": false + } + }, + { + "world_modal_progress_panel@progress.world_modal_progress_panel": { + "$modal_button_panel_type": "progress.modal_button_panel_with_retry" + } + }, + { + "save_icon@progress.auto_save": {} + }, + { "popup_dialog_factory@progress.popup_dialog_factory": {} } + ] + }, + + "cloud_upload_screen_content": { + "type": "panel", + "layer": 3, + "controls": [ + { + "title_panel_content@common_art.title_panel_content": { + "$splash_text_visible": false, + "layer": -2 + } + }, + { + "cloud_upload_panel@progress.cloud_upload_panel": { + "bindings": [ + { "binding_name": "#progress_text" }, + { + "binding_name": "(not #edu_cloud_upload_error)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "cloud_upload_error_panel@progress.cloud_error_panel": { + "$modal_button_panel_type": "progress.modal_ok_button_panel", + "bindings": [ + { "binding_name": "#progress_text" }, + { + "binding_name": "#edu_cloud_upload_error", + "binding_name_override": "#visible" + } + ] + } + }, + { "popup_dialog_factory@progress.popup_dialog_factory": {} }, + { "cloud_conflict_resolution_popup_factory@edu_common.edu_cloud_conflict_resolution_popup_dialog_factory": {} } + ] + }, + + "edu_cloud_fetch_screen_content": { + "type": "panel", + "controls": [ + { "cloud_fetch_panel@progress.cloud_fetch_panel": {} }, + { "popup_dialog_factory@progress.popup_dialog_factory": {} } + ] + }, + + "cloud_download_screen_content": { + "type": "panel", + "controls": [ + { "background@common.screen_background": {} }, + { + "cloud_download_panel@progress.cloud_download_panel": { + "bindings": [ + { "binding_name": "#progress_text" }, + { + "binding_name": "(not #edu_cloud_download_error)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "cloud_download_error_panel@progress.cloud_error_panel": { + "$modal_button_panel_type": "progress.modal_ok_button_panel", + "bindings": [ + { "binding_name": "#progress_text" }, + { + "binding_name": "#edu_cloud_download_error", + "binding_name_override": "#visible" + } + ] + } + }, + { "popup_dialog_factory@progress.popup_dialog_factory": {} } + ] + }, + + "auto_save_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 9, + "frame_step": 18, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + "auto_save": { + "type": "image", + "layer": 31, + "texture": "textures/ui/auto_save", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 20 ], + "size": [ 18, 30 ], + "uv_size": [ 18, 30 ], + "uv": "@auto_save_animation", + "disable_anim_fast_forward": true, + "bindings": [ + { + "binding_name": "#auto_save_animation_visible", + "binding_name_override": "#visible" + } + ] + }, + + "mobile_data_ios_icon": { + "type": "image", + "texture": "textures/ui/mobile_data_icon_ios", + "size": [ 12, 13 ], + "offset": [ 0, -2 ] + }, + + "mobile_data_android_icon": { + "type": "image", + "texture": "textures/ui/mobile_data_icon_android", + "size": [ 16, 9 ], + "offset": [ 0, -2 ] + }, + + "mobile_data_icon_text": { + "type": "label", + "text": "progressScreen.label.mobileData", + "color": "$mobile_data_icon_text_color", + "size": [ "default", 35 ] + }, + + "mobile_data_icon": { + "type": "panel", + "ignored": "(not ($is_android or $is_ios))", + "layer": -5, + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -3, 10 ], + "size": [ "100%c", "100%c" ], + "controls": [ + { + "icon_android@mobile_data_android_icon": { + "ignored": "(not $is_android)", + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + }, + { + "icon_ios@mobile_data_ios_icon": { + "ignored": "(not $is_ios)", + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + }, + { + "text@mobile_data_icon_text": { + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle" + } + } + ], + "bindings": [ + { + "binding_name": "#mobile_data_icon_visible", + "binding_name_override": "#visible", + "binding_condition": "once" + } + ] + } +} + diff --git a/resource_pack/ui/rating_prompt.json b/resource_pack/ui/rating_prompt.json new file mode 100644 index 0000000..413c06e --- /dev/null +++ b/resource_pack/ui/rating_prompt.json @@ -0,0 +1,158 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "rating_prompt", + + "padding_horizontal": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + "padding_vertical": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "rating_prompt_yes_label": { + "type": "panel", + "layer": 2, + "controls": [ + { + "button_label": { + "type": "label", + "color": "$text_color", + "text": "#ButtonName", + "bindings": [ + { + "binding_name": "#ButtonName" + } + ] + } + } + ] + }, + + "rating_prompt_no_label": { + "type": "panel", + "layer": 2, + "controls": [ + { + "button_label": { + "type": "label", + "color": "$text_color", + "text": "gui.no" + } + } + ] + }, + + "rating_prompt_yes_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.rating_yes_button", + "$button_content": "rating_prompt.rating_prompt_yes_label" + }, + "rating_prompt_no_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.rating_no_button", + "$button_content": "rating_prompt.rating_prompt_no_label" + }, + + "dialog_image": { + "type": "image", + "layer": 2, + "texture": "#texture", + "size": [ 71, "71%x" ], + "bindings": [ + { + "binding_name": "#texture" + } + ] + }, + + "dialog_image_with_border": { + "type": "image", + "layer": 1, + "texture": "textures/ui/Grey", + "size": [ "100%", "100%-4px" ], + "controls": [ + { + "dialog_image@rating_prompt.dialog_image": {} + } + ] + }, + + "button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%-77px", "100%" ], + "controls": [ + { + "padding_3@rating_prompt.padding_vertical": {} + }, + { + "yes_button@rating_prompt.rating_prompt_yes_button": { + "size": [ "100%-2px", "50%-2px" ] + } + }, + { + "no_button@rating_prompt.rating_prompt_no_button": { + "size": [ "100%-2px", "50%-2px" ] + } + } + ] + }, + + "image_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 73, "100%" ], + "controls": [ + { + "padding_2@rating_prompt.padding_vertical": {} + }, + { + "dialog_image_with_border@rating_prompt.dialog_image_with_border": {} + } + ] + }, + + "main_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "padding_0@rating_prompt.padding_horizontal": {} + }, + { + + "image_panel@rating_prompt.image_panel": {} + }, + { + "padding_1@rating_prompt.padding_horizontal": {} + }, + { + "button_panel@rating_prompt.button_panel": {} + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "rating_prompt_screen@common.base_screen": { + "$screen_content": "rating_prompt.rating_prompt_screen_content" + }, + + "rating_prompt_screen_content@common_dialogs.main_panel_no_buttons": { + "size": "$rating_prompt_screen_size", + "$title_panel": "common_dialogs.standard_title_label", + "$text_name": "#title", + "$title_text_binding_type": "global", + "$child_control": "rating_prompt.main_panel", + "$show_close_button": false + } +} diff --git a/resource_pack/ui/realmsPlus_screen.json b/resource_pack/ui/realmsPlus_screen.json new file mode 100644 index 0000000..3ce2ae9 --- /dev/null +++ b/resource_pack/ui/realmsPlus_screen.json @@ -0,0 +1,718 @@ +{ + "namespace": "realmsPlus", + + "realms_plus_pdp_screen@common.base_screen": { + "$ignore_inventory_button": "$is_sidebar_navigation_enabled", + "$screen_content": "realmsPlus.realmsPlus_main_panel", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "realmsPlus.main_background", + "variables": [ + { + "requires": "(not $use_animation)", + "$screen_animations": [ + "@common.screen_exit_animation_no_offset" + ], + "$background_animations": [] + }, + { + "requires": "($use_animation or (not $is_sidebar_navigation_enabled))", + "$screen_animations": [ + "@common.screen_exit_animation_pop_offset", + "@common.screen_exit_animation_pop_fade" + ], + "$background_animations": [] + } + ], + "$is_full_screen_layout": true, + "$fill_alpha": 1, + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ] + }, + + "realms_plus_upgrade_notice_screen@common.base_screen": { + "$ignore_inventory_button": "$is_sidebar_navigation_enabled", + "$screen_content": "realmsPlus.realmsPlus_main_panel", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "realmsPlus.dark_blue_background", + "$is_full_screen_layout": true, + "$fill_alpha": 1, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ] + }, + + "purple_background": { + "type": "image", + "texture": "textures/ui/verticalgradient", + "tiled": "x", + "controls": [ + { + "bottom_left_particles": { + "type": "image", + "size": [ "20%", "133.33%x" ], + "texture": "textures/ui/particles2", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1 + } + }, + { + "top_right_particles": { + "type": "image", + "size": [ "20%", "133.33%x" ], + "offset": [ 7, "5%" ], + "texture": "textures/ui/particles3", + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 2 + } + } + ] + }, + + "main_background": { + "type": "panel", + "controls": [ + { + "dark_blue@realmsPlus.dark_blue_background": { + "bindings": [ + { + "binding_name": "(not #is_content_tab)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "grey_gradient@csb.csb_background": { + "bindings": [ + { + "binding_name": "#is_content_tab", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + + "dark_blue_background": { + "type": "image", + "texture": "textures/ui/white_background", + "color": "$store_realms-background-deep-blue", + "fill": true + }, + + "gradient_image_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "solid_pink": { + "type": "image", + "size": [ "51%", "100%" ], + "tiled": true, + "texture": "textures/ui/postGradientSolid" + } + }, + { + "gradient": { + "type": "image", + "size": [ "fill", "100%" ], + "tiled": "y", + "texture": "textures/ui/purple_gradient" + } + } + ] + }, + + "gradient_content_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$gradient_content|default": "common.empty_panel", + "controls": [ + { + "gradient@realmsPlus.gradient_image_stack": { + "size": [ "100% + 4px", "100%" ] + } + }, + { + "content_panel@$gradient_content": { + "layer": 3 + } + } + ] + }, + + "realmsPlus_screen_main_panel@sidebar_navigation.sidebar_view": { + "$sidebar_main_view_content": "realmsPlus.dialog_content" + }, + + "realmsPlus_main_panel": { + "type": "panel", + "controls": [ + { + "root_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "realmsPlus.realmsPlus_screen_main_panel", + "$back_button_has_title": true, + "$sidebar_ignore_page_loading": true, + "variables": [ + { + "requires": "(not $pre_release)", + "$button_text": "store.realmsPlus" + }, + { + "requires": "($pre_release and not $beta_build)", + "$button_text": "store.realmsPreview" + }, + { + "requires": "($pre_release and $beta_build)", + "$button_text": "store.realmsBeta" + } + ] + } + } + ] + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "play_on_realm": "@realms_common.popup_dialog__play_on_realm" + } + } + } + ] + }, + + "dialog_content": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "selector_area@realmsPlus.selector_area": {} }, + { "content_area@realmsPlus.content_area": {} }, + { "left_right_pane_divider@realmsPlus.left_right_pane_divider": {} } + ] + }, + + "selector_area": { + "type": "panel", + "size": [ "30% - 3px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "focus_container": true, + "use_last_focus": true, + "$focus_navigation_mode_override_down|default": "contained", + "$focus_navigation_mode_override_up|default": "contained", + "$focus_navigation_mode_override_left|default": "", + "$focus_navigation_mode_override_right|default": "", + "focus_navigation_mode_down": "$focus_navigation_mode_override_down", + "focus_navigation_mode_up": "$focus_navigation_mode_override_up", + "focus_navigation_mode_left": "$focus_navigation_mode_override_left", + "focus_navigation_mode_right": "$focus_navigation_mode_override_right", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "realmsPlus.scrollable_selector_area_content", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 1, 0 ] + } + } + ] + }, + + "scrollable_selector_area_content": { + "type": "stack_panel", + "offset": [ 4, 4 ], + "size": [ "100% - 4px", "100%c" ], + "controls": [ + { "realmsPlus_toggle@realmsPlus.realmsPlus_toggle": {} }, + { "content_toggle@realmsPlus.content_toggle": {} }, + { "faq_toggle@realmsPlus.faq_toggle": {} }, + { + "toggle_section_divider@common.section_divider": { + "ignored": "$pre_release", + "$top_padding_size|default": [ "100%", 0 ], + "$bottom_padding_size|default": [ "100%", 4 ] + } + }, + { + "buy_now_toggle@realmsPlus.buy_now_toggle": { + "ignored": "$pre_release", + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + }, + { + "xbl_btn_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "debug": "red", + "controls": [ + { + "xbl_btn@common_buttons.dark_text_button": { + "$button_text": "xbox.signin", + "$pressed_button_name": "button.signin", + "$font_type": "MinecraftTen", + "$anchor": "top_left", + "$default_button_texture": "textures/ui/realms_button_borderless_default", + "$hover_button_texture": "textures/ui/realms_button_borderless_hover", + "$pressed_button_texture": "textures/ui/realms_button_borderless_hover_pressed", + "$locked_button_texture": "textures/ui/realms_button_borderless_hover" + } + } + ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + //hack for controller input so the buy now button can change which tab is focused without triggering the tab change on focus logic when we switch focus from the content area to the selector area + "focus_reset_input_panel": { + "type": "input_panel", + "focus_enabled": true, + "size": [ "100%", 4 ] + } + } + ] + }, + + "section_toggle_base@common_toggles.light_text_toggle_collection": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 20 ], + "$button_size_override": [ "100%", "100% + 1px" ], + "$button_type_panel": "realmsPlus.tab_button_text", + + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$realmsPlus_toggle_index", + + "$toggle_tab_focus_binding_type": "global", + "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence", + "$toggle_on_hover_binding_type": "global", + "$toggle_on_hover_binding_name": "#toggle_on_hover" + }, + + "tab_button_text@common.minecraftTenLabel": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 4px", "default" ], + "text": "$button_text", + "layer": 3, + "color": "$text_color", + "alpha": "$content_alpha", + + "$button_text_binding_type|default": "none", + "$button_text_grid_collection_name|default": "", + "$button_text_binding_condition|default": "none", + + "variables": [ + { + "requires": "(not $is_low_memory_device and not $is_ps4)", // We don't load MinecraftTen in these cases so we need to revert to Mojangles. + "font_scale_factor": 1.2, + "offset": [ 0, -4 ] // Because of how the font is rendered it looks like it is offset down from the center of the render area + } + ], + + "bindings": [ + { + "binding_type": "$button_text_binding_type", + "binding_condition": "$button_text_binding_condition", + "binding_collection_name": "$button_text_grid_collection_name", + "binding_name": "$button_text" + } + ] + }, + + "toggle_base": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "toggle@realmsPlus.section_toggle_base": { + "$toggle_view_binding_name|default": "", + "$toggle_group_forced_index|default": "", + "$button_text|default": "" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "realmsPlus_toggle@realmsPlus.toggle_base": { + "$toggle_view_binding_name": "realmsPlus_toggle", + "$toggle_group_forced_index": "$realmsPlus_toggle_index", + "variables": [ + { + "requires": "(not $pre_release)", + "$button_text": "store.realmsPlus" + }, + { + "requires": "($pre_release and not $beta_build)", + "$button_text": "store.realmsPreview" + }, + { + "requires": "($pre_release and $beta_build)", + "$button_text": "store.realmsBeta" + } + ], + "$focus_override_up": "search_header_text_box" + }, + + "content_toggle@realmsPlus.toggle_base": { + "$toggle_view_binding_name": "content_toggle", + "$toggle_group_forced_index": "$content_toggle_index", + "$button_text": "store.realmsPlus.content" + }, + + "faq_toggle@realmsPlus.toggle_base": { + "$toggle_view_binding_name": "faq_toggle", + "$toggle_group_forced_index": "$faq_toggle_index", + "$button_text": "store.realmsPlus.faq" + }, + + "buy_now_toggle@realmsPlus.toggle_base": { + "$toggle_view_binding_name": "buy_now_toggle", + "$toggle_group_forced_index": "$buy_now_toggle_index", + "$button_text": "store.realmsPlus.buyNow", + + "$default_texture": "textures/ui/realms_button_borderless_default", + "$hover_texture": "textures/ui/realms_button_borderless_hover", + "$pressed_texture": "textures/ui/realms_button_borderless_hover_pressed", + "$pressed_no_hover_texture": "textures/ui/realms_button_borderless_hover", + + "$default_text_color": "$dark_toggle_default_text_color", + "$default_checked_text_color": "$dark_toggle_hover_text_color", + "bindings": [ + { + "binding_name": "#buy_visible", + "binding_name_override": "#visible" + } + ] + }, + + "left_right_pane_divider": { + "type": "image", + "offset": [ "30%", -1 ], + "size": [ "4px", "100% + 2px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "texture": "textures/ui/Banners" + }, + + // right side + "content_area": { + "type": "panel", + "offset": [ -2, 0 ], + "size": [ "70% - 8px", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1, + + "focus_container": true, + "use_last_focus": false, + "$focus_navigation_mode_override_down|default": "contained", + "$focus_navigation_mode_override_up|default": "contained", + "$focus_navigation_mode_override_left|default": "", + "$focus_navigation_mode_override_right|default": "", + "focus_navigation_mode_down": "$focus_navigation_mode_override_down", + "focus_navigation_mode_up": "$focus_navigation_mode_override_up", + "focus_navigation_mode_left": "$focus_navigation_mode_override_left", + "focus_navigation_mode_right": "$focus_navigation_mode_override_right", + + "controls": [ + { + "control": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%", "fill" ], + "$scrolling_content": "realmsPlus.section_content_panels", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 4, 0 ] + } + } + ] + } + } + ] + }, + + "section_content_panels": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "factory": { + "name": "toggle_section_factory", + "control_ids": { + "realmsPlus_tab": "@realmsPlus_landing.landing_content_section", + "content_tab": "@realmsPlus_content.realmsPlus_content_section", + "faq_tab": "@realmsPlus_faq.faq_content_section", + "buy_now_tab": "@realmsPlus.buy_now_content_section" + } + }, + "bindings": [ + { + "binding_name": "#section_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "content_section_top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + }, + + "section_base": { + "type": "stack_panel", + "size": [ "100%", "100%c" ] + }, + + "buy_now_content_section@realmsPlus.section_base": { + "controls": [ + { + "content_section_top_padding@realmsPlus.content_section_top_padding": {} + }, + { + "content@realmsPlus_buy.buy_now_content": {} + } + ] + }, + + "realms_default_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 16, + "frame_step": 19, + "fps": 10, + "reversible": false + }, + + "realms_hover_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 16, + "frame_step": 19, + "fps": 8, + "reversible": false + }, + + "realms_static_single_frame_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 1, + "frame_step": 19, + "fps": 1, + "reversible": false + }, + + "markdown_background_animated": { + "type": "panel", + "size": [ "100%c", "100% + 4px" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "realms_banner@realmsPlus.markdown_background": { + "size": [ "100%c", "100%" ], + "$banner_size": [ 13, "100%" ], + "$triangle_offset": [ 0, 0 ], + "$use_animated_icon": true, + "layer": 9 + } + }, + { + "realms_plus_normal": { + "type": "image", + "texture": "textures/ui/realms_plus_normal", + "size": [ 19, 19 ], + "uv_size": [ 19, 19 ], + "uv": "@realmsPlus.realms_default_animation", + "disable_anim_fast_forward": true, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 15, + "offset": [ -2, 0 ], + "ignored": "$hover_state" + } + }, + { + "realms_plus_hover": { + "type": "image", + "texture": "textures/ui/realms_plus_hover", + "size": [ 19, 19 ], + "uv_size": [ 19, 19 ], + "uv": "@realmsPlus.realms_default_animation", + "disable_anim_fast_forward": true, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 15, + "offset": [ -2, 0 ], + "ignored": "(not $hover_state)" + } + } + ] + }, + + "markdown_background": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$banner_size|default": [ 10, "100%" ], + "$pack_icon_size|default": [ 8, 10 ], + "$icon_color": "$store_sales_banner_text_color", + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$banner_texture": "textures/ui/realmflagSmooth", + "$triangle_texture": "textures/ui/realmflagtriangleSmooth", + "$triangle_offset": [ -1, 0 ], + "variables": [ + { + "requires": "$pressed_state", + "$banner_offset": [ 0, -1 ], + "$triangle_offset": [ -1, -1 ] + } + ], + "controls": [ + { + "banner_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "banner@common_store.markdown_banner": { + "size": [ "100%c", "100%" ], + "$banner_offset|default": [ 0, 0 ], + "offset": "$banner_offset", + "$use_animated_icon|default": false, + "layer": 1, + "controls": [ + { + "banner_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": "$banner_size", + "layer": 2, + "controls": "$banner_content" + } + } + ], + "$banner_content|default": [ + { + "realms_icon_panel": { + "type": "panel", + "size": "$banner_size", + "layer": 1, + "controls": [ + { + "realms_icon": { + "type": "image", + "ignored": "$use_animated_icon", + "texture": "textures/ui/realmPortalSmall", + "size": "$pack_icon_size", + "layer": 1 + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "triangle_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "triangle@common_store.markdown_triangle": { + "size": [ "50%y", "100%" ], + "offset": "$triangle_offset", + "layer": 2 + } + } + ] + } + } + ] + }, + + "empty_label": { + "type": "panel", + "size": [ 0, "100%" ] + }, + + "full_width_section_divider@common.section_divider": { + "$divider_size": [ "100%", 1 ] + } + +} diff --git a/resource_pack/ui/realmsPlus_sections/content_section.json b/resource_pack/ui/realmsPlus_sections/content_section.json new file mode 100644 index 0000000..4b660e4 --- /dev/null +++ b/resource_pack/ui/realmsPlus_sections/content_section.json @@ -0,0 +1,456 @@ +{ + "namespace": "realmsPlus_content", + + "realmsPlus_content_section@realmsPlus.section_base": { + "controls": [ + { + "content_section_top_padding@realmsPlus.content_section_top_padding": {} + }, + { + "content_sections": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "collection_name": "content_sections", + + "factory": { + "name": "content_section_factory", + "control_ids": { + "icons": "@realmsPlus_content.content_pack_types_section", + "packs": "@realmsPlus_content.content_packs_included_section" + } + }, + "bindings": [ + { + "binding_name": "#content_tab_sections", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "content_section_bottom_padding@realmsPlus.content_section_top_padding": {} + } + ] + }, + + "content_pack_types_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "includes_marketplace_pass_wrapper@common.tts_label_focus_wrapper": { + "size": [ "100%", 15 ], + "$tts_label_panel": "realmsPlus_content.includes_marketplace_pass" + } + }, + { + "padding_contentSub@common.empty_panel": { + "size": [ "100%", 4 ] + } + }, + { + "pack_types_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realmsPlus_content.pack_types" + } + } + ] + }, + + "content_packs_included_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "popular_packs@realmsPlus_content.popular_packs": {} + }, + { + "section_divider@realmsPlus.full_width_section_divider": {} + } + ] + }, + + "persona_row@realmsPlus_content.pack_type_row_panel": { + "controls": [ + { + "persona@realmsPlus_content.pack_type_description": { + "$pack_type_texture": "common_store.persona_small_icon", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100% - 4px", 20 ] + } + } + ] + }, + "worlds_row@realmsPlus_content.pack_type_description": { + "$pack_type_texture": "common_store.world_small_icon", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + "pack_types": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$icon_color": "$body_text_color", + "controls": [ + { + "middle_row@realmsPlus_content.pack_type_row_panel": { + "controls": [ + { + "worlds_contentSub@realmsPlus_content.worlds_row": { + "$pack_type_description_text": "store.realmsPlus.content.worldDescription.contentSub" + } + }, + { + "textures@realmsPlus_content.pack_type_description": { + "$pack_type_texture": "common_store.resource_pack_small_icon", + "$pack_type_description_text": "store.realmsPlus.content.textureDescription.contentSub", + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + } + }, + { + "bottom_row@realmsPlus_content.pack_type_row_panel": { + "controls": [ + { + "skins_persona_contentSub@realmsPlus_content.skins": { + "$pack_type_description_text": "store.realmsPlus.content.skinDescriptionPersona.contentSub" + } + }, + { + "mashups@realmsPlus_content.pack_type_description": { + "$pack_type_texture": "common_store.mashup_small_icon", + "$pack_type_description_text": "store.realmsPlus.content.mashupDescription", + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + } + }, + { + "bottom_contentSub@realmsPlus_content.persona_row": { + "$pack_type_description_text": "store.realmsPlus.content.personaDescription.contentSub" + } + } + ] + }, + "skins@realmsPlus_content.pack_type_description": { + "$pack_type_texture": "common_store.skinpack_small_icon", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + "friends_get_access": { + "type": "label", + "size": [ "100%", "default" ], + "text": "store.realmsPlus.content.friendsGetAccess", + "font_type": "smooth", + "color": "$store_white_text_color" + }, + "pack_type_row_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ] + }, + "pack_type_description": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "50% - 4px", 20 ], + "controls": [ + { + "image_nesting_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "texture@$pack_type_texture": { + "size": [ 8, 8 ] + } + } + ] + } + }, + { + "padding_0@common.empty_panel": { + "size": [ 4, "100%" ] + } + }, + { + "description_nesting_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "description_label": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "text": "$pack_type_description_text", + "font_type": "smooth" + } + } + ] + } + } + ] + }, + "popular_packs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_0@common.empty_panel": { + "size": [ "100%", 2 ] + } + }, + { + "pack_grid@realmsPlus_content.packs_collection": {} + }, + { + "view_all_packs_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "view_all_packs_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.view_all_packs", + "$button_content": "realmsPlus_buy.button_text", + "$button_text": "store.realmsPlus.content.viewAllPacks", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "100% - 10px", 18 ], + "size": [ "100%", 20 ] + } + } + ] + } + }, + { + "padding_1@common.empty_panel": { + "size": [ "100%", 2 ] + } + }, + { + "view_character_creator_items_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.view_character_creator_items", + "$button_content": "csb_buy.button_text", + "$button_text": "store.csb.content.viewCharacterCreatorItems", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "100% - 10px", 18 ], + "size": [ "100%", 20 ], + "bindings": [ + { + "binding_name": "#realms_content_creator_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_2@common.empty_panel": { + "size": [ "100%", 2 ] + } + } + ] + }, + "popular_packs_label": { + "type": "label", + "size": [ "100% - 4%", "default" ], + "text": "#packs_label", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#packs_label" + } + ] + }, + + "includes_marketplace_pass@csb.gradient_content_panel": { + "$gradient_content": "realmsPlus_content.includes_marketplace_pass_label", + "bindings": [ + { + "binding_name": "#realms_contentSub_enabled", + "binding_name_override": "#visible" + } + ] + }, + + "includes_marketplace_pass_label": { + "type": "label", + "size": [ "100% - 4%", "default" ], + "text": "store.realmsPlus.content.marketplacePass", + "color": "$light_button_default_text_color" + }, + + "packs_collection": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "row_1": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "collection_name": "popular_packs_collection", + "controls": [ + { + "pack_image_grid_item_0@realmsPlus_content.pack_image_grid_item": { + "collection_index": 0 + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { + "pack_image_grid_item_1@realmsPlus_content.pack_image_grid_item": { + "collection_index": 1 + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "row_2": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "collection_name": "popular_packs_collection", + "controls": [ + { + "pack_image_grid_item_0@realmsPlus_content.pack_image_grid_item": { + "collection_index": 2 + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { + "pack_image_grid_item_1@realmsPlus_content.pack_image_grid_item": { + "collection_index": 3 + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + "pack_image_grid_item": { + "type": "panel", + "size": [ "50% - 2px", "56.25%x + 1.125px" ], + "controls": [ + { + "bg@common_store.banner_fill": { + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { + "featured_key_art": { + "type": "image", + "layer": 4, + "size": [ "100% - 2px", "100% - 2px" ], + "bilinear": true, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "popular_packs_collection", + "binding_name": "#key_art_texture_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "collection", + "binding_collection_name": "popular_packs_collection", + "binding_name": "#key_art_texture_path", + "binding_name_override": "#texture" + } + ], + "controls": [ + { + "csb_chevron@csb_content.csb_content_chevron": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 0, 0.5 ] + } + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", "100%" ], + "$source_control_name": "featured_key_art", + "$source_property_name": "(#texture = '')", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$hide_failure_text": true + } + } + ] + } + }, + { + "offer_button@common.button": { + "size": [ "100%", "100%" ], + "layer": 7, + "default_control": "", + "$pressed_button_name": "button.select_offer", + "tts_control_header": "#title_label", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "popular_packs_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "popular_packs_collection", + "binding_name": "#right_most_grid_item_focus_override_right", + "binding_name_override": "#focus_change_right", + "binding_condition": "visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "popular_packs_collection", + "binding_name": "#title_label" + } + ], + "controls": [ + { + "default@common.square_image_border_white": { + "color": [ 0, 0, 0 ] + } + }, + { + "hover@common.square_image_border_white": {} + }, + { + "pressed@common.square_image_border_white": {} + } + ] + } + } + ] + }, + + "realms_plus_content_chevron@realmsPlus.markdown_background": { + "size": [ "100%c", 12 ], + "layer": 1 + } +} diff --git a/resource_pack/ui/realmsPlus_sections/faq_section.json b/resource_pack/ui/realmsPlus_sections/faq_section.json new file mode 100644 index 0000000..f2462bb --- /dev/null +++ b/resource_pack/ui/realmsPlus_sections/faq_section.json @@ -0,0 +1,337 @@ +{ + "namespace": "realmsPlus_faq", + + "faq_image_section@common.service_repo_image_panel": { + "size": [ 100, "72.6%x" ] + }, + + "faq_image_local": { + "type": "image", + "size": [ 100, "72.6%x" ], + "texture": "$repo_image_texture" + }, + + "faq_image_type": { + "type": "panel", + "size": [ 100, "100%cm" ], + "controls": "$faq_image_control", + "$faq_image_control|default": [ + { + "faq_image_repo@realmsPlus_faq.faq_image_section": {} + } + ] + }, + + "faq_text_section_body": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%c" ], + "$faq_question|default": "", + "$faq_answer|default": "" + }, + + "faq_text_question": { + "type": "label", + "text": "$faq_question", + "size": [ "100%", "default" ], + "color": "$store_white_text_color" + }, + + "faq_text_section@realmsPlus_faq.faq_text_section_body": { + "controls": [ + { + "faq_text_question@realmsPlus_faq.faq_text_question": {} + }, + { + "faq_text_answer": { + "type": "label", + "text": "$faq_answer", + "size": [ "100%", "default" ], + "font_type": "smooth", + "font_scale_factor": 0.9, + "color": "$store_white_text_color" + } + } + ] + }, + + "faq_price_bound_text_section@realmsPlus_faq.faq_text_section_body": { + "controls": [ + { + "faq_text_question@realmsPlus_faq.faq_text_question": {} + }, + { + "faq_text_answer": { + "type": "label", + "text": "#faq_price_text", + "size": [ "100%", "default" ], + "font_type": "smooth", + "font_scale_factor": 0.9, + "color": "$store_white_text_color", + "bindings": [ + { + "binding_name": "#faq_price_text" + } + ] + } + } + ] + }, + + "faq_question_body@realmsPlus_faq.faq_question_body_stack": { + "controls": "$question_body_controls" + }, + + "faq_question_body_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ] + }, + + "faq_question_body_horz_padding": { + "type": "panel", + "size": [ 4, 0 ] + }, + + "image_left_faq_question_body@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "realmsPlus_faq.faq_question_body", + "$text_control_size": [ "100%", "100%cm" ], + "$question_body_controls": [ + { + "faq_question_body_horz_padding_1@realmsPlus_faq.faq_question_body_horz_padding": {} + }, + { + "faq_image_type@realmsPlus_faq.faq_image_type": {} + }, + { + "faq_question_body_horz_padding_2@realmsPlus_faq.faq_question_body_horz_padding": {} + }, + { + "faq_text_section@realmsPlus_faq.faq_text_section": {} + }, + { + "faq_question_body_horz_padding_3@realmsPlus_faq.faq_question_body_horz_padding": {} + } + ] + }, + + "image_right_faq_question_body@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "realmsPlus_faq.faq_question_body", + "$text_control_size": [ "100%", "100%cm" ], + "$question_body_controls": [ + { + "faq_question_body_horz_padding_1@realmsPlus_faq.faq_question_body_horz_padding": {} + }, + { + "faq_text_section@realmsPlus_faq.faq_text_section": {} + }, + { + "faq_question_body_horz_padding_2@realmsPlus_faq.faq_question_body_horz_padding": {} + }, + { + "faq_image_type@realmsPlus_faq.faq_image_type": {} + }, + { + "faq_question_body_horz_padding_3@realmsPlus_faq.faq_question_body_horz_padding": {} + } + ] + }, + + "image_left_faq_question_body_flip": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "faq_question_left@realmsPlus_faq.image_left_faq_question_body": {} + } + ] + }, + + "image_right_faq_question_body_flip": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "faq_question_right@realmsPlus_faq.image_right_faq_question_body": {} + } + ] + }, + + "image_left_faq_price_bound@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "realmsPlus_faq.faq_question_body", + "$text_control_size": [ "100%", "100%cm" ], + "$question_body_controls": [ + { + "faq_question_body_horz_padding_1@realmsPlus_faq.faq_question_body_horz_padding": {} + }, + { + "faq_image_section@realmsPlus_faq.faq_image_section": {} + }, + { + "faq_question_body_horz_padding_2@realmsPlus_faq.faq_question_body_horz_padding": {} + }, + { + "faq_text_section@realmsPlus_faq.faq_price_bound_text_section": {} + }, + { + "faq_question_body_horz_padding_3@realmsPlus_faq.faq_question_body_horz_padding": {} + } + ] + }, + + "faq_section_header_space": { + "type": "panel", + "size": [ "100%", 8 ] + }, + + "faq_section_divider@common.section_divider": { + "$top_padding_size": [ "100%", 4 ], + "$bottom_padding_size": [ "100%", 4 ] + }, + + "faq_content_section@realmsPlus.section_base": { + "controls": [ + { + "content_section_top_padding_1@realmsPlus.content_section_top_padding": {} + }, + { + "faq_header": { + "type": "label", + "size": [ "100%", "default" ], + "text": "store.realmsPlus.faq.header", + "font_scale_factor": 1.2, + "text_alignment": "center", + "color": "$store_white_text_color", + "layer": 1 + } + }, + { + "content_section_top_padding_2@realmsPlus_faq.faq_section_header_space": {} + }, + { + "faq_question_1@realmsPlus_faq.image_left_faq_question_body": { + "$faq_question": "store.realmsPlus.faq.question1", + "$faq_answer": "store.realmsPlus.faq.answer1", + "$repo_image_texture": "adventure_characters" + } + }, + { + "faq_question_1_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_2@realmsPlus_faq.image_right_faq_question_body": { + "$faq_question": "store.realmsPlus.faq.question2", + "$faq_answer": "store.realmsPlus.faq.answer2", + "$repo_image_texture": "chicken_forward" + } + }, + { + "faq_question_2_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_3@realmsPlus_faq.image_left_faq_price_bound": { + "$faq_question": "store.realmsPlus.faq.question5", + "$repo_image_texture": "steve_forward" + } + }, + { + "faq_question_3_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_4@realmsPlus_faq.image_right_faq_question_body": { + "$faq_question": "store.realmsPlus.faq.question10", + "$faq_answer": "store.realmsPlus.faq.answer10", + "$faq_image_control": [ + { + "faq_image_local_path@realmsPlus_faq.faq_image_local": {} + } + ], + "$repo_image_texture": "textures/ui/realms_faq_bee" + } + }, + { + "faq_question_4_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_5@realmsPlus_faq.image_left_faq_question_body_flip": { + "$faq_question": "store.realmsPlus.faq.question11", + "$faq_answer": "store.realmsPlus.faq.answer11", + "$faq_image_control": [ + { + "faq_image_local_path@realmsPlus_faq.faq_image_local": {} + } + ], + "$repo_image_texture": "textures/ui/realms_faq_spider" + } + }, + { + "faq_question_5_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_6@realmsPlus_faq.image_right_faq_question_body_flip": { + "$faq_question": "store.realmsPlus.faq.question4", + "$faq_answer": "store.realmsPlus.faq.answer4", + "$repo_image_texture": "alex_bow" + } + }, + { + "faq_question_6_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_7@realmsPlus_faq.image_left_faq_question_body_flip": { + "$faq_question": "store.realmsPlus.faq.question3", + "$faq_answer": "store.realmsPlus.faq.answer3", + "$repo_image_texture": "pig_forward" + } + }, + { + "faq_question_7_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_8@realmsPlus_faq.image_right_faq_question_body_flip": { + "$faq_question": "store.realmsPlus.faq.question9", + "$faq_answer": "store.realmsPlus.faq.answer9", + "$repo_image_texture": "creeper_forward" + } + }, + { + "faq_question_8_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_9@realmsPlus_faq.image_left_faq_question_body_flip": { + "$faq_question": "store.realmsPlus.faq.question8", + "$faq_answer": "store.realmsPlus.faq.answer8", + "$repo_image_texture": "wolf_forward" + } + }, + { + "faq_question_9_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_10@realmsPlus_faq.image_right_faq_question_body_flip": { + "$faq_question": "store.realmsPlus.faq.question7", + "$faq_answer": "store.realmsPlus.faq.answer7", + "$faq_image_control": [ + { + "faq_image_local_path@realmsPlus_faq.faq_image_local": {} + } + ], + "$repo_image_texture": "textures/ui/realms_faq_fox" + } + }, + { + "faq_question_10_divider@realmsPlus_faq.faq_section_divider": {} + }, + { + "faq_question_11@realmsPlus_faq.image_left_faq_question_body_flip": { + "$faq_question": "store.realmsPlus.faq.question6", + "$faq_answer": "store.realmsPlus.faq.answer6", + "$repo_image_texture": "ender_dragon" + } + }, + { + "content_section_top_padding_3@realmsPlus.content_section_top_padding": {} + } + ] + } +} diff --git a/resource_pack/ui/realmsPlus_sections/landing_section.json b/resource_pack/ui/realmsPlus_sections/landing_section.json new file mode 100644 index 0000000..1364a93 --- /dev/null +++ b/resource_pack/ui/realmsPlus_sections/landing_section.json @@ -0,0 +1,560 @@ +{ + "namespace": "realmsPlus_landing", + + "landing_content_section@realmsPlus.section_base": { + "controls": [ + { + "landing_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_stack@realmsPlus_landing.title_stack": {} + }, + { + "vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "divider_panel": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_divider@common.section_divider": { + "$divider_size": [ "100% - 2px", 1 ] + } + } + ] + } + }, + { + "vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_stack@realmsPlus_landing.info_stack": {} + }, + { + "vertical_small_spacer_2@realmsPlus_landing.vertical_small_spacer": { + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + }, + + "horizontal_small_spacer": { + "type": "panel", + "size": [ 2, 0 ] + }, + + "vertical_small_spacer": { + "type": "panel", + "size": [ 0, 2 ] + }, + + "vertical_med_spacer": { + "type": "panel", + "size": [ 0, 4 ] + }, + + "vertical_large_spacer": { + "type": "panel", + "size": [ 0, 8 ] + }, + + "title_stack": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_image_panel@realmsPlus_landing.title_image_panel": {} + }, + { + "gradient_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label_with_gradient_wrapper@common.tts_label_focus_wrapper": { + "size": [ "100% - 6px", 15 ], + "$tts_label_panel": "realmsPlus_landing.label_with_gradient" + } + } + ], + "bindings": [ + { + "binding_name": "#realms_plus_one_month_free_trial_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vertical_space@realmsPlus_landing.vertical_small_spacer": { + "bindings": [ + { + "binding_name": "#realms_plus_one_month_free_trial_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "action_button@realmsPlus_buy.buy_button_panel": { + "ignored": "$pre_release", + "$pressed_button_name": "button.action_button", + "bindings": [ + { + "binding_name": "#buy_visible", + "binding_name_override": "#visible" + } + ], + "$buy_now_bindings": [ + ] + } + }, + { + "sign_in_button@realmsPlus_buy.buy_button_panel": { + "$pressed_button_name": "button.signin", + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ], + "$buy_now_bindings": [ + ] + } + }, + { + "vertical_space2@realmsPlus_landing.vertical_small_spacer": { + "bindings": [ + { + "binding_name": "(not #realms_plus_one_month_free_trial_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "label_with_gradient@realmsPlus.gradient_content_panel": { + "$gradient_content": "realmsPlus_landing.free_trial_text" + }, + + "free_trial_text": { + "type": "label", + "size": [ "100% - 6 px", "default" ], + "text": "#free_trial_header_text", + "color": "$store_white_text_color", + "bindings": [ + { + "binding_name": "#free_trial_header_text" + } + ] + }, + + "title_image_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_image_container": { + "ignored": "$pre_release", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "title_image": { + "type": "image", + "size": [ "43.86%", "38.162%x" ], + "texture": "textures/ui/realms_title" + } + }, + { + "title_art_image": { + "type": "image", + "size": [ "56.14%", "30.12%x" ], + "texture": "textures/ui/realms_header_art" + } + } + ] + } + }, + { + "title_image_pre_release_container": { + "ignored": "(not $pre_release)", + "type": "panel", + "size": [ "100%", "60%c" ], + "controls": [ + { + "title_image_pre_release": { + "type": "image", + "size": [ 220, "38%x" ], + "texture": "textures/ui/realms_title" + } + } + ] + } + } + ] + }, + + "info_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 3px", "100%cm" ], + "controls": [ + { + "info_stack": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "info_description_stack_retail@realmsPlus_landing.info_description_stack_retail": { + "ignored": "$pre_release", + "size": [ "100%", "100%c" ] + } + }, + { + "info_description_stack_preview@realmsPlus_landing.info_description_stack_prerelease": { + "ignored": "(not $pre_release)", + "size": [ "100%", "100%c" ] + } + } + ] + } + } + ] + }, + + "info_description_stack_retail": { + "type": "stack_panel", + "controls": [ + { + "info_section_stack_1@realmsPlus_landing.info_section_stack": { + "controls": [ + { + "horizontal_small_spacer@realmsPlus_landing.horizontal_small_spacer": {} + }, + { + "info_section_text_1_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realmsPlus_landing.info_section_text_1" + } + } + ] + } + }, + { + "vertical_med_spacer0@realmsPlus_landing.vertical_med_spacer": {} + }, + { + "divider_centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "divider@common.section_divider": { + "offset": [ 0.5, 0 ], + "$divider_size": [ "100%", 1 ] + } + } + ] + } + }, + { + "vertical_med_spacer1@realmsPlus_landing.vertical_med_spacer": {} + }, + { + "info_section_stack_recently_added@realmsPlus_landing.info_section_stack": { + "controls": [ + { + "horizontal_small_spacer@realmsPlus_landing.horizontal_small_spacer": {} + }, + { + "info_section_text_recently_added_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realmsPlus_landing.info_section_text_recently_added" + } + } + ] + } + }, + { + "vertical_med_spacer2@realmsPlus_landing.vertical_med_spacer": {} + }, + { + "divider_centering_panel2": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "divider2@common.section_divider": { + "offset": [ 0.5, 0 ], + "$divider_size": [ "100%", 1 ] + } + } + ] + } + }, + { + "vertical_med_spacer3@realmsPlus_landing.vertical_med_spacer": {} + }, + { + "info_section_stack_2@realmsPlus_landing.info_section_stack": { + "controls": [ + { + "horizontal_small_spacer@realmsPlus_landing.horizontal_small_spacer": {} + }, + { + "info_section_text_2_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realmsPlus_landing.info_section_text_2" + } + } + ] + } + } + ] + }, + + "info_description_stack_prerelease": { + "type": "panel", + "controls": [ + { + "info_section_stack@realmsPlus_landing.info_section_stack": { + "controls": [ + { + "horizontal_large_spacer": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { + "info_section_text_3_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realmsPlus_landing.info_section_text_3" + } + } + ] + } + } + ] + }, + + "info_section_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ] + }, + + "info_section_text_1@realmsPlus_landing.info_section_text": { + "controls": [ + { + "info_text_bullet_1@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info1.line1" + } + }, + { + "vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_2@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info1.line2" + } + }, + { + "vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_3@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info1.line3" + } + } + ] + }, + + "info_section_text_recently_added@realmsPlus_landing.info_section_text": { + "controls": [ + { + "recently_added_header": { + "type": "label", + "text": "store.realmsPlus.landing.info2.recentlyAdded", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$csb_upsell_pink-3" + } + }, + { + "info_text_bullet_contentSub@realmsPlus_landing.info_section_text": { + "controls": [ + { + "vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_0@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info2.contentSub" + } + } + ] + } + }, + { + "vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_1@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info2.persona" + } + }, + { + "vertical_small_spacer_2@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_2@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info2.social" + } + } + ] + }, + + "info_section_text_2@realmsPlus_landing.info_section_text": { + "controls": [ + { + "info_text_bullet_2@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info2.backups" + } + }, + { + "vertical_small_spacer_0@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_3@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info2.renews" + } + }, + { + "vertical_small_spacer_1@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_4@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "store.realmsPlus.landing.info2.cancel" + } + }, + { + "info_text_bullet_notFreeTrial@realmsPlus_landing.info_section_text": { + "controls": [ + { + "vertical_small_spacer@realmsPlus_landing.vertical_small_spacer": {} + }, + { + "info_text_bullet_4@realmsPlus_landing.info_text_bullet": { + "$info_text_line": "#landing_info_subscribe", + "$text_bindings": [ + { + "binding_name": "#landing_info_subscribe" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "info_section_text_3@realmsPlus_landing.info_section_text": { + "controls": [ + { + "info_text_unbulletted_1@realmsPlus_landing.info_text_unbulletted": { + "$info_text_line": "#landing_info_preview_line_1" + } + }, + { + "vertical_large_spacer_0@realmsPlus_landing.vertical_large_spacer": {} + }, + { + "info_text_unbulletted_2@realmsPlus_landing.info_text_unbulletted": { + "$info_text_line": "#landing_info_preview_line_2" + } + }, + { + "vertical_large_spacer_1@realmsPlus_landing.vertical_large_spacer": {} + }, + { + "info_text_unbulletted_3@realmsPlus_landing.info_text_unbulletted": { + "$info_text_line": "#landing_info_preview_line_3" + } + }, + { + "vertical_large_spacer_2@realmsPlus_landing.vertical_large_spacer": {} + }, + { + "info_text_unbulletted_4@realmsPlus_landing.info_text_unbulletted": { + "$info_text_line": "#landing_info_preview_line_4" + } + } + ] + }, + + "info_section_text": { + "type": "stack_panel", + "size": [ "100%", "100%c" ] + }, + + "info_text_bullet": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$text_bindings|default": [], + "controls": [ + { + "info_text_bullet_bullet": { + "type": "label", + "text": "- ", + "font_type": "smooth", + "color": "$store_white_text_color" + } + }, + { + "info_text_bullet_body": { + "type": "label", + "text": "$info_text_line", + "size": [ "fill", "default" ], + "font_type": "smooth", + "color": "$store_white_text_color", + "bindings": "$text_bindings" + } + } + ] + }, + + "info_text_unbulletted": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "info_text_bullet_body": { + "type": "label", + "text": "$info_text_line", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$store_white_text_color", + "bindings": [ + { + "binding_name": "$info_text_line" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/realmsPlus_sections/realmsPlus_buy_now_screen.json b/resource_pack/ui/realmsPlus_sections/realmsPlus_buy_now_screen.json new file mode 100644 index 0000000..6df2195 --- /dev/null +++ b/resource_pack/ui/realmsPlus_sections/realmsPlus_buy_now_screen.json @@ -0,0 +1,390 @@ +{ + "namespace": "realmsPlus_buy", + + "buy_now_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "description_stack@realmsPlus_buy.description_stack": {} + }, + { + "realm_name@realmsPlus_buy.realm_name_stack": {} + }, + { + "terms_and_conditions@realmsPlus_buy.terms_and_conditions": {} + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "buy_button@realmsPlus_buy.buy_button_panel": { + "$pressed_button_name": "button.create_realm", + "$buy_now_bindings": [ + { + "binding_name": "#has_checked_tos", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "platform_terms_factory": { + "type": "stack_panel", + "factory": { + "name": "platform_terms_factory", + "control_ids": { + "terms": "@realmsPlus_buy.content_text_section" + } + }, + "collection_name": "platform_terms_collection", + "bindings": [ + { + "binding_name": "#platform_term_controls", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + }, + + "content_text_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text_description_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realmsPlus_buy.content_description" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "content_description": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "content_description_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#platform_terms_text", + "color": "$body_text_color", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#platform_terms_text", + "binding_collection_name": "platform_terms_collection", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "trial_image_and_description": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "realms_image": { + "type": "image", + "size": [ "25%", "133.4%x" ], + "texture": "textures/ui/realms_poster_art_with_logo" + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, 0 ] + } + }, + { + "description_text_wrapper@common.tts_label_focus_wrapper": { + "size": [ "fill", "100%cm" ], + "$tts_label_panel": "realmsPlus_buy.description_text" + } + } + ] + }, + + "description_text": { + "type": "label", + "text": "#trial_desciption_text", + "color": "$store_white_text_color", + "font_type": "smooth", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#trial_desciption_text" + } + ] + }, + + "title_text": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "text": "#buy_now_banner_text", + "color": "$store_white_text_color", + "bindings": [ + { + "binding_name": "#buy_now_banner_text" + } + ] + }, + + "title_with_gradient@realmsPlus.gradient_content_panel": { + "$gradient_content": "realmsPlus_buy.title_text" + }, + + "description_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_with_gradient_wrapper@common.tts_label_focus_wrapper": { + "size": [ "100%", 15 ], + "$tts_label_panel": "realmsPlus_buy.title_with_gradient" + } + }, + { + "padding": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { "image_and_description@realmsPlus_buy.trial_image_and_description": {} } + ] + }, + + "realm_name_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "realm_name_label@common.minecraftTenLabel": { + "size": [ "100%", "default" ], + "text": "realmsCreateScreen.nameHeader.name", + "color": "$store_white_text_color" + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "realm_name_text_box@common.text_edit_box": { + "size": [ "100%", 20 ], + "$text_edit_box_label_anchor_point": "left_middle", + "$place_holder_text": "#placeholder_realm_name", + "$text_edit_box_placeholder_content_binding_name": "#placeholder_realm_name", + "$option_binding_name": "#realms_name_box", + "$text_box_name": "#realms_name_box", + "$text_edit_box_content_binding_name": "#realms_name_box", + "$text_edit_box_enabled_binding_type": "none", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "terms_and_conditions": { + "type": "panel", + "size": [ "100%", 34 ], + "controls": [ + { + "terms_panel@realmsPlus_buy.terms_and_conditions_panel": {} + } + ] + }, + + "terms_and_conditions_panel": { + "type": "panel", + "size": [ "100%", "100% - 4px" ], + "controls": [ + { + "name_label@common.minecraftTenLabel": { + "offset": [ 0, -1 ], + "text": "realmsCreateScreen.termsAndConditionsHeader", + "color": "$store_white_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2 + } + }, + { + "terms_string_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 7 ], + "size": [ "100%", "100% - 10px" ], + "$pressed_button_name_terms_conditions": "button.tos_hyperlink", + "$pressed_button_name_privacy_policy": "button.privpol_hyperlink", + "variables": [ + { + // Stop-gap measure until we can get hyperlinks to work from VR and FireTV + "requires": "($is_holographic or $fire_tv)", + "$pressed_button_name_terms_conditions": "button.tos_popup" + }, + { + // Stop-gap measure until we can get hyperlinks to work from VR and FireTV + "requires": "($is_holographic or $fire_tv)", + "$pressed_button_name_privacy_policy": "button.privpol_popup" + } + ], + "controls": [ + { + "banner_fill": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 2, + "texture": "textures/ui/Black", + "keep_ratio": false + } + }, + { + "buttons_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "variables": [ + { + "requires": "(not $is_low_memory_device)", + "$button_font_scale_factor": 1.39 + } + ], + "controls": [ + { + "agree_panel": { + "type": "panel", + "size": [ 68, "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 3, + "controls": [ + { + "checkbox_control@settings_common.checkbox_with_highlight_and_label": { + "$toggle_name": "#agree_terms_and_conditions", + "$checkbox_label_text": "realmsCreateScreen.termsAndConditionsAgree", + "$checkbox_label_font_type": "smooth" + } + } + ] + } + }, + { + "view_terms_button@realmsPlus_buy.view_terms_button": { + "size": [ "fill", "100%" ] + } + }, + { + "privacy_policy_button@realmsPlus_buy.privacy_policy_button": { + "size": [ "fill", "100%" ] + } + } + ] + } + } + ] + } + } + ] + }, + + "button_text@common.minecraftTenLabel": { + "size": "$button_text_size", + "max_size": "$button_text_max_size", + "text": "$button_text", + "color": "$text_color" + }, + + "view_terms_button@common_buttons.light_content_button": { + "$button_text": "store.realmsPlus.buyNow.viewTerms", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "100% - 10px", 18 ], + "$pressed_button_name": "$pressed_button_name_terms_conditions", + "$button_content": "realmsPlus_buy.button_text" + }, + + "privacy_policy_button@common_buttons.light_content_button": { + "$button_text": "store.realmsPlus.buyNow.viewPrivacyPolicy", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "100% - 10px", 18 ], + "$pressed_button_name": "$pressed_button_name_privacy_policy", + "$button_content": "realmsPlus_buy.button_text" + }, + + "buy_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "buy_button@common_buttons.light_content_button": { + "size": [ "100%", 20 ], + "$button_content": "realmsPlus_buy.buy_button_content", + "bindings": "$buy_now_bindings" + } + } + ] + }, + + "buy_button_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "button_chevron_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ -2, -2 ], + "controls": [ + { + "buy_button_chevron@realmsPlus.markdown_background_animated": {} + } + ] + } + }, + { + "button_text@common.minecraftTenLabel": { + "text": "#buy_now_button_text", + "size": [ "default", "default" ], + "color": "$text_color", + "offset": [ 0, -2 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#buy_now_button_text" + } + ] + } + } + ] + } + +} diff --git a/resource_pack/ui/realmsPlus_sections/realmsPlus_purchase_warning_screen.json b/resource_pack/ui/realmsPlus_sections/realmsPlus_purchase_warning_screen.json new file mode 100644 index 0000000..ebe57c4 --- /dev/null +++ b/resource_pack/ui/realmsPlus_sections/realmsPlus_purchase_warning_screen.json @@ -0,0 +1,166 @@ +{ + "namespace": "realmsPlus_purchase_warning", + + "realmsPlus_purchase_warning_screen@common.base_screen": { + "$screen_content": "realmsPlus_purchase_warning.purchase_warning_screen_content", + "force_render_below": true, + "$fill_alpha": 1, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "purchase_warning_screen_content": { + "type": "panel", + "controls": [ + { + "main_panel@common_dialogs.main_panel_one_button": { + "$text_name": "store.realmsPlus.purchase.warningDialog.title", + "$button_panel": "realmsPlus_purchase_warning.warning_modal_button_panel", + "$child_control": "realmsPlus_purchase_warning.warning_modal_main_panel", + "size": "$world_conversion_complete_screen_size" + } + } + ] + }, + + "warning_modal_main_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 10px", "100% - 10px" ], + "controls": [ + { + "art_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "art": { + "type": "image", + "texture": "textures/ui/realms_purchase_warning", + "layer": 1 + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "5px", "100%" ] + } + }, + { + "text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "65%", "100%" ], + "controls": [ + { + "description_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "description_text": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "text": "store.realmsPlus.purchase.warningDialog.body", + "color": "$store_white_text_color" + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "checkbox_with_label_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "10px" ], + "controls": [ + { + "checkbox_panel@common.checkbox": { + "size": [ "100%c", "100%" ], + "$toggle_name": "#understand_purchase_warning" + } + }, + { + "padding": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "label_text": { + "type": "label", + "size": [ "100%", "100%" ], + "text": "store.realmsPlus.purchase.warningDialog.checkbox", + "font_type": "smooth", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "color": "$store_white_text_color" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "warning_modal_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "back_button@common_buttons.light_text_button": { + "size": [ "50% - 3px", "100%" ], + "$pressed_button_name": "button.goBack", + "$button_text": "store.realmsPlus.purchase.warningDialog.button.back" + } + }, + { + "padding": { + "type": "panel", + "size": [ "6px", "100%" ] + } + }, + { + "continue_button@common_buttons.light_text_button": { + "size": [ "50% - 3px", "100%" ], + "$pressed_button_name": "button.continue", + "$button_text": "store.realmsPlus.purchase.warningDialog.button.continue", + "bindings": [ + { + "binding_name": "#is_understand_checked", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + +} diff --git a/resource_pack/ui/realmsPlus_sections/realmsPlus_view_packs_screen.json b/resource_pack/ui/realmsPlus_sections/realmsPlus_view_packs_screen.json new file mode 100644 index 0000000..77834c2 --- /dev/null +++ b/resource_pack/ui/realmsPlus_sections/realmsPlus_view_packs_screen.json @@ -0,0 +1,116 @@ +{ + "namespace": "realmsPlus_packs", + + "view_all_packs_screen@common_store.store_base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "realmsPlus_packs.view_packs_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "realmsPlus.purple_background", + "$is_full_screen_layout": true, + "$ignore_inventory_button": "$is_sidebar_navigation_enabled", + "$fill_alpha": 1 + }, + + "view_packs_screen_content": { + "type": "panel", + "alpha": "@common_store.screen_fade_in_alpha_anim", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "realmsPlus_packs.realmsPlus_view_packs_screen_main_panel", + "$button_text": "store.title" + } + } + ] + }, + + + "realmsPlus_view_packs_screen_main_panel@sidebar_navigation.sidebar_view": { + "$sidebar_main_view_content": "realmsPlus_packs.main_panel" + }, + + "main_panel": { + "type": "input_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "offers@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 2px", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 8px" ], + "$scrolling_content": "realmsPlus_packs.scrolling_content_stack", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": false, + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 100, // Make this on top + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "scrolling_content_stack": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "store_factory@common_store.store_section_factory": { + "$is_subscription_screen": true, + "$content_offer_panel_size": [ "100% - 40px", "100%" ] + } + } + ] + } + +} diff --git a/resource_pack/ui/realms_allowlist.json b/resource_pack/ui/realms_allowlist.json new file mode 100644 index 0000000..884cb57 --- /dev/null +++ b/resource_pack/ui/realms_allowlist.json @@ -0,0 +1,1662 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "realms_allowlist", + + //--------------------------------------------------------------------------- + // Vertical Stack Panel + //--------------------------------------------------------------------------- + + "spacing_gap": { + "type": "panel", + "size": [ "100%", 5 ] + }, + + "friends_containing_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "friends_panel@realms_allowlist.friends_panel": {} + } + ] + }, + + "friends_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": "$friend_panel_size", + "$member_collection_name": "members_collection", + "$invited_collection_name": "invited_friends_collection", + "$uninvited_collection_name": "uninvited_friends_collection", + "$blocked_players_collection_name": "blocked_players_collection", + "controls": [ + { + "add_friends_and_invite_link_panel@realms_allowlist.add_friends_and_invite_link_panel": {} + }, + { + "option_dropdown_permissions@settings_common.option_dropdown": { + "$option_label": "permissions.title.settings", + "$dropdown_content": "permissions.permission_level_dropdown_content", + "$dropdown_area": "friends_panel", + "$dropdown_name": "realm_default_permission_dropdown", + "$button_type_panel": "permissions.permission_level_dropdown_state_content", + "$options_dropdown_toggle_label_binding": "#realm_default_permission_dropdown_toggle_label", + "$option_enabled_binding_name": "#realm_default_permission_dropdown_enabled", + "$show_option_label": true, + "$is_world_settings": true, + "$dropdown_scroll_content_size": [ "100%", "385%" ], + "size": [ "100%", "50px" ] + } + }, + { "player_filter_label@realms_allowlist.player_filter_label": {} }, + { "player_filter_text_box@realms_allowlist.player_filter_text_box": {} }, + { + "spacing_gap_members_top@realms_allowlist.spacing_gap": {} + }, + { + "lists": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "members_label@realms_allowlist.members_label": {} }, + { + "members_stack@realms_allowlist.factory_stack": { + "collection_name": "members_collection", + "factory": { + "name": "factory", + "control_ids": { + "small_button": "@realms_allowlist.member_factory_xbl_profile", + "large_button": "@realms_allowlist.member_factory_linked_account" + } + }, + "bindings": [ + { + "binding_name": "#members_section_content", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "spacing_gap_members_bottom@realms_allowlist.spacing_gap": {} + }, + { + "members_page_panel@realms_allowlist.page_panel": { + "$next_button_name": "next_page_button_members", + "$prev_button_name": "prev_page_button_members", + "$this_page_index_text": "#members_page_index_text", + "$is_visible_binding_name": "#members_buttons_visible", + "$is_prev_visible": "#members_prevButton_visible", + "$is_next_visible": "#members_nextButton_visible" + } + }, + { "invited_friends_label@realms_allowlist.invited_friends_label": {} }, + { + "invited_stack@realms_allowlist.factory_stack": { + "collection_name": "invited_friends_collection", + "factory": { + "name": "factory", + "control_ids": { + "small_button": "@realms_allowlist.invited_factory_xbl_profile", + "large_button": "@realms_allowlist.invited_factory_linked_account" + } + }, + "bindings": [ + { + "binding_name": "#invited_section_content", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "spacing_gap_invited_friends@realms_allowlist.spacing_gap": {} + }, + { + "invited_friends_page_panel@realms_allowlist.page_panel": { + "$next_button_name": "next_page_button_invited_friends", + "$prev_button_name": "prev_page_button_invited_friends", + "$this_page_index_text": "#invited_friends_page_index_text", + "$is_visible_binding_name": "#invited_friends_buttons_visible", + "$is_prev_visible": "#invited_friends_prevButton_visible", + "$is_next_visible": "#invited_friends_nextButton_visible" + } + }, + { "uninvited_friends_label@realms_allowlist.uninvited_friends_label": {} }, + { + "uninvited_stack@realms_allowlist.factory_stack": { + "collection_name": "uninvited_friends_collection", + "factory": { + "name": "factory", + "control_ids": { + "small_button": "@realms_allowlist.uninvited_factory_xbl_profile", + "large_button": "@realms_allowlist.uninvited_factory_linked_account" + } + }, + "bindings": [ + { + "binding_name": "#uninvited_section_content", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "spacing_gap_uninvited_friends@realms_allowlist.spacing_gap": {} + }, + { + "uninvited_friends_page_panel@realms_allowlist.page_panel": { + "$next_button_name": "next_page_button_uninvited_friends", + "$prev_button_name": "prev_page_button_uninvited_friends", + "$this_page_index_text": "#uninvited_friends_page_index_text", + "$is_visible_binding_name": "#uninvited_friends_buttons_visible", + "$is_prev_visible": "#uninvited_friends_prevButton_visible", + "$is_next_visible": "#uninvited_friends_nextButton_visible" + } + }, + { "blocked_players_label@realms_allowlist.blocked_players_label": {} }, + { + "blocked_players_stack@realms_allowlist.factory_stack": { + "collection_name": "blocked_players_collection", + "factory": { + "name": "factory", + "control_ids": { + "small_button": "@realms_allowlist.blocked_factory_xbl_profile", + "large_button": "@realms_allowlist.blocked_factory_linked_account" + } + }, + "bindings": [ + { + "binding_name": "#blocked_section_content", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "spacing_gap_blocked_players@realms_allowlist.spacing_gap": {} + }, + { + "blocked_players_page_panel@realms_allowlist.page_panel": { + "$next_button_name": "next_page_button_blocked_players", + "$prev_button_name": "prev_page_button_blocked_players", + "$this_page_index_text": "#blocked_players_page_index_text", + "$is_visible_binding_name": "#blocked_players_buttons_visible", + "$is_prev_visible": "#blocked_players_prevButton_visible", + "$is_next_visible": "#blocked_players_nextButton_visible" + } + }, + { "no_invites_label@realms_allowlist.no_invites_label": {} } + + ], + "bindings": [ + { + "binding_name": "(not #loading_friends)", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { "loading_friends@realms_allowlist.loading_friends": {} } + ] + }, + + "add_friends_and_invite_link_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 40 ], + "controls": [ + { + "allowlist_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "find_friends_button_panel@realms_allowlist.find_friends_button_panel": { + "ignored": "(not $supports_add_friend)" + } + }, + { + "spacing": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "options_panel": { + "type": "panel", + "size": [ "50%", 32 ], + "controls": [ + { + "clear_members_button@common_buttons.light_text_button": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "default", 30 ], + "layer": 2, + "$button_text": "realmsClearMembers.clear", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.clear_members", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.clear_members", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_name": "#members_list_enabled", // a hack: you cannot set "enabled":false directly on a ui control + "binding_name_override": "#enabled" + } + ] + } + + } + ], + "bindings": [ + { + "binding_name": "#options_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + } + ] + } + } + ] + }, + + "options_icon": { + "type": "image", + "layer": 0, + "texture": "textures/ui/more-dots", + "color": "black", + "size": [ 11, 11 ] + }, + + "account_link_image": { + "type": "image", + "texture": "textures/ui/control" + }, + + "account_link_icon": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "space_01": { + "type": "panel", + "size": [ 9, "100%" ] + } + }, + { + "account_link_image@invite.account_link_image": { + "size": [ 2, "100%" ] + } + }, + { + "space_03": { + "type": "panel", + "size": [ 9, "100%" ] + } + } + ] + }, + + "find_friends_button_panel": { + "type": "panel", + "size": [ "fill", 32 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "find_friends_button@find_friends_button": {} } + ] + }, + + "invited_friends_label": { + "type": "panel", + "size": [ "100%", 13 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "friend_title": { + "type": "label", + "color": "$main_header_text_color", + "offset": [ 1, -1 ], + "text": "realmsInvitationScreen.invitedPlayers", + "font_size": "normal", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#invited_friends_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "player_filter_label": { + "type": "panel", + "size": [ "100%", 13 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "player_filter_title": { + "type": "label", + "color": "$main_header_text_color", + "offset": [ 1, -1 ], + "text": "realmsInvitationScreen.playerFilterTitle", + "font_size": "normal", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1 + } + } + ] + }, + + "members_label": { + "type": "stack_panel", + "size": [ "100%", 13 ], + "orientation": "horizontal", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "friend_title": { + "type": "label", + "color": "$main_header_text_color", + "offset": [ 1, -1 ], + "text": "realmsInvitationScreen.members", + "font_size": "normal", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1 + } + }, + { + "padding_panel": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "loading_text": { + "type": "label", + "color": "$main_header_text_color", + "offset": [ 1, -1 ], + "text": "#member_loading_text", + "font_size": "normal", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "layer": 1, + "bindings": [ + { + "binding_name": "#member_loading_text", + "binding_type": "global" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#members_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "blocked_players_label": { + "type": "panel", + "size": [ "100%", 11 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "friend_title": { + "type": "label", + "offset": [ 1, -1 ], + "color": "$main_header_text_color", + "text": "realmsInvitationScreen.blocked", + "font_size": "normal", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#blocked_players_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "uninvited_friends_label": { + "type": "panel", + "size": [ "100%", 11 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "friend_title": { + "type": "label", + "color": "$main_header_text_color", + "offset": [ 1, -1 ], + "text": "realmsInvitationScreen.friends", + "font_size": "normal", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#uninvited_friends_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "no_invites_label@realms_allowlist.panel_text": { + "text": "realmsInvitationScreen.noInvites", + "size": [ "100%", 20 ], + "font_size": "normal", + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#no_invites_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "loading_friends@realms_allowlist.panel_text": { + "text": "realmsInvitationScreen.loadingFriends", + "size": [ "100%", 20 ], + "font_size": "normal", + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#loading_friends", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + //--------------------------------------------------------------------------- + // Gamertag Panel + //--------------------------------------------------------------------------- + + "blocked_grid_item": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 29 ], + "controls": [ + { + "blocked_panel@realms_allowlist.blocked_panel": {} + } + ] + }, + + "factory_stack": { + "type": "stack_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "size": [ "100%", "100%c" ] + }, + + "member_factory_xbl_profile@realms_allowlist.xbl_profile_panel_factory": { + "$collection_binding_name": "members_collection" + }, + + "member_factory_linked_account@realms_allowlist.linked_account_panel_factory": { + "$collection_binding_name": "members_collection" + }, + + "invited_factory_xbl_profile@realms_allowlist.xbl_profile_panel_factory": { + "$collection_binding_name": "invited_friends_collection" + }, + + "invited_factory_linked_account@realms_allowlist.linked_account_panel_factory": { + "$collection_binding_name": "invited_friends_collection" + }, + + "uninvited_factory_xbl_profile@realms_allowlist.xbl_profile_panel_factory": { + "$collection_binding_name": "uninvited_friends_collection" + }, + + "uninvited_factory_linked_account@realms_allowlist.linked_account_panel_factory": { + "$collection_binding_name": "uninvited_friends_collection" + }, + + "blocked_factory_xbl_profile@realms_allowlist.xbl_profile_blocked_panel_factory": { + "$collection_binding_name": "blocked_players_collection" + }, + + "blocked_factory_linked_account@realms_allowlist.linked_account_blocked_panel_factory": { + "$collection_binding_name": "blocked_players_collection" + }, + + "xbl_profile_panel_factory@realms_allowlist.gapped_xbl_profile_panel": { + "$member_collection_name": "members_collection", + "$invited_collection_name": "invited_friends_collection", + "$uninvited_collection_name": "uninvited_friends_collection", + "$blocked_players_collection_name": "blocked_players_collection" + }, + + "xbl_profile_blocked_panel_factory@realms_allowlist.gapped_blocked_xbl_profile_panel": { + "$member_collection_name": "members_collection", + "$invited_collection_name": "invited_friends_collection", + "$uninvited_collection_name": "uninvited_friends_collection", + "$blocked_players_collection_name": "blocked_players_collection" + }, + + "linked_account_panel_factory@realms_allowlist.gapped_linked_account_panel": { + "$member_collection_name": "members_collection", + "$invited_collection_name": "invited_friends_collection", + "$uninvited_collection_name": "uninvited_friends_collection", + "$blocked_players_collection_name": "blocked_players_collection" + }, + + "linked_account_blocked_panel_factory@realms_allowlist.gapped_blocked_linked_account_panel": { + "$member_collection_name": "members_collection", + "$invited_collection_name": "invited_friends_collection", + "$uninvited_collection_name": "uninvited_friends_collection", + "$blocked_players_collection_name": "blocked_players_collection" + }, + + "xbl_profile_panel@realms_common.main_banner": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 27 ], + "controls": [ + { "player_status_panel@realms_allowlist.player_status_panel": {} }, + { "xbl_user_panel@realms_allowlist.xbl_user_panel": {} }, + { + "right_controls_panel@realms_allowlist.right_controls_panel": { + "offset": [ -3, 0 ], // Right aligned + "layer": 6 + } + }, + { + "progress@progress.progress_loading_bars": { + "size": [ 27, 27 ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gamer_pic", + "resolve_sibling_scope": true, + "source_property_name": "(#profile_image_options = '')", + "target_property_name": "#visible" + } + ] + } + } + ] + }, + + "factory_gap_template": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "gapped_control@$templated_control": {} + }, + { + "spacing1": { + "type": "panel", + "size": [ "100%", 3 ] + } + } + ] + }, + + "gapped_xbl_profile_panel@factory_gap_template": { + "$templated_control": "realms_allowlist.xbl_profile_panel" + }, + + "gapped_linked_account_panel@factory_gap_template": { + "$templated_control": "realms_allowlist.linked_account_panel" + }, + + "gapped_blocked_xbl_profile_panel@factory_gap_template": { + "$templated_control": "realms_allowlist.blocked_panel" + }, + + "gapped_blocked_linked_account_panel@factory_gap_template": { + "$templated_control": "realms_allowlist.linked_account_blocked_panel" + }, + + "blocked_panel@realms_common.main_banner": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 27 ], + "controls": [ + { "xbl_user_panel@realms_allowlist.xbl_user_panel": {} }, + { + "unblock_button@unblock_button": { + "offset": [ -3, 0 ] + } + } + ] + }, + + "linked_account_panel@realms_common.main_banner": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 52 ], + "controls": [ + { + "linked_account_positioning_panel@realms_allowlist.linked_user_stack_panel": {} + }, + { + "right_controls_panel@realms_allowlist.right_controls_panel": { + "offset": [ -3, -12 ], // Right aligned + "layer": 6 + } + }, + { + "progress@progress.progress_loading_bars": { + "size": [ 27, 27 ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gamer_pic", + "resolve_sibling_scope": true, + "source_property_name": "(#profile_image_options = '')", + "target_property_name": "#visible" + } + ] + } + } + ] + }, + + "linked_account_blocked_panel@realms_common.main_banner": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 52 ], + "controls": [ + { + "linked_account_positioning_panel@realms_allowlist.linked_user_stack_panel": { + "$ignore_status_icon": true + } + }, + { + "unblock_button@unblock_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -3, 3 ] + } + }, + { + "progress@progress.progress_loading_bars": { + "size": [ 27, 27 ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gamer_pic", + "resolve_sibling_scope": true, + "source_property_name": "(#profile_image_options = '')", + "target_property_name": "#visible" + } + ] + } + } + ] + }, + + "xbl_user_panel": { + "type": "stack_panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "orientation": "horizontal", + "size": [ "100%c", "100% - 6px" ], // Y sizing = -2 for top and bottom black border, -4 for indent of 2 px top and bottom, should total 20 + "layer": 6, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gamer_pic", + "resolve_sibling_scope": true, + "source_property_name": "(not (#profile_image_options = ''))", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "spacing1@realms_allowlist.horizontal_indent": { + "size": [ 25, "100%" ] + } + }, + { + "platform_icon_positioner": { + "type": "panel", + "size": [ 15, "100%" ], + "ignored": "(not $is_ps4)" + } + }, + { + "gamerpic_panel@realms_allowlist.gamerpic_panel": { + "size": [ 21, "100%" ] + } + }, + { + "spacing2@realms_allowlist.horizontal_indent": { + "size": [ 1, "100%" ] + } + }, + { + "gamertag_label_panel@realms_allowlist.gamertag_label_panel": { + } + } + ] + }, + + "third_party_user_panel": { + "type": "stack_panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "orientation": "horizontal", + "size": [ "100%c", "100% - 6px" ], // Y sizing = -2 for top and bottom black border, -4 for indent of 2 px top and bottom, should total 20 + "layer": 6, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "third_party_profile_picture", + "resolve_sibling_scope": true, + "source_property_name": "(not (#texture = ''))", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "spacing1@realms_allowlist.horizontal_indent": { + "size": [ 25, "100%" ] + } + }, + { + "profile_picture@realms_allowlist.third_party_profile_pic_panel": { + "size": [ 21, "100%" ] + } + }, + { + "spacing2@realms_allowlist.horizontal_indent": { + "size": [ 1, "100%" ] + } + }, + { + "third_party_profile_label@realms_allowlist.third_party_profile_label": { + } + } + ] + }, + + "linked_profile_pictures_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 21, "100%" ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "pp2@realms_allowlist.third_party_profile_pic_panel": { + "size": [ "100%", 21 ], + "layer": 1 + } + }, + { + "account_link@realms_allowlist.account_link_icon": { + "size": [ "100%", "fill" ] + } + }, + { + "pp1@realms_allowlist.gamerpic_panel": { + "size": [ "100%", 21 ], + "layer": 1 + } + } + ] + }, + + "platform_profile_names": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "controls": [ + { + "friend_grid_third_party_tag@realms_allowlist.third_party_profile_label": { + "size": [ "100%", 12 ], + "layer": 1 + } + }, + { + "spacer_02": { + "type": "panel", + "size": [ "100%", 13 ] + } + }, + { + "friend_grid_xbl_gamertag@realms_allowlist.gamertag_label_panel": { + "size": [ "100%", 12 ], + "layer": 1 + } + }, + { + "spacer_03": { + "type": "panel", + "size": [ "100%", 10 ] + } + } + ] + }, + + "linked_user_stack_panel": { + "type": "stack_panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "orientation": "horizontal", + "$ignore_status_icon|default": false, + "size": [ "100%", "100% - 6px" ], // Y sizing = -2 for top and bottom black border, -4 for indent of 2 px top and bottom, should total 20 + "layer": 6, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "third_party_profile_picture", + "resolve_sibling_scope": true, + "source_property_name": "(not (#texture = ''))", + "target_property_name": "#visible" + }, + { + "binding_type": "view", + "source_control_name": "gamer_pic", + "resolve_sibling_scope": true, + "source_property_name": "(not (#profile_image_options = ''))", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "allow_offset_control": { + "type": "panel", + "size": [ 20, "100%" ], + + "controls": [ + { + "player_status_panel@realms_allowlist.player_status_panel": { + "size": [ 20, 20 ], + "ignored": "$ignore_status_icon", + + "anchor_from": "top_left", + "anchor_to": "top_left" + + } + } + ] + } + }, + { + "platform_icon_positioner": { + "type": "panel", + "size": [ 15, "100%" ], + "controls": [ + { + "platform_icon@invite.platform_icon_panel": { + "layer": 1, + "$is_platform_icon": "$invite_platform_icons_visible", + "$icon_offset": [ 0, 2 ], + "anchor_to": "top_left", + "anchor_from": "top_left" + } + } + ] + } + }, + { + "spacing1@realms_allowlist.horizontal_indent": { + "size": [ 5, "100%" ] + } + }, + { + "profile_picture@realms_allowlist.linked_profile_pictures_panel": {} + }, + { + "spacing2@realms_allowlist.horizontal_indent": { + "size": [ 1, "100%" ] + } + }, + { + "platform_names_label@realms_allowlist.platform_profile_names": { + "size": [ "fill", "100%" ] + } + }, + { + "spacing3@realms_allowlist.horizontal_indent": { + "size": [ 3, "100%" ] + } + } + ] + }, + + "horizontal_indent": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + "vertical_indent": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "gamerpic_panel": { + "type": "panel", + "size": [ 21, 21 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "controls": [ + { "black_border@realms_allowlist.black_border": {} }, + { + "gamer_pic@realms_allowlist.gamer_pic": { + "layer": 1, + "size": [ "100% - 2px", "100% - 2px" ] + } + } + ] + }, + + "third_party_profile_pic_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "controls": [ + { "black_border@realms_allowlist.black_border": {} }, + { + "third_party_profile_picture@realms_allowlist.third_party_profile_picture": { + "layer": 1, + "size": [ "100% - 2px", "100% - 2px" ] + } + } + ] + }, + + "gamertag_label_panel": { + "type": "panel", + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "size": [ 100, "100%" ], + "controls": [ + { "gamertag_label@realms_allowlist.gamertag_label": {} }, + { "real_name_label@realms_allowlist.real_name_label": {} } + ] + }, + + "third_party_profile_label": { + "type": "panel", + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "size": [ 100, "100%" ], + "controls": [ + { "profile_name_label@realms_allowlist.third_party_profile_name_label": {} } + ] + }, + + "panel_text": { + "type": "label", + "color": "$dark_grid_item_text_color", + "shadow": false, + "layer": 5, + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "gamertag_label@realms_allowlist.panel_text": { + "offset": [ 1, 1 ], + "text": "#gamertag", + "font_size": "normal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#gamertag", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "third_party_profile_name_label@realms_allowlist.panel_text": { + "offset": [ 1, 1 ], + "text": "#third_party_profile_name", + "font_size": "normal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#third_party_profile_name", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "real_name_label@realms_allowlist.panel_text": { + "offset": [ 1, "100%" ], + "text": "#real_name", + "font_size": "normal", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "bindings": [ + { + "binding_name": "#real_name", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "right_settings_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 21 ], + "controls": [ + { "member_settings@realms_allowlist.member_settings": {} } + ] + }, + + "member_settings": { + "type": "stack_panel", + "orientation": "horizontal", + "ignored": "($collection_binding_name = $uninvited_collection_name)", + "size": [ "100%c", 21 ], + "controls": [ + { "minus_button@realms_allowlist.minus_button": {} }, + { + "horizontal_space": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "member_permissions@realms_allowlist.permissions_dropdown": {} + }, + { + "op_deop_button@realms_allowlist.op_deop_button": { + "bindings": [ + { + "binding_name": "#loading_friends", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#show_member_settings", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "right_controls_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { "right_settings_panel@realms_allowlist.right_settings_panel": {} }, + { + "uninvited_friends_invite_button@realms_allowlist.invite_button": { + "size": [ 62, 21 ] + } + } + ] + }, + + "player_status_panel": { + "size": [ 20, "100% - 2px" ], + "layer": 6, + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "player_online_icon@realms_allowlist.player_online_icon": { + "bindings": [ + { + "binding_name": "#player_online", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + }, + { + "player_offline_icon@realms_allowlist.player_offline_icon": { + "bindings": [ + { + "binding_name": "(not #player_online)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + }, + + "permissions_dropdown": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", "100%" ], + "controls": [ + { + "vertical_space": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "option_dropdown_permissions@settings_common.option_dropdown": { + "$dropdown_content": "permissions.permission_level_dropdown_content", + "$dropdown_area": "friends_panel", + "$dropdown_name": "player_permissions_dropdown", + "$dropdown_icon_image_texture_binding": "#collection_permission_level_dropdown_icon_texture", + "$anchor_dropdown_content_from": "top_right", + "$anchor_dropdown_content_to": "top_right", + "$icon_binding_type_override": "collection", + "$icon_binding_collection_name_override": "$collection_binding_name", + "$button_type_panel": "permissions.permission_level_dropdown_state_content", + "$options_dropdown_toggle_label_binding": "#player_permissions_dropdown_toggle_label", + "$options_dropdown_toggle_label_binding_type": "collection", + "$options_dropdown_toggle_label_binding_collection_name": "$collection_binding_name", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "$collection_binding_name", + "$option_enabled_binding_name": "#player_permissions_dropdown_enabled", + "$content_label_visible": false, + "$is_world_settings": true, + "$show_option_label": false, + "$dropdown_icon_image_size": [ 10, 10 ], + "$dropdown_scroll_content_size": [ "400%", "600%" ], + "$content_size": [ "100% - 9px", "100% - 8px" ], + "size": [ "40px", "100%" ], + "$option_dropdown_size": [ "100%", "21px" ], + "bindings": [ + { + "binding_name": "(not #loading_friends)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Buttons + //--------------------------------------------------------------------------- + + "invite_button@common_buttons.light_text_button": { + "size": [ 21, 21 ], + "layer": 1, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_text": "realmsSettingsScreen.allowlist_invite", + "ignored": "($collection_binding_name = $member_collection_name or $collection_binding_name = $invited_collection_name)", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_invite_plus", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_invite_plus", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name", + "binding_name": "#invite_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#members_list_enabled", // a hack: you cannot set "enabled":false directly on a ui control + "binding_name_override": "#enabled" + } + ] + }, + + "minus_button@common_buttons.light_glyph_button": { + "size": [ 21, 21 ], + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_content": "realms_allowlist.minus_icon", + "$button_tts_header": "realmsInvitationScreen.removeRealmMember", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_invite_minus", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_invite_minus", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_name": "#members_list_enabled", // a hack: you cannot set "enabled":false directly on a ui control + "binding_name_override": "#enabled" + } + ] + }, + + "unblock_label": { + "type": "label", + "color": "$text_color", + "anchor_from": "center", + "anchor_to": "center", + "text": "realmsInvitationScreen.unblock", + "text_alignment": "center", + "size": [ "100%", 15 ], + "offset": [ 0, 2 ] + }, + + "unblock_button@common_buttons.light_content_button": { + "size": [ 62, 21 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$button_content": "realms_allowlist.unblock_label", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_invite_unblock", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_invite_unblock", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_name": "#members_list_enabled", // a hack: you cannot set "enabled":false directly on a ui control + "binding_name_override": "#enabled" + } + ] + }, + + "op_deop_button@common_toggles.light_image_toggle_collection": { + "size": [ 21, 21 ], + "layer": 2, + "ignored": "($collection_binding_name = $uninvited_collection_name)", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$checked_image": "realms_allowlist.op_icon", + "$unchecked_image": "realms_allowlist.deop_icon", + "$toggle_state_binding_name": "#operator", + "$toggle_name": "#operator", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "$collection_binding_name", + "$toggle_enabled_binding_name": "#members_list_enabled", + "$toggle_enabled_binding_type": "global" + }, + + "find_friends_button@common_buttons.light_text_button": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", 30 ], + "layer": 2, + "$button_content": "realms_allowlist.plus_icon", + "$button_text": "realmsInvitationScreen.findFriends", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_invite_find_friends", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_invite_find_friends", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_name": "#members_list_enabled", // a hack: you cannot set "enabled":false directly on a ui control + "binding_name_override": "#enabled" + } + ] + }, + + //--------------------------------------------------------------------------- + // assets + //--------------------------------------------------------------------------- + //Black border is used for the grid item and around the gamerpic + "black_border": { + "type": "image", + "texture": "textures/ui/mainbanners" + }, + + "gamer_pic": { + "type": "custom", + "renderer": "profile_image_renderer", + "bindings": [ + { + "binding_name": "#profile_image_options", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "third_party_profile_picture": { + "type": "image", + "texture": "#texture", + "texture_file_system": "#texture_file_system", + "bindings": [ + { + "binding_name": "#third_party_profile_pic", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_name": "#third_party_profile_pic_file_system", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + }, + + "player_online_icon": { + "type": "image", + "texture": "textures/ui/player_online_icon", + "size": [ 7, 7 ] + }, + + "player_offline_icon": { + "type": "image", + "texture": "textures/ui/player_offline_icon", + "size": [ 7, 7 ] + }, + + "plus_icon": { + "type": "image", + "layer": 2, + "texture": "textures/ui/plus", + "size": [ 11, 11 ] + }, + + "more_icon": { + "type": "image", + "layer": 2, + "size": [ 13, 3 ], + "texture": "textures/ui/more_dots" + }, + + "share_icon": { + "type": "image", + "layer": 2, + "size": "$share_icon_size", + "texture": "$share_icon_texture", + "offset": "$share_icon_offset" + }, + + "minus_icon": { + "type": "image", + "layer": 2, + "texture": "textures/ui/minus", + "size": [ 11, 3 ] + }, + + "op_icon": { + "type": "image", + "layer": 2, + "texture": "textures/ui/op", + "size": [ 14, 14 ] + }, + + "deop_icon": { + "type": "image", + "layer": 2, + "texture": "textures/ui/deop", + "size": [ 14, 14 ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + + "player_filter_text_box@common.text_edit_box": { + "size": [ "100%", 25 ], + "$text_box_name": "#player_filter_text_box", + "max_length": 30, + "$place_holder_text": "realmsSettingsScreen.searchBox" + }, + + "page_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "controls": [ + { + "prev_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.dev_prev_page_label", + "$pressed_button_name": "$prev_button_name", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 70, "100%" ], + "$is_prev_visible|default": "#visible", + "bindings": [ + { + "binding_name": "$is_prev_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "page_text": { + "type": "label", + "text": "$this_page_index_text", + "color": "$sub_header_text_color", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "default", "50%" ], + "bindings": [ + { + "binding_name": "$this_page_index_text" + } + ] + } + }, + { + "next_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.dev_next_page_label", + "$pressed_button_name": "$next_button_name", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 70, "100%" ], + "$is_next_visible|default": "#visible", + "bindings": [ + { + "binding_name": "$is_next_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "$is_visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "realms_allowlist_panel_content@common.scrolling_panel": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "realms_allowlist.friends_containing_panel", + "$friend_panel_size": [ "100% - 1px", "100%c" ] + }, + + "realms_allowlist_content_panel@common_dialogs.main_panel_one_button": { + "$child_control": "realms_allowlist.realms_allowlist_content_panel_children", + "$text_name": "realmsInvitationScreen.title", + "$show_close_button": false, + "size": "$narrow_screen_size" + }, + + "realms_allowlist_content_panel_children": { + "type": "panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "realms_allowlist_panel_content@realms_allowlist.realms_allowlist_panel_content": { + "offset": [ 2, 0 ], + "$scrolling_pane_size": [ "100% - 4px", "100%" ] + } + }, + { + "done_button@common_buttons.light_text_button": { + "anchor_from": "bottom_middle", + "anchor_to": "top_middle", + "size": [ "100% + 2px", 30 ], + "offset": [ 0, 5 ], + "layer": 2, + "$button_text": "realmsInvitationScreen.done", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_realm_send_invites", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_realm_send_invites", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + "realms_allowlist_screen@common.base_screen": { + "$screen_content": "realms_allowlist.realms_allowlist_content" + }, + + "realms_allowlist_content": { + "type": "panel", + "controls": [ + { + "root_panel": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "realms_allowlist_content_panel@realms_allowlist.realms_allowlist_content_panel": { "layer": 1 } } + ] + } + } + ] + }, + + "transparent_close_button@common_buttons.transparent_content_button": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$default_content_alpha": 0, + "$default_button_alpha": 0, + "$default_hover_alpha": 0, + "$default_pressed_alpha": 0, + "$hover_button_texture": "textures/ui/imagetaggedcorner", + "$pressed_button_texture": "textures/ui/imagetaggedcorner", + "$close_button_to_button_id|default": "button.menu_exit", + "bindings": [ + { + "binding_name": "(not #gamepad_helper_visible)", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_options_close", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_options_close", + "mapping_type": "focused" + } + ] + } +} diff --git a/resource_pack/ui/realms_common.json b/resource_pack/ui/realms_common.json new file mode 100644 index 0000000..eb98746 --- /dev/null +++ b/resource_pack/ui/realms_common.json @@ -0,0 +1,396 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +// Used to control the layout of the Realm Settings screen. Player gets to this screen +// by selecting the "configure" button in the Realms List screen. + +{ + "namespace": "realms_common", + + // The "envelope" icon that shows in the header panel if you have a pending invite + "pending_invites_icon": { + "type": "image", + "texture": "textures/ui/invite_base", + "layer": 5, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + + "bindings": [ + { + "binding_name": "#pending_invites_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ], + "size": [ 16, 16 ] + }, + + "dark_banner": { + "type": "image", + "texture": "textures/ui/mainbanners", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "dark_banner_hover@dark_banner": { + "texture": "textures/ui/MainBannersHover" + }, + + // Legacy - do not use + "legacy_banner": { + "type": "image", + "texture": "textures/ui/legacybanner", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "main_banner": { + "type": "image", + "texture": "textures/ui/mainbanners", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 6px", "default" ] + }, + + "hollow_banner": { + "type": "image", + "texture": "textures/ui/hollowbanner", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 6px", "default" ] + }, + + "popup_dialog_bg": { + "type": "image", + "texture": "textures/ui/dialog_background_opaque" + }, + + //-------------------------------------------------------------------------------- + // Play on Realm Dialog Popup + //-------------------------------------------------------------------------------- + "popup_dialog__play_on_realm@popup_dialog.modal_input_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { + "play_on_realm_popup_background@realms_common.play_on_realm_popup_background": { + "layer": 0 + } + }, + { + "gamepad_helpers@common.gamepad_helpers_a_and_b": { + "layer": 0, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "31px" ] + } + }, + { + "play_on_realm_popup_content@realms_common.play_on_realm_popup_content": { + "layer": 1 + } + } + ] + }, + + "play_on_realm_popup_background": { + "type": "image", + "texture": "textures/ui/control", + "size": [ "300%", "300%" ], + "alpha": 0.6, + "anchor_from": "center", + "anchor_to": "center" + }, + + "play_on_realm_popup_content": { + "type": "panel", + "size": [ 300, 200 ], + "controls": [ + { "popup_dialog_bg@realms_common.popup_dialog_bg": {} }, + { "play_on_realm_popup_dialog_header@realms_common.play_on_realm_popup_dialog_header": {} }, + { "play_on_realm_popup_dialog_upper_body@realms_common.play_on_realm_popup_dialog_upper_body": {} }, + { "play_on_realm_popup_dialog_lower_body@realms_common.play_on_realm_popup_dialog_lower_body": {} } + ] + }, + + "play_on_realm_popup_dialog_header": { + "type": "panel", + "size": [ "100%", "10%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { "play_on_realm_popup_dialog_header_text@realms_common.play_on_realm_popup_dialog_header_text": {} }, + { + "close_button@common.close_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -1, 1 ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.play_on_realm_close", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.play_on_realm_close", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "play_on_realm_popup_dialog_header_text": { + "type": "label", + "text": "realmsCreateScreen.playNowTitle", + "font_size": "normal", + "color": "$title_text_color", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 2 ] + }, + + "play_on_realm_popup_dialog_upper_body": { + "type": "panel", + "size": [ "100%", "53%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, "10%" ], + "layer": 1, + "controls": [ + { + "play_on_realm_banner@realms_common.hollow_banner": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%-12px", "100%" ], + "layer": 1 + } + }, + { + "play_on_realm_panel@realms_common.play_on_realm_panel": {} + }, + { + "background_panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%-14px", "100%-2px" ], + "layer": 1, + "controls": [ + { + "black_background": { + "type": "image", + "texture": "textures/ui/Black", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ] + } + } + ] + } + } + ] + }, + + "play_on_realm_panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "layer": 2, + "size": [ "100%-12px", "100%" ], + "controls": [ + { + "play_on_realm_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "controls": [ + { + "play_image_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "25%", "100%" ], + "controls": [ + { + "spacing_gap_image": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "realms_image": { + "type": "image", + "texture": "textures/ui/realms_key_art", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "75%" ] + } + } + ] + } + }, + { + "play_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "75%", "100%" ], + "controls": [ + { + "spacing_gap_text_1": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "play_on_realm_text_1": { + "type": "label", + "text": "realmsCreateScreen.playNowMessage1", + "size": [ "95%", "default" ], + "font_size": "normal", + "color": "$sub_header_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "spacing_gap_text_2": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "play_on_realm_text_2": { + "type": "label", + "text": "realmsCreateScreen.playNowMessage2", + "size": [ "95%", "default" ], + "font_size": "normal", + "color": "$sub_header_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + } + ] + } + } + ] + }, + + "play_on_realm_popup_dialog_lower_body": { + "type": "panel", + "size": [ "100%", "42%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, "65%" ], + "layer": 1, + "controls": [ + { + "button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 12px", "100%" ], + "offset": [ 6, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "play_with_friends_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "anchor_from": "center", + "anchor_to": "center", + "$button_text": "realmsCreateScreen.playWithFriends", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.playWithFriends", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.playWithFriends", + "mapping_type": "focused" + } + ] + } + }, + { + "spacing_gap1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "play_solo_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "anchor_from": "center", + "anchor_to": "center", + "$button_text": "realmsCreateScreen.playSolo", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.playSolo", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.playSolo", + "mapping_type": "focused" + } + ] + } + }, + { + "spacing_gap2": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "go_back_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "anchor_from": "center", + "anchor_to": "center", + "$button_text": "realmsCreateScreen.goBack", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.play_on_realm_close", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.play_on_realm_close", + "mapping_type": "focused" + } + ] + } + } + ] + } + } + ] + } + +} \ No newline at end of file diff --git a/resource_pack/ui/realms_create.json b/resource_pack/ui/realms_create.json new file mode 100644 index 0000000..c9b973a --- /dev/null +++ b/resource_pack/ui/realms_create.json @@ -0,0 +1,629 @@ +// The screen used to purchase (or trial use) a realm; pops up and gives +// the player a chance to ... name and decide purchase options. Next +// screen is screen for Invite Players To Your Realm. + +{ + "namespace": "realms_create", + + "title_label": { + "type": "label", + "size": [ "default", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "color": "$title_text_color" + }, + + "label": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "default", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + //-------------------------------------------------------------------------------- + // Controls + //-------------------------------------------------------------------------------- + + "enter_name_panel": { + "type": "panel", + "controls": [ + { + "name_label_0@label": { + "layer": 1, + "offset": [ 2, 2 ], + "text": "realmsCreateScreen.nameHeader.name" + } + }, + { + "name_edit@common.text_edit_box": { + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 12 ], + "size": [ "100%", 25 ], + "$text_box_name": "#realms_name_box", + "$text_edit_box_content_binding_name": "#realms_name_textbox", + "$place_holder_text": "#placeholder_realm_name", + "$text_edit_box_placeholder_content_binding_name": "#placeholder_realm_name", + "max_length": 64 + } + } + ] + }, + + "selected_option_checkbox": { + "type": "image", + "layer": 1, + "size": [ 16, 13 ], + "offset": [ 4, -1 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + + "selected_option_checkbox_empty@realms_create.selected_option_checkbox": { + "texture": "textures/ui/checkboxUnFilled" + }, + + "selected_option_checkbox_filled@realms_create.selected_option_checkbox": { + "texture": "textures/ui/checkboxFilledYellow", + "bindings": [ + { + "binding_name": "$selected_option_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "checkbox_panel": { + "type": "panel", + "controls": [ + { + "selected_option_checkbox_empty@realms_create.selected_option_checkbox_empty": { + "layer": 1 + } + }, + { + "selected_option_checkbox_filled@realms_create.selected_option_checkbox_filled": { + "layer": 2 + } + }, + { + "button_label": { + "type": "label", + "layer": 1, + "size": [ "default", "default" ], + "anchor_from": "center", + "anchor_to": "center", + "color": "$text_color", + "text": "$button_text" + } + } + ] + }, + + "realms_option_button@common_buttons.light_content_button": { + "$button_type_panel": "realms_create.checkbox_panel" + }, + + "choose_duration_panel": { + "type": "panel", + "controls": [ + { + "name_label@label": { + "offset": [ 2, 0 ], + "text": "realmsCreateScreen.durationHeader", + "layer": 2 + } + }, + { + "choose_duration_stack_panel": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 10px" ], + "offset": [ 0, 10 ], + "controls": [ + { + "short@realms_create.realms_option_button": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50%", "100%" ], + "$selected_option_binding_name": "#selected_duration_short", + "$pressed_button_name": "button.realms_duration_short", + "$button_text": "realmsCreateScreen.durationShort", + "$toggle_name": "#selected_duration_short" + } + }, + { + "long@realms_create.realms_option_button": { + "layer": 2, + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "50%", "100%" ], + "$selected_option_binding_name": "#selected_duration_long", + "$pressed_button_name": "button.realms_duration_long", + "$button_text": "realmsCreateScreen.durationLong", + "$toggle_name": "#selected_duration_long" + } + } + ] + } + } + ] + }, + + "choose_tier_panel": { + "type": "panel", + "controls": [ + { + "name_label@label": { + "offset": [ 2, 2 ], + "text": "realmsCreateScreen.sizeHeader", + "layer": 2 + } + }, + { + "choose_tier_stack_panel": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 14px" ], + "offset": [ 0, 12 ], + "controls": [ + { + "player_count_2@realms_create.realms_option_button": { + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50%", "100%" ], + "$selected_option_binding_name": "#player_count_2", + "$pressed_button_name": "button.realms_player_count_2", + "$toggle_name": "#player_count_2", + "$button_text": "realmsCreateScreen.twoUsers" + } + } + ] + } + } + ] + }, + + "view_terms_button@common_buttons.light_text_button": { + "$button_text": "realmsCreateScreen.viewTermsAndConditions", + "$button_text_size": [ "100%", "default" ], + "$button_text_max_size": [ "100% - 10px", 20 ], + "$button_font_size": "normal", + "$font_type": "smooth", + "$pressed_button_name": "$pressed_button_name_terms_conditions", + "anchor_from": "right_middle", + "anchor_to": "right_middle" + }, + + "privacy_policy_button@common_buttons.light_text_button": { + "$button_text": "realmsCreateScreen.viewPrivacyPolicy", + "$button_text_size": [ "100%", "default" ], + "$button_text_max_size": [ "100% - 10px", 20 ], + "$button_font_size": "normal", + "$font_type": "smooth", + "$pressed_button_name": "$pressed_button_name_privacy_policy", + "anchor_from": "right_middle", + "anchor_to": "right_middle" + }, + + "terms_and_conditions_panel": { + "type": "panel", + "controls": [ + { + "name_label@label": { + "offset": [ 2, 2 ], + "text": "realmsCreateScreen.termsAndConditionsHeader", + "layer": 2 + } + }, + { + "terms_string_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, 6 ], + "size": [ "100%", "100% - 12px" ], + "$pressed_button_name_terms_conditions": "button.tos_hyperlink", + "$pressed_button_name_privacy_policy": "button.privpol_hyperlink", + "variables": [ + { + // Stop-gap measure until we can get hyperlinks to work from VR and FireTV + "requires": "($is_holographic or $fire_tv)", + "$pressed_button_name_terms_conditions": "button.tos_popup" + }, + { + // Stop-gap measure until we can get hyperlinks to work from VR and FireTV + "requires": "($is_holographic or $fire_tv)", + "$pressed_button_name_privacy_policy": "button.privpol_popup" + } + ], + "controls": [ + { + "banner_fill": { + "type": "image", + "layer": 2, + "texture": "textures/ui/Banners" + } + }, + { + "buttons_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "agree_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 3, + "controls": [ + { + "checkbox_control@settings_common.checkbox_with_highlight_and_label": { + "$toggle_name": "#agree_terms_and_conditions", + "$checkbox_label_text": "realmsCreateScreen.termsAndConditionsAgree", + "$checkbox_label_font_type": "smooth" + } + } + ] + } + }, + { + "view_terms_button@realms_create.view_terms_button": { + "size": [ "fill", "100%" ] + } + }, + { + "privacy_policy_button@realms_create.privacy_policy_button": { + "size": [ "fill", "100%" ] + } + } + ] + } + } + ] + } + } + ] + }, + + "confirmation_panel": { + "type": "panel", + "size": [ "100% - 4px", "25px" ], + "controls": [ + { + "create_realms_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.create_realm", + "$button_content": "realms_create.create_realms_stack_panel", + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#has_checked_tos", + "binding_name_override": "#enabled" + } + ] + } + } + ] + }, + + "create_realms_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_to": "center", + "anchor_from": "center", + "size": [ "100%c", "100%" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "create_realms_text_panel@realms_create.create_realms_text_panel": {} + } + ] + }, + + "create_realms_text_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "create@realms_create.label": { + "text": "#confirmation_button_text", + "size": [ "default", "default" ], + "color": "$text_color", + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#confirmation_button_text" + } + ] + } + } + ] + }, + + "stack_item": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "scroll_stack_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "controls": [ + { + "name@stack_item": { + "size": [ "100% - 4px", 34 ], + "controls": [ + { + "enter_name_panel@enter_name_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 4px" ] + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "duration@stack_item": { + "ignored": "$hide_duration", + "size": [ "100% - 4px", 40 ], + "controls": [ + { + "choose_duration_panel@choose_duration_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 4px" ], + "offset": [ 0, 4 ] + } + } + ] + } + }, + { + "tier@stack_item": { + "size": [ "100% - 4px", "100%c" ], + "controls": [ + { + "choose_tier_panel@choose_tier_panel": { + "ignored": "$hide_tier", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 40 ], + "offset": [ 0, 2 ] + } + } + ] + } + }, + { + "toc@stack_item": { + "size": [ "100%", 40 ], + "controls": [ + { + "terms_and_conditions_panel@terms_and_conditions_panel": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 4px", "100% - 4px" ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "realms_terms_info": { + "type": "image", + "texture": "textures/ui/text_label_box", + "size": [ "100%", "100%c" ], + "$used_fontsize|default": "normal", + "$used_fonttype|default": "smooth", + "controls": [ + { + "label_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "text_description_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realms_create.terms_section" + } + }, + { + "text_description_wrapper_extra@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realms_create.terms_section_extra", + "ignored": "(not $is_ps4)" + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 0, 4 ] + } + } + ] + } + } + ] + } + }, + { + "realms_switch_nso_info@settings_common.option_info_label": { + "$container_text_binding_name": "#realms_switch_nso_info", + "$used_fontsize": "normal", + "$used_fonttype": "smooth", + "$show_option_label": false, + "$show_for_ios|default": false, + "ignored": "(not $nx_os)", + "layer": 3, + "size": [ "100% - 4px", "100%c" ] + } + } + ] + }, + + "terms_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "terms_section_label": { + "type": "label", + "size": [ "100% - 8px", "default" ], + "anchor_to": "center", + "text": "#realms_terms_info", + "color": "$body_text_color", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#realms_terms_info" + } + ] + } + } + ] + }, + + "terms_section_extra": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "terms_section_label": { + "type": "label", + "size": [ "100% - 8px", "default" ], + "anchor_to": "center", + "text": "#realms_terms_info_extra", + "color": "$body_text_color", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#realms_terms_info_extra" + } + ] + } + } + ] + }, + + "main_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "offset": [ 2, 0 ], + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "size": [ "100%", "fill" ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "realms_create.scroll_stack_panel", + "$scrolling_pane_size": [ "100%", "100%" ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "confirmation_panel@realms_create.confirmation_panel": {} + }, + { + "padding_1": { + "type": "panel", + "size": [ 0, 3 ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "content": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100%" ], + "offset": [ 0, 0 ], + "controls": [ + { + "main_panel@main_panel": {} + } + ] + }, + + "realms_create_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "realms_create.realms_create_content_and_factory", + "$default_text_color": [ 0.3, 0.3, 0.3 ] + }, + + "realms_create_content_and_factory": { + "type": "panel", + "controls": [ + { + "realms_create_content@common_dialogs.main_panel_no_buttons": { + "$text_name": "$title_text", + "$child_control": "realms_create.content", + "size": "$realms_create_screen_size" + } + }, + { + "popup_dialog_factory": { + + "type": "factory", + "control_ids": { + "play_on_realm": "@realms_common.popup_dialog__play_on_realm" + } + } + } + ] + } +} diff --git a/resource_pack/ui/realms_invite_link_settings_screen.json b/resource_pack/ui/realms_invite_link_settings_screen.json new file mode 100644 index 0000000..9ee52c6 --- /dev/null +++ b/resource_pack/ui/realms_invite_link_settings_screen.json @@ -0,0 +1,473 @@ +{ + "namespace": "realms_invite_link_settings", + + "generic_section_wrapper": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 2, 0 ], + "size": [ "100% - 4px", "100%c" ], + "$section_button_name|default": "name of selection toggle button", + "$section_content_name|default": "name of class defining the content", + "controls": [ + { "generic_section@realms_settings.generic_section": {} } + ] + }, + + "link_banner": { + "type": "image", + "texture": "textures/ui/Banners", + "size": [ "100%", "default" ] + }, + + "clipboard_icon": { + "type": "image", + "texture": "textures/ui/copy", + "size": [ 12, 12 ] + }, + + "description_wrap": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "description@realms_settings.label_text": { + "text": "$description_text", + "size": [ "100%", "default" ], + "color": "$light_button_secondary_default_text_color" + } + } + ] + }, + + // General Content + + "invite_link_url@realms_settings.label_text": { + "text": "#realm_invite_link_url", + "tts_override_control_value": "#realm_invite_link_url_TTS", + "color": "$body_text_color", + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#realm_invite_link_url" + }, + { + "binding_name": "#realm_invite_link_url_TTS" + } + ] + }, + + "link_panel@realms_invite_link_settings.link_banner": { + "size": [ "100%", 26 ], + "controls": [ + { + "invite_link_url_wrapper@common.tts_label_focus_wrapper": { + "size": [ "100% - 26px", 10 ], + "offset": [ 4, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$tts_label_panel": "realms_invite_link_settings.invite_link_url" + } + }, + { + "link_copy_container": { + "type": "panel", + "size": [ "26px", 26 ], + "anchor_to": "right_middle", + "anchor_from": "right_middle", + "controls": [ + { + "link_copy@common_buttons.transparent_content_button": { + "ignored": "(not $supports_clipboard_set)", + "$pressed_button_name": "button.copy_link", + "$button_tts_header": "realmsSettingsScreen.inviteLinkCopyTTS", + "$button_content": "realms_invite_link_settings.clipboard_icon", + "size": [ 20, 20 ], + "anchor_to": "center", + "anchor_from": "center", + "$default_button_alpha": 0.3, + "$default_hover_alpha": 0.45, + "$default_pressed_alpha": 0.6, + "$light_glyph_default_color": [ 1, 1, 1 ], + "$light_glyph_hover_color": [ 1.19, 1.14, 1.05 ], + "$light_glyph_pressed_color": [ 0.8, 0.84, 0.93 ], + "$button_pressed_offset": [ 0, 0 ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_copy_invite_link", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_copy_invite_link", + "mapping_type": "focused" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#copy_share_enabled", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "general_content": { + "type": "stack_panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "spacing_gap_0": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "invite_link_title@realms_settings.label_text": { + "text": "#dialog_title", + "size": [ "100%", 12 ], + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#dialog_title" + } + ] + } + }, + { + "invite_link_description@realms_invite_link_settings.description_wrap": { + "$description_text": "realmsSettingsScreen.inviteLinkDescription" + } + }, + { + "spacing_gap_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { "link_panel@realms_invite_link_settings.link_panel": {} }, + { + "spacing_gap_2": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "activate_link_toggle@settings_common.option_toggle": { + "$tts_section_header": "", + "$option_label": "realmsSettingsScreen.inviteLinkActivate", + "$toggle_tts_header": "realmsSettingsScreen.inviteLinkActivateTTS", + "$option_binding_name": "#activate_link", + "$option_enabled_binding_name": "#activate_link_enabled", + "$toggle_name": "activate_link_toggle", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "activate_link_description@realms_invite_link_settings.description_wrap": { + "$description_text": "realmsSettingsScreen.inviteLinkActivateDescription" + } + }, + { + "spacing_gap_3": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "infinite_link_toggle@settings_common.option_toggle": { + "$tts_section_header": "", + "$option_label": "realmsSettingsScreen.inviteLinkInfiniteToggle", + "$option_binding_name": "#infinite_link", + "$option_enabled_binding_name": "#infinite_link_enabled", + "$toggle_name": "infinite_link_toggle", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "spacing_gap_4": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "share_link_title@realms_settings.label_text": { + "text": "realmsSettingsScreen.inviteLinkShare", + "size": [ "100%", 12 ], + "color": "$body_text_color" + } + }, + { + "share_link_description@realms_invite_link_settings.description_wrap": { + "$description_text": "realmsSettingsScreen.inviteLinkShareDescription" + } + }, + { + "spacing_gap_5": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "share_link_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.inviteLinkShareButton", + "$button_tts_name": "realmsSettingsScreen.inviteLinkShareButtonTTS", + "$pressed_button_name": "realms_share_invite_link_button", + "bindings": [ + { + "binding_name": "#copy_share_enabled", + "binding_name_override": "#enabled" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_invite_share", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_invite_share", + "mapping_type": "focused" + } + ] + } + }, + { + "spacing_gap_6": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "remove_link_title@realms_settings.label_text": { + "text": "realmsSettingsScreen.inviteLinkRemove", + "size": [ "100%", 12 ], + "color": "$body_text_color" + } + }, + { + "remove_invite_link_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.inviteLinkRemoveButton", + "$button_tts_name": "realmsSettingsScreen.inviteLinkRemoveButtonTTS", + "$pressed_button_name": "realms_remove_invite_link_button", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realms_remove_invite_link", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realms_remove_invite_link", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + "invite_link_expiration@realms_settings.label_text": { + "text": "#invite_link_expiration_time", + "tts_override_control_value": "#invite_link_expiration_time_TTS", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#invite_link_expiration_time" + }, + { + "binding_name": "#invite_link_expiration_time_TTS" + } + ] + }, + + "advanced_content": { + "type": "stack_panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "spacing_gap_0": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "expiry_title@realms_settings.label_text": { + "text": "realmsSettingsScreen.inviteLinkExpirationLabel", + "size": [ "100% - 8px", 10 ], + "color": "$body_text_color" + } + }, + { + "spacing_gap_1": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "expiration_description@realms_invite_link_settings.description_wrap": { + "$description_text": "realmsSettingsScreen.inviteLinkExpirationDescription" + } + }, + { + "spacing_gap_2": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "expiration_panel@realms_invite_link_settings.link_banner": { + "size": [ "100%", 21 ], + "controls": [ + { + "invite_link_expiration_wrapper@common.tts_label_focus_wrapper": { + "size": [ "100% - 8px", 10 ], + "offset": [ 4, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$tts_label_panel": "realms_invite_link_settings.invite_link_expiration" + } + } + ] + } + }, + { + "expiration_dropdown@settings_common.option_dropdown": { + "$dropdown_content": "realms_invite_link_settings.expiration_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "expiration_dropdown", + "$options_enabled_binding_name": "#expiration_duration_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#expiration_duration_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "424%" ] + } + } + ] + }, + + "expiration_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "never@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#expiration_duration_radio_never", + "$radio_label_text": "realmsSettingsScreen.expiration.never" + } + }, + { + "halfHour@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#expiration_duration_radio_halfHour", + "$radio_label_text": "realmsSettingsScreen.expiration.halfHour" + } + }, + { + "hour@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#expiration_duration_radio_hour", + "$radio_label_text": "realmsSettingsScreen.expiration.hour" + } + }, + { + "quarterDay@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#expiration_duration_radio_quarterDay", + "$radio_label_text": "realmsSettingsScreen.expiration.quarterDay" + } + }, + { + "halfDay@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#expiration_duration_radio_halfDay", + "$radio_label_text": "realmsSettingsScreen.expiration.halfDay" + } + }, + { + "day@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#expiration_duration_radio_day", + "$radio_label_text": "realmsSettingsScreen.expiration.day" + } + }, + { + "week@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#expiration_duration_radio_week", + "$radio_label_text": "realmsSettingsScreen.expiration.week" + } + } + ] + }, + + // Left side + "selector_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c + 4px" ], + "$default_selector_toggle_index": 1, + "$general_toggle_index|default": 1, + "$advanced_toggle_index|default": 2, + "controls": [ + { + "spacing_gap_0": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "general_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "general_button_toggle", + "$toggle_group_forced_index": "$general_toggle_index", + "$glyph_texture": "textures/ui/world_glyph", + "$glyph_color_texture": "textures/ui/world_glyph_color", + "$glyph_size": [ 16, 17 ], + "layer": 1, + "$button_text": "realmsSettingsScreen.inviteLinkSettingsGeneral", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.inviteLinkSettingsGeneral" + } + } + }, + { + "advanced_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "advanced_button_toggle", + "$toggle_group_forced_index": "$advanced_toggle_index", + "$glyph_texture": "textures/ui/subscription_glyph", + "$glyph_color_texture": "textures/ui/subscription_glyph_color", + "$glyph_size": [ 15, 13 ], + "layer": 2, + "$button_text": "realmsSettingsScreen.inviteLinkSettingsAdvanced", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.inviteLinkSettingsAdvanced" + }, + "bindings": [ + { + "binding_name": "#realm_invite_link_active", + "binding_name_override": "#enabled" + } + ] + } + } + ] + }, + + // Right side + "section_content_panels": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "general_section@realms_invite_link_settings.generic_section_wrapper": { + "$section_button_name|default": "general_button_toggle", + "$section_content_name|default": "realms_invite_link_settings.general_content" + } + }, + { + "advanced_section@realms_invite_link_settings.generic_section_wrapper": { + "$section_button_name|default": "advanced_button_toggle", + "$section_content_name|default": "realms_invite_link_settings.advanced_content" + } + } + ] + } +} diff --git a/resource_pack/ui/realms_pending_invitations.json b/resource_pack/ui/realms_pending_invitations.json new file mode 100644 index 0000000..f5d4e31 --- /dev/null +++ b/resource_pack/ui/realms_pending_invitations.json @@ -0,0 +1,517 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "realms_pending_invitations", + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + + "panel_text": { + "type": "label", + "color": "$main_header_text_color", + "layer": 5, + "anchor_from": "center", + "anchor_to": "center", + "font_size": "normal" + }, + + "banner_panel_base": { + "type": "panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", 27 ], + "controls": [ + { + "background@$banner_image": { + "size": [ "100%-4px", "100% - 1px" ], + "offset": [ 2, 1 ] + } + }, + { + "indent_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 8px", "100% - 5px" ], + "offset": [ 4, 3 ], + "controls": [ { "content@$child_control": {} } ] + } + } + ] + }, + + "banner_panel@banner_panel_base": { + "$banner_image": "realms_common.dark_banner" + }, + + "banner_panel_hover@banner_panel_base": { + "$banner_image": "realms_common.dark_banner_hover" + }, + + "realm_invite_button@common_buttons.light_content_button": { + "anchor_to": "top_right", + "anchor_from": "top_right", + "size": [ "100%y", "100%" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "pending_invites_collection" + }, + { + "binding_name": "#response_buttons_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "pending_invites_collection" + } + ] + }, + + //--------------------------------------------------------------------------- + // Gamertag Grid + //--------------------------------------------------------------------------- + + /*"realm_screenshot": { + "type": "panel", + "controls": [ + { "legacy_banner@realms_common.legacy_banner": { } }, + { + "realm_screenshot_texture": { + "type": "image", + "texture": "textures/ui/WorldDemoScreen", + "layer": 5, + "anchor_to": "center", + "anchor_from": "center", + "size": [ "100% - 2px", "100% - 2px" ] + } + } + ] + },/**/ + + "realm_name_label@realms_pending_invitations.panel_text": { + "text": "#realm_name", + "bindings": [ + { + "binding_name": "#realm_name", + "binding_type": "collection", + "binding_collection_name": "pending_invites_collection" + } + ] + }, + + "realm_owner_label@realms_pending_invitations.panel_text": { + "text": "#realm_owner", + "color": "$dark_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#realm_owner", + "binding_type": "collection", + "binding_collection_name": "pending_invites_collection" + } + ] + }, + + "tts_gamertag_item_info_wrapper@common.tts_label_focus_wrapper": { + "size": [ "100% - 62px", "100%" ], + "$focus_border_size": [ "100%", 22 ], + "$tts_label_panel": "realms_pending_invitations.gamertag_item_info", + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "gamertag_item_info": { + "type": "panel", + "layer": 4, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "pending_invites_collection" + } + ], + "controls": [ + /*{ + "ss@realms_pending_invitations.realm_screenshot": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "160%y", "100%" ] + } + }, + { + "text_area": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 160%y", "100%" ], + "offset": [ "160%y", 0 ], + "controls": [/**/ + { + "rnl@realms_pending_invitations.realm_name_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 2px", "50%" ], + "offset": [ 2, 0.5 ] + } + }, + { + "rol@realms_pending_invitations.realm_owner_label": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100% - 2px", "50%" ], + "offset": [ 2, 0.5 ] + } + } + /*] + } + }/**/ + ] + }, + + "accept_button_content": { + "type": "image", + "texture": "textures/ui/realms_green_check", + "anchor_to": "center", + "anchor_from": "center", + //"layer": 6, + "size": [ 15, 12 ] + }, + + "decline_button_content": { + "type": "image", + "texture": "textures/ui/realms_red_x", + "anchor_to": "center", + "anchor_from": "center", + //"layer": 6, + "size": [ 12, 12 ] + }, + + "realm_accept_button@realms_pending_invitations.realm_invite_button": { + "$button_content": "realms_pending_invitations.accept_button_content", + "offset": [ "-100%y - 1px", 0 ], + "layer": 2, + "$button_tts_header": "gui.accept", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realm_invitation_accept", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realm_invitation_accept", + "mapping_type": "focused" + } + ] + }, + + "realm_decline_button@realms_pending_invitations.realm_invite_button": { + "$button_content": "realms_pending_invitations.decline_button_content", + "layer": 2, + "$button_tts_header": "gui.decline", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.realm_invitation_decline", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.realm_invitation_decline", + "mapping_type": "focused" + } + ] + }, + + "realm_accepted_panel@realms_pending_invitations.panel_text": { + "text": "#invite_status", + "anchor_to": "top_right", + "anchor_from": "top_right", + "size": [ "60px", "100%" ], + "offset": [ 0, 0.5 ], + "color": "$dark_button_secondary_default_text_color", + "layer": 5, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "pending_invites_collection" + }, + { + "binding_name": "#accept_panel_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "pending_invites_collection" + }, + { + "binding_name": "#invite_status", + "binding_type": "collection", + "binding_collection_name": "pending_invites_collection" + } + ] + }, + + "gamertag_item_content": { + "type": "panel", + "controls": [ + { "lb@realms_pending_invitations.tts_gamertag_item_info_wrapper": {} }, + { "a@realms_pending_invitations.realm_accept_button": {} }, + { "d@realms_pending_invitations.realm_decline_button": {} }, + { "ap@realms_pending_invitations.realm_accepted_panel": {} } + ] + }, + + "gamertag_item@realms_pending_invitations.banner_panel": { + "$child_control": "realms_pending_invitations.gamertag_item_content" + }, + + "gamertag_item_grid": { + "type": "grid", + "grid_item_template": "realms_pending_invitations.gamertag_item", + "grid_dimension_binding": "#gamertag_item_grid_dimension", + "collection_name": "pending_invites_collection", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#gamertag_item_grid_dimension", + "binding_type": "global" + } + ] + }, + + + // ----------------------------------------------- + // + // toggle + // + // ----------------------------------------------- + + "show_friends_only_toggle_state_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "controls": [ + { + "checkbox_holding_panel": { + "type": "panel", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%y", "100%" ], + "controls": [ + { + "hide_invites@$toggle_image": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "hide_invites_text_panel": { + "type": "panel", + "controls": [ + { + "hide_invites_text@realms_pending_invitations.panel_text": { + "size": [ "default", "default" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "realmsPendingInvitationsScreen.showFriendInvites" + } + } + ] + } + } + ] + }, + + "show_friends_only_toggle_on_state_content@realms_pending_invitations.show_friends_only_toggle_state_content": { + "$toggle_image": "common.checkbox_checked_state" + }, + + "show_friends_only_toggle_on_state@realms_pending_invitations.banner_panel": { + "$child_control": "realms_pending_invitations.show_friends_only_toggle_on_state_content" + }, + + "show_friends_only_toggle_off_state_content@realms_pending_invitations.show_friends_only_toggle_state_content": { + "$toggle_image": "common.checkbox_unchecked_state" + }, + + "show_friends_only_toggle_off_state@realms_pending_invitations.banner_panel": { + "$child_control": "realms_pending_invitations.show_friends_only_toggle_off_state_content" + }, + + "show_friends_only_toggle_on_hover_state_content@realms_pending_invitations.show_friends_only_toggle_state_content": { + "$toggle_image": "common.checkbox_checked_hover_state" + }, + + "show_friends_only_toggle_on_hover_state@realms_pending_invitations.banner_panel_hover": { + "$child_control": "realms_pending_invitations.show_friends_only_toggle_on_hover_state_content" + }, + + "show_friends_only_toggle_off_hover_state_content@realms_pending_invitations.show_friends_only_toggle_state_content": { + "$toggle_image": "common.checkbox_unchecked_hover_state" + }, + + "show_friends_only_toggle_off_hover_state@realms_pending_invitations.banner_panel_hover": { + "$child_control": "realms_pending_invitations.show_friends_only_toggle_off_hover_state_content" + }, + + "show_friends_only_toggle_on_locked_state_content@realms_pending_invitations.show_friends_only_toggle_state_content": { + "$toggle_image": "common.checkbox_checked_locked_state" + }, + + "show_friends_only_toggle_on_locked_state@realms_pending_invitations.banner_panel": { + "$child_control": "realms_pending_invitations.show_friends_only_toggle_on_locked_state_content" + }, + + "show_friends_only_toggle_off_locked_state_content@realms_pending_invitations.show_friends_only_toggle_state_content": { + "$toggle_image": "common.checkbox_unchecked_locked_state" + }, + + "show_friends_only_toggle_off_locked_state@realms_pending_invitations.banner_panel": { + "$child_control": "realms_pending_invitations.show_friends_only_toggle_off_locked_state_content" + }, + + "show_friends_only_toggle@common.toggle": { + "size": [ "100%", "100%c" ], + "$toggle_name": "#hide_invites", + "$toggle_state_binding_name": "#invite_toggle_state", + "$unchecked_control": "realms_pending_invitations.show_friends_only_toggle_off_state", + "$checked_control": "realms_pending_invitations.show_friends_only_toggle_on_state", + "$unchecked_hover_control": "realms_pending_invitations.show_friends_only_toggle_off_hover_state", + "$checked_hover_control": "realms_pending_invitations.show_friends_only_toggle_on_hover_state", + "$unchecked_locked_control": "realms_pending_invitations.show_friends_only_toggle_off_locked_state", + "$unchecked_locked_hover_control": "realms_pending_invitations.show_friends_only_toggle_off_locked_state", + "$checked_locked_control": "realms_pending_invitations.show_friends_only_toggle_on_locked_state", + "$checked_locked_hover_control": "realms_pending_invitations.show_friends_only_toggle_on_locked_state" + }, + + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + + "gamepad_helpers": { + "type": "panel", + "layer": 2, + "size": [ "100%", 16 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "a@common.gamepad_helper_a": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "b@common.gamepad_helper_b": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + "no_invites_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "realms_pending_invitations.no_invites_label", + "bindings": [ + { + "binding_name": "#no_invites_visible", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "no_invites_label": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label@realms_pending_invitations.panel_text": { + "text": "realmsPendingInvitationsScreen.noInvites", + "size": [ "default", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + }, + + "realms_pending_invitation_list": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "upper_padding": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { "sfop@realms_pending_invitations.show_friends_only_toggle": {} }, + { "gig@realms_pending_invitations.gamertag_item_grid": {} }, + { + "lower_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { "nil@realms_pending_invitations.no_invites_label_wrapper": {} } + ] + }, + + "content_panel@common.scrolling_panel": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$show_background": false, + "$scrolling_pane_size": [ "100% - 1px", "100%" ], + "$scrolling_content": "realms_pending_invitations.realms_pending_invitation_list", + "$scroll_size": [ 5, "100% - 4px" ] + }, + + "realms_pending_invitations_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "realms_pending_invitations.realms_invitation_screen_content" + }, + + "realms_invitation_screen_content": { + "type": "panel", + "controls": [ + { + "root_panel": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "main_panel@common_dialogs.main_panel_no_buttons": { + "size": "$narrow_screen_size", + "offset": [ 0, 0 ], + "$text_name": "realmsPendingInvitationsScreen.pendingInvitations", + "$child_control": "realms_pending_invitations.content_panel" + } + }, + { "sgh@realms_pending_invitations.gamepad_helpers": {} } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/realms_plus_ended_screen.json b/resource_pack/ui/realms_plus_ended_screen.json new file mode 100644 index 0000000..e7a7996 --- /dev/null +++ b/resource_pack/ui/realms_plus_ended_screen.json @@ -0,0 +1,184 @@ +{ + "namespace": "realms_plus_ended", + + //--------------------------------------------------------------------------- + // SCREEN + //--------------------------------------------------------------------------- + + "subscription_ended_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "realms_plus_ended.subscription_ended_screen_content" + }, + + "subscription_ended_screen_content": { + "type": "panel", + "controls": [ + { + "root_panel": { + "type": "panel", + "controls": [ + { "gamepad_helpers@gamepad_helpers": {} }, + { "main_panel@main_panel": { "layer": 1 } } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // CONTENT + //--------------------------------------------------------------------------- + + "main_panel": { + "type": "input_panel", + "size": [ 260, 174 ], + "controls": [ + { + "dialog@common_dialogs.main_panel_no_buttons": { + "$text_name": "realmsPlus.popup.title", + "$child_control": "realms_plus_ended.content_stack_panel" + } + } + ] + }, + + "gamepad_helpers": { + "type": "panel", + "layer": 2, + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + "content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% + 16px", "100%c" ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "main_content@realms_plus_ended.main_content_panel": {} + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "button_center_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "buttons@realms_plus_ended.buttons_panel": {} + } + ] + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "main_content_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "main_content_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 20px", "100%cm" ], + "offset": [ 2, 0 ], + "controls": [ + { + "image_panel@common.service_repo_image_panel": { + "$repo_image_texture": "realms_plus_logo_tall", + "size": [ 67, 89 ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 5, "100%sm" ] + } + }, + { + "text_panel": { + "type": "panel", + "size": [ "fill", "100%sm" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100% - 10px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "realmsPlus.popup.message", + "font_type": "smooth", + "color": "$body_text_color", + "line_padding": 1.5 + } + } + ] + } + } + ] + } + } + ] + }, + + "buttons_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 24px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "more_info_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$button_text": "realmsPlus.popup.top_button_text", + "$pressed_button_name": "button.more_info" + } + }, + { + "pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "renew_subscription_button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$button_text": "realmsPlus.popup.bottom_button_text", + "$pressed_button_name": "button.renew" + } + } + ] + } + +} + diff --git a/resource_pack/ui/realms_settings_screen.json b/resource_pack/ui/realms_settings_screen.json new file mode 100644 index 0000000..bb9a224 --- /dev/null +++ b/resource_pack/ui/realms_settings_screen.json @@ -0,0 +1,1399 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "realms_settings", + + "settings_screen@settings_common.screen_base": { + "$selector_stack_panel": "realms_settings.selector_panel", + "$section_content_panels": "realms_settings.section_content_panels", + "$section_header_panels": "common.empty_panel", + "$section_footer_panels": "common.empty_panel" + }, + + "generic_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$section_button_name", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { "$section_content_name@$section_content_name": {} } + ] + }, + + "generic_section_wrapper": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 2, 0 ], + "size": [ "100% - 4px", "100%c" ], + "$section_button_name|default": "name of selection toggle button", + "$section_content_name|default": "name of class defining the content", + "controls": [ + { "generic_section@realms_settings.generic_section": {} } + ] + }, + + // Subscription content + + "player_count_label@settings_common.option_info_label": { + "$option_label": "realmsSettingsScreen.playerCountLabel", + "$container_size": [ "100%", "30px" ], + "$container_text_binding_name": "#realm_player_count" + }, + + "realm_duration_label@settings_common.option_info_label": { + "$option_label": "realmsSettingsScreen.realmDurationLabel", + "$container_size": [ "100%", "30px" ], + "$container_text_binding_name": "#realm_duration_label" + }, + + "realm_subscription_origin_label@settings_common.option_info_label_with_bulb": { + "$container_size": [ "100%", "60px" ], + "$container_text_binding_name": "#realm_subscription_origin", + "$container_text_secondary_binding_name": "#realm_subscription_origin_addendum", + "$second_info_panel_visible": true, + "$show_option_label": false, + "bindings": [ + { + "binding_name": "#realm_subscription_origin_visibility", + "binding_name_override": "#visible" + } + ] + }, + + "realm_consumable_to_subscription_info_label@settings_common.option_info_label": { + "$container_size": [ "100%", "60px" ], + "$container_text_binding_name": "#realm_consumable_to_subscription_info", + "$show_option_label": false, + "bindings": [ + { + "binding_name": "#realm_consumable_to_subscription_visibility", + "binding_name_override": "#visible" + } + ] + }, + + "manage_subscriptions_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.manageSubscriptionsButton", + "$pressed_button_name": "menu_realms_manage_subscriptions" + }, + + "delete_realm_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.deleteRealmButton", + "$pressed_button_name": "menu_realms_delete_realm", + "bindings": [ + { + "binding_name": "#delete_realm_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "open_realm_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.openRealmButton", + "$pressed_button_name": "menu_open_realm", + "bindings": [ + { + "binding_name": "#open_realm_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "close_realm_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.closeRealmButton", + "$pressed_button_name": "menu_close_realm", + "bindings": [ + { + "binding_name": "#close_realm_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "subscriptions_section": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "controls": [ + { + "loading_view": { + "type": "label", + "color": "$body_text_color", + "size": [ "default", "80px" ], + "offset": [ 0, 10 ], + "text": "realmsSettingsScreen.LoadingSubscription", + "bindings": [ + { + "binding_name": "#realms_subscription_loading_message_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loading_failed_view": { + "type": "label", + "color": "$body_text_color", + "size": [ "default", "80px" ], + "offset": [ 0, 10 ], + "text": "realmsSettingsScreen.failedLoadingSubscription", + "bindings": [ + { + "binding_name": "#realms_subscription_loading_failed_message_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loaded_view": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "player_count_label@realms_settings.player_count_label": {} }, + { "realm_duration_label@realms_settings.realm_duration_label": {} }, + { + "possible_store_mismatch@general_section.possible_store_mismatch": { + "$realm_collection_name": "", + "$tooltip_button_collection_name": "additional_realms_subscriptions_collection", + + "$tooltip_text_binding_name": "#realms_purchased_store", + "$tooltip_button_binding_type": "global", + + "$tooltip_panel_offset": [ 0, "-100%y - 2px" ], + + "bindings": [ + { + "binding_name": "#realm_consumable_to_subscription_visibility", + "binding_name_override": "#visible", + "binding_condition": "visible" + } + ] + } + }, + { "realm_subscription_origin_label@realms_settings.realm_subscription_origin_label": {} }, + { "realm_consumable_to_subscription_info_label@realms_settings.realm_consumable_to_subscription_info_label": {} }, + { + "_0": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { "delete_realm_button@realms_settings.delete_realm_button": {} }, + { "open_realm_button@realms_settings.open_realm_button": {} }, + { "close_realm_button@realms_settings.close_realm_button": {} }, + { + "_1": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "manage_subscriptions_button@realms_settings.manage_subscriptions_button": { + "ignored": "$pre_release" + } + } + ], + "bindings": [ + { + "binding_name": "#realms_subscription_info_visible", + "binding_name_override": "#visible" + } + ] + } + + } + ] + }, + + // Invite links content + + "invite_link_item_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "offset": [ 2, 2 ], + "controls": [ + { + "invite_link_item_name_and_expiry_text": { + "type": "stack_panel", + "size": [ "75%", "100%" ], + "controls": [ + { + "name_text@realms_settings.label_text": { + "text": "#link_name", + "size": [ "100% - 8px", 10 ], + "color": "$text_color", + "tts_override_control_value": "#link_name_TTS", + "bindings": [ + { + "binding_name": "#link_name", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_name": "#link_name_TTS", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + }, + { + "spacing_gap": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "expiry_text@realms_settings.label_text": { + "text": "#link_expiry", + "size": [ "100% - 8px", 10 ], + "color": "$light_button_secondary_default_text_color", + "tts_override_control_value": "#link_expiry_TTS", + "bindings": [ + { + "binding_name": "#link_expiry", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_name": "#link_expiry_TTS", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + } + }, + { + "invite_link_item_state_text": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "state_text@realms_settings.label_text": { + "text": "#link_state", + "text_alignment": "right", + "offset": [ 0, 6 ], + "size": [ "100%", 10 ], + "color": "$light_button_secondary_default_text_color", + "tts_override_control_value": " ", // state gets narrated with expiry in #link_expiry_TTS + "bindings": [ + { + "binding_name": "#link_state", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + } + }, + { + "spacing_gap": { + "type": "panel", + "size": [ 6, "100%" ] + } + } + ] + }, + + "invite_link_item_template": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 30 ], + "controls": [ + { + "invite_link_item_button@common_buttons.dark_content_button": { + "$pressed_button_name": "open_invite_link_settings_screen", + "size": [ "100%", 30 ], + "$button_content": "realms_settings.invite_link_item_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + }, + + "invite_links_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "loading_view": { + "type": "label", + "color": "$body_text_color", + "size": [ "default", "80px" ], + "offset": [ 0, 10 ], + "text": "realmsSettingsScreen.LoadingInviteLinks", + "bindings": [ + { + "binding_name": "#realms_invite_links_loading_message_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loading_failed_view": { + "type": "label", + "color": "$body_text_color", + "size": [ "default", "80px" ], + "offset": [ 0, 10 ], + "text": "realmsSettingsScreen.failedLoadingInviteLinks", + "bindings": [ + { + "binding_name": "#realms_invite_links_loading_failed_message_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loaded_view": { + "type": "stack_panel", + "controls": [ + { + "spacing_gap_0": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "invite_links_info@settings_common.option_info_label": { + "$option_label": "realmsSettingsScreen.inviteLinkLabel", + "$button_tts_header": "realmsSettingsScreen.inviteLinkLabelTTS", + "$container_size": [ "100%", "30px" ], + "$container_text_binding_name": "#realm_invite_links_description" + } + }, + { + "invite_links_grid": { + "type": "stack_panel", + "size": [ "100%", "default" ], + "factory": { + "name": "invite_links_factory", + "control_name": "realms_settings.invite_link_item_template" + }, + "collection_name": "realms_invite_links_collection", + "$collection_binding_name": "realms_invite_links_collection", + "bindings": [ + { + "binding_name": "#realms_invite_links_collection_length", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "spacing_gap_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "add_invite_link_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.inviteLinkAddButton", + "$pressed_button_name": "create_and_open_invite_link_settings_screen", + "bindings": [ + { + "binding_name": "#add_invite_link_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#add_invite_link_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#realms_invite_links_info_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Branches Section + //--------------------------------------------------------------------------- + "label_text": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "", + "font_size": "normal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 2 + }, + + "branch_grid_item_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "100%", 29 ], + "offset": [ 5, 4 ], + "controls": [ + { + "branch_text@realms_settings.label_text": { + "text": "#branch_name", + "size": [ "100% - 8px", 10 ], + "color": "$text_color", + "bindings": [ + { + "binding_name": "#branch_name", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + }, + { + "commit_text@realms_settings.label_text": { + "text": "#commit_id", + "size": [ "100% - 8px", 10 ], + "color": "$text_color", + "bindings": [ + { + "binding_name": "#commit_id", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + }, + + "matching_item_button_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "100%", 29 ], + "offset": [ 5, 4 ], + "controls": [ + { + "branch_text@label_text": { + "text": "#matching_branch_name", + "size": [ "100% - 8px", 10 ], + "color": "$text_color", + "bindings": [ + { + "binding_name": "#matching_branch_name" + } + ] + } + }, + { + "commit_text@label_text": { + "text": "#matching_commit_id", + "size": [ "100% - 8px", 10 ], + "color": "$text_color", + "bindings": [ + { + "binding_name": "#matching_commit_id" + } + ] + } + } + ] + }, + + "branch_item_template": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 29 ], + "controls": [ + { + "branch_item_button@common_buttons.light_content_button": { + "$pressed_button_name": "select_realm_branch", + "size": [ "100%", 29 ], + "$button_content": "realms_settings.branch_grid_item_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + }, + + "branches_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "realms_settings.branch_item_template", + "grid_dimension_binding": "#realms_branch_grid_dimension", + "$collection_binding_name": "realms_branch_collection", + "collection_name": "realms_branch_collection", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#realms_branch_grid_dimension" + } + ] + }, + + "branch_set_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": "$branch_panel_size", + "controls": [ + { + "set_branch_id_label@realms_settings.label_text": { + "text": "#selected_branch_commit_id", + "color": "$main_header_text_color", + "size": [ "100% - 8px", 10 ], + "bindings": [ + { + "binding_name": "#selected_branch_commit_id" + } + ] + } + } + ] + }, + + "version_filter_text_box@common.text_edit_box": { + "size": [ "100%", 25 ], + "$text_box_name": "#version_filter_text_box", + "max_length": 30 + }, + + "branch_page_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "controls": [ + { + "prev_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.dev_prev_page_label", + "$pressed_button_name": "prev_page_button", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 70, "100%" ], + "bindings": [ + { + "binding_name": "#prev_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "page_text@realms_settings.label_text": { + "text": "#page_index_text", + "color": "$sub_header_text_color", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "default", "50%" ], + "bindings": [ + { + "binding_name": "#page_index_text" + } + ] + } + }, + { + "next_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.dev_next_page_label", + "$pressed_button_name": "next_page_button", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 70, "100%" ], + "bindings": [ + { + "binding_name": "#next_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "branches_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": "$branch_panel_size", + "controls": [ + { + "branch_label@settings_common.selector_group_label": { + "offset": [ 2, 0 ], + "text": "realmsSettingsScreen.dev_branch_label", + "layer": 2 + } + }, + { + "spacing_gap_1": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "set_branch_version_label@label_text": { + "text": "realmsSettingsScreen.dev_current_version_label", + "color": "$main_header_text_color", + "size": [ "100% - 8px", 10 ] + } + }, + { "branch_set_panel@branch_set_panel": {} }, + { + "spacing_gap_2": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "matching_version_label@settings_common.selector_group_label": { + "offset": [ 2, 0 ], + "text": "realmsSettingsScreen.dev_matching_version_label", + "layer": 2 + } + }, + { + "matching_item_button@common_buttons.light_content_button": { + "$pressed_button_name": "select_matching_realm_ref", + "size": [ "100%", 29 ], + "$button_content": "realms_settings.matching_item_button_content" + } + }, + { + "spacing_gap_3": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "all_commits_label@settings_common.selector_group_label": { + "offset": [ 2, 0 ], + "text": "realmsSettingsScreen.dev_all_commits_label", + "layer": 2 + } + }, + { "version_filter_text_box@version_filter_text_box": {} }, + { "branches_grid@branches_grid": {} }, + { + "spacing_gap": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { "branch_page_panel@branch_page_panel": {} } + ] + }, + + "branch_section": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "$branch_panel_size": [ "100% - 1px", "100%c" ], + "size": [ "100%", "100%c" ], + "controls": [ + { "branches_panel@branches_panel": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Backup Section + //--------------------------------------------------------------------------- + + "popup_dialog__backups@popup_dialog.popup_dialog": { + "size": [ "100%", "100%" ], + "controls": [ + { + "transparent_close_button@realms_allowlist.transparent_close_button": { + } + }, + { + "backup_restore_popup_content@realms_settings.backup_restore_popup_content": { + "layer": 1 + } + } + ] + }, + + "backup_restore_popup_content": { + "type": "panel", + "size": [ 300, 90 ], + "controls": [ + { "popup_dialog_bg@realms_common.popup_dialog_bg": {} }, + { "backup_restore_popup_dialog_header@realms_settings.backup_restore_popup_dialog_header": {} }, + { "backup_restore_popup_dialog_body@realms_settings.backup_restore_popup_dialog_body": {} } + ] + }, + + "backup_restore_popup_dialog_header": { + "type": "panel", + "size": [ "100%", "20%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "backup_restore_popup_dialog_header_text@realms_settings.backup_restore_popup_dialog_header_text": {} } + ] + }, + + "backup_restore_popup_dialog_header_text": { + "type": "label", + "text": "realmsSettingsScreen.backupRestoreHeader", + "font_size": "normal", + "color": "$title_text_color", + "anchor_from": "center", + "anchor_to": "center", + "layer": 2, + "offset": [ 0, 2 ] + }, + + "backup_restore_popup_dialog_body": { + "type": "panel", + "size": [ "100%", "74%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, "20%" ], + "controls": [ + { "backup_restore_loading_panel@realms_settings.backup_restore_loading_panel": {} } + ] + }, + + "backup_restore_loading_panel@realms_common.hollow_banner": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%-12px", "100%" ], + "controls": [ + { "backup_restore_loading_stack_panel@realms_settings.backup_restore_loading_stack_panel": {} } + ] + }, + + "backup_restore_loading_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "padding": { + "type": "panel", + "size": [ "100%", "25%" ] + } + }, + { + "backup_restore_text_panel@realms_settings.backup_restore_text_panel": {} + }, + { "backup_restore_loading_bar_panel@realms_settings.backup_restore_loading_bar_panel": {} }, + { + "padding2": { + "type": "panel", + "size": [ "100%", "25%" ] + } + } + ] + }, + + "backup_restore_text_panel": { + "type": "panel", + "size": [ "100%", "40%" ], + "controls": [ + { + "loading_text@realms_settings.label_text": { + "text": "realmsSettingsScreen.replaceLoadingText", + "text_alignment": "center", + "size": [ "100%", "100%" ], + "color": "$sub_header_text_color" + } + } + ] + }, + + "backup_restore_loading_bar_panel": { + "type": "panel", + "size": [ "100%", "10%" ], + "controls": [ + { "progress_loading_bars@feed_common.progress_loading_bars": {} } + ] + }, + + "backup_replace_icon": { + "type": "image", + "texture": "textures/ui/backup_replace", + "size": [ 16, 16 ] + }, + + "backup_download_icon": { + "type": "image", + "texture": "textures/ui/download_backup", + "size": [ 22, 16 ] + }, + + "backup_grid_item_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "size": [ "100%", 29 ], + "offset": [ 5, 2 ], + "controls": [ + { + "backup_grid_item_icon_panel@realms_settings.backup_grid_item_icon_panel": {} + }, + { + "backup_grid_item_name_and_time_since@realms_settings.backup_grid_item_name_and_time_since": {} + }, + { + "backup_grid_item_date_and_time@realms_settings.backup_grid_item_date_and_time": {} + }, + { + "spacing_gap": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + }, + + "backup_grid_item_name_and_time_since": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "50%", "100%" ], + "controls": [ + { + "date_text@realms_settings.label_text": { + "text": "#date_text", + "size": [ "100% - 8px", 10 ], + "color": "$text_color", + "bindings": [ + { + "binding_name": "#date_text", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + }, + { + "spacing_gap": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "version_text@realms_settings.label_text": { + "text": "#version_text", + "size": [ "100% - 8px", 10 ], + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#version_text", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + }, + + "backup_grid_item_date_and_time": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "controls": [ + { + "time_text@realms_settings.label_text": { + "text": "#time_text", + "text_alignment": "right", + "size": [ "100% - 3px", 10 ], + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#time_text", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + }, + { + "spacing_gap": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "size_text@realms_settings.label_text": { + "text": "#size_text", + "text_alignment": "right", + "size": [ "100% - 3px", 10 ], + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#size_text", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + }, + + "backup_grid_item_icon_panel": { + "type": "panel", + "size": [ 24, 24 ], + "controls": [ + { + "backup_replace_icon@realms_settings.backup_replace_icon": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 2 ] + } + } + ] + }, + + "backup_item_template": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { + "backup_item_button@common_buttons.dark_content_button": { + "$pressed_button_name": "select_realm_backup", + "size": [ "fill", "100% + 1px" ], + "$button_content": "realms_settings.backup_grid_item_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + }, + { + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name", + "binding_name": "#backup_item_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "download_backup_panel": { + "type": "panel", + "size": [ "100%c - 1px", "100% + 1px" ], + "controls": [ + { + "download_backup_button@realms_settings.download_backup_button": {} + } + ] + } + } + ] + }, + + "download_backup_button@common_buttons.dark_glyph_button": { + "$pressed_button_name": "button.backup_download", + "$button_content": "realms_settings.backup_download_icon", + "size": [ "100%y + 1px", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "realms_backup_collection" + } + ] + }, + + "backup_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "realms_settings.backup_item_template", + "grid_dimension_binding": "#realms_backup_grid_dimension", + "$collection_binding_name": "realms_backup_collection", + "collection_name": "realms_backup_collection", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#realms_backup_grid_dimension" + } + ] + }, + + "backup_section": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "$backup_panel_size": [ "100% - 1px", "100%c" ], + "size": [ "100%", "100%c" ], + "controls": [ + { "backup_panel@realms_settings.backup_panel": {} } + ] + }, + + "backup_info_label@settings_common.option_info_label": { + "$container_text_binding_name": "#backup_infotext", + "$show_option_label": false + }, + + "backup_network_error_label@settings_common.option_info_label": { + "$container_text_binding_name": "#backup_network_errormsg", + "$show_option_label": false + }, + + "backup_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": "$backup_panel_size", + "controls": [ + { + "spacing_gap": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { "backup_info_label@realms_settings.backup_info_label": {} }, + { + "spacing_gap2": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "progress_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "controls": [ + { "progress_loading_bars@feed_common.progress_loading_bars": {} } + ], + "bindings": [ + { + "binding_name": "#progress_loading_bars_backups_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "backup_grid@realms_settings.backup_grid": {} }, + { + "backup_network_error_label@realms_settings.backup_network_error_label": { + "bindings": [ + { + "binding_name": "#backup_network_error_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // test content + "test_content": { + "type": "panel", + "controls": [ + { "realms_allowlist_content_panel@realms_allowlist.realms_allowlist_content_panel": { "layer": 1 } }, + { "gamepad_helpers@realms_allowlist.gamepad_helpers": {} } + ] + }, + + // Left side + "selector_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c + 4px" ], + "$default_selector_toggle_index": 1, + "$world_toggle_index|default": 1, + "$members_toggle_index|default": 2, + "$subscription_toggle_index|default": 3, + "$backup_toggle_index|default": 4, + "$dev_options_toggle_index|default": 5, + "$invite_links_toggle_index|default": 6, + "controls": [ + { + "play_button@settings_common.action_button_dark_text": { + "variables": { + "requires": "$realm_no_world_edit", + "ignored": "$is_realm_slot", + "$button_text": "realmsSettingsScreen.playRealmButton", + "$pressed_button_name": "play_world_button", + "$default_button_texture": "textures/ui/button_borderless_light", + "$hover_button_texture": "textures/ui/button_borderless_lighthover", + "$pressed_button_texture": "textures/ui/button_borderless_lightpressed", + "bindings": [ + { + "binding_name": "#play_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#play_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + "size": [ "100%", "30px" ], + "default_focus_precedence": 1, + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$button_text": "createWorldScreen.create", + "$pressed_button_name": "create_world_button", + "$default_button_texture": "textures/ui/realmsContent", + "$hover_button_texture": "textures/ui/realmsContentHover", + "$pressed_button_texture": "textures/ui/realmsContentPressed", + "bindings": [ + { + "binding_name": "#create_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_play_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.playDisabledRealmButton", + "$pressed_button_name": "play_world_button", + "size": [ "100%", "30px" ], + "bindings": [ + { + "binding_name": "#disabled_play_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#play_button_visible", // a hack: you cannot set "enabled":false directly on a ui control + "binding_name_override": "#enabled" + } + ] + } + }, + { + "expired_play_button@settings_common.action_button": { + "$button_text": "realmsSettingsScreen.playExpiredRealmButton", + "$pressed_button_name": "play_world_button", + "size": [ "100%", "30px" ], + "bindings": [ + { + "binding_name": "#is_realm_expired", + "binding_name_override": "#visible" + }, + { + "binding_name": "#play_button_visible", // a hack: you cannot set "enabled":false directly on a ui control + "binding_name_override": "#enabled" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "selector_group_label@settings_common.selector_group_label": { + "$group_label_text|default": "realmsSettingsScreen.selectorSectionLabelRealm", + "variables": [ + { + "requires": "$is_realm_slot", + "$group_label_text": "realmsSettingsScreen.worldSectionTitle" + } + ], + "text": "$group_label_text", + "offset": [ 2, 0 ], + "layer": 2 + } + }, + { + "world_button@settings_common.section_toggle_base": { + "variables": { + "requires": "$is_realm_slot", + "$button_text": "realmsSlotsScreen.gamesettings" + }, + "$toggle_view_binding_name": "world_button_toggle", + "$toggle_group_forced_index": "$world_toggle_index", + "$glyph_texture": "textures/ui/world_glyph", + "$glyph_color_texture": "textures/ui/world_glyph_color", + "$glyph_size": [ 16, 17 ], + "layer": 1, + "$button_text": "realmsSettingsScreen.gameSectionTitle", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.gameSectionTitle" + } + } + }, + { + "members_button@settings_common.section_toggle_base": { + "ignored": "$is_realm_slot", + "$toggle_view_binding_name": "members_button_toggle", + "$toggle_group_forced_index": "$members_toggle_index", + "$glyph_texture": "textures/ui/multiplayer_glyph", + "$glyph_color_texture": "textures/ui/multiplayer_glyph_color", + "$glyph_size": [ 22, 12 ], + "layer": 2, + "$button_text": "realmsSettingsScreen.membersSectionTitle", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.membersSectionTitle" + } + } + }, + { + "subscription_button@settings_common.section_toggle_base": { + "ignored": "$is_realm_slot", + "$toggle_view_binding_name": "subscription_button_toggle", + "$toggle_group_forced_index": "$subscription_toggle_index", + "$glyph_texture": "textures/ui/subscription_glyph", + "$glyph_color_texture": "textures/ui/subscription_glyph_color", + "$glyph_size": [ 15, 13 ], + "layer": 3, + "$button_text": "realmsSettingsScreen.subscriptionSectionTitle", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.subscriptionSectionTitle" + } + } + }, + { + "backup_button@settings_common.section_toggle_base": { + "ignored": "$realm_no_world_edit", + "$toggle_view_binding_name": "backup_button_toggle", + "$toggle_group_forced_index": "$backup_toggle_index", + "$glyph_texture": "textures/ui/backup_outline", + "$glyph_color_texture": "textures/ui/backup_noline", + "$glyph_size": [ 16, 17 ], + "layer": 4, + "$button_text": "realmsSettingsScreen.backupSection", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.backupSection" + } + } + }, + { + "dev_options_button@settings_common.section_toggle_base": { + "ignored": "($non_config_realms_env or $realm_no_world_edit)", + "$toggle_view_binding_name": "dev_options_button_toggle", + "$toggle_group_forced_index": "$dev_options_toggle_index", + "$glyph_texture": "textures/ui/dev_glyph", + "$glyph_color_texture": "textures/ui/dev_glyph_color", + "$glyph_size": [ 14, 14 ], + "layer": 5, + "$button_text": "realmsSettingsScreen.devOptionsSectionTitle", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.devOptionsSectionTitle" + } + } + }, + { + "invite_links_button@settings_common.section_toggle_base": { + "ignored": "$is_realm_slot", + "$toggle_view_binding_name": "invite_links_button_toggle", + "$toggle_group_forced_index": "$invite_links_toggle_index", + "$glyph_texture": "textures/ui/share_google_glyph", + "$glyph_color_texture": "textures/ui/share_google_glyph_color", + "$glyph_size": [ 14, 13 ], + "layer": 6, + "$button_text": "realmsSettingsScreen.inviteLinksSectionTitle", + "$toggle_property_bag": { + "#panel_title": "realmsSettingsScreen.inviteLinksSectionTitle" + } + } + } + ] + }, + + // right side + "section_content_panels": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "controls": [ + { + "world_section@realms_settings.generic_section_wrapper": { + "$section_button_name|default": "world_button_toggle", + "$section_content_name|default": "realms_world_section.panel_content" + } + }, + { + "players_section@realms_settings.generic_section_wrapper": { + "ignored": "$is_realm_slot", + "$section_button_name|default": "members_button_toggle", + "$section_content_name|default": "realms_allowlist.friends_containing_panel", + "$friend_panel_size": [ "100%", "100%c" ] + } + }, + { + "subscription_section@realms_settings.generic_section_wrapper": { + "ignored": "$is_realm_slot", + "$section_button_name|default": "subscription_button_toggle", + "$section_content_name|default": "realms_settings.subscriptions_section" + } + }, + { + "invite_links_section@realms_settings.generic_section_wrapper": { + "ignored": "$is_realm_slot", + "$section_button_name|default": "invite_links_button_toggle", + "$section_content_name|default": "realms_settings.invite_links_section" + } + }, + { + "dev_options_section@realms_settings.generic_section_wrapper": { + "ignored": "($non_config_realms_env or $realm_no_world_edit)", + "$section_button_name|default": "dev_options_button_toggle", + "$section_content_name|default": "branch_section" + } + }, + { + "backup_section@realms_settings.generic_section_wrapper": { + "ignored": "$realm_no_world_edit", + "$section_button_name|default": "backup_button_toggle", + "$section_content_name|default": "backup_section" + } + } + ] + } +} diff --git a/resource_pack/ui/realms_slots_screen.json b/resource_pack/ui/realms_slots_screen.json new file mode 100644 index 0000000..e700893 --- /dev/null +++ b/resource_pack/ui/realms_slots_screen.json @@ -0,0 +1,831 @@ +{ + "namespace": "realms_slots", + + "vertical_padding": { + "type": "panel", + "size": [ "100%", 10 ] + }, + + "horizontal_padding": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + "horizontal_padding_sibling_height": { + "type": "panel", + "size": [ 2, "100%sm" ] + }, + + //--------------------------------------------------------------------------- + // Images + //--------------------------------------------------------------------------- + + "realms_background": { + "type": "panel", + "controls": [ + { + "gradient": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/verticalgradient", + "tiled": "x", + "$fill_alpha|default": 0.6, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "alpha": "$fill_alpha", + "layer": 1 + } + }, + { + "particle_1": { + "type": "image", + "size": [ "40%", "40%" ], + "texture": "textures/ui/realms_particles", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 0, 0 ], + "$fill_alpha|default": 0.4, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "alpha": "$fill_alpha", + "layer": 2 + } + }, + { + "particle_2": { + "type": "image", + "size": [ "40%", "40%" ], + "texture": "textures/ui/realms_particles", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ 0, 10 ], + "$fill_alpha|default": 0.4, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "alpha": "$fill_alpha", + "layer": 2 + } + } + ] + }, + + "plus": { + "type": "image", + "size": [ 22, 22 ], + "texture": "textures/ui/color_plus" + }, + + "check": { + "type": "image", + "size": [ 34, 28 ], + "texture": "textures/ui/realms_slot_check", + "layer": 3 + }, + + "world_thumbnail": { + "type": "image", + "fill": true, + "layer": 1, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_slots" + }, + { + "binding_name": "#world_image", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "world_slots" + }, + { + "binding_name": "#world_texture_source", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "world_slots" + }, + { + "binding_name": "(not #slot_is_filled)", + "binding_name_override": "#grayscale", + "binding_type": "collection", + "binding_collection_name": "world_slots" + } + ] + }, + + "realms_stories_icon_glyph": { + "type": "image", + "texture": "textures/ui/realmsStoriesIconOverlay", + "size": [ 22, 22 ], + "controls": [ + { + "realms_stories_icon@play.realms_stories_icon": { + "$glyph_color": "$light_glyph_hover_color" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Buttons + //--------------------------------------------------------------------------- + + "play_button@common_buttons.dark_text_button": { + "size": [ "fill", "100%" ], + "$pressed_button_name": "button.play_realm", + "$button_text": "menu.play", + "$button_text_binding_type": "none", + "$default_button_texture": "textures/ui/realmsContent", + "$hover_button_texture": "textures/ui/realmsContentHover", + "$pressed_button_texture": "textures/ui/realmsContentPressed" + }, + + "edit_realm_button@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "$pressed_button_name": "button.edit_realm", + "$button_text": "realmsSlotsScreen.editRealm", + "$button_text_binding_type": "none" + }, + + "realms_feed_button@common_buttons.light_glyph_button": { + "$pressed_button_name": "button.view_feed", + "$button_content": "realms_slots.realms_stories_icon_glyph", + "$button_tts_header": "#realms_feed_button_tts_header", + "bindings": [ + { + "binding_name": "#realms_feed_button_tts_header", + "binding_collection_name": "world_slots", + "binding_type": "collection" + } + ], + "size": [ "100%y", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + "unread_story_count_text": { + "type": "label", + "color": "$tab_secondary_unchecked_text_color", + "shadow": false, + "text": "#realms_unread_story_count", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#realms_unread_story_count", + "binding_collection_name": "world_slots" + } + ] + }, + + "unread_story_count_text_background": { + "type": "image", + "texture": "textures/ui/invite_number_background" + }, + + "unread_story_count_panel": { + "type": "panel", + "anchor_from": "top_right", + "anchor_to": "right_middle", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "text@realms_slots.unread_story_count_text": { + "layer": 9, + "controls": [ + { + "background@realms_slots.unread_story_count_text_background": { + "layer": -1, + "size": [ "100%+4px", "100%" ], + "offset": [ -0.5, 0 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#realms_unread_story_count_visible", + "binding_name_override": "#visible", + "binding_collection_name": "world_slots" + } + ] + }, + + "edit_world_button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", 46 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$default_button_texture": "textures/ui/button_borderless_light", + "$hover_button_texture": "textures/ui/button_borderless_lighthover", + "$pressed_button_texture": "textures/ui/button_borderless_lightpressed", + "controls": [ + { + "edit_world_button@common_buttons.light_text_button": { + "size": [ "100%", 22 ], + "$pressed_button_name": "button.edit_world", + "$button_text": "realmsSlotsScreen.editWorld", + "$button_text_binding_type": "none", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_slots" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "activate_world_button@common_buttons.light_text_button": { + "size": [ "100%", 22 ], + "$pressed_button_name": "button.activate_world", + "$button_text": "realmsSlotsScreen.activateWorld", + "$button_text_binding_type": "none", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_slots" + }, + { + "binding_name": "(not #slot_is_current_world)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "world_slots" + } + ] + } + } + ] + }, + + "world_slot_button@common_buttons.dark_content_button": { + "size": [ "fill", "80%x" ], + "$pressed_button_name": "button.world_slot", + "$button_content": "realms_slots.world_slot_button_content", + "$default_button_texture": "textures/ui/button_border_dark", + "$hover_button_texture": "$default_button_texture", + "$pressed_button_texture": "$default_button_texture", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_slots" + }, + { + "binding_collection_name": "world_slots", + "binding_name": "(not #slot_edit_buttons_toggle)", + "binding_name_override": "#focus_enabled", + "binding_type": "collection" + } + ] + }, + + "world_slot_button_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "world_slot_top": { + "type": "panel", + "size": [ "100% + 4px", "70%" ], + "controls": [ + { + "background": { + "type": "image", + "size": [ "100% - 2px", "100% + 4px" ], + "offset": [ -2, 1 ], + "fill": true, + "texture": "textures/ui/banners_no_border", + "layer": 1 + } + }, + { + "add_world_image_panel": { + "type": "panel", + "size": [ "121.429%y", "50% - 4px" ], + "offset": [ -2, 0 ], + "layer": 2, + "controls": [ + { + "plus_image@realms_slots.plus": {} + } + ], + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "(not #slot_image_visible)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "world_thumbnail_image_panel": { + "type": "panel", + "size": [ "100% - 2px", "100% + 4px" ], + "offset": [ -2, 1 ], + "layer": 3, + "controls": [ + { + "world_thumbnail@realms_slots.world_thumbnail": {} + } + ], + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "#slot_image_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "edit_world_button_panel@realms_slots.edit_world_button_panel": { + "offset": [ -2, 0.25 ], + "layer": 9, + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "#slot_edit_buttons_toggle", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "foreground": { + "type": "image", + "size": [ "100% - 2px", "100% + 4px" ], + "offset": [ -2, 1 ], + "alpha": 0.6, + "texture": "textures/ui/Black", + "layer": 8, + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "#slot_edit_buttons_toggle", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "check_image@realms_slots.check": { + "size": [ "121.429%y", "50% - 4px" ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "offset": [ -2, -1.75 ], + "layer": 7, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "world_slots" + }, + { + "binding_collection_name": "world_slots", + "binding_name": "#slot_is_current_world", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "world_slot_bottom": { + "type": "panel", + "size": [ "100% + 2px", "30% - 2.3px" ], + "controls": [ + { + "divider_line_black": { + "type": "image", + "size": [ "100% + 2px", 3 ], + "texture": "textures/ui/blackline", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ -1, 2 ], + "tiled": true, + "fill": true, + "layer": 5 + } + }, + { + "divider_line_white": { + "visible": "($hover_state or $pressed_state)", + "type": "image", + "size": [ "100% + 2px", 2 ], + "texture": "textures/ui/whiteline", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ -1, 2 ], + "tiled": true, + "fill": true, + "layer": 10 + } + }, + { + "add_world_text_panel": { + "type": "panel", + "controls": [ + { + "background_grey": { + "visible": "$default_state", + "type": "image", + "fill": true, + "offset": [ -1, 4 ], + "texture": "textures/ui/button_inside_dark", + "layer": 1 + } + }, + { + "background_green": { + "visible": "($hover_state or $pressed_state)", + "type": "image", + "size": [ "100% + 2px", "100% + 1px" ], + "fill": true, + "offset": [ -1, 4 ], + "texture": "textures/ui/banners_no_border_dark_hover", + "layer": 1 + } + }, + { + "add_world_text": { + "type": "label", + "size": [ "default", "60%" ], + "layer": 2, + "offset": [ 0, 4 ], + "font_scale_factor": 1.2, + "font_type": "smooth", + "text": "#new_slot_label", + "color": "$dark_button_default_text_color", + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "#new_slot_label", + "binding_type": "collection" + } + ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "(not #slot_is_filled)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "world_info_panel": { + "type": "panel", + "controls": [ + { + "background": { + "visible": "$default_state", + "type": "image", + "fill": true, + "offset": [ -1, 4 ], + "alpha": 0.8, + "texture": "textures/ui/Black", + "layer": 1 + } + }, + { + "background_green": { + "visible": "($hover_state or $pressed_state)", + "type": "image", + "size": [ "100% + 2px", "100% + 1px" ], + "fill": true, + "offset": [ -1, 4 ], + "texture": "textures/ui/banners_no_border_dark_hover", + "layer": 1 + } + }, + { + "world_info_stack_panel@realms_slots.world_info_stack_panel": {} + } + ], + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "#slot_is_filled", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + } + ] + }, + + "world_info_stack_panel": { + "type": "stack_panel", + "size": [ "100% - 10px", "100% - 2px" ], + "orientation": "vertical", + "offset": [ -3, 4 ], + "layer": 2, + "controls": [ + { + "world_name_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "world_name": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ "100%", 10 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "font_type": "smooth", + "text": "#world_slot_name", + "color": "$dark_button_default_text_color", + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "#world_slot_name", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "world_type_panel": { + "type": "panel", + "size": [ "100%", 9 ], + "controls": [ + { + "world_type": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ "100%", 10 ], + "font_scale_factor": 0.9, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "font_type": "smooth", + "color": "$tab_unchecked_text_color", + "text": "#world_slot_type", + "bindings": [ + { + "binding_collection_name": "world_slots", + "binding_name": "#world_slot_type", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen Content + //--------------------------------------------------------------------------- + + "main_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 20px", "100%c" ], + "bindings": [ + { + "binding_name": "#tts_dialog_body", + "binding_condition": "once" + } + ], + "property_bag": { + "#tts_dialog_body": "realmsSlotsScreen.description" + }, + "controls": [ + { + "padding_0@realms_slots.vertical_padding": {} + }, + { + "button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "play_button@realms_slots.play_button": {} + }, + { + "left_padding@realms_slots.horizontal_padding": {} + }, + { + "edit_realm_button@realms_slots.edit_realm_button": {} + }, + { + "right_padding@realms_slots.horizontal_padding": {} + }, + { + "feed_panel_with_unread_count": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "feed_panel": { + "type": "panel", + "size": [ "100%c - 1px", "100% + 1px" ], + "controls": [ + { + "realms_feed_button@realms_slots.realms_feed_button": { + "layer": 1 + } + } + ] + } + }, + { + "unread_story_count@realms_slots.unread_story_count_panel": { + "offset": [ 0, 1.5 ] + } + } + ] + } + } + ] + } + }, + { + "padding_1@realms_slots.vertical_padding": {} + }, + { + "text_panel_0": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "60%", "default" ], + "text": "realmsSlotsScreen.description", + "color": "$dark_button_default_text_color", + "text_alignment": "center" + } + } + ] + } + }, + { + "padding_2@realms_slots.vertical_padding": {} + }, + { + "worlds_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "collection_name": "world_slots", + "controls": [ + { + "world_slot_1@realms_slots.world_slot_button": { + "collection_index": 0 + } + }, + { + "padding_0@realms_slots.horizontal_padding_sibling_height": {} + }, + { + "world_slot_2@realms_slots.world_slot_button": { + "collection_index": 1 + } + }, + { + "padding_1@realms_slots.horizontal_padding_sibling_height": {} + }, + { + "world_slot_3@realms_slots.world_slot_button": { + "collection_index": 2 + } + } + ] + } + }, + { + "padding_3@realms_slots.vertical_padding": {} + }, + { + "text_panel_1": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#warning_text_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "60%", "default" ], + "text": "realmsSlotsScreen.activateWarning", + "color": "$dark_button_default_text_color", + "text_alignment": "center" + } + } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "realms_slots_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.exit_or_toggle", + "mapping_type": "global" + } + ], + "$screen_content": "realms_slots.realms_slots_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "realms_slots.realms_background", + "$is_full_screen_layout": true + }, + + "realms_slots_screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "background@common.fullscreen_header": { + "$back_button_has_title": true, + "$button_text": "#slots_screen_header", + "$button_text_binding_type": "global", + "$child_control": "realms_slots.realms_slots_screen_content_panel", + "$show_close_button": true + } + } + ] + }, + + "realms_slots_screen_content_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "main_scroll_panel@common.scrolling_panel": { + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scrolling_content": "realms_slots.main_stack_panel", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 4, 0 ], + "layer": 3 + } + } + ] + } +} diff --git a/resource_pack/ui/realms_stories_transition_screen.json b/resource_pack/ui/realms_stories_transition_screen.json new file mode 100644 index 0000000..39614f8 --- /dev/null +++ b/resource_pack/ui/realms_stories_transition_screen.json @@ -0,0 +1,11 @@ +{ + "namespace": "realms_stories_transition", + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "realms_stories_transition_screen@common.base_screen": { + "$screen_content": "common.empty_panel" + } +} diff --git a/resource_pack/ui/realmsplus_upgrade_notice_screen.json b/resource_pack/ui/realmsplus_upgrade_notice_screen.json new file mode 100644 index 0000000..9c639c7 --- /dev/null +++ b/resource_pack/ui/realmsplus_upgrade_notice_screen.json @@ -0,0 +1,177 @@ +{ + "namespace": "realmsplus_upgrade_notice_screen", + + "screen@common.base_screen": { + "$screen_content": "realmsplus_upgrade_notice_screen.main_content", + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "main_content": { + "type": "panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_no_buttons": { + "size": [ "78.43%", "80.36%" ], + "$text_name": "realmsPlusUpgradeNotice.title", + "$title_offset": [ 0, 8 ], + "$child_control": "realmsplus_upgrade_notice_screen.content" + } + } + ] + }, + + "content": { + "type": "stack_panel", + "size": [ "100% - 6px", "100% - 6px" ], + "controls": [ + { + "image_row_positioner": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "image_row": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "left_border@common.focus_border_black": { + "size": [ "50%-9px", "100%c+2px" ], + "layer": 2, + "controls": [ + { + "left_img@common.service_repo_image_panel": { + "$repo_image_texture": "realms_plus_key_art", + "layer": -1, + "size": [ "100%-2px", "56.25%x" ] + } + } + ] + } + }, + { + "plus_panel": { + "type": "panel", + "size": ["18px", "100%sm"], + "controls": [ + { + "plus_img": { + "type": "image", + "layer": 2, + "size": [ "11px", "11px" ], + "texture": "textures/ui/plus.png" + } + } + ] + } + }, + { + "right_border@common.focus_border_black": { + "size": [ "50%-9px", "100%c+2px" ], + "layer": 2, + "controls": [ + { + "right_img@common.service_repo_image_panel": { + "$repo_image_texture": "realms_10_player", + "layer": -1, + "size": [ "100%-2px", "56.25%x" ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "wall_of_text": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "the_text": { + "type": "label", + "text": "$notice_text", // set in controller, based on Options FSM, ACK_REALMSPLUS_UPGRADE + "size": [ "100%", "100%" ], + "layer": 2, + "color": "$body_text_color", + "font_type": "smooth" + } + } + ] + } + }, + { + "buttons_row": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "18px" ], + "controls": [ + { + "left@common_buttons.light_content_button": { + "size": [ "50%-2px", "100%" ], + "$pressed_button_name": "button.continue_button", + "$button_content": "realmsplus_upgrade_notice_screen.lbutton_label" + } + }, + { + "button_spacer": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "right@common_buttons.light_content_button": { + "size": [ "50%-2px", "100%" ], + "$pressed_button_name": "button.viewpacks", + "$button_content": "realmsplus_upgrade_notice_screen.rbutton_label" + } + } + ] + } + } + ] + }, + + "buttonlbl": { + "type": "panel", + "layer": 2, + "$text_in_button|default": "", + "controls": [ + { + "label": { + "type": "label", + "color": "$text_color", + "text": "$text_in_button" + } + } + ] + }, + + "lbutton_label@realmsplus_upgrade_notice_screen.buttonlbl": { + "$text_in_button": "realmsPlusUpgradeNotice.continue" + }, + + "rbutton_label@realmsplus_upgrade_notice_screen.buttonlbl": { + "$text_in_button": "realmsPlusUpgradeNotice.viewpacks" + } +} \ No newline at end of file diff --git a/resource_pack/ui/redstone_screen.json b/resource_pack/ui/redstone_screen.json new file mode 100644 index 0000000..612963d --- /dev/null +++ b/resource_pack/ui/redstone_screen.json @@ -0,0 +1,533 @@ +{ + "namespace": "redstone", + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "item_dropper_label": { + "type": "label", + "offset": [ 0, 5 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$title_text_color", + "text": "$container_title", + "layer": 2 + }, + + "dispenser_label@item_dropper_label": { + }, + + "crafter_label@item_dropper_label": { + }, + + "dropper_label@item_dropper_label": { + }, + + "hopper_label@item_dropper_label": { + "offset": [ 7, 7 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "redstone_input_grid": { + "type": "grid", + "anchor_from": "center", + "anchor_to": "center", + "offset": "$grid_offset", + "grid_dimensions": "$grid_dimensions", + "collection_name": "container_items", + "grid_item_template": "common.container_item", + "$item_collection_name": "container_items" + }, + + "redstone_panel_top_half": { + "type": "panel", + "size": [ "100%", "50% - 12px" ], + "offset": [ 0, 7 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { "redstone_input_grid@redstone.redstone_input_grid": {} } + ] + }, + "panel": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "size": "$screen_dimensions", + "controls": [ + { "common_panel@common.common_panel": {} }, + { + "redstone_screen_inventory": { + "type": "panel", + "layer": 5, + "controls": [ + { "red_panel@redstone.redstone_panel_top_half": {} }, + { "red_bottom_half@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "red_hold_icon@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "red_icon@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} }, + { "$screen_label@$screen_label": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 21 } } + ] + }, + "crafter_input_grid": { + "type": "grid", + "anchor_from": "center", + "anchor_to": "center", + "offset": "$grid_offset", + "grid_dimensions": "$grid_dimensions", + "collection_name": "container_items", + "grid_item_template": "redstone.crafter_enabled_slot_template", + "$item_collection_name": "container_items" + }, + "cell_image": { + "type": "image", + "texture": "textures/ui/slot_enabled", + "layer": 1 + }, + + "crafter_highlight_slot": { + "type": "image", + "texture": "textures/ui/slot_enabled_hover", + "size": [ "100% - 2px", "100% - 2px" ], + "alpha": 0.8 + }, + "crafter_container_slot_button_prototype@common.container_slot_button_prototype": { + "$highlight_control|default": "redstone.crafter_highlight_slot_panel" + }, + "crafter_highlight_slot_panel": { + "type": "panel", + "controls": [ + { + "highlight@redstone.crafter_highlight_slot": { + "controls": [ + { + "hover_text@common.hover_text": { + "layer": 29, + "$hover_text_binding_name|default": "#hover_text", + "bindings": [ + { + "binding_name": "$hover_text_binding_name", + "binding_name_override": "#hover_text", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#show_persistent_bundle_hover_text", + "binding_name_override": "#visible" + } + ] + } + }, + { + "white_border@common.white_border_slot": { + "bindings": [ + { + "binding_name": "#show_persistent_bundle_hover_text", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + "crafter_enabled_slot_template@common.container_item": { + "$background_images|default": "redstone.cell_image", + "$button_ref|default": "redstone.crafter_container_slot_button_prototype" + }, + + "crafter_disabled_slot@common.button": { + "type": "button", + "anchor_from": "center", + "anchor_to": "center", + "hover_control": "hover", + "size": [ 18, 18 ], + "layer": 20, + "controls": [ + { + "default": { + "type": "image", + "texture": "textures/ui/slot_disabled" + } + }, + { + "hover": { + "type": "image", + "texture": "textures/ui/slot_enabled_hover" + } + }, + { + "pressed": { + "type": "image", + "texture": "textures/ui/slot_disabled" + } + } + ] + }, + "output_slot_hover_info": { + "type": "button", + "layer": 1, + "anchor_from": "center", + "anchor_to": "center", + "hover_control": "hover", + "size": [ 18, 18 ], + "offset": [ 54, -36 ], + "$stack_count_required": true, + "controls": [ + { + "hover@common.hover_text": { + "layer": 29, + "bindings": [ + { + "binding_name": "#crafting_preview_info", + "binding_name_override": "#hover_text" + } + ] + } + }, + { + "output_slot@common.item_renderer": { + "size": [ 16, 16 ], + "bindings": [ + { + "binding_name": "#crafter_output_item", + "binding_name_override": "#item_id_aux" + }, + { + "binding_name": "#crafter_output_item_color", + "binding_name_override": "#item_custom_color" + }, + { + "binding_name": "#crafter_output_item_shield_base_color_hovered", + "binding_name_override": "#shield_base_color" + }, + { + "binding_name": "#crafter_output_item_banner_patterns", + "binding_name_override": "#banner_patterns" + }, + { + "binding_name": "#crafter_output_item_selected_banner_colors", + "binding_name_override": "#banner_colors" + }, + { + "binding_name": "#crafter_output_item_selected_banner_type", + "binding_name_override": "#banner_type" + }, + { + "binding_name": "#crafter_output_item_selected_decorated_pot_sherds", + "binding_name_override": "#decorated_pot_sherds" + } + ] + } + }, + { + "output_slot_border": { + "type": "image", + "layer": 1, + "size": [ 26, 26 ], + "texture": "textures/ui/crafter_item_border" + } + }, + { + "output_count@common.stack_count_label": { + "layer": 20, + "size": [ 18, 18 ], + "offset": [ 14.1, 11.2 ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#output_stack_count", + "binding_name_override": "#inventory_stack_count" + } + ] + } + } + ] + }, + "panel_crafter": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "size": "$screen_dimensions", + "controls": [ + { "common_panel@common.common_panel": {} }, + { + "disabled_slot_0_button@redstone.crafter_disabled_slot": { + "offset": [ -53.9, -54.4 ], + "$pressed_button_name": "disabled_button0", + "bindings": [ + { + "binding_name": "#button_visible0", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_1_button@redstone.crafter_disabled_slot": { + "offset": [ -36, -54.4 ], + "$pressed_button_name": "disabled_button1", + "bindings": [ + { + "binding_name": "#button_visible1", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_2_button@redstone.crafter_disabled_slot": { + "offset": [ -18, -54.4 ], + "$pressed_button_name": "disabled_button2", + "bindings": [ + { + "binding_name": "#button_visible2", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_3_button@redstone.crafter_disabled_slot": { + "offset": [ -53.9, -36.4 ], + "$pressed_button_name": "disabled_button3", + "bindings": [ + { + "binding_name": "#button_visible3", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_4_button@redstone.crafter_disabled_slot": { + "offset": [ -36, -36.4 ], + "$pressed_button_name": "disabled_button4", + "bindings": [ + { + "binding_name": "#button_visible4", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_5_button@redstone.crafter_disabled_slot": { + "offset": [ -18, -36.4 ], + "$pressed_button_name": "disabled_button5", + "bindings": [ + { + "binding_name": "#button_visible5", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_6_button@redstone.crafter_disabled_slot": { + "offset": [ -53.9, -18.5 ], + "$pressed_button_name": "disabled_button6", + "bindings": [ + { + "binding_name": "#button_visible6", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_7_button@redstone.crafter_disabled_slot": { + "offset": [ -36, -18.5 ], + "$pressed_button_name": "disabled_button7", + "bindings": [ + { + "binding_name": "#button_visible7", + "binding_name_override": "#visible" + } + ] + } + }, + { + "disabled_slot_8_button@redstone.crafter_disabled_slot": { + "offset": [ -18, -18.5 ], + "$pressed_button_name": "disabled_button8", + "bindings": [ + { + "binding_name": "#button_visible8", + "binding_name_override": "#visible" + } + ] + } + }, + { + "redstone_screen_inventory": { + "type": "panel", + "layer": 5, + "controls": [ + { + "crafting_grid": { + "type": "panel", + "size": [ "100%", "50% - 12px" ], + "offset": [ -36, 11 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "crafter_input_grid@redstone.crafter_input_grid": {} + } + ] + } + }, + { "red_bottom_half@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "red_hold_icon@common.inventory_take_progress_icon_button": {} }, + { + "redstone_wire_line": { + "type": "image", + "layer": 3, + "size": [ 18, 18 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 95, 38 ], + "bindings": [ + { + "binding_name": "#redstone_arrow_texture", + "binding_name_override": "#texture" + } + ] + } + }, + { + "crafter_output@redstone.output_slot_hover_info": {} + } + ] + } + }, + { "red_icon@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} }, + { "$screen_label@$screen_label": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + }, + "hopper_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "$use_custom_pocket_toast|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "use_custom_pocket_toast": "$use_custom_pocket_toast", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_label": "redstone.hopper_label", + "$screen_dimensions": [ 176, 133 ], + "$grid_dimensions": [ 5, 1 ], + "$grid_offset": [ 0, -7 ], + "$screen_content": "redstone.panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "$pocket_screen", + "$use_custom_pocket_toast": true, + "$screen_content": "pocket_containers.hopper_panel" + } + ] + }, + + "dispenser_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "$use_custom_pocket_toast|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "use_custom_pocket_toast": "$use_custom_pocket_toast", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_label": "redstone.dispenser_label", + "$screen_dimensions": [ 176, 166 ], + "$grid_dimensions": [ 3, 3 ], + "$grid_offset": [ 0, 0 ], + "$screen_content": "redstone.panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "$pocket_screen", + "$use_custom_pocket_toast": true, + "$screen_content": "pocket_containers.dispenser_panel" + } + ] + }, + "crafter_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "$use_custom_pocket_toast|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "use_custom_pocket_toast": "$use_custom_pocket_toast", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_label": "redstone.crafter_label", + "$screen_dimensions": [ 176, 166 ], + "$grid_dimensions": [ 3, 3 ], + "$grid_offset": [ 0, 0 ], + "$screen_content": "redstone.panel_crafter", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "$pocket_screen", + "$use_custom_pocket_toast": true, + "$screen_content": "crafter_pocket.crafter" + } + ] + }, + + "dropper_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "$use_custom_pocket_toast|default": false, + "close_on_player_hurt": "$close_on_player_hurt", + "use_custom_pocket_toast": "$use_custom_pocket_toast", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_label": "redstone.dropper_label", + "$screen_dimensions": [ 176, 166 ], + "$grid_dimensions": [ 3, 3 ], + "$grid_offset": [ 0, 0 ], + "$screen_content": "redstone.panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "$pocket_screen", + "$use_custom_pocket_toast": true, + "$screen_content": "pocket_containers.dropper_panel" + } + ] + } +} diff --git a/resource_pack/ui/resource_packs_screen.json b/resource_pack/ui/resource_packs_screen.json new file mode 100644 index 0000000..ed2d297 --- /dev/null +++ b/resource_pack/ui/resource_packs_screen.json @@ -0,0 +1,3936 @@ +{ + "namespace": "resource_packs", + + //--------------------------------------------------------------------------- + // Common Resources + //--------------------------------------------------------------------------- + + "black_image": { + "type": "image", + "texture": "textures/ui/Black" + }, //pack item background + + "gray_image": { + "type": "image", + "texture": "textures/ui/Gray" + }, //pack buttons background + + "yellow_image": { + "type": "image", + "texture": "textures/ui/White", + "color": [ 1.0, 0.9098, 0.4 ] + }, //addons warning background + + "white_image": { + "type": "panel", + "$glyph_color|default": [ 1.0, 1.0, 1.0 ], + "controls": [ + { + "border": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White", + "color": "$glyph_color" + } + } + ] + }, //image white boarder + + "icon_image": { + "type": "image", + "texture": "#icon_path", + "zip_folder": "#icon_zip", + "texture_file_system": "#icon_file_system", + "$icon_collection_name": "none", + "layer": 8, + "bindings": [ + { + "binding_collection_name": "$icon_collection_name", + "binding_name": "#icon_path", + "binding_name_override": "#texture", + "binding_type": "collection" + }, + { + "binding_collection_name": "$icon_collection_name", + "binding_name": "#icon_zip", + "binding_name_override": "#zip_folder", + "binding_type": "collection" + }, + { + "binding_collection_name": "$icon_collection_name", + "binding_name": "#icon_file_system", + "binding_name_override": "#texture_file_system", + "binding_type": "collection" + } + ] + }, //pack image + + "resource_packs_toggle_button_control": { + "type": "panel", + "layer": 2, + "controls": [ + { + "icon_border@white_image": { + "size": [ 17, 17 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 5, 0 ], + "layer": 1 + } + }, + { + "cycling_icon": { + "type": "image", + "size": [ 15, 15 ], + "offset": [ 6, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$icon_collection_name": "none", + "layer": 3, + "bindings": [ + { + "binding_name": "$cycling_icon_path", + "binding_name_override": "#texture", + "binding_condition": "always" + }, + { + "binding_name": "$cycling_icon_zip", + "binding_name_override": "#zip_folder", + "binding_condition": "always" + }, + { + "binding_name": "$cycling_icon_file_system", + "binding_name_override": "#texture_file_system", + "binding_condition": "always" + } + ] + } + }, + { + "tab_button_text": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "max_size": [ "100% - 34px", "100%" ], + "offset": [ 34, 0 ], + "text": "$button_text", + "layer": 3, + "color": "$text_color", + "alpha": "$content_alpha" + } + } + ] + }, //menu button, no edit + + "resource_packs_section_toggle_base@common_toggles.light_ui_toggle": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "30px" ], + "$button_size_override": [ "100%", "100% + 1px" ], + + "$button_type_panel": "resource_packs.resource_packs_toggle_button_control", + + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$default_selector_toggle_index", + + "$toggle_tab_focus_binding_type": "global", + "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence", + "$toggle_on_hover_binding_type": "global", + "$toggle_on_hover_binding_name": "#toggle_on_hover", + + "$toggle_tts_override_toggle_value": " ", + "$toggle_tts_name": "" // We don't want to say 'toggle' for section toggles + }, //menu button, no edit + + "selected_icon_image@resource_packs.icon_image": { + "$icon_collection_name": "$selected_pack_items" + }, + + "available_icon_image@resource_packs.icon_image": { + "$icon_collection_name": "$available_pack_items" + }, + + "realms_icon_image@resource_packs.icon_image": { + "$icon_collection_name": "$realms_pack_items" + }, + + "unowned_icon_image@resource_packs.icon_image": { + "$icon_collection_name": "$unowned_pack_items" + }, + + "invalid_icon_image@resource_packs.icon_image": { + "$icon_collection_name": "$invalid_pack_items" + }, + + "minus_image": { + "type": "image", + "size": [ 11, 3 ], + "texture": "textures/ui/minus" + }, //minus image + + "plus_image": { + "type": "image", + "size": [ 11, 11 ], + "texture": "textures/ui/plus" + }, //plus image + + "minus_text@resource_packs.gray_label": { + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "$button.remove" + }, + + "plus_text@resource_packs.gray_label": { + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "$button.add" + }, + + "store_text@resource_packs.gray_label": { + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "$view_in_store" + }, + + "error_image": { + "type": "image", + "size": [ 9, 14 ], + "texture": "textures/ui/ErrorGlyph" + }, //red exclaimation + + "error_image_hover": { + "type": "image", + "size": [ 11, 16 ], + "texture": "textures/ui/ErrorGlyph_small_hover" + }, + + "error_image_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "default@resource_packs.error_image": { + "ignored": "(not $default_state)" + } + }, + { + "hover@resource_packs.error_image_hover": { + "ignored": "($default_state)" + } + } + ] + }, + + "warning_image": { + "type": "image", + "size": [ 9, 14 ], + "texture": "textures/ui/Caution" + }, //yellow exclaimation + + "warning_image_hover": { + "type": "image", + "size": [ 11, 16 ], + "texture": "textures/ui/WarningGlyph_small_hover" + }, + + "warning_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "default@resource_packs.warning_image": { + "ignored": "($hover_state)" + } + }, + { + "hover@resource_packs.warning_image_hover": { + "ignored": "(not $hover_state)" + } + } + ] + }, + + "no_error_image": { + "type": "image", + "size": [ 14, 12 ], + "texture": "textures/ui/confirm" + }, //check image + + "no_error_image_hover": { + "type": "image", + "size": [ 16, 14 ], + "texture": "textures/ui/New_confirm_Hover" + }, + + "no_error_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "default@resource_packs.no_error_image": { + "ignored": "($hover_state)" + } + }, + { + "hover@resource_packs.no_error_image_hover": { + "ignored": "(not $hover_state)" + } + } + ] + }, + + "up_arrow_image": { + "offset": [ 0, 2 ], + "type": "image", + "texture": "textures/ui/up_arrow", + "size": [ 14, 14 ], + "color": "$dark_button_secondary_default_text_color" + }, //up arrow image + + "down_arrow_image": { + "type": "image", + "texture": "textures/ui/down_arrow", + "size": [ 14, 14 ], + "color": "$dark_button_secondary_default_text_color" + }, //down arrow image + + "up_arrow_image_hover": { + "offset": [ 0, 2 ], + "type": "image", + "texture": "textures/ui/up_arrow", + "size": [ 14, 14 ], + "color": "$main_header_text_color" + }, + + "down_arrow_image_hover": { + "type": "image", + "texture": "textures/ui/down_arrow", + "size": [ 14, 14 ], + "color": "$main_header_text_color" + }, + + "up_arrow_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "default@resource_packs.up_arrow_image": { + "ignored": "($hover_state)" + } + }, + { + "hover@resource_packs.up_arrow_image_hover": { + "ignored": "(not $hover_state)" + } + } + ] + }, + + "up_arrow_wrapper": { + "type": "panel", + "size": [ 20, 15 ], + "controls": [ + { + "down_arrow@resource_packs.up_arrow_panel": { + "offset": [ 0, 1 ] + } + }, + { + "divider_right@common.vertical_divider": { + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + }, + + "down_arrow_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "default@resource_packs.down_arrow_image": { + "ignored": "($hover_state)" + } + }, + { + "hover@resource_packs.down_arrow_image_hover": { + "ignored": "(not $hover_state)" + } + } + ] + }, + + "down_arrow_wrapper": { + "type": "panel", + "size": [ 20, 15 ], + "controls": [ + { + "down_arrow@resource_packs.down_arrow_panel": { + "offset": [ 0, 1 ] + } + }, + { + "divider_right@common.vertical_divider": { + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + }, + + "progress_loading_bars": { + "type": "image", + "layer": 1, + "texture": "textures/ui/loading_bar", + "size": [ 16, 8 ], + "uv_size": [ 64, 8 ], + "uv": "@common.bar_animation", + "color": [ 0.7, 0.7, 0.7, 1.0 ] + }, //tiny loading in button + + "warning_image_wrapper": { + "type": "panel", + "size": [ 16, 14 ], + "controls": [ + { + "error_image@resource_packs.error_image_panel": { + "bindings": [ + { + "binding_collection_name": "$selected_pack_items", + "binding_name": "#has_errors", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "warning_image@resource_packs.warning_panel": { + "bindings": [ + { + "binding_collection_name": "$selected_pack_items", + "binding_name": "#has_warnings", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "no_error_panel@resource_packs.no_error_panel": { + "offset": [ 0, 1 ], + "bindings": [ + { + "binding_collection_name": "$selected_pack_items", + "binding_name": "#error_free", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "progress_loading_bars@resource_packs.progress_loading_bars": { + "bindings": [ + { + "binding_collection_name": "$selected_pack_items", + "binding_name": "#report_generating", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, //far right button for packs (can be check, exclaimation, or loading) + + "tooltip_image_wrapper": { + "type": "panel", + "size": [ 16, 14 ], + "controls": [ + { + "error_image@resource_packs.error_image": { + "layer": 2, + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_type": "collection", + "binding_name": "#any_errors", + "binding_name_override": "#visible" + } + ] + } + }, + { + "warning_image@resource_packs.warning_image": { + "layer": 1, + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_type": "collection", + "binding_name": "#any_warnings", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, //far right button for packs (can be check, exclaimation, or loading) + + "options_image": { + "type": "image", + "size": [ 14, 14 ], + "texture": "textures/ui/icon_setting" + }, + + "options_image_hover": { + "type": "image", + "size": [ 14, 14 ], + "texture": "textures/ui/settings_glyph_2x" + }, + + "options_image_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "default@resource_packs.options_image": { + "ignored": "($hover_state)" + } + }, + { + "hover": { + "type": "panel", + "size": [ "100%", "100%" ], + "ignored": "(not $hover_state)", + "controls": [ + { + "image@resource_packs.options_image": { + "layer": 1 + } + }, + { + "border@resource_packs.options_image_hover": { + "layer": 2 + } + } + ] + } + } + ] + }, + + "options_wrapper": { + "type": "panel", + "size": [ 18, 14 ], + "controls": [ + { + "options@resource_packs.options_image_panel": { + "offset": [ 0, 2 ] + } + }, + { + "divider_right@common.vertical_divider": { + "offset": [ 1, 2 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + }, + + "common_pack_button@common.button": { + "sound_volume": 1.0, + "size": [ "100%", "100%c" ], + "focus_enabled": true + }, //general button for a pack + + //--------------------------------------------------------------------------- + // Pack Button Layout + //--------------------------------------------------------------------------- + + "available_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -1, 1 ], + "size": [ "100% - 48px", "100%c" ], + "$size|default": [ "100% - 60px", 32 ], + "$inner_size|default": [ "100%", "fill" ], + "$description_size|default": [ "100%", "100%" ], + "controls": [ + { + "name_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "10px" ], + "controls": [ + { + "available_pack_name_label@resource_packs.available_pack_name_label": { + "layer": 5, + "size": [ "fill", 10 ] + } + }, + { + "available_file_size_label@resource_packs.available_file_size_label": { + "layer": 5, + "size": [ "default", 10 ] + } + } + + ] + } + }, + { + "full_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": "$size", + "controls": [ + { + "description_panel": { + "layer": 4, + "type": "panel", + "size": "$inner_size", + "controls": [ + { + "available_pack_description_label@resource_packs.available_pack_description_label": { + "layer": 1, + "size": "$description_size", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + } + ] + } + } + ] + }, + + "realms_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -1, 1 ], + "size": [ "100% - 48px", "100%c" ], + "$size|default": [ "100% - 60px", 32 ], + "controls": [ + { + "name_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "10px" ], + "controls": [ + { + "realms_pack_name_label@resource_packs.realms_pack_name_label": { + "layer": 5, + "size": [ "fill", 10 ] + } + }, + { + "realms_file_size_label@resource_packs.realms_file_size_label": { + "layer": 5, + "size": [ "default", 10 ] + } + } + + ] + } + }, + { + "description_panel": { + "layer": 4, + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "realms_pack_description_label@resource_packs.realms_pack_description_label": { + "layer": 1, + "size": "$size", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + } + ] + }, + + "unowned_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -1, 1 ], + "size": [ "100% - 48px", "100%c" ], + "$size|default": [ "100% - 60px", 32 ], + "controls": [ + { + "name_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "10px" ], + "controls": [ + { + "unowned_pack_name_label@resource_packs.unowned_pack_name_label": { + "layer": 5, + "size": [ "fill", 10 ] + } + }, + { + "unowned_file_size_label@resource_packs.unowned_file_size_label": { + "layer": 5, + "size": [ "default", 10 ] + } + } + + ] + } + }, + { + "description_panel": { + "layer": 4, + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "unowned_pack_description_label@resource_packs.unowned_pack_description_label": { + "layer": 1, + "size": "$size", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + } + ] + }, + + "selected_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -1, 1 ], + "size": [ "100% - 48px", "100%c" ], + "$size|default": [ "100% - 60px", 32 ], + "$inner_size|default": [ "100%", "fill" ], + "$description_size|default": [ "100%", "100%" ], + "controls": [ + { + "name_panel": { + "layer": 5, + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "controls": [ + { + "selected_pack_name_label@resource_packs.selected_pack_name_label": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "selected_file_size_label@resource_packs.selected_file_size_label": { + "size": [ "default", 10 ], + "layer": 1 + } + }, + { + "active_dot_panel": { + "type": "panel", + "size": [ 9, 7 ], + "controls": [ + { + "active_dot": { + "type": "image", + "size": [ 7, 7 ], + "offset": [ 0, 1 ], + "texture": "textures/ui/online" + } + } + ] + } + } + ] + } + }, + { + "full_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": "$size", + "controls": [ + { + "warning_line": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "controls": [ + { + "warning_text@common.minecraftTenLabel": { + "size": [ "default", "100%" ], + "max_size": [ "50%", "100%" ], + "text": "$warnings_text", + "font_scale_factor": 0.8, + "color": "$warning_text_color" + } + }, + { + "warning_number@common.minecraftTenLabel": { + "size": [ "default", "100%" ], + "max_size": [ "50%", "100%" ], + "text": "#num_warnings", + "font_scale_factor": 0.8, + "color": "$main_header_text_color", + "bindings": [ + { + "binding_name": "#num_warnings", + "binding_collection_name": "$button_collection_name", + "binding_type": "collection" + } + ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "#has_warnings", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "error_line": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "controls": [ + { + "error_text@common.minecraftTenLabel": { + "size": [ "default", "100%" ], + "max_size": [ "50%", "100%" ], + "text": "$errors_text", + "font_scale_factor": 0.8, + "color": "$error_text_color" + } + }, + { + "error_number@common.minecraftTenLabel": { + "size": [ "default", "100%" ], + "max_size": [ "50%", "100%" ], + "text": "#num_errors", + "font_scale_factor": 0.8, + "color": "$main_header_text_color", + "bindings": [ + { + "binding_name": "#num_errors", + "binding_collection_name": "$button_collection_name", + "binding_type": "collection" + } + ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "#has_errors", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "expired_line": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "expired_text@common.minecraftTenLabel": { + "size": [ "100%", "100%" ], + "text": "$expired_text", + "font_scale_factor": 0.8, + "color": "$realms_text_color" + } + } + ], + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "#has_expired", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "description_panel": { + "layer": 4, + "type": "panel", + "size": "$inner_size", + "controls": [ + { + "selected_pack_description_label@resource_packs.selected_pack_description_label": { + "layer": 1, + "size": "$description_size", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + } + ] + } + } + ] + }, + + "invalid_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -1, 1 ], + "size": [ "100% - 48px", "100%c" ], + "$size|default": [ "100%", 32 ], + "$inner_size|default": [ "100%", "fill" ], + "$description_size|default": [ "100%", "100%" ], + "controls": [ + { + "full_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": "$size", + "controls": [ + { + "error_line": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "error_text@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "max_size": [ "50%", "default" ], + "text": "$errors_text", + "font_scale_factor": 0.8, + "color": "$error_text_color" + } + }, + { + "error_number@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "max_size": [ "50%", "default" ], + "text": "#num_errors", + "font_scale_factor": 0.8, + "bindings": [ + { + "binding_name": "#num_errors", + "binding_collection_name": "$invalid_pack_items", + "binding_type": "collection" + } + ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "$invalid_pack_items", + "binding_name": "#has_errors", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + } + ] + }, + + "available_pack_button_layout": { + "type": "panel", + "size": [ "100%", "100%cm + 2px" ], + "$name_collection_name": "$available_pack_items", + "controls": [ + { + "available_icon_image@resource_packs.available_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.available_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full@resource_packs.available_text_panel": { + "$description_size": [ "100%", "default" ], + "$inner_size": [ "100%", "100%c" ], + "$size": [ "100% - 60px", "100%c" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "available_pack_button_layout_hover": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$name_collection_name": "$available_pack_items", + "controls": [ + { + "hover_small@common.focus_border_white": { + "size": [ "100%", 44 ], + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "available_icon_image@resource_packs.available_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.available_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full_hover": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "text_panel_full@resource_packs.available_text_panel": { + "$description_size": [ "100%", "default" ], + "$inner_size": [ "100%", "100%c" ], + "$size": [ "100% - 60px", "100%c" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "available_pack_button@resource_packs.common_pack_button": { + "$pressed_button_name": "$button.available_pack", + "controls": [ + { "default@resource_packs.available_pack_button_layout": {} }, + { "pressed@resource_packs.available_pack_button_layout_hover": {} }, + { "hover@resource_packs.available_pack_button_layout_hover": {} } + ], + "bindings": [ + { + "binding_collection_name": "$available_pack_items", + "binding_type": "collection_details" + } + ] + }, + + "realms_pack_button_layout": { + "type": "panel", + "size": [ "100%", "100%cm + 2px" ], + "$name_collection_name": "$realms_pack_items", + "controls": [ + { + "realms_icon_image@resource_packs.realms_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.realms_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full@resource_packs.realms_text_panel": { + "$size": [ "100% - 60px", "default" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "realms_pack_button_layout_hover": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$name_collection_name": "$realms_pack_items", + "controls": [ + { + "hover_small@common.focus_border_white": { + "size": [ "100%", 44 ], + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "realms_icon_image@resource_packs.realms_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.realms_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full_hover": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "text_panel_full@resource_packs.realms_text_panel": { + "$size": [ "100% - 60px", "default" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "realms_pack_button@resource_packs.common_pack_button": { + "$pressed_button_name": "$button.realms_pack", + "controls": [ + { "default@resource_packs.realms_pack_button_layout": {} }, + { "pressed@resource_packs.realms_pack_button_layout_hover": {} }, + { "hover@resource_packs.realms_pack_button_layout_hover": {} } + ], + "bindings": [ + { + "binding_collection_name": "$realms_pack_items", + "binding_type": "collection_details" + } + ] + }, + + "unowned_pack_button_layout": { + "type": "panel", + "size": [ "100%", "100%cm + 2px" ], + "$name_collection_name": "$unowned_pack_items", + "controls": [ + { + "unowned_icon_image@resource_packs.unowned_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.unowned_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full@resource_packs.unowned_text_panel": { + "$size": [ "100% - 60px", "default" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "unowned_pack_button_layout_hover": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$name_collection_name": "$unowned_pack_items", + "controls": [ + { + "hover_small@common.focus_border_white": { + "size": [ "100%", 44 ], + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "unowned_icon_image@resource_packs.unowned_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.unowned_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full_hover": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "text_panel_full@resource_packs.unowned_text_panel": { + "$size": [ "100% - 60px", "default" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "unowned_pack_button@resource_packs.common_pack_button": { + "$pressed_button_name": "$button.unowned_pack", + "controls": [ + { "default@resource_packs.unowned_pack_button_layout": {} }, + { "pressed@resource_packs.unowned_pack_button_layout_hover": {} }, + { "hover@resource_packs.unowned_pack_button_layout_hover": {} } + ], + "bindings": [ + { + "binding_collection_name": "$unowned_pack_items", + "binding_type": "collection_details" + } + ] + }, + + "invalid_pack_button_layout": { + "type": "panel", + "size": [ "100%", "100%cm + 2px" ], + "$name_collection_name": "$invalid_pack_items", + "controls": [ + { + "invalid_icon_image@resource_packs.invalid_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel@resource_packs.invalid_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + } + ] + } + } + ] + }, + + "invalid_pack_button_layout_hover": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$name_collection_name": "$invalid_pack_items", + "controls": [ + { + "hover_small@common.focus_border_white": { + "size": [ "100%", 44 ], + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + } + ] + } + }, + { + "invalid_icon_image@resource_packs.invalid_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_full_hover": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "text_panel@resource_packs.invalid_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + } + ] + } + } + ] + } + } + ] + }, + + "invalid_pack_button@resource_packs.common_pack_button": { + "$pressed_button_name": "$button.invalid_pack", + "controls": [ + { "default@resource_packs.invalid_pack_button_layout": {} }, + { "pressed@resource_packs.invalid_pack_button_layout_hover": {} }, + { "hover@resource_packs.invalid_pack_button_layout_hover": {} } + ], + "bindings": [ + { + "binding_collection_name": "$invalid_pack_items", + "binding_type": "collection_details" + } + ] + }, + + "empty_resource_pack_button": { + "type": "panel", + "size": [ 0, 0 ] + }, //empty pack, no edit + + "resource_pack_button_padding": { + "$resource_pack_button_variable|default": "", + "type": "panel", + // If the button we are padding is the empty button, we shouldn't be visible. + "visible": "(not ($resource_pack_button_variable = 'resource_packs.empty_resource_pack_button'))", + "size": "$resource_pack_button_padding_size", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$resource_pack_button_variable", + "source_property_name": "#visible", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + }, + + "input_button_panel": { + "type": "input_panel", + "modal": true, + "inline_modal": true, + "focus_enabled": false, + // We need to set the visibility false or we try to set focus to this object since it's modal. + "visible": false, + "layer": 1, + "size": [ "100%", 24 ], + "controls": [ + { + "border_image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/packs_border", + "alpha": 0.4, + "layer": 2, + + "$resource_pack_button_0|default": "resource_packs.empty_resource_pack_button", + "$resource_pack_button_1|default": "resource_packs.empty_resource_pack_button", + "$resource_pack_button_2|default": "resource_packs.empty_resource_pack_button", + "$resource_pack_button_3|default": "resource_packs.empty_resource_pack_button", + "$resource_pack_button_4|default": "resource_packs.empty_resource_pack_button", + "$resource_pack_button_5|default": "resource_packs.empty_resource_pack_button", + + "$resource_pack_button_padding_size|default": [ 2, "100%" ], + + "controls": [ + { + "button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 8px", 18 ], + "controls": [ + { "$resource_pack_button_0@$resource_pack_button_0": {} }, + { + "padding_0@resource_packs.resource_pack_button_padding": { + "$resource_pack_button_variable": "$resource_pack_button_1" + } + }, + { "$resource_pack_button_1@$resource_pack_button_1": {} }, + { + "padding_1@resource_packs.resource_pack_button_padding": { + "$resource_pack_button_variable": "$resource_pack_button_2" + } + }, + { "$resource_pack_button_2@$resource_pack_button_2": {} }, + { + "padding_2@resource_packs.resource_pack_button_padding": { + "$resource_pack_button_variable": "$resource_pack_button_3" + } + }, + { "$resource_pack_button_3@$resource_pack_button_3": {} }, + { + "padding_3@resource_packs.resource_pack_button_padding": { + "$resource_pack_button_variable": "$resource_pack_button_4" + } + }, + { "$resource_pack_button_4@$resource_pack_button_4": {} }, + { + "padding_4@resource_packs.resource_pack_button_padding": { + "$resource_pack_button_variable": "$resource_pack_button_5" + } + }, + { "$resource_pack_button_5@$resource_pack_button_5": {} } + ] + } + } + ] + } + }, + { + "background": { + "type": "image", + "size": [ "100% - 2px", "100% - 2px" ], + "texture": "textures/ui/packs_middle", + "alpha": 0.1, + "tiled": true, + "layer": 1 + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$button.deselected_pack", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$button.deselected_pack", + "mapping_type": "global", + "consume_event": false + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ], + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "#direction_button_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + }, + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#modal", + "binding_type": "global" + } + ] + }, + + "selected_pack_button_layout": { + "type": "panel", + "size": [ "100%", "100%cm + 2px" ], + "$name_collection_name": "$selected_pack_items", + "controls": [ + { + "selected_icon_image@resource_packs.selected_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.selected_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full@resource_packs.selected_text_panel": { + "$description_size": [ "100%", "default" ], + "$inner_size": [ "100%", "100%c" ], + "$size": [ "100% - 60px", "100%c" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, //active pack button inside layout + + "selected_pack_button_layout_hover": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$name_collection_name": "$selected_pack_items", + "controls": [ + { + "hover_small@common.focus_border_white": { + "size": [ "100%", 44 ], + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "selected_icon_image@resource_packs.selected_icon_image": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 42, 42 ], + "offset": [ 1, 0 ] + } + }, + { + "text_panel_small@resource_packs.selected_text_panel": { + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "text_panel_full_hover": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "text_panel_full@resource_packs.selected_text_panel": { + "$description_size": [ "100%", "default" ], + "$inner_size": [ "100%", "100%c" ], + "$size": [ "100% - 60px", "100%c" ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "read_more_button_panel@common_buttons.read_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$single_line_label_text": "store.mashup.readMore", + "$pressed_button_name": "$button.read_toggle", + "$offset": [ -6, -1 ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_more", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "view", + "source_property_name": "#using_ellipses", + "target_property_name": "#visible" + } + ] + } + }, + { + "read_less_button_panel@common_buttons.read_button": { + "$offset": [ -6, -1 ], + "$single_line_label_text": "store.mashup.readLess", + "$pressed_button_name": "$button.read_toggle", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#is_read_less", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "selected_pack_button@resource_packs.common_pack_button": { + "$pressed_button_name": "$button.selected_pack", + "controls": [ + { "default@resource_packs.selected_pack_button_layout": {} }, + { "pressed@resource_packs.selected_pack_button_layout_hover": {} }, + { "hover@resource_packs.selected_pack_button_layout_hover": {} } + ], + "bindings": [ + { + "binding_collection_name": "$selected_pack_items", + "binding_type": "collection_details" + } + ] + }, + + "selected_pack_movement_button@common_buttons.light_glyph_button": { + "$pressed_button_name": "$button.selected_pack", + "$visible_binding_name|default": "(not #is_selected)", + "$visible_binding_type|default": "collection", + "$enabled_binding_name|default": "#is_selected", + "$enabled_binding_type|default": "collection", + + // If $visible_binding_name isn't set we won't use that bind. + "variables": [ + { + "requires": "($visible_binding_name = '' and $visible_binding_type = collection)", + "$visible_binding_type": "none" + }, + { + "requires": "($enabled_binding_name = '' and $enabled_binding_type = collection)", + "$enabled_binding_type": "none" + } + ], + + "size": [ 18, 18 ], + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$button_collection_name", + "binding_name": "$visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "$visible_binding_type" + }, + { + "binding_collection_name": "$button_collection_name", + "binding_name": "$enabled_binding_name", + "binding_name_override": "#enabled", + "binding_type": "$enabled_binding_type" + } + ] + }, + + "selected_pack_transparent_movement_button@common_buttons.transparent_content_button": { + "$pressed_button_name": "$button.selected_pack", + "$visible_binding_name|default": "(not #is_selected)", + "$visible_binding_type|default": "collection", + "$default_button_texture": "", + "$hover_button_texture": "", + "$pressed_button_texture": "", + "$locked_button_texture": "", + + // If $visible_binding_name isn't set we won't use that bind. + "variables": [ + { + "requires": "($visible_binding_name = '' and $visible_binding_type = collection)", + "$visible_binding_type": "none" + } + ], + + "size": [ 18, 18 ], + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$button_collection_name", + "binding_name": "$visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "$visible_binding_type" + } + ] + }, + + "selected_pack_minus_button@resource_packs.selected_pack_movement_button": { + "size": [ "fill", 18 ], + "default_focus_precedence": 1, + "$pressed_button_name": "$button.move_left", + "$button_content": "resource_packs.minus_text", + "$visible_binding_name": "#can_move" + }, //button to remove pack from active, edit text and size + + "selected_pack_plus_button@resource_packs.selected_pack_movement_button": { + "size": [ "fill", 18 ], + "default_focus_precedence": 1, + "$pressed_button_name": "$button.move_left", + "$button_content": "resource_packs.plus_text", + "$visible_binding_name": "#can_move", + "$enabled_binding_name": "(not $platform_locked)" + }, //button to add pack to active, edit text and size + + "selected_pack_store_button@resource_packs.selected_pack_movement_button": { + "size": [ 70, 18 ], + "default_focus_precedence": 1, + "$pressed_button_name": "$button.store", + "$button_content": "resource_packs.store_text", + "$visible_binding_name": "#can_go_to_store" + }, //button to remove pack from active, edit text and size + + "selected_pack_store_button_fill@resource_packs.selected_pack_movement_button": { + "size": [ "fill", 18 ], + "default_focus_precedence": 1, + "$pressed_button_name": "$button.store", + "$button_content": "resource_packs.store_text", + "$visible_binding_name": "#can_go_to_store" + }, //button to remove pack from active, edit text and size + + "selected_pack_up_button@resource_packs.selected_pack_transparent_movement_button": { + "$button_pressed_offset": [ 0, 0 ], + "$pressed_button_name": "$button.sort_up", + "$button_content": "resource_packs.up_arrow_wrapper", + "$visible_binding_name": "#can_sort_up", + "$button_content_offset": [ 1, 1 ] + }, //button with up arrow, remove outline + + "selected_pack_down_button@resource_packs.selected_pack_transparent_movement_button": { + "$button_pressed_offset": [ 0, 0 ], + "$pressed_button_name": "$button.sort_down", + "$button_content": "resource_packs.down_arrow_wrapper", + "$visible_binding_name": "#can_sort_down", + "$button_content_offset": [ 1, 1 ] + }, //button with down arrow, remove outline + + "selected_pack_warning_button@common_buttons.transparent_content_button": { + "$pressed_button_name": "$button.report_errors", + "$button_content": "resource_packs.warning_image_wrapper", + "size": [ 16, 16 ], + "$default_button_texture": "", + "$hover_button_texture": "", + "$pressed_button_texture": "", + "$locked_button_texture": "", + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_type": "collection_details" + }, + { + "binding_collection_name": "$button_collection_name", + "binding_name": "(not #report_generating)", + "binding_name_override": "#enabled", + "binding_type": "collection" + }, + { + "binding_collection_name": "$button_collection_name", + "binding_name": "#report_button_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + }, //far right button with check/warning/loading glyph, remove button and move to settings button + + "selected_pack_options_button@common_buttons.transparent_content_button": { + "size": [ 18, 14 ], + "$pressed_button_name": "$button.pack_settings", + "$button_type_panel": "resource_packs.options_wrapper", + "$default_button_texture": "", + "$hover_button_texture": "", + "$pressed_button_texture": "", + "$locked_button_texture": "", + + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$button_collection_name", + "binding_name": "#has_pack_settings", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$button_collection_name" + } + ] + }, + + //--------------------------------------------------------------------------- + // Common Text Labels + //--------------------------------------------------------------------------- + + "white_label": { + "type": "label", + "color": "$main_header_text_color" + }, //white text, no edit + + "gray_label": { + "type": "label", + "color": "$dark_button_secondary_default_text_color" + }, //grey text, + + "suggested_content_offers_title_label@resource_packs.white_label": { + "text": "$suggested_content_offers_label_text", + "$suggested_content_offers_binding_type|default": "global", + "bindings": [ + { + "binding_type": "$suggested_content_offers_binding_type", + "binding_name": "$suggested_content_offers_label_text" + } + ] + }, + + "available_packs_title_content@resource_packs.selected_packs_title_content": { + "$title_text": "$available_label_text", + "$icon_texture": "textures/items/book_normal", + "$count_name": "#available_count", + "$name_collection_name": "$available_pack_items", + "$grid_visible": "#available_grid_visible" + }, + + "realms_packs_title_content@resource_packs.selected_packs_title_content": { + "variables": [ + { + "$title_text": "resourcePack.realmsPlus.title.packs.contentSub", + "$icon_texture": "textures/ui/sidebar_icons/csb_sidebar_icon" + } + ], + "$title_text": "resourcePack.realmsPlus.title.packs.contentSub", + "$icon_texture": "textures/ui/sidebar_icons/csb_sidebar_icon", + "$count_name": "#realms_count", + "$name_collection_name": "$realms_pack_items", + "$grid_visible": "#realms_grid_visible" + }, + + "unowned_packs_title_content@resource_packs.selected_packs_title_content": { + "$title_text": "$unowned_label_text", + "$icon_texture": "textures/blocks/grass_side_carried", + "$count_name": "#unowned_count", + "$name_collection_name": "$unowned_pack_items", + "$grid_visible": "#unowned_grid_visible" + }, + + "selected_packs_title_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", 15 ], + "$title_text|default": "$selected_label_text", + "$icon_texture|default": "textures/blocks/grass_side_carried", + "$count_name|default": "#selected_count", + "$name_collection_name|default": "$selected_pack_items", + "$grid_visible|default": "#selected_grid_visible", + "controls": [ + { + "selected_packs_title_label@common.minecraftTenLabel": { + "size": [ "default", 10 ], + "max_size": [ "50%", 10 ], + "text": "$title_text", + "color": "$text_color" + } + }, + { + "fill_pad": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "icon_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "block_icon": { + "type": "image", + "size": [ 9, 9 ], + "texture": "$icon_texture" + } + } + ] + } + }, + { + "pad_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "count@common.minecraftTenLabel": { + "size": [ "default", 10 ], + "max_size": [ "50%", 10 ], + "text": "$count_name", + "color": "$text_color", + "bindings": [ + { + "binding_name": "$count_name", + "binding_collection_name": "$name_collection_name", + "binding_type": "collection" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ 15, "100%" ] + } + }, + { + "plus_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "plus@resource_packs.plus_image": { + "size": [ 10, 10 ], + "offset": [ -2, 0 ], + "color": "$text_color" + } + } + ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_name": "(not $grid_visible)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "minus_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "minus@resource_packs.minus_image": { + "size": [ 10, 10 ], + "offset": [ -2, 0 ], + "color": "$text_color" + } + } + ], + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_name": "$grid_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "available_packs_title_button@common_buttons.light_content_button": { + "size": [ "fill", 20 ], + "$button_content": "resource_packs.available_packs_title_content", + "$pressed_button_name": "$button.expand_available" + }, + + "realms_packs_title_button@common_buttons.light_content_button": { + "size": [ "100%", 20 ], + "$button_content": "resource_packs.realms_packs_title_content", + "$pressed_button_name": "$button.expand_realms" + }, + + "unowned_packs_title_button@common_buttons.light_content_button": { + "size": [ "100%", 20 ], + "$button_content": "resource_packs.unowned_packs_title_content", + "$pressed_button_name": "$button.expand_unowned" + }, + + "selected_packs_title_button@common_buttons.light_content_button": { + "size": [ "fill", 20 ], + "$button_content": "resource_packs.selected_packs_title_content", + "$pressed_button_name": "$button.expand_selected" + }, + + "name_label@resource_packs.white_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#name" + }, //pack name text, + + "size_label@resource_packs.white_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#size", + "font_type": "smooth" + }, //pack size text, + + "description_label@resource_packs.white_label": { + "text": "$bottom_description_text", + "font_type": "smooth" + }, //white text for description, no edit + + "pack_label@resource_packs.white_label": { + "text": "#description", + "font_type": "smooth" + }, //grey text for description, + + "selected_pack_description_label@resource_packs.pack_label": { + "$desc_collection_name": "$selected_pack_items", + "notify_on_ellipses": [ + "read_more_button" + ], + "bindings": [ + { + "binding_collection_name": "$desc_collection_name", + "binding_name": "#description", + "binding_type": "collection" + } + ] + }, //pack description text when active, no edit + + "available_pack_description_label@resource_packs.selected_pack_description_label": { + "$desc_collection_name": "$available_pack_items" + }, //pack description text when available, no edit + + "realms_pack_description_label@resource_packs.selected_pack_description_label": { + "$desc_collection_name": "$realms_pack_items" + }, + + "unowned_pack_description_label@resource_packs.selected_pack_description_label": { + "$desc_collection_name": "$unowned_pack_items" + }, + + "selected_pack_name_label@resource_packs.name_label": { + "$name_collection_name": "$selected_pack_items", + "bindings": [ + { + "binding_collection_name": "$name_collection_name", + "binding_name": "#name", + "binding_type": "collection" + } + ] + }, //pack name text when active, no edit + + "selected_file_size_label@resource_packs.size_label": { + "$size_collection_name": "$selected_pack_items", + "bindings": [ + { + "binding_collection_name": "$size_collection_name", + "binding_name": "#size", + "binding_type": "collection" + } + ] + }, //pack size text when active, no edit + + "available_pack_name_label@resource_packs.selected_pack_name_label": { + "$name_collection_name": "$available_pack_items" + }, //pack name text when available, no edit + + "available_file_size_label@resource_packs.selected_file_size_label": { + "$size_collection_name": "$available_pack_items" + }, //pack size text when available, no edit + + "realms_pack_name_label@resource_packs.selected_pack_name_label": { + "$name_collection_name": "$realms_pack_items" + }, + + "realms_file_size_label@resource_packs.selected_file_size_label": { + "$size_collection_name": "$realms_pack_items" + }, + + "unowned_pack_name_label@resource_packs.selected_pack_name_label": { + "$name_collection_name": "$unowned_pack_items" + }, + + "unowned_file_size_label@resource_packs.selected_file_size_label": { + "$size_collection_name": "$unowned_pack_items" + }, + + "invalid_pack_name_label@resource_packs.selected_pack_name_label": { + "$name_collection_name": "$invalid_pack_items" + }, //pack name text when invalid, no edit + + "invalid_pack_description_label@resource_packs.selected_pack_description_label": { + "$desc_collection_name": "$invalid_pack_items" + }, + + //--------------------------------------------------------------------------- + // Page Layout + //--------------------------------------------------------------------------- + + "available_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50%-4px", "100%-1px" ], + "offset": [ 3, 0 ], + "controls": [ + { + "selected_packs@common.scrolling_panel": { + "$scrolling_content": "resource_packs.available_stack_panel", + "$scroll_pane_name": "available_packs_pane", + "$scrolling_pane_size": [ "100%-2px", "100%" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$show_background": false, + "$scroll_size": [ 6, "100%-4px" ], + "variables": [ + { + "requires": "$pocket_screen", + "$touch": true + } + ] + } + } + ] + }, //screen for pocket view, no edit + + "checkbox_visuals@common.toggle_visuals": { + "size": [ 30, "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, //checkbox toggle + + "header_control@common.checkbox": { + "size": [ "100%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$toggle_name": "force_user_agreement_level", + "$toggle_state_binding_name": "#force_user_agreement_level", + "$toggle_enabled_binding_name": "#force_user_agreement_level_enabled", + "$enabled|default": false, + "enabled": "$enabled", + + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + + "variables": [ + { + "requires": "$show_checkbox", + "$toggle_enabled_binding_type": "global", + "$enabled": true + } + ], + + "controls": [ + { + "header_description_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$header_text": "resourcePack.header.behavior", + "$text_offset": [ 5, 3 ], + "variables": [ + { + "requires": "$show_checkbox", + "$header_text": "resourcePack.header.level", + "$text_offset": [ -2, 3 ] + } + ], + "controls": [ + { + "checkbox_visuals@resource_packs.checkbox_visuals": { + "visible": "$show_checkbox" + } + }, + { + "buffer_panel": { + "type": "panel", + "layer": 3, + "size": [ "fill", "100%" ], + "controls": [ + { + "label@resource_packs.description_label": { + "size": [ "100%-6px", "default" ], + "text": "$header_text", + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + } + ] + } + } + ] + }, //checkbox text at top of page for realms only + + "addon_header_control": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 3, + "$black_color": [ 0.0, 0.0, 0.0 ], + + "controls": [ + { + "header_description_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "description_center_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "text": "resourcePack.warning.multiple.addon", + "color": "$black_color" + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "link_center_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "addon_link_button@common_buttons.underline_button": { + "size": [ "100%c", "100%c" ], + "$pressed_button_name": "button.addonLink", + "offset": [ 0, 1 ], + "$single_label_size": [ "default", "default" ], + "$single_line_font_scale_factor": 1.0, + "$font_type": "default", + "$dark_button_default_text_color": "$black_color", + "$underline_default_color": "$black_color", + "$single_line_label_text": "resourcePack.warning.multiple.addon.link" + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "fill", "100%" ] + } + } + ] + } + } + ] + }, + + "panel_bg": { + "type": "panel", + "controls": [ + { "black_background@resource_packs.black_image": { "layer": 1 } }, + { + "gray@resource_packs.gray_image": { + "size": [ "100%-2px", "100%-2px" ], + "layer": 2 + } + } + ] + }, + + "addon_panel_bg": { + "type": "panel", + "controls": [ + { "black_background@resource_packs.black_image": { "layer": 1 } }, + { + "yellow@resource_packs.yellow_image": { + "size": [ "100%-2px", "100%-2px" ], + "layer": 2 + } + } + ] + }, + + "error_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "black_background@resource_packs.black_image": { + "layer": 1, + "size": [ "100%", "100%c+2px" ], + "controls": [ + { + "gray@resource_packs.gray_image": { + "size": [ "100%-2px", "100%c" ], + "layer": 2, + "controls": [ + { + "panel": { + "type": "panel", + "size": [ "100%-10px", "100%c" ], + "controls": [ + { + "error_label": { + "type": "label", + "color": "$light_grid_item_text_color", + "size": [ "100%", "default" ], + "text": "$in_game_error_text", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3 + } + } + ] + } + + } + ] + } + } + ] + } + } + ] + }, + + "selected_stack_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "world_template_option_lock_panel": { + "ignored": "(not $is_world_create and not $is_template_create and not $is_world_edit)", + "type": "panel", + "size": [ "100%", "100%c + 6px" ], + "bindings": [ + { + "binding_name": "#is_world_template_locked", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "option_info_label@settings_common.option_info_label": { + "$used_fonttype": "smooth", + "$container_text_binding_name": "#world_template_option_locked_warning_text", + "$show_option_label": false + } + } + ] + } + }, + { + "top_panel": { + "type": "panel", + "visible": "$show_checkbox", + "size": [ "100%", 30 ], + "$force_pack_download_binding_type|default": "none", + "$focus_override_down": "addon_stacking_warning_panel", + + "controls": [ + { "panel_bg@resource_packs.panel_bg": {} }, + { "header_control@resource_packs.header_control": {} } + ], + "bindings": [ + { + "binding_name": "#force_pack_download_enabled_level", + "binding_name_override": "#visible", + "binding_type": "$force_pack_download_binding_type" + }, + { + "binding_name": "#force_pack_download_locked_level", + "binding_name_override": "#enabled", + "binding_type": "$force_pack_download_binding_type" + } + ] + } + }, + { + "offset_0": { + "type": "panel", + "size": [ "100%", "2px" ] + } + }, + { + "addon_stacking_warning_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "$focus_id": "addon_stacking_warning_panel", + + "controls": [ + { "addon_panel_bg@resource_packs.addon_panel_bg": {} }, + { "header_control@resource_packs.addon_header_control": {} } + ], + "bindings": [ + { + "binding_name": "$addon_stacking_warning_visibility_binding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "offset_1": { + "type": "panel", + "size": [ "100%", "2px" ] + } + }, + { + "selected_packs_title_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 20 ], + "$button_collection_name": "$selected_pack_items", + "$focus_override_up": "addon_stacking_warning_panel", + "controls": [ + { + "selected_packs_title_button@resource_packs.selected_packs_title_button": {} + }, + { + "tooltip": { + "type": "panel", + "size": [ 25, 20 ], + "visible": false, + "controls": [ + { + "button@common_buttons.light_content_button": { + "size": [ 20, 20 ], + "sound_volume": 0.0, + "$button_pressed_offset": [ 0, 0 ], + "$button_content": "resource_packs.tooltip_image_wrapper", + "$hover_button_texture|default": "$default_button_texture", + "$pressed_button_texture|default": "$default_button_texture", + "$locked_button_texture|default": "$default_button_texture", + "$hover_state_border_visible|default": false, + "$pressed_state_border_visible|default": false, + "$locked_state_border_visible|default": false, + "$pressed_button_name": "button.ignore_me" + } + } + //TODO: Fix tooltip issues [Bug 249940] + //{ + // "tooltip_popup@common.button": { + // "size": [ 90, 30 ], + // "sound_volume": 0.0, + // //"$tooltip_button_content_size|default": [ "100%", "100%" ], + // "$tooltip_background_texture": "textures/ui/tooltip_default_background", + + // "$pressed_button_name": "button.ignore_me", + // "$tooltip_button_collection_name": "", + + // "$tooltip_button_binding_type": "none", + // "$tooltip_text_binding_name": "#warn_or_error", + // "$tooltip_text_binding_type": "none", + // "$tooltip_popup_override_image_panel": "resource_packs.tooltip_image_wrapper", + // "$override_tooltip_popup_image": true, + // "$tooltip_chevron_anchor": "top_right", + + // "button_mappings": [ + // { + // "from_button_id": "button.menu_select", + // "to_button_id": "$pressed_button_name", + // "mapping_type": "pressed" + // }, + // { + // "from_button_id": "button.menu_ok", + // "to_button_id": "$pressed_button_name", + // "mapping_type": "focused" + // } + // ], + + // "controls": [ + // { + // "default@common.empty_panel": {} + // }, + // { + // "hover@common.static_tooltip_popup_with_image_and_text": {} + // }, + // { + // "pressed@common.static_tooltip_popup_with_image_and_text": {} + // } + // ], + // "bindings": [ + // { + // "binding_name": "#warn_or_error", + // "binding_collection_name": "$button_collection_name", + // "binding_type": "collection" + // } + // ] + // } + //} + ], + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_type": "collection", + "binding_name": "#any_exceptions", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "selected_pack_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "offset": { + "type": "panel", + "size": [ "100%", "6px" ] + } + }, + { + "selected_pack_grid@resource_packs.selected_pack_grid": { + "size": [ "100%", "default" ] + } + }, + { + "default_item": { + "type": "panel", + "size": [ "100%-2px", "44px" ], + "controls": [ + { + "icon_image@resource_packs.icon_image": { + "layer": 4, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 42, 42 ], + "offset": [ 1, 0 ], + "type": "image", + "bindings": [ + { + "binding_name": "$default_item_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "$default_item_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "$default_item_zip", + "binding_name_override": "#zip_folder" + } + ] + } + }, + { + "name_panel": { + "layer": 5, + "type": "panel", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100% - 48px", 10 ], + "offset": [ -2, 2 ], + "controls": [ + { + "white_label@resource_packs.white_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "$default_item_title", + "layer": 1 + } + } + ] + } + }, + { + "description_panel": { + "layer": 4, + "type": "panel", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ "100%-50px", 30 ], + "offset": [ -1, -1 ], + "controls": [ + { + "white_label@resource_packs.white_label": { + "layer": 1, + "size": [ "100%-2px", "100%" ], + "text": "$default_item_description", + "font_type": "smooth", + "offset": [ 1, 0 ] + } + } + ] + } + } + ] + } + }, + { + "filler_panel": { + "type": "panel", + "size": [ "100%", "100%c + 3px" ], + "controls": [ + { + "description_label@resource_packs.description_label": { + "size": [ "100%", "default" ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "$selected_pack_items", + "binding_name": "#selected_grid_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "offset_2": { + "type": "panel", + "size": [ "100%", "6px" ] + } + }, + { + "available_packs_title_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 20 ], + "$button_collection_name": "$available_pack_items", + "controls": [ + { + "available_packs_title_button@resource_packs.available_packs_title_button": {} + }, + { + "tooltip": { + "type": "panel", + "size": [ 25, 20 ], + "visible": false, + "controls": [ + { + "button@common_buttons.light_content_button": { + "size": [ 20, 20 ], + "sound_volume": 0.0, + "$button_pressed_offset": [ 0, 0 ], + "$button_content": "resource_packs.tooltip_image_wrapper", + "$hover_button_texture|default": "$default_button_texture", + "$pressed_button_texture|default": "$default_button_texture", + "$locked_button_texture|default": "$default_button_texture", + "$hover_state_border_visible|default": false, + "$pressed_state_border_visible|default": false, + "$locked_state_border_visible|default": false, + "$pressed_button_name": "button.ignore_me" + } + } + //TODO: Fix tooltip issues [Bug 249940] + //{ + // "tooltip_popup@common.button": { + // "size": [ 90, 30 ], + // "sound_volume": 0.0, + // //"$tooltip_button_content_size|default": [ "100%", "100%" ], + // "$tooltip_background_texture": "textures/ui/tooltip_default_background", + + // "$pressed_button_name": "button.ignore_me", + // "$tooltip_button_collection_name": "", + + // "$tooltip_button_binding_type": "none", + // "$tooltip_text_binding_name": "#warn_or_error", + // "$tooltip_text_binding_type": "none", + // "$tooltip_popup_override_image_panel": "resource_packs.tooltip_image_wrapper", + // "$override_tooltip_popup_image": true, + // "$tooltip_chevron_anchor": "top_right", + + // "button_mappings": [ + // { + // "from_button_id": "button.menu_select", + // "to_button_id": "$pressed_button_name", + // "mapping_type": "pressed" + // }, + // { + // "from_button_id": "button.menu_ok", + // "to_button_id": "$pressed_button_name", + // "mapping_type": "focused" + // } + // ], + + // "controls": [ + // { + // "default@common.empty_panel": {} + // }, + // { + // "hover@common.static_tooltip_popup_with_image_and_text": {} + // }, + // { + // "pressed@common.static_tooltip_popup_with_image_and_text": {} + // } + // ], + // "bindings": [ + // { + // "binding_name": "#warn_or_error", + // "binding_collection_name": "$button_collection_name", + // "binding_type": "collection" + // } + // ] + // } + //} + ], + "bindings": [ + { + "binding_collection_name": "$invalid_pack_items", + "binding_type": "collection", + "binding_name": "#has_errors", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "available_packs_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "offset": { + "type": "panel", + "size": [ "100%", "6px" ], + "bindings": [ + { + "binding_name": "(not $no_available_packs_visibility_binding)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "empty_panel": { + "ignored": "$education_edition", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "no_packs_panel": { + "type": "panel", + "size": [ "100%", "100%c + 3px" ], + "controls": [ + { + "no_packs_text@common.minecraftTenLabel": { + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "$no_packs_text", + "color": "$main_header_text_color" + } + } + ] + } + }, + { + "to_store_button@common_buttons.light_text_button": { + "size": [ "100%", 15 ], + "$button_text": "resourcePack.available.none.store", + "$pressed_button_name": "$button.more_suggested_content_offers", + "bindings": [ + { + "binding_name": "$unowned_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "$no_available_packs_visibility_binding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "available_pack_grid@resource_packs.available_pack_grid": { + "size": [ "100%", "default" ], + "$available_grid_visible_binding_name": "(not $no_available_packs_visibility_binding)", + "$available_grid_visible_binding_type": "global" + } + }, + { + "invalid_pack_grid@resource_packs.invalid_pack_grid": { + "size": [ "100%", "default" ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "$available_pack_items", + "binding_name": "#available_grid_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "offset_3": { + "type": "panel", + "size": [ "100%", "6px" ] + } + }, + { + "realms_packs_title_button@resource_packs.realms_packs_title_button": { + "bindings": [ + { + "binding_collection_name": "$realms_pack_items", + "binding_name": "#realms_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "realms_packs_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "offset": { + "type": "panel", + "size": [ "100%", "6px" ], + "bindings": [ + { + "binding_name": "(not $no_realms_packs_visibility_binding)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "realms_pack_grid@resource_packs.realms_pack_grid": { + "size": [ "100%", "default" ], + "$realms_grid_visible_binding_name": "(not $no_realms_packs_visibility_binding)", + "$realms_grid_visible_binding_type": "global" + } + }, + { + "offset_4": { + "type": "panel", + "size": [ "100%", "10px" ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "$realms_pack_items", + "binding_name": "#realms_grid_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "offset_4": { + "type": "panel", + "size": [ "100%", "6px" ], + "bindings": [ + { + "binding_collection_name": "$realms_pack_items", + "binding_name": "#realms_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "unowned_packs_title_button@resource_packs.unowned_packs_title_button": { + "ignored": "$education_edition", + "bindings": [ + { + "binding_name": "$unowned_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unowned_packs_section": { + "ignored": "$education_edition", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "offset": { + "type": "panel", + "size": [ "100%", "6px" ], + "bindings": [ + { + "binding_name": "(not $no_unowned_packs_visibility_binding)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unowned_pack_grid@resource_packs.unowned_pack_grid": { + "size": [ "100%", "default" ], + "$unowned_grid_visible_binding_name": "(not $no_unowned_packs_visibility_binding)", + "$unowned_grid_visible_binding_type": "global" + } + }, + { + "to_store_button@common_buttons.light_text_button": { + "size": [ "100%", 15 ], + "$button_text": "resourcePack.suggestedContent.button.viewMore", + "$pressed_button_name": "$button.more_suggested_content_offers" + } + }, + { + "offset_4": { + "type": "panel", + "size": [ "100%", "10px" ] + } + } + ], + "bindings": [ + { + "binding_collection_name": "$unowned_pack_items", + "binding_name": "#unowned_grid_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, //whole screen, make dropdown toggle with title + + "available_stack_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "available_packs_title_button@resource_packs.available_packs_title_button": {} + }, + { + "available_pack_grid@resource_packs.available_pack_grid": { + "size": [ "100%", "default" ] + } + } + ] + }, //section for available packs for pocket view, make dropdown toggle with title + + "pack_background": { + "type": "panel", + "controls": [ + { + "white_image@resource_packs.white_image": { + "layer": 2, + "bindings": [ + { + "binding_name": "#is_selected", + "binding_name_override": "#visible", + "binding_collection_name": "$collection_name", + "binding_type": "collection" + } + ] + } + }, + { + "gray_image@resource_packs.gray_image": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ "100%-45px", "42px" ], + "offset": [ -1, 0 ], + "layer": 3 + } + } + ] + }, + + "selected_pack_panel": { + "type": "stack_panel", + "size": [ "100%-2px", "100%c" ], + "min_size": [ "100% - 2px", "50px" ], + "$button_collection_name": "$selected_pack_items", + "$resource_pack_button_0": "resource_packs.selected_pack_minus_button", + "$resource_pack_button_1": "resource_packs.selected_pack_store_button", + "$resource_pack_button_2": "resource_packs.selected_pack_options_button", + "$resource_pack_button_3": "resource_packs.selected_pack_up_button", + "$resource_pack_button_4": "resource_packs.selected_pack_down_button", + "$resource_pack_button_5": "resource_packs.selected_pack_warning_button", + "controls": [ + { + "selected_pack_button@resource_packs.selected_pack_button": { + "layer": 1 + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "center_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "visibility_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "selected_pack_direction_buttons@resource_packs.input_button_panel": { + } + } + ] + } + } + ] + } + }, + { + "divider@common.horizontal_divider": { + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "(not #direction_button_visible)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "available_pack_panel": { + "type": "stack_panel", + "size": [ "100%-2px", "100%c" ], + "min_size": [ "100% - 2px", "50px" ], + "$button_collection_name": "$available_pack_items", + "$resource_pack_button_0": "resource_packs.selected_pack_plus_button", + "$resource_pack_button_1": "resource_packs.selected_pack_store_button", + "$resource_pack_button_2": "resource_packs.selected_pack_warning_button", + "controls": [ + { + "available_pack_button@resource_packs.available_pack_button": { + "layer": 1 + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "center_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "available_pack_direction_buttons@resource_packs.input_button_panel": { + } + } + ] + } + }, + { + "divider@common.horizontal_divider": { + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "(not #direction_button_visible)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "realms_pack_panel": { + "type": "stack_panel", + "size": [ "100%-2px", "100%c" ], + "min_size": [ "100% - 2px", "50px" ], + "$button_collection_name": "$realms_pack_items", + "$resource_pack_button_0": "resource_packs.selected_pack_plus_button", + "$resource_pack_button_1": "resource_packs.selected_pack_store_button", + "$resource_pack_button_2": "resource_packs.selected_pack_warning_button", + "controls": [ + { + "realms_pack_button@resource_packs.realms_pack_button": { + "layer": 1 + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "center_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "realms_pack_direction_buttons@resource_packs.input_button_panel": { + } + } + ] + } + }, + { + "divider@common.horizontal_divider": { + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "(not #direction_button_visible)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "unowned_pack_panel": { + "type": "stack_panel", + "size": [ "100%-2px", "100%c" ], + "min_size": [ "100% - 2px", "50px" ], + "$button_collection_name": "$unowned_pack_items", + "$resource_pack_button_1": "resource_packs.selected_pack_store_button_fill", + "controls": [ + { + "unowned_pack_button@resource_packs.unowned_pack_button": { + "layer": 1 + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "center_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "realms_pack_direction_buttons@resource_packs.input_button_panel": { + } + } + ] + } + }, + { + "divider@common.horizontal_divider": { + "bindings": [ + { + "binding_collection_name": "$button_collection_name", + "binding_name": "(not #direction_button_visible)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "invalid_pack_panel": { + "type": "stack_panel", + "size": [ "100%-2px", "100%c" ], + "min_size": [ "100% - 2px", "50px" ], + "controls": [ + { + "invalid_pack_button@resource_packs.invalid_pack_button": { + "layer": 1 + } + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "divider@common.horizontal_divider": {} + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "selected_pack_grid": { + "type": "stack_panel", + "orientation": "vertical", + + "factory": { + "name": "selected_pack_factory", + "control_name": "resource_packs.selected_pack_panel" + }, + + "collection_name": "$selected_pack_items", + "bindings": [ + { + "binding_name": "$selected_grid_dimensions", + "binding_name_override": "#collection_length" + } + ] + }, //space for active packs to populate + + "available_pack_grid": { + "type": "stack_panel", + "orientation": "vertical", + + "factory": { + "name": "available_pack_factory", + "control_name": "resource_packs.available_pack_panel" + }, + + "collection_name": "$available_pack_items", + "$available_grid_visible_binding_name|default": "", + "$available_grid_visible_binding_type|default": "none", + "bindings": [ + { + "binding_name": "$available_grid_dimensions", + "binding_name_override": "#collection_length" + }, + { + "binding_name": "$available_grid_visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "$available_grid_visible_binding_type" + } + ] + }, //space for available packs to populate + + "realms_pack_grid": { + "type": "stack_panel", + "orientation": "vertical", + "visible": false, + + "factory": { + "name": "realms_pack_factory", + "control_name": "resource_packs.realms_pack_panel" + }, + + "collection_name": "$realms_pack_items", + "$realms_grid_visible_binding_name|default": "", + "$realms_grid_visible_binding_type|default": "none", + "bindings": [ + { + "binding_name": "$realms_grid_dimensions", + "binding_name_override": "#collection_length" + }, + { + "binding_name": "$realms_grid_visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "$realms_grid_visible_binding_type" + } + ] + }, + + "unowned_pack_grid": { + "type": "stack_panel", + "orientation": "vertical", + "visible": false, + + "factory": { + "name": "unowned_pack_factory", + "control_name": "resource_packs.unowned_pack_panel" + }, + + "collection_name": "$unowned_pack_items", + "$unowned_grid_visible_binding_name|default": "", + "$unowned_grid_visible_binding_type|default": "none", + "bindings": [ + { + "binding_name": "$unowned_grid_dimensions", + "binding_name_override": "#collection_length" + }, + { + "binding_name": "$unowned_grid_visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "$unowned_grid_visible_binding_type" + } + ] + }, + + "invalid_pack_grid": { + "type": "stack_panel", + "orientation": "vertical", + + "factory": { + "name": "invalid_pack_factory", + "control_name": "resource_packs.invalid_pack_panel" + }, + + "collection_name": "$invalid_pack_items", + "bindings": [ + { + "binding_name": "$invalid_grid_dimensions", + "binding_name_override": "#collection_length" + } + ] + } //space for invalid packs to populate +} diff --git a/resource_pack/ui/safe_zone_screen.json b/resource_pack/ui/safe_zone_screen.json new file mode 100644 index 0000000..f9f47c8 --- /dev/null +++ b/resource_pack/ui/safe_zone_screen.json @@ -0,0 +1,313 @@ +{ + "namespace": "safe_zone", + + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + + "corner_image_common": { + "type": "image", + "size": [ 19, 19 ], + "layer": 1, + "use_anchored_offset": true, + "property_bag": { + "#anchored_offset_value_x": 0.0, + "#anchored_offset_value_y": 0.0 + }, + "bindings": [ + { + "binding_name": "$local_safe_zone_offset_x", + "binding_name_override": "#anchored_offset_value_x" + }, + { + "binding_name": "$local_safe_zone_offset_y", + "binding_name_override": "#anchored_offset_value_y" + } + ] + }, + + "corner_bl@safe_zone.corner_image_common": { + "texture": "textures/ui/photo_corner_bl", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "$local_safe_zone_offset_x": "#left_safe_zone_offset", + "$local_safe_zone_offset_y": "#bottom_safe_zone_offset" + }, + + "corner_br@safe_zone.corner_image_common": { + "texture": "textures/ui/photo_corner_br", + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "$local_safe_zone_offset_x": "#right_safe_zone_offset", + "$local_safe_zone_offset_y": "#bottom_safe_zone_offset" + }, + + "corner_tr@safe_zone.corner_image_common": { + "texture": "textures/ui/photo_corner_tr", + "anchor_to": "top_right", + "anchor_from": "top_right", + "$local_safe_zone_offset_x": "#right_safe_zone_offset", + "$local_safe_zone_offset_y": "#top_safe_zone_offset" + }, + + "corner_tl@safe_zone.corner_image_common": { + "texture": "textures/ui/photo_corner_tl", + "anchor_to": "top_left", + "anchor_from": "top_left", + "$local_safe_zone_offset_x": "#left_safe_zone_offset", + "$local_safe_zone_offset_y": "#top_safe_zone_offset" + }, + + "confirm_button@common_buttons.light_text_button": { + "layer": 1, + "size": [ "100% - 14px", 30 ], + "$pressed_button_name": "button.confirm_button", + "$button_text": "gui.confirm" + }, + + "title_text": { + "type": "label", + "layer": 1, + "text": "options.safeZone.title", + "color": "$title_text_color" + }, + + "instructions_text": { + "type": "panel", + "size": [ "100%", "100%c + 6px" ], + "controls": [ + { + "inner_label": { + "type": "label", + "layer": 1, + "size": [ "100% - 6px", "default" ], + "text": "options.safeZone.description", + "color": "$body_text_color", + "anchor_to": "center", + "anchor_from": "center" + } + } + ] + }, + + "label_button@common.button": { + "sound_volume": 1.0, + "size": [ "100%", "100%c" ], + "$pressed_button_name": "button.focus_filler", + "$button_tts_name": "", + "focus_enabled": true + }, + + "label_button_hover": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "hover@common.focus_border_white": { + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "button_hover_text@safe_zone.instructions_text": { + "size": [ "100%", "100%c + 2px" ] + } + } + ] + } + } + ] + }, + + "content_panel": { + "type": "stack_panel", + "ttsSectionContainer": true, + "$label_bindings": [ + { + "binding_name": "$option_label" + }, + { + "binding_name": "$slider_tts_text_value" + } + ], + "controls": [ + { + "safe_zone_slider_all@settings_common.option_slider": { + "$option_label": "#safe_zone_all_slider_label", + "$slider_name": "safe_zone_all", + "$slider_value_binding_name": "#safe_zone_all", + "$option_enabled_binding_name": "#safe_zone_all_enabled", + "$default_focus_precedence": 1, + "$slider_select_on_hover": false, + "$slider_tts_text_value": "#safe_zone_all_text_value" + } + }, + { + "safe_zone_slider_x@settings_common.option_slider": { + "ignored": "$is_publish", + "$option_label": "#safe_zone_x_slider_label", + "$slider_name": "safe_zone_x", + "$slider_value_binding_name": "#safe_zone_x", + "$option_enabled_binding_name": "#safe_zone_x_enabled", + "$slider_select_on_hover": false, + "$slider_tts_text_value": "#safe_zone_x_text_value" + } + }, + { + "safe_zone_slider_y@settings_common.option_slider": { + "ignored": "$is_publish", + "$option_label": "#safe_zone_y_slider_label", + "$slider_name": "safe_zone_y", + "$slider_value_binding_name": "#safe_zone_y", + "$option_enabled_binding_name": "#safe_zone_y_enabled", + "$slider_select_on_hover": false, + "$slider_tts_text_value": "#safe_zone_y_text_value" + } + }, + { + "screen_position_slider_x@settings_common.option_slider": { + "ignored": "$is_publish", + "$option_label": "#screen_position_x_slider_label", + "$slider_name": "screen_position_x", + "$slider_value_binding_name": "#screen_position_x", + "$option_enabled_binding_name": "#screen_position_x_enabled", + "$slider_select_on_hover": false, + "$slider_tts_text_value": "#screen_position_x_text_value" + } + }, + { + "screen_position_slider_y@settings_common.option_slider": { + "ignored": "$is_publish", + "$option_label": "#screen_position_y_slider_label", + "$slider_name": "screen_position_y", + "$slider_value_binding_name": "#screen_position_y", + "$option_enabled_binding_name": "#screen_position_y_enabled", + "$slider_select_on_hover": false, + "$slider_tts_text_value": "#screen_position_y_text_value" + } + }, + { + "instruction_text_button@safe_zone.label_button": { + "offset": [ 0, 3 ], + "controls": [ + { + "default@safe_zone.instructions_text": {} + }, + { + "pressed@safe_zone.label_button_hover": {} + }, + { + "hover@safe_zone.label_button_hover": {} + } + ] + } + } + ] + }, + + // Screen // + + "safe_zone_screen@common.base_screen": { + "should_be_skipped_during_automation": true, + "variables": [ + { + "requires": "$is_publish", + "$dialog_size": [ 192, 140 ] + }, + { + "requires": "(not $is_publish)", + "$dialog_size": [ 192, 206 ] + } + ], + "controls": [ + { + "safe_zone_bounds_markers": { + "type": "panel", + "controls": [ + { "top_left_marker@corner_tl": {} }, + { "top_right_marker@corner_tr": {} }, + { "bottom_left_marker@corner_bl": {} }, + { "bottom_right_marker@corner_br": {} } + ] + } + }, + { + "main_content_panel": { + "type": "panel", + "size": "$dialog_size", + "ttsSectionContainer": true, + "controls": [ + { + "common_panel@common.common_panel": { + "$show_close_button": false, + "$dialog_background": "dialog_background_hollow_2" + } + }, + { + "title_text@safe_zone.title_text": { + "offset": [ 0, 9 ], + "size": [ "default", 15 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + }, + { + "scrolling_panel@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-21px", "100%-67px" ], + "offset": [ 10, 24 ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 1, 0 ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "safe_zone.content_panel", + "$scroll_bar_left_padding_size": [ 2, 0 ], + "$scroll_bar_right_padding_size": [ 2, 0 ], + "$show_background": false, + "$bar_visible": true + } + }, + { + "confirm_button@safe_zone.confirm_button": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "focus_change_down": "FOCUS_OVERRIDE_STOP", + "offset": [ 0, -7 ] + } + } + ] + } + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/scoreboards.json b/resource_pack/ui/scoreboards.json new file mode 100644 index 0000000..17c7b68 --- /dev/null +++ b/resource_pack/ui/scoreboards.json @@ -0,0 +1,509 @@ +{ + "namespace": "scoreboard", + + "scoreboard_sidebar_score": { + "type": "label", + "layer": 2, + "size": [ "default", 10 ], + "text": "#player_score_sidebar", + "anchor_from": "top_right", + "anchor_to": "top_right", + "locked_alpha": 1.0, + "color": "$player_score_color", + "localize": false, + "bindings": [ + { + "binding_name": "#player_score_sidebar", + "binding_type": "collection", + "binding_collection_name": "scoreboard_scores" + } + ] + }, + + "scoreboard_sidebar_player": { + "type": "label", + "layer": 2, + "text": "#player_name_sidebar", + "size": [ "default", 10 ], + "max_size": [ 100, 10 ], + "locked_alpha": 1.0, + "color": "$player_name_color", + "localize": false, + "bindings": [ + { + "binding_name": "#player_name_sidebar", + "binding_type": "collection", + "binding_collection_name": "scoreboard_players" + } + ] + }, + + "scoreboard_sidebar": { + "type": "panel", + "size": [ "100%cm", "100%c" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "main": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.3, + "size": [ "100%cm + 4px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "displayed_objective": { + "type": "label", + "size": [ "default", 10 ], + "max_size": [ 170, 10 ], + "text": "#objective_sidebar_name", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text_alignment": "center", + "locked_alpha": 1.0, + "layer": 2, + "color": "$objective_title_color", + "localize": false, + "bindings": [ + { + "binding_name": "#objective_sidebar_name", + "binding_type": "global" + } + ] + } + }, + { + "lists": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "inherit_max_sibling_width": true, + "offset": [ 0, 10 ], + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "players": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%cm", "100%c" ], + "orientation": "vertical", + "collection_name": "scoreboard_players", + "factory": { + "name": "player_list_factory", + "control_name": "scoreboard.scoreboard_sidebar_player" + }, + "bindings": [ + { + "binding_name": "#scoreboard_sidebar_size", + "binding_type": "global", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "horizontal_padding": { + "type": "panel", + "size": [ 10, "100%c" ] + } + }, + { + "scores": { + "type": "stack_panel", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100%cm", "100%c" ], + "orientation": "vertical", + "use_child_anchors": true, + "collection_name": "scoreboard_scores", + "factory": { + "name": "player_score_factory", + "control_name": "scoreboard.scoreboard_sidebar_score" + }, + "bindings": [ + { + "binding_name": "#scoreboard_sidebar_size", + "binding_type": "global", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + } + } + ] + } + }, + { + "displayed_objective_background": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.15, + "size": [ "100%sm", 9 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1 + } + } + ] + }, + + ///////////////////////// list ui + "scoreboard_player_list": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "focus_container": true, + "use_last_focus": true, + "focus_navigation_mode_right": "contained", + "controls": [ + { + "vertical_padding_0@pause.vertical_padding": { + "size": [ "100%", 4 ] + } + }, + { + "permissions_button@common_buttons.dark_text_button": { + "ignored": "$education_edition", + "size": [ "100%", 24 ], + "$button_text": "permissions.title", + "$pressed_button_name": "button.menu_permission" + } + }, + { + "vertical_padding_1@pause.vertical_padding": { + "ignored": "$education_edition", + "size": [ "100%", 4 ] + } + }, + { "players_label@scoreboard.list_objective_label": {} }, + { + "vertical_padding_2@pause.vertical_padding": { + "size": [ "100%", 4 ] + } + }, + { "scored_players_grid_panel@scoreboard.players_scored_grid_list": {} }, + { + "vertical_padding_3@pause.vertical_padding": { + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "#list_scores_not_empty", + "binding_name_override": "#visible" + } + ] + } + }, + { "unscored_players_grid_panel@scoreboard.players_unscored_grid_list": {} }, + { + "vertical_padding_4@pause.vertical_padding": { + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "#unscored_not_empty", + "binding_name_override": "#visible" + } + ] + } + }, + { "invite_players_button_panel@pause.invite_players_button_panel": {} }, + { + "vertical_padding_5@pause.vertical_padding": { + "size": [ "100%", 4 ] + } + }, + { "disconnected_from_multiplayer_label_panel@pause.disconnected_from_multiplayer_label_panel": {} }, + { + "vertical_padding_6@pause.vertical_padding": { + "size": [ "100%", 4 ] + } + } + ] + }, + + "list_objective_label": { + "type": "label", + "text": "#player_list_title", + "size": [ "100%", 10 ], + "color": "$main_header_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#player_list_title" + } + ] + }, + + + + + "player_rank_panel": { + "type": "panel", + "size": [ "100%y", "100%" ], + "ignored": "(not $has_score)", + "controls": [ + { + "player_rank_bg": { + "type": "image", + "size": [ "100%y", "100%" ], + "texture": "textures/ui/scoreboard_list_background", + "offset": [ 1, 0 ], + "controls": [ + { + "player_rank": { + "type": "label", + "text_alignment": "center", + "text": "#player_rank", + "color": "$player_list_rank_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#player_rank", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name" + } + ] + } + } + ] + } + } + ] + }, + + "player_icon_panel": { + "type": "panel", + "size": [ "100%y", "100%" ], + "controls": [ + { + "player_icon": { + "ignored": "$education_edition", + "type": "image", + "size": [ "80%", "80%" ], + "controls": [ + { + "player_panel_black_border@pause.pause_screen_border": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ] + } + } + ], + "bindings": [ + { + "binding_name": "#player_icon", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name", + "binding_name_override": "#texture" + }, + { + "binding_name": "#player_icon_filesystem", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "permission_icon": { + "ignored": "(not $education_edition)", + "type": "image", + "size": [ "80%", "80%" ], + "bindings": [ + { + "binding_name": "#permission_icon", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name", + "binding_name_override": "#texture" + } + ] + } + } + ] + }, + + "player_name": { + "type": "label", + "text": "#player_name", + "size": [ "100%", 10 ], + "offset": [ 0, 1 ], + "shadow": true, + "layer": 2, + "color": "$player_name_color", + "bindings": [ + { + "binding_name": "#player_name", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name" + } + ] + }, + + "player_score": { + "type": "label", + "text": "#player_score", + "size": [ "100%", 10 ], + "offset": [ 0, 1 ], + "color": "$player_list_score_color", + "shadow": true, + "layer": 2, + "bindings": [ + { + "binding_name": "#player_score", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name" + } + ] + }, + + "player_details": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "90%" ], + "controls": [ + { + "name_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "name@scoreboard.player_name": { + "text_alignment": "left" + } + } + ] + } + }, + { + "score_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "ignored": "(not $has_score)", + "controls": [ + { + "score@scoreboard.player_score": { + "text_alignment": "right" + } + } + ] + } + } + ] + }, + + "player_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "icon@scoreboard.player_icon_panel": {} + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "details@scoreboard.player_details": {} + } + ] + }, + + "base_player_button@common_buttons.dark_content_button": { + "size": [ "fill", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$pressed_button_name": "button.score_player_profile_card", + "bindings": [ + { + "binding_name": "#button_disabled", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_name": "#can_click_player_button", + "binding_type": "collection", + "binding_collection_name": "$sb_collection_name", + "binding_name_override": "#enabled" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$sb_collection_name" + } + ] + }, + + "player_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 27 ], + "controls": [ + { + "rank_base": { + "type": "panel", + "size": [ "100%y", "100% + 1px" ], + "ignored": "(not $has_score)", + "controls": [ + { + "player_rank@scoreboard.player_rank_panel": {} + } + ] + } + }, + { + "player_button@scoreboard.base_player_button": { + "$button_content": "scoreboard.player_content" + } + } + ] + }, + + "players_grid_list": { + "type": "stack_panel", + "size": [ "100%", "default" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "collection_name": "$sb_collection_name", + "$sb_collection_name|default": "empty", + "$has_score|default": false + }, + + "players_unscored_grid_list@scoreboard.players_grid_list": { + "factory": { + "name": "unscored_list_factory", + "control_name": "scoreboard.player_panel" + }, + "bindings": [ + { + "binding_name": "#unscored_list_size", + "binding_type": "global", + "binding_name_override": "#collection_length" + } + ], + "$sb_collection_name": "scoreboard_unscored_list_collection" + }, + + "players_scored_grid_list@scoreboard.players_grid_list": { + "factory": { + "name": "scored_list_factory", + "control_name": "scoreboard.player_panel" + }, + "bindings": [ + { + "binding_name": "#scored_list_size", + "binding_type": "global", + "binding_name_override": "#collection_length" + } + ], + "$sb_collection_name": "scoreboard_scored_list_collection", + "$has_score": true + } +} diff --git a/resource_pack/ui/screenshot_screen.json b/resource_pack/ui/screenshot_screen.json new file mode 100644 index 0000000..0d61df0 --- /dev/null +++ b/resource_pack/ui/screenshot_screen.json @@ -0,0 +1,42 @@ +{ + "namespace": "screenshot", + + //-------------------------------------------------------------------------------- + // Animations + //-------------------------------------------------------------------------------- + + "anim_screenshot_flash": { + "anim_type": "alpha", + "easing": "in_expo", + "duration": "$screenshot_flash_anim_duration", + "from": 1.0, + "to": 0 + }, + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "screenshot_flash_image": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 6, + "texture": "textures/ui/White", + "alpha": "@screenshot.anim_screenshot_flash" + }, + + "screenshot_screen@common.base_screen": { + "$default_text_color": "$light_button_default_text_color", + "$screen_content": "screenshot.screenshot_screen_content" + }, + + "screenshot_screen_content@common.common_panel": { + "type": "panel", + "controls": [ + { + "transparent_background@feed_common.transparent_background": {} + }, + { "screenshot_flash@screenshot.screenshot_flash_image": {} } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/select_world_screen.json b/resource_pack/ui/select_world_screen.json new file mode 100644 index 0000000..9f3d798 --- /dev/null +++ b/resource_pack/ui/select_world_screen.json @@ -0,0 +1,421 @@ +{ + "namespace": "select_world", + + //-------------------------------------------------------------------------------- + // Add-Ons Popup Flow + //-------------------------------------------------------------------------------- + + // Pop ups + + "popup_dialog__add_on_common@popup_dialog.popup_dialog": { + "$message_text|default": "", + "$popup_content|default": "common.empty_panel", + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.close_popup", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + "popup_dialog__add_on_common_no_buttons@select_world.popup_dialog__add_on_common": { + "controls": [ + { "popup_dialog_bg@common.dialog_background_hollow_3": { "$fill_alpha": 1.0 } }, + { "popup_dialog_message@popup_dialog.popup_dialog_message": { "offset": [ 0, "8px" ] } }, + { "close_button@common.close_button": { "$close_button_to_button_id": "button.close_popup" } }, + { "add_on_popup_content_panel@select_world.add_on_popup_content_panel": {} } + ] + }, + + "popup_dialog__add_on_common_two_buttons@select_world.popup_dialog__add_on_common": { + "size": [ "146%y", "80%" ], + "$copy_button_name|default": "button.none", + "$copy_button_text|default": "", + "$continue_button_name|default": "button.none", + "$continue_button_text|default": "", + "controls": [ + { "popup_dialog_bg@common.dialog_background_hollow_1": { "$fill_alpha": 1.0 } }, + { "popup_dialog_message@popup_dialog.popup_dialog_message": { "offset": [ 0, "8px" ] } }, + { "close_button@common.close_button": { "$close_button_to_button_id": "button.close_popup" } }, + { "add_on_popup_content_panel@select_world.add_on_popup_content_panel": {} }, + { "button_copy@select_world.add_on_button_copy": {} }, + { "button_continue@select_world.add_on_button_continue": {} } + ] + }, + + "add_on_button_copy@common_buttons.light_text_button": { + "size": [ "100% - 16px", 32 ], + "offset": [ 0, -40 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$pressed_button_name": "$copy_button_name", + "$button_text": "$copy_button_text" + }, + + "add_on_button_continue@common_buttons.light_text_button": { + "size": [ "100% - 16px", 32 ], + "offset": [ 0, -6 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$pressed_button_name": "$continue_button_name", + "$button_text": "$continue_button_text" + }, + + "add_on_popup_content_panel": { + "type": "panel", + "size": [ "100% - 16px", "100% - 31px" ], // size and offset to align inside dialog_background_hollow_3 frame + "offset": [ 0, "-8px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 10, + "$popup_content:default": "", + "controls": [ + { "popup_content@$popup_content": {} } + ] + }, + + "popup_dialog__activate_add_on@select_world.popup_dialog__add_on_common_no_buttons": { + "$message_text": "store.addon.newOrExistingTitle", + "$popup_content": "select_world.new_or_existing_world_panel" + }, + + "popup_dialog__activate_add_on_select_world@select_world.popup_dialog__add_on_common_no_buttons": { + "size": [ "146%y", "80%" ], + "$message_text": "store.addon.selectWorldTitle", + "$popup_content": "select_world.select_world_panel" + }, + + "popup_dialog__copy_local_world@select_world.popup_dialog__add_on_common_two_buttons": { + "$message_text": "store.addon.update.local.title", + "$popup_content": "select_world.copy_local_world_panel", + "$copy_button_text": "store.addon.update.local.buttonCopy", + "$continue_button_text": "store.addon.update.local.buttonContinue", + "$continue_button_name": "button.navigate_edit_world", + "$copy_button_name": "button.copy_local_world" + }, + + "popup_dialog__copy_realms_world@select_world.popup_dialog__add_on_common_two_buttons": { + "$message_text": "store.addon.update.realms.title", + "$popup_content": "select_world.copy_realms_world_panel", + "$copy_button_text": "store.addon.update.realms.buttonCopy", + "$continue_button_text": "store.addon.update.realms.buttonContinue", + "$continue_button_name": "button.navigate_edit_realms_world", + "$copy_button_name": "button.download_realms_world" + }, + + "copy_local_world_panel@common.vertical_stack_panel": { + "size": [ "100% - 4px", "100%" ], + "controls": [ + { "padding_top@common.empty_panel": { "size": [ "100%", "2px" ] } }, + { + "text_box": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "store.addon.update.local.body1" + } + }, + { "padding_middle@common.empty_panel": { "size": [ "100%", "8px" ] } }, + { + "text_box2": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "store.addon.update.local.body2" + } + } + ] + }, + + "copy_realms_world_panel@common.vertical_stack_panel": { + "size": [ "100% - 4px", "100%" ], + "controls": [ + { "padding_top@common.empty_panel": { "size": [ "100%", "2px" ] } }, + { + "text_box": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "store.addon.update.realms.body1" + } + }, + { "padding_middle@common.empty_panel": { "size": [ "100%", "8px" ] } }, + { + "text_box2": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "store.addon.update.realms.body2" + } + } + ] + }, + + // New or Existing World Pop Up Components + + "new_or_existing_world_panel@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "controls": [ + { "padding_left@common.empty_panel": { "size": [ "2px", "100%" ] } }, + { + "world_icon_existing@select_world.world_icon_with_button": { + "$button_text": "store.addon.choseExistingWorld", + "$pressed_button_name": "button.addon_select_world", + "$vert_stack_centering_content": "select_world.world_icon_existing", + "$world_button_enabled": "#existing_world_button_enabled" + } + }, + { "padding_middle@common.empty_panel": { "size": [ "2px", "100%" ] } }, + { + "world_icon_new@select_world.world_icon_with_button": { + "$button_text": "store.addon.choseNewWorld", + "$pressed_button_name": "button.navigate_create_new_world", + "$vert_stack_centering_content": "select_world.world_icon_new" + } + }, + { "padding_right@common.empty_panel": { "size": [ "2px", "100%" ] } } + ] + }, + + "world_icon_with_button@common.vertical_stack_panel": { + "size": [ "fill", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "padding_top@common.empty_panel": { "size": [ "100%", "16px" ] } }, + { "world_icon@common.vert_stack_centering_panel": {} }, + { + "button@common_buttons.light_text_button": { + "size": [ "100%", 20 ], + "$world_button_enabled|default": "#none", + "enabled": "$world_button_enabled", + "bindings": [ + { + "binding_name": "$world_button_enabled", + "binding_name_override": "#enabled", + "binding_condition": "always", + "binding_type": "global" + } + ] + } + }, + { "padding_bottom@common.empty_panel": { "size": [ "100%", "16px" ] } } + ] + }, + + "world_icon_new": { + "type": "image", + "size": [ "100% - 2px", "57.7%x" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "texture": "textures/ui/white_background", + "color": "$light_button_default_text_color", + "clip_direction": "left", // clipping variables needed for square image to fill rectangular space + "clip_pixelperfect": true, + "clip_ratio": 0.4376, + "controls": [ + { + "plus_button": { + "type": "image", + "size": [ "50%", "50%" ], + "texture": "textures/ui/color_plus" + } + } + ] + }, + + "world_icon_existing": { + "type": "image", + "size": [ "100% - 2px", "57.7%x" ], // Original texture size [ 260, 150 ] + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "texture": "#existing_world_icon", + "bindings": [ + { + "binding_name": "#existing_world_icon", + "binding_name_override": "#texture", + "binding_condition": "once" + }, + { + "binding_name": "#existing_world_icon_file_system", + "binding_name_override": "#texture_file_system", + "binding_condition": "once" + } + ] + }, + + // World List Pop Up Components + + "select_world_panel@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scroll_view_port_size|default": [ "100% - 2px", "100% -2px" ], + "$scroll_view_port_offset|default": [ 2, 2 ], + "$scroll_view_port_size_touch|default": [ "100% - 2px", "100% - 2px" ], + "$scroll_view_port_offset_touch|default": [ 2, 2 ], + "$scrolling_content": "select_world.select_world_list", + "$show_background": false + }, + + "select_world_list@common.vertical_stack_panel": { + "size": [ "100%", "100%c" ], + "$world_item_grid_template": "select_world.local_world_item_button", + "$grid_item_layout": "select_world.realms_world_item_button", + "$realms_worlds_collection_name": "personal_realms", + "controls": [ + { + "realms_world_label@common_dialogs.standard_title_label": { + "$text_name": "#realms_worlds_title_with_count", + "$title_text_color": "$body_text_color", + "$title_binding_condition": "once", + "$title_text_binding_type": "global" + } + }, + { + "realms_world_list@play.realms_world_item_grid": { + "$grid_name": "#realms_world_item_grid_dimension", + "$local_world_upload": false, + "$local_world_edit_button_visible": false + } + }, + { "padding_middle@common.empty_panel": { "size": [ "100%", "2px" ] } }, + { + "local_world_label@common_dialogs.standard_title_label": { + "$text_name": "#local_worlds_title_with_count", + "$title_text_color": "$body_text_color", + "$title_binding_condition|default": "once", + "$title_text_binding_type|default": "global" + } + }, + { + "local_world_list@play.local_world_item_grid": { + "$local_world_upload": false, + "$local_world_edit_button_visible": false + } + }, + { "padding_end@common.empty_panel": { "size": [ "100%", "2px" ] } } + ] + }, + + "local_world_item_button@common_buttons.dark_content_button": { + "size": [ "100%", "30px" ], + "$pressed_button_name": "button.addon_copy_world_warning", + "$worlds_collection_name": "local_worlds", + "$world_image_binding_name": "#local_world_image", + "$world_texture_source_binding_name": "#local_world_texture_source", + "$world_supports_realmsplus_overlay": false, + "$world_text_panel_control": "play.local_world_text_panel", + "$button_content": "play.world_content_panel", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "local_worlds" + }, + { + "binding_type": "collection", + "binding_name": "#world_button_focus_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "local_worlds" + } + ] + }, + + "realms_world_item_button@common_buttons.dark_content_button": { + "size": [ "100%", "30px" ], + "$pressed_button_name": "button.addon_copy_realms_warning", + "$button_content": "play.realms_world_content_panel", + "$world_header_text_binding_type": "#realms_world_title", + "$world_details_text": "#realms_world_description", + "$world_details_text_binding_type": "global", + "$personal_realm_collection_name": "personal_realms", + "$friend_realm_collection_name": "friends_realms", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$realms_worlds_collection_name" + }, + { + "binding_type": "collection", + "binding_name": "#world_button_focus_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "$realms_worlds_collection_name" + }, + { + "binding_name": "#cross_platform_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "select_world_screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + + "controls": [ + //{ + // "popup@select_world.popup_dialog__activate_add_on": {} + //}, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "activate_add_on": "@select_world.popup_dialog__activate_add_on", + "popup_dialog__copy_local_world": "@select_world.popup_dialog__copy_local_world", + "popup_dialog__copy_realms_world": "@select_world.popup_dialog__copy_realms_world", + "activate_add_on_select_world": "@select_world.popup_dialog__activate_add_on_select_world" + } + } + } + ] + }, + + "select_world_popup_screen@common.base_screen": { + "$safezone_screen_matrix_layer": 20, + "$ignore_inventory_button": true, + "force_render_below": true, + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.try_exiting", + "mapping_type": "global" + } + ], + + "$screen_content": "select_world.select_world_screen_content", + "$is_full_screen_layout": false + } +} diff --git a/resource_pack/ui/server_form.json b/resource_pack/ui/server_form.json new file mode 100644 index 0000000..dd86f02 --- /dev/null +++ b/resource_pack/ui/server_form.json @@ -0,0 +1,464 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "server_form", + + "third_party_server_screen@common.base_screen": { + "$screen_content": "server_form.main_screen_content", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "main_screen_content": { + "type": "panel", + "size": [0, 0], + "controls": [ + { + "server_form_factory": { + "type": "factory", + "control_ids": { + "long_form": "@server_form.long_form", + "custom_form": "@server_form.custom_form" + } + } + } + ] + }, + + "long_form@common_dialogs.main_panel_no_buttons": { + "$title_panel": "common_dialogs.standard_title_label", + "$title_size": [ "100% - 14px", 10 ], + "size": [225, 200], + "$text_name": "#title_text", + "$title_text_binding_type": "none", + "$child_control": "server_form.long_form_panel", + "layer": 2 + }, + + "long_form_panel" : { + "type": "stack_panel", + "size": ["100%", "100%"], + "orientation": "vertical", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + + { + "scrolling_panel@common.scrolling_panel": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "size": [ "100%", "100%" ], + "$scrolling_content": "server_form.long_form_scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_pane_size": [ "100% - 4px", "100% - 2px" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$scroll_bar_right_padding_size": [ 0, 0 ] + } + } + ] + }, + + "long_form_scrolling_content": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + + "controls": [ + { + "label_offset_panel": { + "type": "panel", + "size": ["100%", "100%c"], + "controls": [ + { + "main_label": { + "type": "label", + "offset": [2,2], + "color": "$main_header_text_color", + "size": ["100%", "default"], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#form_text" + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "wrapping_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "long_form_dynamic_buttons_panel@server_form.long_form_dynamic_buttons_panel": {} + } + ] + } + } + ] + }, + + "long_form_dynamic_buttons_panel": { + "type": "stack_panel", + "size": ["100% - 4px", "100%c"], + "offset": [2,0], + "orientation": "vertical", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "factory":{ + "name": "buttons", + "control_name": "server_form.dynamic_button" + }, + + "collection_name": "form_buttons", + "bindings": [ + { + "binding_name": "#form_button_length", + "binding_name_override": "#collection_length" + } + ] + }, + + "dynamic_button": { + "type": "stack_panel", + "size": ["100%", 32], + "orientation": "horizontal", + "controls":[ + { + "panel_name": { + "type": "panel", + "size": [34, "100%c"], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "image", + "resolve_sibling_scope": true, + "source_property_name": "(not (#texture = ''))", + "target_property_name": "#visible" + } + ], + + "controls": [ + { + "image": { + "type": "image", + "layer": 2, + "size": [32, 32], + "offset": [0, 0], + "bindings":[ + { + "binding_name": "#form_button_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "form_buttons" + }, + { + "binding_name": "#form_button_texture_file_system", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "form_buttons" + }, + { + "binding_type": "view", + "source_property_name": "(not ((#texture = '') or (#texture = 'loading')))", + "target_property_name": "#visible" + } + ] + } + }, + { + "progress@progress.progress_loading_bars": { + "size": [30, 4], + "offset": [-2, 16], + "bindings":[ + { + "binding_type": "view", + "source_control_name": "image", + "resolve_sibling_scope": true, + "source_property_name": "(#texture = 'loading')", + "target_property_name": "#visible" + } + ] + } + } + ] + } + }, + { + "form_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.form_button_click", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "fill", 32 ], + "$button_text": "#form_button_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "form_buttons", + "$button_text_max_size": [ "100%", 20 ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "form_buttons" + } + ] + } + } + ] + }, + + + "custom_form@common_dialogs.main_panel_no_buttons": { + "$title_panel": "common_dialogs.standard_title_label", + "$title_size": [ "100% - 14px", 10 ], + "size": [225, 200], + "$text_name": "#title_text", + "$title_text_binding_type": "none", + "$child_control": "server_form.custom_form_panel", + "layer": 2 + }, + + "custom_form_panel@common.scrolling_panel" : { + "anchor_to": "top_left", + "anchor_from": "top_left", + "$show_background": false, + "size": [ "100%", "100%" ], + "$scrolling_content": "server_form.custom_form_scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_pane_size": [ "100% - 4px", "100% - 2px" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$scroll_bar_right_padding_size": [ 0, 0 ] + }, + + "generated_contents": { + "type": "stack_panel", + "size": ["100%", "100%c"], + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + + "factory":{ + "name": "buttons", + "control_ids": { + "label": "@server_form.custom_label", + "toggle": "@server_form.custom_toggle", + "slider": "@server_form.custom_slider", + "step_slider": "@server_form.custom_step_slider", + "dropdown": "@server_form.custom_dropdown", + "input": "@server_form.custom_input" + } + }, + + "collection_name": "custom_form", + "bindings": [ + { + "binding_name": "#custom_form_length", + "binding_name_override": "#collection_length" + } + ] + }, + + "custom_form_scrolling_content": { + "type": "stack_panel", + "size": ["100% - 4px", "100%c"], + "offset": [2,0], + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + + "controls": [ + { + "generated_form@server_form.generated_contents": {} + }, + { + "submit_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.submit_custom_form", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 32 ], + "$button_text": "#submit_text", + "$button_text_binding_type": "global", + "$button_binding_condition": "once", + + "bindings": [ + { + "binding_name": "#submit_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "custom_label@settings_common.option_group_label": { + "$text": "#custom_text", + "$text_bindings":[ + { + "binding_name": "#custom_text", + "binding_type": "collection", + "binding_collection_name": "custom_form" + } + ] + }, + + "custom_toggle@settings_common.option_toggle": { + "$option_label": "#custom_text", + "$toggle_name": "custom_toggle", + "$toggle_state_binding_name": "#custom_toggle_state", + "$option_binding_name": "#custom_toggle_state", + "$toggle_binding_type": "collection", + "$toggle_enabled_binding_name": "#custom_toggle_enabled", + "$toggle_enabled_binding_type": "collection", + "$toggle_grid_collection_name": "custom_form", + "$label_bindings": [ + { + "binding_name": "#custom_text", + "binding_type": "collection", + "binding_collection_name": "custom_form" + } + ] + }, + + "custom_slider@settings_common.option_slider": { + "$option_label": "#custom_slider_text", + "$slider_name": "custom_slider", + "$slider_value_binding_name": "#custom_slider_value", + "$slider_tts_text_value": "#custom_slider_text_value", + "$slider_binding_type": "collection", + "$slider_collection_name": "custom_form", + "$slider_enabled_binding_name": "#custom_slider_enabled", + "$slider_enabled_binding_type": "collection", + "$label_bindings": [ + { + "binding_name": "#custom_slider_text", + "binding_type": "collection", + "binding_collection_name": "custom_form" + } + ] + }, + + "custom_step_slider@server_form.custom_slider": { + "$option_label": "#custom_slider_step_text", + "$slider_name": "custom_slider_step", + "$slider_value_binding_name": "#custom_slider_step_value", + "$slider_tts_text_value": "#custom_slider_step_text_value", + "$slider_steps_binding_type": "collection", + "$slider_steps_binding_name": "#custom_slider_steps", + "$label_bindings": [ + { + "binding_name": "#custom_slider_step_text", + "binding_type": "collection", + "binding_collection_name": "custom_form" + } + ] + }, + + "custom_dropdown": { + "type": "panel", + "size": ["100%", "100%c"], + "layer": 2, + "controls": [ + { + "dropdown@settings_common.option_dropdown": { + "$option_label": "#custom_text", + "$dropdown_content": "server_form.custom_dropdown_content", + "$dropdown_area": "inside_header_panel", + "$dropdown_name": "custom_dropdown", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "custom_form", + "$options_dropdown_toggle_label_binding": "#dropdown_option_text", + "$options_dropdown_toggle_label_binding_type": "collection", + "$options_dropdown_toggle_label_binding_collection_name": "custom_form", + "$dropdown_scroll_content_size": [ "100%", "200%" ], + "$label_bindings": [ + { + "binding_name": "#custom_text", + "binding_type": "collection", + "binding_collection_name": "custom_form" + } + ] + } + } + ] + }, + + "custom_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [], + + "$radio_factory":{ + "name": "buttons", + "control_name": "server_form.custom_dropdown_radio" + }, + + "$radio_collection_name": "custom_dropdown", + "$radio_bindings": [ + { + "binding_name": "#custom_dropdown_length", + "binding_type": "collection", + "binding_name_override": "#collection_length", + "binding_collection_name": "custom_form" + } + ] + }, + + "custom_dropdown_radio@settings_common.radio_with_label": { + "$toggle_name": "custom_dropdown_radio_toggle", + "$toggle_state_binding_name": "#custom_radio_toggled", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "custom_dropdown", + "$toggle_collection_details_type": "collection_details", + + "$radio_label_text": "#custom_radio_text", + "$radio_label_bindings": [ + { + "binding_name": "#custom_radio_text", + "binding_type": "collection", + "binding_collection_name": "custom_dropdown" + }, + { + "binding_type": "collection_details" + } + ] + }, + + "custom_input@settings_common.option_text_edit": { + "$option_label": "#custom_text", + "$option_place_holder_text": "#custom_placeholder_text", + "$text_edit_box_placeholder_content_binding_name": "$option_place_holder_text", + "$text_edit_box_placeholder_content_binding_type": "collection", + "$text_edit_box_grid_collection_name": "custom_form", + + "$max_text_edit_length": 100, + + "$text_edit_box_content_binding_type": "collection", + "$text_edit_box_content_binding_name": "#custom_input_text", + + "$option_binding_name": "#custom_input_text", + "$text_box_enabled_binding_name": "#custom_input_enabled", + "$text_box_name": "custom_input", + "$label_bindings": [ + { + "binding_name": "#custom_text", + "binding_type": "collection", + "binding_collection_name": "custom_form" + } + ] + } +} diff --git a/resource_pack/ui/settings_screen.json b/resource_pack/ui/settings_screen.json new file mode 100644 index 0000000..b6ad496 --- /dev/null +++ b/resource_pack/ui/settings_screen.json @@ -0,0 +1,642 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "settings", + + "settings_screen_base@settings_common.screen_base": { + "$selector_stack_panel": "settings.selector_stack_panel", + "$section_content_panels": "settings.section_content_panels", + "$section_header_panels": "settings.section_header_panels", + "$section_footer_panels": "settings.section_footer_panels", + + "$is_world_create": false, + "$is_template_create": false, + "$is_world_edit": false, + "$_include_world_section": false, + "$include_world_section": "($_include_world_section and $may_include_world_section)", + "$include_realm_section": false, + "$include_controls_and_settings_sections": false, + "$is_global_texture_packs_visible|default": true, + "$is_realm_slot|default": false, + "$realm_no_world_edit|default": false, + "$include_realm_invite_link_settings|default": false + }, + + "screen_world_create@settings_screen_base": { + "$is_world_create": true, + "$is_template_create": false, + "$is_world_edit": false, + "$_include_world_section": true + }, + + "screen_template_create@settings_screen_base": { + "$is_world_create": false, + "$is_template_create": true, + "$is_world_edit": false, + "$_include_world_section": true + }, + + "screen_world_edit@settings_screen_base": { + "$is_world_create": false, + "$is_template_create": false, + "$is_world_edit": true, + "$_include_world_section": true + }, + + "screen_controls_and_settings@settings_screen_base": { + "$include_controls_and_settings_sections": true + }, + + "screen_world_controls_and_settings@settings_screen_base": { + "$_include_world_section": true, + "$include_controls_and_settings_sections": true + }, + + "screen_realm_controls_and_settings@settings_screen_base": { + "$include_realm_section": true, + "$include_controls_and_settings_sections": true + }, + + "screen_realm_settings@settings_screen_base": { + "$include_realm_section": true + }, + + "screen_world_slot_edit@settings_screen_base": { + "$include_realm_section": true, + "$is_realm_slot": true, + "$_include_world_section": false + }, + + "screen_realm_manage@settings_screen_base": { + "$include_realm_section": true, + "$realm_no_world_edit": true, + "$_include_world_section": false, + "$include_controls_and_settings_sections": false, + "$realms_pack_feature_enabled": false + }, + + "screen_realm_invite_link_settings@settings_screen_base": { + "$include_realm_section": false, + "$realm_no_world_edit": false, + "$_include_world_section": false, + "$include_controls_and_settings_sections": false, + "$realms_pack_feature_enabled": false, + "$include_realm_invite_link_settings": true + }, + + "selector_stack_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "$default_selector_toggle_index": 0, + "ttsSectionContainer": true, + "controls": [ + + { + "spacer_0": { + "ignored": "(not $include_world_section)", + "type": "panel", + "size": [ 2, 2 ] + } + }, + { + "accessibility_button@general_section.accessibility_button": { + "$toggle_group_forced_index": "$accessibility_forced_index", + "ignored": "(not $include_controls_and_settings_sections)" + } + }, + { + "vr_button@general_section.vr_button": { + "$toggle_group_forced_index": "$vr_forced_index", + "ignored": "(not $is_holographic or not $include_controls_and_settings_sections)" + } + }, + { + "how_to_play_button@general_section.how_to_play_button": { + "$toggle_group_forced_index": "$how_to_play_index", + "ignored": "(not $include_controls_and_settings_sections)" + } + }, + + // the list of selection toggle buttons, add yours here... + { + "world_selector_pane@world_section.selector_pane_content": { + "ignored": "(not $include_world_section)" + } + }, + { + "realm_selector_pane@realms_settings.selector_panel": { + "ignored": "(not $include_realm_section)", + "$world_toggle_index": "$world_forced_index", + "$members_toggle_index": "$members_forced_index", + "$subscription_toggle_index": "$subscription_forced_index", + "$backup_toggle_index": "$backup_forced_index", + "$dev_options_toggle_index": "$dev_options_forced_index", + "$invite_links_toggle_index": "$invite_links_forced_index" + } + }, + { + "controls_and_settings_selector_pane": { + "type": "stack_panel", + "ignored": "(not $include_controls_and_settings_sections)", + "$controls_section_header": "options.group.input", + "$general_section_header": "stat.generalButton", + "$debug_section_header": "options.debug", + "controls": [ + + // Controls Section // + { + "spacer_1": { + "type": "panel", + "size": [ 2, 8 ] + } + }, + { + "selector_group_label_1@settings_common.selector_group_label": { + "text": "$controls_section_header" + } + }, + { + "keyboard_and_mouse_button@controls_section.keyboard_and_mouse_button": { + "ignored": "(not $keyboard_and_mouse_supported)", + "$toggle_group_forced_index": "$keyboard_and_mouse_forced_index", + "$tts_section_header": "$controls_section_header" + } + }, + { + "controller_button@controls_section.controller_button": { + "ignored": "(not $gamepad_supported or $nx_os)", + "$toggle_group_forced_index": "$controller_and_switch_forced_index", + "$tts_section_header": "$controls_section_header" + } + }, + { + "switch_controller_button@controls_section.controller_button": { + "ignored": "(not $gamepad_supported or not $nx_os)", + "$toggle_group_forced_index": "$controller_and_switch_forced_index", + "$glyph_texture": "textures/ui/controller_glyph_switch", + "$glyph_color_texture": "textures/ui/controller_glyph_color_switch", + "$tts_section_header": "$controls_section_header" + } + }, + { + "touch_button@controls_section.touch_button": { + "ignored": "($is_holographic or not $touch_supported or $nx_os)", + "$toggle_group_forced_index": "$touch_forced_index", + "$tts_section_header": "$controls_section_header" + } + }, + + // General Section // + { + "spacer_2": { + "type": "panel", + "size": [ 2, 8 ] + } + }, + { + "selector_group_label_2@settings_common.selector_group_label": { + "text": "$general_section_header" + } + }, + { + "general_button@general_section.general_button": { + "$toggle_group_forced_index": "$general_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "video_button@general_section.video_button": { + "$toggle_group_forced_index": "$video_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "sound_button@general_section.sound_button": { + "$toggle_group_forced_index": "$sound_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "account_button@general_section.account_button": { + "$toggle_group_forced_index": "$account_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "view_subscriptions_button@general_section.view_subscriptions_button": { + "ignored": "$is_editor_mode_enabled", + "$toggle_group_forced_index": "$view_subscriptions_forced_index", + "$tts_section_header": "$general_section_header", + "bindings": [ + { + "binding_name": "#should_show_subscription_tab", + "binding_name_override": "#visible" + } + ] + } + }, + { + "global_texture_pack_button@general_section.global_texture_pack_button": { + "ignored": "$ignore_global_resources_section", + "$toggle_group_forced_index": "$global_texture_pack_forced_index", + "visible": "($is_global_texture_packs_visible)", + "$tts_section_header": "$general_section_header" + } + }, + { + "storage_management_button@general_section.storage_management_button": { + "ignored": "$ignore_storage_section", + "$toggle_group_forced_index": "$storage_management_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "edu_cloud_storage_button@general_section.edu_cloud_storage_button": { + "ignored": "(not $education_edition or not $edu_save_to_cloud_on)", + "$toggle_group_forced_index": "$edu_cloud_storage_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "language_button@general_section.language_button": { + "ignored": "(not $is_pregame)", + "$toggle_group_forced_index": "$language_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "creator_button@general_section.creator_button": { + "$toggle_group_forced_index": "$creator_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "preview_button@general_section.preview_button": { + "ignored": "(not $show_preview_button)", + "$toggle_group_forced_index": "$preview_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + + // Debug Section // + { + "spacer_3": { + "type": "panel", + "size": [ 2, 8 ] + } + }, + { + "selector_group_label_3@settings_common.selector_group_label": { + "ignored": "$is_publish", + "text": "$debug_section_header" + } + }, + { + "debug_button@general_section.debug_button": { + "ignored": "(not $debug_settings)", + "$toggle_group_forced_index": "$debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "discovery_debug_button@general_section.discovery_debug_button": { + "ignored": "$is_publish", + "$toggle_group_forced_index": "$discovery_debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "ui_debug_button@general_section.ui_debug_button": { + "ignored": "(not $debug_settings)", + "$toggle_group_forced_index": "$ui_debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "edu_debug_button@general_section.edu_debug_button": { + "ignored": "((not $debug_settings) or $creator_build or (not $education_edition))", + "$toggle_group_forced_index": "$edu_debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "marketplace_debug_button@general_section.marketplace_debug_button": { + "ignored": "(not $debug_settings)", + "$toggle_group_forced_index": "$marketplace_debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "gatherings_debug_button@general_section.gatherings_debug_button": { + "ignored": "(not $debug_settings)", + "$toggle_group_forced_index": "$gatherings_debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "flighting_debug_button@general_section.flighting_debug_button": { + "ignored": "(not $debug_settings)", + "$toggle_group_forced_index": "$flighting_debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "realms_debug_button@general_section.realms_debug_button": { + "ignored": "(not $debug_settings)", + "$toggle_group_forced_index": "$realms_debug_forced_index", + "$tts_section_header": "$general_section_header" + } + }, + { + "automation_button@general_section.automation_button": { + "ignored": "($is_publish or $test_infrastructure_disabled)", + "$toggle_group_forced_index": "$automation_forced_index", + "$tts_section_header": "$general_section_header" + } + } + ] + } + }, + { + "addons_selector_panel@world_section.addons_selector_panel": { + "ignored": "(not $include_world_section and (not $include_realm_section or not $realms_pack_feature_enabled))", + "$level_texture_pack_toggle_index": "$level_texture_pack_index", + "$addon_toggle_index": "$addon_index" + } + }, + { + "realms_invite_link_settings_pane@realms_invite_link_settings.selector_panel": { + "ignored": "(not $include_realm_invite_link_settings)", + "$general_toggle_index": "$general_invite_link_forced_index", + "$advanced_toggle_index": "$advanced_invite_link_forced_index" + } + } + ] + }, + + "section_content_panels": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 4px", "100%c + 4px" ], + "offset": [ 2, 0 ], + "controls": [ + // the list of section panels, add yours here... + { + "realm_invite_link_settings_content_panels@realms_invite_link_settings.section_content_panels": { + "ignored": "(not $include_realm_invite_link_settings)" + } + }, + { + "world_sections": { + "type": "stack_panel", + "ignored": "(not $include_world_section)", + "controls": [ + { "game_section@world_section.game_section": {} }, + { + "classroom_section_panel": { + "type": "panel", + "ignored": "(not $education_edition)", + "size": [ "100%", "100%c" ], + "controls": [ + { "classroom_section@classroom_settings.classroom_section": {} } + ] + } + }, + { "server_section@world_section.server_section": {} }, + { "multiplayer_section@world_section.multiplayer_section": {} }, + { "edu_cloud_section@world_section.edu_cloud_section": { "ignored": "(not $education_edition or not $edu_save_to_cloud_on or not $edu_save_to_cloud_general_toggle_on or $is_multiplayer_client)" } }, + { + "debug_section@world_section.debug_section": { + "ignored": "(not $debug_settings)", + "visible": false + } + } + ] + } + }, + { + "packs_sections": { + "type": "stack_panel", + "ignored": "(not $include_world_section and (not $include_realm_section or not $realms_pack_feature_enabled))", + "controls": [ + { "level_texture_pack_section@world_section.level_texture_pack_section": {} }, + { "addon_section@world_section.addon_section": {} } + ] + } + }, + { + "section_content_panels@realms_settings.section_content_panels": { + "ignored": "(not $include_realm_section)" + } + }, + { + "general_and_controls_sections": { + "type": "stack_panel", + "ignored": "(not $include_controls_and_settings_sections)", + "controls": [ + { "accessibility_section@general_section.accessibility_section": { "visible": false } }, + { + "keyboard_and_mouse_section@controls_section.keyboard_and_mouse_section": { + "ignored": "(not $keyboard_and_mouse_supported)", + "visible": false + } + }, + { + "controller_section@controls_section.controller_section": { + "ignored": "(not $gamepad_supported)", + "visible": false + } + }, + { + "touch_section@controls_section.touch_section": { + "ignored": "($is_holographic or not $touch_supported or $nx_os)", + "visible": false + } + }, + { "general_tab_section@general_section.general_tab_section": { "visible": false } }, + { "account_section@general_section.account_section": { "visible": false } }, + { + "global_texture_pack_section@general_section.global_texture_pack_section": { + "visible": false, + "ignored": "$ignore_global_resources_section" + } + }, + { + "storage_management_section@general_section.storage_management_section": { + "visible": false, + "ignored": "$ignore_storage_section" + } + }, + { + "edu_cloud_storage_section@general_section.edu_cloud_storage_section": { + "visible": false, + "ignored": "(not $education_edition or not $edu_save_to_cloud_on)" + } + }, + { "creator_section@general_section.creator_section": { "visible": false } }, + { "video_section@general_section.video_section": { "visible": false } }, + { + "view_subscriptions_prerelease_section@general_section.view_subscriptions_prerelease_section": { + "ignored": "($education_edition or $is_editor_mode_enabled or not $pre_release)", + "visible": false + } + }, + { + "view_subscriptions_section@general_section.view_subscriptions_section": { + "ignored": "($education_edition or $is_editor_mode_enabled or $pre_release)", + "visible": false + } + }, + { + "vr_section@general_section.vr_section": { + "ignored": "(not $is_holographic)", + "visible": false + } + }, + { "sound_section@general_section.sound_section": { "visible": false } }, + { + "language_section@general_section.language_section": { + "ignored": "(not $is_pregame)", + "visible": false + } + }, + { + "preview_section@general_section.preview_section": { + "ignored": "($trial or $pre_release or (not $is_ps4))", + "visible": false + } + }, + { + "debug_section@general_section.debug_section": { + "ignored": "(not $debug_settings)", + "visible": false + } + }, + { + "ui_debug_section@general_section.ui_debug_section": { + "ignored": "(not $debug_settings)", + "visible": false + } + }, + { + "edu_debug_section@general_section.edu_debug_section": { + "ignored": "((not $debug_settings) or (not $education_edition))", + "visible": false + } + }, + { + "marketplace_debug_section@general_section.marketplace_debug_section": { + "ignored": "(not $debug_settings)", + "visible": false + } + }, + { + "gatherings_debug_section@general_section.gatherings_debug_section": { + "ignored": "(not $debug_settings)", + "visible": false + } + }, + { + "flighting_debug_section@general_section.flighting_debug_section": { + "ignored": "(not $debug_settings)", + "visible": false + } + }, + { + "realms_debug_section@general_section.realms_debug_section": { + "ignored": "(not $debug_settings)", + "visible": false + } + }, + { + "automation_section@general_section.automation_section": { + "ignored": "($is_publish or $test_infrastructure_disabled)", + "visible": false + } + }, + { + "discovery_debug_section@general_section.discovery_debug_section": { + "ignored": "$is_publish", + "visible": false + } + }, + { "how_to_play_section@general_section.how_to_play_section": { "visible": false } } + ] + } + } + ] + }, + + "section_header_panels": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "offset": [ 2, 0 ], + "controls": [ + // the list of header panels, add yours here... + { + "world_sections": { + "type": "stack_panel", + "ignored": "(not $include_world_section)", + "controls": [ + ] + } + }, + { + "general_and_controls_sections": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "ignored": "(not $include_controls_and_settings_sections)", + "controls": [ + { + "storage_management_header@general_section.storage_management_header": { + "ignored": "$ignore_storage_section" + } + } + ] + } + } + ] + }, + + "section_footer_panels": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "offset": [ 2, 0 ], + "controls": [ + // the list of header panels, add yours here... + { + "world_sections": { + "type": "stack_panel", + "ignored": "(not $include_world_section)", + "controls": [ + ] + } + }, + { + "general_and_controls_sections": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "ignored": "(not $include_controls_and_settings_sections)", + "controls": [ + { + "storage_management_footer@general_section.storage_management_footer": { + "ignored": "$ignore_storage_section" + } + } + ] + } + } + ] + } + +} diff --git a/resource_pack/ui/settings_sections/controls_section.json b/resource_pack/ui/settings_sections/controls_section.json new file mode 100644 index 0000000..7e4cfd1 --- /dev/null +++ b/resource_pack/ui/settings_sections/controls_section.json @@ -0,0 +1,1389 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "controls_section", + + //Button with text-binding capabilities + + "binding_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.binding_button", + "$button_content": "controls_section.binding_button_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$keymapping_collection" + } + ] + }, + + "binding_button_content@common_buttons.button_content_panel": { + "controls": [ + { + "default_label@common.new_button_label": { + "text": "#binding_button_text", + "tts_override_control_value": " ", + "bindings": [ + { + "binding_name": "#binding_button_text", + "binding_condition": "none", + "binding_type": "collection", + "binding_collection_name": "$keymapping_collection" + } + ] + } + } + ] + }, + + // Image binding button + + "image_binding_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.binding_button", + "$button_content": "controls_section.image_binding_button_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$keymapping_collection" + } + ] + }, + + "image_binding_button_content@common_buttons.button_content_panel": { + "controls": [ + { + "base_icon_image": { + "type": "image", + "size": [ 26, 26 ], + "layer": 1, + "$gameplay_key_icon|default": "#binding_icon_sprite", + "bindings": [ + { + "binding_name": "$gameplay_key_icon", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$keymapping_collection" + } + ] + } + }, + { + "default_label@common.new_button_label": { + "text": "#binding_button_text", + "bindings": [ + { + "binding_name": "#binding_button_text", + "binding_type": "collection", + "binding_collection_name": "$keymapping_collection" + } + ] + } + } + ] + }, + + // reset binding button + + "arrow_reset": { + "type": "image", + "layer": 2, + "size": [ 16, 16 ], + "texture": "textures/ui/undoArrow" + }, + + "reset_binding_button@common_buttons.light_glyph_button": { + "layer": 1, + "$button_content": "controls_section.arrow_reset", + "$pressed_button_name": "button.reset_binding" + }, + + // keyboard controls + "keymapping_item": { + "type": "stack_panel", + "orientation": "horizontal", + "layer": 1, + "size": [ "100%", 35 ], + "controls": [ + { + "option_info_label_control": { + "type": "image", + "texture": "textures/ui/text_label_box", + "size": [ "fill", "100% - 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "keymapping_label_control": { + "type": "label", + "color": "$generic_button_text_color", + "size": [ "100% - 4px", "default" ], + "text_alignment": "center", + "layer": 1, + "text": "#keymapping_name", + "bindings": [ + { + "binding_name": "#keymapping_name", + "binding_type": "collection", + "binding_collection_name": "$keymapping_collection" + } + ] + } + } + ] + } + }, + { + "keymapping_button_0@binding_button": { + "$button_tts_header": "#audible_keymapping_name", + "size": [ "40% + 1px", "100% - 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$keymapping_collection" + }, + { + "binding_name": "#audible_keymapping_name", + "binding_type": "collection", + "binding_collection_name": "$keymapping_collection" + } + ] + } + }, + { + "keymapping_button_1@controls_section.reset_binding_button": { + "size": [ "15% + 1px", "100% - 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$pressed_button_name": "button.reset_binding", + "$button_tts_header": "accessibility.settings.reset", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$keymapping_collection" + } + ] + } + } + ] + }, + + "keymapping_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "grid_item_template": "controls_section.keymapping_item", + "grid_dimension_binding": "$keymapping_grid_dimension", + "collection_name": "$keymapping_collection", + "anchor_to": "top_right", + "anchor_from": "top_right", + "bindings": [ + { + "binding_name": "$keymapping_grid_dimension" + } + ] + }, + + // Key mappings to mimic mouse functionality if full keyboard gameplay is enabled + "full_keymapping_grid@controls_section.keymapping_grid": { + "$keymapping_grid_dimension": "#keyboard_full_grid_dimension", + "$keymapping_collection": "keyboard_full_collection" + }, + + + // gamepad controls + "gamepad_mapping_item": { + "type": "stack_panel", + "orientation": "horizontal", + "layer": 1, + "size": [ "100%", 35 ], + "controls": [ + { + "option_info_label_control": { + "type": "image", + "texture": "textures/ui/text_label_box", + "size": [ "fill", "100% - 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "keymapping_label_control": { + "type": "label", + "color": "$generic_button_text_color", + "size": [ "100% - 4px", "default" ], + "text_alignment": "center", + "layer": 1, + "text": "#keymapping_name", + "bindings": [ + { + "binding_name": "#keymapping_name", + "binding_type": "collection", + "binding_collection_name": "$keymapping_collection" + } + ] + } + } + ] + } + }, + { + "keymapping_button_0@controls_section.image_binding_button": { + "$button_tts_header": "#audible_keymapping_name", + "size": [ "20% + 1px", "100% - 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$keymapping_collection" + }, + { + "binding_name": "#audible_keymapping_name", + "binding_type": "collection", + "binding_collection_name": "$keymapping_collection" + } + ] + } + }, + { + "keymapping_button_1@controls_section.reset_binding_button": { + "size": [ "15% + 1px", "100% - 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$pressed_button_name": "button.reset_binding", + "$button_tts_header": "accessibility.settings.reset", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$keymapping_collection" + } + ] + } + } + ] + }, + + "gamepad_mapping_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "grid_item_template": "controls_section.gamepad_mapping_item", + "grid_dimension_binding": "$keymapping_grid_dimension", + "collection_name": "$keymapping_collection", + "anchor_to": "top_right", + "anchor_from": "top_right", + "bindings": [ + { + "binding_name": "$keymapping_grid_dimension" + } + ] + }, + + // Keyboard and Mouse button & section + + "keyboard_and_mouse_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "keyboard_and_mouse_button_toggle", + "$glyph_texture": "textures/ui/keyboard_and_mouse_glyph", + "$glyph_color_texture": "textures/ui/keyboard_and_mouse_glyph_color", + "$glyph_size": [ 19, 9 ], + "$button_text": "options.keyboardAndMouse", + "$toggle_property_bag": { + "#panel_title": "options.keyboardAndMouseSettings" + } + }, + + "keyboard_and_mouse_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "$keymapping_grid_dimension": "#keyboard_standard_grid_dimension", + "$keymapping_collection": "keyboard_standard_collection", + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "keyboard_and_mouse_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "option_slider_0@settings_common.option_slider": { + "$option_label": "#keyboard_mouse_sensitivity_slider_label", + "$slider_name": "keyboard_mouse_sensitivity", + "$slider_value_binding_name": "#keyboard_mouse_sensitivity", + "$slider_tts_text_value": "#keyboard_mouse_sensitivity_text_value", + "$option_enabled_binding_name": "#keyboard_mouse_sensitivity_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_slider_damen@settings_common.option_slider": { + "$option_label": "#spyglass_mouse_dampening_slider_label", + "$slider_name": "spyglass_mouse_dampening", + "$slider_value_binding_name": "#spyglass_mouse_dampening", + "$slider_tts_text_value": "#spyglass_mouse_dampening_text_value", + "$option_enabled_binding_name": "#keyboard_mouse_sensitivity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_slider_1@settings_common.option_slider": { + "ignored": "(not $is_holographic)", + "$option_label": "#vr_ui_mouse_sensitivity_slider_label", + "$slider_name": "vr_ui_mouse_sensitivity", + "$slider_value_binding_name": "#vr_ui_mouse_sensitivity", + "$slider_tts_text_value": "#vr_ui_mouse_sensitivity_text_value", + "$option_enabled_binding_name": "#vr_ui_mouse_sensitivity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_toggle_0@settings_common.option_toggle": { + "$option_label": "options.invertYAxis", + "$option_binding_name": "#keyboard_mouse_invert_y_axis", + "$option_enabled_binding_name": "#keyboard_mouse_invert_y_axis_enabled", + "$toggle_name": "keyboard_mouse_invert_y_axis", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_1@settings_common.option_toggle": { + "$option_label": "options.autojump", + "$option_binding_name": "#keyboard_mouse_autojump", + "$option_enabled_binding_name": "#keyboard_mouse_autojump_enabled", + "$toggle_name": "keyboard_mouse_autojump", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_2@settings_common.option_toggle": { + "ignored": true, // Remove this line when Options::TOGGLE_CROUCH actually affects crouch behavior (User Story 30117) + "$option_label": "options.toggleCrouch", + "$option_binding_name": "#keyboard_mouse_toggle_crouch", + "$option_enabled_binding_name": "#keyboard_mouse_toggle_crouch_enabled", + "$toggle_name": "keyboard_mouse_toggle_crouch" + } + }, + { + "option_toggle_full_keyboard_gameplay@settings_common.option_toggle": { + "$option_label": "options.fullKeyboardGameplay", + "$option_binding_name": "#keyboard_show_full_keyboard_options", + "$option_enabled_binding_name": "#keyboard_show_full_keyboard_options_enabled", + "$toggle_name": "keyboard_show_full_keyboard_options", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_show_keyboard_prompts@settings_common.option_toggle": { + "ignored": "(not $education_edition)", + "$option_label": "options.showKeyboardPrompts", + "$option_binding_name": "#show_keyboard_prompts", + "$option_enabled_binding_name": "#hint_toggles_enabled", + "$toggle_name": "show_keyboard_prompts", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_show_learning_prompts@settings_common.option_toggle": { + "ignored": "(not $education_edition)", + "$option_label": "options.showLearningPrompts", + "$option_binding_name": "#show_learning_prompts", + "$option_enabled_binding_name": "#hint_toggles_enabled", + "$toggle_name": "show_learning_prompts", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + // Section that shows the keymappings for the standard keyboard layout + "keyboard_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + // Hide this section when another keyboard type/layout is enabled + "binding_name": "#keyboard_show_standard_keyboard_options", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "option_group_label@settings_common.option_group_label": { + "$text": "options.keyboardLayout" + } + }, + { + "keyboard_keymapping_grid@controls_section.keymapping_grid": {} + }, + { + "control_alt_chords_standard_keyboard_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + // Show full keyboard section when the full keyboard toggle is enabled + "binding_name": "#show_standard_copy_coordinates_keys", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "option_group_label@settings_common.option_group_label": { + "$text": "options.control_alt_keybinds_section" + } + }, + { + "control_alt_chord_keymapping_grid@controls_section.keymapping_grid": { + "$keymapping_grid_dimension": "#keyboard_standard_control_alt_chord_grid_dimension", + "$keymapping_collection": "keyboard_standard_control_alt_chord_collection" + } + } + ] + } + } + ] + } + }, + { + // Section that shows the keymappings for the full keyboard layout + "full_keyboard_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + // Show full keyboard section when the full keyboard toggle is enabled + "binding_name": "#keyboard_show_full_keyboard_options", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "option_slider_smooth_rotation_speed@settings_common.option_slider": { + "$option_label": "#keyboard_smooth_rotation_speed_slider_label", + "$slider_name": "keyboard_smooth_rotation_speed", + "$slider_value_binding_name": "#keyboard_smooth_rotation_speed", + "$slider_tts_text_value": "#keyboard_smooth_rotation_speed_text_value", + "$option_enabled_binding_name": "#keyboard_smooth_rotation_speed_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "full_keyboard_label@settings_common.option_group_label": { + "$text": "options.fullKeyboardLayout" + } + }, + { + "keyboard_full_keymapping_grid@controls_section.full_keymapping_grid": {} + }, + { + "control_alt_chords_full_keyboard_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + // Show full keyboard section when the full keyboard toggle is enabled + "binding_name": "#show_full_copy_coordinates_keys", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "option_group_label@settings_common.option_group_label": { + "$text": "options.control_alt_keybinds_section" + } + }, + { + "control_alt_chord_keymapping_grid@controls_section.keymapping_grid": { + "$keymapping_grid_dimension": "#keyboard_full_control_alt_chord_grid_dimension", + "$keymapping_collection": "keyboard_full_control_alt_chord_collection" + } + } + ] + } + } + ] + } + }, + { + "reset_button@settings_common.action_button": { + "$pressed_button_name": "button.reset_keyboard_bindings", + "$button_text": "controllerLayoutScreen.resetAllBindings", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + // Controller button & section + + "controller_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "controller_button_toggle", + "$glyph_texture": "textures/ui/controller_glyph", + "$glyph_color_texture": "textures/ui/controller_glyph_color", + "$glyph_size": [ 21, 14 ], + "$button_text": "options.controller", + "$toggle_property_bag": { + "#panel_title": "options.controllerSettings" + } + }, + + "controller_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$keymapping_grid_dimension": "#gamepad_grid_dimension", + "$keymapping_collection": "gamepad_collection", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "controller_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "option_slider_0@settings_common.option_slider": { + "ignored": "($is_holographic and not $is_living_room_mode)", + "$option_label": "#controller_sensitivity_slider_label", + "$slider_name": "controller_sensitivity", + "$slider_value_binding_name": "#controller_sensitivity", + "$slider_tts_text_value": "#controller_sensitivity_text_value", + "$option_enabled_binding_name": "#controller_sensitivity_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_slider_damen@settings_common.option_slider": { + "$option_label": "#spyglass_gamepad_dampening_slider_label", + "$slider_name": "spyglass_gamepad_dampening", + "$slider_value_binding_name": "#spyglass_gamepad_dampening", + "$slider_tts_text_value": "#spyglass_gamepad_dampening_text_value", + "$option_enabled_binding_name": "#keyboard_mouse_sensitivity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_slider_1@settings_common.option_slider": { + "ignored": "($is_living_room_mode or not $is_holographic)", + "$option_label": "#vr_sensitivity_slider_label", + "$slider_name": "vr_sensitivity", + "$slider_value_binding_name": "#vr_sensitivity", + "$slider_tts_text_value": "#vr_sensitivity_text_value", + "$option_enabled_binding_name": "#vr_sensitivity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_slider_2@settings_common.option_slider": { + "$option_label": "#vr_roll_turn_sensitivity_slider_label", + "$slider_name": "vr_roll_turn_sensitivity", + "$slider_value_binding_name": "#vr_roll_turn_sensitivity", + "$slider_tts_text_value": "#vr_roll_turn_sensitivity_text_value", + "$option_enabled_binding_name": "#vr_roll_turn_sensitivity_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#vr_roll_turn_sensitivity_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_toggle_0@settings_common.option_toggle": { + "$option_label": "options.invertYAxis", + "$option_binding_name": "#controller_invert_y_axis", + "$option_enabled_binding_name": "#controller_invert_y_axis_enabled", + "$toggle_name": "controller_invert_y_axis", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_1@settings_common.option_toggle": { + "ignored": "($is_holographic and not $is_living_room_mode)", + "$option_label": "options.autojump", + "$option_binding_name": "#controller_autojump", + "$option_enabled_binding_name": "#controller_autojump_enabled", + "$toggle_name": "controller_autojump", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle9@settings_common.option_toggle": { + "$option_label": "options.hidetooltips", + "$option_binding_name": "#hide_tooltips", + "$option_enabled_binding_name": "#hint_toggles_enabled", + "$toggle_name": "hide_tooltips", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle10@settings_common.option_toggle": { + "$option_label": "options.hidegamepadcursor", + "$option_binding_name": "#hide_gamepad_cursor", + "$option_enabled_binding_name": "#hide_gamepad_cursor_enabled", + "$toggle_name": "hide_gamepad_cursor", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_11@settings_common.option_toggle": { + "$option_label": "options.clearhotbar", + "$option_binding_name": "#controller_clear_hotbar", + "$option_enabled_binding_name": "#controller_clear_hotbar_enabled", + "$toggle_name": "controller_clear_hotbar", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "gamepad_swap_ab@settings_common.option_toggle": { + "$option_label": "#swap_gamepad_ab", + "$option_binding_name": "#swap_gamepad_ab_buttons", + "$option_enabled_binding_name": "#swap_gamepad_ab_buttons_enabled", + "$toggle_name": "swap_gamepad_ab_buttons", + "$toggle_tts_header": "#swap_gamepad_ab_tts", + "$toggle_tts_header_binding_type": "global", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + }, + { + "binding_name": "#swap_gamepad_ab_tts" + } + ] + } + }, + { + "gamepad_swap_xy@settings_common.option_toggle": { + "$option_label": "#swap_gamepad_xy", + "$option_binding_name": "#swap_gamepad_xy_buttons", + "$option_enabled_binding_name": "#swap_gamepad_xy_buttons_enabled", + "$toggle_name": "swap_gamepad_xy_buttons", + "$toggle_tts_header": "#swap_gamepad_xy_tts", + "$toggle_tts_header_binding_type": "global", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + }, + { + "binding_name": "#swap_gamepad_xy_tts" + } + ] + } + }, + { + "gamepad_cursor_sensitivity_option_slider@settings_common.option_slider": { + "$option_label": "#gamepad_cursor_sensitivity_slider_label", + "$slider_name": "gamepad_cursor_sensitivity", + "$slider_value_binding_name": "#gamepad_cursor_sensitivity", + "$slider_tts_text_value": "#gamepad_cursor_sensitivity_text_value", + "$option_enabled_binding_name": "#gamepad_cursor_sensitivity_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_toggle_2@settings_common.option_toggle": { + "ignored": "($is_living_room_mode or not $is_holographic)", + "$option_label": "options.vrAutojump", + "$option_binding_name": "#vr_autojump", + "$option_enabled_binding_name": "#vr_autojump_enabled", + "$toggle_name": "vr_autojump", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_3@settings_common.option_toggle": { + "ignored": true, // Remove this line when Options::TOGGLE_CROUCH actually affects crouch behavior (User Story 30117) + "$option_label": "options.toggleCrouch", + "$option_binding_name": "#controller_toggle_crouch", + "$option_enabled_binding_name": "#controller_toggle_crouch_enabled", + "$toggle_name": "controller_toggle_crouch", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_4@settings_common.option_toggle": { + "ignored": true, // TODO: Remove this line when we add in haptic feedback (User Story 41617) + "$option_label": "options.destroyvibration", + "$option_binding_name": "#controller_destroy_vibration", + "$option_enabled_binding_name": "#controller_destroy_vibration_enabled", + "$toggle_name": "controller_destroy_vibration", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_toggle_5@settings_common.option_toggle": { + "ignored": true, // TODO: Remove this line when we add in haptic feedback (User Story 41617) + "$option_label": "options.splitvibration", + "$option_binding_name": "#controller_split_vibration", + "$option_enabled_binding_name": "#controller_split_vibration_enabled", + "$toggle_name": "controller_split_vibration", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + + { + "option_group_label@settings_common.option_group_label": { + "ignored": "$ignore_controller_layout", + "$text": "options.controllerLayout" + } + }, + { + "gamepad_keymapping_grid@controls_section.gamepad_mapping_grid": { + "ignored": "$ignore_controller_layout" + } + }, + { + "reset_button@settings_common.action_button": { + "$pressed_button_name": "button.reset_gamepad_bindings", + "$button_text": "controllerLayoutScreen.resetAllBindings", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + // Touch button & section + + "touch_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "touch_button_toggle", + "$glyph_texture": "textures/ui/touch_glyph", + "$glyph_color_texture": "textures/ui/touch_glyph_color", + "$glyph_size": [ 20, 14 ], + "$button_text": "options.touch", + "$toggle_property_bag": { + "#panel_title": "options.touchSettings" + } + }, + + "touch_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "touch_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "common_touch_settings": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "option_enable_new_touch_control_schemes_button@settings_common.option_toggle": { + "$option_label": "options.enableNewTouchControlSchemes", + "$option_binding_name": "#enable_new_touch_control_schemes", + "$option_enabled_binding_name": "#enable_new_touch_control_schemes_enabled", + "$toggle_name": "enable_new_touch_control_schemes", + "bindings": [ + { + "binding_name": "#new_touch_control_schemes_preview_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "control_scheme_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_label": { + "type": "label", + "color": "$body_text_color", + "text": "options.controlMode.title" + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", "5px" ] + } + }, + { + "image_and_button": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "images": { + "type": "panel", + "size": [ "49%", "50%x" ], + "controls": [ + { + "touch_image": { + "type": "image", + "texture": "textures/ui/thumbnail_touch", + "bindings": [ + { + "binding_name": "#touch_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "crosshair_image": { + "type": "image", + "texture": "textures/ui/thumbnail_crosshair", + "bindings": [ + { + "binding_name": "#crosshair_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "classic_image": { + "type": "image", + "texture": "textures/ui/thumbnail_classic", + "bindings": [ + { + "binding_name": "#classic_selected", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "1%", "1px" ] + } + }, + { + "scheme_button_section": { + "type": "panel", + "size": [ "50%", "100%sm" ], + "controls": [ + { + "caption": { + "type": "stack_panel", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "100%" ], + "controls": [ + { + "selected_label": { + "type": "label", + "font_scale_factor": 0.9, + "color": "$body_text_color", + "text": "options.controlMode.Selected" + } + }, + { + "selected_control": { + "type": "label", + "font_scale_factor": 0.9, + "size": [ "100%", "fill" ], + "color": "$body_text_color", + "text": "#selected_control_scheme", + "bindings": [ + { + "binding_name": "#selected_control_scheme_name", + "binding_name_override": "#selected_control_scheme" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", "3px" ] + } + }, + { + "select_control_mode@settings_common.action_button": { + "$pressed_button_name": "button.select_control_mode", + "$button_text": "options.controlMode.selectControlMode", + "size": [ "100%", 30 ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle" + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", "5px" ] + } + } + ], + "bindings": [ + { + "binding_name": "#new_touch_control_schemes_settings", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_resizable_ui@settings_common.option_toggle": { + "$option_label": "options.resizableUI", + "$option_binding_name": "#resizable_ui", + "$option_enabled_binding_name": "#resizable_ui_enabled", + "$toggle_name": "resizable_ui" + } + }, + { + "modify_control_layout_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "modify_control_layout_button@settings_common.action_button": { + "$pressed_button_name": "button.modify_control_layout", + "$button_text": "hudScreen.controlCustomization.customiseControls", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "size": [ "100%", 30 ], + "bindings": [ + { + "binding_name": "#modify_layout_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "customize_tooltip_option@controls_section.customize_tooltip_option": {} + }, + { + "padding": { + "type": "panel", + "size": [ "100%", "5px" ] + } + } + ], + "bindings": [ + { + "binding_name": "#resizable_ui_active", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "option_slider_0@settings_common.option_slider": { + "$option_label": "#touch_sensitivity_slider_label", + "$slider_name": "touch_sensitivity", + "$slider_value_binding_name": "#touch_sensitivity", + "$slider_tts_text_value": "#touch_sensitivity_text_value", + "$option_enabled_binding_name": "#touch_sensitivity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_slider_damen@settings_common.option_slider": { + "$option_label": "#spyglass_touch_dampening_slider_label", + "$slider_name": "spyglass_touch_dampening", + "$slider_value_binding_name": "#spyglass_touch_dampening", + "$slider_tts_text_value": "#spyglass_touch_dampening_text_value", + "$option_enabled_binding_name": "#touch_sensitivity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_show_action_button@settings_common.option_toggle": { + "$option_label": "options.showActionButton", + "$option_binding_name": "#show_action_button", + "$option_enabled_binding_name": "#show_action_button_enabled", + "$toggle_name": "show_action_button", + "bindings": [ + { + "binding_name": "#touch_controls_v2_crosshair_mode", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_show_block_select_button@settings_common.option_toggle": { + "ignored": "$education_edition", + "$option_label": "options.showBlockSelectButton", + "$option_binding_name": "#show_block_select_button", + "$option_enabled_binding_name": "#show_block_select_button_enabled", + "$toggle_name": "show_block_select_button", + "$has_option_description": true, + "$option_description": "options.showBlockSelectButton.message" + } + }, + { + "option_toggle_left_handed@settings_common.option_toggle": { + "$option_label": "options.lefthanded", + "$option_binding_name": "#left_handed", + "$option_enabled_binding_name": "#left_handed_enabled", + "$toggle_name": "left_handed" + } + }, + { + "option_toggle_auto_jump@settings_common.option_toggle": { + "$option_label": "options.autojump", + "$option_binding_name": "#touch_autojump", + "$option_enabled_binding_name": "#touch_autojump_enabled", + "$toggle_name": "touch_autojump" + } + }, + { + "option_bool_sprint_on_movement@settings_common.option_toggle": { + "$option_label": "options.sprintOnMovement", + "$option_binding_name": "#sprint_on_movement", + "$option_enabled_binding_name": "#sprint_on_movement_enabled", + "$toggle_name": "sprint_on_movement", + "bindings": [ + { + "binding_name": "#touch_controls_v2", + "binding_name_override": "#visible" + } + ] + } + }, + { + "joystick_visibility_dropdown@settings_common.option_dropdown": { + "$option_label": "options.joystickVisibilityOption", + "$dropdown_content": "controls_section.joystick_visibility_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "joystick_visibility_dropdown", + "$option_enabled_binding_name": "#joystick_visibility_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#joystick_visibility_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ], + "bindings": [ + { + "binding_name": "#touch_controls_v2", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_slider_thumbstick_opacity@settings_common.option_slider": { + "$option_label": "#thumbstick_opacity_slider_label", + "$slider_name": "thumbstick_opacity", + "$slider_value_binding_name": "#thumbstick_opacity", + "$slider_tts_text_value": "#thumbstick_opacity_text_value", + "$option_enabled_binding_name": "#thumbstick_opacity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#is_thumbstick_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sneak_dropdown@settings_common.option_dropdown": { + "$option_label": "options.sneakOption", + "$dropdown_content": "controls_section.sneak_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "sneak_dropdown", + "$option_enabled_binding_name": "#sneak_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#sneak_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ], + "bindings": [ + { + "binding_name": "#touch_controls_v2", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_slider_1@settings_common.option_slider": { + "$option_label": "#button_size_slider_label", + "$slider_name": "button_size", + "$slider_value_binding_name": "#button_size", + "$slider_tts_text_value": "#button_size_text_value", + "$option_enabled_binding_name": "#button_size_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_toggle_destroy_vibration@settings_common.option_toggle": { + "$option_label": "options.destroyvibration", + "$option_binding_name": "#touch_destroy_vibration", + "$option_enabled_binding_name": "#touch_destroy_vibration_enabled", + "$toggle_name": "touch_destroy_vibration" + } + }, + { + "option_toggle_split_vibration@settings_common.option_toggle": { + "$option_label": "options.splitvibration", + "$option_binding_name": "#touch_split_vibration", + "$option_enabled_binding_name": "#touch_split_vibration_enabled", + "$toggle_name": "touch_split_vibration" + } + }, + { + "option_creative_delayed_block_breaking@settings_common.option_toggle": { + "$option_label": "options.creativeDelayedBlockBreaking", + "$option_binding_name": "#creative_delayed_block_breaking", + "$option_enabled_binding_name": "#creative_delayed_block_breaking_enabled", + "$toggle_name": "creative_delayed_block_breaking", + "bindings": [ + { + "binding_name": "(not #crosshair_action_button_on)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_toggle_invert_y@settings_common.option_toggle": { + "$option_label": "options.invertYAxis", + "$option_binding_name": "#touch_invert_y_axis", + "$option_enabled_binding_name": "#touch_invert_y_axis_enabled", + "$toggle_name": "touch_invert_y_axis" + } + }, + { + "option_always_highlight_hovering_box_in_crosshair@settings_common.option_toggle": { + "$option_label": "options.alwaysHighlightHoveringBoxInCrosshair", + "$option_binding_name": "#always_highlight_hovering_box_in_crosshair", + "$option_enabled_binding_name": "#always_highlight_hovering_box_in_crosshair_enabled", + "$toggle_name": "always_highlight_hovering_box_in_crosshair", + "bindings": [ + { + "binding_name": "#touch_controls_v2_crosshair_mode", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_toggle_use_touchpad@settings_common.option_toggle": { + "$option_label": "options.usetouchpad", + "$option_binding_name": "#split_controls", + "$option_enabled_binding_name": "#split_controls_enabled", + "$toggle_name": "split_controls", + "bindings": [ + { + "binding_name": "(not #touch_controls_v2)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_toggle_swap_jump_and_sneak@settings_common.option_toggle": { + "$option_label": "options.swapJumpAndSneak", + "$option_binding_name": "#swap_jump_and_sneak", + "$option_enabled_binding_name": "#swap_jump_and_sneak_enabled", + "$toggle_name": "swap_jump_and_sneak", + "bindings": [ + { + "binding_name": "(not #touch_controls_v2)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "hotbar_only_touch_toggle@settings_common.option_toggle": { + "$option_label": "options.hotbarOnlyTouch", + "$option_binding_name": "#hotbar_only_touch", + "$option_enabled_binding_name": "#hotbar_only_touch_enabled", + "$toggle_name": "hotbar_only_touch" + } + } + ] + } + }, + { + "reset_button@settings_common.action_button": { + "$pressed_button_name": "button.reset_touch_bindings", + "$button_text": "controllerLayoutScreen.resetAllBindings", + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + } + ] + }, + + "joystick_visibility_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#joystick_visibility_visible", + "$radio_label_text": "options.joystickVisibilityOption.visibleJoystick" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#joystick_visibility_hidden", + "$radio_label_text": "options.joystickVisibilityOption.hiddenJoystick" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#joystick_visibility_hidden_when_unused", + "$radio_label_text": "options.joystickVisibilityOption.hiddenJoystickWhenUnused" + } + } + ] + }, + + "sneak_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sneak_toggle", + "$radio_label_text": "options.sneakOption.toggle" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sneak_hold", + "$radio_label_text": "options.sneakOption.hold" + } + } + ] + }, + + "customize_tooltip_option_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "customize_tooltip_option_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -30 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "#customize_tooltip_option_visible", + "$tooltip_text_binding_name": "#customize_tooltip_option_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "customize_tooltip_option": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "customize_tooltip_option_image@controls_section.customize_tooltip_option_image": { + "offset": [ -14, -20 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "button_mappings": [ + { + "to_button_id": "button.customize_tooltip_option_is_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { + "customize_tooltip_option_popup@controls_section.customize_tooltip_option_popup": {} + } + ], + "bindings": [ + { + "binding_name": "#resizable_tooltip_enable", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/settings_sections/general_section.json b/resource_pack/ui/settings_sections/general_section.json new file mode 100644 index 0000000..c9fb0ea --- /dev/null +++ b/resource_pack/ui/settings_sections/general_section.json @@ -0,0 +1,11867 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "general_section", + + // GENERAL button & section + "general_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "general_button_toggle", + "$glyph_texture": "textures/ui/world_glyph", + "$glyph_color_texture": "textures/ui/world_glyph_color", + "$glyph_size": [ 11, 12 ], + "$button_text": "options.general", + "$toggle_property_bag": { + "#panel_title": "options.generalTitle" + } + }, + + "general_tab_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$spatialPatternsPadding": [ "100%", 8 ], + "$paddingLineDivider": [ "100%", 16 ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "general_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "network_label_header": { + "type": "label", + "text": "options.networkSettings", + "color": "$sub_header_text_color" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingCrossPlatform": { + "ignored": "(not $supports_cross_platform_play_toggle)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "cross_platform_enabled_toggle@settings_common.option_toggle": { + "ignored": "(not $supports_cross_platform_play_toggle)", + "$option_label": "options.crossPlatformPlay", + "$option_binding_name": "#crossplatform_toggle", + "$option_enabled_binding_name": "#crossplatform_toggle_enabled", + "$toggle_name": "crossplatform_toggle" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingCellularData": { + "ignored": "($is_console or $is_settopbox or $win10_edition or $osx_edition)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "mobile_data_option_toggle@settings_common.option_toggle": { + "ignored": "($is_console or $is_settopbox or $win10_edition or $osx_edition)", + "$option_label": "options.allowCellularData", + "$option_binding_name": "#allow_cellular_data", + "$option_enabled_binding_name": "#allow_cellular_data_enabled", + "$toggle_name": "allow_cellular_data", + "$has_option_description": true, + "$option_description": "options.allowCellularData.message" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingWebSockets": { + "ignored": "($console_edition)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "websockets_enabled_toggle@settings_common.option_toggle": { + "ignored": "($console_edition)", + "$option_label": "options.websocketsEnabled", + "$option_binding_name": "#websockets_enabled", + "$option_enabled_binding_name": "#websockets_enabled_enabled", + "$toggle_name": "websockets_enabled" + } + }, + { + "websocket_encryption_toggle@settings_common.option_toggle": { + "ignored": "($console_edition)", + "$option_label": "options.websocketEncryption", + "$option_binding_name": "#websocket_encryption", + "$option_enabled_binding_name": "#websocket_encryption_enabled", + "$toggle_name": "websocket_encryption", + "bindings": [ + { + "binding_name": "#websocket_encryption_visible", + "binding_name_override": "#visible" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingAutoUpdate": { + "ignored": "($is_console or $is_settopbox or $win10_edition or $osx_edition or $education_edition)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "auto_update_mode_dropdown@settings_common.option_dropdown": { + "ignored": "($is_console or $is_settopbox or $win10_edition or $osx_edition or $education_edition)", + "$option_label": "options.autoUpdateMode", + "$dropdown_content": "general_section.auto_update_mode_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "auto_update_mode_dropdown", + "$options_dropdown_toggle_label_binding": "#auto_update_mode_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingAutoUpdateToggle": { + "ignored": "((not $is_console and not $is_settopbox and not $win10_edition and not $osx_edition) or $nx_os)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "auto_update_enabled_toggle@settings_common.option_toggle": { + "ignored": "((not $is_console and not $is_settopbox and not $win10_edition and not $osx_edition) or $nx_os)", + "$option_label": "options.autoUpdateEnabled", + "$option_binding_name": "#auto_update_enabled", + "$toggle_name": "auto_update_enabled" + } + }, + + { + "paddingGameTipsFeature": { + "type": "panel", + "size": "$spatialPatternsPadding", + "bindings": [ + { + "binding_name": "#tutorial_toggle_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "tutorial_toggle@settings_common.option_toggle": { + "$option_label": "options.tutorial", + "$option_binding_name": "#tutorial_option_toggle", + "$toggle_name": "tutorial_option_toggle", + "$has_option_description": true, + "$option_description": "options.tutorialHint", + "bindings": [ + { + "binding_name": "#tutorial_toggle_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "tutorial_animation_toggle@settings_common.option_toggle": { + "$option_label": "options.tutorial_show_animation", + "$option_binding_name": "#tutorial_show_animations_toggle", + "$toggle_name": "tutorial_show_animations_toggle", + "bindings": [ + { + "binding_name": "#edu_show_animation_toggle", + "binding_name_override": "#visible" + }, + { + "binding_name": "#gametips_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + + { + "tutorial_restart_button@settings_common.action_button": { + "$pressed_button_name": "button.tutorial_restart", + "$button_text": "options.restartTutorial", + "bindings": [ + { + "binding_name": "#tutorial_toggle_enabled", + "binding_name_override": "#visible" + }, + { + "binding_name": "#gametips_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingTrustedSkins": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "only_allow_trusted_skins_toggle@settings_common.option_toggle": { + "$option_label": "options.onlyTrustedSkinsAllowed", + "$option_binding_name": "#only_trusted_skins_allowed", + "$option_enabled_binding_name": "#only_trusted_skins_allowed_enabled", + "$toggle_name": "only_trusted_skins_allowed" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingFilterProfanity": { + "ignored": "(not $build_platform_UWP or $disable_toggle_filter_profanity)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "filter_profanity_toggle@settings_common.option_toggle": { + "ignored": "(not $build_platform_UWP or $disable_toggle_filter_profanity)", + "$option_label": "options.filterProfanity", + "$option_binding_name": "#filter_profanity", + "$option_enabled_binding_name": "#filter_profanity_enabled", + "$toggle_name": "filter_profanity", + "layer": 1, + "controls": [ + { "filter_profanity_option@general_section.filter_profanity_option": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + } + }, + + { + "pause_label_header": { + "type": "label", + "text": "options.pauseHeader", + "color": "$sub_header_text_color", + "bindings": [ + { + "binding_name": "#pause_toggle_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "paddingPauseFeature": { + "type": "panel", + "size": "$spatialPatternsPadding", + "bindings": [ + { + "binding_name": "#pause_toggle_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "pause_toggle@settings_common.option_toggle": { + "$option_label": "options.pauseHint", + "$option_binding_name": "#pause_option_toggle", + "$toggle_name": "pause_option_toggle", + "bindings": [ + { + "binding_name": "#pause_toggle_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingLinkEduSupport": { + "ignored": "(not $education_edition or $is_holographic or $fire_tv)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "link_button@settings_common.link_button": { + "ignored": "(not $education_edition or $is_holographic or $fire_tv)", + "$button_text": "options.goToFeedbackWebsite", + "property_bag": { + "#hyperlink": "https://aka.ms/minecraftedusupport" + } + } + }, + + { + "paddingDividerSustainability": { + "type": "panel", + "size": "$paddingLineDivider" + } + }, + + { + "ecomode_label_header": { + "type": "label", + "text": "options.ecoMode", + "color": "$sub_header_text_color" + } + }, + + { + "paddingEcoMode": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "ecomode_enabled_toggle@settings_common.option_toggle": { + "$option_label": "options.enableEcoMode", + "$option_binding_name": "#ecomode_toggle", + "$option_enabled_binding_name": "#ecomode_toggle_enabled", + "$toggle_name": "ecomode_toggle" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingDividerTermsCreditsAttribution": { + "type": "panel", + "size": "$paddingLineDivider" + } + }, + + { + "dividerTermsCreditsAttribution": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingDividerTermsCreditsAttributionAfter": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingTermsNConditions": { + "ignored": "($is_holographic or $fire_tv or not $thirdpartyconsole)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "terms_and_conditions_link_button@settings_common.link_button": { + "ignored": "($is_holographic or $fire_tv or not $thirdpartyconsole)", + "$button_text": "options.termsAndConditions", + "bindings": [ + { + "binding_name": "#terms_and_conditions_hyperlink", + "binding_name_override": "#hyperlink", + "binding_type": "global" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingTermsNConditionsPopUp": { + "ignored": "((not $is_holographic and not $fire_tv) or not $thirdpartyconsole)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "terms_and_conditions_content_popup_button@settings_common.action_button": { + "ignored": "((not $is_holographic and not $fire_tv) or not $thirdpartyconsole)", + "$pressed_button_name": "button.terms_and_conditions_popup", + "$button_text": "options.termsAndConditions" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingCreditsButton": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "credits_button@settings_common.action_button": { + "$pressed_button_name": "button.credits", + "$button_text": "options.credits" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingAttribution": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "attribution_link_button@settings_common.link_button": { + "ignored": "($is_holographic or $fire_tv)", + "$button_text": "options.attribution", + "variables": [ + { + "requires": "(not $nx_os)", + "$attribution_button_url": "https://www.minecraft.net/attribution/?hideChrome" + }, + { + "requires": "($nx_os)", + "$attribution_button_url": "https://aka.ms/switchattribution" + } + ], + "property_bag": { + "#hyperlink": "$attribution_button_url" + } + } + }, + { + "attribution_popup_button@settings_common.action_button": { + "ignored": "(not $is_holographic and not $fire_tv)", + "$pressed_button_name": "button.attribution_popup", + "$button_text": "options.attribution" + } + }, + + { + "paddingfeedback": { + "ignored": "($gear_vr or $fire_tv or $nx_os or not $supports_xbl_achievements or not $feedback_visible)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "feedback_link_button@settings_common.link_button": { + "ignored": "($gear_vr or $fire_tv or $nx_os or not $supports_xbl_achievements or not $feedback_visible)", + "$button_text": "options.helpCenter", + "$button_tts_header": "accessibility.start.feedback", + "$pressed_button_name": "button.feedback_link" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingLicenses": { + "type": "panel", + "size": "$paddingLineDivider" + } + }, + + { + "dividerLicenses": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingLicensesAfter": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingLicensesHeader": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "licenses_label_header": { + "type": "label", + "text": "options.licenses", + "color": "$sub_header_text_color" + } + }, + + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingLicensedContent": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "licensed_content_link_button@settings_common.link_button": { + "ignored": "($is_holographic or $fire_tv or $education_edition)", + "$button_text": "options.licensed_content", + "variables": [ + { + "requires": "(not $nx_os)", + "$licensed_content_button_url": "https://www.minecraft.net/licensed-content/?hideChrome" + }, + { + "requires": "($nx_os)", + "$licensed_content_button_url": "https://aka.ms/switchcontent" + } + ], + "property_bag": { + "#hyperlink": "$licensed_content_button_url" + } + } + }, + { + "licensed_content_popup_button@settings_common.action_button": { + "ignored": "(not $is_holographic and not $fire_tv)", + "$pressed_button_name": "button.licensed_content_popup", + "$button_text": "options.licensed_content", + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingFontLicense": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "font_license_popup_button@settings_common.action_button": { + "$pressed_button_name": "button.font_license_popup", + "$button_text": "options.font_license", + "$focus_override_down": "FOCUS_OVERRIDE_STOP" + } + }, + { + "third_party_copyright_info_label_panel": { + "ignored": "(not $display_copyright_info)", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "spacer_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "copyright_label": { + "type": "label", + "color": "$body_text_color", + "text": "thirdPartyConsole.copyright" + } + }, + { + "spacer_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "copyright_icon": { + "type": "image", + "size": [ 117, 41 ], + "texture": "textures/ui/third_party_copyright" + } + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingSectionDividerContentLog": { + "type": "panel", + "size": "$paddingLineDivider" + } + }, + + { + "build_info_label_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "version_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#version", + "bindings": [ + { + "binding_name": "#version" + } + ] + } + }, + { + "build_id_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#build_id", + "bindings": [ + { + "binding_name": "#build_id" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingVersionLabel": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + { + "network_info_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#network_info", + "bindings": [ + { + "binding_name": "#network_info" + }, + { + "binding_name": "#network_info_visible", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "protocol_version_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#protocol_version", + "bindings": [ + { + "binding_name": "#protocol_version" + } + ] + } + }, + { + "treatment_ids_label": { + "visible": "(not $education_edition)", + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#treatment_ids", + "bindings": [ + { + "binding_name": "#treatment_ids" + } + ] + } + }, + { + "build_date_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#build_date", + "bindings": [ + { + "binding_name": "#build_date" + } + ] + } + }, + { + "world_converter_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#world_conversion_version", + "bindings": [ + { + "binding_name": "#world_conversion_version" + } + ] + } + } + ] + } + } + ] + }, + + // ACCOUNT button & section + + "account_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "account_button_toggle", + "$glyph_texture": "textures/ui/profile_glyph", + "$glyph_color_texture": "textures/ui/profile_glyph_color", + "$glyph_size": [ 11, 12 ], + "$button_text": "options.account", + "$toggle_property_bag": { + "#panel_title": "options.accountTitle" + } + }, + + "view_account_errors_button_content": { + "type": "label", + "size": [ "default", "default" ], + "color": "$dark_body_text_color", + "text": "options.accountErrorButton" + }, + + "switch_accounts_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "padded_icon@common.empty_panel": { + "size": [ "100%c + 10px", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "texture": "textures/ui/switch_accounts", + "size": [ 29, 10 ], + "offset": [ 2, 2 ] + } + } + ] + } + }, + { + "padded_label@common.empty_panel": { + "size": [ "100%c + 6px", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "size": [ "default", "default" ], + "color": "$text_color", + "text": "accounts.switch" + } + } + ] + } + } + ] + }, + "sign_out_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "padded_label@common.empty_panel": { + "size": [ "100%c + 6px", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "size": [ "default", "default" ], + "color": "$text_color", + "text": "accounts.signOut" + } + } + ] + } + } + ] + }, + + "switch_accounts_panel": { + "type": "stack_panel", + "orientation": "vertical", + + "size": [ "100%", "100%c" ], + "controls": [ + { + "name_label": { + "type": "label", + "color": "$main_header_text_color", + "localize": false, + "text": "#ad_account_name", + "bindings": [ + { + "binding_name": "#ad_account_name" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingSwitchAccounts": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "switch_accounts@common_buttons.light_content_button": { + "size": [ "100%", "24px" ], + "enabled": "$is_pregame", + // Smaller size to allow the parent element to act as padding + "$button_size_override": [ "100%", "100% - 4px" ], + "$button_content": "general_section.switch_accounts_button_content", + "$pressed_button_name": "button.switch_accounts" + } + } + ] + }, + + "sign_out_panel": { + "type": "stack_panel", + "orientation": "vertical", + + "size": [ "100%", "100%c" ], + "controls": [ + { + "sign_out@common_buttons.light_content_button": { + "size": [ "100%", "24px" ], + "enabled": "$is_pregame", + // Smaller size to allow the parent element to act as padding + "$button_size_override": [ "100%", "100% - 4px" ], + "$button_content": "general_section.sign_out_button_content", + "$pressed_button_name": "button.sign_out" + } + } + ] + }, + + "sign_out_fail_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "accounts.signOut.fail.title", + "$popup_dialog_escape_button_name": "button.close_sign_out_fail_popup", + "$no_close_button": true, + "$modal_contents": "general_section.sign_out_fail_body_panel", + "$modal_contents_padding": [ 6, 6 ] + }, + + "sign_out_fail_body_panel@edu_common.body_panel": { + "$body_stack": "general_section.sign_out_fail_body_content_stack" + }, + + "sign_out_fail_body_content_stack": { + "type": "stack_panel", + "orientation": "vertical", + "layer": 5, + "size": [ "100%", "100%c" ], + "controls": [ + { + "body_text_centering_panel1@edu_common.vertical_stack_item": { + "controls": [ + { + "body_text1": { + "type": "label", + "font_type": "smooth", + "color": "$body_text_color", + "text": "accounts.signOut.fail.body.line1", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + } + }, + { + "body_text_centering_panel2@edu_common.vertical_stack_item": { + "controls": [ + { + "body_text2": { + "type": "label", + "font_type": "smooth", + "color": "$body_text_color", + "text": "#error_code", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + } + }, + { "padding1@common.empty_panel": { "size": [ "100%sm", 8 ] } }, + { + "learn_more_button@edu_common.underline_button": { + "$single_label_size": [ "default", "default" ], + "$single_line_font_scale_factor": 1, + "$pressed_button_name": "button.learn_more", + "$single_line_label_text": "accounts.signOut.fail.hyperLink.text", + "$font_type": "smooth" + } + }, + { "padding2@common.empty_panel": { "size": [ "100%sm", 4 ] } }, + { + "close_button@common_buttons.light_text_button": { + "size": [ "100%", 24 ], + "$button_text": "gui.close", + "$pressed_button_name": "button.close_sign_out_fail_popup" + } + } + ] + }, + + "account_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$spatialPatternsPadding": [ "100%", 8 ], + "$paddingLineDivider": [ "100%", 16 ], + "$hide_login_button": "($win10_edition or not $is_xboxlive_enabled)", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "account_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "use_edu_remember_me@settings_common.option_toggle": { + "ignored": "$ignore_profile_sso_toggle", + "$option_label": "options.adEduRememberMe", + "$option_binding_name": "#ad_edu_remember_me", + "$toggle_name": "ad_edu_remember_me" + } + }, + { + "paddingUseSSO": { + "ignored": "$ignore_profile_sso_toggle", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "switch_accounts@general_section.switch_accounts_panel": { + "ignored": "$ignore_profile_switch_account_button" + } + }, + { + "sign_out@general_section.sign_out_panel": { + "ignored": "$ignore_profile_sign_out_button" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingNameControls": { + "ignored": "$education_edition", + "type": "panel", + "size": "$spatialPatternsPadding", + "bindings": [ + { + "binding_name": "#can_change_name", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "name_controls@settings_common.option_custom_control": { + "ignored": "$education_edition", + "$option_label": "options.name", + "$control_name": "general_section.name_controls", + "bindings": [ + { + "binding_name": "#can_change_name", + "binding_name_override": "#visible" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingSignInControls": { + "ignored": "$education_edition", + "type": "panel", + "size": "$spatialPatternsPadding", + "bindings": [ + { + "binding_name": "#not_logged_in", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "signin_controls@settings_common.option_custom_control": { + "$control_name": "general_section.signin_controls", + "ignored": "$education_edition", + "bindings": [ + { + "binding_name": "#not_logged_in", + "binding_name_override": "#visible" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingGamerTagControls": { + "type": "panel", + "size": "$spatialPatternsPadding", + "bindings": [ + { + "binding_name": "#logged_in", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "gamertag_controls@settings_common.option_custom_control": { + "$show_option_label": false, + "$control_name": "general_section.gamertag_controls", + "bindings": [ + { + "binding_name": "#logged_in", + "binding_name_override": "#visible" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingClearMSAToken": { + "ignored": "($education_edition or not $is_pregame or not ($thirdpartyconsole or $is_android or $is_ios))", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "clear_msa_token": { + "ignored": "(not ($nx_os and $is_pregame))", + "visible": "($nx_os and $is_pregame)", + "type": "panel", + "size": [ "100%", 32 ], + "controls": [ + { + "clear_msa_token_button@settings_common.action_button": { + "$pressed_button_name": "button.clear_msa_token_button", + "$button_text": "xbox.dev_wrongSandboxSigninFailed.button.clearXbl", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ 0, 2 ], + "bindings": [ + { + "binding_name": "#not_logged_in", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingUnlinkMSAAccount": { + "ignored": "((not $is_pregame) or (not $is_ps4))", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "unlink_msa_account@settings_common.action_button": { + // (never show in game) AND (never show unless its PS4) + "ignored": "((not $is_pregame) or (not $is_ps4))", + "$pressed_button_name": "button.unlink_msa", + "$button_text": "options.unlink_msa.button", + "bindings": [ + { + "binding_name": "#logged_in", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "unlink_msa_account_nx@settings_common.action_button": { + // (never show in game) AND (never show unless its NX) + "ignored": "((not $is_pregame) or (not $nx_os))", + "$pressed_button_name": "button.unlink_msa", + "$button_text": "options.unlink_msa.button", + "bindings": [ + { + "binding_name": "#logged_in_nx_link_toggle", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "paddingDeleteAccount": { + "ignored": "((not $is_pregame) or (not $is_ios))", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + { + "delete_account@settings_common.action_button": { + // (never show in game) AND (never show unless its iOS) + "ignored": "((not $is_pregame) or (not $is_ios))", + "$pressed_button_name": "button.delete_account", + "$button_text": "options.delete_account.button", + "bindings": [ + { + "binding_name": "#logged_in", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "paddingUseRemoteConnect": { + "ignored": "(((not $google_os) and (not $is_ios)) or ($education_edition))", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "remote_connect_toggle@settings_common.option_toggle": { + "ignored": "(((not $google_os) and (not $is_ios)) or ($education_edition))", + "$option_label": "options.useRemoteConnect", + "$option_binding_name": "#use_remote_connect", + "$option_enabled_binding_name": "#use_remote_connect_enabled", + "$toggle_name": "use_remote_connect" + } + }, + + { + "paddingInfoLabels": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + { + "device_id_label": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#device_id", + "bindings": [ + { + "binding_name": "#device_id" + } + ] + } + }, + { + "MinecraftAccount_id_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "size": [ "100%", "default" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "#MinecraftAccount_id", + "bindings": [ + { + "binding_name": "#MinecraftAccount_id" + } + ] + } + } + ] + }, + + "name_controls": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$option_place_holder_text": "options.defaultName", + "$max_text_edit_length": 16, + "$option_binding_name": "#player_name", + "$text_box_name": "player_name_text_box", + "$option_enabled_binding_name": "#player_name_enabled", + "controls": [ + { "option_text_edit_control@settings_common.option_text_edit_control": {} } + ] + }, + + "signin_controls": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "sign_in": { + "ignored": "(not $is_pregame or not $is_xboxlive_enabled)", + "type": "panel", + "size": [ "100%", 32 ], + "controls": [ + { + "action_button@settings_common.action_button": { + "$pressed_button_name": "sign_in_button", + "$button_text": "xbox.signInLong", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ 0, 2 ] + } + } + ] + } + } + ] + }, + + "signin_subscription": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "sign_in": { + "ignored": "(not $is_pregame or not $is_xboxlive_enabled)", + "type": "panel", + "size": [ "100%", 12 ], + "controls": [ + { + "please_signin_label": { + "type": "label", + "color": "$main_header_text_color", + "text": "options.viewSubscriptions.signIn", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + } + ] + }, + + "gamertag_controls": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "offset": [ 0, 1 ], + "$spatialPatternsPadding": [ "100%", 8 ], + "controls": [ + { + "gamertag_label": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 12 ], + "controls": [ + { + "panel_descriptor": { + "type": "panel", + "size": [ "100%c", "100%" ], + "offset": [ 0, 2 ], + "controls": [ + { + "label_descriptor": { + "type": "label", + "color": "$main_header_text_color", + "layer": 1, + "text": "options.gamertag", + "locked_alpha": 0.5 + } + } + ] + } + }, + { + "spacer": { + "type": "panel", + "size": [ 5, 0 ] + } + }, + { + "gamerpic": { + "type": "custom", + "renderer": "profile_image_renderer", + "size": [ 12, 12 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#profile_image_options" + } + ] + } + }, + { + "spacer_2": { + "type": "panel", + "size": [ 5, 0 ] + } + }, + { + "panel_gamertag": { + "type": "panel", + "size": [ "100%c", "100%" ], + "offset": [ 0, 2 ], + "controls": [ + { + "gamertag_label": { + "type": "label", + "color": "$main_header_text_color", + "layer": 1, + "text": "#gamertag_label", + "locked_alpha": 0.5, + "bindings": [ + { + "binding_name": "#gamertag_label" + } + ] + } + } + ] + } + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingXboxAccountButtons": { + "ignored": "($device_must_be_removed_for_xbl_signin or $fire_tv or not $is_pregame or $disable_gamertag_controls)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "xboxlive_deep_link_buttons": { + "ignored": "($device_must_be_removed_for_xbl_signin or $fire_tv or not $is_pregame or $disable_gamertag_controls)", + "type": "panel", + "size": [ "100%", "62px + 8px" ], + "$manage_button_size|default": [ "50% - 1px", 30 ], + "variables": [ + { + "requires": "$is_windows_10_mobile", + "$manage_button_size": [ "100%", 30 ] + } + ], + "controls": [ + { + "change_gamertag_button@settings_common.action_button": { + "ignored": "($is_windows_10_mobile or $is_ios or $is_android)", + "size": [ "50% - 1px", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$pressed_button_name": "change_gamertag_button", + "$button_text": "options.changeGamertag" + } + }, + { + "change_gamertag_button_mobile@settings_common.link_button": { + "ignored": "(not ($is_windows_10_mobile or $is_ios or $is_android))", + "size": [ "50% - 1px", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "$button_text": "options.changeGamertag", + "property_bag": { + "#hyperlink": "https://social.xbox.com/changegamertag" + } + } + }, + { + "manage_account_button@settings_common.action_button": { + "ignored": "($is_ios or $is_android)", + "size": "$manage_button_size", + "anchor_from": "top_right", + "anchor_to": "top_right", + "$pressed_button_name": "manage_account_button", + "$button_text": "options.manageAccount" + } + }, + { + "manage_account_button_mobile@settings_common.link_button": { + "ignored": "(not ($is_ios or $is_android))", + "size": "$manage_button_size", + "anchor_from": "top_right", + "anchor_to": "top_right", + + "$button_text": "options.manageAccount", + "property_bag": { + "#hyperlink": "https://account.xbox.com/Settings" + } + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingManageInvites": { + "ignored": "(not $is_holographic and not $fire_tv and not $thirdpartyconsole)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "manage_invites_popup_button@settings_common.action_button": { + "ignored": "(not $is_holographic and not $fire_tv and not $thirdpartyconsole)", + "$pressed_button_name": "button.manage_invites_popup", + "$button_text": "options.xboxLive.privacyControl", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingXboxSettingsPrivacyControl": { + "ignored": "($is_holographic or $fire_tv or $education_edition or $thirdpartyconsole)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "link_button@settings_common.link_button": { + "ignored": "($is_holographic or $fire_tv or $education_edition or $thirdpartyconsole)", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$button_text": "options.xboxLive.privacyControl", + "$focus_id": "manage_invites", + "$focus_override_right": "manage_invites", + "property_bag": { + "#hyperlink": "https://account.xbox.com/Settings" + } + } + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingSignOut": { + "ignored": "($ms_platform or not $is_pregame or $requires_xbl_signin_to_play)", + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "realms_invites": { + "ignored": "(not $is_realms_enabled or not $is_pregame or $pre_release)", + "type": "panel", + "size": [ "100%", 32 ], + "controls": [ + { + "check_realms_invites_button@settings_common.action_button": { + "$pressed_button_name": "realms_invites_button", + "$button_text": "options.realms.checkInvites", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ 0, 2 ] + } + } + ] + } + }, + + { + "sign_out": { + "ignored": "($ms_platform or not $is_pregame or $requires_xbl_signin_to_play)", + "type": "panel", + "size": [ "100%", 32 ], + "controls": [ + { + "action_button@settings_common.action_button": { + "$pressed_button_name": "sign_out_button", + "$button_text": "xbox.signOutLong", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ 0, 2 ] + } + } + ] + } + }, + + { + "offline_token_authorization": { + "ignored": "(not $is_ps5)", + "type": "panel", + "size": [ "100%", 32 ], + "controls": [ + { + "request_psn_authorization_button@settings_common.action_button": { + "$pressed_button_name": "button.request_offline_token_authorization", + "$button_text": "options.request_offline_token_authorization", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ 0, 2 ] + } + } + ], + "bindings": [ + { + "binding_name": "#needs_offline_token_authorization", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "auto_update_mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "off@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#auto_update_mode_off", + "$radio_label_text": "options.autoUpdateMode.off" + } + }, + { + "wifi@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#auto_update_mode_on_wifi_only", + "$radio_label_text": "options.autoUpdateMode.on.withWifiOnly" + } + }, + { + "cellular@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#auto_update_mode_on_with_cellular", + "$radio_label_text": "options.autoUpdateMode.on.withCellular" + } + } + ] + }, + + //Global Texture Pack button & section + "global_texture_pack_button@resource_packs.resource_packs_section_toggle_base": { + "$toggle_view_binding_name": "global_texture_pack_button_toggle", + "$cycling_icon_path": "#cycling_icon_path_global", + "$cycling_icon_zip": "#cycling_icon_zip_global", + "$cycling_icon_file_system": "#cycling_icon_file_system_global", + "$button_text": "menu.globalpacks", + "$toggle_property_bag": { + "#panel_title": "menu.globalpacks" + } + }, + + "global_texture_pack_section@resource_packs.selected_stack_panel": { + "$selected_pack_items": "#selected_pack_items_global", + "$available_pack_items": "#available_pack_items_global", + "$realms_pack_items": "#realms_pack_items_global", + "$unowned_pack_items": "#unowned_pack_items_global", + "$selected_grid_dimensions": "#selected_grid_dimensions_global", + "$available_grid_dimensions": "#available_grid_dimensions_global", + "$realms_grid_dimensions": "#realms_grid_dimensions_global", + "$unowned_grid_dimensions": "#unowned_grid_dimensions_global", + "$unowned_visible": "#unowned_visible_global", + "$button.selected_pack": "button.selected_pack_global", + "$button.deselected_pack": "button.deselected_pack_global", + "$button.available_pack": "button.available_pack_global", + "$button.realms_pack": "button.realms_pack_global", + "$button.unowned_pack": "button.unowned_pack_global", + "$button.move_left": "button.move_left_global", + "$button.sort_up": "button.sort_up_global", + "$button.sort_down": "button.sort_down_global", + "$button.expand_selected": "button.expand_selected_global", + "$button.expand_available": "button.expand_available_global", + "$button.expand_realms": "button.expand_realms_global", + "$button.expand_unowned": "button.expand_unowned_global", + "$button.store": "button.store_global", + "$button.read_toggle": "button.read_toggle_global", + "$button.report_errors": "button.report_errors_global", + "$bottom_description_text": "resourcePack.description.bottom.global", + "$selected_label_text": "resourcePack.selected.title.packs", + "$available_label_text": "resourcePack.available.title.packs", + "$unowned_label_text": "resourcePack.suggestedContent.title", + "$platform_locked": "#platform_locked_global", + "$view_more_unowned_content_button_text": "resourcePack.suggestedContent.button.viewMore", + "$default_item_texture": "#default_item_texture_global", + "$default_item_file_system": "#default_item_file_system_global", + "$default_item_zip": "#default_item_zip_global", + "$default_item_title": "resourcePack.vanilla.name", + "$default_item_description": "resourcePack.vanilla.description", + "$no_packs_text": "resourcePack.available.none.text", + "$read_more_label": "read_more_label_global", + "$read_less_label": "read_less_label_global", + "$total_size_binding": "#total_size_binding_global", + "$in_game_error_text": "resourcePack.error.ingame.packs", + "$invalid_pack_items": "#invalid_pack_items_global", + "$invalid_grid_dimensions": "#invalid_grid_dimensions_global", + "$button.invalid_pack": "button.invalid_pack_global", + "$button.pack_warning": "button.pack_warning_global", + "$invalid_label_text": "resourcePack.invalid.title.packs", + "$view_in_store": "resourcePack.description.store", + "$errors_text": "resourcePack.errors", + "$warnings_text": "resourcePack.warnings", + "$expired_text": "resourcePack.realmsPlus.expired", + "$top_label_box": false, + "$show_checkbox": false, + "$button.resource_pack_options_exit": "button.resource_pack_options_exit_global", + "$button.pack_settings": "button.pack_settings_global", + "$button.add": "resourcePack.available.add", + "$button.remove": "resourcePack.selected.remove", + "$options_slider_name": "content_tier_slider_global", + "$display_suggested_content_offers": true, + "$suggested_content_offers_collection": "#suggested_offers_collection_global", + "$suggested_content_offers_loading_binding": "#suggested_offers_loading_global", + "$button.more_suggested_content_offers": "button.more_suggested_content_offers_global", + "$button.select_offer": "button.select_offer_global", + "$suggested_content_offers_label_text": "#suggested_offers_title_global", + "$no_available_packs_visibility_binding": "#no_available_packs_visibility_global", + "$no_realms_packs_visibility_binding": "#no_realms_packs_visibility_global", + "$no_unowned_packs_visibility_binding": "#no_unowned_packs_visibility_global", + "$view_more_unowned_content_button_visibility_binding": "#suggested_content_visible_global", + "$addon_stacking_warning_visibility_binding": "#addon_stacking_warning_visible_global", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "global_texture_pack_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + // Storage management button & section + "storage_management_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "storage_management_button_toggle", + "enabled": "(not $trial)", + "visible": "($is_pregame)", + "$glyph_texture": "textures/ui/storageIcon", + "$glyph_color_texture": "textures/ui/storageIconColor", + "$glyph_uv": [ 0, 0 ], + "$glyph_size": [ 17, 16 ], + "variables": [ + { + "requires": "$education_edition", + "$button_text": "menu.eduLocalStorage", + "$toggle_property_bag": { + "#panel_title": "menu.eduLocalStorage" + } + }, + { + "requires": "(not $education_edition)", + "$button_text": "menu.storageManagement", + "$toggle_property_bag": { + "#panel_title": "menu.storageManagement" + } + } + ] + }, + + "storage_management_section@storage_management.storage_main_panel": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "storage_management_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "storage_management_header@storage_management.storage_header_panel": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "storage_management_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "storage_management_footer@storage_management.storage_footer_panel": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "storage_management_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + // EDU Cloud Storage button & section + + "edu_cloud_storage_button@settings_common.section_toggle_base": { + "ignored": "(not $education_edition or not $edu_save_to_cloud_on)", + "visible": "($is_pregame and not $edu_ignore_cloud_storage)", + "$toggle_view_binding_name": "edu_cloud_storage_button_toggle", + "$glyph_texture": "textures/ui/onedrive_pixel_logo_stroke", + "$glyph_color_texture": "textures/ui/onedrive_pixel_logo", + "$glyph_size": [ 20, 14 ], + "$button_text": "menu.eduCloudStorage", + "$toggle_property_bag": { + "#panel_title": "menu.eduCloudStorage" + } + }, + + "edu_cloud_storage_section": { + "type": "stack_panel", + "ignored": "(not $education_edition or not $edu_save_to_cloud_on)", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "edu_cloud_storage_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "spacing1@common.empty_panel": { + "size": [ 0, 2 ] + } + }, + { + "edu_cloud_backup_toggle@settings_common.option_toggle": { + "$option_label": "options.eduCloud.toggleCloud", + "$option_binding_name": "#toggle_edu_cloud_backup", + "$option_enabled_binding_name": "#toggle_edu_cloud_backup_enabled", + "$toggle_name": "toggle_edu_cloud_backup" + } + }, + { + "spacing2@common.empty_panel": { + "size": [ 0, 4 ] + } + }, + { + //TTS border affects all sibilings, so need to split header out so its only sibling of border + "body_wrapper_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%sm + 3px", "100%sm" ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "edu_cloud_storage_body_label": { + "type": "label", + "text": "#edu_cloud_storage_body_label", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#edu_cloud_storage_body_label_text", + "binding_name_override": "#edu_cloud_storage_body_label" + } + ] + } + } + ] + } + }, + { + "spacing3@common.empty_panel": { + "size": [ 0, 4 ] + } + }, + { + "edu_cloud_onedrive_button@common_buttons.light_content_button": { + "size": [ "100%", "24px" ], + "$button_size_override": [ "100%", "100% - 4px" ], + "$button_content": "general_section.edu_cloud_onedrive_button_content", + "$pressed_button_name": "button.onedrive_link" + } + }, + { + "spacing4@common.empty_panel": { + "size": [ 0, 2 ] + } + }, + { + "edu_cloud_learn_more_wrapper_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "learn_more_button@edu_common.underline_button": { + "$single_label_size": [ "default", "default" ], + "$single_line_font_scale_factor": 1, + "$pressed_button_name": "button.cloud_learn_more_link", + "$single_line_label_text": "options.eduCloud.learnMore.text", + "$font_type": "smooth" + } + }, + { + "padded_icon@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "texture": "textures/ui/icon_external_link", + "size": [ 9, 9 ], + "offset": [ 5, 0.6 ] + } + } + ] + } + } + ] + } + } + ] + }, + + //icon and text need to be centered together, so wrapped under 1 panel that dictates horizontal space + "edu_cloud_onedrive_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "controls": [ + { + "padded_label@common.empty_panel": { + "size": [ "100%c", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "size": [ "default", "default" ], + "color": "$text_color", + "text": "options.eduCloud.oneDrive" + } + } + ] + } + }, + { + "padded_icon@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "texture": "textures/ui/icon_external_link", + "color": "$glyph_color", + "size": [ 9, 9 ], + "offset": [ 3, 2 ] + } + } + ] + } + } + ] + }, + + "edu_cloud_onedrive_error_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "edu.cloudError.unauthorized.title", + "$modal_contents": "general_section.edu_cloud_onedrive_error_content", + "$popup_dialog_escape_button_name": "button.close_eduCloud_error_popup", + "$modal_contents_padding": [ 6, 6 ] + }, + + "edu_cloud_onedrive_error_content": { + "type": "stack_panel", + "layer": 5, + "size": [ 300, "100%c" ], + "controls": [ + { + "body_text_centering_panel2@edu_common.vertical_stack_item": { + "controls": [ + { + "body_text2": { + "type": "label", + "font_type": "smooth", + "text": "edu.cloudError.unauthorized.message", + "color": "$body_text_color", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + } + }, + { "padding2@common.empty_panel": { "size": [ "100%sm", 10 ] } }, + { + "learn_more_button@edu_common.underline_button": { + "$single_label_size": [ "default", "default" ], + "$single_line_font_scale_factor": 1, + "$pressed_button_name": "button.eduCloud_learn_more", + "$single_line_label_text": "edu.cloudError.generic.linkDescription", + "$font_type": "smooth" + } + }, + { "padding3@common.empty_panel": { "size": [ "100%sm", 10 ] } }, + { + "ok_button@common_buttons.light_text_button": { + "size": [ "100%", 24 ], + "$button_text": "gui.ok", + "$pressed_button_name": "button.eduCloud_error_ok" + } + } + ] + }, + + // CREATOR button & section + + "creator_button@settings_common.section_toggle_base": { + "ignored": "$ignore_creator_section", + + "$toggle_view_binding_name": "creator_button_toggle", + "$glyph_texture": "textures/ui/creator_glyph", + "$glyph_color_texture": "textures/ui/creator_glyph_color", + "$glyph_size": [ 17, 17 ], + "$button_text": "options.creator", + "$toggle_property_bag": { + "#panel_title": "options.creatorTitle" + } + }, + + "editor_toggle_panel": { + "type": "stack_panel", + "size": [ "100%", "30%x" ], + "orientation": "horizontal", + "ignored": "$is_editor_ignored", + "controls": [ + { + "editor_confirmation_panel": { + "type": "stack_panel", + "size": [ "68%", "100%c" ], + "controls": [ + { + "editor_active_label": { + "type": "label", + "text": "#editor_activity_label", + "color": "$light_button_locked_text_color", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#editor_activity_label" + } + ] + } + }, + { + "toggle_spacer": { + "type": "panel", + "size": [ "100%", "2%x" ] + } + }, + { + "editor_confirmation_section_label": { + "type": "label", + "text": "#editor_label", + "color": "$light_button_locked_text_color", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#editor_label" + } + ] + } + } + ] + } + }, + { + "editor_toggle_spacer": { + "type": "panel", + "size": [ "2%", 10 ] + } + }, + { + "editor_image_panel": { + "type": "stack_panel", + "size": [ "30%", "100%x" ], + "controls": [ + { + "editor_icon": { + "type": "image", + "layer": 2, + "size": [ "100%", "100%" ], + "texture": "textures/ui/enable_editor" + } + } + ] + } + } + ] + }, + + "creator_toggles_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_panel_1": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "copy_coordinate_section_stack_panel": { + "type": "stack_panel", + "visible": "$supports_clipboard_set", + "controls": [ + { + "content_log_section_label": { + "type": "label", + "text": "options.creatorTitle", + "color": "$body_text_color" + } + }, + { + "content_log_section_label_spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "option_content_file_log@settings_common.option_toggle": { + "$option_label": "options.copyCoordinateUI", + "$option_binding_name": "#copy_coordinate_ui", + "$toggle_name": "copy_coordinate_ui" + } + } + ] + } + }, + { + "creator_setting_button": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "bindings": [ + { + "binding_name": "#show_keybinds_button", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "go_to_keybinds@settings_common.action_button": { + "$pressed_button_name": "button.go_to_keybinds", + "$button_text": "options.go_to_keybinds", + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#go_to_keybinds", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "creator_settings_section_label_spacer": { + "type": "panel", + "size": [ "1%", "100%" ] + } + } + ] + } + } + ] + }, + + "debugger_toggles_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#script_debugger_options_enabled", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "section_panel_1": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "primary_panel": { + "type": "stack_panel", + "controls": [ + { + "heading": { + "type": "label", + "text": "options.creator.debuggerHeading", + "color": "$body_text_color" + } + }, + { + "spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "passcode_required_toggle@settings_common.option_toggle": { + "$option_label": "options.creator.debuggerPasscodeRequired", + "$option_binding_name": "#script_debugger_passcode_required", + "$option_enabled_binding_name": "#script_debugger_passcode_required_enabled", + "$toggle_name": "script_debugger_passcode_required" + } + }, + { + "passcode_input@settings_common.option_text_edit": { + "size": [ "100%", 50 ], + "$text_box_name": "script_debugger_passcode", + "$max_text_edit_length": 64, + "$option_label": "options.creator.debuggerPasscode", + "$option_binding_name": "#script_debugger_passcode", + "bindings": [ + { + "binding_name": "#script_debugger_passcode_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "auto_attach_toggle@settings_common.option_toggle": { + "$option_label": "options.creator.debuggerAutoAttach", + "$option_binding_name": "#script_debugger_auto_attach", + "$option_enabled_binding_name": "#script_debugger_auto_attach_enabled", + "$toggle_name": "script_debugger_auto_attach" + } + }, + { + "all_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#script_debugger_auto_attach_options_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "attach_mode_option@settings_common.option_radio_dropdown_group": { + "ignored": "$ms_platform", + "$option_enabled_binding_name": "#script_debugger_auto_attach_enabled", + "$radio_buttons": [ + { + "connect@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#script_debugger_attach_mode_connect", + "$radio_label_text": "options.creator.debuggerConnect" + } + }, + { + "listen@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#script_debugger_attach_mode_listen", + "$radio_label_text": "options.creator.debuggerListen" + } + } + ] + } + }, + { + "host_and_port_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 50 ], + "controls": [ + { + "host_input@settings_common.option_text_edit": { + "size": [ "49.5%", "100%" ], + "$text_box_name": "script_debugger_host", + "$max_text_edit_length": 15, + "$option_label": "options.creator.debuggerHost", + "$option_binding_name": "#script_debugger_host", + "bindings": [ + { + "binding_name": "#script_debugger_attach_mode_connect", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "spacer": { + "type": "panel", + "size": [ "1%", "100%" ] + } + }, + { + "port_input@settings_common.option_text_edit": { + "size": [ "49.5%", "100%" ], + "$text_box_name": "script_debugger_port", + "$max_text_edit_length": 5, + "$option_label": "options.creator.debuggerPort", + "$option_binding_name": "#script_debugger_port" + } + } + ] + } + }, + { + "auto_attach_timeout_slider@settings_common.option_slider": { + "$option_label": "#script_debugger_auto_attach_timeout_slider_label", + "$slider_name": "script_debugger_auto_attach_timeout", + "$slider_value_binding_name": "#script_debugger_auto_attach_timeout", + "$slider_tts_text_value": "#script_debugger_auto_attach_timeout_text_value", + "$option_enabled_binding_name": "#script_debugger_auto_attach_timeout_enabled", + "$slider_steps_binding_name": "#script_debugger_auto_attach_timeout_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "diagnostics_toggles_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#diagnostics_options_enabled", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "section_panel_1": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "primary_panel": { + "type": "stack_panel", + "controls": [ + { + "heading": { + "type": "label", + "text": "options.creator.diagnosticsHeading", + "color": "$body_text_color" + } + }, + { + "spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "serverbound_client_diagnostics_toggle@settings_common.option_toggle": { + "$option_label": "options.creator.serverboundClientDiagnosticsEnabled", + "$option_binding_name": "#serverbound_client_diagnostics_enabled", + "$toggle_name": "serverbound_client_diagnostics_enabled" + } + }, + { + "diagnostics_capture_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "clear_diagnostics_capture_files@settings_common.action_button": { + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$pressed_button_name": "button.clear_diagnostics_captures", + "$button_text": "options.creator.diagnosticsClearCaptures", + "size": [ "100%", "100%" ] + } + } + ] + } + } + ] + } + } + ] + }, + + "watchdog_toggles_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#script_watchdog_options_enabled", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "section_panel_1": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "primary_panel": { + "type": "stack_panel", + "controls": [ + { + "heading": { + "type": "label", + "text": "options.creator.watchdogHeading", + "color": "$body_text_color" + } + }, + { + "spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "hang_threshold_slider@settings_common.option_slider": { + "$option_label": "#script_watchdog_hang_threshold_slider_label", + "$slider_name": "script_watchdog_hang_threshold", + "$slider_value_binding_name": "#script_watchdog_hang_threshold", + "$slider_tts_text_value": "#script_watchdog_hang_threshold_text_value", + "$option_enabled_binding_name": "#script_watchdog_hang_threshold_enabled", + "$slider_steps_binding_name": "#script_watchdog_hang_threshold_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "spike_warning_toggle@settings_common.option_toggle": { + "$option_label": "options.creator.watchdogSpikeWarning", + "$option_binding_name": "#script_watchdog_spike_warning", + "$option_enabled_binding_name": "#script_watchdog_spike_warning_enabled", + "$toggle_name": "script_watchdog_spike_warning" + } + }, + { + "spike_threshold_slider@settings_common.option_slider": { + "$option_label": "#script_watchdog_spike_threshold_slider_label", + "$slider_name": "script_watchdog_spike_threshold", + "$slider_value_binding_name": "#script_watchdog_spike_threshold", + "$slider_tts_text_value": "#script_watchdog_spike_threshold_text_value", + "$option_enabled_binding_name": "#script_watchdog_spike_threshold_enabled", + "$slider_steps_binding_name": "#script_watchdog_spike_threshold_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#script_watchdog_spike_threshold_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "slow_warning_toggle@settings_common.option_toggle": { + "$option_label": "options.creator.watchdogSlowWarning", + "$option_binding_name": "#script_watchdog_slow_warning", + "$option_enabled_binding_name": "#script_watchdog_slow_warning_enabled", + "$toggle_name": "script_watchdog_slow_warning" + } + }, + { + "slow_threshold_slider@settings_common.option_slider": { + "$option_label": "#script_watchdog_slow_threshold_slider_label", + "$slider_name": "script_watchdog_slow_threshold", + "$slider_value_binding_name": "#script_watchdog_slow_threshold", + "$slider_tts_text_value": "#script_watchdog_slow_threshold_text_value", + "$option_enabled_binding_name": "#script_watchdog_slow_threshold_enabled", + "$slider_steps_binding_name": "#script_watchdog_slow_threshold_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#script_watchdog_slow_threshold_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "device_info_toggles_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#device_info_options_enabled", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "section_panel_1": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "primary_panel": { + "type": "stack_panel", + "controls": [ + { + "heading": { + "type": "label", + "text": "options.creator.deviceInfo", + "color": "$body_text_color" + } + }, + { + "spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "device_info_memory_tier_use_override_toggle@settings_common.option_toggle": { + "$option_label": "options.creator.deviceInfoUseMemoryTierOverride", + "$option_binding_name": "#device_info_use_memory_tier_override", + "$option_enabled_binding_name": "#device_info_use_memory_tier_override_enabled", + "$toggle_name": "device_info_use_memory_tier_override" + } + } + ] + } + }, + { + "device_info_memory_tier_dropdown@settings_common.option_dropdown": { + "$option_label": "options.creator.deviceInfoMemoryTier", + "$dropdown_content": "general_section.content_memory_tier_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "device_info_memory_tier_dropdown", + "$options_dropdown_toggle_label_binding": "#device_info_memory_tier_dropdown_toggle_label", + "$option_enabled_binding_name": "#device_info_memory_tier_override_enabled", + "$dropdown_scroll_content_size": [ "100%", "250%" ], + "bindings": [ + { + "binding_name": "#device_info_memory_tier_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "content_memory_tier_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "memory_tier_superLow@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#memory_tier_superLow", + "$radio_label_text": "options.creator.deviceInfoMemoryTier.superLow" + } + }, + { + "memory_tier_low@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#memory_tier_low", + "$radio_label_text": "options.creator.deviceInfoMemoryTier.low" + } + }, + { + "memory_tier_mid@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#memory_tier_mid", + "$radio_label_text": "options.creator.deviceInfoMemoryTier.mid" + } + }, + { + "memory_tier_high@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#memory_tier_high", + "$radio_label_text": "options.creator.deviceInfoMemoryTier.high" + } + }, + { + "memory_tier_superHigh@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#memory_tier_superHigh", + "$radio_label_text": "options.creator.deviceInfoMemoryTier.superHigh" + } + } + ] + }, + + "content_log_gui_level_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#content_log_gui_level_verbose", + "$radio_label_text": "options.content_log_gui.level.verbose" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#content_log_gui_level_info", + "$radio_label_text": "options.content_log_gui.level.info" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#content_log_gui_level_warn", + "$radio_label_text": "options.content_log_gui.level.warn" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#content_log_gui_level_error", + "$radio_label_text": "options.content_log_gui.level.error" + } + } + ] + }, + + "content_log_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_panel_1": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "ignored": "$is_editor_ignored", + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "content_log_section_label": { + "type": "label", + "text": "contentlog.settingsSectionName", + "color": "$body_text_color" + } + }, + { + "content_log_section_label_spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "option_content_file_log@settings_common.option_toggle": { + "$option_label": "options.content_log_file", + "$option_binding_name": "#content_log_file", + "$option_enabled_binding_name": "#content_log_file_enabled", + "$toggle_name": "content_log_file" + } + }, + { + "option_content_gui_log@settings_common.option_toggle": { + "$option_label": "options.content_log_gui", + "$option_binding_name": "#content_log_gui", + "$option_enabled_binding_name": "#content_log_gui_enabled", + "$toggle_name": "content_log_gui" + } + }, + { + "option_content_gui_log_show_on_errors@settings_common.option_toggle": { + "$option_label": "options.content_log_gui_show_on_errors", + "$option_binding_name": "#content_log_gui_show_on_errors", + "$option_enabled_binding_name": "#content_log_gui_show_on_errors_enabled", + "$toggle_name": "content_log_gui_show_on_errors" + } + }, + { + "option_content_log_gui_level@settings_common.option_dropdown": { + "$option_label": "options.content_log_gui.level", + "$dropdown_content": "general_section.content_log_gui_level_content", + "$dropdown_area": "content_area", + "$dropdown_name": "content_log_gui_level_dropdown", + "$options_dropdown_toggle_label_binding": "#content_log_gui_level_dropdown_toggle_label", + "$option_enabled_binding_name": "#content_log_gui_level_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "content_log_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "open_content_log_history@settings_common.action_button": { + "$pressed_button_name": "button.open_content_log_history", + "$button_text": "contentlog.history.title", + "size": [ "49.5%", "100%" ], + "bindings": [ + { + "binding_name": "#content_log_gui_option_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "content_log_section_label_spacer": { + "type": "panel", + "size": [ "1%", "100%" ] + } + }, + { + "clear_content_log_files@settings_common.action_button": { + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + + "$pressed_button_name": "button.clear_content_log_files", + "$button_text": "contentlog.clear_files", + "size": [ "49.5%", "100%" ], + "bindings": [ + { + "binding_name": "#allow_content_log_write_to_disk", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "content_log_section_label_spacer_2": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "content_log_location_label_header": { + "type": "label", + "text": "contentlog.logLocationSectionName", + "color": "$sub_header_text_color", + "bindings": [ + { + "binding_name": "#content_log_file_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "content_log_location_label": { + "type": "label", + "text": "#text", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "hide_hyphen": true, + "bindings": [ + { + "binding_name": "#content_log_location_text", + "binding_name_override": "#text" + }, + { + "binding_name": "#content_log_file_enabled", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "creator_section": { + "ignored": "$ignore_creator_section", + + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$is_editor_ignored|default": false, + "variables": [ + { + "requires": "(not $is_desktop or $is_publish)", + "$is_editor_ignored": true + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "creator_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "editor_toggle@general_section.editor_toggle_panel": {} + }, + { + "creator_toggles@general_section.creator_toggles_panel": {} + }, + { + "debugger_toggles_panel@general_section.debugger_toggles_panel": {} + }, + { + "diagnostics_toggle_panel@general_section.diagnostics_toggles_panel": {} + }, + { + "watchdog_toggles_panel@general_section.watchdog_toggles_panel": {} + }, + { + "device_info_toggles_panel@general_section.device_info_toggles_panel": {} + }, + { + "content_log_panel@general_section.content_log_panel": { + "ignored": "$education_edition" + } + } + ] + }, + + // VIDEO button & section + + "video_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "video_button_toggle", + "$glyph_texture": "textures/ui/video_glyph", + "$glyph_color_texture": "textures/ui/video_glyph_color", + "$glyph_size": [ 15, 12 ], + "$button_text": "options.video", + "$toggle_property_bag": { + "#panel_title": "options.videoTitle" + } + }, + + "advanced_video_options_toggle@settings_common.option_toggle_control": { + "$toggle_name": "advanced_video_options", + "$toggle_state_binding_name": "#advanced_video_options" + }, + + "video_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$education_ios": "($education_edition and $is_ios)", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "video_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + + { + "brightness_slider@settings_common.option_slider": { + "ignored": "($is_holographic)", + "$option_label": "#gamma_slider_label", + "$slider_name": "gamma", + "$slider_value_binding_name": "#gamma", + "$slider_tts_text_value": "#gamma_text_value", + "$option_enabled_binding_name": "#gamma_enabled", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "vr_brightness_slider@settings_common.option_slider": { + "ignored": "(not $is_holographic)", + "$option_label": "#vr_gamma_slider_label", + "$slider_name": "vr_gamma", + "$slider_value_binding_name": "#vr_gamma", + "$slider_tts_text_value": "#vr_gamma_text_value", + "$option_enabled_binding_name": "#vr_gamma_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "perspective_dropdown@settings_common.option_dropdown": { + "$option_label": "options.thirdperson", + "ignored": "($is_holographic and $is_reality_mode)", + "$dropdown_content": "general_section.third_person_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "third_person_dropdown", + "$option_enabled_binding_name": "#third_person_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#third_person_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "fullscreen_toggle@settings_common.option_toggle": { + "$show_fullscreen_toggle|default": true, + "visible": "($show_fullscreen_toggle and not $is_holographic)", + "$option_label": "options.fullscreen", + "$option_binding_name": "#full_screen", + "$option_enabled_binding_name": "#full_screen_enabled", + "$toggle_name": "full_screen" + } + }, + { + "option_toggle_hidehand@settings_common.option_toggle": { + "ignored": "($is_holographic)", + "$option_label": "options.hidehand", + "$option_binding_name": "#hide_hand", + "$option_enabled_binding_name": "#hide_hand_enabled", + "$toggle_name": "hide_hand" + } + }, + { + "option_toggle_vrhidehand@settings_common.option_toggle": { + "ignored": "(not $is_holographic)", + "$option_label": "options.vrHideHand", + "$option_binding_name": "#vr_hide_hand", + "$option_enabled_binding_name": "#vr_hide_hand_enabled", + "$toggle_name": "vr_hide_hand" + } + }, + { + "hide_paperdoll_toggle@settings_common.option_toggle": { + "$option_label": "options.hidepaperdoll", + "$option_binding_name": "#hide_paperdoll", + "$option_enabled_binding_name": "#hide_paperdoll_enabled", + "$toggle_name": "hide_paperdoll" + } + }, + { + "option_toggle_hidehud@settings_common.option_toggle": { + "ignored": "($is_holographic)", + "$option_label": "options.hidehud", + "$option_binding_name": "#hide_hud", + "$option_enabled_binding_name": "#hide_hud_enabled", + "$toggle_name": "hide_hud" + } + }, + { + "option_toggle_vrhidehud@settings_common.option_toggle": { + "ignored": "(not $is_holographic)", + "$option_label": "options.vrHideHud", + "$option_binding_name": "#vr_hide_hud", + "$option_enabled_binding_name": "#vr_hide_hud_enabled", + "$toggle_name": "vr_hide_hud" + } + }, + { + "option_toggle_screen_animations@settings_common.option_toggle": { + "ignored": "($is_holographic)", + "$option_label": "options.screenAnimations", + "$option_binding_name": "#screen_animations", + "$option_enabled_binding_name": "#screen_animations_enabled", + "$toggle_name": "screen_animations", + "bindings": [ + { + "binding_name": "#screen_animations_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "hud_opacity_slider@settings_common.option_slider": { + "$option_label": "#interface_opacity_slider_label", + "$slider_name": "interface_opacity", + "$slider_value_binding_name": "#interface_opacity", + "$slider_tts_text_value": "#interface_opacity_text_value", + "$option_enabled_binding_name": "#interface_opacity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "splitscreen_hud_opacity_slider@settings_common.option_slider": { + "ignored": "(not $can_splitscreen)", + "$option_label": "#splitscreen_interface_opacity_slider_label", + "$slider_name": "splitscreen_interface_opacity", + "$slider_value_binding_name": "#splitscreen_interface_opacity", + "$slider_tts_text_value": "#splitscreen_interface_opacity_text_value", + "$option_enabled_binding_name": "#splitscreen_interface_opacity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "setup_safe_zone": { + "ignored": "(not $supports_user_configured_safezone or (not $is_pregame))", + "type": "panel", + "size": [ "100%", 32 ], + "controls": [ + { + "action_button@settings_common.action_button": { + "$pressed_button_name": "setup_safe_zone_button", + "$button_text": "options.safeZone.title", + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ] + } + }, + { + "fov_slider@settings_common.option_slider": { + "$ignored": "($is_holographic and $is_reality_mode and not $is_pregame)", + "$option_label": "#field_of_view_slider_label", + "$slider_tts_text_value": "#field_of_view_text_value", + "$slider_name": "field_of_view", + "$slider_value_binding_name": "#field_of_view", + "$option_enabled_binding_name": "#field_of_view_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "split_screen_dropdown@settings_common.option_dropdown": { + "ignored": "(not $can_splitscreen)", + "$option_label": "options.splitscreen", + "$dropdown_content": "general_section.split_screen_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "split_screen_dropdown", + "$option_enabled_binding_name": "#split_screen_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#split_screen_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "auto_save_icon_toggle@settings_common.option_toggle": { + "$option_label": "options.showautosaveicon", + "$option_binding_name": "#show_auto_save_icon", + "$option_enabled_binding_name": "#show_auto_save_icon_enabled", + "$toggle_name": "show_auto_save_icon" + } + }, + { + "outline_selection_toggle@settings_common.option_toggle": { + "ignored": "($is_holographic)", + "$option_label": "options.classic_box_selection", + "$option_binding_name": "#classic_box_selection", + "$option_enabled_binding_name": "#classic_box_selection_enabled", + "$toggle_name": "classic_box_selection" + } + }, + { + "option_toggle_15@settings_common.option_toggle": { + "ignored": "(not $is_holographic)", + "$option_label": "options.vr_classic_box_selection", + "$option_binding_name": "#vr_classic_box_selection", + "$option_enabled_binding_name": "#vr_classic_box_selection_enabled", + "$toggle_name": "vr_classic_box_selection" + } + }, + { + "player_names_toggle@settings_common.option_toggle": { + "$option_label": "options.ingamePlayerNames", + "$option_binding_name": "#ingame_player_names", + "$option_enabled_binding_name": "#ingame_player_names_enabled", + "$toggle_name": "ingame_player_names" + } + }, + { + "splitscreen_player_names_toggle@settings_common.option_toggle": { + "ignored": "(not $can_splitscreen)", + "$option_label": "options.splitscreenIngamePlayerNames", + "$option_binding_name": "#splitscreen_ingame_player_names", + "$option_enabled_binding_name": "#splitscreen_ingame_player_names_enabled", + "$toggle_name": "splitscreen_ingame_player_names" + } + }, + { + "view_bobbing_toggle@settings_common.option_toggle": { + "ignored": "($is_holographic and $is_reality_mode and not $is_pregame)", + "$option_label": "options.viewBobbing", + "$option_binding_name": "#view_bobbing", + "$option_enabled_binding_name": "#view_bobbing_enabled", + "$toggle_name": "view_bobbing" + } + }, + { + "camera_shake_toggle@settings_common.option_toggle": { + "ignored": "($is_holographic and $is_reality_mode and not $is_pregame)", + "$option_label": "options.screenShake", + "$option_binding_name": "#camera_shake", + "$option_enabled_binding_name": "#camera_shake_enabled", + "$toggle_name": "camera_shake" + } + }, + { + "fancy_leaves_toggle@settings_common.option_toggle": { + "ignored": "($pocket_edition or $education_ios or $is_holographic)", + "$option_label": "options.transparentleaves", + "$option_binding_name": "#transparent_leaves", + "$option_enabled_binding_name": "#transparent_leaves_enabled", + "$toggle_name": "transparent_leaves" + } + }, + { + "vr_fancy_leaves_toggle@settings_common.option_toggle": { + "ignored": "(not $is_holographic)", + "$option_label": "options.transparentleaves", + "$option_binding_name": "#vr_transparent_leaves", + "$option_enabled_binding_name": "#vr_transparent_leaves_enabled", + "$toggle_name": "vr_transparent_leaves" + } + }, + { + "fancy_bubbles_toggle@settings_common.option_toggle": { + "$option_label": "options.bubbleparticles", + "$option_binding_name": "#bubble_particles", + "$option_enabled_binding_name": "#bubble_particles_enabled", + "$toggle_name": "bubble_particles" + } + }, + { + "render_clouds_toggle@settings_common.option_toggle": { + "$option_label": "options.renderclouds", + "$option_binding_name": "#render_clouds", + "$option_enabled_binding_name": "#render_clouds_enabled", + "$toggle_name": "render_clouds" + } + }, + { + "fancy_clouds_toggle@settings_common.option_toggle": { + "ignored": "($new_video_settings)", + "$option_label": "options.fancyskies", + "$option_binding_name": "#fancy_skies", + "$option_enabled_binding_name": "#fancy_skies_enabled", + "$toggle_name": "fancy_skies" + } + }, + { + "smooth_lighting_toggle@settings_common.option_toggle": { + "ignored": "($is_holographic or $new_video_settings)", + "$option_label": "options.smooth_lighting", + "$option_binding_name": "#smooth_lighting", + "$option_enabled_binding_name": "#smooth_lighting_enabled", + "$toggle_name": "smooth_lighting" + } + }, + { + "vr_smooth_lighting_toggle@settings_common.option_toggle": { + "ignored": "(not $is_holographic)", + "$option_label": "options.smooth_lighting", + "$option_binding_name": "#vr_smooth_lighting", + "$option_enabled_binding_name": "#vr_smooth_lighting_enabled", + "$toggle_name": "vr_smooth_lighting" + } + }, + { + "rendering_profile_option_slider@settings_common.option_slider": { + "ignored": true, + "$option_label": "#rendering_profile_slider_label", + "$slider_name": "rendering_profile", + "$slider_value_binding_name": "#rendering_profile", + "$slider_tts_text_value": "#rendering_profile_text_value", + "$option_enabled_binding_name": "#rendering_profile_slider_enabled", + "$slider_steps_binding_name": "#rendering_profile_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "field_of_view_toggle@settings_common.option_toggle": { + "$option_label": "options.fov.toggle", + "$option_binding_name": "#field_of_view_toggle", + "$option_enabled_binding_name": "#field_of_view_toggle_enabled", + "$toggle_name": "field_of_view_toggle" + } + }, + { + "super_fancy_panel": { + "ignored": true, + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + + "controls": [ + { + "super_fancy_section": { + "type": "image", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 4px", "100%c + 6px" ], + "texture": "textures/ui/mainbanners", + "controls": [ + { + "super_fancy_contents": { + "type": "stack_panel", + "size": [ "100% - 6px", "100%c - 4px" ], + "controls": [ + { + "atmospherics_toggle@settings_common.option_toggle": { + "$option_label": "options.atmosphericsEnable", + "$option_binding_name": "#atmospherics", + "$option_enabled_binding_name": "#atmospherics_enabled", + "$toggle_name": "atmospherics" + } + }, + { + "edge_highlight_toggle@settings_common.option_toggle": { + "$option_label": "options.edgeHighlightEnable", + "$option_binding_name": "#edge_highlight", + "$option_enabled_binding_name": "#edge_highlight_enabled", + "$toggle_name": "edge_highlight" + } + }, + { + "bloom_toggle@settings_common.option_toggle": { + "$option_label": "options.bloomEnable", + "$option_binding_name": "#bloom", + "$option_enabled_binding_name": "#bloom_enabled", + "$toggle_name": "bloom" + } + }, + { + "terrain_shadows_toggle@settings_common.option_toggle": { + "$option_label": "options.terrainShadowsEnable", + "$option_binding_name": "#terrain_shadows", + "$option_enabled_binding_name": "#terrain_shadows_enabled", + "$toggle_name": "terrain_shadows" + } + }, + { + "super_fancy_water_toggle@settings_common.option_toggle": { + "$option_label": "options.superFancyWaterEnable", + "$option_binding_name": "#super_fancy_water", + "$option_enabled_binding_name": "#super_fancy_water_enabled", + "$toggle_name": "super_fancy_water" + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "ui_profile_dropdown@settings_common.option_dropdown": { + "ignored": "($console_edition)", + "$option_label": "options.uiprofile", + "$dropdown_content": "general_section.ui_profile_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "ui_profile_dropdown", + "$option_enabled_binding_name": "#ui_profile_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#ui_profile_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "gui_scale_slider@settings_common.option_slider": { + "ignored": "($is_holographic)", + "$option_label": "#gui_scale_slider_label", + "$slider_name": "gui_scale", + "$slider_value_binding_name": "#gui_scale", + "$slider_tts_text_value": "#gui_scale_text_value", + "$option_enabled_binding_name": "#gui_scale_enabled", + "$slider_steps_binding_name": "#gui_scale_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#gui_scale_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gui_scale_disabled_option@general_section.gui_scale_disabled_option": { + "$gui_scale_disabled_option_visible": "#gui_scale_disabled_option_visible", + "$gui_scale_disabled_option_is_hovered_button_event": "button.gui_scale_disabled_option_is_hovered", + "$gui_scale_disabled_option_tooltip_visible": "#gui_scale_disabled_option_tooltip_visible" + } + }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + } + }, + { + "gui_accessibility_scaling_toggle@settings_common.option_toggle": { + "$option_label": "options.gui.accessibility.scaling", + "$option_binding_name": "#gui_accessibility_scaling", + "$option_enabled_binding_name": "#gui_accessibility_scaling_enabled", + "$toggle_name": "gui_accessibility_scaling", + "layer": 1, + "controls": [ + { "accessibility_scaling_option@general_section.accessibility_scaling_option": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + } + }, + { + "option_toggle_improved_input_response@settings_common.option_toggle": { + "ignored": "(not $is_improve_input_response_platform_supported)", + "$option_label": "options.improvedInputResponsePlaceholder", + "$option_binding_name": "#improved_input_response_options", + "$option_enabled_binding_name": "#improved_input_response_options_enabled", + "$toggle_name": "improved_input_response_options", + "layer": 1, + "controls": [ + { "improved_input_response_option@general_section.improved_input_response_option": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + } + }, + { + "dynamic_textures_toggle@settings_common.option_toggle": { + "ignored": "(not $is_dynamic_textures_platform_supported)", + "$option_label": "options.dynamicTexturesToggle", + "$option_binding_name": "#dynamic_textures", + "$option_enabled_binding_name": "#dynamic_textures_enabled", + "$toggle_name": "dynamic_textures", + "layer": 1, + "controls": [ + { "dynamic_textures_option@general_section.dynamic_textures_option": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + } + }, + { + "upscaling_toggle@general_section.upscaling_toggle": { + "ignored": "$new_video_settings" + } + }, + { + "raytracing_render_distance_slider@settings_common.option_slider": { + "ignored": "($is_holographic)", + "$option_label": "#raytracing_render_distance_slider_label", + "$slider_name": "raytracing_render_distance", + "$slider_value_binding_name": "#raytracing_render_distance", + "$slider_tts_text_value": "#raytracing_render_distance_text_value", + "$option_enabled_binding_name": "#raytracing_render_distance_enabled", + "$slider_steps_binding_name": "#raytracing_render_distance_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "controls": [ + { "rtx_render_distance_warning@general_section.rtx_render_distance_warning": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ], + "bindings": [ + { + "binding_name": "#show_raytracing_render_distance", + "binding_name_override": "#visible" + } + ] + } + }, + { + "deferred_render_distance_slider@settings_common.option_slider": { + "ignored": "($is_holographic or not $new_video_settings)", + "$option_label": "#deferred_render_distance_slider_label", + "$slider_name": "deferred_render_distance", + "$slider_value_binding_name": "#deferred_render_distance", + "$slider_tts_text_value": "#deferred_render_distance_text_value", + "$option_enabled_binding_name": "#deferred_render_distance_enabled", + "$slider_steps_binding_name": "#deferred_render_distance_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "controls": [ + { "option_generic_core@settings_common.option_generic_core": {} } + ], + "bindings": [ + { + "binding_name": "#show_deferred_render_distance", + "binding_name_override": "#visible" + } + ] + } + }, + { + "render_distance_slider@settings_common.option_slider": { + "ignored": "($is_holographic)", + "$option_label": "#render_distance_slider_label", + "$slider_name": "render_distance", + "$slider_value_binding_name": "#render_distance", + "$slider_tts_text_value": "#render_distance_text_value", + "$option_enabled_binding_name": "#render_distance_enabled", + "$slider_steps_binding_name": "#render_distance_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "controls": [ + { "render_distance_warning@general_section.render_distance_warning": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ], + "bindings": [ + { + "binding_name": "#show_render_distance", + "binding_name_override": "#visible" + } + ] + } + }, + { + "render_distance_warning_text": { + "type": "panel", + "size": [ "100%", "100%cm + 16px" ], + "controls": [ + { + "render_distance_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$tooltip_panel_offset": [ 0, 6 ], + "$tooltip_popup_image": "textures/ui/WarningGlyph", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding": "#render_distance_warning_visible", + "$tooltip_text_binding_name": "#render_distance_performance_tooltip_text", + "$tooltip_chevron_anchor": "top_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "-10px" ], + "$tooltip_popup_chevron_texture": "textures/ui/tooltip_inverted_chevron" + } + } + ], + "bindings": [ + { + "binding_name": "#render_distance_warning_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vr_render_distance_slider@settings_common.option_slider": { + "ignored": "(not $is_holographic)", + "$option_label": "#vr_render_distance_slider_label", + "$slider_name": "vr_render_distance", + "$slider_value_binding_name": "#vr_render_distance", + "$slider_tts_text_value": "#vr_render_distance_text_value", + "$option_enabled_binding_name": "#vr_render_distance_enabled", + "$slider_steps_binding_name": "#vr_render_distance_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "max_framerate_slider@general_section.max_framerate_slider": { + "ignored": "($new_video_settings or $education_edition)" + } + }, + { + "msaa_slider@general_section.msaa_slider": { + "ignored": "$new_video_settings" + } + }, + { + "vr_msaa_slider@settings_common.option_slider": { + "ignored": "(not $is_holographic or $is_win10_arm)", + "$option_label": "#vr_msaa_slider_label", + "$slider_name": "vr_msaa", + "$slider_value_binding_name": "#vr_msaa", + "$slider_tts_text_value": "#vr_msaa_text_value", + "$option_enabled_binding_name": "#vr_msaa_enabled", + "$slider_steps_binding_name": "#vr_msaa_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#show_vr_msaa", + "binding_name_override": "#visible" + } + ] + } + }, + { + "texel_anti_aliasing_toggle@settings_common.option_toggle": { + "$option_label": "options.texelAA", + "$option_binding_name": "#texel_aa", + "$option_enabled_binding_name": "#texel_aa_enabled", + "$toggle_name": "texel_aa", + "bindings": [ + { + "binding_name": "#show_texel_aa", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vr_3d_rendering@settings_common.option_toggle": { + "ignored": "(not $gear_vr or not $is_holographic)", + "$option_label": "options.3DRendering", + "$option_binding_name": "#vr_3d_rendering", + "$option_enabled_binding_name": "#vr_3d_rendering_enabled", + "$toggle_name": "vr_3d_rendering" + } + }, + { + "vr_mirror_texture@settings_common.option_toggle": { + "ignored": "($gear_vr or $psvr or not $is_holographic)", + "$option_label": "options.vrMirrorTexture", + "$option_binding_name": "#vr_mirror_texture", + "$option_enabled_binding_name": "#vr_mirror_texture_enabled", + "$toggle_name": "vr_mirror_texture" + } + }, + { + "vr_hand_pointer_visible@settings_common.option_toggle": { + "ignored": "(not $is_holographic or not $supports_hand_controllers)", + "$option_label": "options.vrHandPointer", + "$option_binding_name": "#vr_hand_pointer", + "$option_enabled_binding_name": "#vr_hand_pointer_enabled", + "$toggle_name": "vr_hand_pointer" + } + }, + { + "vr_hands_visible@settings_common.option_toggle": { + "ignored": "(not $is_holographic or not $supports_hand_controllers)", + "$option_label": "options.vrHandsVisible", + "$option_binding_name": "#vr_hands_visible", + "$option_enabled_binding_name": "#vr_hands_visible_enabled", + "$toggle_name": "vr_hands_visible" + } + }, + { + "advanced_graphics_options_panel": { + "ignored": "($is_holographic)", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "graphics_mode@settings_common.option_dropdown_no_scroll": { + "$option_label": "options.graphicsMode", + "$dropdown_content": "general_section.graphics_mode_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "graphics_mode_dropdown", + "$option_enabled_binding_name": "#graphics_mode_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#graphics_mode_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "100%" ] + } + }, + { + "graphics_quality_preset_mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$option_enabled_binding_name": "#graphics_quality_preset_mode_dropdown_enabled", + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#graphics_quality_preset_mode_radio_performance", + "$radio_label_text": "options.graphicsQualityPresetMode.performance" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#graphics_quality_preset_mode_radio_visuals", + "$radio_label_text": "options.graphicsQualityPresetMode.visuals" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#graphics_quality_preset_mode_radio_custom", + "$radio_label_text": "options.graphicsQualityPresetMode.custom" + } + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "advanced_graphics_options_button@common_buttons.light_content_button": { + "size": [ "100%", 20 ], + "$button_content": "general_section.advanced_graphics_options_button_content", + "$pressed_button_name": "button.expand_advanced_graphics", + "bindings": [ + { + "binding_name": "#advanced_graphics_options_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "advanced_graphics_options_section@general_section.advanced_graphics_options_section": { + "bindings": [ + { + "binding_name": "#advanced_graphics_options_grid_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "reset_button@settings_common.action_button": { + "ignored": "(not $is_pregame)", + "$pressed_button_name": "button.reset_settings", + "$button_text": "options.resetSettings", + "property_bag": { + "reset_group": "video" + } + } + } + ] + }, + "max_framerate_slider@settings_common.option_slider": { + "ignored": "($is_publish or $education_edition)", + "$option_label": "#max_framerate_slider_label", + "$slider_name": "max_framerate", + "$slider_value_binding_name": "#max_framerate", + "$slider_tts_text_value": "#max_framerate_text_value", + "$option_enabled_binding_name": "#max_framerate_enabled", + "$slider_steps_binding_name": "#max_framerate_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "controls": [ + { "max_framerate_option@general_section.max_framerate_option": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + }, + "msaa_slider@settings_common.option_slider": { + "ignored": "($is_holographic or $is_win10_arm)", + "$option_label": "#msaa_slider_label", + "$slider_name": "msaa", + "$slider_value_binding_name": "#msaa", + "$slider_tts_text_value": "#msaa_text_value", + "$option_enabled_binding_name": "#msaa_enabled", + "$slider_steps_binding_name": "#msaa_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#show_msaa", + "binding_name_override": "#visible" + } + ] + }, + "upscaling_toggle@settings_common.option_toggle": { + "ignored": "($is_holographic and $win10_edition)", + "$option_label": "options.upscaling", + "$option_binding_name": "#graphics_upscaling", + "$option_enabled_binding_name": "#graphics_upscaling_enabled", + "$toggle_name": "graphics_upscaling", + "controls": [ + { + "rtx_disabled_option_upsell@general_section.rtx_disabled_option_upsell": { + "$rtx_disabled_option_upsell_visible": "#rtx_upscale_disabled_option_upsell_visible", + "$rtx_disabled_option_is_hovered_button_event": "button.rtx_upscale_disabled_option_is_hovered", + "$rtx_disabled_option_upsell_tooltip_visible": "#rtx_upscale_disabled_option_upsell_tooltip_visible" + } + }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + }, + + // Warning Notification and popup for RTX render distance + + "rtx_render_distance_warning_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/WarningGlyph" + }, + + "rtx_render_distance_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding": "#rtx_render_distance_warning_tooltip_visible", + "$tooltip_text_binding_name": "#rtx_renderdist_performance_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "rtx_render_distance_warning": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "rtx_render_distance_warning_image@general_section.rtx_render_distance_warning_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "button_mappings": [ + { + "to_button_id": "button.rtx_warning_is_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "rtx_render_distance_popup@general_section.rtx_render_distance_popup": {} } + ], + "bindings": [ + { + "binding_name": "#rtx_render_distance_warning_visible", + "binding_name_override": "#visible" + } + ] + }, + + "accessibility_scaling_option_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "accessibility_scaling_option_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "#accessibility_scaling_option_tooltip_visible", + "$tooltip_text_binding_name": "#accessibility_scaling_option_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "accessibility_scaling_option": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "accessibility_scaling_option_image@general_section.accessibility_scaling_option_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "button_mappings": [ + { + "to_button_id": "button.accessibility_scaling_option_is_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "accessibility_scaling_option_popup@general_section.accessibility_scaling_option_popup": {} } + ] + }, + + // Filter Profanity Tooltip Popup + + "filter_profanity_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "filter_profanity_option_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "#filter_profanity_option_tooltip_visible", + "$tooltip_text_binding_name": "#filter_profanity_option_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "filter_profanity_option": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "filter_profanity@general_section.filter_profanity_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "button_mappings": [ + { + "to_button_id": "button.filter_profanity_option_is_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "filter_profanity_option_popup@general_section.filter_profanity_option_popup": {} } + ] + }, + + "improved_input_response_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "improved_input_response_option_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "#improved_input_response_option_tooltip_visible", + "$tooltip_text_binding_name": "#improved_input_response_option_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "improved_input_response_option": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "improved_input_response_image@general_section.improved_input_response_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "button_mappings": [ + { + "to_button_id": "button.improved_input_response_option_is_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "improved_input_response_option_popup@general_section.improved_input_response_option_popup": {} } + ] + }, + + "dynamic_textures_option_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "dynamic_textures_option_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "#dynamic_textures_option_tooltip_visible", + "$tooltip_text_binding_name": "#dynamic_textures_option_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "dynamic_textures_option": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "dynamic_textures_option_image@general_section.dynamic_textures_option_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "button_mappings": [ + { + "to_button_id": "button.dynamic_textures_option_is_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "dynamic_textures_option_popup@general_section.dynamic_textures_option_popup": {} } + ] + }, + + "max_framerate_option_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "max_framerate_option_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "#max_framerate_option_tooltip_visible", + "$tooltip_text_binding_name": "#max_framerate_option_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "max_framerate_option": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "max_framerate_option_image@general_section.max_framerate_option_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "button_mappings": [ + { + "to_button_id": "button.max_framerate_option_is_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "max_framerate_option_popup@general_section.max_framerate_option_popup": {} } + ] + }, + + "rtx_disabled_option_upsell_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "rtx_disabled_option_upsell_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "$rtx_disabled_option_upsell_tooltip_visible", + "$tooltip_text_binding_name": "#rtx_disabled_option_upsell_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "rtx_disabled_option_upsell": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$rtx_disabled_option_upsell_visible|default": "#rtx_disabled_option_upsell_visible", + "$rtx_disabled_option_upsell_tooltip_visible|default": "#rtx_disabled_option_upsell_tooltip_visible", + "controls": [ + { + "rtx_disabled_option_upsell_image@general_section.rtx_disabled_option_upsell_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "consume_hover_events": false, + "focus_enabled": true, + "tts_skip_message": true, + "$rtx_disabled_option_is_hovered_button_event|default": "button.rtx_disabled_option_is_hovered", + "button_mappings": [ + { + "to_button_id": "$rtx_disabled_option_is_hovered_button_event", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "rtx_disabled_option_upsell_popup@general_section.rtx_disabled_option_upsell_popup": {} } + ], + "bindings": [ + { + "binding_name": "$rtx_disabled_option_upsell_visible", + "binding_name_override": "#visible" + } + ] + }, + + + // popup when gui scaling is not possible + "gui_scale_disabled_option_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/infobulb" + }, + + "gui_scale_disabled_option_popup@common.static_tooltip_popup_with_image_and_text": { + "size": [ "100% - 4px", "100%cm + 8px" ], + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "$tooltip_panel_offset": [ 0, -10 ], + "$tooltip_popup_image": "textures/ui/infobulb", + "$tooltip_button_binding_type": "global", + "$tooltip_button_collection_name": "", + "$tooltip_popup_visible_binding|default": "$gui_scale_disabled_option_tooltip_visible", + "$tooltip_text_binding_name": "#gui_scale_disabled_option_tooltip_text", + "$tooltip_chevron_anchor": "bottom_right", + "$tooltip_popup_chevron_offset": [ "-30%x", "100%y - 3px" ] + }, + + "gui_scale_disabled_option": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$gui_scale_disabled_option_visible|default": "#gui_scale_disabled_option_visible", + "$gui_scale_disabled_option_tooltip_visible|default": "#gui_scale_disabled_option_tooltip_visible", + "controls": [ + { + "gui_scale_disabled_option_upsell_image@general_section.gui_scale_disabled_option_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "hover_detection_input_panel": { + "type": "input_panel", + "tts_skip_message": true, + "consume_hover_events": false, + "focus_enabled": true, + "$gui_scale_disabled_option_is_hovered_button_event|default": "button.gui_scale_disabled_option_is_hovered", + "button_mappings": [ + { + "to_button_id": "$gui_scale_disabled_option_is_hovered_button_event", + "mapping_type": "pressed" + } + ] + } + } + ] + } + }, + { "gui_scale_disabled_option_popup@general_section.gui_scale_disabled_option_popup": {} } + ], + "bindings": [ + { + "binding_name": "$gui_scale_disabled_option_visible", + "binding_name_override": "#visible" + } + ] + }, + + // Render distance warning notification + + "render_distance_warning_image": { + "type": "image", + "size": [ 7, 11 ], + "texture": "textures/ui/WarningGlyph" + }, + + "render_distance_warning": { + "type": "panel", + "size": [ "100%", 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "render_distance_warning_image@general_section.render_distance_warning_image": { + "offset": [ -14, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ], + "bindings": [ + { + "binding_name": "#render_distance_warning_visible", + "binding_name_override": "#visible" + } + ] + }, + + "ui_profile_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#ui_profile_radio_classic", + "$radio_label_text": "options.uiprofile.classic" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#ui_profile_radio_pocket", + "$radio_label_text": "options.uiprofile.pocket" + } + } + ] + }, + + "split_screen_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#split_screen_radio_horizontal", + "$radio_label_text": "options.splitscreen.horizontal" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#split_screen_radio_vertical", + "$radio_label_text": "options.splitscreen.vertical" + } + } + ] + }, + + "third_person_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#thirdperson_radio_first", + "$radio_label_text": "options.thirdperson.firstperson" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#thirdperson_radio_third_back", + "$radio_label_text": "options.thirdperson.thirdpersonback" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#thirdperson_radio_third_front", + "$radio_label_text": "options.thirdperson.thirdpersonfront" + } + } + ] + }, + + "toast_notification_duration_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#notification_duration_radio_ThreeSec", + "$radio_label_text": "options.notificationDuration.toast.ThreeSec" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#notification_duration_radio_TenSec", + "$radio_label_text": "options.notificationDuration.toast.TenSec" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#notification_duration_radio_ThirtySec", + "$radio_label_text": "options.notificationDuration.toast.ThirtySec" + } + } + ] + }, + + "chat_message_duration_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chat_message_duration_radio_ThreeSec", + "$radio_label_text": "options.notificationDuration.chat.ThreeSec" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chat_message_duration_radio_TenSec", + "$radio_label_text": "options.notificationDuration.chat.TenSec" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chat_message_duration_radio_ThirtySec", + "$radio_label_text": "options.notificationDuration.chat.ThirtySec" + } + } + ] + }, + + "file_storage_location_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "file_storage_location_option_external@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#storage_location_radio_external", + "$radio_label_text": "options.filelocation.external" + } + }, + { + "file_storage_location_option_appdata@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#storage_location_radio_package", + "$radio_label_text": "options.filelocation.appdata" + } + } + ] + }, + + // View Subscriptions controls & section + + "background": { + "type": "panel", + "controls": [ + { + "fill": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.8, + "layer": 1 + } + }, + { + "border": { + "type": "image", + "size": [ "100% + 2px", "100% + 2px" ], + "texture": "textures/ui/black_border", + "layer": 2 + } + } + ] + }, + + /* + "appearance_status_image_panel": { + "type": "image", + "size": [ "100%", "100%x" ], + "bilinear": true, + "texture": "textures/ui/infobulb", + "layer": 1 + }, + + "static_tooltip_notification_panel@common.button": { + "size": [ "100%", 12 ], + "sound_volume": 0.0, + + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tooltip_background_texture": "textures/ui/tooltip_default_background", + + "$pressed_button_name": "button.ignore_me", + + "$tooltip_button_binding_type": "collection", + + + "$tooltip_popup_override_image_panel": "general_section.appearance_status_image_panel", + "$override_tooltip_popup_image": true, + + "$tooltip_button_pressed_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_hover_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_locked_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_default_texture|default": "", + + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$realm_collection_name" + } + ], + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "hover@common.static_tooltip_popup_with_image_and_text": { + "bindings": [] + } + }, + { + "pressed@common.static_tooltip_popup_with_image_and_text": { + "bindings": [] + } + } + ] + }, + + "summary_update_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%sm" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "static_tooltip_notification_panel@general_section.static_tooltip_notification_panel": { + "layer": 2 + } + } + ] + }, + */ + "csb_info_label@common.minecraftTenLabel": { + "text": "options.viewSubscriptions.button.info", + "color": "$text_color", + "offset": [ 0, -1 ] + }, + + "csb_cancel_label@common.minecraftTenLabel": { + "text": "gui.cancel", + "color": "$text_color", + "offset": [ 0, -1 ] + }, + + "csb_buy_label@common.minecraftTenLabel": { + "text": "#csb_price", + "color": "$text_color", + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_name": "#csb_price" + } + ] + }, + + "left_button_label@common.minecraftTenLabel": { + "$left_button_text|default": "#left_button_text", + "color": "$text_color", + "text": "$left_button_text", + "offset": [ 0, -1 ], + "$left_button_label_bindings|default": [ + { + "binding_name": "#left_button_text", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ], + "bindings": "$left_button_label_bindings" + }, + + "right_button_label@common.minecraftTenLabel": { + "text": "options.viewSubscriptions.button.info", + "color": "$text_color", + "offset": [ 0, -1 ] + }, + + "realms_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 20 ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "left_button_panel": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "49%", "100%" ], + "controls": [ + { + "left_button@common_buttons.light_content_button": { + "$button_content": "general_section.left_button_label", + "$pressed_button_name": "$left_pressed_button_name", + "bindings": [ + { + "binding_name": "#realm_price_loaded", + "binding_name_override": "#visible" + }, + { + "binding_collection_name": "$realm_collection_name", + "binding_type": "collection_details" + } + ] + } + }, + { + "left_button_loading@common_store.progress_loading": { + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "size": [ "100%", "100%" ], + "layer": 3, + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "(not #realm_price_loaded)", + "binding_name_override": "#visible" + } + ] + } + } + ], + "$left_button_visible_bindings|default": [ + { + "binding_name": "#left_button_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + }, + { + "binding_collection_name": "$realm_collection_name", + "binding_type": "collection_details" + } + ], + "bindings": "$left_button_visible_bindings" + } + }, + { + "pad_1": { + "ignored": "$pre_release", + "type": "panel", + "size": [ 4, "100%" ], + "bindings": [ + { + "binding_name": "#pad_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + }, + { + "binding_collection_name": "$realm_collection_name", + "binding_type": "collection_details" + } + ] + } + }, + { + "right_button@common_buttons.light_content_button": { + "size": [ "fill", "100%" ], + "$button_content": "general_section.right_button_label", + "$pressed_button_name": "$right_pressed_button_name", + "bindings": [ + { + "binding_name": "#right_button_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name", + "binding_condition": "once" + }, + { + "binding_collection_name": "$realm_collection_name", + "binding_type": "collection_details" + } + ] + } + }, + { + "pad_2": { + "type": "panel", + "size": [ 4, "100%" ] + } + } + ] + }, + + "consumable_not_extendable": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$realm_collection_name|default": "", + "controls": [ + { + "panel_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "padded_icon_0@common.empty_panel": { + "size": [ 3, 0 ] + } + }, + { + "limited_status_image": { + "type": "image", + "size": [ 15, 19 ], + "bilinear": true, + "texture": "textures/ui/infobulb", + "layer": 1 + } + }, + { + "padded_icon_1@common.empty_panel": { + "size": [ 3, 0 ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "name_label2": { + "type": "label", + "color": "$main_header_text_color", + "font_type": "smooth", + "size": [ "100%", "default" ], + "$warning_text|default": "options.viewSubscriptions.consumableToSubscriptionTransitionInfo", + "$text_bindings|default": [], + "text": "$warning_text", + "bindings": "$text_bindings" + } + } + ] + } + } + ] + } + } + ] + }, + + "possible_store_mismatch": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$realm_collection_name|default": "", + "controls": [ + //{ + // "summary_update_stack_panel@general_section.summary_update_stack_panel": {} + //}, + { + "panel_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "padded_icon_0@common.empty_panel": { + "size": [ 3, 0 ] + } + }, + { + "limited_status_image": { + "type": "image", + "size": [ 15, 19 ], + "bilinear": true, + "texture": "textures/ui/infobulb", + "layer": 1 + } + }, + { + "padded_icon_1@common.empty_panel": { + "size": [ 3, 0 ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "name_label2": { + "type": "label", + "color": "$main_header_text_color", + "font_type": "smooth", + "size": [ "100%", "default" ], + "$warning_text|default": "options.viewSubscriptions.boughtOnAnotherDevice", + "$text_bindings|default": [], + "text": "$warning_text", + "bindings": "$text_bindings" + } + } + ] + } + } + ] + } + } + ] + }, + + "realms_subscription_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "image_panel": { + "type": "panel", + "$image_size|default": [ "177.8%y", 70 ], + "size": "$image_size", + "$image_controls|default": [ + { + "image@common.service_repo_image_panel": { + "size": [ "177.8%y", "100%" ], + "$repo_image_texture": "realms_plus_key_art" + } + } + ], + "controls": "$image_controls" + } + }, + { + "pad": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "info": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%sm" ], + "controls": [ + { + "realm_name@common.minecraftTenLabel": { + "$name|default": "#realm_name", + "text": "$name", + "size": [ "100%", "default" ], + "$name_bindings|default": [ + { + "binding_name": "#realm_name", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ], + "bindings": "$name_bindings" + } + }, + { + "realms_desc_label": { + "type": "label", + "$description|default": "#description_text", + "text": "$description", + "text_alignment": "left", + "color": "$body_text_color", + "font_type": "smooth", + "size": [ "100%", "fill" ], + "$description_bindings|default": [ + { + "binding_name": "#description_text", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ], + "bindings": "$description_bindings" + } + }, + { + "bottom_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + }, + + "realms_subscription_main": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "black_background@general_section.background": { + "size": [ "100%", "100%sm" ] + } + }, + { + "realms_plus_subscription_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "layer": 3, + "controls": [ + { + "realms_plus_subscription_top_stack@general_section.realms_subscription_stack": {} + }, + { + "realms_plus_bottom_button_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "realms_plus_bottom_button_panel@general_section.realms_button_panel": {} + }, + { + "bottom_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "realms_subscription_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$realm_collection_name|default": "", + "controls": [ + { + "top_panel@general_section.realms_subscription_main": {} + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "middle_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "black_background@general_section.background": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 12 ] + } + }, + { + "renews_text": { + "type": "label", + "color": "$main_header_text_color", + "font_type": "smooth", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "offset": [ 2, 1 ], + "text": "#realms_subscription_text", + "bindings": [ + { + "binding_name": "#realms_subscription_text", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name", + "binding_condition": "visible" + } + ] + } + } + ] + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "lower_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "black_background@general_section.background": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%sm" ] + } + }, + { + "consumable_not_extendable@general_section.consumable_not_extendable": { + "layer": 3, + "$tooltip_button_collection_name": "$realm_collection_name", + "$warning_text": "options.viewSubscriptions.consumableToSubscriptionTransitionInfo" + } + } + ], + "bindings": [ + { + "binding_name": "#consumable_not_extendable_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name", + "binding_condition": "once" + } + ] + } + }, + { + "pad_3": { + "type": "panel", + "size": [ "100%", 6 ], + "bindings": [ + { + "binding_name": "#consumable_not_extendable_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name", + "binding_condition": "once" + } + ] + } + }, + { + "platform_mismatch_container": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "black_background@general_section.background": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%sm" ] + } + }, + { + "possible_store_mismatch@general_section.possible_store_mismatch": { + "layer": 3, + "$tooltip_button_collection_name": "$realm_collection_name", + "$warning_text": "#realms_purchased_store", + "$text_bindings": [ + { + "binding_name": "#realms_purchased_store", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#store_mismatch_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name", + "binding_condition": "once" + } + ] + } + }, + { + "pad_4": { + "type": "panel", + "size": [ "100%", 6 ], + "bindings": [ + { + "binding_name": "#store_mismatch_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name", + "binding_condition": "once" + } + ] + } + } + ] + }, + + "realms_plus_subscription_panel@general_section.realms_subscription_panel": { + "$realm_collection_name": "realms_plus_subscriptions_collection", + "$right_pressed_button_name": "button.realms_plus_right_button", + "$left_pressed_button_name": "button.realms_plus_left_button" + }, + + "additional_subscription_panel@general_section.realms_subscription_panel": { + "$realm_collection_name": "additional_realms_subscriptions_collection", + "$right_pressed_button_name": "button.additional_realms_right_button", + "$left_pressed_button_name": "button.additional_realms_left_button", + "$image_controls": [ + { + "image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/realms_art_icon" + } + } + ], + "$image_size": [ "85.1315%y", 70 ] + }, + + "view_subscriptions_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "view_subscriptions_button_toggle", + "enabled": "(not $trial)", + "$glyph_texture": "textures/ui/subscription_glyph", + "$glyph_color_texture": "textures/ui/subscription_glyph_color", + "$glyph_size": [ 15, 13 ], + "$button_text": "options.viewSubscriptions", + "$toggle_property_bag": { + "#panel_title": "options.viewSubscriptions" + } + }, + + "view_subscriptions_prerelease_section": { + "type": "panel", + "size": [ "100% - 6px", "100%cm" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "view_subscriptions_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "black_background@general_section.background": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 3 ], + "size": [ "100%", "100%sm + 2px" ] + } + }, + { + "renews_text": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$main_header_text_color", + "font_type": "smooth", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "offset": [ 2, 4 ], + "text": "options.viewSubscriptions.prereleaseMessage" + } + } + ] + }, + + "view_subscriptions_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 6px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "view_subscriptions_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "sunsetting_label@play.realm_warning_tip": { + "$realms_warning_text": "#device_sunsetting_text" + } + }, + { + "failed_loading_subscriptions_label": { + "type": "label", + "text": "options.viewSubscriptions.loadingSubscriptionsFailed", + "text_alignment": "center", + "color": "$body_text_color", + "size": [ "100%", 12 ], + "bindings": [ + { + "binding_name": "#realms_subscriptions_loading_failed_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loading_subscriptions_label": { + "type": "label", + "text": "options.viewSubscriptions.loadingSubscriptions", + "text_alignment": "center", + "color": "$body_text_color", + "size": [ "100%", 12 ], + "bindings": [ + { + "binding_name": "#realms_subscriptions_loading_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_active_subscriptions_panel": { + "type": "panel", + "size": [ "100%", 11 ], + "layer": 1, + "controls": [ + { + "header_no_active_csub_or_realms_subscriptions": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "$realm_collection_name": "realms_plus_subscriptions_collection", + "controls": [ + { + "text@common.minecraftTenLabel": { + "text": "options.viewSubscriptions.noActiveSubscriptions", + "color": "$body_text_color", + "font_type": "smooth", + "text_alignment": "center", + "layer": 3, + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%", 12 ] + } + } + ] + } + }, + { + "background_panel": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 1, + "keep_ratio": false, + "texture": "textures/ui/White", + "color": "$red_gray_panel_color", + "alpha": 1.0 + } + } + ], + "bindings": [ + { + "binding_name": "(not #my_subscriptions_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "realms_plus_header_my_subscriptions": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "text@common.minecraftTenLabel": { + "text": "options.viewSubscriptions.mySubscriptions", + "color": "$body_text_color", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", 12 ] + } + } + ], + "bindings": [ + { + "binding_name": "#my_subscriptions_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "realms_plus_subscriptions_grid": { + "type": "stack_panel", + "orientation": "vertical", + + "factory": { + "name": "realms_subscriptions_factory", + "control_name": "general_section.realms_plus_subscription_panel" + }, + + "collection_name": "realms_plus_subscriptions_collection", + "bindings": [ + { + "binding_name": "#realms_plus_subscriptions_dimensions", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "csb_purchased_with_cancel@csb_subscription_panel.csb_container": { + "$left_button": "cancel@csb_subscription_panel.csb_cancel_button", + "$csb_panel_bindings|default": [ + { + "binding_name": "#csb_purchased_with_cancel_panel", + "binding_name_override": "#visible" + } + ] + } + }, + { + "csb_purchased_with_buy@csb_subscription_panel.csb_container": { + "$left_button": "buy@csb_subscription_panel.csb_buy_container", + "$csb_panel_bindings|default": [ + { + "binding_name": "#csb_purchased_with_buy_panel", + "binding_name_override": "#visible" + } + ] + } + }, + { + "csb_purchased_padding": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "platform_mismatch_container": { + "type": "panel", + "size": [ "100%sm", "100%cm" ], + "controls": [ + { + "black_background@general_section.background": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-2px", "100%sm-2px" ], + "offset": [ 1, 1 ] + } + }, + { + "possible_store_mismatch@general_section.possible_store_mismatch": { + "layer": 3, + "$warning_text": "#csb_platform_mismatch_text", + "$text_bindings": [ + { + "binding_name": "#csb_platform_mismatch_text" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#csb_platform_mismatch", + "binding_name_override": "#visible" + } + ] + } + }, + { + "csb_expiration_container": { + "type": "panel", + "size": [ "100%", 11 ], + "layer": 1, + "controls": [ + { + "csb_expiration_text_container": { + "ignored": "$pre_release", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "csb_expiration_text_padding": { + "ignored": "$pre_release", + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "csb_expiration": { + "ignored": "$pre_release", + "type": "label", + "font_type": "smooth", + "text": "#csb_expiration", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "color": "$generic_button_text_color", + "text_alignment": "left", + "offset": [ 0, 1 ], + "layer": 3, + "size": [ "100%", 10 ], + "bindings": [ + { + "binding_name": "#csb_expiration" + } + ] + } + } + ] + } + }, + { + "background_panel": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 1, + "keep_ratio": false, + "texture": "textures/ui/White", + "color": "$0_color_format" + } + } + ], + "bindings": [ + { + "binding_name": "#expiration_container_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "csb_expiration_and_platform_mismatch_padding": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "additional_realms_subscriptions_grid": { + "type": "stack_panel", + "orientation": "vertical", + + "factory": { + "name": "realms_subscriptions_factory", + "control_name": "general_section.additional_subscription_panel" + }, + + "collection_name": "additional_realms_subscriptions_collection", + "bindings": [ + { + "binding_name": "#additional_realms_subscriptions_dimensions", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "active_available_divider@common.section_divider": { + "ignored": "$pre_release", + "$top_padding_size": [ "100%", 0 ], + "$bottom_padding_size": [ "100%", 1 ] + } + }, + { + "realms_plus_header_label@common.minecraftTenLabel": { + "ignored": "$pre_release", + "text": "#available_or_additional_subscriptions_text", + "text_alignment": "left", + "color": "$body_text_color", + "size": [ "100%", 12 ], + "bindings": [ + { + "binding_name": "#available_or_additional_subscriptions_text" + } + ] + } + }, + { + "pad_0": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "realms_plus_buy_offer@general_section.realms_subscription_main": { + "ignored": "$pre_release", + "$realm_collection_name": "realms_plus_subscriptions_collection", + "$right_pressed_button_name": "button.realms_plus_right_button", + "$left_pressed_button_name": "button.realms_plus_buy_button", + "$left_button_label_bindings": [ + { + "binding_name": "#price_text", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ], + "$left_button_visible_bindings": [], + "$left_button_text": "#price_text", + "$name": "options.viewSubscriptions.tenPlayers", + "$name_bindings": [], + "$description": "#upsell_text", + "$description_bindings": [ + { + "binding_name": "#upsell_text", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ], + "bindings": [ + { + "binding_name": "#can_buy_more_subscriptions", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ] + } + }, + { + "pad_1": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "additional_realms_buy_offer@general_section.realms_subscription_main": { + "ignored": "$pre_release", + "$realm_collection_name": "additional_realms_subscriptions_collection", + "$right_pressed_button_name": "button.additional_realms_right_button", + "$left_pressed_button_name": "button.additional_realms_buy_button", + "$left_button_label_bindings": [ + { + "binding_name": "#price_text", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ], + "$left_button_visible_bindings": [], + "$image_controls": [ + { + "image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/realms_art_icon" + } + } + ], + "$image_size": [ "85.1315%y", 70 ], + "$left_button_text": "#price_text", + "$name": "options.viewSubscriptions.twoPlayers", + "$name_bindings": [], + "$description": "#upsell_text", + "$description_bindings": [ + { + "binding_name": "#upsell_text", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ], + "bindings": [ + { + "binding_name": "#can_buy_more_subscriptions", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$realm_collection_name" + } + ] + } + }, + { + "pad_8": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", 6 ] + } + }, + //csb panel + { + "csb_buy_panel@csb_subscription_panel.csb_container": { + "$left_button": "csbBuy@csb_subscription_panel.csb_buy_container" + } + }, + { + "pad_3": { + "ignored": "$pre_release", + "type": "panel", + "size": [ "100%", 6 ] + } + } + ] + }, + + // VR button & section + + "vr_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "vr_button_toggle", + "$glyph_texture": "textures/ui/vr_glyph", + "$glyph_color_texture": "textures/ui/vr_glyph_color", + "$glyph_size": [ 19, 11 ], + "$button_text": "options.group.vr", + "$toggle_property_bag": { + "#panel_title": "options.group.vrTitle" + } + }, + + "vr_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "vr_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "living_room_subheader@settings_common.subsection_title": { + "$text": "options.vr.subheaderLivingRoom" + } + }, + { + "option_toggle_2@settings_common.option_toggle": { + "$option_label": "options.vrLivingRoomCursorCentered", + "$option_binding_name": "#vr_living_room_cursor_centered", + "$option_enabled_binding_name": "#vr_living_room_cursor_centered_enabled", + "$toggle_name": "vr_living_room_cursor_centered" + } + }, + { + "immersive_subheader@settings_common.subsection_title": { + "$text": "options.vr.subheaderImmersive" + } + }, + { + "option_toggle_0@settings_common.option_toggle": { + "$option_label": "options.vrHMDdisplacement", + "$option_binding_name": "#vr_hmd_displacement", + "$option_enabled_binding_name": "#vr_hmd_displacement_enabled", + "$toggle_name": "vr_hmd_displacement", + "bindings": [ + { + "binding_name": "#device_has_positional_tracking", + "binding_name_override": "#visible" + } + ] + } + }, + { + "vr_camera_movement_dropdown@settings_common.option_dropdown": { + "$option_label": "options.vr.cameraMovement", + "$dropdown_content": "general_section.vr_camera_movement_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "vr_camera_movement_dropdown", + "$option_enabled_binding_name": "#vr_camera_moement_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#vr_camera_movement_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "vr_snap_angle_slider@settings_common.option_slider": { + "$option_label": "#vr_snap_angle_slider_label", + "$slider_name": "vr_snap_angle", + "$slider_value_binding_name": "#vr_snap_angle", + "$slider_tts_text_value": "#vr_snap_angle_text_value", + "$option_enabled_binding_name": "#vr_snap_angle_enabled", + "$slider_steps_binding_name": "#vr_snap_angle_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_toggle_variable_snap_angle@settings_common.option_toggle": { + "$option_label": "options.vr.variableSnapAngle", + "$option_binding_name": "#vr_variable_snap_angle", + "$option_enabled_binding_name": "#vr_variable_snap_angle_enabled", + "$toggle_name": "vr_variable_snap_angle" + } + }, + { + "option_toggle_snap_sound@settings_common.option_toggle": { + "$option_label": "options.vr.snapSound", + "$option_binding_name": "#vr_snap_sound", + "$option_enabled_binding_name": "#vr_snap_sound_enabled", + "$toggle_name": "vr_snap_sound" + } + }, + { + "vr_movement_dropdown@settings_common.option_dropdown": { + "$option_label": "options.vr.movement", + "$dropdown_content": "general_section.vr_movement_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "vr_movement_dropdown", + "$option_enabled_binding_name": "#vr_movement_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#vr_movement_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "vr_jump_dropdown@settings_common.option_dropdown": { + "$option_label": "options.vr.jump", + "$dropdown_content": "general_section.vr_jump_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "vr_jump_dropdown", + "$option_enabled_binding_name": "#vr_jump_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#vr_jump_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "vr_head_steering_dropdown@settings_common.option_dropdown": { + "$option_label": "options.vr.headSteering", + "$dropdown_content": "general_section.vr_head_steering_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "vr_head_steering_dropdown", + "$option_enabled_binding_name": "#vr_head_steering_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#vr_head_steering_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "vr_sticky_mining_dropdown@settings_common.option_dropdown": { + "$option_label": "options.vr.stickyMining", + "$dropdown_content": "general_section.vr_sticky_mining_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "vr_sticky_mining_dropdown", + "$option_enabled_binding_name": "#vr_sticky_mining_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#vr_sticky_mining_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "vr_hud_position_dropdown@settings_common.option_dropdown": { + "$option_label": "options.vr.hudPosition", + "$dropdown_content": "general_section.vr_hud_position_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "vr_hud_position_dropdown", + "$option_enabled_binding_name": "#vr_hud_position_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#vr_hud_position_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { + "vr_hud_distance_slider@settings_common.option_slider": { + "$option_label": "#vr_hud_distance_slider_label", + "$slider_name": "vr_hud_distance", + "$slider_value_binding_name": "#vr_hud_distance", + "$slider_tts_text_value": "#vr_hud_distance_text_value", + "$option_enabled_binding_name": "#vr_hud_distance_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_toggle_11@settings_common.option_toggle": { + "ignored": "(not $supports_hand_controllers)", + "$option_label": "options.vrHandControlsItem", + "$option_binding_name": "#vr_hand_controls_item", + "$option_enabled_binding_name": "#vr_hand_controls_item_enabled", + "$toggle_name": "vr_hand_controls_item" + } + } + ] + }, + + "vr_camera_movement_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_camera_movement_radio_snap", + "$radio_label_text": "options.vr.cameraMovement.snap" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_camera_movement_radio_classic", + "$radio_label_text": "options.vr.cameraMovement.classic" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_camera_movement_radio_wheel", + "$radio_label_text": "options.vr.cameraMovement.wheel" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_camera_movement_radio_snap_wheel", + "$radio_label_text": "options.vr.cameraMovement.snapWheel" + } + } + ] + }, + + "vr_movement_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_movement_radio_linear", + "$radio_label_text": "options.vr.movement.linear" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_movement_radio_classic", + "$radio_label_text": "options.vr.movement.classic" + } + } + ] + }, + + "vr_jump_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_jump_radio_linear", + "$radio_label_text": "options.vr.jump.linear" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_jump_radio_classic", + "$radio_label_text": "options.vr.jump.classic" + } + } + ] + }, + + "vr_head_steering_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_head_steering_radio_gaze", + "$radio_label_text": "options.vr.headSteering.followGaze" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_head_steering_radio_player", + "$radio_label_text": "options.vr.headSteering.followPlayer" + } + } + ] + }, + + "vr_sticky_mining_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_sticky_mining_radio_lock", + "$radio_label_text": "options.vr.stickyMining.lockOn" + } + }, + { + "@settings_common.radio_with_label": { + "ignored": "(not $supports_hand_controllers)", + "$toggle_state_binding_name": "#vr_sticky_mining_radio_controller", + "$radio_label_text": "options.vr.stickyMining.handControllerOnly" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_sticky_mining_radio_disabled", + "$radio_label_text": "options.vr.stickyMining.disabled" + } + } + ] + }, + + "vr_hud_position_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_hud_position_radio_drift", + "$radio_label_text": "options.vr.hudPosition.drift" + } + }, + { + "@settings_common.radio_with_label": { + "ignored": "(not $supports_hand_controllers)", + "$toggle_state_binding_name": "#vr_hud_position_radio_offhand", + "$radio_label_text": "options.vr.hudPosition.offhand" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vr_hud_position_radio_fixed", + "$radio_label_text": "options.vr.hudPosition.fixed" + } + } + ] + }, + + // Accessibility button & section + + "accessibility_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "accessibility_button_toggle", + "$glyph_texture": "textures/ui/accessibility_glyph", + "$glyph_color_texture": "textures/ui/accessibility_glyph_color", + "$glyph_size": [ 19, 20 ], + "$button_text": "options.accessibility", + "$toggle_property_bag": { + "#panel_title": "options.accessibility.title" + } + }, + + "darkness_slider_label": { + "type": "label", + "text": "options.darknessEffectModifier.message", + "size": [ "100%", "default" ], + "color": "$option_description_text_color" + }, + + "glint_strength_slider_label": { + "type": "label", + "text": "options.glintStrength.message", + "size": [ "100%", "default" ], + "color": "$option_description_text_color" + }, + + "glint_speed_slider_label": { + "type": "label", + "text": "options.glintspeed.message", + "size": [ "100%", "default" ], + "color": "$option_description_text_color" + }, + + "toast_notification_duration_label": { + "type": "label", + "text": "options.notificationDuration.Toast", + "size": [ "100%", "default" ], + "color": "$body_text_color" + }, + + "toast_notification_duration_info_label": { + "ignored": "$education_edition", + "type": "label", + "text": "options.notificationDuration.ToastMessage", + "size": [ "100%", "default" ], + "color": "$option_description_text_color" + }, + + "toast_notification_duration_info_edu_label": { + "ignored": "(not $education_edition)", + "type": "label", + "text": "options.notificationDuration.ToastMessage.edu", + "size": [ "100%", "default" ], + "color": "$option_description_text_color" + }, + + "chat_message_duration_label": { + "type": "label", + "text": "options.notificationDuration.Chat", + "size": [ "100%", "default" ], + "color": "$body_text_color" + }, + + "chat_message_duration_info_label": { + "type": "label", + "text": "options.notificationDuration.ChatDuration", + "size": [ "100%", "default" ], + "color": "$option_description_text_color" + }, + + "accessibility_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "accessibility_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "option_toggle0@settings_common.option_toggle": { + "ignored": "(not $supports_flite_tts or not $platform_tts_exists)", + "$option_label": "options.enableAutoPlatformTextToSpeech", + "$option_binding_name": "#enable_auto_text_to_speech", + "$option_enabled_binding_name": "#enable_auto_text_to_speech_enabled", + "$toggle_name": "enable_auto_text_to_speech" + } + }, + { + "option_toggle1@settings_common.option_toggle": { + "ignored": "(not $supports_flite_tts)", + "$option_label": "options.enableUITextToSpeech", + "$option_binding_name": "#enable_ui_text_to_speech", + "$option_enabled_binding_name": "#enable_ui_text_to_speech_enabled", + "$toggle_name": "enable_ui_text_to_speech" + } + }, + { + "option_toggle2@settings_common.option_toggle": { + "ignored": "(not $supports_flite_tts)", + "$option_label": "options.enableChatTextToSpeech", + "$option_binding_name": "#enable_chat_text_to_speech", + "$option_enabled_binding_name": "#enable_chat_text_to_speech_enabled", + "$toggle_name": "enable_chat_text_to_speech", + "bindings": [ + { + "binding_name": "#not_hide_chat", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "option_slider_0@settings_common.option_slider": { + "$option_label": "#texttospeech_volume_slider_label", + "$slider_name": "texttospeech_volume", + "$slider_value_binding_name": "#texttospeech_volume", + "$slider_tts_text_value": "#texttospeech_volume_text_value", + "$option_enabled_binding_name": "#texttospeech_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_toggle3@settings_common.option_toggle": { + "ignored": "(not $supports_flite_tts)", + "$option_label": "options.enableOpenChatMessage", + "$option_binding_name": "#enable_open_chat_message", + "$option_enabled_binding_name": "#enable_open_chat_message_enabled", + "$toggle_name": "enable_open_chat_message" + } + }, + { + "text_background_opacity_slider@settings_common.option_slider": { + "$option_label": "#text_background_opacity_slider_label", + "$slider_name": "text_background_opacity", + "$slider_value_binding_name": "#text_background_opacity", + "$slider_tts_text_value": "#text_background_opacity_text_value", + "$option_enabled_binding_name": "#text_background_opacity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "actionbar_text_background_opacity_slider@settings_common.option_slider": { + "$option_label": "#actionbar_text_background_opacity_slider_label", + "$slider_name": "actionbar_text_background_opacity", + "$slider_value_binding_name": "#actionbar_text_background_opacity", + "$slider_tts_text_value": "#actionbar_text_background_opacity_text_value", + "$option_enabled_binding_name": "#actionbar_text_background_opacity_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "camera_shake_toggle@settings_common.option_toggle": { + "ignored": "($is_holographic and $is_reality_mode and not $is_pregame)", + "$option_label": "options.screenShake", + "$option_binding_name": "#camera_shake", + "$option_enabled_binding_name": "#camera_shake_enabled", + "$toggle_name": "camera_shake" + } + }, + { + "darkness_slider@settings_common.option_slider": { + "$option_label": "#darkness_slider_label", + "$slider_name": "darkness", + "$slider_value_binding_name": "#darkness", + "$slider_tts_text_value": "#darkness_text_value", + "$option_enabled_binding_name": "#darkness_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "darkness_slider_label_spacer_pre": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "darkness_slider_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.darkness_slider_label" + } + }, + { + "darkness_slider_label_spacer_post": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "glint_strength_slider@settings_common.option_slider": { + "$option_label": "#glint_strength_slider_label", + "$slider_name": "glint_strength", + "$slider_value_binding_name": "#glint_strength", + "$slider_tts_text_value": "#glint_strength_text_value", + "$option_enabled_binding_name": "#glint_strength_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "glint_strength_slider_label_spacer_pre": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "glint_strength_slider_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.glint_strength_slider_label" + } + }, + { + "glint_strength_slider_label_spacer_post": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "glint_speed_slider@settings_common.option_slider": { + "$option_label": "#glint_speed_slider_label", + "$slider_name": "glint_speed", + "$slider_value_binding_name": "#glint_speed", + "$slider_tts_text_value": "#glint_speed_text_value", + "$option_enabled_binding_name": "#glint_speed_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "glint_speed_slider_label_spacer_pre": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "glint_speed_slider_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.glint_speed_slider_label" + } + }, + { + "glint_speed_slider_label_spacer_post": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "toast_notification_duration_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "toast_notification_duration_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.toast_notification_duration_label" + } + }, + { + "toast_notification_duration_info_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.toast_notification_duration_info_label" + } + }, + { + "toast_notification_duration_info_label_edu_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.toast_notification_duration_info_edu_label" + } + }, + { + "toast_notification_duration_dropdown_spacer_pre": { + "type": "panel", + "size": [ "100%", -8 ] + } + }, + { + "toast_notification_duration_dropdown@settings_common.option_dropdown": { + "ignored": "($is_holographic and $is_reality_mode)", + "$dropdown_content": "general_section.toast_notification_duration_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "toast_notification_duration_dropdown", + "$option_enabled_binding_name": "#toast_notification_duration_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#toast_notification_duration_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + } + ] + } + }, + { + "chat_message_duration_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "chat_message_duration_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.chat_message_duration_label" + } + }, + { + "chat_message_duration_info_label_wrapper@common.tts_label_focus_wrapper": { + "$tts_label_panel": "general_section.chat_message_duration_info_label" + } + }, + { + "chat_message_duration_dropdown_spacer_pre": { + "type": "panel", + "size": [ "100%", -8 ] + } + }, + { + "chat_message_duration_dropdown@settings_common.option_dropdown": { + "ignored": "($is_holographic and $is_reality_mode)", + "$dropdown_content": "general_section.chat_message_duration_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "chat_message_duration_dropdown", + "$option_enabled_binding_name": "#chat_message_duration_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#chat_message_duration_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + } + ] + } + }, + { + "gui_scale_slider@settings_common.option_slider": { + "ignored": "($is_holographic)", + "$option_label": "#gui_scale_slider_label", + "$slider_name": "gui_scale", + "$slider_value_binding_name": "#gui_scale", + "$slider_tts_text_value": "#gui_scale_text_value", + "$option_enabled_binding_name": "#gui_scale_enabled", + "$slider_steps_binding_name": "#gui_scale_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#gui_scale_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gui_scale_disabled_option@general_section.gui_scale_disabled_option": { + "$gui_scale_disabled_option_visible": "#gui_scale_disabled_option_visible", + "$gui_scale_disabled_option_is_hovered_button_event": "button.gui_scale_disabled_option_is_hovered", + "$gui_scale_disabled_option_tooltip_visible": "#gui_scale_disabled_option_tooltip_visible" + } + }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + } + }, + { + "gui_accessibility_scaling_toggle@settings_common.option_toggle": { + "$option_label": "options.gui.accessibility.scaling", + "$option_binding_name": "#gui_accessibility_scaling", + "$option_enabled_binding_name": "#gui_accessibility_scaling_enabled", + "$toggle_name": "gui_accessibility_scaling", + "layer": 1, + "controls": [ + { "accessibility_scaling_option@general_section.accessibility_scaling_option": {} }, + { "option_generic_core@settings_common.option_generic_core": {} } + ] + } + }, + { + "reset_button@settings_common.action_button": { + "ignored": "(not $is_pregame)", + "$pressed_button_name": "button.reset_settings", + "$button_text": "options.resetSettings", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "property_bag": { + "reset_group": "accessibility" + } + } + } + ] + }, + + // Music and Sound button & section + + "sound_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "sound_button_toggle", + "$glyph_texture": "textures/ui/sound_glyph", + "$glyph_color_texture": "textures/ui/sound_glyph_color", + "$glyph_size": [ 16, 12 ], + "$button_text": "options.sounds", + "$toggle_property_bag": { + "#panel_title": "options.sounds.title" + } + }, + + "sound_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "$spatialPatternsPadding": [ "100%", 36 ], + "$audioSlidersSize": [ "75% - 2px", 16 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "sound_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingMainVolume": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_0@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#main_volume_slider_label", + "$slider_name": "main_volume", + "$slider_value_binding_name": "#main_volume", + "$slider_tts_text_value": "#main_volume_text_value", + "$option_enabled_binding_name": "#main_volume_enabled", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingDividerAudioSettings": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "dividerAudioSettings": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingMusic": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_1@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#music_volume_slider_label", + "$slider_name": "music_volume", + "$slider_value_binding_name": "#music_volume", + "$slider_tts_text_value": "#music_volume_text_value", + "$option_enabled_binding_name": "#music_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingSound": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_2@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#sound_volume_slider_label", + "$slider_name": "sound_volume", + "$slider_value_binding_name": "#sound_volume", + "$slider_tts_text_value": "#sound_volume_text_value", + "$option_enabled_binding_name": "#sound_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingAmbient": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_3@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#ambient_volume_slider_label", + "$slider_name": "ambient_volume", + "$slider_value_binding_name": "#ambient_volume", + "$slider_tts_text_value": "#ambient_volume_text_value", + "$option_enabled_binding_name": "#ambient_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingBlockVolume": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_4@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#block_volume_slider_label", + "$slider_name": "block_volume", + "$slider_value_binding_name": "#block_volume", + "$slider_tts_text_value": "#block_volume_text_value", + "$option_enabled_binding_name": "#block_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingHostile": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_5@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#hostile_volume_slider_label", + "$slider_name": "hostile_volume", + "$slider_value_binding_name": "#hostile_volume", + "$slider_tts_text_value": "#hostile_volume_text_value", + "$option_enabled_binding_name": "#hostile_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingNeutralVolume": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_6@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#neutral_volume_slider_label", + "$slider_name": "neutral_volume", + "$slider_value_binding_name": "#neutral_volume", + "$slider_tts_text_value": "#neutral_volume_text_value", + "$option_enabled_binding_name": "#neutral_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingPlayervolume": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_7@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#player_volume_slider_label", + "$slider_name": "player_volume", + "$slider_value_binding_name": "#player_volume", + "$slider_tts_text_value": "#player_volume_text_value", + "$option_enabled_binding_name": "#player_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingRecordVolume": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_8@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#record_volume_slider_label", + "$slider_name": "record_volume", + "$slider_value_binding_name": "#record_volume", + "$slider_tts_text_value": "#record_volume_text_value", + "$option_enabled_binding_name": "#record_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingWeatherVolume": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_9@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#weather_volume_slider_label", + "$slider_name": "weather_volume", + "$slider_value_binding_name": "#weather_volume", + "$slider_tts_text_value": "#weather_volume_text_value", + "$option_enabled_binding_name": "#weather_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingTTSVolume": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "option_slider_10@settings_common.option_slider": { + "size": "$audioSlidersSize", + "$option_label": "#texttospeech_volume_slider_label", + "$slider_name": "texttospeech_volume", + "$slider_value_binding_name": "#texttospeech_volume", + "$slider_tts_text_value": "#texttospeech_volume_text_value", + "$option_enabled_binding_name": "#texttospeech_volume_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingResetVolumes": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + }, + + { + "reset_button@settings_common.action_button": { + "ignored": "(not $is_pregame)", + "$pressed_button_name": "button.reset_settings", + "$button_text": "options.resetSettings", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "property_bag": { + "reset_group": "audio" + } + } + }, + + // Add some padding between the buttons/toggles to reduce the impression upon the eyes. (ADO:515619) + { + "paddingEndOfList": { + "type": "panel", + "size": "$spatialPatternsPadding" + } + } + + ] + }, + + // LANGUAGE button & section + + "language_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "language_button_toggle", + "$glyph_texture": "textures/ui/language_glyph", + "$glyph_color_texture": "textures/ui/language_glyph_color", + "$glyph_size": [ 25, 13 ], + "$button_text": "options.language", + "$toggle_property_bag": { + "#panel_title": "options.language" + } + }, + + "language_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#language_initial_selected", + "$radio_label_text": "#language_description", + "$radio_label_bindings": [ + { + "binding_name": "#language_description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "languages" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "languages", + "$toggle_grid_collection_name": "languages", + "$option_enabled_binding_name": "", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "languages" + } + ] + }, + + "language_section": { + "type": "stack_panel", + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$active_text_color": [ 1.0, 1.0, 1.0 ], + + "bindings": [ + { + "binding_type": "view", + "source_control_name": "language_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "language_list_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.language_grid_item", + "grid_dimension_binding": "#language_grid_dimension", + "collection_name": "languages", + "bindings": [ + { + "binding_name": "#language_grid_dimension", + "binding_condition": "visible" + } + ] + } + } + ] + }, + + // PREVIEW button & section + + "preview_button@settings_common.section_toggle_base": { + "ignored": "(not $show_preview_button)", + "$toggle_view_binding_name": "preview_button_toggle", + "$glyph_texture": "textures/ui/debug_glyph", + "$glyph_color_texture": "textures/ui/debug_glyph_color", + "$glyph_size": [ 15, 15 ], + "$button_text": "offer.preview", + "$toggle_property_bag": { + "#panel_title": "offer.preview" + } + }, + + "preview_section": { + "ignored": "(not $show_preview_button)", + "type": "stack_panel", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "preview_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "spacer_0": { + "type": "panel", + "size": [ 0, 10 ] + } + }, + { + "generic_label@settings_common.white_label": { + "size": [ "100%", 30 ], + "text_alignment": "center", + "$text": "offer.sony_preview_description" + } + }, + { + "preview_store_launch_app1_button@settings_common.action_button": { + "ignored": "(not $show_preview_app1_button)", + "$pressed_button_name": "button.preview_app1", + "$button_text": "#preview_app1_button_text", + "$button_text_binding_type": "global" + } + }, + { + "preview_store_launch_app2_button@settings_common.action_button": { + "ignored": "(not $show_preview_app2_button)", + "$pressed_button_name": "button.preview_app2", + "$button_text": "#preview_app2_button_text", + "$button_text_binding_type": "global" + } + } + ] + }, + + // DEBUG button & section + + "override_date_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "44px" ], + "$one_line_layout": false, + "$text_edit_box_text_type": "NumberChars", + "$option_text_edit_control_size": [ "30px", "25px" ], + "$option_generic_panel_size": [ "30px", "100%c" ], + "$option_label_alignment": "center", + "controls": [ + { + "year_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideDateYear", + "$max_text_edit_length": 4, + "$text_box_name": "dev_date_year_override_text_box", + "$option_binding_name": "#dev_date_year_override" + } + }, + { + "year_month_slash": { + "type": "label", + "size": [ 16, "default" ], + "text": " / ", + "text_alignment": "center", + "color": "$main_header_text_color" + } + }, + { + "month_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideDateMonth", + "$max_text_edit_length": 2, + "$text_box_name": "dev_date_month_override_text_box", + "$option_binding_name": "#dev_date_month_override" + } + }, + { + "month_day_slash": { + "type": "label", + "size": [ 16, "default" ], + "text": " / ", + "text_alignment": "center", + "color": "$main_header_text_color" + } + }, + { + "day_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideDateDay", + "$max_text_edit_length": 2, + "$text_box_name": "dev_date_day_override_text_box", + "$option_binding_name": "#dev_date_day_override" + } + }, + { + "day_hour_slash": { + "type": "label", + "size": [ 16, "default" ], + "text": " / ", + "text_alignment": "center", + "color": "$main_header_text_color" + } + }, + { + "hour_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideDateHour", + "$max_text_edit_length": 2, + "$text_box_name": "dev_date_hour_override_text_box", + "$option_binding_name": "#dev_date_hour_override" + } + }, + { + "hour_minute_slash": { + "type": "label", + "size": [ 16, "default" ], + "text": " / ", + "text_alignment": "center", + "color": "$main_header_text_color" + } + }, + { + "minute_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideDateMinute", + "$max_text_edit_length": 2, + "$text_box_name": "dev_date_minute_override_text_box", + "$option_binding_name": "#dev_date_minute_override" + } + } + ] + }, + + "timezonetype_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#timezonetype_radio_local", + "$radio_label_text": "options.dev.timeZoneType.local" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#timezonetype_radio_utc", + "$radio_label_text": "options.dev.timeZoneType.utc" + } + } + ] + }, + + "date_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "display_override_datetime_option_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_displayOverrideDatetime", + "$option_binding_name": "#dev_display_override_datetime", + "$option_enabled_binding_name": "#dev_display_override_datetime_enabled", + "$toggle_name": "dev_display_override_datetime" + } + }, + { + "option_toggle_date_override@settings_common.option_toggle": { + "$option_label": "options.dev_useOverrideDate", + "$option_binding_name": "#dev_use_override_date", + "$option_enabled_binding_name": "#dev_use_override_date_enabled", + "$toggle_name": "dev_use_override_date" + } + }, + { + "override_date_options_panel@general_section.override_date_options_panel": {} + } + ] + }, + + "override_date_options_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "override_date_options_background_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "90%", "100%c" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$enabled": true, + "controls": [ + { + "load_override_date_option_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_loadOverrideDate", + "$option_binding_name": "#dev_load_override_date", + "$option_enabled_binding_name": "#dev_load_override_date_enabled", + "$toggle_name": "dev_load_override_date" + } + }, + { + "select_dropdown@settings_common.option_dropdown": { + "$option_label": "options.dev.timeZoneType", + "$dropdown_content": "general_section.timezonetype_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "timezonetype_dropdown", + "$options_dropdown_toggle_label_binding": "#timezonetype_dropdown_toggle_label", + "$option_enabled_binding_name": "#timezonetype_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "145%" ] + } + }, + { "override_date_panel@general_section.override_date_panel": {} }, + { + "padding1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "override_time_scale_option@settings_common.option_text_edit": { + "$option_text_edit_control_size": [ "40px", "25px" ], + "$option_label": "options.dev_overrideTimeScale", + "$option_label_alignment": "left", + "$max_text_edit_length": 5, + "$text_box_name": "dev_override_time_scale_text_box", + "$option_binding_name": "#dev_override_time_scale", + "$text_edit_box_text_type": "NumberChars" + } + }, + { + "reset_time_button@settings_common.action_button": { + "$pressed_button_name": "dev_reset_date_button", + "$button_text": "options.dev_resetOverrideDate" + } + }, + { + "padding2": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#override_date_options_visible", + "binding_name_override": "#visible" + } + ] + }, + "debug_display_logged_error_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "debug_display_logged_error_panel_background": { + "type": "stack_panel", + "size": [ "90%", "100%c" ], + "controls": [ + { + "option_dev_show_display_logged_error_marketplace@settings_common.option_toggle": { + "$option_label": "options.dev_show_display_logged_error_marketplace", + "$option_binding_name": "#dev_show_display_logged_error_marketplace", + "$option_enabled_binding_name": "#dev_show_display_logged_error_marketplace_enabled", + "$toggle_name": "dev_show_display_logged_error_marketplace" + } + }, + { + "option_dev_show_display_logged_error_ui@settings_common.option_toggle": { + "$option_label": "options.dev_show_display_logged_error_ui", + "$option_binding_name": "#dev_show_display_logged_error_ui", + "$option_enabled_binding_name": "#dev_show_display_logged_error_ui_enabled", + "$toggle_name": "dev_show_display_logged_error_ui" + } + }, + { + "option_dev_show_display_logged_error_osi@settings_common.option_toggle": { + "$option_label": "options.dev_show_display_logged_error_osi", + "$option_binding_name": "#dev_show_display_logged_error_osi", + "$option_enabled_binding_name": "#dev_show_display_logged_error_osi_enabled", + "$toggle_name": "dev_show_display_logged_error_osi" + } + }, + { + "option_dev_show_display_logged_error_other@settings_common.option_toggle": { + "$option_label": "options.dev_show_display_logged_error_other", + "$option_binding_name": "#dev_show_display_logged_error_other", + "$option_enabled_binding_name": "#dev_show_display_logged_error_other_enabled", + "$toggle_name": "dev_show_display_logged_error_other" + } + }, + { + "spacer_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#dev_show_display_logged_error", + "binding_name_override": "#visible" + } + ] + }, + "xbox_sandbox_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "display_override_xbox_sandbox_toggle_windows@settings_common.option_toggle": { + "$option_label": "options.dev_overrideXboxEnvironmentWindows", + "$option_binding_name": "#dev_override_xbox_sandbox", + "$option_enabled_binding_name": "#dev_override_xbox_sandbox_enabled", + "$toggle_name": "dev_override_xbox_sandbox", + "bindings": [ + { + "binding_name": "#override_xbox_sandbox_on_windows", + "binding_name_override": "#visible" + } + ] + } + }, + { + "display_override_xbox_sandbox_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_overrideXboxEnvironment", + "$option_binding_name": "#dev_override_xbox_sandbox", + "$option_enabled_binding_name": "#dev_override_xbox_sandbox_enabled", + "$toggle_name": "dev_override_xbox_sandbox", + "bindings": [ + { + "binding_name": "(not #override_xbox_sandbox_on_windows)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "override_xbox_options_panel@general_section.override_xbox_options_panel": {} + } + ] + }, + + "override_xbox_options_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "override_xbox_options": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "90%", "100%c" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$enabled": true, + "controls": [ + { + "option_dropdown_xbox@settings_common.option_dropdown": { + "$option_label": "options.dev_xboxEnvironment", + "$dropdown_content": "general_section.dev_xbox_environment_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_xbox_environment_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_xbox_environment_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_xbox_environment_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#override_xbox_sandbox_visible", + "binding_name_override": "#visible" + } + ] + }, + + "override_version_options_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "override_version_panel@general_section.override_version_panel": {} + }, + { + "override_version_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "update_override_version_button@settings_common.action_button": { + "$pressed_button_name": "dev_update_override_version_button", + "$button_text": "options.dev_updateVersionOverride" + } + } + ], + "bindings": [ + { + "binding_name": "#update_override_version_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "override_date_panel_bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + + ], + "bindings": [ + { + "binding_name": "#override_version_options_visible", + "binding_name_override": "#visible" + } + ] + }, + + "override_version_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "44px" ], + "$one_line_layout": false, + "$text_edit_box_text_type": "NumberChars", + "$option_text_edit_control_size": [ "30px", "25px" ], + "$option_generic_panel_size": [ "30px", "100%c" ], + "$option_label_alignment": "center", + "controls": [ + { + "major_version_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideVersionMajor", + "$max_text_edit_length": 1, + "$text_box_name": "dev_version_major_override_text_box", + "$option_binding_name": "#dev_version_major_override" + } + }, + { + "first_dot@general_section.dot_label": {} + }, + { + "minor_version_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideVersionMinor", + "$max_text_edit_length": 2, + "$text_box_name": "dev_version_minor_override_text_box", + "$option_binding_name": "#dev_version_minor_override" + } + }, + { + "second_dot@general_section.dot_label": {} + }, + { + "patch_version_text_box@settings_common.option_text_edit": { + "$option_label": "options.dev_overrideVersionPatch", + "$max_text_edit_length": 3, + "$text_box_name": "dev_version_patch_override_text_box", + "$option_binding_name": "#dev_version_patch_override" + } + } + ] + }, + + "dot_label": { + "type": "label", + "size": [ 20, "default" ], + "text": " . ", + "text_alignment": "center", + "color": "$main_header_text_color" + }, + + "debug_override_treatments_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "override_treatments_panel_background": { + "type": "stack_panel", + "size": [ "90%", "100%c" ], + "controls": [ + { + "option_toggle_treatment_override@settings_common.option_toggle": { + "$option_label": "options.dev_experimentalTreatment", + "$option_binding_name": "#dev_show_override_treatments", + "$option_enabled_binding_name": "#dev_show_override_treatments_enabled", + "$toggle_name": "dev_show_override_treatments" + } + }, + { + "current_sandbox_label@general_section.sandbox_label": { + } + }, + { + "spacer_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "override_treatment_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#dev_show_override_treatments", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "apply_treatments_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.apply_treatments", + "size": [ "100%", 30 ], + "$button_text": "options.dev_applyTreatments" + } + }, + { + "add_treatments_panel": { + "type": "stack_panel", + "size": [ "100%", 40 ], + "orientation": "horizontal", + "controls": [ + { + "text_edit_treatment@settings_common.option_text_edit": { + "$option_generic_panel_size": [ "fill", "100%c" ], + "$option_label": "options.dev_addTreatmentId", + "$text_box_name": "dev_treatment_id", + "$option_binding_name": "#dev_treatment_id", + "$option_enabled_binding_name": "#dev_treatment_id_enabled", + "$max_text_edit_length": 50 + } + }, + { + "add_button_panel": { + "type": "panel", + "size": [ 40, "100%" ], + "controls": [ + { + "add_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.add_treatment_by_name", + "size": [ 40, 30 ], + "offset": [ 0, 1 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$button_text": "options.dev_addLabel" + } + } + ] + } + } + ] + } + }, + { + "treatment_cache_management_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "reset_to_default@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$pressed_button_name": "button.reset_to_default_treatments", + "$button_text": "options.dev_resetToDefault" + } + }, + { + "clear_treatments@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$pressed_button_name": "button.clear_treatment_list", + "$button_text": "options.dev_clearFlights" + } + } + ] + } + } + ] + } + }, + { + "treatments_label_panel@common_store.banner_fill": { + "size": [ "100%", 18 ], + "controls": [ + { + "treatments_label": { + "type": "label", + "offset": [ 3, 0 ], + "text": "options.dev_currentTreatmentsTitle", + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1 + } + } + ] + } + }, + { + "progress_spinner_1": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "progress_loading_spinner_1@common_store.progress_loading_spinner": { + "layer": 100, + "size": [ "100%", 20 ] + } + } + ], + "bindings": [ + { + "binding_name": "(not #override_progressions_loading_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "treatment_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.treatment_grid_item", + "grid_dimension_binding": "#treatments_grid_dimension", + "collection_name": "treatment_collection", + "bindings": [ + { + "binding_name": "#treatments_grid_dimension", + "binding_condition": "visible" + }, + { + "binding_name": "#override_progressions_loading_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unused_treatments_label_panel@common_store.banner_fill": { + "size": [ "100%", 18 ], + "controls": [ + { + "treatments_label": { + "type": "label", + "offset": [ 3, 0 ], + "text": "options.dev_unusedTreatmentsTitle", + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1 + } + } + ] + } + }, + { + "progress_spinner_2": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "progress_loading_spinner_2@common_store.progress_loading_spinner": { + "layer": 100, + "size": [ "100%", 20 ] + } + } + ], + "bindings": [ + { + "binding_name": "(not #override_progressions_loading_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unused_treatment_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.unused_treatment_grid_item", + "grid_dimension_binding": "#unused_treatments_grid_dimension", + "collection_name": "unused_treatment_collection", + "bindings": [ + { + "binding_name": "#unused_treatments_grid_dimension", + "binding_condition": "visible" + }, + { + "binding_name": "#override_progressions_loading_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "spacer_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#dev_display_treatments_panel", + "binding_name_override": "#visible" + } + ] + }, + + "debug_override_progressions_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "override_progressions_panel_background": { + "type": "stack_panel", + "size": [ "90%", "100%c" ], + "controls": [ + { + "option_toggle_progression_override@settings_common.option_toggle": { + "$option_label": "options.dev_experimentalProgressions", + "$option_binding_name": "#dev_show_override_progressions", + "$option_enabled_binding_name": "#dev_show_override_progressions_enabled", + "$toggle_name": "dev_show_override_progressions" + } + }, + { + "current_sandbox_label@general_section.sandbox_label": {} + }, + { + "spacer_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "override_progression_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#dev_show_override_progressions", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "add_progressions_panel": { + "type": "stack_panel", + "size": [ "100%", 40 ], + "orientation": "horizontal", + "controls": [ + { + "text_edit_progression@settings_common.option_text_edit": { + "$option_generic_panel_size": [ "fill", "100%c" ], + "$option_label": "options.dev_addProgressionId", + "$text_box_name": "dev_progression_id", + "$option_binding_name": "#dev_progression_id", + "$option_enabled_binding_name": "#dev_progression_id_enabled", + "$max_text_edit_length": 50 + } + }, + { + "add_button_panel": { + "type": "panel", + "size": [ 40, "100%" ], + "controls": [ + { + "add_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.add_progression_by_name", + "size": [ 40, 30 ], + "offset": [ 0, 1 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$button_text": "options.dev_addLabel" + } + } + ] + } + } + ] + } + }, + { + "progression_cache_management_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "reset_to_default@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$pressed_button_name": "button.reset_to_default_progressions", + "$button_text": "options.dev_resetToDefault" + } + }, + { + "clear_progressions@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$pressed_button_name": "button.clear_progression_list", + "$button_text": "options.dev_clearFlights" + } + } + ] + } + } + ] + } + }, + { + "progression_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.progression_grid_item", + "grid_dimension_binding": "#progressions_grid_dimension", + "collection_name": "progression_collection", + "bindings": [ + { + "binding_name": "#progressions_grid_dimension", + "binding_condition": "visible" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#dev_display_progressions_panel", + "binding_name_override": "#visible" + } + ] + }, + + "sandbox_label": { + "type": "label", + "offset": [ 3, 0 ], + "text": "options.dev_sandboxRetail", + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1 + }, + + "progression_grid_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 18 ], + "controls": [ + { + "progression_id_panel@common_store.banner_fill": { + "size": [ "fill", "100%" ], + "controls": [ + { + "progression_id": { + "type": "label", + "size": [ "100% - 3px", 10 ], + "offset": [ 3, 0 ], + "text": "#progression_id", + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#progression_id", + "binding_type": "collection", + "binding_collection_name": "progression_collection", + "binding_condition": "visible" + } + ] + } + } + ] + } + }, + { + "remove_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.remove_progression", + "size": [ 20, "100%" ], + "$button_content": "general_section.remove_progression_icon", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "progression_collection", + "binding_condition": "visible" + }, + { + "binding_name": "#dev_show_override_progressions", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "remove_progression_icon": { + "type": "image", + "texture": "textures/ui/realms_red_x" + }, + + "treatment_grid_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 18 ], + "controls": [ + { + "treatment_id_panel@common_store.banner_fill": { + "size": [ "fill", "100%" ], + "controls": [ + { + "treatment_id": { + "type": "label", + "size": [ "100% - 3px", 10 ], + "offset": [ 3, 0 ], + "text": "#treatment_id", + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#treatment_id", + "binding_type": "collection", + "binding_collection_name": "treatment_collection", + "binding_condition": "visible" + } + ] + } + } + ] + } + }, + { + "remove_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.remove_treatment", + "size": [ 20, "100%" ], + "$button_content": "general_section.remove_treatment_icon", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "treatment_collection", + "binding_condition": "visible" + }, + { + "binding_name": "#dev_show_override_treatments", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "remove_treatment_icon": { + "type": "image", + "texture": "textures/ui/realms_red_x" + }, + + "unused_treatment_grid_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 18 ], + "controls": [ + { + "unused_treatment_id_panel@common_store.banner_fill": { + "size": [ "fill", "100%" ], + "controls": [ + { + "unused_treatment_id": { + "type": "label", + "size": [ "100% - 3px", 10 ], + "offset": [ 3, 0 ], + "text": "#unused_treatment_id", + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1, + "bindings": [ + { + "binding_name": "#unused_treatment_id", + "binding_type": "collection", + "binding_collection_name": "unused_treatment_collection", + "binding_condition": "visible" + } + ] + } + } + ] + } + }, + { + "add_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.add_treatment", + "size": [ 18, "100%" ], + "$button_content": "general_section.add_treatment_icon", + "layer": 2, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "unused_treatment_collection", + "binding_condition": "visible" + }, + { + "binding_name": "#dev_show_override_treatments", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "add_treatment_icon": { + "type": "image", + "texture": "textures/ui/realms_green_check" + }, + + "debug_select_windows_store_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "select_store_dropdown@settings_common.option_dropdown": { + "$option_label": "options.dev.windowsStore", + "$dropdown_content": "general_section.windows_store_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "windows_store_dropdown", + "$option_enabled_binding_name": "#select_windows_store_visible", + "$options_dropdown_toggle_label_binding": "#windows_store_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "stores_label": { + "type": "label", + "offset": [ 3, 0 ], + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1, + "text": "options.dev.stores" + } + }, + { + "sandbox_label": { + "type": "label", + "offset": [ 3, 0 ], + "text_alignment": "left", + "color": "$body_text_color", + "layer": 1, + "text": "#active_stores_label", + "bindings": [ + { + "binding_name": "#active_stores_label" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#select_windows_store_visible", + "binding_name_override": "#visible" + } + ] + }, + + "windows_store_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#windows_store_mode_radio_auto", + "$radio_label_text": "options.dev.windowsStore.auto" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#windows_store_mode_radio_v6", + "$radio_label_text": "options.dev.windowsStore.v6" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#windows_store_mode_radio_v8", + "$radio_label_text": "options.dev.windowsStore.v8" + } + } + ] + }, + + "mock_http_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "display_mock_http_panel_toggle@settings_common.option_toggle": { + "$option_label": "Display Mock HTTP Panel", + "$option_binding_name": "#dev_display_mock_http_panel", + "$option_enabled_binding_name": "#dev_display_mock_http_panel_enabled", + "$toggle_name": "dev_display_mock_http_panel", + "$enabled": "(not $is_console)" + } + }, + { + "mock_http_panel_content@general_section.mock_http_panel_content": {} + } + ] + }, + + "mock_http_panel_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "mock_http_panel_background": { + "type": "stack_panel", + "size": [ "90%", "100%c" ], + "controls": [ + { + "add_mock_rules_button@settings_common.action_button": { + "$pressed_button_name": "dev_add_mock_http_rules", + "$button_text": "Add rules from file" + } + }, + { + "remove_all_mock_rules_button@settings_common.action_button": { + "$pressed_button_name": "dev_remove_all_mock_http_rules", + "$button_text": "Remove all rules" + } + }, + { + "active_rules_label": { + "type": "label", + "size": [ "100%", "20px" ], + "text": "Active Rules:", + "color": "$body_text_color" + } + }, + { + "rule_list@general_section.mock_http_rule_list": {} + }, + { + "divider@common.section_divider": {} + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#dev_display_mock_http_panel", + "binding_name_override": "#visible" + } + ] + }, + + "mock_http_rule_list": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "factory": { + "name": "rule_list_factory", + "control_name": "general_section.mock_http_rule" + }, + "collection_name": "mock_http_rules", + "bindings": [ + { + "binding_name": "#mock_http_rule_count", + "binding_name_override": "#collection_length" + } + ] + }, + + "mock_http_rule": { + "type": "stack_panel", + "controls": [ + { + "rule_details_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#text", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#rule_details_label", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "mock_http_rules" + } + ] + } + }, + { + "rule_spacer": { + "type": "panel", + "size": [ "100%", 5 ] + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // Automation Tab + + "automation_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "automation_button_toggle", + "$glyph_texture": "textures/ui/automation_glyph", + "$glyph_color_texture": "textures/ui/automation_glyph_color", + "$glyph_size": [ 15, 15 ], + "$button_text": "Automation", + "$toggle_property_bag": { + "#panel_title": "Automation" + } + }, + + "automation_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "automation_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "automation_tab_label": { + "type": "label", + "color": "$body_text_color", + "offset": [ 2, 0 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "text": "----- EXPERIMENTAL -----" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "automation_test_asset_sas_text_box@settings_common.option_text_edit": { + "$option_label": "Test Asset Azure SAS", + "$max_text_edit_length": 2000, + "$text_box_name": "test_assets.azure_shared_access_signature", + "$option_binding_name": "#test_assets.azure_shared_access_signature" + } + }, + { + "automation_functional_test_tags_text_box@settings_common.option_text_edit": { + "$option_label": "Functional Test Tags", + "$max_text_edit_length": 2000, + "$text_box_name": "automation_functional_test_tags", + "$option_binding_name": "#automation_functional_test_tags" + } + }, + { + "automation_server_test_tags_text_box@settings_common.option_text_edit": { + "$option_label": "Server Test Tags", + "$max_text_edit_length": 2000, + "$text_box_name": "automation_server_test_tags", + "$option_binding_name": "#automation_server_test_tags" + } + }, + { + "automation_unit_test_tags_text_box@settings_common.option_text_edit": { + "$option_label": "Unit Test Tags", + "$max_text_edit_length": 2000, + "$text_box_name": "automation_unit_test_tags", + "$option_binding_name": "#automation_unit_test_tags" + } + }, + { + "automation_broken_functional_test_tags_text_box@settings_common.option_text_edit": { + "$option_label": "Functional Broken Test Tags", + "$max_text_edit_length": 2000, + "$text_box_name": "automation_broken_functional_test_tags", + "$option_binding_name": "#automation_broken_functional_test_tags" + } + }, + { + "automation_broken_server_test_tags_text_box@settings_common.option_text_edit": { + "$option_label": "Server Broken Test Tags", + "$max_text_edit_length": 2000, + "$text_box_name": "automation_broken_server_test_tags", + "$option_binding_name": "#automation_broken_server_test_tags" + } + }, + { + "automation_broken_unit_test_tags_text_box@settings_common.option_text_edit": { + "$option_label": "Unit Broken Test Tags", + "$max_text_edit_length": 2000, + "$text_box_name": "automation_broken_unit_test_tags", + "$option_binding_name": "#automation_broken_unit_test_tags" + } + }, + { + "automation_repeat_count_text_box@settings_common.option_text_edit": { + "$text_edit_box_text_type": "NumberChars", + "$option_label": "Repeat Count", + "$max_text_edit_length": 20, + "$text_box_name": "automation_repeat_count", + "$option_binding_name": "#automation_repeat_count" + } + }, + { + "automation_soak_test_duration_minutes_text_box@settings_common.option_text_edit": { + "$text_edit_box_text_type": "NumberChars", + "$option_label": "Soak Test Duration (Minutes)", + "$max_text_edit_length": 20, + "$text_box_name": "automation_soak_test_duration_minutes", + "$option_binding_name": "#automation_soak_test_duration_minutes" + } + }, + { + "automation_repeat_failures_only_toggle@settings_common.option_toggle": { + "$option_label": "Enable Rerunning Failed Tests", + "$option_binding_name": "#automation_repeat_failures_only", + "$option_enabled_binding_name": "#automation_repeat_failures_only", + "$toggle_name": "automation_repeat_failures_only" + } + }, + { + "automation_run_entire_server_test_group@settings_common.option_toggle": { + "$option_label": "Enable Running Entire Server Test Group", + "$option_binding_name": "#automation_run_entire_server_test_group", + "$toggle_name": "automation_run_entire_server_test_group" + } + }, + { + "automation_testbuild_id_text_box@settings_common.option_text_edit": { + "$option_label": "Test Build ID", + "$max_text_edit_length": 200, + "$text_box_name": "automation_testbuild_id", + "$option_binding_name": "#automation_testbuild_id" + } + }, + { + "automation_functional_test_block_input_toggle@settings_common.option_toggle": { + "$option_label": "Disable User Input While Running Functional Tests", + "$option_binding_name": "#automation_functional_test_block_input", + "$option_enabled_binding_name": "#automation_functional_test_block_input_enabled", + "$toggle_name": "automation_functional_test_block_input" + } + }, + { + "automation_server_test_assert_on_level_diff_toggle@settings_common.option_toggle": { + "$option_label": "Enable Assert on Level Diff While Running Server Tests", + "$option_binding_name": "#automation_server_test_assert_on_level_diff", + "$option_enabled_binding_name": "#automation_server_test_assert_on_level_diff_enabled", + "$toggle_name": "automation_server_test_assert_on_level_diff" + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + // Discovery Debug Tab + + "discovery_debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "discovery_debug_button_toggle", + "$glyph_texture": "textures/ui/servers", + "$glyph_color_texture": "textures/ui/servers", + "$glyph_size": [ 15, 15 ], + "$button_text": "Discovery", + "$toggle_property_bag": { + "#panel_title": "Discovery" + } + }, + + "discovery_debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "discovery_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "option_discovery_environment@settings_common.option_dropdown": { + "$ignored": "$creator_build", + "$option_label": "options.discoveryEnvironment", + "$dropdown_content": "general_section.dev_discovery_environment_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_discovery_environment_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_discovery_environment_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_discovery_environment_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "250%" ] + } + }, + { + "debug_override_discovery_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "override_discovery_panel_background": { + "type": "stack_panel", + "size": [ "90%", "100%c" ], + "controls": [ + { + "option_toggle_discovery_override@settings_common.option_toggle": { + "$option_label": "options.dev_showDiscoveryOverridePanel", + "$option_binding_name": "#dev_show_discovery_overrides", + "$option_enabled_binding_name": "#dev_show_discovery_overrides_enabled", + "$toggle_name": "dev_show_discovery_overrides" + } + }, + { + "spacer_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "override_discovery_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#dev_show_discovery_overrides", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "text_edit_discovery_override_service_name@settings_common.option_text_edit": { + "$option_generic_panel_size": [ "100%", "100%c" ], + "$option_label": "options.dev_discoveryOverrideServiceName", + "$text_box_name": "dev_discovery_override_service_name", + "$option_binding_name": "#dev_discovery_override_service_name", + "$option_enabled_binding_name": "#dev_discovery_override_service_name_enabled", + "$max_text_edit_length": 50 + } + }, + { + "service_override_type@settings_common.option_dropdown": { + "$option_label": "options.dev_serviceOverrideType", + "$dropdown_content": "general_section.dev_service_override_type_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_service_override_type_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_service_override_type_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "250%" ] + } + }, + { + "text_edit_discovery_override_service_branch@settings_common.option_text_edit": { + "$option_generic_panel_size": [ "100%", "100%c" ], + "$option_label": "options.dev_discoveryOverrideServiceBranch", + "$text_box_name": "dev_discovery_override_branch", + "$option_binding_name": "#dev_discovery_override_branch", + "$max_text_edit_length": 50, + "bindings": [ + { + "binding_name": "#dev_discovery_override_branch_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "text_edit_discovery_override_service_custom@settings_common.option_text_edit": { + "$option_generic_panel_size": [ "100%", "100%c" ], + "$option_label": "options.dev_discoveryOverrideServiceCustom", + "$text_box_name": "dev_discovery_override_custom", + "$option_binding_name": "#dev_discovery_override_custom", + "$max_text_edit_length": 50, + "bindings": [ + { + "binding_name": "#dev_discovery_override_custom_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "service_override_management_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "reset_endpoint_override@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$pressed_button_name": "button.reset_to_default_endpoint_override", + "$button_text": "options.dev_clearFlights" + } + }, + { + "apply_endpoint_override@common_buttons.light_text_button": { + "size": [ "50%", "100%" ], + "$pressed_button_name": "button.apply_endpoint_override", + "$button_text": "options.dev_apply" + } + } + ] + } + }, + { + "spacer_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "active_service_overrides_label": { + "type": "label", + "text": "#active_service_overrides_label_text", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#active_service_overrides_label_text" + } + ] + } + }, + { + "spacer_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "reset_all_endpoint_overrides_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.reset_all_endpoint_overrides", + "size": [ "100%", 30 ], + "$button_text": "options.dev_resetAllEndpointOverrides", + "bindings": [ + { + "binding_name": "#show_reset_all_endpoint_overrides_button", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// + + "debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "debug_button_toggle", + "$glyph_texture": "textures/ui/debug_glyph", + "$glyph_color_texture": "textures/ui/debug_glyph_color", + "$glyph_size": [ 15, 15 ], + "$button_text": "options.debug", + "$toggle_property_bag": { + "#panel_title": "options.debugTitle" + } + }, + + "feature_toggle@settings_common.option_toggle": { + "$line_size": [ "100%", "100%c - 9px" ], + "$option_label": "#text", + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "feature_toggles", + "$toggle_name": "feature_toggle", + "$toggle_state_binding_name": "#feature_toggle_state", + "$option_binding_name": "#feature_toggle_state", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "feature_toggles", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "feature_toggles", + "$toggle_tts_header": "#feature_toggle_text", + "bindings": [ + { + "binding_name": "#feature_toggle_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "feature_toggles" + } + ], + "$label_bindings": [ + { + "binding_name": "#feature_toggle_text", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "feature_toggles" + } + ] + }, + + "debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + // Keep the three following options, developer console, assertions break, + // and assertions dialog, at the top for the QA teams convenience + { + "options_for_qa_convenience": { + "type": "label", + "text": "Quality Assurance Utility", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "options_for_qa_convenience_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "option_toggle_dev_console_button_0@settings_common.option_toggle": { + "$option_label": "options.dev_showDevConsoleButton", + "$option_binding_name": "#dev_show_dev_console_button", + "$option_enabled_binding_name": "#dev_show_dev_console_button_enabled", + "$toggle_name": "dev_show_dev_console_button" + } + }, + { + "option_toggle_assertions_debug_break@settings_common.option_toggle": { + "$option_label": "options.dev_assertions_debug_break", + "$option_binding_name": "#dev_assertions_debug_break", + "$option_enabled_binding_name": "#dev_assertions_debug_break_enabled", + "$toggle_name": "dev_assertions_debug_break" + } + }, + { + "option_toggle_assertions_show_dialog@settings_common.option_toggle": { + "$option_label": "options.dev_assertions_show_dialog", + "$option_binding_name": "#dev_assertions_show_dialog", + "$option_enabled_binding_name": "#dev_assertions_show_dialog_enabled", + "$toggle_name": "dev_assertions_show_dialog" + } + }, + { + "option_dev_show_display_logged_error@settings_common.option_toggle": { + "$option_label": "options.dev_show_display_logged_error", + "$option_binding_name": "#dev_show_display_logged_error", + "$option_enabled_binding_name": "#dev_show_display_logged_error_enabled", + "$toggle_name": "dev_show_display_logged_error" + } + }, + { + "display_logged_error_panel@general_section.debug_display_logged_error_panel": {} + }, + { + "option_dev_force_trial_mode@settings_common.option_toggle": { + "$option_label": "options.dev_force_trial_mode", + "$option_binding_name": "#dev_force_trial_mode", + "$option_enabled_binding_name": "#dev_force_trial_mode_enabled", + "$toggle_name": "dev_force_trial_mode" + } + }, + { + "option_dev_force_trial_mode_spacer": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "debug_overlay_pages_label": { + "type": "label", + "text": "Debug Overlay Pages", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "debug_overlay_button_panel@common.empty_panel": { + "size": [ "100%", "60%c" ], + "controls": [ + { + "debug_overlay_previous_button@settings_common.action_button": { + "$pressed_button_name": "button.cycle_previous_debug_overlay_page", + "$button_text": "Previous Page", + "size": [ "50%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "debug_overlay_next_button@settings_common.action_button": { + "$pressed_button_name": "button.cycle_next_debug_overlay_page", + "$button_text": "Next Page", + "size": [ "50%", 30 ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ] + } + }, + { + "pre_feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "feature_toggles_label": { + "type": "label", + "text": "Feature Toggles (governed by FeatureToggles.cpp)", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "feature_toggles": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "factory": { + "name": "feature_toggle_factory", + "control_name": "general_section.feature_toggle" + }, + + "collection_name": "feature_toggles", + "bindings": [ + { + "binding_name": "#feature_toggle_count", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "end_of_feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /*{// Uncomment when the debug UI option is added + "option_toggle_0_0@settings_common.option_toggle": { + "$option_label": "options.dev_enableDebugUI", + "$option_binding_name": "#dev_enable_debug_ui", + "$option_enabled_binding_name": "#dev_enable_debug_ui_enabled", + "$toggle_name": "dev_enable_debug_ui" + } +},*/ + { + "option_dropdown_actor_movement@settings_common.option_dropdown": { + "$option_label": "Actor Movement", + "$dropdown_content": "general_section.dev_actor_movement_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_actor_movement_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_actor_movement_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_actor_movement_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "300%" ] + } + }, + { + "option_dropdown_nethernet_logging_verbosity@settings_common.option_dropdown": { + "$option_label": "options.dev_nethernet_logging_verbosity", + "$dropdown_content": "general_section.dev_nethernet_logging_verbosity_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_nethernet_logging_verbosity_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_nethernet_logging_verbosity_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_nethernet_logging_verbosity_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "option_toggle_remote_imgui@settings_common.option_toggle": { + "$option_label": "options.remote_imgui_toggle", + "$option_binding_name": "#remote_imgui", + "$option_enabled_binding_name": "#remote_imgui_enabled", + "$toggle_name": "remote_imgui" + } + }, + { + "option_dropdown_0@settings_common.option_dropdown": { + "$option_label": "options.dev_enableDebugHudOverlay", + "$dropdown_content": "general_section.dev_debug_hud_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_debug_hud_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_debug_hud_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_debug_hud_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "400%" ] + } + }, + { + "option_toggle_extra_debug_hud_info@settings_common.option_toggle": { + "$option_label": "Show extra debug info on Basic debug HUD", + "$option_binding_name": "#dev_show_extra_debug_hud_info", + "$toggle_name": "dev_show_extra_debug_hud_info" + } + }, + { + "option_toggle_0_1@settings_common.option_toggle": { + "$option_label": "options.dev_renderBoundingBox", + "$option_binding_name": "#dev_render_bounding_box", + "$option_enabled_binding_name": "#dev_render_bounding_box_enabled", + "$toggle_name": "dev_render_bounding_box" + } + }, + { + "option_toggle_0_2@settings_common.option_toggle": { + "$option_label": "find mobs", + "$option_binding_name": "#dev_find_mobs", + "$option_enabled_binding_name": "#dev_find_mobs_enabled", + "$toggle_name": "dev_find_mobs" + } + }, + { + "option_slider_0@settings_common.option_slider": { + "$option_label": "#dev_render_attach_pos_slider_label", + "$slider_name": "dev_render_attach_pos", + "$slider_value_binding_name": "#dev_render_attach_pos", + "$slider_tts_text_value": "#dev_render_attach_pos_text_value", + "$option_enabled_binding_name": "#dev_render_attach_pos_enabled", + "$slider_steps_binding_name": "#dev_render_attach_pos_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_toggle_3@settings_common.option_toggle": { + "$option_label": "options.dev_renderPaths", + "$option_binding_name": "#dev_render_paths", + "$option_enabled_binding_name": "#dev_render_paths_enabled", + "$toggle_name": "dev_render_paths" + } + }, + { + "option_toggle_4@settings_common.option_toggle": { + "$option_label": "options.dev_renderGoalState", + "$option_binding_name": "#dev_render_goal_state", + "$option_enabled_binding_name": "#dev_render_goal_state_enabled", + "$toggle_name": "dev_render_goal_state" + } + }, + { + "option_toggle_5@settings_common.option_toggle": { + "$option_label": "options.dev_resetClientId", + "$option_binding_name": "#dev_reset_client_id", + "$option_enabled_binding_name": "#dev_reset_client_id_enabled", + "$toggle_name": "dev_reset_client_id" + } + }, + { + "option_toggle_6@settings_common.option_toggle": { + "$option_label": "options.dev_showChunkMap", + "$option_binding_name": "#dev_show_chunk_map", + "$option_enabled_binding_name": "#dev_show_chunk_map_enabled", + "$toggle_name": "dev_show_chunk_map" + } + }, + { + "option_dropdown_server_chunk_map@settings_common.option_dropdown": { + "$option_label": "options.dev_chunkMapMode", + "$dropdown_content": "general_section.dev_chunkMapMode_content", + "$option_enabled_binding_name": "#dev_chunk_map_mode_dropdown_enabled", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_chunk_map_mode_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_chunk_map_mode_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "option_toggle_9@settings_common.option_toggle": { + "$option_label": "options.dev_renderMobInfoState", + "$option_binding_name": "#dev_render_mob_info_state", + "$option_enabled_binding_name": "#dev_render_mob_info_state_enabled", + "$toggle_name": "dev_render_mob_info_state" + } + }, + { + "option_toggle_disable_render_terrain@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderTerrain", + "$option_binding_name": "#dev_disable_render_terrain", + "$option_enabled_binding_name": "#dev_disable_render_terrain_enabled", + "$toggle_name": "dev_disable_render_terrain" + } + }, + { + "option_toggle_disable_render_entities@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderEntities", + "$option_binding_name": "#dev_disable_render_entities", + "$option_enabled_binding_name": "#dev_disable_render_entities_enabled", + "$toggle_name": "dev_disable_render_entities" + } + }, + { + "option_toggle_disable_render_blockentities@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderBlockEntities", + "$option_binding_name": "#dev_disable_render_blockentities", + "$option_enabled_binding_name": "#dev_disable_render_blockentities_enabled", + "$toggle_name": "dev_disable_render_blockentities" + } + }, + { + "option_toggle_disable_render_particles@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderParticles", + "$option_binding_name": "#dev_disable_render_particles", + "$option_enabled_binding_name": "#dev_disable_render_particles_enabled", + "$toggle_name": "dev_disable_render_particles" + } + }, + { + "option_toggle_disable_render_sky@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderSky", + "$option_binding_name": "#dev_disable_render_sky", + "$option_enabled_binding_name": "#dev_disable_render_sky_enabled", + "$toggle_name": "dev_disable_render_sky" + } + }, + { + "option_toggle_disable_render_weather@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderWeather", + "$option_binding_name": "#dev_disable_render_weather", + "$option_enabled_binding_name": "#dev_disable_render_weather_enabled", + "$toggle_name": "dev_disable_render_weather" + } + }, + { + "option_toggle_disable_render_hud@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderHud", + "$option_binding_name": "#dev_disable_render_hud", + "$option_enabled_binding_name": "#dev_disable_render_hud_enabled", + "$toggle_name": "dev_disable_render_hud" + } + }, + { + "option_toggle_disable_render_item_in_hand@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderItemInHand", + "$option_binding_name": "#dev_disable_render_item_in_hand", + "$option_enabled_binding_name": "#dev_disable_render_item_in_hand_enabled", + "$toggle_name": "dev_disable_render_item_in_hand" + } + }, + { + "option_toggle_disable_render_main_menu_cubemap@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderMainMenuCubeMap", + "$option_binding_name": "#dev_disable_render_main_menu_cube_map", + "$option_enabled_binding_name": "#dev_disable_render_main_menu_cube_map_enabled", + "$toggle_name": "dev_disable_render_main_menu_cube_map" + } + }, + { + "option_toggle_disable_render_main_menu_paperdoll_animation@settings_common.option_toggle": { + "$option_label": "options.dev_disableRenderMainMenuPaperdollAnimation", + "$option_binding_name": "#dev_disable_render_main_menu_paperdoll_animation", + "$option_enabled_binding_name": "#dev_disable_render_main_menu_paperdoll_animation_enabled", + "$toggle_name": "dev_disable_render_main_menu_paperdoll_animation" + } + }, + { + "leak_memory@settings_common.option_text_edit_with_text_button": { + "$option_label": "Leak Memory", + "$option_binding_name": "#leak_memory_value", + "$option_enabled_binding_name": "#leak_memory_enabled", + "$max_text_edit_length": 4, + "$text_edit_box_text_type": "NumberChars", + "$option_text_edit_control_size": [ "50%", "100%" ], + "$text_box_name": "leak_memory_text_box", + "$button_text": "Leak Memory", + "$pressed_button_name": "button.leak_memory" + } + }, + { + "log_area@settings_common.option_text_edit": { + "$option_label": "Log Area", + "$option_binding_name": "#log_area_text_box", + "$max_text_edit_length": 2000, + "$text_box_name": "log_area_text_box" + } + }, + { + "log_priority@settings_common.option_text_edit": { + "$option_label": "Log Priority", + "$option_binding_name": "#log_priority_text_box", + "$max_text_edit_length": 2000, + "$text_box_name": "log_priority_text_box" + } + }, + { + "option_toggle_build_info@settings_common.option_toggle": { + "$option_label": "options.dev_showBuildInfo", + "$option_binding_name": "#dev_show_build_info", + "$option_enabled_binding_name": "#dev_show_build_info_enabled", + "$toggle_name": "dev_show_build_info" + } + }, + { + "option_perf_turtle@settings_common.option_toggle": { + "$option_label": "options.perf_turtle", + "$option_binding_name": "#perf_turtle", + "$option_enabled_binding_name": "#perf_turtle_enabled", + "$toggle_name": "perf_turtle" + } + }, + { + "option_default_profiling_option@settings_common.option_dropdown": { + "$option_label": "Profiling Configuration", + "$dropdown_content": "general_section.default_profiling_group_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "default_profiling_group", + "$options_dropdown_toggle_label_binding": "#default_profiling_group_toggle_label", + "$option_enabled_binding_name": "#default_profiling_group_enabled", + "$dropdown_scroll_content_size": [ "100%", "150%" ] + } + }, + { + "option_toggle_7@settings_common.option_toggle": { + "$option_label": "options.dev_enableProfiler", + "$option_binding_name": "#dev_enable_profiler", + "$option_enabled_binding_name": "#dev_enable_profiler_enabled", + "$toggle_name": "dev_enable_profiler" + } + }, + { + "option_toggle_8@settings_common.option_toggle": { + "$option_label": "options.dev_achievementsAlwaysEnabled", + "$option_binding_name": "#dev_achievements_always_enabled", + "$option_enabled_binding_name": "#dev_achievements_always_enabled_enabled", + "$toggle_name": "dev_achievements_always_enabled" + } + }, + { + "option_toggle_game_tip@settings_common.option_toggle": { + "$option_label": "options.dev_game_tip", + "$option_binding_name": "#dev_game_tip", + "$option_enabled_binding_name": "#dev_game_tip_enabled", + "$toggle_name": "dev_game_tip" + } + }, + { + "option_toggle_10@settings_common.option_toggle": { + "$option_label": "options.dev_useIPv6Only", + "$option_binding_name": "#dev_use_ipv6_only", + "$option_enabled_binding_name": "#dev_use_ipv6_only_enabled", + "$toggle_name": "dev_use_ipv6_only" + } + }, + { + "dev_disable_client_blob_cache_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_disable_client_blob_cache", + "$option_binding_name": "#dev_disable_client_blob_cache", + "$option_enabled_binding_name": "#dev_disable_client_blob_cache_enabled", + "$toggle_name": "dev_disable_client_blob_cache" + } + }, + { + "dev_force_client_blob_cache_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_force_client_blob_cache", + "$option_binding_name": "#dev_force_client_blob_cache", + "$option_enabled_binding_name": "#dev_force_client_blob_cache_enabled", + "$toggle_name": "dev_force_client_blob_cache" + } + }, + { + "devquality_dropdown@settings_common.option_dropdown": { + "$option_label": "options.dev_connection_quality", + "$dropdown_content": "general_section.dev_quality_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_connection_quality", + "$options_dropdown_toggle_label_binding": "#dev_connection_quality_toggle_label", + "$option_enabled_binding_name": "#dev_connection_quality_enabled", + "$dropdown_scroll_content_size": [ "100%", "400%" ] + } + }, + { + "dev_add_http_delay_seconds@settings_common.option_slider": { + "$option_label": "#dev_add_http_delay_seconds_slider_label", + "$slider_name": "dev_add_http_delay_seconds", + "$slider_value_binding_name": "#dev_add_http_delay_seconds", + "$slider_tts_text_value": "#dev_add_http_delay_seconds_text_value", + "$option_enabled_binding_name": "#dev_add_http_delay_seconds_enabled", + "$slider_steps_binding_name": "#dev_add_http_delay_seconds_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "dev_show_latency_graph_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_show_latency_graph", + "$option_binding_name": "#dev_show_latency_graph", + "$option_enabled_binding_name": "#dev_show_latency_graph_enabled", + "$toggle_name": "dev_show_latency_graph" + } + }, + { + "xbox_sandbox_panel@general_section.xbox_sandbox_panel": {} + }, + { + "multithreaded_rendering_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_multithreadedRendering", + "$option_binding_name": "#multithreaded_rendering", + "$option_enabled_binding_name": "#multithreaded_rendering_enabled", + "$toggle_name": "multithreaded_rendering", + "bindings": [ + { + "binding_name": "#show_multithreaded_rendering", + "binding_name_override": "#visible" + } + ] + } + }, + { + "filewatcher_rendering_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_file_watcher", + "$option_binding_name": "#file_watcher", + "$option_enabled_binding_name": "#file_watcher_enabled", + "$toggle_name": "file_watcher" + } + }, + { + "enable_texture_hot_reloader_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_enable_texture_hot_reloader", + "$option_binding_name": "#enable_texture_hot_reloader", + "$option_enabled_binding_name": "#texture_hot_reloader_enabled", + "$toggle_name": "enable_texture_hot_reloader" + } + }, + { + "mock_http_panel@general_section.mock_http_panel": {} + }, + { + "vsync_dropdown@settings_common.option_dropdown": { + "$option_label": "options.vsync", + "$dropdown_content": "general_section.vysnc_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "vsync_dropdown", + "$options_dropdown_toggle_label_binding": "#vsync_dropdown_toggle_label", + "$option_enabled_binding_name": "#vsync_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "sunsetting_use_overrides_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_sunset_overrides", + "$option_binding_name": "#dev_use_sunset_overrides", + "$option_enabled_binding_name": "#dev_use_sunset_overrides_enabled", + "$toggle_name": "dev_use_sunset_overrides", + "$dropdown_scroll_content_size": [ "100%", "150%" ] + } + }, + { + "padding_sunsetting": { + "type": "panel", + "size": [ "100%", 3 ], + "bindings": [ + { + "binding_name": "#sunsetting_override_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sunseting_state_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_sunset_status", + "$option_binding_name": "#dev_sunset_state", + "$option_enabled_binding_name": "#dev_sunset_state_enabled", + "$toggle_name": "dev_sunset_state", + "bindings": [ + { + "binding_name": "#sunsetting_override_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sunsetting_tier_dropdown@settings_common.option_dropdown": { + "$option_label": "options.dev_sunsetting_tier", + "$dropdown_content": "general_section.dev_sunsetting_tier_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_sunsetting_tier_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_sunsetting_tier_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_sunsetting_tier_dropdown_enabled", + "bindings": [ + { + "binding_name": "#sunsetting_override_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_sunsetting_2": { + "type": "panel", + "size": [ "100%", 3 ], + "bindings": [ + { + "binding_name": "#sunsetting_override_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding1": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "copy_internal_settings_folder_to_external@settings_common.action_button": { + "visible": "($copy_interal_storage_button_enabled)", + "$pressed_button_name": "button.port_internal_files", + "$button_text": "options.dev_folders_portSettingsFolder" + } + }, + { + "padding_reset_day_one": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "reset_new_player_flow@settings_common.action_button": { + "$pressed_button_name": "button.reset_new_player_flow", + "$button_text": "options.dev_reset_new_player_flow" + } + }, + { + "reset_day_one_experience@settings_common.action_button": { + "$pressed_button_name": "button.reset_day_one_experience", + "$button_text": "options.dev_reset_day_one_experience" + } + }, + { + "option_text_edit_1@settings_common.option_text_edit": { + "$option_label": "options.dev_realmsEndpointPayment", + "$text_box_name": "dev_realms_endpoint_payment", + "$option_binding_name": "#dev_realms_endpoint_payment", + "$option_enabled_binding_name": "#dev_realms_endpoint_payment_enabled", + "$max_text_edit_length": 50, + "bindings": [ + { + "binding_name": "#dev_realms_environment_radio_local", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_text_edit_2@settings_common.option_text_edit": { + "$option_label": "options.dev_realmsRelyingParty", + "$text_box_name": "dev_realms_relying_party", + "$option_binding_name": "#dev_realms_relying_party", + "$option_enabled_binding_name": "#dev_realms_relying_party_enabled", + "$max_text_edit_length": 50, + "bindings": [ + { + "binding_name": "#dev_realms_environment_radio_local", + "binding_name_override": "#visible" + } + ] + } + }, + { + "option_text_edit_3@settings_common.option_text_edit": { + "$option_label": "options.dev_realmsRelyingPartyPayment", + "$text_box_name": "dev_realms_relying_party_payment", + "$option_binding_name": "#dev_realms_relying_party_payment", + "$option_enabled_binding_name": "#dev_realms_relying_party_payment_enabled", + "$max_text_edit_length": 50, + "bindings": [ + { + "binding_name": "#dev_realms_environment_radio_local", + "binding_name_override": "#visible" + } + ] + } + }, + { + "reset_report_timer_option@settings_common.action_button": { + "$pressed_button_name": "button.dev_reset_report_timer_option", + "$button_text": "Reset Report Timer" + } + }, + { + "reset_online_safety_option@settings_common.action_button": { + "$pressed_button_name": "button.dev_reset_online_safety_option", + "$button_text": "Reset Online Safety Dialog Option" + } + }, + { + "reset_ip_safety_option@settings_common.action_button": { + "$pressed_button_name": "button.dev_reset_ip_safety_option", + "$button_text": "Reset IP Safety Dialog Option" + } + }, + { + "reset_cloud_upload_option@settings_common.action_button": { + "$pressed_button_name": "button.dev_reset_cloud_upload_option", + "$button_text": "Reset Cloud Upload Dialog Option" + } + }, + { + "padding_graphics_options": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "option_shadersdk_service_ip@settings_common.option_text_edit": { + "$option_label": "Material Compiler Service IP", + "$text_box_name": "shadersdk_service_ip", + "$option_binding_name": "#shadersdk_service_ip", + "$option_enabled_binding_name": "#shadersdk_service_ip_enabled", + "$max_text_edit_length": 50 + } + }, + { + "option_shadersdk_service_port@settings_common.option_text_edit": { + "$option_label": "Material Compiler Service Port", + "$text_box_name": "shadersdk_service_port", + "$option_binding_name": "#shadersdk_service_port", + "$option_enabled_binding_name": "#shadersdk_service_port_enabled", + "$max_text_edit_length": 50 + } + }, + { + "option_shadersdk_target_port@settings_common.option_text_edit": { + "$option_label": "Material Compiler Target Port", + "$text_box_name": "shadersdk_target_port", + "$option_binding_name": "#shadersdk_target_port", + "$option_enabled_binding_name": "#shadersdk_target_port_enabled", + "$max_text_edit_length": 50 + } + }, + { + "padding_graphics_buttons": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "trigger_graphics_device_loss@settings_common.action_button": { + "$pressed_button_name": "button.dev_trigger_graphics_device_loss", + "$button_text": "Trigger Graphics Device Loss" + } + }, + { + "allocate_texture_handles@settings_common.action_button": { + "$pressed_button_name": "button.dev_allocate_texture_handles", + "$button_text": "Allocate 4k Texture Handles" + } + } + ] + }, + + "realms_debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "realms_debug_button_toggle", + "$glyph_texture": "textures/ui/realmsIcon", + "$glyph_color_texture": "textures/ui/realmsIcon", + "$glyph_size": [ 15, 15 ], + "$button_text": "Realms Debug", + "$toggle_property_bag": { + "#panel_title": "Realms Debug" + } + }, + + "realms_debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "realms_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "realms_menu_title": { + "type": "label", + "text": "Realms Debug Menu", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "realms_title_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + + { + "feature_toggles_label": { + "type": "label", + "text": "Realms Feature Toggles (governed by FeatureToggles.cpp)", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "feature_toggles": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "factory": { + "name": "realms_feature_toggle_factory", + "control_name": "general_section.realms_feature_toggle" + }, + + "collection_name": "realms_feature_toggles", + "bindings": [ + { + "binding_name": "#realms_feature_toggle_count", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "end_of_feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + + { + "realms_dev_toggles_title": { + "type": "label", + "text": "Realms Dev Toggles", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "realms_dev_toggle_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "realms_without_purchase_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_createRealmWithoutPurchase", + "$option_binding_name": "#dev_create_realm_without_purchase", + "$option_enabled_binding_name": "#dev_create_realm_without_purchase_enabled", + "$toggle_name": "dev_create_realm_without_purchase" + } + }, + + { + "realms_debug_options_title": { + "type": "label", + "text": "Realms Debug Options", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "realms_debug_options_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "option_dropdown_1@settings_common.option_dropdown": { + "$option_label": "options.dev_realmsEnvironment", + "$dropdown_content": "general_section.dev_realms_environment_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_realms_environment_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_realms_environment_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_realms_environment_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "option_dropdown_2@settings_common.option_dropdown": { + "$option_label": "options.dev_realmsSku", + "$dropdown_content": "general_section.dev_realms_sku_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_realms_sku_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_realms_sku_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_realms_sku_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "option_text_edit_0@settings_common.option_text_edit": { + "$option_label": "options.dev_realmsEndpoint", + "$text_box_name": "dev_realms_endpoint", + "$option_binding_name": "#dev_realms_endpoint", + "$option_enabled_binding_name": "#dev_realms_endpoint_enabled", + "$max_text_edit_length": 50, + "bindings": [ + { + "binding_name": "#dev_realms_environment_radio_local", + "binding_name_override": "#visible" + } + ] + } + } + + ] + }, + + "realms_feature_toggle@settings_common.option_toggle": { + "$line_size": [ "100%", "100%c - 9px" ], + "$option_label": "#text", + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "realms_feature_toggles", + "$toggle_name": "realms_feature_toggle", + "$toggle_state_binding_name": "#feature_toggle_state", + "$option_binding_name": "#feature_toggle_state", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "realms_feature_toggles", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "realms_feature_toggles", + "$toggle_tts_header": "#feature_toggle_text", + "bindings": [ + { + "binding_name": "#feature_toggle_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "realms_feature_toggles" + } + ], + "$label_bindings": [ + { + "binding_name": "#feature_toggle_text", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "realms_feature_toggles" + } + ] + }, + + "marketplace_debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "marketplace_debug_button_toggle", + "$glyph_texture": "textures/ui/icon_minecoin_9x9", + "$glyph_color_texture": "textures/ui/icon_minecoin_9x9", + "$glyph_size": [ 18, 18 ], + "$button_text": "Marketplace Debug", + "$toggle_property_bag": { + "#panel_title": "Marketplace Debug" + } + }, + + "marketplace_debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "marketplace_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "marketplace_feature_toggles_label": { + "type": "label", + "text": "Marketplace-related Feature Toggles (governed by FeatureToggles.cpp)", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "marketplace_feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "marketplace_feature_toggles": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "factory": { + "name": "marketplace_feature_toggle_factory", + "control_name": "general_section.marketplace_feature_toggle" + }, + + "collection_name": "marketplace_feature_toggles", + "bindings": [ + { + "binding_name": "#marketplace_feature_toggle_count", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "playfab_token_refresh_threshold@settings_common.option_slider": { + "$option_label": "#playfab_token_refresh_threshold_slider_label", + "$slider_name": "playfab_token_refresh_threshold", + "$slider_value_binding_name": "#playfab_token_refresh_threshold", + "$slider_tts_text_value": "#playfab_token_refresh_threshold_text_value", + "$option_enabled_binding_name": "#playfab_token_refresh_threshold_enabled", + "$slider_steps_binding_name": "#playfab_token_refresh_threshold_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_dropdown_skin_rotation_speed@settings_common.option_dropdown": { + "$option_label": "Display Skin Rotation Speed Multiplier", + "$dropdown_content": "general_section.dev_debug_speed_multiplier_options", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_debug_skin_rotation_speed_multiplier_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_debug_skin_rotation_speed_multiplier_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_debug_skin_rotation_speed_multiplier_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "400%" ] + } + }, + { + "option_toggle_all_skins_rotate@settings_common.option_toggle": { + "$option_label": "Toggle All Skins Rotate", + "$option_binding_name": "#dev_marketplace_toggle_all_skins_rotate", + "$option_enabled_binding_name": "#dev_marketplace_toggle_all_skins_rotate_enabled", + "$toggle_name": "dev_marketplace_toggle_all_skins_rotate" + } + }, + { + "option_toggle_display_marketplace_document_id@settings_common.option_toggle": { + "$option_label": "options.dev_displayMarketplaceDocumentId", + "$option_binding_name": "#dev_show_doc_id", + "$option_enabled_binding_name": "#dev_show_doc_id_enabled", + "$toggle_name": "dev_show_doc_id" + } + }, + { + "option_toggle_display_platform_offer_check@settings_common.option_toggle": { + "$option_label": "Show Platform Offer Check", + "$option_binding_name": "#dev_show_platform_offer_check", + "$option_enabled_binding_name": "#dev_show_platform_offer_check_enabled", + "$toggle_name": "dev_show_platform_offer_check" + } + }, + { + "version_options_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "option_version_override@settings_common.option_toggle": { + "$option_label": "Xforge Client Version Override", + "$option_binding_name": "#dev_use_version_override", + "$option_enabled_binding_name": "#dev_use_version_override_enabled", + "$toggle_name": "dev_use_version_override" + } + }, + { + "override_version_options_panel@general_section.override_version_options_panel": {} + } + ] + } + }, + { + "select_windows_store_panel@general_section.debug_select_windows_store_panel": {} + }, + { + "date_options_panel@general_section.date_options_panel": {} + }, + { + "option_clear_store_cache_button@settings_common.action_button": { + "$pressed_button_name": "dev_clear_store_cache_button", + "$button_text": "options.dev_clearStoreCache" + } + }, + { + "option_clear_all_cache_button@settings_common.action_button": { + "$pressed_button_name": "dev_clear_all_cache_button", + "$button_text": "options.dev_clearAllCache" + } + }, + { + "option_delete_all_personas_button@settings_common.action_button": { + "$pressed_button_name": "dev_delete_all_personas", + "$button_text": "options.dev_deleteAllPersonas" + } + }, + { + "option_delete_legacy_personas_button@settings_common.action_button": { + "$pressed_button_name": "dev_delete_legacy_persona", + "$button_text": "options.dev_deleteLegacyPersona" + } + }, + { + "padding2": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "enable_coin_debug_switch_toggle@settings_common.option_toggle": { + "$option_label": "options.dev_switch_coin_debug", + "$option_binding_name": "#switch_coin_debug", + "$option_enabled_binding_name": "#switch_coin_debug_enabled", + "$toggle_name": "switch_coin_debug", + "bindings": [ + { + "binding_name": "#show_switch_coin_debug", + "binding_name_override": "#visible" + } + ] + } + }, + { + "add_500_coins@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.add_500_coins", + "$button_text": "#add_500_text", + "$button_text_binding_type": "global" + } + }, + { + "add_100000_coins@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.add_100000_coins", + "$button_text": "#add_100000_text", + "$button_text_binding_type": "global" + } + }, + { + "padding3": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "reset_entitlements@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.reset_entitlements", + "$button_text": "options.dev_reset_entitlements" + } + }, + { + "reset_wallet@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.reset_wallet", + "$button_text": "options.dev_reset_wallet" + } + } + ] + }, + + "marketplace_feature_toggle@settings_common.option_toggle": { + "$line_size": [ "100%", "100%c - 9px" ], + "$option_label": "#text", + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "marketplace_feature_toggles", + "$toggle_name": "marketplace_feature_toggle", + "$toggle_state_binding_name": "#feature_toggle_state", + "$option_binding_name": "#feature_toggle_state", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "marketplace_feature_toggles", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "marketplace_feature_toggles", + "$toggle_tts_header": "#feature_toggle_text", + "bindings": [ + { + "binding_name": "#feature_toggle_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "marketplace_feature_toggles" + } + ], + "$label_bindings": [ + { + "binding_name": "#feature_toggle_text", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "marketplace_feature_toggles" + } + ] + }, + + "gatherings_debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "gatherings_debug_button_toggle", + "$glyph_texture": "textures/ui/onlineLight", + "$glyph_color_texture": "textures/ui/onlineLight", + "$glyph_size": [ 18, 18 ], + "$button_text": "options.dev_gatherings_section", + "$toggle_property_bag": { + "#panel_title": "options.dev_gatherings_section" + } + }, + + "gatherings_debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gatherings_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "refresh_gatherings_button@settings_common.action_button": { + "$pressed_button_name": "button.refresh_gatherings", + "$button_text": "options.dev_gatherings_refresh_gatherings" + } + }, + { + "spacer_1": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "clear_system_service_pack_cache_button@settings_common.action_button": { + "$pressed_button_name": "button.clear_system_service_pack_cache", + "$button_text": "options.dev_gatherings_clear_system_service_pack" + } + }, + { + "spacer_2": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "text_edit_filter_gatherings@settings_common.option_text_edit": { + "$option_generic_panel_size": [ "100%", "100%c" ], + "$option_label": "options.dev_gatherings_filter", + "$text_box_name": "dev_gathering_filter", + "$option_binding_name": "#dev_gathering_filter", + "$option_enabled_binding_name": "#dev_gathering_filter_enabled" + } + }, + { + "spacer_3": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "available_gatherings_section@available_gatherings_section": {} + } + ] + }, + + "gathering_grid_item_content": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": [ "100%", 29 ], + "offset": [ 5, 4 ], + "controls": [ + { + "gathering_name": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "#gathering_name", + "size": [ "100% - 8px", 10 ], + "bindings": [ + { + "binding_name": "#gathering_name", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name", + "binding_condition": "always" + } + ] + } + }, + { + "gathering_uuid": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "#gathering_uuid", + "size": [ "100% - 8px", 10 ], + "bindings": [ + { + "binding_name": "#gathering_uuid", + "binding_type": "collection", + "binding_collection_name": "$collection_binding_name", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "gathering_item_template": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 29 ], + "controls": [ + { + "gathering_item_button@common_buttons.light_content_button": { + "$pressed_button_name": "select_gathering", + "size": [ "100%", 29 ], + "$button_content": "general_section.gathering_grid_item_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_binding_name" + } + ] + } + } + ] + }, + + "available_gatherings_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "general_section.gathering_item_template", + "grid_dimension_binding": "#gatherings_grid_dimension", + "$collection_binding_name": "gatherings_collection", + "collection_name": "gatherings_collection", + "anchor_to": "top_left", + "anchor_from": "top_left", + "bindings": [ + { + "binding_name": "#gatherings_grid_dimension", + "binding_condition": "always" + } + ] + }, + + "available_gatherings_panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "size": "$available_gatherings_panel_size", + "controls": [ + { + "available_label@settings_common.selector_group_label": { + "offset": [ 2, 0 ], + "text": "options.dev_gatherings_available_gatherings", + "layer": 2 + } + }, + { "gatherings_grid@available_gatherings_grid": {} }, + { + "spacing_gap": { + "type": "panel", + "size": [ "100%", 10 ] + } + } + ] + }, + + "available_gatherings_section": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "vertical", + "$available_gatherings_panel_size": [ "100% - 1px", "100%c" ], + "size": [ "100%", "100%c" ], + "controls": [ + { "available_gatherings_panel@available_gatherings_panel": {} } + ] + }, + + "ui_debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "ui_debug_button_toggle", + "$glyph_texture": "textures/ui/ui_debug_glyph", + "$glyph_color_texture": "textures/ui/ui_debug_glyph_color", + "$glyph_size": [ 16, 16 ], + "$button_text": "UI Debug", + "$toggle_property_bag": { + "#panel_title": "UI Debug" + } + }, + + "ui_feature_toggle@settings_common.option_toggle": { + "$line_size": [ "100%", "100%c - 9px" ], + "$option_label": "#text", + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "ui_feature_toggles", + "$toggle_name": "ui_feature_toggle", + "$toggle_state_binding_name": "#feature_toggle_state", + "$option_binding_name": "#feature_toggle_state", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "ui_feature_toggles", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "ui_feature_toggles", + "$toggle_tts_header": "#feature_toggle_text", + "bindings": [ + { + "binding_name": "#feature_toggle_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "ui_feature_toggles" + } + ], + "$label_bindings": [ + { + "binding_name": "#feature_toggle_text", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "ui_feature_toggles" + } + ] + }, + + "edu_debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "edu_debug_button_toggle", + "$glyph_texture": "textures/ui/debug_glyph", + "$glyph_color_texture": "textures/ui/debug_glyph_color", + "$glyph_size": [ 16, 16 ], + "$button_text": "Edu Debug", + "$toggle_property_bag": { + "#panel_title": "Edu Debug" + } + }, + + "edu_feature_toggle@settings_common.option_toggle": { + "$line_size": [ "100%", "100%c - 9px" ], + "$option_label": "#text", + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "edu_feature_toggles", + "$toggle_name": "ui_feature_toggle", + "$toggle_state_binding_name": "#feature_toggle_state", + "$option_binding_name": "#feature_toggle_state", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "edu_feature_toggles", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "edu_feature_toggles", + "bindings": [ + { + "binding_name": "#feature_toggle_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "edu_feature_toggles" + } + ], + "$label_bindings": [ + { + "binding_name": "#feature_toggle_text", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "edu_feature_toggles" + } + ] + }, + + "new_create_world_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_create_world_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_create_world_screen_radio", + "$toggle_grid_collection_name": "dev_new_create_world_screen_radio", + "$option_enabled_binding_name": "", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_create_world_screen_radio" + } + ] + }, + + "new_edu_create_world_screen_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_edu_create_world_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_edu_create_world_screen_radio", + "$toggle_grid_collection_name": "dev_new_edu_create_world_screen_radio", + "$option_enabled_binding_name": "", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_edu_create_world_screen_radio" + } + ] + }, + + "new_play_screen_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_play_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_play_screen_radio", + "$toggle_grid_collection_name": "dev_new_play_screen_radio", + "$option_enabled_binding_name": "", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_play_screen_radio" + } + ] + }, + + "new_edit_world_screen_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_edit_world_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_edit_world_screen_radio", + "$toggle_grid_collection_name": "dev_new_edit_world_screen_radio", + "$option_enabled_binding_name": "", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_edit_world_screen_radio" + } + ] + }, + + "new_trial_mode_screen_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_trial_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_trial_screen_radio", + "$toggle_grid_collection_name": "dev_new_trial_screen_radio", + "$option_enabled_binding_name": "", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_trial_screen_radio" + } + ] + }, + + "new_player_permissions_screen_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_player_permissions_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_player_permissions_screen_radio", + "$toggle_grid_collection_name": "dev_new_player_permissions_screen_radio", + "$option_enabled_binding_name": "", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_player_permissions_screen_radio" + } + ] + }, + + "new_death_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_death_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_death_screen_radio", + "$toggle_grid_collection_name": "dev_new_death_screen_radio", + "$option_enabled_binding_name": "#dev_new_death_screen_radio_enabled", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_death_screen_radio" + } + ] + }, + + "new_bed_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_new_bed_screen_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_new_bed_screen_radio", + "$toggle_grid_collection_name": "dev_new_bed_screen_radio", + "$option_enabled_binding_name": "#dev_new_bed_screen_radio_enabled", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_new_bed_screen_radio" + } + ] + }, + + "ore_ui_gameplay_ui_grid_item@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#initial_selected", + "$radio_label_text": "#description", + "$radio_label_bindings": [ + { + "binding_name": "#description", + "binding_type": "collection", + "binding_condition": "once", + "binding_collection_name": "dev_ore_ui_gameplay_ui_radio" + } + ], + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_name": "dev_ore_ui_gameplay_ui_radio", + "$toggle_grid_collection_name": "dev_ore_ui_gameplay_ui_radio", + "$option_enabled_binding_name": "#dev_ore_ui_gameplay_ui_radio_enabled", + "bindings": [ + { + "binding_name": "#default_focus_precedence", + "binding_type": "collection", + "binding_condition": "visible", + "binding_collection_name": "dev_ore_ui_gameplay_ui_radio" + } + ] + }, + + "ui_debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "ui_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + /* Feature Toggles Header */ + { + "ui_feature_toggles_label": { + "type": "label", + "text": "UI-related Feature Toggles", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "ui_feature_toggles_info_label": { + "type": "label", + "text": "Defined in FeatureToggles.cpp", + "size": [ "100%", 12 ], + "color": "$option_description_text_color" + } + }, + { + "ui_feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /* Feature Toggles Settings */ + { + "ui_feature_toggles": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "factory": { + "name": "ui_feature_toggle_factory", + "control_name": "general_section.ui_feature_toggle" + }, + "collection_name": "ui_feature_toggles", + "bindings": [ + { + "binding_name": "#ui_feature_toggle_count", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "end_of_ui_feature_toggles_label_divider": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "end_of_ui_feature_toggles_label_divider_spacer": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "end_of_ui_feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /* Screen Override Header */ + { + "screen_override_label": { + "type": "label", + "text": "Screen Overrides", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "screen_override_info_label": { + "type": "label", + "text": "Control if Ore UI or JSON UI screen will show", + "size": [ "100%", 12 ], + "color": "$option_description_text_color" + } + }, + { + "screen_override_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /* Edu Create New World Screen Overrides */ + { + "new_edu_create_world_screen_radio_label": { + "type": "label", + "ignored": "(not $education_edition)", + "text": "New Edu Create World Screen", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "new_edu_create_world_screen_radio_label_spacer": { + "type": "panel", + "ignored": "(not $education_edition)", + "size": [ "100%", 3 ] + } + }, + { + "new_edu_create_world_screen_radio_button": { + "type": "grid", + "ignored": "(not $education_edition)", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.new_edu_create_world_screen_grid_item", + "grid_dimension_binding": "#dev_new_edu_create_world_screen_radio_dimension", + "collection_name": "dev_new_edu_create_world_screen_radio", + "bindings": [ + { + "binding_name": "#dev_new_edu_create_world_screen_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "new_edu_create_world_screen_radio_button_spacer": { + "type": "panel", + "ignored": "(not $education_edition)", + "size": [ "100%", 10 ] + } + }, + /* Play Screen Overrides */ + { + "new_play_screen_radio_label": { + "type": "label", + "text": "New Play Screen", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "new_play_screen_radio_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "new_play_screen_radio_button": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.new_play_screen_grid_item", + "grid_dimension_binding": "#dev_new_play_screen_radio_dimension", + "collection_name": "dev_new_play_screen_radio", + "bindings": [ + { + "binding_name": "#dev_new_play_screen_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "new_play_screen_radio_button_spacer": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + /* Edit World Screen Overrides */ + { + "new_edit_world_screen_radio_label": { + "type": "label", + "text": "New Edit World Screen", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "new_edit_world_screen_radio_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "new_edit_world_screen_radio_button": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.new_edit_world_screen_grid_item", + "grid_dimension_binding": "#dev_new_edit_world_screen_radio_dimension", + "collection_name": "dev_new_edit_world_screen_radio", + "bindings": [ + { + "binding_name": "#dev_new_edit_world_screen_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "new_edit_world_screen_radio_button_spacer": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + /* Trial Mode Screen Overrides */ + { + "new_trial_mode_screen_radio_label": { + "type": "label", + "text": "New Trial Mode (requires restart)", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "new_trial_mode_screen_radio_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "new_trial_mode_screen_radio_button": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.new_trial_mode_screen_grid_item", + "grid_dimension_binding": "#dev_new_trial_screen_radio_dimension", + "collection_name": "dev_new_trial_screen_radio", + "bindings": [ + { + "binding_name": "#dev_new_trial_screen_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "new_trial_mode_screen_radio_button_spacer": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + /* Player Permissions Screen Overrides */ + { + "new_player_permissions_radio_label": { + "type": "label", + "text": "New Player Permissions Screen", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "new_player_permissions_screen_radio_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "new_player_permissions_screen_radio_button": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.new_player_permissions_screen_grid_item", + "grid_dimension_binding": "#dev_new_player_permissions_screen_radio_dimension", + "collection_name": "dev_new_player_permissions_screen_radio", + "bindings": [ + { + "binding_name": "#dev_new_player_permissions_screen_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "new_player_permissions_screen_radio_button_spacer": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + + /* Death Screen Overrides */ + { + "new_death_screen_radio_label": { + "type": "label", + "text": "New Death Screen (Cannot be changed while in a world)", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "new_death_screen_radio_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "new_death_screen_radio_button": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.new_death_grid_item", + "grid_dimension_binding": "#dev_new_death_screen_radio_dimension", + "collection_name": "dev_new_death_screen_radio", + "bindings": [ + { + "binding_name": "#dev_new_death_screen_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "new_death_screen_radio_button_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /* Bed Screen Overrides */ + { + "new_bed_screen_radio_label": { + "type": "label", + "text": "New Bed Screen (Cannot be changed while in a world)", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "new_bed_screen_radio_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "new_bed_screen_radio_button": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.new_bed_grid_item", + "grid_dimension_binding": "#dev_new_bed_screen_radio_dimension", + "collection_name": "dev_new_bed_screen_radio", + "bindings": [ + { + "binding_name": "#dev_new_bed_screen_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "new_bed_screen_radio_button_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /* Ore UI Gameplay UI Overrides */ + { + "ore_ui_gameplay_ui_radio_label": { + "type": "label", + "text": "Ore UI Gameplay UI (Cannot be changed while in a world)", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "ore_ui_gameplay_ui_radio_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "ore_ui_gameplay_ui_radio_button": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_item_template": "general_section.ore_ui_gameplay_ui_grid_item", + "grid_dimension_binding": "#dev_ore_ui_gameplay_ui_radio_dimension", + "collection_name": "dev_ore_ui_gameplay_ui_radio", + "bindings": [ + { + "binding_name": "#dev_ore_ui_gameplay_ui_radio_dimension", + "binding_condition": "visible" + } + ] + } + }, + { + "ore_ui_gameplay_ui_radio_button_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "end_of_ui_screen_override_divider": { + "type": "panel", + "size": [ "100%", "100%c + 8px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "end_of_ui_sceen_override_divider_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /* Screen opt-in buttons */ + { + "screen_opt_in_options_label": { + "type": "label", + "text": "Screen Opt-In Buttons", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "screen_opt_in_info_label": { + "type": "label", + "text": "Used for screen previews", + "size": [ "100%", 12 ], + "color": "$option_description_text_color" + } + }, + { + "screen_opt_in_options_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "end_of_ui_screen_opt_in_divider": { + "type": "panel", + "size": [ "100%", "100%c + 8px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "end_of_ui_sceen_opt_in_divider_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + /* Other UI Options */ + { + "other_ui_options_label": { + "type": "label", + "text": "Other UI Options", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "other_ui_options_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "option_toggle_default_font_override@settings_common.option_toggle": { + "$option_label": "Enable Default Font Overrides (requires loading from font_metadata.json)", + "$option_binding_name": "#dev_toggle_default_font_overrides", + "$toggle_name": "dev_toggle_default_font_overrides", + "$show_option_label": "#dev_toggle_default_font_overrides_visible", + "bindings": [ + { + "binding_name": "#dev_toggle_default_font_overrides_visible", + "binding_condition": "always", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "option_toggle_dev_show_tcui_replacement@settings_common.option_toggle": { + "$option_label": "Show TCUI replacement", + "$option_binding_name": "#dev_show_tcui_replacement", + "$option_enabled_binding_name": "#dev_show_tcui_replacement_enabled", + "$toggle_name": "dev_show_tcui_replacement" + } + }, + { + "option_toggle_use_mobile_data_blocked_modal@settings_common.option_toggle": { + "$option_label": "Enable 'mobile data blocked' modal", + "$option_binding_name": "#dev_allow_mobile_data_blocked_modal", + "$option_enabled_binding_name": "#dev_allow_mobile_data_blocked_modal_enabled", + "$toggle_name": "dev_allow_mobile_data_blocked_modal" + } + }, + { + "ui_feature_toggles_spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + { + "option_show_touch_control_selection_screen@settings_common.option_toggle": { + "$option_label": "options.showTouchControlSelectionScreen", + "$option_binding_name": "#show_touch_control_selection_screen", + "$option_enabled_binding_name": "#show_touch_control_selection_screen_enabled", + "$toggle_name": "show_touch_control_selection_screen" + } + }, + { + "option_reset_on_start@settings_common.option_toggle": { + "$option_label": "options.resetOnStart", + "$option_binding_name": "#reset_on_start", + "$option_enabled_binding_name": "#reset_on_start_enabled", + "$toggle_name": "reset_on_start" + } + }, + { + "option_slider_drag_dwell@settings_common.option_slider": { + "$option_label": "#dwell_before_drag_time_slider_label", + "$slider_name": "dwell_before_drag_time", + "$slider_value_binding_name": "#dwell_before_drag_time", + "$slider_tts_text_value": "#dwell_before_drag_time_text_value", + "$option_enabled_binding_name": "#dwell_before_drag_time_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "option_slider_stack_splitting@settings_common.option_slider": { + "$option_label": "#stack_splitting_trigger_time_slider_label", + "$slider_name": "stack_splitting_trigger_time", + "$slider_value_binding_name": "#stack_splitting_trigger_time", + "$slider_tts_text_value": "#stack_splitting_trigger_time_text_value", + "$option_enabled_binding_name": "#stack_splitting_trigger_time_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "reset_render_distance_warning_modal_label": { + "type": "label", + "text": "Render distance warning modal", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "reset_render_distance_warning_modal_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "reset_render_distance_warning_modal@settings_common.action_button": { + "$pressed_button_name": "button.reset_render_distance_warning_modal", + "$button_text": "Reset modal" + } + }, + { + "reset_render_distance_warning_modal_spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + }, + /* Ore UI Developer Pages */ + { + "ore_ui_developer_pages_divider": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "ore_ui_developer_pages_spacer": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "open_ore_ui_label": { + "type": "label", + "text": "Ore UI Developer Pages", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "open_ore_ui_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "open_ore_ui_docs@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.open_ore_ui_docs", + "$button_text": "Ore UI Docs (needs test infra)" + } + }, + { + "open_ore_ui_tests@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.open_ore_ui_tests", + "$button_text": "Ore UI Tests (needs test infra)" + } + }, + { + "open_ore_ui_perf@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.open_ore_ui_perf", + "$button_text": "Ore UI Perf (needs test infra)" + } + }, + { + "open_ore_ui_test_modal@settings_common.action_button": { + "enabled": "(not $test_infrastructure_disabled)", + "$pressed_button_name": "button.open_ore_ui_test_modal", + "$button_text": "Ore UI Test Modal (needs test infra)" + } + }, + { + "open_ore_ui_tests_spacer": { + "type": "panel", + "size": [ "100%", 7 ] + } + } + ] + }, + + "edu_debug_section": { + "type": "stack_panel", + "ignored": "(not $education_edition) or $creator_build", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "edu_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "edu_feature_toggles_label": { + "type": "label", + "text": "Edu-related Feature Toggles", + "size": [ "100%", "default" ], + "color": "$body_text_color" + } + }, + { + "edu_feature_toggles_label_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "edu_demo@settings_common.option_toggle": { + "$option_label": "options.dev_eduDemo", + "$option_binding_name": "#dev_edu_demo", + "$option_enabled_binding_name": "#dev_edu_demo_enabled", + "$toggle_name": "dev_edu_demo" + } + }, + { + "edu_ad_debug_panel@settings_common.option_toggle": { + "$option_label": "options.dev_ad_show_debug_panel", + "$option_binding_name": "#show_ad_debug_panel_button", + "$option_enabled_binding_name": "#show_ad_debug_panel_button_enabled", + "$toggle_name": "show_ad_debug_panel_button" + } + }, + { + "edu_ad_token_refresh_threshold@settings_common.option_slider": { + "$option_label": "#ad_token_refresh_threshold_slider_label", + "$slider_name": "ad_token_refresh_threshold", + "$slider_value_binding_name": "#ad_token_refresh_threshold", + "$slider_tts_text_value": "#ad_token_refresh_threshold_text_value", + "$option_enabled_binding_name": "#ad_token_refresh_threshold_enabled", + "$slider_steps_binding_name": "#ad_token_refresh_threshold_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "edu_ad_max_signin_token_refresh@settings_common.option_slider": { + "$option_label": "#ad_max_signin_token_refresh_slider_label", + "$slider_name": "ad_max_signin_token_refresh", + "$slider_value_binding_name": "#ad_max_signin_token_refresh", + "$slider_tts_text_value": "#ad_max_signin_token_refresh_text_value", + "$option_enabled_binding_name": "#ad_max_signin_token_refresh_enabled", + "$slider_steps_binding_name": "#ad_max_signin_token_refresh_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "edu_ad_max_graph_token_refresh@settings_common.option_slider": { + "$option_label": "#ad_max_graph_token_refresh_slider_label", + "$slider_name": "ad_max_graph_token_refresh", + "$slider_value_binding_name": "#ad_max_graph_token_refresh", + "$slider_tts_text_value": "#ad_max_graph_token_refresh_text_value", + "$option_enabled_binding_name": "#ad_max_graph_token_refresh_enabled", + "$slider_steps_binding_name": "#ad_max_graph_token_refresh_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "edu_environment_divider": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "edu_environment_spacer": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "edu_env_dropdown@settings_common.option_dropdown": { + "$option_label": "options.dev_education_services_environment", + "$dropdown_content": "general_section.dev_education_environment_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_education_env_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_education_env_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_education_env_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "edu_azurenotebooks_env_dropdown@settings_common.option_dropdown": { + "$option_label": "options.dev_azure_notebooks_environment", + "$dropdown_content": "general_section.dev_azure_notebooks_environment_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "dev_azurenotebooks_env_dropdown", + "$options_dropdown_toggle_label_binding": "#dev_azurenotebooks_env_dropdown_toggle_label", + "$option_enabled_binding_name": "#dev_azurenotebooks_env_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + } + ] + }, + + "flighting_debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "flighting_debug_button_toggle", + "$glyph_texture": "textures/ui/local_only_storage", + "$glyph_color_texture": "textures/ui/cloud_only_storage", + "$glyph_size": [ 15, 15 ], + "$button_text": "options.flighting_debug", + "$toggle_property_bag": { + "#panel_title": "options.flighting_debug" + } + }, + + "flighting_debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "flighting_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "treatment_override_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "option_toggle_treatment_override@settings_common.option_toggle": { + "$option_label": "options.dev_displayTreatmentsPanel", + "$option_binding_name": "#dev_display_treatments_panel", + "$option_enabled_binding_name": "#dev_display_treatments_panel_enabled", + "$toggle_name": "dev_display_treatments_panel" + } + }, + { + "override_treatments_panel@general_section.debug_override_treatments_panel": {} + } + ] + } + }, + { + "progression_override_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "option_toggle_progression_override@settings_common.option_toggle": { + "$option_label": "options.dev_displayProgressionsPanel", + "$option_binding_name": "#dev_display_progressions_panel", + "$option_enabled_binding_name": "#dev_display_progressions_panel_enabled", + "$toggle_name": "dev_display_progressions_panel" + } + }, + { + "override_progressions_panel@general_section.debug_override_progressions_panel": {} + } + ] + } + } + ] + }, + + // How to Play button & section + + "how_to_play_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "how_to_play_button_toggle", + "$glyph_texture": "textures/ui/how_to_play_button_default_light", + "$glyph_color_texture": "textures/ui/how_to_play_button_default", + "$glyph_size": [ 15, 15 ], + "$button_text": "menu.howToPlay", + "$toggle_property_bag": { + "#panel_title": "menu.howToPlay" + } + }, + + "how_to_play_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "how_to_play_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "spacer_0": { + "type": "panel", + "size": [ 0, 10 ] + } + }, + { + "generic_label@settings_common.white_label": { + "size": [ "100%", 30 ], + "text_alignment": "center", + "$text": "menu.howToPlay.generalMessage" + } + }, + { + "spacer_1": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "gamepad_helper_label@settings_common.white_label": { + "size": [ "100%", 30 ], + "text_alignment": "center", + "$text": "#how_to_play_gamepad_helper_label_text", + "bindings": [ + { + "binding_name": "#how_to_play_gamepad_helper_label_text" + }, + { + "binding_name": "#how_to_play_gamepad_helper_label_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "dev_xbox_environment_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_xbox_environment_radio_retail", + "$radio_label_text": "options.dev_xbox_environment.retail" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_xbox_environment_radio_dev", + "$radio_label_text": "options.dev_xbox_environment.dev" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_xbox_environment_radio_dev_achievement", + "$radio_label_text": "options.dev_xbox_environment.dev_achievement" + } + } + ] + }, + + "dev_discovery_environment_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_discovery_environment_radio_production", + "$radio_label_text": "options.discoveryEnvironment.production" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_discovery_environment_radio_staging", + "$radio_label_text": "options.discoveryEnvironment.staging" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_discovery_environment_radio_dev", + "$radio_label_text": "options.discoveryEnvironment.dev" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_discovery_environment_radio_perf", + "$radio_label_text": "options.discoveryEnvironment.perf" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_discovery_environment_radio_local", + "$radio_label_text": "options.discoveryEnvironment.local" + } + } + ] + }, + + "dev_service_override_type_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_service_override_type_radio_multibranch", + "$radio_label_text": "options.dev_serviceOverrideTypeMultibranch" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_service_override_type_radio_custom", + "$radio_label_text": "options.dev_serviceOverrideTypeCustom" + } + } + ] + }, + + "dev_realms_environment_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_realms_environment_radio_production", + "$radio_label_text": "options.dev_realms_environment.production" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_realms_environment_radio_staging", + "$radio_label_text": "options.dev_realms_environment.staging" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_realms_environment_radio_dev", + "$radio_label_text": "options.dev_realms_environment.dev" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_realms_environment_radio_local", + "$radio_label_text": "options.dev_realms_environment.local" + } + } + ] + }, + "dev_realms_sku_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_realms_sku_radio_production", + "$radio_label_text": "options.dev_realms_sku.production" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_realms_sku_radio_fiveday", + "$radio_label_text": "options.dev_realms_sku.fiveday" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_realms_sku_radio_default", + "$radio_label_text": "options.dev_realms_sku.default" + } + } + ] + }, + "default_profiling_group_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#internal_profiling_bootstrap", + "$radio_label_text": "Internal Profiling Configuration" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#creator_profiling_bootstrap", + "$radio_label_text": "Creator Profiling Configuration" + } + } + ] + }, + "dev_actor_movement_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_actor_movement_default", + "$radio_label_text": "Default Movement" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_actor_movement_legacy_client", + "$radio_label_text": "Legacy Client Authoritative V1" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_actor_movement_client", + "$radio_label_text": "Client Authoritative V2" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_actor_movement_server", + "$radio_label_text": "Server Authoritative V3" + } + } + ] + }, + "dev_nethernet_logging_verbosity_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_nethernet_logging_verbosity_disabled", + "$radio_label_text": "options.dev_nethernet_logging_verbosity.disabled" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_nethernet_logging_verbosity_criticalonly", + "$radio_label_text": "options.dev_nethernet_logging_verbosity.criticalonly" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_nethernet_logging_verbosity_error", + "$radio_label_text": "options.dev_nethernet_logging_verbosity.error" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_nethernet_logging_verbosity_warning", + "$radio_label_text": "options.dev_nethernet_logging_verbosity.warning" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_nethernet_logging_verbosity_information", + "$radio_label_text": "options.dev_nethernet_logging_verbosity.information" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_nethernet_logging_verbosity_verbose", + "$radio_label_text": "options.dev_nethernet_logging_verbosity.verbose" + } + } + ] + }, + "dev_debug_speed_multiplier_options@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_marketplace_rotation_speed_multiplier_one", + "$radio_label_text": "x1.0" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_marketplace_rotation_speed_multiplier_two", + "$radio_label_text": "x2.0" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_marketplace_rotation_speed_multiplier_three", + "$radio_label_text": "x3.0" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_marketplace_rotation_speed_multiplier_four", + "$radio_label_text": "x4.0" + } + } + ] + }, + "dev_debug_hud_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_off", + "$radio_label_text": "options.dev_enableDebugHudOverlay.off" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_basic", + "$radio_label_text": "options.dev_enableDebugHudOverlay.basic" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_imgui", + "$radio_label_text": "options.dev_enableDebugHudOverlay.imgui" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_workerthreads", + "$radio_label_text": "options.dev_enableDebugHudOverlay.workerthreads" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_renderchunks", + "$radio_label_text": "options.dev_enableDebugHudOverlay.renderchunks" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_profiler", + "$radio_label_text": "options.dev_enableDebugHudOverlay.profiler" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_texturememory", + "$radio_label_text": "options.dev_enableDebugHudOverlay.texturememory" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_imagememory", + "$radio_label_text": "options.dev_enableDebugHudOverlay.imagememory" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_perimagememory", + "$radio_label_text": "options.dev_enableDebugHudOverlay.perimagememory" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_buffer_memory", + "$radio_label_text": "options.dev_enableDebugHudOverlay.buffermemory" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_material_memory", + "$radio_label_text": "options.dev_enableDebugHudOverlay.materialmemory" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_camera", + "$radio_label_text": "options.dev_enableDebugHudOverlay.camera" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_audio", + "$radio_label_text": "options.dev_enableDebugHudOverlay.audio" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_client_network", + "$radio_label_text": "options.dev_enableDebugHudOverlay.client_network" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_server_network", + "$radio_label_text": "options.dev_enableDebugHudOverlay.server_network" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_client_mob_prediction", + "$radio_label_text": "options.dev_enableDebugHudOverlay.client_mob_prediction" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_spatial_packet_optimizations", + "$radio_label_text": "options.dev_enableDebugHudOverlay.spatial_packet_optimizations" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_lock_contention", + "$radio_label_text": "options.dev_enableDebugHudOverlay.lock_contention" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_hud_radio_oreui", + "$radio_label_text": "options.dev_enableDebugHudOverlay.OreUI" + } + } + ] + }, + "dev_chunkMapMode_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "dev_chunkMapMode_off@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chunk_map_mode_off", + "$radio_label_text": "options.dev_chunk_map_mode_off" + } + }, + { + "dev_chunkMapMode_client@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chunk_map_mode_client", + "$radio_label_text": "options.dev_chunk_map_mode_client" + } + }, + { + "dev_chunkMapMode_client@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chunk_map_mode_client_main_chunksource", + "$radio_label_text": "options.dev_chunk_map_mode_client_main_chunksource" + } + }, + { + "dev_chunkMapMode_server@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chunk_map_mode_server_chunk_state", + "$radio_label_text": "options.dev_chunk_map_mode_server_chunk_state" + } + }, + { + "dev_chunkMapMode_server_debug_display@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#chunk_map_mode_server_chunk_debug_display_state", + "$radio_label_text": "options.dev_chunk_map_mode_server_chunk_debug_display_state" + } + } + ] + }, + "dev_quality_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_connection_off", + "$radio_label_text": "options.dev_connection_off" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_connection_nolimit", + "$radio_label_text": "options.dev_connection_nolimit" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_connection_4g", + "$radio_label_text": "options.dev_connection_4g" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_connection_3g", + "$radio_label_text": "options.dev_connection_3g" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_connection_slow", + "$radio_label_text": "options.dev_connection_slow" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#dev_connection_veryslow", + "$radio_label_text": "options.dev_connection_veryslow" + } + } + ] + }, + "vysnc_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vsync_off", + "$radio_label_text": "options.vsync.off" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vsync_on", + "$radio_label_text": "options.vsync.on" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#vsync_adaptive", + "$radio_label_text": "options.vsync.adaptive" + } + } + ] + }, + "dev_identity_environment_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "identity_environment_dev@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#identity_environment_dev", + "$radio_label_text": "options.dev_identity_environment.dev" + } + }, + { + "identity_environment_test@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#identity_environment_test", + "$radio_label_text": "options.dev_identity_environment.test" + } + }, + { + "identity_environment_prod@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#identity_environment_prod", + "$radio_label_text": "options.dev_identity_environment.prod" + } + } + ] + }, + "dev_education_environment_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "education_environment_dev@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#education_environment_dev", + "$radio_label_text": "options.dev_education_environment.dev" + } + }, + { + "education_environment_staging@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#education_environment_staging", + "$radio_label_text": "options.dev_education_environment.staging" + } + }, + { + "education_environment_preprod@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#education_environment_preprod", + "$radio_label_text": "options.dev_education_environment.preprod" + } + }, + { + "education_environment_prod@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#education_environment_prod", + "$radio_label_text": "options.dev_education_environment.prod" + } + }, + { + "education_environment_local@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#education_environment_local", + "$radio_label_text": "options.dev_education_environment.local" + } + } + ] + }, + "dev_azure_notebooks_environment_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "azurenotebooks_environment_staging@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#azure_notebooks_environment_staging", + "$radio_label_text": "options.dev_azure_notebooks_environment.staging" + } + }, + { + "azurenotebooks_environment_prod@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#azure_notebooks_environment_prod", + "$radio_label_text": "options.dev_azure_notebooks_environment.prod" + } + } + ] + }, + "dev_sunsetting_tier_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "sunsetting_tier1@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sunsetting_tier1", + "$radio_label_text": "options.dev_sunsetting_tier.one" + } + }, + { + "sunsetting_tier2@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sunsetting_tier2", + "$radio_label_text": "options.dev_sunsetting_tier.two" + } + }, + { + "sunsetting_tier3@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sunsetting_tier3", + "$radio_label_text": "options.dev_sunsetting_tier.three" + } + }, + { + "sunsetting_tier4@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sunsetting_tier4", + "$radio_label_text": "options.dev_sunsetting_tier.four" + } + }, + { + "sunsetting_tier5@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sunsetting_tier5", + "$radio_label_text": "options.dev_sunsetting_tier.five" + } + }, + { + "sunsetting_tier6@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sunsetting_tier6", + "$radio_label_text": "options.dev_sunsetting_tier.six" + } + }, + { + "sunsetting_not_pending@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#sunsetting_not_pending", + "$radio_label_text": "options.dev_sunsetting_tier.not_pending" + } + } + ] + }, + + // "Deferred Technical Preview" Graphics UI + + "graphics_mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#graphics_mode_radio_simple", + "$radio_label_text": "options.graphicsMode.simple" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#graphics_mode_radio_fancy", + "$radio_label_text": "options.graphicsMode.fancy" + } + }, + { + "@settings_common.radio_with_label": { + "ignored": "(not $new_video_settings)", + "$toggle_state_binding_name": "#graphics_mode_radio_deferred", + "$option_enabled_binding_name": "#graphics_mode_radio_deferred_enabled", + "$radio_label_text": "options.graphicsMode.deferred" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#graphics_mode_radio_ray_traced", + "$option_enabled_binding_name": "#graphics_mode_radio_ray_traced_enabled", + "$radio_label_text": "options.graphicsMode.rayTraced" + } + } + ] + }, + "upscaling_mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#upscaling_mode_radio_taau", + "$radio_label_text": "options.upscalingModeOptions.taau" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#upscaling_mode_radio_bilinear", + "$radio_label_text": "options.upscalingModeOptions.bilinear" + } + } + ] + }, + "advanced_graphics_options_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", 15 ], + "controls": [ + { + "advanced_graphics_options_label@common.minecraftTenLabel": { + "size": [ "default", 10 ], + "max_size": [ "75%", 10 ], + "text": "#graphics_mode_toggle_label", + "color": "$text_color", + "bindings": [ + { + "binding_name": "#graphics_mode_toggle_label" + } + ] + } + }, + { + "fill_pad": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "plus_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "plus@resource_packs.plus_image": { + "size": [ 10, 10 ], + "offset": [ -2, 0 ], + "color": "$text_color" + } + } + ], + "bindings": [ + { + "binding_name": "(not #advanced_graphics_options_grid_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "minus_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "minus@resource_packs.minus_image": { + "size": [ 10, 10 ], + "offset": [ -2, 0 ], + "color": "$text_color" + } + } + ], + "bindings": [ + { + "binding_name": "#advanced_graphics_options_grid_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + "advanced_graphics_options_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "spacer_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "gamma_calibration@settings_common.action_button": { + "$pressed_button_name": "button.gamma_calibration", + "$button_text": "options.gammaIntensity", + + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "max_framerate_slider@general_section.max_framerate_slider": {} + }, + { + "msaa_slider@general_section.msaa_slider": {} + }, + { + "shadow_quality_slider@settings_common.option_slider": { + "$option_label": "#shadow_quality_slider_label", + "$slider_name": "shadow_quality", + "$slider_value_binding_name": "#shadow_quality", + "$slider_tts_text_value": "#shadow_quality_text_value", + "$slider_steps_binding_name": "#shadow_quality_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "point_light_shadow_quality_slider@settings_common.option_slider": { + "$option_label": "#point_light_shadow_quality_slider_label", + "$slider_name": "point_light_shadow_quality", + "$slider_value_binding_name": "#point_light_shadow_quality", + "$slider_tts_text_value": "#point_light_shadow_quality_text_value", + "$slider_steps_binding_name": "#point_light_shadow_quality_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "point_light_loding_quality_slider@settings_common.option_slider": { + "$option_label": "#point_light_loding_quality_slider_label", + "$slider_name": "point_light_loding_quality", + "$slider_value_binding_name": "#point_light_loding_quality", + "$slider_tts_text_value": "#point_light_loding_quality_text_value", + "$slider_steps_binding_name": "#point_light_loding_quality_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "volumetric_fog_quality_slider@settings_common.option_slider": { + "$option_label": "#volumetric_fog_quality_slider_label", + "$slider_name": "volumetric_fog_quality", + "$slider_value_binding_name": "#volumetric_fog_quality", + "$slider_tts_text_value": "#volumetric_fog_quality_text_value", + "$slider_steps_binding_name": "#volumetric_fog_quality_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "reflections_quality_slider@settings_common.option_slider": { + "$option_label": "#reflections_quality_slider_label", + "$slider_name": "reflections_quality", + "$slider_value_binding_name": "#reflections_quality", + "$slider_tts_text_value": "#reflections_quality_text_value", + "$slider_steps_binding_name": "#reflections_quality_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bloom_strength@settings_common.option_slider": { + "$option_label": "#bloom_strength_slider_label", + "$slider_name": "bloom_strength", + "$slider_value_binding_name": "#bloom_strength", + "$slider_tts_text_value": "#bloom_strength_text_value", + "$option_enabled_binding_name": "#bloom_strength_enabled", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "upscaling_toggle@general_section.upscaling_toggle": { + "bindings": [ + { + "binding_name": "#graphics_mode_is_ray_traced", + "binding_name_override": "#visible" + } + ] + } + }, + { + "upscaling_mode@settings_common.option_dropdown": { + "$option_label": "options.upscalingMode", + "$dropdown_content": "general_section.upscaling_mode_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "upscaling_mode_dropdown", + "$options_dropdown_toggle_label_binding": "#upscaling_mode_toggle_label", + "$option_enabled_binding_name": "#upscaling_mode_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "175%" ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "upscaling_percentage@settings_common.option_slider": { + "$option_label": "#upscaling_percentage_slider_label", + "$slider_name": "upscaling_percentage", + "$slider_value_binding_name": "#upscaling_percentage", + "$slider_tts_text_value": "#upscaling_percentage_text_value", + "$slider_steps_binding_name": "#upscaling_percentage_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ], + "bindings": [ + { + "binding_name": "#graphics_mode_is_deferred", + "binding_name_override": "#visible" + } + ] + } + }, + { + "fancy_clouds_toggle@settings_common.option_toggle": { + "$option_label": "options.fancyskies", + "$option_binding_name": "#fancy_skies", + "$option_enabled_binding_name": "#fancy_skies_enabled", + "$toggle_name": "fancy_skies", + "bindings": [ + { + "binding_name": "#graphics_mode_is_simple_or_fancy", + "binding_name_override": "#visible" + } + ] + } + }, + { + "smooth_lighting_toggle@settings_common.option_toggle": { + "$option_label": "options.smooth_lighting", + "$option_binding_name": "#smooth_lighting", + "$option_enabled_binding_name": "#smooth_lighting_enabled", + "$toggle_name": "smooth_lighting", + "bindings": [ + { + "binding_name": "#graphics_mode_is_simple_or_fancy", + "binding_name_override": "#visible" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/settings_sections/realms_world_section.json b/resource_pack/ui/settings_sections/realms_world_section.json new file mode 100644 index 0000000..9f6340f --- /dev/null +++ b/resource_pack/ui/settings_sections/realms_world_section.json @@ -0,0 +1,520 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "realms_world_section", + + "realm_name_edit@settings_common.option_text_edit": { + "ignored": "$is_realm_slot", + "$option_label": "realmsSettingsScreen.realmNameLabel", + "$option_binding_name": "#realm_name", + "$option_enabled_binding_name": "#realm_name_enabled", + "$option_place_holder_text": "realmsSettingsScreen.realmNameEditPlaceholder", + "$text_box_name": "realm_name_text_box", + "$allow_data_binding": true, + "$max_text_edit_length": 64 + }, + + "world_name_edit@settings_common.option_text_edit": { + "ignored": "$realm_no_world_edit", + "$option_label": "selectWorld.enterName", + "$option_binding_name": "#world_name", + "$option_enabled_binding_name": "#realm_name_enabled", + "$option_place_holder_text": "realmsSlotsScreen.new", + "$text_box_name": "world_name_text_box", + "$allow_data_binding": true, + "$max_text_edit_length": 64 + }, + + // This used to be based on the club, not the realm + "realm_description_edit@settings_common.option_text_edit": { + "ignored": "$is_realm_slot", + "$option_label": "feed.clubdescription", // this localization string was not updated, for simplicity + "$option_binding_name": "#realm_description", + "$option_enabled_binding_name": "#realm_name_enabled", + "$option_place_holder_text": "realmsSettingsScreen.realmDescriptionEditPlaceholder", + "$text_box_name": "realm_description_text_box", + "$allow_data_binding": true, + "$max_text_edit_length": 499, + "bindings": [ + { + "binding_name": "#realm_description_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#realm_description_visible", + "binding_name_override": "#visible" + } + ] + }, + + + "download_world_button@settings_common.action_button": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_text": "realmsSettingsScreen.downloadWorldButton", + "$pressed_button_name": "menu_download_world", + "ignored": "($realm_no_world_edit or not $is_pregame)", + "bindings": [ + { + "binding_name": "#download_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "upload_world_button@settings_common.action_button": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_text_binding_type": "global", + "$button_text": "#upload_button_text", + "$pressed_button_name": "menu_upload_world", + "ignored": "($realm_no_world_edit or not $is_pregame)", + "bindings": [ + { + "binding_name": "#upload_button_text" + } + ] + }, + + "reset_world_button@settings_common.action_button": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_text": "realmsSettingsScreen.resetWorldButton", + "$pressed_button_name": "menu_reset_world", + "ignored": "$realm_no_world_edit", + "bindings": [ + { + "binding_name": "#reset_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#reset_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "manage_feed_button@settings_common.action_button": { + "ignored": "$is_realm_slot", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_text": "feed.manage_feed", + "$pressed_button_name": "menu_manage_feed", + "bindings": [ + { + "binding_name": "#manage_feed_button_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#manage_feed_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "club_info_label@settings_common.option_info_label": { + "ignored": "$is_realm_slot", + "$container_text_binding_name": "#club_infotext", + "$show_option_label": false, + "bindings": [ + { + "binding_name": "#club_infotext_visible", + "binding_name_override": "#visible" + } + ] + }, + + + "difficulty_dropdown@settings_common.option_dropdown": { + "ignored": "$realm_no_world_edit", + "$option_label": "options.difficulty", + "$dropdown_content": "world_section.world_difficulty_dropdown_content", + "$dropdown_area": "realms_world_section.panel_content", + "$dropdown_name": "realms_difficulty", + "$options_dropdown_toggle_label_binding": "#difficulty_option_label", + "$option_enabled_binding_name": "#realms_difficulty_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "260%" ] + }, + + "game_mode_dropdown@settings_common.option_dropdown": { + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.gameMode", + "$dropdown_content": "world_section.world_game_mode_dropdown_content", + "$dropdown_area": "realms_world_section.panel_content", + "$dropdown_name": "realms_gamemode", + "$options_dropdown_toggle_label_binding": "#gameMode_option_label", + "$option_enabled_binding_name": "#realms_game_mode_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "200%" ], + "$enabled": "$is_pregame" + }, + + "panel_content": { + "type": "stack_panel", + "controls": [ + { + "option_info_label@settings_common.option_info_label": { + "$container_text_binding_name": "#achievement_warning_text", + "$show_option_label": false, + "bindings": [ + { + "binding_name": "#achievment_warning_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "hardcore_info_label@settings_common.option_info_label": { + "$container_text_binding_name": "#hardcore_warning_text", + "$show_option_label": false, + "bindings": [ + { + "binding_name": "#hardcore_warning_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "realm_name_edit@realms_world_section.realm_name_edit": {} }, + { "world_name_edit@realms_world_section.world_name_edit": {} }, + { "realm_description_edit@realms_world_section.realm_description_edit": {} }, + { "difficulty_dropdown@realms_world_section.difficulty_dropdown": {} }, + { "game_mode_dropdown@realms_world_section.game_mode_dropdown": {} }, + { + "is_hardcore_toggle@settings_common.option_toggle": { + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.isHardcore", + "$option_binding_name": "#is_hardcore", + "$option_enabled_binding_name": "#is_hardcore_enabled", + "$toggle_name": "is_hardcore", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$enabled": "$is_pregame" + } + }, + { + "world_options_label@settings_common.option_group_label": { + "$text": "createWorldScreen.worldOptions", + "ignored": "$realm_no_world_edit" + } + }, + { + "pvp_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.pvp", + "$option_binding_name": "#pvp", + "$option_enabled_binding_name": "#pvp_enabled", + "$toggle_name": "pvp", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "show_coordinates_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.showCoordinates", + "$option_binding_name": "#show_coordinates", + "$option_enabled_binding_name": "#show_coordinates_enabled", + "$toggle_name": "show_coordinates", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "show_days_played_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.showDaysPlayed", + "$option_binding_name": "#show_days_played", + "$option_enabled_binding_name": "#show_days_played_enabled", + "$toggle_name": "show_days_played", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "fire_spreads_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.fireSpreads", + "$option_binding_name": "#fire_spreads", + "$option_enabled_binding_name": "#fire_spreads_enabled", + "$toggle_name": "fire_spreads", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "recipes_unlock_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.recipesUnlock", + "$option_binding_name": "#recipes_unlock", + "$option_enabled_binding_name": "#recipes_unlock_enabled", + "$toggle_name": "recipes_unlock", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "tnt_explodes_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.tntexplodes", + "$option_binding_name": "#tnt_explodes", + "$option_enabled_binding_name": "#tnt_explodes_enabled", + "$toggle_name": "tnt_explodes", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "respawn_blocks_explode_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.respawnblocksexplode", + "$option_binding_name": "#respawn_blocks_explode", + "$option_enabled_binding_name": "#respawn_blocks_explode_enabled", + "$toggle_name": "respawn_blocks_explode", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "mob_loot_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.mobLoot", + "$option_binding_name": "#mob_loot", + "$option_enabled_binding_name": "#mob_loot_enabled", + "$toggle_name": "mob_loot", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "natural_regeneration_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.naturalregeneration", + "$option_binding_name": "#natural_regeneration", + "$option_enabled_binding_name": "#natural_regeneration_enabled", + "$toggle_name": "natural_regeneration", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "tile_drops_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.tileDrops", + "$option_binding_name": "#tile_drops", + "$option_enabled_binding_name": "#tile_drops_enabled", + "$toggle_name": "tile_drops", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "player_sleep_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.playerSleep", + "$option_binding_name": "#player_sleep", + "$option_enabled_binding_name": "#player_sleep_enabled", + "$toggle_name": "player_sleep", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "player_sleep_percentage_slider@settings_common.option_slider": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "#player_sleep_percentage_slider_label", + "$slider_name": "player_sleep_percentage", + "$has_option_description": true, + "$option_description": "createWorldScreen.playerSleepPercentageDescription", + "$slider_value_binding_name": "#player_sleep_percentage", + "$option_enabled_binding_name": "#player_sleep_percentage_enabled", + "$slider_tts_text_value": "#player_sleep_percentage_text_value", + "$slider_steps_binding_name": "#player_sleep_percentage_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "immediate_respawn_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.immediaterespawn", + "$option_binding_name": "#do_immediate_respawn", + "$option_enabled_binding_name": "#do_immediate_respawn_enabled", + "$toggle_name": "do_immediate_respawn", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "respawn_radius@settings_common.option_text_edit": { + "$option_label": "createWorldScreen.respawnRadius", + "ignored": "$realm_no_world_edit", + "$option_binding_name": "#respawn_radius", + "$option_enabled_binding_name": "#respawn_radius_enabled", + "$text_box_name": "respawn_radius_text_box", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$max_text_edit_length": 8, + "$text_edit_box_text_type": "NumberChars" + } + }, + { + "world_cheats_label@settings_common.option_group_label": { + "$text": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit" + } + }, + { + "allow_cheats_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "selectWorld.cheats", + "$option_binding_name": "#allow_cheats", + "$option_enabled_binding_name": "#allow_cheats_enabled", + "$toggle_name": "allow_cheats", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "daylight_cycle_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.daylightcycle", + "$option_binding_name": "#daylight_cycle", + "$option_enabled_binding_name": "#daylight_cycle_enabled", + "$toggle_name": "daylight_cycle", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "keep_inventory_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.keepInventory", + "$option_binding_name": "#keep_inventory", + "$option_enabled_binding_name": "#keep_inventory_enabled", + "$toggle_name": "keep_inventory", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "mob_spawn_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.mobSpawn", + "$option_binding_name": "#mob_spawn", + "$option_enabled_binding_name": "#mob_spawn_enabled", + "$toggle_name": "mob_spawn", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "mob_griefing_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.mobgriefing", + "$option_binding_name": "#mob_griefing", + "$option_enabled_binding_name": "#mob_griefing_enabled", + "$toggle_name": "mob_griefing", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "entities_drop_loot_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.entitiesdroploot", + "$option_binding_name": "#entities_drop_loot", + "$option_enabled_binding_name": "#entities_drop_loot_enabled", + "$toggle_name": "entities_drop_loot", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "weather_cycle_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.weathercycle", + "$option_binding_name": "#weather_cycle", + "$option_enabled_binding_name": "#weather_cycle_enabled", + "$toggle_name": "weather_cycle", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "command_blocks_enabled_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "ignored": "$realm_no_world_edit", + "$option_label": "createWorldScreen.commandblocksenabled", + "$option_binding_name": "#command_blocks_enabled", + "$option_enabled_binding_name": "#command_blocks_enabled_enabled", + "$toggle_name": "command_blocks_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "random_tick_speed@settings_common.option_text_edit_with_text_button": { + "$option_label": "createWorldScreen.randomtickspeed", + "ignored": "$realm_no_world_edit", + "$option_binding_name": "#random_tick_speed", + "$option_enabled_binding_name": "#random_tick_speed_enabled", + "$max_text_edit_length": 4, + "$text_edit_box_text_type": "NumberChars", + "$option_text_edit_control_size": [ "50%", "100%" ], + "$text_box_name": "random_tick_speed_text_box", + "$button_text": "createWorldScreen.randomtickspeed.reset", + "$pressed_button_name": "reset_random_tick_speed" + } + }, + { "download_world_button@realms_world_section.download_world_button": {} }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { "upload_world_button@realms_world_section.upload_world_button": {} }, + { + "padding_1": { + "ignored": "$realm_no_world_edit", + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { "reset_world_button@realms_world_section.reset_world_button": {} }, + { + "padding_2": { + "ignored": "$realm_no_world_edit", + "type": "panel", + "size": [ "100%", 16 ] + } + }, + { "club_info_label@realms_world_section.club_info_label": {} }, + { "manage_feed_button@realms_world_section.manage_feed_button": {} } + ] + } +} diff --git a/resource_pack/ui/settings_sections/settings_common.json b/resource_pack/ui/settings_sections/settings_common.json new file mode 100644 index 0000000..9471243 --- /dev/null +++ b/resource_pack/ui/settings_sections/settings_common.json @@ -0,0 +1,1778 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "settings_common", + + "arrow_image": { + "$alpha|default": 1.0, + "type": "image", + "layer": 1, + "texture": "textures/ui/arrowRight", + "size": [ 8, 8 ], + "alpha": "$alpha" + }, + + "subsection_title": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 10px" ], + "$text|default": "", + "controls": [ + { + "spacer_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "sizer_0": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title": { + "type": "label", + "color": "$main_header_text_color", + "text_alignment": "center", + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "text": "$text" + } + } + ] + } + }, + { + "spacer_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "sizer_1": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 4px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + } + ] + }, + + "action_button@common_buttons.light_text_button": { + "$pressed_button_name|default": "unset_button_name", + "$button_text|default": "unset $button_text", + "size": [ "100%", 30 ], + "anchor_from": "center", + "anchor_to": "center" + }, + + "action_button_dark_text@common_buttons.dark_text_button": { + "$pressed_button_name|default": "unset_button_name", + "$button_text|default": "unset $button_text", + "size": [ "100%", 30 ], + "anchor_from": "center", + "anchor_to": "center" + }, + + "link_button@common_buttons.hyperlink_button": { + "$button_text|default": "unset $button_text", + "size": [ "100%", 30 ], + "$button_size_override": [ "100%", "100% + 1px" ], + "anchor_from": "center", + "anchor_to": "center", + "property_bag": { + "#hyperlink": "unset #hyperlink in property_bag" + } + }, + + "option_group_label": { + "type": "panel", + "size": [ "100%", "100%c + 9px" ], + "$text|default": "unset $text", + "$text_bindings|default": [], + "$font_type|default": "default", + "$font_scale_factor|default": 1, + "controls": [ + { + "text": { + "type": "label", + "color": "$main_header_text_color", + "text": "$text", + "anchor_from": "top_left", + "anchor_to": "top_left", + "max_size": [ "100%", "default" ], + "offset": [ 0, 4 ], + "locked_alpha": 0.5, + "bindings": "$text_bindings", + "font_type": "$font_type", + "font_scale_factor": "$font_scale_factor" + } + } + ] + }, + + "option_generic": { + "type": "panel", + "$option_generic_panel_size|default": [ "100%", "100%c" ], + "size": "$option_generic_panel_size", + "$enabled|default": true, + "$option_enabled_binding_name|default": "", + "controls": [ + { "option_generic_core@settings_common.option_generic_core": {} } + ] + }, + + "white_label": { + "type": "label", + "color": "$main_header_text_color", + "text": "$text" + }, + + // option_generic and option_generic_core are separated so that $enabled and + // $option_enabled_binding_name are guaranteed to be defined - otherwise, the + // variables section now in option_generic_core chokes. + "option_generic_core": { + "$allow_data_binding|default": true, + "$option_label|default": "", + "$show_option_label|default": true, + "$label_bindings|default": [], + "$one_line_layout|default": false, + "$has_option_description|default": false, + "$option_description|default": "", + "$option_enabled_binding_type|default": "global", + "$option_label_alignment|default": "left", + "$label_offset|default": [ 0, 0 ], + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "enabled": "$enabled", + "variables": [ + { + "requires": "(not $enabled or not $option_enabled_binding_name)", + "$option_enabled_binding_type": "none", + "$option_enabled_binding_name": "#not_data_bound" + } + ], + "bindings": [ + { + "binding_type": "$option_enabled_binding_type", + "binding_name": "$option_enabled_binding_name", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "two_line_layout": { + "ignored": "($one_line_layout)", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "option_label_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "option_label": { + "type": "label", + "text_alignment": "$option_label_alignment", + "color": "$main_header_text_color", + "size": [ "100%", "default" ], + "offset": "$label_offset", + "layer": 1, + "text": "$option_label", + "visible": "$show_option_label", + "bindings": "$label_bindings", + "locked_alpha": 0.5 + } + } + ] + } + }, + { + "spacer": { + "type": "panel", + "visible": "$show_option_label", + "size": [ 0, 1 ] + } + }, + { + "option_descriptive_text_0": { + "ignored": "(not $has_option_description)", + "type": "label", + "text_alignment": "$option_label_alignment", + "size": [ "90%", "default" ], + "min_size": [ 0, 0 ], + "color": "$option_description_text_color", + "text": "$option_description", + "visible": "$show_option_label", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "locked_alpha": 0.5 + } + }, + { + "spacer2": { + "type": "panel", + "visible": "$show_option_label", + "size": [ 0, 1 ] + } + }, + { + "$control_name@$control_name": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { + "one_line_layout": { + "ignored": "(not $one_line_layout)", + "type": "panel", + // Since the label and control are on the same line in this layout, + // the height of the overall control should *not* be the sum of the + // heights of the two, which is what a height of "100%c" alone would + // mean, regardless of how the label and control are positioned + // relative to each other. Instead, the height should be the max of + // the two heights. Right now, the only control using this layout is + // the toggle, meaning that height is either 16px (the height of the + // toggle itself) or 100%c-16px (the height of the label, which varies + // due to line wrapping, and can only be obtained by subtracting the + // known height of the toggle, 16px, from the sum of the heights of + // the toggle and label, 100%c. + // Add 2px for spacing between label and description). + // If this layout is used for any other controls, then $line_size and + // $min_line_size will need to be changed accordingly, just like + // $label_size and $label_offset. + "$line_size|default": [ "100%", "100%c - 16px + 2px" ], + "$line_min_size|default": [ "100%", "16px" ], + "size": "$line_size", + "min_size": "$line_min_size", + "$label_size|default": [ "100% - 34px", "default" ], + "$label_offset|default": [ 34, 3 ], + "controls": [ + { + "$control_name@$control_name": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "option_label": { + "type": "label", + "color": "$main_header_text_color", + "text_alignment": "$option_label_alignment", + "layer": 1, + "size": "$label_size", + "offset": "$label_offset", + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "$option_label", + "visible": "$show_option_label", + "bindings": "$label_bindings", + "locked_alpha": 0.5 + } + }, + { + "option_descriptive_text": { + "ignored": "(not $has_option_description)", + "type": "label", + "text_alignment": "$option_label_alignment", + "size": "$label_size", + "offset": "$label_offset", + "min_size": [ 0, 0 ], + "color": "$option_description_text_color", + "text": "$option_description", + "visible": "$show_option_label", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "locked_alpha": 0.5 + } + } + ] + } + }, + { + "spacer": { + "type": "panel", + "size": [ 0, 4 ] + } + } + ] + }, + + "option_text_edit_control@common.text_edit_box": { + "$option_text_edit_control_size|default": [ "100%", "30px" ], + "size": "$option_text_edit_control_size", + "max_length": "$max_text_edit_length", + "$text_edit_box_content_binding_name": "$option_binding_name", + "$text_edit_box_binding_collection_name": "$option_binding_name", + "$text_edit_box_binding_type": "global", + "$text_box_enabled_binding_name": "$option_enabled_binding_name", + "enabled": "$enabled", + "$place_holder_text": "$option_place_holder_text", + "$text_box_tts_header": "$option_label", + "$tts_override_control_value|default": " ", + "tts_override_control_value": "$tts_override_control_value", + + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$text_box_enabled_binding_name": "#not_data_bound", + "$text_edit_box_enabled_binding_type": "none" + } + ] + }, + + "option_text_edit_control_with_button": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "30px" ], + "controls": [ + { + "text_box@common.text_edit_box": { + "size": [ "85%", "100%" ], + "max_length": "$max_text_edit_length", + "$text_edit_box_content_binding_name": "$option_binding_name", + "$text_edit_box_binding_collection_name": "$option_binding_name", + "$text_edit_box_binding_type": "global", + "$text_box_enabled_binding_name": "$option_enabled_binding_name", + "enabled": "$enabled", + "$place_holder_text": "$option_place_holder_text", + + "$text_box_tts_header": "$option_label", + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$text_box_enabled_binding_name": "#not_data_bound", + "$text_edit_box_enabled_binding_type": "none" + } + ] + } + }, + { + "button@common_buttons.light_glyph_button": { + "$button_content": "settings_common.arrow_image", + "size": [ "fill", "100%" ] + } + } + ] + }, + + "option_text_edit_control_with_text_button": { + "type": "stack_panel", + "orientation": "horizontal", + "$option_text_edit_control_with_button_size|default": [ "100%", "30px" ], + "size": "$option_text_edit_control_with_button_size", + "controls": [ + { + "text_box@common.text_edit_box": { + "$option_text_edit_control_size|default": [ "85%", "100%" ], + "size": "$option_text_edit_control_size", + "max_length": "$max_text_edit_length", + "$text_edit_box_content_binding_name": "$option_binding_name", + "$text_edit_box_binding_collection_name": "$option_binding_name", + "$text_edit_box_binding_type": "global", + "$text_box_enabled_binding_name": "$option_enabled_binding_name", + "enabled": "$enabled", + "$place_holder_text": "$option_place_holder_text", + + "$text_box_tts_header": "$option_label", + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$text_box_enabled_binding_name": "#not_data_bound", + "$text_edit_box_enabled_binding_type": "none" + } + ] + } + }, + { + "button@common_buttons.light_text_button": { + "$pressed_button_name|default": "unset_button_name", + "$button_text|default": "unset $button_text", + "$option_button_control_size|default": [ "fill", "100%" ], + "size": "$option_button_control_size" + } + } + ] + }, + + "option_toggle_state_template": { + "type": "image", + "size": [ 30, 16 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "option_toggle_on@settings_common.option_toggle_state_template": { + "texture": "textures/ui/toggle_on" + }, + + "option_toggle_off@settings_common.option_toggle_state_template": { + "texture": "textures/ui/toggle_off" + }, + + "option_toggle_on_hover@settings_common.option_toggle_state_template": { + "texture": "textures/ui/toggle_on_hover" + }, + + "option_toggle_off_hover@settings_common.option_toggle_state_template": { + "texture": "textures/ui/toggle_off_hover" + }, + + "option_toggle_on_locked@settings_common.option_toggle_on": { + "alpha": 0.5 + }, + + "option_toggle_off_locked@settings_common.option_toggle_off": { + "alpha": 0.5 + }, + + "option_toggle_control@common.toggle": { + "layer": 2, + "$toggle_state_binding_name|default": "$option_binding_name", + "$toggle_enabled_binding_name|default": "$option_enabled_binding_name", + "$toggle_enabled_binding_type|default": "global", + "size": [ "100%", "100%c" ], + "$binding_type": "global", + "$binding_condition": "once", + "$unchecked_control": "settings_common.option_toggle_off", + "$checked_control": "settings_common.option_toggle_on", + "$unchecked_hover_control": "settings_common.option_toggle_off_hover", + "$checked_hover_control": "settings_common.option_toggle_on_hover", + "$unchecked_locked_control": "settings_common.option_toggle_off_locked", + "$unchecked_locked_hover_control": "settings_common.option_toggle_off_locked", + "$checked_locked_control": "settings_common.option_toggle_on_locked", + "$checked_locked_hover_control": "settings_common.option_toggle_on_locked", + + "$enable_directional_toggling": false, + + "enabled": "$enabled", + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$toggle_enabled_binding_name": "#not_data_bound", + "$toggle_enabled_binding_type": "none" + } + ] + }, + + "checkbox_visuals_unchecked@checkbox_visuals": { + "$checkbox_texture": "textures/ui/checkbox_space" + }, + + "checkbox_visuals_checked@checkbox_visuals": { + "$checkbox_texture": "textures/ui/checkbox_check", + "$selected": true + }, + + "checkbox_visuals_unchecked_locked@checkbox_visuals": { + "$checkbox_texture": "textures/ui/checkbox_spaceDisabled", + "$alpha": 0.5 + }, + + "checkbox_visuals_checked_locked@checkbox_visuals": { + "$checkbox_texture": "textures/ui/checkbox_checkDisabled", + "$alpha": 0.5, + "$selected": true + }, + + "checkbox_visuals_unchecked_hover@checkbox_visuals": { + "$checkbox_texture": "textures/ui/checkbox_spaceHover", + "$hovered": true + }, + + "checkbox_visuals_checked_hover@checkbox_visuals": { + "$checkbox_texture": "textures/ui/checkbox_checkHover", + "$hovered": true + }, + + "checkbox_visuals": { + "type": "panel", + "$alpha|default": 1.0, + "$checkbox_label_bindings|default": [], + "$checkbox_label_color|default": "$main_header_text_color", + "$checkbox_label_font_type|default": "default", + "$no_label|default": false, + "$selected|default": false, + "$hovered|default": false, + "variables": [ + { + "requires": "$selected", + "$highlight_image": "textures/ui/dropDownSelectBG" + }, + { + "requires": "$hovered", + "$highlight_image": "textures/ui/dropDownHoverBG" + } + ], + "controls": [ + { + "checkbox_image": { + "type": "image", + "texture": "$checkbox_texture", + "alpha": "$alpha", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 10, 10 ], + "offset": [ 5, 0 ], + "layer": 2 + } + }, + { + "checkbox_label": { + "ignored": "($no_label)", + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$checkbox_label_text", + "font_type": "$checkbox_label_font_type", + "color": "$checkbox_label_color", + "offset": [ 21, 0 ], + "size": [ "100% - 21px", "default" ], + "alpha": "$alpha", + "bindings": "$checkbox_label_bindings", + "layer": 2 + } + }, + { + "accessibility_selection_highlight": { + "type": "image", + "$selection_highlight_size|default": [ "100%-2px", "100%-2px" ], + "size": "$selection_highlight_size", + "$selection_highlight_offset|default": [ 0, 0 ], + "offset": "$selection_highlight_offset", + "ignored": "(not $selected and not $hovered)", + "$highlight_image|default": "", + "texture": "$highlight_image", + "tiled": true, + "layer": 1 + } + } + ] + }, + + "checkbox_with_highlight_and_label@common.toggle": { + // don't forget to implement "$toggle_name" and "$checkbox_label_text" when extending this control + "$unchecked_control|default": "settings_common.checkbox_visuals_unchecked", + "$checked_control|default": "settings_common.checkbox_visuals_checked", + "$unchecked_hover_control|default": "settings_common.checkbox_visuals_unchecked_hover", + "$checked_hover_control|default": "settings_common.checkbox_visuals_checked_hover", + "$unchecked_locked_control|default": "settings_common.checkbox_visuals_unchecked_locked", + "$unchecked_locked_hover_control|default": "settings_common.checkbox_visuals_unchecked_locked", + "$checked_locked_control|default": "settings_common.checkbox_visuals_checked_locked", + "$checked_locked_hover_control|default": "settings_common.checkbox_visuals_checked_locked" + }, + + "radio_visuals_unchecked@radio_visuals": { + "$radio_texture": "textures/ui/radio_off" + }, + + "radio_visuals_checked@radio_visuals": { + "$radio_texture": "textures/ui/radio_on", + "$selected": true + }, + + "radio_visuals_unchecked_locked@radio_visuals": { + "$radio_texture": "textures/ui/radio_off", + "$alpha": 0.5 + }, + + "radio_visuals_checked_locked@radio_visuals": { + "$radio_texture": "textures/ui/radio_on", + "$alpha": 0.5, + "$selected": true + }, + + "radio_visuals_unchecked_hover@radio_visuals": { + "$radio_texture": "textures/ui/radio_off_hover", + "$hovered": true + }, + + "radio_visuals_checked_hover@radio_visuals": { + "$radio_texture": "textures/ui/radio_on_hover", + "$hovered": true + }, + + "radio_visuals": { + "type": "panel", + "size": [ "100%", 16 ], + "$alpha|default": 1.0, + "$radio_label_bindings|default": [], + "$radio_label_color|default": "$main_header_text_color", + "$radio_label_font_type|default": "default", + "$no_label|default": false, + "$selected|default": false, + "$hovered|default": false, + "variables": [ + { + "requires": "$selected", + "$highlight_image": "textures/ui/dropDownSelectBG" + }, + { + "requires": "$hovered", + "$highlight_image": "textures/ui/dropDownHoverBG" + } + ], + "controls": [ + { + "radio_image": { + "type": "image", + "texture": "$radio_texture", + "alpha": "$alpha", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 10, 10 ], + "layer": 2 + } + }, + { + "radio_label": { + "ignored": "($no_label)", + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$radio_label_text", + "font_type": "$radio_label_font_type", + "color": "$radio_label_color", + "offset": [ 16, 0.5 ], + "size": [ "100% - 16px", "default" ], + "alpha": "$alpha", + "bindings": "$radio_label_bindings", + "layer": 2 + } + }, + { + "accessibility_selection_highlight": { + "type": "image", + "$selection_highlight_size|default": [ "100% + 4px", "100% + 2px" ], + "size": "$selection_highlight_size", + "$selection_highlight_offset|default": [ 0, 0 ], + "offset": "$selection_highlight_offset", + "ignored": "(not $selected and not $hovered)", + "$highlight_image|default": "", + "texture": "$highlight_image", + "tiled": true, + "layer": 1 + } + } + ] + }, + + "radio_with_label_core@common.radio_toggle": { + "$unchecked_control|default": "settings_common.radio_visuals_unchecked", + "$checked_control|default": "settings_common.radio_visuals_checked", + "$unchecked_hover_control|default": "settings_common.radio_visuals_unchecked_hover", + "$checked_hover_control|default": "settings_common.radio_visuals_checked_hover", + "$unchecked_locked_control|default": "settings_common.radio_visuals_unchecked_locked", + "$unchecked_locked_hover_control|default": "settings_common.radio_visuals_unchecked_locked", + "$checked_locked_control|default": "settings_common.radio_visuals_checked_locked", + "$checked_locked_hover_control|default": "settings_common.radio_visuals_checked_locked", + "$radio_toggle_group": true, + "size": [ "100%", "100%c" ], + "$toggle_name|default": "$toggle_state_binding_name", + "$toggle_enabled_binding_name": "$option_enabled_binding_name", + + "enabled": "$enabled", + "$toggle_enabled_binding_type": "global", + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$toggle_enabled_binding_name": "#not_data_bound", + "$toggle_enabled_binding_type": "none" + } + ] + }, + + "option_radio_group_control": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": "$radio_buttons", + /* Here's an example of how $radio_buttons should be defined: + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#game_mode_radio_survival", + "$radio_label_text": "realmsSettingsScreen.survivalRadioButton", + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#game_mode_radio_creative", + "$radio_label_text": "realmsSettingsScreen.creativeRadioButton", + } + } + ] + */ + "$radio_factory|default": { "name": "empty" }, + "$radio_collection_name|default": "", + "$radio_bindings|default": [], + + "factory": "$radio_factory", + "collection_name": "$radio_collection_name", + "bindings": "$radio_bindings" + }, + + "radio_with_label": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "17px" ], + "offset": [ 3, 0 ], + "$enabled|default": true, + "controls": [ + { "radio_with_label_core@settings_common.radio_with_label_core": {} } + ] + }, + + "radio_with_label_and_content_unchecked@settings_common.radio_with_label_and_content": { + "$radio_texture": "textures/ui/radio_off" + }, + + "radio_with_label_and_content_checked@settings_common.radio_with_label_and_content": { + "$radio_background_color": "$radio_background_checked_color", + "$radio_texture": "textures/ui/radio_on" + }, + + "radio_with_label_and_content_unchecked_locked@settings_common.radio_with_label_and_content": { + "$radio_texture": "textures/ui/radio_off", + "$alpha": 0.5 + }, + + "radio_with_label_and_content_checked_locked@settings_common.radio_with_label_and_content": { + "$radio_background_color": "$radio_background_checked_color", + "$radio_texture": "textures/ui/radio_on", + "$alpha": 0.5 + }, + + "radio_with_label_and_content_unchecked_hover@settings_common.radio_with_label_and_content": { + "$radio_background_color": "$radio_background_hover_color", + "$radio_texture": "textures/ui/radio_off_hover" + }, + + "radio_with_label_and_content_checked_hover@settings_common.radio_with_label_and_content": { + "$radio_background_color": "$radio_background_hover_color", + "$radio_texture": "textures/ui/radio_on_hover" + }, + + "radio_with_label_and_content_stack_item": { + "type": "panel", + "$radio_stack_item_element_size|default": [ "100%c", 19 ], + "size": "$radio_stack_item_element_size" + }, + + "radio_with_label_and_content": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "$radio_background_color|default": "$radio_background_unchecked_color", + "controls": [ + { + "radio_background": { + "type": "image", + "texture": "textures/ui/White", + "keep_ratio": false, + "size": [ "100% - 4px", "100%sm" ], + "color": "$radio_background_color", + "layer": 1 + } + }, + { + "radio_item_with_description_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + + "layer": 2, + "$no_description|default": true, + "controls": [ + { + "radio_icon_and_label@settings_common.radio_item_with_label_and_content_stack": {} + }, + { + "radio_description@settings_common.radio_description_panel": {} + } + ] + } + } + ] + }, + + "radio_item_with_label_and_content_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "layer": 1, + "$alpha|default": 1.0, + "$radio_label_bindings|default": [], + "$radio_label_color|default": "$main_header_text_color", + "$radio_label_font_type|default": "default", + "$no_radio_content|default": true, + "$no_label|default": false, + "controls": [ + { + "initial_padding@common.empty_panel": { + "size": [ 5, "100%sm" ] + } + }, + { + "radio_image_panel@settings_common.radio_with_label_and_content_stack_item": { + "controls": [ + { + "image": { + "type": "image", + "texture": "$radio_texture", + "alpha": "$alpha", + "size": [ 10, 10 ] + } + } + ] + } + }, + { + "radio_to_content_padding@common.empty_panel": { + "size": [ 5, "100%sm" ] + } + }, + { + "radio_content_panel@settings_common.radio_with_label_and_content_stack_item": { + "ignored": "$no_radio_content", + "controls": [ + { "radio_image@$radio_content_control": {} } + ] + } + }, + { + "content_to_label_padding@common.empty_panel": { + "ignored": "$no_radio_content", + "size": [ 5, "100%sm" ] + } + }, + { + "radio_label_panel@settings_common.radio_with_label_and_content_stack_item": { + "controls": [ + { + "radio_label": { + "ignored": "($no_label)", + "type": "label", + "shadow": true, + "text": "$radio_label_text", + "font_type": "$radio_label_font_type", + "color": "$radio_label_color", + "size": [ "default", "default" ], + "alpha": "$alpha", + "bindings": "$radio_label_bindings" + } + } + ] + } + } + ] + }, + + "radio_description_panel": { + "ignored": "($no_description)", + "type": "panel", + "size": [ "100%", "100%c" ], + "layer": 1, + "$description_font_type": "smooth", + "$description_font_scale_factor": 1.333, + "controls": [ + { + "description@settings_common.radio_description": {} + } + ] + }, + + "radio_description": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "100% - 10px", "default" ], + "text": "$radio_label_desc", + "font_type": "$description_font_type", + "font_scale_factor": "$description_font_scale_factor", + "shadow": false, + "offset": [ 4, 2 ] + }, + + "radio_item_with_label_and_content": { + "$radio_background_unchecked_color": "$dropdown_radio_background_unchecked_color", + "$radio_background_checked_color": "$dropdown_radio_background_checked_color", + "$radio_background_hover_color": "$dropdown_radio_background_hover_color", + + "$checked_control": "settings_common.radio_with_label_and_content_checked", + "$unchecked_control": "settings_common.radio_with_label_and_content_unchecked", + "$checked_hover_control": "settings_common.radio_with_label_and_content_checked_hover", + "$unchecked_hover_control": "settings_common.radio_with_label_and_content_unchecked_hover", + "$checked_locked_control": "settings_common.radio_with_label_and_content_checked_locked", + "$unchecked_locked_control": "settings_common.radio_with_label_and_content_unchecked_locked", + "$checked_locked_hover_control": "settings_common.radio_with_label_and_content_checked_locked", + "$unchecked_locked_hover_control": "settings_common.radio_with_label_and_content_unchecked_locked", + + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%cm" ], + "controls": [ + { "radio_with_label_core@settings_common.radio_with_label_core": {} } + ] + }, + + "option_slider_control": { + "type": "panel", + "size": [ "100% - 2px", 16 ], + "controls": [ + { + "slider@common.slider": { + "size": [ "100%-8px", 10 ], + "$slider_box_size": [ 10, 16 ], + "offset": [ 1, 0 ], + + "$option_label|default": "", + + "$slider_tts_header": "$option_label", + "$slider_tts_header_binding_type": "global", + + "enabled": "$enabled", + "$slider_enabled_binding_name": "$option_enabled_binding_name", + "$slider_enabled_binding_type": "global", + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$slider_enabled_binding_name": "#not_data_bound", + "$slider_enabled_binding_type": "none" + } + ] + } + } + ] + }, + + "default_options_dropdown_toggle_button_state_content": { + "type": "stack_panel", + // new_button_state has a layer of 2 + "layer": 3, + "orientation": "horizontal", + "$options_dropdown_toggle_button_state_content|default": [ "100%", "100% - 8px" ], + "size": "$options_dropdown_toggle_button_state_content", + "$options_dropdown_toggle_prelabel_content|default": "common.empty_panel", + "$options_dropdown_toggle_left_padding|default": [ 8, "100%" ], + "$options_dropdown_toggle_right_padding|default": [ 8, "100%" ], + "controls": [ + { + "left_padding@common.empty_panel": { + "size": "$options_dropdown_toggle_left_padding" + } + }, + { + "option_content@$options_dropdown_toggle_prelabel_content": { + "$options_dropdown_toggle_prelabel_content_size|default": [ 0, "100%" ], + "size": "$options_dropdown_toggle_prelabel_content_size" + } + }, + { + "option_content_padding@common.empty_panel": { + "$options_dropdown_toggle_prelabel_content_padding|default": [ 0, "100%" ], + "size": "$options_dropdown_toggle_prelabel_content_padding" + } + }, + { + "label_panel": { + "type": "panel", + "layer": 1, + "size": [ "fill", "100%" ], + "controls": [ + { + "label@common.new_button_label": { + "layer": 1, + "$options_dropdown_label_color_binding_type|default": "none", + "$options_dropdown_label_color_binding|default": "", + "$options_dropdown_toggle_label_font_type|default": "default", + "$options_dropdown_toggle_label_font_scale|default": 1.0, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "default" ], + "max_size": [ "100%", "100%" ], + "text": "$options_dropdown_toggle_label_binding", + "font_type": "$options_dropdown_toggle_label_font_type", + "font_scale_factor": "$options_dropdown_toggle_label_font_scale", + "$options_dropdown_toggle_label_shadow|default": false, + "shadow": "$options_dropdown_toggle_label_shadow", + "alpha": "$content_alpha", + + "$options_dropdown_toggle_label_binding_type|default": "global", + "$options_dropdown_toggle_label_binding_collection_name|default": "", + "$options_dropdown_label_bindings|default": [ + { + "binding_name": "$options_dropdown_toggle_label_binding", + "binding_condition": "none", + "binding_type": "$options_dropdown_toggle_label_binding_type", + "binding_collection_name": "$options_dropdown_toggle_label_binding_collection_name" + }, + { + "binding_name": "$options_dropdown_label_color_binding", + "binding_type": "$options_dropdown_label_color_binding_type", + "binding_name_override": "#color" + } + ], + + "bindings": "$options_dropdown_label_bindings" + } + } + ] + } + }, + { + "arrow_panel": { + "type": "panel", + "layer": 1, + "size": [ "100%c", "100%" ], + "controls": [ + { + "dropdown_chevron_image": { + "$alpha|default": 1.0, + "type": "image", + "layer": 1, + "texture": "$default_chevron", + "size": [ 8, 8 ], + "alpha": "$alpha" + } + } + ] + } + }, + { + "right_padding@common.empty_panel": { + "size": "$options_dropdown_toggle_right_padding" + } + } + ] + }, + + "options_dropdown_toggle_control@common_toggles.light_template_toggle": { + "size": [ "100%", "100%" ], + "$button_type_panel|default": "settings_common.default_options_dropdown_toggle_button_state_content", + "$unchecked_hover_control": "common_toggles.toggle_unchecked_hover_with_chevron", + "$checked_hover_control": "common_toggles.toggle_checked_hover_with_chevron", + + "enabled": "$enabled", + "$toggle_enabled_binding_name|default": "$option_enabled_binding_name", + "$toggle_enabled_binding_type|default": "global", + "$toggle_binding_type|default": "global", + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$toggle_enabled_binding_name": "#not_data_bound", + "$toggle_enabled_binding_type": "none" + } + ] + }, + + "options_dropdown_dark_toggle_control@common_toggles.dark_template_toggle": { + "size": [ "100%", "100%" ], + "$button_type_panel|default": "settings_common.default_options_dropdown_toggle_button_state_content", + "$unchecked_hover_control": "common_toggles.toggle_unchecked_hover_with_chevron", + "$checked_hover_control": "common_toggles.toggle_checked_hover_with_chevron", + + "enabled": "$enabled", + "$toggle_enabled_binding_name|default": "$option_enabled_binding_name", + "$toggle_enabled_binding_type|default": "global", + "$toggle_binding_type|default": "global", + "variables": [ + { + "requires": "(not $option_enabled_binding_name or not $enabled)", + "$toggle_enabled_binding_name": "#not_data_bound", + "$toggle_enabled_binding_type": "none" + } + ] + }, + + "option_dropdown_control": { + "type": "panel", + "$option_dropdown_size|default": [ "100%", 30 ], + "size": "$option_dropdown_size", + "anchor_from": "center", + "anchor_to": "center", + "$dropdown_background_control|default": "common.dropdown_background", + "$option_dropdown_type|default": "common.dropdown", + "$option_label|default": "", + "layer": 2, + "controls": [ + { + "dropdown@$option_dropdown_type": { + "$dropdown_toggle": "settings_common.options_dropdown_toggle_control", + "$dropdown_background": "$dropdown_background_control", + // you need to specify the content with "$dropdown_content" + "$dropdown_content|default": "unset_dropdown_content", + // you need to specify a unique name with "$dropdown_name" + "$dropdown_name|default": "unset $dropdown_name", + // you need to specify a the label with "$options_dropdown_toggle_label_binding" + "$options_dropdown_toggle_label_binding|default": "unset $options_dropdown_toggle_label_text", + "$locked_alpha": 0.5, + "$toggle_tts_header": "$option_label" + } + } + ] + }, + + "option_dropdown_control_no_scroll@settings_common.option_dropdown_control": { + "$option_dropdown_type": "common.dropdown_no_scrollpanel" + }, + + "option_info_label_with_bulb": { + "type": "image", + "texture": "textures/ui/text_label_box", + "size": [ "100%", "100%c + 6px" ], + "$used_fontsize|default": "normal", + "$used_fonttype|default": "default", + "$second_info_panel_visible|default": false, + "$container_text_secondary_binding_name|default": "", + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%cm" ], + "orientation": "horizontal", + "controls": [ + { + "padding1@common.empty_panel": { + "size": [ 2, 19 ] + } + }, + { + "bulb_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", "100%sm" ], + "controls": [ + { + "padding1@common.empty_panel": { + "size": [ 0, "fill" ] + } + }, + { + "bulb_image": { + "type": "image", + "size": [ 15, 19 ], + "bilinear": true, + "texture": "textures/ui/infobulb", + "layer": 1 + } + }, + { + "padding2@common.empty_panel": { + "size": [ 0, "fill" ] + } + } + ] + } + }, + { + "padding2@common.empty_panel": { + "size": [ 2, 0 ] + } + }, + { + "label_panel": { + "type": "stack_panel", + "size": [ "fill", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "info_label1": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "100% - 2px", "default" ], + "layer": 1, + "text": "$container_text_binding_name", + "font_size": "$used_fontsize", + "font_type": "$used_fonttype", + "bindings": [ + { + "binding_name": "$container_text_binding_name" + } + ] + } + }, + { + "padding2@common.empty_panel": { + "size": [ 0, 8 ] + } + }, + { + "info_label2": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "100% - 2px", "default" ], + "layer": 1, + "text": "$container_text_secondary_binding_name", + "font_size": "$used_fontsize", + "font_type": "$used_fonttype", + "visible": "$second_info_panel_visible", + "bindings": [ + { + "binding_name": "$container_text_secondary_binding_name" + } + ] + } + } + ] + } + }, + { + "padding3@common.empty_panel": { + "size": [ 0, 8 ] + } + } + ] + } + } + ] + }, + + "option_info_label_with_image": { + "type": "image", + "texture": "textures/ui/text_label_box", + "size": [ "100%", "100%c + 6px" ], + "$used_fontsize|default": "normal", + "$used_fonttype|default": "default", + "controls": [ + { + "control": { + "type": "label", + "color": "$main_header_text_color", + "size": [ "100% - 8px", "default" ], + "layer": 1, + "text": "$container_text_binding_name", + "font_size": "$used_fontsize", + "font_type": "$used_fonttype", + "bindings": [ + { + "binding_name": "$container_text_binding_name" + } + ] + } + } + ] + }, + + "option_info_label_image@common.tts_label_focus_wrapper": { + "$tts_label_panel": "settings_common.option_info_label_with_image" + }, + + "option_toggle@settings_common.option_generic": { + "$control_name": "settings_common.option_toggle_control", + "$option_label|default": "", + "$toggle_tts_header": "$option_label", + "variables": [ + { + "requires": "$desktop_screen", + "$one_line_layout": true + } + ] + }, + + "option_radio_group@settings_common.option_generic": { + "$control_name": "settings_common.option_radio_group_control" + }, + + "option_radio_dropdown_group": { + "type": "panel", + "size": [ "100% - 4px", "100%c + 4px" ], + "offset": [ 2, 1 ], + "$toggle_tts_header": "", + "$toggle_tts_name": "accessibility.dropdown.listItem", + "$toggle_tts_toggle_on_text": "accessibility.state.selected", + "$toggle_tts_toggle_off_text": "accessibility.state.unselected", + "$toggle_tts_type_priority": 50, + + "controls": [ + { + "radio_control_group@settings_common.option_radio_group_control": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "option_text_edit@settings_common.option_generic": { + "$option_place_holder_text|default": "", + "$max_text_edit_length|default": 30, + "$control_name": "settings_common.option_text_edit_control" + }, + + "option_text_edit_with_button@settings_common.option_generic": { + "$option_place_holder_text|default": "", + "$max_text_edit_length|default": 30, + "$control_name": "settings_common.option_text_edit_control_with_button" + }, + + "option_text_edit_with_text_button@settings_common.option_generic": { + "$option_place_holder_text|default": "", + "$max_text_edit_length|default": 30, + "$control_name": "settings_common.option_text_edit_control_with_text_button" + }, + + "option_slider@settings_common.option_generic": { + "$control_name": "settings_common.option_slider_control" + }, + + "option_dropdown@settings_common.option_generic": { + "$control_name": "settings_common.option_dropdown_control" + }, + + + "option_dropdown_no_scroll@settings_common.option_generic": { + "$control_name": "settings_common.option_dropdown_control_no_scroll" + }, + + "option_custom_control@settings_common.option_generic": { + // user must set $control_name + }, + + "option_info_label@settings_common.option_generic": { + "$control_name": "settings_common.option_info_label_image" + }, + + "dynamic_dialog_screen@common.base_screen": { + "type": "screen", + "cache_screen": true, + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "variables": [ + { + "requires": "($is_realm_slot or $realm_no_world_edit)", + "$screen_background_control": "realms_slots.realms_background" + } + ], + "$screen_content": "settings_common.settings_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": true + }, + + "settings_content": { + "type": "panel", + "controls": [ + // Adding fill background color for all settings. + { + "background": { + "$layer|default": -1, + "variables": [ + { + "requires": "($is_realm_slot or $realm_no_world_edit)", + "$layer": -2 + } + ], + "type": "image", + "texture": "textures/ui/White", + "keep_ratio": false, + "size": [ "100%", "100%sm" ], + "color": [ 0.192, 0.196, 0.2 ], // First test: [0.239, 0.204, 0.204] + "offset": [ 0, 0 ], + "layer": "$layer", + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + + { + "stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "content_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + + "controls": [ + { + "common_panel@common.fullscreen_header": { + "$dialog_background": "dialog_background_hollow_3" + } + }, + { + "container": { + "type": "panel", + "size": [ "100%", "100% - 4px" ], + "controls": [ + { "$dialog_content@$dialog_content": {} } + ] + } + } + ] + } + } + ] + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "purchase_failed": "@realms_create.popup_dialog__purchase_failed", + "purchase_in_progress": "@realms_create.popup_dialog__purchase_in_progress", + "backups_modal": "@realms_settings.popup_dialog__backups", + "sign_out_fail": "@general_section.sign_out_fail_popup", + "edu_onedrive_error": "@general_section.edu_cloud_onedrive_error_popup" + } + } + } + ] + }, + + "toggle_button_control": { + "type": "panel", + "$glyph_offset|default": [ 5, 0 ], + "$glyph_anchor_from|default": "left_middle", + "$glyph_anchor_to|default": "left_middle", + "$button_label_offset|default": [ 34, 0 ], + "layer": 2, + "controls": [ + { + "glyph": { + "type": "image", + "anchor_from": "$glyph_anchor_from", + "anchor_to": "$glyph_anchor_to", + "offset": "$glyph_offset", + "texture": "$glyph_texture", + "size": "$glyph_size", + "layer": 3, + "color": "$glyph_color", + "alpha": "$content_alpha", + + "$glyph_bindings|default": [], + "bindings": "$glyph_bindings" + } + }, + { + "glyph_color": { + "type": "image", + "anchor_from": "$glyph_anchor_from", + "anchor_to": "$glyph_anchor_to", + "offset": "$glyph_offset", + "texture": "$glyph_color_texture", + "size": "$glyph_size", + "layer": 4, + "alpha": "$content_alpha", + + "$glyph_color_bindings|default": [], + "bindings": "$glyph_color_bindings" + } + }, + { + "progress_loading_bars@progress.progress_loading_bars": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "color": "$glyph_color", + "offset": [ 5, 0 ], + "layer": 5, + "size": "$glyph_size", + "visible": false, + "$glyph_progress_bindings|default": [], + "bindings": "$glyph_progress_bindings" + } + }, + { + "tab_button_text": { + "type": "label", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100% - 38px", "default" ], + "max_size": [ "100% - 38px", "100% - 4px" ], + "offset": "$button_label_offset", + "text": "$button_text", + "layer": 3, + "color": "$text_color", + "alpha": "$content_alpha", + + "$button_text_binding_type|default": "none", + "$button_text_grid_collection_name|default": "", + "$button_text_binding_condition|default": "none", + + "bindings": [ + { + "binding_type": "$button_text_binding_type", + "binding_condition": "$button_text_binding_condition", + "binding_collection_name": "$button_text_grid_collection_name", + "binding_name": "$button_text", + "binding_name_override": "$button_text" + } + ] + } + } + ] + }, + + "section_toggle_base@common_toggles.light_ui_toggle": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "30px" ], + "$button_size_override": [ "100%", "100% + 1px" ], + "$button_type_panel": "settings_common.toggle_button_control", + + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$default_selector_toggle_index", + + "$toggle_tab_focus_binding_type": "global", + "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence", + "$toggle_on_hover_binding_type": "global", + "$toggle_on_hover_binding_name": "#toggle_on_hover", + "$toggle_tts_toggle_on_text": "accessibility.state.selected", + "$toggle_tts_toggle_off_text": "accessibility.state.unselected", + "$toggle_tts_name": "accessibility.tab.tts.title" + }, + + // upper right title + "section_title_label": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 2, + "color": "$title_text_color", + "text": "#section_title", + "text_alignment": "center", + "bindings": [ + { + "binding_name": "#section_title" + } + ] + }, + + // upper left title + "dialog_title_label": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "color": "$title_text_color", + "text": "#dialog_title", + "bindings": [ + { + "binding_name": "#dialog_title" + } + ] + }, + + "dialog_titles": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 15 ], + "offset": [ 0, 3.5 ], + "controls": [ + { + "left_padding": { + "type": "panel", + "size": [ 18, "100%" ] + } + }, + { + "dialog_title_label@settings_common.dialog_title_label": { + "size": [ "40% - 3px", "100%" ] + } + }, + { + "center_padding": { + "type": "panel", + "size": [ 9, "100%" ] + } + }, + { + "section_title_label@settings_common.section_title_label": { + "size": [ "fill", "100%" ] + } + }, + { + "right_padding_is_always_right": { + "type": "panel", + "size": [ 22, "100%" ] + } + } + ] + }, + + "dialog_content": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "dialog_titles@settings_common.dialog_titles": {} }, + { "selector_area@settings_common.selector_area": {} }, + { "content_area@settings_common.content_area": {} }, + { "section_divider@settings_common.section_divider": {} } + ] + }, + + "selector_group_label": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$main_header_text_color", + "offset": [ 15, 0 ] + }, + + "scrollable_selector_area_content": { + "type": "panel", + "offset": [ "2px", "2px" ], + "size": [ "100% - 4px", "100%c + 4px" ], + "controls": [ + { "$selector_stack_panel@$selector_stack_panel": {} } + ] + }, + + // left side + "selector_area": { + "type": "panel", + "offset": [ 2, "21px" ], + "size": [ "40% - 3px", "100% - 19px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "focus_container": true, + "use_last_focus": true, + "$focus_navigation_mode_override_down|default": "contained", + "$focus_navigation_mode_override_up|default": "contained", + "$focus_navigation_mode_override_left|default": "", + "$focus_navigation_mode_override_right|default": "", + "focus_navigation_mode_down": "$focus_navigation_mode_override_down", + "focus_navigation_mode_up": "$focus_navigation_mode_override_up", + "focus_navigation_mode_left": "$focus_navigation_mode_override_left", + "focus_navigation_mode_right": "$focus_navigation_mode_override_right", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "settings_common.scrollable_selector_area_content", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 1, 0 ] + } + } + ] + }, + + // right side + "content_area": { + "type": "panel", + "offset": [ "-1px", "21px" ], + "size": [ "60% - 8px", "100% - 19px" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 1, + + "focus_container": true, + "use_last_focus": false, + "$focus_navigation_mode_override_down|default": "contained", + "$focus_navigation_mode_override_up|default": "contained", + "$focus_navigation_mode_override_left|default": "", + "$focus_navigation_mode_override_right|default": "", + "focus_navigation_mode_down": "$focus_navigation_mode_override_down", + "focus_navigation_mode_up": "$focus_navigation_mode_override_up", + "focus_navigation_mode_left": "$focus_navigation_mode_override_left", + "focus_navigation_mode_right": "$focus_navigation_mode_override_right", + "ttsSectionContainer": true, + + "controls": [ + { + "control": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "header_panel": { + "type": "panel", + "layer": 20, + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "content@$section_header_panels": {} + } + ] + } + }, + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%", "fill" ], + "$scrolling_content": "$section_content_panels", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 1, 0 ] + } + }, + { + "footer_panel": { + "type": "panel", + "layer": 20, + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "content@$section_footer_panels": {} + } + ] + } + } + ] + } + } + ] + }, + + // divider between two sides + "section_divider": { + "type": "image", + "offset": [ "40%", "20px" ], + "size": [ "4px", "100% - 18px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "texture": "textures/ui/HowToPlayDivider" + }, + + "screen_base@settings_common.dynamic_dialog_screen": { + "$dialog_content": "settings_common.dialog_content" + } +} diff --git a/resource_pack/ui/settings_sections/world_section.json b/resource_pack/ui/settings_sections/world_section.json new file mode 100644 index 0000000..eeac268 --- /dev/null +++ b/resource_pack/ui/settings_sections/world_section.json @@ -0,0 +1,3257 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "world_section", + + "selector_pane_content": { + "type": "stack_panel", + + "$tts_section_header": "realmsSettingsScreen.worldSectionTitle", + "variables": { + "requires": "$is_pregame", + "$tts_section_header": "options.editSettings" + }, + "controls": [ + { + "world_snapshot_image": { + "ignored": "(not $is_pregame)", + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "thumbnail": { + "type": "image", + "force_texture_reload": true, + "size": [ "100% - 2px", "56.25%x + 2.25px" ], + "bilinear": true, + "layer": 2, + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 1 ], + "fill": true, + "controls": [ + { + "border": { + "type": "image", + "size": [ "100% + 2px", "100% + 2px" ], + "texture": "textures/ui/BannersTransparent", + "anchor_from": "center", + "anchor_to": "center", + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_name": "#world_texture_name", + "binding_name_override": "#texture" + }, + { + "binding_name": "#world_texture_locationtype", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + } + }, + { + "play_or_create_panel@world_section.play_or_create_stack_bedrock": { + "ignored": "(not $is_pregame or $education_edition)", + "$button_text_max_size": [ "100%", 20 ] + } + }, + { + "upload_world_panel@world_section.upload_world_stack_bedrock": { + "ignored": "(not $is_pregame or $education_edition)", + "$button_text_max_size": [ "100%", 20 ] + } + }, + { + "play_or_host_panel@world_section.play_or_host_stack_edu": {} + }, + { + "spacer": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "server_settings_visibility_panel": { + "type": "stack_panel", + "bindings": [ + { + "binding_name": "#server_settings_visible", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { + "selector_group_label_0@settings_common.selector_group_label": { + "ignored": "($is_pregame)", + "text": "options.category.server" + } + }, + { + "server_settings_button@world_section.server_settings_button": { + "ignored": "($is_pregame)", + "$toggle_group_forced_index": "$server_forced_index" + } + }, + { + "server_spacer": { + "type": "panel", + "size": [ 0, 2 ] + } + } + ] + } + }, + { + "selector_group_label_1@settings_common.selector_group_label": { + "text": "$tts_section_header" + } + }, + { + "game_button@world_section.game_button": { + "ignored": "($nx_os)", + "$toggle_group_forced_index": "$game_forced_index" + } + }, + { + "classroom_button@settings_common.section_toggle_base": { + "ignored": "($nx_os or not $education_edition)", + "$toggle_view_binding_name": "classroom_button_toggle", + "$toggle_group_forced_index": "$classroom_forced_index", + "$glyph_texture": "textures/ui/bookshelf_flat_border", + "$glyph_color_texture": "textures/ui/bookshelf_flat", + "$glyph_size": [ 21, 14 ], + "$button_text": "options.category.classroom_settings", + "$toggle_property_bag": { + "#panel_title": "createWorldScreen.classroom.settings" + } + } + }, + { + "switch_game_button@world_section.game_button": { + "ignored": "(not $nx_os)", + "$toggle_group_forced_index": "$game_forced_index", + "$glyph_texture": "textures/ui/controller_glyph_switch", + "$glyph_color_texture": "textures/ui/controller_glyph_color_switch" + } + }, + { + "multiplayer_button@world_section.multiplayer_button": { + "visible": "(not $education_edition)", + "$toggle_group_forced_index": "$multiplayer_forced_index" + } + }, + { + "edu_cloud_button@world_section.edu_cloud_button": { + "ignored": "(not $education_edition or not $edu_save_to_cloud_on or not $edu_save_to_cloud_general_toggle_on or $is_multiplayer_client)", + "$toggle_group_forced_index": "$edu_cloud_level_forced_index" + } + }, + { + "debug_button@world_section.debug_button": { + "ignored": "$is_publish" + } + } + ] + }, + + "launch_world_button_stack_def": { + "type": "stack_panel", + "size": [ "100%", 35 ], + "orientation": "horizontal" + }, + + "play_or_create_stack_bedrock@world_section.launch_world_button_stack_def": { + "ignored": "(not $is_pregame or $education_edition)", + "controls": [ + { + "create_or_play_button@settings_common.action_button": { + "size": [ "fill", 35 ], + "$button_text": "menu.play", + "default_focus_precedence": 1, + "$pressed_button_name": "play_world_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "variables": [ + { + "requires": "(not $is_world_edit)", + "$button_text": "createWorldScreen.create", + "$pressed_button_name": "create_world_button" + }, + { + "requires": "($is_world_edit and $is_editor_mode_enabled)", + "$button_text": "menu.editor.play" + } + ] + } + }, + { + "play_on_realm_button@settings_common.action_button_dark_text": { + "size": [ "50%", 35 ], + "ignored": "(not $is_pregame or $education_edition or $is_editor_mode_enabled)", + "$button_text_max_size": [ "100%", 25 ], + "$button_text": "menu.playOnRealms", + "$pressed_button_name": "play_world_on_realm_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$default_button_texture": "textures/ui/realmsContent", + "$hover_button_texture": "textures/ui/realmsContentHover", + "$pressed_button_texture": "textures/ui/realmsContentPressed", + "variables": [ + { + "requires": "(not $is_world_edit)", + "$button_text": "createWorldScreen.createOnRealms", + "$pressed_button_name": "create_world_on_realm_button" + } + ], + "bindings": [ + { + "binding_name": "#create_on_realm_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "upload_world_stack_bedrock@world_section.launch_world_button_stack_def": { + "ignored": "(not $is_pregame or $education_edition)", + "controls": [ + { + "upload_world_button@settings_common.action_button": { + "size": [ "fill", 35 ], + "$button_text": "createWorldScreen.upload", + "$pressed_button_name": "upload_world_button" + } + } + ], + "bindings": [ + { + "binding_name": "#upload_world_visible", + "binding_name_override": "#visible" + } + ] + }, + + "edu_play_host_button@settings_common.action_button": { + "size": [ "fill", 35 ], + "$pressed_button_name": "play_world_edu_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "property_bag": { + "#should_host": "$should_host" + }, + "variables": { + "requires": "(not $is_world_edit)", + "$pressed_button_name": "create_world_edu_button" + } + }, + + "play_or_host_stack_edu@world_section.launch_world_button_stack_def": { + "ignored": "(not $is_pregame or not $education_edition)", + "controls": [ + { + "edu_play_button@world_section.edu_play_host_button": { + "$button_text": "menu.play", + "default_focus_precedence": 1, + "$should_host": false + } + }, + { + "edu_host_button@world_section.edu_play_host_button": { + "$button_text": "menu.host", + "default_focus_precedence": 2, + "$should_host": true + } + } + ] + }, + + "addons_selector_panel": { + "type": "stack_panel", + "$tts_section_header": "options.category.addons", + "controls": [ + { + "spacer": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "selector_group_label_2@settings_common.selector_group_label": { + "text": "$tts_section_header" + } + }, + { + "level_texture_pack_button@world_section.level_texture_pack_button": { + "$toggle_group_forced_index": "$level_texture_pack_toggle_index" + } + }, + { + "addon_button@world_section.addon_button": { + "$toggle_group_forced_index": "$addon_toggle_index" + } + } + ] + }, + + // SERVER button & section + "server_settings_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "server_settings_button_toggle", + "$glyph_texture": "", + "$glyph_color_texture": "", + "$glyph_size": [ 21, 14 ], + "$button_text": "#title_text", + "$button_text_binding_type": "global", + "$button_text_binding_condition": "visible", + + "$custom_toggle_binding_type": "global", + "$custom_toggle_state_binding_name": "#title_text", + "$custom_toggle_state_binding_name_override": "#panel_title", + + "$glyph_color_bindings": [ + { + "binding_name": "#server_icon", + "binding_name_override": "#texture" + }, + { + "binding_name": "#server_icon_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "view", + "source_property_name": "(not ((#texture = '') or (#texture = 'loading')))", + "target_property_name": "#visible" + } + ], + + "$glyph_bindings": [ + { + "binding_name": "#server_outline_icon", + "binding_name_override": "#texture" + }, + { + "binding_name": "#server_icon_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "view", + "source_property_name": "(not ((#texture = '') or (#texture = 'loading')))", + "target_property_name": "#visible" + } + ], + + "$glyph_progress_bindings": [ + { + "binding_name": "(#server_icon = 'loading')", + "binding_name_override": "#visible" + } + ] + }, + + "server_section@server_form.custom_form_scrolling_content": { + "ignored": "($is_pregame)", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "server_settings_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + // GAME button & section + + "game_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "game_button_toggle", + "$glyph_texture": "textures/ui/controller_glyph", + "$glyph_color_texture": "textures/ui/controller_glyph_color", + "$glyph_size": [ 21, 14 ], + "$button_text": "options.category.game", + "$toggle_property_bag": { + "#panel_title": "createWorldScreen.game.settings" + } + }, + + "export_world_button@settings_common.action_button": { + // std pocket should not have export until bedrock wants it + // export is disabled in game + // Some platforms such as fireTV do not support file picking + // EDU supports file picking on all supported platforms except ios which is pocket + "ignored": "(($pocket_edition or $export_disabled or not $file_picking_supported) and not $education_edition)", + "size": [ "50%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_text": "gui.exportWorldLong", + "$pressed_button_name": "export_world_button", + "$focus_id": "export_world_button" + }, + + "delete_world_button@settings_common.action_button": { + "size": [ "fill", 30 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$button_text": "createWorldScreen.deleteWorld", + "$pressed_button_name": "delete_world_button", + "$focus_id": "delete_world_button" + }, + + "export_template_button@settings_common.action_button": { + "size": [ "100%", 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_text": "gui.exportTemplate", + "$pressed_button_name": "export_template_button" + }, + + "copy_world_button@settings_common.action_button": { + "size": [ "100%", 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_text": "gui.copyWorld", + "$pressed_button_name": "copy_world_button" + }, + + "edit_world_manipulation_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "export@world_section.export_world_button": {} + }, + { + "padding": { + "type": "panel", + "size": [ 1, 0 ], + "ignored": "($pocket_edition or $education_ios or not $file_picking_supported)" + } + }, + { + "delete@world_section.delete_world_button": {} + } + ] + }, + + "game_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$education_ios": "($education_edition and $is_ios)", + "$world_name_label|default": "selectWorld.enterName", + "variables": [ + { + "requires": "$is_editor_mode_enabled", + "$world_name_label": "selectWorld.editor.enterName" + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "game_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "new_edit_world_opt_in_panel": { + "type": "stack_panel", + "ignored": "$education_edition", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "bindings": [ + { + "binding_name": "#show_new_edit_world_opt_in", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "panel_title@settings_common.option_group_label": { + "$text": "options.newUiEditWorld.title" + } + }, + { + "panel_text@settings_common.option_group_label": { + "$text": "options.newUiEditWorld.info" + } + }, + { + "opt_in_button@settings_common.action_button": { + "size": [ "100%", 30 ], + "$button_text": "options.newUiEditWorld.initiate", + "$pressed_button_name": "switch_to_new_edit_world", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + } + }, + { + "new_edit_world_opt_in_divider": { + "type": "panel", + "size": [ "100%", "100%c + 14px" ], + "bindings": [ + { + "binding_name": "#show_new_edit_world_opt_in", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "section_divider": { + "type": "image", + "size": [ "100% - 30px", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + } + ] + } + }, + { + "unlock_template_options_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "bindings": [ + { + "binding_name": "#is_world_template_locked", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "option_info_label@settings_common.option_info_label": { + "$container_text_binding_name": "#world_template_options_lock_warning_text", + "$show_option_label": false + } + }, + { + "unlock_template_options_button@settings_common.action_button": { + "size": [ "100%", 30 ], + "$button_text": "options.unlockTemplateWorldOptions.initiate", + "$pressed_button_name": "unlock_templated_world_options", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#player_has_world_template_option_unlock_permissions", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + }, + { + "option_info_label@settings_common.option_info_label": { + "$container_text_binding_name": "#achievement_warning_text", + "$show_option_label": false, + "bindings": [ + { + "binding_name": "#achievment_warning_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "hardcore_info_label@settings_common.option_info_label": { + "$container_text_binding_name": "#hardcore_warning_text", + "$show_option_label": false, + "bindings": [ + { + "binding_name": "#hardcore_warning_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "world_settings_label@settings_common.option_group_label": { + "$text": "createWorldScreen.worldSettings", + "ignored": "(not $education_edition)", + "$font_type": "MinecraftTen", + "$font_scale_factor": 1.2 + } + }, + { + // for world create + "option_text_edit_0@settings_common.option_text_edit": { + "ignored": "(not $is_world_create)", + "$option_label": "$world_name_label", + "$option_place_holder_text": "createWorldScreen.defaultName", + "$option_binding_name": "#world_name", + "$option_enabled_binding_name": "#world_name_enabled", + "$text_box_name": "world_name_text_box", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$allow_data_binding": false + } + }, + + // Project tag header when in Editor + { + "project_section_divider_1": { + "ignored": "(not $is_editor_mode_enabled)", + "type": "image", + "size": [ "100%", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + }, + { + "project_header_label@settings_common.option_group_label": { + "ignored": "(not $is_editor_mode_enabled)", + "$text": "createWorldScreen.header.general.project" + } + }, + { + "project_section_divider_2": { + "ignored": "(not $is_editor_mode_enabled)", + "type": "image", + "size": [ "100%", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + }, + { + "project_spacer": { + "ignored": "(not $is_editor_mode_enabled)", + "type": "panel", + "size": [ 0, 6 ] + } + }, + + { + // for world edit/show (databound) + // edit is 'enabled', show is 'not enabled' + "option_text_edit_1@settings_common.option_text_edit": { + "ignored": "$is_world_create", + "$option_label": "$world_name_label", + "$option_binding_name": "#world_name", + "$option_enabled_binding_name": "#world_name_enabled", + "$text_box_name": "world_name_text_box", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$tts_override_control_value": " " + } + }, + + // Export Settings tag header when in Editor + { + "export_settings_section_divider_1": { + "ignored": "(not $is_editor_mode_enabled)", + "type": "image", + "size": [ "100%", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + }, + { + "export_settings_header_label@settings_common.option_group_label": { + "ignored": "(not $is_editor_mode_enabled)", + "$text": "createWorldScreen.header.general.exportSettings" + } + }, + { + "export_settings_header_description@settings_common.option_group_label": { + "ignored": "(not $is_editor_mode_enabled)", + "$text": "createWorldScreen.header.general.exportSettings.description" + } + }, + { + "export_settings_section_divider_2": { + "ignored": "(not $is_editor_mode_enabled)", + "type": "image", + "size": [ "100%", 1 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "texture": "textures/ui/list_item_divider_line_light" + } + }, + { + "export_settings_spacer": { + "ignored": "(not $is_editor_mode_enabled)", + "type": "panel", + "size": [ 0, 6 ] + } + }, + + { + "option_dropdown_0@settings_common.option_dropdown_no_scroll": { + "$option_label": "createWorldScreen.gameMode.default", + "$dropdown_content": "world_section.world_game_mode_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "world_game_mode_dropdown", + "$options_dropdown_toggle_label_binding": "#world_game_mode_dropdown_toggle_label", + "$option_enabled_binding_name": "#world_game_mode_dropdown_enabled", + "$selection_highlight_offset": [ -2, 1 ], + "$selection_highlight_size": [ "100%", "100% + 1px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_dropdown_1@settings_common.option_dropdown": { + "ignored": "($is_pregame or $is_editor_mode_enabled)", + "$option_label": "createWorldScreen.gameMode.personal", + "$dropdown_content": "world_section.player_game_mode_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "player_game_mode_dropdown", + "$options_dropdown_toggle_label_binding": "#player_game_mode_dropdown_toggle_label", + "$option_enabled_binding_name": "#player_game_mode_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "260%" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#player_game_mode_dropdown_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "is_hardcore_toggle@settings_common.option_toggle": { + "$option_label": "createWorldScreen.isHardcore", + "$option_binding_name": "#is_hardcore", + "$option_enabled_binding_name": "#is_hardcore_enabled", + "$toggle_name": "is_hardcore", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_dropdown_2@settings_common.option_dropdown": { + "$option_label": "options.difficulty", + "$dropdown_content": "world_section.world_difficulty_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "world_difficulty_dropdown", + "$options_dropdown_toggle_label_binding": "#world_difficulty_dropdown_toggle_label", + "$option_enabled_binding_name": "#world_difficulty_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "260%" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "world_preferences_label@settings_common.option_group_label": { + "$text": "createWorldScreen.worldPreferences", + "variables": [ + { + "requires": "$education_edition", + "$font_type": "MinecraftTen", + "$font_scale_factor": 1.2 + } + ] + } + }, + { + "starting_map_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "$option_label": "createWorldScreen.startWithMap", + "$option_binding_name": "#start_with_map", + "$option_enabled_binding_name": "#start_with_map_enabled", + "$toggle_name": "start_with_map", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "bonus_chest_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "enabled": "(not $trial)", + "$option_label": "createWorldScreen.bonusChest", + "$option_binding_name": "#bonus_chest", + "$option_enabled_binding_name": "#bonus_chest_enabled", + "$toggle_name": "bonus_chest", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "option_dropdown_permissions@settings_common.option_dropdown": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "$option_label": "permissions.title.settings", + "$dropdown_content": "permissions.permission_level_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "player_permissions_dropdown", + "$button_type_panel": "permissions.permission_level_dropdown_state_content", + "$options_dropdown_toggle_label_binding": "#player_permissions_dropdown_toggle_label", + "$option_enabled_binding_name": "#player_permissions_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", "385%" ], + "$is_world_settings": true, + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#show_permissions_dropdown", + "binding_name_override": "#visible" + } + ], + "variables": [ + { + "requires": "$education_edition", + "$option_label": "permissions.title.settings.edu" + } + ] + } + }, + { + "option_dropdown_3@settings_common.option_dropdown_no_scroll": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "$option_label": "createWorldScreen.worldType", + "$dropdown_content": "world_section.world_type_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "world_type_dropdown", + "$options_dropdown_toggle_label_binding": "#world_type_dropdown_toggle_label", + "$option_enabled_binding_name": "#world_type_dropdown_enabled", + "$selection_highlight_offset": [ -2, 1 ], + "$selection_highlight_size": [ "100%", "100% + 1px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + // No button for edu since edu doesn't use xforge + "level_seed_selector_edu@settings_common.option_text_edit": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "ignored": "(not $education_edition)", + "$option_label": "createWorldScreen.levelSeed", + "$option_binding_name": "#world_seed", + "$option_enabled_binding_name": "#world_seed_enabled", + "$text_box_name": "world_seed_text_box" + } + }, + { + "level_seed_selector@settings_common.option_text_edit_with_button": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "ignored": "($education_edition or not $is_seeds_enabled)", + "$option_label": "createWorldScreen.levelSeed", + "$option_binding_name": "#world_seed", + "$option_enabled_binding_name": "#world_seed_enabled", + "$text_box_name": "world_seed_text_box", + "$pressed_button_name": "choose_ugc_level_seed", + "$button_tts_header": "accessibility.settings.chooseSeed" + } + }, + { + "level_seed_selector_trial@world_section.option_text_edit_mock_with_button": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "ignored": "($education_edition or $is_seeds_enabled)", + "$option_label": "createWorldScreen.levelSeed", + "$option_binding_name": "#world_seed", + "$option_enabled_binding_name": "#world_seed_enabled", + "$pressed_button_name": "button.redirect_to_upsell" + } + }, + { + "server_sim_distance_slider@settings_common.option_slider": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "ignored": "($is_holographic)", + "$option_label": "#server_sim_distance_slider_label", + "$slider_name": "server_sim_distance", + "$slider_value_binding_name": "#server_sim_distance", + "$option_enabled_binding_name": "#server_sim_distance_enabled", + "$slider_tts_text_value": "#server_sim_distance_text_value", + "$slider_steps_binding_name": "#server_sim_distance_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "world_options_label@settings_common.option_group_label": { + "$text": "createWorldScreen.worldOptions", + "variables": [ + { + "requires": "$education_edition", + "$font_type": "MinecraftTen", + "$font_scale_factor": 1.2 + } + ] + } + }, + { + "pvp_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.pvp", + "$option_binding_name": "#pvp", + "$option_enabled_binding_name": "#pvp_enabled", + "$toggle_name": "pvp", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "show_coordinates_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.showCoordinates", + "$option_binding_name": "#show_coordinates", + "$option_enabled_binding_name": "#show_coordinates_enabled", + "$toggle_name": "show_coordinates", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "show_days_played_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.showDaysPlayed", + "$option_binding_name": "#show_days_played", + "$option_enabled_binding_name": "#show_days_played_enabled", + "$toggle_name": "show_days_played", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "fire_spreads_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.fireSpreads", + "$option_binding_name": "#fire_spreads", + "$option_enabled_binding_name": "#fire_spreads_enabled", + "$toggle_name": "fire_spreads", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "recipes_unlock_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.recipesUnlock", + "$option_binding_name": "#recipes_unlock", + "$option_enabled_binding_name": "#recipes_unlock_enabled", + "$toggle_name": "recipes_unlock", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "tnt_explodes_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.tntexplodes", + "$option_binding_name": "#tnt_explodes", + "$option_enabled_binding_name": "#tnt_explodes_enabled", + "$toggle_name": "tnt_explodes", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "respawn_blocks_explode_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "ignored": "$education_edition", + "$option_label": "createWorldScreen.respawnblocksexplode", + "$option_binding_name": "#respawn_blocks_explode", + "$option_enabled_binding_name": "#respawn_blocks_explode_enabled", + "$toggle_name": "respawn_blocks_explode", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "mob_loot_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.mobLoot", + "$option_binding_name": "#mob_loot", + "$option_enabled_binding_name": "#mob_loot_enabled", + "$toggle_name": "mob_loot", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "natural_regeneration_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.naturalregeneration", + "$option_binding_name": "#natural_regeneration", + "$option_enabled_binding_name": "#natural_regeneration_enabled", + "$toggle_name": "natural_regeneration", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "tile_drops_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.tileDrops", + "$option_binding_name": "#tile_drops", + "$option_enabled_binding_name": "#tile_drops_enabled", + "$toggle_name": "tile_drops", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "player_sleep_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.playerSleep", + "$option_binding_name": "#player_sleep", + "$option_enabled_binding_name": "#player_sleep_enabled", + "$toggle_name": "player_sleep", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "player_sleep_percentage_slider@settings_common.option_slider": { + "$tts_section_header": "createWorldScreen.worldPreferences", + "$option_label": "#player_sleep_percentage_slider_label", + "$slider_name": "player_sleep_percentage", + "$has_option_description": true, + "$option_description": "createWorldScreen.playerSleepPercentageDescription", + "$slider_value_binding_name": "#player_sleep_percentage", + "$option_enabled_binding_name": "#player_sleep_percentage_enabled", + "$slider_tts_text_value": "#player_sleep_percentage_text_value", + "$slider_steps_binding_name": "#player_sleep_percentage_steps", + "$label_bindings": [ + { + "binding_name": "$option_label" + } + ] + } + }, + { + "immediate_respawn_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$option_label": "createWorldScreen.immediaterespawn", + "$option_binding_name": "#immediaterespawn", + "$option_enabled_binding_name": "#immediaterespawn_enabled", + "$toggle_name": "doimmediaterespawn", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "respawn_radius@settings_common.option_text_edit": { + "$option_label": "createWorldScreen.respawnRadius", + "$option_binding_name": "#respawn_radius", + "$option_enabled_binding_name": "#respawn_radius_enabled", + "$text_box_name": "respawn_radius_text_box", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$max_text_edit_length": 8, + "$text_edit_box_text_type": "NumberChars" + } + }, + { + "experimental_toggles_label@settings_common.option_group_label": { + "$text": "createWorldScreen.experimentalgameplay", + // Ignore education toggle in education since education doesn't allow experiments presently + "ignored": "($is_publish and $education_edition)" + } + }, + { + "experimental_toggles_label_info@settings_common.option_group_label": { + "$text": "createWorldScreen.experimentalgameplayinfo", + // Ignore education toggle in education since education doesn't allow experiments presently + "ignored": "($is_publish and $education_edition)" + } + }, + { + "experimental_toggles": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + // Ignore education toggle in education since education doesn't allow experiments presently + "ignored": "($is_publish and $education_edition)", + "factory": { + "name": "experimental_toggle_factory", + "control_name": "world_section.experimental_toggle" + }, + + "collection_name": "experimental_toggles", + "bindings": [ + { + "binding_name": "#experimental_toggle_count", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "world_cheats_label@settings_common.option_group_label": { + "$text": "createWorldScreen.cheatSettings", + "variables": [ + { + "requires": "$education_edition", + "$font_type": "MinecraftTen", + "$font_scale_factor": 1.2 + } + ] + } + }, + { + "allow_cheats_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "selectWorld.cheats", + "$option_binding_name": "#allow_cheats", + "$option_enabled_binding_name": "#allow_cheats_enabled", + "$toggle_name": "allow_cheats", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "education_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + // Ignore education toggle in education since education is always on in education + "ignored": "$education_edition", + "$option_label": "createWorldScreen.educationtoggle", + "$option_binding_name": "#education_toggle", + "$option_enabled_binding_name": "#education_toggle_enabled", + "$toggle_name": "education_toggle", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "always_day_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.alwaysDay", + "$option_binding_name": "#always_day", + "$option_enabled_binding_name": "#always_day_enabled", + "$toggle_name": "always_day", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "daylight_cycle_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.daylightcycle", + "$option_binding_name": "#daylight_cycle", + "$option_enabled_binding_name": "#daylight_cycle_enabled", + "$toggle_name": "daylight_cycle", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "keep_inventory_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.keepInventory", + "$option_binding_name": "#keep_inventory", + "$option_enabled_binding_name": "#keep_inventory_enabled", + "$toggle_name": "keep_inventory", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "mob_spawn_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.mobSpawn", + "$option_binding_name": "#mob_spawn", + "$option_enabled_binding_name": "#mob_spawn_enabled", + "$toggle_name": "mob_spawn", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "mob_griefing_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.mobgriefing", + "$option_binding_name": "#mob_griefing", + "$option_enabled_binding_name": "#mob_griefing_enabled", + "$toggle_name": "mob_griefing", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "entities_drop_loot_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.entitiesdroploot", + "$option_binding_name": "#entities_drop_loot", + "$option_enabled_binding_name": "#entities_drop_loot_enabled", + "$toggle_name": "entities_drop_loot", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "weather_cycle_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.weathercycle", + "$option_binding_name": "#weather_cycle", + "$option_enabled_binding_name": "#weather_cycle_enabled", + "$toggle_name": "weather_cycle", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "variables": [ + { + "requires": "$desktop_screen", + "$one_line_layout": true + } + ], + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "command_blocks_enabled_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.cheatSettings", + "$option_label": "createWorldScreen.commandblocksenabled", + "$option_binding_name": "#command_blocks_enabled", + "$option_enabled_binding_name": "#command_blocks_enabled_on", + "$toggle_name": "command_blocks_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$toggle_binding_condition": "always_when_visible" + } + }, + { + "random_tick_speed@settings_common.option_text_edit_with_text_button": { + "$option_label": "createWorldScreen.randomtickspeed", + "$option_binding_name": "#random_tick_speed", + "$option_enabled_binding_name": "#random_tick_speed_enabled", + "$max_text_edit_length": 4, + "$text_edit_box_text_type": "NumberChars", + "$option_text_edit_control_size": [ "50%", "100%" ], + "$text_box_name": "random_tick_speed_text_box", + "$button_text": "createWorldScreen.randomtickspeed.reset", + "$pressed_button_name": "reset_random_tick_speed" + } + }, + { + "world_management_label@settings_common.option_group_label": { + "ignored": "(not $is_pregame or not $is_world_edit or not $education_edition)", + "$text": "createWorldScreen.worldManagement", + "$font_type": "MinecraftTen", + "$font_scale_factor": 1.2 + } + }, + { + "convert_to_infinite_panel": { + "ignored": "(not $is_pregame or not $is_world_edit)", + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "bindings": [ + { + "binding_name": "#show_convert_to_infinite_button", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "convert_to_infinite_button@settings_common.action_button": { + "$pressed_button_name": "convert_to_infinite_button", + "$button_text": "createWorldScreen.action.editLocal", + "offset": [ 0, -3 ] + } + } + ] + } + }, + { + "delete_button@settings_common.action_button": { + "ignored": "(not $is_world_edit or $is_mp_client or not $trial or not $is_pregame)", + "$button_text": "gui.deleteWorldLong", + "$pressed_button_name": "delete_world_button" + } + }, + { + "button_panel@common.empty_panel": { + "size": [ "100%", "100%c" ], + "ignored": "(not $is_world_edit or $is_mp_client or $trial or not $is_pregame)", + "$world_manipulation_controls|default": "world_section.edit_world_manipulation_buttons", + "variables": [ + { + "requires": "$is_editor_mode_enabled", + "$world_manipulation_controls": "world_section.editor_edit_world_manipulation_buttons" + } + ], + "controls": [ + { "manipulation_controls@$world_manipulation_controls": {} } + ] + } + }, + { + "export_template_panel": { + "ignored": "(not $is_world_edit or $is_mp_client or $trial or not $is_pregame or $export_template_disabled or $is_editor_mode_enabled)", + "type": "stack_panel", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "template_version@settings_common.option_text_edit": { + "ignored": "(not $education_edition)", + "$option_label": "gui.templateMinVersion", + "$text_box_name": "template_version_text_box", + "$option_binding_name": "#minimum_template_version", + "$option_enabled_binding_name": "#minimum_template_enabled", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$text_edit_box_text_type": "ExtendedASCII" + } + }, + { + "template_buttons": { + "ignored": "(not $education_edition or not $file_picking_supported)", + "type": "stack_panel", + "size": [ "100%", 32 ], + "orientation": "horizontal", + "controls": [ + { + "template_image_picker_button@settings_common.action_button": { + "size": [ "50%", 30 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$button_text": "gui.templateIconPickerButton", + "$pressed_button_name": "template_image_picker_button" + } + }, + { + "padding": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "template_localization_picker_button@settings_common.action_button": { + "size": [ "fill", 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_text": "gui.templateLocPickerButton", + "$pressed_button_name": "template_localization_picker_button", + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + } + }, + { + "export_template@world_section.export_template_button": {} + } + ] + } + }, + { + "clear_player_data_panel": { + "ignored": "(not $is_world_edit or $is_mp_client or $trial or not $is_pregame or $export_template_disabled or $education_edition or $is_publish)", + "type": "stack_panel", + + "controls": [ + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "clear_player_data_button@settings_common.action_button": { + "size": [ "100%", 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_text": "createWorldScreen.clearPlayerData.button", + "$pressed_button_name": "clear_player_data" + } + } + ] + } + }, + { + "copy_world_panel": { + "ignored": "(not $is_world_edit or $is_mp_client or $trial or not $is_pregame or $export_disabled or $is_editor_mode_enabled)", + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "copy_world@world_section.copy_world_button": {} + } + ] + } + }, + { + "upload_download_slot_panel": { + "ignored": "(not $is_realm_slot)", + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "upload_download_slot_button@settings_common.action_button": { + "size": [ "100%", 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_text": "#lot_upload_or_download", + "$pressed_button_name": "upload_download_slot_button", + "bindings": [ + { + "binding_name": "#slot_upload_or_download" + } + ] + } + } + ] + } + }, + { + "replace_slot_panel": { + "ignored": "(not $is_realm_slot)", + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "replace_slot_button@settings_common.action_button": { + "size": [ "100%", 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_text": "realmsSettingsScreen.uploadWorldButton", + "$pressed_button_name": "replace_slot_button", + "bindings": [ + { + "binding_name": "(not #slot_new_world)", + "binding_name_override": "#enabled" + } + ] + } + } + ] + } + } + ] + }, + + //TEXTURE PACKS + + "level_texture_pack_button@resource_packs.resource_packs_section_toggle_base": { + "$toggle_view_binding_name": "level_texture_pack_button_toggle", + "$cycling_icon_path": "#cycling_icon_path_level", + "$cycling_icon_zip": "#cycling_icon_zip_level", + "$cycling_icon_file_system": "#cycling_icon_file_system_level", + "$button_text": "menu.resourcepacks", + "$toggle_property_bag": { + "#panel_title": "menu.resourcepacks" + } + }, + + //resource_packs.selected_stack_panel + "level_texture_pack_section@resource_packs.selected_stack_panel": { + "$selected_pack_items": "#selected_pack_items_level", + "$available_pack_items": "#available_pack_items_level", + "$realms_pack_items": "#realms_pack_items_level", + "$unowned_pack_items": "#unowned_pack_items_level", + "$default_item_texture": "#default_item_texture_level", + "$default_item_file_system": "#default_item_file_system_level", + "$default_item_zip": "#default_item_zip_level", + "$default_item_title": "menu.globalpacks", + "$default_item_description": "resourcePack.description.default.level", + "$no_packs_text": "resourcePack.available.none.text", + "$selected_grid_dimensions": "#selected_grid_dimensions_level", + "$available_grid_dimensions": "#available_grid_dimensions_level", + "$realms_grid_dimensions": "#realms_grid_dimensions_level", + "$unowned_grid_dimensions": "#unowned_grid_dimensions_level", + "$unowned_visible": "#unowned_visible_level", + "$button.selected_pack": "button.selected_pack_level", + "$button.deselected_pack": "button.deselected_pack_level", + "$button.available_pack": "button.available_pack_level", + "$button.realms_pack": "button.realms_pack_level", + "$button.unowned_pack": "button.unowned_pack_level", + "$button.move_left": "button.move_left_level", + "$button.sort_up": "button.sort_up_level", + "$button.sort_down": "button.sort_down_level", + "$button.expand_selected": "button.expand_selected_level", + "$button.expand_available": "button.expand_available_level", + "$button.expand_realms": "button.expand_realms_level", + "$button.expand_unowned": "button.expand_unowned_level", + "$button.store": "button.store_level", + "$button.read_toggle": "button.read_toggle_level", + "$button.report_errors": "button.report_errors_level", + "$bottom_description_text": "resourcePack.description.bottom.level", + "$selected_label_text": "resourcePack.selected.title.packs", + "$available_label_text": "resourcePack.available.title.packs", + "$unowned_label_text": "resourcePack.suggestedContent.title", + "$platform_locked": "#platform_locked_level", + "$view_more_unowned_content_button_text": "resourcePack.suggestedContent.button.viewMore", + "$read_more_label": "read_more_label_level", + "$read_less_label": "read_less_label_level", + "$total_size_binding": "#total_size_binding_level", + "$in_game_error_text": "resourcePack.error.ingame.packs", + "$invalid_pack_items": "#invalid_pack_items_level", + "$invalid_grid_dimensions": "#invalid_grid_dimensions_level", + "$button.invalid_pack": "button.invalid_pack_level", + "$button.pack_warning": "button.pack_warning_level", + "$invalid_label_text": "resourcePack.invalid.title.packs", + "$view_in_store": "resourcePack.description.store", + "$errors_text": "resourcePack.errors", + "$warnings_text": "resourcePack.warnings", + "$expired_text": "resourcePack.realmsPlus.expired", + "$top_label_box": true, + "$show_checkbox": true, + "$button.resource_pack_options_exit": "button.resource_pack_options_exit_level", + "$button.pack_settings": "button.pack_settings_level", + "$button.add": "resourcePack.available.add", + "$button.remove": "resourcePack.selected.remove", + "$options_slider_name": "content_tier_slider_level", + "$display_suggested_content_offers": true, + "$suggested_content_offers_collection": "#suggested_offers_collection_level", + "$suggested_content_offers_loading_binding": "#suggested_offers_loading_level", + "$button.more_suggested_content_offers": "button.more_suggested_content_offers_level", + "$button.select_offer": "button.select_offer_level", + "$suggested_content_offers_label_text": "#suggested_offers_title_level", + "$no_available_packs_visibility_binding": "#no_available_packs_visibility_level", + "$no_realms_packs_visibility_binding": "#no_realms_packs_visibility_level", + "$no_unowned_packs_visibility_binding": "#no_unowned_packs_visibility_level", + "$view_more_unowned_content_button_visibility_binding": "#suggested_content_visible_level", + "$addon_stacking_warning_visibility_binding": "#addon_stacking_warning_visible_level", + "$force_pack_download_binding_type": "global", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "level_texture_pack_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + //ADDONS + "addon_button@resource_packs.resource_packs_section_toggle_base": { + "$toggle_view_binding_name": "addon_button_toggle", + "$cycling_icon_path": "#cycling_icon_path_addon", + "$cycling_icon_zip": "#cycling_icon_zip_addon", + "$cycling_icon_file_system": "#cycling_icon_file_system_addon", + "$button_text": "menu.behaviors", + "$toggle_property_bag": { + "#panel_title": "menu.behaviors" + } + }, + + "addon_section@resource_packs.selected_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$selected_pack_items": "#selected_pack_items_addon", + "$available_pack_items": "#available_pack_items_addon", + "$realms_pack_items": "#realms_pack_items_addon", + "$unowned_pack_items": "#unowned_pack_items_addon", + "$selected_grid_dimensions": "#selected_grid_dimensions_addon", + "$available_grid_dimensions": "#available_grid_dimensions_addon", + "$realms_grid_dimensions": "#realms_grid_dimensions_addon", + "$unowned_grid_dimensions": "#unowned_grid_dimensions_addon", + "$unowned_visible": "#unowned_visible_addon", + "$default_item_texture": "#default_item_texture_addon", + "$default_item_file_system": "#default_item_file_system_addon", + "$default_item_zip": "#default_item_zip_addon", + "$default_item_title": "gui.default", + "$default_item_description": "resourcePack.description.default.behaviorPacks", + "$no_packs_text": "resourcePack.available.none.behavior", + "$button.selected_pack": "button.selected_pack_addon", + "$button.deselected_pack": "button.deselected_pack_addon", + "$button.available_pack": "button.available_pack_addon", + "$button.realms_pack": "button.realms_pack_addon", + "$button.unowned_pack": "button.unowned_pack_addon", + "$button.move_left": "button.move_left_addon", + "$button.sort_up": "button.sort_up_addon", + "$button.sort_down": "button.sort_down_addon", + "$button.expand_selected": "button.expand_selected_addon", + "$button.expand_available": "button.expand_available_addon", + "$button.expand_realms": "button.expand_realms_addon", + "$button.expand_unowned": "button.expand_unowned_addon", + "$button.store": "button.store_addon", + "$button.read_toggle": "button.read_toggle_addon", + "$button.report_errors": "button.report_errors_addon", + "$bottom_description_text": "resourcePack.description.bottom.behaviorPacks", + "$selected_label_text": "resourcePack.selected.title.packs", + "$available_label_text": "resourcePack.available.title.packs", + "$unowned_label_text": "resourcePack.suggestedContent.title", + "$platform_locked": "#platform_locked_addon", + "$view_more_unowned_content_button_text": "resourcePack.suggestedContent.button.viewMore", + "$read_more_label": "read_more_label_addon", + "$read_less_label": "read_less_label_addon", + "$total_size_binding": "#total_size_binding_addon", + "$in_game_error_text": "resourcePack.error.ingame.behaviorPacks", + "$invalid_pack_items": "#invalid_pack_items_addon", + "$invalid_grid_dimensions": "#invalid_grid_dimensions_addon", + "$button.invalid_pack": "button.invalid_pack_addon", + "$button.pack_warning": "button.pack_warning_addon", + "$invalid_label_text": "resourcePack.invalid.title.packs", + "$view_in_store": "resourcePack.description.store", + "$errors_text": "resourcePack.errors", + "$warnings_text": "resourcePack.warnings", + "$expired_text": "resourcePack.realmsPlus.expired", + "$top_label_box": true, + "$show_checkbox": false, + "$button.resource_pack_options_exit": "button.resource_pack_options_exit_addon", + "$button.pack_settings": "button.pack_settings_addon", + "$button.add": "resourcePack.available.add", + "$button.remove": "resourcePack.selected.remove", + "$options_slider_name": "content_tier_slider_addon", + "$display_suggested_content_offers": false, + "$suggested_content_offers_collection": "#suggested_offers_collection_addon", + "$suggested_content_offers_loading_binding": "#suggested_offers_loading_addon", + "$button.more_suggested_content_offers": "button.more_suggested_content_offers_addon", + "$button.select_offer": "button.select_offer_addon", + "$suggested_content_offers_label_text": "#suggested_offers_title_addon", + "$no_available_packs_visibility_binding": "#no_available_packs_visibility_addon", + "$no_realms_packs_visibility_binding": "#no_realms_packs_visibility_addon", + "$no_unowned_packs_visibility_binding": "#no_unowned_packs_visibility_addon", + "$view_more_unowned_content_button_visibility_binding": "#suggested_content_visible_addon", + "$addon_stacking_warning_visibility_binding": "#addon_stacking_warning_visible_addon", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "addon_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "world_game_mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "world_survival_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_game_mode_radio_survival", + "$radio_label_text": "createWorldScreen.gameMode.survival" + } + }, + { + "world_creative_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_game_mode_radio_creative", + "$radio_label_text": "createWorldScreen.gameMode.creative" + } + }, + { + "world_adventure_mode_toggle@settings_common.radio_with_label": { + "ignored": "($is_world_create or $trial)", + "$toggle_state_binding_name": "#world_game_mode_radio_adventure", + "$radio_label_text": "createWorldScreen.gameMode.adventure" + } + } /*,//Uncomment when Spectator, and Hardcore game modes are implemented + { + "world_spectator_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_game_mode_radio_spectator", + "$radio_label_text": "createWorldScreen.gameMode.spectator" + } + }, + { + "world_hardcore_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_game_mode_radio_hardcore", + "$radio_label_text": "createWorldScreen.gameMode.hardcore" + } + }*/ + ] + }, + + "xbl_broadcast_dropdown_content@settings_common.option_radio_dropdown_group": { + "size": [ "100%", "100%c" ], + "$radio_buttons": [ + { + "invite_only_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#xbl_broadcast_invite_only", + "$radio_label_text": "options.xboxliveBroadcast.inviteOnly" + } + }, + { + "friends_only_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#xbl_broadcast_friends_only", + "$radio_label_text": "options.xboxliveBroadcast.friendsOnly" + } + }, + { + "friends_of_friends_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#xbl_broadcast_friends_of_friends", + "$radio_label_text": "options.xboxliveBroadcast.friendsOfFriends" + } + } + ] + }, + + "platform_broadcast_dropdown_content@settings_common.option_radio_dropdown_group": { + "size": [ "100%", "100%c" ], + "$radio_buttons": [ + { + "invite_only_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#platform_broadcast_invite_only", + "$radio_label_text": "options.xboxliveBroadcast.inviteOnly", + "bindings": [ + { + "binding_name": "#platform_toggle_visible_invite_only", + "binding_name_override": "#visible" + } + ] + } + }, + { + "friends_only_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#platform_broadcast_friends_only", + "$radio_label_text": "options.xboxliveBroadcast.friendsOnly" + } + }, + { + "friends_of_friends_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#platform_broadcast_friends_of_friends", + "$radio_label_text": "options.xboxliveBroadcast.friendsOfFriends", + "bindings": [ + { + "binding_name": "#platform_toggle_visible_friends_of_friends", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "player_game_mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "player_default_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#player_game_mode_radio_default", + "$radio_label_text": "createWorldScreen.gameMode.serverDefault" + } + }, + { + "player_survival_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#player_game_mode_radio_survival", + "$radio_label_text": "createWorldScreen.gameMode.survival" + } + }, + { + "player_creative_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#player_game_mode_radio_creative", + "$radio_label_text": "createWorldScreen.gameMode.creative" + } + }, + { + "player_adventure_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#player_game_mode_radio_adventure", + "$radio_label_text": "createWorldScreen.gameMode.adventure" + } + }, + { + "player_spectator_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#player_game_mode_radio_spectator", + "$radio_label_text": "createWorldScreen.gameMode.spectator" + } + } /*//Uncomment when Hardcore game mode is implemented, + { + "player_hardcore_mode_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#player_game_mode_radio_hardcore", + "$radio_label_text": "createWorldScreen.gameMode.hardcore" + } + }*/ + ] + }, + + "world_type_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "flat_world_type_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_type_radio_flat", + "$radio_label_text": "generator.flat" + } + }, + { + "infinite_world_type_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_type_radio_infinite", + "$radio_label_text": "generator.infinite" + } + }, /*Uncomment when Large Biome and Amplified world types are implemented + { + "large_biomees_world_type_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_type_radio_large_biomees", + "$radio_label_text": "generator.largeBiomes" + } + }, + { + "amplified_world_type_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_type_radio_amplified", + "$radio_label_text": "generator.amplified" + } + },*/ + { + "old_world_type_toggle@settings_common.radio_with_label": { + "ignored": "$is_publish", + "$toggle_state_binding_name": "#world_type_radio_old", + "$radio_label_text": "generator.old" + } + } + ] + }, + + "world_difficulty_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_difficulty_radio_peaceful", + "$radio_label_text": "options.difficulty.peaceful" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_difficulty_radio_easy", + "$radio_label_text": "options.difficulty.easy" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_difficulty_radio_normal", + "$radio_label_text": "options.difficulty.normal" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#world_difficulty_radio_hard", + "$radio_label_text": "options.difficulty.hard" + } + } + ] + }, + + // MULTIPLAYER button and section + + "multiplayer_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "multiplayer_button_toggle", + "$glyph_texture": "textures/ui/multiplayer_glyph", + "$glyph_color_texture": "textures/ui/multiplayer_glyph_color", + "$glyph_size": [ 22, 12 ], + "$button_text": "options.group.multiplayer", + "$toggle_property_bag": { + "#panel_title": "createWorldScreen.multiplayer.settings" + } + }, + + "cross_platform_warning_label@pause.disconnected_label": { + "text": "" + }, + + "multiplayer_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "multiplayer_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "multiplayer_game_toggle@settings_common.option_toggle": { + "$option_label": "options.multiplayergame", + "$option_binding_name": "#multiplayer_game", + "$option_enabled_binding_name": "#multiplayer_game_enabled", + "$toggle_name": "multiplayer_game" + } + }, + { + "platform_settings_dropdown@settings_common.option_dropdown": { + "$show_option_label": true, + "$option_label": "options.thirdPartyConsoleVisible", + "$dropdown_content": "world_section.platform_broadcast_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "platform_broadcast_dropdown", + "$options_dropdown_toggle_label_binding": "#platform_broadcast_dropdown_toggle_label", + "$option_enabled_binding_name": "#platform_broadcast_dropdown_enabled", + "$dropdown_scroll_content_size": [ "100%", 60 ], + "bindings": [ + { + "binding_name": "#platform_settings_dropdown_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "xbl_settings_dropdown@settings_common.option_dropdown": { + "ignored": "(not $is_xboxlive_enabled)", + "$option_label": "options.xboxliveBroadcastSettings", + "$dropdown_content": "world_section.xbl_broadcast_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "xbl_broadcast_dropdown", + "$options_dropdown_toggle_label_binding": "#xbl_broadcast_dropdown_toggle_label", + "$option_enabled_binding_name": "#xbl_show_broadcast_dropdown", + "$dropdown_scroll_content_size": [ "100%", 60 ], + "variables": [ + { + "requires": "($nx_os or $is_ps4)", + "$option_label": "options.xboxliveBroadcastSettingsForCrossplatform", + "$show_option_label": true + } + ], + "bindings": [ + { + "binding_name": "#can_be_xbl_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "server_visible_toggle@settings_common.option_toggle": { + "$option_label": "options.servervisible", + "$option_binding_name": "#server_visible", + "$option_enabled_binding_name": "#server_visibility_enabled", + "$toggle_name": "server_visible", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#can_be_server_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#can_be_server_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "general_multiplayer_warning_label@world_section.cross_platform_warning_label": { + "text": "#general_multiplayer_warning_text", + "bindings": [ + { + "binding_name": "#general_multiplayer_warning_text" + }, + { + "binding_name": "#general_multiplayer_warning_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "open_uri_button@play.open_account_setting_button": { + "size": [ "100%", 30 ], + "ignored": "$is_holographic", + "visible": false, + "bindings": [ + { + "binding_name": "#open_uri_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "platform_multiplayer_warning_label@world_section.cross_platform_warning_label": { + "ignored": "(not $nx_os and not $is_ps4)", + "text": "#platform_multiplayer_warning_text", + "bindings": [ + { + "binding_name": "#platform_multiplayer_warning_text" + }, + { + "binding_name": "#platform_multiplayer_warning_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "xbl_multiplayer_warning_label@world_section.cross_platform_warning_label": { + "ignored": "(not $is_xboxlive_enabled)", + "text": "#xbl_multiplayer_warning_text", + "bindings": [ + { + "binding_name": "#xbl_multiplayer_warning_text" + }, + { + "binding_name": "#xbl_multiplayer_warning_label_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "option_text_edit_mock_with_button@settings_common.option_generic": { + "$control_name": "world_section.option_text_edit_mock_control_with_button" + }, + + "option_text_edit_mock_control_with_button": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "30px" ], + "controls": [ + { + "trial_text_box_button@common_buttons.transparent_content_button": { + "size": [ "85%", "100%" ], + "$default_button_texture": "textures/ui/edit_box_indent", + "$hover_button_texture": "textures/ui/edit_box_indent_hover", + "$pressed_button_texture": "textures/ui/edit_box_indent", + "$locked_button_texture": "textures/ui/edit_box_indent" + } + }, + { + "seed_arrow_button@common_buttons.light_glyph_button": { + "$button_content": "settings_common.arrow_image", + "size": [ "fill", "100%" ] + } + } + ] + }, + + "experimental_toggle@settings_common.option_toggle": { + "$tts_section_header": "createWorldScreen.worldSettings", + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "experimental_toggles", + "$toggle_tts_inherit_siblings": true, + "$toggle_tts_type_priority": 100, + "$option_label": "#text", + "$option_binding_name": "#experimental_toggle_value", + "$option_enabled_binding_name": "#experimental_toggle_enabled", + "$toggle_name": "experimental_toggle", + "$toggle_grid_collection_name": "experimental_toggles", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "experimental_toggles", + "$toggle_binding_type": "collection", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#show_experimental_toggle", + "binding_name_override": "#visible" + }, + { + "binding_name": "#experimental_toggle_enabled", + "binding_type": "collection", + "binding_name_override": "#enabled", + "binding_collection_name": "experimental_toggles" + } + ], + "$label_bindings": [ + { + "binding_name": "#experimental_toggle_text", + "binding_name_override": "#text", + "binding_type": "collection", + "binding_collection_name": "experimental_toggles" + } + ] + }, + + "open_account_setting_button@common_buttons.hyperlink_button": { + "$button_text": "permissions.open.account.help.button", + "property_bag": { + "#hyperlink": "https://aka.ms/MCMultiplayerHelp" + } + }, + + "edu_cloud_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "cloud_button_toggle", + "$glyph_texture": "textures/ui/onedrive_pixel_logo_stroke", + "$glyph_color_texture": "textures/ui/onedrive_pixel_logo", + "$glyph_size": [ 20, 14 ], + "$button_text": "options.cloudStorage", + "$toggle_property_bag": { + "#panel_title": "options.cloudStorageTitle" + } + }, + + "edu_cloud_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "cloud_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "edu_cloud_label@settings_common.option_group_label": { + "$text": "menu.eduCloudStorage.caps", + "variables": [ + { + "requires": "$education_edition", + "$font_type": "MinecraftTen", + "$font_scale_factor": 1.2 + } + ] + } + }, + { + "cloud_file_name@settings_common.option_text_edit": { + "$option_label": "options.cloudFileNameTitle", + "$option_binding_name": "#cloud_file_name", + "$option_enabled_binding_name": "#cloud_file_name_enabled", + "$text_box_name": "cloud_file_name_text_box" + } + }, + { + "cloud_file_last_changed@settings_common.option_text_edit": { + "$option_label": "options.cloudFileLastChangedTitle", + "$option_binding_name": "#cloud_file_last_changed", + "$option_enabled_binding_name": "#cloud_file_last_changed_enabled", + "$text_box_name": "cloud_file_last_changed_text_box" + } + }, + { + "cloud_upload_toggle@settings_common.option_toggle": { + "$option_label": "options.cloudToggleCloudSave", + "$option_binding_name": "#edu_cloud_upload", + "$option_enabled_binding_name": "#edu_cloud_upload_enabled", + "$toggle_name": "cloud_upload" + } + }, + { + "cloud_help_wrapper_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "cloud_help_button@edu_common.underline_button": { + "$single_line_font_scale_factor": 1, + "$single_label_size": [ "default", "default" ], + "$pressed_button_name": "button.cloud_help_button", + "$single_line_label_text": "options.cloudHelpText", + "$font_type": "smooth", + "$font_size": "normal" + } + }, + { + "padded_icon@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "texture": "textures/ui/icon_external_link", + "size": [ 9, 9 ], + "offset": [ 5, 0.6 ] + } + } + ] + } + } + ] + } + } + ] + }, + + // Debug section and button + + "debug_button@settings_common.section_toggle_base": { + "$toggle_view_binding_name": "world_debug_button_toggle", + "$glyph_texture": "textures/ui/debug_glyph", + "$glyph_color_texture": "textures/ui/debug_glyph_color", + "$glyph_size": [ 15, 15 ], + "$button_text": "options.debug", + "$toggle_property_bag": { + "#panel_title": "options.debugTitle" + } + }, + + "debug_section": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "world_debug_button_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "controls": [ + { + "flat_nether_toggle@settings_common.option_toggle": { + "$option_label": "Flat Nether", + "$option_binding_name": "#flat_nether", + "$option_enabled_binding_name": "#flat_nether_enabled", + "$toggle_name": "flat_nether" + } + }, + { + "game_version_override_toggle@settings_common.option_toggle": { + "$option_label": "Enable Game Version Override", + "$option_binding_name": "#game_version_override_toggle", + "$option_enabled_binding_name": "#game_version_override_toggle_enabled", + "$toggle_name": "game_version_override_toggle" + } + }, + { + "game_version_override_textbox@settings_common.option_text_edit": { + "$option_label": "Game Version Override", + "$option_binding_name": "#game_version_override", + "$option_place_holder_text": "0.0.0", + "$option_enabled_binding_name": "#game_version_override_enabled", + "$text_box_name": "game_version_override_text_box" + } + }, + { + "spawn_dimension_dropdown@settings_common.option_dropdown_no_scroll": { + "$option_label": "Spawn Dimension", + "$dropdown_content": "world_section.debug_spawn_dimension_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "debug_spawn_dimension_dropdown", + "$options_dropdown_toggle_label_binding": "#debug_spawn_dimension_dropdown_toggle_label", + "$option_enabled_binding_name": "#debug_spawn_dimension_dropdown_enabled", + "$selection_highlight_offset": [ -2, 1 ], + "$selection_highlight_size": [ "100%", "100% + 1px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "spawn_biome_dropdown@settings_common.option_dropdown": { + "$option_label": "Spawn Biome", + "$dropdown_content": "world_section.debug_spawn_biome_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "debug_spawn_biome_dropdown", + "$options_dropdown_toggle_label_binding": "#debug_spawn_biome_dropdown_toggle_label", + "$option_enabled_binding_name": "#debug_spawn_biome_dropdown_enabled", + "$selection_highlight_offset": [ -2, 1 ], + "$selection_highlight_size": [ "100%", "100% + 1px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "biome_override_dropdown@settings_common.option_dropdown": { + "$option_label": "Biome override", + "$dropdown_content": "world_section.debug_biome_override_dropdown_content", + "$dropdown_area": "content_area", + "$dropdown_name": "debug_biome_override_dropdown", + "$options_dropdown_toggle_label_binding": "#debug_biome_override_dropdown_toggle_label", + "$option_enabled_binding_name": "#debug_biome_override_dropdown_dropdown_enabled", + "$selection_highlight_offset": [ -2, 1 ], + "$selection_highlight_size": [ "100%", "100% + 1px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "base_game_version_debug_text": { + "type": "label", + "color": "$body_text_color", + "text": "#text", + "bindings": [ + { + "binding_name": "#base_game_version_debug_text", + "binding_name_override": "#text" + } + ] + } + } + ] + }, + + "debug_spawn_dimension_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "debug_spawn_in_overworld_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_overworld", + "$radio_label_text": "Overworld" + } + }, + { + "debug_spawn_in_nether_toggle@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_nether", + "$radio_label_text": "Nether" + } + } + ] + }, + + "debug_spawn_biome_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_random_biome", + "$radio_label_text": "random_biome" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_basalt_deltas", + "$radio_label_text": "basalt_deltas" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_soulsand_valley", + "$radio_label_text": "soulsand_valley" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_crimson_forest", + "$radio_label_text": "crimson_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_warped_forest", + "$radio_label_text": "warped_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_hell", + "$radio_label_text": "hell" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_desert", + "$radio_label_text": "desert" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_extreme_hills", + "$radio_label_text": "extreme_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_forest", + "$radio_label_text": "forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_taiga", + "$radio_label_text": "taiga" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_swampland", + "$radio_label_text": "swampland" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_river", + "$radio_label_text": "river" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_frozen_river", + "$radio_label_text": "frozen_river" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_ice_plains", + "$radio_label_text": "ice_plains" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_ice_mountains", + "$radio_label_text": "ice_mountains" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mushroom_island", + "$radio_label_text": "mushroom_island" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mushroom_island_shore", + "$radio_label_text": "mushroom_island_shore" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_beach", + "$radio_label_text": "beach" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_desert_hills", + "$radio_label_text": "desert_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_forest_hills", + "$radio_label_text": "forest_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_taiga_hills", + "$radio_label_text": "taiga_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_extreme_hills_edge", + "$radio_label_text": "extreme_hills_edge" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_jungle", + "$radio_label_text": "jungle" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_jungle_hills", + "$radio_label_text": "jungle_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_jungle_edge", + "$radio_label_text": "jungle_edge" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_stone_beach", + "$radio_label_text": "stone_beach" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_cold_beach", + "$radio_label_text": "cold_beach" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_birch_forest", + "$radio_label_text": "birch_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_birch_forest_hills", + "$radio_label_text": "birch_forest_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_roofed_forest", + "$radio_label_text": "roofed_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_cold_taiga", + "$radio_label_text": "cold_taiga" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_cold_taiga_hills", + "$radio_label_text": "cold_taiga_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mega_taiga", + "$radio_label_text": "mega_taiga" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mega_taiga_hills", + "$radio_label_text": "mega_taiga_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_extreme_hills_plus_trees", + "$radio_label_text": "extreme_hills_plus_trees" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_savanna", + "$radio_label_text": "savanna" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_savanna_plateau", + "$radio_label_text": "savanna_plateau" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mesa", + "$radio_label_text": "mesa" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mesa_plateau_stone", + "$radio_label_text": "mesa_plateau_stone" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mesa_plateau", + "$radio_label_text": "mesa_plateau" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_ocean", + "$radio_label_text": "ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_deep_ocean", + "$radio_label_text": "deep_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_warm_ocean", + "$radio_label_text": "warm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_deep_warm_ocean", + "$radio_label_text": "deep_warm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_lukewarm_ocean", + "$radio_label_text": "lukewarm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_deep_lukewarm_ocean", + "$radio_label_text": "deep_lukewarm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_cold_ocean", + "$radio_label_text": "cold_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_deep_cold_ocean", + "$radio_label_text": "deep_cold_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_frozen_ocean", + "$radio_label_text": "frozen_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_deep_frozen_ocean", + "$radio_label_text": "deep_frozen_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_bamboo_jungle", + "$radio_label_text": "bamboo_jungle" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_bamboo_jungle_hills", + "$radio_label_text": "bamboo_jungle_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_sunflower_plains", + "$radio_label_text": "sunflower_plains" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_swampland_mutated", + "$radio_label_text": "swampland_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_ice_plains_spikes", + "$radio_label_text": "ice_plains_spikes" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_cold_taiga_mutated", + "$radio_label_text": "cold_taiga_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_savanna_mutated", + "$radio_label_text": "savanna_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_savanna_plateau_mutated", + "$radio_label_text": "savanna_plateau_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_roofed_forest_mutated", + "$radio_label_text": "roofed_forest_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_desert_mutated", + "$radio_label_text": "desert_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_flower_forest", + "$radio_label_text": "flower_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_taiga_mutated", + "$radio_label_text": "taiga_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_jungle_mutated", + "$radio_label_text": "jungle_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_jungle_edge_mutated", + "$radio_label_text": "jungle_edge_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mesa_bryce", + "$radio_label_text": "mesa_bryce" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mesa_plateau_stone_mutated", + "$radio_label_text": "mesa_plateau_stone_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_mesa_plateau_mutated", + "$radio_label_text": "mesa_plateau_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_birch_forest_mutated", + "$radio_label_text": "birch_forest_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_birch_forest_hills_mutated", + "$radio_label_text": "birch_forest_hills_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_redwood_taiga_mutated", + "$radio_label_text": "redwood_taiga_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_extreme_hills_mutated", + "$radio_label_text": "extreme_hills_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_extreme_hills_plus_trees_mutated", + "$radio_label_text": "extreme_hills_plus_trees_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_redwood_taiga_hills_mutated", + "$radio_label_text": "redwood_taiga_hills_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_spawn_in_plains", + "$radio_label_text": "plains" + } + } + ] + }, + "debug_biome_override_dropdown_content@settings_common.option_radio_dropdown_group": { + "$radio_buttons": [ + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_random_biome", + "$radio_label_text": "random_biome" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_basalt_deltas", + "$radio_label_text": "basalt_deltas" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_soulsand_valley", + "$radio_label_text": "soulsand_valley" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_crimson_forest", + "$radio_label_text": "crimson_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_warped_forest", + "$radio_label_text": "warped_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_hell", + "$radio_label_text": "hell" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_desert", + "$radio_label_text": "desert" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_extreme_hills", + "$radio_label_text": "extreme_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_forest", + "$radio_label_text": "forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_taiga", + "$radio_label_text": "taiga" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_swampland", + "$radio_label_text": "swampland" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_river", + "$radio_label_text": "river" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_frozen_river", + "$radio_label_text": "frozen_river" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_ice_plains", + "$radio_label_text": "ice_plains" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_ice_mountains", + "$radio_label_text": "ice_mountains" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mushroom_island", + "$radio_label_text": "mushroom_island" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mushroom_island_shore", + "$radio_label_text": "mushroom_island_shore" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_beach", + "$radio_label_text": "beach" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_desert_hills", + "$radio_label_text": "desert_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_forest_hills", + "$radio_label_text": "forest_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_taiga_hills", + "$radio_label_text": "taiga_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_extreme_hills_edge", + "$radio_label_text": "extreme_hills_edge" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_jungle", + "$radio_label_text": "jungle" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_jungle_hills", + "$radio_label_text": "jungle_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_jungle_edge", + "$radio_label_text": "jungle_edge" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_stone_beach", + "$radio_label_text": "stone_beach" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_cold_beach", + "$radio_label_text": "cold_beach" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_birch_forest", + "$radio_label_text": "birch_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_birch_forest_hills", + "$radio_label_text": "birch_forest_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_roofed_forest", + "$radio_label_text": "roofed_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_cold_taiga", + "$radio_label_text": "cold_taiga" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_cold_taiga_hills", + "$radio_label_text": "cold_taiga_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mega_taiga", + "$radio_label_text": "mega_taiga" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mega_taiga_hills", + "$radio_label_text": "mega_taiga_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_extreme_hills_plus_trees", + "$radio_label_text": "extreme_hills_plus_trees" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_savanna", + "$radio_label_text": "savanna" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_savanna_plateau", + "$radio_label_text": "savanna_plateau" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mesa", + "$radio_label_text": "mesa" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mesa_plateau_stone", + "$radio_label_text": "mesa_plateau_stone" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mesa_plateau", + "$radio_label_text": "mesa_plateau" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_ocean", + "$radio_label_text": "ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_deep_ocean", + "$radio_label_text": "deep_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_warm_ocean", + "$radio_label_text": "warm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_deep_warm_ocean", + "$radio_label_text": "deep_warm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_lukewarm_ocean", + "$radio_label_text": "lukewarm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_deep_lukewarm_ocean", + "$radio_label_text": "deep_lukewarm_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_cold_ocean", + "$radio_label_text": "cold_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_deep_cold_ocean", + "$radio_label_text": "deep_cold_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_frozen_ocean", + "$radio_label_text": "frozen_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_deep_frozen_ocean", + "$radio_label_text": "deep_frozen_ocean" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_bamboo_jungle", + "$radio_label_text": "bamboo_jungle" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_bamboo_jungle_hills", + "$radio_label_text": "bamboo_jungle_hills" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_sunflower_plains", + "$radio_label_text": "sunflower_plains" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_swampland_mutated", + "$radio_label_text": "swampland_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_ice_plains_spikes", + "$radio_label_text": "ice_plains_spikes" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_cold_taiga_mutated", + "$radio_label_text": "cold_taiga_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_savanna_mutated", + "$radio_label_text": "savanna_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_savanna_plateau_mutated", + "$radio_label_text": "savanna_plateau_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_roofed_forest_mutated", + "$radio_label_text": "roofed_forest_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_desert_mutated", + "$radio_label_text": "desert_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_flower_forest", + "$radio_label_text": "flower_forest" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_taiga_mutated", + "$radio_label_text": "taiga_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_jungle_mutated", + "$radio_label_text": "jungle_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_jungle_edge_mutated", + "$radio_label_text": "jungle_edge_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mesa_bryce", + "$radio_label_text": "mesa_bryce" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mesa_plateau_stone_mutated", + "$radio_label_text": "mesa_plateau_stone_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_mesa_plateau_mutated", + "$radio_label_text": "mesa_plateau_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_birch_forest_mutated", + "$radio_label_text": "birch_forest_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_birch_forest_hills_mutated", + "$radio_label_text": "birch_forest_hills_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_redwood_taiga_mutated", + "$radio_label_text": "redwood_taiga_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_extreme_hills_mutated", + "$radio_label_text": "extreme_hills_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_extreme_hills_plus_trees_mutated", + "$radio_label_text": "extreme_hills_plus_trees_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_redwood_taiga_hills_mutated", + "$radio_label_text": "redwood_taiga_hills_mutated" + } + }, + { + "@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#debug_biome_override_plains", + "$radio_label_text": "plains" + } + } + ] + }, + + "editor_edit_world_manipulation_buttons_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "export_as_project@world_section.export_world_button": { + "size": [ "100%", 30 ], + "$button_text": "gui.editor.exportProject", + "$pressed_button_name": "export_project_button" + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "export_as_world_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "export_as_world@world_section.export_world_button": {} + }, + { + "padding": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "export_as_template@world_section.export_template_button": { + "size": [ "50%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "project_manipulations_buttons": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "copy_project@world_section.copy_world_button": { + "size": [ "50%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_text": "gui.editor.copyProject" + } + }, + { + "padding": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "delete_project@world_section.delete_world_button": { + "size": [ "50%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_text": "createWorldScreen.editor.deleteProject" + } + } + ] + } + } + ] + }, + + "editor_edit_world_manipulation_buttons@settings_common.option_generic": { + "$control_name": "world_section.editor_edit_world_manipulation_buttons_content", + "$option_label": "createWorldScreen.editor.projectOptionsLabel" + } +} diff --git a/resource_pack/ui/sidebar_navigation.json b/resource_pack/ui/sidebar_navigation.json new file mode 100644 index 0000000..f45536f --- /dev/null +++ b/resource_pack/ui/sidebar_navigation.json @@ -0,0 +1,1285 @@ +{ + "namespace": "sidebar_navigation", + + "empty_panel": { + "type": "panel", + "size": [ "100%", 0 ] + }, + + "empty_fill_x_panel": { + "type": "panel", + "size": [ "fill", "100%" ] + }, + + "empty_default_panel@common.empty_panel": { + "size": [ 0, 0 ] + }, + + "vertical_padding_panel@common.empty_panel": { + "size": [ "100%", 2 ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // optional fields: + // - $sidebar_bg_color : color desired from bg + "sidebar_bg": { + "type": "image", + "texture": "textures/ui/white_background", + "$sidebar_bg_color|default": "$sidebar_bg_color", + "color": "$sidebar_bg_color", + "fill": true, + "keep_ratio": false + }, + + "sidebar_divider": { + "type": "image", + "size": [ "100%", 2 ], + "layer": 3, + "texture": "textures/ui/sidebar_icons/side_panel_divider", + "fill": true, + "keep_ratio": false + }, + + "sidebar_divider_panel@common.empty_panel": { + "size": [ "100%", 6 ], + "controls": [ + { + "sidebar_divider@sidebar_navigation.sidebar_divider": { + "size": [ "100%", 2 ] + } + } + ] + }, + + "toggle_content": { + "type": "panel", + + "controls": [ + { "toggle_content@$sidebar_toggle_content": {} } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - size : desired size + // - $scrolling_content : ui control panel to use in scrolling area + // + "sidebar_section_scroll_panel@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "$scrolling_pane_size": [ "100%", "100%" ], + "$scroll_size": [ 5, "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 2, 0 ], + "$scroll_bar_right_padding_size": [ 0, 0 ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $sidebar_bg_content : ui control to use as content + // + // optional fields: + // - $sidebar_bg_color : color desired from bg + "sidebar_bg_content_panel@sidebar_navigation.sidebar_bg": { + "anchor_to": "top_left", + "anchor_from": "top_left", + + "$sidebar_bg_content_control|default": "common.empty_panel", + "controls": [ + { + "sidebar_bg_content@$sidebar_bg_content_control": {} + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $sidebar_factory_collection_name : colletion name : strign + // + // optional fields + // - $sidebar_nav_toggle_image : image path : string : if not provided then a binding will be provided + "sidebar_nav_toggle_image": { + "type": "image", + "$sidebar_nav_toggle_image_size|default": [ 14, 14 ], + "size": "$sidebar_nav_toggle_image_size", + "layer": 3, + + "$sidebar_nav_toggle_image_anchor|default": "center", + "anchor_from": "$sidebar_nav_toggle_image_anchor", + "anchor_to": "$sidebar_nav_toggle_image_anchor", + + "$sidebar_nav_toggle_image_grayscale|default": false, + "grayscale": "$sidebar_nav_toggle_image_grayscale", + + "$sidebar_nav_toggle_image|default": "", + "$sidebar_nav_toggle_image_binds|default": [], + "variables": [ + { + "requires": "($sidebar_nav_toggle_image = '')", + "$sidebar_nav_toggle_image_binds": [ + { + "binding_type": "collection_details" + }, + { + "binding_type": "$toggle_parent_collection_details", + "binding_collection_name": "$toggle_parent_collection_details_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$sidebar_factory_collection_name", + "binding_name": "#sidebar_nav_image", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "$sidebar_factory_collection_name", + "binding_name": "#sidebar_nav_image_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "collection", + "binding_collection_name": "$sidebar_factory_collection_name", + "binding_name": "#sidebar_nav_image_bilinear_enabled", + "binding_name_override": "#bilinear" + } + ] + } + ], + + "texture": "$sidebar_nav_toggle_image", + "bindings": "$sidebar_nav_toggle_image_binds" + }, + + "sidebar_nav_toggle_image_panel": { + "type": "panel", + "$sidebar_nav_toggle_image_panel_size|default": [ "100%c", "100%" ], + "size": "$sidebar_nav_toggle_image_panel_size", + + "$gamepad_helper_icon|default": "sidebar_navigation.empty_default_panel", + "controls": [ + { "sidebar_nav_toggle_image@sidebar_navigation.sidebar_nav_toggle_image": {} }, + { "gamepad_helper_icon@$gamepad_helper_icon": {} } + ] + }, + + "gamepad_helper_icon_start_toggle@common.gamepad_helper_start": { + "$hide_description|default": true, + + "variables": [ + { + "requires": "$is_ps4", + "$start_gamepad_helper_offset": [ -5, 2 ], + "$gamepad_helper_icon_size": [ 18, 18 ] + }, + { + "requires": "(not $is_ps4)", + "$start_gamepad_helper_offset": [ -8, -3 ] + } + ], + + "offset": "$start_gamepad_helper_offset" + }, + + "verbose_view_toggle_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "$gamepad_helper_icon": "sidebar_navigation.gamepad_helper_icon_start_toggle", + + "controls": [ + { + "left_padding": { + "type": "panel", + "size": [ 12, "100%" ] + } + }, + { + "sidebar_nav_toggle_image@sidebar_navigation.sidebar_nav_toggle_image_panel": { + "$sidebar_nav_toggle_image_anchor": "left_middle" + } + } + ] + }, + + "sidebar_toggle_bg@common_buttons.button_image": { + "$sidebar_toggle_bg_bindings|default": [], + "$sidebar_toggle_bg_property_bag|default": {}, + "variables": [ + { + "requires": "$toggle_checked", + "$sidebar_toggle_bg_bindings": [ + { + "binding_type": "$toggle_parent_collection_details", + "binding_collection_name": "$toggle_parent_collection_details_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$sidebar_factory_collection_name", + "binding_name": "#dropdown_checked_color", + "binding_name_override": "#color" + } + ], + "$sidebar_toggle_bg_property_bag": { + "#expanded_color": "$sidebar_dropdown_expanded_color", + "#selected_color": "$sidebar_option_selected_color" + } + } + ], + "property_bag": "$sidebar_toggle_bg_property_bag", + "bindings": "$sidebar_toggle_bg_bindings" + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $toggle_binding_type : binging type + // - $toggle_grid_collection_name : collection name : required if binging type == collection + // - $toggle_state_binding_name : binding name for state + // + // optional fields: + // - $toggle_name : toggle event name + // - $hover_texture : texture path + // - $button_content : toggle content control + // - $button_alpha : alpha color for toggle bg texture + // - $default_checked_texture_color : color for default checked bg + "sidebar_toggle@common_toggles.dark_content_toggle": { + "$sidebar_toggle_size|default": [ "100%", 23 ], + "size": "$sidebar_toggle_size", + "$toggle_name|default": "toggle.sidebar_option_selection", + + "$default_focus_precedence": -10, + "$button_image_size": [ "100%", "100%" ], + "$button_content": "sidebar_navigation.toggle_content", + "$button_content_size": [ "100%", "100%" ], + + "$unchecked_locked_texture": "textures/ui/banners_no_border", + "$checked_locked_texture": "textures/ui/banners_no_border", + "$default_texture": "textures/ui/white_background", + "$hover_texture": "textures/ui/white_background", + "$pressed_texture": "textures/ui/White", + "$pressed_no_hover_texture": "textures/ui/White", + + "$default_texture_color": "$sidebar_bg_color", + "$default_checked_texture_color": "$sidebar_option_selected_color", + "$hover_texture_color": "$sidebar_default_hover_color", + "$hover_checked_texture_color": "$sidebar_default_hover_color", + "$hover_border_visible": false, + "$default_border_visible": false, + + "$button_image_fill": true, + "$enable_hover_event_mapping": true, + "$toggle_hover_event_mapping": "button.dropdown_nav_toggle_on_hover", + "$toggle_parent_collection_details": "collection_details", + "$toggle_parent_collection_details_name": "$sidebar_section_collection_name", + "$toggle_parent_collection_details_prefix": "$sidebar_section_collection_prefix", + "$pressed_button_name": "toggle.sidebar_option_selection" + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $toggle_binding_type : binging type + // - $toggle_grid_collection_name : collection name : required if binging type == collection + // - $toggle_state_binding_name : binding name for state + "sidebar_option_toggle@sidebar_navigation.sidebar_toggle": { + "$border_color": "$f_color_format", + "$toggle_tts_toggle_on_text": "", + "$toggle_tts_toggle_off_text": "", + "$toggle_tts_header_binding_type": "collection", + "$toggle_tts_header_binding_collection_name": "$sidebar_factory_collection_name", + "$toggle_tts_header": "#sidebar_toggle_tts" + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $toggle_binding_type : binging type + // - $toggle_grid_collection_name : collection name : required if binging type == collection + // - $toggle_state_binding_name : binding name for state + "simple_sidebar_toggle@sidebar_navigation.sidebar_option_toggle": { + "$false_border_visible": false, + "$sidebar_nav_toggle_image_grayscale": false, + + "$sidebar_toggle_content": "sidebar_navigation.sidebar_nav_toggle_image", + "$toggle_state_binding_name": "#simple_sidebar_option_toggle_check", + + "$enable_focus_enabled_bind": true, + "$focus_enabled_binding_name": "(not #is_using_gamepad)" + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $toggle_binding_type : binging type + // - $toggle_grid_collection_name : collection name : required if binging type == collection + // - $toggle_state_binding_name : binding name for state + "verbose_toggle@sidebar_navigation.sidebar_option_toggle": { + "anchor_from": "top_right", + "anchor_to": "top_right", + + "$sidebar_toggle_content": "common_toggles.toggle_content_panel", + "$toggle_content_panel_size": [ "100% - 13px", "100% - 6px" ], + "$toggle_content_panel_offset": [ -5, 0 ], + "$toggle_content_panel_anchor": "right_middle", + "$content_toggle_image_panel": "sidebar_navigation.sidebar_nav_toggle_image_panel", + "$content_toggle_label_size": [ "100%", 12 ], + "$content_toggle_label_max_size": [ "100%", 12 ], + "$content_toggle_label_offset": [ 0, 2 ], + "$content_toggle_label_binding_type": "collection", + "$content_toggle_label": "#sidebar_option_label", + "$toggle_state_binding_name": "#verbose_sidebar_option_toggle_check", + + "$enable_focus_id_bind": true, + "$focus_id_binding_name": "#verbose_option_focus_id", + "$focus_id": "verbose_option" + }, + + "verbose_sidebar_option@sidebar_navigation.verbose_toggle": { + "$ignore_content_toggle_icon": true + }, + + "verbose_expand_option@sidebar_navigation.verbose_sidebar_option": { + "$ignore_content_toggle_image": true, + "$default_texture_alpha": 0, + "$hover_border_visible": true + }, + + ///////////////////////////////////////////////////// + // Verbose dropdown toggle controls + "verbose_dropdown_option@sidebar_navigation.verbose_toggle": { + "$toggle_name": "toggle.sidebar_option_dropdown", + "$content_toggle_icon_panel_size": [ 7, "100%" ], + "$content_toggle_icon_size": [ 7, 7 ], + "$content_toggle_icon": "#dropdown_toggle_icon", + + "$button_image": "sidebar_navigation.sidebar_toggle_bg", + + "$content_toggle_icon_bindings": [ + { + "binding_type": "$toggle_parent_collection_details", + "binding_collection_name": "$toggle_parent_collection_details_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$sidebar_factory_collection_name", + "binding_name": "#dropdown_toggle_texture", + "binding_name_override": "#texture" + } + ], + "$focus_override_right": "expand_option", + "$ignore_close_verbose_button_mapping": true, + "$enable_hover_event_mapping": true, + "$toggle_hover_event_mapping": "button.dropdown_nav_toggle_on_hover" + }, + + "verbose_dropdown_expanded_option@sidebar_navigation.verbose_dropdown_option": { + "$ignore_content_toggle_image": true, + + "$enable_focus_id_bind": true, + "$focus_id_binding_name": "#expand_option_focus_id", + "$focus_id": "first_expand_option" + }, + + "verbose_sidebar_expand_section_bg@sidebar_navigation.sidebar_bg": { + "layer": 1, + "$sidebar_bg_color": "$sidebar_expanded_section_bg_color" + }, + + "verbose_sidebar_expand_section_panel@sidebar_navigation.sidebar_section": { + "size": [ 122, "100%" ], + + "$sidebar_section_name": "verbose_expand_section_scroll_panel", + "$sidebar_section_control": "sidebar_navigation.sidebar_section_scroll_panel", + + "$ignore_sidebar_section_left_edge": false, + "$sidebar_section_left_edge_color": "$sidebar_verbose_expand_border_color", + "$sidebar_section_right_edge_color": "$sidebar_verbose_expand_border_color", + + "$scrolling_content": "sidebar_navigation.verbose_expand_section_panel", + "$scroll_background_image_control": "sidebar_navigation.verbose_sidebar_expand_section_bg", + "$sidebar_factory_collection_name": "verbose_expand_section_option" + }, + + "verbose_expand_section_panel@sidebar_navigation.sidebar_option_factory_panel": { + "focus_container": true, + "use_last_focus": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "none", + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_right": "custom", + "focus_container_custom_right": [ + { + "other_focus_container_name": "scrolling_content", + "focus_id_inside": "expand_option" + } + ], + + "$sidebar_option_factory_binding_type": "collection", + "$sidebar_option_factory_collection_name": "$sidebar_section_collection_name", + + "$sidebar_factory_control_ids": { + "defaultNavOption": "sidebar_navigation.verbose_expand_option", + "defaultNavListOption": "sidebar_navigation.verbose_dropdown_expanded_option", + "defaultNavButton": "sidebar_navigation.verbose_nav_button_panel", + "fill": "sidebar_navigation.empty_default_panel", + "line": "sidebar_navigation.sidebar_divider_panel", + "padding": "sidebar_navigation.vertical_padding_panel" + } + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $toggle_binding_type : binging type + // - $toggle_grid_collection_name : collection name : required if binging type == collection + // - $toggle_state_binding_name : binding name for state + "verbose_view_toggle@sidebar_navigation.sidebar_toggle": { + "$border_visible": false, + "$button_content": "sidebar_navigation.verbose_view_toggle_content", + "$focus_id": "verbose_toggle", + "$default_focus_precedence": -9, + "$sidebar_nav_toggle_image": "textures/ui/sidebar_icons/menu_threebars", + + "$sidebar_nav_toggle_image_size": [ 10, 10 ], + "$toggle_name": "toggle.sidebar_verbose_toggle", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#sidebar_verbose_toggle_check", + "$default_checked_texture_alpha": 0, + + "$toggle_tts_header_binding_type": "global", + "$toggle_tts_header": "#verbose_toggle_tts", + + "$enable_focus_enabled_bind": true, + "$focus_enabled_binding_name": "(not #is_using_gamepad)" + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $sidebar_factory_control_ids : control id array + // - $sidebar_factory_collection_name : string + // - $sidebar_factory_collection_binding_name : bind name string + "sidebar_option_factory": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + + "collection_name": "$sidebar_factory_collection_name", + + "$sidebar_option_factory_binding_type|default": "global", + "$sidebar_option_factory_collection_name|default": "", + + "$toggle_binding_type": "collection", + "$toggle_property_bag_binding_type": "collection", + "$toggle_grid_collection_name": "$sidebar_factory_collection_name", + "$toggle_state_binding_name": "#sidebar_option_toggle_check", + "$toggle_collection_details_type": "collection_details", + "$toggle_collection_detail_name": "$sidebar_factory_collection_name", + + "factory": { + "name": "sidebar_factory", + "control_ids": "$sidebar_factory_control_ids", + "factory_variables": [ + "$sidebar_factory_collection_name", + "$sidebar_section_collection_name", + "$sidebar_section_collection_prefix", + "$toggle_binding_type", + "$toggle_property_bag_binding_type", + "$toggle_grid_collection_name", + "$toggle_state_binding_name", + "$toggle_collection_details_type", + "$toggle_collection_detail_name" + ] + }, + + "bindings": [ + { + "binding_condition": "visible", + "binding_type": "$sidebar_option_factory_binding_type", + "binding_collection_name": "$sidebar_option_factory_collection_name", + "binding_name": "$sidebar_factory_collection_binding_name", + "binding_name_override": "#collection_length" + } + ] + }, + + "sidebar_option_factory_panel": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "sidebar_option_factory@sidebar_navigation.sidebar_option_factory": {} } + ], + + "$ignore_exit_button_mapping|default": false, + "$ignore_close_verbose_button_mapping|default": false, + "button_mappings": [ + { + "ignored": "$ignore_exit_button_mapping", + "from_button_id": "button.menu_cancel", + "to_button_id": "button.exit_verbose_state", + "mapping_type": "global", + "consume_event": false + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$sidebar_section_collection_name", + "binding_collection_prefix": "$sidebar_section_collection_prefix" + } + ] + }, + + "verbose_button_content": { + "type": "panel", + "controls": [ + { + "button_label": { + "type": "label", + "size": [ "100%", "default" ], + "layer": 5, + "color": "$text_color", + "text_alignment": "center", + "text": "$button_text_binding_name", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$sidebar_factory_collection_name", + "binding_name": "$button_text_binding_name" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$sidebar_section_collection_name", + "binding_collection_prefix": "$sidebar_section_collection_prefix" + } + ] + } + } + ] + }, + + "verbose_button@common_buttons.dark_content_button": { + "size": [ "100% - 14px", "100% - 2px" ], + "$button_focus_precedence": -1, + "$pressed_button_name": "button.select_nav_option", + "$button_content": "sidebar_navigation.verbose_button_content", + "$button_text_binding_name": "#sidebar_option_label", + "$default_button_texture": "textures/ui/sidebar_icons/button_panel", + "$hover_button_texture": "textures/ui/sidebar_icons/side_drawer_button_hover_focused", + "$pressed_button_texture": "textures/ui/sidebar_icons/side_drawer_button_selected", + + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$sidebar_factory_collection_name" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$sidebar_section_collection_name", + "binding_collection_prefix": "$sidebar_section_collection_prefix" + } + ] + }, + + "verbose_nav_button_panel": { + "type": "panel", + "size": [ "100%", 26 ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "(not #is_simple_sidebar_state_active)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "verbose_nav_button@sidebar_navigation.verbose_button": {} } + ] + }, + + "verbose_screen_nav_button@common_buttons.dark_content_button": { + "size": [ "100% - 14px", "100% - 2px" ], + "$pressed_button_name": "button.select_screen_nav_button_option", + "$button_content": "sidebar_navigation.verbose_button_content", + "$button_text_binding_name": "#sidebar_screen_nav_screen_button_label", + "$default_button_texture": "textures/ui/sidebar_icons/button_panel", + "$hover_button_texture": "textures/ui/sidebar_icons/side_drawer_button_selected", + "$pressed_button_texture": "textures/ui/sidebar_icons/side_drawer_button_selected", + + "bindings": [ + { + "binding_name": "#is_screen_nav_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$sidebar_factory_collection_name" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$sidebar_section_collection_name", + "binding_collection_prefix": "$sidebar_section_collection_prefix" + } + ] + }, + + "verbose_screen_nav_option_panel": { + "type": "panel", + "size": [ "100%", 26 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$sidebar_section_collection_name": "sidebar_section_collection", + "$sidebar_section_collection_prefix": "sidebar_section", + "bindings": [ + { + "binding_name": "#is_verbose_sidebar_nav_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "verbose_nav_button@sidebar_navigation.verbose_screen_nav_button": {} } + ] + }, + + "sidebar_option_factory_scroll_panel@sidebar_navigation.sidebar_section_scroll_panel": { + "size": [ "100%", "65%" ], + "$scrolling_content": "sidebar_navigation.sidebar_option_factory_panel", + "$scroll_background_image_control": "sidebar_navigation.verbose_sidebar_expand_section_bg", + "$sidebar_factory_collection_name": "verbose_expand_section_option" + }, + + "sidebar_screen_nav_option_factory_panel": { + "ignored": "$store_disabled", + "type": "stack_panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "fill_panel": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { "button@sidebar_navigation.verbose_screen_nav_option_panel": {} }, + { + "padding": { + "type": "panel", + "size": [ "100%", 26 ] + } + }, + { "platform_icon_padding@sidebar_navigation.platform_store_icon_spacing": {} } + ] + }, + + "root_section_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { "sidebar_option_factory@sidebar_navigation.sidebar_option_factory_scroll_panel": {} }, + { "verbose_sidebar_screen_Nav@sidebar_navigation.sidebar_screen_nav_option_factory_panel": {} } + ] + }, + + "edge_bar": { + "type": "image", + "size": [ 1, "100%" ], + "layer": 1, + "texture": "textures/ui/White", + "fill": true + }, + + "verbose_view_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + + "$sidebar_section_control|default": "sidebar_navigation.root_section", + "controls": [ + { + "verbose_view_toggle@sidebar_navigation.verbose_view_toggle": { + "size": [ "100%", 23 ] + } + }, + { + "$sidebar_section_name@$sidebar_section_control": { + "size": [ "100%", "100%" ] + } + } + ] + }, + + "sidebar_section": { + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "type": "stack_panel", + "$ignore_sidebar_section_left_edge|default": true, + "controls": [ + { + "left_edge_bar@sidebar_navigation.edge_bar": { + "ignored": "$ignore_sidebar_section_left_edge", + + "$sidebar_section_left_edge_color|default": "$sidebar_verbose_expand_border_color", + "color": "$sidebar_section_left_edge_color" + } + }, + { + "verbose_view_stack_panel@sidebar_navigation.verbose_view_stack_panel": { "size": [ "fill", "100%" ] } + }, + { + "right_edge_bar@sidebar_navigation.edge_bar": { + "$sidebar_section_right_edge_color|default": "black", + "color": "$sidebar_section_right_edge_color" + } + } + ] + }, + + "root_section@sidebar_navigation.sidebar_section_scroll_panel": { + "$scrolling_content": "sidebar_navigation.root_section_content_panel", + "$show_background": false, + "bindings": [ + { + "binding_name": "#is_sidebar_nav_ready", + "binding_name_override": "#visible" + } + ] + }, + + "verbose_root_section@sidebar_navigation.sidebar_section": { + "size": "$sidebar_view_size", + "$sidebar_section_name": "verbose_root_section_content", + + "focus_container": true, + "use_last_focus": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "contained", + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_right": "custom", + "focus_container_custom_right": [ + { + "other_focus_container_name": "scrolling_content", + "focus_id_inside": "expand_option" + } + ], + + "$sidebar_option_factory_binding_type": "collection", + "$sidebar_option_factory_collection_name": "$sidebar_section_collection_name", + + "$sidebar_factory_collection_name": "verbose_root_section_option" + }, + + "simple_root_section": { + "type": "stack_panel", + "orientation": "vertical", + "size": "$sidebar_view_size", + + "$ignore_exit_button_mapping": true, + + // this bind is needed to make sure focus goes to the content view + "bindings": [ + { + "binding_name": "#is_simple_sidebar_state_active", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "verbose_view_toggle@sidebar_navigation.verbose_view_toggle": {} }, + { + "root_section@sidebar_navigation.root_section": { + "size": [ "100%", "100%" ] + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $sidebar_view_size : size of the sidebar view + // - $sidebar_factory_control_ids : control id array + // - $sidebar_factory_collection_name : string + // - $sidebar_factory_collection_binding_name : bind name string + "sidebar_section_factory_panel@sidebar_navigation.sidebar_bg": { + "size": [ "100%c", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "sidebar_section_factory": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + + "focus_container": true, + "use_last_focus": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_left": "contained", + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_right": "none", + + "$sidebar_section_collection_prefix": "sidebar_section", + "$sidebar_section_collection_name": "sidebar_section_collection", + "collection_name": "$sidebar_section_collection_name", + "factory": { + "name": "sidebar_factory", + "control_ids": { + "simple_root_section": "sidebar_navigation.simple_root_section", + "verbose_root_section": "sidebar_navigation.verbose_root_section", + "expanded_section": "sidebar_navigation.verbose_sidebar_expand_section_panel" + }, + "factory_variables": [ + "$sidebar_factory_collection_name", + "$sidebar_section_collection_name", + "$sidebar_section_collection_prefix", + "$sidebar_view_size", + "$sidebar_factory_collection_binding_name", + "$sidebar_factory_control_ids" + ] + }, + + "bindings": [ + { + "binding_name": "#sidebar_sections", + "binding_name_override": "#collection_length" + }, + { + "binding_name": "$section_visibility_binding_name", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $sidebar_view_size : size of the sidebar view + // - $sidebar_factory_control_ids : control id array + // - $sidebar_factory_collection_name : string + // - $sidebar_factory_collection_binding_name : bind name string + // + // optional fields: + // - $ignore_verbose_view_exit : bool + "sidebar_view_content_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$ignore_verbose_view_exit|default": true, + "controls": [ + { + "view_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "sidebar_view@sidebar_navigation.sidebar_section_factory_panel": {} + }, + { + // this is here to handle closing the verbose view + "controller_hover_close_panel": { + "type": "panel", + "size": [ "fill%", "100%" ], + "visible": false, + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ], + "controls": [ + { + "controller_hover_close_button@common.button": { + "size": [ "100%", "100%" ], + "layer": 299, + "default_focus_precedence": -20, + "pressed_control": "", + "bindings": [ + { + "binding_name": "#is_controller_close_hover_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#focus_enabled" + } + ], + "button_mappings": [ + { + "to_button_id": "button.controller_hover_close_verbose_view", + "mapping_type": "pressed" + } + ], + "controls": [ + { "default@common.empty_panel": {} }, + { "hover@common.empty_panel": {} } + ] + } + } + ] + } + } + ] + } + }, + { + "verbose_view_exit@common_store.close_bg_panel": { + "ignored": "$ignore_verbose_view_exit", + "size": [ "100%", "100%" ], + "layer": 1, + "alpha": 0.6, + "$close_bg_exit_button_name": "button.exit_verbose_state_bg" + } + } + ] + }, + + "verbose_sidebar_view_modal@common.modal_area_panel_base": { + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "$section_visibility_binding_name", + "binding_name_override": "#visible", + "binding_condition": "always" + }, + { + "binding_name": "$section_visibility_binding_name", + "binding_name_override": "#modal", + "binding_condition": "always" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.controller_start", + "to_button_id": "button.toggle_verbose_state", + "mapping_type": "global" + } + ] + }, + + "sidebar_views": { + "ignored": "(not $is_sidebar_navigation_enabled)", + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 210, + + "$ignore_inventory_button": "$is_sidebar_navigation_enabled", + + "visible": "$sidebar_ignore_page_loading", + "property_bag": { + "#visible": "$sidebar_ignore_page_loading" + }, + + "bindings": "$sidebar_page_loading_binds", + + "controls": [ + { + "sidebar_view_conent": { + "type": "panel", + "bindings": [ + { + "binding_name": "#is_sidebar_nav_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "simple_sidebar_view@sidebar_navigation.sidebar_view_content_panel": { + "$sidebar_view_size": [ 30, "100%" ], + + "$section_visibility_binding_name": "#is_simple_sidebar_state_active", + + "$sidebar_factory_collection_binding_name": "#simple_sidebar_factory_collection", + "$sidebar_factory_collection_name": "simple_sidebar_collection", + "$sidebar_factory_control_ids": { + "defaultNavOption": "sidebar_navigation.simple_sidebar_toggle", + "defaultNavListOption": "sidebar_navigation.simple_sidebar_toggle", + "defaultNavButton": "sidebar_navigation.empty_panel", + "fill": "sidebar_navigation.empty_panel", + "line": "sidebar_navigation.sidebar_divider_panel", + "padding": "sidebar_navigation.empty_panel" + }, + + "bindings": [ + { + "binding_name": "$section_visibility_binding_name", + "binding_name_override": "#visible" + } + ] + } + }, + { //wrap this in a modal + "verbose_side_bar_view_modal@sidebar_navigation.verbose_sidebar_view_modal": { + "size": [ "100%", "100%" ], + "layer": "$sidebar_layer", + + "$section_visibility_binding_name": "(not #is_simple_sidebar_state_active)", + + "controls": [ + { + "verbose_sidebar_view@sidebar_navigation.sidebar_view_content_panel": { + "$ignore_verbose_view_exit": false, + "$sidebar_view_size": [ 142, "100%" ], + + "$sidebar_factory_collection_binding_name": "#verbose_sidebar_factory_collection", + "$sidebar_factory_collection_name": "verbose_sidebar_collection", + "$sidebar_factory_control_ids": { + "defaultNavOption": "sidebar_navigation.verbose_sidebar_option", + "defaultNavListOption": "sidebar_navigation.verbose_dropdown_option", + "defaultNavButton": "sidebar_navigation.verbose_nav_button_panel", + "fill": "sidebar_navigation.empty_default_panel", + "line": "sidebar_navigation.sidebar_divider_panel", + "padding": "sidebar_navigation.vertical_padding_panel" + } + } + } + ] + } + } + ] + } + } + ] + }, + + "sidebar_empty_panel": { + "type": "panel", + "ignored": "(not $is_sidebar_navigation_enabled)", + "size": [ 30, "100%" ], + "bindings": [ + { + "binding_name": "#is_sidebar_nav_visible", + "binding_name_override": "#visible" + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $sidebar_main_view_content : ui control to use for area right of sidebar + "content_view": { + "type": "panel", + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "focus_navigation_mode_right": "contained", + + "$main_content_focus_container_left": "custom", + "$main_content_focus_container_left_custom": [ + { + "other_focus_container_name": "content_view", + "focus_id_inside": "controller_hover_open_button" + } + ], + + "controls": [ + { + "content_view_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + + "$sidebar_main_view_content|default": "sidebar_navigation.empty_fill_x_panel", + + "bindings": "$sidebar_page_loading_binds", + "controls": [ + { + "sidebar_view_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "#is_sidebar_nav_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "sidebar_empty_panel@sidebar_navigation.sidebar_empty_panel": { + "controls": [ + { + // this is here to handle opening opening the verbose view + // when simple sidebar is given focus + "controller_hover_open_panel": { + "type": "panel", + "visible": false, + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ], + "controls": [ + { + "controller_hover_open_button@common.button": { + "size": [ "100%", "100%" ], + "layer": "($sidebar_layer + 10)", + "default_focus_precedence": 1, + "pressed_control": "", + "bindings": [ + { + "binding_name": "#is_controller_hover_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#focus_enabled" + } + ], + "button_mappings": [ + { + "to_button_id": "button.controller_hover_open_verbose_view", + "mapping_type": "pressed" + } + ], + "controls": [ + { "default@common.empty_panel": {} }, + { "hover@common.empty_panel": {} } + ] + } + } + ] + } + } + ] + } + }, + { + "divider@sidebar_navigation.edge_bar": { + "ignored": "(not $is_sidebar_navigation_enabled)", + "color": "black" + } + } + ] + } + }, + { + // This is an input panel so that this object gains focus while the screen loads. + // Once the screen loads, this object will turn off focus enabled and be removed from + // the focus manager. This will cause the focus manager to find the closest button under + // it and not give focus to the sidebar. + "main_view_content": { + "type": "input_panel", + "size": [ "fill", "100%" ], + + "focus_container": true, + "use_last_focus": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_right": "contained", + "focus_navigation_mode_left": "$main_content_focus_container_left", + "focus_container_custom_left": "$main_content_focus_container_left_custom", + "tts_skip_message": true, + "tts_skip_children": true, + "default_focus_precedence": 20, + + "controls": [ + { "screen_content@$sidebar_main_view_content": {} } + ], + + "focus_enabled": "(not $sidebar_ignore_page_loading)", + "bindings": [ + { + "ignored": "$sidebar_ignore_page_loading", + "binding_name": "#page_loading_visible", + "$main_content_fo": null, + "binding_name_override": "#focus_enabled", + "binding_condition": "always" + } + ] + } + } + ] + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////////////////////////////// + // required fields: + // - $sidebar_main_view_content : ui control to use for area right of sidebar + "sidebar_view": { + "type": "input_panel", + "size": [ "100%", "100%" ], + + "$sidebar_layer": 300, + "$sidebar_ignore_page_loading|default": false, + "$sidebar_page_loading_binds": [ + { + "ignored": "$sidebar_ignore_page_loading", + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ], + + "button_mappings": [ + { + "from_button_id": "button.controller_start", + "to_button_id": "button.toggle_verbose_state", + "mapping_type": "global" + } + ], + + "controls": [ + { "sidebar_content@sidebar_navigation.sidebar_views": {} }, + { "content_view@sidebar_navigation.content_view": {} }, + { + "progress_loading@common_store.progress_loading": { + "ignored": "$sidebar_ignore_page_loading", + "$baseLayer": "($sidebar_layer + 100)", + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + }, + { + "binding_name": "#page_loading_finished", + "binding_condition": "visible" + } + ] + } + } + ] + }, + + "platform_store_icon_spacing": { + "type": "panel", + "size": [ "100%", 40 ], + "bindings": [ + { + "binding_name": "#showing_platform_store_icon", + "binding_name_override": "#visible" + } + ] + } +} diff --git a/resource_pack/ui/sign_screen.json b/resource_pack/ui/sign_screen.json new file mode 100644 index 0000000..b5e00e7 --- /dev/null +++ b/resource_pack/ui/sign_screen.json @@ -0,0 +1,117 @@ +{ + "namespace": "sign", + + //--------------------------------------------------------------------------- + // CONTROLS + //--------------------------------------------------------------------------- + + "sign_background": { + "type": "image", + "texture": "$sign_texture", + "size": [ "192px", "93px" ], + "offset": [ -1, -5 ] + }, + + "hanging_sign_background": { + "type": "image", + "texture": "$sign_texture", + "size": [ "287px", "143px" ], + "offset": [ 0, -32 ] + }, + + "base_sign_text_multiline@common.multiline_text_edit_box": { + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 5 ], + "$font_size": "large", + "$text_alignment": "center", + "constrain_to_rect": false, + "selected": true, + "can_be_deselected": false, + "focus_enabled": true, + "$text_box_name": "#sign_text_multi", + "max_length": 32500, + "$text_color_binding_type": "global", + "$text_edit_box_content_binding_name": "#sign_text", + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global" + } + ] + }, + + //--------------------------------------------------------------------------- + // CONTENT + //--------------------------------------------------------------------------- + + "regular_sign_text_multiline@sign.base_sign_text_multiline": { + "size": [ 185, 90 ], + "$text_background_default": "sign.sign_background", + "$text_background_hover": "sign.sign_background" + }, + + "hanging_sign_text_multiline@sign.base_sign_text_multiline": { + "size": [ 126, 90 ], + "$text_background_default": "sign.hanging_sign_background", + "$text_background_hover": "sign.hanging_sign_background" + }, + + "sign_screen_content": { + "type": "panel", + "controls": [ + { + "input_eating_panel": { + "type": "input_panel", + "layer": 2, + "size": [ "100%c", "100%c" ], + "focus_enabled": false, + // Ensure the entire text edit box is visible over the virtual keyboard + "$virtual_keyboard_buffer_control": "text_edit", + "controls": [ + { "text_edit@$sign_text_multiline": {} } + ] + } + }, + { + "invisible_exit_background": { + "type": "input_panel", + "layer": 1, + "size": [ "100%", "100%" ], + "focus_enabled": true, + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_exit", + "mapping_type": "pressed" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // SCREEN + //--------------------------------------------------------------------------- + + "sign_screen@common.base_screen": { + "$screen_content": "sign.sign_screen_content", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "$close_on_player_hurt|default": true, + "close_on_player_hurt": "$close_on_player_hurt" + } +} diff --git a/resource_pack/ui/simple_inprogress_screen.json b/resource_pack/ui/simple_inprogress_screen.json new file mode 100644 index 0000000..33852a0 --- /dev/null +++ b/resource_pack/ui/simple_inprogress_screen.json @@ -0,0 +1,96 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "simple_inprogress", + + "title_text": { + "type": "label", + "layer": 2, + "text": "xbl.savePurchase.saveButton", + "color": "$title_text_color", + "shadow": false + }, + + "main_panel": { + "type": "panel", + "size": "$dialog_size", + "controls": [ + { + "common_panel@common.common_panel": { + "size": [ "100%", "100%" ], + "$dialog_background": "dialog_background_hollow_3" + } + }, + { + "title@simple_inprogress.title_text": { + "offset": [ 10, 9 ], + "size": [ "100%", 15 ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "text": "#in_progress_title", + "bindings": [ + { + "binding_name": "#in_progress_title" + } + ] + } + }, + { + "main_content": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-21px", "100%-52px" ], + "offset": [ 10, 24 ], + "type": "label", + "layer": 1, + "$in_progress_text_binding": "#in_progress_text_binding", + "text": "$in_progress_text_binding", + "color": "$sub_header_text_color", + "shadow": false, + "bindings": [ + { + "binding_name": "$in_progress_text_binding", + "binding_condition": "once" + } + ] + } + }, + { + "progress_loading_bars@play.progress_loading_bars": { + "offset": [ 0, 20 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + + "simple_inprogress_screen@common.base_screen": { + "$dialog_size": [ 200, 100 ], + "$screen_content": "simple_inprogress.simple_inprogress_screen_content", + "force_render_below": true + }, + + "simple_inprogress_screen_content": { + "type": "panel", + "controls": [ + { + "root_panel": { + "type": "panel", + "controls": [ + { "main_panel@simple_inprogress.main_panel": { "layer": 1 } } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/skin_pack_purchase_screen.json b/resource_pack/ui/skin_pack_purchase_screen.json new file mode 100644 index 0000000..501eaa2 --- /dev/null +++ b/resource_pack/ui/skin_pack_purchase_screen.json @@ -0,0 +1,692 @@ +{ + "namespace": "skin_pack_purchase", + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "cycle_pack_left_button@common_store.cycle_pack_left_button": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$chevron_image_name": "textures/ui/chevron_left", + "$pressed_button_name": "button.cycle_skins_left", + "$cycle_pack_button_name_right": "button.cycle_skins_right", + "$cycle_pack_button_name_left": "button.cycle_skins_left", + "$gamepad_helper_icon_size": [ 15, 15 ], + "$cycle_pack_button_enabled": "#skin_cycle_pack_left_button_enabled", + "$cycle_pack_button_up_right_refusal": true + }, + + "cycle_pack_right_button@common_store.cycle_pack_right_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$chevron_image_name": "textures/ui/chevron_right", + "$pressed_button_name": "button.cycle_skins_right", + "$cycle_pack_button_name_right": "button.cycle_skins_right", + "$cycle_pack_button_name_left": "button.cycle_skins_left", + "$gamepad_helper_icon_size": [ 15, 15 ], + "$cycle_pack_button_enabled": "#skin_cycle_pack_right_button_enabled", + "$cycle_pack_button_up_right_refusal": true + }, + + "skin_model": { + "type": "panel", + "size": "$skin_model_size", + "clips_children": true, + "controls": [ + { + "paper_doll": { + "type": "custom", + "offset": "$skin_model_offset", + "renderer": "paper_doll_renderer", + "layer": 5, + + "animation_reset_name": "screen_animation_reset", + "$skin_model_animations|default": [], + "variables": [ + { + "requires": "$screen_transitions_enabled", + "$skin_model_animations": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_immediate" + ] + } + ], + + "anims": "$skin_model_animations", + "anchor_from": "$skin_model_anchor_from", + "anchor_to": "$skin_model_anchor_to", + "use_selected_skin": false, + "enable_scissor_test": true, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "skins_collection", + "binding_name": "#skin_index" + }, + { + // Used to hide the long animation when popping + "binding_type": "collection", + "binding_collection_name": "skins_collection", + "binding_name_override": "#visible", + "binding_name": "#skin_animations" + } + ] + } + } + ] + }, + + "skin_lock": { + "type": "image", + "layer": 6, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ 8, 8 ], + "offset": "$skin_lock_offset", + "texture": "textures/ui/lock", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_name": "#skin_lock_visible", + "binding_name_override": "#visible", + "binding_collection_name": "skins_collection" + } + ] + }, + + "skin_focus_border@common.focus_border_white": { + "size": "$highlight_size", + "layer": 12, + "$button_content": "skin_pack_purchase.equip_button_text", + "controls": [ + { + "equip@skin_pack_purchase.equip_button_state_panel": { + "size": [ "100% - 8px", 25 ], + "offset": [ 0, -2 ], + "layer": 12, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "skin_button_panel_gamepad": { + "type": "panel", + "controls": [ + { + "skin_button": { + "type": "button", + "focus_enabled": true, + "focus_wrap_enabled": false, + "layer": 12, + "hover_control": "hover", + "pressed_control": "pressed", + "$pressed_button_name": "button.equip_skin", + "$highlight_size|default": [ "100% - 1px", "100%" ], + + "$button_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$pressed_alpha|default": 1, + "$button_type_panel|default": "common_buttons.button_content_panel", + "$button_content|default": "common.empty_panel", + "$button_state_panel|default": "common_buttons.new_ui_button_panel", + + "$default_button_alpha|default": 1, + "$default_hover_alpha|default": 1, + "$default_pressed_alpha|default": 1, + "$border_default_alpha|default": 1, + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$default_state_border_visible|default": true, + "$hover_state_border_visible|default": true, + "$pressed_state_border_visible|default": true, + + "$default_button_texture|default": "textures/ui/button_borderless_light", + "$default_content_alpha|default": 1, + "$hover_content_alpha|default": 1, + "$hover_button_texture|default": "textures/ui/button_borderless_lighthover", + "$pressed_button_texture|default": "textures/ui/button_borderless_lightpressed", + "$default_font|default": "default", + "$font_type": "$default_font", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "skins_collection" + }, + { + "binding_condition": "once", + "binding_type": "collection", + "binding_collection_name": "skins_collection", + "binding_name": "#grid_button_focus_id", + "binding_name_override": "#focus_identifier" + } + ], + "button_mappings": [ + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.cycle_skins_right", + "mapping_type": "focused", + "handle_select": false + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.cycle_skins_left", + "mapping_type": "focused", + "handle_select": false + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + "controls": [ + { + "hover@skin_pack_purchase.skin_focus_border": { + "size": "$highlight_size", + "layer": 12, + "$button_alpha": "$default_hover_alpha", + "$hover_state": true, + "$new_ui_button_texture": "$hover_button_texture", + "$text_color": "$light_button_hover_text_color", + "$secondary_text_color": "$light_button_secondary_hover_text_color", + "$glyph_color": "$light_glyph_hover_color", + "$content_alpha": "$hover_content_alpha", + "$border_color": "$light_border_hover_color", + "$border_visible": "$hover_state_border_visible", + "$border_layer": 3 + } + }, + { + "pressed@skin_pack_purchase.skin_focus_border": { + "size": "$highlight_size", + "layer": 12, + "$button_alpha": "$default_pressed_alpha", + "$pressed_state": true, + "$new_ui_button_texture": "$pressed_button_texture", + "$text_color": "$light_button_pressed_text_color", + "$secondary_text_color": "$light_button_secondary_pressed_text_color", + "$glyph_color": "$light_glyph_pressed_color", + "$content_alpha": "$pressed_alpha", + "$button_offset": "$button_pressed_offset", + "$border_color": "$light_border_pressed_color", + "$border_visible": "$pressed_state_border_visible", + "$border_layer": 3 + } + } + ] + } + } + ] + }, + + "skin_button_panel_not_gamepad": { + "type": "panel", + "controls": [ + { + "skin_button": { + "type": "button", + "focus_enabled": true, + "layer": 12, + "hover_control": "hover", + "pressed_control": "pressed", + "$highlight_size|default": [ "100% - 1px", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "skins_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "skins_collection", + "binding_name": "#grid_button_focus_id", + "binding_name_override": "#focus_identifier" + } + ], + "button_mappings": [ + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover@common.focus_border_white": { + "size": "$highlight_size", + "layer": 12 + } + }, + { + "pressed@common.focus_border_white": { + "size": "$highlight_size", + "layer": 12 + } + } + ] + } + }, + { + "equip_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.equip_skin", + "size": [ "100% - 8px", 25 ], + "offset": [ 0, -2 ], + "layer": 12, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "focus_enabled": true, + "$button_content": "skin_pack_purchase.equip_button_text", + "$button_state_panel": "skin_pack_purchase.equip_button_state_panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "skins_collection" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + } + ] + } + } + ] + }, + + //Main panel that decides which skin_pad_panel to show the player + "skin_button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "gamepad@skin_pack_purchase.skin_button_panel_gamepad": { + "bindings": [ + { + "binding_name": "#skin_button_game_pad_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "not_gamepad@skin_pack_purchase.skin_button_panel_not_gamepad": { + "bindings": [ + { + "binding_type": "view", + "source_control_name": "gamepad", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + } + ] + }, + + "equip_button_state_panel": { + "type": "panel", + "controls": [ + { + "button_panel@common_buttons.new_ui_button_panel": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "skins_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "skins_collection", + "binding_name": "#skin_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "equip_button_text": { + "type": "panel", + "size": [ "100% - 2px", "100% - 2px" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "anchor_from": "center", + "anchor_to": "center", + "text_alignment": "center", + "color": "$text_color", + "text": "store.mashup.equipSkin" + } + } + ] + }, + + "skins_grid_item": { + "type": "panel", + "size": "$skins_grid_item_size", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "model@skin_pack_purchase.skin_model": {} + }, + { + "lock@skin_pack_purchase.skin_lock": {} + }, + { + "button@skin_pack_purchase.skin_button_panel": {} + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "skins_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "skins_collection", + "binding_name": "#valid_skin_offer_index", + "binding_name_override": "#visible" + } + ] + }, + + "skins_grid": { + "type": "grid", + "grid_item_template": "skin_pack_purchase.skins_grid_item", + "grid_dimension_binding": "#skins_grid_dimensions", + "collection_name": "skins_collection", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#skins_grid_dimensions" + } + ] + }, + + "skins_panel": { + "type": "panel", + "clip_state_change_event": "skin_pack_clip_event", + "$grid_size|default": [ "100% - 4px", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "controls": [ + { + "bg": { + "type": "panel", + "size": "$grid_size", + + "$cycle_pack_button_factory_collection_details": "$store_factory_collection_details", + "$cycle_pack_button_factory_collection_prefix": "$store_factory_collection_prefix", + "$cycle_pack_button_factory_collection_name": "$store_factory_collection_name", + + "$cycle_pack_button_binding_type": "$store_factory_binding_type", + "$cycle_pack_button_collection": "$store_factory_collection_name", + + "$ignore_cycle_buttons": false, + + "controls": [ + { + "left@skin_pack_purchase.cycle_pack_left_button": { + "size": [ 20, "100%" ] + } + }, + { + "sg@skin_pack_purchase.skins_grid": { + "size": "$skins_grid_size", + "anchor_from": "center", + "anchor_to": "center" + } + }, + { + "right@skin_pack_purchase.cycle_pack_right_button": { + "size": [ 20, "100%" ] + } + }, + { + "progress_loading_panel": { + "type": "panel", + "controls": [ + { + "progress_loading@common_store.progress_loading": { + "layer": 10, + "bindings": [] + } + }, + { + "progress_loading_outline": { + "type": "button", + "layer": 12, + + "focus_enabled": true, + "focus_wrap_enabled": false, + + "hover_control": "hover", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#is_loading_outline_visible", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "to_button_id": "button.loading_outline_unhovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover@common.focus_border_white": { + "size": [ "100% - 1px", "100%" ], + "layer": 12 + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#skin_pack_loading_progress_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Screens + //-------------------------------------------------------------------------------- + + "screen_root@common_store.store_base_screen": { + "$screen_header_title_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ] + }, + + "skin_pack_purchase_upsell_screen@screen_root": { + "$this_screen_content": "@skin_pack_purchase.upsell_content", + "$skins_grid_size": [ "82%", "100% - 2px" ], + "$skins_grid_item_size": [ 35, "100%" ], + "$skin_model_size": [ "100%", "100%" ], + "$skin_model_offset": [ 0, -5 ], + "$skin_model_anchor_from": "center", + "$skin_model_anchor_to": "center", + "$skin_lock_offset": [ -3, -4.0 ], + "$screen_content": "skin_pack_purchase.skin_pack_purchase_upsell_screen_content" + }, + + "skin_pack_purchase_upsell_screen_content@common_store.store_dialog_with_coin_header": { + "size": "$upsell_screen_size", + "max_size": "$max_upsell_screen_size", + "$image_panel_size": [ "100% - 4px", "fill" ], + "$details_panel_size": [ "100%", 95 ], + "$child_control": "skin_pack_purchase.skin_pack_purchase_upsell_dialog_content", + "$text_name": "$pack_name" + }, + + "skin_pack_purchase_upsell_dialog_content": { + "type": "panel", + "controls": [ + { + "container": { + "type": "panel", + "layer": 1, + "controls": [ + { "$this_screen_content": {} } + ] + } + } + ] + }, + + "skin_pack_purchase_standard@screen_root": { + "$this_screen_content": "@skin_pack_purchase.standard_content", + "$skins_grid_size": [ "100% - 40px", "100% - 2px" ], + "$skins_grid_item_size": [ 50, "100%" ], + "$skin_model_size": [ "100%", "100% - 4px" ], + "$skin_model_offset": [ 0, -6 ], + "$skin_model_anchor_from": "center", + "$skin_model_anchor_to": "center", + "$skin_lock_offset": [ -4, -2.5 ], + "$screen_content": "skin_pack_purchase.skin_pack_purchase_standard_content" + }, + + "skin_pack_purchase_standard_content@common_store.store_dialog_with_coin_header": { + "size": "$skin_pack_screen_size", + "max_size": "$max_skin_pack_screen_size", + "$image_panel_size": [ "100% - 4px", "100% - 98px" ], + "$details_panel_size": [ "100%", 94 ], + "$child_control": "skin_pack_purchase.skin_pack_purchase_dialog_content", + "$text_name": "$pack_name" + }, + + "skin_pack_purchase_dialog_content": { + "type": "panel", + "controls": [ + { + "container": { + "type": "panel", + "layer": 1, + "controls": [ + { "$this_screen_content": {} } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/skin_picker_screen.json b/resource_pack/ui/skin_picker_screen.json new file mode 100644 index 0000000..60c378a --- /dev/null +++ b/resource_pack/ui/skin_picker_screen.json @@ -0,0 +1,1617 @@ +{ + "namespace": "skin_picker", + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners" + }, + + "title_label": { + "type": "label", + "size": [ "default", "default" ], + "color": "$title_text_color" + }, + + "label": { + "type": "label", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ], + "color": "$main_header_text_color" + }, + + "chevron_image": { + "type": "image", + "layer": 1, + "size": [ 4, 7 ], + "texture": "$chevron_image_name" + }, + + "bumper_image": { + "type": "image", + "layer": 1, + "size": [ 13, 13 ] + }, + + "undo_image": { + "type": "image", + "texture": "textures/ui/undoArrow", + "color": "$custom_color", + "size": [ 14, 14 ] + }, + + "plus_icon": { + "type": "image", + "texture": "textures/ui/plus", + "color": "$glyph_color", + "size": [ 11, 11 ] + }, + + "direction_button_panel": { + "type": "panel", + "controls": [ + { + "chevron_image@skin_picker.chevron_image": { + "bindings": [ + { + "binding_name": "(not #is_using_gamepad_icon)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bumper_image@skin_picker.bumper_image": { + "bindings": [ + { + "binding_name": "$bumper_texture_bind", + "binding_name_override": "#texture" + }, + { + "binding_name": "#is_using_gamepad_icon", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "cycle_pack_button@common_buttons.light_content_button": { + "$button_content": "skin_picker.direction_button_panel" + }, + + "cycle_pack_left_button@cycle_pack_button": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$chevron_image_name": "textures/ui/chevron_left", + "$bumper_texture_bind": "#left_bumper", + "$pressed_button_name": "button.cycle_pack_left" + }, + + "cycle_pack_right_button@cycle_pack_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$chevron_image_name": "textures/ui/chevron_right", + "$bumper_texture_bind": "#right_bumper", + "$pressed_button_name": "button.cycle_pack_right" + }, + + "skin_button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "layer": 3, + "hover_control": "hover", + "pressed_control": "pressed", + "$highlight_size|default": [ "100% - 1px", "100% - 2px" ], + "controls": [ + { + "hover@common.focus_border_white": { + "size": "$highlight_size" + } + }, + { + "pressed@common.focus_border_white": { + "size": "$highlight_size" + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Preview Skin Panel + //-------------------------------------------------------------------------------- + + "skin_rotation_arrows": { + "type": "image", + "layer": 6, + "texture": "textures/ui/Rotate", + "color": [ 0.6, 0.6, 0.6 ] + }, + + "skin_viewer_panel": { + "type": "input_panel", + "layer": 3, + "anchor_from": "top_left", + "anchor_to": "top_left", + "gesture_tracking_button": "button.turn_doll", + "always_handle_controller_direction": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "custom_skin_button@common_buttons.light_text_form_fitting_button": { + "$button_text_max_size": [ 120, 10 ], + "$pressed_button_name": "button.choose_custom_skin", + "$focus_id": "custom_focus_id", + "$focus_override_down": "accept_focus_id", + "$focus_override_up": "accept_focus_id", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "ignored": "($image_picking_not_supported or $education_edition)", + "$button_text": "skins.picker.custom.button", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 4 ], + "layer": 6, + "bindings": [ + { + "binding_name": "#show_reload_custom_skin_button", + "binding_name_override": "#visible" + } + ] + } + }, + { + "skin_model_panel": { + "type": "panel", + "size": [ "100%", "76%" ], + "offset": [ 0, -38 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + + "controls": [ + { + "skin_model": { + "type": "custom", + "renderer": "paper_doll_renderer", + "layer": 5, + "use_selected_skin": false, + "use_player_paperdoll": true, + "use_skin_gui_scale": true, + "rotation": "gesture_x", + + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@skin_picker.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#preview_skin" + }, + { + "binding_type": "view", + "source_control_name": "preview", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "preview", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + } + } + ] + } + }, + { + "lock@skin_lock": { + "size": [ 16, 16 ], + "offset": [ 28, -6 ], + "bindings": [ + { + "binding_name": "#show_preview_skin_lock", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "screen_entrance_size_animation_pop@common.screen_entrance_size_animation_immediate": { + "duration": "$transition_time_pop", + "play_event": "screen.entrance_pop", + "resettable": true, + "from": [ "100%", "100%" ], + "to": [ "100%", "100%" ] + }, + + "undo_skin_button@common_buttons.light_glyph_button": { + "$pressed_button_name": "button.undo_skin", + "$button_content": "skin_picker.undo_image", + "$focus_id": "undo_focus_id", + "$focus_override_down": "custom_focus_id", + "$focus_override_up": "custom_focus_id", + "$focus_override_right": "accept_focus_id", + "consume_hover_events": false, + "bindings": [ + { + "binding_name": "#undo_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "accept_skin_button@common_buttons.light_text_button": { + "$button_text_binding_type": "global", + "$button_text": "#accept_skin_button_text", + "$pressed_button_name": "button.accept_skin", + "$focus_id": "accept_focus_id", + "$focus_override_down": "custom_focus_id", + "$focus_override_up": "custom_focus_id", + "$focus_override_right": "undo_focus_id", + "$focus_override_left": "undo_focus_id", + "consume_hover_events": false, + "bindings": [ + { + "binding_name": "#accept_skin_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "stack_item": { + "type": "panel" + }, + + "accept_skin_panel": { + "type": "stack_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "orientation": "horizontal", + "size": [ "100% - 4px", "100% - 2px" ], + "offset": [ 0, -2 ], + "controls": [ + { + "stack_item_0@skin_picker.stack_item": { + "size": [ "25%", "100%" ], + "controls": [ + { + "undo_btn@skin_picker.undo_skin_button": { + "default_focus_precedence": 0, + "size": [ "100%", "100%" ], + "offset": [ 0, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 2, + "$focus_id": "undo_focus_id" + } + } + ] + } + }, + { + "stack_item_1@skin_picker.stack_item": { + "size": [ "75% + 1px", "100%" ], + "controls": [ + { + "accept_button@skin_picker.accept_skin_button": { + "default_focus_precedence": 1, + "size": [ "100%", "100%" ], + "offset": [ -1, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + } + ] + } + } + ] + }, + + "appearance_status_image_panel": { + "type": "panel", + "size": [ 8, "100%" ], + "controls": [ + { + "limited_status_image": { + "type": "image", + "size": [ "100%", "100%x" ], + "bilinear": true, + "texture": "textures/ui/infobulb", + "bindings": [ + { + "binding_name": "#limited_status_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "no_restrictions_status_image": { + "type": "image", + "size": [ "100%", "100%x" ], + "bilinear": true, + "visible": false, + "texture": "textures/ui/realms_green_check", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "limited_status_image", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + } + ] + }, + + "appearance_status_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", "100% - 2px" ], + "layer": 2, + "controls": [ + { + "appearance_status_image_panel@skin_picker.appearance_status_image_panel": {} + }, + { + "padding": { + "type": "panel", + "size": [ "3px", "100%" ] + } + }, + { + "appearance_status_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "appearance_status_label": { + "type": "label", + "size": [ "100%", 10 ], + "text": "#appearance_status_brief_label", + "color": "$f_color_format", + "bindings": [ + { + "binding_name": "#appearance_status_brief_label" + } + ] + } + } + ] + } + } + ] + }, + + "preview_skin_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 2, 0 ], + "size": [ "100%", "100% - 2px" ], + "controls": [ + { + "preview@skin_picker.skin_viewer_panel": { + "size": [ "100%", "100% - 54px" ] + } + }, + { + "button_frame": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", 54 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "stack_item_0@skin_picker.stack_item": { + "size": [ "100%", 12 ], + "controls": [ + { + "rotation@skin_picker.skin_rotation_arrows": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "50%", "100% - 4px" ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "notification_and_accept_input_panel": { + "type": "input_panel", + "size": [ "100%", "fill" ], + "button_mappings": [ + { + "to_button_id": "button.is_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "notification_and_accept_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "skin_status_notification_section": { + "type": "panel", + "size": [ "100%", 14 ], + "controls": [ + { + "appearance_status_notification_panel@common_buttons.static_tooltip_notification_panel": { + "ignored": "$education_edition", + "size": [ "100% - 4px", "100%" ], + "button_mappings": [], + "consume_hover_events": false, + "focus_enabled": false, + "$static_tooltip_button_visibility_binding_name": "#is_appearance_status_visible", + "$tooltip_popup_visible_binding": "#is_appearance_status_hover_panel_visible", + "$override_tooltip_popup_image": true, + "$tooltip_popup_override_image_panel": "skin_picker.appearance_status_image_panel", + "$tooltip_text_binding_name": "#appearance_status_hover_label", + "$tooltip_panel_content": "skin_picker.appearance_status_content" + } + } + ] + } + }, + { + "stack_item_1@skin_picker.stack_item": { + "size": [ "100%", "fill" ], + "controls": [ + { "accept@skin_picker.accept_skin_panel": {} } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + + //-------------------------------------------------------------------------------- + // Change Skins Panel + //-------------------------------------------------------------------------------- + + "skin_model": { + "type": "custom", + "renderer": "paper_doll_renderer", + "layer": 5, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", "100%" ], + "offset": [ 0, -10 ], + "use_selected_skin": false, + "enable_scissor_test": true, + "animation_reset_name": "screen_animation_reset", + "$skin_model_animations|default": [], + "variables": [ + { + "requires": "$screen_transitions_enabled", + "$skin_model_animations": [ + "@expanded_skin_pack.screen_exit_size_animation_push", + "@expanded_skin_pack.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ] + } + ], + + "anims": "$skin_model_animations", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "premium_packs_collection", + "binding_collection_prefix": "packs" + }, + { + "binding_type": "collection", + "binding_collection_name": "premium_skins_collection", + "binding_name": "#skin_index" + } + ] + }, + + "premium_skin_button@skin_picker.skin_button": { + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "premium_skins_collection", + "binding_collection_prefix": "skins" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "premium_packs_collection", + "binding_collection_prefix": "packs" + }, + { + "binding_type": "collection", + "binding_collection_name": "premium_skins_collection", + "binding_name": "#focus_override_right", + "binding_name_override": "#focus_change_right" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.view_premium_skin", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.view_premium_skin", + "mapping_type": "focused" + }, + { + "to_button_id": "button.premium_skin_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.premium_skin_unhovered", + "mapping_type": "pressed" + } + ] + }, + + "skin_lock": { + "type": "image", + "layer": 6, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ 8, 8 ], + "offset": [ 13, -2 ], + "texture": "textures/ui/lock", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "premium_packs_collection", + "binding_collection_prefix": "packs" + }, + { + "binding_type": "collection", + "binding_name": "#skin_lock_visible", + "binding_name_override": "#visible", + "binding_collection_name": "premium_skins_collection" + } + ] + }, + + "new_pack_icon": { + "type": "panel", + "layer": 6, + "controls": [ + { + "icon@common_store.new_offer_icon": { + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + }, + + "pack_lock": { + "type": "panel", + "layer": 3, + "visible": "(not $education_edition)", + "controls": [ + { + "locked": { + "type": "image", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 8, 8 ], + "offset": [ 1, 1 ], + "texture": "textures/ui/lock", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#show_pack_locked", + "binding_name_override": "#visible", + "binding_collection_name": "premium_packs_collection" + } + ] + } + }, + { + "unlocked": { + "type": "image", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 10, 8 ], + "offset": [ 0, 1 ], + "texture": "textures/ui/unLock", + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#show_pack_unlocked", + "binding_name_override": "#visible", + "binding_collection_name": "premium_packs_collection" + } + ] + } + } + ] + }, + + "skin_input_panel": { + "type": "input_panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "sg@skins_grid": {} + } + ] + }, + + + "skins_grid_item": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "default", "100%" ], + "controls": [ + { + "clip": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 2px" ], + "offset": [ 0, 2 ], + "clips_children": true, + "controls": [ + { + "model@skin_model": {} + } + ] + } + }, + { + "lock@skin_lock": {} + }, + { + "button@skin_picker.premium_skin_button": {} + } + ] + }, + + "skins_grid": { + "type": "grid", + "$skins_grid_size|default": [ "80%", "100%" ], + "$skins_grid_offset|default": [ "10%", 0 ], + "size": "$skins_grid_size", + "offset": "$skins_grid_offset", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "grid_item_template": "skin_picker.skins_grid_item", + "grid_dimension_binding": "#premium_skins_grid_dimensions", + "collection_name": "premium_skins_collection", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "premium_packs_collection" + }, + { + "binding_name": "#premium_skins_grid_dimensions" + } + ] + }, + + "pack_name": { + "type": "label", + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "color": "$main_header_text_color", + "text": "#pack_name", + "enable_profanity_filter": false, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "premium_packs_collection", + "binding_name": "#pack_name" + } + ] + }, + + "pack_grid_item": { + "type": "panel", + "size": [ "100%", 85 ], + "offset": [ 2, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "header": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", 10 ], + "offset": [ 0, 0 ], + "controls": [ + { + "padding": { + "type": "panel", + "visible": "$education_edition", + "size": [ 3, "100%" ] + } + }, + { + "pack_lock@skin_picker.pack_lock": { + "size": [ 20, "100%" ] + } + }, + { + "pack_name@skin_picker.pack_name": { + "size": [ "default", "100%" ], + "max_size": [ "100% - 56px", "100%" ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "new_pack_icon@skin_picker.new_pack_icon": { + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_type": "collection", + "binding_name": "#show_new_pack_icon", + "binding_name_override": "#visible", + "binding_collection_name": "premium_packs_collection" + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "fill", "100%" ] + } + } + ] + } + }, + { + "bg@banner_fill": { + "size": [ "100% - 4px", "100% - 13px" ], + "offset": [ 0, 4.5 ], + "controls": [ + { + "skin_input_panel@skin_input_panel": { + "size": [ "90%", "100%" ], + "$skins_grid_size": [ "100%", "100%" ], + "$skins_grid_offset": [ 0, 0 ] + } + }, + { + "expand_view_button@common_buttons.light_glyph_button": { + "size": [ "10%", "100%" ], + "$pressed_button_name": "button.expand_view", + "$button_content": "skin_picker.plus_icon", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "premium_packs_collection" + } + ] + } + }, + { + "progress_loading_no_connection@common_store.progress_loading": { + "$hide_failure_text": false, + "layer": 100, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "premium_packs_collection" + }, + { + "binding_name": "#pack_loading_no_connection_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "$hide_failure_text": true, + "layer": 100, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "premium_packs_collection" + }, + { + "binding_name": "#pack_loading_progress_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "premium_packs_grid": { + "type": "grid", + "anchor_from": "top_left", + "anchor_to": "top_left", + "grid_item_template": "skin_picker.pack_grid_item", + "grid_dimension_binding": "#premium_packs_grid_dimensions", + "collection_name": "premium_packs_collection", + "bindings": [ + { + "binding_name": "#premium_packs_grid_dimensions" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Recent and Default Skins + //-------------------------------------------------------------------------------- + + "standard_skin_button@skin_button": { + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$button_id", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$button_id", + "mapping_type": "global" + } + ] + }, + + // + // Default Skins Grid + // + + "default_skins_grid_item": { + "type": "panel", + "size": [ "default", "100%" ], + "controls": [ + { + "model@skin_model": { + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "default_skins_collection", + "binding_name": "#skin_index" + } + ] + } + }, + { + "button@standard_skin_button": { + "$collection": "default_skins_collection", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.view_default_skin", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.view_default_skin", + "mapping_type": "focused" + }, + { + "to_button_id": "button.default_skin_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + } + ] + } + } + ] + }, + + "default_skins_grid": { + "type": "grid", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", "100%" ], + "grid_item_template": "skin_picker.default_skins_grid_item", + "grid_dimension_binding": "#default_skins_grid_dimensions", + "collection_name": "default_skins_collection", + "bindings": [ + { + "binding_name": "#default_skins_grid_dimensions" + } + ] + }, + + // + // Recent Skins Grid + // + + "recent_skins_grid_item": { + "type": "panel", + "size": [ "default", "100%" ], + "controls": [ + { + "clip": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100% - 2px" ], + "offset": [ 0, 2.0 ], + "clips_children": true, + "controls": [ + { + "model@skin_model": { + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "recent_skins_collection", + "binding_name": "#skin_index" + } + ] + } + } + ] + } + }, + { + "button@standard_skin_button": { + "$collection": "recent_skins_collection", + "variables": [ + { + "requires": "$desktop_screen", + "$highlight_size": [ 32, "100% - 2px" ] + }, + { + "requires": "$pocket_screen", + "$highlight_size": [ 41, "100% - 2px" ] + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.view_recent_skin", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.view_recent_skin", + "mapping_type": "focused" + }, + { + "to_button_id": "button.recent_skin_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + } + ] + } + } + ] + }, + + "recent_skins_grid": { + "type": "grid", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", "100%" ], + "grid_item_template": "skin_picker.recent_skins_grid_item", + "grid_dimension_binding": "#recent_skins_grid_dimensions", + "collection_name": "recent_skins_collection", + "bindings": [ + { + "binding_name": "#recent_skins_grid_dimensions" + }, + { + "binding_name": "#is_recent_grid_ready", + "binding_name_override": "#visible" + } + ] + }, + + "standard_frame": { + "type": "panel", + "size": [ "50% - 1px", "100%" ], + "offset": [ 2, 2 ] + }, + + "standard_header@label": { + "layer": 3, + "size": [ "100%", 10 ], + "offset": [ 1, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "standard_fill@banner_fill": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 4px", "100% - 15px" ], + "offset": [ 0, 11 ] + }, + + "standard_panel": { + "type": "panel", + "controls": [ + { + "default_skins@standard_frame": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "header@standard_header": { + "text": "skins.picker.default" + } + }, + { + "fill@standard_fill": { + "controls": [ + { + "default_skins_grid@default_skins_grid": {} + } + ] + } + } + ] + } + }, + { + "recent_skins@standard_frame": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "header@standard_header": { + "text": "skins.picker.recent" + } + }, + { + "fill@standard_fill": { + "controls": [ + { + "recent_skins_grid@recent_skins_grid": {} + }, + { + "recent_skins_loading_panel@common_store.progress_loading": { + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "$source_control_name": "recent_skins_grid", + "$source_property_name": "(not #visible)" + } + } + ] + } + } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Scrolling Skins Panel + //-------------------------------------------------------------------------------- + + "scrolling_content_stack": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "standard_panel@standard_panel": { + "size": [ "100%", 87 ] + } + }, + { + "premium_packs_grid@premium_packs_grid": { + "size": [ "100%", "default" ] + } + } + ] + }, + + "all_skins_content": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 3, 0 ], + "size": [ "100% - 3px", "100% - 2px" ], + "controls": [ + { + "scrolling_frame": { + "type": "panel", + "controls": [ + { + "change_skin_scroll@common.scrolling_panel": { + "$scrolling_pane_size": [ "100%", "100%" ], + "$scroll_size": [ "5px", "100% - 4px" ], + "$scrolling_content": "skin_picker.scrolling_content_stack", + "$show_background": false, + "$bar_visible": false, + "bindings": [ + { + "binding_name": "#skin_content_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100% + 4px", "100% + 1px" ], + "offset": [ -3, -1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$banner_fill_alpha": 0.75, + "layer": 100, + "bindings": [ + { + "binding_name": "#skin_search_progress_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "all_skins_frame": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "offset": [ 0, 0 ], + "controls": [ + { "all_skins_content@all_skins_content": {} } + ] + }, + + //-------------------------------------------------------------------------------- + // Title bar + //-------------------------------------------------------------------------------- + + "title_bar": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 21 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 28, "100%" ] + } + }, + { + "fill_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "layer": 2, + "controls": [ + { + "title_holder": { + "type": "panel", + // This lets the main title start overlapping the padding + // between it and the skin name once it can't move any farther + // to the left as the skin name approaches its max size. + "size": [ "100%", "100%" ], + "min_size": [ "100%c", "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "change_skin_title@skin_picker.title_label": { + "text": "skins.picker.title", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 17, "100%" ] + } + }, + { + "skin_name_holder": { + "type": "panel", + "layer": 2, + "min_size": [ "40% - 32px", "100%" ], + "size": [ "100%c", "100%" ], + "controls": [ + { + "preview_skin_name@skin_picker.title_label": { + "visible": "(not $education_edition)", + "text": "#skin_name", + "enable_profanity_filter": false, + // In the edge case where the skin name is too long to fit, + // even with the main title pushed as far to the left as it can + // go, then the skin name should truncate. Since the label's + // parent control has a width of "100%c", this truncation must + // be due to a hard pixel limit for the label width. This limit + // should be the pixels available at the smallest possible + // screen width (320 on pocket) with the largest possible main + // title (es_ES, "Seleccionar aspecto"). + // 320 - 4 (padding around dialog) - 10 (padding around content) + // - 3 (padding to the left of main title) + // - 15 (close button) - 103 (texels for es_ES main title) + // - 4 (space between title and skin name) + // = 181 pixels, or about 30 characters, plus a bit more if + // enough of those characters are narrow ones. + // Marketing should avoid skin names longer than this. + "size": [ "default", 10 ], + "max_size": [ 181, 10 ], + "bindings": [ + { + "binding_type": "global", + "binding_name": "#skin_name" + } + ] + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 15, "100%" ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Popup Dialog + //-------------------------------------------------------------------------------- + + "popup_dialog_skin_model": { + "type": "panel", + "size": [ "80%", "80%" ], + "offset": [ 0, -6 ], + + "controls": [ + { + "paper_doll": { + "type": "custom", + "layer": 100, + "renderer": "paper_doll_renderer", + "use_selected_skin": false, + "bindings": [ + { "binding_name": "$button_model_type" } + ] + } + } + ] + }, + + "popup_dialog_choose_skin_type_button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "hover_control": "hover", + "pressed_control": "pressed", + "size": [ "80%", "80%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -2 ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + "controls": [ + { + "hover@common.focus_border_white": {} + }, + { + "pressed@common.focus_border_white": {} + } + ] + }, + + "popup_dialog_choose_skin_type_panel": { + "type": "panel", + "controls": [ + { + "model@skin_picker.popup_dialog_skin_model": { + } + }, + { + "button_highlight@popup_dialog_choose_skin_type_button": {} + } + ] + }, + + "popup_dialog__invalid_custom_skin@popup_dialog.popup_dialog": { + "$middle_button_press": "button.close_dialog", + "$message_text": "skins.information.invalidCustomSkin", + "$middle_button_text": "gui.ok", + "controls": [ + { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} }, + { "popup_dialog_message@popup_dialog.popup_dialog_message": {} }, + { "popup_dialog_middle_button@popup_dialog.popup_dialog_middle_button": {} } + ] + }, + + "popup_dialog__upsell_without_store@popup_dialog__invalid_custom_skin": { + "$message_text": "skins.information.upsellWithoutStore" + }, + + "popup_dialog__choose_skin_type@popup_dialog.popup_dialog": { + "$message_text": "skins.information.selectSkin", + "controls": [ + { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} }, + { "popup_dialog_message@popup_dialog.popup_dialog_message": {} }, + { + "left@popup_dialog_choose_skin_type_panel": { + "$pressed_button_name": "button.choose_skinny", + "$button_model_type": "#skinny_skin_index", + "size": [ "50%", "80%" ], + "layer": 1, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "right@popup_dialog_choose_skin_type_panel": { + "$pressed_button_name": "button.choose_fat", + "$button_model_type": "#fat_skin_index", + "size": [ "50%", "80%" ], + "layer": 1, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_left" + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Root Controls + //-------------------------------------------------------------------------------- + + "content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "title@skin_picker.title_bar": {} }, + { "selector_area@skin_picker.selector_area": {} }, + { "content_area@skin_picker.content_area": {} }, + { "section_divider@skin_picker.section_divider": {} } + ] + }, + + "skin_picker_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "skin_picker.skin_picker_screen_content", + "$screen_bg_content": "persona.persona_screen_background_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": true + }, + + "skin_picker_screen_content@common.common_panel": { + "type": "panel", + "layer": 1, + "controls": [ + { + "bg@common.fullscreen_header": { + "$dialog_background": "dialog_background_hollow_3", + "$show_divider": true, + "$divider_offset": [ "60% - 1px", "22px" ] + } + }, + { + "container": { + "type": "panel", + "layer": 1, + "controls": [ + { "content@skin_picker.content": {} } + ] + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "invalid_custom_skin": "@skin_picker.popup_dialog__invalid_custom_skin", + "choose_skin_type": "@skin_picker.popup_dialog__choose_skin_type", + "upsell_without_store": "@skin_picker.popup_dialog__upsell_without_store" + } + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Controller Focus + //-------------------------------------------------------------------------------- + + "scrollable_selector_area_content": { + "type": "panel", + "offset": [ "2px", "2px" ], + "size": [ "100% - 4px", "100%c + 4px" ], + "controls": [ + { "$selector_stack_panel@$selector_stack_panel": {} } + ] + }, + + // left side + "selector_area@common.modal_area_panel_base": { + "offset": [ "0px", "23px" ], + "size": [ "60%", "100% - 21px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$menu_cancel_button_id": "button.menu_exit", + "$modal_binding_name": "#selector_area_focused", + "layer": 2, + "controls": [ + { + "all_skins@all_skins_frame": {} + }, + { + "inactive_modal_pane_fade@common.inactive_modal_pane_fade": { + "bindings": [ + { + "binding_name": "#content_area_focused", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // right side + "content_area@common.modal_area_panel_base": { + "offset": [ -2, 23 ], + "size": [ "40% - 4px", "100% - 21px" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$menu_cancel_button_id": "button.back_to_selector_area", + "$modal_binding_name": "#content_area_focused", + "layer": 1, + "controls": [ + { + "preview_skin@preview_skin_panel": {} + }, + { + "inactive_modal_pane_fade@common.inactive_modal_pane_fade": { + "bindings": [ + { + "binding_name": "#selector_area_focused", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + // divider between two sides + "section_divider": { + "type": "image", + "offset": [ "60%", "22px" ], + "size": [ "4px", "100% - 22px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 3, + "texture": "textures/ui/HowToPlayDivider" + } +} diff --git a/resource_pack/ui/smithing_table_2_screen.json b/resource_pack/ui/smithing_table_2_screen.json new file mode 100644 index 0000000..fea703e --- /dev/null +++ b/resource_pack/ui/smithing_table_2_screen.json @@ -0,0 +1,636 @@ +{ + "namespace": "smithing_table_2", + + //------------------------------------------------------------------------------------ + // #region Icon and text area (top quarter of screen) + //------------------------------------------------------------------------------------ + + "smithing_icon": { + "type": "image", + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/smithing_icon", + "size": [ 30, 30 ], + "layer": 1 + }, + + "upgrade_label": { + "type": "label", + "color": "$title_text_color", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "80%", "30%" ], + "offset": [ "30%", 0 ], + "layer": 1, + "text": "container.smithing_table.upgrade" + }, + + // Panel to position the top quarter of screen + "icon_and_text_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "65%", "40%" ], + "offset": [ 0, 0 ], + "controls": [ + { "smithing_icon_panel@smithing_table_2.smithing_icon_panel": {} }, + { "upgrade_label@smithing_table_2.upgrade_label": {} } + ] + }, + + // Panel to position the icon + "smithing_icon_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "smithing_icon@smithing_table_2.smithing_icon": {} } + ] + }, + + // #endregion + + //------------------------------------------------------------------------------------ + // #region Recipe (template, input, material and results) area (2nd quarter of screen) + //------------------------------------------------------------------------------------ + + "smithing_image": { + "type": "image", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 1, + "offset": [ 1, 1 ], + "size": [ 16, 16 ] + }, + + "smithing_material_image_ingot@smithing_table_2.smithing_image": { + "texture": "textures/ui/ingot_image" + }, + + "arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_large", + "size": [ 18, 12 ] + }, + + "cross_out_icon_image": { + "type": "image", + "texture": "textures/ui/crossout", + "size": [ 18, 12 ] + }, + + "cross_out_icon_button": { + "type": "button", + "hover_control": "hover", + "controls": [ + { "default@smithing_table_2.cross_out_icon_image": {} }, + { + "hover@common.hover_text": { + "layer": 29, + "$hover_text_max_width": 500, + "bindings": [ + { + "binding_name": "#no_result_arrow_tooltip", + "binding_name_override": "#hover_text" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#cross_out_icon", + "binding_name_override": "#visible" + } + ] + }, + + "templates_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 2, + "frame_step": 0, // Unused + "fps": 1.0, + "easing": "linear" // Unused + }, + + "armors_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 4, + "frame_step": 0, // Unused + "fps": 1.0, + "easing": "linear" // Unused + }, + + "armors_and_tools_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 9, + "frame_step": 0, // Unused + "fps": 1.0, + "easing": "linear" // Unused + }, + + "all_materials_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 7, + "frame_step": 0, // Unused + "fps": 1.0, + "easing": "linear" // Unused + }, + + "smithing_input_image_templates@smithing_table_2.smithing_image": { + "texture": "textures/ui/templates_slot_overlay", + "uv": "@smithing_table_2.templates_animation", + "uv_size": [ 16, 16 ] + }, + + "smithing_input_image_armors@smithing_table_2.smithing_image": { + "texture": "textures/ui/armors_slot_overlay", + "uv": "@smithing_table_2.armors_animation", + "uv_size": [ 16, 16 ] + }, + + "smithing_input_image_armors_and_tools@smithing_table_2.smithing_image": { + "texture": "textures/ui/armors_and_tools_slot_overlay", + "uv": "@smithing_table_2.armors_and_tools_animation", + "uv_size": [ 16, 16 ] + }, + + "smithing_material_image_all@smithing_table_2.smithing_image": { + "texture": "textures/ui/smithing_material_slot_overlay", + "uv": "@smithing_table_2.all_materials_animation", + "uv_size": [ 16, 16 ] + }, + + "template_overlay_image": { + "type": "panel", + "controls": [ + { + "templates@smithing_table_2.smithing_input_image_templates": { + "bindings": [ + { + "binding_name": "#show_input_overlay_templates", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "input_overlay_image": { + "type": "panel", + "controls": [ + { + "armors_and_tools@smithing_table_2.smithing_input_image_armors_and_tools": { + "bindings": [ + { + "binding_name": "#show_input_overlay_armors_and_tools", + "binding_name_override": "#visible" + } + ] + } + }, + { + "armors@smithing_table_2.smithing_input_image_armors": { + "bindings": [ + { + "binding_name": "#show_input_overlay_armors", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "material_overlay_image": { + "type": "panel", + "controls": [ + { + "all_materials@smithing_table_2.smithing_material_image_all": { + "bindings": [ + { + "binding_name": "#show_material_overlay_all", + "binding_name_override": "#visible" + } + ] + } + }, + { + "ingot@smithing_table_2.smithing_material_image_ingot": { + "bindings": [ + { + "binding_name": "#show_material_overlay_ingot", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // #endregion + + "smithing_table_output_slot_button@common.container_slot_button_prototype": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.smithing_table_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.smithing_table_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.smithing_table_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.smithing_table_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.smithing_table_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.smithing_table_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.smithing_table_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "smithing_table_item_slot": { + "type": "panel", + "controls": [ + { + "container_item@common.container_item": { + "anchor_to": "center", + "anchor_from": "center", + "$hover_text_max_width": 500 + } + } + ] + }, + + "recipe_grid": { + "type": "grid", + "size": [ "100%", "90%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "grid_dimensions": [ 9, 1 ], + "controls": [ + { + "template_item_slot@smithing_table_2.smithing_table_item_slot": { + "grid_position": [ 0, 0 ], + "$item_collection_name": "smithing_table_template_items", + "$cell_overlay_ref": "smithing_table_2.template_overlay_image", + + "$focus_id_binding_type": "none", + "$focus_id": "smithing_table_template", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "smithing_table_input" + } + }, + { + "input_item_slot@smithing_table_2.smithing_table_item_slot": { + "grid_position": [ 1, 0 ], + "$item_collection_name": "smithing_table_input_items", + "$cell_overlay_ref": "smithing_table_2.input_overlay_image", + + "$focus_id_binding_type": "none", + "$focus_id": "smithing_table_input", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "smithing_table_material", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "smithing_table_template" + } + }, + { + "material_item_slot@smithing_table_2.smithing_table_item_slot": { + "grid_position": [ 2, 0 ], + "$item_collection_name": "smithing_table_material_items", + "$cell_overlay_ref": "smithing_table_2.material_overlay_image", + + "$focus_id_binding_type": "none", + "$focus_id": "smithing_table_material", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "smithing_table_input", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "smithing_table_result" + } + }, + { + "yields": { + "type": "panel", + "grid_position": [ 3, 0 ], + "size": [ "22.2%", "100%" ], // Center across two grid columns + "controls": [ + { "arrow_icon@smithing_table_2.arrow_icon": {} }, + { + "cross_out_icon@smithing_table_2.cross_out_icon_button": { + "layer": 1 + } + } + ] + } + }, + { + "result_item_slot@smithing_table_2.smithing_table_item_slot": { + "grid_position": [ 5, 0 ], + "$item_collection_name": "smithing_table_result_items", + "$button_ref": "smithing_table_2.smithing_table_output_slot_button", + + "$focus_id_binding_type": "none", + "$focus_id": "smithing_table_result", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "smithing_table_material" + } + }, + { + "result_item_preview@smithing_table_2.result_item_preview": { + "grid_position": [ 7, 0 ] + } + } + ] + }, + + "recipe_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "60%" ], + "offset": [ 0, "40%" ], + "controls": [ + { "recipe_grid@smithing_table_2.recipe_grid": {} } + ] + }, + + //------------------------------------------------------------------------------------ + // #region Result item preview + //------------------------------------------------------------------------------------ + + "result_item_preview": { + "type": "panel", + "controls": [ + { + "inner@smithing_table_2.result_item_preview_inner": {} + } + ] + }, + + "result_item_preview_inner": { + "type": "panel", + "size": [ "25px", "25px" ], + "offset": [ "2px", 0 ], + "controls": [ + { + "smithing_preview_renderer": { + "type": "custom", + "renderer": "equipment_preview_renderer", + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "layer": 8, + "rotation_x": 30, + "rotation_y": -30, + "bindings": [ + { + "binding_name": "#item_id_aux", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + }, + { + "binding_name": "#item_custom_color", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + }, + { + "binding_name": "#armor_trim_pattern", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + }, + { + "binding_name": "#armor_trim_material", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + } + ] + } + } + ] + }, + + // #endregion + + //------------------------------------------------------------------------------------ + // #region Toolbar + //------------------------------------------------------------------------------------ + + "toolbar_background": { + "type": "image", + "texture": "textures/ui/toolbar_background" + }, + + "help_button@common.help_button": { + "layer": 5, + "$focus_id": "help_button", + "$focus_override_up": "FOCUS_OVERRIDE_STOP" + }, + + "toolbar_panel@common.root_panel": { + "size": [ "100%c", 20 ], + "controls": [ + { + "toolbar_background@loom.toolbar_background": { + "size": [ "100%cm", "100% + 8px" ], + "offset": [ 0, -5 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + + "controls": [ + { + "toolbar_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + + "size": [ "default", "100% - 8px" ], + "offset": [ 0, 3 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "help_button_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { "help_button@loom.help_button": {} } + ] + } + }, + { + "close_button_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "close_button@common.light_close_button": { + "size": [ "100%cm", "100%cm" ], + "offset": [ 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 6, 0 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "toolbar_anchor": { + "type": "panel", + "size": [ 176, 166 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "toolbar_panel@smithing_table_2.toolbar_panel": { + "anchor_from": "top_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + // #endregion + + //------------------------------------------------------------------------------------ + // #region Screen + //------------------------------------------------------------------------------------ + + "top_half_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 14px", "50% - 14px" ], + "offset": [ 7, 7 ], + "controls": [ + { "icon_and_text_panel@smithing_table_2.icon_and_text_panel": {} }, + { "recipe_panel@smithing_table_2.recipe_panel": {} } + ] + }, + + "smithing_table_panel": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "controls": [ + { + "common_panel@common.common_panel": { + "$show_close_button": false + } + }, + { + "smithing_table_screen_inventory": { + "type": "panel", + "layer": 2, + "controls": [ + { "top_half_panel@smithing_table_2.top_half_panel": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "toolbar_anchor@smithing_table_2.toolbar_anchor": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + } + + // #endregion + +} diff --git a/resource_pack/ui/smithing_table_2_screen_pocket.json b/resource_pack/ui/smithing_table_2_screen_pocket.json new file mode 100644 index 0000000..f30faf6 --- /dev/null +++ b/resource_pack/ui/smithing_table_2_screen_pocket.json @@ -0,0 +1,623 @@ +{ + "namespace": "smithing_table_2_pocket", + + //------------------------------------------------------------------------------------ + // #region Backgrounds + //--------------------------------------------------------------------------- + + "smithing_table_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": -13238272, + "#collection_name": "smithing_tab", + "#collection_index": 0 + } + }, + + "smithing_image": { + "type": "image", + "anchor_to": "center", + "anchor_from": "center", + "size": [ 24, 24 ] + }, + + "smithing_material_image_ingot@smithing_table_2_pocket.smithing_image": { + "texture": "textures/ui/ingot_image" + }, + + "background_image": { + "type": "image", + "size": [ "85%", "85%" ], + "texture": "textures/ui/background_panel" + }, + + "smithing_input_image_templates@smithing_table_2_pocket.smithing_image": { + "texture": "textures/ui/templates_slot_overlay", + "uv": "@smithing_table_2.templates_animation", + "uv_size": [ 16, 16 ] + }, + + "smithing_material_image_all@smithing_table_2_pocket.smithing_image": { + "texture": "textures/ui/smithing_material_slot_overlay", + "uv": "@smithing_table_2.all_materials_animation", + "uv_size": [ 16, 16 ] + }, + + "smithing_input_image_armors@smithing_table_2_pocket.smithing_image": { + "texture": "textures/ui/armors_slot_overlay", + "uv": "@smithing_table_2.armors_animation", + "uv_size": [ 16, 16 ] + }, + + "smithing_input_image_armors_and_tools@smithing_table_2_pocket.smithing_image": { + "texture": "textures/ui/armors_and_tools_slot_overlay", + "uv": "@smithing_table_2.armors_and_tools_animation", + "uv_size": [ 16, 16 ] + }, + + "template_overlay_image": { + "type": "panel", + "controls": [ + { + "templates@smithing_table_2_pocket.smithing_input_image_templates": { + "bindings": [ + { + "binding_name": "#show_input_overlay_templates", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "input_overlay_image": { + "type": "panel", + "controls": [ + { + "armors_and_tools@smithing_table_2_pocket.smithing_input_image_armors_and_tools": { + "bindings": [ + { + "binding_name": "#show_input_overlay_armors_and_tools", + "binding_name_override": "#visible" + } + ] + } + }, + { + "armors@smithing_table_2_pocket.smithing_input_image_armors": { + "bindings": [ + { + "binding_name": "#show_input_overlay_armors", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "material_overlay_image": { + "type": "panel", + "controls": [ + { + "ingot@smithing_table_2_pocket.smithing_material_image_ingot": { + "bindings": [ + { + "binding_name": "#show_material_overlay_ingot", + "binding_name_override": "#visible" + } + ] + } + }, + { + "all_materials@smithing_table_2_pocket.smithing_material_image_all": { + "bindings": [ + { + "binding_name": "#show_material_overlay_all", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Arrow + //--------------------------------------------------------------------------- + + "arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_icon", + "size": [ 24, 16 ] + }, + + "smithing_icon": { + "type": "image", + "texture": "textures/ui/smithing_icon", + "size": [ 30, 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region labels + //--------------------------------------------------------------------------- + + "upgrade_label": { + "type": "label", + "color": "$title_text_color", + "layer": 1, + "text": "container.smithing_table.upgrade" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Slots + //--------------------------------------------------------------------------- + + "slot_grid_item": { + "type": "panel", + "controls": [ + { + "slot@common.pocket_ui_container_item": { + "$hover_text_max_width": 500 + } + } + ] + }, + + "template_slot@smithing_table_2_pocket.slot_grid_item": { + "$item_collection_name": "smithing_table_template_items", + "$cell_overlay_ref": "smithing_table_2_pocket.template_overlay_image" + }, + + "input_slot@smithing_table_2_pocket.slot_grid_item": { + "$item_collection_name": "smithing_table_input_items", + "$cell_overlay_ref": "smithing_table_2_pocket.input_overlay_image" + }, + + "material_slot@smithing_table_2_pocket.slot_grid_item": { + "$item_collection_name": "smithing_table_material_items", + "$cell_overlay_ref": "smithing_table_2_pocket.material_overlay_image" + }, + + "inputs_stack": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "template_slot@smithing_table_2_pocket.template_slot": { + "size": [ "100%", "100%c" ] + } + }, + { + "padding1": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "input_slot@smithing_table_2_pocket.input_slot": { + "size": [ "100%", "100%c" ] + } + }, + { + "padding2": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "material_slot@smithing_table_2_pocket.material_slot": { + "size": [ "100%", "100%c" ] + } + } + ] + }, + + "inputs_panel": { + "type": "panel", + "controls": [ + { + "inputs_stack@smithing_table_2_pocket.inputs_stack": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "result_slot@smithing_table_2_pocket.slot_grid_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "smithing_table_result_items", + "$button_ref": "smithing_table.smithing_table_output_slot_button" + }, + + "cross_out_image": { + "type": "image", + "layer": 1, + "texture": "textures/ui/crossout" + }, + + "cross_out_icon": { + "type": "button", + "hover_control": "hover", + "controls": [ + { "default@smithing_table_2_pocket.cross_out_image": {} }, + { + "hover@common.hover_text": { + "layer": 29, + "$hover_text_max_width": 500, + "bindings": [ + { + "binding_name": "#no_result_arrow_tooltip", + "binding_name_override": "#hover_text" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#cross_out_icon", + "binding_name_override": "#visible" + } + ] + }, + + "crafting_arrow": { + "type": "image", + "texture": "textures/ui/arrow_inactive", + "size": [ "75%", "75%" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "cross_out@smithing_table_2_pocket.cross_out_icon": {} + } + ] + }, + + "crafting_arrow_grid_item": { + "type": "panel", + "size": [ "20%", "20%" ], + "controls": [ + { "crafting_arrow@smithing_table_2_pocket.crafting_arrow": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Result preview + //--------------------------------------------------------------------------- + + "result_item_preview": { + "type": "panel", + "size": [ "70%", "70%" ], + "offset": [ "10%", 0 ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "smithing_preview_renderer": { + "type": "custom", + "renderer": "equipment_preview_renderer", + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "layer": 8, + "rotation_x": 30, + "rotation_y": -30, + "bindings": [ + { + "binding_name": "#item_id_aux", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + }, + { + "binding_name": "#item_custom_color", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + }, + { + "binding_name": "#armor_trim_pattern", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + }, + { + "binding_name": "#armor_trim_material", + "binding_type": "collection", + "binding_collection_name": "smithing_table_result_items" + } + ] + } + } + ] + }, + + "result_item_preview_grid_item": { + "type": "panel", + "controls": [ + { "result_preview@smithing_table_2_pocket.result_item_preview": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Smithing content + //--------------------------------------------------------------------------- + + "smithing_table_contents_panel": { + "type": "grid", + "offset": [ 0, 0 ], + "size": [ "100%-40px", "100%-40px" ], + "grid_dimensions": [ 5, 5 ], + "controls": [ + { + "label_holder": { + "type": "panel", + "grid_position": [ 2, 0 ], + "controls": [ + { "title_label@smithing_table_2_pocket.upgrade_label": {} } + ] + } + }, + { + "inputs@smithing_table_2_pocket.inputs_panel": { + "grid_position": [ 0, 1 ], + "size": [ "20%", "60%" ] + } + }, + { + "result_slot@smithing_table_2_pocket.result_slot": { + "grid_position": [ 2, 2 ], + "size": [ "20%", "20%" ] + } + }, + { + "crafting_arrow@smithing_table_2_pocket.crafting_arrow_grid_item": { + "grid_position": [ 1, 2 ], + "size": [ "20%", "20%" ] + } + }, + { + "result_item_preview@smithing_table_2_pocket.result_item_preview_grid_item": { + "grid_position": [ 3, 1 ], + "size": [ "40%", "60%" ] // two cols wide, three rows + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Left panel + //--------------------------------------------------------------------------- + + "chest_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": 3538944, + "#collection_name": "inventory_tab", + "#collection_index": 0 + } + }, + + "left_tab_inventory@common_tabs.pocket_tab_left": { + "$tab_view_binding_name": "inventory_tab_toggle", + + "$tab_content": "smithing_table_2_pocket.chest_item_renderer", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_inventory" + }, + + "left_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "default" ], + "offset": [ 4, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "left_tab_inventory@smithing_table_2_pocket.left_tab_inventory": { + "$is_bottom_most_tab": true + } + } + ] + }, + + "inventory_scroll_panel@common.container_scroll_panel": { + "size": [ "100% - 12px", "100% - 12px" ], + "$scrolling_content": "common.pocket_container_grid" + }, + + "left_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "gamepad_helpers_and_tabs_holder": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%c" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "controls": [ + { "left_navigation_tabs@smithing_table_2_pocket.left_navigation_tabs": {} } + ] + } + } + ] + } + }, + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "inventory_scroll_panel@smithing_table_2_pocket.inventory_scroll_panel": { + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_left_tab_inventory", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right panel + //--------------------------------------------------------------------------- + + "right_tab_smithing_table@common_tabs.pocket_tab_right": { + "$tab_content": "smithing_table_2_pocket.smithing_table_item_renderer", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_right_tab_smithing_table" + }, + + "right_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "100%" ], + "offset": [ -4, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "pocket_tab_close_and_help_button@common_tabs.pocket_tab_close_and_help_button": {} }, + { + "fill": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "right_tab_smithing_table@smithing_table_2_pocket.right_tab_smithing_table": { + "$is_bottom_most_tab": true + } + } + ] + }, + + "right_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "smithing_content_stack_panel@smithing_table_2_pocket.smithing_table_contents_panel": { + "layer": 2 + } + } + ] + } + }, + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%" ], + "controls": [ + { "right_navigation_tabs@smithing_table_2_pocket.right_navigation_tabs": {} } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Smithing table panel + //--------------------------------------------------------------------------- + + "pocket_hotbar_and_content_panels@common.pocket_hotbar_and_content_panels": { + "layer": 2, + "$left_panel_control": "smithing_table_2_pocket.left_panel", + "$right_panel_control": "smithing_table_2_pocket.right_panel" + }, + + "smithing_table_panel": { + "type": "panel", + "controls": [ + { "pocket_hotbar_and_content_panels@smithing_table_2_pocket.pocket_hotbar_and_content_panels": {} }, + { + "container_gamepad_helpers@common.container_gamepad_helpers": { + "size": [ "100%", 40 ], + "$gamepad_helper_size": [ "100%c", 15 ], + "$a_b_stack_panel_orientation": "vertical", + "$x_y_stack_panel_orientation": "vertical", + "$a_b_stack_panel_size": [ "100%cm", "100%" ], + "$x_y_stack_panel_size": [ "100%cm", "100%" ] + } + }, + { + "selected_item_details_factory@common.selected_item_details_factory": { + "$offset": [ 0, "-37px" ] + } + }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + } + + // #endregion + +} diff --git a/resource_pack/ui/smithing_table_screen.json b/resource_pack/ui/smithing_table_screen.json new file mode 100644 index 0000000..0b970ab --- /dev/null +++ b/resource_pack/ui/smithing_table_screen.json @@ -0,0 +1,336 @@ +{ + "namespace": "smithing_table", + + //--------------------------------------------------------------------------- + // #region icon and text area (top quarter of screen) + //--------------------------------------------------------------------------- + + "smithing_image": { + "type": "image" + }, + + "ingot_image@smithing_table.smithing_image": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 1, + "offset": [ 1, 1 ], + "size": [ 16, 16 ], + "texture": "textures/ui/ingot_image" + }, + + "smithing_icon": { + "type": "image", + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/smithing_icon", + "size": [ 30, 30 ], + "layer": 1 + }, + + "upgrade_label": { + "type": "label", + "color": "$title_text_color", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "80%", "30%" ], + "offset": [ "30%", 0 ], + "layer": 1, + "text": "container.smithing_table.upgrade" + }, + + // panel to position the top quarter of screen + "icon_and_text_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "65%", "40%" ], + "offset": [ "7%", 0 ], + "controls": [ + { "smithing_icon_panel@smithing_table.smithing_icon_panel": { } }, + { "upgrade_label@smithing_table.upgrade_label": { } } + ] + }, + + // panel to position the icon + "smithing_icon_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "smithing_icon@smithing_table.smithing_icon": { } } + ] + }, + + + //#endregion + + //--------------------------------------------------------------------------- + // #region recipe (input, material and results) area (2nd quarter of screen) + //--------------------------------------------------------------------------- + + "plus_sign_icon": { + "type": "image", + "texture": "textures/ui/smithing-table-plus", + "size": [ 13, 13 ] + }, + + "arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_large", + "size": [ 18, 12 ] + }, + + "cross_out_icon": { + "type": "image", + "texture": "textures/ui/crossout", + "size": [ 18, 12 ], + "bindings": [ + { + "binding_name": "#cross_out_icon", + "binding_name_override": "#visible" + } + ] + }, + + //#endregion + + "smithing_table_output_slot_button@common.container_slot_button_prototype": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.smithing_table_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.smithing_table_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.smithing_table_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.smithing_table_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.smithing_table_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.smithing_table_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.smithing_table_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "smithing_table_item_slot": { + "type": "panel", + "controls": [ + { + "container_item@common.container_item": { + "anchor_to": "center", + "anchor_from": "center" + } + } + ] + }, + + "recipe_grid": { + "type": "grid", + "size": [ "83.5%", "90%" ], + "anchor_from": "center", + "anchor_to": "center", + "grid_dimensions": [ 5, 1 ], + "controls": [ + { + "input_item_slot@smithing_table.smithing_table_item_slot": { + "grid_position": [ 0, 0 ], + "$item_collection_name": "smithing_table_input_items", + + "$focus_id_binding_type": "none", + "$focus_id": "smithing_table_input", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "smithing_table_material" + } + }, + { + "plus": { + "type": "panel", + "grid_position": [ 1, 0 ], + "controls": [ + { "plus_sign_icon@smithing_table.plus_sign_icon": {} } + ] + } + }, + { + "material_item_slot@smithing_table.smithing_table_item_slot": { + "grid_position": [ 2, 0 ], + "$item_collection_name": "smithing_table_material_items", + "$cell_overlay_ref": "smithing_table.ingot_image", + + "$focus_id_binding_type": "none", + "$focus_id": "smithing_table_material", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "smithing_table_input", + + "$focus_override_right_binding_type": "none", + "$focus_override_right": "smithing_table_result" + } + }, + { + "yields": { + "type": "panel", + "grid_position": [ 3, 0 ], + "controls": [ + { "arrow_icon@smithing_table.arrow_icon": {} }, + { + "cross_out_icon@smithing_table.cross_out_icon": { + "layer": 1 + } + } + ] + } + }, + { + "result_item_slot@smithing_table.smithing_table_item_slot": { + "grid_position": [ 4, 0 ], + "$item_collection_name": "smithing_table_result_items", + "$button_ref": "smithing_table.smithing_table_output_slot_button", + + "$focus_id_binding_type": "none", + "$focus_id": "smithing_table_result", + + "$focus_override_left_binding_type": "none", + "$focus_override_left": "smithing_table_material" + } + } + ] + }, + + "recipe_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "60%" ], + "offset": [ 0, "40%" ], + "controls": [ + { "recipe_grid@smithing_table.recipe_grid": { } } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region screen + //--------------------------------------------------------------------------- + + "top_half_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 14px", "50% - 14px" ], + "offset": [ 7, 7 ], + "controls": [ + { "icon_and_text_panel@smithing_table.icon_and_text_panel": { } }, + { "recipe_panel@smithing_table.recipe_panel": { } } + ] + }, + + "smithing_table_panel": { + "type": "panel", + "controls": [ + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "controls": [ + { "common_panel@common.common_panel": {} }, + { + "smithing_table_screen_inventory": { + "type": "panel", + "layer": 2, + "controls": [ + { "top_half_panel@smithing_table.top_half_panel": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} } + ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 21 } } + ] + }, + "smithing_table_screen@common.inventory_screen_common": { + "$close_on_player_hurt|default": true, + "close_on_player_hurt": "$close_on_player_hurt", + "variables": [ + { + "requires": "($desktop_screen and not $use_smithing_table_2_ui)", + "$screen_content": "smithing_table.smithing_table_panel" + }, + { + "requires": "($pocket_screen and not $use_smithing_table_2_ui)", + "$screen_content": "smithing_table_pocket.smithing_table_panel" + }, + { + "requires": "($desktop_screen and $use_smithing_table_2_ui)", + "$screen_content": "smithing_table_2.smithing_table_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + }, + { + "requires": "($pocket_screen and $use_smithing_table_2_ui)", + "$screen_content": "smithing_table_2_pocket.smithing_table_panel", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4 + } + ] + } +} + +// #endregion diff --git a/resource_pack/ui/smithing_table_screen_pocket.json b/resource_pack/ui/smithing_table_screen_pocket.json new file mode 100644 index 0000000..8b74067 --- /dev/null +++ b/resource_pack/ui/smithing_table_screen_pocket.json @@ -0,0 +1,307 @@ +{ + "namespace": "smithing_table_pocket", + + // Backgrounds // + + "ingot_image@smithing_table.smithing_image": { + "anchor_to": "center", + "anchor_from": "center", + "size": [ 16, 16 ], + "texture": "textures/ui/ingot_image" + }, + + "background_image": { + "type": "image", + "size": [ "85%", "85%" ], + "texture": "textures/ui/background_panel" + }, + + // Arrow // + + "arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_icon", + "size": [ 24, 16 ] + }, + + "smithing_icon": { + "type": "image", + "texture": "textures/ui/smithing_icon", + "size": [ 30, 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + }, + + // Labels // + + "upgrade_label": { + "type": "label", + "color": "$pocket_title_text_color", + "layer": 1, + "text": "container.smithing_table.upgrade", + "anchor_from": "center", + "anchor_to": "center" + }, + + // Text Edit // + + "smithing_icon_panel": { + "type": "panel", + "controls": [ + { "smithing_icon@smithing_table_pocket.smithing_icon": {} } + ] + }, + + "smithing_table_title_and_text_panel": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "smithing_icon_panel@smithing_table_pocket.smithing_icon_panel": { + "layer": 1, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ -5, -10 ] + } + }, + { + "upgrade_label@smithing_table_pocket.upgrade_label": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1, + "offset": [ 40, -20 ] + } + } + ] + }, + + // Slots // + + "slots_panel": { + "type": "panel", + "controls": [ + { + "input_slot@common.pocket_ui_large_container_item": { + "offset": [ 0, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$item_collection_name": "smithing_table_input_items" + } + }, + { + "material_slot@common.pocket_ui_large_container_item": { + "offset": [ 48, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$item_collection_name": "smithing_table_material_items", + "$cell_overlay_ref": "smithing_table_pocket.ingot_image" + } + }, + { + "result_slot@common.pocket_ui_large_container_item": { + "offset": [ 109, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$item_collection_name": "smithing_table_result_items", + "$button_ref": "smithing_table.smithing_table_output_slot_button" + } + }, + { + "plus_sign@smithing_table_pocket.upgrade_label": { + "text": "+", + "offset": [ 38, 11 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + } + }, + { + "arrow": { + "type": "image", + "texture": "textures/ui/arrow_inactive", + "size": [ 22, 15 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 83, 8 ], + "controls": [ + { + "cross_out": { + "type": "image", + "layer": 1, + "texture": "textures/ui/crossout", + "bindings": [ + { + "binding_name": "#cross_out_icon", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + // smithing_table Panel // + + "smithing_table_contents_panel": { + "type": "stack_panel", + "size": [ 144, 100 ], + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, -20 ], + "controls": [ + { + "smithing_table_title_and_text_panel@smithing_table_pocket.smithing_table_title_and_text_panel": { + "size": [ "100%", "50%" ] + } + }, + { + "slots_panel@smithing_table_pocket.slots_panel": { + "size": [ "100%", "50%" ] + } + } + ] + }, + + // Inventory Grids // + + "inventory_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "maximum_grid_items": 36, + "collection_name": "combined_hotbar_and_inventory_items", + "grid_item_template": "common.pocket_ui_container_item", + "$item_collection_name": "combined_hotbar_and_inventory_items" + }, + + "inventory_content": { + "type": "panel", + "size": [ "100%-5px", "100%-5px" ], + "offset": [ "5px", "2px" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$allow_scrolling_even_when_content_fits": false, + "$scrolling_pane_size": [ "100%", "100%-2px" ], + "$scrolling_content": "smithing_table_pocket.inventory_grid", + "$scroll_box_mouse_image_control": "common-classic.button_state_default", + "$scroll_size": [ "8px", "100%" ] + } + } + ] + }, + + // Half Screens // + + "inventory_and_smithing_table_panel": { + "type": "panel", + "controls": [ + { + "inventory_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "controls": [ + { "inventory_content@smithing_table_pocket.inventory_content": {} } + ] + } + }, + { + "smithing_half_screen": { + "type": "panel", + "size": [ "50%", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "controls": [ + { "smithing_table_content@smithing_table_pocket.smithing_table_contents_panel": {} } + ] + } + } + ] + }, + + + // Header // + + "header": { + "type": "panel", + "size": [ "100%", 28 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "header_background": { + "type": "image", + "texture": "textures/ui/header_bar_2" + } + }, + { + "close_button@common.legacy_pocket_close_button": { "offset": [ -3, 3 ] } + }, + { + "panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "title_label@smithing_table_pocket.upgrade_label": { + "text": "tile.smithing_table.name", + "layer": 1 + } + } + ] + } + } + ] + }, + + + // Header and content + "header_and_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "85%", "85%" ], + "controls": [ + { "header@smithing_table_pocket.header": { "layer": 2 } }, + { + "inventory_and_smithing_table_panel@smithing_table_pocket.inventory_and_smithing_table_panel": { + "size": [ "100%", "fill" ] + } + } + ] + }, + + // smithing_table Screen // + + "smithing_table_panel": { + "type": "panel", + "controls": [ + { "bg@smithing_table_pocket.background_image": {} }, + { "root_panel@common.root_panel": { "size": [ "85%", "85%" ], "layer": 1 } }, + { "header_and_content_stack_panel@smithing_table_pocket.header_and_content_stack_panel": {} }, + + { "container_gamepad_helpers@common.container_gamepad_helpers": { "layer": 2 } }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "hold_icon@common.inventory_take_progress_icon_button": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 21 } } + ] + } +} diff --git a/resource_pack/ui/smoker_screen.json b/resource_pack/ui/smoker_screen.json new file mode 100644 index 0000000..44d39cf --- /dev/null +++ b/resource_pack/ui/smoker_screen.json @@ -0,0 +1,6 @@ +{ + "namespace": "smoker", + + "smoker_screen@furnace.furnace_screen": { + } +} \ No newline at end of file diff --git a/resource_pack/ui/start_screen.json b/resource_pack/ui/start_screen.json new file mode 100644 index 0000000..b372d5c --- /dev/null +++ b/resource_pack/ui/start_screen.json @@ -0,0 +1,2414 @@ +{ + "namespace": "start", + + "achievements_icon": { + "type": "image", + "texture": "textures/ui/achievements", + "layer": 3, + "size": [ 16, 16 ] + }, + + "inbox_bell_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 28, + "frame_step": 8, + "fps": 10, + "play_event": "inbox_bell_animation_start", + "reset_event": "inbox_bell_animation_reset", + "looping": false + }, + + "inbox_bell_animated_icon": { + "type": "image", + "layer": 2, + "texture": "textures/ui/bell_ringing", + "uv_size": [ 16, 16 ], + "size": [ 16, 16 ], + "uv": "@start.inbox_bell_animation" + }, + + "inbox_icon": { + "type": "image", + "texture": "textures/ui/icon_bell", + "layer": 3, + "size": [ 16, 16 ] + }, + + "unread_notification_animation_show": { + "anim_type": "flip_book", + "frame_count": 4, + "frame_step": 8, + "fps": 10, + "looping": false, + "resettable": false + }, + + "unread_notification_animation_wait": { + "anim_type": "wait", + "duration": 2.0, + "play_event": "inbox_bell_animation_start", + "next": "@start.unread_notification_animation_show" + }, + + "unread_notification_icon": { + "type": "image", + "texture": "textures/ui/red_dot", + "layer": 4, + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 7, 8 ], + "bindings": [ + { + "binding_name": "#unread_notification_icon" + }, + { + "binding_name": "#unread_notification_icon_visibility", + "binding_name_override": "#visible" + } + ] + }, + + "feedback_icon": { + "type": "image", + "texture": "textures/ui/Feedback", + "layer": 3, + "size": [ 16, 16 ] + }, + + "feedback_icon_edu": { + "type": "image", + "texture": "$feedback_texture", + "offset": [ -0.5, -0.5 ], + "size": [ 16, 16 ], + "layer": 3, + + "$feedback_texture": "textures/ui/feedback", + "variables": [ + { + "requires": "($hover_state or $pressed_state)", + "$feedback_texture": "textures/ui/feedback_hover" + } + ] + }, + + "Xbox_icon": { + "type": "image", + "texture": "textures/ui/xbox4", + "layer": 3, + "size": [ 27, 27 ] + }, + + "change_skin_icon": { + "type": "image", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "texture": "textures/ui/hangar", + "layer": 3, + "size": [ 32, 16 ] + }, + + "manage_accounts_icon": { + "type": "image", + "anchor_from": "center", + "anchor_to": "center", + "texture": "textures/ui/profile_glyph_combined", + "layer": 3, + "size": [ 11, 12 ] + }, + + "new_offers_icon@common_store.new_offer_icon": { + "layer": 11, // This is the lowest layer where the button border won't show through this icon while being pressed + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + "edu_ai_lesson_crafter_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "controls": [ + { + "padded_label@common.empty_panel": { + "size": [ "100%c", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "size": [ "default", "default" ], + "color": "$text_color", + "text": "menu.ai_lesson_crafter" + } + } + ] + } + }, + { + "padded_icon@common.empty_panel": { + "size": [ "100%c", "100%c" ], + "controls": [ + { + "icon": { + "type": "image", + "texture": "textures/ui/icon_external_link", + "color": "$glyph_color", + "size": [ 9, 9 ], + "offset": [ 3, 7 ] + } + } + ] + } + } + ] + }, + + "preview_tag": { + "type": "image", + "size": [ "100%c + 4px", 15 ], + "offset": [ 19, -1 ], + "layer": 11, // This is the lowest layer where the button border won't show through this icon while being pressed + "anchor_from": "top_right", + "anchor_to": "top_right", + "texture": "textures/ui/previewIcon", + "bindings": [ + { + "binding_name": "#edu_ai_lesson_crafter_on", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "preview_label": { + "type": "label", + "size": [ "default", 10 ], + "offset": [ 0, 1 ], + "text": "menu.preview", + "color": "$store_white_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1 + } + } + ] + }, + + "update_prompt_icon": { + "type": "image", + "texture": "textures/ui/update", + "layer": 12, // This is the lowest layer where the button border won't show through this icon while being pressed + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 11, 21 ] + }, + + "marketplace_error_icon@common_store.marketplace_error_icon": { + "layer": 12, + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "sale_ribbon_icon": { + "type": "image", + "texture": "textures/ui/saleribbon", + "layer": 12 // This is the lowest layer where the button border won't show through this icon while being pressed + }, + + "alex_icon": { + "type": "image", + "texture": "textures/ui/icon_alex", + "layer": 1, + "size": [ 16, 16 ] + }, + + "gamerpic": { + "type": "custom", + "renderer": "profile_image_renderer", + "size": [ 16, 16 ], + "layer": 2, + "$gamerpic_visible|default": "#none", + "bindings": [ + { + "binding_name": "#profile_image_options" + }, + { + "binding_name": "$gamerpic_visible", + "binding_name_override": "#visible" + } + ] + }, + + "copyright": { + "type": "panel", + "controls": [ + { + "label": { + "type": "label", + "color": "$main_header_text_color", + "layer": 2, + "text": "menu.copyright", + "size": [ "default", 10 ], + "max_size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "label_background": { + "type": "image", + "texture": "textures/ui/Black", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ -1, -1 ], + "alpha": 0.6, + "size": [ "100%sm + 4px", "100%sm + 2px" ], + "layer": 1 + } + } + ] + + }, + + "development_version": { + "type": "panel", + "controls": [ + { + "label": { + "type": "label", + "color": "$main_header_text_color", + "layer": 2, + "text": "#development_version", + "size": [ "default", 10 ], + "max_size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_name": "#development_version" + } + ] + } + }, + { + "label_background": { + "type": "image", + "texture": "textures/ui/Black", + "anchor_from": "center", + "anchor_to": "center", + "alpha": 0.6, + "size": [ "100%sm + 2px", "100%sm + 2px" ], + "layer": 1 + } + } + ] + }, + + "version": { + "type": "panel", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "50%", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$main_header_text_color", + "layer": 2, + "text": "#version", + "size": [ "default", 10 ], + "max_size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#version" + } + ] + } + }, + { + "label_background": { + "type": "image", + "texture": "textures/ui/Black", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ 1, -1 ], + "alpha": 0.6, + "size": [ "100%sm + 2px", "100%sm + 2px" ], + "layer": 1 + } + } + ] + }, + + "trial_info": { + "type": "panel", + "controls": [ + { + "trial_label": { + "type": "label", + "size": [ "150%", 20 ], + "offset": [ 4, 0 ], + "text": "menu.trialLabel", + "color": "$body_text_color", + "text_alignment": "center", + "layer": 2 + } + }, + { + "label_background": { + "type": "image", + "texture": "textures/ui/Black", + "anchor_from": "center", + "anchor_to": "center", + "alpha": 0.6, + "size": [ "100%sm + 10px", "100%sm + 10px" ], + "layer": 1 + } + } + ] + }, + + "text_panel": { + "type": "panel", + "size": [ "100%-2px", 10 ], + "offset": [ 0, -1 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "copyright@start.copyright": {} + }, + { + "development_version@start.development_version": { + "ignored": "$is_publish" + } + }, + { + "version@start.version": {} + } + ] + }, + + "anim_main_buttons_panel_alpha": { + "anim_type": "alpha", + "easing": "linear", + "duration": 0.2, + "from": 0, + "to": 1, + "play_event": "anim_main_buttons_panel_alpha_play_event" + }, + + "anim_new_player_buttons_panel_alpha": { + "anim_type": "alpha", + "easing": "linear", + "duration": 0.2, + "from": 1, + "to": 0, + "play_event": "anim_new_player_buttons_panel_alpha_play_event", + "end_event": "anim_new_player_buttons_panel_finish_event" + }, + + //--------------------------------------------------------------------------- + // Skins Panel + //--------------------------------------------------------------------------- + + "skin_or_profile_panel": { + "type": "panel", + "size": [ 55, 25 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "variables": [ + { + "requires": "($showing_new_player_flow_buttons)", + "$anim_type": "@start.anim_main_buttons_panel_alpha" + }, + { + "requires": "(not $showing_new_player_flow_buttons)", + "$anim_type": 1.0 + } + ], + "alpha": "$anim_type", + "controls": [ + { + "change_skin@start.change_skin_button": { + "bindings": [ + { + "binding_name": "#edu_signed_in_only_ui_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "change_skin_button_demo@start.change_skin_button_demo": { + "bindings": [ + { + "binding_name": "#edu_demo_only_ui_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "dressing_room_button@start.dressing_room_button": { + "bindings": [ + { + "binding_name": "#dressing_room_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "switch_accounts@start.switch_accounts_button": { + "bindings": [ + { + "binding_name": "#edu_signed_in_only_ui_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "profile_button@start.profile_button": { + "$focus_id": "profile_button", + "bindings": [ + { + "binding_name": "#profile_button_b_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#persona_and_skins_enabled", + "binding_name_override": "#visible" + } + ] + }, + + "change_skin_button@common_buttons.light_glyph_button": { + "ignored": "(not $education_edition)", + "$pressed_button_name": "button.menu_skins", + "size": [ 25, 25 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_content_offset": [ 1, 2 ], + "$button_content": "start.change_skin_icon", + "$pressed_alpha": 0.65, + "$focus_id": "menu_skins_button", + "$button_tts_header": "accessibility.start.skinPicker" + }, + + "change_skin_button_demo@common_buttons.light_glyph_button": { + "ignored": "(not $education_edition)", + "$pressed_button_name": "button.menu_skins", + "size": [ 25, 25 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_content_offset": [ 1, 2 ], + "$button_content": "start.change_skin_icon", + "$pressed_alpha": 0.65, + "$focus_id": "menu_skins_button", + "$button_tts_header": "accessibility.start.skinPicker" + }, + + "switch_accounts_button@common_buttons.light_content_button": { + "ignored": "(not $education_edition)", + "$pressed_button_name": "button.manage_account", + "size": [ 25, 25 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$button_content_offset": [ 0, 0 ], + "$button_content": "start.manage_accounts_icon", + "$pressed_alpha": 0.65, + "$focus_id": "menu_account_button", + "$button_tts_header": "accounts.manage" + }, + + "dressing_room_button@common_buttons.light_text_form_fitting_button": { + "ignored": "($education_edition)", + "$pressed_button_name": "button.to_profile_screen", + "size": [ "100%c", 25 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel", + "$button_text_size": [ "default", 10 ], + "$button_text": "profileScreen.header", + "$focus_id": "profile_button", + "$pressed_alpha": 0.65 + }, + + "profile_button_content": { + "type": "stack_panel", + "size": [ "100%c", 24 ], + "orientation": "horizontal", + "controls": [ + { + "gamerpic_offset_wrapper": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "gamerpic_with_border": { + "type": "panel", + "size": [ 18, 18 ], + "offset": [ -2, 0 ], + "controls": [ + { + "gamerpic@start.gamerpic": { + "$gamerpic_visible": "#show_gamerpic" + } + }, + { + "alex_icon@start.alex_icon": { + "bindings": [ + { + "binding_name": "(not #show_gamerpic)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "border_black@common.focus_border_black": { + "layer": 3, + "size": [ 18, 18 ] + } + } + ] + } + } + ] + } + }, + { + "padding_middle@common.empty_panel": { + "size": [ 2, "100%" ] + } + }, + { + "vertically_central_text": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "0px", 4 ] + } + }, + { + "profile_button_label@common_buttons.new_ui_binding_button_label": { + "layer": 1, + "$button_text": "menu.profile", + "$button_text_size": [ "default", "default" ], + "$button_text_max_size": [ "default", 20 ], + "$button_text_binding_type": "none", + "$button_binding_condition": "none", + "$button_text_grid_collection_name": "" + } + } + ] + } + }, + { + "padding_right@common.empty_panel": { + "size": [ 6, "100%" ] + } + } + ] + }, + + "profile_button@common_buttons.light_content_form_fitting_button": { + "size": [ "100%c", "100%c" ], + "$button_content_size_override": [ "100%c", "100%c - 4px" ], + "$button_content": "start.profile_button_content", + "$pressed_button_name": "button.menu_profile" + }, + + "skin_viewer_panel": { + "type": "input_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", "100% - 24px" ], + "offset": [ 0, -16 ], + "gesture_tracking_button": "button.turn_doll", + "tts_ignore_count": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "paper_doll_panel": { + "type": "panel", + "size": [ "100%", "100% - 10px" ], + + "controls": [ + { + "paper_doll": { + "type": "custom", + "renderer": "paper_doll_renderer", + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "layer": 2, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "rotation": "gesture_x", + "size": [ "100%", "100%" ], + "offset": [ 0, -22 ], + "animation_reset_name": "screen_animation_reset", + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@common.screen_entrance_size_animation_push", + "@common.screen_entrance_size_animation_pop" + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "viewer_panel", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "viewer_panel", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + }, + { + "binding_name": "#is_appearance_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "appearacne_loading_panel@common_store.progress_loading": { + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "$source_control_name": "paper_doll", + "$source_property_name": "(not #visible)" + } + } + ] + } + }, + { + "paper_doll_name_tag": { + "type": "custom", + "renderer": "name_tag_renderer", + "layer": 2, + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "size": [ 8, 8 ], + "bindings": [ + { + "binding_name": "#playername" + } + ] + } + } + ] + }, + + "skin_panel": { + "type": "panel", + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "size": [ "50% - 75px", 124 ], + "offset": [ 0, "-10% - 4px" ], + "controls": [ + { "change_profile_or_skin@start.skin_or_profile_panel": {} }, + { "viewer_panel@start.skin_viewer_panel": {} } + ] + }, + + //-------------------------------------------------------------------------- + // Gatherings + //-------------------------------------------------------------------------- + + "gathering_button@common_buttons.light_text_form_fitting_button": { + "size": [ "100%c", 25 ], + "$pressed_button_name": "button.gathering", + "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel", + "$button_text_max_size": [ 105, 25 ], + "$button_text": "#gathering_button_text", + "$button_text_binding_type": "global", + "$focus_override_right": "play_button", + "bindings": [ + { + "binding_name": "#gathering_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "gathering_badge": { + "type": "image", + "size": [ "237%y", "100%" ], + "layer": 20, + "allow_debug_missing_texture": false, + "bindings": [ + { + "binding_name": "#gathering_badge", + "binding_name_override": "#texture" + } + ] + }, + + "badge_and_caption": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "caption_and_padding": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + "layer": 14, + "controls": [ + { + "pad@common.empty_panel": { + "size": [ 12, 1 ] + } + }, + { + "caption@start.gathering_caption": {} + } + ] + } + }, + { + "badge_and_padding": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "badge@start.gathering_badge": {} + }, + { + "fill@common.empty_panel": { + "size": [ "fill", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#gathering_badge_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "gathering_caption": { + "type": "image", + "size": [ "100%c + 6px", "100%c + 12px" ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "layer": 9, + "$gathering_caption_foreground_color|default": "$0_color_format", + "$gathering_caption_background_color|default": "$f_color_format", + "color": "$gathering_caption_background_color", + "texture": "textures/ui/flyout", + "keep_ratio": false, + "controls": [ + { + "countdown_text": { + "type": "label", + "text": "#text", + "font_scale_factor": 0.9, + "offset": [ 0, -2 ], + "size": [ 88, "default" ], + "text_alignment": "center", + "layer": 10, + "color": "$gathering_caption_foreground_color", + "bindings": [ + { + "binding_name": "#gathering_countdown_text", + "binding_name_override": "#text", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#gathering_caption_foreground_color", + "binding_name_override": "#color" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#gathering_caption_background_color", + "binding_name_override": "#color" + } + ] + }, + + "gathering_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "horizontal_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + "controls": [ + { + "pad@common.empty_panel": { + "size": [ 5, 0 ] + } + }, + { + "inner_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "size": [ "100% - 5px", "100%c" ], + "controls": [ + { + "badge_and_caption@start.badge_and_caption": {} + }, + { + "gathering_button@start.gathering_button": {} + } + ] + } + } + ] + } + }, + // The gathering panel is stacked on top of either the upper or lower online buttons. This padding is only needed when the upper online buttons are visible. + { + "bottom_pad": { + "type": "panel", + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "#upper_online_buttons_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#gathering_enabled", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Online Buttons Panel (and the lang button) + //--------------------------------------------------------------------------- + + "edu_feedback_button@common_buttons.light_content_button": { + "size": [ 25, 25 ], + "$button_pressed_offset": [ 0, 0 ], + "$button_content": "start.feedback_icon_edu", + "$pressed_button_name": "button.edu_feedback" + }, + + + "release_feedback_button@common_buttons.light_content_button": { + "size": [ 24, 24 ], + "$button_pressed_offset": [ 0, 0 ], + "$button_content": "start.feedback_icon", + "$pressed_button_name": "button.feedback_button_pressed" + }, + + "pre_release_feedback_button@start.release_feedback_button": { + "property_bag": { + "#hyperlink": "https://aka.ms/minecraftfbbeta" + } + }, + + "feedback_button": { + "ignored": "$feedback_ignored", + "type": "panel", + "$button_tts_header": "accessibility.start.feedback", + "controls": [ + { "edu_feedback_button@start.edu_feedback_button": { "ignored": "$edu_feedback_ignored" } }, + { "release_feedback_button@start.release_feedback_button": { "ignored": "($pre_release or $education_edition)" } }, + { "pre_release_feedback_button@start.pre_release_feedback_button": { "ignored": "(not $pre_release or $education_edition)" } } + ] + }, + + "achievements_button@common_buttons.light_content_button": { + "size": [ 24, 24 ], + "$button_content": "start.achievements_icon", + "$pressed_button_name": "button.menu_achievements" + }, + + "achievements_icon_button": { + "ignored": "$achievements_ignored", + "type": "panel", + "$button_tts_header": "menu.achievements", + "controls": [ + { "achievements_button@start.achievements_button": { "ignored": "$education_edition" } } + ] + }, + + "inbox_button@common_buttons.light_content_button": { + "size": [ 24, 24 ], + "$button_content": "start.inbox_bell_animated_icon", + "$pressed_button_name": "button.menu_inbox", + "$button_tts_header": "menu.inbox", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "to_button_id": "inbox_button.is_hovered", + "mapping_type": "pressed" + } + ] + }, + + "inbox_button_unread_panel": { + "type": "panel", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 7, 8 ], + "offset": [ 0, 1 ], + "controls": [ + { + "background@start.unread_notification_icon": { + "layer": 8 + } + } + ] + }, + + "inbox_icon_button": { + "type": "panel", + "$button_tts_header": "menu.inbox", + "offset": [ 0, 0 ], + "ignored": "$education_edition", + "controls": [ + { "inbox_button@start.inbox_button": {} }, + { "inbox_button_unread_panel@start.inbox_button_unread_panel": {} } + ] + }, + + // Button will resize itself to length of the text + "xbl_signin_button@common_buttons.light_text_form_fitting_button": { + "size": [ "100%c", 25 ], + "$pressed_button_name": "button.signin", + "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel", + "$button_text_size": [ "default", 10 ], + "$button_text_max_size": [ 80, 10 ], // longest localized string length will fit in this + "$button_text": "xbox.signin", + "$focus_id": "menu_xbox_signin_button", + "anchor_from": "left_middle", + "anchor_to": "left_middle" + }, + + "platform_signin_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.signin", + "$button_text_max_size": [ "100%", 26 ], + "$focus_id": "menu_xbox_signin_button", + "$button_text": "#platform_signin_text", + "$button_text_binding_type": "global", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#platform_signin_text" + } + ] + }, + + "column_frame": { + "type": "panel" + }, + + "educator_resources_button@start.main_button": { + "$pressed_button_name": "button.edu_resources", + "$button_text": "menu.educatorResources" + }, + + "upper_online_buttons_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_pad": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "stacked_column": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "offset": [ "5%", 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "controls": [ + { + "xbl_btn_padding": { + "ignored": "($nx_os or $is_ps4)", + "type": "panel", + "size": [ 5, 0 ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "xbl_btn@start.column_frame": { + "ignored": "($nx_os or $is_ps4)", + "size": [ 94, 25 ], + "max_size": [ "95%", 25 ], + "controls": [ + { "xbl_signin_button@start.xbl_signin_button": {} } + ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "platform_signin_btn@start.column_frame": { + "ignored": "(not $nx_os and not $is_ps4)", + "size": [ "90% - 6px", 32 ], + "controls": [ + { + "platform_signin_button@start.platform_signin_button": {} + } + ], + "bindings": [ + { + "binding_name": "#sign_in_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamertag_pic_and_label": { + "ignored": "(not $nx_os and not $is_ps4)", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 16 ], + "controls": [ + { + "gamerpic_with_border": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "gamerpic@start.gamerpic": {} + }, + { + "border_white@common.focus_border_white": { + "layer": 3, + "size": [ 16, 16 ] + } + } + ] + } + }, + { + "spacer": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "gamertag_label": { + "type": "label", + "color": "$main_header_text_color", + "layer": 1, + "text": "#gamertag_label", + "locked_alpha": 0.5, + "size": [ "default", "100%" ], + "offset": [ 0, "25%" ], + "bindings": [ + { + "binding_name": "#gamertag_label" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#gamertag_pic_and_label_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "bottom_pad": { + "type": "panel", + "size": [ "100%", 5 ] + } + } + ], + "bindings": [ + { + "binding_name": "#upper_online_buttons_visible", + "binding_name_override": "#visible" + } + ] + }, + + "lower_online_buttons_panel": { + "type": "stack_panel", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "size": [ "100%", "100%c" ], + "variables": [ + { + "requires": "($showing_new_player_flow_buttons)", + "$anim_type": "@start.anim_main_buttons_panel_alpha" + }, + { + "requires": "(not $showing_new_player_flow_buttons)", + "$anim_type": 1.0 + } + ], + "alpha": "$anim_type", + "controls": [ + { + "stacked_column": { + "type": "stack_panel", + "size": [ "100%", 32 ], + "offset": [ "5%", 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "orientation": "horizontal", + "controls": [ + { + "feedback_padding": { + "ignored": "$feedback_ignored", + "type": "panel", + "size": [ 3, "100%" ], + "bindings": [ + { + "binding_name": "#feedback_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "feedback_btn@start.column_frame": { + "ignored": "$feedback_ignored", + "size": [ 28, 32 ], + "controls": [ + { "feedback_button@start.feedback_button": {} } + ], + "bindings": [ + { + "binding_name": "#feedback_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "signingin": { + "size": [ "default", "100%" ], + "max_size": [ 120, "100%" ], + "type": "label", + "color": "$main_header_text_color", + "text": "#signingin_text", + "bindings": [ + { + "binding_name": "#signingin_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#signingin_text" + } + ] + } + }, + { + "achievements_padding": { + "ignored": "$achievements_ignored", + "type": "panel", + "size": [ 3, "100%" ], + "bindings": [ + { + "binding_name": "#achievements_icon_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "achievements_btn@start.column_frame": { + "ignored": "$achievements_ignored", + "size": [ 28, 32 ], + "controls": [ + { "achievements_icon_button@start.achievements_icon_button": {} } + ], + "bindings": [ + { + "binding_name": "#achievements_icon_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "inbox_padding": { + "type": "panel", + "size": [ 3, "100%" ], + "bindings": [ + { + "binding_name": "#inbox_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "inbox_btn@start.column_frame": { + "size": [ 28, 32 ], + "controls": [ + { "inbox_icon_button@start.inbox_icon_button": {} } + ], + "bindings": [ + { + "binding_name": "#inbox_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "profile_btn_padding": { + "type": "panel", + "size": [ 5, "100%" ], + "bindings": [ + { + "binding_name": "#profile_button_a_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "profile_btn@start.column_frame": { + "size": [ "100%c", 32 ], + "controls": [ + { "profile_button@start.profile_button": {} } + ], + "bindings": [ + { + "binding_name": "#profile_button_a_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Main Buttons Panel + //--------------------------------------------------------------------------- + + "main_button@common_buttons.light_text_button": { + "size": [ "100% - 2px", "100% - 2px" ] + }, + + "main_button_dark@common_buttons.dark_text_button": { + "size": [ "100% - 2px", "100% - 2px" ] + }, + + "main_content_button@common_buttons.light_content_button": { + "size": [ "100% - 2px", "100% - 2px" ] + }, + + "play_button@start.main_button": { + "$pressed_button_name": "$play_button_target", + "$button_text": "menu.play", + "$focus_override_right": "profile_button" + }, + + "get_started_button@start.main_button": { + "$pressed_button_name": "button.menu_get_started", + "$button_text": "#get_started_button_text", + "$button_text_binding_type": "global", + "$button_binding_condition": "once" + }, + + "main_menu_button@edu_common.underline_button": { + "$pressed_button_name": "button.open_main_menu", + "$single_label_size": [ "default", "default" ], + "$single_line_font_scale_factor": 1, + "$single_line_label_text": "menu.openMainMenu", + "$font_type": "smooth" + }, + + "featured_world_button@start.main_button": { + "$pressed_button_name": "button.featured_category", + "$button_text": "start_screen.start_demo" + }, + + "unlock_full_game_button@start.main_button": { + "$pressed_button_name": "button.manage_account", + "$button_text": "#unlock_full_game_button_text", + "$button_text_binding_type": "global" + }, + + "launch_editions_button@start.main_button": { + "$pressed_button_name": "button.launch_editions", + "$button_text": "menu.editions" + }, + + "ai_lesson_crafter_button@common_buttons.light_content_button": { + "size": [ "100% - 2px", "100% - 2px" ], + "ignored": "(not $education_edition)", + "$pressed_button_name": "button.ai_lesson_crafter", + "$button_content": "start.edu_ai_lesson_crafter_button_content" + }, + + "settings_button@start.main_button": { + "$pressed_button_name": "button.menu_settings", + "$button_text": "menu.settings" + }, + + "realms_button@start.main_button_dark": { + "$pressed_button_name": "button.menu_realms", + "$button_text": "menu.realmsServer", + "$default_button_texture": "textures/ui/realms_button_borderless_default", + "$hover_button_texture": "textures/ui/realms_button_borderless_hover", + "$pressed_button_texture": "textures/ui/realms_button_borderless_hover_pressed" + }, + + "servers_button@start.main_button": { + "$pressed_button_name": "button.menu_servers", + "$button_text": "menu.servers" + }, + + "store_button@common_buttons.light_content_button": { + "size": [ "100% - 2px", "100% - 2px" ], + "$pressed_button_name": "button.menu_store", + "$button_text": "menu.store", + "$button_content": "start.store_button_content", + "$button_text_binding_type": "none", + "$button_binding_condition": "none", + "$button_text_grid_collection_name": "", + "tts_inherit_siblings": true, + "$focus_override_right": "profile_button", + "bindings": [ + { + "binding_name": "(not #marketplace_disabled)", + "binding_name_override": "#visible" + } + ] + }, + + "error_store_button@common_buttons.light_content_button": { + "size": [ "100% - 2px", "100% - 2px" ], + "$pressed_button_name": "button.menu_store", + "$button_text": "menu.store", + "$button_content": "start.store_button_content", + "$button_text_binding_type": "none", + "$button_binding_condition": "none", + "$button_text_grid_collection_name": "", + "tts_inherit_siblings": true + }, + + "store_button_sale_banner@start.sale_ribbon_icon": { + "size": [ "100%c", 16 ], // For some reason doing 100%c + X doesn't work on an image? + "controls": [ + { + "banner_label_padding": { + "type": "panel", + "size": [ "100%c + 12px", "100%" ], + "controls": [ + { + "banner_label": { + "type": "label", + "size": [ "default", 10 ], + "offset": [ -1, -1 ], + "text": "store.startMenu.sale", + "color": "$title_text_color", + "layer": 1, + "tts_name": "accessibility.store.tag", + "tts_control_type_order_priority": 1004, // To be read after the button control type + "tts_value_order_priority": 1003 + } + } + ] + } + } + ] + }, + + "store_button_content": { + "type": "panel", + "controls": [ + { + "button_label@common_buttons.new_ui_binding_button_label": { + "layer": 5 + } + }, + { + "sales_banner@start.store_button_sale_banner": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ -6, -8 ], + "visible": false // leaving this here in case we override with a treatment pack during a sale + } + } + ] + }, + + "store_error_image": { + "type": "image", + "texture": "textures/ui/ErrorGlyph", + "size": [ 15, 15 ] + }, + + "store_error_content": { + "type": "image", + "texture": "textures/ui/disabledButton", + "layer": 9, + "controls": [ + { + "marketplace_button_label": { + "type": "label", + "text": "menu.store", + "layer": 1, + "color": "$light_button_locked_text_color" + } + } + ] + }, + + "store_sale_label": { + "type": "label", + "size": [ "default", 10 ], + "offset": [ 4, 0 ], + "text": "store.startMenu.sale", + "color": "$light_button_default_text_color", + "layer": 2 + }, + + "store_button_stack@start.stacked_row": { + "controls": [ + { + "store_button@start.store_button": { + "enabled": "(not $store_disabled and not ($is_ios and $pre_release)))" + } + }, + { + "update_icon@start.update_prompt_icon": { + "ignored": "$store_disabled", + "size": [ "52.38%y", 15 ], + "offset": [ -16, -6 ], + "bindings": [ + { + "binding_name": "#update_icon_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "new_offers_icon@start.new_offers_icon": { + "ignored": "$store_disabled", + "offset": [ 8, -6 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#new_offers", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "buy_game_button@start.main_button": { + "$pressed_button_name": "button.menu_buy_game", + "$button_text": "$unlock_full_game_button_text" + }, + + "stacked_row": { + "type": "panel", + "size": [ "100%", 32 ] + }, + + "main_buttons_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "$title_offset_padding|default": [ "100%", "10%" ], + "variables": [ + { + "requires": "($pocket_screen)", + "$title_offset_padding": [ "100%", "5%" ] + } + ], + "controls": [ + { + "title_offset_padding": { + "type": "panel", + "size": "$title_offset_padding" + } + }, + { + "title_panel_content@common_art.start_title_panel_content": {} + }, + { + "padding_fill_1": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "main_buttons_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "variables": [ + { + "requires": "($showing_new_player_flow_buttons)", + "$anim_type": "@start.anim_main_buttons_panel_alpha" + }, + { + "requires": "(not $showing_new_player_flow_buttons)", + "$anim_type": 1.0 + } + ], + "bindings": [ + { + "binding_name": "(not #showing_new_player_flow_buttons)", + "binding_name_override": "#visible" + } + ], + "alpha": "$anim_type", + "propagate_alpha": true, + "controls": [ + { + "main_buttons_panel@start.main_buttons_panel": {} + } + ] + } + }, + { + "main_buttons_panel_new_player_flow": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#showing_new_player_flow_buttons", + "binding_name_override": "#visible" + } + ], + "alpha": "@start.anim_new_player_buttons_panel_alpha", + "propagate_alpha": true, + "controls": [ + { + "main_buttons_panel_new_player_flow@start.main_buttons_panel_new_player_flow": {} + } + ] + } + }, + { + "padding_fill_2": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "gamepad_helpers@start.gamepad_helpers": {} + }, + { + "keyboard_helpers@start.keyboard_helper_vr_swap": {} + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 10 ] // size of text at the bottom of the screen + } + } + ] + }, + + "main_buttons_panel_new_player_flow": { + "type": "panel", + "size": [ 150, "100%c" ], + "controls": [ + { + "stacked_rows": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "test_label_row@start.stacked_row": { + "ignored": "(not $trial or not $is_new_trial_mode_enabled)", + "controls": [ + { + "trial_info@start.trial_info": {} + } + ] + } + }, + { + "spacer": { + "type": "panel", + "ignored": "(not $trial or not $is_new_trial_mode_enabled)", + "size": [ 20, 20 ] + } + }, + { + "get_started_row@start.stacked_row": { + "controls": [ + { + "get_started_button@start.get_started_button": {} + } + ] + } + }, + { + "main_menu_row@start.stacked_row": { + "controls": [ + { + "main_menu_button@start.main_menu_button": {} + } + ] + } + } + ] + } + } + ] + }, + + "main_buttons_panel": { + "type": "panel", + "size": [ 150, "100%c" ], + "controls": [ + { + "stacked_rows": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "stacked_row_0@start.stacked_row": { + "ignored": "(not $play_button_visible)", + "controls": [ + { "play_button@start.play_button": {} } + ] + } + }, + { + "featured_world@start.stacked_row": { + "ignored": "$featured_world_ignored", + "controls": [ + { "featured_world_button@start.featured_world_button": {} } + ] + } + }, + { + "stacked_row_2@start.stacked_row": { + "ignored": "(not $trial or $use_single_column_for_buttons)", + "controls": [ + { + "stacked_columns": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "stacked_col_0": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { "settings_button@start.settings_button": {} } + ] + } + }, + { + "stacked_col_1": { + "type": "panel", + "size": [ "fill", "100%" ], + "ignored": "($store_ignored)", + "controls": [ + { + "store_button@start.store_button": { + "enabled": "(not $store_disabled)" + } + }, + { + "update_icon@start.update_prompt_icon": { + "size": [ "52.38%y", 15 ], + "offset": [ -16, -6 ], + "bindings": [ + { + "binding_name": "#update_icon_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "new_offers_icon@start.new_offers_icon": { + "offset": [ 8, -6 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "bindings": [ + { + "binding_name": "#new_offers", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "ai_lesson_crafter_row@start.stacked_row": { + "bindings": [ + { + "binding_name": "#edu_ai_lesson_crafter_on", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "ai_lesson_crafter_button@start.ai_lesson_crafter_button": {} }, + { "lesson_crafter_preview_overlay@start.preview_tag": {} } + ] + } + }, + { + "edu_featured_button@start.stacked_row": { + "ignored": "(not $education_edition)", + "bindings": [ + { + "binding_name": "#edu_signed_in_only_ui_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "new_and_featured_button@edu_featured.featured_button": {} + } + ] + } + }, + { + "settings_and_editions_panel@start.stacked_row": { + "ignored": "($trial or not $supports_launching_legacy_version)", + "bindings": [ + { + "binding_name": "#realms_promo_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "settings_and_editions": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "ignored": "($trial or not $supports_launching_legacy_version)", + "bindings": [ + { + "binding_name": "#editions_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "settings_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { "settings_button@start.settings_button": {} } + ] + } + }, + { + "editions_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "launch_editions_button@start.launch_editions_button": {} + } + ] + } + } + ] + } + }, + { + "settings_panel@start.stacked_row": { + "bindings": [ + { + "binding_name": "(not #editions_visible)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "settings_button@start.settings_button": { + "$focus_override_right": "profile_button" + } + } + ] + } + } + ] + } + }, + { + "settings@start.stacked_row": { + "ignored": "($trial and not $use_single_column_for_buttons)", + "bindings": [ + { + "binding_name": "#not_realms_promo_visible_and_supports_launching_legacy_version", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "settings_button@start.settings_button": { + "$focus_override_right": "profile_button" + } + } + ] + } + }, + { + "realms@start.stacked_row": { + "ignored": "($trial or $is_preview_app)", + "bindings": [ + { + "binding_name": "#realms_promo_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "realms_button@start.realms_button": { + "$button_text": "menu.realms" + } + } + ] + } + }, + { + "unlock_full_game_row@start.stacked_row": { + "ignored": "(not $education_edition)", + "bindings": [ + { + "binding_name": "#edu_demo_only_ui_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "unlock_full_game@start.unlock_full_game_button": {} } + ] + } + }, + { + "store@start.store_button_stack": { + "ignored": "(($trial and not $use_single_column_for_buttons) or ($store_ignored))" + } + }, + { + "buy_game@start.stacked_row": { + "ignored": "$unlock_full_game_button_ignored", + "controls": [ + { "buy_game_button@start.buy_game_button": {} } + ] + } + }, + { + "launch_editions@start.stacked_row": { + "ignored": "($trial or not $supports_launching_legacy_version)", + "controls": [ + { + "launch_editions_button@start.launch_editions_button": {} + } + ], + "bindings": [ + { + "binding_name": "#editions_visible_and_not_realms_promo_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "gamepad_helpers": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 26 ], + "controls": [ + { "gamepad_helper_a@common.gamepad_helper_a": {} }, + { + "gamepad_helper_b_and_padding": { + "ignored": "(not $can_quit)", + "type": "panel", + "size": [ "100%c + 10px", "100%c" ], + "controls": [ + { + "gamepad_helper_b@common.gamepad_helper_b": { + "offset": [ 10, 0 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle" + } + } + ] + } + }, + { + "gamepad_helper_y_and_padding": { + "type": "panel", + "size": [ "100%c + 10px", "100%c" ], + "controls": [ + { + "gamepad_helper_y@common.gamepad_helper_y": { + "offset": [ 10, 0 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle" + } + } + ], + "bindings": [ + { + "binding_name": "#y_helper_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "gamepad_helper_x_and_padding": { + "type": "panel", + "size": [ "100%c + 10px", "100%c" ], + "controls": [ + { + "gamepad_helper_x@common.gamepad_helper_x": { + "offset": [ 10, 0 ], + "anchor_to": "left_middle", + "anchor_from": "left_middle" + } + } + ], + "bindings": [ + { + "binding_name": "#x_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "vr_swap_description@common.keyboard_helper_description": { + "offset": [ 5, 2 ] + }, + + "keyboard_helper_vr_swap@common.keyboard_helper": { + "$text_color": [ 1.0, 1.0, 1.0 ], + "$description_bind": "#button_keyboard_description", + "$keyboard_description": "start.vr_swap_description", + "$keyboard_character": "keyboard.keyName.e", + "bindings": [ + { + "binding_name": "#swap_vr_keyboard_helper_visible", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Realms Invite Panel + //--------------------------------------------------------------------------- + + "invite_notification_icon": { + "type": "image", + "texture": "textures/ui/invite_base", + "size": [ 20, 20 ] + }, + + "invite_notification_button@common_buttons.light_content_button": { + "size": [ 24, 24 ], + "$button_content": "start.invite_notification_icon" + }, + + "notification_button_text": { + "type": "label", + "color": "$tab_secondary_unchecked_text_color", + "shadow": false, + "text": "#realms_notification_count", + "bindings": [ + { + "binding_name": "#realms_notification_count" + } + ] + }, + + "notification_button_text_background": { + "type": "image", + "texture": "textures/ui/invite_number_background" + }, + + "notification_button_text_panel": { + "type": "panel", + "anchor_from": "top_right", + "anchor_to": "center", + "controls": [ + { + "text@start.notification_button_text": { + "layer": 9, + "controls": [ + { + "background@start.notification_button_text_background": { + "layer": -1, + "size": [ "100%+4px", "100%" ], + "offset": [ -0.5, 0 ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Cloud Upload Popup + //--------------------------------------------------------------------------- + "cloud_upload_prompt@common_dialogs.main_panel_three_buttons": { + "size": [ 300, 200 ], + "$fill_alpha": 1, + + "layer": 101, + "$text_name": "cloud_upload.title", + "$description_text": "cloud_upload.prompt.description", + "$button_size": [ "100%", 30 ], + "$close_button_to_button_id": "button.close_cloud_upload_prompt", + + "$child_control": "start.scrolling_child", + "$scrolling_content": "common.tts_label_focus_wrapper", + + "$top_button_panel": "start.cloud_upload_do_not_show_checkbox", + "$middle_button_panel": "start.cloud_upload_worlds_button", + "$bottom_button_panel": "start.cloud_upload_learn_more_button", + + "$tts_label_panel": "start.cloud_upload_description" + }, + + "scrolling_child": { + "type": "panel", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100% - 1px", "100% - 2px" ], + "$scroll_view_port_size": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_offset": [ 3, 2 ], + "$scroll_size": [ 5, "100% - 2px" ], + "$show_background": false + } + } + ] + }, + + "cloud_upload_worlds_button@popup_dialog.popup_dialog_button": { + "size": "$button_size", + "$pressed_button_name": "button.worlds", + "$button_text": "cloud_upload.prompt.button.worlds" + }, + + "cloud_upload_learn_more_button@popup_dialog.popup_dialog_button": { + "size": "$button_size", + "$pressed_button_name": "button.learn_more", + "$button_text": "cloud_upload.prompt.button.learn_more" + }, + + "cloud_upload_description": { + "type": "label", + "size": [ "100% - 4px", "default" ], + "font_type": "smooth", + "line_padding": 1.5, + "color": "$body_text_color", + "text": "cloud_upload.prompt.description" + }, + + "cloud_upload_do_not_show_checkbox@common.checkbox": { + "size": [ "100%", 30 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$toggle_name": "cloud_upload_do_not_show_again", + "$toggle_state_binding_name": "#cloud_upload_do_not_show_again", + "$toggle_label_text|default": "cloud_upload.prompt.do_not_show_toggle", + + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + "$toggle_enabled_binding_type": "global", + + "controls": [ + { + "header_description_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "controls": [ + { + "checkbox_visuals@common.toggle_visuals": { + "size": [ 30, "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "buffer_panel": { + "type": "panel", + "layer": 3, + "size": [ "fill", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "$toggle_label_text", + "size": [ "default", "default" ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "another_panel": { + "type": "panel", + "size": [ 30, "100%" ] + } + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "start_screen@common.base_screen": { + + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + + "button_mappings": [ + { + "ignored": "(not $can_quit)", + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "ignored": "(not $nx_os)", + "from_button_id": "button.controller_select", + "to_button_id": "button.menu_offline", + "mapping_type": "global" + }, + { + "ignored": "(not $can_swap_vr_mode)", + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.menu_swap_vr_mode", + "mapping_type": "global" + }, + { + "ignored": "(not $can_swap_vr_mode)", + "from_button_id": "button.menu_swap_vr_mode", + "to_button_id": "button.menu_swap_vr_mode", + "mapping_type": "global" + } + ], + "$screen_content": "start.start_screen_content" + }, + + "start_screen_content": { + "type": "panel", + "$achievements_ignored|default": false, + "$feedback_ignored|default": false, + "$store_ignored|default": false, + "variables": [ + { + "requires": "$education_edition", + "$achievements_ignored": true, + "$store_ignored|default": true + }, + { + "requires": "$gear_vr", + "$feedback_ignored": true + }, + { + "requires": "$fire_tv", + "$feedback_ignored": true + }, + { + "requires": "$nx_os", + "$feedback_ignored": true + }, + { + "requires": "(not $supports_xbl_achievements)", + "$achievements_ignored": true, + "$feedback_ignored": true + }, + { + "requires": "$trial", + "$achievements_ignored": true + } + ], + "bindings": [ + { + "binding_name": "(not #screen_needs_rebuild)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "main_buttons_and_title_panel@start.main_buttons_stack_panel": {} + }, + { + "online_button_stack": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "size": [ "50% - 75px", "100%c" ], + "offset": [ 0, "-10%" ], + "variables": [ + { + "requires": "($showing_new_player_flow_buttons)", + "$anim_type": "@start.anim_main_buttons_panel_alpha" + }, + { + "requires": "(not $showing_new_player_flow_buttons)", + "$anim_type": 1.0 + } + ], + "alpha": "$anim_type", + "controls": [ + { + "gathering_panel@start.gathering_panel": {} + }, + { + "upper_online_buttons_panel@start.upper_online_buttons_panel": {} + }, + { + "lower_online_buttons_panel@start.lower_online_buttons_panel": {} + } + ], + "bindings": [ + { + "binding_name": "#online_stack_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "skin_panel@start.skin_panel": { "layer": 1 } + }, + { + "text_panel@start.text_panel": {} + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "cloud_upload_prompt": "@start.cloud_upload_prompt" + } + } + } + ] + } +} diff --git a/resource_pack/ui/startup_screen.json b/resource_pack/ui/startup_screen.json new file mode 100644 index 0000000..5bdd65d --- /dev/null +++ b/resource_pack/ui/startup_screen.json @@ -0,0 +1,36 @@ +{ + "namespace": "startup", + + + + "startup_screen": { + "type": "screen", + "send_telemetry": false, + "load_screen_immediately": true, + "controls": [ + { + "background_color": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White" + } + }, + { + "loading_image": { + "type": "image", + "layer": 1, + "fill": false, + "size": [ "100%", "100%" ], + "$loading_image_texture|default": "textures/ui/loading_screen_0", + "texture": "$loading_image_texture", + "variables": [ + { + "requires": "$nx_os", + "$loading_image_texture": "textures/ui/mojang_splash_screen" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/stonecutter_screen.json b/resource_pack/ui/stonecutter_screen.json new file mode 100644 index 0000000..3808978 --- /dev/null +++ b/resource_pack/ui/stonecutter_screen.json @@ -0,0 +1,871 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "stonecutter", + + //--------------------------------------------------------------------------- + // #region common images + //--------------------------------------------------------------------------- + + "stonecutter_label": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "color": "$title_text_color", + "layer": 1, + "text": "container.stonecutter" + }, + + "arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_large", + "size": [ 18, 12 ] + }, + + "stone_cell_image": { + "type": "image", + "layer": 1, + "bindings": [ + { + "binding_name": "#stone_cell_background_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "always_when_visible" + } + ] + }, + + "container_cell_image": { + "type": "image", + "$cell_images_binding_condition|default": "visible", + "size": "$cell_image_size", + "$cell_image_size|default": [ "default", "default" ], + + "bindings": [ + { + "binding_name": "#container_cell_background_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$cell_images_binding_condition" + } + ] + }, + + "toolbar_background": { + "type": "image", + "texture": "textures/ui/toolbar_background" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region pattern book + //--------------------------------------------------------------------------- + + "highlight_slot_panel": { + "type": "panel", + "controls": [ + { + "hover_text@common.hover_text": { + "layer": 100, + "$hover_text_binding_name|default": "#hover_text", + "bindings": [ + { + "binding_name": "#hover_text", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "highlight@common.highlight_slot": { + "layer": 1, + "bindings": [ + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "white_border@common.white_border_slot": { + "layer": 1, + "bindings": [ + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "stone_slot_button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + + "$focus_id_binding_type|default": "collection", + "$focus_override_down_binding_type|default": "collection", + "$focus_override_up_binding_type|default": "collection", + "$focus_override_left_binding_type|default": "collection", + "$focus_override_right_binding_type|default": "collection", + + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + "focus_wrap_enabled": false, + "focus_magnet_enabled": true, + "$highlight_control|default": "stonecutter.highlight_slot_panel", + + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + + "default_focus_precedence": 1, + "hover_control": "hover", + "layer": 1, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_id_binding_type", + "binding_name": "#focus_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_down_binding_type", + "binding_name": "#focus_change_down", + "binding_name_override": "#focus_change_down", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_up_binding_type", + "binding_name": "#focus_change_up", + "binding_name_override": "#focus_change_up", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_left_binding_type", + "binding_name": "#focus_change_left", + "binding_name_override": "#focus_change_left", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_right_binding_type", + "binding_name": "#focus_change_right", + "binding_name_override": "#focus_change_right", + "binding_collection_name": "$collection_name", + "binding_condition": "once" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.stone_select", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.stone_select", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover@$highlight_control": {} + } + ] + }, + + "item_panel": { + "type": "panel", + "$item_renderer_panel_size|default": [ 26, 26 ], + "size": "$item_renderer_panel_size", + "$item_collection_name": "$collection_name", + "$stack_count_required|default": true, + "controls": [ + { + "item_renderer@common.item_renderer": { + "$item_renderer_size|default": [ 16, 16 ], + "size": "$item_renderer_size", + "layer": 1, + "bindings": [ + { + "binding_name": "#item_id_aux", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ], + "controls": [ + { + "stack_count_label@common.stack_count_label": { + "layer": 2, + "bindings": [ + { + "binding_name": "#item_stack_count", + "binding_name_override": "#inventory_stack_count", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + } + } + ] + }, + + "stone_button": { + "layer": 2, + "type": "input_panel", + "size": [ 18, 18 ], + "$button_ref|default": "stonecutter.stone_slot_button", + "$banner_pattern_ref|default": "stonecutter.item_panel", + "$background_images|default": "stonecutter.stone_cell_image", + "$background_image_control_name|default": "bg", + + "controls": [ + { + "$background_image_control_name@$background_images": { + "layer": 1 + } + }, + { + "banner_pattern@$banner_pattern_ref": { + "layer": 6 + } + }, + { "item_button_ref@$button_ref": {} } + ] + }, + + "scroll_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + + "$binding_condition|default": "visible", + "$grid_item_template|default": "stonecutter.stone_button", + + "collection_name": "$collection_name", + "grid_rescaling_type": "horizontal", + "grid_item_template": "$grid_item_template", + "bindings": [ + { + "binding_name": "#stone_selector_total_items", + "binding_name_override": "#maximum_grid_items", + "binding_condition": "$binding_condition", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "scroll_grid_panel@common.root_panel": { + "type": "input_panel", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { "grid@stonecutter.scroll_grid": {} } + ] + }, + + "scroll_panel@common.container_scroll_panel": { + "size": [ "100% - 12px", "100% - 12px" ], + + "$scrolling_content": "stonecutter.scroll_grid_panel", + "$collection_name": "stones" + }, + + "stone_book_panel@common.root_panel": { + "size": [ 146, 166 ], + "controls": [ + { + "bg@common.common_panel": { + "$show_close_button": false + } + }, + { "scroll_panel@stonecutter.scroll_panel": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region top half item slots + //--------------------------------------------------------------------------- + + "result_slot_button@common.no_coalesce_container_slot_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.stonecutter_result_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.stonecutter_result_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.stonecutter_result_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.stonecutter_result_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.stonecutter_result_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "input_item_slot@common.container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "stonecutter_input_items" + }, + + "result_item_slot@common.container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "stonecutter_result_items", + "$button_ref": "stonecutter.result_slot_button", + "$cell_image_size": [ 26, 26 ], + "size": [ 26, 26 ] + }, + + "input_slots_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "input_item_slot@stonecutter.input_item_slot": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region right panel, inventory and stonecutter crafting + //--------------------------------------------------------------------------- + + "top_half_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "input_slots_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { "input_slots_stack_panel@stonecutter.input_slots_stack_panel": {} } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 14, 0 ] + } + }, + { + "arrow_holder": { + "type": "panel", + "size": [ 18, 12 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "arrow_icon@stonecutter.arrow_icon": {} + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 14, 0 ] + } + }, + { + "result_item_slot_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { "result_item_slot@stonecutter.result_item_slot": {} } + ] + } + } + ] + }, + + "top_half_panel": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 14px", "50% - 22px" ], + "offset": [ 0, 15 ], + "controls": [ + { "top_half_stack_panel@stonecutter.top_half_stack_panel": {} } + ] + }, + + "right_panel@common.root_panel": { + "layer": 1, + "controls": [ + { + "common_panel@common.common_panel": { + "$show_close_button": false + } + }, + { + "stonecutter_screen_inventory": { + "type": "panel", + "layer": 2, + "controls": [ + { + "stonecutter_label@stonecutter.stonecutter_label": { + "offset": [ 0, 5 ] + } + }, + { "top_half_panel@stonecutter.top_half_panel": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region screen + //--------------------------------------------------------------------------- + + "toolbar_panel@common.root_panel": { + "size": [ "100%c", 20 ], + "controls": [ + { + "toolbar_background@stonecutter.toolbar_background": { + "size": [ "100%cm", "100% + 8px" ], + "offset": [ 0, -3 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + + "controls": [ + { + "toolbar_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + + "size": [ "default", "100% - 8px" ], + "offset": [ 0, 3 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "close_button_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "close_button@common.light_close_button": { + "size": [ "100%cm", "100%cm" ], + "offset": [ 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 6, 0 ] + } + } + ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "toolbar_anchor": { + "type": "panel", + "size": [ 0, 0 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "toolbar_panel@stonecutter.toolbar_panel": { + "anchor_from": "top_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region screen + //--------------------------------------------------------------------------- + + "center_fold@common.root_panel": { + "size": [ 4, 166 ], + "controls": [ + { + "center_bg": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "size": [ "100% + 8px", "100% - 6px" ] + } + } + ] + }, + + "screen_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "stone_book_panel@stonecutter.stone_book_panel": {} }, + { "center_fold@stonecutter.center_fold": {} }, + { "right_panel@stonecutter.right_panel": {} }, + { "toolbar_anchor@stonecutter.toolbar_anchor": {} } + ] + }, + + "stonecutter_panel": { + "type": "panel", + "controls": [ + { "screen_stack_panel@stonecutter.screen_stack_panel": {} }, + + { "container_gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + }, + + "stonecutter_screen@common.inventory_screen_common": { + "close_on_player_hurt": true, + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "button_mappings": "$button_mappings", + + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "stonecutter.stonecutter_panel" + }, + { + "requires": "$pocket_screen", + "$screen_content": "stonecutter_pocket.stonecutter_panel", + "$button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.left_panel_tab_decrement", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_left", + "to_button_id": "button.left_panel_tab_increment", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_right", + "to_button_id": "button.menu_alternate_tab_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.controller_secondary_select_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_clear", + "to_button_id": "button.menu_clear", + "mapping_type": "focused" + } + ] + } + ], + + "$button_mappings|default": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.focus_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_right", + "to_button_id": "button.focus_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.chat", + "to_button_id": "button.chat", + "mapping_type": "global" + } + ] + } +} + +// #endregion diff --git a/resource_pack/ui/stonecutter_screen_pocket.json b/resource_pack/ui/stonecutter_screen_pocket.json new file mode 100644 index 0000000..6824b13 --- /dev/null +++ b/resource_pack/ui/stonecutter_screen_pocket.json @@ -0,0 +1,481 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "stonecutter_pocket", + + //--------------------------------------------------------------------------- + // #region Images + //--------------------------------------------------------------------------- + + "vertical_arrow_icon": { + "type": "image", + "texture": "textures/ui/arrow_down_large", + "size": [ 15, 22 ] + }, + + "chest_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": 3538944, + "#collection_name": "inventory_tab", + "#collection_index": 0 + } + }, + + "stonecutter_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": -12910592, + "#collection_name": "stonecutter_tab", + "#collection_index": 1 + } + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Item Slots + //--------------------------------------------------------------------------- + + "input_item_slot@common.pocket_ui_container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "stonecutter_input_items" + }, + + "result_item_slot@common.pocket_ui_container_item": { + "anchor_from": "center", + "anchor_to": "center", + "$item_collection_name": "stonecutter_result_items", + "$button_ref": "stonecutter.result_slot_button" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right Panel + //--------------------------------------------------------------------------- + + "right_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "stonecutter_content_stack_panel@stonecutter_pocket.stonecutter_content_stack_panel": { + "layer": 2 + } + } + ] + } + }, + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%" ], + "controls": [ + { "right_navigation_tabs@stonecutter_pocket.right_navigation_tabs": {} } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right Navigation Tabs + //--------------------------------------------------------------------------- + + "right_tab_stonecutter@common_tabs.pocket_tab_right": { + "$tab_view_binding_name": "stonecutter_tab_toggle", + + "$tab_content": "stonecutter_pocket.stonecutter_item_renderer", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_right_tab_stonecutter" + }, + + "right_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "100%" ], + "offset": [ -4, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "close": { + "type": "image", + "texture": "textures/ui/TabRightBackTopMost", + "size": [ "100%", 29 ], + + "controls": [ + { + "nodrop_zone@common.root_panel": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%", "100%" ] + } + }, + { + "close_button@common.light_close_button": { + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ], + "layer": 2 + } + } + ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "fill": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "right_tab_stonecutter@stonecutter_pocket.right_tab_stonecutter": { + "$is_bottom_most_tab": true + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region stonecutter Content + //--------------------------------------------------------------------------- + + "input_slots_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "input_item_slot@stonecutter_pocket.input_item_slot": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region stonecutter Content Stack Panel + //--------------------------------------------------------------------------- + + "stonecutter_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 12px", "100% - 12px" ], + "controls": [ + { + "label_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "stonecutter_label@stonecutter.stonecutter_label": {} } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "input_slots_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "input_slots_stack_panel@stonecutter_pocket.input_slots_stack_panel": {} } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 0, 10 ] + } + }, + { + "arrow_holder": { + "type": "panel", + "size": [ "100%", 22 ], + "controls": [ + { "vertical_arrow_icon@stonecutter_pocket.vertical_arrow_icon": {} } + ] + } + }, + { + "padding_4": { + "type": "panel", + "size": [ 0, 10 ] + } + }, + { + "result_item_slot_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "result_item_slot@stonecutter_pocket.result_item_slot": {} } + ] + } + }, + { + "padding_5": { + "type": "panel", + "size": [ 0, 4 ] + } + } + ] + } + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Left Panel + //--------------------------------------------------------------------------- + + "inventory_panel": { + "type": "stack_panel", + "size": [ "100% - 12px", "100% - 12px" ], + + "controls": [ + { + "inventory_title_label_centerer": { + "type": "panel", + "size": [ "default", 14 ], + + "controls": [ + { + "inventory_title_label": { + "type": "label", + "color": "$title_text_color", + "text": "container.inventory", + "size": [ "default", "100%" ] + } + } + ] + } + }, + { + "inventory_scroll_panel@stonecutter_pocket.inventory_scroll_panel": { + "size": [ "100%", "fill" ] + } + } + ] + }, + + "inventory_scroll_panel@common.container_scroll_panel": { + "$scrolling_content": "common.pocket_container_grid" + }, + + "pattern_button@stonecutter.stone_button": { + "size": [ 28, 28 ], + "$item_renderer_panel_size": [ 28, 28 ], + "$item_renderer_size": [ 26, 26 ] + }, + + "pattern_scroll_panel@stonecutter.scroll_panel": { + "$grid_item_template": "stonecutter_pocket.pattern_button" + }, + + "left_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "gamepad_helpers_and_tabs_holder": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "tabs_left_gamepad_helpers@common.tabs_left_gamepad_helpers": { + "size": [ 14, 0 ], + "inherit_max_sibling_height": true, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "left_navigation_tabs@stonecutter_pocket.left_navigation_tabs": {} } + ] + } + } + ] + } + }, + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "inventory_panel@stonecutter_pocket.inventory_panel": { + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_left_tab_inventory", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pattern_scroll_panel@stonecutter_pocket.pattern_scroll_panel": { + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "(not #is_left_tab_inventory)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Left Navigation Tabs + //--------------------------------------------------------------------------- + + "left_tab_stones@common_tabs.pocket_tab_left": { + "$is_top_most_tab": true, + "$tab_view_binding_name": "stones_tab_toggle", + "$tab_content": "stonecutter_pocket.stonecutter_item_renderer", + "$toggle_group_forced_index": "$left_tab_index_stones", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_stones" + }, + + "left_tab_inventory@common_tabs.pocket_tab_left": { + "$is_bottom_most_tab": true, + "$tab_view_binding_name": "inventory_tab_toggle", + "$tab_content": "stonecutter_pocket.chest_item_renderer", + "$toggle_group_forced_index": "$left_tab_index_inventory", + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_inventory" + }, + + "left_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "100%" ], + "offset": [ 4, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "left_tab_stones@stonecutter_pocket.left_tab_stones": {} }, + { + "padding": { + "type": "panel", + "size": [ 0, "fill" ] + } + }, + { "left_tab_inventory@stonecutter_pocket.left_tab_inventory": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Base Panels + //--------------------------------------------------------------------------- + + "pocket_hotbar_and_content_panels@common.pocket_hotbar_and_content_panels": { + "layer": 2, + "$left_panel_control": "stonecutter_pocket.left_panel", + "$right_panel_control": "stonecutter_pocket.right_panel" + }, + + "stonecutter_panel": { + "type": "panel", + "controls": [ + { "pocket_hotbar_and_content_panels@stonecutter_pocket.pocket_hotbar_and_content_panels": {} }, + + { + "container_gamepad_helpers@common.container_gamepad_helpers": { + "size": [ "100%", 40 ], + "$gamepad_helper_size": [ "100%c", 15 ], + "$a_b_stack_panel_orientation": "vertical", + "$x_y_stack_panel_orientation": "vertical", + "$a_b_stack_panel_size": [ "100%cm", "100%" ], + "$x_y_stack_panel_size": [ "100%cm", "100%" ] + } + }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + } +} + +// #endregion diff --git a/resource_pack/ui/storage_management.json b/resource_pack/ui/storage_management.json new file mode 100644 index 0000000..ee1656a --- /dev/null +++ b/resource_pack/ui/storage_management.json @@ -0,0 +1,2659 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "storage_management", + + "lock_icon": { + "type": "image", + "texture": "textures/ui/lock" + }, + + //--------------------------------------------------------------------------- + // Main Content + //--------------------------------------------------------------------------- + + "storage_header_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "header_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 4px", "100%c + 4px" ], + "offset": [ 0, 2 ], + "controls": [ + { + "file_storage_dropdown@settings_common.option_dropdown": { + "$option_label": "options.filelocation.title", + "ignored": "($education_edition or ($is_holographic and $is_reality_mode))", + "visible": "($storage_location_switch_enabled and not $gear_vr)", + "$dropdown_content": "general_section.file_storage_location_content", + "$dropdown_area": "content_area", + "$dropdown_name": "file_storage_location", + "$option_enabled_binding_name": "#file_storage_location_enabled", + "$options_dropdown_toggle_label_binding": "#file_storage_location_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "file_storage_dropdown_edu@settings_common.option_dropdown": { + "$option_label": "options.filelocation.title.edu", + "ignored": "((not $education_edition) or ($is_holographic and $is_reality_mode))", + "visible": "($storage_location_switch_enabled and not $gear_vr)", + "$dropdown_content": "general_section.file_storage_location_content", + "$dropdown_area": "content_area", + "$dropdown_name": "file_storage_location", + "$option_enabled_binding_name": "#file_storage_location_enabled", + "$options_dropdown_toggle_label_binding": "#file_storage_location_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + } + }, + { + "clear_cache_button_panel": { + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$clear_cache_button_text|default": "#none", + "controls": [ + { + "clear_cache_button@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "offset": [ -1, -2 ], + "$pressed_button_name": "button.clear_cache", + "$button_text": "$clear_cache_button_text" + } + } + ] + } + }, + { + "clear_screenshots_cache_button_panel": { + "ignored": "$education_edition", + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$clear_screenshots_cache_button_text|default": "#none", + "controls": [ + { + "clear_screenshots_cache_button@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "offset": [ -1, -2 ], + "$pressed_button_name": "button.clear_screenshots_cache", + "$button_text": "$clear_screenshots_cache_button_text" + } + } + ], + "bindings": [ + { + "binding_name": "#screenshots_showcase_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "delete_local_screenshots_button_panel": { + "ignored": "$education_edition", + "type": "panel", + "size": [ "100%", "100%c + 2px" ], + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$delete_local_screenshots_button_text|default": "#none", + "controls": [ + { + "delete_local_screenshots_button@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "offset": [ -1, -2 ], + "$pressed_button_name": "button.delete_local_screenshots", + "$button_text": "$delete_local_screenshots_button_text" + } + } + ], + "bindings": [ + { + "binding_name": "#screenshots_gallery_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "panel": { + "type": "panel", + "size": [ "100%", 32 ], + "controls": [ + { + "multiselect_button@common_toggles.light_image_toggle": { + "offset": [ -1, 0 ], + "$toggle_name": "toggle.enableMultiselect", + "$button_content": "storage_management.generic_button", + "$button_texture": "textures/ui/multiselection", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "size": [ "100%", "100%" ] + } + } + + //Uncomment this block when we have a meaningful way to sort packs + //{ + // "storage_grouping_dropdown@storage_management.sort_toggle": { + // "size": [ 32, "100%" ], + // "$toggle_name": "group_dropdown", + // "$toggle_state_binding_name": "#group_dropdown", + // "offset": [3, 0], + // "+bindings":[ + // { + // "binding_type": "view", + // "source_control_name": "search_display_text", + // "source_property_name": "#text_edit_selected", + // "source_property_inverse": true, + // "target_property_name": "#visible" + // } + // ] + // } + //}, + //{ + // "storage_sorting_dropdown@storage_management.sort_toggle": { + // "size": [ 32, "100%" ], + // "$toggle_name": "sort_dropdown", + // "$toggle_state_binding_name": "#sort_dropdown", + // "offset": [3, 0], + // "+bindings":[ + // { + // "binding_type": "view", + // "source_control_name": "search_display_text", + // "source_property_name": "#text_edit_selected", + // "source_property_inverse": true, + // "target_property_name": "#visible" + // } + // ] + // } + //} + ] + } + } + //Uncomment this block when we have a meaningful way to sort packs + // + //{ + // "main_panel":{ + // "type": "panel", + // "size": ["100%", 0], //Size is 0 to prevent stack panel from expanding once these become visible. + // "layer": 2, + // "controls":[ + // { + // "sorting_options@storage_management.filter_options":{ + // "$filter_prefix": "sort", + // "$filter_control_name": "storage_sorting_dropdown", + // "$filter_content":[ + // { + // "content":{ + // "type": "stack_panel", + // "size": ["100%", "100%c"], + // "controls":[ + // { + // "filter_button_1@storage_management.dropdown_button": { + // "$pressed_button_name": "button.filter_1", + // "$button_text": "storageManager.sortLargest" + // } + // }, + // { + // "filter_button_2@storage_management.dropdown_button": { + // "$pressed_button_name": "button.filter_2", + // "$button_text": "storageManager.sortDateRecent" + // } + // }, + // { + // "filter_button_3@storage_management.dropdown_button": { + // "$pressed_button_name": "button.filter_3", + // "$button_text": "storageManager.sortDateOldest" + // } + // } + // ] + // } + // } + // ] + // } + // }, + // { + // "grouping_options@storage_management.filter_options":{ + // "$filter_prefix": "group", + // "$filter_control_name": "storage_grouping_dropdown", + // "$filter_content":[ + // { + // "content":{ + // "type": "stack_panel", + // "size": ["100%", "100%c"], + // "controls":[ + // { + // "filter_button_1@storage_management.dropdown_button": { + // "$pressed_button_name": "button.group_1", + // "$button_text": "storageManager.groupType" + // } + // }, + // { + // "filter_button_2@storage_management.dropdown_button": { + // "$pressed_button_name": "button.group_2", + // "$button_text": "storageManager.groupPack" + // } + // } + // ] + // } + // } + // ] + // } + // } + // ] + // } + //} + ] + } + } + ] + }, + + "x_button_image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "" + }, + + + "storage_main_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "scroll_content@storage_management.storage_scroll_pane": {} + } + ] + }, + + "storage_footer_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "visibleContent": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 5px", 32 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "delete_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.deleteResources", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "fill", "100% - 2px" ], + "$button_text": "storageManager.multiselectDelete", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", // if we ever start using the share_button below, this should be removed + "bindings": [ + { + "binding_type": "global", + "binding_condition": "always", + "binding_name": "#delete_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "share_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.shareResources", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "50%", "100% - 2px" ], + "$button_text": "storageManager.multiselectShare", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "ignored": true, + "bindings": [ + { + "binding_type": "global", + "binding_condition": "always", + "binding_name": "#share_button_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ], + + "bindings": [ + { + "binding_name": "#multiselectEnabled", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + + //--------------------------------------------------------------------------- + // Checkboxes + //--------------------------------------------------------------------------- + + "delete_checkbox": { + "type": "panel", + "size": [ 20, "default" ], + + "$checked_state|default": false, + "$button_state|default": "default", + "$check_binding_name|default": "('#' + $panel_prefix + _checkVisible)", + + "controls": [ + { + "selected_checkbox_image@common.checkbox_image": { + "$checked_image": "textures/ui/checkbox_check", + + "variables": [ + { + "requires": "($checked_state and $button_state = hover)", + "$checked_image": "textures/ui/checkbox_checkHover" + }, + { + "requires": "(not $checked_state and $button_state = default)", + "$checked_image": "textures/ui/checkbox_space" + }, + { + "requires": "(not $checked_state and $button_state = hover)", + "$checked_image": "textures/ui/checkbox_spaceHover" + } + ], + + "texture": "$checked_image", + "offset": [ 1, 0 ] + } + } + ], + + + + "bindings": [ + { + "binding_name": "($check_binding_name and $check_visible)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "($panel_prefix + _panel)" + } + ] + }, + + //--------------------------------------------------------------------------- + // Common Controls + //--------------------------------------------------------------------------- + + "generic_button": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "", + "layer": 1, + "$toggle_checked|default": false, + "$toggle_checked_hover|default": false, + "controls": [ + { + "picture": { + "type": "image", + "layer": 1, + "texture": "$button_texture", + "size": [ 26, "100% - 2px" ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + + "variables": [ + { + "requires": "($toggle_checked or $toggle_checked_hover)", + "$button_texture": "textures/ui/invertedmultiselecticon" + } + ], + + "$button_texture_binding_type|default": "none", + "$button_texture_collection_name|default": "", + + "bindings": [ + { + "binding_type": "$button_texture_binding_type", + "binding_collection_name": "$button_texture_collection_name", + "binding_name": "$button_texture", + "binding_name_override": "#texture" + } + ] + } + }, + { + "text": { + "type": "label", + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "text": "storageManager.multiselect", + "offset": [ 30, 0 ], + "size": [ "100% - 30px", "default" ], + "color": "$text_color" + } + } + ] + }, + + "common_scroll_pane": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%c" ], + "offset": [ -1, 0 ] + }, + + "common_label": { + "type": "label", + "color": "$light_toggle_default_text_color", + "shadow": false, + + "$left_label_size": [ "65%", "default" ], + "$right_label_size": [ "default", "default" ] + }, + + "main_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "$bright_text_color": [ 1.0, 1.0, 1.0 ], + "$dark_text_color": [ 0.4, 0.4, 0.4 ], + //"offset": "$button_offset", + + "$image_visible|default": true, + "$check_visible|default": false, + + //"$button_offset|default": [0,0], + "$image_size|default": [ "150%y + 2px", "100%" ], + "$texture_binding_type|default": "none", + "$texture_binding_collection|default": "", + + "$name_binding_type|default": "none", + "$size_binding_type|default": "global", + "$date_binding_type|default": "global", + + "$name_binding_collection|default": "", + "$size_binding_collection|default": "", + "$date_binding_collection|default": "", + + "$name_bindings": [ + { + "binding_type": "$name_binding_type", + "binding_collection_name": "$name_binding_collection", + "binding_name": "$name_text" + }, + { + "binding_type": "collection_details" + } + ], + + "$size_bindings": [ + { + "binding_type": "$size_binding_type", + "binding_collection_name": "$size_binding_collection", + "binding_name": "$size_text" + }, + { + "binding_type": "collection_details" + } + ], + + "$date_bindings": [ + { + "binding_type": "$date_binding_type", + "binding_collection_name": "$date_binding_collection", + "binding_name": "$date_text" + }, + { + "binding_type": "collection_details" + } + ], + + "$lock_bindings": [ + { + "binding_type": "$lock_binding_type", + "binding_collection_name": "$lock_binding_collection", + "binding_name": "#lock_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection_details" + } + ], + + "controls": [ + { + "panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "layer": 10, + "controls": [ + { + "spacing": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "delete_checkbox@storage_management.delete_checkbox": {} + }, + { + "image_panel": { + "type": "panel", + "size": "$image_size", + "visible": "$image_visible", + "$button_state|default": "default", + "controls": [ + { + "image_border": { + "type": "image", + "offset": [ 2, 0 ], + "size": [ "100% - 8px", "100% - 6px" ], + "variables": [ + { + "requires": "($button_state = default)", + "$image_border_texture": "textures/ui/default_indent" + }, + { + "requires": "($button_state = hover)", + "$image_border_texture": "textures/ui/world_screenshot_focus_border" + } + ], + "texture": "$image_border_texture", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "controls": [ + { + "image": { + "type": "image", + "layer": 2, + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100% - 2px", "100% - 2px" ], + "texture": "$button_texture", + + "$button_texture_zip|default": "($button_texture + _zip)", + "$button_texture_zip_type|default": "$texture_binding_type", + "$button_texture_file|default": "($button_texture + _file_system)", + "$button_texture_file_type|default": "$texture_binding_type", + + "bindings": [ + { + "binding_name_override": "#texture", + "binding_type": "$texture_binding_type", + "binding_collection_name": "$texture_binding_collection", + "binding_name": "$button_texture" + }, + { + "binding_name_override": "#zip_folder", + "binding_type": "$button_texture_zip_type", + "binding_collection_name": "$texture_binding_collection", + "binding_name": "$button_texture_zip" + }, + { + "binding_name_override": "#texture_file_system", + "binding_type": "$button_texture_file_type", + "binding_collection_name": "$texture_binding_collection", + "binding_name": "$button_texture_file" + }, + { + "binding_type": "collection_details" + } + ] + } + } + ] + } + } + ] + } + }, + { + "text_panel_offset": { + "type": "panel", + "$text_panel_size|default": [ "fill", "100%" ], + "$text_panel_offset|default": [ 0, 0 ], + + "size": "$text_panel_size", + "controls": [ + { + "text_panel": { + "type": "panel", + "layer": 3, + "size": [ "100%", "100%" ], + "offset": "$text_panel_offset", + "controls": "$text_controls" + } + } + ] + } + } + ] + } + } + ] + }, + + "common_main_button": { + "type": "panel", + "size": [ "100%", "100%" ], + + "$background_texture": "textures/ui/Gray", + "$background_size": [ "100% - 2px", "100%" ], + "$background_layer": 0, + "$ignore_border|default": true, + + "controls": [ + { + "background": { + "type": "image", + "layer": "$background_layer", + "texture": "$background_texture", + "size": "$background_size" + } + }, + { + "border": { + "type": "image", + "layer": 1, + "ignored": "$ignore_border", + + "variables": [ + { + "requires": "($button_state = default)", + "$border_texture": "textures/ui/Black" + }, + { + "requires": "($button_state = hover)", + "$border_texture": "textures/ui/focus_border_white" + } + ], + + "texture": "$border_texture", + "size": [ "100% - 2px", "100%" ] + } + }, + { + "main_content_panel@storage_management.main_content_panel": { + } + } + ] + }, + + "base_glyph": { + "type": "stack_panel", + "size": [ "100%c", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$glyph_texture": "textures/ui/Caution", + "$warning_binding|default": "collection", + "visible": false, + "controls": [ + { + "image": { + "type": "image", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50%y", "100%" ], + "texture": "$glyph_texture" + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ], + + "bindings": [ + { + "binding_type": "$warning_binding", + "binding_collection_name": "($panel_prefix + _panel)", + "binding_name": "('#sub_' + $panel_prefix + _ + $binding_name)", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // Storage Controls + //--------------------------------------------------------------------------- + + "main_item_text@storage_management.main_content_panel": { + "$image_visible": false, + + "$text_controls": [ + { + "glyph_and_name": { + "type": "stack_panel", + "size": [ "65%", "default" ], + "orientation": "horizontal", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 4, 5 ], + + "$glyph_binding": [ + { + "binding_type": "global", + "binding_name": "('#' + $panel_prefix + _ + $binding_name)", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { + "main_label@storage_management.common_label": { + "size": [ "default", "default" ], + "text": "$name_text", + "color": "$text_color", + "bindings": "$name_bindings" + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "glyph_warning@storage_management.base_glyph": { + "size": [ 9, 9 ], + "$binding_name": "warning", + "$glyph_texture": "textures/ui/WarningGlyph", + "bindings": "$glyph_binding" + } + }, + { + "glyph_error@storage_management.base_glyph": { + "size": [ 9, 9 ], + "$binding_name": "error", + "$glyph_texture": "textures/ui/ErrorGlyph", + "bindings": "$glyph_binding" + } + }, + { + "glyph_update@storage_management.base_glyph": { + "size": [ 9, 9 ], + "$binding_name": "update", + "$glyph_texture": "textures/ui/UpdateGlyph", + "bindings": "$glyph_binding" + } + } + ] + } + }, + { + "size_label@storage_management.common_label": { + "size": "$right_label_size", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 4, -5 ], + "color": "$text_color", + "text": "$size_text", + "bindings": "$size_bindings" + } + }, + { + "arrow_down": { + "type": "image", + "layer": 2, + "offset": [ -10, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowDown", + "visible": true, + "bindings": [ + { + "binding_name": "#storage_dropdown", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "storage_panel" + } + ] + } + }, + { + "arrow_right": { + "type": "image", + "layer": 2, + "offset": [ -10, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowRight", + "bindings": [ + { + "binding_name": "(not #storage_dropdown)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "storage_panel" + } + ] + } + } + ] + }, + + "grey_button@storage_management.common_main_button": { + "$background_texture": "textures/ui/Gray", + "$background_size": [ "100%-4px", "100%-2px" ], + "$background_layer": 2, + + "$text_panel_size": [ "fill", "100% - 4px" ], + "$text_panel_offset": [ 0, 2 ], + "$ignore_border": false + }, + + "icon_item_text@storage_management.grey_button": { + "$text_controls": [ + { + "main_label@storage_management.common_label": { + "size": "$left_label_size", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "text": "$name_text", + "bindings": "$name_bindings" + } + }, + { + "size_label@storage_management.common_label": { + "size": "$right_label_size", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ -5, 0 ], + + "text": "$size_text", + "bindings": "$size_bindings" + } + } + ] + }, + + "world_item_text@storage_management.grey_button": { + "$background_texture": "textures/ui/button_borderless_dark", + "$date_text": "('#sub_' + $panel_prefix + _date)", + "$date_binding_type": "collection", + "$date_binding_collection": "($panel_prefix + _panel)", + + "$game_type_text": "('#sub_' + $panel_prefix + _game_type)", + "$game_type_binding_type": "collection", + "$game_type_binding_collection": "($panel_prefix + _panel)", + + "$game_type_bindings": [ + { + "binding_type": "$game_type_binding_type", + "binding_collection_name": "$game_type_binding_collection", + "binding_name": "$game_type_text" + } + ], + + "$text_controls": [ + { + "main_label@storage_management.common_label": { + "size": [ "55%", "50%" ], + "color": "$dark_toggle_default_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 3 ], + "text": "$name_text", + "bindings": "$name_bindings" + } + }, + { + "world_type_label@storage_management.common_label": { + "size": "$left_label_size", + "color": "$dark_button_secondary_default_text_color", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 0, -3 ], + "text": "$game_type_text", + "bindings": "$game_type_bindings" + } + }, + { + "date_label@storage_management.common_label": { + "color": "$dark_button_secondary_default_text_color", + "size": "$right_label_size", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -5, 3 ], + + "text": "$date_text", + "bindings": "$date_bindings" + } + }, + { + "size_label@storage_management.common_label": { + "size": "$right_label_size", + "color": "$dark_button_secondary_default_text_color", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ -5, -3 ], + + "text": "$size_text", + "bindings": "$size_bindings" + } + }, + { + "lock_panel": { + "type": "panel", + "size": [ "35% + 100%c + 8px", "100%c + 4px" ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "visible": false, + "offset": [ -2, -2 ], + "controls": [ + { + "lock_icon@storage_management.lock_icon": { + "size": [ 8, 8 ] + } + } + ], + "bindings": "$lock_bindings" + } + } + ] + }, + + "storage_main_item_toggle": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + + "controls": [ + { + "main_item_toggle@common_toggles.light_ui_toggle": { + "$size_text": "('#' + $panel_prefix + _size)", + + "size": [ "100%", 30 ], + "$button_content_size": [ "100% - 6px", "100%" ], + "$button_type_panel": "storage_management.main_item_text", + + "$toggle_name": "('#' + $panel_prefix + _tab)", + "$toggle_state_binding_name": "#storage_dropdown", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "storage_panel", + "$toggle_group_default_selected": 1, + "$toggle_tts_name": "accessibility.dropdown.tts.title", + + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "contentPanel": { + "type": "stack_panel", + "orientation": "vertical", + "visible": false, + "size": [ "100%", "default" ], + "$item_template|default": "storage_management.texture_icon_text", + "$panel_length": "('#' + $panel_prefix + _length)", + + "factory": { + "name": "resource_item", + "control_name": "storage_management.resource_sub_item" + }, + + "collection_name": "($panel_prefix + _panel)", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "this_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible", + "resolve_sibling_scope": true + }, + { + "binding_name": "$panel_length", + "binding_name_override": "#collection_length", + "binding_condition": "visible" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "storage_scroll_pane": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "category_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "bindings": [ + { + "binding_name": "#category_panel_visible", + "binding_name_override": "#visible" + } + ], + + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + + "factory": { + "name": "category_items", + "control_ids": { + "world_panel": "@storage_management.world_controls", + "world_template_panel": "@storage_management.world_template_controls", + "resource_panel": "@storage_management.resource_controls", + "behavior_panel": "@storage_management.behavior_controls", + "skin_panel": "@storage_management.skin_controls", + "cache_panel": "@storage_management.cached_controls" + } + }, + + "collection_name": "storage_panel", + "bindings": [ + { + "binding_name": "#storage_panel_length", + "binding_name_override": "#collection_length", + "binding_condition": "visible" + } + ] + } + }, + { + "legacy_world_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + + "controls": [ + { + "legacy_world_controls@storage_management.storage_main_item_legacy_world_toggle": { + "$button_texture": "textures/ui/WorldDemoScreen", + "$name_text": "storageManager.contentType.legacy_worlds", + + "$item_template": "storage_management.world_sub_text", + "$panel_prefix": "legacy_world" + } + } + ], + + "bindings": [ + { + "binding_name": "#legacy_world_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "retailtopreview_world_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + + "controls": [ + { + "retailtopreview_world_controls@storage_management.storage_main_item_retailtopreview_world_toggle": { + "$button_texture": "textures/ui/WorldDemoScreen", + "$name_text": "storageManager.contentType.retailtopreview_worlds", + + "$item_template": "storage_management.world_sub_text", + "$panel_prefix": "retailtopreview_world" + } + } + ], + + "bindings": [ + { + "binding_name": "#retailtopreview_world_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "multiselect_padding": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", 32 ], + "bindings": [ + { + "binding_name": "#multiselectEnabled", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //Toggle controls + "world_controls@storage_management.storage_main_item_toggle": { + "$button_texture": "textures/ui/WorldDemoScreen", + "$name_text": "storageManager.contentType.worlds", + + "$item_template": "storage_management.world_sub_text", + "$panel_prefix": "world" + }, + + "world_template_controls@storage_management.storage_main_item_toggle": { + "$button_texture": "textures/ui/WorldDemoScreen", + "$name_text": "storageManager.contentType.worldTemplates", + + "$item_template": "storage_management.world_template_sub_text", + "$panel_prefix": "world_template" + }, + + "resource_controls@storage_management.storage_main_item_toggle": { + "$button_texture": "textures/ui/op", + "$name_text": "storageManager.contentType.resourcePacks", + + "$item_template": "storage_management.pack_description_sub_item", + "$panel_prefix": "resource" + }, + + "behavior_controls@storage_management.storage_main_item_toggle": { + "$button_texture": "textures/ui/anvil_icon", + "$name_text": "storageManager.contentType.behaviorPacks", + + "$item_template": "storage_management.pack_description_sub_item", + "$panel_prefix": "behavior" + }, + + "skin_controls@storage_management.storage_main_item_toggle": { + "$button_texture": "textures/ui/FriendsDiversity", + "$name_text": "storageManager.contentType.skinPacks", + + "$item_template": "storage_management.basic_sub_item", + "$panel_prefix": "skin" + }, + + "cached_controls@storage_management.storage_main_item_toggle": { + "$button_texture": "textures/ui/Wrenches1", + "$name_text": "storageManager.contentType.cachedData", + + "$item_template": "storage_management.texture_icon_sub_item", + "$panel_prefix": "cache" + }, + + "resource_sub_item": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + "$padding_size|default": [ 0, "fill" ], + "controls": [ + { + "dummy_panel": { + "type": "panel", + "size": "$padding_size" + } + }, + { + "main_panel": { + "type": "panel", + "size": [ "100%", "100%c - 1px" ], + + "$name_text": "('#sub_' + $panel_prefix + _name)", + "$size_text": "('#sub_' + $panel_prefix + _size)", + + "$name_binding_type": "collection", + "$name_binding_collection": "($panel_prefix + _panel)", + + "$size_binding_type": "collection", + "$size_binding_collection": "($panel_prefix + _panel)", + + "$lock_binding_type": "collection", + "$lock_binding_collection": "($panel_prefix + _panel)", + + "$content_template|default": "storage_management.icon_item_text", + "$control_template|default": "storage_management.resource_toggle", + + "controls": [ + { + "content@$control_template": { + } + } + ] + } + } + ] + }, + + "resource_toggle": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + "controls": [ + { + "content_toggle@common.toggle": { + "size": [ "100%", "100%c" ], + + "checked_control": "default", + "unchecked_control": "unchecked", + "checked_hover_control": "hover", + "unchecked_hover_control": "unchecked_hover", + "checked_locked_control": "default", + "unchecked_locked_control": "unchecked", + "checked_locked_hover_control": "hover", + "unchecked_locked_hover_control": "unchecked_hover", + + "$toggle_grid_collection_name": "($panel_prefix + _panel)", + "$toggle_name": "($panel_prefix + _item_dropdown)", + "$toggle_binding_type": "collection", + "$toggle_state_binding_name": "($panel_prefix + _toggle_check)", + + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + + "bindings": [ + { + "binding_name": "('#' + $panel_prefix + _isSelected)", + "binding_name_override": "#toggle_state", + "binding_type": "collection", + "binding_collection_name": "($panel_prefix + _panel)" + } + ], + + "controls": [ + { + "default@$item_template": { + "$button_state": "default", + "$checked_state": true + } + }, + { + "hover@$item_template": { + "$button_state": "hover", + "$checked_state": true, + "layer": 4 + } + }, + { + "unchecked@$item_template": { + "$button_state": "default", + "$checked_state": false + } + }, + { + "unchecked_hover@$item_template": { + "$button_state": "hover", + "$checked_state": false, + "layer": 4 + } + } + ] + } + }, + { + "item_button_panel": { + "type": "input_panel", + "modal": true, + "inline_modal": true, + "focus_enabled": false, + // We need to set the visibility false or we try to set focus to this object since it's modal. + "visible": false, + "layer": 1, + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "y_sizing_panel": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "24px + 3%x" ], + "controls": [ + { + "border": { + "type": "image", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "600%y - 18px", "100%" ], + "texture": "textures/ui/Banners", + + "controls": [ + { + "button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "$tray_button_size": [ "100%y", "100% - 4px" ], + "size": [ "100%", "100% - 2px" ], + "offset": [ 4, 2 ], + + "controls": [ + { "blank@storage_management.sub_item_blank_button": {} }, + { + "padding_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "generate_texture_list_panel": { + "type": "panel", + "size": "$tray_button_size", + "$button_visible_bind": "('#sub_' + $panel_prefix + _generate_texture_list_button_visible)", + + "controls": [ + { + "blank@storage_management.sub_item_blank_button": { + "size": [ "100%", "100%" ], + + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "($panel_prefix + _panel)", + "binding_name": "$button_visible_bind", + "binding_name_override": "(not #visible)" + } + ] + } + }, + { + "generate_texture_list_button@storage_management.sub_item_tray_button": { + "ignored": "($is_publish or not ($panel_prefix = resource)", + "size": [ "100%", "100%" ], + + "$glyph_size": [ 11, 17 ], + "$pressed_button_name": "button.generateTextureList", + "$button_texture": "textures/gui/newgui/storage/update", + + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_type": "collection", + "binding_collection_name": "($panel_prefix + _panel)", + "binding_name": "$button_visible_bind", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "delete_button@storage_management.sub_item_tray_button": { + "$glyph_size": [ 15, 17 ], + "$pressed_button_name": "button.deleteResources", + "$button_texture": "textures/ui/trash", + "$button_tts_header": "storageManager.multiselectDelete", + "bindings": [ + { + "binding_type": "collection_details" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "share_panel": { + "type": "panel", + "size": "$tray_button_size", + "$share_button_visible|default": false, + "controls": [ + { + "blank@storage_management.sub_item_blank_button": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "share_button@storage_management.sub_item_tray_button": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$glyph_size": [ 16, 15 ], + + + "variables": [ + { + "requires": "$pocket_edition", + "$share_button_visible": false + } + ], + "$pressed_button_name": "button.shareResources", + "$button_texture": "textures/ui/windowsshare", + "$button_visible_bind": "('#sub_' + $panel_prefix + _share_button)", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "($panel_prefix + _panel)", + "binding_name": "($button_visible_bind and $share_button_visible)", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection_details" + } + ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { "blank_3@storage_management.sub_item_blank_button": {} }, + //Uncomment when updating code is avaliable + //{ + // "update_button@storage_management.sub_item_tray_button":{ + // "$glyph_size": [11, 17], + // "$pressed_button_name": "button.updateResource", + // "$button_texture": "textures/ui/update", + // "bindings": [ + // { + // "binding_type": "collection_details", + // "binding_collection_name": ["($panel_prefix + _panel)", "storage_panel", "search_panel"] + // } + // ] + // } + //}, + { + "padding_4": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "dependency_panel": { + "type": "panel", + "size": "$tray_button_size", + "controls": [ + { + "blank@storage_management.sub_item_blank_button": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "dependency_button@storage_management.sub_item_tray_button": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$glyph_size": [ 13, 20 ], + "$pressed_button_name": "button.warningDependency", + "$button_texture": "#pack_info_texture", + "$button_texture_binding_type": "collection", + "$button_texture_collection_name": "($panel_prefix + _panel)", + + "$warning_binding|default": "collection", + "bindings": [ + { + "binding_type": "$warning_binding", + "binding_collection_name": "($panel_prefix + _panel)", + "binding_name": "('#sub_' + $panel_prefix + _warning_button)", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection_details" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ], + + "bindings": [ + { + "binding_type": "collection", + "binding_name_override": "#visible", + "binding_name": "('#' + $panel_prefix + _optionsVisible)", + "binding_collection_name": "($panel_prefix + _panel)" + }, + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#modal", + "binding_type": "global" + } + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.deselect_resource", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.deselect_resource", + "mapping_type": "global", + "consume_event": false + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ] + } + } + ] + }, + + "sub_item_tray_button@common_buttons.light_content_button": { + "size": "$tray_button_size", + "$glyph_size|default": [ "100%", "100%" ], + "$button_content": "storage_management.glyph_sub_icon" + }, + + "glyph_sub_icon": { + "type": "image", + "size": "$glyph_size", + "texture": "$button_texture", + "$button_texture_binding_type|default": "none", + "$button_texture_collection_name|default": "", + "bindings": [ + { + "binding_type": "$button_texture_binding_type", + "binding_collection_name": "$button_texture_collection_name", + "binding_name": "$button_texture", + "binding_name_override": "#texture" + } + ] + }, + + "sub_item_blank_button@common_buttons.new_ui_button_panel": { + "type": "panel", + "size": "$tray_button_size", + "layer": 1, + "$button_offset": [ 0, 0 ], + "$button_type_panel": "common_buttons.button_content_panel", + "$new_ui_button_texture": "textures/ui/button_borderless_dark", + "$button_content": "common.empty_panel", + "$content_alpha": 1, + "$border_color": [ 0.075, 0.075, 0.075 ], + "$border_layer": 2, + "$default_state": true + }, + + "texture_icon_text@storage_management.icon_item_text": { + "size": [ "100%", 40 ], + "$image_size": [ "100%y + 2px", "100%" ], + "$button_texture": "('#' + $panel_prefix + _texture)", + "$button_texture_zip": "('#' + $panel_prefix + _texture_zip)", + "$button_texture_file": "('#' + $panel_prefix + _texture_file_system)", + "$texture_binding_type": "collection", + "$texture_binding_collection": "($panel_prefix + _panel)" + }, + + "texture_icon_sub_item@storage_management.texture_icon_text": { + "$check_visible": true + }, + + "version_sub_item@storage_management.texture_icon_text": { + "$text_controls": [ + { + "panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "main_label@storage_management.common_label": { + "size": [ "65%", 10 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 10 ], + + "text": "$name_text", + "bindings": "$name_bindings" + } + }, + { + "version_label@storage_management.common_label": { + "size": [ "100%", 10 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "$version_name": "('#sub_' + $panel_prefix + _version)", + "$version_binding_collection": "($panel_prefix + _panel)", + + "text": "$version_name", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$version_binding_collection", + "binding_name": "$version_name" + }, + { + "binding_type": "collection_details" + } + ] + } + } + ] + } + }, + { + "size_label@storage_management.common_label": { + "size": "$right_label_size", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -5, 0 ], + + "text": "$size_text", + "bindings": "$size_bindings" + } + } + ] + }, + + "pack_description_sub_item@storage_management.texture_icon_text": { + "$check_visible": true, + "$text_controls": [ + { + "panel": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "main_label@storage_management.common_label": { + "size": [ "65%", 8 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 9 ], + + "text": "$name_text", + "color": "$body_text_color", + "bindings": "$name_bindings" + } + }, + { + "glyphs_and_version": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 4px", 9 ], + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "glyph_warning@storage_management.base_glyph": { + "$binding_name": "warning", + "$glyph_texture": "textures/ui/WarningGlyph" + } + }, + { + "glyph_error@storage_management.base_glyph": { + "$binding_name": "error", + "$glyph_texture": "textures/ui/ErrorGlyph" + } + }, + { + "glyph_update@storage_management.base_glyph": { + "$binding_name": "update", + "$glyph_texture": "textures/ui/UpdateGlyph" + } + }, + { + "version_label@storage_management.common_label": { + "size": [ "fill", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "$version_name": "('#sub_' + $panel_prefix + _version)", + "$version_binding_visible": "('#sub_' + $panel_prefix + _valid)", + "$version_binding_collection": "($panel_prefix + _panel)", + + "text": "$version_name", + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$version_binding_collection", + "binding_name": "$version_name" + }, + { + "binding_type": "collection", + "binding_collection_name": "$version_binding_collection", + "binding_name": "$version_binding_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection_details" + } + ] + } + } + ] + } + }, + { + "desc_label@storage_management.common_label": { + "size": [ "100% - 4px", 20 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "$description_name": "('#sub_' + $panel_prefix + _description)", + "$description_binding_collection": "($panel_prefix + _panel)", + + "text": "$description_name", + "color": "$light_button_secondary_default_text_color", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$description_binding_collection", + "binding_name": "$description_name" + }, + { + "binding_type": "collection_details" + } + ] + } + } + ] + } + }, + { + "size_label@storage_management.common_label": { + "size": "$right_label_size", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -5, 0 ], + + "text": "$size_text", + "color": "$light_button_secondary_default_text_color", + "bindings": "$size_bindings" + } + } + ] + }, + + "world_sub_text@storage_management.world_item_text": { + "size": [ "100%", 30 ], + "$check_visible": true, + "$button_texture": "('#' + $panel_prefix + _icon_texture)", + "$button_texture_file": "('#' + $panel_prefix + _icon_texture_file)", + "$button_texture_zip_type": "none", + "$texture_binding_type": "collection", + "$texture_binding_collection": "($panel_prefix + _panel)" + }, + + "world_template_sub_text@storage_management.world_item_text": { + "size": [ "100%", 30 ], + "$check_visible": true, + "$button_texture": "('#' + $panel_prefix + _icon_texture)", + "$button_texture_file": "('#' + $panel_prefix + _icon_texture_file)", + "$button_texture_zip": "('#' + $panel_prefix + _icon_texture_zip)", + "$texture_binding_type": "collection", + "$texture_binding_collection": "($panel_prefix + _panel)" + }, + + "basic_sub_item@storage_management.icon_item_text": { + "size": [ "100%", 30 ], + "$check_visible": true + }, + + //--------------------------------------------------------------------------- + // Filter Controls + //--------------------------------------------------------------------------- + + "dropdown_button@common_buttons.light_content_button": { + "size": [ "100%", 32 ], + "$button_content": "storage_management.dropdown_button_content" + }, + + "dropdown_button_content": { + "type": "stack_panel", + "size": [ "100%", 32 ], + "orientation": "horizontal", + "controls": [ + { + "image_panel": { + "type": "panel", + "size": [ "100%y", "100% - 2px" ], + "controls": [ + { + "icon": { + "type": "image", + "layer": 2, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "100% - 10px" ], + "texture": "textures/ui/trash", + "offset": [ -2, 0 ] + } + } + ] + } + }, + { + "text_panel": { + "type": "panel", + "layer": 3, + "size": [ "fill", "100%" ], + "controls": [ + { + "main_label@storage_management.common_label": { + "size": [ "100%", "default" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$button_text" + } + } + ] + } + } + ] + }, + + "filter_options": { + "type": "input_panel", + "layer": 42, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% + 1px", "100%c" ], + "modal": true, + "visible": false, + "controls": "$filter_content", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$filter_control_name", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "(button. + $filter_prefix + _dropdown_exit)", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "(button. + $filter_prefix + _dropdown_exit)", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "(button. + $filter_prefix + _dropdown_exit)", + "mapping_type": "global" + } + ] + }, + + "light_assets": { + "type": "panel", + "$default_button_texture|default": "textures/ui/button_borderless_light", + "$hover_button_texture|default": "textures/ui/button_borderless_lighthover", + "$pressed_button_texture|default": "textures/ui/button_borderless_lightpressed", + "$locked_button_texture|default": "textures/ui/disabledButtonNoBorder", + + "$default_color": [ 0.3, 0.3, 0.3 ], + "$hover_color": [ 1, 1, 1 ], + "$pressed_color": [ 1, 1, 1 ], + "$locked_color": [ 0.7, 0.7, 0.7 ], + + "$border_color_default": [ 0.075, 0.075, 0.075 ], + "$border_color_hover_pressed": [ 1, 1, 1 ], + + "$locked_alpha": 1 + }, + + "button_add": { + "type": "image", + "layer": 1, + "texture": "textures/ui/onlineLight", + "size": [ "100%", "100% - 2px" ] + }, + + "sort_panel@storage_management.light_assets": { + "controls": [ + { + "default@common_buttons.new_ui_button_panel": { + "$button_content": "storage_management.button_add", + "$button_content_offset": [ 0, 0 ], + "$pressed_alpha": 1, + "$button_type_panel": "common_buttons.glyph_content_panel", + + "$button_layer": 1, + "layer": "$button_layer", + "$new_ui_button_texture|default": "$default_button_texture", + "$glyph_color|default": "$default_color", + "$content_alpha|default": 1, + "$border_color|default": "$border_color_default", + "$border_layer|default": 2, + "$button_press_offset|default": [ 0, 0 ] + } + } + ] + }, + + "sort_toggle@common.toggle": { + "size": [ 32, "100%" ], + "$unchecked_control": "storage_management.sort_panel", + "$checked_control": "storage_management.sort_panel", + "$unchecked_hover_control": "storage_management.sort_panel", + "$checked_hover_control": "storage_management.sort_panel", + "$unchecked_locked_control": "storage_management.sort_panel", + "$unchecked_locked_hover_control": "storage_management.sort_panel", + "$checked_locked_control": "storage_management.sort_panel", + "$checked_locked_hover_control": "storage_management.sort_panel" + }, + + "storage_scroll_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100% - 3px", "90% - 5px" ], + "$scrolling_content": "storage_management.storage_scroll_pane", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + //Sync legacy Worlds controls + + "storage_main_item_legacy_world_toggle": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + + "controls": [ + { + "main_item_toggle@common_toggles.light_ui_toggle": { + "$size_text": "('#' + $panel_prefix + _size)", + + "size": [ "100%", 30 ], + "$button_content_size": [ "100% - 6px", "100%" ], + "$button_type_panel": "storage_management.legacy_world_main_item_text", + + "$toggle_name": "('#' + $panel_prefix + _tab)", + "$toggle_state_binding_name": "#legacy_world_storage_dropdown", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "storage_panel", + "$toggle_group_default_selected": 1, + "$toggle_tts_name": "accessibility.dropdown.tts.title", + + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "contentPanel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + + "controls": [ + { + "sync_legacy_world_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "dummy_panel": { + "type": "panel", + "size": [ 3, "fill" ] + } + }, + { + "sync_legacy_world_button@common_buttons.light_text_button": { + "size": [ "100% - 5px", 30 ], + "offset": [ -1, -2 ], + "$pressed_button_name": "button.sync_legacy_worlds", + "visible": true, + "$button_text": "storageManager.sync_legacy_worlds" + } + } + ], + + "bindings": [ + { + "binding_name": "#sync_legacy_world_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "dummy_panel": { + "type": "panel", + "size": [ 0, 2 ], + + "bindings": [ + { + "binding_name": "#sync_legacy_world_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sync_legacy_world_description_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "dummy_panel": { + "type": "panel", + "size": [ 5, 1 ] + } + }, + { + "sync_legacy_world_description": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false, + "text": "storageManager.sync_legacy_worlds_description", + "size": [ "100% - 7px", 30 ], + "offset": [ 10, -2 ], + + "$left_label_size": [ "65%", "default" ], + "$right_label_size": [ "default", "default" ] + } + } + ], + + "bindings": [ + { + "binding_name": "#sync_legacy_world_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "itemsPanel": { + "type": "stack_panel", + "orientation": "vertical", + "visible": true, + "size": [ "100%", "default" ], + "$item_template|default": "storage_management.texture_icon_text", + "$panel_length": "('#' + $panel_prefix + _length)", + + "factory": { + "name": "resource_item", + "control_name": "storage_management.resource_sub_item" + }, + + "collection_name": "($panel_prefix + _panel)", + "bindings": [ + { + "binding_name": "$panel_length", + "binding_name_override": "#collection_length", + "binding_condition": "visible" + } + ] + } + }, + { + "sync_legacy_world_conversion_description_panel_dummy_panel": { + "type": "panel", + "size": [ 0, 2 ], + + "bindings": [ + { + "binding_name": "(not (#legacy_world_length = 0))", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sync_legacy_world_conversion_description_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "dummy_panel": { + "type": "panel", + "size": [ 5, 1 ] + } + }, + { + "sync_legacy_world_conversion_description": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false, + "text": "storageManager.sync_legacy_worlds.conversion_description", + "size": [ "100% - 7px", 30 ], + "offset": [ 10, -2 ], + + "$left_label_size": [ "65%", "default" ], + "$right_label_size": [ "default", "default" ] + } + } + ], + + "bindings": [ + { + "binding_name": "(not (#legacy_world_length = 0))", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loading_legacy_worlds_panel@play.label_background": { + "size": [ "100%", "100%c - 12px" ], + "min_size": [ "100%", 39 ], + "controls": [ + { + "loading_legacy_worlds_label": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false, + "text": "playscreen.fetchingLegacyWorlds", + "offset": [ 10, -6 ], + "$left_label_size": [ "65%", "default" ], + "$right_label_size": [ "default", "default" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "progress_loading_bars": { + "type": "image", + "layer": 3, + "texture": "textures/ui/loading_bar", + "offset": [ 0, 24 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 64, 8 ], + "uv_size": [ 64, 8 ], + "uv": "@play.bar_animation", + "color": "$dark_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#is_loading_legacy_world", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_loading_legacy_world", + "binding_name_override": "#visible" + } + ] + } + } + ], + + "collection_name": "($panel_prefix + _panel)", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "this_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "legacy_world_main_item_text@storage_management.main_content_panel": { + "$image_visible": false, + + "$text_controls": [ + { + "main_label@storage_management.common_label": { + "size": "$left_label_size", + "offset": [ 4, 5 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "$name_text", + "color": "$text_color", + "bindings": "$name_bindings" + } + }, + { + "size_label@storage_management.common_label": { + "size": "$right_label_size", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 4, -5 ], + "color": "$text_color", + "text": "$size_text", + "bindings": "$size_bindings" + } + }, + { + "arrow_down": { + "type": "image", + "layer": 2, + "offset": [ -10, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowDown", + "visible": true, + "bindings": [ + { + "binding_name": "#legacy_world_storage_dropdown", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "storage_panel" + } + ] + } + }, + { + "arrow_right": { + "type": "image", + "layer": 2, + "offset": [ -10, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowRight", + "bindings": [ + { + "binding_name": "(not #legacy_world_storage_dropdown)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "storage_panel" + } + ] + } + } + ] + }, + + //Sync Worlds from Retail in Preview + + "storage_main_item_retailtopreview_world_toggle": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + + "controls": [ + { + "main_item_toggle@common_toggles.light_ui_toggle": { + "$size_text": "('#' + $panel_prefix + _size)", + + "size": [ "100%", 30 ], + "$button_content_size": [ "100% - 6px", "100%" ], + "$button_type_panel": "storage_management.retailtopreview_world_main_item_text", + + "$toggle_name": "('#' + $panel_prefix + _tab)", + "$toggle_state_binding_name": "#retailtopreview_world_storage_dropdown", + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "storage_panel", + "$toggle_group_default_selected": 1, + "$toggle_tts_name": "accessibility.dropdown.tts.title", + + "$focus_override_right": "FOCUS_OVERRIDE_STOP" + } + }, + { + "contentPanel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + + "controls": [ + { + "sync_retailtopreview_world_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "dummy_panel": { + "type": "panel", + "size": [ 3, "fill" ] + } + }, + { + "sync_retailtopreview_world_button@common_buttons.light_text_button": { + "size": [ "100% - 5px", 30 ], + "offset": [ -1, -2 ], + "$pressed_button_name": "button.sync_retailtopreview_worlds", + "visible": true, + "$button_text": "storageManager.sync_retailtopreview_worlds" + } + } + ], + + "bindings": [ + { + "binding_name": "#sync_retailtopreview_world_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "dummy_panel": { + "type": "panel", + "size": [ 0, 2 ], + + "bindings": [ + { + "binding_name": "#sync_retailtopreview_world_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sync_retailtopreview_world_description_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "dummy_panel": { + "type": "panel", + "size": [ 5, 1 ] + } + }, + { + "sync_retailtopreview_world_description": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false, + "text": "storageManager.sync_retailtopreview_worlds_description", + "size": [ "100% - 7px", 30 ], + "offset": [ 10, -2 ], + + "$left_label_size": [ "65%", "default" ], + "$right_label_size": [ "default", "default" ] + } + } + ], + + "bindings": [ + { + "binding_name": "#sync_retailtopreview_world_button_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "itemsPanel": { + "type": "stack_panel", + "orientation": "vertical", + "visible": true, + "size": [ "100%", "default" ], + "$item_template|default": "storage_management.texture_icon_text", + "$panel_length": "('#' + $panel_prefix + _length)", + + "factory": { + "name": "resource_item", + "control_name": "storage_management.resource_sub_item" + }, + + "collection_name": "($panel_prefix + _panel)", + "bindings": [ + { + "binding_name": "$panel_length", + "binding_name_override": "#collection_length", + "binding_condition": "visible" + } + ] + } + }, + { + "sync_retailtopreview_world_conversion_description_panel_dummy_panel": { + "type": "panel", + "size": [ 0, 2 ], + + "bindings": [ + { + "binding_name": "(not (#retailtopreview_world_length = 0))", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sync_retailtopreview_world_conversion_description_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + + "controls": [ + { + "dummy_panel": { + "type": "panel", + "size": [ 5, 1 ] + } + }, + { + "sync_retailtopreview_world_conversion_description": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false, + "text": "storageManager.sync_retailtopreview_worlds.conversion_description", + "size": [ "100% - 7px", 30 ], + "offset": [ 10, -2 ], + + "$left_label_size": [ "65%", "default" ], + "$right_label_size": [ "default", "default" ] + } + } + ], + + "bindings": [ + { + "binding_name": "(not (#retailtopreview_world_length = 0))", + "binding_name_override": "#visible" + } + ] + } + }, + { + "loading_retailtopreview_worlds_panel@play.label_background": { + "size": [ "100%", "100%c - 12px" ], + "min_size": [ "100%", 39 ], + "controls": [ + { + "loading_retailtopreview_worlds_label": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false, + "text": "playscreen.fetchingRetailToPreviewWorlds", + "offset": [ 10, -6 ], + "$left_label_size": [ "65%", "default" ], + "$right_label_size": [ "default", "default" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "progress_loading_bars": { + "type": "image", + "layer": 3, + "texture": "textures/ui/loading_bar", + "offset": [ 0, 24 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ 64, 8 ], + "uv_size": [ 64, 8 ], + "uv": "@play.bar_animation", + "color": "$dark_button_secondary_default_text_color", + "bindings": [ + { + "binding_name": "#is_loading_retailtopreview_world", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#is_loading_retailtopreview_world", + "binding_name_override": "#visible" + } + ] + } + } + ], + + "collection_name": "($panel_prefix + _panel)", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "this_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "retailtopreview_world_main_item_text@storage_management.main_content_panel": { + "$image_visible": false, + + "$text_controls": [ + { + "main_label@storage_management.common_label": { + "size": "$left_label_size", + "offset": [ 4, 5 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "text": "$name_text", + "color": "$text_color", + "bindings": "$name_bindings" + } + }, + { + "size_label@storage_management.common_label": { + "size": "$right_label_size", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 4, -5 ], + "color": "$text_color", + "text": "$size_text", + "bindings": "$size_bindings" + } + }, + { + "arrow_down": { + "type": "image", + "layer": 2, + "offset": [ -10, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowDown", + "visible": true, + "bindings": [ + { + "binding_name": "#retailtopreview_world_storage_dropdown", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "storage_panel" + } + ] + } + }, + { + "arrow_right": { + "type": "image", + "layer": 2, + "offset": [ -10, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowRight", + "bindings": [ + { + "binding_name": "(not #retailtopreview_world_storage_dropdown)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "storage_panel" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/storage_management_popup.json b/resource_pack/ui/storage_management_popup.json new file mode 100644 index 0000000..1682337 --- /dev/null +++ b/resource_pack/ui/storage_management_popup.json @@ -0,0 +1,339 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "storage_management_popup", + + //--------------------------------------------------------------------------- + // Dependency Popup + //--------------------------------------------------------------------------- + + "storage_dependency_modal@popup_dialog.modal_input_panel": { + "$default_text_color": [ 1, 1, 1 ], + "controls": [ + { + "base@popup_dialog.modal_dialog_base":{ + "$popup_size|default": [ "100% - 4px", "100% - 4px" ], + "variables": [ + { + "requires": "$desktop_screen", + "$popup_size": [ 372, 218 ] + } + ], + "size": "$popup_size", //Explicit size definition since this is created through a factory + "controls": [ + { + "background_with_buttons@common.common_panel": { + "$show_close_button": false, + "$dialog_background": "dialog_background_hollow_2", + "$fill_alpha": 0.98 + } + }, + { + "title@popup_dialog.modal_title_text": { + "$visibility_source_control_name": "two_buttons" + } + }, + { + "dependencies@storage_management_popup.storage_dependency_panel": { + "size": [ "100% - 16px", "100% - 55px" ], + "$scroll_view_name": "dependency_scroll", + "offset": [2, 0] + } + }, + { + "two_buttons": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%-14px", 30 ], + "offset": [ 0, -7 ], + "controls": [ + { + "disabled_left@popup_dialog.modal_first_button": { + "$button_text": "storageManager.dependency.continue.scroll", + "enabled": false, + "bindings":[ + { + "binding_type": "view", + "source_control_name": "dependency_scroll", + "source_property_name": "(not #scrollbar_hit_bottom)", + "target_property_name": "#visible" + } + ] + } + }, + { + "left@popup_dialog.modal_first_button": { + "$button_text": "storageManager.dependency.continue", + "visible": false, + "bindings":[ + { + "binding_type": "view", + "source_control_name": "dependency_scroll", + "source_property_name": "#scrollbar_hit_bottom", + "target_property_name": "#visible" + } + ] + } + }, + { + "right@popup_dialog.modal_second_button": { + "default_focus_precedence": 1 + } + } + ] + } + } + ] + } + } + ] + }, + + "storage_dependency_panel": { + "type": "panel", + "controls":[ + { + "scroll@storage_management_popup.storage_dependency_scroll_panel": {} + } + ] + }, + + "storage_dependency_scroll_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100% - 3px", "90%" ], + "$scrolling_content": "storage_management_popup.dependency_scroll_pane", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + "dependency_item_content":{ + "type": "panel", + "size": [ "100%", "100%c" ], + "controls":[ + { + "content@$item_template":{ + "$button_state": "default" + } + } + ] + }, + + "dependency_scroll_pane": { + "type": "stack_panel", + "$panel_prefix": "dependency", + + "controls":[ + { + "main_label": { + "type": "label", + "color": "$main_header_text_color", + "shadow": false, + "size": [ "100%", 28 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "text": "#dependency_label_text", + "bindings": [ + { + "binding_name": "#dependency_label_text" + } + ] + } + }, + { + "contentPanel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + + "$item_template": "storage_management_popup.dependency_sub_item", + "$control_template": "storage_management_popup.dependency_item_content", + + "$panel_prefix": "dependency", + "$panel_length": "('#' + $panel_prefix + _length)", + + "$padding_size": [ 0, "fill" ], + + "factory": { + "name": "dependency_item", + "control_name": "storage_management.resource_sub_item" + }, + + "collection_name": "($panel_prefix + _panel)", + "bindings": [ + { + "binding_name": "$panel_length", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + }, + + "dependency_item@storage_management.pack_description_sub_item": { + "$check_visible": false, + "$warning_binding": "none", + "size": [ "100% - 6px", 32 ] + }, + + "dependency_item_small@storage_management.version_sub_item": { + "$check_visible": false, + "$warning_binding": "none", + "size": [ "100% - 6px", 25 ] + }, + + "dependency_resource_item@storage_management_popup.dependency_item":{ + "$name_binding_collection": "dependency_panel", + "$size_binding_collection": "dependency_panel", + "$date_binding_collection": "dependency_panel", + "$texture_binding_collection": "dependency_panel", + "$version_binding_collection": "dependency_panel" + }, + + "dependency_resource_item_small@storage_management_popup.dependency_item_small":{ + "$name_binding_collection": "dependent_packs_panel", + "$size_binding_collection": "dependent_packs_panel", + "$date_binding_collection": "dependent_packs_panel", + "$texture_binding_collection": "dependent_packs_panel" + }, + + "dependency_sub_item": { + "type": "stack_panel", + "controls":[ + { + "border":{ + "type": "image", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/Banners", + "size": [ "100%", "100%c" ], + "controls":[ + { + "stack":{ + "type": "stack_panel", + "controls":[ + { + "padding_0":{ + "type": "panel", + "size": ["100%", 4] + } + }, + { + "wrapper":{ + "type": "panel", + "size": ["100%", "100%c"], + "controls":[ + { + "dependency_item@storage_management_popup.dependency_item": {} + } + ] + } + }, + { + "panel_0":{ + "type": "panel", + "size": [ "100%", 12 ], + "controls":[ + { + "main_label": { + "type": "label", + "color": "$body_text_color", + "shadow": false, + "size": [ "100%", "100%" ], + "offset": [ 6, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "text": "storageManager.dependency.breakItem" + } + } + ] + } + }, + { + "contentPanel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + + "$panel_prefix": "dependent_packs", + "$item_template": "storage_management_popup.dependency_resource_item_small", + "$control_template": "storage_management_popup.dependency_item_content", + + "$padding_size": [ 0, "fill" ], + + "factory": { + "name": "DependencySubFactory", + "control_name": "storage_management.resource_sub_item" + }, + + "collection_name": "dependent_packs_panel", + "bindings": [ + { + "binding_name": "#dependent_packs_length", + "binding_type": "collection", + "binding_collection_name": "dependency_panel", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "panel_1":{ + "type": "panel", + "size": [ "100% - 8px", 32 ], + "controls":[ + { + "remove_pack_button@common_buttons.light_text_button": { + "size": [ "100%", "100%" ], + "offset": [4, -1], + "$pressed_button_name": "button.remove_pack_button", + "$button_text": "storageManager.dependency.removeDependencies", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "($panel_prefix + _panel)" + } + ] + } + } + ] + } + }, + { + "padding_1":{ + "type": "panel", + "size": ["100%", 2] + } + } + ] + } + } + ] + } + }, + { + "padding":{ + "type": "panel", + "size": [ "100%", 10 ] + } + } + ] + }, + + + //--------------------------------------------------------------------------- + // Sharing popup + //--------------------------------------------------------------------------- + "sharing_popup_content@popup_dialog.progress_dialog_popup": { + "$button_text_binding_type": "global" + } +} \ No newline at end of file diff --git a/resource_pack/ui/storage_migration_common.json b/resource_pack/ui/storage_migration_common.json new file mode 100644 index 0000000..69ea094 --- /dev/null +++ b/resource_pack/ui/storage_migration_common.json @@ -0,0 +1,426 @@ +{ + "namespace": "storage_migration_common", + + "progress_panel": { + "type": "panel", + "size": "$storage_migration_progress_size", + "$button_state_default_base": "common.button_state_default", + "$button_state_hover_base": "common.button_state_hover", + "$button_state_pressed_base": "common.button_state_pressed", + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_3", + "$show_close_button": false + } + }, + { + "base_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-12px", "100%-12px" ], + "offset": [ 6, 6 ], + "controls": [ + { + "progress_title_text@progress.progress_title_text": { + "color": "$title_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 3 ] + } + }, + { + "progress_bar_text@progress.progress_bar_text": { + "localize": false, + "size": [ "default", 40 ], + "max_size": [ "100% - 8px", 40 ], + "offset": [ 0, -3 ] + } + } + ] + } + }, + { + "inside_content": { + "type": "stack_panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%-12px", "100%c" ], + "controls": [ + { + "size_label": { + "type": "label", + "text_alignment": "center", + "size": [ "100%", "default" ], + "text": "#file_size_progress", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#file_size_progress" + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "loading_bar_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "fancy_progress_loading_bars@progress.fancy_progress_loading_bars": {} + }, + { + "progress_loading_bars@progress.progress_loading_bars": { + "offset": [ 0, 0 ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 0, 14 ] + } + } + ] + } + } + ] + }, + + "label": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "line_padding": 1.5, + "color": "$body_text_color" + }, + + "base_button@common_buttons.light_text_button": { + "size": [ "100% - 14px", 30 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + }, + + "retry_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.retry", + "$button_text": "storage_migration.button.retry" + }, + + "go_to_faq_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.faq", + "$button_text": "storage_migration.button.go_to_faq" + }, + + "next_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.next", + "$button_text": "storage_migration.button.next" + }, + + "get_started_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.next", + "$button_text": "storage_migration.button.get_started" + }, + + "start_transfer_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.start_transfer", + "$button_text": "storage_migration.button.start" + }, + + "finished_main_menu_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.main_menu", + "$button_text": "storage_migration.button.main_menu" + }, + + "start_transfer_out_of_space_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.start_transfer", + "$button_text": "storage_migration.button.start", + "bindings": [ + { + "binding_name": "#has_file_space_available", + "binding_name_override": "#enabled" + } + ] + }, + + "continue_out_of_space_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.retry", + "$button_text": "storage_migration.button.continue", + "bindings": [ + { + "binding_name": "#has_file_space_available", + "binding_name_override": "#enabled" + } + ] + }, + + "resume_transfer_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.start_transfer", + "$button_text": "storage_migration.button.resume" + }, + + "exit_button@storage_migration_common.base_button": { + "$pressed_button_name": "button.exit", + "$button_text": "gui.exit" + }, + + "retry_help_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "controls": [ + { + "retry@storage_migration_common.retry_button": { + "size": [ "50% - 1.5px", "100%" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 3, 0 ] + } + }, + { + "help@storage_migration_common.go_to_faq_button": { + "size": [ "50% - 1.5px", "100%" ] + } + } + ] + }, + + // No Buttons Modal - Required Vars + // $text_name - Modal title + // $tts_label_panel - Content of the modal. Scrollable and TTS enabled. + "modal_no_buttons@common_dialogs.main_panel_no_buttons": { + "$title_size": [ "100% - 14px", 10 ], + "size": [ 300, 180 ], + "$show_close_button": false, + "$child_control": "storage_migration_common.base_child_control", + "$scrolling_content": "common.tts_label_focus_wrapper" + }, + + // One Button Modal - Required Vars + // $text_name - Modal title + // $button_panel - Control containing button + // $tts_label_panel - Content of the modal. Scrollable and TTS enabled. + "modal_one_button@common_dialogs.main_panel_one_button": { + "$title_size": [ "100% - 14px", 10 ], + "size": [ 300, 180 ], + "$show_close_button": false, + "$child_control": "storage_migration_common.base_child_control", + "$scrolling_content": "common.tts_label_focus_wrapper" + }, + + // Two Button Modal - Required Vars + // $text_name - Modal title + // $top_button_panel - Control containing button + // $bottom_button_panel - Control containing button + // $tts_label_panel - Content of the modal. Scrollable and TTS enabled. + "modal_two_buttons@common_dialogs.main_panel_two_buttons": { + "$title_size": [ "100% - 14px", 10 ], + "size": [ 300, 180 ], + "$show_close_button": false, + "$child_control": "storage_migration_common.base_child_control", + "$scrolling_content": "common.tts_label_focus_wrapper" + }, + + "base_child_control": { + "type": "panel", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100% - 1px", "100% - 2px" ], + "$scroll_view_port_size": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_offset": [ 3, 2 ], + "$scroll_size": [ 5, "100% - 2px" ], + "$show_background": false + } + } + ] + }, + + "file_size_description": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$description_text|default": "storage_migration.resume_transfer.description", + "controls": [ + { + "description@storage_migration_common.label": { + "text": "$description_text", + "size": [ "100%", "default" ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 0, 14 ] + } + }, + { + "size_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$file_text|default": "storage_migration.resume_transfer.need_to_move", + "controls": [ + { + "file_text@storage_migration_common.label": { + "text": "$file_text", + "size": [ "default", "default" ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "file_size_total@storage_migration_common.label": { + "text": "#file_size_total", + "size": [ "default", "default" ], + "bindings": [ + { + "binding_name": "#file_size_total" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "file_size_available@storage_migration_common.label": { + "text": "#file_size_available", + "size": [ "default", "default" ], + "visible": false, + "bindings": [ + { + "binding_name": "#file_size_available" + }, + { + "binding_name": "#supports_available_space_query", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "file_location@storage_migration_common.label": { + "text": "#file_location", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_name": "#file_location" + } + ] + } + } + ] + }, + + "error_icon_and_description": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$error_description|default": "", + "controls": [ + { + "error_image": { + "type": "image", + "size": [ 9, 12 ], + "texture": "textures/ui/ErrorGlyph" + } + }, + { + "description@storage_migration_common.label": { + "text": "#file_size_needed", + "size": [ "fill", "default" ], + "bindings": [ + { + "binding_name": "#file_size_needed" + } + ] + } + } + ] + }, + + "file_size_description_with_error": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "file_size@storage_migration_common.file_size_description": {} + }, + { + "padding": { + "type": "panel", + "size": [ 0, 14 ] + } + }, + { + "error_icon_and_description@storage_migration_common.error_icon_and_description": {} + } + ] + }, + + // Start Transfer + "start_transfer@storage_migration_common.modal_one_button": { + "size": [ 300, 160 ], + "$text_name": "storage_migration.start_transfer.uwp.title", + "$button_panel": "storage_migration_common.start_transfer_button", + "$tts_label_panel": "storage_migration_common.start_transfer_content" + }, + + "start_transfer_content@storage_migration_common.file_size_description": { + "$file_text": "storage_migration.start_transfer.total_file_size", + "$description_text|default": "storage_migration.start_transfer.description" + }, + + // Resume Transfer + "resume_transfer@storage_migration_common.modal_one_button": { + "size": [ 300, 160 ], + "$show_close_button": false, + "$text_name": "storage_migration.resume_transfer.title", + "$button_panel": "storage_migration_common.resume_transfer_button", + "$tts_label_panel": "storage_migration_common.resume_transfer_content" + }, + + "resume_transfer_content": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "file_size@storage_migration_common.file_size_description": {} + } + ] + }, + + // Transfer Error - Out of Space + "transfer_error_out_of_space@storage_migration_common.modal_one_button": { + "$text_name": "storage_migration.transfer_error_out_of_space.title", + "$button_panel": "storage_migration_common.continue_out_of_space_button", + "$tts_label_panel": "storage_migration_common.transfer_error_out_of_space_content" + }, + + "transfer_error_out_of_space_content@storage_migration_common.file_size_description_with_error": { + "$file_text": "storage_migration.transfer_error_out_of_space.files_left", + "$description_text": "storage_migration.description.out_of_space" + } +} diff --git a/resource_pack/ui/storage_migration_generic_screen.json b/resource_pack/ui/storage_migration_generic_screen.json new file mode 100644 index 0000000..4ec6198 --- /dev/null +++ b/resource_pack/ui/storage_migration_generic_screen.json @@ -0,0 +1,140 @@ +{ + "namespace": "storage_migration_generic", + + "storage_migration_generic_screen@common.base_screen": { + "$screen_content": "storage_migration_generic.modal_screen_content" + }, + + "modal_screen_content": { + "type": "panel", + "$button_state_default_base": "progress.normal_stroke_button", + "$button_state_hover_base": "progress.normal_stroke_button", + "$button_state_pressed_base": "progress.normal_stroke_button", + "controls": [ + { + "modal_progress_panel_no_cancel@storage_migration_common.progress_panel": { + "bindings": [ + { + "binding_name": "#progress_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "intro": "start_transfer@storage_migration_generic.start_transfer", + "start_transfer_out_of_space": "start_transfer_out_of_space@storage_migration_generic.start_transfer_out_of_space", + "resume_transfer": "resume_transfer@storage_migration_common.resume_transfer", + "resume_transfer_out_of_space": "resume_transfer_out_of_space@storage_migration_generic.resume_transfer_out_of_space", + "finished_transfered": "finished@storage_migration_generic.finished", + "transfer_error": "transfer_error@storage_migration_generic.transfer_error", + "transfer_error_out_of_space": "transfer_error_out_of_space@storage_migration_generic.transfer_error_out_of_space", + + // These are not explicit states for the transfer flow. Adding as a safety net so users don't get stuck on an empty screen. + "start_transfer": "start_transfer@storage_migration_generic.start_transfer", + "finished_already_transfered": "finished@storage_migration_generic.finished", + "finished_with_error": "transfer_error@storage_migration_generic.transfer_error" + } + } + } + ] + }, + + // Start Transfer + "start_transfer@storage_migration_common.start_transfer": { + "$text_name": "storage_migration.start_transfer.generic.title" + }, + + // Start Transfer - Out of Space + "start_transfer_out_of_space@storage_migration_common.start_transfer": { + "$show_close_button": true, + "$text_name": "storage_migration.start_transfer.generic.title", + "$tts_label_panel": "storage_migration_generic.start_transfer_out_of_space_content", + "$button_panel": "storage_migration_common.start_transfer_out_of_space_button" + }, + + "start_transfer_out_of_space_content": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "base_start_content@storage_migration_common.start_transfer_content": { + "$description_text": "storage_migration.description.out_of_space" + } + }, + { + "padding": { + "type": "panel", + "size": [ 0, 14 ] + } + }, + { + "error_icon_and_description@storage_migration_common.error_icon_and_description": {} + } + ] + }, + + // Finished + "finished@storage_migration_common.modal_one_button": { + "$text_name": "storage_migration.finished.generic.title", + "$button_panel": "storage_migration_common.exit_button", + "$tts_label_panel": "storage_migration_generic.finished_content" + }, + + "finished_content": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c + 10px" ], + "controls": [ + { + "description@storage_migration_common.label": { + "text": "storage_migration.finished.generic.description" + } + } + ] + }, + + // Resume Transfer - Out of Space + "resume_transfer_out_of_space@storage_migration_common.modal_one_button": { + "$show_close_button": true, + "$text_name": "storage_migration.resume_transfer.title", + "$button_panel": "storage_migration_common.continue_out_of_space_button", + "$tts_label_panel": "storage_migration_generic.resume_transfer_out_of_space_content" + }, + + "resume_transfer_out_of_space_content@storage_migration_common.file_size_description_with_error": { + "$description_text": "storage_migration.resume_transfer.description.out_of_space" + }, + + // Transfer Error + "transfer_error@storage_migration_common.modal_one_button": { + "$show_close_button": true, + "$text_name": "storage_migration.transfer_error.title", + "$button_panel": "storage_migration_common.retry_button", + "$tts_label_panel": "storage_migration_generic.transfer_error_content" + }, + + "transfer_error_content": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c + 10px" ], + "controls": [ + { + "description@storage_migration_common.label": { + "text": "#transfer_error_description", + "bindings": [ + { + "binding_name": "#transfer_error_description" + } + ] + } + } + ] + }, + + // Transfer Error - Out of Space + "transfer_error_out_of_space@storage_migration_common.transfer_error_out_of_space": { + "$show_close_button": true + } +} diff --git a/resource_pack/ui/store_common.json b/resource_pack/ui/store_common.json new file mode 100644 index 0000000..e463480 --- /dev/null +++ b/resource_pack/ui/store_common.json @@ -0,0 +1,10193 @@ +{ + "namespace": "common_store", + + //-------------------------------------------------------------------------------- + // Controls + //-------------------------------------------------------------------------------- + + "store_base_screen@common.base_screen": { + "$store_factory_clipping_event": "none", + "$store_factory_collection_details|default": "none", + "$store_factory_binding_type|default": "global", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "" + }, + + "label": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%", "14px" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "offer_image_panel": { + "type": "image", + "layer": 6, + + "$offer_image_collection_details|default": "none", + "$offer_image_binding_collection_name|default": "", + "$offer_image_binding_collection_prefix|default": "", + "$offer_image_binding_name|default": "", + "$offer_image_binding_type|default": "none", + "bindings": [ + { + "binding_type": "$offer_image_collection_details", + "binding_collection_name": "$offer_image_binding_collection_name", + "binding_collection_prefix": "$offer_image_binding_collection_prefix" + }, + { + "binding_type": "$offer_image_binding_type", + "binding_name": "$offer_image_binding_name", + "binding_name_override": "#visible", + "binding_collection_name": "$offer_image_binding_collection_name" + } + ] + }, + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners", + "$banner_fill_alpha|default": 1.0, + "alpha": "$banner_fill_alpha" + }, + + "store_description_background": { + "type": "image", + "texture": "textures/ui/store_banner_no_border", + "$description_background_alpha|default": 1.0, + "alpha": "$description_background_alpha" + }, + + "store_description_background_dark": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/white_background", + "$description_background_alpha|default": 1.0, + "color": "$sidebar_bg_color", + "alpha": "$description_background_alpha", + "fill": true, + "keep_ratio": false + }, + + "text_style_label": { + "type": "panel", + "size": [ "100%", "100%c" ], + + "$text_style_label_bindings|default": [], + "$text_style_label|default": "", + "$tts_text_override_value": "", + "$text_style_alignment|default": "left", + "$text_style_font_type|default": "default", + "$text_style_font_size|default": 1, + "$text_style_font_color|default": [ 1, 1, 1 ], + + "controls": [ + { + "text_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "$text_style_label", + "tts_override_control_value": "$tts_text_override_value", + "text_alignment": "$text_style_alignment", + "font_size": "$text_style_font_size", + "color": "$text_style_font_color", + "bindings": "$text_style_label_bindings" + } + } + ] + }, + + "sdl_texture": { + "type": "image", + "layer": 2, + "alpha": 1.0, + + "texture": "#sdl_texture_component_image_path", + + "$ignore_texture_related_binds|default": false, + "$ignore_texture_visiblity_bind|default": false, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "ignored": "$ignore_texture_related_binds", + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_texture_component_image_path", + "binding_name_override": "#texture" + }, + { + "ignored": "$ignore_texture_related_binds", + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_texture_component_image_system", + "binding_name_override": "#texture_file_system" + }, + { + "ignored": "$ignore_texture_visiblity_bind", + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_texture_component_image_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_texture_color", + "binding_name_override": "#color" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_texture_alpha", + "binding_name_override": "#alpha" + } + ] + }, + + // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border + // around the content rather than create 3 sets of each control when only the border changes + "store_offer_grid_button@common.button": { + "layer": 4, + "default_control": "", + "focus_identifier": "offer_button", + "$ignore_cycle_buttons|default": false, + + "$pressed_button_name|default": "button.select_offer", + "$size_to_cover|default": [ "100%", "100% + 1px" ], + "tts_inherit_siblings": true, + + "bindings": [ + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#top_row_focus_override_up", + "binding_name_override": "#focus_change_up" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#offer_grid_item_button_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#last_item_focus_override_right", + "binding_name_override": "#focus_change_right" + } + ], + + "$offer_button_mappings|default": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.cycle_offer_right", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.cycle_offer_left", + "mapping_type": "focused" + } + ], + "variables": [ + { + "requires": "$ignore_cycle_buttons", + "$offer_button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + } + ] + } + ], + "button_mappings": "$offer_button_mappings", + "controls": [ + { + "hover": { + "type": "panel", + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": "$size_to_cover", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100%", "100%" ], + "layer": 2, + "color": "$dark_border_hover_color", + "bindings": [ + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + } + ] + } + } + ] + } + } + ] + } + }, + { + "pressed": { + "type": "panel", + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": "$size_to_cover", + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100%", "100%" ], + "layer": 2 + } + } + ] + } + } + ] + } + }, + { + "icon_overlay_panel@common_store.icon_overlay_panel": {} + } + ] + }, + + "ribbon_bar_text_background": { + "type": "image", + "$description_background_alpha|default": 1.0, + "alpha": "$description_background_alpha", + "$background_hoverstate_texture_swap|default": "", + "variables": [ + { + "requires": "$default_state", + "$background_hoverstate_texture_swap": "textures/ui/store_banner_no_border" + }, + { + "requires": "$hover_state", + "$background_hoverstate_texture_swap": "textures/ui/ribbon_bar_text_background_hover" + }, + { + "requires": "$pressed_state", + "$background_hoverstate_texture_swap": "textures/ui/ribbon_bar_text_background_hover" + }, + { + "requires": "$locked_state", + "$background_hoverstate_texture_swap": "textures/ui/ribbon_bar_text_background_hover" + } + ], + "texture": "$background_hoverstate_texture_swap" + }, + + "ribbon_bar_red_hover_text_background": { + "type": "image", + "$description_background_alpha|default": 1.0, + "alpha": "$description_background_alpha", + "$background_hoverstate_texture_swap|default": "", + "variables": [ + { + "requires": "$default_state", + "$background_hoverstate_texture_swap": "textures/ui/store_banner_no_border" + }, + { + "requires": "$hover_state", + "$background_hoverstate_texture_swap": "textures/ui/unsynced_bg_hover" + }, + { + "requires": "$pressed_state", + "$background_hoverstate_texture_swap": "textures/ui/unsynced_bg_hover" + }, + { + "requires": "$locked_state", + "$background_hoverstate_texture_swap": "textures/ui/unsynced_bg_hover" + } + ], + "texture": "$background_hoverstate_texture_swap" + }, + "store_background": { + "type": "image", + "texture": "textures/ui/screen_background", + "$fill_alpha|default": 0.6, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "alpha": "$fill_alpha" + }, + + "coin_icon": { + "type": "image", + "texture": "textures/ui/MCoin", + "size": [ 11, 11 ] + }, + + "tag": { + "type": "image", + "$tag_texture|default": "textures/ui/newOffersIcon", + "$tag_text|default": "", + "texture": "$tag_texture", + "size": [ "100%c + 4px", 15 ], + "controls": [ + { + "new_offer_label": { + "type": "label", + "size": [ "default", 10 ], + "offset": [ 0, 1 ], + "text": "$tag_text", + "color": "$new_offer_icon_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "tts_name": "accessibility.store.tag", + "tts_control_type_order_priority": 1002, // To be read after the button control type + "tts_value_order_priority": 1001 + } + } + ] + }, + + "marketplace_error_icon": { + "type": "image", + "texture": "textures/ui/ErrorGlyph", + "size": [ 12, 12 ] + }, + + "new_offer_icon@common_store.tag": { + "$tag_texture": "textures/ui/newOffersIcon", + "$tag_text": "store.new.icon", + "$tag_tts_control_header": "accessibility.start.new" + }, + + "status_new_offer_icon@common_store.new_offer_icon": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -2, -3 ], + "layer": 15, + "visible": false + }, + + "update_balloon_icon": { + "type": "image", + "layer": 15, + "texture": "textures/ui/update", + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": "$update_icon_offset", + "size": [ 11, 21 ], + "visible": false + }, + + "icon_overlay_panel": { + "type": "panel", + "size": [ "100%", "56.25%x + 1px" ], // +1 for the image border + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "icon_overlay_position_factory@common_store.icon_overlay_position_factory": {} + } + ] + }, + + "icon_overlay_position_factory": { + "type": "collection_panel", + "size": [ "100%", "100%" ], + "collection_name": "icon_overlay_position_factory", + "factory": { + "name": "icon_overlay_position_factory", + "control_ids": { + "top_left_icon_factory": "@common_store.top_left_icon_factory", + "top_middle_icon_factory": "@common_store.top_middle_icon_factory", + "top_right_icon_factory": "@common_store.top_right_icon_factory", + "left_middle_icon_factory": "@common_store.left_middle_icon_factory", + "center_icon_factory": "@common_store.center_icon_factory", + "right_middle_icon_factory": "@common_store.right_middle_icon_factory", + "bottom_left_icon_factory": "@common_store.bottom_left_icon_factory", + "bottom_middle_icon_factory": "@common_store.bottom_middle_icon_factory", + "bottom_right_icon_factory": "@common_store.bottom_right_icon_factory" + }, + "factory_variables": [ + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix", + "$offer_binding_type", + "$offer_collection_name", + "$offer_collection_details", + "$offer_collection_prefix" + ] + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#icon_overlay_position_collection", + "binding_name_override": "#collection_length" + } + ] + }, + + "top_left_icon_factory@common_store.icon_factory": { + "$anchor_point": "top_left" + }, + + "top_middle_icon_factory@common_store.icon_factory": { + "$anchor_point": "top_middle" + }, + + "top_right_icon_factory@common_store.icon_factory": { + "$anchor_point": "top_right" + }, + + "left_middle_icon_factory@common_store.icon_factory": { + "$anchor_point": "left_middle" + }, + + "center_icon_factory@common_store.icon_factory": { + "$anchor_point": "center" + }, + + "right_middle_icon_factory@common_store.icon_factory": { + "$anchor_point": "right_middle" + }, + + "bottom_left_icon_factory@common_store.icon_factory": { + "$anchor_point": "bottom_left" + }, + + "bottom_middle_icon_factory@common_store.icon_factory": { + "$anchor_point": "bottom_middle" + }, + + "bottom_right_icon_factory@common_store.icon_factory": { + "$anchor_point": "bottom_right" + }, + + "icon_factory": { + "type": "stack_panel", + "size": [ "100%c", 21 ], + "orientation": "horizontal", + "$anchor_point|default": "top_right", + "anchor_from": "$anchor_point", + "anchor_to": "$anchor_point", + + "$icon_overlay_binding_type": "collection", + "$icon_overlay_collection_name": "($anchor_point + '_icon_overlay_collection')", + "collection_name": "$icon_overlay_collection_name", + + "factory": { + "name": "$icon_overlay_collection_name", + "control_ids": { + "icon_overlay_image_panel": "@common_store.icon_overlay_image_panel", + "new_offer_icon_panel": "@common_store.new_offer_icon_panel", + "update_offer_icon_panel": "@common_store.update_offer_icon_panel" + }, + "factory_variables": [ + "$icon_overlay_collection_name", + "$icon_overlay_binding_type", + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix", + "$offer_binding_type", + "$offer_collection_name", + "$offer_collection_details", + "$offer_collection_prefix", + "$anchor_point" + ] + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "('#' + $icon_overlay_collection_name)", + "binding_name_override": "#collection_length" + } + ] + }, + + "new_offer_icon_panel": { + "type": "panel", + "layer": 15, + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 21, 21 ], + "controls": [ + { + "new_icon@common_store.status_new_offer_icon": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#new_offer_icon_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "update_offer_icon_panel": { + "type": "panel", + "layer": 15, + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 21, 21 ], + "controls": [ + { + "update_icon@common_store.update_balloon_icon": { + "$update_icon_offset": [ 0, -5 ] + } + } + ] + }, + + "icon_overlay_image_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "$anchor_point", + "anchor_to": "$anchor_point", + "layer": 15, + "controls": [ + { + "image_stack_panel": { + "type": "stack_panel", + "size": [ "100%c", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "icon@common_store.status_icon_overlay": {} + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + } + } + ] + }, + + "icon_overlay_sdl_padding": { + "type": "panel", + "size": [ 2, "100%sm" ] + }, + + "status_icon_overlay": { + "type": "image", + "size": [ "100%c", "100%c" ], + "min_size": [ 21, "100%c" ], + "keep_ratio": false, + "layer": 15, + "texture": "#icon_overlay_texture_name", + "anchor_from": "$anchor_point", + "anchor_to": "$anchor_point", + // variables + "controls": [ + { + "icon_overlay_label_panel": { + "type": "stack_panel", + "size": [ "100%c", "100%cm" ], + "orientation": "horizontal", + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "left_margin_padding": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + }, + { + "left_padding_1@common_store.icon_overlay_sdl_padding": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_left_padding_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "left_padding_2@common_store.icon_overlay_sdl_padding": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "(not #icon_overlay_right_padding_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "icon_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "min_size": [ "100%c", 15 ], + "controls": [ + { + "icon_overlay_label": { + "type": "label", + "size": [ "default", "default" ], + "text": "#icon_overlay_image_text", + "color": "$store_white_text_color", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_image_text" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_text_color", + "binding_name_override": "#color" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_text_alignment", + "binding_name_override": "#text_alignment" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_font_scale_factor", + "binding_name_override": "#font_scale_factor" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_font_type", + "binding_name_override": "#font_type" + } + ] + } + } + ] + } + }, + { + "right_padding_1@common_store.icon_overlay_sdl_padding": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_right_padding_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "right_padding_2@common_store.icon_overlay_sdl_padding": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "(not #icon_overlay_left_padding_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "right_margin_padding": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$offer_collection_prefix" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_texture_name", + "binding_name_override": "#texture" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_texture_filepath", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$icon_overlay_binding_type", + "binding_collection_name": "$icon_overlay_collection_name", + "binding_name": "#icon_overlay_height", + "binding_name_override": "#size_binding_y" + } + ] + }, + + "status_icon_panel": { + "type": "panel", + "layer": 15, + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ 21, 21 ], + "$grid_collection_name|default": "", + + "$status_icon_factory_collection_details|default": "none", + "$status_icon_factory_collection_prefix|default": "", + "$status_icon_factory_collection_name|default": "", + + "controls": [ + { + "new_offer_icon@common_store.status_new_offer_icon": { + "bindings": [ + { + "binding_type": "$status_icon_factory_collection_details", + "binding_collection_name": "$status_icon_factory_collection_name", + "binding_collection_prefix": "$status_icon_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#new_offer_icon_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "update_icon@common_store.update_balloon_icon": { + "bindings": [ + { + "binding_type": "$status_icon_factory_collection_details", + "binding_collection_name": "$status_icon_factory_collection_name", + "binding_collection_prefix": "$status_icon_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#update_icon_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "prompt_icon": { + "type": "image", + "size": [ 16, 11 ], + "$offer_collection_name|default": "offer_collection", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#prompt_icon_visible", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#prompt_icon_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "category" + } + ] + }, + + "up_arrow_icon": { + "type": "image", + "texture": "textures/ui/up_arrow", + "color": "$glyph_color", + "size": [ 12, 12 ] + }, + + "plus_icon": { + "type": "image", + "layer": 2, + "texture": "textures/ui/ThinPlus", + "size": [ 7, 7 ], + "color": "$glyph_color" + }, + + "bang_icon": { + "type": "image", + "layer": 2, + "texture": "textures/ui/bang_icon", + "size": [ 2, 8 ], + "color": "$glyph_color" + }, + + "user_icon_small": { + "type": "image", + "layer": 2, + "size": [ 9, 9 ], + "$user_icon_texture_swap|default": "", + "variables": [ + { + "requires": "$default_state", + "$user_icon_texture_swap": "textures/ui/user_icon_small" + }, + { + "requires": "$hover_state", + "$user_icon_texture_swap": "textures/ui/user_icon_white" + }, + { + "requires": "$pressed_state", + "$user_icon_texture_swap": "textures/ui/user_icon_white" + }, + { + "requires": "$locked_state", + "$user_icon_texture_swap": "textures/ui/user_icon_white" + } + ], + "texture": "$user_icon_texture_swap" + }, + + "user_icon_hover": { + "type": "image", + "layer": 2, + "texture": "textures/ui/user_icon_white", + "size": [ 9, 9 ] + }, + + "gamepad_store_helper": { + "type": "panel", + "size": [ "100%c", 26 ], + "offset": [ 0, 0 ], + "$gamepad_helper_icon_description_text_color": "$light_glyph_default_color", + "$gamepad_helper_icon_description_shadow": false, + "$icon_description_bind": "#button_back_description", + "$gamepad_store_helper_button|default": "gamepad_helper_button@common.gamepad_helper_b", + "controls": [ + { "$gamepad_store_helper_button": {} } + ] + }, + + "purchase_coins_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$add_coin_not_visible|default": false, + "$purchase_button_offset|default": [ 0, 0 ], + "offset": "$purchase_button_offset", + "$focus_id": "purchase_coins_panel", + "controls": [ + { + "plus_button@common_buttons.light_content_button": { + "ignored": "$add_coin_not_visible", + "size": [ "100%c", 17 ], + "offset": "$button_offset", + "layer": 3, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_state_panel": "common_store.wallet_button_panel", + "$focus_override_right": "search_header_text_box", + "$focus_override_left": "inventory_button_focus", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.coin_wallet", + "mapping_type": "focused" + } + ] + } + } + ] + }, + + "inventory_panel": { + "type": "input_panel", + "size": [ "100%c", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_name": "#inventory_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "inventory_button@common_buttons.light_content_button": { + "size": [ "100%c", 17 ], + "offset": "$button_offset", + "layer": 3, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_state_panel": "common_store.inventory_button_panel", + "$focus_override_left": "back_button", + "$focus_id": "inventory_button_focus", + "variables": [ + { + "requires": "($is_inventory_screen or $is_on_3p_server)", + "$pressed_button_name": "" + }, + { + "requires": "(not $is_inventory_screen and not $is_on_3p_server)", + "$pressed_button_name": "button.my_account" + } + ] + } + } + ] + }, + + "bar_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 10, + "frame_step": 64, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + "progress_loading_bars": { + "type": "image", + "layer": 1, + "texture": "textures/ui/loading_bar", + "$progress_loading_bars_anchor|default": "center", + "anchor_from": "$progress_loading_bars_anchor", + "anchor_to": "$progress_loading_bars_anchor", + "uv_size": [ 64, 8 ], + "size": [ "100% - 4px", "8%x" ], + "max_size": [ 64, 8 ], + "uv": "@common_store.bar_animation", + "disable_anim_fast_forward": true, + "color": [ 0.7, 0.7, 0.7, 1.0 ] + }, + + "spinner_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 10, + "frame_step": 7, + "fps": 10 + }, + + "progress_loading_spinner": { + "type": "image", + "layer": 1, + "texture": "textures/ui/loading_spin", + "$progress_loading_spinner_anchor|default": "center", + "anchor_from": "$progress_loading_spinner_anchor", + "anchor_to": "$progress_loading_spinner_anchor", + "uv_size": [ 7, 7 ], + "size": [ 14, 14 ], + "uv": "@common_store.spinner_animation", + "disable_anim_fast_forward": true + }, + + "failure_text_wait_animation": { + "anim_type": "wait", + "$failure_timeout|default": 5.0, + "duration": "$failure_timeout", + "next": "@common_store.failure_text_alpha_animation" + }, + + "failure_text_alpha_animation": { + "anim_type": "alpha", + "easing": "linear", + "from": 0, + "to": 1 + }, + + "error_image_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "$failure_anim_frame_step|default": 0, + "frame_count": "$failure_anim_frame_step", + "frame_step": 194, + "fps": 4, + "reversible": false + }, + + "progress_loading": { + "type": "panel", + "size": [ "100%cm", "50%" ], + + "$hide_failure_text|default": false, + "$use_sibling_scope|default": true, + "$hide_progress_loading_outline|default": false, + "$baseLayer|default": 2, + + "controls": [ + { + "centerer": { + "type": "panel", + "size": [ "100%sm", "100%c + 8px" ], + "layer": 0, + "controls": [ + { + "progress_loading_spinner@common_store.progress_loading_spinner": {} + } + ] + } + }, + { + "progress_loading_outline@common_store.banner_fill": { + "ignored": "$hide_failure_text", + "visible": "(not $hide_failure_text) or (not $hide_progress_loading_outline)", + "size": [ "100%sm + 8px", "100%" ], + "layer": 1, + "alpha": 0, + "anims": [ + "@common_store.failure_text_wait_animation" + ] + } + }, + { + "stack_panel": { + "ignored": "$hide_failure_text", + "type": "stack_panel", + "use_child_anchors": true, + "orientation": "vertical", + "size": [ "100%cm+50px", "100% - 8px" ], + "layer": 2, + "controls": [ + { + "top_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%sm+50px", "100%cm" ], + "controls": [ + { + "error_glyph_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "error_image": { + "type": "image", + "size": [ 13, 20 ], + "offset": [ 0, 2 ], + "texture": "textures/ui/ErrorGlyph", + "alpha": 0, + "anims": [ + "@common_store.failure_text_wait_animation" + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "store_failure_text": { + "type": "label", + "layer": "($baseLayer + 1)", + "color": "$body_text_color", + "text_alignment": "left", + "size": [ "200px", "default" ], + "font_type": "smooth", + "font_scale_factor": 1.2, + "text": "#store_failure_text", + "alpha": 0, + "anims": [ + "@common_store.failure_text_wait_animation" + ], + "bindings": [ + { + "binding_name": "#store_failure_text", + "binding_type": "global" + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%sm", "fill" ] + } + }, + { + "image": { + "type": "image", + "size": [ 154, "41.24%x" ], + "alpha": 0, + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "anims": [ + "@common_store.failure_text_wait_animation" + ], + "uv_size": [ 194, 80 ], + "uv": "@common_store.error_image_animation", + "disable_anim_fast_forward": true, + "bindings": [ + { + "binding_name": "#store_failure_image", + "binding_name_override": "#texture" + } + ] + } + } + ] + } + }, + { + "store_failure_code": { + "ignored": "$hide_failure_text", + "type": "label", + "color": "$e_color_format", + "anchor_from": "bottom_left", + "anchor_to": "top_left", + "text_alignment": "left", + "size": [ "100%sm-4px", "default" ], + "layer": 3, + "offset": [ 1, 2 ], + "text": "#store_failure_code", + "alpha": 0, + "anims": [ + "@common_store.failure_text_wait_animation" + ], + "bindings": [ + { + "binding_name": "#store_failure_code" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$source_control_name", + "source_property_name": "$source_property_name", + "target_property_name": "#visible", + "resolve_sibling_scope": "$use_sibling_scope" + } + ] + }, + + "store_empty_progress_bar_icon": { + "type": "image", + "texture": "textures/ui/experiencebarempty" + }, + + "store_full_progress_bar_icon": { + "type": "image", + "texture": "textures/ui/experiencebarfull", + "clip_direction": "left", + "clip_pixelperfect": false, + "$progress_bindings|default": [ + { + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio", + "binding_type": "global" + } + ], + "bindings": "$progress_bindings" + }, + + "store_progress_bar_nub": { + "type": "image", + "texture": "textures/ui/experiencenub", + "tiled": true + }, + + "store_progress_bar_icon": { + "type": "panel", + "controls": [ + { + "empty_progress_bar_icon@common_store.store_empty_progress_bar_icon": { + "layer": 1, + "visible": "#progress_visible", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#progress_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_percent_panel": { + "type": "panel", + "layer": 2, + "visible": "#progress_visible", + "controls": [ + { + "full_progress_bar_icon@common_store.store_full_progress_bar_icon": { + "layer": 2 + } + }, + { + "progress_bar_nub@common_store.store_progress_bar_nub": { + "size": [ "100% - 10px", 5 ], + "layer": 3 + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#progress_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "screen_contents_with_gamepad_helpers": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$gamepad_helpers_layer|default": 10, + "controls": [ + { + "dialog_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "dialog@$dialog_panel": {} } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "gamepad_helpers_panel": { + "type": "panel", + "layer": "$gamepad_helpers_layer", + "size": [ "100%", "100%c" ], + "controls": [ + { "gamepad_helpers_a_and_b@common.gamepad_helpers_a_and_b": {} } + ] + } + } + ] + }, + + "hero_offer_collection_padding": { + "type": "panel", + "size": [ "fill", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#is_offer_collection_query", + "binding_name_override": "#visible" + } + ] + }, + + "text_strike_through": { + "type": "image", + "tiled": true, + "texture": "textures/ui/strikethru", + "color": "$dark_button_secondary_default_text_color" + }, + + "markdown_banner": { + "type": "image", + "$banner_texture|default": "textures/ui/saleflag", + "texture": "$banner_texture" + }, + + "markdown_triangle": { + "type": "image", + "$triangle_texture|default": "textures/ui/saleflagtriangle", + "texture": "$triangle_texture", + "bilinear": true + }, + + "timer_panel": { + "type": "panel", + "size": [ "100%c + 2px", "100%" ], + + "$timer_field_count_to_show|default": 1, + + "$timer_bindings|default": [ + { + "binding_name": "$time_text_binding_name", + "binding_condition": "always_when_visible" + } + ], + "controls": [ + { + "timer": { + "type": "label", + "$timer_visible|default": false, + "ignored": "(not $timer_visible)", + "$time_text_binding_name|default": "#offer_timer_label", + "text": "$time_text_binding_name", + "size": [ "default", 10 ], + "offset": [ 1, -0.5 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$timer_label_color|default": "$light_button_default_text_color", + "color": "$timer_label_color", + "layer": 1, + "font_type": "smooth", + "bindings": "$timer_bindings", + "property_bag": { + "#timer_field_count_to_show": "$timer_field_count_to_show" + } + } + } + ] + }, + + "store_offer_type_icon": { + "type": "image", + "size": [ 7, 7 ], + "layer": 10, + "color": "$icon_color", + "texture": "$offer_icon_texture_path", + "bilinear": true + }, + + "addon_pack_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_addon_pack" + }, + + "addon_pack_small_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_addon_pack_small", + "size": [ 8, 8 ] + }, + + "realms_plus_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/realmportal_small", + "size": [ 6, 8 ] + }, + + "resource_pack_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_resource_pack" + }, + + "resource_pack_small_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_resource_pack_small", + "size": [ 8, 8 ] + }, + + "skinpack_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_skin_pack" + }, + + "skinpack_small_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_skin_pack_small", + "size": [ 8, 8 ] + }, + + "world_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_world_template" + }, + + "world_small_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_world_template_small", + "size": [ 8, 8 ] + }, + + "mashup_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_mashup_pack" + }, + + "mashup_small_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_mashup_pack_small", + "size": [ 8, 8 ] + }, + + "persona_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_persona" + }, + + "persona_small_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_persona_small", + "size": [ 8, 8 ] + }, + + "small_padding_panel": { + "type": "panel", + "size": [ 1, "100%" ] + }, + + "resource_pack_small_icon_with_buffer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 9, 8 ], + "controls": [ + { + "resource_pack_small_icon@common_store.resource_pack_small_icon": {} + }, + { + "small_padding_panel@common_store.small_padding_panel": {} + } + ] + }, + + "addon_pack_small_icon_with_buffer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 9, 8 ], + "controls": [ + { + "addon_pack_small_icon@common_store.addon_pack_small_icon": {} + }, + { + "small_padding_panel@common_store.small_padding_panel": {} + } + ] + }, + + "skinpack_small_icon_with_buffer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 9, 8 ], + "controls": [ + { + "skinpack_small_icon@common_store.skinpack_small_icon": {} + }, + { + "small_padding_panel@common_store.small_padding_panel": {} + } + ] + }, + + "world_small_icon_with_buffer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 9, 8 ], + "controls": [ + { + "world_small_icon@common_store.world_small_icon": {} + }, + { + "small_padding_panel@common_store.small_padding_panel": {} + } + ] + }, + + "mashup_small_icon_with_buffer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 9, 8 ], + "controls": [ + { + "mashup_small_icon@common_store.mashup_small_icon": {} + }, + { + "small_padding_panel@common_store.small_padding_panel": {} + } + ] + }, + + "persona_small_icon_with_buffer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 9, 8 ], + "controls": [ + { + "persona_small_icon@common_store.persona_small_icon": {} + }, + { + "small_padding_panel@common_store.small_padding_panel": {} + } + ] + }, + + "realms_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/glyph_realms" + }, + + "realms_banner_icon": { + "type": "image", + "texture": "textures/ui/realmsIcon", + "size": [ "78%y", "100%" ], + "bilinear": true + }, + + "csb_banner_icon": { + "type": "image", + "texture": "textures/ui/sidebar_icons/csb_sidebar_icon", + "size": [ "100%y", "100%" ], + "bilinear": true + }, + + "csb_expiration": { + "type": "panel", + "size": [ "100% - 0.05px", "20% + 1px" ], + "offset": [ 0, 0.5 ], + "visible": false, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "background": { + "type": "image", + "size": [ "100%", "100%" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "texture": "textures/ui/csbBannerBackground", + "tiled": "y", + "layer": 3 + } + }, + { + "contents": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 2px", "100% - 2px" ], + "layer": 5, + "controls": [ + { + "csb_icon@common_store.csb_banner_icon": {} + }, + { + "pad_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "text_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "text": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$store_csb_expiration_text_color", + "font_type": "smooth", + "font_scale_factor": 0.9, + "text": "#csb_expiration_label", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#csb_expiration_label" + } + ] + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#csb_expiration_banner_visible", + "binding_name_override": "#visible" + } + ] + }, + + "pack_icon_stack": { + "type": "panel", + "size": [ "100%c", "100%" ], + "$icon_stack_visibility_type|default": "none", + "$icon_stack_visibility|default": "", + "$icon_stack_visibility_collection|default": "", + "$icon_color|default": "$store_offer_type_icon_color", + "controls": [ + { + "pack_icon_stack_factory@common_store.pack_icon_stack_factory": {} + } + ] + }, + + "pack_icon_stack_factory": { + "type": "stack_panel", + "size": [ "100%c + 2px", "100%" ], + "$pack_icon_stack_factory_offset|default": [ 0, 1 ], + "offset": "$pack_icon_stack_factory_offset", + "ignored": "$is_purchase_button", + "orientation": "horizontal", + "$pack_icon_factory_collection_name|default": "pack_icons", + "factory": { + "name": "store_icon_factory", + "control_ids": { + "addon_pack_icon": "@common_store.addon_pack_icon", + "addon_pack_small_icon": "@common_store.addon_pack_small_icon_with_buffer", + "realms_icon": "@common_store.realms_icon", + "mashup_icon": "@common_store.mashup_icon", + "mashup_small_icon": "@common_store.mashup_small_icon_with_buffer", + "persona_icon": "@common_store.persona_icon", + "persona_small_icon": "@common_store.persona_small_icon_with_buffer", + "world_icon": "@common_store.world_icon", + "world_small_icon": "@common_store.world_small_icon_with_buffer", + "skinpack_icon": "@common_store.skinpack_icon", + "skinpack_small_icon": "@common_store.skinpack_small_icon_with_buffer", + "resource_pack_icon": "@common_store.resource_pack_icon", + "resource_pack_small_icon": "@common_store.resource_pack_small_icon_with_buffer", + "realms_plus_icon": "@common_store.realms_plus_icon", + "small_padding_panel": "@common_store.small_padding_panel" + }, + "factory_variables": [ + "$icon_color" + ] + }, + "collection_name": "$pack_icon_factory_collection_name", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$icon_stack_visibility_type", + "binding_collection_name": "$icon_stack_visibility_collection", + "binding_name": "$icon_stack_visibility", + "binding_name_override": "#visible" + }, + { + "binding_type": "$icon_stack_visibility_type", + "binding_collection_name": "$icon_stack_visibility_collection", + "binding_name": "#pack_icon_section_content", + "binding_name_override": "#collection_length", + "binding_condition": "always_when_visible" + } + ] + }, + + "markdown_background": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "$markdown_label|default": "common.empty_panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$banner_size|default": [ "100%c + 4px", "100%" ], + "$timer_visible|default": false, + "$icon_color": "$store_sales_banner_text_color", + "controls": [ + { + "banner_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "controls": [ + { + "banner@common_store.markdown_banner": { + "size": "$banner_size", + "layer": 1, + "controls": [ + { + "banner_content_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "controls": [ + { + "timer_panel@common_store.timer_panel": {} + }, + { + "pack_icon_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "pack_icon_stack@common_store.pack_icon_stack": { + "offset": [ 0, 2 ], + "$icon_stack_visibility": "#pack_icon_sale_section_visible" + } + } + ] + } + }, + { + "markdown_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "markdown_label@$markdown_label": {} + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "triangle_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "$triangle_offset|default": [ -1, 0 ], + "$triangle_size|default": [ "50%y", "100%" ], + "controls": [ + { + "triangle@common_store.markdown_triangle": { + "size": "$triangle_size", + "offset": "$triangle_offset", + "layer": 2 + } + } + ] + } + } + ] + }, + + "store_top_bar": { + "type": "image", + "texture": "textures/ui/StoreTopBar", + "size": [ "100%", 23 ] + }, + + "store_top_bar_filler": { + "type": "image", + "texture": "textures/ui/StoreTopBarFiller" + }, + + "direction_button_panel": { + "type": "panel", + "$direction_gamepad_button_helper|default": "gamepad_helper@common.gamepad_helper_right_bumper", + "variables": [ + { + "requires": "$default_state", + "$chevron_color|default": "$store_dark_grey_text_color" + }, + { + "requires": "$hover_state", + "$chevron_color|default": "$store_white_text_color" + }, + { + "requires": "$pressed_state", + "$chevron_color|default": "$store_white_text_color" + }, + { + "requires": "$locked_state", + "$chevron_color|default": "$store_white_text_color" + } + ], + "controls": [ + { + "chevron_image@common.chevron_image": { + "color": "$chevron_color", + "bindings": [ + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "$direction_gamepad_button_helper": { + "offset": [ 0, 4 ], + "anchor_from": "center", + "anchor_to": "center", + "$hide_description|default": true, + "$gamepad_helper_icon_size|default": [ 18, 18 ], + "$gamepad_helper_layer": 10, + "bindings": [ + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "cycle_pack_button@common_buttons.light_content_button": { + "$ignore_cycle_buttons|default": false, + "ignored": "$ignore_cycle_buttons", + + "$button_content": "common_store.direction_button_panel", + + "$cycle_pack_button_factory_collection_details|default": "none", + "$cycle_pack_button_factory_collection_prefix|default": "", + "$cycle_pack_button_factory_collection_name|default": "", + + "$cycle_pack_button_collection_details|default": "none", + "$cycle_pack_button_collection|default": "", + + "$cycle_pack_button_binding_type|default": "global", + "$cycle_pack_button_enabled|default": "#cycle_pack_button", + + "$cycle_pack_button_name_left|default": "", + "$cycle_pack_button_name_right|default": "", + + "$cycle_pack_button_up_right_refusal|default": false, + + "property_bag": { + "#is_cycle_button_focused": true + }, + + "$cycle_pack_bindings|default": [ + { + "binding_type": "$cycle_pack_button_factory_collection_details", + "binding_collection_name": "$cycle_pack_button_factory_collection_name", + "binding_collection_prefix": "$cycle_pack_button_factory_collection_prefix" + }, + { + "binding_type": "$cycle_pack_button_collection_details", + "binding_collection_name": "$cycle_pack_button_collection" + }, + { + "binding_type": "$cycle_pack_button_binding_type", + "binding_collection_name": "$cycle_pack_button_collection", + "binding_name": "$cycle_pack_button_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "$cycle_pack_button_accessibility_text" + } + ], + + "$cycle_pack_enabled_source_control_name|default": "", + "$cycle_pack_enabled_source_property_name|default": "", + "$cycle_pack_enabled_use_sibling_scope|default": false, + "variables": [ + { + "requires": "((not $cycle_pack_enabled_source_control_name = '') and (not $cycle_pack_enabled_source_property_name = ''))", + "$cycle_pack_bindings": [ + { + "binding_type": "$cycle_pack_button_factory_collection_details", + "binding_collection_name": "$cycle_pack_button_factory_collection_name", + "binding_collection_prefix": "$cycle_pack_button_factory_collection_prefix" + }, + { + "binding_type": "$cycle_pack_button_collection_details", + "binding_collection_name": "$cycle_pack_button_collection" + }, + { + "binding_type": "view", + "source_control_name": "$cycle_pack_enabled_source_control_name", + "source_property_name": "$cycle_pack_enabled_source_property_name", + "target_property_name": "#enabled", + "resolve_sibling_scope": "$cycle_pack_enabled_use_sibling_scope" + }, + { + "binding_name": "$cycle_pack_button_accessibility_text" + } + ] + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": "$cycle_pack_button_up_right_refusal" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": "$cycle_pack_button_up_right_refusal" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$cycle_pack_button_name_right", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$cycle_pack_button_name_left", + "mapping_type": "focused" + } + ], + "bindings": "$cycle_pack_bindings" + }, + + "cycle_pack_left_button@common_store.cycle_pack_button": { + "$focus_id": "cycle_pack_left_button", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$focus_id|default": "left_cycle_button", + "$chevron_image_name": "textures/ui/chevron_left", + "$pressed_button_name": "button.cycle_offer_left", + "$cycle_pack_button_enabled|default": "#cycle_pack_left_button_enabled", + "$button_tts_header": "#cycle_left_button_accessibility_text", + "$direction_gamepad_button_helper": "gamepad_helper@common.gamepad_helper_left_bumper", + "$cycle_pack_button_accessibility_text": "#cycle_left_button_accessibility_text" + }, + + "cycle_pack_right_button@common_store.cycle_pack_button": { + "$focus_id": "cycle_pack_right_button", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$focus_id|default": "right_cycle_button", + "$chevron_image_name": "textures/ui/chevron_right", + "$pressed_button_name": "button.cycle_offer_right", + "$button_tts_header": "#cycle_right_button_accessibility_text", + "$cycle_pack_button_enabled|default": "#cycle_pack_right_button_enabled", + "$cycle_pack_button_accessibility_text": "#cycle_right_button_accessibility_text" + }, + + "restore_purchases@common_buttons.light_text_button": { + "anchor_from": "center", + "anchor_to": "center", + "$pressed_button_name": "button.restore_store", + "$button_text": "skins.restore.button" + }, + + "back_content_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "back_button@common.back_title_button": { + "offset": [ 0, -1 ], + "layer": 200, //This should always be on top, let's ensure that + "$focus_id": "back_button" + } + } + ] + }, + + "unlock_with_coins_button_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 11 ], + "$button_text_max_size": [ "default", 10 ], // Without this there is an unsolvable layout since the parent is 100%c + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + + "controls": [ + { + "coin_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "$coin_visible|default": "", + "$coin_binding_type|default": "none", + "controls": [ + { + "coin@common_store.coin_icon": { + "offset": [ 0, -1 ], + "bindings": [ + { + "binding_type": "$coin_binding_type", + "binding_name": "$coin_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { "unlock_text@common_buttons.new_ui_binding_button_label": {} } + ] + }, + + "store_dialog_with_coin_header@common_dialogs.main_panel_no_buttons": { + "$use_custom_title_control": true, + "$custom_title_label": "common_store.coins_with_title", + "$text_name|default": "", + "$title_size": [ "100% - 14px", 10 ], + "$title_panel|default": "common_store.store_coins_title_label" + }, + + "store_coins_title_label@common_dialogs.standard_title_label": { + "size": [ "100% - 78px", 10 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text_alignment": "center", + "offset": [ 63, -1 ] + }, + + "search_header_stack": { + "ignored": "($is_on_3p_server or $ignore_search)", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "visible": false, + "property_bag": { + "#visible": false + }, + "controls": [ + { + "gamepad_helper_y_alignment_hack": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "gamepad_helper_y@common.gamepad_helper_y": { + "$hide_description|default": true, + "offset": [ 4, -4 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "search_header_text_box_panel": { + "type": "panel", + "size": [ 80, 15 ], + "$text_edit_clipping_panel_size": [ 57, 15 ], + "$text_edit_box_label_anchor_point": "left_middle", + "controls": [ + { + "search_header_text_box@common.text_edit_box": { + "offset": [ 0, 1 ], + "max_length": 50, + "$text_box_name": "search_header_text_box", + "$text_edit_box_enabled_binding_type": "none", + "$text_edit_box_content_binding_name": "#search_header_box_text_content", + "$place_holder_text": "realmsSettingsScreen.searchBox", + "$enabled": true, + "$focus_override_left": "purchase_coins_panel", + "$focus_override_right": "store_layout_search_button", + "$focus_id": "search_header_text_box", + "focus_wrap_enabled": false, + "focus_enabled": true + } + }, + { + "clear_button@common.close_button": { + "offset": [ 0, 1 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "visible": false, + "layer": 2, + "focus_enabled": true, + "$close_button_panel_size": [ 11, 11 ], + "$close_button_offset": [ 3, 0 ], + "$close_button_visible_binding_name": "#search_header_clear_visible", + "$close_button_visible_binding_type": "global", + "$close_button_default_texture": "textures/ui/close_button_hover", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.search_header_clear", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.search_header_clear", + "mapping_type": "focused" + } + ] + } + } + ] + } + }, + { + "store_layout_search_button@store_layout.store_layout_ribbon_search_button": { + "size": [ 17, 17 ], + "$focus_id": "store_layout_search_button", + "$button_tts_header": "store.search.button" + } + }, + { + "padding0": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ], + + "$search_header_bindings|default": [ + { + "binding_name": "#search_header_visible", + "binding_name_override": "#visible" + } + ], + "bindings": "$search_header_bindings" + }, + + "store_header_with_coins": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "$store_header_size|default": [ "100%", 23 ], + "$is_inventory_screen|default": false, + "$ignore_home_button|default": false, + "$ignore_inventory_button|default": false, + "$ignore_search|default": false, + "controls": [ + { + "top_bar@common_store.store_top_bar": { + "size": "$store_header_size", + "focus_container": true, + "use_last_focus": false, + "focus_wrap_enabled": false, + "focus_navigation_mode_up": "stop", + "controls": [ + { + "title_stack_panel": { + "type": "stack_panel", + "size": [ "100%", 19 ], + "orientation": "horizontal", + "controls": [ + { + "padding1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { "back_button_content_panel@common_store.back_content_panel": {} }, + { + "padding2": { + "type": "panel", + "size": [ 10, "100%" ] + } + }, + { + "header_title_panel@common.screen_header_title_panel": { + "layer": 1, + "$screen_header_title_binding_type": "global" + } + }, + { + "padding3": { + "type": "panel", + "size": [ 5, "100%" ] + } + }, + { + "padding4": { + "type": "panel", + "size": [ 5, "100%" ] + } + }, + { + "status_and_coins@common_store.status_with_coins": { + "ignored": "$store_disabled", + "$top_status_and_coins_visible_binding_type|default": "none", + "$top_status_and_coins_visible_binding|default": "", + "bindings": [ + { + "binding_type": "$top_status_and_coins_visible_binding_type", + "binding_name": "$top_status_and_coins_visible_binding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding5": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { "search_header_stack@common_store.search_header_stack": {} } + ] + } + } + ] + } + }, + { + "child_control@$child_control": { + "size": [ "100%", "fill" ], + "layer": 2 + } + } + ] + }, + + "status_with_coins": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "$padding_size": [ 2, "100%" ], + "controls": [ + { + "inventory_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "layer": 2, + "controls": [ + { + "inventory_button@common_store.inventory_panel": { + "offset": [ 0, -1 ] + } + } + ] + } + }, + { + "padding0": { + "type": "panel", + "size": [ 6, "100%" ], + "ignored": "$ignore_3rd_party_servers" + } + }, + { + "coin_balance_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "coin_balance_panel@common_store.purchase_coins_panel": { + "offset": [ 0, -1 ], + "layer": 1 + } + } + ] + } + }, + { + "padding1": { + "type": "panel", + "size": [ 4, "100%" ], + "ignored": "$ignore_3rd_party_servers" + } + } + ] + }, + + "coins_with_title": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "coin_balance_panel@common_store.purchase_coins_panel": { + "offset": [ 0, -4 ], + "layer": 5, + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "title_panel@$title_panel": { + } + } + ] + }, + + "wallet_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "layer": 2, + "size": [ "100%c", 17 ], + "controls": [ + { + "purchase_coin_panel_alignment_hack": { + "type": "panel", + "size": [ "100%c", 17 ], + "controls": [ + { + "purchase_coin_panel@common_store.coin_balance_panel": { + "size": [ 47, 13 ], + "offset": [ 0, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { + "plus_image@common_buttons.new_ui_button_panel": { + "$button_size_override|default": [ 17, 17 ], + "$button_content": "common_store.plus_icon" + } + }, + { + "gamepad_helper_x_alignment_hack": { + "type": "panel", + "size": [ 12, "100%c" ], + "controls": [ + { + "gamepad_helper_x@common.gamepad_helper_x_14": { + "$hide_description|default": true, + "offset": [ -10, -4 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ], + "$wallet_gamepad_helper_bindings|default": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ], + "bindings": "$wallet_gamepad_helper_bindings" + } + } + ] + }, + + "coin_balance_panel@common_store.ribbon_bar_text_background": { + "size": [ 58, "100%" ], + "$ignore_coin_purchase_spinner|default": true, + "controls": [ + { + "coin_purchase_in_progress_panel": { + "type": "panel", + "size": [ 30, "default" ], + "offset": [ 2, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "ignored": "$ignore_coin_purchase_spinner", + "controls": [ + { + "coin_purchase_in_progress@common_store.progress_loading_spinner": { + "size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ], + "bindings": [ + { + "binding_name": "#coin_purchase_in_progress", + "binding_name_override": "#visible" + } + ] + } + }, + { + "horizontal_coin_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 11 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "coin_icon@common_store.coin_icon": {} + }, + { + "small_filler": { + "type": "panel", + "size": [ 0.5, "100%" ] + } + }, + { + "coin_text_holder": { + "type": "panel", + "size": [ "100%c", 11 ], + "controls": [ + { + "coin_balance_text": { + "type": "label", + "font_type": "smooth", + "layer": 4, + "$accessibility_override": "#accessibility_minecoins_amount", + "text": "#coin_balance", + "text_alignment": "left", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "tts_override_control_value": "$accessibility_override", + "bindings": [ + { + "binding_type": "global", + "binding_name": "#coin_balance", + "binding_condition": "always_when_visible" + }, + { + "binding_type": "global", + "binding_name": "$accessibility_override", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "(not #coin_purchase_in_progress)", + "binding_name_override": "#visible" + } + ], + "$text_color_swap|default": "", + "variables": [ + { + "requires": "$default_state", + "$text_color_swap": "$coin_color" + }, + { + "requires": "$hover_state", + "$text_color_swap": "$main_header_text_color" + }, + { + "requires": "$pressed_state", + "$text_color_swap": "$main_header_text_color" + }, + { + "requires": "$locked_state", + "$text_color_swap": "$main_header_text_color" + } + ], + "color": "$text_color_swap" + } + } + ] + } + } + ] + } + } + ] + }, + + "my_account_button_content": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "my_account_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "layer": 2, + "controls": [ + { + "user_icon": { + "type": "image", + "size": [ "120%y", "100%" ], + "texture": "textures/ui/user_icon" + } + }, + { + "my_account_label_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "controls": [ + { + "padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "my_account_center_label": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "my_account_label": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ "100%c", 10 ], + "text": "store.myAccount", + "color": "$text_color" + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "(not #show_xbl_profile_info)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "inventory_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 17 ], + "controls": [ + { + "inventory_button": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "status_panel@common_store.inventory_button": { + } + } + ] + } + } + ] + }, + + "inventory_button": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "my_content_button": { + "type": "panel", + "size": [ 17, 17 ], + "layer": 5, + "controls": [ + { + "library_icon": { + "type": "image", + "size": [ 17, 17 ], + "texture": "textures/ui/sidebar_icons/my_content" + } + }, + { + "library_icon_bevel": { + "type": "image", + "size": [ 17, 17 ], + "layer": 4, + "$icon_bevel_hoverstate_texture_swap|default": "", + "variables": [ + { + "requires": "$default_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel" + }, + { + "requires": "$hover_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel_hover" + }, + { + "requires": "$pressed_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel_hover" + }, + { + "requires": "$locked_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/gamerpic_bevel_hover" + } + ], + "texture": "$icon_bevel_hoverstate_texture_swap" + } + } + ], + "bindings": [ + { + "binding_name": "(not #update_icon_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "updates_with_bevel": { + "type": "panel", + "size": [ 17, 17 ], + "controls": [ + { + "update_glyph@common_store.bang_icon": { + "layer": 5 + } + }, + { + "updates_bevel": { + "type": "image", + "size": [ 17, 17 ], + "layer": 4, + "$icon_bevel_hoverstate_texture_swap|default": "", + "variables": [ + { + "requires": "$default_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel" + }, + { + "requires": "$hover_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel_hover" + }, + { + "requires": "$pressed_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel_pressed" + }, + { + "requires": "$locked_state", + "$icon_bevel_hoverstate_texture_swap": "textures/ui/update_bevel_pressed" + } + ], + "texture": "$icon_bevel_hoverstate_texture_swap" + } + } + ], + "bindings": [ + { + "binding_name": "(#update_icon_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + + { + "label_alignment_pannel": { + "type": "panel", + "size": [ "100%c", "100% -4px" ], + "controls": [ + { + "label_panel@common_store.ribbon_bar_text_background": { + "size": [ "100%c + 2px", "100%" ], + "offset": [ 0, 2 ], // To line up with the coin balance text + "controls": [ + { + "inventory_label": { + "type": "label", + "font_type": "smooth", + "text": "store.myLibrary", + "color": "$body_text_color", + "layer": 2 + } + } + ] + } + } + ] + } + } + ] + }, + + "xbl_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "offset": [ 0, -1 ], + "controls": [ + { + "xbl_icon": { + "type": "image", + "texture": "textures/ui/xbox4", + "size": [ 9, 9 ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "disconnected_label": { + "type": "label", + "size": [ "default", "default" ], + "text": "store.xbl.disconnected", + "color": "$text_color" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "error_icon_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "error_icon": { + "type": "image", + "texture": "textures/ui/ErrorGlyph", + "size": [ 7, 10 ], + "offset": [ 0, -1 ] + } + } + ] + } + } + ] + }, + + "disclaimer_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$legal_text_offset|default": [ 2, -1 ], + "controls": [ + { + "legal_text_label": { + "type": "label", + "size": [ "100% - 2px", "default" ], + "offset": "$legal_text_offset", + "layer": 10, + "color": "$body_text_color", + "font_type": "smooth", + "$disclaimer_font_scale_factor|default": 0.68, + "font_scale_factor": "$disclaimer_font_scale_factor", + "text": "#purchase_with_currency_disclaimer", + "bindings": [ + { + "binding_name": "#purchase_with_currency_disclaimer" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#currency_purchase_visible", + "binding_name_override": "#visible" + } + ] + }, + + "grey_bar_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 17, "100%" ], + "controls": [ + { + "color_panel": { + "type": "panel", + "size": [ 12, "100%" ], + "controls": [ + { + "grey_bar": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 1, + "texture": "textures/ui/white_background", + "keep_ratio": false, + "tiled": true, + "color": "$carousel_unselected" + } + }, + { + "green_bar": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 2, + "texture": "textures/ui/white_background", + "keep_ratio": false, + "tiled": true, + "color": "$carousel_selected", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#this_page_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "carousel_bar_collection" + } + ] + } + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 5, "100%" ] + } + } + ] + }, + + "tab_name_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "controls": [ + { + "bar_panel": { + "type": "panel", + "size": [ 2.5, "100%" ], + "controls": [ + { + "green_bar": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 2, + "texture": "textures/ui/white_background", + "keep_ratio": false, + "tiled": true, + "color": "$carousel_selected", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#this_page_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$carousel_row_tab_collection_name" + } + ] + } + } + ] + } + }, + { + "button_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "tab_name_button_grey@common_buttons.light_text_form_fitting_button": { + "layer": 1, + "$button_text": "#tab_name_text", + "$pressed_button_name": "button.tab_name", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$carousel_row_tab_collection_name", + "$button_offset": [ 0, 2 ], + + "$button_state_panel": "common_buttons.borderless_form_fitting_button_panel", + "$default_button_alpha": 0, + "$default_hover_alpha": 0, + "$default_pressed_alpha": 0, + + "$default_text_color": "$dark_bg_contrast_button_default_text_color", + "$hover_text_color": "$carousel_selected", + "$pressed_text_color": "$light_button_pressed_text_color", + "$locked_text_color": "$light_button_locked_text_color", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$carousel_row_tab_collection_name" + }, + { + "binding_name": "(not #this_page_selected)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$carousel_row_tab_collection_name" + } + ] + } + }, + { + "tab_name_button_white@common_buttons.light_text_form_fitting_button": { + "layer": 2, + "$button_text": "#tab_name_text", + "$pressed_button_name": "button.tab_name", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$carousel_row_tab_collection_name", + "$button_offset": [ 0, 2 ], + + "$button_state_panel": "common_buttons.borderless_form_fitting_button_panel", + "$default_button_alpha": 0, + "$default_hover_alpha": 0, + "$default_pressed_alpha": 0, + + "$default_text_color": "$generic_button_text_color", + "$hover_text_color": "$carousel_selected", + "$pressed_text_color": "$light_button_pressed_text_color", + "$locked_text_color": "$light_button_locked_text_color", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$carousel_row_tab_collection_name" + }, + { + "binding_name": "#this_page_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$carousel_row_tab_collection_name" + } + ] + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ 10, "100%" ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Content + //-------------------------------------------------------------------------------- + + "store_offer_item_title_panel": { + "type": "panel", + "size": [ "100%", 10 ], + + "$offer_title_binding_type|default": "global", + "$offer_title_collection_name|default": "", + + "controls": [ + // this is done due to size and max size bug + { + "offer_collection_title@common_store.store_offer_title": { + "text_alignment": "center", + "$store_offer_title_visible_binding": "#is_offer_collection_query" + } + }, + { + "offer_title@common_store.store_offer_title": {} + } + ] + }, + + "store_offer_item_creator_panel": { + "ignored": "$ignore_creator", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "layer": 2, + + "$offer_title_binding_type|default": "global", + "$offer_title_collection_name|default": "", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_title_binding_type", + "binding_name": "#is_creator_label_visible", + "binding_collection_name": "$offer_title_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "pack_icon_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "pack_icon_stack@common_store.pack_icon_stack": { + "offset": [ 0, 1 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$icon_stack_visibility": "#pack_icon_section_visible", + "$icon_stack_visibility_type": "$offer_title_binding_type", + "$icon_stack_visibility_collection": "$offer_title_collection_name", + "$is_purchase_button": false + } + } + ] + } + }, + { + "creator_label": { + "type": "label", + "size": [ "fill", "100%" ], + "text": "#creator_label", + "color": "$store_author_text_color", + "font_type": "smooth", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_title_binding_type", + "binding_collection_name": "$offer_title_collection_name", + "binding_name": "#creator_label" + } + ] + } + } + ] + }, + + + "store_offer_ratings": { + "type": "panel", + "size": [ "100%c", "100%" ], + "$rating_text_padding_size": [ 3, "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#ratings_visible", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "rating_text_panel@common_store.rating_text_panel": { + // factory binding vars + "$rating_text_factory_collection_details": "$store_factory_collection_details", + "$rating_text_factory_collection_prefix": "$store_factory_collection_prefix", + "$rating_text_factory_collection_name": "$store_factory_collection_name", + + "$rating_text_binding_type": "$offer_binding_type", + "$rating_text_collection_name": "$offer_collection_name" + } + } + ] + }, + + "vertical_store_offer_price_info_panel": { + "type": "panel", + "size": [ "100%c", 12 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "controls": [ + { + "sales_banner": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 12 ], + "controls": [ + { + "markdown_stack_panels": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 12 ], + "controls": [ + { + "markdown_panel@common_store.offer_price_markdown_panel": { + "$offer_price_binding": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_full_price", + "binding_collection_name": "$offer_collection_name" + } + ], + "$strike_through_text_bindings": [], + "$offer_price_offset": [ 0, 2 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#starter_bundle_strikethrough_visible", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_markdown_panel_right": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + } + }, + { + "store_offer_prompt_panel": { + "type": "panel", + "size": [ "100%c", 12 ], + "controls": [ + { + "offer_status_text": { + "type": "label", + "color": "$coin_color", + "size": [ "default", 10 ], + "offset": [ 0, 0.5 ], + "text": "#starter_bundle_offer_prompt_text", + "font_type": "smooth", + "layer": 4, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#starter_bundle_offer_prompt_text", + "binding_collection_name": "$offer_collection_name" + } + ] + } + } + ] + } + }, + { + "padding_to_right": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + } + } + ] + }, + + "store_offer_price_info_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 12 ], + "ignored": "(not $ignore_durable_status_content)", + "controls": [ + // ToDo: make the chevron and sales banner work together when dynamic scaling is completed + { + "sales_banner": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 12 ], + "controls": [ + { + "sales_markdown_percentage_panel@common_store.store_offer_sales_markdown_percentage_panel": {} + }, + { + "fill_panel_with_markdown": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "fill", "100%" ], + "ignored": "$is_subscription_screen", + "controls": [ + { + "fill_markdown_panel_left": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "markdown_panel@common_store.offer_price_markdown_panel": { + "$offer_price_offset": [ 0, 3 ] + } + }, + { + "padding_markdown_panel_right": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + } + }, + { + "coin_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "offer_coin_icon@common_store.coin_icon": { + "layer": 5, + "offset": [ 1, 3 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#offer_coin_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "offer_prompt_panel@common_store.store_offer_prompt_panel": {} + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_markdown_visible", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + }, + + "store_offer_sales_markdown_percentage_panel": { + "type": "panel", + "size": [ "100%c", 12 ], + "ignored": "$is_subscription_screen", + "controls": [ + { + "markdown_background@common_store.markdown_background": { + "size": [ "100%c", 12 ], + "offset": [ -3, 2.5 ], // polish hack - aligns the banner to be flush with the bottom of the background panel + "layer": 9, // Needs to be a higher layer than the strikethru text + "$markdown_label": "common_store.row_offer_sale_markdown", + "$timer_visible": false, + "$icon_stack_visibility_collection": "$offer_collection_name", + "$icon_stack_visibility_type": "$offer_binding_type" + } + } + ] + }, + + "store_offer_prompt_panel": { + "type": "panel", + "size": [ "100%c", 12 ], + "controls": [ + { + "offer_status_text": { + "type": "label", + "color": "$coin_color", + "size": [ "default", 10 ], + "offset": [ 0, 0.5 ], + "text": "#offer_prompt_text", + "font_type": "smooth", + "layer": 4, + "tts_override_control_value": "#tts_offer_prompt_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_prompt_text", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_prompt_text_visibility", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#tts_offer_prompt_text", + "binding_collection_name": "$offer_collection_name" + } + ] + } + } + ] + }, + + "featured_key_art": { + "type": "panel", + "controls": [ + { + "bg@common_store.banner_fill": { + "layer": 3, + "$featured_texture_path|default": "#key_art_texture_path", + "$featured_texture_file_system|default": "#key_art_texture_file_system", + "$featured_item_does_not_meet_requirements|default": "#item_does_not_meet_requirements", + "$new_featured_offer|default": "#new_offer_icon_visible", + "controls": [ + { + "featured_key_art": { + "type": "image", + "layer": 4, + "size": [ "100% - 2px", "100% - 2px" ], + "bilinear": true, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "$featured_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "$featured_texture_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "$featured_item_does_not_meet_requirements", + "binding_name_override": "#grayscale" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", "100%" ], + "$source_control_name": "featured_key_art", + "$source_property_name": "(#texture = '')", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$hide_failure_text": true + } + }, + { + "new_offer_icon@common_store.status_new_offer_icon": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "$new_featured_offer", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "focus_border@common.square_image_border_white": { + "color": "$border_color", + "layer": 9 + } + } + ] + }, + + "price_panel": { + "type": "stack_panel", + "size": [ "100%c", 11 ], + "orientation": "horizontal", + "controls": [ + { + "featured_icon_panel": { + "type": "panel", + "size": [ "100%c", 11 ], + "controls": [ + { + "featured_offer_coin_icon@common_store.coin_icon": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#offer_coin_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "price_label_panel": { + "type": "panel", + "size": [ "100%c", 11 ], + "controls": [ + { + "price@common_store.label": { + "size": [ "default", 10 ], + "text": "#offer_prompt_text", + "font_type": "smooth", + "offset": [ 1, -1 ], + "color": "$coin_color", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "tts_override_control_value": "#tts_offer_prompt_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#offer_prompt_text" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "#offer_prompt_text_visibility", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "#tts_offer_prompt_text", + "binding_collection_name": "$hero_offer_collection_name" + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + }, + + "vertical_padding_4": { + "type": "panel", + "size": [ 0, 4 ] + }, + + "vertical_padding_2": { + "type": "panel", + "size": [ 0, 2 ] + }, + + "sdl_vertical_padding_fill": { + "type": "panel", + "$is_non_scrollable_sdl_screen|default": false, + "$sdl_vertical_padding_fill_size": [ "100%", 0 ], + "variables": [ + { + "requires": "$is_non_scrollable_sdl_screen", + "$sdl_vertical_padding_fill_size": [ "100%", "fill" ] + } + ], + "size": "$sdl_vertical_padding_fill_size" + }, + + "footer": { + "type": "panel", + "visible": "$requires_restore_button", + "size": [ "100%", "100%c + 4px" ], + "clip_state_change_event": "$store_factory_clipping_event", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "controls": [ + { + "restore_purchases@common_store.restore_purchases": { + "size": [ "28%", 30 ] + } + } + ] + }, + + "store_section_panel": { + "type": "panel", + "size": [ "100%", "100%cm + 4px" ], + "focus_container": "$allows_sdl_section_focus_container", + "$store_section_focus_wrap_enabled|default": false, + "$store_section_panel_nav_mode_left|default": "$main_content_focus_container_left", + "$store_section_panel_nav_custom_left|default": "$main_content_focus_container_left_custom", + "variables": [ + { + "requires": "(not $allows_sdl_section_focus_container)", + "$store_section_focus_wrap_enabled": true, + "$store_section_panel_nav_mode_left": "none", + "$store_section_panel_nav_custom_left": {}, + "focus_wrap_enabled": "$store_section_focus_wrap_enabled", + "focus_navigation_mode_left": "$store_section_panel_nav_mode_left", + "focus_container_custom_left": "$store_section_panel_nav_custom_left" + } + ], + + "clip_state_change_event": "$store_factory_clipping_event", + + "$store_section_header|default": "common_store.style_header", + "$store_section_panel_name|default": "section_content", + + // factory binding vars (for when created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$ignore_store_section_visible_binding|default": false, + + "controls": [ + { + "store_section_panel_outline": { + "type": "image", + "texture": "textures/ui/slider_border", + "size": [ "100% - 6px", "100%sm + 2px" ], + "color": "#row_outline_color", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#row_outline_color", + "binding_condition": "once", + "binding_name_override": "#color" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#show_row_outline", + "binding_condition": "once", + "binding_name_override": "#visible" + } + ] + } + }, + { + "section_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "header@common_store.style_header": {} + }, + { + "section_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/recolorable_background", + "size": [ "100%", "100%sm + 4px" ], + "color": "#row_bg_color", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#row_bg_color", + "binding_condition": "once", + "binding_name_override": "#color" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#show_row_background", + "binding_condition": "once", + "binding_name_override": "#visible" + } + ] + } + }, + { + "$store_section_panel_name@$store_section_object": {} + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "ignored": "$ignore_store_section_visible_binding", + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$store_section_visible", + "binding_name_override": "#visible" + } + ] + }, + + "store_section_factory": { + "type": "stack_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + + "$is_non_scrollable_sdl_screen|default": false, + "$store_sdl_factory_size": [ "100%", "100%c" ], + "variables": [ + { + "requires": "$is_non_scrollable_sdl_screen", + "$store_sdl_factory_size": [ "100%", "fill" ] + } + ], + "size": "$store_sdl_factory_size", + + "$store_factory_clipping_event": "factory_section_shown", + + "$store_factory_collection_details": "collection_details", + "$store_factory_binding_type": "collection", + "$store_factory_collection_prefix": "factory", + "$store_factory_collection_name": "factory_collection", + "$is_subscription_screen|default": false, + "$content_offer_panel_size|default": [ "100% - 48px", "100%" ], + "$ignore_search_offer_content": true, + "$always_show_layer": 200, + "$always_show_paper_doll": 190, + + "$main_content_focus_container_left|default": "none", + "$main_content_focus_container_left_custom|default": {}, + "$allows_sdl_section_focus_container|default": true, + + "factory": { + "name": "store_section_factory", + "control_ids": { + "RecentlyViewed": "@common.empty_panel_size_y_0", + "RelatedItems": "@common.empty_panel_size_y_0", + "VerticalFillPadding": "@common_store.sdl_vertical_padding_fill", + "CarouselRow": "@common_store.carousel_row_panel", + "ScreenshotsHeroBladeRow": "@common_store.hero_blade_row_panel", + "HeroRow": "@common_store.hero_row_panel", + "HeroRowL2": "@common_store.hero_row_l2_panel", + "SinglePageRow": "@common_store.static_offer_row_panel", + "StoreRow": "@common_store.store_row_panel", + "GridList": "@common_store.store_offer_grid_panel", + "TextRow": "@sdl_text_row.solo_text_row", + "VerticalGridList": "@common_store.vertical_offer_grid_panel", + "footer_section": "@common_store.footer", + "NavButtonRow": "@store_layout.nav_button_grid_panel", + "ItemDescription": "@pdp.description_section", + "PublicChangelogRow": "@pdp.changelog_section", + "ItemSummary": "@pdp.summary_factory_object", + "SearchBar": "@common_store.search_object", + "ImageGallery": "@pdp.screenshot_carousel_factory_object", + "ImageRow": "@pdp.image_gallery_factory_object", + "LeftTextRightImage": "@pdp.left_text_right_image_factory_object", + "RightTextLeftImage": "@pdp.right_text_left_image_factory_object", + "SkinPreview": "@pdp.skin_pack_section_factory_object", + "WorldView": "@pdp.panorama_view_factory_object", + "RatingRow": "@pdp.ratings_factory_object", + "BundleSummaryBanner": "@pdp.bundle_summary_factory_object", + "BundleUpsellSection": "@pdp.bundles_upsell_factory_object", + "PromoBanner": "@promo_timeline.promo_banner_factory", + "CoinScreenRow": "@coin_purchase.main_panel", + "PromoLanding": "@promo_timeline.promo_landing_panel", + "ImageMessageRow": "@promo_timeline.image_message_panel", + "CoinBundleRow": "@coin_purchase.bundle_panel", + "VerticalLineDivider": "@common_store.vertical_line_divider_row", + "LightDropdown": "@common_store.sdl_dropdown_header_row", + "DropdownOptionRow": "@common_store.sdl_dropdown_data_row", + "PersonaHeightOptions": "@persona_sdl.persona_height_options_row", + "PersonaArmSizeOptions": "@persona_sdl.persona_arm_size_options_row", + "CharacterSelectorRow": "@persona_sdl.character_selector", + "DarkRedirectButton": "@persona_sdl.dark_redirect_button_panel", + "PersonaSideSelection": "@persona_sdl.side_selection_row", + "SkinPackList": "@persona_sdl.skin_list_section_panel", + "ExpandedSkinPackGrid": "@persona_sdl.ExpandedSkinPackGrid", + "Layout": "@common.empty_panel_size_y_0", + "DropdownSection": "@sdl_dropdowns.sdl_dropdown_rows" + }, + "factory_variables": [ + "$ignore_search_offer_content", + "$store_factory_clipping_event", + "$store_factory_collection_details", + "$store_factory_collection_prefix", + "$store_factory_collection_name", + "$store_factory_binding_type", + "$is_subscription_screen", + "$is_mashup", + "$main_content_focus_container_left", + "$main_content_focus_container_left_custom", + "$allows_sdl_section_focus_container", + "$always_show_layer", + "$always_show_paper_doll", + "$is_non_scrollable_sdl_screen" + ] + }, + "collection_name": "$store_factory_collection_name", + "bindings": [ + { + "binding_name": "#store_section_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "rtx_label": { + "type": "panel", + "size": [ "100%", "20%" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "banner": { + "type": "image", + "$banner_size|default": [ 20, 14 ], + "size": "$banner_size", + "texture": "textures/ui/RTX_Label", + "layer": 2, + "controls": [ + { + "icon": { + "type": "image", + "layer": 3, + "size": [ "default", "default" ], + "offset": [ -3, 0 ], + "max_size": [ "70%", "70%" ], + "texture": "textures/ui/RTX_Sparkle" + } + } + ] + } + } + ] + }, + + "subscription_chevron": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "priority": 4, + "$subscription_offer_binding_type|default": "", + "$subscription_offer_collection_name|default": "", + "$subscription_chevron_offset|default": [ 0, 1.25 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$subscription_offer_binding_type", + "binding_collection_name": "$subscription_offer_collection_name", + "binding_name": "#subscription_chevron_visibility", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "subscription_chevron_panel": { + "type": "panel", + "size": [ 16, 12 ], + "offset": "$subscription_chevron_offset", // polish hack - aligns the banner to be flush with the bottom of the background panel + "controls": [ + { + "csb_chevron@common_store.csb_banner": { + "layer": 10, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$subscription_offer_binding_type", + "binding_collection_name": "$subscription_offer_collection_name", + "binding_name": "#csb_chevron_visibility", + "binding_name_override": "#visible" + } + ] + } + }, + { + // Add yellow banner behind the Chevron, visible when we are in a sale (markdown) + "sales_banner_background@common_store.markdown_banner": { + "size": [ "100%", "100%" ], + "layer": 9, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$subscription_offer_binding_type", + "binding_collection_name": "$subscription_offer_collection_name", + "binding_name": "#offer_markdown_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "csb_banner": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "banner": { + "type": "image", + "$banner_size|default": [ "139%y", 12 ], + "size": "$banner_size", + "texture": "textures/ui/csbChevronArrowLarge", + "layer": 2 + } + } + ] + }, + + "pagination_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 8px", 25 ], + "controls": [ + { + "padding_left": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "first_page_button@common_buttons.light_text_button": { + "size": [ 25, "100%" ], + "$pressed_button_name": "button.navigate_first_page", + "$button_text": "<<", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#first_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "pagination_middle_buttons_panel@common_store.pagination_middle_buttons_panel": {} + }, + { + "padding_right_fill": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "go_to_top_button@common_buttons.light_content_button": { + "size": [ 25, "100%" ], + "$pressed_button_name": "button.go_to_top", + "$button_content": "common_store.pagination_top_button_panel", + "$focus_id": "up_button", + "$focus_override_left": "next_button", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + }, + + "pagination_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "property_bag": { + "#visible": false + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#pagination_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "top_padding@common.vertical_padding_8px": {} }, + { "pagination_content@common_store.pagination_content_panel": {} }, + { "bottom_padding@common.vertical_padding_8px": {} } + ] + }, + + "store_offer_grid_panel_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c + 2px" ], + "focus_container": "$allows_sdl_section_focus_container", + "$focus_id": "store_offer_grid_panel_focus_id", + + "$store_offer_grid_content_focus_wrap_enabled|default": false, + "variables": [ + { + "requires": "(not $allows_sdl_section_focus_container)", + "$store_offer_grid_content_focus_wrap_enabled": true, + "focus_wrap_enabled": "$store_offer_grid_content_focus_wrap_enabled" + } + ], + + "controls": [ + { + "header_centerer_panel@common.vert_stack_centering_panel": { + "$vert_stack_centering_content": "common_store.style_header" + } + }, + { + "store_offer_grid_factory@common_store.store_offer_grid_factory": { + "size": [ "100%", "100%c" ], + "anchor_from": "center", + "anchor_to": "center" + } + }, + { + "pagination_centerer@common.vert_stack_centering_panel": { + "$vert_stack_centering_content": "common_store.pagination_panel" + } + }, + { + "divider@common.section_divider": { + "ignored": "(not $is_subscription_screen)" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#offer_collection_visible", + "binding_name_override": "#visible" + } + ] + }, + + "store_offer_grid_panel@common.vert_stack_centering_panel": { + "$vert_stack_centering_content": "common_store.store_offer_grid_panel_content" + }, + + "pagination_top_button_panel": { + "type": "panel", + "controls": [ + { + "top_button_image@common_store.up_arrow_icon": { + // Image isn't centered within its canvas so we offset to center. (11 x 9 image in 12 x 12 canvas) + "offset": [ 0.5, 1.5 ] + } + } + ] + }, + + "pagination_middle_buttons_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "65%", "100%" ], + + "$page_button_size": [ "fill", "100%" ], + + "controls": [ + { + "previous_page_button@common_buttons.light_text_button": { + "size": "$page_button_size", + "$pressed_button_name": "button.navigate_previous_page", + "$button_text": "store.pagination.previous", + "$focus_id": "previous_button", + "$focus_override_right": "next_button", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#first_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "current_page_number_panel": { + "type": "panel", + "size": [ "12%", "100%" ], + "controls": [ + { + "current_page_number": { + "type": "label", + "color": "$body_text_color", + "anchor_from": "center", + "anchor_to": "center", + "text_alignment": "center", + "text": "#page_number_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#page_number_text" + } + ] + } + } + ] + } + }, + { + "next_page_button@common_buttons.light_text_button": { + "size": "$page_button_size", + "$pressed_button_name": "button.navigate_next_page", + "$button_text": "store.pagination.next", + "$focus_id": "next_button", + "$focus_override_left": "previous_button", + "$focus_override_right": "up_button", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#next_enabled", + "binding_name_override": "#enabled" + } + ] + } + } + ] + }, + + "vertical_store_offer_grid_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "header@common_store.style_header": {} + }, + { + "centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "vertical_store_offer_grid_content@store_item_list.store_offer_grid": { + "size": [ "100% - 6px", "100%c" ], + "$store_offer_grid_prefix": "offer", + "$store_offer_grid_collection_name": "offer_collection", + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "divider@common.section_divider": { + "ignored": "(not $is_subscription_screen)" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#offer_collection_visible", + "binding_name_override": "#visible" + } + ] + }, + + "carousel_row_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 5px" ], + + "$carousel_row_tab_collection_name|default": "carousel_tab_collection", + "$ignore_cycle_buttons|default": false, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name", + "binding_name": "#is_carousel_row_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "top_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 50px", 12 ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ 30, "100%" ] + } + }, + { + "tab_names_factory_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "offset": [ 5, 0 ], + "layer": 2, + "factory": { + "name": "tab_names_factory", + "control_ids": { + "HeroRow": "@common_store.tab_name_panel", + "ScreenshotsHeroBladeRow": "@common_store.tab_name_panel" + }, + "factory_variables": [ + "$store_factory_collection_name", + "$carousel_row_tab_collection_name" + ] + }, + "collection_name": "$carousel_row_tab_collection_name", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#grey_bar_section_content", + "binding_name_override": "#collection_length", + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#tab_names_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name" + } + ] + } + }, + { + "top_padding": { + "type": "panel", + "size": [ "100%", 2 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#tab_names_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name" + } + ] + } + }, + { + "middle_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 50px", "100%cm" ], + "controls": [ + { + "left_button_panel": { + "type": "panel", + "size": [ 25, "100%sm" ], + "controls": [ + { + "left_button@common_store.cycle_pack_button": { + "size": [ 15, 20 ], + "$button_tts_header": "#cycle_left_button_accessibility_text", + "$pressed_button_name": "button.navigate_carousel_left", + "$chevron_image_name": "textures/ui/chevron_left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#cycle_left_button_accessibility_text" + } + ] + } + }, + { + "left_bumper@common.gamepad_helper_left_bumper": { + "$gamepad_helper_icon_size": [ 20, 20 ], + "bindings": [ + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "main_panel_factory@common_store.carousel_factory": { + "$hero_row_size": [ "100%", "28.125%x + 24.5px" ], + "$whole_panel_focus_override_right": "carousel_right_button" + } + }, + { + "right_button_panel": { + "type": "panel", + "size": [ 25, "100%sm" ], + "controls": [ + { + "right_button@common_store.cycle_pack_button": { + "size": [ 15, 20 ], + "$button_tts_header": "#cycle_right_button_accessibility_text", + "$pressed_button_name": "button.navigate_carousel_right", + "$chevron_image_name": "textures/ui/chevron_right", + "$focus_id": "carousel_right_button", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#cycle_right_button_accessibility_text" + } + ] + } + }, + { + "right_bumper@common.gamepad_helper_right_bumper": { + "$gamepad_helper_icon_size": [ 20, 20 ], + "bindings": [ + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom_panel": { + "type": "panel", + "size": [ "100%", 20 ], + "controls": [ + { + "grey_bar_factory_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 5 ], + "offset": [ 5, 0 ], + "layer": 2, + "factory": { + "name": "grey_bar_factory", + "control_ids": { + "HeroRow": "@common_store.grey_bar_panel", + "ScreenshotsHeroBladeRow": "@common_store.grey_bar_panel" + }, + "factory_variables": [ + "$store_factory_collection_name" + ] + }, + "collection_name": "carousel_bar_collection", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#grey_bar_section_content", + "binding_name_override": "#collection_length", + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #tab_names_visible)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name" + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 10 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#tab_names_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name" + } + ] + } + }, + { + "divider_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "divider@common.horizontal_divider": { + "size": [ "100%- 10px", 1 ] + } + } + ] + } + } + ] + }, + + "carousel_factory": { + "type": "stack_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "100%c" ], + + "$is_subscription_screen|default": false, + "$content_offer_panel_size|default": [ "100% - 48px", "100%c" ], + + "factory": { + "name": "carousel_factory", + "control_ids": { + "HeroRow": "@common_store.hero_row_panel", + "ScreenshotsHeroBladeRow": "@common_store.hero_blade_row_panel" + }, + "factory_variables": [ + "$whole_panel_focus_override_right", + "$store_factory_clipping_event", + "$store_factory_collection_details", + "$store_factory_collection_prefix", + "$store_factory_collection_name", + "$store_factory_binding_type", + "$is_subscription_screen" + ] + }, + "collection_name": "carousel_row_collection_name", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#carousel_section_content", + "binding_name_override": "#collection_length", + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name" + } + ] + }, + + "hero_row_l2_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + "$ignore_creator": true, + "$pressed_button_name": "button.select_offer", + "controls": [ + { + "header@common_store.style_header": {} + }, + { + "centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "l2_featured_stack": { + "type": "stack_panel", + "orientation": "horizontal", + // Adjusted Y slightly after min/max came into RI to take up remaining pixel gap + // Calculation based upon scaling four 16:9 images to maintain layout and aspect ratio + // Formula as follows: ((100%x) * (100/177.78)/3) + 27px + "size": [ "100% - 4px", "18.7498%x + 22px" ], + "clip_state_change_event": "$store_factory_clipping_event", + "$offer_size": [ "33.333% - 2px", "100%" ], + "$offer_collection_details": "collection_details", + "$offer_binding_type": "collection", + "$offer_collection_prefix": "offer", + "$offer_collection_name": "hero_row_l2_collection", + "collection_name": "hero_row_l2_collection", + + "$content_offer_texture_type": "key_art", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "featured_item_1@common_store.store_offer_grid_item": { + "size": "$offer_size", + "$button_focus_precedence": 4, + "collection_index": 0 + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "featured_item_2@common_store.store_offer_grid_item": { + "size": "$offer_size", + "collection_index": 1 + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "featured_item_3@common_store.store_offer_grid_item": { + "size": "$offer_size", + "collection_index": 2 + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 1, "100%" ] + } + } + ] + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "divider@common.section_divider": { + "ignored": "(not $is_subscription_screen)" + } + } + ] + }, + + "blade_row_key_art": { + "type": "panel", + "controls": [ + { + "blade_row_key_art_image": { + "type": "image", + "size": [ "100%", "100%" ], + "bilinear": true, + "$blade_row_featured_texture_path|default": "#key_art_texture_path", + "$blade_row_featured_texture_file_system|default": "#key_art_texture_file_system", + "$blade_row_featured_item_does_not_meet_requirements|default": "#item_does_not_meet_requirements", + "controls": [ + { + "key_art_border": { + "type": "image", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ "100%", "100%" ], + "texture": "textures/ui/focus_border_white", + "color": [ 0, 0, 0 ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "$blade_row_featured_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "$blade_row_featured_texture_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "$blade_row_featured_item_does_not_meet_requirements", + "binding_name_override": "#grayscale" + } + ] + } + } + ] + }, + + "one_key_art_screenshot": { + "type": "image", + "bilinear": true, + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "blade_row_collection", + "binding_name": "#screenshot_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "blade_row_collection", + "binding_name": "#screenshot_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "one_key_art_screenshot_panel": { + "type": "panel", + "size": [ "25%", "100%" ], + "layer": 3, + "$offer_background_asset|default": "common_store.store_description_background", + "$frame_size|default": [ "100%", "100%" ], + + "controls": [ + { + "blade_offer_frame@$offer_background_asset": { + "size": "$frame_size", + "layer": 3, + "controls": [ + { + "one_key_art_screenshot@common_store.one_key_art_screenshot": { + "size": [ "100%", "56.25%x" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "one_key_art_frame@common.square_image_border_white": { + "size": [ "100%", "100%" ], + "color": [ 0, 0, 0 ], + "layer": 3 + } + } + ] + } + } + ] + } + } + ] + }, + + "screenshots_grid": { + "type": "collection_panel", + "size": [ "100%", "100%" ], + "layer": -9, + "anchor_from": "top_left", + "anchor_to": "top_left", + "$offer_collection_name": "$blade_offer_collection_name", + "$offer_background_asset": "common_store.store_description_background", + "$offer_collection_details": "$blade_offer_collection_details", + "$offer_binding_type": "$blade_offer_binding_type", + "$offer_collection_prefix": "$blade_offer_collection_prefix", + "collection_name": "$offer_collection_name", + "controls": [ + { + "screenshot_1@common_store.one_key_art_screenshot_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50%", "50%" ], + "offset": [ 1, 0 ], + "collection_index": 0 + } + }, + { + "screenshot_2@common_store.one_key_art_screenshot_panel": { + "size": [ "50%", "50%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "collection_index": 1 + } + }, + { + "screenshot_3@common_store.one_key_art_screenshot_panel": { + "size": [ "50%", "50%" ], + "offset": [ 1, -1 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "collection_index": 2 + } + }, + { + "screenshot_4@common_store.one_key_art_screenshot_panel": { + "size": [ "50%", "50%" ], + "offset": [ 0, -1 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "collection_index": 3 + } + } + ] + }, + + "blade_offer_collection_padding": { + "type": "panel", + "size": [ "fill", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "#is_offer_collection_query", + "binding_name_override": "#visible" + } + ] + }, + + "blade_offer_details_title": { + "type": "label", + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "#title_label", + "enable_profanity_filter": false, + "color": "$body_text_color", + "font_type": "smooth", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_name": "#title_label", + "binding_collection_name": "$blade_offer_collection_name" + } + ] + }, + + "blade_offer_sale_markdown": { + "type": "label", + "color": "$store_sales_banner_text_color", + "size": [ "default", 10 ], + "offset": [ 1, -0.5 ], + "text": "#offer_markdown_percentage", + "font_type": "smooth", + "layer": 4, + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "tts_override_control_value": "#tts_offer_markdown_percentage", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "#offer_markdown_percentage" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "#tts_offer_markdown_percentage" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "#blade_markdown_visible", + "binding_name_override": "#visible" + } + ] + }, + + "blade_offer_description_details": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + + "$timer_field_count_to_show": 2, + + "$ignore_creator|default": false, + "$offer_title_binding_type": "$blade_offer_binding_type", + "$offer_title_collection_name": "$blade_offer_collection_name", + "$is_purchase_button": false, + + "controls": [ + { + "blade_title_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "controls": [ + { + "blade_offer_title_padding_left@common_store.blade_offer_collection_padding": { + "size": [ "fill", "100%" ] + } + }, + { + "blade_title@common_store.blade_offer_details_title": {} + }, + { + "blade_offer_title_padding_right@common_store.blade_offer_collection_padding": { + "size": [ "fill", "100%" ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "blade_offer_creator_label@common_store.store_offer_item_creator_panel": {} + }, + { + "blade_offer_description_padding_2": { + "type": "panel", + "size": [ "100%", "fill" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "ratings_and_coins": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 13 ], + "layer": 2, + "controls": [ + { + "blade_sales_markdown_percentage_panel": { + "type": "panel", + "size": [ "100%c", 12 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$timer_visible": true, + "controls": [ + { + "blade_markdown_background@common_store.markdown_background": { + "layer": 9, // Needs to be a higher layer than the strikethru text + "$markdown_label": "common_store.blade_offer_sale_markdown", + "offset": [ -2, 1 ], + "$icon_stack_visibility_collection": "$blade_offer_collection_name", + "$icon_stack_visibility_type": "$blade_offer_binding_type", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "#offer_markdown_visible", + "binding_name_override": "#visible" + } + ], + "$timer_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "$time_text_binding_name", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + }, + { + "ratings_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "blade_ratings@common_store.ratings_description": { + "$rating_text_factory_collection_details": "$store_factory_collection_details", + "$rating_text_factory_collection_prefix": "$store_factory_collection_prefix", + "$rating_text_factory_collection_name": "$store_factory_collection_name", + + "$rating_text_binding_type": "$blade_offer_binding_type", + "$rating_text_collection_name": "$blade_offer_collection_name" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "#ratings_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "blade_rating_count_panel@common_store.store_rating_count_panel": { + "$rating_text_binding_type": "$blade_offer_binding_type", + "$rating_text_collection_name": "$blade_offer_collection_name" + } + }, + { + "fill_padding": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "blade_offer_price_markdown_panel@common_store.offer_price_markdown_panel": { + "$offer_binding_type": "$blade_offer_binding_type", + "$offer_collection_name": "$blade_offer_collection_name" + } + }, + { + "price_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "price@common_store.price_panel": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$hero_offer_binding_type": "$blade_offer_binding_type", + "$hero_offer_collection_name": "$blade_offer_collection_name" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name": "(not #is_offer_collection_query)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "price_panel_padding_right": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$blade_offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "blade_offer_description_padding_3": { + "type": "panel", + "size": [ "100%", 2 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + }, + + "screenshots_and_offer_details_panel": { + "type": "panel", + "layer": -3, + "controls": [ + { + "blade_offer_screenshots_grid@common_store.screenshots_grid": { + "size": [ "100%", "56.25%x - 0.4375px" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "blade_offer_description_area@common_store.store_description_background": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$description_background_alpha": 0.9, + "size": [ "100% - 1px", "100% - 56.25%x + 1.4375px" ], + "controls": [ + { + "blade_offer_description_border": { + "type": "image", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "size": [ "100%", "100%" ], + "texture": "textures/ui/focus_border_white", + "color": [ 0, 0, 0 ] + } + }, + { + "hero_blade_offer_description_details@common_store.blade_offer_description_details": {} + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + }, + + "blade_row_featured_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "$blade_row_size|default": [ "100%", "100%" ], + "size": "$blade_row_size", + "controls": [ + { + "blade_row_featured_key_art@common_store.blade_row_key_art": { + "size": [ "61.56% + 1.75px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": -2, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$blade_offer_collection_details", + "binding_collection_name": "$blade_offer_collection_name", + "binding_collection_prefix": "$blade_offer_collection_prefix" + } + ] + } + }, + { + "blade_offer_screenshots_and_details_panel@common_store.screenshots_and_offer_details_panel": { + "type": "panel", + "size": [ "38.44%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ] + }, + + "transparent_content_button@common_buttons.light_content_button": { + "$button_image": "common_buttons.button_image", + "$button_content_size": [ "100% + 1px", "100%" ], + "$default_button_texture": "", + "$hover_button_texture": "", + "$pressed_button_texture": "", + "$locked_button_texture": "", + + "$button_offset": [ 0, 0 ] + }, + + "hero_blade_row_panel": { + "type": "panel", + "size": [ "100%", "34.628%x + 2px" ], // The y value is = ((100%)/177.78%)*61.56% for the 16:9 aspect ratio of the key art taking up 61.56% of screen width + "$blade_offer_collection_details|default": "collection_details", + "$blade_offer_binding_type|default": "collection", + "$blade_offer_collection_prefix|default": "blade", + "$blade_offer_collection_name|default": "blade_row_collection", + + "controls": [ + { + "blade_row_transparent_button@common_store.transparent_content_button": { + "size": [ "100%", "100%" ], + "layer": -1, + "$pressed_button_name": "button.select_blade_offer", + "$button_content": "common_store.blade_row_featured_panel", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.navigate_carousel_right", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.navigate_carousel_left", + "mapping_type": "focused" + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "carousel_row_collection_name", + "binding_name": "#offer_button_focus_id", + "binding_name_override": "#focus_identifier" + } + ] + } + } + ] + }, + + "hero_row_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 4px" ], + + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$hero_offer_collection_details|default": "collection_details", + "$hero_offer_binding_type|default": "collection", + "$hero_offer_collection_prefix|default": "offer", + "$hero_offer_collection_name|default": "hero_row_collection", + + "$offer_button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.navigate_carousel_right", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.navigate_carousel_left", + "mapping_type": "focused" + } + ], + + "controls": [ + { + "header@common_store.style_header": {} + }, + { + "centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "featured_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "$hero_row_size|default": [ "100% - 8px", "28.125%x + 24.5px" ], // The y value is = ((100%)/177.78%)*50% for the 16:9 aspect ratio of the key art taking up half the screen width + "size": "$hero_row_size", + "collection_name": "$hero_offer_collection_name", + "clip_state_change_event": "$store_factory_clipping_event", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ], + "controls": [ + { + "hero_offer@common_buttons.single_image_with_border_button": { + "size": [ "50% + 42px", "100%" ], + "collection_index": 0, + "$button_content": "common_store.hero_offer", + "$pressed_button_name": "button.select_offer", + "$button_content_size": [ "100%", "100%" ], + "$border_visible": false, + "$button_focus_precedence": 10, + "$button_pressed_offset": [ 0, 0 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_collection_details", + "binding_collection_name": "$hero_offer_collection_name", + "binding_collection_prefix": "$hero_offer_collection_prefix" + } + ], + "button_mappings": "$offer_button_mappings" + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "hero_offer_grid@common_store.hero_offer_grid": {} + } + ] + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "divider@common.section_divider": { + "ignored": "(not $is_subscription_screen)" + } + } + ] + }, + + "hero_offer": { + "type": "panel", + "controls": [ + { + "featured_key_art@common_store.featured_key_art": { + "size": [ "100%", "100%" ] + } + }, + { + "rtx_label@common_store.rtx_label": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ 20, 15 ], + "offset": [ 1, 0 ], + "layer": 6, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#rtx_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "offer_description_area@common_store.store_description_background": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$description_background_alpha": 0.9, + "size": [ 120, "100%c" ], + "layer": 8, + "controls": [ + { + "hero_offer_description_details@common_store.hero_offer_description_details": {} + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + }, + + "hero_offer_details_title": { + "type": "label", + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "#title_label", + "enable_profanity_filter": false, + "color": "$body_text_color", + "font_type": "smooth", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "#title_label", + "binding_collection_name": "$hero_offer_collection_name" + } + ] + }, + + "hero_offer_description_details": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", 35.75 ], + "offset": [ -2, 0 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + + "$timer_field_count_to_show": 2, + + "$ignore_creator|default": false, + "$offer_title_binding_type": "$hero_offer_binding_type", + "$offer_title_collection_name": "$hero_offer_collection_name", + "$is_purchase_button": false, + "controls": [ + { + "hero_offer_collection_padding_top@common_store.hero_offer_collection_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "hero_title_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "controls": [ + { + "hero_offer_collection_title_padding_left@common_store.hero_offer_collection_padding": { + "size": [ "fill", "100%" ] + } + }, + { + "title@common_store.hero_offer_details_title": {} + }, + { + "hero_offer_collection_title_padding_right@common_store.hero_offer_collection_padding": { + "size": [ "fill", "100%" ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "hero_offer_collection_padding_bottom@common_store.hero_offer_collection_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "padding_5": { + "type": "panel", + "size": [ "100%", 10 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "#progress_visible", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress@common_store.hero_offer_download_progress": { + "size": [ "100%", 24 ], + "layer": 6 + } + }, + { + "creator_label@common_store.store_offer_item_creator_panel": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#is_creator_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "durable_offer_info_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "unowned_offer_status_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 13 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 2, + "use_priority": true, + "controls": [ + { + "subscription_panel@common_store.subscription_chevron": { + "$subscription_offer_collection_name": "$hero_offer_collection_name", + "$subscription_offer_binding_type": "$hero_offer_binding_type", + "$subscription_chevron_offset": [ -1, 1 ] + } + }, + { + "sales_markdown_percentage_panel": { + "type": "panel", + "size": [ "100%c", 12 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$timer_visible": true, + "priority": 2, + "controls": [ + { + "markdown_background@common_store.markdown_background": { + "layer": 9, // Needs to be a higher layer than the strikethru text + "$markdown_label": "common_store.hero_offer_sale_markdown", + "offset": [ -1, 1 ], + "$icon_stack_visibility_collection": "$hero_offer_collection_name", + "$icon_stack_visibility_type": "$hero_offer_binding_type", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#offer_markdown_visible", + "binding_name_override": "#visible" + } + ], + "$timer_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "$time_text_binding_name", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + }, + { + "ratings_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "priority": 6, + "controls": [ + { + "ratings@common_store.ratings_description": { + "$rating_text_factory_collection_details": "$store_factory_collection_details", + "$rating_text_factory_collection_prefix": "$store_factory_collection_prefix", + "$rating_text_factory_collection_name": "$store_factory_collection_name", + + "$rating_text_binding_type": "$hero_offer_binding_type", + "$rating_text_collection_name": "$hero_offer_collection_name" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#ratings_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "rating_count_panel@common_store.store_rating_count_panel": { + "$rating_text_binding_type": "$hero_offer_binding_type", + "priority": 5, + "$rating_text_collection_name": "$hero_offer_collection_name" + } + }, + { + "pack_icon_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "priority": 3, + "controls": [ + { + "pack_icon_stack@common_store.pack_icon_stack": { + "$icon_stack_visibility": "#hero_featured_pack_icon_section_visible", + "$icon_stack_visibility_type": "$hero_offer_binding_type", + "$icon_stack_visibility_collection": "$hero_offer_collection_name", + "$is_purchase_button": false, + "offset": [ 0, 2 ] + } + } + ] + } + }, + { + "fill_padding": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "offer_price_markdown_panel@common_store.offer_price_markdown_panel": { + "$offer_binding_type": "$hero_offer_binding_type", + "priority": 1, + "$offer_collection_name": "$hero_offer_collection_name" + } + }, + { + "price_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "priority": 0, + "controls": [ + { + "price@common_store.price_panel": { + "offset": [ 0, -1 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "(not #is_offer_collection_query)", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "(not #is_owned)", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "owned_offer_status_panel": { + "type": "panel", + "size": [ "100%", 13 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "#is_owned", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "owned_status_text": { + "type": "label", + "color": "$coin_color", + "size": [ "100%", 10 ], + "text": "#owned_status_text", + "font_type": "smooth", + "layer": 4, + "tts_override_control_value": "#owned_status_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_name": "#owned_status_text", + "binding_collection_name": "$hero_offer_collection_name" + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 0.75 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "(not #is_offer_collection_query)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "hero_offer_download_progress": { + "type": "panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#progress_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "label": { + "type": "label", + "font_type": "smooth", + "color": "$body_text_color", + "layer": 7, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "offset": [ 3, 2 ], + "text": "#offer_download_progress_label", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#offer_download_progress_label" + } + ] + } + }, + { + "bar@common_store.store_progress_bar_icon": { + "size": [ "100% - 4px", 5 ], + "offset": [ 2, -2 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$progress_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio" + } + ] + } + } + ] + }, + + "rating_text_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "offset": [ 0, 1 ], + "$rating_panel_anchor|default": "bottom_left", + "anchor_from": "$rating_panel_anchor", + "anchor_to": "$rating_panel_anchor", + + "$control_id|default": "", + + // factory binding vars + "$rating_text_factory_collection_details|default": "none", + "$rating_text_factory_collection_prefix|default": "", + "$rating_text_factory_collection_name|default": "", + + // rating binding vars + "$rating_text_binding_type|default": "global", + "$rating_text_collection_name|default": "", + + "$rating_text_ignore_left_padding|default": false, + "$rating_text_padding_size|default": [ 1, "100%" ], + "$rating_label_text_binding|default": "#rating_text", + "$rating_star_offset|default": [ 0, -1 ], + "controls": [ + { + "left_padding": { + "ignored": "$rating_text_ignore_left_padding", + "type": "panel", + "size": "$rating_text_padding_size" + } + }, + { + "star_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "rating_star": { + "type": "image", + "offset": "$rating_star_offset", + "layer": 1, + "color": "$store_rating_text_panel_color", + "texture": "textures/ui/ratings_fullstar", + "size": [ 8, 8 ], + "bilinear": true + } + } + ] + } + }, + { + "middle_padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "rating_label": { + "type": "label", + "size": [ "default", "100%" ], + "layer": 1, + "font_type": "smooth", + "color": "$store_rating_text_panel_color", + "text": "$rating_label_text_binding", + "bindings": [ + { + "binding_type": "$rating_text_factory_collection_details", + "binding_collection_name": "$rating_text_factory_collection_name", + "binding_collection_prefix": "$rating_text_factory_collection_prefix" + }, + { + "binding_type": "$rating_text_binding_type", + "binding_collection_name": "$rating_text_collection_name", + "binding_name": "$rating_label_text_binding" + } + ] + } + } + ], + "property_bag": { + "control_id": "$control_id" + } + }, + + "ratings_description": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "rating_text_panel@common_store.rating_text_panel": { + "$offer_collection_name": "", + "$offer_category_collection_name": "", + "$rating_panel_anchor": "left_middle", + "$rating_text_ignore_left_padding": true + } + } + ] + }, + + "store_rating_count_panel": { + "type": "panel", + // ADO 722860: Width is constant so the rating count does not appear without the star average rating. + "size": [ 25, "100%" ], + "priority": 5, + "$rating_text_binding_type|default": "global", + "$rating_text_collection_name|default": "", + "controls": [ + { + "rating_count_text": { + "type": "label", + "size": [ "default", "100%" ], + "offset": [ 0, 1 ], + "layer": 1, + "font_type": "smooth", + "color": "$store_rating_text_panel_color", + "text": "#ratings_count_text", + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$rating_text_binding_type", + "binding_collection_name": "$rating_text_collection_name", + "binding_name": "#ratings_count_text" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$rating_text_binding_type", + "binding_collection_name": "$rating_text_collection_name", + "binding_name": "(not (#ratings_count_text = ''))", + "binding_name_override": "#visible" + } + ] + }, + + "hero_offer_grid": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "vertical", + "$is_hero_offer": true, + "$ignore_creator": true, + "$offer_background_asset": "common_store.store_description_background", + "$frame_size": [ "100%", "100%" ], + "$pressed_button_name": "button.select_offer", + + "$timer_field_count_to_show": 2, + + "$offer_collection_details": "collection_details", + "$offer_binding_type": "$hero_offer_binding_type", + "$offer_collection_prefix": "$hero_offer_collection_prefix", + "$offer_collection_name": "$hero_offer_collection_name", + "$whole_panel_focus_override_right|default": "FOCUS_OVERRIDE_STOP", + + "$timer_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "$time_text_binding_name", + "binding_condition": "always_when_visible" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$offer_collection_name" + } + ], + "controls": [ + { + "row_1": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50% - 2px" ], + "collection_name": "$offer_collection_name", + "controls": [ + { + "offer_1@common_store.store_offer_grid_item": { + "size": [ "50% - 2px", "100%" ], + "collection_index": 1 + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "offer_2@common_store.store_offer_grid_item": { + "size": [ "50% - 2px", "100%" ], + "collection_index": 2, + "$focus_override_right": "$whole_panel_focus_override_right" + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "row_2": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50% - 2px" ], + "collection_name": "$offer_collection_name", + "controls": [ + { + "offer_1@common_store.store_offer_grid_item": { + "size": [ "50% - 2px", "100%" ], + "collection_index": 3 + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "offer_2@common_store.store_offer_grid_item": { + "size": [ "50% - 2px", "100%" ], + "collection_index": 4, + "$focus_override_right": "$whole_panel_focus_override_right" + } + } + ] + } + } + ] + }, + + "offer_download_progress": { + "type": "panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#progress_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "label": { + "type": "label", + "font_type": "smooth", + "color": "$body_text_color", + "layer": 7, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "offset": [ 3, 2 ], + "text": "#offer_download_progress_label", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#offer_download_progress_label", + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name" + } + ] + } + }, + { + "bar@common_store.store_progress_bar_icon": { + "size": [ "100% - 4px", 5 ], + "offset": [ 2, -2 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$progress_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio" + } + ] + } + } + ] + }, + + "banner_button@common_buttons.new_ui_width_fitting_button_panel": { + "size": [ "100%c", 16 ], + "$button_type_panel": "common_buttons.width_fitting_button_content_panel", + "$button_content": "common_store.promo_banner_button_content", + "$button_size_override": [ "100%c + 8px", "100%" ], + "$anchor": "bottom_left", + "layer": 4, + "$focus_id": "banner_button", + "$focus_override_up": "banner_full_button", + "$pressed_button_name": "button.promotion_page", + "bindings": [ + { + "binding_name": "#promo_page_is_ready", + "binding_name_override": "#enabled" + } + ] + }, + + "sdl_text_aligned_panel@common_store.sdl_content_aligned_panel": { + "$aligned_control": "common_store.sdl_aligned_text", + "$aligned_text_font_type|default": "smooth", + "$aligned_text_scale_factor|default": 1, + "$aligned_text_color|default": "$body_text_color", + "$aligned_text|default": "", + "$text_color_binding_type|default": "none" + }, + + "sdl_text_minecraftTen_aligned_panel@common_store.sdl_content_aligned_panel": { + "$aligned_control": "common_store.sdl_aligned_minecraftTen_text", + "$aligned_text_scale_factor|default": 1, + "$aligned_text_color|default": "$body_text_color", + "$aligned_text|default": "", + "$text_color_binding_type|default": "none" + }, + + "sdl_content_aligned_panel": { + "type": "stack_panel", + "size": [ "100%", "100%cm" ], + "orientation": "horizontal", + "$left_padding_visible_binding|default": "", + "$right_padding_visible_binding|default": "", + "$alignment_binding_type|default": "none", + "$alignment_collection_name|default": "", + + "$aligned_control|default": "common.empty_panel", + "controls": [ + { + "left__padding_panel": { + "size": [ "fill", "100%sm" ], + "type": "panel", + "bindings": [ + { + "binding_name": "$left_padding_visible_binding", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "control@$aligned_control": {} + }, + { + "right_padding_panel": { + "size": [ "fill", "100%sm" ], + "type": "panel", + "bindings": [ + { + "binding_name": "$right_padding_visible_binding", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "sdl_aligned_text": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ "40%", 20 ], + "font_type": "$aligned_text_font_type", + "font_scale_factor": "$aligned_text_scale_factor", + "color": "$aligned_text_color", + "text": "$aligned_text", + "bindings": [ + { + "binding_name": "$aligned_text", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name" + }, + { + "binding_name": "$aligned_text_color", + "binding_type": "$text_color_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#color" + } + ] + }, + + "sdl_aligned_minecraftTen_text@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "max_size": [ "100%", "default" ], + "font_scale_factor": "$aligned_text_scale_factor", + "color": "$aligned_text_color", + "text": "$aligned_text", + "bindings": [ + { + "binding_name": "$aligned_text", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name" + }, + { + "binding_name": "$aligned_text_color", + "binding_type": "$text_color_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#color" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Content offer carousel + //-------------------------------------------------------------------------------- + + "content_offer_key_art": { + "type": "image", + "size": [ "100% - 2px", "100% - 2px" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "('#' + $content_offer_texture_type + '_texture_path')", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "('#' + $content_offer_texture_type + '_texture_file_system')", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "#item_does_not_meet_requirements", + "binding_name_override": "#grayscale", + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name" + } + ] + }, + + "vertical_content_offer_header@common_store.store_description_background": { + "size": [ "100%", "16px" ], + "layer": 3, + "controls": [ + { + "header@common_store.sdl_text_aligned_panel": { + "$aligned_text_scale_factor": 1.2, + "$aligned_text": "#section_header", + "$aligned_text_color": "#section_header_color", + "$text_color_binding_type": "$store_factory_binding_type", + "$alignment_binding_type": "$store_factory_binding_type", + "$alignment_collection_name": "$store_factory_collection_name", + "$right_padding_visible_binding": "#header_right_padding_visible", + "$left_padding_visible_binding": "#header_left_padding_visible", + "layer": 2 + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#section_title_visible", + "binding_name_override": "#visible" + } + ] + }, + + "vertical_content_offer_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$store_factory_collection_name": "factory_collection", + + "$offer_collection_type": "collection", + "$offer_collection_name": "vertical_offer_collection", + "collection_name": "$offer_collection_name", + + "factory": { + "name": "vertical_row_factory", + "control_ids": { + "vertical_coin_offer_content": "@common_store.vertical_coin_offer_content", + "vertical_offer_content": "@common_store.vertical_offer_content" + }, + "factory_variables": [ + "$store_factory_collection_details", + "$store_factory_collection_prefix", + "$store_factory_collection_name", + "$offer_collection_name", + "$offer_collection_type" + ] + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#vertical_section_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "vertical_offer_grid_panel@common_store.store_section_panel": { + "$ignore_store_section_visible_binding": true, + "$store_section_header": "common_store.vertical_content_offer_header", + "$store_section_object": "common_store.vertical_content_offer_panel" + }, + + "offer_content": { + "type": "panel", + "size": [ "100%", "20%x" ], + "controls": [ + { + "offer_item@common_store.store_offer_grid_item": {} + } + ] + }, + + "vertical_offer_content": { + "type": "panel", + "size": [ "100%", "36px" ], + "controls": [ + { + "offer_item@common_store.vertical_store_offer_grid_item": { + "$offer_collection_details": "collection_details", + "$offer_binding_type": "collection", + "$offer_collection_prefix": "offer", + "$offer_collection_name": "vertical_offer_collection" + } + } + ] + }, + + "vertical_coin_offer_content": { + "type": "panel", + "size": [ "100%", "36px" ], + "controls": [ + { + "offer_item@common_store.vertical_store_coin_offer_grid_item": { + "$offer_collection_details": "collection_details", + "$offer_binding_type": "collection", + "$offer_collection_prefix": "offer", + "$offer_collection_name": "vertical_offer_collection" + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Store offer carousel + //-------------------------------------------------------------------------------- + + "store_offer_key_art": { + "type": "image", + "bilinear": true, + "size": [ "100% - 2px", "100% - 15px" ], + "$content_offer_texture_type|default": "thumbnail", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "('#' + $content_offer_texture_type + '_texture_path')", + "binding_name_override": "#texture" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "('#' + $content_offer_texture_type + '_texture_file_system')", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "#item_does_not_meet_requirements", + "binding_name_override": "#grayscale", + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name" + } + ] + }, + + "store_offer_grid_show_more": { + "type": "panel", + + "$store_offer_grid_item_size|default": [ "25%", "100%" ], + "size": "$store_offer_grid_item_size", + + // offer binding vars + "$offer_binding_type|default": "global", + "$offer_collection_name|default": "", + + // offer factory binding vars (for offers that are created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "controls": [ + { + "frame@common_store.banner_fill": { + "size": [ "100% - 2px", "100%" ], + "layer": 3, + "controls": [ + { + "title": { + "type": "label", + "size": [ "100%", 10 ], + "text": "#show_more_text", + "color": "$body_text_color", + "font_type": "smooth", + "text_alignment": "center", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#show_more_text", + "binding_collection_name": "$offer_collection_name" + } + ] + } + } + ] + } + }, + { + "offer_button@common.button": { + "layer": 4, + "default_control": "", + "$pressed_button_name": "button.show_more_offers", + "tts_inherit_siblings": true, + "bindings": [ + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#top_row_focus_override_up", + "binding_name_override": "#focus_change_up" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#offer_grid_item_button_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#last_item_focus_override_right", + "binding_name_override": "#focus_change_right" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.cycle_offer_right", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.cycle_offer_left", + "mapping_type": "focused" + } + ], + "controls": [ + { + "hover@common.focus_border_white": { + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100% - 2px", "56.25%x" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1 + } + } + ] + } + }, + { + "pressed@common.focus_border_white": { + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1 + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#show_more_visible", + "binding_name_override": "#visible" + } + ] + }, + + + "persona_grid_show_more@common_buttons.light_text_button": { + "size": [ "100%", "100%" ], + + // offer binding vars + "$offer_binding_type|default": "global", + "$offer_collection_name|default": "", + + // offer factory binding vars (for offers that are created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$pressed_button_name": "button.show_more_offers", + "$button_text": "#show_more_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "$store_factory_collection_name", + "$button_text_collection_details": "$store_factory_collection_details", + "$button_text_collection_prefix": "$store_factory_collection_prefix", + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + }, + + + "row_offer_sale_markdown": { + "type": "label", + "color": "$store_sales_banner_text_color", + "size": [ "default", 10 ], + "offset": [ 1, 0 ], + "font_type": "smooth", + "text": "#offer_markdown_percentage", + "font_scale_factor": 1, + "layer": 4, + "tts_override_control_value": "#tts_offer_markdown_percentage", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_markdown_percentage", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#tts_offer_markdown_percentage", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_markdown_visible", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + }, + + "hero_offer_sale_markdown": { + "type": "label", + "color": "$store_sales_banner_text_color", + "size": [ "default", 10 ], + "offset": [ 1, -0.5 ], + "text": "#offer_markdown_percentage", + "font_type": "smooth", + "layer": 4, + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "tts_override_control_value": "#tts_offer_markdown_percentage", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#offer_markdown_percentage" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#tts_offer_markdown_percentage" + }, + { + "binding_type": "$hero_offer_binding_type", + "binding_collection_name": "$hero_offer_collection_name", + "binding_name": "#offer_markdown_visible", + "binding_name_override": "#visible" + } + ] + }, + + "offer_price_markdown_panel": { + "type": "panel", + "size": [ "100%c + 6px", "100%" ], + "$offer_price_offset|default": [ 0, 2 ], + "$offer_price_strikethru_offset|default": [ 0, -1 ], + "$price_string|default": "", + "$offer_strikethrough_price_visible_binding|default": "#offer_strikethrough_price_visible", + "controls": [ + { + "offer_price": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "size": [ "default", "100%" ], + "offset": "$offer_price_offset", + "text": "#offer_full_price", + "font_type": "smooth", + "layer": 4, // place behind sale banner when possible + "$offer_price_binding|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_full_price", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "$offer_strikethrough_price_visible_binding", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#tts_overrride_offer_full_price", + "binding_collection_name": "$offer_collection_name" + } + ], + "bindings": "$offer_price_binding", + + "controls": [ + { + "text_strike_through@common_store.text_strike_through": { + "size": [ "100% + 2px", 0.5 ], + "offset": "$offer_price_strikethru_offset", + "$strike_through_text_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_markdown_visible", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ], + "bindings": "$strike_through_text_bindings" + } + } + ] + } + } + ] + }, + + "store_offer_title": { + "type": "label", + "$offer_title_size|default": [ "100%", 10 ], + "size": "$offer_title_size", + "text": "#title_label", + "enable_profanity_filter": false, + "text_alignment": "left", + "color": "$body_text_color", + "font_type": "smooth", + "$is_hero_offer|default": false, + "layer": 1, + "$store_offer_title_visible_binding|default": "(not #is_offer_collection_query)", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "$store_offer_title_visible_binding", + "binding_name_override": "#visible" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#title_label" + } + ] + }, + + "store_offer_key_art_frame@common_store.store_description_background": { + "type": "panel", + "size": [ "100%", "56.25%x + 2px" ], + "layer": 3, + "controls": [ + { + "key_art@common_store.store_offer_key_art": { + "size": [ "100% - 2px", "100% - 2px" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100%" ], + "color": [ 0, 0, 0 ], + "layer": 3 + } + }, + { + "csb_expiration_banner@common_store.csb_expiration": {} + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", "100%" ], + "$source_control_name": "key_art", + "$source_property_name": "(#texture = '')", + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 4, + "$hide_failure_text": true + } + } + ] + }, + + "vertical_store_offer_grid_item": { + "type": "panel", + "size": [ "100%", "36px" ], + + "$ignore_creator|default": false, + "$is_hero_offer|default": false, + "$ignore_durable_status_content|default": false, + "$timer_visible|default": false, + "$frame_size|default": [ "100% - 2px", "36px" ], + "$is_purchase_button": false, + + // offer binding vars + "$offer_collection_details|default": "none", + "$offer_collection_prefix|default": "", + + // offer factory binding vars (for offers that are created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$store_offer_grid_item_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#valid_offer_index", + "binding_name_override": "#visible" + } + ], + + "variables": [ + { + "requires": "$is_hero_offer", + "$description_size": [ "100%", 20 ], + "$store_offer_grid_item_bindings": [] + }, + { + "requires": "(not $is_hero_offer)", + "$description_size": [ "100%", 30 ] + } + ], + + "bindings": "$store_offer_grid_item_bindings", + + "controls": [ + { + "frame@common_store.store_description_background": { + "layer": 3, + "controls": [ + { + "horizontal_stack_panel@common_store.vertical_store_offer_grid_inside_frame": {} + }, + // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border + // around the content rather than create 3 sets of each control when only the border changes + { + "offer_button@common_store.store_offer_grid_button": { + "size": [ "100%", "36px" ], + "offset": [ "0px", "-1px" ] + } + } + ], + "bindings": [ + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#is_odd_row", + "binding_name_override": "#visible" + } + ] + } + }, + { + "dark_frame@common_store.store_description_background_dark": { + "layer": 3, + "controls": [ + { + "horizontal_stack_panel@common_store.vertical_store_offer_grid_inside_frame": {} + }, + // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border + // around the content rather than create 3 sets of each control when only the border changes + { + "offer_button@common_store.store_offer_grid_button": { + "size": [ "100%", "36px" ], + "offset": [ "0px", "-1px" ] + } + } + ], + "bindings": [ + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "(not #is_odd_row)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "vertical_store_offer_grid_inside_frame": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "$title_padding_size|default": [ "100%", 14 ], + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "60px", "100%" ], + "offset": [ 0, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "36px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "color": [ 0, 0, 0 ] + } + }, + { + "key_art@common_store.store_offer_key_art": { + "size": [ "100%", "34px" ], + "offset": [ 1, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + } + } + ] + } + }, + { + "offer_details_general_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "general_offer_details_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + + "$offer_title_binding_type": "$offer_binding_type", + "$offer_title_collection_name": "$offer_collection_name", + "controls": [ + { + "title_panel_with_padding": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title@common_store.store_offer_item_title_panel": { + "offset": [ 4, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { + "creator_label_panel_with_padding": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "creator_label@common_store.store_offer_item_creator_panel": { + "offset": [ 4, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { + "ratings_and_cost_pannel_with_padding": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "12px" ], + "controls": [ + { + "ratings@common_store.store_offer_ratings": { + "size": [ "100%c", "12px" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "rating_and_price_padding": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "offer_price_info_panel@common_store.vertical_store_offer_price_info_panel": {} + }, + { + "right_side_padding": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "vertical_store_coin_offer_grid_item": { + "type": "panel", + "size": [ "100%", "36px" ], + + "$ignore_creator|default": false, + "$is_hero_offer|default": false, + "$ignore_durable_status_content|default": false, + "$timer_visible|default": false, + "$frame_size|default": [ "100% - 2px", "36px" ], + "$is_purchase_button": false, + + // offer binding vars + "$offer_collection_details|default": "none", + "$offer_collection_prefix|default": "", + + // offer factory binding vars (for offers that are created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$store_offer_grid_item_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#valid_offer_index", + "binding_name_override": "#visible" + } + ], + + "variables": [ + { + "requires": "$is_hero_offer", + "$description_size": [ "100%", 20 ], + "$store_offer_grid_item_bindings": [] + }, + { + "requires": "(not $is_hero_offer)", + "$description_size": [ "100%", 30 ] + } + ], + + "bindings": "$store_offer_grid_item_bindings", + + "controls": [ + { + "frame@common_store.store_description_background": { + "$internal_frame_size": "$frame_size", + "layer": 3, + "controls": [ + { + "horizontal_stack_panel@common_store.vertical_coin_offer_grid_inside_frame": {} + } + ], + "bindings": [ + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#is_odd_row", + "binding_name_override": "#visible" + } + ] + } + }, + { + "dark_frame@common_store.store_description_background_dark": { + "$internal_frame_size": "$frame_size", + "layer": 3, + "controls": [ + { + "horizontal_stack_panel@common_store.vertical_coin_offer_grid_inside_frame": {} + }, + // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border + // around the content rather than create 3 sets of each control when only the border changes + { + "offer_button@common_store.store_offer_grid_button": { + "size": [ "100%", "36px" ], + "offset": [ "0px", "-1px" ] + } + } + ], + "bindings": [ + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "(not #is_odd_row)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "vertical_coin_offer_grid_inside_frame": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "36px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$title_padding_size|default": [ "100%", 14 ], + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "60px", "100%" ], + "offset": [ 0, 0 ], + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "36px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "color": [ 0, 0, 0 ] + } + }, + { + "key_art@common_store.store_offer_key_art": { + "size": [ "100%", "34px" ], + "offset": [ 1, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "coin_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "offer_coin_icon@common_store.coin_icon": { + "layer": 5, + "offset": [ 1, 1 ], + "size": [ "32px", "32px" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + }, + { + "Minecoins_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "minecoins_vert_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + + "$offer_title_binding_type": "$offer_binding_type", + "$offer_title_collection_name": "$offer_collection_name", + + "controls": [ + { + "minecoins_panel_with_padding": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "minecoins_prompt_panel": { + "type": "panel", + "size": [ "100%c", 18 ], + "offset": [ 4, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "minecoins_offer_status_text": { + "type": "label", + "color": "$coin_color", + "size": [ "default", 18 ], + "offset": [ 0, 0.5 ], + "text": "#offer_minecoin_text", + "font_type": "smooth", + "font_scale_factor": 1.5, + "layer": 4, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_minecoin_text", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#tts_offer_minecoin_text", + "binding_collection_name": "#tts_override_control_value", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { + "title_panel_with_padding": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title@common_store.store_offer_item_title_panel": { + "offset": [ 4, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$body_text_color": "$coin_color" + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "offer_prompt_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%c", 11 ], + "controls": [ + { + "coin_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "offer_coin_icon@common_store.coin_icon": { + "layer": 5, + "offset": [ 1, 1 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#offer_coin_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 2, "100%c" ] + } + }, + { + "offer_status_text_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "offer_status_text": { + "type": "label", + "color": "$coin_color", + "size": [ "default", 10 ], + "offset": [ 0, 0.5 ], + "text": "#offer_prompt_text", + "font_type": "smooth", + "layer": 4, + "tts_override_control_value": "#tts_offer_prompt_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_prompt_text", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_prompt_text_visibility", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#tts_offer_prompt_text", + "binding_collection_name": "$offer_collection_name" + } + ] + } + } + ] + } + } + ] + }, + + "store_offer_grid_item": { + "type": "panel", + + "$store_offer_grid_item_size|default": [ "25%", "100%" ], + "size": "$store_offer_grid_item_size", + + "$ignore_creator|default": false, + "$is_hero_offer|default": false, + "$ignore_durable_status_content|default": false, + "$timer_visible|default": false, + "$offer_background_asset|default": "common_store.store_description_background", + "$frame_size|default": [ "100%", "100%" ], + "$is_purchase_button": false, + + // offer binding vars + "$offer_collection_details|default": "none", + "$offer_binding_type|default": "global", + "$offer_collection_name|default": "", + "$offer_collection_prefix|default": "", + + // offer factory binding vars (for offers that are created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$store_offer_grid_item_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#valid_offer_index", + "binding_name_override": "#visible" + } + ], + + "variables": [ + { + "requires": "$is_hero_offer", + "$description_size": [ "100%", 20 ], + "$store_offer_grid_item_bindings": [] + }, + { + "requires": "(not $is_hero_offer)", + "$description_size": [ "100%", 30 ] + } + ], + + "bindings": "$store_offer_grid_item_bindings", + + "controls": [ + { + "frame@$offer_background_asset": { + "size": "$frame_size", + "layer": 3, + "controls": [ + { + "key_art@common_store.store_offer_key_art": { + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ], + "layer": 3 + } + }, + { + "csb_plus_expiration_banner@common_store.csb_expiration": {} + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", "56.25%x" ], + "$source_control_name": "key_art", + "$source_property_name": "(#texture = '')", + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 4, + "$hide_failure_text": true, + "$hide_progress_loading_outline": true + } + }, + { + "progress@common_store.offer_download_progress": { + "size": "$description_size", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 6 + } + }, + { + "durable_offer_info_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "title_label_padding_stack": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "title_label_vert_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 6px", "100%c" ], + "$offer_title_binding_type": "$offer_binding_type", + "$offer_title_collection_name": "$offer_collection_name", + "$title_padding_size|default": [ "100%", 14 ], + "controls": [ + { + "title@common_store.store_offer_item_title_panel": {} + }, + { + "offer_collection_bottom_title_padding": { + "type": "panel", + "variables": [ + { + "requires": "$is_hero_offer", + "$title_padding_size": [ "100%", 7 ] + } + ], + "size": "$title_padding_size", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#is_offer_collection_query_and_not_sale_collection", + "binding_name_override": "#visible" + } + ] + } + }, + { + "creator_label@common_store.store_offer_item_creator_panel": {} + }, + { + "offer_price_info_panel@common_store.store_offer_price_info_panel": {} + } + ] + } + }, + { + "no_durable_status_padding": { + "ignored": "(not $ignore_durable_status_content)", + "type": "panel", + "size": [ "100%", 4 ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "unowned_offer_status_panel": { + "ignored": "$ignore_durable_status_content", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 13 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "use_priority": true, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "(not #is_owned)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "rtx_label@common_store.rtx_label": { + "size": [ 20, 14 ], + "priority": 5, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#rtx_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "subscription_panel@common_store.subscription_chevron": { + "$subscription_offer_binding_type": "$offer_binding_type", + "$subscription_offer_collection_name": "$offer_collection_name" + } + }, + { + "sales_banner": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "priority": 2, + "controls": [ + { + "sales_markdown_percentage_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "markdown_background@common_store.markdown_background": { + "size": [ "100%c", 12 ], + "offset": [ 0, 0.25 ], // polish hack - aligns the banner to be flush with the bottom of the background panel + "layer": 9, // Needs to be a higher layer than the strikethru text + "$markdown_label": "common_store.row_offer_sale_markdown", + "$timer_visible": false, + "$icon_stack_visibility_collection": "$offer_collection_name", + "$icon_stack_visibility_type": "$offer_binding_type" + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_markdown_visible", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "ratings@common_store.store_offer_ratings": { + "priority": 6 + } + }, + { + "rating_count_panel@common_store.store_rating_count_panel": { + "priority": 7, + "$rating_text_binding_type": "$offer_binding_type", + "$rating_text_collection_name": "$offer_collection_name" + } + }, + { + "pack_icon_panel": { + "type": "panel", + "size": [ "100%c + 2px", "100%" ], + "priority": 2, + "controls": [ + { + "pack_icon_stack@common_store.pack_icon_stack": { + "offset": [ 0, 2 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$icon_stack_visibility": "#bundle_or_hero_pack_icon_section_visible", + "$icon_stack_visibility_type": "$offer_binding_type", + "$icon_stack_visibility_collection": "$offer_collection_name", + "$is_purchase_button": false + } + } + ] + } + }, + { + "fill_markdown_panel_left": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "markdown_panel@common_store.offer_price_markdown_panel": { + "priority": 3, + "$offer_price_offset": [ 0, 2 ] + } + }, + { + "padding_markdown_panel_right": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "offer_prompt_panel@common_store.offer_prompt_panel": { + "priority": 0 + } + }, + { + "padding_6": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "timer_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "sale_timer@common_store.timer_panel": { + "$timer_label_color": "$dark_button_default_text_color", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#is_collection_query_on_sale", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ], + "$timer_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "$time_text_binding_name", + "binding_condition": "always" + } + ] + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + } + }, + { + "owned_offer_status_panel": { + "type": "panel", + "size": [ "100%", 13 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#is_owned", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "owned_status_text": { + "type": "label", + "color": "$coin_color", + "size": [ "100% - 6px", 10 ], + "offset": [ 0, 0.5 ], + "text": "#owned_status_text", + "font_type": "smooth", + "layer": 4, + "tts_override_control_value": "#owned_status_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#owned_status_text", + "binding_collection_name": "$offer_collection_name" + } + ] + } + } + ] + } + } + ] + } + }, + // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border + // around the content rather than create 3 sets of each control when only the border changes + { "offer_button@common_store.store_offer_grid_button": {} } + ] + } + } + ] + }, + + "thumbnail_only_offer": { + "type": "panel", + + "size": [ "25%", "100%" ], + + "$ignore_creator|default": false, + "$is_hero_offer|default": false, + "$ignore_durable_status_content|default": false, + "$timer_visible|default": false, + "$offer_background_asset|default": "common_store.store_description_background", + "$is_purchase_button": false, + + // offer binding vars + "$offer_collection_details|default": "none", + "$offer_binding_type|default": "global", + "$offer_collection_name|default": "", + "$offer_collection_prefix|default": "", + + // offer factory binding vars (for offers that are created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "$store_offer_grid_item_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#valid_offer_index", + "binding_name_override": "#visible" + } + ], + + "bindings": "$store_offer_grid_item_bindings", + + "controls": [ + { + "frame@$offer_background_asset": { + "size": [ "100%", "100%" ], + "layer": 3, + "controls": [ + { + "key_art@common_store.store_offer_key_art": { + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": "$0_color_format", + "layer": 3 + } + }, + { + "offer_coin_icon@common_store.coin_icon": { + "size": [ 10, 10 ], + "layer": 3, + "offset": [ 1, -1 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#offer_coin_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "offer_button@common_store.store_offer_grid_button": { + "offset": [ 0, -1 ], + "$size_to_cover": [ "100%", "100% + 1px" ] + } + } + ] + } + } + ] + }, + + "store_section_header_label@common_store.label": { + "$store_section_header_label_text|default": "#section_header", + "$store_section_binding_condition|default": "always_when_visible", + "$store_section_header_font_type|default": "default", + "$store_section_header_font_scalar|default": 1.0, + "$store_section_header_text_color": "#header_text_color", + "text": "$store_section_header_label_text", + "color": "$store_section_header_text_color", + "font_type": "$store_section_header_font_type", + "font_scale_factor": "$store_section_header_font_scalar", + + "$store_section_header_label_bindings|default": [ + { + "binding_type": "collection", + "binding_collection_name": "factory_collection", + "binding_name": "$store_section_header_label_text" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "$store_section_header_visible_binding", + "binding_name_override": "#visible", + "binding_condition": "$store_section_binding_condition" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#header_text_color", + "binding_condition": "once", + "binding_name_override": "#color" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#header_font_type", + "binding_condition": "once", + "binding_name_override": "#font_type" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#header_font_scalar", + "binding_condition": "once", + "binding_name_override": "#font_scale_factor" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#header_alignment", + "binding_condition": "once", + "binding_name_override": "#text_alignment" + } + ], + "bindings": "$store_section_header_label_bindings" + }, + + "persona_store_row_offer": { + "type": "panel", + "size": [ "fill", "100%x" ], + + "$pressed_button_function": "button.select_offer", + + "controls": [ + { + "persona_offer@persona_sdl.persona_piece_offer": { + "size": [ "100%", "100%" ], + + "$hide_while_loading": false, + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + + "$ignore_emote_keybind_helpers": true, + + "$piece_offer_button_size": [ "100%", "100%" ], + + "$piece_section_collection_details": "$store_factory_collection_details", + "$piece_section_collection_prefix": "$store_factory_collection_prefix", + "$piece_section_collection_name": "$store_factory_collection_name", + + "$persona_piece_collection_details": "$offer_collection_details", + "$persona_piece_collection_name": "$offer_collection_name", + "$persona_piece_binding_type": "$offer_binding_type", + "$persona_piece_prefix": "$offer_collection_prefix", + + "$controller_left_bumper_mapping": "button.cycle_offer_left", + "$controller_right_bumper_mapping": "button.cycle_offer_right", + + "$filesystem_binding_type": "collection" + } + } + ] + }, + + "thumnail_only_row_offer": { + "type": "panel", + "size": [ "fill", "56.249%x" ], + "controls": [ + { "generic_store_offer@common_store.thumbnail_only_offer": { "size": [ "100%", "100%" ] } } + ] + }, + + "generic_store_row_offer_panel": { + "type": "panel", + "size": [ "fill", "56.249%x + 34px" ], + "controls": [ + { "generic_store_offer@common_store.store_offer_grid_item": { "size": [ "100%", "100%" ] } } + ] + }, + + "store_row_show_more_button_panel": { + "type": "panel", + "size": [ "fill", "56.249%x + 34px" ], + "controls": [ + { "show_more_button@common_store.store_offer_grid_show_more": { "size": [ "100%", "100%" ] } } + ] + }, + + "persona_show_more_button_panel": { + "type": "panel", + "size": [ "fill", "100%x" ], + "controls": [ + { "show_more_button@common_store.persona_grid_show_more": { "size": [ "100%", "100%" ] } } + ] + }, + + "persona_grid_panel_stack": { + "type": "stack_panel", + "size": [ "100% + 4px", "100%c" ], + "controls": [ + { "default_piece_button@persona_sdl.default_piece_button_panel": {} }, + { "persona_grid_panel@common_store.persona_grid_panel": {} } + ] + }, + + "persona_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "persona_offer_grid@store_item_list.persona_offer_grid": {} } + ] + }, + + "store_offer_grid_factory": { + "type": "collection_panel", + "size": [ "100%", "100%c" ], + + "$store_offer_grid_prefix": "offer", + "$store_offer_grid_collection_name": "offer_collection", + + "collection_name": "offer_grid_factory", + + "factory": { + "name": "offer_grid_factory", + "control_ids": { + "Generic": "@store_item_list.store_offer_grid", + "Persona": "@common_store.persona_grid_panel_stack" + }, + "factory_variables": [ + "$store_factory_clipping_event", + "$store_factory_collection_details", + "$store_factory_collection_prefix", + "$store_factory_collection_name", + "$store_factory_binding_type", + "$store_offer_grid_collection_name", + "$store_offer_grid_prefix", + "$is_subscription_screen", + "$is_mashup", + "$main_content_focus_container_left", + "$main_content_focus_container_left_custom", + "$always_show_layer" + ] + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#offer_grid_type", + "binding_name_override": "#collection_length", + "binding_condition": "once" + } + ] + }, + + "non_collection_item_horizontal_padding@common.horizontal_padding_2px": { + "ignoreCollectionItem": true + }, + + "horizontal_store_offer_row_factory": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + + "$offer_collection_details": "collection_details", + "$offer_binding_type": "collection", + "$offer_collection_prefix": "offer", + "$offer_collection_name": "offer_collection", + + "factory": { + "name": "store_section_factory", + "control_ids": { + "Generic": "common_store.generic_store_row_offer_panel", + "Persona": "common_store.persona_store_row_offer", + "ThumbnailOnly": "common_store.thumnail_only_row_offer", + "ShowMoreButton": "common_store.store_row_show_more_button_panel", + "PersonaShowMoreButton": "common_store.persona_show_more_button_panel", + "Padding": "common_store.non_collection_item_horizontal_padding" + }, + "factory_variables": [ + "$offer_collection_details", + "$offer_binding_type", + "$offer_collection_prefix", + "$offer_collection_name", + "$store_factory_collection_details", + "$store_factory_collection_prefix", + "$store_factory_collection_name", + "$store_factory_binding_type", + "$is_subscription_screen", + "$is_mashup", + "$main_content_focus_container_left", + "$main_content_focus_container_left_custom", + "$always_show_layer" + ] + }, + "collection_name": "$offer_collection_name", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#store_offer_row_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "recently_viewed_row_panel@common_store.store_section_panel": { + "$store_section_object": "common_store.store_row", + "$store_offer_section_visible": "#recently_viewed_row_visible" + }, + + "static_offer_row_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + + "$is_static_row": true, + "$store_section_object": "common_store.store_row", + "$store_section_visible": "#offer_collection_visible", + + "controls": [ + { + "store_row_dropdown_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "property_bag": { + "#visible": true + }, + "controls": [ + { "store_row_section_panel@common_store.store_section_panel": {} } + ], + "bindings": [ + { + "ignored": "(not $is_persona_sdl_enabled)", + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_dropdown_data_row_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "store_row_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + + "$store_section_object": "common_store.store_row", + "$store_section_visible": "#offer_collection_visible", + + "controls": [ + { + "store_row_dropdown_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "store_row_section_panel@common_store.store_section_panel": {} } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#sdl_dropdown_data_row_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "vertical_store_row_panel@common_store.store_section_panel": { + "$store_section_header": "common_store.vertical_content_offer_header", + "$store_section_object": "common_store.vertical_content_offer_panel", + "$store_section_visible": "#offer_collection_visible" + }, + + "style_header": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/recolorable_background", + "size": [ "100%", "100%sm" ], + "color": "#header_bg_color", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#header_bg_color", + "binding_condition": "once", + "binding_name_override": "#color" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#show_header_background", + "binding_condition": "once", + "binding_name_override": "#visible" + } + ] + } + }, + { + "style_header@common_store.style_header_panel": {} + } + ] + }, + + "style_header_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "visible": false, + "property_bag": { + "#visible": false + }, + // factory binding vars (for when created within a factory) + "$store_factory_collection_details|default": "none", + "$store_factory_binding_type|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "controls": [ + { + "row_header": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "label_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "visible": false, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#offer_collection_ready", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "indent": { + "type": "panel", + "size": [ 12, 1 ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#indent", + "binding_name_override": "#size_binding_x_absolute" + } + ] + } + }, + { + "row_header_label_centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "row_header_label@common_store.store_section_header_label": { + "size": [ "90% - 2px", 10 ], + "offset": [ 0, -1 ], + "$store_section_header_visible_binding": "#hide_banner", + "$store_section_header_text_color": "$main_header_text_color" + } + } + ] + } + }, + { + "on_sale_banner": { + "ignored": "$is_subscription_screen", + "type": "image", + "texture": "textures/ui/yellow_banner", + "size": [ "100%c", 13 ], + "$on_sale_banner_offset|default": [ 4, 0 ], + "offset": "$on_sale_banner_offset", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1, + "controls": [ + { + "padding_panel": { + "type": "panel", + "size": [ "100%c - 50%y + 24px", "100%" ], + "controls": [ + { + "sales_row_header_label@common_store.store_section_header_label": { + "size": [ "default", 10 ], + "offset": [ 12, 0.5 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$store_section_header_visible_binding": "#show_banner", + "$store_section_header_text_color": "$store_sales_banner_text_color", + "layer": 1 + } + }, + { + "triangle": { + "type": "image", + "texture": "textures/ui/saleflagtriangle", + "size": [ "50%y", 13 ], + "offset": [ -1, 0 ], + "anchor_from": "right_middle", + "anchor_to": "left_middle", + "bilinear": true + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#show_banner", + "binding_name_override": "#visible" + } + ] + } + }, + { + "time_remaining_label@common_store.label": { + "ignored": "$is_subscription_screen", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ "default", 10 ], + "offset": [ -3, 1 ], + "text": "#time_remaining_label", + "text_alignment": "right", + "layer": 3, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#time_remaining_label", + "binding_condition": "always" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#show_timer", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { + "row_carousel_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#section_title_visible", + "binding_name_override": "#visible" + } + ] + }, + + "store_row_cycle_button_panel": { + "$ignore_cycle_buttons|default": false, + "ignored": "$ignore_cycle_buttons", + "type": "panel", + // add 4 px for page indicator and padding below cycle button + "size": [ "100%c", "100%sm + 4px" ], + "controls": [ + { + "cycle_button_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 24, "100%" ], + "$ignore_page_indicator|default": false, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#cycle_button_width", + "binding_name_override": "#size_binding_x_absolute" + } + ], + "controls": [ + { + "$cycle_button@common_store.$cycle_button": { + "size": [ "100%", "100% - 4px" ] + } + }, + { + "page_indicator_panel": { + "ignored": "$ignore_page_indicator", + "type": "panel", + "size": [ "100%", 4 ], + "controls": [ + { "page_indicator@common_store.page_indicator_panel": {} } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#cycle_buttons_visible", + "binding_name_override": "#visible" + } + ] + }, + + "store_row": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "$on_sale_banner_offset": [ 0, 0 ], + + "$is_static_row|default": false, + "$ignore_cycle_buttons|default": false, + "variables": [ + { + "requires": "($is_subscription_screen or $is_static_row)", + "$ignore_cycle_buttons": true + } + ], + + "controls": [ + { + "carousel_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + + "$cycle_pack_button_factory_collection_details": "$store_factory_collection_details", + "$cycle_pack_button_factory_collection_prefix": "$store_factory_collection_prefix", + "$cycle_pack_button_factory_collection_name": "$store_factory_collection_name", + "controls": [ + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", "100%sm" ], + "layer": 15, + "$hide_failure_text": true, + "bindings": [ + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "(not #offer_collection_ready)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "cycle_pack_horizontal_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "cycle_pack_left_button_panel@common_store.store_row_cycle_button_panel": { + "$ignore_page_indicator": true, + "$cycle_button": "cycle_pack_left_button", + "$pressed_button_name": "button.cycle_offer_left", + "$cycle_pack_button_name_left": "button.cycle_offer_left", + "$cycle_pack_button_name_right": "button.cycle_offer_right" + } + }, + { + "offer_grid_panel": { + "type": "panel", + "size": [ "fill", "100%c + 2px" ], + "controls": [ + { "offer_grid@common_store.horizontal_store_offer_row_factory": {} } + ] + } + }, + { + "cycle_pack_right_button_panel@common_store.store_row_cycle_button_panel": { + "$cycle_button": "cycle_pack_right_button", + "$pressed_button_name": "button.cycle_offer_right", + "$cycle_pack_button_name_left": "button.cycle_offer_left", + "$cycle_pack_button_name_right": "button.cycle_offer_right" + } + } + ] + } + } + ] + } + }, + { + "divider@common.section_divider": { + "ignored": "(not $is_subscription_screen)" + } + } + ] + }, + + "page_indicator_panel": { + "type": "panel", + "size": [ "100%", 2 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "controls": [ + { + "first_of_three@common_store.page_indicator": { + "texture": "textures/ui/first_of_three", + "$indicator_binding_name": "#first_of_three_visible" + } + }, + { + "second_of_three@common_store.page_indicator": { + "texture": "textures/ui/second_of_three", + "$indicator_binding_name": "#second_of_three_visible" + } + }, + { + "third_of_three@common_store.page_indicator": { + "texture": "textures/ui/third_of_three", + "$indicator_binding_name": "#third_of_three_visible" + } + }, + { + "first_of_two@common_store.page_indicator": { + "texture": "textures/ui/first_of_two", + "$indicator_binding_name": "#first_of_two_visible" + } + }, + { + "second_of_two@common_store.page_indicator": { + "texture": "textures/ui/second_of_two", + "$indicator_binding_name": "#second_of_two_visible" + } + } + ] + }, + + "page_indicator": { + "type": "image", + "size": [ 8, 2 ], + "visible": false, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$indicator_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "popup_dialog__no_store_connection@popup_dialog.popup_dialog": { + "$middle_button_press": "button.close_dialog", + "$message_text": "skins.buy.noConnection", + "$middle_button_text": "gui.ok", + "controls": [ + { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} }, + { "popup_dialog_message@popup_dialog.popup_dialog_message": {} }, + { "popup_dialog_middle_button@popup_dialog.popup_dialog_middle_button": {} } + ] + }, + + "popup_dialog__restore_popup@popup_dialog.popup_dialog": { + "$middle_button_press": "button.close_dialog", + "$message_text": "store.restore.description", + "controls": [ + { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} }, + { "popup_dialog_message@popup_dialog.popup_dialog_message": {} } + ] + }, + + "popup_dialog__restore_failed@popup_dialog.popup_dialog": { + "$middle_button_press": "button.close_dialog", + "$message_text": "store.restore.failed", + "$middle_button_text": "gui.ok", + "controls": [ + { "popup_dialog_bg@popup_dialog.popup_dialog_bg": {} }, + { "popup_dialog_message@popup_dialog.popup_dialog_message": {} }, + { "popup_dialog_middle_button@popup_dialog.popup_dialog_middle_button": {} } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "screen_fade_in_alpha_anim": { + "anim_type": "alpha", + "easing": "out_expo", + "duration": 1.6, + "from": 0, + "to": 1 + }, + + //-------------------------------------------------------------------------------- + // Suggested content view + //-------------------------------------------------------------------------------- + + "suggested_content_offers_grid_item": { + "type": "panel", + "$offer_collection_name|default": "#suggested_offers_collection", + "$suggested_offers_grid_item_size|default": [ "33.33333%", "100%" ], + "size": "$suggested_offers_grid_item_size", + "$is_hero_offer|default": false, + "variables": [ + { + "requires": "$is_hero_offer", + "$description_size": [ "100%", 20 ] + }, + { + "requires": "(not $is_hero_offer)", + "$description_size": [ "100%", 30 ] + } + ], + "controls": [ + { + "frame@common_store.banner_fill": { + // overdraw our width by 1 pixel, to work around a layout/rendering rounding error that can result in an extra 1 pixel space showing up between items or after the last item + "size": [ "100% + 1px", "100%" ], + "layer": 3, + "controls": [ + { + "key_art@common_store.store_offer_key_art": { + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ], + "layer": 2 + } + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", "56.25%x" ], + "$source_control_name": "key_art", + "$source_property_name": "(#texture = '')", + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 4, + "$hide_failure_text": true + } + }, + { + "progress@common_store.offer_download_progress": { + "size": "$description_size", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 6 + } + }, + { + "title_label_panel": { + "type": "stack_panel", + "size": [ "100% - 6px", 20 ], + "offset": [ 3, -2 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "title": { + "type": "label", + "size": [ "100%", 10 ], + "text": "#title_label", + "enable_profanity_filter": false, + "color": "$body_text_color", + "font_type": "smooth", + "layer": 1, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#title_label" + } + ] + } + }, + { + "offer_type": { + "type": "label", + "size": [ "100%", 10 ], + "text": "#offer_type_label", + "color": "$body_text_color", + "font_type": "smooth", + "layer": 1, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#offer_type_label" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border + // around the content rather than create 3 sets of each control when only the border changes + { + "offer_button@common.button": { + "layer": 4, + "default_control": "", + "$button.select_offer|default": "button.select_offer", + "$pressed_button_name": "$button.select_offer", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#offer_grid_item_button_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#left_most_grid_item_focus_override_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#right_most_grid_item_focus_override_right", + "binding_name_override": "#focus_change_right", + "binding_condition": "visible" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#top_row_focus_override_up", + "binding_name_override": "#focus_change_up" + } + ], + "controls": [ + { + "hover@common.square_image_border_white": { + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "layer": 2 + } + } + ] + } + } + ] + } + }, + { + "pressed@common.square_image_border_white": { + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "layer": 2 + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#valid_offer_index", + "binding_name_override": "#visible" + } + ] + }, + + "suggested_content_offers_grid": { + "type": "grid", + "$offer_collection_name|default": "#suggested_offers_collection", + "size": [ "100% - 24px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "grid_item_template": "common_store.suggested_content_offers_grid_item", + "collection_name": "$offer_collection_name", + "$suggested_offers_grid_dimensions|default": [ 3, 1 ], + "grid_dimensions": "$suggested_offers_grid_dimensions" + }, + + "more_suggested_content_offers_button@common_buttons.dark_glyph_button": { + "size": [ 24, "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "layer": 3, + "$button.more_suggested_content_offers|default": "button.more_suggested_content_offers", + "$pressed_button_name": "$button.more_suggested_content_offers", + "$button_content": "common_store.plus_icon" + }, + + "suggested_content_offers_panel_base": { + "type": "panel", + "$suggested_offers_panel_size|default": [ "100%", "100%" ], + "$suggested_content_offers_loading_binding|default": "#suggested_offers_loading", + "size": "$suggested_offers_panel_size", + "controls": [ + { + "content": { + "type": "panel", + "size": [ "100% - 2px", "100% - 2px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "suggested_content_offers_grid@common_store.suggested_content_offers_grid": { + } + }, + { + "more_suggested_content_offers_button@common_store.more_suggested_content_offers_button": {} + } + ], + "bindings": [ + { + "binding_name": "(not $suggested_content_offers_loading_binding)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 15, + "bindings": [ + { + "binding_name": "$suggested_content_offers_loading_binding", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "suggested_content_offers_panel_3x1@common_store.suggested_content_offers_panel_base": { + "type": "panel", + // Calculation based upon scaling three 16:9 images to maintain layout and aspect ratio + // Formula as follows: ((100%x) * (100/177.78)/3) + 20px + "$suggested_offers_panel_size": [ "100%", "18.7498%x + 20px" ], + "$suggested_offers_grid_dimensions": [ 3, 1 ], + "$suggested_offers_grid_item_size": [ "33.33333%", "100%" ] + }, + + "suggested_content_offers_panel_4x1@common_store.suggested_content_offers_panel_base": { + "type": "panel", + // Calculation based upon scaling three 16:9 images to maintain layout and aspect ratio + // Formula as follows: ((100%x) * (100/177.78)/4) + 20px + "$suggested_offers_panel_size": [ "100%", "14.0623%x + 20px" ], + "$suggested_offers_grid_dimensions": [ 4, 1 ], + "$suggested_offers_grid_item_size": [ "25%", "100%" ] + }, + + + //-------------------------------------------------------------------------------- + // Search Objects + //-------------------------------------------------------------------------------- + + + "search_text_box_panel": { + "type": "panel", + "size": [ "100%", 30 ], + // dont want text to overlap the clear button + "$text_edit_clipping_panel_size": [ "100% - 23px", "100%" ], + "$text_edit_box_label_anchor_point": "left_middle", + "controls": [ + { + "search_text_box@common.text_edit_box": { + "max_length": 50, + "$text_box_name": "search_text_box", + "$text_edit_box_content_binding_name": "#search_box_text_content", + "$place_holder_text": "#place_holder_text", + "$text_edit_box_placeholder_content_binding_name": "#place_holder_text", + "$text_edit_box_placeholder_binding_condition": "visibility_changed", + "$enabled": "#search_bar_enabled", + "$text_box_enabled_binding_name": "#search_bar_enabled", + + // focus + "$focus_override_down": "#search_results_close_focus_id", + "$focus_override_up": "inventory_button", + "focus_wrap_enabled": false + } + }, + { + "clear_button@common.light_close_button": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "visible": false, + "layer": 2, + "focus_enabled": true, + "$close_button_offset": [ -2, 0 ], + "$close_button_visible_binding_name": "#search_clear_visible", + "$close_button_visible_binding_type": "global", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.search_clear", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.search_clear", + "mapping_type": "focused" + } + ] + } + }, + { + "loading_spinner@common_store.progress_loading_spinner": { + "$progress_loading_spinner_anchor": "right_middle", + "offset": [ -6, 0 ], + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#search_spinner_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "search_label_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + // needed to center the label if used in stack panel + "offset_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "label": { + "type": "label", + "$label_size|default": [ "100%", "default" ], + "size": "$label_size", + "$search_label_text|default": "#search_label_text", + "text": "$search_label_text", + "text_alignment": "left", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$search_label_color|default": "$body_text_color", + "color": "$search_label_color", + "layer": 2, + "$search_label_panel_bindings|default": [ + { + "binding_name": "$search_label_text" + } + ], + "bindings": "$search_label_panel_bindings" + } + } + ] + } + } + ] + }, + + "error_text_panel@common_store.banner_fill": { + "size": [ "100% - 2px", "100%c" ], + "visible": false, + "controls": [ + { + "error_text_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "label_panel@common_store.search_label_panel": { + "$search_label_text": "#search_error_text", + "$search_label_color": "$coin_color" + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#search_error_panel_visible", + "binding_name_override": "#visible" + } + ] + }, + + "results_text_panel@common_store.banner_fill": { + "size": [ "100%", "100%c + 4px" ], + "visible": false, + "controls": [ + { + "results_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "results_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "label_panel@common_store.search_label_panel": { + "size": [ "100% - 38px", "100%c" ], + "inherit_max_sibling_height": true, + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "$search_label_text": "#search_results_text" + } + }, + { + "mid_padding": { + "type": "panel", + "size": [ "fill", 0 ] + } + }, + { + "results_close_centering_panel": { + "type": "panel", + "size": [ 20, 20 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "results_close_button@common.light_close_button": { + "size": [ 20, 20 ], + "$close_button_offset": [ 0, 0 ], + "focus_enabled": true, + "focus_identifier": "#search_results_close_focus_id", + "$close_button_to_button_id": "button.close_result_panel", + "focus_change_down": "store_offer_grid_panel_focus_id", + "bindings": [ + { + "binding_name": "#seach_results_close_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "right_padding": { + "type": "panel", + "size": [ 2, 0 ] + } + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#search_results_panel_visible", + "binding_name_override": "#visible" + } + ] + }, + + //content panels for main filter and sorting buttons + "filter_logo_content_panel": { + "type": "panel", + "size": [ 29, "100%" ], + "controls": [ + { + "filter_logo_image": { + "type": "image", + "size": [ 17, 17 ], + "$filter_logo_offset|default": [ 0, 0 ], + "offset": "$filter_logo_offset", + "$filter_logo_anchor|default": "left_middle", + "anchor_from": "$filter_logo_anchor", + "anchor_to": "$filter_logo_anchor", + "texture": "textures/ui/store_filter_icon" + } + }, + { + "filter_count_label": { + "type": "label", + // only need to display up to "9+" + "size": [ 12, 10 ], + "$filter_logo_count_offset|default": [ 1, 2 ], + "offset": "$filter_logo_count_offset", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "text": "#filter_selected_count", + "text_alignment": "center", + "$filter_count_scale|default": 1.0, + "font_scale_factor": "$filter_count_scale", + "color": "$text_color", + "tts_skip_message": true, + "bindings": [ + { + "binding_condition": "always_when_visible", + "binding_name": "#filter_selected_count" + } + ] + } + } + ] + }, + + "filter_sort_toggle@common_toggles.dark_content_toggle": { + "$button_size_override": [ "100%", "100% + 1px" ], + "$toggle_name": "($filter_sort_prefix + _filter_sort_toggle)", + "$toggle_state_binding_name": "('#' + $filter_sort_prefix + _toggle_check)", + "$toggle_binding_type": "global", + "$content_toggle_label_tts_override": "#sort_toggle_label_tts_override", + "$unchecked_locked_texture": "textures/ui/banners_no_border", + "$checked_locked_texture": "textures/ui/banners_no_border", + "$default_texture": "textures/ui/banners_no_border", + "$hover_texture": "textures/ui/banners_no_border", + "$pressed_texture": "textures/ui/banners_no_border_dark_hover", + "$pressed_no_hover_texture": "textures/ui/banners_no_border_dark_hover", + "$default_text_color": "$dark_toggle_checked_default_text_color", + "$hover_text_color": "$dark_toggle_checked_hover_text_color", + "$default_checked_glyph_color": "$dark_glyph_toggle_default_color", + "$hover_checked_glyph_color": "$dark_glyph_toggle_hover_color", + "$border_visible": true, + "$toggle_default_state": true, + "$is_collection|default": false, + "variables": [ + { + "requires": "$is_collection", + "$toggle_binding_type": "collection", + "$content_toggle_label_binding_type": "collection", + "$content_toggle_label_tts_override_binding_type": "collection" + } + ] + }, + + "filter_sort_submenu_scrolling_panel_section": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "submenu_scrolling_panel@common.scrolling_panel": { + "size": "$filter_sort_scrolling_panel_size", + "anchor_from": "top_right", + "anchor_to": "top_right", + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$bar_visible": false, + "$show_background": false + } + } + ] + }, + + "filter_sort_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$filter_sort_collection_name": "($filter_sort_prefix + '_collection')", + "$filter_sort_dimension_binding": "('#' + $filter_sort_collection_name + _grid_dimensions)", + "$filter_button_panel_size|default": [ "100%", 30 ], + "$filter_button_size|default": [ "100% - 16px", "100%" ], + "controls": [ + { + "filter_sort_grid": { + "type": "stack_panel", + "size": [ "100% - 16px", "100%c" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "collection_name": "$filter_sort_collection_name", + "$toggle_grid_collection_name": "$filter_sort_collection_name", + "$is_collection": true, + "factory": { + "name": "filter_factory", + "control_ids": { + "filter_button": "@filter_menu.filter_checkbox_no_icon_toggle", + "realms_plus_filter_button": "@filter_menu.realms_plus_filter", + "csb_filter_button": "@filter_menu.csb_filter", + "filter_sort_toggle": "@sort_menu.sort_menu_toggle_panel" + }, + "factory_variables": [ + "$toggle_grid_collection_name", + "$is_collection", + "$filter_sort_collection_name", + "$filter_sort_prefix", + "$filter_button_panel_size", + "$filter_button_size" + ] + }, + "bindings": [ + { + "binding_name": "$filter_sort_dimension_binding", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + }, + + "sort_button_content_panel": { + "type": "image", + "size": [ 21, 17 ], + "texture": "textures/ui/store_sort_icon" + }, + + //Panel that includes search text bar, and filter and sort buttons + "search_panel_filter": { + "type": "stack_panel", + "size": [ "100%", 30 ], + "orientation": "horizontal", + "controls": [ + { + "search_text_box@common_store.search_text_box_panel": { + "size": [ "fill", "100%" ] + } + }, + { + "filter_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.filter", + "size": [ 32, "100%" ], + "$focus_id": "filter_button", + "$filter_logo_anchor": "center", + "$filter_count_scale": 0.88, + "$focus_override_up": "search_header_text_box", + "$button_content": "common_store.filter_logo_content_panel", + "$button_tts_header": "accessibility.button.filter", + "tts_override_control_value": "#tts_filters_appliedCount_text", + "tts_value_order_priority": 1001, + "bindings": [ + { + "binding_name": "#tts_filters_appliedCount_text" + } + ] + } + }, + { + "sort_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.sort", + "size": [ 32, "100%" ], + "$focus_override_up": "search_header_text_box", + "$button_content": "common_store.sort_button_content_panel", + "$button_tts_header": "accessibility.button.sort" + } + } + ] + }, + + "search_results_and_error_stack": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "mid_padding_1": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#search_error_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "error_text_panel@common_store.error_text_panel": {} + }, + { + "mid_padding_2": { + "type": "panel", + "size": [ "100%", 4 ], + "bindings": [ + { + "binding_name": "#search_results_panel_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "results_text_panel@common_store.results_text_panel": {} + } + ] + }, + + //Main Search panel that'll include the 'search_panel_filter' above + "search_panel": { + "ignored": "$is_on_3p_server", + "type": "panel", + "size": [ "100%", "100%c" ], + "$content_between_searchbar_and_results|default": "common.empty_panel_size_y_0", + "controls": [ + { + "search_panel_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "search_text_box@common_store.search_panel_filter": {} + }, + { + "content_between_searchbar_and_results@$content_between_searchbar_and_results": { + "bindings": [ + { + "binding_name": "#search_bar_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "search_results_and_error_panel@common_store.search_results_and_error_stack": { + "bindings": [ + { + "binding_name": "#search_bar_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + }, + + "search_and_offer_content@common.modal_area_panel_base": { + "size": [ "100% - 8px", "100%c" ], + "$modal_binding_name": "#search_screen_enabled", + "$search_offer_object|default": "store_item_list.store_offer_grid_panel", + "$search_offer_content|default": "store_item_list.store_offer_grid", + "$has_section_above_search_panel|default": false, + "$ignore_search_offer_content|default": false, + "controls": [ + { + "search_and_offer_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "search_and_offer_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 2px" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "upper_section_panel": { + "ignored": "(not $has_section_above_search_panel)", + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "upper_section@$upper_section_conent": {} + } + ] + } + }, + { + "search_panel@common_store.search_panel": {} + }, + { + "offer_content_panel": { + "ignored": "$ignore_search_offer_content", + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "offer_content@$search_offer_content": {} + } + ], + "bindings": [ + { + "binding_name": "#is_search_offer_list_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bottom_padding": { + "ignored": "$ignore_search_offer_content", + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "search_object": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "search_object_content@common_store.search_and_offer_content": {} + } + ] + }, + + "sort_and_filter_menu_modal_panel": { + "type": "panel", + "visible": false, + "property_bag": { + "#visible": false + }, + "controls": [ + { + "filter_menu@$sort_and_filter_modal_control": {} + } + ], + "bindings": [ + { + "binding_name": "$sort_and_filter_modal_visible_bind", + "binding_name_override": "#visible" + } + ] + }, + + "sort_and_filter_menu_modals": { + "type": "panel", + "visible": false, + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ], + "controls": [ + { + "filter_menu_modal@common_store.sort_and_filter_menu_modal_panel": { + "$sort_and_filter_modal_control": "filter_menu.filter_menu_screen_content", + "$sort_and_filter_modal_visible_bind": "#filter_screen_visible" + } + }, + { + "sort_menu_panel@common_store.sort_and_filter_menu_modal_panel": { + "$sort_and_filter_modal_control": "sort_menu.sort_menu_screen_content", + "$sort_and_filter_modal_visible_bind": "#sort_screen_visible" + } + } + ] + }, + + "search_filter_sort_background@common.screen_background": { + "$search_filter_sort_bg_alpha|default": 0.65, + "alpha": "$search_filter_sort_bg_alpha" + }, + + "search_filter_background_panel": { + "type": "panel", + "controls": [ + { + "search_filter_sort_background@common_store.search_filter_sort_background": {} // Texture is ignored in VR + } + ] + }, + + "close_bg_button@common.button": { + "layer": 0, + "focus_enabled": false, + "$pressed_button_name": "$close_bg_exit_button_name", + "controls": [ + { + "default@common_store.search_filter_background_panel": {} + }, + { + "hover@common_store.search_filter_background_panel": {} + }, + { + "pressed@common_store.search_filter_background_panel": {} + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "global" + } + ] + }, + + "close_bg_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "header_close_button@common_store.close_bg_button": { + "size": "$store_header_size", + "offset": [ 0, -23 ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + }, + { + "main_close_button@common_store.close_bg_button": {} + } + ] + }, + + "vertical_line_divider_row": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "10px" ], + "controls": [ + { + "vert_line_divider_row_top_buffer": { + "type": "panel", + "size": [ "100%", "4px" ] + } + }, + { + "vertical_line_divider_horizontal_panel_with_padding": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "2px" ], + "controls": [ + { + "vert_line_divider_row_left_buffer": { + "type": "panel", + "size": [ "8px", "100%" ] + } + }, + { + "vertical_line_divider_row_line@common_store.sdl_texture": { + "texture": "textures/ui/white_background", + "size": [ "100% - 16px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "fill": true, + "keep_ratio": false, + + "$ignore_texture_related_binds": true, + "$ignore_texture_visiblity_bind": true + } + }, + { + "vert_line_divider_row_right_buffer": { + "type": "panel", + "size": [ "8px", "100%" ] + } + } + ] + } + }, + { + "vert_line_divider_row_bottom_buffer": { + "type": "panel", + "size": [ "100%", "4px" ] + } + } + ] + }, + + "sdl_dropdown_header_row_button@common_toggles.light_content_toggle": { + "$row_binding_type|default": "collection", + + "$ignore_content_toggle_image": true, + "$toggle_name": "toggle.dropdown_header", + + "$default_checked_text_color": "$dropdown_radio_background_checked_color", + "$hover_texture": "textures/ui/button_borderless_lightpressednohover", + + "$content_toggle_label_offset": [ 0, 0 ], + "$content_toggle_label_font_type": "Default", + + "$content_toggle_icon_size": [ 11, 11 ], + "$checked_toggle_icon": "textures/ui/dropdown_chevron_up", + "$checked_hover_toggle_icon": "textures/ui/chevron_white_up", + "$unchecked_toggle_icon": "textures/ui/dropdown_chevron", + "$unchecked_hover_toggle_icon": "textures/ui/chevron_white_down", + + "$toggle_binding_type": "$row_binding_type", + "$toggle_binding_condition": "visible", + "$toggle_state_binding_name": "#is_sdl_dropdown_header_toggle_selected" + }, + + "sdl_subcategory_button@persona.subcategory_button": { + "$row_binding_type|default": "collection", + "$row_binding_collection_details_type|default": "$store_factory_collection_details", + "$row_binding_collection_name|default": "$store_factory_collection_name", + "$row_binding_collection_prefix|default": "$store_factory_collection_prefix", + + "size": [ "100%", 25 ], + + // button vars + "$pressed_button_name": "button.subcategory_selected", + "$hover_button_name": "button.subcategory_button_hovered", + "$button_content": "persona.sub_category_label_image_button_content", + "$focus_id": "subcategory_button", + + // override textures + "$default_button_texture": "", + "$hover_button_texture": "textures/ui/white_background", + "$pressed_button_texture": "textures/ui/banners_no_border_dark_hover", + "$locked_button_texture": "textures/ui/banners_no_border", + + // override text colors + "$default_text_color": "$dark_toggle_checked_default_text_color", + "$hover_text_color": "$dark_toggle_checked_hover_text_color", + "$border_visible": false, + + // override image properties + "$hover_button_image_fill": true, + "$hover_content_alpha": 0.5, + "$hover_button_image_color": "$dressing_room_subcategory_button_hover_color", + + // content vars + "$content_label_image_binding_type": "collection", + "$content_label_image_collection_name": "$store_factory_collection_name", + "$content_label_binding_name": "#section_header", + "$content_image_binding_name": "#sdl_texture_component_image_path", + "$content_image_binding_system": "#sdl_texture_component_image_system", + "$content_image_is_dynamic": true, + "$content_label_image_file_system_binding_type": "$content_label_image_binding_type", + + "bindings": [ + { + "binding_type": "$row_binding_collection_details_type", + "binding_collection_name": "$row_binding_collection_name", + "binding_collection_prefix": "$row_binding_collection_prefix" + }, + { + "binding_type": "$row_binding_type", + "binding_collection_name": "$row_binding_collection_name", + "binding_name": "#is_sdl_dropdown_header_toggle_selected" + }, + { + "binding_type": "$row_binding_type", + "binding_collection_name": "$row_binding_collection_name", + "binding_name": "#sdl_texture_component_image_system" + } + ] + }, + + "sdl_dropdown_header_row": { + "type": "panel", + "size": [ "100%", 28 ], + "controls": [ + { + "drowdown_header_row_content": { + "type": "panel", + "size": [ "100% - 6px", "100%" ], + "$header_row_binding_type|default": "collection", + "$header_row_binding_collection_details_type|default": "$store_factory_collection_details", + "$header_row_binding_collection_name|default": "$store_factory_collection_name", + "$header_row_binding_collection_prefix|default": "$store_factory_collection_prefix", + + "$category_collection_prefix": "category", + "$category_collection_name": "category_collection", + + "controls": [ + { + "button_aspects@common_store.sdl_dropdown_header_row_button": { + "$content_toggle_label": "#section_header", + "$text_color": "#section_header_color", + "$content_toggle_label_binding_type": "collection", + "$toggle_grid_collection_name": "$header_row_binding_collection_name", + "$row_binding_type": "$header_row_binding_type", + + "bindings": [ + { + "binding_type": "$header_row_binding_collection_details_type", + "binding_collection_name": "$header_row_binding_collection_name", + "binding_collection_prefix": "$header_row_binding_collection_prefix" + } + ] + } + } + ] + } + } + ] + }, + + "sdl_dropdown_data_row": { + "type": "panel", + "size": [ "100%", 28 ], + "$data_row_binding_type|default": "collection", + "$data_row_binding_collection_details_type|default": "$store_factory_collection_details", + "$data_row_binding_collection_name|default": "$store_factory_collection_name", + "$data_row_binding_collection_prefix|default": "$store_factory_collection_prefix", + "controls": [ + { + "row_background": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/banners_dark" + } + }, + { + "button_aspects@common_store.sdl_subcategory_button": { + "$row_binding_type": "$data_row_binding_type", + "$row_binding_collection_details_type": "$data_row_binding_collection_details_type", + "$row_binding_collection_name": "$data_row_binding_collection_name", + "$row_binding_collection_prefix": "$data_row_binding_collection_prefix" + } + } + ], + "bindings": [ + { + "binding_type": "$data_row_binding_collection_details_type", + "binding_collection_name": "$data_row_binding_collection_name", + "binding_collection_prefix": "$data_row_binding_collection_prefix" + }, + { + "binding_type": "$data_row_binding_type", + "binding_name": "#sdl_dropdown_data_row_visible", + "binding_collection_name": "$data_row_binding_collection_name", + "binding_name_override": "#visible" + } + ] + } +} diff --git a/resource_pack/ui/store_data_driven_screen.json b/resource_pack/ui/store_data_driven_screen.json new file mode 100644 index 0000000..5fc2151 --- /dev/null +++ b/resource_pack/ui/store_data_driven_screen.json @@ -0,0 +1,879 @@ +{ + "namespace": "store_layout", + + //-------------------------------------------------------------------------------- + // Content + //-------------------------------------------------------------------------------- + + "sdl_scrolling_content_panel": { + "type": "panel", + "$is_non_scrollable_sdl_screen|default": false, + "$sdl_scrolling_content_panel_size": [ "100%", "100%c" ], + "variables": [ + { + "requires": "$is_non_scrollable_sdl_screen", + "$sdl_scrolling_content_panel_size": [ "100%", "100%" ] + } + ], + "size": "$sdl_scrolling_content_panel_size", + "controls": [ + { + "sdl_scrolling_content_stack@store_layout.sdl_scrolling_content_stack": {} + } + ] + }, + + "sdl_scrolling_content_stack@common.vertical_stack_panel": { + "focus_container": true, + "use_last_focus": true, + + "$is_non_scrollable_sdl_screen|default": false, + "$sdl_scrolling_content_stack_size": [ "100%", "100%c" ], + "$sdl_scrolling_content_max_size": [ "100%", "100%c" ], + "$sdl_scrolling_content_anchor_from": "top_left", + "$sdl_scrolling_content_anchor_to": "top_left", + "variables": [ + { + "requires": "$is_non_scrollable_sdl_screen", + "$sdl_scrolling_content_stack_size": [ "200%y", "100%" ], + "$sdl_scrolling_content_max_size": [ "100%", "100%" ], + "$sdl_scrolling_content_anchor_from": "top_middle", + "$sdl_scrolling_content_anchor_to": "top_middle" + } + ], + + "size": "$sdl_scrolling_content_stack_size", + "max_size": "$sdl_scrolling_content_max_size", + "anchor_from": "$sdl_scrolling_content_anchor_from", + "anchor_to": "$sdl_scrolling_content_anchor_to", + + "offset": [ 0, 0 ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { "store_screen_layout_factory@common_store.store_section_factory": {} }, + { "footer@common_store.footer": {} } + ] + }, + + + "sdl_scrolling_section_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "padding0": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { "side_selection@persona_sdl.side_selection_row": {} }, + { + "padding1": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "sdl_scrolling_section@store_layout.sdl_scrolling_section": { "size": [ "100%", "100% - 4px" ] } + } + ] + }, + + "sdl_scrolling_section@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ], + "$scrolling_content": "store_layout.sdl_scrolling_content_panel", + "$scroll_size": [ 4, "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 3, "100%" ], + "$show_background": false + }, + + "character_creator_sdl_scroll_section@store_layout.sdl_scrolling_section_panel": { + "variables": [ + { + "requires": "$is_ps4", + "$scroll_view_control_anchor": "top_left", + "$scroll_view_control_size": [ "100%", "100% - 25px" ], + "$scroll_view_port_panel_size": [ "100%", "100% + 25px" ], + "$scroll_view_port_size": [ "100%", "100% - 25px" ], + "$scroll_view_port_clips_children": false + } + ] + }, + + "character_creator_sdl_section": { + "type": "stack_panel", + "size": [ "52%", "100%" ], + "layer": 2, + "$persona_dialog_content|default": "store_layout.character_creator_sdl_scroll_section", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scroll_view_port_size": [ "100% - 8px", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scrollbar_always_visible": true, + "$scroll_bar_contained": true, + "controls": [ + { + "sdl_section@persona_sdl.dialog_background_object": { "size": [ "100%", "100% - 4px" ] } + } + ], + "focus_container": true, + "use_last_focus": true, + "focus_wrap_enabled": false, + "focus_navigation_mode_down": "stop", + "focus_navigation_mode_right": "custom", + "focus_container_custom_right": [ + { + "other_focus_container_name": "right_main_panel" + } + ], + "$is_sidebar_navigation_enabled|default": false, + "$focus_navigation_mode_up|default": "none", + "$focus_container_custom_up|default": [], + "variables": [ + { + "requires": "(not $is_sidebar_navigation_enabled)", + "$focus_navigation_mode_up": "custom", + "$focus_container_custom_up": [ + { + "other_focus_container_name": "persona_tabs_cape" + } + ] + } + ], + "focus_navigation_mode_up": "$focus_navigation_mode_up", + "focus_container_custom_up": "$focus_container_custom_up" + }, + + "character_creator_panel@common.horizontal_stack_panel": { + "size": [ "100%", "100%" ], + "$allows_sdl_section_focus_container": false, + "$left_focus_container_override": "character_creator_sdl_portion", + + "$skin_model_anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop", + "@persona_sdl.enter_screen_appearance_size_animation" + ], + + + "$character_creator_right_side_content|default": "persona_sdl.default_right_side_stack", + + "controls": [ + { "left_main_panel_padding@persona_sdl.horizontal_2_padding": {} }, + { "character_creator_sdl_portion@store_layout.character_creator_sdl_section": {} }, + { "middle_main_panel_padding@persona_sdl.horizontal_1_padding": {} }, + { "right_main_panel@$character_creator_right_side_content": {} }, + { "right_main_panel_padding@persona_sdl.horizontal_2_padding": {} } + ] + }, + + "character_creator_screen_layout": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { "character_creator_panel@store_layout.character_creator_panel": {} } + ] + }, + + "main_panel": { + "type": "input_panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$scroll_size": [ 5, "100% - 4px" ], + "$use_transparent_background|default": true, + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/banners_no_border", + "layer": 1, + "ignored": "$use_transparent_background" + } + }, + { + "main_panel_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 2, + "$sdl_screen_content|default": "store_layout.sdl_scrolling_section", + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ], + "controls": [ + { "sdl_screen_content@$sdl_screen_content": {} } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 100, // Make this on top + "$store_failure_text": "#store_failure_text", + "$store_failure_text_binding_type": "global", + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "nav_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + + "$nav_button_binding_type|default": "global", + "$nav_button_collection_name|default": "", + "$nav_button_label_type|default": "store_layout.default_nav_label_panel", + + "controls": [ + { + "image_panel@store_layout.nav_image_panel": {} + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "label_panel@$nav_button_label_type": {} + } + ] + }, + + "default_nav_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "button_text_label@common_buttons.new_ui_binding_button_label": { + "layer": 5, + "$button_text": "#nav_button_label", + "$button_text_size": [ "100%", "default" ], + "$button_text_max_size": [ "100%", 20 ], + "$text_alignment": "left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "$button_text" + } + ] + } + } + ] + }, + + "styled_nav_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "button_text_label@store_layout.default_styled_button_text_label": {} + } + ] + }, + + "styled_nav_label_panel_minecraftTen": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "button_text_label@store_layout.default_styled_button_text_label": { + //For handling of MinecraftTen font for less powerful devices. see minecraftTenLabel as reference. + "font_type": "MinecraftTen", //directly assigned here, not more font_type binding + "backup_font_type": "UIFont", + "variables": [ + { + "requires": "(not $is_low_memory_device)", // We don't load MinecraftTen in these cases so we need to revert to Mojangles. + "font_scale_factor": 1.39, + "offset": [ 0, -2 ] // Because of how the font is rendered it looks like it is offset down from the center of the render area + } + ] + } + } + ] + }, + + "default_styled_button_text_label@common_buttons.new_ui_binding_button_label": { + "layer": 5, + "$button_text": "#nav_button_label", + "$button_text_size": [ "100%", "default" ], + "$button_text_max_size": [ "100%", 20 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "$button_text" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "#tab_button_label_alignment", + "binding_name_override": "#text_alignment" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "#tab_button_label_font_type", + "binding_name_override": "#font_type" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "#tab_button_label_text_color", + "binding_name_override": "#color" + } + ] + }, + + "nav_image_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "button_image_panel@store_layout.nav_button_image_panel": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "(#nav_button_animation = '')", // static image is visible if no animation is available + "binding_name_override": "#visible" + } + ] + } + }, + { + "button_animated_panel@store_layout.nav_button_image_panel": { + "$nav_button_image_content": "store_layout.nav_button_animation", + "$nav_texture_binding_name": "#nav_button_animation", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "(not (#nav_button_animation = ''))", // animation is visibile if service response contains animation field + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "nav_button_image_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "$nav_button_image_content|default": "store_layout.nav_button_image", + "$nav_texture_binding_name|default": "#nav_button_texture", + "$nav_texture_file_system_binding_name|default": "#nav_button_thumbnail_texture_file_system", + "controls": [ + { + "button_image@$nav_button_image_content": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "$nav_texture_binding_name", + "binding_name_override": "#texture" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "$nav_texture_file_system_binding_name", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$nav_button_binding_type", + "binding_collection_name": "$nav_button_collection_name", + "binding_name": "(not ($nav_texture_binding_name = ''))", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "nav_button_image": { + "type": "image", + "size": [ 24, 24 ], + "texture": "$nav_texture_binding_name", + "allow_debug_missing_texture": false, + "layer": 1 + }, + + "nav_button_animation": { + "type": "image", + "layer": 1, + "texture": "$nav_texture_binding_name", + "allow_debug_missing_texture": false, + "uv_size": [ 19, 19 ], + "size": [ 24, 24 ], + "uv": "@store_layout.nav_button_flip_book", + "disable_anim_fast_forward": true + }, + + "nav_button_flip_book": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 22, + "frame_step": 7, + "fps": 10 + }, + + "nav_button_fill@store_layout.nav_button_standard": { + "size": [ "fill", "100%" ] + }, + + "nav_button_fill_styled@store_layout.nav_button_standard": { + "size": [ "fill", "100%" ], + "$nav_button_label_type": "store_layout.styled_nav_label_panel" + }, + + "nav_button_fill_styled_mc10@store_layout.nav_button_standard": { + "size": [ "fill", "100%" ], + "$nav_button_label_type": "store_layout.styled_nav_label_panel_minecraftTen" + }, + + "nav_button_standard_styled@store_layout.nav_button_standard": { + "$nav_button_label_type": "store_layout.styled_nav_label_panel" + }, + + "nav_button_standard_styled_mc10@store_layout.nav_button_standard": { + "$nav_button_label_type": "store_layout.styled_nav_label_panel_minecraftTen" + }, + + "nav_button_standard": { + "type": "panel", + "size": [ "25%", "100%" ], + "controls": [ + { + "nav_button@common_buttons.light_content_button": { + "size": [ "100% - 2px", "100%" ], + "$pressed_button_name": "$nav_button_event_name", + "$button_content": "store_layout.nav_button_content", + "$button_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$nav_button_collection_name", + "binding_collection_prefix": "nav" + } + ] + } + } + ] + }, + + "nav_button_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + "controls": [ + { + "nav_button_grid": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", 30 ], + + "clip_state_change_event": "$store_factory_clipping_event", + "$nav_button_event_name|default": "button.nav_button", + + "$nav_button_binding_type": "collection", + "$nav_button_collection_name|default": "nav_button_collection", + "collection_name": "$nav_button_collection_name", + + "$section_content|default": "#nav_section_content", + + "factory": { + "name": "nav_button_factory", + "control_ids": { + "nav_button_standard": "@store_layout.nav_button_standard", + "nav_button_fill": "@store_layout.nav_button_fill", + "nav_button_standard_styled": "@store_layout.nav_button_standard_styled", + "nav_button_standard_styled_mc10": "@store_layout.nav_button_standard_styled_mc10", + "nav_button_fill_styled": "@store_layout.nav_button_fill_styled", + "nav_button_fill_styled_mc10": "@store_layout.nav_button_fill_styled_mc10" + }, + "factory_variables": [ + "$nav_button_collection_name", + "$nav_button_binding_type", + "$store_factory_collection_details", + "$store_factory_collection_prefix", + "$store_factory_collection_name", + "$nav_button_event_name" + ] + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$section_content", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + }, + + "store_layout_ribbon_search_button@common_buttons.light_content_button": { + "size": [ 30, "100%" ], + + // focus vars + "$focus_id": "skin_pack_category_button", + "$focus_override_up": "feature_key_art_id", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + + // button + "$button_content": "store_layout.store_layout_ribbon_search_button_content", + "$image_texture_path": "textures/ui/spyglass_flat", + "$is_search_screen|default": false, + "variables": [ + { + "requires": "($is_search_screen or $is_on_3p_server)", + "$pressed_button_name": "" + }, + { + "requires": "(not $is_search_screen and not $is_on_3p_server)", + "$pressed_button_name": "button.search" + }, + { + "requires": "($is_search_screen and not $is_on_3p_server)", + "$pressed_button_name": "button.close_result_panel" + } + ] + }, + + "store_layout_ribbon_search_button_content": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "button_image": { + "type": "image", + "size": [ 9, 9 ], + "texture": "$image_texture_path", + "layer": 1, + "color": "$glyph_color" + } + } + ] + }, + + + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "screen_entrance_pop_animation_no_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_pop", + "from": [ 0, 0 ], + "to": [ 0, 0 ], + "play_event": "screen.entrance_pop", + "end_event": "screen.entrance_end" + }, + + "store_data_driven_screen_base@common_store.store_base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet_no_dressing_room", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "variables": [ + { + "requires": "(not $use_animation)", + "$screen_animations": [ + ], + "$background_animations": [] + }, + { + "requires": "($use_animation)", + "$screen_animations": [ + "@common.screen_exit_animation_pop_offset", + "@common.screen_exit_animation_pop_fade", + "@store_layout.screen_entrance_pop_animation_no_offset" + ], + "$background_animations": [], + "$fill_alpha": 0.75 + } + ] + }, + + "store_screen_modal_panel": { + "type": "panel", + "controls": [ + { + "one_button_dialog@common_dialogs.main_panel_one_button": { + "size": "$custom_templates_screen_size", + "$child_control": "store_layout.main_panel", + "$button_panel": "store_layout.dialog_button", + "$text_name": "#screen_header_title", + "$title_text_binding_type": "global", + "$use_transparent_background": false + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed" + } + } + } + ] + }, + + "dialog_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.bottom_modal", + "$button_text": "#dialog_button_text", + "$button_text_binding_type": "collection", + "$button_text_grid_collection_name": "modal_button_collection", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$button_text_grid_collection_name" + } + ] + }, + + "store_screen_main_panel": { + "type": "panel", + "controls": [ + { + "main_content_view@sidebar_navigation.sidebar_view": { + "$sidebar_main_view_content": "store_layout.main_panel", + "$scroll_size": [ 5, "100% - 8px" ] + } + }, + { + "sort_and_filter_modals@common_store.sort_and_filter_menu_modals": {} + } + ] + }, + + "store_full_screen_content": { + "type": "panel", + "alpha": "@common_store.screen_fade_in_alpha_anim", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "$ignore_inventory_button": "$is_sidebar_navigation_enabled", + "controls": [ + { + // This control serves as a focus panel for TTS when entering any SDL page(input mouse only) + "mouse_input_focus_panel": { + "type": "input_panel", + "size": [ "100% - 50px", "100%" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "tts_skip_message": true, + "bindings": [ + { + // Focus will only be enabled before the SDL page loads and only on mouse input + "binding_name": "(#is_top_row_button_focus_enabled and #page_loading_visible)", + "binding_name_override": "#focus_enabled" + } + ] + } + }, + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "store_layout.store_screen_main_panel", + "$button_text": "store.title", + "$top_status_and_coins_visible_binding_type": "global", + "$top_status_and_coins_visible_binding": "#coin_visible" + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed", + "realms_plus_extra_info": "@persona.popup_dialog__realms_plus_extra_info" + } + } + }, + { + "character_selector_dialog_factory": { + "type": "factory", + "control_ids": { + "difference_information": "@profile.popup_dialog__difference_information", + "difference_preview": "@profile.popup_dialog__preview_difference_information", + "delete_persona": "@profile.popup_dialog__delete_persona", + "create_persona": "@profile.popup_dialog__create_persona", + "cast_character_select_popup": "@persona_cast_character_screen.popup_dialog__cast_character_select", + "cast_character_preview_page_one": "@persona_cast_character_screen.cast_preview_page_one", + "cast_character_preview_page_two": "@persona_cast_character_screen.cast_preview_page_two" + } + } + }, + { + "custom_skin_dialog_factory": { + "type": "factory", + "control_ids": { + "invalid_custom_skin": "@persona.popup_dialog__invalid_custom_skin", + "choose_skin_type": "@persona.popup_dialog__choose_skin_type", + "upsell_without_store": "@persona.popup_dialog__upsell_without_store", + "custom_skin_info": "@persona.popup_dialog__custom_skin_info", + "emote_equip_slot_editor": "@persona.popup_dialog__emote_equip_slot_editor" + } + } + } + ] + }, + + "sdl_base_screen@store_layout.store_data_driven_screen_base": { + "$screen_content": "store_layout.store_full_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "common_store.store_background", + "$is_full_screen_layout": true + }, + + "character_creator_base_screen@store_layout.sdl_base_screen": { + "$sdl_screen_content": "store_layout.character_creator_screen_layout", + "$allows_sdl_section_focus_container": false, + "$ignore_search": "(not $is_persona_search_enabled)", + "bindings": [ + { + "binding_name": "#register_as_dressing_room_scene", + "binding_type": "global" + } + ], + "$wallet_gamepad_helper_bindings": [ + { + "binding_name": "(#gamepad_helper_visible and #x_bind_not_overriden)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + ////////////////////////////////////////////////////// + // SDL Screens + ////////////////////////////////////////////////////// + "store_data_driven_screen@store_layout.sdl_base_screen": {}, + + "character_creator_screen@store_layout.character_creator_base_screen": { + "$sdl_screen_content": "store_layout.character_creator_screen_layout", + "$requires_restore_button": false + }, + + "dressing_room_color_picker_screen@store_layout.character_creator_screen": { + "$persona_dialog_content": "persona_sdl.color_picker_content_panel", + "$character_creator_right_side_content": "persona_sdl.color_picker_right_side_stack", + "$requires_restore_button": false + }, + + "expanded_appearance_view_screen@store_layout.character_creator_base_screen": { + "$sdl_screen_content": "persona_sdl.expanded_appearance_view", + "$requires_restore_button": false + }, + + "non_scrollable_sdl_screen@store_layout.sdl_base_screen": { + "$is_non_scrollable_sdl_screen": true, + "$ignore_search": "(not $is_persona_search_enabled)", + "$requires_restore_button": false + }, + + "skin_selector_screen@store_layout.sdl_base_screen": { + "$sdl_screen_content": "store_layout.character_creator_screen_layout", + "$ignore_search": "(not $is_persona_search_enabled)", + "$requires_restore_button": false, + "bindings": [ + { + "binding_name": "#register_as_dressing_room_scene", + "binding_type": "global" + } + ], + "$wallet_gamepad_helper_bindings": [ + { + "binding_name": "(#gamepad_helper_visible and #x_bind_not_overriden)", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "store_data_driven_modal_one_button_screen@store_layout.store_data_driven_screen_base": { + "$screen_content": "store_layout.store_screen_modal_panel", + "$header_safezone_control": "common.empty_panel", + "$header_bar_control": "common.empty_panel", + "$screen_background_control": "common_store.store_background", + "$is_full_screen_layout": false, + "force_render_below": true, + "$requires_restore_button": false + } + +} diff --git a/resource_pack/ui/store_filter_menu_screen.json b/resource_pack/ui/store_filter_menu_screen.json new file mode 100644 index 0000000..0ded6f2 --- /dev/null +++ b/resource_pack/ui/store_filter_menu_screen.json @@ -0,0 +1,909 @@ +{ + "namespace": "filter_menu", + + + "filter_clear_button_panel": { + "type": "panel", + "size": "$filter_button_panel_size", + "$filter_clear_button_text|default": "store.search.filters.clear", + "$filter_clear_button_pressed_name|default": "button.clear_all_filters", + "controls": [ + { + "clear_button@common_buttons.dark_text_button": { + "size": "$filter_button_size", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$button_text": "$filter_clear_button_text", + "$pressed_button_name": "$filter_clear_button_pressed_name" + } + } + ] + }, + + "chevron_icon_panel": { + "type": "panel", + "size": [ 16, "100%" ], + "controls": [ + { + "chevron_icon": { + "type": "image", + "size": [ 8, 10 ], + "anchor_from": "$chevron_anchor", + "anchor_to": "$chevron_anchor", + "texture": "$chevron_icon" + } + } + ] + }, + + "filter_variables_panel": { + "type": "panel", + + "$filter_type_label|default": "('store.search.filter.' + $filter_sort_prefix)", + "$filter_selected_text|default": "('#filter_selected_' + $filter_sort_prefix)", + "$filter_selected_label_visible_binding_name|default": "('#filter_' + $filter_sort_prefix + '_selected_visible')", + "$filter_clear_button_text|default": "('store.search.filter.clear.' + $filter_sort_prefix)", + "$filter_clear_button_pressed_name|default": "('button.clear_' + $filter_sort_prefix)", + + "$pressed_button_name|default": "('button.filter_' + $filter_sort_prefix)" + }, + + "filter_option_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 12px", "100% - 4px" ], + "controls": [ + { + "left_chevron_icon_panel@filter_menu.chevron_icon_panel": { + "ignored": "$is_main_menu", + "$chevron_anchor": "left_middle", + "$chevron_icon": "textures/ui/chevron_grey_left" + } + }, + { + "filter_type_and_selected_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "filter_type_label": { + "type": "label", + "size": [ "100%", 10 ], + "text": "$filter_type_label", + "color": "$text_color" + } + }, + { + "middle_padding": { + "type": "panel", + "size": [ "100%", 2 ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "selected_label", + "source_property_name": "#visible", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + }, + { + "selected_label": { + "type": "label", + "size": [ "100%", 10 ], + "visible": false, + "text": "$filter_selected_text", + "color": "$text_color", + "alpha": 0.8, + "bindings": [ + { + "binding_condition": "always_when_visible", + "binding_name": "$filter_selected_text" + }, + { + "binding_name": "$filter_selected_label_visible_binding_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + } + ] + } + }, + { + "right_chevron_icon_panel@filter_menu.chevron_icon_panel": { + "ignored": "(not $is_main_menu)", + "$chevron_anchor": "right_middle", + "$chevron_icon": "textures/ui/chevron_grey_right" + } + } + ] + }, + + "filter_options_button_panel": { + "type": "panel", + "size": "$filter_button_panel_size", + "controls": [ + { + "filter_variables_panel@filter_menu.filter_variables_panel": { + "controls": [ + { + "filter_options_button@common_buttons.light_content_button": { + "size": "$filter_button_size", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$button_content": "filter_menu.filter_option_button_content", + "$secondary_text_color": "$place_holder_text_color" + } + } + ] + } + } + ] + }, + + "filter_main_menu_options_button_panel@filter_menu.filter_options_button_panel": { + "visible": false, + "property_bag": { + "#visible": false + }, + "bindings": [ + { + "binding_name": "('#filter_option_visible_' + $filter_sort_prefix)", + "binding_name_override": "#visible" + } + ] + }, + + "filter_title_bar_content": { + "type": "stack_panel", + "size": [ "100% - 4px", "100% - 4px" ], + "orientation": "horizontal", + "controls": [ + { + "filter_logo_and_count_panel@common_store.filter_logo_content_panel": { + "$filter_logo_offset": [ 1, 0 ], + "$filter_logo_count_offset": [ 0, 3 ] + } + }, + { + "centered_filter_title_label": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "filter_title_label": { + "type": "label", + "size": [ "100%", 10 ], + "text": "store.search.filter.title", + "color": "$text_color" + } + } + ] + } + }, + { + "filter_title_padding_close_button": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "centered_x": { + "type": "panel", + "size": [ 15, "100%" ], + "layer": 2, // want to be above parent button (filter_title_bar) + "controls": [ + { + "close_x_image": { + "type": "image", + "size": [ 15, 15 ], + "texture": "textures/ui/close_button_default_light", + "color": "$text_color" + } + } + ] + } + } + ] + }, + + "filter_title_bar@common_buttons.light_content_button": { + "type": "button", + "size": "$filter_button_panel_size", + "layer": 1, + "$button_content": "filter_menu.filter_title_bar_content", + "$new_ui_button_texture": "textures/ui/button_borderless_light", + "$pressed_button_name": "button.exit_filter_menu" + }, + + + /////////////////////////////////////////////////////////////////////////////////// + // filter submenu items + + "filter_checkbox_toggle@common_store.filter_sort_toggle": { + "size": "$filter_button_panel_size" + }, + + "filter_checkbox_no_icon_toggle": { + "type": "panel", + "size": "$filter_button_panel_size", + "$ignore_content_toggle_image": true, + "controls": [ + { + "filter_checkbox_no_icon_toggle@filter_menu.filter_checkbox_toggle": {} + } + ] + }, + + + /////////////////////////////////////////////////////////////////////////////////// + // filter submenu sections + + "pack_type_sub_menu_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "pack_type_sub_menu": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 16px", "100%c" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + + "$is_collection": true, + "$filter_item_toggle_icon": "textures/ui/chevron_grey_right", + "$toggle_grid_collection_name": "($filter_sort_prefix + '_collection')", + "collection_name": "($filter_sort_prefix + '_collection')", + "$content_toggle_image_size": [ 12, 12 ], + "$content_toggle_image_panel_size": [ 24, "100%" ], + + "controls": [ + { + "addon_packs_filter@filter_menu.filter_checkbox_toggle": { + "collection_index": 3, + "$content_toggle_image": "textures/ui/glyph_addon_pack", + "bindings": [ + { + "binding_name": "#addon_filter_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "skin_packs_filter@filter_menu.filter_checkbox_toggle": { + "collection_index": 0, + "$content_toggle_image": "textures/ui/glyph_skin_pack" + } + }, + { + "texture_packs_filter@filter_menu.filter_checkbox_toggle": { + "collection_index": 1, + "$content_toggle_image": "textures/ui/glyph_resource_pack" + } + }, + { + "worlds_template_filter_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$filter_sort_prefix": "world_template", + "controls": [ + { + "worlds_template_filter@filter_menu.filter_checkbox_toggle": { + "type": "panel", + "size": "$filter_button_panel_size", + "$is_collection": false, + "$content_toggle_label": "store.search.filter.worldTemplates", + "$content_toggle_image": "textures/ui/glyph_world_template", + "$filter_sort_prefix": "world_template_types", + "$content_toggle_icon_panel_size": [ 8, "100%" ], + "$content_toggle_icon_size": [ 8, 8 ], + "$checked_toggle_icon": "textures/ui/chevron_white_up", + "$checked_hover_toggle_icon": "textures/ui/chevron_white_up", + "$unchecked_toggle_icon": "textures/ui/chevron_white_down", + "$unchecked_hover_toggle_icon": "textures/ui/chevron_white_down" + } + }, + { + "world_template_type_filters@common_store.filter_sort_grid_panel": { + "visible": false, + + "$filter_sort_grid_size": [ "100% - 16px", "default" ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "this_toggle", + "source_property_name": "#toggle_state", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + } + ] + } + }, + { + "mashup_packs_filter@filter_menu.filter_checkbox_toggle": { + "collection_index": 2, + "$content_toggle_image": "textures/ui/glyph_mashup_pack" + } + } + ] + } + } + ] + }, + + "portal_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 16, + "frame_step": 19, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + + "offer_type_sub_menu_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + + "$is_collection": true, + "$filter_item_toggle_icon": "textures/ui/chevron_grey_right", + "$toggle_grid_collection_name": "($filter_sort_prefix + '_collection')", + "collection_name": "($filter_sort_prefix + '_collection')", + + "controls": [ + { + "bundles_filter@filter_menu.filter_checkbox_toggle": { + "collection_index": 0, + "$content_toggle_image": "textures/ui/MashupIcon", + "$content_toggle_image_uv_size": [ 1, 1 ] + } + }, + { + "realms_plus_filter@filter_menu.realms_plus_filter": { + "collection_index": 1 + } + }, + { + "csb_filter@filter_menu.csb_filter": { + "collection_index": 2 + } + } + ] + }, + + "realms_plus_filter": { + "type": "panel", + "size": "$filter_button_panel_size", + "controls": [ + { + "realms_plus_filter@filter_menu.filter_checkbox_toggle": { + "$content_toggle_image_uv": "@filter_menu.portal_animation", + "$content_toggle_image_uv_size": [ 19, 19 ], + + "$button_content": "filter_menu.realms_plus_gradient_content_panel", + + "$content_toggle_image|default": "textures/ui/realms_plus_normal", + "$content_toggle_variables": [ + { + "requires": "$toggle_checked_hover", + "$content_toggle_image": "textures/ui/realms_plus_hover" + }, + { + "requires": "$toggle_unchecked_hover", + "$content_toggle_image": "textures/ui/realms_plus_hover" + } + ] + } + } + ] + }, + + "csb_filter": { + "type": "panel", + "size": "$filter_button_panel_size", + "controls": [ + { + "csb_filter@filter_menu.filter_checkbox_no_icon_toggle": { + "$button_content": "filter_menu.csb_gradient_content_panel" + } + } + ] + }, + + "realms_plus_gradient_content_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "gradient": { + "type": "image", + "size": [ "100% + 4px", 29 ], + "tiled": "y", + "texture": "textures/ui/purple_gradient" + } + }, + { + "particles": { + "layer": 1, + "type": "image", + "texture": "textures/ui/realms_particles", + "offset": [ "35%", 0 ] + } + }, + { + "content_panel@common_toggles.toggle_content_panel": {} + } + ] + }, + + "csb_gradient_content_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "gradient": { + "type": "image", + "size": [ "100% + 4px", 29 ], + "tiled": "y", + "texture": "textures/ui/csb_filter_gradient" + } + }, + { + "particles": { + "layer": 1, + "type": "image", + "texture": "textures/ui/csb_filter_particles", + "offset": [ "35%", 0 ] + } + }, + { + "content_panel@common_toggles.toggle_content_panel": { + "$text_color": "$light_button_default_text_color", + "$content_toggle_label_offset": [ 4, 0 ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////////////// + //filter submenu data + + + + //END of filter submenu buttons + /////////////////////////////////////////////////////////////////////////////////// + + /////////////////////////////////////////////////////////////////////////////////// + // filter screen content + + "filter_section_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_to": "top_right", + "anchor_from": "top_right", + "controls": [ + { + "section_title_button@filter_menu.filter_options_button_panel": { + "$filter_button_size": [ "100%", "100%" ], + "$pressed_button_name": "button.close_filter_menu" + } + }, + { + "clear_button@filter_menu.filter_clear_button_panel": { + } + }, + { + "section_sub_menu@$filter_section_sub_menu_panel": {} + } + ] + }, + + "filter_section_content_dynamic@filter_menu.filter_variables_panel": { + "$filter_sort_grid_size": [ "100%", "default" ], + "controls": [ + { + "filter_section_content@filter_menu.filter_section_content": {} + } + ] + }, + + "filter_main_menu_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_to": "top_right", + "anchor_from": "top_right", + "controls": [ + { + "filter_title_bar_panel@filter_menu.filter_title_bar": {} + }, + { + "offer_type_button@filter_menu.filter_main_menu_options_button_panel": { + "$filter_sort_prefix": "offer_type", + "$filter_type_label": "store.search.filter.offer_type", + "$filter_selected_text": "#filter_selected_offer_type", + "$filter_selected_label_visible_binding_name": "#filter_offer_type_selected_visible", + "$pressed_button_name": "button.filter_offer_type" + } + }, + { + "pack_type_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "$is_inventory_screen", + "$filter_sort_prefix": "pack_type", + "$filter_type_label": "store.search.filter.pack_type", + "$filter_selected_text": "#filter_selected_packtype", + "$filter_selected_label_visible_binding_name": "#filter_packtype_selected_visible", + "$pressed_button_name": "button.filter_pack_type" + } + }, + { + "minecoin_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "($is_inventory_screen or $is_on_3p_server)", + "$filter_sort_prefix": "minecoin" + } + }, + { + "rating_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "($is_inventory_screen or $is_on_3p_server)", + "$filter_sort_prefix": "rating" + } + }, + { + "creator_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "$is_on_3p_server", + "$filter_sort_prefix": "creator" + } + }, + { + "installed_state_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "(not $is_inventory_screen)", + "$filter_sort_prefix": "installed_state" + } + }, + { + "filter_main_menu_filter_toggles_section": { + "ignored": "$is_inventory_screen", + "type": "panel", + "size": [ "100%", "100%c" ], + "$filter_sort_prefix": "main_menu_filter_toggles", + "$filter_sections_content_panel_visible": "#non_dropdown_filter_section_visible", + "controls": [ + { + "filter_main_menu_filter_toggle_grid_panel@common_store.filter_sort_grid_panel": { + "$filter_sort_grid_size": [ "100% - 16px", "100%c" ], + "anchor_to": "right_middle", + "anchor_from": "right_middle" + } + } + ] + } + }, + { + "clear_button_panel@filter_menu.filter_clear_button_panel": { + "variables": [ + { + "requires": "$is_inventory_screen", + "$filter_clear_button_text": "store.search.filters.reset" + } + ] + } + } + ] + }, + + "filter_main_menu_content_persona": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_to": "top_right", + "anchor_from": "top_right", + "controls": [ + { + "filter_title_bar_panel@filter_menu.filter_title_bar": {} + }, + { + "persona_style_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "($is_inventory_screen or $is_on_3p_server)", + "$filter_sort_prefix": "dressingroomstyle" + } + }, + { + "persona_body_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "($is_inventory_screen or $is_on_3p_server)", + "$filter_sort_prefix": "dressingroombody" + } + }, + { + "emote_filter_section": { + "ignored": "$is_inventory_screen", + "type": "panel", + "size": [ "100%", "100%c" ], + "$filter_sort_prefix": "dressingroomemote", + "$filter_sections_content_panel_visible": "#non_dropdown_filter_section_visible", + "controls": [ + { + "filter_emote_toggle_grid_panel@common_store.filter_sort_grid_panel": { + "$filter_sort_grid_size": [ "100% - 16px", "100%c" ], + "anchor_to": "right_middle", + "anchor_from": "right_middle" + } + } + ] + } + }, + { + "minecoin_button@filter_menu.filter_main_menu_options_button_panel": { + "ignored": "($is_inventory_screen or $is_on_3p_server)", + "$filter_sort_prefix": "minecoin" + } + }, + { + "clear_button_panel@filter_menu.filter_clear_button_panel": { + "variables": [ + { + "requires": "$is_inventory_screen", + "$filter_clear_button_text": "store.search.filters.reset" + } + ] + } + } + ] + }, + + "filter_section_content_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$filter_sections_content_panel_visible|default": "", + "property_bag": { + "#visible": false + }, + "controls": [ + { + "filter_menu_screen@$filter_section_screen_content": { + "size": [ "100%", "100%c" ] + } + } + ], + "bindings": [ + { + "binding_name": "$filter_sections_content_panel_visible", + "binding_name_override": "#visible" + } + ] + }, + + "filter_main_menu_section@filter_menu.filter_section_content_panel": { + "$is_main_menu": true, + "$filter_section_screen_content": "filter_menu.filter_main_menu_content", + "$filter_sections_content_panel_visible": "#main_filter_section_visible" + }, + + "filter_main_menu_section_persona@filter_menu.filter_section_content_panel": { + "$is_main_menu": true, + "$filter_section_screen_content": "filter_menu.filter_main_menu_content_persona", + "$filter_sections_content_panel_visible": "#main_filter_section_visible" + }, + + "filter_pack_type_section@filter_menu.filter_section_content_panel": { + "$is_main_menu": false, + "$filter_sort_prefix": "pack_type", + "$filter_section_screen_content": "filter_menu.filter_section_content", + "$filter_sections_content_panel_visible": "#pack_type_filter_section_visible", + "$filter_type_label": "store.search.filter.pack_type", + "$filter_selected_text": "#filter_selected_packtype", + "$filter_selected_label_visible_binding_name": "#filter_packtype_selected_visible", + "$filter_clear_button_text": "store.search.filter.clear.pack_type", + "$filter_clear_button_pressed_name": "button.clear_pack_type_filters", + "$filter_section_sub_menu_panel": "filter_menu.pack_type_sub_menu_panel" + }, + + "filter_offer_type_section@filter_menu.filter_section_content_panel": { + "$is_main_menu": false, + "$filter_sort_prefix": "offer_type", + "$filter_section_screen_content": "filter_menu.filter_section_content", + "$filter_sections_content_panel_visible": "#offer_type_filter_section_visible", + "$filter_type_label": "store.search.filter.offer_type", + "$filter_selected_text": "#filter_selected_offer_type", + "$filter_selected_label_visible_binding_name": "#filter_offer_type_selected_visible", + "$filter_clear_button_text": "store.search.filters.clear", + "$filter_clear_button_pressed_name": "button.clear_all_filters", + "$filter_section_sub_menu_panel": "filter_menu.offer_type_sub_menu_panel" + }, + + "filter_type_section@filter_menu.filter_section_content_panel": { + "$is_main_menu": false, + "$filter_section_screen_content": "filter_menu.filter_section_content_dynamic", + "$filter_section_sub_menu_panel": "common_store.filter_sort_grid_panel", + "$filter_sort_grid_size": [ "100% - 16px", "100%c" ] + }, + + "filter_menu_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "filter_main_menu_screen@filter_menu.filter_main_menu_section": {} + }, + { + "filter_offer_type_screen@filter_menu.filter_offer_type_section": {} + }, + { + "filter_pack_type_screen@filter_menu.filter_pack_type_section": {} + }, + { + "filter_minecoin_section@filter_menu.filter_type_section": { + "$filter_sort_prefix": "minecoin", + "$filter_sections_content_panel_visible": "#minecoin_filter_section_visible" + } + }, + { + "filter_rating_section@filter_menu.filter_type_section": { + "$filter_sort_prefix": "rating", + "$filter_sections_content_panel_visible": "#rating_filter_section_visible" + } + }, + { + "filter_creator_section@filter_menu.filter_type_section": { + "$filter_sort_prefix": "creator", + "$filter_sections_content_panel_visible": "#creator_filter_section_visible" + } + }, + { + "filter_installed_state_section@filter_menu.filter_type_section": { + "ignored": "(not $is_inventory_screen)", + "$filter_sort_prefix": "installed_state", + "$filter_sections_content_panel_visible": "#installed_state_filter_section_visible" + } + } + ] + }, + + "filter_menu_content_persona": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "filter_main_menu_screen@filter_menu.filter_main_menu_section_persona": {} + }, + { + "filter_style_section@filter_menu.filter_type_section": { + "$filter_sort_prefix": "dressingroomstyle", + "$filter_sections_content_panel_visible": "#dressingroomstyle_filter_section_visible" + } + }, + { + "filter_body_section@filter_menu.filter_type_section": { + "$filter_sort_prefix": "dressingroombody", + "$filter_sections_content_panel_visible": "#dressingroombody_filter_section_visible" + } + }, + { + "filter_minecoin_section@filter_menu.filter_type_section": { + "$filter_sort_prefix": "minecoin", + "$filter_sections_content_panel_visible": "#minecoin_filter_section_visible" + } + } + ] + }, + + "filter_menu_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "layer": 2, + "$filter_button_panel_size|default": [ "100%", 30 ], + "$filter_button_size|default": [ "100% - 16px", "100%" ], + "controls": [ + { + // added to align with search bar + "top_padding@common.empty_panel": { + "$filter_top_padding|default": [ "100%", 0 ], + "size": "$filter_top_padding" + } + }, + { + "alignment_panel@common.horizontal_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { + "left_padding@common.empty_panel": { + "$filter_left_padding|default": [ 0, "100%" ], + "size": "$filter_left_padding" + } + }, + { + "filter_menu_content_scroll@common.scrolling_panel": { + "size": [ "fill", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$bar_visible": false, + "$show_background": false + } + }, + { + "right_padding@common.empty_panel": { + "$filter_right_padding|default": [ 0, "100%" ], + "size": "$filter_right_padding" + } + } + ] + } + } + ] + }, + + "filter_menu_screen_content@common.modal_area_panel_base": { + "layer": 100, + "$inventory_sort_and_filter_disabled|default": true, + "$menu_cancel_button_id": "button.close_filter_menu", + "$close_bg_exit_button_name": "button.exit_filter_menu", + "controls": [ + { + "filter_main_panel@filter_menu.filter_menu_panel": { + "$filter_top_padding": [ "100%", 8 ], + "$filter_left_padding": [ "60%", "100%" ], + "$filter_right_padding": [ 12, "100%" ], + "$scrolling_content": "filter_menu.filter_menu_content", + "bindings": [ + { + "binding_name": "(not #is_dressing_room_scene)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "filter_main_panel_persona@filter_menu.filter_menu_panel": { + "$filter_top_padding": [ "100%", 11 ], + "$filter_left_padding": [ "8%", "100%" ], + "$filter_right_padding": [ "47%", "100%" ], + "$scrolling_content": "filter_menu.filter_menu_content_persona", + "bindings": [ + { + "binding_name": "#is_dressing_room_scene", + "binding_name_override": "#visible" + } + ] + } + }, + { + "filter_menu_close_background_button@common_store.close_bg_panel": {} + } + ], + "bindings": [ + { + "binding_name": "#filter_screen_visible", + "binding_name_override": "#modal" + } + ] + } +} diff --git a/resource_pack/ui/store_inventory_screen.json b/resource_pack/ui/store_inventory_screen.json new file mode 100644 index 0000000..9e9c1f3 --- /dev/null +++ b/resource_pack/ui/store_inventory_screen.json @@ -0,0 +1,1555 @@ +{ + "namespace": "store_inventory", + + "sign_in_button@common_buttons.light_text_form_fitting_button": { + "size": [ "100%c", "100%" ], + "$anchor": "top_left", + "$pressed_button_name": "button.signin", + "$button_text": "store.xbl.signin", + "$button_state_panel": "common_buttons.new_ui_width_fitting_button_panel", + "$button_type_panel": "common_buttons.width_fitting_button_content_panel", + "$button_content": "common_buttons.new_ui_binding_button_label", + "$button_size_override": [ "100%c", "100%" ], + "$button_offset": [ 0, -0.5 ], + "bindings": [ + { + "binding_name": "#show_signin_button", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "no_xbl_and_local_content_warning_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + "bindings": [ + { + "binding_name": "#show_no_xbl_and_local_content_warning", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "image_and_description_bg_panel@common_store.banner_fill": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "image_and_description_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "image_and_description_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "layer": 2, + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "warning_image_and_label_1": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "xbl_image_center_panel": { + "type": "panel", + "size": [ "50%", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { + "xbl_sign_in_image": { + "type": "image", + "keep_ratio": true, + "size": [ "100%", "50%x" ], + "texture": "textures/ui/sign_in_prompts_my_content" + } + } + ] + } + }, + { + "xbl_image_padding_warning": { + "type": "panel", + "size": [ 8, 0 ] + } + }, + { + "warning_label_centering_panel": { + "type": "panel", + "size": [ "fill", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { + "warning_label_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "message_text@store_inventory.sign_in_panel_text_body": { + "$body_text": "store.sign_in_warning.no_xbl_and_no_local_content.line1", + "$secondary_text": "store.sign_in_warning.no_xbl_and_no_local_content.line2" + } + }, + { + "xbl_image_padding_warning": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "sign_in_button_centering_panel": { + "type": "panel", + "size": [ "90%", "100%c" ], + "visible": "$is_pregame", + "controls": [ + { + "sigh_in_button@store_inventory.sign_in_button": { + "size": [ "70%", "100%c" ], + "min_size": [ "70%", 30 ], + "focus_enabled": true, + "$button_text": "store.xbl.signin", + "$button_state_panel": "common_buttons.new_ui_height_fitting_button_panel", + "$button_type_panel": "common_buttons.height_fitting_button_content_panel", + "$button_content": "common_buttons.new_ui_binding_button_label", + "$button_text_max_size": [ "100%", "100%c" ], + "$button_size_override": [ "100%", "100%c" ], + "$button_min_size_override": [ "100%", 30 ], + "$button_border_min_size_override": [ "100%", 30 ], + "$button_image_min_size_override": [ "100% - 2px", 28 ], + "$button_offset": [ 0, 0 ], + "$text_alignment": "center", + "$anchor": "center", + "bindings": [] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "no_xbl_and_no_local_conent_warning_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + "bindings": [ + { + "binding_name": "#show_no_xbl_and_no_local_content_warning", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "image_and_description_bg_panel@common_store.banner_fill": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "image_and_description_panel": { + "type": "panel", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "image_and_description_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "layer": 2, + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "warning_image_and_label_1": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "xbl_image_center_panel": { + "type": "panel", + "size": [ "50%", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { + "xbl_sign_in_image": { + "type": "image", + "keep_ratio": true, + "size": [ "100%", "50%x" ], + "texture": "textures/ui/sign_in_prompts_my_content" + } + } + ] + } + }, + { + "xbl_image_padding_warning": { + "type": "panel", + "size": [ 8, 0 ] + } + }, + { + "warning_label_centering_panel": { + "type": "panel", + "size": [ "fill", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { + "warning_label_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "message_text@store_inventory.sign_in_panel_text_body": { + "$body_text": "store.sign_in_warning.no_xbl_and_no_local_content.line1", + "$secondary_text": "store.sign_in_warning.no_xbl_and_no_local_content.line2" + } + }, + { + "xbl_image_padding_warning": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "sign_in_button_centering_panel": { + "type": "panel", + "size": [ "90%", "100%c" ], + "visible": "$is_pregame", + "controls": [ + { + "sigh_in_button@store_inventory.sign_in_button": { + "size": [ "70%", "100%c" ], + "min_size": [ "70%", 30 ], + "focus_enabled": true, + "$button_text": "store.xbl.signin", + "$button_state_panel": "common_buttons.new_ui_height_fitting_button_panel", + "$button_type_panel": "common_buttons.height_fitting_button_content_panel", + "$button_content": "common_buttons.new_ui_binding_button_label", + "$button_text_max_size": [ "100%", "100%c" ], + "$button_size_override": [ "100%", "100%c" ], + "$button_min_size_override": [ "100%", 30 ], + "$button_border_min_size_override": [ "100%", 30 ], + "$button_image_min_size_override": [ "100% - 2px", 28 ], + "$button_offset": [ 0, 0 ], + "$text_alignment": "center", + "$anchor": "center", + "bindings": [] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "inventory_sign_in_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$button_focus_precedence": 10, + "controls": [ + { + "no_xbl_and_local_content_warning_panel@store_inventory.no_xbl_and_local_content_warning_panel": {} + }, + { + "no_xbl_and_no_local_conent_warning_panel@store_inventory.no_xbl_and_no_local_conent_warning_panel": {} + } + ] + }, + + //-------------------------------------------------------------------------------- + // Left Side + //-------------------------------------------------------------------------------- + + "divider_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "top_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "divider@common.horizontal_divider": {} + }, + { + "bottom_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "right_image": { + "type": "image", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowRight" + }, + + "down_image": { + "type": "image", + "size": [ 8, 8 ], + "texture": "textures/ui/arrowDown" + }, + + "section_toggle_base@common_toggles.light_image_toggle_collection": { + "size": [ "100%", 20 ], + "$radio_toggle_group": true, + "$toggle_name": "navigation_tab", + + "$hover_texture|default": "textures/ui/button_borderless_light", + "$default_checked_text_color": "$light_toggle_default_text_color", + + "$toggle_state_binding_name": "#toggle_state", + "$toggle_tab_focus_binding_type": "global", + "$toggle_tab_focus_binding_name": "#navigation_tab_focus_precedence", + "$toggle_on_hover_binding_type": "global", + "$toggle_on_hover_binding_name": "#toggle_on_hover" + }, + + "owned_toggle@store_inventory.section_toggle_base": { + "$button_content": "store_inventory.owned_dropdown_content", + "$toggle_view_binding_name": "owned_toggle", + "$toggle_group_forced_index": 0 + }, + + "current_toggle@store_inventory.section_toggle_base": { + "$button_content": "store_inventory.current_dropdown_content", + "$toggle_view_binding_name": "current_toggle", + "$toggle_group_forced_index": 1 + }, + + "removed_toggle@store_inventory.section_toggle_base": { + "$button_content": "store_inventory.removed_dropdown_content", + "$toggle_view_binding_name": "removed_toggle", + "$toggle_group_forced_index": 2 + }, + + "subscriptions_toggle@store_inventory.section_toggle_base": { + "$button_content": "store_inventory.subscriptions_text_panel", + "$toggle_view_binding_name": "view_subscriptions_button_toggle", + "$toggle_group_forced_index": 3 + }, + + "inventory_left_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 10px", "100%c" ], + "layer": 3, + "focus_container": true, + "use_last_focus": false, + "$focus_id": "left_side", + "$focus_override_right": "right_side", + "focus_navigation_mode_left": "", + "focus_navigation_mode_right": "", + "focus_navigation_mode_down": "", + "focus_navigation_mode_up": "", + "controls": [ + { + "top_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "owned_toggle@store_inventory.owned_toggle": {} + }, + { + "owned_dropdown_box_panel": { + "type": "image", + "size": [ "100%", "100%c" ], + "texture": "textures/ui/screen_background", + "alpha": "$fill_alpha", + "$fill_alpha|default": 0.8, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "layer": 2, + "controls": [ + { + "owned_dropdown_box@store_inventory.dropdown_box": { + "$dropdown_collection_name": "owned_items_collection" + } + } + ] + } + }, + { + "divider_0@store_inventory.divider_panel": { + "layer": 2, + "bindings": [ + { + "binding_name": "#realms_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "csub_panel": { + "type": "panel", + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "size": [ "100%", "100%cm" ], + "layer": 2, + "bindings": [ + { + "binding_name": "#realms_enabled", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "csub_stack_panel@store_inventory.csub_stack_panel": {} + } + ] + } + }, + { + "divider_1@store_inventory.divider_panel": { + "layer": 3, + "bindings": [ + { + "binding_name": "#realms_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "subscriptions_toggle@store_inventory.subscriptions_toggle": { + "bindings": [ + { + "binding_name": "#realms_enabled", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "csub_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_title_vertical": { + "type": "panel", + "size": [ "100%", 3 ] + } + }, + { + "section_title": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 20 ], + "layer": 1, + "controls": [ + { + "padding_title_horizontal": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "testTitle@common_csb.csb_header": {} + } + ] + } + }, + { + "dropdown_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "dropdown_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "current_toggle@store_inventory.current_toggle": { + "$focus_id": "current_toggle" + } + }, + { + "current_dropdown_box_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "current_dropdown_box@store_inventory.dropdown_box": { + "$dropdown_collection_name": "current_items_collection" + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "removed_toggle@store_inventory.removed_toggle": { + "$focus_id": "removed_toggle" + } + }, + { + "removed_dropdown_box_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "removed_dropdown_box@store_inventory.dropdown_box": { + "$dropdown_collection_name": "removed_items_collection" + } + } + ] + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 5 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "subscriptions_text_panel": { + "type": "panel", + "size": [ "100% - 6px", "100%c" ], + "controls": [ + { + "subscriptions_text@common.minecraftTenLabel": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 0, -2 ], + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "store.inventory.button.subscriptions", + "color": "$text_color" + } + } + ] + }, + + "realms_plus_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "section_title": { + "type": "image", + "size": [ "100%", 20 ], + "texture": "textures/ui/purple_gradient", + "tiled": "y", + "layer": 1, + "controls": [ + { + "border": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/square_image_border_white", + "color": "$realms_plus_border_color", + "layer": 4 + } + }, + { + "section_title_label@common.minecraftTenLabel": { + "type": "label", + "size": [ "default", 10 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 5, -1 ], + "max_size": [ "100%", 10 ], + "text": "store.realmsPlus", + "color": "$generic_button_text_color", + "layer": 3 + } + }, + { + "particles": { + "type": "image", + "size": [ 20, 20 ], + "texture": "textures/ui/realms_particles", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "offset": [ -10, 0 ], + "layer": 2 + } + } + ] + } + }, + { + "dropdown_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "dropdown_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c" ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "current_toggle@store_inventory.current_toggle": { + "$focus_id": "current_toggle" + } + }, + { + "current_dropdown_box_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "current_dropdown_box@store_inventory.dropdown_box": { + "$dropdown_collection_name": "current_items_collection" + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "removed_toggle@store_inventory.removed_toggle": { + "$focus_id": "removed_toggle" + } + }, + { + "removed_dropdown_box_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "removed_dropdown_box@store_inventory.dropdown_box": { + "$dropdown_collection_name": "removed_items_collection" + } + } + ] + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 5 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "dropdown_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "use_priority": true, + "size": [ "100% - 6px", 15 ], + "controls": [ + { + "title_label@common.minecraftTenLabel": { + "priority": 0, + "size": [ "default", 10 ], + "max_size": [ "fill", 10 ], + "text": "$title_text", + "color": "$text_color", + "text_alignment": "left" + } + }, + { + "pad_0_fill": { + "priority": 0, + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "pad_0": { + "priority": 0, + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "icon_panel": { + "priority": 2, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "block_icon": { + "type": "image", + "size": "$icon_size", + "texture": "$icon_texture" + } + } + ] + } + }, + { + "pad_1": { + "priority": 2, + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "pad_2": { + "priority": 1, + "type": "panel", + "size": [ 1, "100%" ] + } + }, + { + "count_panel": { + "priority": 1, + "type": "panel", + "size": [ "100%c", "100%" ], + "max_size": [ "50%", "100%" ], + "controls": [ + { + "count": { + "type": "label", + "size": [ "default", 10 ], + "text": "#collection_count", + "color": "$text_color", + "bindings": [ + { + "binding_collection_name": "$dropdown_collection_name", + "binding_name": "#collection_count", + "binding_type": "collection" + } + ] + } + } + ] + } + }, + { + "pad_3": { + "priority": 2, + "type": "panel", + "size": [ 5, "100%" ] + } + }, + { + "right_carrot": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "right@store_inventory.right_image": { + "color": "$text_color" + } + } + ], + "bindings": [ + { + "binding_collection_name": "$dropdown_collection_name", + "binding_name": "(not #subcategories_visible)", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + }, + { + "down_carrot": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "down@store_inventory.down_image": { + "color": "$text_color" + } + } + ], + "bindings": [ + { + "binding_collection_name": "$dropdown_collection_name", + "binding_name": "#subcategories_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "owned_dropdown_content@store_inventory.dropdown_button_content": { + "$title_text": "store.inventory.dropdown.owned", + "$icon_texture|default": "textures/ui/creative_icon", + "$icon_size": [ 20, 16 ], + "$dropdown_collection_name": "owned_items_collection" + }, + + "current_dropdown_content@store_inventory.dropdown_button_content": { + "$title_text": "store.inventory.dropdown.current", + "$icon_texture|default": "", + "$icon_size": [ 11, 14 ], + "$dropdown_collection_name": "current_items_collection" + }, + + "removed_dropdown_content@store_inventory.dropdown_button_content": { + "$title_text": "store.inventory.dropdown.removed", + "$icon_texture|default": "", + "$icon_size": [ 11, 14 ], + "$dropdown_collection_name": "removed_items_collection" + }, + + "dropdown_box": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 8px", "100%c" ], + "bindings": [ + { + "binding_collection_name": "$dropdown_collection_name", + "binding_name": "#subcategories_visible", + "binding_name_override": "#visible", + "binding_type": "collection" + } + ], + "controls": [ + { + "top_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "all@store_inventory.category_panel_button": { + "$category_label": "gui.all", + "$category_icon": "textures/ui/glyph_all_pack_small", // This is a blank texture file for now. + "$category_count": "#collection_count", + "$category_pressed_button_name": "button.all", + "$icon_visible": "#collections_icon_visible" + } + }, + { + "divider_0@store_inventory.divider_panel": { + "layer": 2 + } + }, + { + "addons@store_inventory.category_panel_button": { + "$category_label": "store.search.filter.addOns", + "$category_icon": "textures/ui/glyph_addon_pack_small", + "$category_count": "#addons_count", + "$category_pressed_button_name": "button.addons", + "$icon_visible": "#category_addons_icon_visible", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$dropdown_collection_name", + "binding_name": "#addons_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "divider_1@store_inventory.divider_panel": { + "layer": 2, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$dropdown_collection_name", + "binding_name": "#addons_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "skins@store_inventory.category_panel_button": { + "$category_label": "store.search.filter.skinPacks", + "$category_icon": "textures/ui/glyph_skin_pack_small", + "$category_count": "#skins_count", + "$category_pressed_button_name": "button.skins", + "$icon_visible": "#category_skins_icon_visible" + } + }, + { + "divider_2@store_inventory.divider_panel": { + "layer": 2 + } + }, + { + "worlds@store_inventory.category_panel_button": { + "$category_label": "store.search.filter.worldTemplates", + "$category_icon": "textures/ui/glyph_world_template_small", + "$category_count": "#worlds_count", + "$category_pressed_button_name": "button.worlds", + "$icon_visible": "#category_worlds_icon_visible" + } + }, + { + "divider_3@store_inventory.divider_panel": { + "layer": 2 + } + }, + { + "textures@store_inventory.category_panel_button": { + "$category_label": "store.search.filter.texturePacks", + "$category_icon": "textures/ui/glyph_resource_pack_small", + "$category_count": "#textures_count", + "$category_pressed_button_name": "button.textures", + "$icon_visible": "#category_textures_icon_visible" + } + }, + { + "divider_4@store_inventory.divider_panel": { + "layer": 2 + } + }, + { + "mashups@store_inventory.category_panel_button": { + "$category_label": "store.search.filter.mashupPacks", + "$category_icon": "textures/ui/glyph_mashup_pack_small", + "$category_count": "#mashups_count", + "$category_pressed_button_name": "button.mashups", + "$icon_visible": "#category_mashups_icon_visible" + } + }, + { + "bottom_pad": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "category_panel_button@common.button": { + "size": [ "100%", "100%c + 4px" ], + "$pressed_button_name": "$category_pressed_button_name", + "property_bag": { + "#collection_name": "$dropdown_collection_name" + }, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$category_pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$category_pressed_button_name", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "default@store_inventory.category_stack_panel": {} + }, + { + "hover@store_inventory.category_stack_panel": { + "$color": "$csub_text_color" + } + }, + { + "pressed@store_inventory.category_stack_panel": { + "$color": "$csub_text_color" + } + } + ] + }, + + "category_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 10 ], + "$color|default": "$generic_button_text_color", + "controls": [ + { + "text": { + "type": "label", + "size": [ "default", "100%" ], + "max_size": [ "50%", "100%" ], + "text": "$category_label", + "color": "$color" + } + }, + { + "fill_pad": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "icon": { + "type": "image", + "size": [ 10, 10 ], + "texture": "$category_icon", + "color": "$color", + "visible": "$icon_visible", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$dropdown_collection_name", + "binding_name": "$icon_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "number": { + "type": "label", + "size": [ "default", "100%" ], + "max_size": [ "50% - 15px", "100%" ], + "text": "$category_count", + "color": "$color", + "bindings": [ + { + "binding_name": "$category_count", + "binding_type": "collection", + "binding_collection_name": "$dropdown_collection_name" + } + ] + } + } + ] + }, + + + //-------------------------------------------------------------------------------- + // Right Side + //-------------------------------------------------------------------------------- + + "search_object@common_store.search_object": { + "$has_section_above_search_panel": true, + "$upper_section_conent": "store_inventory.inventory_sign_in_panel", + "$store_offer_grid_prefix": "", + "$store_offer_grid_item_size": [ "33.3333%", "56.25%x + 36px" ], + "$store_offer_grid_bindings": [ + { + "binding_name": "#max_grid_offers", + "binding_name_override": "#maximum_grid_items" + }, + { + "binding_name": "#grid_list_visible", + "binding_name_override": "#visible" + } + ] + }, + + "list_panel": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "list_panel_content": { + "type": "panel", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "progress_loading", + "source_property_name": "(not #visible)", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ], + "controls": [ + { + "search_and_offers_grid_scroll_panel@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "$scrolling_pane_size": [ "100%", "100%" ], + "$scroll_size": [ 5, "100% - 8px" ], + "$scrolling_content": "store_inventory.search_object", + "$scroll_bar_left_padding_size": [ 2, 0 ], + "$scroll_bar_right_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": true + } + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 100, + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$toggle_binding", + "source_property_name": "#toggle_state", + "target_property_name": "#visible", + "binding_name_override": "#visible" + } + ] + }, + + "items_content_section@store_inventory.list_panel": { + "$toggle_binding": "owned_toggle", + "$store_offer_grid_collection_name": "items_collection", + "$offer_collection_prefix": "items" + }, + + "subscriptions_content_section": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 4px", "100%" ], + "controls": [ + { + "left_pad": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "search_and_offers_grid_scroll_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100%", "100%" ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "general_section.view_subscriptions_section", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 4, 0 ], + "$show_background": false, + "$bar_visible": true + } + } + ] + }, + + "right_pane_factory": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "collection_name": "right_pane_factory_collection", + "factory": { + "name": "inventory_section_factory", + "control_ids": { + "items_collection_tab": "@store_inventory.items_content_section", + "subscriptions_tab": "@store_inventory.subscriptions_content_section" + }, + "factory_variables": [ + "$store_factory_clipping_event", + "$store_factory_collection_details", + "$store_factory_binding_type", + "$store_factory_collection_prefix", + "$store_factory_collection_name", + "$store_header_size" + ] + }, + "bindings": [ + { + "binding_name": "#inventory_section_content", + "binding_name_override": "#collection_length" + } + ] + }, + + "content_area": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 1, + "focus_container": true, + "use_last_focus": false, + "$focus_id": "right_side", + "focus_navigation_mode_left": "none", + "focus_navigation_mode_right": "stop", + "focus_navigation_mode_down": "contained", + "focus_navigation_mode_up": "contained", + "controls": [ + { + "control": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "right_pane_factory@store_inventory.right_pane_factory": {} + } + ] + } + } + ] + }, + + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + "main_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "inventory_left_panel": { + "type": "panel", + "size": [ "30%", "100%" ], + "controls": [ + { + "inventory_left_image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White", + "color": "$csb_panel_background", + "$fill_alpha|default": 1.0, + "alpha": "$fill_alpha", + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "layer": 1 + } + }, + { + "left_scrolling_panel@common.scrolling_panel": { + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scrolling_content": "store_inventory.inventory_left_panel", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 8px" ], + "$scroll_bar_left_padding_size": [ 4, 0 ], + "layer": 3 + } + } + ] + } + }, + { + "divider_panel": { + "type": "panel", + "size": [ "100%c", "100% + 1px" ], + "controls": [ + { + "main_divider": { + "type": "image", + "size": [ 3, "100%" ], + "offset": [ 0, -1 ], + "tiled": "y", + "texture": "textures/ui/HowToPlayDivider", + "layer": 10 + } + } + ] + } + }, + { + "inventory_right_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "right_panel_background_image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/slider_background.png", + "tiled": true, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "layer": 1 + } + }, + { + "content_right_panel@store_inventory.content_area": {} + } + ] + } + } + ] + }, + + "store_inventory_screen_main_panel": { + "type": "panel", + "controls": [ + { + "main_content_view@sidebar_navigation.sidebar_view": { + "$sidebar_main_view_content": "store_inventory.main_panel" + } + }, + { + "sort_and_filter_modals@common_store.sort_and_filter_menu_modals": {} + } + ] + }, + + "store_search_screen_content": { + "type": "panel", + "alpha": "@common_store.screen_fade_in_alpha_anim", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "$store_factory_clipping_event": "#inventory_grid_clip_event", + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "store_inventory.store_inventory_screen_main_panel", + "$button_text": "store.title" + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed" + } + } + } + ] + }, + + "store_inventory_screen@common_store.store_base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "store_inventory.store_search_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "common_store.store_background", + "$is_full_screen_layout": true, + "$ignore_inventory_button": "$is_sidebar_navigation_enabled", + "variables": [ + { + "requires": "(not $use_animation)", + "$screen_animations": [ + "@common.screen_exit_animation_no_offset" + ], + "$background_animations": [] + }, + { + "requires": "($use_animation or (not $is_sidebar_navigation_enabled))", + "$screen_animations": [ + "@common.screen_exit_animation_pop_offset", + "@common.screen_exit_animation_pop_fade" + ], + "$background_animations": [] + } + ] + }, + + "signin_text_section_body": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$body_text|default": "", + "$secondary_text|default": "" + }, + "signin_text": { + "type": "label", + "text": "$body_text", + "max_size": [ "100%", "100%c" ], + "font_type": "smooth", + "color": "$store_white_text_color" + }, + "signin_text_02": { + "type": "label", + "text": "$secondary_text", + "max_size": [ "100%", "100%c" ], + "font_type": "smooth", + "color": "$store_white_text_color" + }, + + "signin_text_section@store_inventory.signin_text_section_body": { + "controls": [ + { + "signin_text@store_inventory.signin_text": {} + }, + { + "line_1_padding_line_2": { + "type": "panel", + "size": [ "100%", 8 ] + } + }, + { + "signin_text_02@store_inventory.signin_text_02": {} + } + ] + }, + + "sign_in_panel_text_body@common_buttons.text_body_focus_border_for_controller_button": { + "$text_control": "store_inventory.signin_text_section", + "$text_control_size": [ "90%", "100%c" ], + "$signin_body_controls": [ + { + "signin_text_section@store_inventory.signin_text_section": {} + } + ] + } + +} diff --git a/resource_pack/ui/store_item_list_screen.json b/resource_pack/ui/store_item_list_screen.json new file mode 100644 index 0000000..2a37cd1 --- /dev/null +++ b/resource_pack/ui/store_item_list_screen.json @@ -0,0 +1,757 @@ +{ + "namespace": "store_item_list", + + //-------------------------------------------------------------------------------- + // Content + //-------------------------------------------------------------------------------- + + "store_offer_key_art": { + "type": "image", + "size": [ "100% - 2px", "100% - 15px" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#thumbnail_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#thumbnail_texture_file_system", + "binding_name_override": "#texture_file_system" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#item_does_not_meet_requirements", + "binding_name_override": "#grayscale" + } + ] + }, + + "main_panel": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 0 ], + "size": [ "100%", "100%" ], + + "$store_factory_collection_details|default": "none", + "$store_factory_collection_prefix|default": "", + "$store_factory_collection_name|default": "", + + "controls": [ + { + "search_object@common_store.search_object": { + "layer": 1, + "bindings": [ + { + "binding_name": "(not #page_loading_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 15, + "bindings": [ + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "scrolling_content_stack": { + "type": "stack_panel", + "size": [ "100% - 1px", "100%c + 2px" ], + "orientation": "vertical", + "controls": [ + { + "search_panel@common_store.search_object_panel": {} + } + ] + }, + + "store_offer_grid": { + "type": "grid", + "size": [ "100% + 2px", "100%c + 4px" ], + "grid_rescaling_type": "horizontal", + "grid_item_template": "store_item_list.store_offer_grid_item", + "clip_state_change_event": "$store_factory_clipping_event", + "$store_offer_grid_prefix|default": "list", + "$store_offer_grid_collection_name|default": "list_collection", + "collection_name": "$store_offer_grid_collection_name", + + "$store_offer_grid_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#max_grid_offers", + "binding_name_override": "#maximum_grid_items" + } + ], + "bindings": "$store_offer_grid_bindings" + }, + + "persona_offer_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_rescaling_type": "horizontal", + + "$piece_section_collection_details": "$store_factory_collection_details", + "$piece_section_collection_prefix": "$store_factory_collection_prefix", + "$piece_section_collection_name": "$store_factory_collection_name", + + "$hide_while_loading": false, + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + + "$persona_piece_collection_details|default": "collection_details", + "$persona_piece_binding_type|default": "collection", + "$persona_piece_collection_name|default": "offer_collection", + "$persona_piece_prefix|default": "offer", + + "$filesystem_binding_type": "collection", + + "grid_item_template": "persona_sdl.persona_piece_offer", + "clip_state_change_event": "$store_factory_clipping_event", + "collection_name": "$persona_piece_collection_name", + + "$store_offer_grid_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#max_grid_offers", + "binding_name_override": "#maximum_grid_items" + } + ], + "bindings": "$store_offer_grid_bindings" + }, + + "vertical_store_offer_grid": { + "type": "grid", + "size": [ "100% + 2px", "100%c + 4px" ], + "grid_rescaling_type": "vertical", + "grid_item_template": "store_item_list.store_offer_grid_item", + "clip_state_change_event": "$store_factory_clipping_event", + "$store_offer_grid_prefix|default": "list", + "$store_offer_grid_collection_name|default": "list_collection", + "collection_name": "$store_offer_grid_collection_name", + + "$store_offer_grid_bindings|default": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$store_factory_binding_type", + "binding_collection_name": "$store_factory_collection_name", + "binding_name": "#max_grid_offers", + "binding_name_override": "#maximum_grid_items" + } + ], + "bindings": "$store_offer_grid_bindings" + }, + + "store_offer_title": { + "type": "label", + "size": [ "100%", 10 ], + "text": "#title_label", + "enable_profanity_filter": false, + "color": "$body_text_color", + "font_type": "smooth", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#title_label" + } + ] + }, + + "store_offer_grid_item": { + "type": "panel", + "$store_offer_grid_item_size|default": [ "25%", "56.25%x + 36px" ], + "size": "$store_offer_grid_item_size", + + "$offer_category_collection_details|default": "none", + "$offer_category_collection_name|default": "", + "$offer_category_collection_prefix|default": "", + + "$offer_binding_type|default": "collection", + "$offer_collection_details|default": "collection_details", + "$offer_collection_name": "$store_offer_grid_collection_name", + "$offer_collection_prefix": "$store_offer_grid_prefix", + "$is_purchase_button": false, + + "controls": [ + { + "frame@common_store.store_description_background": { + "size": [ "100% - 2px", "100% - 2px" ], + "layer": 3, + "controls": [ + { + "key_art@store_item_list.store_offer_key_art": { + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": [ 0, 0, 0 ], + "layer": 2 + } + }, + { + "csb_expiration_banner@common_store.csb_expiration": {} + } + ] + } + }, + { + "progress@common_store.offer_download_progress": { + "size": [ "100%", 30 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 6 + } + }, + { + "title_label_panel": { + "type": "panel", + "size": [ "100% - 6px", 20 ], + "offset": [ 3, -14 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$ignore_creator|default": false, + "$offer_title_binding_type": "$offer_binding_type", + "$offer_title_collection_name": "$offer_collection_name", + "controls": [ + { + "durable_offer_title_label": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "(not #is_offer_collection_query)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "title@store_item_list.store_offer_title": {} + }, + { + "creator_label@common_store.store_offer_item_creator_panel": {} + } + ] + } + }, + { + "offer_collection_title@store_item_list.store_offer_title": { + "size": [ "100%", "100%" ], + "offset": [ 0, 10 ], + "text_alignment": "center", + "font_scale_factor": 1.3, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#is_offer_collection_query", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#title_label" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "durable_offer_info_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "(not #progress_visible)", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "unowned_offer_status_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 13 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "use_priority": true, + "controls": [ + { + "rtx_label@common_store.rtx_label": { + "size": [ 20, 14 ], + "priority": 5, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#rtx_label_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "subscription_panel@common_store.subscription_chevron": { + "$subscription_offer_binding_type": "$offer_binding_type", + "$subscription_offer_collection_name": "$offer_collection_name" + } + }, + { + "sales_markdown_percentage_panel": { + "type": "panel", + "size": [ "100%c", 12 ], + "priority": 2, + "controls": [ + { + "markdown_background@common_store.markdown_background": { + "layer": 9, // Needs to be a higher layer than the strikethru text + "$markdown_label": "common_store.row_offer_sale_markdown", + "$icon_stack_visibility_collection": "$offer_collection_name", + "$icon_stack_visibility_type": "$offer_binding_type", + "offset": [ 0, 1.25 ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#offer_markdown_visible", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "ratings@common_store.store_offer_ratings": { + "$rating_text_binding_type": "collection", + "priority": 6, + "$rating_star_offset": [ 0, -1.5 ] + } + }, + { + "pack_icon_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "priority": 2, + "controls": [ + { + "pack_icon_stack@common_store.pack_icon_stack": { + "offset": [ 0, 2 ], + "$icon_stack_visibility": "#bundle_or_hero_pack_icon_section_visible", + "$icon_stack_visibility_type": "$offer_binding_type", + "$icon_stack_visibility_collection": "$offer_collection_name", + "$offer_category_collection_details": "none", + "$offer_category_collection_name": "", + "$offer_category_collection_prefix": "", + "$is_purchase_button": false, + "$icon_color": "$store_offer_type_icon_color" + } + } + ] + } + }, + { + "fill_markdown_panel_left": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "markdown_panel@common_store.offer_price_markdown_panel": { + "priority": 3, + "$offer_price_offset": [ 0, 2 ] + } + }, + { + "padding_markdown_panel_right": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "offer_prompt_panel@common_store.offer_prompt_panel": { + "priority": 0 + } + }, + { + "padding_6": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "(not #is_owned)", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "owned_offer_status_panel": { + "type": "panel", + "size": [ "100%", 13 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#is_owned", + "binding_collection_name": "$offer_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "owned_status_text": { + "type": "label", + "color": "$coin_color", + "size": [ "100% - 6px", 10 ], + "offset": [ 0, 0.5 ], + "text": "#owned_status_text", + "font_type": "smooth", + "layer": 4, + "tts_override_control_value": "#owned_status_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$offer_collection_name" + }, + { + "binding_type": "$offer_binding_type", + "binding_name": "#owned_status_text", + "binding_collection_name": "$offer_collection_name" + } + ] + } + } + ] + } + } + ] + } + }, + // This is the border hover/press states and click region, since the controls are complex it is better to draw a simple white border + // around the content rather than create 3 sets of each control when only the border changes + { + "offer_button@common.button": { + "layer": 4, + "default_control": "", + "tts_inherit_siblings": true, + "$pressed_button_name": "button.select_offer", + "property_bag": { + "#collection_prefix": "$store_offer_grid_prefix", + "#collection_name": "$offer_collection_name" + }, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$offer_collection_details", + "binding_collection_name": "$offer_collection_name", + "binding_collection_prefix": "$store_offer_grid_prefix" + + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#top_row_focus_override_up", + "binding_name_override": "#focus_change_up" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#left_most_grid_item_focus_override_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "$offer_binding_type", + "binding_collection_name": "$offer_collection_name", + "binding_name": "#right_most_grid_item_focus_override_right", + "binding_name_override": "#focus_change_right", + "binding_condition": "visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.select_offer", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.select_offer", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover": { + "type": "panel", + "layer": 2, + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "layer": 2 + } + } + ] + } + } + ] + } + }, + { + "pressed": { + "type": "panel", + "layer": 2, + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100% - 2px", "56.25%x" ], + "offset": [ 0, 1 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "layer": 2 + } + } + ] + } + } + ] + } + }, + { + "offer_status_icon@common_store.status_icon_panel": { + "$grid_collection_name": "$offer_collection_name", + "$update_icon_offset": [ 0, -1 ], + + "$status_icon_factory_collection_details": "$store_factory_collection_details", + "$status_icon_factory_collection_prefix": "$store_factory_collection_prefix", + "$status_icon_factory_collection_name": "$store_factory_collection_name" + } + } + ] + } + } + ] + } + } + ] + }, + + ////-------------------------------------------------------------------------------- + //// Screen + ////-------------------------------------------------------------------------------- + + "store_item_list_screen@common_store.store_base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.search", + "mapping_type": "global", + "ignored": "$is_on_3p_server" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ], + "variables": [ + { + "requires": "$is_sales_collection", + "$search_offer_content": "store_sale_item_list.sales_offer_content" + }, + { + "requires": "(not $is_sales_collection)", + "$content_between_searchbar_and_results": "store_sale_item_list.sales_offer_content" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "store_item_list.store_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "common_store.store_background", + "$is_full_screen_layout": true, + "$fill_alpha": 0.75 + }, + + "store_screen_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "propagate_alpha": true, + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "offset": [ 0, 0 ], + "$child_control": "store_item_list.main_panel" + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed" + } + } + } + ] + } +} diff --git a/resource_pack/ui/store_progress_screen.json b/resource_pack/ui/store_progress_screen.json new file mode 100644 index 0000000..c5973ee --- /dev/null +++ b/resource_pack/ui/store_progress_screen.json @@ -0,0 +1,111 @@ +{ + "namespace": "store_progress", + + "store_progress_screen@common.base_screen": { + "$screen_content": "store_progress.screen_content", + "$screen_background_control": "store_progress.screen_background", + "$fill_alpha": 1, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + }, + + "screen_content": { + "type": "panel", + "controls": [ + { + "title_image": { + "type": "image", + "size": [ "262%y", 69 ], + "offset": [ 0, 15 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "texture": "textures/ui/minecraft_marketplace_title" + } + }, + { + "progress_dialog@common_dialogs.main_panel_no_buttons": { + "size": "$world_modal_screen_size", + "$text_name": "store.progress.dialog.title", + "$child_control": "store_progress.dialog_content" + } + } + ] + }, + + "dialog_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 10px", "100% - 12px" ], + "controls": [ + { + "tooltip_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "tooltip_text": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#tooltip_text", + "color": "$store_white_text_color", + "bindings": [ + { + "binding_name": "#tooltip_text" + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "progress_panel": { + "type": "panel", + "size": [ "100%", 5 ], + "controls": [ + { + "empty_progress_bar@common_store.store_empty_progress_bar_icon": { + "layer": 1 + } + }, + { + "progress_percent_panel": { + "type": "panel", + "controls": [ + { + "full_progress_bar@common_store.store_full_progress_bar_icon": { + "layer": 2 + } + }, + { + "progress_bar_nub@common_store.store_progress_bar_nub": { + "size": [ "100% - 11px", 5 ], + "layer": 3 + } + } + ] + } + } + ] + } + } + ] + }, + + "screen_background": { + "type": "image", + "texture": "textures/ui/store_progress_screen_background", + "tiled": "x" + } +} diff --git a/resource_pack/ui/store_promo_timeline_screen.json b/resource_pack/ui/store_promo_timeline_screen.json new file mode 100644 index 0000000..1939863 --- /dev/null +++ b/resource_pack/ui/store_promo_timeline_screen.json @@ -0,0 +1,3955 @@ +{ + "namespace": "promo_timeline", + + "promo_banner_factory": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + + "factory": { + "name": "promo_banner_factory", + "control_ids": { + "mpass_banner": "@csb_banner.csb_banner", + "promo_banner": "@promo_timeline.promo_banner_holiday_panel" + }, + "factory_variables": [ + "$store_factory_collection_details", + "$store_factory_collection_prefix", + "$store_factory_collection_name" + ] + }, + "bindings": [ + { + "binding_name": "#section_content", + "binding_name_override": "#collection_length" + }, + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + }, + + "promo_banner_button_content": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "promo_banner_button@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "offset": [ 0, -1 ], + "color": "$text_color", + "text": "#banner_button_text", + "font_scale_factor": 0.8, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_page_is_ready", + "binding_name_override": "#visible" + }, + { + "binding_name": "#banner_button_text" + } + ] + } + }, + { + "progress_loading_spinner@common_store.progress_loading_spinner": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #promo_page_is_ready)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "promo_banner_image": { + "type": "image", + "size": [ "100%", "13.67%x" ], + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#banner_texture_name", + "binding_name_override": "#texture" + }, + { + "binding_name": "#banner_texture_filepath", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "promo_banner_panel_content": { + "type": "panel", + "size": [ "100% - 8px", "100%cm + 8px" ], + "controls": [ + { + "banner_image@promo_timeline.promo_banner_image": {} + }, + { + "banner_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 10px", "100%sm - 10px" ], + "offset": [ 2, 2 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "title_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "banner_title@promo_timeline.sdl_text_minecraftTen_aligned_panel": { + "$aligned_text_scale_factor": 1.2, + "$aligned_text": "#banner_title_text", + "$aligned_text_color": "#title_text_color", + "$text_color_binding_type": "global", + "$alignment_binding_type": "global", + "$left_padding_visible_binding": "#banner_title_left_padding_visible", + "$right_padding_visible_binding": "#banner_title_right_padding_visible" + + } + } + ] + } + }, + { + "description@promo_timeline.sdl_text_aligned_panel": { + "$aligned_text_scale_factor": 0.8, + "$aligned_text": "#banner_description_text", + "$aligned_text_color": "#description_text_color", + "$text_color_binding_type": "global", + "$alignment_binding_type": "global", + "$left_padding_visible_binding": "#banner_description_left_padding_visible", + "$right_padding_visible_binding": "#banner_description_right_padding_visible" + } + } + ] + } + }, + { + "button_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 10px", "100%cm" ], + "offset": [ 2, -6 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + + "$left_padding_visible_binding": "#banner_button_left_padding_visible", + "$right_padding_visible_binding": "#banner_button_right_padding_visible", + + "controls": [ + { + "left_offset": { + "type": "panel", + "size": [ 5, "100%sm" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$left_padding_visible_binding", + "binding_name_override": "#visible" + } + ] + } + }, + { + "banner_button@promo_timeline.sdl_content_aligned_panel": { + "$aligned_text_scale_factor": 0.8, + "$aligned_control": "promo_timeline.banner_button", + "$aligned_text": "#banner_description_text", + "$aligned_text_color": "#description_text_color", + "$text_color_binding_type": "global", + "$alignment_binding_type": "global" + } + }, + { + "right_offset": { + "type": "panel", + "size": [ 5, "100%sm" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$right_padding_visible_binding", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "promo_banner_holiday_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "banner_full_button@common.button": { + "size": [ "100%", "100%c" ], + "layer": 3, + "$focus_id": "banner_full_button", + "$focus_override_down": "banner_button", + "$pressed_button_name": "button.promotion_page", + + "$button_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$pressed_alpha|default": 1, + "$button_type_panel|default": "common_buttons.button_content_panel", + "$button_content|default": "common.empty_panel", + "$button_state_panel|default": "common_buttons.new_ui_button_panel", + + "$default_button_alpha|default": 1, + "$default_hover_alpha|default": 1, + "$default_pressed_alpha|default": 1, + "$border_default_alpha|default": 1, + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + "$default_state_border_visible|default": true, + "$hover_state_border_visible|default": true, + "$pressed_state_border_visible|default": true, + "$locked_state_border_visible|default": true, + + "$default_text_color|default": "$light_button_default_text_color", + + "$default_button_texture|default": "textures/ui/button_borderless_light", + "$default_content_alpha|default": 1, + "$hover_content_alpha|default": 1, + "$hover_button_texture|default": "textures/ui/button_borderless_lighthover", + "$pressed_button_texture|default": "textures/ui/button_borderless_lightpressed", + "$locked_button_texture|default": "textures/ui/disabledButtonNoBorder", + + "locked_control": "", + + "$default_font|default": "default", + "$font_type": "$default_font", + "$locked_alpha": 1, + + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_page_is_ready", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "default@promo_timeline.promo_banner_panel_content": { + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$default_text_color", + "$content_alpha": "$default_content_alpha", + "$secondary_text_color": "$light_button_secondary_default_text_color", + "$glyph_color": "$light_glyph_default_color", + "$border_color": "$light_border_default_color", + "$button_alpha": "$default_button_alpha", + "$border_visible": "$default_state_border_visible", + "$border_layer": 2, + "$default_state": true, + "$border_alpha": "$border_default_alpha", + "layer": 1 + } + }, + { + "hover@promo_timeline.promo_banner_panel_content": { + "$new_ui_button_texture": "$hover_button_texture", + "$text_color": "$light_button_hover_text_color", + "$secondary_text_color": "$light_button_secondary_hover_text_color", + "$glyph_color": "$light_glyph_hover_color", + "$content_alpha": "$hover_content_alpha", + "$border_color": "$light_border_hover_color", + "$border_visible": "$hover_state_border_visible", + "$border_layer": 3, + "$hover_state": true, + "$button_alpha": "$default_hover_alpha", + "layer": 2 + } + }, + { + "pressed@promo_timeline.promo_banner_panel_content": { + "$new_ui_button_texture": "$pressed_button_texture", + "$text_color": "$light_button_pressed_text_color", + "$secondary_text_color": "$light_button_secondary_pressed_text_color", + "$glyph_color": "$light_glyph_pressed_color", + "$content_alpha": "$pressed_alpha", + "$button_offset": "$button_pressed_offset", + "$border_color": "$light_border_pressed_color", + "$border_visible": "$pressed_state_border_visible", + "$border_layer": 3, + "$button_alpha": "$default_pressed_alpha", + "$pressed_state": true, + "layer": 3 + } + } + ] + } + } + ] + }, + + "image_message_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "image_message_row_content@promo_timeline.image_message_row_content": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "image_message_row_content": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "gray_background@common_store.store_description_background": { + "size": [ "100% - 8px", "100%c" ], + "layer": 2, + "controls": [ + { + "message_text": { + "type": "label", + "layer": 3, + "size": [ "100% - 20px", "default" ], + "min_size": [ "100% - 20px", "10%x" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "offset": [ 0, 8 ], + "text": "#row_message_text", + "color": "$body_text_color", + "text_alignment": "center", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#row_message_text" + } + ] + } + }, + { + "row_image@promo_timeline.promo_image_panel": {} + } + ] + } + }, + { + "row_button@common_buttons.light_content_button": { + "size": [ "100% - 8px", "100%sm" ], + "$focus_id": "row_button", + "$pressed_button_name": "button.row_button", + "$default_button_alpha": 0, + "$default_hover_alpha": 0, + "$default_pressed_alpha": 0, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#is_using_gamepad", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "promo_image_panel": { + "type": "image", + "layer": 3, + "size": [ 194, "100%c" ], + "controls": [ + { + "button_image_panel@promo_timeline.promo_button_image_panel": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(#store_row_image_animation_name = '')", // static image is visible if no animation is available + "binding_name_override": "#visible" + } + ] + } + }, + { + "button_animated_panel@promo_timeline.promo_button_image_panel": { + "$promo_button_image_content": "promo_timeline.promo_button_animation", + "$promo_texture_binding_name": "#store_row_image_animation_name", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not (#store_row_image_animation_name = ''))", // animation is visible if service response contains animation field + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "promo_button_image_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$promo_button_image_content|default": "promo_timeline.promo_button_image", + "$promo_texture_binding_name|default": "#store_row_image_texture_name", + "controls": [ + { + "button_image@$promo_button_image_content": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#image_is_ready", + "binding_name_override": "#visible" + }, + { + "binding_name": "$promo_texture_binding_name", + "binding_name_override": "#texture" + }, + { + "binding_name": "#store_row_image_texture_filepath", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + }, + + "promo_button_image": { + "type": "image", + "size": [ 194, 80 ], + "texture": "$promo_texture_binding_name", + "allow_debug_missing_texture": false, + "layer": 1 + }, + + "promo_button_animation": { + "type": "image", + "texture": "$promo_texture_binding_name", + "size": [ 194, 80 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 0, 0 ], + "layer": 50, + "uv_size": [ 194, 80 ], + "uv": "@promo_timeline.wishlist_rabbit_ui_animation", + "disable_anim_fast_forward": true + }, + + "wishlist_rabbit_ui_animation": { + "anim_type": "aseprite_flip_book", + "initial_uv": [ 0, 0 ] + }, + + "banner_button@common_buttons.new_ui_width_fitting_button_panel": { + "size": [ "100%c", 16 ], + "$button_type_panel": "common_buttons.width_fitting_button_content_panel", + "$button_content": "promo_timeline.promo_banner_button_content", + "$button_size_override": [ "100%c + 8px", "100%" ], + "$anchor": "bottom_left", + "layer": 4, + "$focus_id": "banner_button", + "$focus_override_up": "banner_full_button", + "$pressed_button_name": "button.promotion_page", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_page_is_ready", + "binding_name_override": "#enabled" + } + ] + }, + + "sdl_text_aligned_panel@promo_timeline.sdl_content_aligned_panel": { + "$aligned_control": "promo_timeline.sdl_aligned_text", + "$aligned_text_font_type|default": "smooth", + "$aligned_text_scale_factor|default": 1, + "$aligned_text_color|default": "$body_text_color", + "$aligned_text|default": "", + "$text_color_binding_type|default": "none" + }, + + "sdl_text_minecraftTen_aligned_panel@promo_timeline.sdl_content_aligned_panel": { + "size": [ "fill", "100%cm" ], + "$aligned_control": "promo_timeline.sdl_aligned_minecraftTen_text", + "$aligned_text_scale_factor|default": 1, + "$aligned_text_color|default": "$body_text_color", + "$aligned_text|default": "", + "$text_color_binding_type|default": "none" + }, + + "sdl_content_aligned_panel": { + "type": "stack_panel", + "size": [ "100%", "100%cm" ], + "orientation": "horizontal", + "$left_padding_visible_binding|default": "", + "$right_padding_visible_binding|default": "", + "$alignment_binding_type|default": "none", + "$alignment_collection_name|default": "", + + "$aligned_control|default": "common.empty_panel", + "controls": [ + { + "left__padding_panel": { + "size": [ "fill", "100%sm" ], + "type": "panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$left_padding_visible_binding", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#visible" + } + ] + } + }, + { + "control@$aligned_control": {} + }, + { + "right_padding_panel": { + "size": [ "fill", "100%sm" ], + "type": "panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$right_padding_visible_binding", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "sdl_aligned_text": { + "type": "label", + "size": [ "default", "default" ], + "max_size": [ "40%", 20 ], + "font_type": "$aligned_text_font_type", + "font_scale_factor": "$aligned_text_scale_factor", + "color": "$aligned_text_color", + "text": "$aligned_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$aligned_text", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name" + }, + { + "binding_name": "$aligned_text_color", + "binding_type": "$text_color_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#color" + } + ] + }, + + "sdl_aligned_minecraftTen_text@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "max_size": [ "100%", "default" ], + "font_scale_factor": "$aligned_text_scale_factor", + "color": "$aligned_text_color", + "text": "$aligned_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$aligned_text", + "binding_type": "$alignment_binding_type", + "binding_collection_name": "$alignment_collection_name" + }, + { + "binding_name": "$aligned_text_color", + "binding_type": "$text_color_binding_type", + "binding_collection_name": "$alignment_collection_name", + "binding_name_override": "#color" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Reusable Promotion Landing + //-------------------------------------------------------------------------------- + + "colored_direction_button_panel": { + "type": "panel", + "$direction_gamepad_button_helper|default": "gamepad_helper@common.gamepad_helper_right_bumper", + "controls": [ + { + "chevron_image@common.chevron_image": { + "color": "$text_color", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "$direction_gamepad_button_helper": { + "offset": [ 0, 4 ], + "anchor_from": "center", + "anchor_to": "center", + "$hide_description|default": true, + "$gamepad_helper_icon_size|default": [ 18, 18 ] + } + } + ] + }, + + "left_corner_art": { + "type": "image", + "size": [ "103.22%y", 96 ], + "offset": [ -3, -5 ], + "bilinear": true, + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 0, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#left_corner_image_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_name": "#left_corner_image_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "right_corner_art": { + "type": "image", + "size": [ "103.22%y", 96 ], + "offset": [ 0, -5 ], + "bilinear": true, + "anchor_to": "top_right", + "anchor_from": "top_right", + "layer": 0, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#right_corner_image_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_name": "#right_corner_image_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + }, + + "promo_landing_panel": { + "type": "input_panel", + "size": [ "100%", "100%cm" ], + "$use_transparent_background": false, + "controls": [ + { + "promo_landing_panel_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "offset": [ -2, 2 ], + "controls": [ + { + "promo_top@promo_timeline.promotion_screen_top_section": {} + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "promo_bottom_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "promo_bottom": { + "type": "image", + "size": [ "100% - 4px", "100%cm" ], + "offset": [ 1, 0 ], + "texture": "textures/ui/promo_background", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 5, + "controls": [ + { + "promotion_period_carousel_panel": { + "type": "input_panel", + "size": [ "100% - 2px", "100%cm" ], + "layer": 3, + "$ignore_cycle_buttons": false, + "$focus_id": "period_carousel_panel", + "controls": [ + { + "left_button_panel": { + "type": "panel", + "size": [ "100%c", "100%sm - 10px" ], + "offset": [ 3, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "left_button@common_store.cycle_pack_left_button": { + "$pressed_button_name": "button.cycle_promotions_left", + "$button_content": "promo_timeline.colored_direction_button_panel", + "size": [ 20, "100%" ], + "$focus_id": "left_cycle_button_focus", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#cycle_promotions_left_button_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#left_cycle_button_right_focus_override", + "binding_name_override": "#focus_change_right" + } + ] + } + } + ] + } + }, + { + "offer_grid@promo_timeline.promotion_period_offer_panel": {} + }, + { + "right_button_panel": { + "type": "panel", + "size": [ "100%c", "100%sm - 10px" ], + "offset": [ -1, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "right_button@common_store.cycle_pack_right_button": { + "$pressed_button_name": "button.cycle_promotions_right", + "$button_content": "promo_timeline.colored_direction_button_panel", + "size": [ 20, "100%" ], + "$focus_id": "right_cycle_button_focus", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#cycle_promotions_right_button_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#right_cycle_button_left_focus_override", + "binding_name_override": "#focus_change_left" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + }, + { + "left_corner_art@promo_timeline.left_corner_art": {} + }, + { + "right_corner_art@promo_timeline.right_corner_art": {} + } + ] + }, + + "promotion_screen_top_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "layer": 1, + "controls": [ + { + "main_panel@promo_timeline.promotion_top_main_panel": {} + } + ] + }, + + "promotion_top_main_panel": { + "type": "image", + "size": [ "90%", "100%c + 8px" ], + "texture": "textures/ui/promo_background", + "layer": 4, + "controls": [ + { + "promotion_top_main_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "100%c" ], + "controls": [ + { + "main_panel_title@promo_timeline.main_panel_title": {} + }, + { + "promo_single_top": { + "type": "input_panel", + "size": [ "100%", "100%c + 6px" ], + "controls": [ + { + "single_item_view@promo_timeline.promo_detail_panel": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$tooltip_button_collection_name": "", + "$tooltip_text_binding_type": "global" + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_single_item_selected", + "binding_name_override": "#visible" + } + ] + } + }, + { + "promo_multi_item@common.scrolling_panel": { + "size": [ "100%", "28.125%x + 22px" ], //Half of the original aspect accounting for static elements + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 8px" ], + "$scrolling_content": "promo_timeline.promo_multi_item_grid", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": false, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #promo_single_item_selected)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "main_panel_title": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "layer": 1, + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "header_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 8px", 10 ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ 8, "100%" ] + } + }, + { + "back_button_centering_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "button@common.back_button": { + "$button_text": "", + "$back_button_pressed_button_name": "button.go_back", + "$button_content": "common.back_title_button_content", + "$button_tts_header": "accessibility.button.back", + "$default_text_color": "$store_white_text_color", + "$focus_override_right": "claim_day_button", + "$focus_id": "multi_promo_back_button", + "bindings": [ + { + "binding_name": "#back_button_visible", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$back_button_pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$back_button_pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$back_button_pressed_button_name", + "mapping_type": "global", + "button_up_right_of_first_refusal": true + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "header_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "min_size": [ "fill", "100%" ], + "controls": [ + { + "title_and_description": { + "type": "label", + "size": [ "default", 10 ], + "color": "$main_header_text_color", + "text": "#promotion_day_header", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promotion_day_header" + } + ] + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "claim_all_button_panel": { + "type": "panel", + "size": [ "100%c", "100% - 2px" ], + "controls": [ + { + "claim_all_button@common_buttons.light_text_form_fitting_button": { + "size": [ "100%c", "100%c - 2px" ], + "offset": [ 0, -1 ], + "$pressed_button_name": "button.claim_all", + "$button_text": "store.promo.claimDay", + "$button_font_scale_factor": 0.7, + "$button_text_max_size": [ "default", 6 ], + "$locked_text_color": "$0_color_format", + "$focus_id": "claim_day_button", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#is_claim_all_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#is_claim_all_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "divdier_centering_panel": { + "type": "panel", + "size": [ "100%", 1 ], + "controls": [ + { + "divider": { + "size": [ "100% - 12px", 1 ], + "type": "image", + "texture": "textures/ui/divider2", + "alpha": 0.2, + "layer": 1 + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "promo_multi_item_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "focus_identifier": "promo_multi_item_grid", + "grid_item_template": "promo_timeline.promo_grid_item", + "$tooltip_button_collection_name": "gift_promotion_collection_items", + "collection_name": "$tooltip_button_collection_name", + "grid_rescaling_type": "horizontal", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_grid_offers", + "binding_name_override": "#maximum_grid_items" + } + ] + }, + + "promo_button@common.button": { + "layer": 11, + "$pressed_button_name": "button.select_promotion_item", + "tts_inherit_siblings": true, + "$focus_override_up": "claim_day_button", + "$focus_override_down": "period_carousel_panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "(not #platform_restricted)", + "binding_name_override": "#enabled" + } + ], + "controls": [ + { + "default": { + "type": "panel", + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { + "key_art_frame@common.focus_border_black": { + "size": [ "100%cm + 1.1249px", "100%" ], // additive px based on aspect up the tree + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "controls": [ + { + "sizing_panel": { + "type": "panel", + "size": [ "177.78%y", "100% - 2px" ] //rounded width based on height + } + }, + { + "platform_restricted_warning_image": { + "type": "image", + "size": [ 10, 20 ], + "layer": 5, + "texture": "textures/ui/WarningGlyph", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "(#platform_restricted)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "button_frame@common.focus_border_black": { + "size": [ "100%", "100%" ], + "layer": 3 + } + } + ] + } + } + ] + } + }, + { + "hover": { + "type": "panel", + "controls": [ + { + "key_art_size_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100%c + 1.1249px", "100%" ], // additive px based on aspect up the tree + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "controls": [ + { + "sizing_panel": { + "type": "panel", + "size": [ "177.78%y", "100% - 2px" ] //rounded width based on height + } + } + ] + } + }, + { + "button_frame@common.square_image_border_white": { + "size": [ "100%", "100%" ], + "layer": 3 + } + } + ] + } + } + ] + } + }, + { + "pressed": { + "type": "panel", + "controls": [ + { + "key_art_frame@common.square_image_border_white": { + "size": [ "100%c + 1.1249px", "100%" ], //additive px based on aspect up the tree + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "controls": [ + { + "sizing_panel": { + "type": "panel", + "size": [ "177.78%y", "100% - 2px" ] //rounded width based on height + } + } + ] + } + }, + { + "button_frame@common.square_image_border_white": { + "size": [ "100%", "100%" ], + "layer": 3 + } + } + ] + } + } + ] + }, + + "promo_grid_item": { + "type": "panel", + "size": [ "50% - 4px", 40 ], + "controls": [ + { + "background_image@common_store.store_description_background": { + "size": [ "100% - 6px", "100% - 6px" ], + "layer": 1, + "controls": [ + { + "promo_content@promo_timeline.promo_grid_item_content": { + "layer": 1 + } + } + ] + } + }, + { + "promo_button@promo_timeline.promo_button": { + "size": [ "100% - 4px", "100% - 4px" ] + } + }, + { + "platform_restricted_error_multi_item@promo_timeline.platform_restricted_error": {} + } + ] + }, + + "platform_restricted_error": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "layer": 18, + "controls": [ + { + "platform_restricted_error_button@common.button": { + "$pressed_button_name": "button.platform_restricted", + "controls": [ + { + "default": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 5 + } + }, + { + "hover@common.square_image_border_white": {} + }, + { + "pressed": { + "type": "panel", + "size": [ "100%, 100%" ] + } + }, + { + "white_overlay_to_gray_out": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/button_borderless_light", + "alpha": 0.5 + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#platform_restricted", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "promo_grid_item_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "thumbnail_image": { + "type": "image", + "bilinear": true, + "size": [ "177.78%y", "100%" ], //rounded width based on height + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "(not #promo_item_is_persona)", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#promotion_thumbnail_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#promotion_thumbnail_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "persona_key_art_frame": { + "type": "panel", + "size": [ "177.78%y", "100%" ], + "layer": 6, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#promo_item_is_persona", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#promo_item_is_persona", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "persona_image_panel": { + "type": "image", + "size": [ "100% - 2px", "100% - 2px" ], + "layer": 5, + "bilinear": true, + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#promo_persona_thumbnail_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#promo_persona_thumbnail_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "background@persona_common.item_rarity_color_background": { + "size": [ "100%", "100%" ], + "$rarity_background_alpha": 1, + "$rarity_color_background_texture": "textures/ui/button_borderless_light", + "$rarity_binding_type": "collection", + "$rarity_collection_name": "gift_promotion_collection_items", + "layer": 1, + "$rarity_background_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$rarity_binding_type", + "binding_collection_name": "$rarity_collection_name", + "binding_name": "#rarity_color", + "binding_name_override": "#color" + } + ] + } + }, + { + "rarity_bar_panel@persona_common.rarity_bar": { + "size": [ "100%", 3 ], + "layer": 6, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#rarity_bar_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name": "#promotion_offer_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "title_tooltip": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "promo_title@common.minecraftTenLabel": { + "size": [ "100%", 24 ], + "text": "#item_title_text", + "anchor_from": "top_left", + "anchor_to": "top_left", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#item_title_text", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items" + } + ] + } + }, + { + "tooltip@promo_timeline.promo_timer_panel": { + "$indent_padding_visible": false, + "$valid_tooltip_binding_type": "collection", + "$valid_tooltip_binding_collection_name": "gift_promotion_collection_items" + } + } + ] + } + } + ] + }, + + "promotion_period_grid_panel": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "promotion_offer_grid_image": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection" + }, + { + "binding_name": "#is_valid", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection" + } + ], + "controls": [ + { + "item_selected_bg": { + "type": "image", + "size": [ "100% + 4px", "100%sm" ], + "texture": "textures/ui/white_background", + "color": "black", + "fill": true, + "keep_ratio": true, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#this_promo_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection" + } + ] + } + }, + { + "promotion_offer_grid_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c + 2px" ], + "layer": 2, + "controls": [ + { + "day_label_panel": { + "type": "panel", + "size": [ "100%", 13 ], + "controls": [ + { + "day_label@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "color": "$body_text_color", + "text": "#promotion_day_text", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 5, + "offset": [ 0, 0 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection" + }, + { + "binding_name": "#promotion_day_text", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection" + } + ] + } + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "image_centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "image_panel": { + "type": "panel", + "size": [ "90%", "100%x" ], + "controls": [ + { + "item_button@promo_timeline.promotion_period_grid_item": {} + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "promotion_period_offer_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 46px", "100%cm" ], + "offset": [ 1, 0 ], + "focus_container": true, + "use_last_focus": true, + "collection_name": "gift_promotion_collection", + "controls": [ + { + "period_1@promo_timeline.promotion_period_grid_panel": { + "collection_index": 0, + "$focus_id": "period_1" + } + }, + { + "padding_0": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + }, + { + "period_2@promo_timeline.promotion_period_grid_panel": { + "collection_index": 1, + "$focus_id": "period_2" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + }, + { + "period_3@promo_timeline.promotion_period_grid_panel": { + "collection_index": 2, + "$focus_id": "period_3" + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + }, + { + "period_4@promo_timeline.promotion_period_grid_panel": { + "collection_index": 3, + "$focus_id": "period_4" + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + }, + { + "period_5@promo_timeline.promotion_period_grid_panel": { + "collection_index": 4, + "$focus_id": "period_5" + } + }, + { + "padding_4": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + }, + { + "period_6@promo_timeline.promotion_period_grid_panel": { + "collection_index": 5, + "$focus_id": "period_6" + } + }, + { + "padding_5": { + "type": "panel", + "size": [ 1, "100%sm" ] + } + }, + { + "period_7@promo_timeline.promotion_period_grid_panel": { + "collection_index": 6, + "$focus_id": "period_7" + } + } + ] + }, + + "toggle_button_control": { + "type": "panel", + "layer": 2, + "size": "$size", + "focus_container": true, + "controls": [ + { + "green_check": { + "type": "image", + "size": [ 15, 12 ], + "texture": "textures/ui/realms_green_check", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ 3, -1 ], + "layer": 15, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#period_has_been_claimed", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection" + } + ] + } + }, + { + "key_art_image_panel": { + "type": "panel", + "size": [ "80%", "80%" ], + "controls": [ + { + "image_loading_panel@common_store.progress_loading": { + "layer": 100, // Make this on top + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "$source_control_name": "key_art_image", + "$source_property_name": "(#texture = '')" + } + }, + { + "key_art_image": { + "type": "image", + "bilinear": false, + "layer": 4, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection", + "binding_name": "(not (#promotion_thumbnail_texture_path = ''))", + "binding_name_override": "#visible" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection", + "binding_name": "#promotion_thumbnail_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection", + "binding_name": "#promotion_thumbnail_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection" + } + ] + }, + + "checked_border@common_toggles.toggle_checked": { + "$border_visible": true, + "$border_color": [ 1, 1, 1 ] + }, + + "promotion_period_grid_item": { + "type": "panel", + "$size": [ "100%", "100%" ], + "$is_world_item|default": false, + + "variables": [ + { + "requires": "(not $is_world_item)", + "$size": [ "100%", "100%x" ] + } + ], + + "controls": [ + { + "frame": { + "type": "panel", + "size": "$size", + "controls": [ + { + "offer_button": { + "type": "panel", + "layer": 11, + "controls": [ + { + "offer_toggle_button@common_toggles.dark_ui_toggle": { + "$button_type_panel": "promo_timeline.toggle_button_control", + "$toggle_name": "promo_day_button", + "$radio_toggle_group": true, + "$toggle_binding_type": "collection", + "$toggle_grid_collection_name": "gift_promotion_collection", + "$toggle_state_binding_name": "#promo_day_toggle_check", + "$toggle_on_hover_binding_type": "global", + "$toggle_on_hover_binding_name": "#toggle_on_hover", + "$checked_control": "promo_timeline.checked_border", + "$pressed_texture": "textures/ui/button_borderless_dark", + "$pressed_no_hover_texture": "textures/ui/button_borderless_dark", + "$toggle_enabled_binding_name": "#promotion_offer_visible", + + "$toggle_tab_focus_override_right": "#promo_day_focus_override_right", + "$toggle_tab_focus_override_right_binding_type": "collection", + + "$button_mappings": [ + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.cycle_promotions_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.cycle_promotions_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_left", + "to_button_id": "$toggle_off_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_right", + "to_button_id": "$toggle_on_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + }, + { + "ignored": "(not $enable_hover_event_mapping)", + "to_button_id": "$toggle_hover_event_mapping", + "mapping_type": "pressed" + } + ], + "$toggle_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_collection_name": "$toggle_grid_collection_name", + "binding_type": "collection_details" + }, + { + "binding_type": "$toggle_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + }, + { + "binding_type": "$toggle_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_type": "$toggle_property_bag_binding_type", + "binding_condition": "$toggle_property_bag_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_property_bag_binding_name" + }, + { + "binding_type": "$toggle_tab_focus_binding_type", + "binding_name": "$toggle_tab_focus_binding_name", + "binding_name_override": "#default_focus_precedence" + }, + { + "binding_type": "$toggle_tab_focus_id_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_id_binding_name", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "$toggle_tab_focus_override_right_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_right", + "binding_name_override": "#focus_change_right" + }, + { + "binding_type": "$toggle_tab_focus_override_left_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "$toggle_tab_focus_override_down_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_down", + "binding_name_override": "#focus_change_down" + }, + { + "binding_type": "$toggle_tab_focus_override_up_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_up", + "binding_name_override": "#focus_change_up" + }, + { + "binding_type": "$toggle_on_hover_binding_type", + "binding_name": "$toggle_on_hover_binding_name", + "binding_name_override": "#toggle_on_hover" + }, + { + "binding_type": "$custom_toggle_binding_type", + "binding_condition": "$custom_toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$custom_toggle_state_binding_name", + "binding_name_override": "$custom_toggle_state_binding_name_override" + }, + { + "binding_type": "$toggle_tts_header_binding_type", + "binding_condition": "$toggle_tts_header_binding_condition", + "binding_collection_name": "$toggle_tts_header_binding_collection_name", + "binding_name": "$toggle_tts_header" + }, + { + "ignored": "(not $enable_focus_id_bind)", + "binding_name": "$focus_id_binding_name", + "binding_name_override": "#focus_identifier" + }, + { + "ignored": "(not $enable_focus_enabled_bind)", + "binding_name": "$focus_enabled_binding_name", + "binding_name_override": "#focus_enabled" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Single Item View For Reusable Promo + //-------------------------------------------------------------------------------- + + "vertical_padding_2px": { + "type": "panel", + "size": [ 1, 2 ] + }, + + "timer_icon_tooltip_panel": { + "type": "panel", + "size": [ 8, 8 ], + "layer": 10, + "controls": [ + { + "limited_status_image": { + "type": "image", + "size": [ "100%", "100%" ], + "offset": [ 0, -1 ], + "bilinear": true, + "texture": "textures/ui/timer", + "layer": 1 + } + } + ] + }, + + "timer_tooltip_panel_right_extending@common.button": { + "size": [ 8, 8 ], + "layer": 10, + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tooltip_panel_offset": [ -11, 8 ], + "$tooltip_background_texture": "textures/ui/tooltip_default_background", + "$tooltip_chevron_anchor": "top_left", + "$tooltip_popup_chevron_offset": [ 2, "-100%y + 4px" ], + "$tooltip_popup_chevron_texture": "textures/ui/tooltip_inverted_chevron", + "$pressed_button_name": "button.ignore_me", + "$tooltip_button_binding_type": "none", + "$tooltip_text_binding_name": "#promo_timer_tool_tip", + "$tooltip_text_font_type": "smooth", + "$tooltip_text_font_scale": 0.8, + "$tooltip_popup_override_image_panel": "promo_timeline.timer_icon_tooltip_panel", + "$override_tooltip_popup_image": true, + "$tooltip_text_binding_type": "$valid_tooltip_binding_type", + "$tooltip_button_collection_name": "$valid_tooltip_binding_collection_name", + "$tooltip_text_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$tooltip_text_binding_name", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_text_binding_type" + } + ], + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "hover@common.dynamic_tooltip_popup_with_image_and_text": { + "anchor_to": "top_left", + "anchor_from": "bottom_middle" + } + }, + { + "pressed@common.dynamic_tooltip_popup_with_image_and_text": { + "anchor_to": "top_left", + "anchor_from": "bottom_middle" + } + } + ] + }, + + "timer_tooltip_panel_left_extending@common.button": { + "size": [ 8, 8 ], + "layer": 10, + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tooltip_panel_offset": [ -11, 8 ], + "$tooltip_background_texture": "textures/ui/tooltip_default_background", + "$tooltip_chevron_anchor": "top_right", + "$tooltip_popup_chevron_offset": [ -2, "-100%y + 4px" ], + "$tooltip_popup_chevron_texture": "textures/ui/tooltip_inverted_chevron", + "$pressed_button_name": "button.ignore_me", + "$tooltip_button_binding_type": "none", + "$tooltip_text_binding_name": "#promo_timer_tool_tip", + "$tooltip_text_font_type": "smooth", + "$tooltip_text_font_scale": 0.8, + "$tooltip_popup_override_image_panel": "promo_timeline.timer_icon_tooltip_panel", + "$override_tooltip_popup_image": true, + "$tooltip_text_binding_type": "$valid_tooltip_binding_type", + "$tooltip_button_collection_name": "$valid_tooltip_binding_collection_name", + "$tooltip_text_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$tooltip_text_binding_name", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_text_binding_type" + } + ], + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "hover@common.dynamic_tooltip_popup_with_image_and_text": { + "offset": [ "-100%x + 12px", 7 ], + "anchor_to": "top_left", + "anchor_from": "bottom_middle" + } + }, + { + "pressed@common.dynamic_tooltip_popup_with_image_and_text": { + "anchor_to": "top_left", + "anchor_from": "bottom_middle" + } + } + ] + }, + + "no_timer_tooltip_panel@common.button": { + "size": [ 8, 8 ], + "layer": 10, + "$tooltip_button_content_size|default": [ "100%", "100%" ], + "$tooltip_panel_offset": [ -11, 8 ], + "$tooltip_background_texture": "textures/ui/tooltip_default_background", + "$tooltip_chevron_anchor": "top_left", + "$tooltip_popup_chevron_offset": [ 2, "-100%y + 4px" ], + "$tooltip_popup_chevron_texture": "textures/ui/tooltip_inverted_chevron", + "$pressed_button_name": "button.ignore_me", + "$tooltip_button_binding_type": "none", + "$tooltip_text_binding_name": "#promo_timer_tool_tip", + "$tooltip_text_font_type": "smooth", + "$tooltip_text_font_scale": 0.8, + "$tooltip_popup_override_image_panel": "promo_timeline.timer_icon_tooltip_panel", + "$override_tooltip_popup_image": true, + "$tooltip_text_binding_type": "$valid_tooltip_binding_type", + "$tooltip_button_collection_name": "$valid_tooltip_binding_collection_name", + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "hover@common.empty_panel": {} + }, + { + "pressed@common.empty_panel": {} + } + ] + }, + + "promo_timer_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$valid_tooltip_binding_type|default": "collection", + "$valid_tooltip_binding_collection_name|default": "gift_promotion_collection_items", + "$ignore_padding|default": true, + "controls": [ + { + "timer_icon_and_tooltip_panel": { + "type": "panel", + "size": [ 12, 8 ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection" + }, + { + "binding_name": "#promo_item_timer_visible", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "tooltip_button_right_extending@promo_timeline.timer_tooltip_panel_right_extending": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_timer_tool_tip_right_visible", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name_override": "#visible" + } + ] + } + }, + { + "tooltip_button_left_extending@promo_timeline.timer_tooltip_panel_left_extending": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_timer_tool_tip_left_visible", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name_override": "#visible" + } + ] + } + }, + { + "notooltip_button@promo_timeline.no_timer_tooltip_panel": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_timer_tool_tip_not_visible", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items", + "binding_name_override": "#visible" + } + ] + } + }, + { + "timer_icon": { + "type": "image", + "size": [ 8, 8 ], + "offset": [ 0, 1 ], + "bilinear": true, + "texture": "textures/ui/timer" + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 3, 0 ], + "ignored": "$ignore_padding", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #promo_item_timer_visible)", + "binding_type": "global", + "binding_collection_name": "", + "binding_name_override": "#visible" + } + ] + } + }, + { + "timer_text": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "font_scale_factor": 0.8, + "color": "$coin_color", + "text": "#promo_item_timer_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_item_timer_text", + "binding_type": "$valid_tooltip_binding_type", + "binding_collection_name": "$valid_tooltip_binding_collection_name" + } + ] + } + } + ] + }, + + "offer_title_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "offer_title_label": { + "type": "label", + "size": [ "100%", 10 ], + "offset": [ 3, 0 ], + "color": "$main_header_text_color", + "text": "#promo_item_title_text", + "font_type": "smooth", + "text_alignment": "left", + "layer": 1, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection" + }, + { + "binding_name": "#promo_item_title_text" + } + ] + } + } + ] + }, + + "title_and_author_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "author_button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "summary_author_button@common_buttons.underline_button": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, -4 ], + "$pressed_button_name": "button.seeMoreBy", + "$single_line_label_text": "#promo_item_creator_text", + "$label_text_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "$single_line_label_text" + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + } + } + ] + }, + + "glyph_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "layer": 2, + "controls": [ + { + "item_glyph_count_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 10 ], + "offset": [ 1, -2 ], + "layer": 2, + "controls": [ + { + "glyph_icon_panel": { + "type": "panel", + "size": [ 8, "100%" ], + "controls": [ + { + "glyph_icon": { + "type": "image", + "size": [ 8, 8 ], + "offset": [ 0, -1.5 ], + "texture": "$item_glyph_texture", + "color": "$body_text_color", + "bilinear": true, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + } + ] + } + }, + { + "center_item_glyph_padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "item_glyph_count_panel_label": { + "type": "label", + "size": [ "default", 8 ], + "text_alignment": "left", + "font_type": "smooth", + "font_scale_factor": 0.8, + "color": "$body_text_color", + "text": "$item_glyph_text_binding", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "$item_glyph_text_binding", + "binding_condition": "visible" + } + ] + } + }, + { + "item_glyph_panel_padding@pdp.horizontal_padding_8px": {} + } + ] + } + } + ] + }, + + "vertical_glyph_section_content": { + "size": [ "100%", "100%cm" ], + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "glyph_content@promo_timeline.glyph_panel": {} + }, + { + "bottom_glyph_content_padding@promo_timeline.vertical_padding_2px": {} + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "$mashup_collection_binding_type", + "binding_collection_name": "$mashup_collection_name", + "binding_name": "$item_glyph_count_visible_binding", + "binding_name_override": "#visible" + } + ] + }, + + "glyph_section_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "layer": 2, + "anchor_to": "top_right", + "anchor_from": "top_right", + + "controls": [ + { + "glyphs": { + "type": "stack_panel", + "orientation": "$glyph_section_orientation", + "size": "$glyph_section_size", + + "$mashup_collection_binding_type|default": "global", + "$mashup_collection_name|default": "", + "$glyph_section_only_show_count|default": false, + + "controls": [ + { + "skin_glyph_section@$glyph_section_content": { + "$item_glyph_texture": "textures/ui/glyph_skin_pack", + "$item_glyph_text_binding": "#promo_item_skin_count_and_label", + "$item_glyph_count_visible_binding": "#promo_item_skin_count_visible", + "variables": [ + { + "requires": "$glyph_section_only_show_count", + "$item_glyph_text_binding": "#promo_item_skin_count" + } + ] + } + }, + { + "world_glyph_section@$glyph_section_content": { + "$item_glyph_texture": "textures/ui/glyph_world_template", + "$item_glyph_text_binding": "#promo_item_world_template_count_and_label", + "$item_glyph_count_visible_binding": "#promo_item_world_template_count_visible", + "variables": [ + { + "requires": "$glyph_section_only_show_count", + "$item_glyph_text_binding": "#promo_item_world_template_count" + } + ] + } + }, + { + "resource_pack_glyph_section@$glyph_section_content": { + "$item_glyph_texture": "textures/ui/glyph_resource_pack", + "$item_glyph_text_binding": "#promo_item_resource_pack_count_and_label", + "$item_glyph_count_visible_binding": "#promo_item_resource_pack_count_visible", + "variables": [ + { + "requires": "$glyph_section_only_show_count", + "$item_glyph_text_binding": "#promo_item_resource_pack_count" + } + ] + } + } + ] + } + } + ] + }, + + "vertical_glyph_section_panel@promo_timeline.glyph_section_panel": { + "size": [ "100%", "100%cm" ], + "$glyph_section_orientation": "vertical", + "$glyph_section_size": [ "100%", "100%c" ], + "$glyph_section_content": "promo_timeline.vertical_glyph_section_content" + }, + + "image_glyphs_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 8px", "100%cm" ], + "controls": [ + { + "world_panel": { + "type": "panel", + "size": [ "50%", "56.25%x" ], //image aspect ratio + "controls": [ + { + "border@common.square_image_border_white": { + "type": "image", + "layer": 6, + "size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "texture": "textures/ui/black_border" + } + }, + { + "world_key_image": { + "type": "image", + "layer": 1, + "size": [ "100%", "100%" ], + "bilinear": true, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_key_art_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "#promo_key_art_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #promo_item_is_persona)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "persona_panel": { + "type": "panel", + "size": [ "25%", "100%x" ], //image aspect ratio + "controls": [ + { + "border@common.square_image_border_white": { + "type": "image", + "layer": 7, + "size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "texture": "textures/ui/black_border" + } + }, + { + "persona_image": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 5, + "bilinear": true, + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_persona_thumbnail_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "#promo_persona_thumbnail_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "background@persona_common.item_rarity_color_background": { + "size": [ "100%", "100%" ], + "$rarity_background_alpha": 1, + "$rarity_color_background_texture": "textures/ui/button_borderless_light", + "layer": 1, + "anchor_from": "center", + "anchor_to": "center", + "$rarity_background_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#rarity_color", + "binding_name_override": "#color" + } + ] + } + }, + { + "rarity_bar_panel@persona_common.rarity_bar": { + "size": [ "100%", 3 ], + "layer": 6, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#rarity_bar_texture", + "binding_name_override": "#texture" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_item_is_persona", + "binding_name_override": "#visible" + } + ] + } + }, + { + "divider": { + "type": "panel", + "size": [ 3, 0 ], + "inherit_max_sibling_height": true + } + }, + { + "info": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "100%sm" ], + "controls": [ + { + "summary_title_and_author_panel@promo_timeline.title_and_author_panel": {} + }, + { + "glyph_section": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "glyph_section_panel@promo_timeline.vertical_glyph_section_panel": { + "offset": [ 0, 1 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "promo_lower_button_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "promo_banner_button@common.minecraftTenLabel": { + "size": [ "100%", "12px" ], + "text_alignment": "center", + "offset": [ 0, -1 ], + "color": "$text_color", + "text": "#promo_button_text", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_page_is_ready", + "binding_name_override": "#visible" + }, + { + "binding_name": "#promo_button_text" + } + ] + } + }, + { + "progress_loading_spinner@common_store.progress_loading_spinner": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#page_loading_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "free_discount_label": { + "type": "label", + "size": [ "default", 10 ], + "offset": [ 2, 0 ], + "font_type": "smooth", + "text": "storageManager.share.totalPercent", + "color": "$store_sales_banner_text_color", + "layer": 10 + }, + + "promo_upper_button_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "markdown": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#item_is_not_owned", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "sales_banner_offset_panel": { + "priority": 0, + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "sales_banner_panel": { + "type": "panel", + "size": [ "100%c", "100% + 4px" ], + "offset": [ -2, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "markdown_banner@common_store.markdown_background": { + "$markdown_label": "promo_timeline.free_discount_label", + "size": [ "100%c", "100%" ], + "$banner_size": [ "20px", "100%" ], + "$triangle_offset": [ 0, 0 ], + "layer": 9, + "$triangle_texture": "textures/ui/saleflagtrianglebeveldefault", + "$banner_texture": "textures/ui/sale_button_borderless_lighthoverflag" + } + } + ] + } + } + ] + } + }, + { + "price_markdown_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "offer_price": { + "type": "label", + "size": [ "default", 10 ], + "layer": 4, + "color": "$text_color", + "text": "#promo_item_full_price", + "font_type": "smooth", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_item_full_price" + } + ], + "controls": [ + { + "text_strike_through@common_store.text_strike_through": { + "size": [ "100% + 2px", 1 ], + "offset": [ 0, 1 ], + "color": "$text_color", + "alpha": 0.6, + "layer": 5 + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "promo_item_action_text_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "controls": [ + { + "warning_image_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#platform_restricted_item", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "gift_promotion_collection_items" + } + ], + "controls": [ + { + "platform_restricted_warning_image": { + "type": "image", + "size": [ 7, 11 ], + "offset": [ 0, -1 ], + "layer": 20, + "texture": "textures/ui/WarningGlyph" + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + } + ] + } + }, + { + "promo_item_action_text@common.minecraftTenLabel": { + "size": [ "default", "default" ], + "offset": [ 0, -1 ], + "text": "#promo_item_action_button_text", + "color": "$text_color", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #world_download_info_visible)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#promo_item_action_button_text" + } + ] + } + } + ] + } + }, + { + "download_progress_bar@common_store.store_progress_bar_icon": { + "size": [ "90%", 5 ], + "anchor_from": "center", + "anchor_to": "center", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#world_download_info_visible", + "binding_name_override": "#visible" + } + ], + "$progress_bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#world_download_progress_bar_percentage", + "binding_name_override": "#clip_ratio", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + }, + + "description_section_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$description_size|default": [ "100% - 2px", "default" ], + "controls": [ + { + "contents_description": { + "type": "label", + "size": "$description_size", + "layer": 1, + "color": "$body_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8, + "enable_profanity_filter": false, + "$description_label_binding_name": "#promo_description_label", + "text": "$description_label_binding_name", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_description_label" + }, + { + "binding_name": "#has_promo_item_description", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "offset_title_offer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "title_panel@promo_timeline.offer_title_panel": {} + } + ] + }, + + "offset_promo_timer": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "promo_timer@promo_timeline.promo_timer_panel": { + "$ignore_padding": false, + "layer": 1 + } + } + ] + }, + + "offset_image_glyphs_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "smaller_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%-4px", "100%c" ], + "controls": [ + { + "details@promo_timeline.image_glyphs_panel": {} + }, + { + "description@promo_timeline.description_section_panel": {} + } + ] + } + } + ] + }, + + "promo_pack_detail_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "offset_title_panel@promo_timeline.offset_title_offer": {} + }, + { + "offsetted_promo_timer@promo_timeline.offset_promo_timer": {} + }, + { + "pad_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "offsetted_details@promo_timeline.offset_image_glyphs_panel": {} + }, + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + }, + + "promo_left_inner_top_scrolling_content": { + "type": "input_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "details@promo_timeline.promo_pack_detail_panel": {} + } + ] + }, + + "promo_left_inner_top": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "fill" ], + "controls": [ + { + "top@common.scrolling_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "fill" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 1, 0 ], + "$scroll_size": [ 5, "100%" ], + "$scrolling_content": "promo_timeline.promo_left_inner_top_scrolling_content", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": false + } + }, + { + "padding2@promo_timeline.vertical_padding_2px": {} + } + ] + }, + + "promo_left_inner_bottom": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "orientation": "vertical", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "controls": [ + { + "banner_button_top_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "banner_button_top@common_buttons.light_content_button": { + "size": [ "100%", 22 ], + "$is_purchase_button": true, + "anchor_from": "center", + "anchor_to": "center", + "$button_content": "promo_timeline.promo_upper_button_content", + "$anchor": "center", + "layer": 4, + "$focus_id": "promo_top_button", + "$pressed_button_name": "button.item_action", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection_items" + }, + { + "binding_name": "#promo_action_button_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "(not #platform_restricted_item)", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "platform_restricted_error_single_item@promo_timeline.platform_restricted_error": { + "size": [ "100%", 22 ], + "layer": 25, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection_items" + }, + { + "binding_name": "#platform_restricted_item", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "banner_button_bottom@common_buttons.light_content_button": { + "size": [ "100%", 22 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$button_content": "promo_timeline.promo_lower_button_content", + "$anchor": "bottom_left", + "layer": 4, + "$focus_id": "promo_bottom_button", + "$focus_override_up": "banner_full_button", + "$focus_override_down": "period_carousel_panel", + "$pressed_button_name": "button.item_pdp", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "gift_promotion_collection_items" + }, + { + "binding_name": "(not #platform_restricted_item)", + "binding_name_override": "#visible" + }, + { + "binding_name": "#promo_bottom_button_focus_override_down", + "binding_name_override": "#focus_change_down" + } + ] + } + } + ] + }, + + "promo_left_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "fill", "56.25%x + 18.2px" ], //image aspect ratio + some buffer space + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "controls": [ + { + "top@promo_timeline.promo_left_inner_top": {} + }, + { + "bottom_buttons_padded": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "pad_0": { + "type": "panel", + "size": [ "4px", "100%sm" ] + } + }, + { + "bottom@promo_timeline.promo_left_inner_bottom": {} + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "promo_world_image_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "image": { + "type": "panel", + "size": [ "177.78%y", "100% - 1px" ], + "controls": [ + { + "key_image": { + "type": "image", + "layer": 1, + "bilinear": true, + "controls": [ + { + "border@common.focus_border_white": { + "size": [ "100% + 2px", "100% + 2px" ], + "color": "$light_border_default_color", + "layer": 1 + } + } + ], + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_screenshot_texture", + "binding_name_override": "#texture" + }, + { + "binding_name": "#promo_screenshot_location", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + } + } + ] + }, + + "promo_grey_bar_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "fill", "100%" ], + "controls": [ + { + "grey_bar": { + "type": "image", + "size": [ "100% - 1px", "100%" ], + "texture": "textures/ui/white_background", + "keep_ratio": false, + "tiled": true, + "color": "$servers_screenshot", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "(not #this_promo_screenshot_selected)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "promo_world_screenshot_collection" + } + ] + } + }, + { + "green_bar": { + "type": "image", + "size": [ "100% - 1px", "100%" ], + "texture": "textures/ui/white_background", + "keep_ratio": false, + "tiled": true, + "color": "$servers_current_screenshot", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#this_promo_screenshot_selected", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "promo_world_screenshot_collection" + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 1, "100%" ] + } + } + ] + }, + + "promo_world_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 20 ], + "$ignore_cycle_buttons": false, + "controls": [ + { + "pan_left_button@common_store.cycle_pack_left_button": { + "size": [ 20, 20 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$button_content": "promo_timeline.colored_direction_button_panel", + "$pressed_button_name": "button.navigate_screenshots_left", + "$direction_gamepad_button_helper": "@common.empty_panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + }, + { + "navigation_bar": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "grey_bar": { + "type": "image", + "size": [ "100%", 5 ], + "texture": "textures/ui/Black", + "layer": 1, + "controls": [ + { + "grey_bar_factory_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 1px", 5 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "layer": 2, + "factory": { + "name": "grey_bar_factory", + "control_name": "promo_timeline.promo_grey_bar_panel" + }, + "collection_name": "promo_world_screenshot_collection", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_screenshot_collection_length", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + } + } + ] + } + }, + { + "pan_right_button@common_store.cycle_pack_right_button": { + "size": [ 20, 20 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$button_content": "promo_timeline.colored_direction_button_panel", + "$pressed_button_name": "button.navigate_screenshots_right", + "$direction_gamepad_button_helper": "@common.empty_panel", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + } + ] + } + } + ] + }, + + "promo_world_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "image@promo_timeline.promo_world_image_panel": { + "anchor_to": "top_middle", + "anchor_from": "top_middle" + } + }, + { + "padding1": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "buttons@promo_timeline.promo_world_button_panel": { + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle" + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "promo_skin_panel": { + "type": "panel", + "size": [ "25% - 2px", "153.3%x - 2px" ], + "clips_children": true, + "controls": [ + { + "size_control": { + "type": "panel", + "size": [ "100%", "100% - 2px" ], + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/slots_bg", + "layer": 1 + } + }, + { + "skin_button@common.button": { + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "skin_pack_collection", + "binding_collection_prefix": "skin" + } + ], + "button_mappings": [ + { + "to_button_id": "button.skin_hovered", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.skin_unhovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { "default@common.empty_panel": {} }, + { + "hover@common.square_image_border_white": { + "layer": 15 + } + }, + { "pressed@common.empty_panel": {} }, + { + "content_panel": { + "type": "panel", + "clips_children": true, + "layer": 2, + "controls": [ + { + "paper_doll": { + "type": "custom", + "offset": [ 0, -9 ], + "size": [ "100%", "100%" ], + "renderer": "paper_doll_renderer", + "use_selected_skin": false, + "use_skin_gui_scale": true, + "enable_scissor_test": true, + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#classic_skin_index", + "binding_type": "collection", + "binding_collection_name": "skin_pack_collection" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "skin_pack_collection" + } + ] + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "promo_skin_grid_panel": { + "type": "panel", + "size": [ "100% - 4px", "100%c + 2px" ], + "controls": [ + { + "promo_skin_pack_grid": { + "type": "grid", + "size": [ "100%", "100%c" ], + "grid_dimension_binding": "#skin_pack_dimensions", + "grid_item_template": "promo_timeline.promo_skin_panel", + "collection_name": "skin_pack_collection", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#skin_pack_dimensions" + } + ] + } + } + ] + }, + + "promo_right_panel_scroll_content": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "$skin_preview": "#preview_promo_persona_item", + "controls": [ + { + "world_screenshots_panel": { + "type": "panel", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_item_is_world", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "world_panel@promo_timeline.promo_world_panel": {} + } + ] + } + }, + { + "skin_image_panel": { + "type": "panel", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_item_is_skin", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "skin_panel@persona.skin_scroll_panel": { + "$scrolling_content": "promo_timeline.promo_skin_grid_panel" + } + } + ] + } + }, + { + "persona_preview@promo_timeline.promotion_skin_viewer_panel": { + "$gesture_input_panel_control": "persona_preview", + "$skin_preview": "#preview_promo_persona_item", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#promo_item_is_persona", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "promo_right_panel@common.scrolling_panel": { + "size": [ "fill", "100%sm - 6px" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_offset": [ 0, 0 ], + "$scroll_size": [ 5, "100% - 8px" ], + "$scrolling_content": "promo_timeline.promo_right_panel_scroll_content", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$show_background": false, + "$bar_visible": false, + "$allow_scrolling_even_when_content_fits": false + }, + + "promo_detail_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "detail@promo_timeline.promo_left_panel": {} + }, + { + "center_spacing": { + "type": "panel", + "size": [ 8, 0 ] + } + }, + { + "right@promo_timeline.promo_right_panel": {} + } + ] + }, + + "promotion_skin_viewer_panel": { + "type": "input_panel", + "layer": 5, + "size": [ "100%", "100%" ], + "gesture_tracking_button": "button.turn_doll", + "always_handle_controller_direction": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_doll", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "toast_message": "@promo_timeline.promo_popup_toast" + }, + "factory_variables": [ + "$store_factory_collection_details", + "$store_factory_collection_name", + "$store_factory_collection_prefix", + "$store_factory_binding_type" + ] + } + }, + { + "character_loading_panel@persona.loading_icon": { + "anchor_to": "top_right", + "anchor_from": "top_right", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_name": "#character_loading_in_progress", + "binding_name_override": "#visible" + } + ] + } + }, + { + "skin_model_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "skin_model": { + "type": "custom", + "renderer": "paper_doll_renderer", + "size": [ "100%", "100%" ], + "offset": [ 0, -20 ], + "camera_tilt_degrees": -10, + "starting_rotation": 30, + "layer": 4, + "use_selected_skin": false, + "use_skin_gui_scale": true, + "rotation": "gesture_x", + "bindings": [ + { + "binding_type": "$store_factory_collection_details", + "binding_collection_name": "$store_factory_collection_name", + "binding_collection_prefix": "$store_factory_collection_prefix" + }, + { + "binding_type": "global", + "binding_name": "$skin_preview" + }, + { + "binding_type": "view", + "source_control_name": "$gesture_input_panel_control", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "$gesture_input_panel_control", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + } + ] + } + }, + { + "arrow_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "rotate_arrows@skin_picker.skin_rotation_arrows": { + "size": [ 37, 7 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + } + ] + } + } + ] + }, + + "promo_popup_toast@persona.popup": { + "layer": 100, + "$display_time": 2.0, + "$transition_in_time": 0.15, + "$transition_out_time": 0.30, + "$popup_size": [ "100% - 4px", "100%cm" ], + "$toast_text_offset": [ 0, 0 ], + "$toast_text_alignment": "center", + "$toast_anchor_from": "center", + "$toast_anchor_to": "center", + "$toast_font_type": "smooth", + "$offset_anims": [], + "$alpha_anims": [ + "@persona.popup_anim_start" + ], + "$popup_title_binding_type": "$store_factory_binding_type", + "$popup_title_collection_name": "$store_factory_collection_name", + "$popup_title_collection_details": "collection_details", + "$popup_title_collection_prefix": "$store_factory_collection_prefix" + } +} diff --git a/resource_pack/ui/store_sales_item_list_screen.json b/resource_pack/ui/store_sales_item_list_screen.json new file mode 100644 index 0000000..7e844b3 --- /dev/null +++ b/resource_pack/ui/store_sales_item_list_screen.json @@ -0,0 +1,168 @@ +{ + "namespace": "store_sale_item_list", + + "banner_header": { + "type": "panel", + "size": [ "100%", 16 ], + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "100% - 2px", "100%cm" ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "controls": [ + { + "on_sale_banner": { + "type": "image", + "texture": "textures/ui/yellow_banner", + "size": [ "100%c", 13 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "layer": 1, + "controls": [ + { + "padding_panel": { + "type": "panel", + "size": [ "100%c - 50%y + 24px", "100%" ], + "controls": [ + { + "sales_row_header_label@common_store.store_section_header_label": { + "size": [ "default", 10 ], + "offset": [ 12, 0.5 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$store_section_header_visible_binding": "#is_sales_grid_visible", + "$store_section_header_label_text": "#sales_header_text", + "$store_section_header_text_color": "$title_text_color", + "$store_section_binding_condition": "always", + "layer": 1 + } + }, + { + "triangle": { + "type": "image", + "texture": "textures/ui/saleflagtriangle", + "size": [ "50%y", 13 ], + "offset": [ -1, 0 ], + "anchor_from": "right_middle", + "anchor_to": "left_middle", + "bilinear": true + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "category_collection", + "binding_name": "#show_sales_banner", + "binding_name_override": "#visible" + } + ] + } + }, + { + "time_remaining_label@common_store.label": { + "ignored": true, + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "size": [ "default", 10 ], + "offset": [ -3, -1 ], + "text": "#time_remaining_label", + "text_alignment": "right", + "layer": 3, + "bindings": [ + { + "binding_name": "#time_remaining_label", + "binding_condition": "always" + } + ] + } + } + ] + } + } + ] + }, + + "sales_offer_content": { + "ignored": "($sales_disabled_on_screen or $is_on_3p_server)", + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "visible": false, + "bindings": [ + { + "binding_name": "#is_sales_grid_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "sales_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "sales_banner_panel@store_sale_item_list.banner_header": {} + }, + { + "top_sales_grid_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "sales_grid_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "sales_offer_grid@store_item_list.store_offer_grid": { + "$store_offer_grid_prefix": "sales_list", + "$store_offer_grid_collection_name": "sales_list_collection", + "bindings": [ + { + "binding_name": "#sales_grid_item_count", + "binding_name_override": "#maximum_grid_items" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "all_offer_content": { + "ignored": "$is_inventory_screen", + "type": "panel", + "size": [ "100%", "100%c" ], + "visible": false, + "controls": [ + { + "store_offer_grid_panel@store_item_list.store_offer_grid": {} + } + ], + "bindings": [ + { + "binding_name": "#is_store_offer_grid_panel_visible", + "binding_name_override": "#visible" + } + ] + } +} diff --git a/resource_pack/ui/store_search_screen.json b/resource_pack/ui/store_search_screen.json new file mode 100644 index 0000000..f2d98d6 --- /dev/null +++ b/resource_pack/ui/store_search_screen.json @@ -0,0 +1,246 @@ +{ + "namespace": "store_search", + + "store_offer_grid_item@common_store.store_offer_grid_item": { + "size": [ "25%", "100%" ] + }, + + "trending_row_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + // row binding vars + "$store_row_binding_type|default": "global", + "$store_row_collection_details|default": "none", + "$store_row_collection_prefix|default": "", + "$store_row_collection_name|default": "", + + "controls": [ + { + "trending_row_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "trending_row_label_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "trending_row_label": { + "type": "label", + "size": [ "100%", 10 ], + "offset": [ 2, 0 ], + "text": "#trending_row_name", + "color": "$body_text_color", + "bindings": [ + { + "binding_type": "$store_row_binding_type", + "binding_collection_name": "$store_row_collection_name", + "binding_name": "#trending_row_name" + } + ] + } + } + ] + } + }, + { + "mid_padding": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "trending_offers_grid": { + "type": "grid", + //------------------------------------------------------------------------ + // 14.0625% comes from store_item_list.store_offer_grid_item's size + // 25%x * 56.25% = 14.0625%x + // The reason for not copying the item list screen is because if you + // do, it causes weird sizing issues with the row grids and their sizing + //------------------------------------------------------------------------ + "size": [ "100%", "14.0625%x + 33px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "grid_item_template": "store_search.store_offer_grid_item", + "grid_dimension_binding": "#trending_offers_dimensions", + + "$offer_category_collection_details": "$store_row_collection_details", + "$offer_category_collection_prefix": "$store_row_collection_prefix", + "$offer_category_collection_name": "$store_row_collection_name", + + "$offer_collection_details": "collection_details", + "$offer_binding_type": "collection", + "$offer_collection_prefix": "offer", + "$offer_collection_name": "offer_collection", + + "collection_name": "$offer_collection_name", + "bindings": [ + { + "binding_name": "#trending_offers_dimensions" + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + }, + + "trending_rows_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "grid_item_template": "store_search.trending_row_content", + "grid_dimension_binding": "#trending_rows_dimensions", + + "$store_row_binding_type": "collection", + "$store_row_collection_details": "collection_details", + "$store_row_collection_prefix": "category", + "$store_row_collection_name": "category_collection", + + "collection_name": "$store_row_collection_name", + "bindings": [ + { + "binding_name": "#trending_rows_dimensions" + }, + { + "binding_name": "#trending_rows_visible", + "binding_name_override": "#visible" + } + ] + }, + + "search_offer_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "(not #trending_page_loading_visible)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "trending_grid@store_search.trending_rows_grid": {} + }, + { + "item_list_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "item_list_grid@store_item_list.store_offer_grid": {} + } + ], + "bindings": [ + { + "binding_name": "(not #trending_rows_visible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "main_panel": { + "type": "input_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "seach_object@common_store.search_object": { + "layer": 4, // Make this on top so the loading bar shows + "$search_offer_content": "store_search.search_offer_content", + "bindings": [ + { + "binding_name": "(not #trending_page_loading_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 5, + "bindings": [ + { + "binding_name": "#trending_page_loading_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "store_search_screen_content": { + "type": "panel", + "alpha": "@common_store.screen_fade_in_alpha_anim", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "controls": [ + { + "main_panel@common_store.store_header_with_coins": { + "$child_control": "store_search.main_panel", + "$button_text": "store.title" + } + }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "no_store_connection": "@common_store.popup_dialog__no_store_connection", + "restore_popup": "@common_store.popup_dialog__restore_popup", + "restore_failed": "@common_store.popup_dialog__restore_failed" + } + } + } + ] + }, + + "store_search_screen@common_store.store_base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.close_result_panel", + "mapping_type": "global", + "ignored": "$ignore_3rd_party_servers" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.coin_wallet", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "store_search.store_search_screen_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$screen_background_control": "common_store.store_background", + "$is_full_screen_layout": true + } + +} diff --git a/resource_pack/ui/store_sort_menu_screen.json b/resource_pack/ui/store_sort_menu_screen.json new file mode 100644 index 0000000..d1ba477 --- /dev/null +++ b/resource_pack/ui/store_sort_menu_screen.json @@ -0,0 +1,301 @@ +{ + "namespace": "sort_menu", + + "sort_menu_toggle_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "sort_menu_toggle_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$is_relevance_toggle|default": false, + "variables": [ + { + "requires": "$is_relevance_toggle", + "$content_toggle_label": "store.search.sort_menu.Default" + }, + { + "requires": "(not $is_relevance_toggle)", + "$content_toggle_label": "#sort_toggle_label" + } + ], + "$checked_toggle_icon": "textures/ui/radio_on", + "$checked_hover_toggle_icon": "textures/ui/radio_on_hover", + "$unchecked_toggle_icon": "textures/ui/radio_off", + "$unchecked_hover_toggle_icon": "textures/ui/radio_off_hover", + "controls": [ + { + "sort_menu_toggle@common_store.filter_sort_toggle": { + "$ignore_content_toggle_image": true + } + } + ] + } + } + ] + }, + + //The first button on the filter menu that has the X to close the menu + "sort_menu_first_button_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "controls": [ + { + "left_padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "centered_sort_logo_icon": { + "type": "panel", + "size": [ 21, "100%" ], + "controls": [ + { + "sort_logo_icon@common_store.sort_button_content_panel": {} + } + ] + } + }, + { + "logo_padding_labels": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "labels_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 45px", "100%" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + }, + { + "sort_const_word_top": { + "type": "label", + "text": "store.search.sort_menu.sortConstWord", + "color": "$text_color", + "size": [ "100%", 10 ] + } + }, + { + "middle_padding": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "current_sort_value_label_bottom": { + "type": "label", + "text": "#sort_type_text", + "color": "$text_color", + "alpha": 0.7, + "size": [ "100%", 10 ], + "bindings": [ + { + "binding_name": "#sort_type_text" + } + ] + } + }, + { + "bottom_padding": { + "type": "panel", + "size": [ "100%", "fill" ] + } + } + ] + } + }, + { + "labels_padding_x_image": { + "type": "panel", + "size": [ "fill", "100%" ] + } + }, + { + "x_image_panel": { + "type": "panel", + "size": [ 15, "100%" ], + "controls": [ + { + "x_image": { + "type": "image", + "size": [ 15, 15 ], + "layer": 2, + "texture": "textures/ui/close_button_default_light", + "color": "$text_color" + } + } + ] + } + } + ] + }, + + "sort_menu_toggles": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "anchor_to": "top_right", + "anchor_from": "top_right", + "$filter_sort_prefix": "sort_menu", + "controls": [ + { + "relevance_toggle_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "relevance_toggle@sort_menu.sort_menu_toggle_panel": { + "size": [ "100% - 16px", 30 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$is_relevance_toggle": true, + "$filter_sort_prefix": "sort_relevance" + } + } + ], + "bindings": [ + { + "binding_name": "#relevance_toggle_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sort_toggle_grid@common_store.filter_sort_grid_panel": { + "$filter_sort_prefix": "sort_menu", + "$filter_sort_grid_size": [ "100% - 16px", "100%c" ] + } + } + ] + }, + + //Menu that pops up when you click on the sort menu... + "sort_menu_show": { + "type": "stack_panel", //stacks panels together + "orientation": "vertical", + "size": [ "fill", "100%" ], + "layer": 2, + "controls": [ + { + "1st_button_centering_panel": { + "type": "panel", + "size": [ "100%", 30 ], + "controls": [ + { + "first_button_main@common_buttons.light_content_button": { + "type": "button", + "size": [ "100%", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$button_content": "sort_menu.sort_menu_first_button_content_panel", + "$pressed_button_name": "button.close_sort_menu", + "$secondary_text_color": "$place_holder_text_color" + } + } + ] + } + }, + //Sorting options radio button instances + { + "sort_scrolling_content_panel@common_store.filter_sort_submenu_scrolling_panel_section": { + "$filter_sort_scrolling_panel_size": [ "100%", "100%" ], + "$scrolling_content": "sort_menu.sort_menu_toggles" + } + } + ] + }, + + "sort_menu_panel@common.vertical_stack_panel": { + "size": [ "100%", "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "visible": false, + "layer": 2, + "controls": [ + { + // added to align with search bar + "top_padding@common.empty_panel": { + "$sort_top_padding|default": [ "100%", 0 ], + "size": "$sort_top_padding" + } + }, + { + "alignment_panel@common.horizontal_stack_panel": { + "size": [ "100%", "fill" ], + "controls": [ + { + "left_padding@common.empty_panel": { + "$sort_left_padding|default": [ 0, "100%" ], + "size": "$sort_left_padding" + } + }, + { + "sort_menu_show@sort_menu.sort_menu_show": {} + }, + { + "right_padding@common.empty_panel": { + "$sort_right_padding|default": [ 0, "100%" ], + "size": "$sort_right_padding" + } + } + ] + } + } + ] + }, + + //main panel holding the background and the sort menu itself + "sort_menu_screen_content@common.modal_area_panel_base": { + "layer": 100, + "$menu_cancel_button_id": "button.close_sort_menu", + "$close_bg_exit_button_name": "button.close_sort_menu", + "controls": [ + { + "sort_menu_main@sort_menu.sort_menu_panel": { + "$sort_top_padding": [ "100%", 8 ], + "$sort_left_padding": [ "60%", "100%" ], + "$sort_right_padding": [ 12, "100%" ], + "bindings": [ + { + "binding_name": "(not #is_dressing_room_scene)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sort_menu_main_persona@sort_menu.sort_menu_panel": { + "$sort_top_padding": [ "100%", 11 ], + "$sort_left_padding": [ "8%", "100%" ], + "$sort_right_padding": [ "47%", "100%" ], + "bindings": [ + { + "binding_name": "#is_dressing_room_scene", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sort_menu_background@common_store.close_bg_panel": {} + } + ], + "bindings": [ + { + "binding_name": "#sort_screen_visible", + "binding_name_override": "#modal" + } + ] + } +} diff --git a/resource_pack/ui/structure_editor_screen.json b/resource_pack/ui/structure_editor_screen.json new file mode 100644 index 0000000..aac53cf --- /dev/null +++ b/resource_pack/ui/structure_editor_screen.json @@ -0,0 +1,2102 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "structure_editor", + + "small_padding": { + "type": "panel", + "size": [ "100%", "3px" ] + }, + + "help_icon": { + "type": "image", + "texture": "textures/ui/how_to_play_button_default_light", + "anchor_from": "center", + "anchor_to": "center", + "layer": 3, + "size": [ 32, 16 ] + }, + + "common_text_label": { + "type": "label", + "color": "$main_header_text_color", + "layer": 1 + }, + + "text_edit_control@common.text_edit_box": { + "property_bag": { + "#property_field": "#item_name" + }, + "$place_holder_text": "0", + "$text_edit_box_label_size": [ "default", 10 ] + }, + + "axis_selection_panel": { + "type": "panel", + "controls": [ + { + "label@structure_editor.common_text_label": { + "size": [ 10, 10 ], + "offset": [ 5, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "$axis_label", + "color": "$axis_color" + } + }, + { + "edit_box@structure_editor.text_edit_control": { + "$text_box_max_length|default": 3, + "size": [ "100% - 30px", "100%" ], + "$text_edit_box_label_min_size": [ 0, 0 ], + "offset": [ -13, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "max_length": "$text_box_max_length" + } + } + ] + }, + + "grid_axis_selection_panel": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "label_container": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "label@structure_editor.common_text_label": { + "size": [ "default", 10 ], + "text": "$axis_selection_panel_label" + } + } + ] + } + }, + { + "axis_grid": { + "type": "grid", + "grid_dimensions": [ 1, 3 ], + "collection_name": "$grid_axis_collection_name", + "size": [ "100%", "100%c" ], + "$text_edit_box_enabled_binding_type": "collection", + "$text_edit_box_grid_collection_name": "$grid_axis_collection_name", + "$text_edit_box_content_binding_type": "collection", + "$text_edit_box_content_binding_name": "$grid_axis_edit_box_name", + "$text_box_name": "$grid_axis_edit_box_name", + "controls": [ + { + "X@structure_editor.axis_selection_panel": { + "grid_position": [ 0, 0 ], + "size": [ "100%", 20 ], + "$axis_label": "X:", + "$axis_color": "$x_axis_text_color" + } + }, + { + "Y@structure_editor.axis_selection_panel": { + "grid_position": [ 0, 1 ], + "size": [ "100%", 20 ], + "$axis_label": "Y:", + "$axis_color": "$y_axis_text_color" + } + }, + { + "Z@structure_editor.axis_selection_panel": { + "grid_position": [ 0, 2 ], + "size": [ "100%", 20 ], + "$axis_label": "Z:", + "$axis_color": "$z_axis_text_color" + } + } + ] + } + } + ] + }, + + "3d_export_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.structure_3D_export", + "$button_text": "structure_block.export", + "bindings": [ + { + "binding_name": "#3d_export_enabled", + "binding_name_override": "#enabled", + "binding_condition": "visible" + } + ] + }, + + "save_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.structure_save", + "$button_text": "structure_block.save", + "bindings": [ + { + "binding_name": "#save_enabled", + "binding_name_override": "#enabled", + "binding_condition": "visible" + } + ] + }, + + "export_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.structure_export", + "$button_text": "structure_block.export", + "bindings": [ + { + "binding_name": "#export_enabled", + "binding_name_override": "#enabled", + "binding_condition": "visible" + } + ] + }, + + "load_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.structure_load", + "$button_text": "structure_block.load", + "bindings": [ + { + "binding_name": "#load_enabled", + "binding_name_override": "#enabled", + "binding_condition": "visible" + } + ] + }, + + "detect_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.structure_detect", + "$button_text": "structure_block.detect" + }, + + "import_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.structure_import", + "$button_text": "structure_block.import", + "bindings": [ + { + "binding_name": "#import_enabled", + "binding_name_override": "#enabled", + "binding_condition": "visible" + } + ] + }, + + "reset_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.structure_reset", + "$button_text": "structure_block.reset" + }, + + "help_button@common_buttons.light_glyph_button": { + "$pressed_button_name": "button.help", + "$button_content": "structure_editor.help_icon" + }, + + "toggle_option_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 18 ], + "controls": [ + { + "toggle@settings_common.option_toggle_control": { + "size": [ 30, 16 ] + } + }, + { + "offset_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "first_label_wrapper": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "$first_label_visible_binding_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "first_label@structure_editor.common_text_label": { + "size": [ "default", 10 ], + "text": "$first_label_text", + "color": "$body_text_color" + } + } + ] + } + }, + { + "second_label_wrapper": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "$second_label_visible_binding_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "second_label@structure_editor.common_text_label": { + "size": [ "default", 10 ], + "text": "$second_label_text", + "color": "$body_text_color" + } + } + ] + } + } + ] + }, + + "include_entities_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label@structure_editor.common_text_label": { + "size": [ "100%", 10 ], + "text": "structure_block.include_entities" + } + }, + { + "toggle_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "toggle@structure_editor.toggle_option_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 10, 0 ], + "$enabled": true, + "$option_binding_name": "#include_entities_binding_name", + "$option_enabled_binding_name": "#include_entities_enabled", + "$toggle_name": "#include_entities_toggle", + "$first_label_text": "structure_block.off", + "$second_label_text": "structure_block.include", + "$first_label_visible_binding_name": "#include_entities_toggle_off", + "$second_label_visible_binding_name": "#include_entities_toggle_on" + } + } + ] + } + } + ] + }, + + "waterlogging_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label@structure_editor.common_text_label": { + "size": [ "100%", 10 ], + "text": "structure_block.waterlog_block" + } + }, + { + "toggle_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "toggle@structure_editor.toggle_option_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 10, 0 ], + "$enabled": true, + "$option_binding_name": "#waterlog_blocks_binding_name", + "$option_enabled_binding_name": "#waterlog_blocks_on", + "$toggle_name": "#waterlog_blocks_toggle", + "$first_label_text": "structure_block.off", + "$second_label_text": "options.on", + "$first_label_visible_binding_name": "#waterlog_blocks_toggle_off", + "$second_label_visible_binding_name": "#waterlog_blocks_toggle_on" + } + } + ] + } + } + ] + }, + + "show_bounding_box_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#bounding_toggle_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "label@structure_editor.common_text_label": { + "size": [ "100%", 10 ], + "text": "structure_block.show_bounding_box" + } + }, + { + "toggle_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "toggle@structure_editor.toggle_option_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 10, 0 ], + "$enabled": true, + "$option_binding_name": "#show_bounding_box_binding_name", + "$option_enabled_binding_name": "#show_bounding_box_enabled", + "$toggle_name": "#show_bounding_box_toggle", + "$first_label_text": "structure_block.off", + "$second_label_text": "structure_block.show", + "$first_label_visible_binding_name": "#show_bounding_box_toggle_off", + "$second_label_visible_binding_name": "#show_bounding_box_toggle_on" + } + } + ] + } + } + ] + }, + + "include_player_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label@structure_editor.common_text_label": { + "size": [ "100%", 10 ], + "text": "3d_export.include_players" + } + }, + { + "toggle_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "toggle@structure_editor.toggle_option_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 10, 0 ], + "$enabled": true, + "$option_binding_name": "#include_players_binding_name", + "$option_enabled_binding_name": "#include_players_enabled", + "$toggle_name": "#include_players_toggle", + "$first_label_text": "3d_export.off", + "$second_label_text": "3d_export.include", + "$first_label_visible_binding_name": "#include_players_toggle_off", + "$second_label_visible_binding_name": "#include_players_toggle_on" + } + } + ] + } + } + ] + }, + + "remove_blocks_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label@structure_editor.common_text_label": { + "size": [ "100%", 10 ], + "text": "3d_export.remove_blocks" + } + }, + { + "toggle_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "toggle@structure_editor.toggle_option_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 10, 0 ], + "$enabled": true, + "$option_binding_name": "#remove_blocks_binding_name", + "$option_enabled_binding_name": "#remove_blocks_enabled", + "$toggle_name": "#remove_blocks_toggle", + "$first_label_text": "3d_export.off", + "$second_label_text": "3d_export.remove", + "$first_label_visible_binding_name": "#remove_blocks_toggle_off", + "$second_label_visible_binding_name": "#remove_blocks_toggle_on" + } + } + ] + } + } + ] + }, + + "3d_export_mode_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#3d_export_mode_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "size_offset_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%c" ], + "controls": [ + { + "size_panel@structure_editor.grid_axis_selection_panel": { + "size": [ "50%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$axis_selection_panel_label": "structure_block.size", + "$grid_axis_collection_name": "export_size_grid", + "$grid_axis_edit_box_name": "#export_size_edit_box" + } + }, + { + "offset_panel@structure_editor.grid_axis_selection_panel": { + "size": [ "50%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$axis_selection_panel_label": "structure_block.offset", + "$grid_axis_collection_name": "export_offset_grid", + "$grid_axis_edit_box_name": "#export_offset_edit_box", + "$text_box_max_length": 5 + } + } + ] + } + }, + { + "offset_0": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "offset_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "remove_blocks@structure_editor.remove_blocks_panel": {} + } + ] + }, + + "save_mode_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#save_mode_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "structure_name@structure_editor.structure_name_wrapper": {} + }, + { + "size_offset_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%c" ], + "controls": [ + { + "size_panel@structure_editor.grid_axis_selection_panel": { + "size": [ "50%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$axis_selection_panel_label": "structure_block.size", + "$grid_axis_collection_name": "save_size_grid", + "$grid_axis_edit_box_name": "#save_size_edit_box" + } + }, + { + "offset_panel@structure_editor.grid_axis_selection_panel": { + "size": [ "50%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$axis_selection_panel_label": "structure_block.offset", + "$grid_axis_collection_name": "save_offset_grid", + "$grid_axis_edit_box_name": "#save_offset_edit_box", + "$text_box_max_length": 5 + } + } + ] + } + }, + { + "detect_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "detect@structure_editor.detect_button_wrapper": {} + }, + { + "include_entities_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "include_entities@structure_editor.include_entities_panel": {} + }, + { + "remove_blocks_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "remove_blocks@structure_editor.remove_blocks_panel": {} + }, + { + "redstone_save_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "redstone_save_mode@structure_editor.redstone_save_mode_panel": {} + }, + { + "trailing_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "mirror_checkbox": { + "type": "stack_panel", + "size": [ "100%c", 10 ], + "orientation": "horizontal", + + "controls": [ + { + "label": { + "type": "label", + "text": "$checkbox_text", + "color": "$checkbox_text_color" + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "check_box@common.checkbox": { + "size": [ 10, 10 ] + } + } + ] + }, + + "mirror_checkboxes": { + "type": "stack_panel", + "size": [ "100%c", 10 ], + "orientation": "horizontal", + "controls": [ + { + "mirror_checkbox_x@structure_editor.mirror_checkbox": { + "$checkbox_text_color": "$x_axis_text_color", + "$checkbox_text": "X:", + "$toggle_name": "mirror_x", + "$toggle_state_binding_name": "#mirror_x", + "$toggle_enabled_binding_name": "#mirror_x_enabled" + } + }, + { + "padding": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "mirror_checkbox_z@structure_editor.mirror_checkbox": { + "$checkbox_text_color": "$z_axis_text_color", + "$checkbox_text": "Z:", + "$toggle_name": "mirror_z", + "$toggle_state_binding_name": "#mirror_z", + "$toggle_enabled_binding_name": "#mirror_z_enabled" + } + } + ] + }, + + "load_mode_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#load_mode_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "structure_name@structure_editor.structure_name_wrapper": {} + }, + { + "offset_panel@structure_editor.grid_axis_selection_panel": { + "size": [ "100%", "100%c" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$axis_selection_panel_label": "structure_block.offset", + "$grid_axis_collection_name": "load_offset_grid", + "$grid_axis_edit_box_name": "#load_offset_edit_box", + "$text_box_max_length": 5 + } + }, + { + "include_entities_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "include_entities@structure_editor.include_entities_panel": {} + }, + { + "remove_blocks_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "waterlog_blocks@structure_editor.waterlogging_panel": {} + }, + { + "waterlog_blocks_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "remove_blocks@structure_editor.remove_blocks_panel": {} + }, + { + "integrity_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "integrity_label@structure_editor.common_text_label": { + "size": [ "100% - 4px", 10 ], + "offset": [ 5, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "structure_block.integrity" + } + }, + { + "integrity_field@structure_editor.text_edit_control": { + "size": [ "100% - 4px", 20 ], + "max_length": 64, + "$text_box_name": "#integrity_field", + "$text_edit_box_content_binding_name": "#integrity_content_edit_box", + "$place_holder_text": "100.00" + } + }, + { + "offset_1": { + "type": "panel", + "size": [ "100%", "100%c + 4px" ] + } + }, + { + "seed_label@structure_editor.common_text_label": { + "size": [ "100% - 4px", 10 ], + "offset": [ 5, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "structure_block.seed" + } + }, + { + "seed_field@structure_editor.text_edit_control": { + "size": [ "100% - 4px", 20 ], + "max_length": 256, + "$text_box_name": "#seed_field", + "$text_edit_box_content_binding_name": "#seed_content_edit_box", + "$place_holder_text": "" + } + }, + { + "offset_2": { + "type": "panel", + "size": [ "100%", "100%c + 4px" ] + } + }, + { + "rotation_slider@settings_common.option_slider": { + "ignored": "($is_holographic)", + "$option_label": "#rotation_slider_label", + "$slider_name": "rotation", + "$slider_value_binding_name": "#rotation", + "$option_enabled_binding_name": "#rotation_enabled", + "$slider_steps_binding_name": "#rotation_steps", + "$focus_override_up": "FOCUS_OVERRIDE_STOP", + "$slider_tts_text_value": "#rotation_text_value", + "$label_bindings": [ + { + "binding_name": "#rotation_slider_label" + } + ] + } + }, + { + "mirror_label": { + "type": "label", + "text": "structure_block.mirror", + "color": "$main_header_text_color" + } + }, + { + "mirror_checkboxes_centerer": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "mirror_checkboxes@structure_editor.mirror_checkboxes": { + "anchor_to": "left_middle", + "anchor_from": "left_middle", + "offset": [ 8, 0 ] + } + } + ] + } + }, + { + "checkbox_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "animation_mode@structure_editor.animation_mode_dropdown": {} + }, + { + "animation_time_label": { + "type": "label", + "text": "structure_block.animation_time", + "color": "$main_header_text_color" + } + }, + { + "animation_time_field@structure_editor.text_edit_control": { + "size": [ "100% - 4px", 20 ], + "max_length": 10, + "$text_edit_box_text_type": "NumberChars", + "$text_box_name": "#animation_time_field", + "$text_edit_box_content_binding_name": "#animation_time_content_edit_box", + "$place_holder_text": "structure_block.animation_time_tip" + } + } + ] + }, + + "data_mode_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#data_mode_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "top_offset": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "data_label@structure_editor.common_text_label": { + "size": [ "100% - 4px", 10 ], + "offset": [ 5, 0 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text": "structure_block.data_label" + } + }, + { + "data_label_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "data_field@structure_editor.text_edit_control": { + "size": [ "100% - 4px", 20 ], + "max_length": 256, + "$text_box_name": "#data_field", + "$text_edit_box_content_binding_name": "#data_content_edit_box", + "$place_holder_text": "" + } + }, + { + "data_field_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "corner_mode_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#corner_mode_panel_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "structure_name@structure_editor.structure_name_wrapper": {} + } + ] + }, + + "help_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 34, 30 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { + "help@structure_editor.help_button": { + "size": [ 30, 30 ] + } + }, + { + "help_divider": { + "type": "panel", + "size": [ "4px", "100%" ] + } + } + ] + }, + + "save_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 34px", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "divider": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "save@structure_editor.save_button": { + "size": [ "33% - 3px", "100%" ] + } + }, + { + "save_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "export@structure_editor.export_button": { + "size": [ "34% - 4px", "100%" ] + } + }, + { + "export_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "import_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "reset@structure_editor.reset_button": { + "size": [ "33% - 3px", "100%" ] + } + }, + { + "reset_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#save_visible", + "binding_name_override": "#visible" + } + ] + }, + + "save_button_panel_no_export": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 34px", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "divider": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "save@structure_editor.save_button": { + "size": [ "50% - 4px", "100%" ] + } + }, + { + "save_divider": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "reset@structure_editor.reset_button": { + "size": [ "50% - 4px", "100%" ] + } + }, + { + "reset_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#save_visible", + "binding_name_override": "#visible" + } + ] + }, + + "load_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 34px", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "divider": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "load@structure_editor.load_button": { + "size": [ "33% - 3px", "100%" ] + } + }, + { + "load_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "export_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "import@structure_editor.import_button": { + "size": [ "34% - 4px", "100%" ] + } + }, + { + "import_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "reset@structure_editor.reset_button": { + "size": [ "33% - 3px", "100%" ] + } + }, + { + "reset_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#load_visible", + "binding_name_override": "#visible" + } + ] + }, + + "load_button_panel_no_export": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 34px", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "divider": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "load@structure_editor.load_button": { + "size": [ "50% - 4px", "100%" ] + } + }, + { + "load_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "reset@structure_editor.reset_button": { + "size": [ "50% - 4px", "100%" ] + } + }, + { + "reset_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#load_visible", + "binding_name_override": "#visible" + } + ] + }, + + "3d_export_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 34px", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "divider": { + "type": "panel", + "size": [ "4px", "100%" ] + } + }, + { + "3d_export@structure_editor.3d_export_button": { + "size": [ "33% - 4px", "100%" ] + } + }, + { + "3d_export_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "import@structure_editor.import_button": { + "size": [ "34% - 4px", "100%" ] + } + }, + { + "import_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + }, + { + "reset@structure_editor.reset_button": { + "size": [ "33% - 4px", "100%" ] + } + }, + { + "reset_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#3d_export_visible", + "binding_name_override": "#visible" + } + ] + }, + + + "data_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 34px", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "divider": { + "type": "panel", + "size": [ "4px", " 100%" ] + } + }, + { + "reset@structure_editor.reset_button": { + "size": [ "100% - 6px", "100%" ] + } + }, + { + "reset_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#data_mode_panel_visible", + "binding_name_override": "#visible" + } + ] + }, + + "corner_button_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 34px", 30 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "reset_divider": { + "type": "panel", + "size": [ "2px", "100%" ] + } + } + ], + "bindings": [ + { + "binding_name": "#corner_mode_panel_visible", + "binding_name_override": "#visible" + } + ] + }, + + "button_panel_wrapper": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "layer": 2, + "offset": [ 0, 2 ], + "controls": [ + { + "panel": { + "type": "panel", + "size": [ "100% - 6px", "100% - 6px" ], + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "divider": { + "type": "panel", + "size": [ "4px", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "save_panel@structure_editor.save_button_panel": { + "layer": 3, + "ignored": "(not $file_picking_supported)" + } + }, + { + "save_panel_no_export@structure_editor.save_button_panel_no_export": { + "layer": 3, + "ignored": "($file_picking_supported)" + } + }, + { + "corner_panel@structure_editor.corner_button_panel": { + "layer": 3, + "ignored": "(not $file_picking_supported)" + } + }, + { + "load_panel_no_export@structure_editor.load_button_panel_no_export": { + "layer": 3, + "ignored": "($file_picking_supported)" + } + }, + { + "load_panel@structure_editor.load_button_panel": { + "layer": 3, + "ignored": "(not $file_picking_supported)" + } + }, + { + "3d_export_panel@structure_editor.3d_export_button_panel": { + "ignored": "(not $3DExport_support)", + "layer": 3 + } + }, + { + "data_panel@structure_editor.data_button_panel": { + "layer": 3, + "ignored": "(not $data_support)" + } + }, + { + "how_to_play_button@structure_editor.help_button_panel": { + "layer": 3 + } + }, + { + "end_divider": { + "type": "panel", + "size": [ "4px", "100%" ], + "anchor_from": "top_right", + "anchor_to": "top_right" + } + } + ] + } + } + ] + }, + + "redstone_dropdown_content@settings_common.option_radio_dropdown_group": { + "$show_option_label": false, + "$radio_buttons": [ + { + "structure_redstone_memory@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_redstone_memory", + "$radio_label_text": "structure_block.save_to_memory" + } + }, + { + "structure_redstone_disk@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_redstone_disk", + "$radio_label_text": "structure_block.save_to_disk" + } + } + ] + }, + + "redstone_save_mode_panel@settings_common.option_dropdown": { + "$option_label": "structure_block.redstone_save_mode", + "$dropdown_content": "structure_editor.redstone_dropdown_content", + "$dropdown_area": "scrolling_panel", + "$dropdown_name": "redstone_dropdown", + "$option_enabled_binding_name": "#redstone_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#redstone_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "140%" ] + }, + + "animation_mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$show_option_label": false, + "$radio_buttons": [ + { + "structure_animation_none@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_animation_none", + "$radio_label_text": "structure_block.place_by_none" + } + }, + { + "structure_animation_layers@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_animation_layers", + "$radio_label_text": "structure_block.place_by_layer" + } + }, + { + "structure_animation_blocks@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_animation_blocks", + "$radio_label_text": "structure_block.place_by_block" + } + } + ] + }, + + "animation_mode_dropdown@settings_common.option_dropdown": { + "$option_label": "structure_block.animation_mode", + "$dropdown_content": "structure_editor.animation_mode_dropdown_content", + "$dropdown_area": "scrolling_panel", + "$dropdown_name": "animation_mode_dropdown", + "$option_enabled_binding_name": "#animation_mode_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#animation_mode_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "165%" ] + }, + + "structure_name_wrapper": { + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "structure_name@structure_editor.text_edit_control": { + "size": [ "100% - 4px", 20 ], + "max_length": 30, + "$text_box_name": "#structure_name", + "$text_edit_box_content_binding_name": "#structure_name_content_binding_name", + "$place_holder_text": "structure_block.structure_name", + "$text_color_binding_name": "#name_box_color", + "$text_color_binding_type": "global" + } + }, + { + "structure_name_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "detect_button_wrapper": { + "type": "panel", + "size": [ "100%", "100%c + 4px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "detect@structure_editor.detect_button": { + "size": [ "100% - 4px", 20 ], + "layer": 3 + } + }, + { + "detect_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + }, + + "mode_dropdown_content@settings_common.option_radio_dropdown_group": { + "$show_option_label": false, + "$radio_buttons": [ + { + "structure_save_mode@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_save_mode", + "$radio_label_text|default": "structure_block.mode.save" + } + }, + { + "structure_load_mode@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_load_mode", + "$radio_label_text|default": "structure_block.mode.load" + } + }, + { + "structure_data_mode@settings_common.radio_with_label": { + "ignored": "(not $data_support)", + "$toggle_state_binding_name": "#structure_data_mode", + "$radio_label_text": "structure_block.mode.data" + } + }, + { + + "structure_corner_mode@settings_common.radio_with_label": { + "$toggle_state_binding_name": "#structure_corner_mode", + "$radio_label_text": "structure_block.mode.corner" + } + }, + { + "structure_3d_export_mode@settings_common.radio_with_label": { + "ignored": "(not $3DExport_support)", + "$toggle_state_binding_name": "#structure_3d_export_mode", + "$radio_label_text": "structure_block.mode.export" + } + } + ] + }, + + "mode_panel@settings_common.option_dropdown": { + "$option_label": "structure_block.mode", + "$dropdown_content": "structure_editor.mode_dropdown_content", + "$dropdown_area": "scrolling_panel", + "$dropdown_name": "mode_dropdown", + "$option_enabled_binding_name": "#mode_dropdown_enabled", + "$options_dropdown_toggle_label_binding": "#mode_dropdown_toggle_label", + "$dropdown_scroll_content_size": [ "100%", "200%" ] + }, + + "scrolling_panel_wrapper@common.dialog_background_hollow_4": { + "layer": 2, + "offset": [ 0, 2 ], + "controls": [ + { + "scrolling_panel@structure_editor.scrolling_panel": { + "size": [ "100% - 16px", "100% - 16px" ] + } + } + ] + }, + + "scrolling_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_content": "structure_editor.scroll_panel_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false + }, + + "scroll_panel_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 4px", "100%c" ], + "offset": [ 2, 0 ], + "controls": [ + { + "content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "100%c" ], + "controls": [ + { + "base_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "mode_panel@structure_editor.mode_panel": {} + }, + { + "mode_panel_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "3d_export_mode_panel@structure_editor.3d_export_mode_panel": { + "ignored": "(not $3DExport_support)" + } + }, + { + "save_mode_panel@structure_editor.save_mode_panel": { + } + }, + { + "load_mode_panel@structure_editor.load_mode_panel": { + } + }, + { + "data_mode_panel@structure_editor.data_mode_panel": { + "ignored": "(not $data_support)" + } + }, + { + "corner_mode_panel@structure_editor.corner_mode_panel": { + } + }, + { + "base_mode_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "show_bounding_box@structure_editor.show_bounding_box_panel": {} + }, + { + "show_bounding_box_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "offset_2": { + "type": "panel", + "size": [ "100%", 2 ] + } + } + ] + } + } + ] + }, + + "left_divider_content": { + "type": "panel", + "controls": [ + { + "scrolling_panel@structure_editor.scrolling_panel_wrapper": {} + } + ] + }, + + "anim_save_message_text_alpha": { + "anim_type": "alpha", + "easing": "in_expo", + "destroy_at_end": "save_message_label", + "duration": 2, + "from": 1.0, + "to": 0 + }, + + "save_message_text": { + "type": "panel", + "offset": [ 0, 30 ], + "size": [ "100%c", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "save_message_label": { + "type": "label", + "size": [ 100, 10 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "text_alignment": "center", + "layer": 7, + "color": "$structure_editor_text", + "text": "structure_block.save.successful", + "shadow": true, + "alpha": "@structure_editor.anim_save_message_text_alpha" + } + } + ] + }, + + "import_message_text": { + "type": "panel", + "offset": [ 0, 30 ], + "size": [ "100%c", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "save_message_label": { + "type": "label", + "size": [ 100, 10 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "text_alignment": "center", + "layer": 7, + "color": "$structure_editor_text", + "text": "structure_block.import.successful", + "shadow": true, + "alpha": "@structure_editor.anim_save_message_text_alpha" + } + } + ] + }, + + "import_failed_message_text": { + "type": "panel", + "offset": [ 0, 30 ], + "size": [ "100%c", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "save_message_label": { + "type": "label", + "size": [ 100, 10 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "text_alignment": "center", + "layer": 7, + "color": "$structure_editor_text", + "text": "structure_block.import.failed", + "shadow": true, + "alpha": "@structure_editor.anim_save_message_text_alpha" + } + } + ] + }, + + "export_disabled_label": { + "type": "label", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "text_alignment": "left", + "layer": 7, + "color": "$structure_editor_text", + "text": "structure_block.export.disabled_message", + "shadow": true, + "bindings": [ + { + "binding_name": "#export_disabled_visible", + "binding_name_override": "#visible" + } + ] + }, + + "image_panel_wrapper@common.dialog_background_hollow_4": { + "layer": 2, + "controls": [ + { + "image_panel@structure_editor.image_panel": { + "size": [ "100% - 16px", "100% - 16px" ] + } + }, + { + "save_message_factory": { + "type": "factory", + "control_name": "@structure_editor.save_message_text" + } + }, + { + "import_message_factory": { + "type": "factory", + "control_name": "@structure_editor.import_message_text" + } + }, + { + "import_failed_message_factory": { + "type": "factory", + "control_name": "@structure_editor.import_failed_message_text" + } + }, + { + "export_disabled@structure_editor.export_disabled_label": { + "size": [ "100% - 20px", 30 ], + "offset": [ 10, -10 ] + + } + } + ] + }, + + "corner_text@common.dialog_background_hollow_4": { + "layer": 2, + "controls": [ + { + "image_panel@structure_editor.corner_text_section": { + "size": [ "100% - 16px", "100% - 16px" ] + } + } + ] + }, + + "image_panel": { + "type": "panel", + "controls": [ + { + "border_indent": { + "type": "panel", + "size": [ "100%", "100%" ], + "layer": 2, + "controls": [ + { + "background_gradient@structure_editor.background_gradient": { + "layer": 1 + } + }, + { + "image_outline@common_buttons.focus_border": { + "size": [ "100% - 2px", "100% - 2px" ], + "layer": 4, + "bindings": [ + { + "binding_name": "#has_focus", + "binding_name_override": "#visible" + } + ] + } + }, + { + "structure_renderer@structure_editor.structure_renderer": { + "layer": 3 + } + }, + { + "text_corner@structure_editor.corner_text_panel": { + "size": [ "100% - 6px", "100%" ], + "layer": 3, + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 4, 2 ] + } + }, + { + "progress_panel@structure_editor.progress_panel": { + "layer": 3 + } + }, + { + "rotate_arrows@structure_editor.rotation_arrows": { + "size": [ 45, 7 ], + "offset": [ 0, -4 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 2 + } + } + ] + } + } + ] + }, + + "progress_panel": { + "type": "input_panel", + "modal": true, + "bindings": [ + { + "binding_name": "#progress_panel_visible", + "binding_name_override": "#visible", + "binding_condition": "always", + "binding_type": "global" + } + ], + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "90%", "100%c" ], + "controls": [ + { + "label_wrapper": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "progress_label@structure_editor.common_text_label": { + "size": [ "default", 10 ], + "text": "structure_block.progress.generating" + } + } + ] + } + }, + { + "progress_bar@file_upload.progress_bar_icon": { + "size": [ "100%", 5 ], + "layer": 3, + "$progress_bindings": [ + { + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio", + "binding_condition": "always_when_visible", + "binding_type": "global" + } + ] + } + } + ] + } + } + ] + }, + + "background_gradient": { + "type": "custom", + "renderer": "gradient_renderer", + "color1": [ 0.188, 0.188, 0.188, 0.37 ], + "color2": [ 0.188, 0.188, 0.188, 0.627 ], + "ignored": "$is_holographic" + }, + + "corner_text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#corner_text_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "paragraph_1_corner@how_to_play_common.paragraph": { + "$text": "structure_block.corner.text.1.title" + } + }, + { "padding_1@structure_editor.small_padding": {} }, + { + "paragraph_2_corner@how_to_play_common.paragraph": { + "$text": "structure_block.corner.text.2.paragraph" + } + } + ] + }, + + "structure_renderer": { + "type": "input_panel", + "focus_enabled": true, + "gesture_tracking_button": "button.turn_structure", + "always_handle_controller_direction": true, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.turn_structure", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "bindings": [ + { + "binding_name": "#structure_renderer_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "renderer": { + "type": "custom", + "renderer": "3d_structure_renderer", + "property_bag": { + "#has_focus": false, + "#block_position": [ 0, 0, 0 ], + "#bottom_left_block": [ 0, 0, 0 ], + "#top_right_block": [ 1, 1, 1 ], + "#include_entities": false, + "#remove_blocks": false, + "#include_players": false + }, + "anims": [ + "@common.screen_exit_size_animation_push", + "@common.screen_exit_size_animation_pop" + ], + "bindings": [ + { + "binding_name": "#has_focus", + "binding_condition": "visible" + }, + { + "binding_name": "#block_position", + "binding_condition": "visible" + }, + { + "binding_name": "#bottom_left_block", + "binding_condition": "visible" + }, + { + "binding_name": "#top_right_block", + "binding_condition": "visible" + }, + { + "binding_name": "#include_entities", + "binding_condition": "visible" + }, + { + "binding_name": "#remove_blocks", + "binding_condition": "visible" + }, + { + "binding_name": "#include_players", + "binding_condition": "visible" + }, + { + "binding_type": "view", + "source_control_name": "structure_renderer", + "source_property_name": "#gesture_delta_source", + "target_property_name": "#gesture_delta_source" + }, + { + "binding_type": "view", + "source_control_name": "structure_renderer", + "source_property_name": "#gesture_mouse_delta_x", + "target_property_name": "#gesture_mouse_delta_x" + }, + { + "binding_type": "view", + "source_control_name": "structure_renderer", + "source_property_name": "#gesture_mouse_delta_y", + "target_property_name": "#gesture_mouse_delta_y" + } + ] + } + } + ] + }, + + "black_border": { + "type": "image", + "texture": "textures/ui/BannersTransparent" + }, + + "rotation_arrows": { + "type": "image", + "texture": "textures/ui/Rotate", + "color": [ 0.6, 0.6, 0.6 ], + "bindings": [ + { + "binding_name": "#rotation_arrows_visible", + "binding_name_override": "#visible" + } + ] + }, + + "right_divider_content": { + "type": "stack_panel", + "orientation": "vertical", + "controls": [ + { + "base_offset": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "preview@structure_editor.image_panel_wrapper": { + "size": [ "100% - 6px", "100% - 50px" ] + } + }, + { + "image_offset": { + "type": "panel", + "size": [ "100%", 1 ] + } + }, + { + "button_wrapper": { + "type": "panel", + "size": [ "100% - 6px", "46px" ], + "controls": [ + { + "buttons@structure_editor.button_panel_wrapper": {} + } + ] + + } + } + ] + }, + + "divider_content": { + "type": "panel", + "controls": [ + { + "left_side@structure_editor.left_divider_content": { + "size": [ "160px", "100% - 31px" ], + "offset": [ 8, 23 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + + } + }, + { + "right_side@structure_editor.right_divider_content": { + "size": [ "100% - 170px", "100% - 31px" ], + "offset": [ "170px", 23 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + + } + } + ] + }, + + "structure_editor_content": { + "type": "panel", + "controls": [ + { + "background_panel@common.fullscreen_header": { + "$dialog_background": "common.dialog_background_hollow_3", + "layer": 3 + } + }, + { + "title@structure_editor.common_text_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 40, 6 ], + "layer": 4, + "text": "structure_block.title", + "color": "$title_text_color" + } + }, + { + "content@structure_editor.divider_content": { + "layer": 4, + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "structure_editor_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_content": "structure_editor.structure_editor_content", + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.95 + } +} diff --git a/resource_pack/ui/submit_feedback_screen.json b/resource_pack/ui/submit_feedback_screen.json new file mode 100644 index 0000000..34b5ecd --- /dev/null +++ b/resource_pack/ui/submit_feedback_screen.json @@ -0,0 +1,150 @@ +{ + "namespace": "submit_feedback", + + "send_feedback_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.send_feedback", + "$button_text": "gui.submitFeedback.button.text", + "bindings": [ + { + "binding_name": "#has_feedback_text", + "binding_name_override": "#enabled" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Controls + //-------------------------------------------------------------------------------- + + "write_feedback_panel": { + "type": "stack_panel", + "size": [ "100% - 12px", "100%" ], + "controls": [ + { + "pad_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "write_feedback_label": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%", "default" ], + "text": "gui.submitFeedback.body.text" + } + }, + { + "pad_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "feedback_textbox@common.text_edit_box": { + "size": [ "100%", 40 ], + "$text_box_name": "#write_feedback_textbox", + "$place_holder_text": "gui.submitFeedback.placeHolder.text", + "max_length": "$feedback_textbox_max_length" + } + }, + { + "remaining_characters_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "controls": [ + { + "remaining_characters_count_label": { + "type": "label", + "font_type": "smooth", + "size": [ "default", "default" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "color": "$body_text_color", + "text": "#remaining_characters_count", + "bindings": [ + { + "binding_name": "#remaining_characters_count" + } + ] + } + } + ] + } + } + ] + }, + + "scroll_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "write_feedback_panel@submit_feedback.write_feedback_panel": {} + } + ] + }, + + "main_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$show_background": false, + "size": [ "100%", "100%" ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_content": "submit_feedback.scroll_panel", + "$scrolling_pane_size": [ "100%", "100%" ] + } + } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "submit_feedback_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "submit_feedback.submit_feedback_content", + "$default_text_color": [ 0.3, 0.3, 0.3 ] + }, + + "submit_feedback_content": { + "type": "panel", + "controls": [ + { + "submit_feedback_main_panel@common_dialogs.main_panel_one_button": { + "$text_name": "gui.submitFeedback.text", + "$child_control": "submit_feedback.main_panel", + "size": [ 270, 165 ], + "$button_panel": "submit_feedback.send_feedback_button", + "bindings": [ + { + "binding_name": "#show_submit_feedback_screen", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading_spinner": { + "size": [ "5%", "5%" ], + "bindings": [ + { + "binding_name": "#submit_feedback_in_progress", + "binding_name_override": "#visible" + } + ] + } + } + ] + } +} diff --git a/resource_pack/ui/tabbed_upsell_screen.json b/resource_pack/ui/tabbed_upsell_screen.json new file mode 100644 index 0000000..447de04 --- /dev/null +++ b/resource_pack/ui/tabbed_upsell_screen.json @@ -0,0 +1,635 @@ +{ + "namespace": "tabbed_upsell", + + //--------------------------------------------------------------------------- + // Padding panels + //--------------------------------------------------------------------------- + + "padding_horizontal": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + "padding_vertical": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "text_horizontal_padding": { + "type": "panel", + "size": [ 5, "100%" ] + }, + + //--------------------------------------------------------------------------- + // Button panels content + //--------------------------------------------------------------------------- + + "tabbed_upsell_buy_now_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.tabbed_buy_now_button", + "$button_content": "tabbed_upsell.tabbed_buy_now_label" + }, + + "tabbed_buy_now_label": { + "type": "panel", + "layer": 2, + "controls": [ + { + "button_label": { + "type": "label", + "color": "$text_color", + "text": "trial.tabbed_upsell.button" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Text Panel + //--------------------------------------------------------------------------- + + "label_panel": { + "type": "panel", + "controls": [ + { + "label_text": { + "type": "label", + "size": [ "100%", "default" ], + "$text_font_scale_factor|default": 0.9, + "font_scale_factor": "$text_font_scale_factor", + "font_type": "smooth", + "text": "$text", + "color": "$text_color" + } + } + ] + }, + + "text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "default" ], + "controls": [ + { + "tab_content_title_panel@tabbed_upsell.label_panel": { + "size": [ "100%", 13 ], + "$text": "$title_text", + "$text_color": "$main_header_text_color", + "$text_font_scale_factor": 1.33 + } + }, + { + "tab_content_description_panel@tabbed_upsell.label_panel": { + "size": [ "100%", "100%c" ], + "$text_color": "$body_text_color", + "$text": "$description_text" + } + }, + { + "tab_content_description_panel_second@tabbed_upsell.label_panel": { + "ignored": "(not $multiline_description)", + "size": [ "100%", "100%c" ], + "$text_color": "$body_text_color", + "$text": "$description_text_line_2" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Image Panel + //--------------------------------------------------------------------------- + + "dialog_image": { + "type": "image", + "layer": 2, + "texture": "$texture", + "size": [ "100% - 2px", "100%" ] + }, + + "dialog_image_with_border": { + "type": "image", + "layer": 1, + "$background_texture|default": "textures/ui/Grey", + "texture": "$background_texture", + "controls": [ + { + "dialog_image@tabbed_upsell.dialog_image": {} + } + ] + }, + + "content_image_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "minecraft_dialog_image_with_border@tabbed_upsell.dialog_image_with_border": { + "size": [ "40%", "100%" ] + } + }, + { + "horizontal_padding_01@tabbed_upsell.text_horizontal_padding": {} + }, + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "60% - 5px", "100%" ], + "$scrolling_content": "tabbed_upsell.scroll_text", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 1, 0 ], + "layer": 3 + } + } + ] + }, + + "scroll_text@common.non_interact_focus_border_button": { + "$content_inside": "tabbed_upsell.text_panel", + "$border_size": [ "100%", "100%sm + 2px" ], + "size": [ "100%", "100%cm" ], + "$focus_id": "text_container" + }, + + "image_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$focus_texture|default": "common.empty_panel", + "variables": [ + { + "requires": "(($tab_state = checked_hover) or ($tab_state = checked))", + "$focus_texture": "common.focus_border_white" + } + ], + "controls": [ + { + "dialog_image_with_border@tabbed_upsell.dialog_image_with_border": { + "size": [ "100%", "100%" ] + } + }, + { + "focus_image@$focus_texture": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Main navigation tabs + //--------------------------------------------------------------------------- + + "top_tab@common_tabs.tab_top": { + "$toggle_focus_enabled": false, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$default_tab", + "$background_texture": "textures/ui/Black" + }, + + //--------------------------------------------------------------------------- + // Tabs layout panels + //--------------------------------------------------------------------------- + + "tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", 16.8 ], + "controls": [ + { + "navigation_tabs": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "content@$navigation_tab": { + } + } + ] + } + } + ] + }, + + "common_tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ] + }, + + "tabbed_tab_navigation_panel_layout@tabbed_upsell.common_tab_navigation_panel_layout": { + "controls": [ + { + "minecraft_navigation_tab@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "minecraft_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 0, + "$texture": "textures/ui/tabbed_upsell_maingame_thumb", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_01@tabbed_upsell.padding_horizontal": {} + }, + { + "xbl_navigation_tab@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "xbl_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 1, + "$texture": "textures/ui/tabbed_upsell_xbox_thumbnail", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_02@tabbed_upsell.padding_horizontal": {} + }, + { + "achievements_navigation_tab3@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "achievements_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 2, + "$texture": "textures/ui/tabbed_upsell_achievements_thumb", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_03@tabbed_upsell.padding_horizontal": {} + }, + { + "multiplayer_navigation_tab4@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "multiplayer_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 3, + "$texture": "textures/ui/tabbed_upsell_multiplayer_thumbnail", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_04@tabbed_upsell.padding_horizontal": {} + }, + { + "server_navigation_tab@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "server_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 4, + "$texture": "textures/ui/tabbed_upsell_servers_thumbnail", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_05@tabbed_upsell.padding_horizontal": {} + }, + { + "store_navigation_tab@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "store_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 5, + "$texture": "textures/ui/tabbed_upsell_marketplace_thumbnail", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_06@tabbed_upsell.padding_horizontal": {} + }, + { + "creative_navigation_tab@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "creative_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 6, + "$texture": "textures/ui/tabbed_upsell_creative_thumbnail", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_07@tabbed_upsell.padding_horizontal": {} + }, + { + "packs_navigation_tab@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "packs_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 7, + "$texture": "textures/ui/tabbed_upsell_addons_thumbnail", + "$tab_panel": "tabbed_upsell.image_panel" + } + }, + { + "nav_padding_08@tabbed_upsell.padding_horizontal": {} + }, + { + "seeds_navigation_tab@tabbed_upsell.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "seeds_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 8, + "$texture": "textures/ui/tabbed_upsell_seeds_thumbnail", + "$tab_panel": "tabbed_upsell.image_panel" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Content layout panels + //--------------------------------------------------------------------------- + + "tabbed_tab_content_panel_layout": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%", "fill" ], + "$multiline_description": false, + "controls": [ + { + "minecraft_tab_content@tabbed_upsell.minecraft_tab_content_panel": {} + }, + { + "xbl_tab_content2@tabbed_upsell.xbl_tab_content_panel": {} + }, + { + "achievements_tab_content3@tabbed_upsell.achievements_tab_content_panel": {} + }, + { + "multiplayer_tab_content4@tabbed_upsell.multiplayer_tab_content_panel": {} + }, + { + "server_tab_content5@tabbed_upsell.server_tab_content_panel": {} + }, + { + "store_tab_content6@tabbed_upsell.store_tab_content_panel": {} + }, + { + "creative_tab_content7@tabbed_upsell.creative_tab_content_panel": {} + }, + { + "packs_tab_content8@tabbed_upsell.packs_tab_content_panel": {} + }, + { + "seeds_tab_content9@tabbed_upsell.seeds_tab_content_panel": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Content tabs panel + //--------------------------------------------------------------------------- + + "common_tab_content_panel": { + "type": "panel", + "controls": [ + { + "content@$scroll_tab_content": { + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ] + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visible_bind_toggle_source_control", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "minecraft_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "minecraft_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_maingame", + "$title_text": "trial.tabbed_upsell.minecraft.title", + "$description_text": "trial.tabbed_upsell.minecraft.description" + }, + + "xbl_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "xbl_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_xbox", + "$title_text": "trial.tabbed_upsell.xbl.title", + "$description_text": "trial.tabbed_upsell.xbl.description", + "$multiline_description": true, + "$description_text_line_2": "trial.tabbed_upsell.xbl.description.line2" + }, + + "achievements_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "achievements_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_achievements", + "$title_text": "trial.tabbed_upsell.achievements.title", + "$description_text": "trial.tabbed_upsell.achievements.description" + }, + + "multiplayer_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "multiplayer_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_multiplayer", + "$title_text": "trial.tabbed_upsell.multiplayer.title", + "$description_text": "trial.tabbed_upsell.multiplayer.description" + }, + + "server_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "server_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_servers", + "$title_text": "trial.tabbed_upsell.server.title", + "$description_text": "trial.tabbed_upsell.server.description" + }, + + "store_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "store_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_marketplace", + "$title_text": "trial.tabbed_upsell.store.title", + "$description_text": "trial.tabbed_upsell.store.description" + }, + + "creative_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "creative_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_creative", + "$title_text": "trial.tabbed_upsell.creative.title", + "$description_text": "trial.tabbed_upsell.creative.description" + }, + + "packs_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "packs_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_add_ons", + "$title_text": "trial.tabbed_upsell.addon.title", + "$description_text": "trial.tabbed_upsell.addon.description" + }, + + "seeds_tab_content_panel@tabbed_upsell.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "seeds_navigation_tab_toggle", + "$scroll_tab_content": "tabbed_upsell.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_seeds", + "$title_text": "trial.tabbed_upsell.seeds.title", + "$description_text": "trial.tabbed_upsell.seeds.description" + }, + + //--------------------------------------------------------------------------- + // Tab Panel + //--------------------------------------------------------------------------- + + "common_tab_screen_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "100%" ], + "controls": [ + { + "tab_navigation_panel@tabbed_upsell.tab_navigation_panel_layout": {} + }, + { + "padding_01@tabbed_upsell.padding_vertical": {} + }, + { + "tab_content_panel@$tab_content_panel": {} + } + ] + }, + + "tabbed_screen_panel@tabbed_upsell.common_tab_screen_panel": { + "$navigation_tab": "tabbed_upsell.tabbed_tab_navigation_panel_layout", + "$tab_content_panel": "tabbed_upsell.tabbed_tab_content_panel_layout" + }, + + //--------------------------------------------------------------------------- + // Button main Panel + //--------------------------------------------------------------------------- + + "button_panel": { + "type": "stack_panel", + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { + "padding_5@tabbed_upsell.padding_horizontal": {} + }, + { + "buy_now_button@tabbed_upsell.tabbed_upsell_buy_now_button": { + "size": [ "100% - 4px", "100%" ], + "$focus_override_up": "text_container" + } + }, + { + "padding_6@tabbed_upsell.padding_horizontal": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Tab main Panel + //--------------------------------------------------------------------------- + + "tab_panel": { + "type": "stack_panel", + "size": [ "100%", "fill" ], + "orientation": "horizontal", + "controls": [ + { + "padding_3@tabbed_upsell.padding_horizontal": {} + }, + { + "main_control@tabbed_upsell.tabbed_screen_panel": {} + }, + { + "padding_4@tabbed_upsell.padding_horizontal": {} + } + ] + }, + + "tabbed_Upsell_content": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "controls": [ + { + "padding_0@tabbed_upsell.padding_vertical": {} + }, + { + "tab_panel@tabbed_upsell.tab_panel": {} + }, + { + "padding_1@tabbed_upsell.padding_vertical": {} + }, + { + "button_panel@tabbed_upsell.button_panel": {} + }, + { + "padding_2@tabbed_upsell.padding_vertical": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "tabbed_upsell_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "force_render_below": true, + "$screen_content": "tabbed_upsell.tabbed_upseel_screen_panel" + }, + + "tabbed_upseel_screen_panel": { + "type": "panel", + "controls": [ + { + "tabbed_Upsell_screen_content@common_dialogs.main_panel_no_buttons": { + "size": "$tabbed_upsell_screen_size", + "$title_panel": "common_dialogs.standard_title_label", + "$text_name": "trial.tabbed_upsell.title", + "$child_control": "tabbed_upsell.tabbed_Upsell_content", + "$show_close_button": true, + "layer": 2 + } + }, + { + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + } + } + ] + } + +} diff --git a/resource_pack/ui/test_anims_screen.json b/resource_pack/ui/test_anims_screen.json new file mode 100644 index 0000000..b4c954c --- /dev/null +++ b/resource_pack/ui/test_anims_screen.json @@ -0,0 +1,420 @@ +{ + "namespace": "test", + + //--------------------------------------------------------------------------- + // Common + //--------------------------------------------------------------------------- + + "button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "layer": 1, + "size": [ 100, 20 ], + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed" + }, + + "button_text": { + "type": "label", + "color": "$generic_button_text_color", + "layer": 1, + "font_size": "small", + "text": "go button", + "shadow": false + }, + + "button_image": { + "type": "image", + "texture": "textures/ui/NormalButtonStroke", + "layer": 2, + "controls": [ + { + "button_text@button_text": { + } + } + ] + }, + + "go_button@button": { + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ 40, 15 ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_play", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "default@button_image": { + } + }, + { + "hover@button_image": { + } + }, + { + "pressed@button_image": { + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Animations + //--------------------------------------------------------------------------- + + "anim_guy_walk": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 5, + "frame_step": 23, + "fps": 8 + }, + + "anim_guy_wait": { + "anim_type": "wait", + "duration": 3, + "next": "@anim_guy_move_back" + }, + + "anim_guy_move_back": { + "anim_type": "offset", + "easing": "linear", + "duration": 4, + "from": [ "85%", 0 ], + "to": [ "10%", 0 ], + "next": "@anim_guy_move_forward" + }, + + "anim_guy_move_forward": { + "anim_type": "offset", + "easing": "in_out_back", + "duration": 3, + "from": [ "10%", 0 ], + "to": [ "85%", 0 ], + "next": "@anim_guy_wait" + }, + + "anim_arrow_color": { + "anim_type": "color", + "easing": "in_out_expo", + "duration": 15, + "from": [ 0, 1, 0, 1 ], + "to": [ 1, 0, 0, 1 ] + }, + + "anim_color_cycle": { + "anim_type": "color", + "duration": 2, + "from": [ 0, 1, 0, 1 ], + "to": [ 1, 0, 1, 1 ], + "next": "@anim_color_cycle" + }, + + "anim_color_flash_wait": { + "anim_type": "wait", + "duration": 1, + "next": "@anim_color_flash" + }, + + "anim_color_flash": { + "anim_type": "color", + "duration": 0.2, + "from": [ 0, 0, 0, 1 ], + "to": [ 1, 0.25, 0, 1 ], + "next": "@anim_color_flash_wait" + }, + + "anim_move": { + "anim_type": "offset", + "duration": 10 + }, + + "anim_move_along_top@anim_move": { + "from": [ "2%", "20%" ], + "to": [ "98%", "20%" ], + "duration": 5, + "easing": "out_bounce", + "next": "@anim_move_along_right" + }, + + "anim_move_along_right@anim_move": { + "duration": 1, + "from": [ "98%", "20%" ], + "to": [ "98%", "80%" ], + "easing": "in_out_back", + "next": "@anim_move_along_bottom" + }, + + "anim_move_along_bottom@anim_move": { + "from": [ "98%", "80%" ], + "to": [ "2%", "80%" ], + "easing": "in_bounce", + "duration": 6, + "next": "@anim_move_along_left" + }, + + "anim_move_along_left@anim_move": { + "from": [ "2%", "80%" ], + "to": [ "2%", "20%" ], + "duration": 1, + "easing": "in_out_circ", + "next": "@anim_move_along_top" + }, + + "anim_move_with_condition_forward": { + "anim_type": "offset", + "activated": "#active", + "easing": "out_expo", + "from": [ 10, -10 ], + "to": [ 240, -10 ], + "duration": 5, + "next": "@anim_move_with_condition_back" + }, + + "anim_move_with_condition_back": { + "anim_type": "offset", + "easing": "in_expo", + "activated": "#active", + "from": [ 240, -10 ], + "to": [ 10, -10 ], + "duration": 5, + "next": "@anim_move_with_condition_forward" + }, + + "anim_move_sub_square_a": { + "anim_type": "offset", + "from": [ -12, 12 ], + "to": [ 12, -12 ], + "next": "@anim_move_sub_square_b" + }, + + "anim_move_sub_square_b": { + "anim_type": "offset", + "from": [ 12, -12 ], + "to": [ -12, 12 ], + "next": "@anim_move_sub_square_a" + }, + + "anim_portal_uv_scroll": { + "anim_type": "uv", + "from": [ 0, 0 ], + "to": [ 0, 256 ], + "duration": 4, + "next": "@anim_portal_uv_scroll" + }, + + "anim_portal_scale_big": { + "anim_type": "size", + "easing": "in_sine", + "start_event": "button.menu_achievements", + "from": [ 16, 16 ], + "to": [ 64, 32 ], + "duration": 1.5, + "next": "@anim_portal_scale_small" + }, + + "anim_portal_scale_small": { + "anim_type": "size", + "easing": "out_sine", + "from": [ 64, 32 ], + "to": [ 16, 16 ], + "duration": 1.5, + "next": "@anim_portal_scale_big" + }, + + //--------------------------------------------------------------------------- + // Pieces + //--------------------------------------------------------------------------- + + "arrow_image": { + "type": "image", + "texture": "textures/ui/arrow", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "color": "@anim_arrow_color" + }, + + "walking_image": { + "type": "image", + "texture": "textures/ui/walking", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ 23, 36 ], + "uv_size": [ 23, 36 ], + "uv": "@anim_guy_walk", + "offset": "@anim_guy_move_forward" + }, + + "portal_image": { + "type": "image", + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ], + "texture": "images/blocks/portal", + "size": "@anim_portal_scale_big", + "uv": "@anim_portal_uv_scroll", + "uv_size": [ 16, 16 ] + }, + + "sub_square_thing": { + "type": "image", + "anchor_from": "center", + "anchor_to": "center", + "size": [ 4, 4 ], + "texture": "textures/ui/Dot2", + "layer": 3, + "color": "@anim_color_cycle", + "offset": "@anim_move_sub_square_a" + }, + + "square_thing": { + "type": "image", + "anchor_from": "top_left", + "anchor_to": "center", + "size": [ 10, 10 ], + "texture": "textures/ui/NormalButtonNoStroke", + "layer": 2, + "color": "@anim_color_cycle", + "offset": "@anim_move_along_top", + "controls": [ + { + "sub_square_thing@sub_square_thing": { } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "root_panel": { + "type": "panel", + "size": [ "90%", "90%" ] + }, + + "anchored_panel": { + "type": "image", + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/NormalButtonNoStroke", + "layer": 2 + }, + + "panel_1@anchored_panel": { + "size": [ "100%", "25%" ], + "offset": [ 0, 0 ], + "controls": [ + { + "go_button@go_button": { } + }, + { + "square_thing@square_thing": { + "color": "@anim_color_flash", + "offset": "@anim_move_with_condition_forward", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + } + ] + }, + + "panel_2@anchored_panel": { + "size": [ "100%", "25%" ], + "offset": [ 0, "25%" ], + "controls": [ + { + "square_thing@square_thing": { } + } + ] + }, + + "panel_3@anchored_panel": { + "size": [ "100%", "25%" ], + "offset": [ 0, "50%" ], + "controls": [ + { + "portal@portal_image": { } + }, + { + "go_button@go_button": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_achievements", + "mapping_type": "pressed" + } + ] + } + } + ] + }, + + "panel_4@anchored_panel": { + "size": [ "100%", "25%" ], + "offset": [ 0, "75%" ], + "controls": [ + { + "walking_image@walking_image": { } + }, + { + "arrow_image@arrow_image": { } + } + ] + }, + + "anims@common.base_screen": { + "send_telemetry": false, + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "test.test_anims_screen_content" + }, + + "test_anims_screen_content": { + "type": "panel", + "controls": [ + { + "root_panel@root_panel": { + "controls": [ + { + "panel_1@panel_1": { } + }, + { + "panel_2@panel_2": { } + }, + { + "panel_3@panel_3": { } + }, + { + "panel_4@panel_4": { } + } + ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/thanks_for_testing_screen.json b/resource_pack/ui/thanks_for_testing_screen.json new file mode 100644 index 0000000..3699abf --- /dev/null +++ b/resource_pack/ui/thanks_for_testing_screen.json @@ -0,0 +1,635 @@ +{ + "namespace": "thanks_for_testing", + + //--------------------------------------------------------------------------- + // Padding panels + //--------------------------------------------------------------------------- + + "padding_horizontal": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + "padding_vertical": { + "type": "panel", + "size": [ "100%", 2 ] + }, + + "text_horizontal_padding": { + "type": "panel", + "size": [ 5, "100%" ] + }, + + //--------------------------------------------------------------------------- + // Button panels content + //--------------------------------------------------------------------------- + + "tabbed_upsell_buy_now_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.tabbed_buy_now_button", + "$button_content": "thanks_for_testing.tabbed_buy_now_label" + }, + + "tabbed_buy_now_label": { + "type": "panel", + "layer": 2, + "controls": [ + { + "button_label": { + "type": "label", + "color": "$text_color", + "text": "trial.thanks_for_testing.button" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Text Panel + //--------------------------------------------------------------------------- + + "label_panel": { + "type": "panel", + "controls": [ + { + "label_text": { + "type": "label", + "size": [ "100%", "default" ], + "$text_font_scale_factor|default": 0.9, + "font_scale_factor": "$text_font_scale_factor", + "font_type": "smooth", + "text": "$text", + "color": "$text_color" + } + } + ] + }, + + "text_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 2px", "default" ], + "controls": [ + { + "tab_content_title_panel@thanks_for_testing.label_panel": { + "size": [ "100%", 13 ], + "$text": "$title_text", + "$text_color": "$main_header_text_color", + "$text_font_scale_factor": 1.33 + } + }, + { + "tab_content_description_panel@thanks_for_testing.label_panel": { + "size": [ "100%", "100%c" ], + "$text_color": "$body_text_color", + "$text": "$description_text" + } + }, + { + "tab_content_description_panel_second@thanks_for_testing.label_panel": { + "ignored": "(not $multiline_description)", + "size": [ "100%", "100%c" ], + "$text_color": "$body_text_color", + "$text": "$description_text_line_2" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Image Panel + //--------------------------------------------------------------------------- + + "dialog_image": { + "type": "image", + "layer": 2, + "texture": "$texture", + "size": [ "100% - 2px", "100%" ] + }, + + "dialog_image_with_border": { + "type": "image", + "layer": 1, + "$background_texture|default": "textures/ui/Grey", + "texture": "$background_texture", + "controls": [ + { + "dialog_image@thanks_for_testing.dialog_image": {} + } + ] + }, + + "content_image_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "minecraft_dialog_image_with_border@thanks_for_testing.dialog_image_with_border": { + "size": [ "40%", "100%" ] + } + }, + { + "horizontal_padding_01@thanks_for_testing.text_horizontal_padding": {} + }, + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "60% - 5px", "100%" ], + "$scrolling_content": "thanks_for_testing.scroll_text", + "$show_background": false, + "$scroll_size": [ "5px", "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 1, 0 ], + "layer": 3 + } + } + ] + }, + + "scroll_text@common.non_interact_focus_border_button": { + "$content_inside": "thanks_for_testing.text_panel", + "$border_size": [ "100%", "100%sm + 2px" ], + "size": [ "100%", "100%cm" ], + "$focus_id": "text_container" + }, + + "image_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$focus_texture|default": "common.empty_panel", + "variables": [ + { + "requires": "(($tab_state = checked_hover) or ($tab_state = checked))", + "$focus_texture": "common.focus_border_white" + } + ], + "controls": [ + { + "dialog_image_with_border@thanks_for_testing.dialog_image_with_border": { + "size": [ "100%", "100%" ] + } + }, + { + "focus_image@$focus_texture": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Main navigation tabs + //--------------------------------------------------------------------------- + + "top_tab@common_tabs.tab_top": { + "$toggle_focus_enabled": false, + "$toggle_name": "navigation_tab", + "$toggle_group_default_selected": "$default_tab", + "$background_texture": "textures/ui/Black" + }, + + //--------------------------------------------------------------------------- + // Tabs layout panels + //--------------------------------------------------------------------------- + + "tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", 16.8 ], + "controls": [ + { + "navigation_tabs": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "content@$navigation_tab": { + } + } + ] + } + } + ] + }, + + "common_tab_navigation_panel_layout": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ] + }, + + "tabbed_tab_navigation_panel_layout@thanks_for_testing.common_tab_navigation_panel_layout": { + "controls": [ + { + "minecraft_navigation_tab@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "minecraft_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 0, + "$texture": "textures/ui/tabbed_upsell_maingame_thumb", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_01@thanks_for_testing.padding_horizontal": {} + }, + { + "xbl_navigation_tab@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "xbl_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 1, + "$texture": "textures/ui/tabbed_upsell_xbox_thumbnail", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_02@thanks_for_testing.padding_horizontal": {} + }, + { + "achievements_navigation_tab3@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "achievements_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 2, + "$texture": "textures/ui/tabbed_upsell_achievements_thumb", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_03@thanks_for_testing.padding_horizontal": {} + }, + { + "multiplayer_navigation_tab4@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "multiplayer_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 3, + "$texture": "textures/ui/tabbed_upsell_multiplayer_thumbnail", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_04@thanks_for_testing.padding_horizontal": {} + }, + { + "server_navigation_tab@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "server_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 4, + "$texture": "textures/ui/tabbed_upsell_servers_thumbnail", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_05@thanks_for_testing.padding_horizontal": {} + }, + { + "store_navigation_tab@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "store_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 5, + "$texture": "textures/ui/tabbed_upsell_marketplace_thumbnail", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_06@thanks_for_testing.padding_horizontal": {} + }, + { + "creative_navigation_tab@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "creative_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 6, + "$texture": "textures/ui/tabbed_upsell_creative_thumbnail", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_07@thanks_for_testing.padding_horizontal": {} + }, + { + "packs_navigation_tab@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "packs_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 7, + "$texture": "textures/ui/tabbed_upsell_addons_thumbnail", + "$tab_panel": "thanks_for_testing.image_panel" + } + }, + { + "nav_padding_08@thanks_for_testing.padding_horizontal": {} + }, + { + "seeds_navigation_tab@thanks_for_testing.top_tab": { + "size": [ "fill", "100%" ], + "$tab_view_binding_name": "seeds_navigation_tab_toggle", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 8, + "$texture": "textures/ui/tabbed_upsell_seeds_thumbnail", + "$tab_panel": "thanks_for_testing.image_panel" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Content layout panels + //--------------------------------------------------------------------------- + + "tabbed_tab_content_panel_layout": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%", "fill" ], + "$multiline_description": false, + "controls": [ + { + "minecraft_tab_content@thanks_for_testing.minecraft_tab_content_panel": {} + }, + { + "xbl_tab_content2@thanks_for_testing.xbl_tab_content_panel": {} + }, + { + "achievements_tab_content3@thanks_for_testing.achievements_tab_content_panel": {} + }, + { + "multiplayer_tab_content4@thanks_for_testing.multiplayer_tab_content_panel": {} + }, + { + "server_tab_content5@thanks_for_testing.server_tab_content_panel": {} + }, + { + "store_tab_content6@thanks_for_testing.store_tab_content_panel": {} + }, + { + "creative_tab_content7@thanks_for_testing.creative_tab_content_panel": {} + }, + { + "packs_tab_content8@thanks_for_testing.packs_tab_content_panel": {} + }, + { + "seeds_tab_content9@thanks_for_testing.seeds_tab_content_panel": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Content tabs panel + //--------------------------------------------------------------------------- + + "common_tab_content_panel": { + "type": "panel", + "controls": [ + { + "content@$scroll_tab_content": { + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "100%" ] + } + } + ], + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$visible_bind_toggle_source_control", + "source_property_name": "#toggle_state", + "target_property_name": "#visible" + } + ] + }, + + "minecraft_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "minecraft_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_maingame", + "$title_text": "trial.thanks_for_testing.minecraft.title", + "$description_text": "trial.thanks_for_testing.minecraft.description" + }, + + "xbl_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "xbl_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_xbox", + "$title_text": "trial.thanks_for_testing.xbl.title", + "$description_text": "trial.thanks_for_testing.xbl.description", + "$multiline_description": true, + "$description_text_line_2": "trial.thanks_for_testing.xbl.description.line2" + }, + + "achievements_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "achievements_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_achievements", + "$title_text": "trial.tabbed_upsell.achievements.title", + "$description_text": "trial.thanks_for_testing.achievements.description" + }, + + "multiplayer_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "multiplayer_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_multiplayer", + "$title_text": "trial.tabbed_upsell.multiplayer.title", + "$description_text": "trial.thanks_for_testing.multiplayer.description" + }, + + "server_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "server_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_servers", + "$title_text": "trial.tabbed_upsell.server.title", + "$description_text": "trial.thanks_for_testing.server.description" + }, + + "store_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "store_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_marketplace", + "$title_text": "trial.tabbed_upsell.store.title", + "$description_text": "trial.thanks_for_testing.store.description" + }, + + "creative_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "creative_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_creative", + "$title_text": "trial.tabbed_upsell.creative.title", + "$description_text": "trial.thanks_for_testing.creative.description" + }, + + "packs_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "packs_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_add_ons", + "$title_text": "trial.tabbed_upsell.addon.title", + "$description_text": "trial.thanks_for_testing.addon.description" + }, + + "seeds_tab_content_panel@thanks_for_testing.common_tab_content_panel": { + "$visible_bind_toggle_source_control": "seeds_navigation_tab_toggle", + "$scroll_tab_content": "thanks_for_testing.content_image_panel", + "$texture": "textures/ui/tabbed_upsell_seeds", + "$title_text": "trial.tabbed_upsell.seeds.title", + "$description_text": "trial.thanks_for_testing.seeds.description" + }, + + //--------------------------------------------------------------------------- + // Tab Panel + //--------------------------------------------------------------------------- + + "common_tab_screen_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "100%" ], + "controls": [ + { + "tab_navigation_panel@thanks_for_testing.tab_navigation_panel_layout": {} + }, + { + "padding_01@thanks_for_testing.padding_vertical": {} + }, + { + "tab_content_panel@$tab_content_panel": {} + } + ] + }, + + "tabbed_screen_panel@thanks_for_testing.common_tab_screen_panel": { + "$navigation_tab": "thanks_for_testing.tabbed_tab_navigation_panel_layout", + "$tab_content_panel": "thanks_for_testing.tabbed_tab_content_panel_layout" + }, + + //--------------------------------------------------------------------------- + // Button main Panel + //--------------------------------------------------------------------------- + + "button_panel": { + "type": "stack_panel", + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { + "padding_5@thanks_for_testing.padding_horizontal": {} + }, + { + "buy_now_button@thanks_for_testing.tabbed_upsell_buy_now_button": { + "size": [ "100% - 4px", "100%" ], + "$focus_override_up": "text_container" + } + }, + { + "padding_6@thanks_for_testing.padding_horizontal": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Tab main Panel + //--------------------------------------------------------------------------- + + "tab_panel": { + "type": "stack_panel", + "size": [ "100%", "fill" ], + "orientation": "horizontal", + "controls": [ + { + "padding_3@thanks_for_testing.padding_horizontal": {} + }, + { + "main_control@thanks_for_testing.tabbed_screen_panel": {} + }, + { + "padding_4@thanks_for_testing.padding_horizontal": {} + } + ] + }, + + "tabbed_Upsell_content": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "controls": [ + { + "padding_0@thanks_for_testing.padding_vertical": {} + }, + { + "tab_panel@thanks_for_testing.tab_panel": {} + }, + { + "padding_1@thanks_for_testing.padding_vertical": {} + }, + { + "button_panel@thanks_for_testing.button_panel": {} + }, + { + "padding_2@thanks_for_testing.padding_vertical": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "thanks_for_testing_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.menu_tab_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global", + "scope": "view" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "force_render_below": true, + "$screen_content": "thanks_for_testing.tabbed_upsell_screen_panel" + }, + + "tabbed_upsell_screen_panel": { + "type": "panel", + "controls": [ + { + "tabbed_Upsell_screen_content@common_dialogs.main_panel_no_buttons": { + "size": "$tabbed_upsell_screen_size", + "$title_panel": "common_dialogs.standard_title_label", + "$text_name": "trial.thanks_for_testing.title", + "$child_control": "thanks_for_testing.tabbed_Upsell_content", + "$show_close_button": true, + "layer": 2 + } + }, + { + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + } + } + ] + } + +} diff --git a/resource_pack/ui/third_party_store_screen.json b/resource_pack/ui/third_party_store_screen.json new file mode 100644 index 0000000..67b09b6 --- /dev/null +++ b/resource_pack/ui/third_party_store_screen.json @@ -0,0 +1,19 @@ +{ + "namespace": "third_party_store", + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "third_party_store_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "store.store_screen_content" + } +} \ No newline at end of file diff --git a/resource_pack/ui/toast_screen.json b/resource_pack/ui/toast_screen.json new file mode 100644 index 0000000..149a2c5 --- /dev/null +++ b/resource_pack/ui/toast_screen.json @@ -0,0 +1,912 @@ +{ + "namespace": "toast_screen", + + "popup_anim": { + "anim_type": "offset", + "easing": "linear", + "from": "$popup_distance_from", + "to": "$popup_distance_to", + "duration": "$transition_time", + "$anim_event_name|default": "toast_animation_finished", + "end_event": "$anim_event_name" + }, + + "toast_image": { + "type": "image", + "size": [ 13, 13 ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "texture": "$toast_texture", + "layer": 1 + }, + + "toast_icon": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "toast_icon@toast_screen.toast_image": {} + } + ] + }, + + "xbox_icon@toast_screen.toast_icon": { + "$toast_texture": "textures/ui/xbox4" + }, + + "third_party_invite_icon@toast_screen.toast_icon": { + "$toast_texture": "textures/ui/invite_third_party" + }, + + "third_party_achievement_icon@toast_screen.toast_icon": { + "$toast_texture": "textures/ui/achievement_third_party" + }, + + "persona_icon@common.empty_panel": { + "$item_display_size": [ "100%y", "100% - 3px" ], + "size": "$item_display_size", + "$is_loading": false, + "$persona_piece_binding_type": "global", + "$persona_piece_collection_name": "", + "$ignore_background": true, + "$ignore_rarity_bar": true, + "controls": [ + { + "item@persona_common.piece_item_display": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "resource_pack_icon": { + "type": "panel", + "size": [ "100%c", "100%" ], + "$icon_size|default": [ 13, 13 ], + "controls": [ + { + "resource_pack_image": { + "type": "image", + "size": "$icon_size", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "texture": "#thumbnail_texture_path", + "zip_folder": "#icon_zip", + "texture_file_system": "#thumbnail_texture_file_system", + "bindings": [ + { + "binding_name": "#thumbnail_texture_path", + "binding_name_override": "#texture" + }, + { + "binding_name": "#icon_zip", + "binding_name_override": "#zip_folder" + }, + { + "binding_name": "#thumbnail_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + }, + + "key_art_image@toast_screen.resource_pack_icon": { + "$icon_size": [ "177.78%y", 18 ] + }, + + + "gamer_score_icon": { + "type": "image", + "texture": "textures/ui/gamerscore", + "size": [ 7, 7 ] + }, + + "toast_label": { + "$toast_font_type|default": "default", + "$toast_label_offset|default": [ 0, 5 ], + "type": "label", + "color": "$toast_text_color", + "layer": 1, + "shadow": false, + "font_size": "normal", + "offset": "$toast_label_offset", + "$toast_text_alignment|default": "left", + "text_alignment": "$toast_text_alignment", + "anims": "$alpha_anims", + "font_type": "$toast_font_type" + }, + + "static_button_state_panel@common_buttons.new_ui_button_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$light_button_default_text_color", + "$secondary_text_color": "$light_button_secondary_default_text_color", + "$content_alpha": "$default_content_alpha", + "$border_color": "$light_border_default_color", + "$border_layer": 2, + "$button_alpha": 1, + "layer": 1 + }, + + "static_button@common_buttons.light_button_assets": { + "$button_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$button_text|default": "", + "$button_font_size|default": "normal", + "$button_font_scale_factor|default": 1.0, + "$pressed_alpha|default": 1, + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + + "$button_type_panel": "common_buttons.new_ui_binding_button_label", + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "controls": [ + { + "default@static_button_state_panel": { + "$default_state": true + } + }, + { + "hover@static_button_state_panel": { + "$hover_state": true + } + }, + { + "pressed@static_button_state_panel": { + "$pressed_state": true + } + }, + { + "locked@static_button_state_panel": { + "$locked_state": true + } + } + ] + }, + + "popup@common.input_panel": { + "consume_hover_events": true, + "prevent_touch_input": true, + "$toast_anchor_from|default": "top_middle", + "$toast_anchor_to|default": "bottom_middle", + "$toast_offset|default": [ 0, 0 ], + "offset": "$toast_offset", + "anchor_from": "$toast_anchor_from", + "anchor_to": "$toast_anchor_to", + "size": "$popup_size", + "$alpha_anims|default": [], + "$offset_anims|default": [ + "@toast_screen.popup_anim" + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.toast_interaction", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/greyBorder", + "anims": "$alpha_anims" + } + }, + { + "popup_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 6, 0 ], + "layer": 1, + "controls": [ + { + "icon_padding": { + "layer": 1, + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%c", "100%" ], + "factory": { + "name": "toast_image_factory", + "control_ids": { + "xbox_icon": "@toast_screen.xbox_icon", + "third_party_achievement_icon": "@toast_screen.third_party_achievement_icon", + "third_party_invite_icon": "@toast_screen.third_party_invite_icon", + "icon_resource_pack": "@toast_screen.resource_pack_icon", + "key_art_image": "@toast_screen.key_art_image", + "persona_icon": "@toast_screen.persona_icon" + }, + "factory_variables": [ + "$hide_xbox_live_icon" + ] + }, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#toast_icon_section_content", + "binding_name_override": "#collection_length" + } + ] + } + }, + { + "text_padding": { + "type": "panel", + "size": [ 2, "100%" ], + "bindings": [ + { + "binding_name": "#text_padding_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "text_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "text_stack_panel@toast_screen.text_stack_panel": {} + } + ] + } + }, + { + "button_panel": { + "type": "panel", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ "100%c", "100%" ], + "controls": [ + { + "visual_button@static_button": { + "$pressed_button_name": "button.visual_button", + "$button_text": "#button_text", + "$button_text_binding_type": "global", + "offset": [ -13, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": [ 40, 16 ], + "bindings": [ + { + "binding_name": "#button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + } + } + ], + "anims": "$offset_anims" + }, + + "item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "anchor_from": "center", + "anchor_to": "center", + "size": [ 22, 22 ] + }, + + //--------------------------------------------------------------------------- + // recipe popup + //--------------------------------------------------------------------------- + + "game_tip_label": { + "type": "label", + "layer": 3, + "text_alignment": "left", + "color": "$body_text_color", + "size": [ "default", "default" ], + "min_size": [ "default", "default" ], + "max_size": [ 165, 20 ], + "$label_text|default": "#toast_title", + "text": "$label_text", + "bindings": [ + { + "binding_name": "#toast_title", + "binding_name_override": "#toast_title" + } + ] + }, + + "recipe_unlocked_icon": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 18, 18 ], + "$icon_padding|default": [ 0, 5 ], + "controls": [ + { + "padding_vertical": { + "type": "panel", + "size": "$icon_padding" + } + }, + { + "item_renderer@toast_screen.item_renderer": { + "size": [ 18, 18 ], + "property_bag": { + "#item_id_aux": 3801088 + }, + "bindings": [ + { + "binding_name": "#recipe_unlocked", + "binding_name_override": "#item_id_aux" + } + ] + } + } + ] + }, + + "recipe_unlocked_popup": { + "type": "image", + "texture": "textures/ui/greyBorder", + "layer": 20, + "size": [ "100%c", "100%c" ], + "anchor_from": "top_right", + "anchor_to": "bottom_right", + "$toast_offset|default": [ 0, 0 ], + "$alpha_anims|default": [], + "$offset_anims|default": [ + "@toast_screen.popup_anim" + ], + "anims": "$offset_anims", + "controls": [ + { + "input_panel": { + "type": "input_panel", + "size": [ "100%c", "100%c" ], + "anchor_from": "center", + "anchor_to": "center", + "gesture_tracking_button": "button.toast_interaction", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.toast_interaction", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "label_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "horizontal_padding_1": { + "type": "panel", + "size": [ 9, 0 ] + } + }, + { + "recipe_unlocked_icon@toast_screen.recipe_unlocked_icon": { + "$icon_padding": [ 0, 7 ] + } + }, + { + "horizontal_padding_2": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "label_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "padding_vertical_1": { + "type": "panel", + "size": [ 0, 7 ] + } + }, + { + "label@toast_screen.game_tip_label": { + "line_padding": 1 + } + }, + { + "padding_vertical_2": { + "type": "panel", + "size": [ 0, 7 ] + } + } + ] + } + }, + { + "horizontal_padding_3": { + "type": "panel", + "size": [ 9, 0 ] + } + } + ] + } + } + ] + } + } + ] + }, + + // used when pocket-ui is enabled and is inside the inventory screen + "recipe_unlocked_pocket_popup": { + "type": "image", + "texture": "textures/ui/greyBorder", + "layer": 20, + "size": [ "100%c", "100%c" ], + "anchor_from": "bottom_middle", + "anchor_to": "center", + "$alpha_anims|default": [], + "$offset_anims|default": [ + "@toast_screen.popup_anim" + ], + "anims": "$offset_anims", + "controls": [ + { + "input_panel": { + "type": "input_panel", + "size": [ "100%c", "100%c" ], + "anchor_from": "center", + "anchor_to": "center", + "gesture_tracking_button": "button.toast_interaction", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.toast_interaction", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "label_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "horizontal_padding_1": { + "type": "panel", + "size": [ 9, 0 ] + } + }, + { + "recipe_unlocked_icon@toast_screen.recipe_unlocked_icon": {} + }, + { + "horizontal_padding_2": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "label_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "padding_vertical": { + "type": "panel", + "size": [ 0, 10 ] + } + }, + { "label@toast_screen.game_tip_label": {} }, + { + "padding_vertical_1": { + "type": "panel", + "size": [ 0, 7 ] + } + } + ] + } + }, + { + "horizontal_padding_3": { + "type": "panel", + "size": [ 9, 0 ] + } + } + ] + } + } + ] + } + } + ] + }, + // end of pocket pocket recipe popup + + "text_stack_panel": { + "type": "stack_panel", + "size": [ "100%", 20 ], + "$toast_text_offset|default": [ 0, 1 ], + "offset": "$toast_text_offset", + "controls": [ + { + "title@toast_screen.toast_label": { + "text": "#toast_title", + "color": "$toast_text_color", + "size": [ "100%-10px", "fill" ], + "layer": 2, + "bindings": [ + { + "binding_name": "#toast_title" + } + ] + } + }, + { + "subtitle": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%-10px", "100%cm" ], + "controls": [ + { + "icon_padding": { + "type": "panel", + "size": [ 9, 7 ], + "bindings": [ + { + "binding_name": "#is_achievement", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "gamer_score_icon@toast_screen.gamer_score_icon": { + "layer": 1, + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + } + ] + } + }, + { + "subtext_offset@common.empty_panel": { + "size": [ "fill", 10 ], + "bindings": [ + { + "binding_name": "#toast_subtitle_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "subtext@toast_screen.toast_label": { + "size": [ "100%", "100%" ], + "offset": [ 0, 0 ], + "text": "#toast_subtitle", + "color": "$7_color_format", + "bindings": [ + { + "binding_name": "#toast_subtitle" + }, + { + "binding_name": "#toast_font_type", + "binding_name_override": "#font_type" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "join_button_icon": { + "type": "image", + "texture": "textures/ui/xbox_start_button", + "size": [ 26, 26 ], + "bindings": [ + { + "binding_name": "#controller_start_icon", + "binding_name_override": "#texture" + } + ] + }, + + "chat_popup@toast_screen.popup": { + "size": [ "60%", 26 ] + }, + + "splitscreen_join_popup": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "layer": 10, + "size": [ "100%c", 26 ], + "offset": [ 0, "55%" ], + "controls": [ + { + "join_button_icon@toast_screen.join_button_icon": {} + }, + { + "join_prompt_text_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "join_prompt_text": { + "type": "label", + "text": "$player_join_text", + "color": "$toast_text_color", + "shadow": true + } + } + ] + } + } + ] + }, + + "fade_anim_end": { + "anim_type": "alpha", + "easing": "linear", + "from": 1.0, + "to": 0.0, + "duration": "$transition_out_time", + "destroy_at_end": "$toast_control" + }, + + "fade_anim_wait": { + "anim_type": "wait", + "duration": "$display_time", + "next": "@toast_screen.fade_anim_end" + }, + + "formfitting_alpha_toast": { + "type": "panel", + "$display_time": 3.0, + "$transition_in_time": 0.15, + "$transition_out_time": 0.15, + "$toast_control": "formfitting_alpha_toast", + "$alpha_anims": [ + "@toast_screen.fade_anim_wait" + ], + + "controls": [ + { + "bg": { + "type": "image", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 10 ], + "size": [ "100%c + 6px", "100%c + 13px" ], // form fitting + "texture": "textures/ui/greyBorder", + "anims": "$alpha_anims", + "controls": [ + { + "label@toast_screen.toast_label": { + "type": "label", + "size": [ 200, "default" ], + "offset": [ 0, 0 ], + "color": "$toast_text_color", + "text": "#toast_title", + "text_alignment": "center", + "$toast_font_type": "smooth", + "bindings": [ + { + "binding_name": "#toast_title" + } + ] + } + } + ] + } + } + ] + }, + + "fade_anim_snackbar": { + "anim_type": "alpha", + "easing": "linear", + "from": "$popup_alpha_from", + "to": "$popup_alpha_to", + "duration": "$transition_time" + }, + + "fade_anim_snackbar_background": { + "anim_type": "alpha", + "easing": "linear", + "from": "$popup_background_alpha_from", + "to": "$popup_background_alpha_to", + "duration": "$transition_time" + }, + + // JSON UI implementation of the Ore UI snackbar + "snackbar": { + "type": "panel", + "anchor_from": "bottom_middle", + "anchor_to": "center", + "size": [ "100%c", "100%c" ], + "$snackbar_text_color": [ 1.0, 1.0, 1.0 ], + "$snackbar_background_color": [ 0.12, 0.12, 0.12 ], + "$snackbar_shadow_color": [ 0.0, 0.0, 0.0 ], + "$offset_anims|default": [ + "@toast_screen.popup_anim" + ], + "$alpha_anims|default": [ + "@toast_screen.fade_anim_snackbar" + ], + "$background_alpha_anims|default": [ + "@toast_screen.fade_anim_snackbar_background" + ], + "controls": [ + { + "body": { + "type": "image", + "size": [ "100%c", "2px" ], + "texture": "textures/ui/White", + "color": "$snackbar_shadow_color", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ "0px", "12px" ], + "anims": "$background_alpha_anims", + "$title_font_type|default": "default", + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/White", + "color": "$snackbar_background_color", + "size": [ "100%c", "12px" ], + "anchor_to": "bottom_middle", + "anchor_from": "top_middle", + "offset": [ "-2px", "0px" ], + "anims": "$alpha_anims", + "controls": [ + { + "content": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "left_padding": { + "type": "panel", + "size": [ "4px", "12px" ] + } + }, + { + "vertically_central_text": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%c", "12px" ], + "controls": [ + { + "top_padding": { + "type": "panel", + "size": [ "0px", "1px" ] + } + }, + { + "text": { + "type": "label", + "size": [ "default", "100%" ], + "line_padding": 1, + "font_size": "normal", + "font_type": "smooth", + "font_scale_factor": 0.8, + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "text": "#toast_title", + "text_alignment": "center", + "color": "$snackbar_text_color", + "shadow": false, + "anims": "$alpha_anims", + "bindings": [ + { + "binding_name": "#toast_title" + } + ] + } + } + ] + } + }, + { + "right_padding": { + "type": "panel", + "size": [ "3px", "12px" ] // seems necessary to add 1px in comparison to left padding to visually center the text + } + } + ] + } + }, + { + "right_shadow": { + "type": "image", + "size": [ "2px", "100%-2px" ], + "anchor_from": "top_right", + "anchor_to": "top_left", + "offset": [ "0px", "2px" ], + "texture": "textures/ui/White", + "color": "$snackbar_shadow_color", + "anims": "$background_alpha_anims" + } + } + ] + } + } + ] + } + } + ], + "anims": "$offset_anims" + }, + + "toast_screen@common.base_screen": { + "always_accepts_input": true, + "send_telemetry": false, + "screen_not_flushable": true, + "render_game_behind": true, + "is_showing_menu": false, + "is_modal": true, + "low_frequency_rendering": true, + "should_steal_mouse": false, + "render_only_when_topmost": false, + "screen_draws_last": true, + "$screen_content": "toast_screen.toast_screen_content", + "$screen_animations": [], + "$use_loading_bars": false + }, + + "toast_screen_content": { + "type": "panel", + "clips_children": true, + "factory": { + "name": "toast_factory", + "control_ids": { + "popup": "popup@toast_screen.popup", + "chat_popup": "chat_popup@toast_screen.chat_popup", + "recipe_unlocked": "recipe_unlocked@toast_screen.recipe_unlocked_popup", + "recipe_unlocked_pocket": "recipe_unlocked_pocket@toast_screen.recipe_unlocked_pocket_popup", + "splitscreen_join_popup": "splitscreen_join_popup@toast_screen.splitscreen_join_popup", + "formfitting_alpha_toast": "toast_screen.formfitting_alpha_toast", + "snackbar": "snackbar@toast_screen.snackbar" + } + }, + "controls": [ + { "content_log_panel@content_log.content_log_panel": {} }, + { "perf_turtle_panel@perf_turtle.perf_turtle_panel": {} } + ] + } +} diff --git a/resource_pack/ui/token_faq_screen.json b/resource_pack/ui/token_faq_screen.json new file mode 100644 index 0000000..228f180 --- /dev/null +++ b/resource_pack/ui/token_faq_screen.json @@ -0,0 +1,189 @@ +{ + "namespace": "token_faq", + + "main_panel": { + "type": "stack_panel", + "controls": [ + { + "faq_question_1@realmsPlus_faq.image_left_faq_question_body": { + "$faq_question": "store.token_faq.question1", + "$faq_answer": "store.token_faq.answer1", + "$repo_image_texture": "adventure_characters" + } + }, + { + "faq_question_1_divider@common.section_divider": {} + }, + { + "faq_question_2@realmsPlus_faq.image_right_faq_question_body": { + "$faq_question": "store.token_faq.question2", + "$faq_answer": "store.token_faq.answer2", + "$repo_image_texture": "creeper_forward" + } + }, + { + "faq_question_2_divider@common.section_divider": {} + }, + { + "faq_question_3@realmsPlus_faq.image_left_faq_question_body": { + "$faq_question": "store.token_faq.question3", + "$faq_answer": "store.token_faq.answer3", + "$repo_image_texture": "pig_forward" + } + }, + { + "faq_question_3_divider@common.section_divider": {} + }, + { + "faq_question_4@realmsPlus_faq.image_right_faq_question_body": { + "$faq_question": "store.token_faq.question4", + "$faq_answer": "store.token_faq.answer4", + "$repo_image_texture": "wolf_forward" + } + }, + { + "faq_question_4_divider@common.section_divider": {} + }, + { + "faq_question_5@realmsPlus_faq.image_left_faq_question_body": { + "$faq_question": "store.token_faq.question5", + "$faq_answer": "store.token_faq.answer5", + "$repo_image_texture": "steve_forward" + } + } + ] + }, + + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "token_faq.main_panel", + "$show_background": false, + "$scroll_size": [ 4, "100%-4px" ], + "$scrolling_pane_size|default": [ "100%", "default" ], + "$always_handle_scrolling": true + }, + + "token_faq_screen_content": { + "type": "panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_no_buttons": { + "$title_panel": "common_dialogs.standard_title_label", + "$title_size": [ "100% - 14px", 10 ], + "size": [ "90%", "90%" ], + "$text_name": "store.tokens.faq", + "$child_control": "token_faq.scrolling_panel", + "layer": 2 + } + } + ] + }, + + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + }, + + "token_faq_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "force_render_below": true, + "$screen_content": "token_faq.token_faq_screen_content", + "$screen_background_control": "token_faq.background" + }, + + "token_content_panel": { + "type": "stack_panel", + "size": [ "100% - 6px" , "100% - 6px" ], + "controls": [ + { + "token_info_text": { + "type": "label", + "text": "store.tokens.tokenInfo", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$store_white_text_color" + } + } + ] + }, + + "token_popup_content": { + "type": "panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_two_buttons": { + "size": [ 260, 200 ], + "$top_button_panel": "token_faq.token_faq_button_panel", + "$bottom_button_panel": "token_faq.back_button_panel", + "$text_name": "store.tokens.name", + "$child_control": "token_faq.token_content_panel", + "layer": 3 + } + } + ] + }, + + "token_faq_button_panel@common_buttons.light_text_button": { + "size": [ "100% - 14px", 30 ], + "$pressed_button_name": "button.faq_screen", + "$button_text": "store.tokens.faq", + "$focus_id": "faq_screen", + "$focus_override_down": "faq_screen_back", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$focus_override_up": "owned_list_0" + }, + + "back_button_panel@common_buttons.light_text_button": { + "size": [ "100% - 14px", 30 ], + "$pressed_button_name": "button.goBack", + "$button_text": "store.tokens.back", + "$focus_id": "faq_screen_back", + "$focus_override_down": "FOCUS_OVERRIDE_STOP", + "$focus_override_left": "FOCUS_OVERRIDE_STOP", + "$focus_override_right": "FOCUS_OVERRIDE_STOP", + "$focus_override_up": "faq_screen" + }, + + "token_popup@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "force_render_below": true, + "$screen_content": "token_faq.token_popup_content", + "$screen_background_control": "token_faq.background" + } +} diff --git a/resource_pack/ui/trade_2_screen.json b/resource_pack/ui/trade_2_screen.json new file mode 100644 index 0000000..10133ea --- /dev/null +++ b/resource_pack/ui/trade_2_screen.json @@ -0,0 +1,1705 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "trade2", + + //--------------------------------------------------------------------------- + // #region Common Images + //--------------------------------------------------------------------------- + + "toolbar_background": { + "type": "image", + "texture": "textures/ui/toolbar_background" + }, + + "arrow_left_image": { + "type": "image", + "size": [ 16, 13 ], + "texture": "textures/ui/arrow_dark_left_stretch" + }, + + "arrow_right_image": { + "type": "image", + "size": [ 16, 13 ], + "texture": "textures/ui/arrow_dark_right_stretch" + }, + + "trade_cell_image": { + "type": "image", + "layer": 1, + "bindings": [ + { + "binding_name": "#trade_cell_background_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "always_when_visible" + } + ] + }, + + "cross_out_image": { + "type": "image", + "texture": "textures/ui/crossout", + "layer": 1, + "size": [ 15, 15 ] + }, + + "lock_image": { + "type": "image", + "size": [ 8, 8 ], + "texture": "textures/ui/lock", + "color": "$trade_lock_color" + }, + + "scroll_background_image": { + "type": "image", + "texture": "textures/ui/background_with_border", + "layer": 3 + }, + + "red_slash": { + "type": "image", + "texture": "textures/ui/red_slash" + }, + + "blue_progress_bar": { + "type": "image", + "texture": "textures/ui/experience_bar_full_blue", + "clip_direction": "left", + "clip_pixelperfect": false + }, + + "white_progress_bar": { + "type": "image", + "texture": "textures/ui/experience_bar_full_white", + "clip_direction": "left", + "clip_pixelperfect": false + }, + + "empty_progress_bar": { + "type": "image", + "texture": "textures/ui/experience_bar_empty_blue" + }, + + "progress_bar_nub": { + "type": "image", + "texture": "textures/ui/experience_bar_nub_blue", + "tiled": true + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Trade List Items + //--------------------------------------------------------------------------- + + "hover_button": { + "type": "button", + "layer": 1, + "default_focus_precedence": 1, + "hover_control": "hover_text", + "consume_event": false, + "button_mappings": [ + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed", + "consume_event": false + } + ], + "controls": [ + { + "hover_text@common.hover_text": { + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#hover_text", + "binding_condition": "visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #using_touch)", + "binding_name_override": "#visible" + } + ] + }, + + "stack_count_label": { + "type": "label", + "color": "$item_stack_count_color", + "shadow": true + }, + + "changed_item_count_label": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "stack_count_label@trade2.stack_count_label": { + "layer": 2, + "text": "#trade_item_count", + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_item_count" + } + ], + "controls": [ + { + "red_slash@trade2.red_slash": { + "size": [ 6, 2 ], + "offset": [ 0, -4 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "layer": 3, + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#single_slash_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "red_slash_double@trade2.red_slash": { + "size": [ 12, 2 ], + "offset": [ 0, -4 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "layer": 3, + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#double_slash_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "second_stack_count_label@trade2.stack_count_label": { + "layer": 2, + "text": "#second_trade_item_count", + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#second_trade_item_count" + } + ] + } + } + ] + }, + + "single_item_grid": { + "type": "grid", + "size": [ "100%c", "100%c" ], + "grid_dimensions": [ 1, 1 ], + "controls": [ + { + "item_with_count": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + "$stack_count_required": true, + "controls": [ + { + "item_renderer@common.item_renderer": { + "size": "$item_renderer_size", + "$item_renderer_size|default": [ 16, 16 ], + + "layer": 1, + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#item_id_aux" + }, + { + "binding_name": "#item_custom_color" + }, + { + "binding_name": "#item_pickup_time" + }, + { + "binding_name": "#banner_patterns" + }, + { + "binding_name": "#banner_colors" + }, + { + "binding_name": "#banner_type" + } + ], + "controls": [ + { + "stack_count_label@trade2.stack_count_label": { + "layer": 2, + "text": "#trade_item_count", + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ 1, 1 ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_item_count" + }, + { + "binding_name": "(not #trade_price_different)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "changed_item_count_label@trade2.changed_item_count_label": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 4, 1 ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_item_count" + }, + { + "binding_name": "#trade_price_different", + "binding_name_override": "#visible" + } + ] + } + }, + { "hover_button@trade2.hover_button": {} } + ] + } + } + ] + } + } + ] + }, + + "trade_item_1@trade2.single_item_grid": { + "collection_name": "trade_item_1" + }, + + "trade_item_2@trade2.single_item_grid": { + "collection_name": "trade_item_2" + }, + + "sell_item@trade2.single_item_grid": { + "collection_name": "sell_item" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Trade Toggle List + //--------------------------------------------------------------------------- + + "arrow_holder": { + "type": "panel", + "size": [ 16, 0 ], + "controls": [ + { + "arrow_image@trade2.arrow_right_image": { + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_toggle_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "cross_out_image@trade2.cross_out_image": { + "layer": 2, + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_cross_out_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "lock_image@trade2.lock_image": { + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #trade_toggle_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "toggle_content": { + "type": "stack_panel", + "size": [ "100%", "100%cm" ], + "orientation": "horizontal", + + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ "fill", 0 ] + } + }, + { + "trade_item_1@trade2.trade_item_1": { + "layer": 10 + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "padding_2_extra": { + "type": "panel", + "size": [ 10, 0 ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #padding_around_sell_item)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "trade_item_2@trade2.trade_item_2": { + "layer": 2 + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "padding_3_extra": { + "type": "panel", + "size": [ 6, 0 ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #padding_around_sell_item)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "arrow_holder@trade2.arrow_holder": { + "inherit_max_sibling_height": true + } + }, + { + "padding_4": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "sell_item_holder": { + "type": "panel", + "size": [ "200%c", "100%c" ], + "layer": 10, + "controls": [ + { "sell_item@trade2.sell_item": {} } + ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#padding_around_sell_item", + "binding_name_override": "#visible" + } + ] + } + }, + { + "sell_item_holder_with_less_padding": { + "type": "panel", + "size": [ "150%c", "100%c" ], + "layer": 10, + "controls": [ + { "sell_item@trade2.sell_item": {} } + ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #padding_around_sell_item)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_5": { + "type": "panel", + "size": [ "fill", 0 ] + } + } + ] + }, + + "toggle_content_holder": { + "type": "panel", + "size": [ "100%", "100%" ], + "$toggle_content_control|default": "trade2.toggle_content", + "controls": [ + { "toggle_content@$toggle_content_control": {} } + ] + }, + + "trade_toggle_unchecked": { + "type": "panel", + "controls": [ + { + "toggle_checked_normal@common_toggles.toggle_unchecked": { + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_possible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "toggle_checked_red@common_toggles.toggle_unchecked": { + "$new_ui_button_texture": "textures/ui/button_trade_red", + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #trade_possible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "trade_toggle_checked": { + "type": "panel", + "controls": [ + { + "toggle_checked_normal@common_toggles.toggle_checked": { + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_possible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "toggle_checked_red@common_toggles.toggle_checked": { + "$new_ui_button_texture": "textures/ui/button_trade_red_pressed", + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #trade_possible)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "trade_toggle_locked@common_toggles.toggle_locked": { + "$border_visible": false + }, + + "trade_actual_toggle@common.toggle": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.trade_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.trade_secondary_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.trade_select", + "mapping_type": "focused" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.trade_select", + "mapping_type": "focused", + "ignored": "(not $is_ps4)" + }, + { + "to_button_id": "button.trade_toggle_hovered", + "mapping_type": "pressed" + } + ] + }, + + "trade_toggle@common_toggles.light_image_toggle_collection": { + "layer": 2, + "size": "$toggle_size", + + "$toggle_size|default": [ "100%", 24 ], + + "$toggle_name": "trade_toggle", + "$template_toggle": "trade2.trade_actual_toggle", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#trade_toggle_state", + + "$toggle_enabled_binding_type": "global", + "$toggle_enabled_binding_name": "#trade_toggle_enabled", + "$toggle_enabled_binding_condition": "always_when_visible", + + "$button_content": "trade2.toggle_content_holder", + + "$unchecked_control": "trade2.trade_toggle_unchecked", + "$checked_control": "trade2.trade_toggle_checked", + "$unchecked_locked_control": "trade2.trade_toggle_locked", + "$unchecked_locked_hover_control": "trade2.trade_toggle_locked", + "$checked_locked_control": "trade2.trade_toggle_locked", + "$checked_locked_hover_control": "trade2.trade_toggle_locked" + }, + + "trade_toggle_holder": { + "type": "panel", + "size": [ "100%", "100%c - 1px" ], + "controls": [ + { + "trade_toggle@trade2.trade_toggle": { + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + } + ] + }, + + "trade_toggle_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "default" ], + + "factory": { + "name": "selected_pack_factory", + "control_name": "trade2.trade_toggle_holder" + }, + + "$trade_collection_name": "trades", + "collection_name": "$trade_collection_name", + "bindings": [ + { + "binding_name": "#trade_tier_total", + "binding_name_override": "#collection_length", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "tier_label": { + "type": "label", + "color": "$trade_tier_name_color", + "text": "#tier_name", + "bindings": [ + { + "binding_name": "#tier_name", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "#is_tier_unlocked", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "always" + } + ] + }, + + "tier_label_locked": { + "type": "label", + "color": "$trade_tier_name_locked_color", + "text": "#tier_name", + "bindings": [ + { + "binding_name": "#tier_name", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + }, + { + "binding_name": "(not #is_tier_unlocked)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "always" + } + ] + }, + + "tier_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c + 1px" ], + "orientation": "vertical", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "tier_label_holder": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "tier_label@trade2.tier_label": { + "size": [ "100%", "default" ], + "offset": [ 2, 0 ], + "layer": 2 + } + }, + { + "tier_label_locked@trade2.tier_label_locked": { + "size": [ "100%", "default" ], + "offset": [ 2, 0 ], + "layer": 2 + } + } + ], + "bindings": [ + { + "binding_name": "#show_level", + "binding_name_override": "#visible" + } + ] + } + }, + { "trade_toggle_stack_panel@trade2.trade_toggle_stack_panel": {} } + ], + "bindings": [ + { + "binding_name": "#tier_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "always" + } + ] + }, + + "trade_selector_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100% - 4px", "default" ], + + "factory": { + "name": "selected_pack_factory", + "control_name": "trade2.tier_stack_panel" + }, + + "collection_name": "$collection_name", + "bindings": [ + { + "binding_name": "#trade_selector_total", + "binding_name_override": "#collection_length" + } + ] + }, + + "scroll_inner_input_panel@common.root_panel": { + "type": "input_panel", + "size": [ "100%", "100%c + 2px" ], + "focus_container": true, + "focus_navigation_mode_down": "stop", + "controls": [ + { "trade_selector_stack_panel@trade2.trade_selector_stack_panel": {} } + ] + }, + + "trade_scroll_panel@common.container_scroll_panel": { + "size": [ "100% - 12px", "100% - 12px" ], + + "$scrolling_content": "trade2.scroll_inner_input_panel", + "$collection_name": "trade_tiers", + + "$scroll_background_image_control": "trade2.scroll_background_image" + }, + + "left_panel@common.root_panel": { + "size": [ 136, 166 ], + "controls": [ + { + "bg@common.common_panel": { + "$show_close_button": false + } + }, + { "trade_scroll_panel@trade2.trade_scroll_panel": {} } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region XP Bar + //--------------------------------------------------------------------------- + + "exp_progress_bar": { + "type": "panel", + "size": [ 153, 5 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 17 ], + "bindings": [ + { + "binding_name": "#exp_bar_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "empty_progress_bar@trade2.empty_progress_bar": { + "layer": 1, + "controls": [ + { + "progress_bar_nub@trade2.progress_bar_nub": { + "layer": 3, + "size": [ "100% - 10px", "100%" ] + } + }, + { + "blue_progress_bar@trade2.blue_progress_bar": { + "layer": 2, + "bindings": [ + { + "binding_name": "#exp_progress", + "binding_name_override": "#clip_ratio", + "binding_type": "global", + "binding_condition": "always_when_visible" + } + ] + } + }, + { + "white_progress_bar@trade2.white_progress_bar": { + "layer": 1, + "bindings": [ + { + "binding_name": "#exp_possible_progress", + "binding_name_override": "#clip_ratio", + "binding_type": "global", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Touch Details Buttons + //--------------------------------------------------------------------------- + + "anim_trade_details_alpha": { + "anim_type": "alpha", + "easing": "in_quint", + "destroy_at_end": "trade_details", + "duration": 2, + "from": 1.0, + "to": 0 + }, + + "trade_details": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "offset": [ 0, 0 ], + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "layer": 30, + + "$alpha_anim|default": "@trade2.anim_trade_details_alpha", + + "controls": [ + { + "item_panel_image": { + "type": "image", + "size": [ "100%c + 8px", "100%c + 8px" ], + "layer": 30, + + "alpha": "$alpha_anim", + "texture": "textures/ui/purpleBorder", + + "controls": [ + { + "item_text_label": { + "type": "label", + "max_size": [ 80, 60 ], + "layer": 1, + + "alpha": "$alpha_anim", + "text": "#selected_hover_text", + "color": "$item_hover_text_color", + // Disable profanity filter for this control so that + // we can enable it on the fly only for items with custom names + "enable_profanity_filter": false + } + } + ] + } + } + ] + }, + + "trade_details_factory": { + "type": "factory", + "control_name": "@trade2.trade_details", + "size": [ 0, 0 ] + }, + + "trade_details_factory_holder": { + "type": "panel", + "size": [ 0, 0 ], + "layer": "$factory_layer", + "$factory_name|default": "trade_details_factory", + "$factory_layer|default": 1, + "controls": [ + { "$factory_name@trade2.trade_details_factory": {} } + ] + }, + + "trade_details_button@common_buttons.light_text_button": { + "size": [ 28, 18 ], + "$button_image_size": [ "100%", "100%" ], + "$button_content_size": [ "100% - 4px", "100% - 4px" ], + "$pressed_button_name": "button.trade_details", + "$button_text": "trade.excalamation", + "$border_visible": false + }, + + "trade_details_1_button@trade2.trade_details_button": { + "$pressed_button_name": "button.trade_details_1", + "bindings": [ + { + "binding_name": "#trade_details_button_1_visible", + "binding_name_override": "#visible" + } + ] + }, + + "trade_details_2_button@trade2.trade_details_button": { + "$pressed_button_name": "button.trade_details_2", + "bindings": [ + { + "binding_name": "#trade_details_button_2_visible", + "binding_name_override": "#visible" + } + ] + }, + + "enchantment_details_button@trade2.trade_details_button": { + "$pressed_button_name": "button.enchantment_details", + "$button_text": "trade.mysteriousText", + "$font_type": "rune", + + "$default_button_texture": "textures/ui/button_purple", + "$default_text_color": "$enchantment_button_default_text_color", + + "bindings": [ + { + "binding_name": "#enchantment_details_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Ingredient and Result Slots + //--------------------------------------------------------------------------- + + "trade_result_item_slot_button@common.container_slot_button_prototype": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.trade_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.trade_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.trade_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.trade_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "red_cell_image": { + "type": "image", + "texture": "textures/ui/cell_image_red" + }, + + "container_cell_image": { + "type": "panel", + "$cell_image_binding_condition|default": "none", + "controls": [ + { + "cell_image@common.cell_image": { + "bindings": [ + { + "binding_name": "#item_valid", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$cell_image_binding_condition" + } + ] + } + }, + { + "red_cell_image@trade2.red_cell_image": { + "bindings": [ + { + "binding_name": "(not #item_valid)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$cell_image_binding_condition" + } + ] + } + } + ] + }, + + "item_slot@common.container_item": { + "anchor_from": "center", + "anchor_to": "center", + "size": [ 28, 28 ], + "$cell_image_size": [ 28, 28 ], + "$item_renderer_panel_size": [ 24, 24 ], + "$item_renderer_size": [ 24, 24 ], + "$background_images": "trade2.container_cell_image", + + "$item_renderer_binding_condition": "always_when_visible", + "$stack_count_binding_condition": "always_when_visible", + "$cell_image_binding_condition": "always" + }, + + "ingredient_1_item_slot@trade2.item_slot": { + "$item_collection_name": "trade2_ingredient1_item" + }, + + "ingredient_2_item_slot@trade2.item_slot": { + "$item_collection_name": "trade2_ingredient2_item" + }, + + "result_item_slot@trade2.item_slot": { + "$item_collection_name": "trade2_result_item", + "$button_ref": "trade2.trade_result_item_slot_button" + }, + + "item_slot_holder": { + "type": "panel", + "size": [ "100%cm", "100%cm" ], + + "$item_slot_control|default": "", + "$item_details_control|default": "", + "$factory_name|default": "", + + "controls": [ + { "ingredient_1_item_slot@$item_slot_control": {} }, + { + "trade_details_1_button@$item_details_control": { + "size": [ 0, 12 ], + "inherit_max_sibling_width": true, + "anchor_from": "bottom_middle", + "anchor_to": "top_middle" + } + }, + { + "trade_details_1_factory_holder@trade2.trade_details_factory_holder": { + "anchor_from": "top_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "item_slots_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 96, "100%cm" ], + "controls": [ + { + "ingredient_item_1_holder@trade2.item_slot_holder": { + "$item_slot_control": "trade2.ingredient_1_item_slot", + "$item_details_control": "trade2.trade_details_1_button", + "$factory_name": "trade_details_1_factory" + } + }, + { + "ingredient_item_2_holder@trade2.item_slot_holder": { + "ignored": "$second_item_slot_ignored", + "$item_slot_control": "trade2.ingredient_2_item_slot", + "$item_details_control": "trade2.trade_details_2_button", + "$factory_name": "trade_details_2_factory", + "$factory_layer": 4 + } + }, + { + "pointing_right_arrow_holder": { + "type": "panel", + "size": [ "fill", 0 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "arrow_right_image@trade2.arrow_right_image": { + "size": [ "100% + 3px", 13 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 0, 2 ] + } + } + ] + } + }, + { + "pointing_left_arrow_holder": { + "type": "panel", + "size": [ "fill", 0 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "arrow_left_image@trade2.arrow_left_image": { + "size": [ "100% + 3px", 13 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": [ 0, -2 ] + } + } + ] + } + }, + { + "result_item_slot_holder@trade2.item_slot_holder": { + "$item_slot_control": "trade2.result_item_slot", + "$item_details_control": "trade2.enchantment_details_button", + "$factory_name": "trade_enchantment_details_factory", + "$factory_layer": 7 + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Trade Button and How To Play Button + //--------------------------------------------------------------------------- + + "trade_button@common_buttons.light_text_button": { + "size": [ 48, 18 ], + "$pressed_button_name": "button.trade", + "$button_text": "trade.trade", + "bindings": [ + { + "binding_name": "#trade_button_enabled", + "binding_name_override": "#enabled" + } + ] + }, + + "how_to_play_button@common_buttons.light_text_button": { + "size": [ 18, 18 ], + "$pressed_button_name": "button.help", + "$button_text": "trade.question" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right Panel, Inventory and Trading + //--------------------------------------------------------------------------- + + "top_half_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { + "item_slots_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "inherit_max_sibling_height": true, + "controls": [ + { "item_slots_stack_panel@trade2.item_slots_stack_panel": {} } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 1, 0 ] + } + }, + { + "trade_button_holder": { + "type": "panel", + "size": [ "100%c", 0 ], + "inherit_max_sibling_height": true, + "controls": [ + { "trade_button@trade2.trade_button": {} } + ] + } + }, + { + "how_to_play_button_holder": { + "type": "panel", + "size": [ "100%c - 1px", 0 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "how_to_play_button@trade2.how_to_play_button": { + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + } + ] + } + } + ] + }, + + "top_half_panel": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100% - 14px", "50% - 22px" ], + "offset": [ 0, 15 ], + "controls": [ + { "top_half_stack_panel@trade2.top_half_stack_panel": {} } + ] + }, + + "villager_name_label": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 5 ], + "color": "$title_text_color", + "layer": 1, + "text": "#name_label", + "bindings": [ + { + "binding_name": "#name_label", + "binding_condition": "always_when_visible" + } + ] + }, + + "right_panel@common.root_panel": { + "layer": 1, + "controls": [ + { + "common_panel@common.common_panel": { + "$show_close_button": false + } + }, + { + "trade_screen_inventory": { + "type": "panel", + "layer": 2, + "controls": [ + { "villager_name_label@trade2.villager_name_label": {} }, + { "exp_progress_bar@trade2.exp_progress_bar": {} }, + { "top_half_panel@trade2.top_half_panel": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid@common.hotbar_grid_template": {} } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region toolbar + //--------------------------------------------------------------------------- + + "toolbar_panel@common.root_panel": { + "size": [ "100%c", 20 ], + "controls": [ + { + "toolbar_background@trade2.toolbar_background": { + "size": [ "100%cm", "100% + 8px" ], + "offset": [ 0, -3 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + + "controls": [ + { + "toolbar_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + + "size": [ "default", "100% - 8px" ], + "offset": [ 0, 3 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ 6, 0 ] + } + }, + { + "close_button_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "close_button@common.light_close_button": { + "size": [ "100%cm", "100%cm" ], + "offset": [ 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 6, 0 ] + } + } + ] + } + } + ] + } + } + ] + }, + + "toolbar_anchor": { + "type": "panel", + "size": [ 0, 0 ], + "inherit_max_sibling_height": true, + "controls": [ + { + "toolbar_panel@trade2.toolbar_panel": { + "anchor_from": "top_right", + "anchor_to": "bottom_right", + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region screen + //--------------------------------------------------------------------------- + + "center_fold@common.root_panel": { + "size": [ 4, 166 ], + "controls": [ + { + "center_bg": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "size": [ "100% + 8px", "100% - 6px" ] + } + } + ] + }, + + "screen_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "controls": [ + { "left_panel@trade2.left_panel": {} }, + { "center_fold@trade2.center_fold": {} }, + { "right_panel@trade2.right_panel": {} }, + { "toolbar_anchor@trade2.toolbar_anchor": {} } + ] + }, + + "gamepad_helper_x@common.gamepad_helper_x": { + "$gamepad_helper_visible_binding_name": "#gamepad_helper_x_visible", + "$gamepad_helper_binding_condition": "always" + }, + + "gamepad_helper_y@common.gamepad_helper_y": { + "$gamepad_helper_visible_binding_name": "#gamepad_helper_y_visible", + "$gamepad_helper_binding_condition": "always" + }, + + "screen_panel": { + "type": "panel", + "controls": [ + { "screen_stack_panel@trade2.screen_stack_panel": {} }, + + { + "container_gamepad_helpers@common.container_gamepad_helpers": { + "$helper_x_control": "trade2.gamepad_helper_x", + "$helper_y_control": "trade2.gamepad_helper_y" + } + }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + }, + + "trade_screen@common.inventory_screen_common": { + "close_on_player_hurt": true, + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "button_mappings": "$button_mappings", + + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "trade2.screen_panel" + }, + { + "requires": "$pocket_screen", + "$screen_content": "trade2_pocket.screen_panel", + "$button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.left_panel_tab_decrement", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.menu_tab_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_left", + "to_button_id": "button.left_panel_tab_increment", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_alternate_tab_right", + "to_button_id": "button.menu_alternate_tab_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.focus_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_clear", + "to_button_id": "button.menu_clear", + "mapping_type": "focused" + } + ] + } + ], + + "$button_mappings|default": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.focus_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_right", + "to_button_id": "button.focus_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.chat", + "to_button_id": "button.chat", + "mapping_type": "global" + } + ] + } +} + +// #endregion diff --git a/resource_pack/ui/trade_2_screen_pocket.json b/resource_pack/ui/trade_2_screen_pocket.json new file mode 100644 index 0000000..6354d8e --- /dev/null +++ b/resource_pack/ui/trade_2_screen_pocket.json @@ -0,0 +1,552 @@ +{ + "namespace": "trade2_pocket", + + //--------------------------------------------------------------------------- + // #region Images + //--------------------------------------------------------------------------- + + "chest_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "size": [ 16, 16 ], + "property_bag": { + "#item_id_aux": 3538944, + "#collection_name": "inventory_tab", + "#collection_index": 0 + } + }, + + "trade_icon": { + "type": "image", + "texture": "textures/ui/trade_icon", + "size": [ 18, 17 ] + }, + + "arrow_right_image": { + "type": "image", + "size": [ 24, 19 ], + "texture": "textures/ui/arrow_dark_right" + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right Navigation Tabs + //--------------------------------------------------------------------------- + + "right_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "100%" ], + "offset": [ -4, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { "pocket_tab_close_button@common_tabs.pocket_tab_close_button": {} }, + { + "fill": { + "type": "panel", + "size": [ "100%", "fill" ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Right Panel + //--------------------------------------------------------------------------- + + "trade_slots_panel@trade2.scroll_background_image": { + "layer": 1, + "controls": [ + { + "item_slots_stack_panel@trade2.item_slots_stack_panel": { + "size": [ "100%", "100%cm" ], + "max_size": [ 104, "100%cm" ], + "layer": 2 + } + } + ] + }, + + "trade_and_help_buttons": { + "type": "stack_panel", + "size": [ "100%", 32 ], + "orientation": "horizontal", + "controls": [ + { + "trade_button_holder": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "trade_button@trade2.trade_button": { + "size": [ "100%", "100%" ] + } + } + ] + } + }, + { + "how_to_play_button_holder": { + "type": "panel", + "size": [ "100%c - 1px", "100%" ], + "controls": [ + { + "how_to_play_button@trade2.how_to_play_button": { + "size": [ 32, "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$button_font_size": "large", + "$button_text_max_size": [ "100%", 16 ] + } + } + ] + } + } + ] + }, + + "name_and_trade_slots_stack_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "vertical", + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "villager_name_label_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "villager_name_label@trade2.villager_name_label": { + "offset": [ 0, 0 ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ 0, 4 ] + } + }, + { + "exp_progress_bar_holder": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "exp_progress_bar@trade2.exp_progress_bar": { + "size": [ "100% - 16px", 5 ], + "offset": [ 0, 0 ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ 0, 8 ] + } + }, + { + "trade_slots_panel@trade2_pocket.trade_slots_panel": { + "size": [ "100%", "fill" ] + } + }, + { + "padding_4": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { "trade_and_help_buttons@trade2_pocket.trade_and_help_buttons": {} } + ] + }, + + "right_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "name_and_trade_slots_stack_panel@trade2_pocket.name_and_trade_slots_stack_panel": { + "size": [ "100% - 12px", "100% - 12px" ], + "layer": 2 + } + } + ] + } + }, + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%" ], + "controls": [ + { "right_navigation_tabs@trade2_pocket.right_navigation_tabs": {} } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // Common Left Navigation Tabs + //--------------------------------------------------------------------------- + + "left_tab_trade@common_tabs.pocket_tab_left": { + "$tab_view_binding_name": "trade_tab_toggle", + "$toggle_group_forced_index": "$left_tab_index_trades", + + "$tab_content": "trade2_pocket.trade_icon", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_trade" + }, + + "left_tab_inventory@common_tabs.pocket_tab_left": { + "$tab_view_binding_name": "inventory_left_tab_toggle", + "$toggle_group_forced_index": "$left_tab_index_inventory", + + "$tab_content": "trade2_pocket.chest_item_renderer", + + "$toggle_binding_type": "global", + "$toggle_state_binding_name": "#is_left_tab_inventory" + }, + + "left_navigation_tabs": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ 35, "default" ], + "offset": [ 4, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "left_tab_trades@trade2_pocket.left_tab_trade": {} }, + { + "padding": { + "type": "panel", + "size": [ 0, 1 ] + } + }, + { + "left_tab_inventory@trade2_pocket.left_tab_inventory": { + "$is_bottom_most_tab": true + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // Common Left Panel + //--------------------------------------------------------------------------- + + "arrow_holder": { + "type": "panel", + "size": [ 24, 0 ], + "controls": [ + { + "arrow_image@trade2_pocket.arrow_right_image": { + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_toggle_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "cross_out_image@trade2.cross_out_image": { + "size": [ 22, 22 ], + "layer": 2, + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#trade_cross_out_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "lock_image@trade2.lock_image": { + "size": [ 16, 16 ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "(not #trade_toggle_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "inventory_scroll_panel@common.container_scroll_panel": { + "size": [ "100% - 12px", "100% - 12px" ], + "$scrolling_content": "common.pocket_container_grid" + }, + + "toggle_content": { + "type": "stack_panel", + "size": [ "100%", "100%cm" ], + "orientation": "horizontal", + + "controls": [ + { + "padding_1": { + "type": "panel", + "size": [ "fill", 0 ] + } + }, + { + "trade_item_holder": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ 38, "100%cm" ], + "layer": 12, + "controls": [ + { + "padding_left": { + "type": "panel", + "size": [ "fill", 0 ] + } + }, + { "trade_item_1@trade2.trade_item_1": {} }, + { + "padding_middle": { + "type": "panel", + "size": [ 2, 0 ], + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#has_second_buy_item", + "binding_name_override": "#visible" + } + ] + } + }, + { + "trade_item_2@trade2.trade_item_2": { + "bindings": [ + { + "binding_type": "collection_details" + }, + { + "binding_name": "#has_second_buy_item", + "binding_name_override": "#visible" + } + ] + } + }, + { + "padding_right": { + "type": "panel", + "size": [ "fill", 0 ] + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "fill", 0 ], + "max_size": [ 2, 0 ] + } + }, + { + "arrow_holder@trade2_pocket.arrow_holder": { + "inherit_max_sibling_height": true + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "fill", 0 ], + "max_size": [ 2, 0 ] + } + }, + { + "sell_item_holder": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "layer": 11, + "controls": [ + { "sell_item@trade2.sell_item": {} } + ] + } + }, + { + "padding_4": { + "type": "panel", + "size": [ "fill", 0 ] + } + } + ] + }, + + "left_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "horizontal", + + "controls": [ + { + "gamepad_helpers_and_tabs_holder": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "tabs_left_gamepad_helpers@common.tabs_left_gamepad_helpers": { + "size": [ 14, 0 ], + "inherit_max_sibling_height": true, + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "navigation_tabs_holder": { + "type": "panel", + "size": [ "100%c - 4px", "100%c" ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "controls": [ + { "left_navigation_tabs@trade2_pocket.left_navigation_tabs": {} } + ] + } + } + ] + } + }, + { + "content@common.root_panel": { + "size": [ "fill", "100%" ], + "controls": [ + { + "bg@common.common_panel": { + "size": [ "100%", "100%" ], + "$show_close_button": false + } + }, + { + "inventory_scroll_panel@trade2_pocket.inventory_scroll_panel": { + "layer": 2, + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_left_tab_inventory", + "binding_name_override": "#visible" + } + ] + } + }, + { + "trade_scroll_panel@trade2.trade_scroll_panel": { + "layer": 2, + + "$toggle_size": [ "100%", 32 ], + "$item_renderer_size": [ 24, 24 ], + "$toggle_content_control": "trade2_pocket.toggle_content", + + "bindings": [ + { + "binding_type": "global", + "binding_name": "#is_left_tab_trade", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + // #endregion + + //--------------------------------------------------------------------------- + // #region Base Panels + //--------------------------------------------------------------------------- + + "pocket_hotbar_and_content_panels@common.pocket_hotbar_and_content_panels": { + "layer": 2, + "$left_panel_control": "trade2_pocket.left_panel", + "$right_panel_control": "trade2_pocket.right_panel" + }, + + "screen_panel": { + "type": "panel", + "controls": [ + { "pocket_hotbar_and_content_panels@trade2_pocket.pocket_hotbar_and_content_panels": {} }, + + { + "container_gamepad_helpers@common.container_gamepad_helpers": { + "size": [ "100%", 40 ], + "$gamepad_helper_size": [ "100%c", 15 ], + "$a_b_stack_panel_orientation": "vertical", + "$x_y_stack_panel_orientation": "vertical", + "$a_b_stack_panel_size": [ "100%cm", "100%" ], + "$x_y_stack_panel_size": [ "100%cm", "100%" ], + "$helper_x_control": "trade2.gamepad_helper_x", + "$helper_y_control": "trade2.gamepad_helper_y" + } + }, + { + "selected_item_details_factory@common.selected_item_details_factory": { + "$offset": [ 0, "-37px" ] + } + }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "inventory_take_progress_icon_button@common.inventory_take_progress_icon_button": {} }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 15 } } + ] + } + + // #endregion +} diff --git a/resource_pack/ui/trade_screen.json b/resource_pack/ui/trade_screen.json new file mode 100644 index 0000000..db319ca --- /dev/null +++ b/resource_pack/ui/trade_screen.json @@ -0,0 +1,553 @@ +{ + "namespace": "trade", + + //--------------------------------------------------------------------------- + // Common Controls + //--------------------------------------------------------------------------- + + // Buttons // + + "cycle_recipe_button@common_buttons.light_content_button": { + "$button_content": "common_store.direction_button_panel", + "bindings": [ + { + "binding_type": "global", + "binding_condition": "visible", + "binding_name": "$cycle_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#focus_enabled" + } + ] + }, + + "cycle_recipe_left_button@trade.cycle_recipe_button": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$cycle_binding_name": "#left_button_enabled", + "$chevron_image_name": "textures/ui/chevron_left", + "$pressed_button_name": "button.cycle_recipe_left", + "$direction_gamepad_button_helper": "gamepad_helper@common.gamepad_helper_left_bumper", + "button_mappings": [ + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "button.cycle_recipe_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cycle_recipe_left", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cycle_recipe_left", + "mapping_type": "pressed" + } + ] + }, + + "cycle_recipe_right_button@trade.cycle_recipe_button": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$cycle_binding_name": "#right_button_enabled", + "$chevron_image_name": "textures/ui/chevron_right", + "$pressed_button_name": "button.cycle_recipe_right", + "$direction_gamepad_button_helper": "gamepad_helper@common.gamepad_helper_right_bumper", + "button_mappings": [ + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "button.cycle_recipe_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cycle_recipe_right", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cycle_recipe_right", + "mapping_type": "pressed" + } + ] + }, + + // Images // + "arrow_image": { + "type": "image", + "texture": "textures/ui/arrow_large", + "layer": 1, + "size": [ 22, 15 ], + "color": [ 0.5, 0.5, 0.5, 1.0 ] + }, + + "cross_out_icon": { + "type": "image", + "texture": "textures/ui/crossout", + "layer": 1, + "size": [ 15, 15 ], + "bindings": [ + { + "binding_name": "#cross_out_icon", + "binding_name_override": "#visible" + } + ] + }, + + "highlight_slot_panel": { + "type": "panel", + "layer": 3, + "controls": [ + { + "hover_text@common.hover_text": { + "bindings": [ + { + "binding_name": "#hover_text", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + }, + + "recipe_button": { + "type": "button", + "default_focus_precedence": 1, + "hover_control": "hover", + "layer": 1, + "button_mappings": [ + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { "hover@trade.highlight_slot_panel": {} } + ] + }, + + "recipe_item_panel": { + "type": "panel", + "size": [ 26, 26 ], + "$item_collection_name": "$recipe_collection", + "$stack_count_required|default": true, + "controls": [ + { + "item_renderer@common.item_renderer": { + "size": [ 16, 16 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#item_id_aux", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ], + "controls": [ + { + "stack_count_label@common.stack_count_label": { + "layer": 2, + "bindings": [ + { + "binding_name": "#item_stack_count", + "binding_name_override": "#inventory_stack_count", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + } + }, + { + "recipe_button@recipe_button": { + "ignored": "$pocket_screen" + } + } + ] + }, + + "trade_item_slot": { + "type": "panel", + "size": [ 26, 26 ], + "$item_collection_name": "$trade_ingredient_collection", + "controls": [ + { + "container_item@common.container_item": { + "anchor_to": "center", + "anchor_from": "center", + "$focus_binding_name_left|default": "#trade_item_focus_override_left", + "$focus_binding_type_left|default": "none", + "$focus_binding_name_right|default": "#trade_item_focus_override_right", + "$focus_binding_type_right|default": "none", + "bindings": [ + { + "binding_type": "$focus_binding_type_left", + "binding_collection_name": "$trade_ingredient_collection", + "binding_name": "$focus_binding_name_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "$focus_binding_type_right", + "binding_collection_name": "$trade_ingredient_collection", + "binding_name": "$focus_binding_name_right", + "binding_name_override": "#focus_change_right" + } + ] + } + } + ] + }, + + "trade_item_slotB@trade_item_slot": { + "bindings": [ + { + "binding_name": "#show_second_trade_slot", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "trade_item_slot_result_button@common.container_slot_button_prototype": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.trade_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.trade_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.trade_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.trade_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "trade_item_slot_result@trade_item_slot": { + "$button_ref": "trade.trade_item_slot_result_button" + }, + + //--------------------------------------------------------------------------- + // Panels + //--------------------------------------------------------------------------- + + "arrow": { + "type": "panel", + "$item_collection_name": "arrow_text", + "layer": 2, + "size": [ 26, 26 ], + "controls": [ + { "arrow_image@trade.arrow_image": {} }, + { "cross_out_icon@trade.cross_out_icon": { "layer": 2 } }, + { "recipe_button@trade.recipe_button": { "ignored": "$pocket_screen" } } + ] + }, + + "purchase_grid_item": { + "type": "stack_panel", + "orientation": "vertical", + "$padding|default": [ 0, 8 ], + "controls": [ + { "top_item@$top_item": {} }, + { + "padding": { + "type": "panel", + "size": "$padding" + } + }, + { "bottom_item@$bottom_item": {} } + ] + }, + + "purchase_grid": { + "type": "grid", + "size": [ "84%", "90%" ], + "anchor_from": "center", + "anchor_to": "center", + "grid_dimensions": [ 4, 1 ], + "controls": [ + { + "grid_slot1@trade.purchase_grid_item": { + "grid_position": [ 0, 0 ], + "$top_item": "trade.recipe_item_panel", + "$bottom_item": "trade.trade_item_slot", + "$recipe_collection": "trade_item_A", + "$trade_ingredient_collection": "trade_ingredient1_items", + "$focus_id": "trade_item_A_button_focus_id", + "$focus_override_left": "trade_item_A_button_focus_id", + "$focus_override_up": "trade_item_A_button_focus_id", + "$focus_binding_type_right": "collection" + } + }, + { + "grid_slot2@trade.purchase_grid_item": { + "grid_position": [ 1, 0 ], + "$top_item": "trade.recipe_item_panel", + "$bottom_item": "trade.trade_item_slotB", + "$recipe_collection": "trade_item_B", + "$trade_ingredient_collection": "trade_ingredient2_items", + "$focus_id": "trade_item_B_button_focus_id", + "$focus_override_left": "trade_item_A_button_focus_id", + "$focus_override_right": "sell_item_button_focus_id", + "$focus_override_up": "trade_item_B_button_focus_id" + } + }, + { + "arrow@trade.purchase_grid_item": { + "grid_position": [ 2, 0 ], + "$top_item": "trade.arrow", + "$bottom_item": "trade.arrow" + } + }, + { + "result_item_slot@trade.purchase_grid_item": { + "grid_position": [ 3, 0 ], + "$cell_image_size": [ 26, 26 ], + "$cell_overlay_ref": "trade.greyed_item_panel", + "$top_item": "trade.recipe_item_panel", + "$bottom_item": "trade.trade_item_slot_result", + "$recipe_collection": "sell_item", + "$trade_ingredient_collection": "trade_result_item", + "$focus_id": "sell_item_button_focus_id", + "$focus_override_right": "sell_item_button_focus_id", + "$focus_override_up": "sell_item_button_focus_id", + "$focus_binding_type_left": "collection" + } + } + ] + }, + + "greyed_item_panel": { + "type": "panel", + "size": [ 26, 26 ], + "$item_collection_name": "$recipe_collection", + "controls": [ + { + "item_renderer@common.item_renderer": { + "size": [ 16, 16 ], + "layer": 4, + "bindings": [ + { + "binding_name": "#item_id_aux", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_grayed_out", + "binding_name_override": "#disabled_filter_visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + }, + + "cycle_panel_keyboard": { + "type": "panel", + "size": [ "80%", "30%" ], + "offset": [ 0, -12 ], + "controls": [ + { + "left@trade.cycle_recipe_left_button": { + "size": [ 11, 21 ] + } + }, + { + "right@trade.cycle_recipe_right_button": { + "size": [ 11, 21 ] + } + } + ] + }, + + "cycle_panel_gamepad": { + "type": "panel", + "size": [ "94%", "30%" ], + "offset": [ 0, -12 ], + "controls": [ + { + "left@trade.cycle_recipe_left_button": { + "size": [ 23, 21 ] + } + }, + { + "right@trade.cycle_recipe_right_button": { + "size": [ 23, 21 ] + } + } + ] + }, + + "cycle_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "keyboard@trade.cycle_panel_keyboard": { + "bindings": [ + { + "binding_name": "(not #gamepad_helper_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "gamepad@trade.cycle_panel_gamepad": { + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "merchant_purchase_panel": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "80%", "100%" ], + "offset": [ 0, 12 ], + "controls": [ + { "purchase_grid@trade.purchase_grid": {} } + ] + }, + + "top_half_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "50%" ], + "layer": 1, + "controls": [ + { + "villager_name_label@common.section_heading_label": { + "text": "$villager_name", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 5 ] + } + }, + { "cycle_panel@trade.cycle_panel": {} }, + { "merchant_purchase_panel@trade.merchant_purchase_panel": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "trade_panel": { + "type": "panel", + "controls": [ + { "gamepad_helpers@common.container_gamepad_helpers": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { "item_lock_notification_factory@common.item_lock_notification_factory": {} }, + { + "root_panel@common.root_panel": { + "layer": 1, + "controls": [ + { "common_panel@common.common_panel": {} }, + { + "trade_inventory": { + "type": "panel", + "controls": [ + { "top_half_panel@trade.top_half_panel": {} }, + { "inventory_panel_bottom_half_with_label@common.inventory_panel_bottom_half_with_label": {} }, + { "hotbar_grid_template@common.hotbar_grid_template": {} }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "gamepad_cursor@common.gamepad_cursor_button": {} } + ] + } + } + ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 21 } } + ] + }, + + "trade_screen@common.inventory_screen_common": { + "$screen_bg_content": "common.screen_background", + "$screen_background_alpha": 0.4, + "$close_on_player_hurt|default": true, + "close_on_player_hurt": "$close_on_player_hurt", + "variables": [ + { + "requires": "$desktop_screen", + "$screen_content": "trade.trade_panel" + }, + { + "requires": "$pocket_screen", + "$screen_content": "trade_pocket.trade_panel" + } + ] + } +} diff --git a/resource_pack/ui/trade_screen_pocket.json b/resource_pack/ui/trade_screen_pocket.json new file mode 100644 index 0000000..b4502b9 --- /dev/null +++ b/resource_pack/ui/trade_screen_pocket.json @@ -0,0 +1,377 @@ +{ + "namespace": "trade_pocket", + + //--------------------------------------------------------------------------- + // Common Controls + //--------------------------------------------------------------------------- + + // Backgrounds // + "background_image": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/background_panel", + "layer": 1 + }, + + "recipe_item_panel": { + "type": "panel", + "size": [ 26, 26 ], + "$item_collection_name": "$recipe_collection", + "controls": [ + { + "item_renderer@common.item_renderer": { + "size": [ 16, 16 ], + "layer": 1, + "bindings": [ + { + "binding_name": "#item_id_aux", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ], + "controls": [ + { + "stack_count_label@common.stack_count_label": { + "layer": 2, + "bindings": [ + { + "binding_name": "#item_stack_count", + "binding_name_override": "#inventory_stack_count", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + } + } + ] + }, + + "result_item_panel": { + "type": "panel", + "size": [ 26, 26 ], + "$item_collection_name": "$recipe_collection", + "controls": [ + { + "output_item_name": { + "type": "label", + "color": "$dark_body_text_color", + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "text": "#text", + "text_alignment": "center", + "size": [ "300%", "default" ], + "bindings": [ + { + "binding_name": "#sell_item_name", + "binding_name_override": "#text", + "binding_type": "global", + "binding_condition": "visible" + } + ] + } + }, + { "recipe_item_panel@trade.recipe_item_panel": {} } + ] + }, + + "trade_item_slot": { + "type": "panel", + "size": [ 26, 26 ], + "$item_collection_name": "$trade_ingredient_collection", + "controls": [ + { + "container_item@common.pocket_ui_container_item": { + "anchor_to": "center", + "anchor_from": "center" + } + } + ] + }, + + "trade_item_slotB@trade_item_slot": { + "bindings": [ + { + "binding_name": "#show_second_trade_slot", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + }, + + "trade_item_slot_result_button@common.container_slot_button_prototype": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.trade_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.trade_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.trade_coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "trade_item_slot_result@trade_item_slot": { + "$button_ref": "trade_pocket.trade_item_slot_result_button" + }, + + //--------------------------------------------------------------------------- + // Panels + //--------------------------------------------------------------------------- + + // Merchant Grid and Panel's // + + "purchase_grid": { + "type": "grid", + "size": [ 120, 60 ], + "anchor_from": "center", + "anchor_to": "center", + "grid_dimensions": [ 4, 1 ], + "controls": [ + { + "grid_slot1@trade.purchase_grid_item": { + "grid_position": [ 0, 0 ], + "$top_item": "trade.recipe_item_panel", + "$bottom_item": "trade_pocket.trade_item_slot", + "$recipe_collection": "trade_item_A", + "$trade_ingredient_collection": "trade_ingredient1_items" + } + }, + { + "grid_slot2@trade.purchase_grid_item": { + "grid_position": [ 1, 0 ], + "$top_item": "trade.recipe_item_panel", + "$bottom_item": "trade_pocket.trade_item_slotB", + "$recipe_collection": "trade_item_B", + "$trade_ingredient_collection": "trade_ingredient2_items" + } + }, + { + "arrow@trade.purchase_grid_item": { + "grid_position": [ 2, 0 ], + "$top_item": "trade.arrow", + "$bottom_item": "trade.arrow" + } + }, + { + "result_item_slot@trade.purchase_grid_item": { + "grid_position": [ 3, 0 ], + "$cell_image_size": [ 26, 26 ], + "$top_item": "trade_pocket.result_item_panel", + "$bottom_item": "trade_pocket.trade_item_slot_result", + "$recipe_collection": "sell_item", + "$trade_ingredient_collection": "trade_result_item" + } + } + ] + }, + + "merchant_purchase_panel": { + "type": "panel", + "controls": [ + { + "left@trade.cycle_recipe_left_button": { + "size": [ 30, 30 ], + "$default_texture": "textures/ui/pocket_button_default", + "$hover_texture": "textures/ui/pocket_button_hover", + "$pressed_texture": "textures/ui/pocket_button_pressed" + } + }, + { "purchase_grid@trade_pocket.purchase_grid": {} }, + { + "right@trade.cycle_recipe_right_button": { + "size": [ 30, 30 ], + "$default_texture": "textures/ui/pocket_button_default", + "$hover_texture": "textures/ui/pocket_button_hover", + "$pressed_texture": "textures/ui/pocket_button_pressed" + } + } + ] + }, + + "merchant_panel": { + "type": "panel", + "size": [ 200, 80 ], + "controls": [ + { "merchant_purchase_panel@trade_pocket.merchant_purchase_panel": {} } + ] + }, + + // Inventory Grids and Panel // + + "inventory_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "default" ], + "maximum_grid_items": 36, + "collection_name": "combined_hotbar_and_inventory_items", + "grid_item_template": "common.pocket_ui_container_item", + "$item_collection_name": "combined_hotbar_and_inventory_items" + }, + + "inventory_content": { + "type": "panel", + "size": [ "80%", "95%" ], + "anchor_to": "center", + "anchor_from": "center", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "layer": 1, + "$allow_scrolling_even_when_content_fits": false, + "$scrolling_pane_size": [ "100%", "100%-2px" ], + "$scrolling_content": "trade_pocket.inventory_grid", + "$scroll_box_mouse_image_control": "common-classic.button_state_default", + "$scroll_size": [ "8px", "100%" ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + // Half Screens // + "half_screen": { + "type": "panel", + "size": [ "50%", "100%-31px" ], + "offset": [ 0, 27 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "inventory_half_screen@trade_pocket.half_screen": { + "size": [ "50%", "100%-35px" ], + "max_size": [ "100%-200px", "100%-35px" ], + "offset": [ 9, 31 ], + "controls": [ + { "inventory_content@trade_pocket.inventory_content": {} } + ] + }, + + "merchant_half_screen@trade_pocket.half_screen": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "50%", "100%-35px" ], + "min_size": [ 200, "100%-35px" ], + "controls": [ + { "merchant_panel@trade_pocket.merchant_panel": {} } + ] + }, + + // Header // + "header": { + "type": "panel", + "layer": 2, + "size": [ "100%", 28 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "header_background": { + "type": "image", + "texture": "textures/ui/header_bar" + } + }, + { "close_button@common.legacy_pocket_close_button": {} }, + { + "villager_name_label": { + "type": "label", + "color": "$pocket_title_text_color", + "text": "$villager_name", + "layer": 1, + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + // Trade Screen // + "trade_panel@common.inventory_screen_common": { + "size": [ "100%", "100%" ], + "controls": [ + { "bg@background_image": { "layer": 1 } }, + { "root_panel@common.root_panel": {} }, + { "header@trade_pocket.header": { "layer": 2 } }, + { + "inventory@trade_pocket.inventory_half_screen": { + "layer": 1 + } + }, + { "merchant_half_screen@trade_pocket.merchant_half_screen": { "layer": 8 } }, + + { "gamepad_helpers@common.container_gamepad_helpers": { "layer": 1 } }, + { "container_gamepad_helpers@common.container_gamepad_helpers": { "layer": 2 } }, + { "inventory_selected_icon_button@common.inventory_selected_icon_button": {} }, + { "selected_item_details_factory@common.selected_item_details_factory": {} }, + { + "item_lock_notification_factory@common.item_lock_notification_factory": { + "$offset": [ 0, "85%" ] + } + }, + { "flying_item_renderer@common.flying_item_renderer": { "layer": 21 } } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ] + } +} diff --git a/resource_pack/ui/trial_upsell_screen.json b/resource_pack/ui/trial_upsell_screen.json new file mode 100644 index 0000000..84b9096 --- /dev/null +++ b/resource_pack/ui/trial_upsell_screen.json @@ -0,0 +1,229 @@ +{ + "namespace": "trialUpsell", + + "normal_stroke_button": { + "type": "image", + "texture": "textures/ui/NormalButtonStroke", + "layer": 2 + }, + + "normal_description_label": { + "type": "label", + "text": "$trial_description_test", + "size": [ "100%", 10 ], + "color": "$body_text_color", + "anchor_from": "center", + "anchor_to": "center", + "layer": 2, + "bindings": [ + { + "binding_name": "$trial_description_test" + } + ] + }, + + "trialTime": { + "type": "custom", + "renderer": "trial_time_renderer", + "size": [ "default", 10 ], + "offset": [ 0, "1%" ], + "layer": 3, + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "trial_label": { + "type": "label", + "offset": [ 0, "3%" ], + "color": "$title_text_color", + "layer": 2, + "text": "trial.upsell.trialLabel", + "anchor_from": "center", + "anchor_to": "center" + }, + + "trial_description_panel": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 0, 2 ], + "controls": [ + { + "description_text@normal_description_label": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + + } + } + ] + }, + + "trial_expired_description_panel": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "vertical_padding_0": { + "type": "panel", + "size": [ 0, 2 ] + } + }, + { + "line1@normal_description_label": { + "size": [ "100%", "default" ], + "text": "trial.upsell.expiredDescription.line1" + } + }, + { + "vertical_padding_1": { + "type": "panel", + "size": [ 0, 10 ] + } + }, + { + "line2@normal_description_label": { + "text": "trial.upsell.expiredDescription.line2" + } + }, + { + "line3@normal_description_label": { + "text": "trial.upsell.expiredDescription.line3" + } + }, + { + "line4@normal_description_label": { + "text": "trial.upsell.expiredDescription.line4" + } + }, + { + "line5@normal_description_label": { + "size": [ "100%", 20 ], + "text": "trial.upsell.expiredDescription.line5" + } + } + ] + }, + + "continue_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_continue", + "$button_text": "$continue_button_text", + "$button_text_binding_type": "global" + }, + + "buy_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_buy_game", + "$button_text": "$buy_button_text", + "$button_text_binding_type": "global" + }, + + "root_panel": { + "type": "panel", + "size": "$xbl_first_launch_screen_size", + "anchor_to": "center", + "anchor_from": "center" + }, + + "trial_upsell_screen_dialog@common_dialogs.main_panel_one_button": { + "$child_control": "trialUpsell.content_description_panel", + "$text_name": "trial.upsell.title", + "$button_panel": "trialUpsell.button_content_panel", + "$continue_button_text": "#trial_upsell_continue_button", + "$buy_button_text": "#trial_upsell_buy_button", + "$trial_description_test": "#trial_upsell_updatedDescription" + }, + + "trial_upsell_expired_screen_dialog@common_dialogs.main_panel_one_button": { + "$child_control": "trialUpsell.content_description_panel", + "$text_name": "trial.upsell.expiredTitle", + "$button_panel": "trialUpsell.button_content_panel", + "$continue_button_text": "#trial_upsell_continue_button", + "$buy_button_text": "#trial_upsell_buy_button", + "$trial_description_test": "#trial_upsell_expired_updatedDescription" + }, + + "button_content_panel": { + "type": "panel", + "controls": [ + { + "buy@buy_button": { + "size": [ "50% - 1px", "100%" ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left" + } + }, + { + "continue@continue_button": { + "size": [ "50% - 1px", "100%" ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right" + } + } + ] + }, + + "trial_upsell_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "trialUpsell.trial_upsell_screen_content" + }, + + "trial_upsell_screen_content": { + "type": "panel", + "controls": [ + { "trialTime@trialTime": {} }, + { + "root_panel@root_panel": { + "controls": [ + { "trial_upsell_screen_dialog@trial_upsell_screen_dialog": {} } + ] + } + } + ] + }, + + "trial_upsell_expired_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "trialUpsell.trial_upsell_expired_screen_content" + }, + + "trial_upsell_expired_screen_content": { + "type": "panel", + "controls": [ + { "trialTime@trialTime": {} }, + { + "root_panel@root_panel": { + "controls": [ + { "trial_upsell_expired_screen_dialog@trial_upsell_expired_screen_dialog": {} } + ] + } + } + ] + }, + + "content_description_panel": { + "type": "panel", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "trialUpsell.trial_description_panel", + "$show_background": false, + "$scroll_size": [ "5px", "100%" ], + "$scroll_bar_left_padding_size": [ 1, 0 ] + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/ugc_viewer_screen.json b/resource_pack/ui/ugc_viewer_screen.json new file mode 100644 index 0000000..6422aa9 --- /dev/null +++ b/resource_pack/ui/ugc_viewer_screen.json @@ -0,0 +1,247 @@ +{ + "namespace": "ugc_viewer", + + "padding": { + "type": "panel", + "$padding_size|default": [ 0, 2 ], + "size": "$padding_size" + }, + + "world_label": { + "type": "label", + "color": "$dark_button_default_text_color", + "text": "#text", + "size": [ "100%", "default" ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "ugc_items", + "binding_name": "#text" + } + ] + }, + + "world_image": { + "type": "image", + "size": [ "100% - 2px", "100% - 2px" ], + "bindings": [ + { + "binding_name": "#texture_name", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "ugc_items" + }, + { + "binding_name": "#texture_locationtype", + "binding_name_override": "#texture_file_system", + "binding_type": "collection", + "binding_collection_name": "ugc_items" + } + ] + }, + + "button_content": { + "type": "panel", + "size": [ "100% - 2px", "100% - 2px" ], + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "world_label@ugc_viewer.world_label": { + } + }, + { + "world_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "background": { + "type": "image", + "texture": "textures/ui/White", + "size": [ "177.78%y", "100%" ], + "layer": 1, + "color": "$border_color", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "world_image@ugc_viewer.world_image": { + "layer": 1 + } + } + ] + } + } + ] + } + } + ] + + } + } + ] + }, + + "grid_item": { + "type": "panel", + "size": [ "33.33%", "56.25%x + 15px" ], + "controls": [ + { + "button@common_buttons.dark_content_button": { + "$pressed_button_name": "button.ugc_item", + "size": [ "100% - 2px", "100% - 2px" ], + "$button_content": "ugc_viewer.button_content", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "ugc_items" + } + ] + } + } + ] + }, + + "place_holder_control": { + "type": "panel", + "controls": [ + { + "search_icon": { + "type": "image", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "size": [ 16, 16 ], + "offset": [ 0, 1 ], + "texture": "textures/ui/magnifyingGlass", + "alpha": 0.5 + } + }, + { + + "place_holder_text@common.text_edit_box_place_holder_label": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 18, 0 ], + "$text_alpha": 0.5 + } + } + ] + }, + + "search_box@common.text_edit_box": { + "size": [ "100%-4px", 20 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$text_edit_box_content_binding_name": "#search_box_binding", + "$text_box_name": "#search_box_name", + "$place_holder_control": "ugc_viewer.place_holder_control", + "$place_holder_text": "seedPicker.search" + }, + + "grid_content": { + "type": "grid", + "size": [ "100%", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "grid_item_template": "ugc_viewer.grid_item", + "grid_rescaling_type": "horizontal", + "collection_name": "ugc_items", + + "bindings": [ + { + "binding_name": "#ugc_max_grid_items", + "binding_name_override": "#maximum_grid_items" + } + ] + }, + + "scrolling_content": { + "type": "panel", + "size": [ "100%-2px", "100%c" ], + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "controls": [ + + { "grid_content@ugc_viewer.grid_content": { } } + ] + }, + + "main_panel": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "orientation": "vertical", + "controls": [ + { "padding_0@ugc_viewer.padding": { } }, + { + "centerer_panel_0": { + "type": "panel", + "size": [ "100%", 20 ], + "controls": [ + { "search_box@ugc_viewer.search_box": { } } + ] + } + }, + { "padding_1@ugc_viewer.padding": { "$padding_size": [ 0, 1 ] } }, + { + "centerer_panel_1": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scroll_size": [ 6, "100%-4px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$scrolling_content": "ugc_viewer.scrolling_content", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 2, 0 ], + "$show_background": false + } + } + ] + } + }, + { "padding_2@ugc_viewer.padding": { "$padding_size": [ 0, 1 ] } } + ] + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "ugc_viewer_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$default_text_color": [ 0.3, 0.3, 0.3 ], + "$screen_content": "ugc_viewer.screen_content" + }, + + "screen_content": { + "type": "panel", + "controls": [ + { + "main_panel@common_dialogs.main_panel_no_buttons": { + "size": [ "100% - 4px", "100% - 4px" ], + "max_size": [ 380, 230 ], + "$text_name": "seedPicker.title", + "$child_control": "ugc_viewer.main_panel" + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/ui_art_assets_common.json b/resource_pack/ui/ui_art_assets_common.json new file mode 100644 index 0000000..7ad2120 --- /dev/null +++ b/resource_pack/ui/ui_art_assets_common.json @@ -0,0 +1,334 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "common_art", + + "title_image": { + "type": "image", + "layer": 1, + "texture": "textures/ui/title" + }, + + "title_image_edu": { + "type": "image", + "layer": 1, + "variables": [ + { + "requires": "(not $is_preview_app)", + "$title_texture": "textures/ui/title_edu" + }, + { + "requires": "$is_preview_app", + "$title_texture": "textures/ui/title_edu_preview" + } + ], + "texture": "$title_texture" + }, + + "splash_text": { + "type": "custom", + "renderer": "splash_text_renderer", + "size": [ 0.1, 0.1 ], + "layer": 2, + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$splash_text_visible|default": true, + "visible": "$splash_text_visible" + }, + + "title_panel_pocket": { + "type": "panel", + "offset": [ 0, "5%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "100%", "12.5%x" ], + "controls": [ + { "title_image@common_art.title_image": {} }, + { + "splash_text@splash_text": { + "offset": [ -106, 8 ] + } + } + ] + }, + + "title_panel_win10": { + "type": "panel", + "size": [ "55%", "18.85%x" ], + "offset": [ 0, "10%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "title_image@common_art.title_image": {} }, + { + "splash_text@splash_text": { + "offset": [ -8, 10 ] + } + } + ] + }, + + "title_panel_osx": { + "type": "panel", + "size": [ "55%", "19.37%x" ], + "offset": [ 0, "10%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "title_image@common_art.title_image": {} }, + { + "splash_text@splash_text": { + "offset": [ -8, 10 ] + } + } + ] + }, + + "title_panel_edu_desktop": { + "type": "panel", + "size": [ "100%", 62 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, "2.5%" ], + "controls": [ + { + "banner_control": { + "type": "panel", + "ignored": true, // commit 9038293a5d684e150321d46fee14e6beb0043c42 to bring it back + "controls": [ + { + "banner": { + "type": "image", + "texture": "textures/ui/edu_green_tile", + "tiled": true, + "tiled_scale": [ 0.78, 0.78 ] + } + }, + { + "drop_shadow": { + "type": "image", + "texture": "textures/ui/Black", + "offset": [ 0, 1 ], + "size": [ "100%", 1 ], + "alpha": 0.3, + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + } + }, + { + "title_control": { + "type": "panel", + "size": [ "380%y", 48 ], + "layer": 1, + "controls": [ + { "title_image_edu@common_art.title_image_edu": {} }, + { + "splash_text@splash_text": { + "offset": [ -14, 18 ] + } + } + ] + } + } + ] + }, + + "title_panel_edu_mobile": { + "type": "panel", + "size": [ "100%", 62 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, "2.5%" ], + "controls": [ + { + "title_control": { + "type": "panel", + "size": [ "380%y", 48 ], + "layer": 1, + "controls": [ + { "title_image_edu@common_art.title_image_edu": {} }, + { + "splash_text@splash_text": { + "offset": [ -12, 6 ] + } + } + ] + } + } + ] + }, + + "title_panel_firetv": { + "type": "panel", + "offset": [ 0, "10%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "55%", "19.37%x" ], + "controls": [ + { "title_image@common_art.title_image": {} }, + { + "splash_text@splash_text": { + "offset": [ -8, 12 ] + } + } + ] + }, + + "title_panel_vr": { + "type": "panel", + "size": [ "55%", "19.37%x" ], + "offset": [ 0, "10%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "title_image@common_art.title_image": {} }, + { + "splash_text@splash_text": { + "offset": [ -8, 12 ] + } + } + ] + }, + + "title_panel_content": { + "type": "panel", + "variables": [ + { + "requires": "$win10_edition", + "$title_panel": "title_panel_win10" + }, + { + "requires": "$osx_edition", + "$title_panel": "title_panel_osx" + }, + { + "requires": "($education_edition and $is_desktop)", + "$title_panel": "title_panel_edu_desktop", + "$start_screen": false + }, + { + "requires": "($education_edition and not $is_desktop)", + "$title_panel": "title_panel_edu_mobile", + "$start_screen": false + }, + { + "requires": "($pocket_edition or $console_edition)", + "$title_panel": "title_panel_pocket" + }, + { + "requires": "$fire_tv", + "$title_panel": "title_panel_firetv" + }, + { + "requires": "$gear_vr", + "$title_panel": "title_panel_vr" + } + ], + "controls": [ + { + "$title_panel@$title_panel": {} + } + ] + }, + + "start_title_panel_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "variables": [ + { + "requires": "$win10_edition", + "$title_panel": "title_panel_win10" + }, + { + "requires": "$osx_edition", + "$title_panel": "title_panel_osx" + }, + { + "requires": "($education_edition and $is_desktop)", + "$title_panel": "title_panel_edu_desktop", + "$start_screen": true + }, + { + "requires": "($education_edition and not $is_desktop)", + "$title_panel": "title_panel_edu_mobile", + "$start_screen": true + }, + { + "requires": "($pocket_edition or $console_edition)", + "$title_panel": "title_panel_pocket" + }, + { + "requires": "$fire_tv", + "$title_panel": "title_panel_firetv" + }, + { + "requires": "$gear_vr", + "$title_panel": "title_panel_vr" + } + ], + "controls": [ + { + "$title_panel@$title_panel": {} + } + ] + }, + + "pause_logo_panel": { + "type": "input_panel", + "size": [ "100%", "100%c + 2px" ], + "variables": [ + { + "requires": "$win10_edition", + "$title_panel": "common_art.title_image", + "$logo_max_size": [ 275, "18.85%x" ], + "$logo_size": [ "90%", "18.85%x" ] + }, + { + "requires": "$osx_edition", + "$title_panel": "common_art.title_image", + "$logo_max_size": [ 275, "19.37%x" ], + "$logo_size": [ "90%", "19.37%x" ] + }, + { + "requires": "($education_edition)", + "$title_panel": "common_art.title_image_edu", + "$logo_max_size": [ 275, "24.355%x" ], + "$logo_size": [ "90%", "24.355%x" ], + "$achievements_ignored": true + }, + { + "requires": "($pocket_edition or $console_edition)", + "$title_panel": "common_art.title_image", + "$logo_max_size": [ 260, "21.769%x" ], + "$logo_size": [ "90%", "21.769%x" ] + }, + { + "requires": "$fire_tv", + "$title_panel": "common_art.title_image", + "$logo_max_size": [ 275, "19.37%x" ], + "$logo_size": [ "90%", "19.37%x" ] + }, + { + "requires": "$gear_vr", + "$title_panel": "common_art.title_image", + "$logo_max_size": [ 275, "19.37%x" ], + "$logo_size": [ "90%", "19.37%x" ] + } + ], + "controls": [ + { + "logo@$title_panel": { + "size": "$logo_size", + "max_size": "$logo_max_size" + } + } + ] + } + +} diff --git a/resource_pack/ui/ui_common.json b/resource_pack/ui/ui_common.json new file mode 100644 index 0000000..4708cbe --- /dev/null +++ b/resource_pack/ui/ui_common.json @@ -0,0 +1,7127 @@ +{ + "namespace": "common", + + //--------------------------------------------------------------------------- + // Common controls + //--------------------------------------------------------------------------- + + "empty_panel": { + "type": "panel" + }, + + "vertical_padding_8px": { + "type": "panel", + "size": [ "100%", 8 ] + }, + + "horizontal_padding_2px": { + "type": "panel", + "size": [ 2, 0 ] + }, + + "empty_image": { + "type": "image" + }, + + "horizontal_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal" + }, + + "vertical_stack_panel": { + "type": "stack_panel", + "orientation": "vertical" + }, + + "vert_stack_centering_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "stack_content@$vert_stack_centering_content": {} } + ] + }, + + "button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "$focus_enabled|default": true, + "focus_enabled": "$focus_enabled", + "focus_magnet_enabled": true, + "$focus_wrap_enabled|default": true, + "focus_wrap_enabled": "$focus_wrap_enabled", + + "$button_focus_precedence|default": 0, + "default_focus_precedence": "$button_focus_precedence", + + "$button_tts_name|default": "accessibility.button.tts.title", + "$button_tts_header|default": "", + "$tts_section_header|default": "", + "$button_tts_control_type_order_priority|default": 100, + "$button_tts_index_priority|default": 150, + + "tts_name": "$button_tts_name", + "tts_control_header": "$button_tts_header", + "tts_section_header": "$tts_section_header", + "tts_control_type_order_priority": "$button_tts_control_type_order_priority", + "tts_index_priority": "$button_tts_index_priority", + + "layer": 1, + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "locked_control": "", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + } + ], + + "$button_bindings|default": [], + "bindings": "$button_bindings" + }, + + "screen_header_title_panel": { + "type": "panel", + "size": [ "fill", 17 ], + "$screen_header_title_visible|default": true, + "controls": [ + { + "store_header_title": { + "type": "label", + "size": [ "100%", 17 ], + "offset": [ 0, 3.5 ], + "ignored": "(not $screen_header_title_visible)", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "text_alignment": "left", + "color": "$title_text_color", + "$screen_header_title|default": "#screen_header_title", + "$screen_header_title_binding_type|default": "none", + "text": "$screen_header_title", + "bindings": [ + { + "binding_type": "$screen_header_title_binding_type", + "binding_name": "$screen_header_title", + "binding_name_override": "$screen_header_title" + } + ] + } + } + ] + }, + + "back_button@common_buttons.no_background_content_button": { + "variables": [ + { + "requires": "$touch", + "$size": [ "100%c + 6px", "100%c + 6px" ], + "$button_panel_offset": [ 3, 3 ] + }, + { + "requires": "(not $touch)", + "$size": [ "100%c", "100%c" ] + } + ], + "size": "$size", + "$button_text": "$back_button_text", + "$button_content": "common.back_button_content", + "$button_type_panel": "common_buttons.form_fitting_button_content_panel", + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + "$button_tts_header|default": "accessibility.button.back", + "$back_button_pressed_button_name|default": "button.menu_exit", + "bindings": [ + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$back_button_pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$back_button_pressed_button_name", + "mapping_type": "focused" + } + ] + }, + + "back_title_button": { + "type": "stack_panel", + "orientation": "horizontal", + "$button_text_binding_type|default": "none", + "$back_button_has_title|default": false, + "controls": [ + { + "panel1": { + "type": "panel", + "offset": [ 2, 0 ], + "size": [ 16, "100%" ], + "controls": [ + { + "button@common.back_button": { + "$button_text": "", + "$button_content": "common.back_title_button_content", + "$button_tts_header": "accessibility.button.back" + } + } + ] + } + }, + { + "padding1": { + "type": "panel", + "size": [ 3, "100%" ], + "ignored": "(not $back_button_has_title)" + } + }, + { + "panel2": { + "type": "panel", + "size": [ "100%c", "100%" ], + "ignored": "(not $back_button_has_title)", + "controls": [ + { + "label": { + "type": "label", + "layer": 2, + "text": "$button_text", + "color": "$title_text_color", + "text_alignment": "center", + "bindings": [ + { + "binding_type": "$button_text_binding_type", + "binding_name": "$button_text", + "binding_name_override": "$button_text" + } + ] + } + } + ] + } + } + ] + }, + + "chevron_image": { + "type": "image", + "layer": 1, + "size": [ 4, 7 ], + "texture": "$chevron_image_name" + }, + + "back_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 16 ], + "offset": [ 0, 2 ], + "controls": [ + { + "chevron_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "left_chevron@common.chevron_image": { + "texture": "textures/ui/chevron_left", + "offset": [ 0, -1 ], + "color": "$text_color" + } + } + ] + } + }, + { + "padding1": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "label@common_buttons.new_ui_binding_button_label": { + "offset": [ 0, -2 ] + } + } + ] + } + } + ] + }, + + "label_hover": { + "type": "panel", + "size": [ "100%", "100%" ], + "$visible_hover|default": true, + "controls": [ + { + "hover@common.focus_border_white": { + "size": [ "100%", "100%" ], + "offset": [ 0, 2 ], + "visible": "$visible_hover" + } + } + ] + }, + + "tts_activate_sibling@common.button": { // If there's a label or panel or disabled button that needs to be selectable for TTS, or controller navigation. Just put this next to it. + "sound_volume": 0, + "size": [ "100%sm", "100%sm" ], // Since this uses sibling max, the control needs to either be isolated with just this as a sibling, or needs to be the largest in the set. + "$pressed_button_name": "button.focus_filler", // Might need an offset to look correct, it depends on what this is a sibling of. + "$button_tts_name": "", + "focus_enabled": true, + "tts_inherit_siblings": true, + "controls": [ + { + "default@common.empty_panel": {} + }, + { + "pressed@common.label_hover": {} + }, + { + "hover@common.label_hover": {} + } + ] + }, + + "back_title_button_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 16 ], + "offset": [ 0, 2 ], + "controls": [ + { + "padding1": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "chevron_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "left_chevron@common.chevron_image": { + "texture": "textures/ui/chevron_left", + "offset": [ 0, -1 ], + "color": "$text_color" + } + } + ] + } + }, + { + "padding2": { + "type": "panel", + "size": [ 4, "100%" ] + } + } + ] + }, + + "toggle_visuals": { + "type": "panel", + "controls": [ + { "unchecked@$unchecked_control": {} }, + { "checked@$checked_control": {} }, + { "unchecked_hover@$unchecked_hover_control": {} }, + { "checked_hover@$checked_hover_control": {} }, + { "unchecked_locked@$unchecked_locked_control": {} }, + { "checked_locked@$checked_locked_control": {} }, + { "unchecked_locked_hover@$unchecked_locked_hover_control": {} }, + { "checked_locked_hover@$checked_locked_hover_control": {} } + ] + }, + + "toggle@common.toggle_visuals": { + "type": "toggle", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "$toggle_focus_enabled|default": true, + "focus_enabled": "$toggle_focus_enabled", + "focus_magnet_enabled": true, + + "$default_focus_precedence|default": 0, + "default_focus_precedence": "$default_focus_precedence", + + "$allow_controller_back_button_mapping|default": false, + + "layer": 1, + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + + "checked_control": "checked", + "unchecked_control": "unchecked", + "checked_hover_control": "checked_hover", + "unchecked_hover_control": "unchecked_hover", + "checked_locked_control": "checked_locked", + "unchecked_locked_control": "unchecked_locked", + "checked_locked_hover_control": "checked_locked_hover", + "unchecked_locked_hover_control": "unchecked_locked_hover", + + "$radio_toggle_group|default": false, + "$toggle_default_state|default": false, + "$toggle_group_forced_index|default": -1, + "$toggle_group_default_selected|default": 0, + "$toggle_binding_type|default": "global", + "$toggle_binding_condition|default": "visible", + "$toggle_state_binding_name|default": "#toggle_state", + "$toggle_enabled_binding_type|default": "none", + "$toggle_enabled_binding_condition|default": "visible", + "$toggle_enabled_binding_name|default": "#toggle_enabled", + "$toggle_grid_collection_name|default": "", + "$toggle_collection_details_type|default": "none", + "$toggle_collection_detail_name|default": "", + + "$toggle_tts_name|default": "accessibility.toggle.tts.title", + "$toggle_tts_header_binding_type|default": "none", + "$toggle_tts_header_binding_condition|default": "visible", + "$toggle_tts_header_binding_collection_name|default": "", + "$toggle_tts_header|default": "", + "$toggle_tts_value_binding_type|default": "none", + "$toggle_tts_value_binding_condition|default": "visible", + "$toggle_tts_value_binding_collection_name|default": "", + "$toggle_tts_override_toggle_value|default": "", + "$toggle_tts_toggle_on_text|default": "accessibility.state.on", + "$toggle_tts_toggle_off_text|default": "accessibility.state.off", + "$toggle_tts_type_priority|default": -100, + "$toggle_tts_index_priority|default": 150, + "$toggle_tts_inherit_siblings|default": false, + "$tts_section_header|default": "", + + "$ignore_tts_enabled_bind|default": false, + "$toggle_focus_bind|default": "", + + "radio_toggle_group": "$radio_toggle_group", + "toggle_name": "$toggle_name", + "toggle_default_state": "$toggle_default_state", + "toggle_group_forced_index": "$toggle_group_forced_index", + "toggle_group_default_selected": "$toggle_group_default_selected", + "toggle_grid_collection_name": "$toggle_grid_collection_name", + + "$enable_directional_toggling|default": false, + "$toggle_on_button|default": "toggle.toggle_on", + "$toggle_off_button|default": "toggle.toggle_off", + + "$toggle_tts_enabled_binding_type|default": "none", + + "enable_directional_toggling": "$enable_directional_toggling", + "toggle_on_button": "$toggle_on_button", + "toggle_off_button": "$toggle_off_button", + + "tts_toggle_on": "$toggle_tts_toggle_on_text", + "tts_toggle_off": "$toggle_tts_toggle_off_text", + "tts_name": "$toggle_tts_name", + "tts_control_header": "$toggle_tts_header", + "tts_section_header": "$tts_section_header", + "tts_override_control_value": "$toggle_tts_override_toggle_value", + "tts_control_type_order_priority": "$toggle_tts_type_priority", + "tts_index_priority": "$toggle_tts_index_priority", + "tts_inherit_siblings": "$toggle_tts_inherit_siblings", + "tts_ignore_count": false, + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.controller_back", + "mapping_type": "focused", + "ignored": "(not $allow_controller_back_button_mapping)" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_left", + "to_button_id": "$toggle_off_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_right", + "to_button_id": "$toggle_on_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + } + ], + + "$toggle_property_bag|default": { + "#toggle_state": true + }, + + "property_bag": "$toggle_property_bag", + + "bindings": [ + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + }, + { + "binding_type": "$toggle_enabled_binding_type", + "binding_condition": "$toggle_enabled_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_type": "$toggle_collection_details_type", + "binding_collection_name": "$toggle_collection_detail_name" + }, + { + "binding_type": "$toggle_tts_header_binding_type", + "binding_condition": "$toggle_tts_header_binding_condition", + "binding_collection_name": "$toggle_tts_header_binding_collection_name", + "binding_name": "$toggle_tts_header" + }, + { + "binding_type": "$toggle_tts_value_binding_type", + "binding_condition": "$toggle_tts_value_binding_condition", + "binding_collection_name": "$toggle_tts_value_binding_collection_name", + "binding_name": "$toggle_tts_override_toggle_value" + }, + { + "ignored": "$ignore_tts_enabled_bind", + "binding_type": "$toggle_tts_enabled_binding_type", + "binding_name": "#tts_enabled", + "binding_name_override": "#focus_enabled" + }, + { + "ignored": "(($toggle_focus_bind = '') and (not $ignore_tts_enabled_bind))", + "binding_type": "global", + "binding_name": "$toggle_focus_bind", + "binding_name_override": "#focus_enabled" + } + ] + }, + + "radio_toggle@common.toggle": { + "$unchecked_control|default": "common.radio_toggle_unchecked_state", + "$checked_control|default": "common.radio_toggle_checked_state", + "$unchecked_hover_control|default": "common.radio_toggle_unchecked_hover_state", + "$checked_hover_control|default": "common.radio_toggle_checked_hover_state", + "$unchecked_locked_control|default": "common.radio_toggle_unchecked_locked_state", + "$unchecked_locked_hover_control|default": "common.radio_toggle_unchecked_locked_state", + "$checked_locked_control|default": "common.radio_toggle_checked_locked_state", + "$checked_locked_hover_control|default": "common.radio_toggle_checked_locked_state", + "$radio_toggle_group": true + }, + + "checkbox@common.toggle": { + "$toggle_tts_name": "accessibility.checkbox.tts.title", + "$toggle_tts_toggle_on_text": "accessibility.state.checked", + "$toggle_tts_toggle_off_text": "accessibility.state.unchecked", + "$unchecked_control": "common.checkbox_unchecked_state", + "$checked_control": "common.checkbox_checked_state", + "$unchecked_hover_control": "common.checkbox_unchecked_hover_state", + "$checked_hover_control": "common.checkbox_checked_hover_state", + "$unchecked_locked_control": "common.checkbox_unchecked_locked_state", + "$unchecked_locked_hover_control": "common.checkbox_unchecked_locked_state", + "$checked_locked_control": "common.checkbox_checked_locked_state", + "$checked_locked_hover_control": "common.checkbox_checked_locked_state" + }, + + "checkbox_image": { + "type": "image", + "size": [ 10, 10 ] + }, + + "checked_image@checkbox_image": { + "texture": "textures/ui/checkbox_check" + }, + + "unchecked_image@checkbox_image": { + "texture": "textures/ui/checkbox_space" + }, + + "checked_hover_image@checkbox_image": { + "texture": "textures/ui/checkbox_checkHover" + }, + + "unchecked_hover_image@checkbox_image": { + "texture": "textures/ui/checkbox_spaceHover" + }, + + "rotating_text": { + "type": "carousel_label", + "shadow": false, + "color": [ 1.0, 1.0, 1.0, 1.0 ], + "text": "Override this text, this is the default!", + "always_rotate": false, + "rotate_speed": 0.1, + "hover_color": [ 1.0, 1.0, 0.2, 1.0 ], + "hover_alpha": 1.0, + "pressed_color": [ 1.0, 1.0, 0.2, 1.0 ], + "pressed_alpha": 0.65, + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_select", + "mapping_type": "focused" + } + ] + }, + + "button_text": { + "type": "label", + "color": "$generic_button_text_color", + "layer": 1, + "shadow": false + }, + + "toggle_state_template": { + "$checkbox_alignment|default": "center", + "anchor_from": "$checkbox_alignment", + "anchor_to": "$checkbox_alignment", + "offset": "$checkbox_offset", + "$checkbox_offset|default": [ 0, 0 ], + "type": "image", + "layer": 2, + "size": [ 10, 10 ] + }, + + "new_button_label": { + "$text_color|default": "$light_button_default_text_color", + "type": "label", + "layer": 3, + "color": "$text_color", + "shadow": false, + "font_size": "normal" + }, + + "checkbox_checked_state@toggle_state_template": { + "texture": "textures/ui/checkbox_check" + }, + + "checkbox_unchecked_state@toggle_state_template": { + "texture": "textures/ui/checkbox_space" + }, + + "checkbox_checked_hover_state@checkbox_checked_state": { + "texture": "textures/ui/checkbox_checkHover" + }, + + "checkbox_unchecked_hover_state@checkbox_unchecked_state": { + "texture": "textures/ui/checkbox_spaceHover" + }, + + "checkbox_checked_locked_state@checkbox_checked_state": { + "texture": "textures/ui/checkbox_checkDisabled" + }, + + "checkbox_unchecked_locked_state@toggle_state_template": { + "texture": "textures/ui/checkbox_spaceDisabled" + }, + + "radio_toggle_checked_state@checkbox_unchecked_state": { + "texture": "textures/ui/checkbox_filled" + }, + + "radio_toggle_unchecked_state@checkbox_unchecked_state": {}, + + "radio_toggle_checked_hover_state@toggle_state_template": { + "texture": "textures/ui/checkbox_filled_hover" + }, + + "radio_toggle_unchecked_hover_state@checkbox_unchecked_hover_state": {}, + + "radio_toggle_checked_locked_state@toggle_state_template": { + "texture": "textures/ui/checkbox_filled_disabled" + }, + + "radio_toggle_unchecked_locked_state@checkbox_unchecked_locked_state": {}, + + "slider_button_state": { + "type": "image", + "layer": 2, + "texture": "textures/ui/slider_button_default" + }, + + "slider_button_layout@common.slider_button_state": { + "texture": "textures/ui/slider_button_default" + }, + + "slider_button_hover_layout@common.slider_button_state": { + "texture": "textures/ui/slider_button_hover" + }, + + "slider_button_locked_layout@common.slider_button_state": { + "texture": "textures/ui/slider_button_locked" + }, + + "slider_button_indent_layout@common.slider_button_state": { + "texture": "textures/ui/slider_button_indent" + }, + + "slider_box": { + "type": "slider_box", + "layer": 4, + "size": "$slider_box_size", + "anchor_to": "center", + "anchor_from": "center", + "default_control": "default", + "hover_control": "hover", + "locked_control": "locked", + "indent_control": "indent", + "controls": [ + { + "default@$slider_box_layout": { + "layer": 2 + } + }, + { + "hover@$slider_box_hover_layout": { + "layer": 3 + } + }, + { + "indent@$slider_box_indent_layout": { + "layer": 4 + } + }, + { + "locked@$slider_box_locked_layout": { + "layer": 1, + "controls": [ + { + "transparent_grey": { + "type": "image", + "ignored": "$is_holographic", + "texture": "textures/ui/slider_locked_transparent_fade", + "alpha": 0.5, + "layer": 5, + "bindings": [ + { + "binding_type": "$slider_enabled_binding_type", + "binding_condition": "$slider_enabled_binding_condition", + "binding_collection_name": "$slider_collection_name", + "binding_name": "(not $slider_enabled_binding_name)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "slider_background": { + "type": "image", + "texture": "textures/ui/slider_background" + }, + + "slider_background_hover": { + "type": "image", + "texture": "textures/ui/slider_background_hover" + }, + + "slider_progress": { + "type": "image", + "texture": "textures/ui/slider_progress" + }, + + "slider_progress_hover": { + "type": "image", + "texture": "textures/ui/slider_progress_hover" + }, + + "slider_border": { + "type": "image", + "texture": "textures/ui/slider_border" + }, + + "slider_bar_default@common.slider_border": { + "$background_control|default": "common.slider_background", + "$progress_control|default": "common.slider_progress", + "$background_control_name|default": "slider_background", + "$progress_control_name|default": "slider_progress", + "$progress_clip_direction|default": "left", + + "color": "$slider_default_border_color", + + "controls": [ + { + "sizing_panel": { + "type": "panel", + "size": [ "100% - 2px", "100% - 2px" ], + "controls": [ + { + "$background_control_name@$background_control": { + "layer": 1 + } + }, + { + "$progress_control_name@$progress_control": { + "layer": 3, + "clip_direction": "$progress_clip_direction", + "clip_pixelperfect": false + } + } + ] + } + }, + { + "transparent_grey": { + "type": "image", + "ignored": "$is_holographic", + "texture": "textures/ui/slider_locked_transparent_fade", + "alpha": 0.5, + "layer": 4, + "bindings": [ + { + "binding_type": "$slider_enabled_binding_type", + "binding_condition": "$slider_enabled_binding_condition", + "binding_collection_name": "$slider_collection_name", + "binding_name": "(not $slider_enabled_binding_name)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "slider_bar_hover@common.slider_bar_default": { + "color": "$slider_hover_border_color", + + "$background_control": "common.slider_background_hover", + "$progress_control": "common.slider_progress_hover", + "$background_control_name": "slider_background_hover", + "$progress_control_name": "slider_progress_hover" + }, + + "slider_step": { + "type": "image", + "texture": "textures/ui/slider_step_background", + "size": [ 2, 6 ], + "layer": 4, + "offset": "$step_offset" + }, + + "slider_step_hover@common.slider_step": { + "texture": "textures/ui/slider_step_background_hover" + }, + + "slider_step_progress@common.slider_step": { + "texture": "textures/ui/slider_step_progress" + }, + + "slider_step_progress_hover@common.slider_step": { + "texture": "textures/ui/slider_step_progress_hover" + }, + + "slider": { + "type": "slider", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "$default_focus_precedence|default": 0, + "default_focus_precedence": "$default_focus_precedence", + + "$slider_select_on_hover|default": false, + "slider_select_on_hover": "$slider_select_on_hover", + + "layer": 1, + "always_listen_to_input": false, + "always_handle_pointer": true, + "slider_box_control": "slider_box", + + // Slider box + "$slider_box_layout|default": "common.slider_button_layout", + "$slider_box_hover_layout|default": "common.slider_button_hover_layout", + "$slider_box_locked_layout|default": "common.slider_button_locked_layout", + "$slider_box_indent_layout|default": "common.slider_button_indent_layout", + "$slider_box_size|default": [ 10, 16 ], + + // Slider + "$slider_track_button|default": "button.slider_skip_track", + "$slider_direction|default": "horizontal", + "$slider_steps|default": 1, + "$slider_collection_name|default": "", + + "slider_name": "$slider_name", + "slider_track_button": "$slider_name", + "slider_direction": "$slider_direction", + "slider_steps": "$slider_steps", + "slider_collection_name": "$slider_collection_name", + "$slider_binding_type|default": "global", + "$slider_binding_condition|default": "visible", + "$slider_value_binding_name|default": "#slider_value", + "$slider_steps_binding_type|default": "global", + "$slider_steps_binding_condition|default": "visible", + "$slider_steps_binding_name|default": "#slider_steps", + "$slider_enabled_binding_type|default": "none", + "$slider_enabled_binding_condition|default": "visible", + "$slider_enabled_binding_name|default": "#slider_enabled", + + "$slider_tts_binding_type|default": "global", + "$slider_tts_binding_condition|default": "visible", + + "$slider_tts_header|default": "", + "$slider_tts_header_binding_type|default": "none", + "$slider_tts_header_binding_condition|default": "visible", + "$slider_header_collection_name": "", + "$slider_tts_override_value|default": " ", // The header will likely always displays the slider value + "$slider_tts_name|default": "accessibility.slider.tts.title", + "$slider_tts_text_value|default": "", + "$tts_section_header|default": "", + + "default_control": "slider_bar_default", + "hover_control": "slider_bar_hover", + "background_control": "slider_background", + "background_hover_control": "slider_background_hover", + "progress_control": "slider_progress", + "progress_hover_control": "slider_progress_hover", + + "tts_control_header": "$slider_tts_header", + "tts_section_header": "$tts_section_header", + "tts_override_control_value": "$slider_tts_override_value", + "tts_name": "$slider_tts_name", + "tts_value_changed": "$slider_tts_text_value", + + + "$slider_small_decrease_button|default": "slider.small_decrease", + "$slider_small_increase_button|default": "slider.small_increase", + "$slider_selected_button|default": "slider.selected", + "$slider_deselected_button|default": "slider.deselected", + + "slider_small_decrease_button": "$slider_small_decrease_button", + "slider_small_increase_button": "$slider_small_increase_button", + "slider_selected_button": "$slider_selected_button", + "slider_deselected_button": "$slider_deselected_button", + + "$slider_step_factory_control_ids": { + "slider_step": "@common.slider_step", + "slider_step_hover": "@common.slider_step_hover", + "slider_step_progress": "@common.slider_step_progress", + "slider_step_progress_hover": "@common.slider_step_progress_hover" + }, + + "factory": { + "name": "slider_step_factory", + "control_ids": "$slider_step_factory_control_ids" + }, + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$slider_name", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$slider_selected_button", + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$slider_deselected_button", + "mapping_type": "focused" + }, + { + "ignored": "($slider_direction = 'vertical')", + "from_button_id": "button.menu_left", + "to_button_id": "$slider_small_decrease_button", + "mapping_type": "pressed", + "input_mode_condition": "not_gaze", + "ignore_input_scope": true + }, + { + "ignored": "($slider_direction = 'horizontal')", + "from_button_id": "button.menu_up", + "to_button_id": "$slider_small_decrease_button", + "mapping_type": "pressed", + "input_mode_condition": "not_gaze", + "ignore_input_scope": true + }, + { + "ignored": "($slider_direction = 'vertical')", + "from_button_id": "button.menu_right", + "to_button_id": "$slider_small_increase_button", + "mapping_type": "pressed", + "input_mode_condition": "not_gaze", + "ignore_input_scope": true + }, + { + "ignored": "($slider_direction = 'horizontal')", + "from_button_id": "button.menu_down", + "to_button_id": "$slider_small_increase_button", + "mapping_type": "pressed", + "input_mode_condition": "not_gaze", + "ignore_input_scope": true + } + ], + "controls": [ + { + "slider_box@common.slider_box": { + "$slider_box_layout": "$slider_box_layout", + "$slider_box_size": "$slider_box_size", + "$slider_track_button": "$slider_name" + } + }, + { + "slider_bar_default@common.slider_bar_default": {} + }, + { + "slider_bar_hover@common.slider_bar_hover": { + "visible": false + } + } + ], + "property_bag": { + "#slider_steps": 1, + "#slider_value": 0 + }, + "bindings": [ + { + "binding_type": "$slider_steps_binding_type", + "binding_condition": "$slider_steps_binding_condition", + "binding_collection_name": "$slider_collection_name", + "binding_name": "$slider_steps_binding_name", + "binding_name_override": "#slider_steps" + }, + { + "binding_type": "$slider_binding_type", + "binding_condition": "$slider_binding_condition", + "binding_collection_name": "$slider_collection_name", + "binding_name": "$slider_value_binding_name", + "binding_name_override": "#slider_value" + }, + { + "binding_type": "$slider_enabled_binding_type", + "binding_condition": "$slider_enabled_binding_condition", + "binding_collection_name": "$slider_collection_name", + "binding_name": "$slider_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_type": "$slider_tts_binding_type", + "binding_condition": "$slider_tts_binding_condition", + "binding_collection_name": "$slider_collection_name", + "binding_name": "$slider_tts_text_value" + }, + { + "binding_type": "$slider_tts_header_binding_type", + "binding_condition": "$slider_tts_header_binding_condition", + "binding_collection_name": "$slider_header_collection_name", + "binding_name": "$slider_tts_header" + } + + ] + }, + + "dropdown_background": { + "layer": 1, + "type": "image", + "texture": "textures/ui/dropdown_background" + }, + + "dropdown": { + "type": "panel", + + "$dropdown_content|default": "common.empty_panel", + "$dropdown_toggle|default": "common.checkbox", + "$dropdown_name|default": "dropdown_control", + "$dropdown_scroll_content_size|default": [ "100%", "500%" ], + "$dropdown_toggle_name|default": "($dropdown_name + '_toggle')", + "$dropdown_background|default": "common.dropdown_background", + + "controls": [ + { + "$dropdown_name@$dropdown_toggle": { + "type": "dropdown", + "$toggle_view_binding_name": "$dropdown_name", + "anchor_from": "top_left", + "anchor_to": "top_left", + "dropdown_name": "$dropdown_name", + "dropdown_content_control": "dropdown_content", + "dropdown_area": "$dropdown_area", + "$toggle_name": "$dropdown_name", + "$toggle_state_binding_name": "('#' + $dropdown_name)", + "$toggle_tts_name": "accessibility.dropdown.tts.title", + "$toggle_tts_toggle_on_text": "", + "$toggle_tts_toggle_off_text": "", + "tts_control_type_order_priority": -1 // This should happen before labels whose default starts at 0 + } + }, + { + "dropdown_content": { + "type": "input_panel", + // we really want this on top of everything + "layer": 42, + "size": "$dropdown_scroll_content_size", + "$anchor_dropdown_content_from|default": "top_left", + "$anchor_dropdown_content_to|default": "top_left", + "anchor_from": "$anchor_dropdown_content_from", + "anchor_to": "$anchor_dropdown_content_to", + "modal": true, + "property_bag": { + "#is_dropdown": true + }, + "ttsSectionContainer": true, + "$dropdown_content_controls|default": [ + { + "scroll@common.scrolling_panel": { + "layer": 2, + "size": [ "100%", "100%" ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_content": "$dropdown_content", + "$scroll_view_port_size": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_size_touch": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_offset": [ 2, 2 ], + "$scroll_view_port_offset_touch": [ 2, 2 ], + "$scroll_size": [ 5, "100%-2px" ], + "$scroll_size_touch": [ 5, "100%-2px" ], + "$scroll_background_image_control": "$dropdown_background", + "$background_size": [ "100%", "100%" ], + "$background_size_touch": [ "100%", "100%" ], + "$show_background": true, + "$scroll_bar_contained": true, + "$scroll_bar_contained_touch": true + } + } + ], + "controls": "$dropdown_content_controls", + "bindings": [ + { + "binding_type": "view", + "source_control_name": "($dropdown_name)", + "source_property_name": "#toggle_state", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.dropdown_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.dropdown_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.dropdown_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ] + } + } + ] + }, + + "dropdown_no_scrollpanel@common.dropdown": { + "$dropdown_scroll_content_size": [ "100%", "100%c" ], + "$dropdown_content_controls": [ + { + "background@$dropdown_background": { + "layer": 1, + "size": "$dropdown_scroll_content_size", + "controls": [ + { + "content@$dropdown_content": { + "layer": 1 + } + } + ] + } + } + ] + }, + + // This copy is for the border of images that we want to be allow to be overridden separately with resource packs - we want this to be different from button use + "square_image_border_white": { + "type": "image", + "layer": 2, + "texture": "textures/ui/square_image_border_white" + }, + + "focus_border_white": { + "type": "image", + "layer": 2, + "texture": "textures/ui/focus_border_white" + }, + + "focus_border_yellow@common.focus_border_white": { + "color": [ 1.0, 1.0, 0.0, 1.0 ] + }, + + "focus_border_black@common.focus_border_white": { + "color": [ 0.0, 0.0, 0.0, 1.0 ] + }, + + "non_interact_focus_border": { + "type": "image", + "texture": "textures/ui/square_image_border_white", + "color": "$non_interact_border_color" + }, + + "non_interact_focus_border_button@common.button": { + "size": [ "100%", "100%" ], + "sound_volume": 0.0, + "$pressed_button_name|default": "button.focus_filler", // This event is not intended to be handled anywhere + "$button_tts_name": "", // We don't want TTS to say "button" here + "$default_focus_border_control|default": "common.empty_panel", + "$hover_focus_border_control|default": "common.non_interact_focus_border", + "$pressed_focus_border_control|default": "common.non_interact_focus_border", + "$content_inside|default": "common.empty_panel", + "$border_size|default": [ "100%", "100%" ], + + "controls": [ + { + "default@$default_focus_border_control": { + "size": "$border_size" + } + }, + { + "hover@$hover_focus_border_control": { + "size": "$border_size" + } + }, + { + "pressed@$pressed_focus_border_control": { + "size": "$border_size" + } + }, + { "content@$content_inside": {} } + ] + }, + + "tts_label_focus_wrapper": { + "type": "panel", + "$tts_label_panel|default": "common.empty_panel", + "$focus_border_size|default": [ "100%", "100%sm" ], + "$focus_border_anchor|default": "center", + "$focus_border_offset|default": [ 0, 0 ], + "$focus_border_precedence|default": 0, + "$focus_border_consume_hover_events|default": true, + "size": [ "100%", "100%cm" ], + "controls": [ + { + "label@$tts_label_panel": {} + }, + { + "focus_border@common.non_interact_focus_border_button": { + "size": "$focus_border_size", + "tts_inherit_siblings": true, + "anchor_from": "$focus_border_anchor", + "anchor_to": "$focus_border_anchor", + "offset": "$focus_border_offset", + "default_focus_precedence": "$focus_border_precedence", + "$focus_border_visible_binding|default": "#tts_enabled", + "$focus_border_visible_binding_override|default": "#visible", + "$focus_border_visible_binding_type|default": "global", + "consume_hover_events": "$focus_border_consume_hover_events", + "bindings": [ + { + "binding_type": "$focus_border_visible_binding_type", + "binding_name": "$focus_border_visible_binding", + "binding_name_override": "$focus_border_visible_binding_override" + } + ] + } + } + ] + }, + + "default_indent": { + "type": "image", + "texture": "textures/ui/default_indent" + }, + + "edit_box_indent": { + "type": "image", + "texture": "textures/ui/edit_box_indent", + "alpha": "$alpha", + "$alpha|default": 1.0 + }, + + "edit_box_indent_hover@common.edit_box_indent": { + "texture": "textures/ui/edit_box_indent_hover" + }, + + "transparent_edit_box_indent": { + "type": "image", + "texture": "$box_texture", + "alpha": "$alpha", + "$alpha|default": 1.0 + }, + + "transparent_edit_box_indent_hover": { + "type": "image", + "texture": "textures/ui/edit_box_indent_hover", + "alpha": "$hover_alpha", + "$alpha|default": 1.0 + }, + + + "text_edit_box_label": { + "type": "label", + + "localize": false, + "enable_profanity_filter": "$enable_profanity_filter", + "shadow": "$shadow", + "color": "$text_box_text_color", + "locked_color": "$locked_color", + "alpha": "$text_alpha", + "locked_alpha": "$locked_text_alpha", + "font_size": "$font_size", + "text_alignment": "$text_alignment", + + "$shadow|default": false, + "$enable_profanity_filter|default": false, + "$newline_refresh|default": "#newline_refresh", + "$text_alpha|default": 1.0, + "$locked_color|default": [ 1.0, 1.0, 1.0, 1.0 ], + "$locked_text_alpha|default": 0.5, + "$font_size|default": "normal", + "$text_alignment|default": "left", + + "$text_edit_box_content_binding_type|default": "global", + "$text_edit_box_content_binding_name|default": "#text_box_item_name", + "$text_edit_box_binding_condition|default": "visible", + "$text_box_name|default": "#text_box_name", + + "$text_color_binding_name|default": "#edit_box_text_color", + "$text_color_binding_type|default": "none", + + "text": "#item_name", + "$text_edit_box_binding_type": "global", + "$text_edit_box_binding_collection_name": "", + + "$text_box_tts_name|default": "", + "tts_name": "$text_box_tts_name", + + "property_bag": { + "#property_field": "#item_name" + }, + "bindings": [ + { + "binding_type": "$text_edit_box_content_binding_type", + "binding_condition": "$text_edit_box_binding_condition", + "binding_collection_name": "$text_edit_box_grid_collection_name", + "binding_name": "$text_edit_box_content_binding_name", + "binding_name_override": "#item_name" + }, + { + "binding_type": "$text_color_binding_type", + "binding_name": "$text_color_binding_name", + "binding_name_override": "#color" + }, + { + "binding_name": "#newline_refresh" + } + ] + }, + + "text_edit_box_place_holder_label": { + "type": "label", + + "localize": true, + "shadow": "$shadow", + "color": "$place_holder_text_color", + "locked_color": "$text_box_locked_text_color", + "alpha": "$text_alpha", + "locked_alpha": "$locked_text_alpha", + "font_size": "$font_size", + "text_alignment": "$text_alignment", + + "$shadow|default": false, + "$text_alpha|default": 1.0, + "$locked_text_alpha|default": 0.5, + "$font_size|default": "normal", + "$text_alignment|default": "left", + + "$text_edit_box_placeholder_content_binding_type|default": "global", + "$text_edit_box_placeholder_content_binding_name|default": "#text_box_item_name", + "$text_edit_box_placeholder_binding_condition|default": "visible", + "$text_box_name|default": "#text_box_name", + + "$place_holder_text|default": "", + + "text": "$place_holder_text", + "$text_edit_box_placeholder_binding_type": "global", + "$text_edit_box_placeholder_binding_collection_name": "", + + "bindings": [ + { + "binding_type": "$text_edit_box_placeholder_content_binding_type", + "binding_condition": "$text_edit_box_placeholder_binding_condition", + "binding_collection_name": "$text_edit_box_grid_collection_name", + "binding_name": "$text_edit_box_placeholder_content_binding_name" + } + ] + }, + + "text_magnifying_glass_image": { + "type": "image", + "texture": "textures/ui/magnifying_glass.png", + "layer": 10 + }, + + "text_close_X_button_image": { + "type": "image", + "texture": "textures/ui/close_X_button.png" + }, + + "text_close_X_button_image_hover": { + "type": "image", + "texture": "textures/ui/close_X_button_hover.png" + }, + + "clear_text_button": { + "type": "button", + "layer": 10, + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.text_edit_box_clear", + "mapping_type": "pressed" + } + ], + "controls": [ + { "default@common.text_close_X_button_image": {} }, + { "hover@common.text_close_X_button_image_hover": {} }, + { "pressed@common.text_close_X_button_image_hover": {} } + ] + }, + + "text_edit_box": { + "type": "edit_box", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "anchor_from": "center", + "anchor_to": "center", + "layer": 1, + "enabled": "#enabled", + + "$text_box_name|default": "#text_box_name", + "$text_box_enabled_binding_name|default": "#text_box_enabled", + "$text_edit_box_enabled_binding_type|default": "global", + "$text_edit_box_grid_collection_name|default": "", + "$text_edit_clipping_panel_size|default": [ "100%", "100%" ], + "$text_edit_box_label_size|default": [ "default", "default" ], + "$text_edit_box_label_anchor_point|default": "right_middle", + "$text_edit_box_label_min_size|default": [ "100%", 0 ], + "$text_edit_box_label_offset|default": [ 0, 0 ], + + "text_box_name": "$text_box_name", + "text_edit_box_grid_collection_name": "$text_edit_box_grid_collection_name", + + "$deselectable_binding_type|default": "none", + "$deselectable_binding_name|default": "#can_be_deselected", + + "$text_edit_box_focusable_binding_name|default": "#text_edit_box_focusable", + + "$text_edit_visible_binding_name|default": "#text_edit_box_visible", + "$text_edit_visible_binding_collection_name|default": "", + "$text_edit_visible_binding_type|default": "none", + + "$text_edit_type_name|default": "accessibility.textbox.tts.title", + "$text_box_tts_header|default": "", + "$tts_section_header|default": "", + + "tts_name": "$text_edit_type_name", + "tts_control_header": "$text_box_tts_header", + "tts_section_header": "$tts_section_header", + "$tts_override_control_value|default": " ", + "tts_override_control_value": "$tts_override_control_value", + + "bindings": [ + { + "binding_type": "$text_edit_box_enabled_binding_type", + "binding_collection_name": "$text_edit_box_grid_collection_name", + "binding_name": "$text_box_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_type": "$deselectable_binding_type", + "binding_name": "$deselectable_binding_name", + "binding_name_override": "#can_be_deselected" + }, + { + "binding_type": "none", + "binding_name": "$text_edit_box_focusable_binding_name", + "binding_name_override": "#focus_enabled" + }, + { + "binding_name": "$text_edit_visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "$text_edit_visible_binding_type", + "binding_collection_name": "$text_edit_visible_binding_collection_name" + } + ], + + "locked_control": "locked", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + + "max_length": 14, + "$text_edit_box_text_type|default": "ExtendedASCII", + "text_type": "$text_edit_box_text_type", + + "$virtual_keyboard_buffer_control|default": "", + "virtual_keyboard_buffer_control": "$virtual_keyboard_buffer_control", + + "$text_edit_text_control|default": "display_text", + "text_control": "$text_edit_text_control", + "$place_holder_control": "common.text_edit_box_place_holder_label", + "$text_background_default": "common.edit_box_indent", + "$text_background_hover": "common.edit_box_indent_hover", + "place_holder_control": "place_holder_control", + + "$text_edit_box_hovered_button_id|default": "button.text_edit_box_hovered", + + "$text_edit_box_clear_from_button_id|default": "button.menu_clear", + "$text_edit_box_clear_to_button_id|default": "button.text_edit_box_clear", + "$text_edit_box_clear_scope|default": "view", + + "$text_edit_box_selected_to_button_id|default": "button.text_edit_box_selected", + "$text_edit_box_deselected_to_button_id|default": "button.text_edit_box_deselected", + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": true, + "handle_deselect": false, + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global", + // Deselect textbox and allow selection of another UI control with same mouse press + "consume_event": false + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": true, + "handle_deselect": true, + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$text_edit_box_deselected_to_button_id", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global" + }, + { + "to_button_id": "$text_edit_box_hovered_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "$text_edit_box_clear_from_button_id", + "to_button_id": "$text_edit_box_clear_to_button_id", + "handle_select": false, + "handle_deselect": false, + "mapping_type": "focused" + } + ], + + "$shadow": false, + "$font_size": "normal", + "$color|default": [ 1, 1, 1, 1 ], + "$alpha|default": 1.0, + "$disabled_alpha|default": 0.5, + "$text_offset|default": [ 0, 0 ], + + "$place_holder_text_hover_color|default": "$text_box_text_color", + "place_holder_text_hover_color": "$place_holder_text_hover_color", + + "$text_clear_button_enabled|default": false, + "$text_clear_button_size|default": [ 15, 15 ], + "$text_clear_button_offset|default": [ 0, 0 ], + "$magnifying_glass_enabled|default": false, + "$magnifying_glass_size|default": [ 10, 10 ], + "$magnifying_glass_offset|default": [ 0, 0 ], + + "controls": [ + { + "centering_panel": { + "type": "panel", + "size": [ "100% - 6px", "100% - 4px" ], + "controls": [ + { + "clipper_panel": { + "type": "panel", + "size": "$text_edit_clipping_panel_size", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": "$text_offset", + "clips_children": true, + "$disabled_color|default": "$color", + "controls": [ + { + "$text_edit_text_control@common.text_edit_box_label": { + "layer": 1, + "size": "$text_edit_box_label_size", + "offset": "$text_edit_box_label_offset", + "min_size": "$text_edit_box_label_min_size", + "anchor_from": "$text_edit_box_label_anchor_point", + "anchor_to": "$text_edit_box_label_anchor_point", + "font_size": "$font_size", + "$text_alpha|default": "$alpha", + "$locked_text_alpha|default": "$disabled_alpha", + "$locked_color|default": "$disabled_color" + } + }, + { + "magnifying_glass@common.text_magnifying_glass_image": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "visible": "$magnifying_glass_enabled", + "size": "$magnifying_glass_size", + "offset": "$magnifying_glass_offset" + } + }, + { + "clear_text_button_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "visible": "$text_clear_button_enabled", + "controls": [ + { + "clear_text_button@common.clear_text_button": { + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "size": "$text_clear_button_size", + "offset": "$text_clear_button_offset", + "bindings": [ + { + "binding_type": "global", + "binding_name": "#show_clear_text_button", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + }, + { + "visibility_panel": { + "type": "panel", + "$placeholder_label_size|default": "$text_edit_box_label_size", + "controls": [ + { + "place_holder_control@$place_holder_control": { + "layer": 1, + "size": "$placeholder_label_size", + "offset": "$text_edit_box_label_offset", + "min_size": "$text_edit_box_label_min_size", + "anchor_from": "$text_edit_box_label_anchor_point", + "anchor_to": "$text_edit_box_label_anchor_point", + "$text_alpha|default": "$alpha", + "$locked_text_alpha|default": "$disabled_alpha", + "$locked_color|default": "$disabled_color" + } + } + ], + + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$text_edit_text_control", + "source_property_name": "(#item_name = '')", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + } + ] + } + } + ] + } + }, + { + "locked": { + "type": "panel", + "$disabled_color|default": "$color", + "controls": [ + { + "edit_box_indent@$text_background_default": { + "$color": "$disabled_color", + "$alpha": "$disabled_alpha" + } + } + ] + } + }, + { "default@$text_background_default": {} }, + { "hover@$text_background_hover": {} }, + { "pressed@$text_background_hover": {} } + ] + }, + + "text_edit_box_scrolling_content": { + "type": "input_panel", + "focus_enabled": true, + "size": [ "100%", "100%c" ], + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "controls": [ + { + "$text_edit_text_control@common.text_edit_box_label": { + "layer": 1, + "size": [ "100%", "default" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "font_size": "normal", + "$text_box_tts_name": "accessibility.textbox.tts.title" + } + } + ] + }, + + "scrollable_text_edit_box@common.text_edit_box": { + "controls": [ + { + "centering_panel": { + "type": "panel", + "size": [ "100% - 6px", "100% - 4px" ], + "controls": [ + { + "clipper_panel": { + "type": "panel", + "size": "$text_edit_clipping_panel_size", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": "$text_offset", + "clips_children": true, + "$disabled_color|default": "$color", + "controls": [ + { + "text_edit_text_control@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scroll_size": [ 6, "100%-4px" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$scrolling_content": "common.text_edit_box_scrolling_content", + "$scrolling_content_anchor_from": "top_middle", + "$scrolling_content_anchor_to": "top_middle", + "$show_background": false, + "$scroll_panel_consume_hover_events": false, + "$scroll_bar_left_padding_size": [ 0, 0 ], + "$scroll_bar_right_padding_size": [ 2, 0 ] + } + }, + { + "visibility_panel": { + "type": "panel", + "controls": [ + { + "place_holder_control@$place_holder_control": { + "layer": 1, + "size": "$text_edit_box_label_size", + "offset": "$text_edit_box_label_offset", + "min_size": "$text_edit_box_label_min_size", + "anchor_from": "$text_edit_box_label_anchor_point", + "anchor_to": "$text_edit_box_label_anchor_point", + "$text_alpha|default": "$alpha", + "$locked_text_alpha|default": "$disabled_alpha", + "$locked_color|default": "$disabled_color" + } + } + ], + + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$text_edit_text_control", + "source_property_name": "(#item_name = '')", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + } + ] + } + } + ] + } + }, + { + "locked": { + "type": "panel", + "$disabled_color|default": "$color", + "controls": [ + { + "edit_box_indent@$text_background_default": { + "$color": "$disabled_color", + "$alpha": "$disabled_alpha" + } + } + ] + } + }, + { "default@$text_background_default": {} }, + { "hover@$text_background_hover": {} }, + { "pressed@$text_background_hover": {} } + ] + }, + + "transparent_text_edit_box": { + "type": "edit_box", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "anchor_from": "center", + "anchor_to": "center", + "layer": 1, + "enabled": "#enabled", + + "$text_box_name|default": "#text_box_name", + "$text_box_enabled_binding_name|default": "#text_box_enabled", + "$text_edit_box_enabled_binding_type|default": "global", + "$text_edit_box_grid_collection_name|default": "", + "$text_edit_box_label_size|default": [ "default", "default" ], + "$text_edit_box_label_anchor_point|default": "right_middle", + "$text_edit_box_label_min_size|default": [ "100%", 0 ], + "$text_edit_box_label_offset|default": [ 0, 0 ], + + "text_box_name": "$text_box_name", + "text_edit_box_grid_collection_name": "$text_edit_box_grid_collection_name", + + "bindings": [ + { + "binding_type": "$text_edit_box_enabled_binding_type", + "binding_collection_name": "$text_edit_box_grid_collection_name", + "binding_name": "$text_box_enabled_binding_name", + "binding_name_override": "#enabled" + } + ], + + "locked_control": "locked", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + + "max_length": 14, + "text_type": "ExtendedASCII", + "$box_texture|default": "textures/ui/imagetaggedcorner", + + "$text_edit_text_control|default": "display_text", + "text_control": "$text_edit_text_control", + "$place_holder_control": "common.text_edit_box_place_holder_label", + "$text_background_default": "common.transparent_edit_box_indent", + "$text_background_hover": "common.transparent_edit_box_indent_hover", + "place_holder_control": "place_holder_control", + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "handle_select": true, + "handle_deselect": false, + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_select", + "handle_select": true, + "handle_deselect": true, + "mapping_type": "focused" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_cancel", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global" + } + ], + + "$shadow": false, + "$font_size": "normal", + "$color|default": [ 1, 1, 1, 1 ], + "$alpha|default": 1.0, + "$hover_alpha|default": 1.0, + "$disabled_alpha|default": 0.5, + "$text_offset|default": [ 0, 0 ], + "$place_holder_text_hover_color|default": "$text_box_text_color", + "place_holder_text_hover_color": "$place_holder_text_hover_color", + + "controls": [ + { + "clipper_panel": { + "type": "panel", + "size": [ "100% - 6px", "100% - 4px" ], + "anchor_from": "center", + "anchor_to": "center", + "offset": "$text_offset", + "clips_children": true, + "$disabled_color|default": "$color", + "controls": [ + { + "$text_edit_text_control@common.text_edit_box_label": { + "layer": 1, + "size": "$text_edit_box_label_size", + "offset": "$text_edit_box_label_offset", + "min_size": "$text_edit_box_label_min_size", + "anchor_from": "$text_edit_box_label_anchor_point", + "anchor_to": "$text_edit_box_label_anchor_point", + "font_size": "$font_size", + "$text_alpha|default": "$alpha", + "$locked_text_alpha|default": "$disabled_alpha", + "$locked_color|default": "$disabled_color", + "$text_box_tts_name": "accessibility.textbox.tts.title" + } + }, + { + "visibility_panel": { + "type": "panel", + "controls": [ + { + "place_holder_control@$place_holder_control": { + "layer": 1, + "size": "$text_edit_box_label_size", + "offset": "$text_edit_box_label_offset", + "min_size": "$text_edit_box_label_min_size", + "anchor_from": "$text_edit_box_label_anchor_point", + "anchor_to": "$text_edit_box_label_anchor_point", + "$text_alpha|default": "$alpha", + "$locked_text_alpha|default": "$disabled_alpha", + "$locked_color|default": "$disabled_color" + } + } + ], + + "bindings": [ + { + "binding_type": "view", + "source_control_name": "$text_edit_text_control", + "source_property_name": "(#item_name = '')", + "target_property_name": "#visible", + "resolve_sibling_scope": true + } + ] + } + } + ] + } + }, + { + "locked": { + "type": "panel", + "$disabled_color|default": "$color", + "controls": [ + { + "edit_box_indent@$text_background_default": { + "$color": "$disabled_color", + "$alpha": "$disabled_alpha" + } + } + ] + } + }, + { "default@$text_background_default": {} }, + { "hover@$text_background_hover": {} }, + { "pressed@$text_background_hover": {} } + ] + }, + + "multiline_text_edit_box@common.text_edit_box": { + "enabled_newline": true, + "max_length": 100, + "$text_edit_box_label_size": [ "100%", "100%" ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": true, + "handle_deselect": false, + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global", + "consume_event": false + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": true, + "handle_deselect": false, + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$text_edit_box_deselected_to_button_id", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global" + }, + { + "to_button_id": "$text_edit_box_hovered_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "$text_edit_box_clear_from_button_id", + "to_button_id": "$text_edit_box_clear_to_button_id", + "handle_select": false, + "handle_deselect": false, + "mapping_type": "focused" + } + ] + }, + + "scrollable_multiline_text_edit_box@common.scrollable_text_edit_box": { + "enabled_newline": true, + "max_length": 100, + "$text_edit_box_label_size": [ "100%", "100%" ], + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": true, + "handle_deselect": false, + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global", + "consume_event": false + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$text_edit_box_selected_to_button_id", + "handle_select": true, + "handle_deselect": false, + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$text_edit_box_deselected_to_button_id", + "handle_select": false, + "handle_deselect": true, + "mapping_type": "global" + }, + { + "to_button_id": "$text_edit_box_hovered_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "$text_edit_box_clear_from_button_id", + "to_button_id": "$text_edit_box_clear_to_button_id", + "handle_select": false, + "handle_deselect": false, + "mapping_type": "focused" + } + ] + }, + + "dirt_background": { + "ignored": "($is_holographic and not $is_living_room_mode)", + "type": "image", + "texture": "textures/ui/bg32", + "layer": 1, + "tiled": true + }, + + "portal_background": { + "ignored": "$is_holographic", + "type": "image", + "texture": "textures/ui/portalBg", + "layer": 1, + "tiled": true + }, + "empty_progress_bar": { + "type": "image", + "texture": "textures/ui/empty_progress_bar", + "color": "#color" + }, + + "filled_progress_bar": { + "type": "image", + "texture": "textures/ui/filled_progress_bar", + "clip_direction": "left", + "color": "#color", + "bindings": [ + { + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio" + } + ] + }, + + "filled_progress_bar_for_collections@filled_progress_bar": { + "clip_pixelperfect": false, + "bindings": [ + { + "binding_name": "#progress_percentage", + "binding_name_override": "#clip_ratio", + "binding_type": "collection", + "binding_collection_name": "$progress_bar_collection" + }, + { + "binding_name": "#bar_color", + "binding_name_override": "#color", + "binding_type": "collection", + "binding_collection_name": "$progress_bar_collection" + } + ] + }, + + "progress_bar": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 20 ], + "size": [ 182, 5 ], + "controls": [ + { + "empty_progress_bar@common.empty_progress_bar": { + "layer": 1 + } + }, + { + "filled_progress_bar@common.filled_progress_bar": { + "layer": 2 + } + } + ] + }, + + "progress_bar_for_collections@progress_bar": { + "controls": [ + { + "empty_progress_bar@common.empty_progress_bar": { + "layer": 1 + } + }, + { + "filled_progress_bar_for_collections@common.filled_progress_bar_for_collections": { + "layer": 2 + } + } + ] + }, + + "horizontal_divider": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$image_size|default": [ "100%", 1 ], + "controls": [ + { + "divider_image": { + "type": "image", + "size": "$image_size", + "texture": "textures/ui/divider3", + "tiled": "x", + "alpha": 0.6 + } + } + ] + }, + + "vertical_divider": { + "type": "panel", + "$size|default": [ "100%c", "100%" ], + "size": "$size", + "$image_size|default": [ 1, "100%" ], + "controls": [ + { + "divider_image": { + "type": "image", + "size": "$image_size", + "texture": "textures/ui/divider3", + "tiled": "y", + "alpha": 0.6 + } + } + ] + }, + + "underline": { + "type": "image", + "size": [ "100%", 1 ], + "$texture|default": "textures/ui/underline", + "$underline_color|default": "$f_color_format", + "color": "$underline_color", + "texture": "$texture", + "alpha": 0.6, + "tiled": "x", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + }, + + "single_line_label": { + "type": "panel", + "$size|default": [ "100%c", "100%c + 3px" ], + "size": "$size", + "$single_line_label_offset|default": [ 2, 1 ], + "$single_label_size|default": [ "default", 10 ], + "$underline_control|default": "common.empty_panel", + "$single_line_font_scale_factor|default": 1, + "$font_type|default": "smooth", + "$font_size|default": "normal", + "controls": [ + { + "label_panel": { + "type": "label", + "size": "$single_label_size", + "offset": "$single_line_label_offset", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "font_type": "$font_type", + "font_size": "$font_size", + "enable_profanity_filter": false, + + "font_scale_factor": "$single_line_font_scale_factor", + + "$single_line_label_color|default": "$body_text_color", + "color": "$single_line_label_color", + + "text_alignment": "left", + "$single_line_label_text|default": "", + "text": "$single_line_label_text", + + "controls": "$underline_control", + "$label_text_bindings|default": [], + "bindings": "$label_text_bindings" + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////// + // Gamepad helper common + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_helper_icon_description": { + "type": "label", + "color": "$gamepad_helper_icon_description_text_color", + "shadow": "$gamepad_helper_icon_description_shadow", + "text": "$icon_description_bind", + "$icon_description_bind|default": "#gamepad_helper_icon_description", + "$icon_description_bind_type|default": "global", + "$icon_description_bind_condition|default": "always_when_visible", + "$gamepad_helper_icon_description_text_color|default": "$gamepad_description_text_color", + "$gamepad_helper_icon_description_shadow|default": true, + "bindings": [ + { + "binding_name": "$icon_description_bind", + "binding_type": "$icon_description_bind_type", + "binding_condition": "$icon_description_bind_condition" + } + ] + }, + + "gamepad_helper_icon_image": { + "type": "image", + "texture": "textures/ui/grey_gamepad_icon_button" + }, + + "keyboard_helper_icon_image": { + "type": "image", + "texture": "textures/ui/keyboard_tooltip_icon" + }, + + "gamepad_helper": { + "type": "stack_panel", + "orientation": "horizontal", + "$gamepad_helper_size|default": [ "100%c", 26 ], + "$gamepad_description_size|default": [ "default", "default" ], + "$gamepad_description_max_size|default": [ "default", "default" ], + "$description_panel_size|default": [ "100%c + 2px", 26 ], + "size": "$gamepad_helper_size", + "layer": "$gamepad_helper_layer", + "$gamepad_helper_layer|default": 100, + "$hide_description|default": false, + "$gamepad_description|default": "common.gamepad_helper_icon_description", + "$gamepad_helper_icon_size|default": [ 26, 26 ], + "$gamepad_helper_icon_image_size|default": [ "100%", "100%" ], + "$gamepad_description_offset|default": [ -2, 0 ], + "$gamepad_helper_visible_binding_name|default": "#gamepad_helper_visible", + "$gamepad_helper_visible_binding_type|default": "global", + "$gamepad_helper_binding_condition|default": "none", + + "bindings": [ + { + "binding_type": "$gamepad_helper_visible_binding_type", + "binding_name": "$gamepad_helper_visible_binding_name", + "binding_name_override": "#visible", + "binding_condition": "$gamepad_helper_binding_condition" + } + ], + "controls": [ + { + "icon_panel": { + "type": "panel", + "size": "$gamepad_helper_icon_size", + "controls": [ + { + "$icon_image_ref": { + "$gamepad_icon_size": "$gamepad_helper_icon_image_size", + "$gamepad_icon_visible_binding_name": "$gamepad_helper_visible_binding_name", + "$gamepad_icon_visible_binding_type": "$gamepad_helper_visible_binding_type" + } + } + ] + } + }, + { + "description_panel": { + "ignored": "($hide_description)", + "type": "panel", + "size": "$description_panel_size", + "controls": [ + { + "desc@$gamepad_description": { + "size": "$gamepad_description_size", + "max_size": "$gamepad_description_max_size", + "offset": "$gamepad_description_offset" + } + } + ] + } + } + ] + }, + + "gamepad_helpers": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "100%", 26 ] + }, + + "gamepad_helpers_a_and_b": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%c", "100%c" ], + "controls": [ + { "gamepad_helper_a@common.gamepad_helper_a": {} }, + { + "control": { + "type": "panel", + "size": [ 10, 0 ] + } + }, + { "gamepad_helper_b@common.gamepad_helper_b": {} } + ] + }, + + + "container_gamepad_helpers@gamepad_helpers": { + "$x_y_a_b_stack_panel_orientation|default": "horizontal", + "$x_y_a_b_stack_panel_size|default": [ "100%c", "100%" ], + "$helper_a_control|default": "common.gamepad_helper_a", + "$helper_b_control|default": "common.gamepad_helper_b", + "$helper_x_control|default": "common.gamepad_helper_x", + "$helper_y_control|default": "common.gamepad_helper_y", + "controls": [ + { + "fill_panel": { + "type": "panel", + "size": [ "fill", 0 ] + } + }, + { + "buttons": { + "type": "stack_panel", + "size": "$x_y_a_b_stack_panel_size", + "orientation": "$x_y_a_b_stack_panel_orientation", + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "controls": [ + { "gamepad_helper_x@$helper_x_control": {} }, + { "gamepad_helper_a@$helper_a_control": {} }, + { "gamepad_helper_y@$helper_y_control": {} }, + { "gamepad_helper_b@$helper_b_control": {} } + ] + } + }, + { + "buffer_panel_right": { + "type": "panel", + "size": [ 10, 0 ] + } + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////// + // Gamepad Pocket Trigger and Bumper Helpers + ///////////////////////////////////////////////////////////////////////////// + + + "tabs_left_gamepad_helpers": { + "type": "panel", + "size": [ 14, "100%" ], + "controls": [ + { + "gamepad_helper_left_bumper@common.gamepad_helper_left_bumper": { + "offset": [ -4, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$hide_description": true + } + }, + { + "gamepad_helper_left_trigger@common.gamepad_helper_left_trigger": { + "offset": [ -4, 0 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "$hide_description": true + } + } + ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + }, + + "tabs_right_gamepad_helpers": { + "type": "panel", + "size": [ 14, "100%" ], + "controls": [ + { + "gamepad_helper_right_bumper@common.gamepad_helper_right_bumper": { + "offset": [ 4, 0 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "$hide_description": true + } + }, + { + "gamepad_helper_right_trigger@common.gamepad_helper_right_trigger": { + "offset": [ 4, 0 ], + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "$hide_description": true + } + } + ], + "bindings": [ + { + "binding_name": "#gamepad_helper_visible", + "binding_name_override": "#visible" + } + ] + }, + + ///////////////////////////////////////////////////////////////////////////// + // Keyboard helper common + ///////////////////////////////////////////////////////////////////////////// + + "keyboard_helper_description": { + "type": "label", + "color": "$gamepad_description_text_color", + "layer": 31, + "offset": [ 1, 0 ], + "shadow": true, + "text": "$description_bind", + "bindings": [ + { + "binding_name": "$description_bind" + } + ] + }, + + "keyboard_helper": { + "type": "stack_panel", + "orientation": "horizontal", + "$keyboard_helper_size|default": [ "100%c", 13 ], + "size": "$keyboard_helper_size", + "layer": -1, + "$text": "", + "$text_color": [ 0.0, 0.0, 0.0 ], + "$icon_size|default": [ 17, 17 ], + "$icon_size_panel|default": [ 17, 17 ], + "$icon_label_size|default": [ "default", 10 ], + "$icon_label_offset|default": [ 0, 0 ], + "$hide_description|default": false, + "$ignore_image|default": false, + "$keyboard_description|default": "common.keyboard_helper_description", + "$keyboard_helper_visible_binding|default": "#keyboard_helper_visible", + "$keyboard_character|default": "", + "$keyboard_description_max_size|default": [ "default", "default" ], + "bindings": [ + { + "binding_name": "$keyboard_helper_visible_binding", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "image_centerer": { + "ignored": "$ignore_image", + "type": "panel", + "size": "$icon_size_panel", + "controls": [ + { + "image@common.keyboard_helper_icon_image": { + "size": "$icon_size", + + "controls": [ + { + "keyboard_character": { + "type": "label", + "size": "$icon_label_size", + "offset": "$icon_label_offset", + "text": "$keyboard_character", + "color": "$text_color", + "layer": 1, + "$keyboard_character_bindings|default": [], + "bindings": "$keyboard_character_bindings" + } + } + ] + } + } + ] + } + }, + { + "centerer": { + "ignored": "($hide_description)", + "type": "panel", + "size": [ "100%c + 2px", "100%" ], + "controls": [ + { + "desc@$keyboard_description": { + "max_size": "$keyboard_description_max_size" + } + } + ] + } + } + ] + }, + + "keyboard_helpers": { + "type": "panel", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "98%", 16 ] + }, + + // Buttons + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_icon_button@common.gamepad_helper_icon_image": { + "$gamepad_icon_size|default": [ 26, 26 ], + "$gamepad_icon_visible_binding_name|default": "#gamepad_helper_visible", + "$gamepad_icon_visible_binding_type|default": "global", + "size": "$gamepad_icon_size", + "texture": "$icon_texture", + "bindings": [ + { + "binding_name": "$icon_texture", + "binding_name_override": "#texture" + }, + { + "binding_type": "$gamepad_icon_visible_binding_type", + "binding_name": "$gamepad_icon_visible_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "gamepad_helper_start@gamepad_helper": { + "$icon_texture": "#controller_start_icon", + "$icon_description_bind": "#button_start_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_a@gamepad_helper": { + "$icon_texture": "#controller_face_down_icon", + "$icon_description_bind": "#button_a_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_a_14@gamepad_helper": { + "$icon_texture": "#controller_face_down_icon_14", + "$icon_description_bind": "#button_a_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_b@gamepad_helper": { + "$icon_texture": "#controller_face_right_icon", + "$icon_description_bind": "#button_b_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_b_14@gamepad_helper": { + "$icon_texture": "#controller_face_right_icon_14", + "$icon_description_bind": "#button_b_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_x@gamepad_helper": { + "$icon_texture": "#controller_face_left_icon", + "$icon_description_bind": "#button_x_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_x_14@gamepad_helper": { + "$icon_texture": "#controller_face_left_icon_14", + "$icon_description_bind": "#button_x_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_y@common.gamepad_helper": { + "$icon_texture": "#controller_face_up_icon", + "$icon_description_bind": "#button_y_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_y_14@common.gamepad_helper": { + "$icon_texture": "#controller_face_up_icon_14", + "$icon_description_bind": "#button_y_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "keyboard_helper_keys@keyboard_helper": { + "$text_color": "$keyboard_helper_keys", + "$description_bind": "#button_keyboard_description" + }, + + // Triggers + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_helper_left_trigger@gamepad_helper": { + "$icon_texture": "#controller_left_trigger", + "$icon_description_bind": "#controller_left_trigger_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_right_trigger@gamepad_helper": { + "$icon_texture": "#controller_right_trigger", + "$icon_description_bind": "#controller_right_trigger_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + + "keyboard_left_trigger@keyboard_helper": { + "$text_color": "$keyboard_helper_keys", + "$description_bind": "#keyboard_left_trigger_description", + "$keyboard_character": "[" + }, + + "keyboard_right_trigger@keyboard_helper": { + "$text_color": "$keyboard_helper_keys", + "$description_bind": "#keyboard_right_trigger_description", + "$keyboard_character": "]" + }, + + // D-Pad + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_icon_dpad@gamepad_helper_icon_image": { + "texture": "textures/ui/gamepad_icon_dpad", + "size": [ 21, 21 ] + }, + + "gamepad_helper_dpad@gamepad_helper": { + "$icon_description_bind": "#button_dpad_description", + "$icon_image_ref": "icon@common.gamepad_icon_dpad" + }, + + // D-Pad - Directional + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_helper_dpad_down@gamepad_helper": { + "$icon_texture": "#controller_dpad_down_icon", + "$icon_description_bind": "#button_dpad_down_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_dpad_left@gamepad_helper": { + "$icon_texture": "#controller_dpad_left_icon", + "$icon_description_bind": "#button_dpad_left_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_dpad_right@gamepad_helper": { + "$icon_texture": "#controller_dpad_right_icon", + "$icon_description_bind": "#button_dpad_right_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_dpad_up@gamepad_helper": { + "$icon_texture": "#controller_dpad_up_icon", + "$icon_description_bind": "#button_dpad_up_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + // Thumbstick + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_icon_thumbstick@gamepad_helper_icon_image": { + "$icon_texture": "textures/ui/gamepad_icon_thumbstick", + "size": [ 12, 9 ] + }, + + "gamepad_helper_thumbstick@gamepad_helper": { + "$icon_description_bind": "#button_thumbstick_description", + "$icon_image_ref": "icon@common.gamepad_icon_thumbstick" + }, + + // Thumbstick Buttons + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_helper_thumbstick_right@gamepad_helper": { + "$icon_texture": "#controller_right_stick_icon", + "$icon_description_bind": "#button_thumbstick_right_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_thumbstick_left@gamepad_helper": { + "$icon_texture": "#controller_left_stick_icon", + "$icon_description_bind": "#button_thumbstick_left_description", + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + // Bumpers + ///////////////////////////////////////////////////////////////////////////// + + "gamepad_helper_left_bumper@gamepad_helper": { + "$icon_texture": "#controller_left_bumper_icon", + "$icon_description_bind": "#controller_left_bumper_description", + "$gamepad_description_offset": [ 2, 0 ], + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + "gamepad_helper_right_bumper@gamepad_helper": { + "$icon_texture": "#controller_right_bumper_icon", + "$icon_description_bind": "#controller_right_bumper_description", + "$gamepad_description_offset": [ 2, 0 ], + "$icon_image_ref": "icon@common.gamepad_icon_button" + }, + + //--------------------------------------------------------------------------- + // Common inventory + //--------------------------------------------------------------------------- + + "dialog_background_common": { + "type": "image", + "texture": "textures/ui/dialog_background_hollow_4", + "layer": 1 + }, + + "dialog_background_hollow_common@dialog_background_common": { + "layer": 2, + "$fill_alpha|default": 0.8, + "$dialog_background_texture|default": "textures/ui/control", + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "controls": [ + { + "control": { + "type": "image", + "texture": "$dialog_background_texture", + "layer": -1, + "size": [ "100% - 8px", "100% - 8px" ], + "alpha": "$fill_alpha" + } + } + ] + }, + + "dialog_background_opaque@dialog_background_common": { + "texture": "textures/ui/dialog_background_opaque" + }, + + // Title area has space for text + // Area under hollow available for controls + "dialog_background_hollow_1@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_1" + }, + + // Title area has space for text + // Area under hollow available for buttons + "dialog_background_hollow_2@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_2" + }, + + // Title area has space for text + // No other area available besides hollow area + "dialog_background_hollow_3@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_3" + }, + + // No area available besides hollow area + // Good for tabbed content areas + "dialog_background_hollow_4@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_4" + }, + "dialog_background_hollow_4_thin@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_4_thin" + }, + + // Title area has space for text (smaller than hollow 2) + // Area under hollow available for buttons + "dialog_background_hollow_5@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_5" + }, + + // Title area has space for text + // Area under hollow available for controls (larger than hollow 1) + "dialog_background_hollow_6@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_6" + }, + + // Title area has space for controls + // No other area available besides hollow area + "dialog_background_hollow_7@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_7" + }, + + // Title Area has no space for controls + // small icon button area in bottom right corner, size of icon button area does not change with scaling + "dialog_background_hollow_8@dialog_background_hollow_common": { + "texture": "textures/ui/dialog_background_hollow_8" + }, + + "dialog_divider": { + "type": "image", + "texture": "textures/ui/dialog_divider", + "layer": 1 + }, + + "normal_button": { + "type": "image", + "texture": "textures/ui/NormalButtonNoStroke", + "layer": 1 + }, + + "normal_stroke_button": { + "type": "image", + "texture": "textures/ui/NormalButtonStroke", + "layer": 1 + }, + + "section_heading_label": { + "type": "label", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "color": "$title_text_color" + }, + + "section_divider": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$top_padding_size|default": [ "100%", 2 ], + "$bottom_padding_size|default": [ "100%", 2 ], + "$divider_size|default": [ "100% - 10px", 1 ], + "controls": [ + { + "padding1": { + "type": "panel", + "size": "$top_padding_size" + } + }, + { + "divider_parent": { + "type": "panel", + "size": [ "100%", 1 ], + "controls": [ + { + "divider": { + "type": "image", + "texture": "textures/ui/divider2", + "alpha": 0.2, + "size": "$divider_size", + "layer": 1 + } + } + ] + } + }, + { + "padding2": { + "type": "panel", + "size": "$bottom_padding_size" + } + } + ] + }, + + "minecraftTenLabel": { + "type": "label", + "font_type": "MinecraftTen", + "backup_font_type": "UIFont", + "color": "$generic_button_text_color", // We have to specify a color for unit tests - expect to override this when used. + + "variables": [ + { + "requires": "(not $is_low_memory_device)", // We don't load MinecraftTen in these cases so we need to revert to Mojangles. + "font_scale_factor": 1.39, + "offset": [ 0, -2 ] // Because of how the font is rendered it looks like it is offset down from the center of the render area + } + ] + }, + + "close_button_image": { + "type": "image", + "layer": 1, + "texture": "$close_button_texture" + }, + + "close_button_panel": { + "type": "panel", + "layer": 1, + "size": "$close_button_panel_size", + "$button_alpha|default": 1, + "controls": [ + { + "close_button_image@close_button_image": { + "alpha": "$button_alpha" + } + } + ] + }, + + "close_button": { + "type": "button", + "size": [ 21, 21 ], + "layer": 10, + "anchor_from": "top_right", + "anchor_to": "top_right", + "$close_button_offset|default": [ -2, 2 ], + "offset": "$close_button_offset", + "locked_control": "", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "$close_button_panel_size|default": [ 15, 15 ], + "$close_button_to_button_id|default": "button.menu_exit", + "$default_button_alpha|default": 1, + "$default_hover_alpha|default": 1, + "$default_pressed_alpha|default": 1, + "$close_button_visible_binding_name|default": "#close_button_visible", + "$close_button_visible_binding_type|default": "none", + "$close_button_default_texture|default": "textures/ui/close_button_default", + "$button_tts_name|default": "", + "$button_tts_header|default": "accessibility.button.close", + "$tts_section_header|default": "", + + "tts_name": "$button_tts_name", + "tts_control_header": "$button_tts_header", + "tts_section_header": "$tts_section_header", + + "bindings": [ + { + "binding_type": "$close_button_visible_binding_type", + "binding_name": "$close_button_visible_binding_name", + "binding_name_override": "#visible" + }, + { + "binding_name": "#tts_enabled", + "binding_name_override": "#focus_enabled" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$close_button_to_button_id", + "mapping_type": "focused" + } + ], + "controls": [ + { + "default@common.close_button_panel": { + "$close_button_texture": "$close_button_default_texture", + "$button_alpha": "$default_button_alpha" + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_hover" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_pressed" + } + } + ] + }, + + "close_button_grey_bg@close_button": { + "controls": [ + { + "default@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_default", + "$button_alpha": "$default_button_alpha" + + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_hover_light" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_pressed_light" + } + } + ] + }, + + "close_button_high_contrast@close_button": { + "controls": [ + { + "background": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/Black" + } + }, + { + "default@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_default_light", + "$button_alpha": "$default_button_alpha" + + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_hover_light" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_pressed_light" + } + } + ] + }, + + "compact_close_button@close_button": { + "size": [ 21, 13 ], + "$close_button_panel_size|default": [ 15, 7 ], + "controls": [ + { + "default@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_default_compact" + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_hover_compact" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_pressed_compact" + } + } + ] + }, + + "light_close_button@close_button": { + "controls": [ + { + "default@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_default_light" + } + }, + { + "hover@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_hover_light" + } + }, + { + "pressed@common.close_button_panel": { + "$close_button_texture": "textures/ui/close_button_pressed_light" + } + } + ] + }, + + "help_button@common.button": { + "size": [ 15, 15 ], + "layer": 1, + + "$default_texture|default": "textures/ui/how_to_play_button_default_light", + "$hover_texture|default": "textures/ui/how_to_play_button_hover_light", + "$pressed_texture|default": "textures/ui/how_to_play_button_pressed_light", + + "$pressed_button_name": "button.help", + + "controls": [ + { + "default": { + "type": "image", + "texture": "$default_texture" + } + }, + { + "hover": { + "type": "image", + "texture": "$hover_texture" + } + }, + { + "pressed": { + "type": "image", + "texture": "$pressed_texture" + } + } + ] + }, + + "cell_image": { + "type": "image", + "texture": "textures/ui/cell_image", + "layer": 1 + }, + + "cell_image_selected": { + "type": "image", + "texture": "textures/ui/recipe_book_touch_cell_selected", + "layer": 1 + }, + + "cell_image_panel": { + "type": "panel", + "controls": [ + { + "cell_image@common.cell_image": { + "$cell_selected_binding_name|default": "#is_selected_slot", + "visible": true, + "bindings": [ + { + "binding_name": "(not $cell_selected_binding_name)", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + }, + { + "cell_image_selected@common.cell_image_selected": { + "$cell_selected_binding_name|default": "#is_selected_slot", + "visible": false, + "bindings": [ + { + "binding_name": "$cell_selected_binding_name", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + }, + + "cell_overlay": { + "ignored": true + }, + + "highlight_slot": { + "type": "image", + "texture": "textures/ui/highlight_slot", + "size": [ "100% - 2px", "100% - 2px" ], + "alpha": 0.8 + }, + + "white_border_slot": { + "type": "image", + "texture": "textures/ui/focus_border_white", + "size": [ "100%", "100%" ] + }, + + "progressive_select_progress_bar": { + "type": "panel", + "size": [ 80, 26 ], + "bindings": [ + { + "binding_name": "$visibility_binding_name", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "stack_progress_bar_down": { + "type": "image", + "texture": "$texture_to_use", + "controls": [ + { + "progressive_select_progress_bar": { + "type": "image", + "layer": 1, + "texture": "textures/ui/stack_progress_bar_fill", + "size": [ 64, 10 ], + "offset": "$fill_bar_offset", + "clip_direction": "left", + "clip_pixelperfect": false, + "bindings": [ + { + "binding_name": "#progressive_select_bar_ratio", + "binding_name_override": "#clip_ratio", + "binding_condition": "always_when_visible" + + } + ] + } + }, + { + "progressive_select_text": { + "type": "label", + "text": "#progressive_select_text", + "offset": "$fill_bar_offset", + "layer": 2, + "color": "$item_stack_count_color", + "bindings": [ + { + "binding_name": "#progressive_select_text", + "binding_condition": "always_when_visible" + } + ] + } + } + ] + } + } + ] + }, + + "stack_splitting_overlay": { + "type": "panel", + "controls": [ + { + "classic_stack_splitting_overlay": { + "type": "panel", + "controls": [ + { + "stack_splitting_bar@inventory_hold_icon_holding": { + "size": [ 18, 18 ] + } + } + ], + "bindings": [ + { + "binding_name": "#classic_stack_splitting_overlay_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pocket_stack_splitting_overlay": { + "type": "panel", + "controls": [ + { + "stack_splitting_bar@inventory_hold_icon_holding": { + "size": [ 28, 28 ] + } + } + ], + "bindings": [ + { + "binding_name": "#pocket_stack_splitting_overlay_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "inventory_hold_icon_holding": { + "type": "panel", + "layer": 70, + "size": [ 0, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "use_anchored_offset": true, + "property_bag": { + "#anchored_offset_value_x": 0.0, + "#anchored_offset_value_y": 0.0 + }, + "controls": [ + { + "progressive_down@progressive_select_progress_bar": { + "anchor_from": "bottom_middle", + "anchor_to": "top_middle", + "offset": [ 0, 4 ], + "$visibility_binding_name": "#progressive_select_down_visible", + "$texture_to_use": "textures/ui/stack_progress_bar_down_arrow", + "$fill_bar_offset": [ 0, 0.5 ] + } + }, + { + "progressive_up@progressive_select_progress_bar": { + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -7 ], + "$visibility_binding_name": "#progressive_select_up_visible", + "$texture_to_use": "textures/ui/stack_progress_bar_up_arrow", + "$fill_bar_offset": [ 0, -0.5 ] + } + }, + { + "progressive_left_side@progressive_select_progress_bar": { + "anchor_from": "left_middle", + "anchor_to": "right_middle", + "offset": [ -4, 0 ], + "$visibility_binding_name": "#progressive_select_left_side_visible", + "$texture_to_use": "textures/ui/stack_progress_bar_left_side_arrow", + "$fill_bar_offset": [ 0, -0.5 ] + } + }, + { + "progressive_right_side@progressive_select_progress_bar": { + "anchor_from": "right_middle", + "anchor_to": "left_middle", + "offset": [ 4, 0 ], + "$visibility_binding_name": "#progressive_select_right_side_visible", + "$texture_to_use": "textures/ui/stack_progress_bar_right_side_arrow", + "$fill_bar_offset": [ 0, -0.5 ] + } + } + ], + "bindings": [ + { + "binding_name": "#stack_splitting_bar_offset_x", + "binding_name_override": "#anchored_offset_value_x" + }, + { + "binding_name": "#stack_splitting_bar_offset_y", + "binding_name_override": "#anchored_offset_value_y" + }, + { + "binding_name": "#stack_splitting_bar_visible", + "binding_name_override": "#visible" + } + ] + }, + + "inventory_hold_icon_release": { + "type": "custom", + "renderer": "progress_bar_renderer", + "variables": [ + { + "requires": "$desktop_screen", + "$bar_offset": [ 0, -7 ] + }, + { + "requires": "$pocket_screen", + "$bar_offset": [ 0, -12 ] + }, + { + "requires": "$desktop_screen", + "$bar_size": [ 15, 3 ] + }, + { + "requires": "$pocket_screen", + "$bar_size": [ 25, 2 ] + } + ], + "layer": 70, + "offset": "$bar_offset", + "size": "$bar_size", + "bindings": [ + { + "binding_name": "#touch_progress_bar_visible", + "binding_condition": "always" + }, + { + "binding_name": "#progress_bar_total_amount", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#progress_bar_current_amount", + "binding_condition": "always_when_visible" + } + ] + }, + + "highlight_slot_panel": { + "type": "panel", + "controls": [ + { + "highlight@common.highlight_slot": { + "controls": [ + { + "hover_text@common.hover_text": { + "layer": 29, + "$hover_text_binding_name|default": "#hover_text", + "bindings": [ + { + "binding_name": "$hover_text_binding_name", + "binding_name_override": "#hover_text", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#show_persistent_bundle_hover_text", + "binding_name_override": "#visible" + } + ] + } + }, + { + "white_border@common.white_border_slot": { + "bindings": [ + { + "binding_name": "#show_persistent_bundle_hover_text", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "pocket_ui_highlight_slot": { + "type": "image", + "texture": "textures/ui/pocket_ui_highlight_slot", + "layer": 1, + "size": [ "100%+2px", "100%+2px" ], + "anchor_from": "center", + "anchor_to": "center" + }, + + "hover_text": { + "$hover_text_max_width|default": 0, // A value greater than zero will result in line breaks being added to limit width + "type": "custom", + "renderer": "hover_text_renderer", + "hover_text_max_width": "$hover_text_max_width", + "layer": 5, + "allow_clipping": false + }, + + "screen_background": { + "type": "image", + "texture": "textures/ui/screen_background", + "layer": -10, + "ignored": "$is_holographic", + "$screen_background_alpha|default": 0.75, + "alpha": "$screen_background_alpha" + }, + + "stack_count_label": { + "ignored": "(not $stack_count_required)", + "type": "label", + "color": "$item_stack_count_color", + "offset": [ 0, 1 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "layer": 7, + "shadow": true, + "$stack_count_binding_name|default": "#inventory_stack_count", + "$stack_count_binding_condition|default": "none", + "text": "$stack_count_binding_name", + "bindings": [ + { + "binding_name": "$stack_count_binding_name", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$stack_count_binding_condition" + } + ] + }, + + "durability_bar": { + "ignored": "(not $durability_bar_required)", + "type": "custom", + "renderer": "progress_bar_renderer", + "layer": 10, + "$durability_bar_size|default": [ 12, 1 ], + "$durability_bar_offset|default": [ 0, 5 ], + "offset": "$durability_bar_offset", + "size": "$durability_bar_size", + "property_bag": { + "drop_shadow": true, + "is_durability": true, + "round_value": true + }, + "bindings": [ + { + "binding_name": "#item_durability_visible", + "binding_name_override": "#touch_progress_bar_visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_durability_total_amount", + "binding_name_override": "#progress_bar_total_amount", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_durability_current_amount", + "binding_name_override": "#progress_bar_current_amount", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "durability_bar_grabbed@durability_bar": { + "layer": 61, + "offset": [ "-5%", 5 ], + "size": [ "100%", 1 ], + "bindings": [ + { + "binding_name": "#selected_item_durability_visible", + "binding_name_override": "#touch_progress_bar_visible", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#selected_item_durability_total_amount", + "binding_name_override": "#progress_bar_total_amount", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#selected_item_durability_current_amount", + "binding_name_override": "#progress_bar_current_amount", + "binding_condition": "always_when_visible" + } + ] + }, + + "storage_bar": { + "ignored": "(not $storage_bar_required)", + "type": "custom", + "renderer": "progress_bar_renderer", + "layer": 10, + "$durability_bar_size|default": [ 12, 1 ], + "$durability_bar_offset|default": [ 0, 5 ], + "offset": "$durability_bar_offset", + "size": "$durability_bar_size", + "primary_color": [ 0.4, 0.4, 1.0, 1.0 ], + "full_storage_color": [ 1.0, 0.4, 0.4 ], + "property_bag": { + "drop_shadow": true, + "is_storage_bar": true + }, + "bindings": [ + { + "binding_name": "#item_storage_visible", + "binding_name_override": "#progress_bar_visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_storage_total_amount", + "binding_name_override": "#progress_bar_total_amount", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_storage_current_amount", + "binding_name_override": "#progress_bar_current_amount", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "storage_bar_grabbed@storage_bar": { + "layer": 61, + "offset": [ "-10%", 4.5 ], + "size": [ "100%", 1 ], + "bindings": [ + { + "binding_name": "#selected_item_storage_visible", + "binding_name_override": "#progress_bar_visible", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#selected_item_storage_total_amount", + "binding_name_override": "#progress_bar_total_amount", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#selected_item_storage_current_amount", + "binding_name_override": "#progress_bar_current_amount", + "binding_condition": "always_when_visible" + } + ] + }, + + "item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "layer": 5, + "$item_renderer_binding_condition|default": "visible", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_renderer_data", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$item_renderer_binding_condition" + }, + { + "binding_name": "#inactive_item", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_name_override": "#disabled_filter_visible", + "binding_condition": "$item_renderer_binding_condition" + }, + { + "binding_name": "#group_item_group_name", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#fade_in_icon_time_seconds", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "filtered_item_renderer": { + "type": "custom", + "renderer": "inventory_item_renderer", + "layer": 5, + "$item_renderer_binding_condition|default": "none", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_id_aux", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#charged_item", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_custom_color", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#disabled_filter_visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_pickup_time", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name", + "binding_condition": "$item_renderer_binding_condition" + }, + { + "binding_name": "#armor_trim_material", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#banner_patterns", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#shield_base_color_hovered", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#banner_colors", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#banner_type", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#decorated_pot_sherds", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + }, + { + "binding_name": "#item_lodestone_tracking_handle", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "flying_item_renderer": { + "type": "custom", + "renderer": "flying_item_renderer", + "layer": 40, + "property_bag": { + "#flying_item_renderer": true + } + }, + + "anim_item_details_alpha": { + "anim_type": "alpha", + "easing": "in_quint", + "destroy_at_end": "selected_item_details", + "duration": 2, + "from": 1.0, + "to": 0 + }, + + "selected_item_details": { + "type": "panel", + "anchor_to": "bottom_middle", + "anchor_from": "bottom_middle", + "size": [ "100%c", "100%c" ], + "offset": "$offset", + "layer": 30, + + "$offset|default": [ 0, "-16px" ], + "$alpha_anim|default": "@common.anim_item_details_alpha", + + "controls": [ + { + "item_panel_image@common.item_panel_image": {} + } + ], + "bindings": [ + { + "binding_name": "#recipe_details_label", + "binding_name_override": "#visible" + } + ] + }, + + "item_panel_image": { + "type": "image", + "size": [ "100%c + 8px", "100%c + 8px" ], + "layer": 30, + "visible": "#visible", + "alpha": "$alpha_anim", + "texture": "textures/ui/purpleBorder", + + "controls": [ + { + "item_text_label@common.item_text_label": {} + } + ] + }, + + "item_text_label": { + "type": "label", + "layer": 1, + "alpha": "$alpha_anim", + "text": "#selected_hover_text", + "color": "$item_hover_text_color", + // Hover texts get formatted and localized before they make it to the UI. + // Localizing them twice risks breaking the formatted text. + "localize": false, + // Disable profanity filter for this control so that + // we can enable it on the fly only for items with custom names + "enable_profanity_filter": false + }, + + "selected_item_details_factory": { + "type": "factory", + "control_name": "@common.selected_item_details" + }, + + "anim_details_bubble_alpha": { + "anim_type": "alpha", + "easing": "in_quint", + "destroy_at_end": "details_bubble_control", + "duration": 2, + "from": 1.0, + "to": 0 + }, + + "anim_item_lock_notification_background_alpha": { + "anim_type": "alpha", + "easing": "in_quint", + "destroy_at_end": "selected_item_details", + "duration": 2, + "from": 0.6, + "to": 0 + }, + + "anim_item_lock_notification_text_alpha": { + "anim_type": "alpha", + "easing": "in_quint", + "destroy_at_end": "selected_item_details", + "duration": 2, + "from": 1.0, + "to": 0 + }, + + "item_lock_notification": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "layer": 30, + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "offset": "$offset", + + "$offset|default": [ 0, "6%" ], + "$alpha_anim_background|default": "@common.anim_item_lock_notification_background_alpha", + "$alpha_anim_text|default": "@common.anim_item_lock_notification_text_alpha", + + "controls": [ + { + "notification_background_image": { + "type": "image", + "size": [ "100%c + 12px", "100%c + 5px" ], + "layer": 30, + + "alpha": "$alpha_anim_background", + "texture": "textures/ui/hud_tip_text_background", + + "controls": [ + { + "notification_text_label": { + "type": "label", + "layer": 1, + "alpha": "$alpha_anim_text", + "text": "#notification_text", + "color": "$item_lock_notification_text_color" + } + } + ] + } + } + ] + }, + + "item_lock_notification_factory": { + "type": "factory", + "control_name": "@common.item_lock_notification" + }, + + //--------------------------------------------------------------------------- + // Scroll + //--------------------------------------------------------------------------- + + + "empty_panel_size_y_0": { + "type": "panel", + "size": [ "100%", 0 ] + }, + + "scroll_background_and_viewport": { + "type": "panel", + "size": "$view_port_size", + "anchor_from": "top_left", + "anchor_to": "top_left", + "clips_children": true, + + "controls": [ + { + "background@$scroll_background_image_control": { + "visible": "$show_background", + "anchor_to": "top_left", + "anchor_from": "top_left", + "offset": "$background_offset", + "size": "$background_size" + } + }, + { + "scrolling_view_port": { + "layer": 1, + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": "$scroll_view_port_offset", + "size": "$scroll_view_port_size", + "max_size": "$scroll_view_port_max_size", + + "$scroll_view_port_clips_children|default": true, + "clips_children": "$scroll_view_port_clips_children", + + "controls": [ + { + "scrolling_content@$scrolling_content": { + + "layer": 1, + "$scrolling_content_anchor_from|default": "top_left", + "$scrolling_content_anchor_to|default": "top_left", + "anchor_from": "$scrolling_content_anchor_from", + "anchor_to": "$scrolling_content_anchor_to" + } + } + ] + } + } + ] + }, + + "scroll_bar_and_track": { + "type": "panel", + "$scroll_bar_and_track_size|default": [ "100%c", "100%" ], + "size": "$scroll_bar_and_track_size", + "clips_children": true, + "anchor_from": "right_middle", + "anchor_to": "right_middle", + + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "default", "100%" ], + "controls": [ + { + "empty_panel_0@common.empty_panel": { + "ignored": "$scroll_bar_contained", + "size": "$scroll_bar_left_padding_size" + } + }, + { + "panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + + "controls": [ + { + "centered_panel": { + "type": "panel", + "size": "$scroll_size", + "$scroll_track_anchor|default": "center", + "anchor_from": "$scroll_track_anchor", + "anchor_to": "$scroll_track_anchor", + "$scroll_track_offset|default": [ 0, 0 ], + "offset": "$scroll_track_offset", + "controls": [ + { + "track@common.scrollbar_track": { + "layer": 2, + "anchor_from": "center", + "anchor_to": "center" + } + }, + { + "scroll_box@common.scroll_box": { + "layer": 5, + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + } + ] + } + }, + { + "empty_panel_1@common.empty_panel": { + "size": "$scroll_bar_right_padding_size" + } + } + ] + } + } + ] + }, + + "scroll_view_control": { + "type": "scroll_view", + "size": "$scroll_view_control_size", + + "$scroll_view_control_anchor|default": "center", + "anchor_to": "$scroll_view_control_anchor", + "anchor_from": "$scroll_view_control_anchor", + + "scroll_speed": 15, + "scrollbar_track_button": "button.scrollbar_skip_track", + "scrollbar_touch_button": "button.scrollbar_touch", + "touch_mode": "$use_touch_mode", + "always_listen_to_input": true, + "always_handle_pointer": true, + + "$always_handle_scrolling|default": false, + "always_handle_scrolling": "$always_handle_scrolling", + + "$scrollbar_always_visible|default": false, + "scrollbar_always_visible": "$scrollbar_always_visible", + + "scrollbar_track": "track", + "scrollbar_box": "box", + "scroll_content": "scrolling_content", + "scroll_view_port": "scrolling_view_port", + "scroll_box_and_track_panel": "bar_and_track", + + "$jump_to_bottom_on_update|default": false, + "jump_to_bottom_on_update": "$jump_to_bottom_on_update", + + "$scroll_background_image_control|default": "common.scroll_indent_image", + "$scroll_track_image_control|default": "common.scroll_indent_image", + + "$focus_for_tts_enabled": "#focus_for_tts_enabled_binding", + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.scrollbar_touch", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + + "bindings": [ + { + "binding_name": "#gesture_control_enabled" + }, + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#focus_for_tts_enabled_binding" + } + ], + + "controls": [ + { + "stack_panel": { + "ignored": "$scroll_bar_contained", + "type": "stack_panel", + "orientation": "horizontal", + + "anchor_to": "top_left", + "anchor_from": "top_left", + "$scroll_view_stack_panel_size|default": [ "100%", "100%" ], + "size": "$scroll_view_stack_panel_size", + "controls": [ + { "background_and_viewport@common.scroll_background_and_viewport": {} }, + { "bar_and_track@common.scroll_bar_and_track": {} } + ] + } + }, + { + "panel": { + "ignored": "(not $scroll_bar_contained)", + "type": "panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "$view_port_size|default": [ "100%", "100%" ], + "$scroll_view_port_panel_size|default": [ "100%", "100%" ], + "size": "$scroll_view_port_panel_size", + "controls": [ + { "background_and_viewport@common.scroll_background_and_viewport": {} }, + { "bar_and_track@common.scroll_bar_and_track": {} } + ] + } + } + ] + }, + + "scrollbar_track": { + "type": "scroll_track", + "$focus_for_tts_enabled|default": true, + "focus_enabled": "$focus_for_tts_enabled", + "$scrollbar_tts_name|default": "accessibility.scrollbar.tts.title", + "tts_name": "$scrollbar_tts_name", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.scrollbar_skip_track", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "bar_indent@$scroll_track_image_control": { + "visible": "$scroll_box_visible" + } + } + ] + }, + + "scroll_box": { + "type": "panel", + "controls": [ + { + "box": { + "type": "scrollbar_box", + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 1, + "visible": "$scroll_box_visible", + "contained": true, + "draggable": "vertical", + + "$scroll_box_mouse_image_control|default": "common.scrollbar_box_image", + "$scroll_box_touch_image_control|default": "common.touch_scrollbar_box_image", + + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed", + "button_up_right_of_first_refusal": true + } + ], + "controls": [ + { + "mouse_box@$scroll_box_mouse_image_control": { + "ignored": "$touch" + } + }, + { + "touch_box@$scroll_box_touch_image_control": { + "size": "$scroll_box_size", + "ignored": "(not $touch)" + } + } + ] + } + } + ] + + }, + + "scroll_box_indent": { + "type": "image", + "texture": "textures/ui/ScrollRail", + "layer": 1 + }, + + "scrollbar_box_image": { + "type": "image", + "texture": "textures/ui/ScrollHandle", + "size": [ 5, "100%" ], + "layer": 4 + }, + + "anim_scrollbar_box_fadeout": { + "anim_type": "alpha", + "play_event": "scrollbar.released", + "reset_event": "scrollbar.active", + "easing": "in_sine", + "duration": 1.5, + "from": 1, + "to": 0, + "next": "@common.anim_scrollbar_box_fadeout" + }, + + "touch_scrollbar_box_image": { + "type": "image", + "texture": "textures/ui/touchScrollBox", + "layer": 3, + "alpha": "@common.anim_scrollbar_box_fadeout" + }, + + "new_touch_scrollbar_box_image": { + "type": "image", + "texture": "textures/ui/newTouchScrollBox", + "layer": 3, + "alpha": "@common.anim_scrollbar_box_fadeout" + }, + + "container_touch_scrollbar_box_image": { + "type": "image", + "texture": "textures/ui/newTouchScrollBox", + "layer": 3, + "offset": [ -3, 0 ], + "alpha": "@common.anim_scrollbar_box_fadeout" + }, + + "scroll_indent_image": { + "type": "image", + "texture": "textures/ui/ScrollRail", + "size": [ 3, "100%" ], + "layer": 3 + }, + + "scrolling_panel_base": { + "type": "input_panel", + "anchor_to": "top_left", + "anchor_from": "top_left", + "$scroll_panel_consume_hover_events|default": true, + "consume_hover_events": "$scroll_panel_consume_hover_events", + "$scroll_view_name|default": "scroll_view", + "$allow_scroll_even_when_content_fits|default": true, + "controls": [ + { + "$scroll_view_name@common.scroll_view_control": { + "allow_scroll_even_when_content_fits": "$allow_scroll_even_when_content_fits" + } + } + ], + "$scrolling_panel_base_button_mappings|default": [], + "button_mappings": "$scrolling_panel_base_button_mappings", + "tts_ignore_count": true + }, + + "scrolling_panel": { + "type": "panel", + // Size and offset of the area within this control that contains the visible + // scrolling content area and scroll box/track + "$scrolling_pane_size|default": [ "100%", "100%" ], + "$scrolling_pane_size_touch|default": [ "100%", "100%" ], + "$scrolling_pane_offset|default": [ 0, 0 ], + + "$scroll_view_control_size|default": [ "100%", "100%" ], + + // Sizes and offsets of the background behind the scrolling content, the + // viewport containing the scrolling content, the scroll track, and the area + // in which the scroll box is drawn. + "$background_size|default": [ "100%", "100%" ], + "$background_offset|default": [ 0, 0 ], + "$scroll_view_port_size|default": [ "100%", "100%" ], + "$scroll_view_port_max_size|default": [ "100%", "100%" ], + "$scroll_view_port_offset|default": [ 0, 0 ], + "$scroll_bar_left_padding_size|default": [ 2, 0 ], + "$scroll_bar_right_padding_size|default": [ 2, 0 ], + "$view_port_size|default": [ "fill", "100%" ], + "$scroll_bar_contained|default": false, + "$scroll_size|default": [ 4, "100%" ], + "$scroll_box_size|default": [ "100%", "100%" ], + + // The touch version of the scroll track and bar are narrower by default, + // but these overrides can themselves be overridden. + "$background_size_touch|default": [ "100%", "100%" ], + "$background_offset_touch|default": [ 0, 0 ], + "$scroll_view_port_size_touch|default": [ "100%", "100%" ], + "$scroll_view_port_max_size_touch|default": [ "100%", "100%" ], + "$scroll_view_port_offset_touch|default": [ 0, 0 ], + "$scroll_bar_left_padding_size_touch|default": [ 0, 0 ], + "$scroll_bar_right_padding_size_touch|default": [ 0, 0 ], + "$view_port_size_touch|default": [ "100%", "100%" ], + "$scroll_bar_contained_touch|default": true, + "$scroll_size_touch|default": [ 4, "100%" ], + "$wider_scroll_area|default": false, + + "$allow_scrolling_even_when_content_fits|default": true, + + // The images used for the background, scroll track, and scroll box (for + // mouse and for touch) can be overridden by specifying + // $scroll_background_image_control, $scroll_track_image_control, + // $scroll_box_mouse_image_control, and $scroll_box_touch_image_control. + + // The content you want inside the scrolling viewport must be specified + // by defining $scrolling_content. + + "$scroll_box_visible|default": true, + "$scroll_box_visible_touch|default": false, + "$use_touch_mode|default": false, + "$show_background|default": true, + "controls": [ + { + "scroll_touch@common.scrolling_panel_base": { + "ignored": "(not $touch)", + "variables": [ + { + "requires": "$wider_scroll_area", + "$pane_size_touch": "$scrolling_pane_size_touch" + }, + { + "requires": "(not $wider_scroll_area)", + "$pane_size_touch": "$scrolling_pane_size" + } + ], + "size": "$pane_size_touch", + "offset": "$scrolling_pane_offset", + "$scroll_bar_contained": "$scroll_bar_contained_touch", + "$use_touch_mode": true, + "$scroll_box_visible": "$scroll_box_visible_touch", + "$background_size": "$background_size_touch", + "$background_offset": "$background_offset_touch", + "$scroll_view_port_size": "$scroll_view_port_size_touch", + "$scroll_view_port_max_size": "$scroll_view_port_max_size_touch", + "$scroll_view_port_offset": "$scroll_view_port_offset_touch", + "$scroll_track_image_control": "common.empty_panel", + "$scroll_bar_left_padding_size": "$scroll_bar_left_padding_size_touch", + "$scroll_bar_right_padding_size": "$scroll_bar_right_padding_size_touch", + "$view_port_size": "$view_port_size_touch", + "$scroll_size": "$scroll_size_touch", + "$allow_scroll_even_when_content_fits": "$allow_scrolling_even_when_content_fits" + } + }, + { + "scroll_mouse@common.scrolling_panel_base": { + "ignored": "$touch", + "size": "$scrolling_pane_size", + "offset": "$scrolling_pane_offset" + } + } + ] + }, + + "scrolling_panel_with_offset@common.scrolling_panel": { + "$scroll_view_port_size|default": [ "100% - 8px", "100% -2px" ], + "$scroll_view_port_offset|default": [ 1, 1 ], + "$scroll_view_port_size_touch|default": [ "100% - 4px", "100% - 2px" ], + "$scroll_view_port_offset_touch|default": [ 1, 1 ] + }, + + //--------------------------------------------------------------------------- + // Inventory Item + //--------------------------------------------------------------------------- + + "container_slot_button_prototype": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + + "$focus_id_binding_type|default": "collection", + "$focus_override_down_binding_type|default": "collection", + "$focus_override_up_binding_type|default": "collection", + "$focus_override_left_binding_type|default": "collection", + "$focus_override_right_binding_type|default": "collection", + + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + "focus_wrap_enabled": false, + "focus_magnet_enabled": true, + "$highlight_control|default": "common.highlight_slot_panel", + + "default_focus_precedence": 1, + "hover_control": "hover", + "layer": 1, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$item_collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_id_binding_type", + "binding_name": "#focus_identifier", + "binding_name_override": "#focus_identifier", + "binding_collection_name": "$item_collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_down_binding_type", + "binding_name": "#focus_change_down", + "binding_name_override": "#focus_change_down", + "binding_collection_name": "$item_collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_up_binding_type", + "binding_name": "#focus_change_up", + "binding_name_override": "#focus_change_up", + "binding_collection_name": "$item_collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_left_binding_type", + "binding_name": "#focus_change_left", + "binding_name_override": "#focus_change_left", + "binding_collection_name": "$item_collection_name", + "binding_condition": "once" + }, + { + "binding_type": "$focus_override_right_binding_type", + "binding_name": "#focus_change_right", + "binding_name_override": "#focus_change_right", + "binding_collection_name": "$item_collection_name", + "binding_condition": "once" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.container_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.container_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.container_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.container_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.container_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.coalesce_stack", + "mapping_type": "double_pressed" + }, + { + "to_button_id": "button.shape_drawing", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover@$highlight_control": {} + } + ] + }, + + "no_coalesce_container_slot_button@common.container_slot_button_prototype": { + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.container_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.container_take_all_place_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.container_take_all_place_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.container_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.container_take_half_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_auto_place", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop", + "to_button_id": "button.drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_inventory_drop_all", + "to_button_id": "button.drop_all", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.shape_drawing", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + } + ] + }, + + "pocket_ui_container_slot": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + "focus_wrap_enabled": false, + "focus_magnet_enabled": true, + + "default_focus_precedence": 1, + "layer": 1, + "hover_control": "hover", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$item_collection_name" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.container_auto_place_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.container_auto_place_one", + "mapping_type": "pressed" + }, + { + "to_button_id": "button.container_slot_hovered", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_auto_place", + "mapping_type": "focused" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.controller_select", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover": { + "type": "panel", + + "controls": [ + { + "highlight_square@common.pocket_ui_highlight_slot": { + "visible": false, + "bindings": [ + { + "binding_name": "#show_hovered_selected_inventory_slot", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "slot_selected": { + "type": "image", + "texture": "textures/ui/pocket_ui_highlight_selected_slot", + "size": [ "100% + 5px", "100% + 5px" ], + "$slot_selected_binding_name|default": "#is_selected_slot", + "visible": false, + "layer": 20, + "bindings": [ + { + "binding_name": "$slot_selected_binding_name", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ], + "controls": [ + { + "progress_bar_release@common.inventory_hold_icon_release": { + "layer": 70 + } + } + ] + }, + + "container_item": { + "type": "input_panel", + "size": [ 18, 18 ], + "layer": 1, + "$cell_image_size|default": [ 18, 18 ], + "$cell_overlay_ref|default": "common.cell_overlay", + "$button_ref|default": "common.container_slot_button_prototype", + "$stack_count_required|default": true, + "$durability_bar_required|default": true, + "$storage_bar_required|default": true, + "$item_renderer|default": "common.item_renderer", + "$item_renderer_panel_size|default": [ 18, 18 ], + "$item_renderer_size|default": [ 16, 16 ], + "$item_renderer_offset|default": [ 0, 0 ], + "$background_images|default": "common.cell_image_panel", + "$background_image_control_name|default": "bg", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + "focus_wrap_enabled": false, + "focus_magnet_enabled": true, + "tts_ignore_count": true, + + "controls": [ + { + "item_cell": { + "type": "panel", + "size": "$cell_image_size", + "layer": 0, + "controls": [ + { + "$background_image_control_name@$background_images": { + "layer": 1 + } + }, + { + "item": { + "type": "panel", + "size": "$item_renderer_panel_size", + "layer": 0, + "controls": [ + { + "stack_count_label@common.stack_count_label": { + "layer": 27 + } + }, + { + "$item_renderer@$item_renderer": { + "size": "$item_renderer_size", + "offset": "$item_renderer_offset", + "anchor_to": "center", + "anchor_from": "center", + "layer": 7 + } + } + ] + } + }, + { + "durability_bar@common.durability_bar": { + "layer": 20 + } + }, + { + "storage_bar@common.storage_bar": { + "layer": 20 + } + } + ] + } + }, + { + "item_cell_overlay_ref@$cell_overlay_ref": { + "layer": 3 + } + }, + { + "item_selected_image@common.slot_selected": { + "layer": 4 + } + }, + { + "item_button_ref@$button_ref": { + "tts_ignore_count": true, + "tts_skip_message": true, + "tts_inherit_siblings": true, + "layer": 5 + } + }, + { + "container_item_lock_overlay@common.container_item_lock_overlay": { + "size": "$item_renderer_size", + "offset": [ 1, 1 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "layer": 6 + } + }, + { + "item_lock_cell_image@common.item_lock_cell_image": { + "layer": 2 + } + }, + { + "bundle_slot_panel@gameplay.bundle_slot_panel": { + "layer": 10 + } + } + ] + }, + + "pocket_ui_container_item@common.container_item": { + "size": [ 28, 28 ], + "$cell_image_size|default": [ 28, 28 ], + "$item_renderer_panel_size|default": [ 28, 28 ], + "$item_renderer_size|default": [ 24, 24 ], + "$durability_bar_size": [ 18, 1 ], + "$durability_bar_offset": [ 0, 8 ] + }, + + "pocket_ui_large_container_item@common.pocket_ui_container_item": { + "size": [ 32, 32 ], + "$cell_image_size|default": [ 32, 32 ] + }, + + "container_item_lock_yellow": { + "type": "image", + "texture": "textures/ui/item_lock_yellow" + }, + + "container_item_lock_red": { + "type": "image", + "texture": "textures/ui/item_lock_red" + }, + + "container_item_lock_overlay": { + "type": "panel", + "controls": [ + { + "container_item_lock_yellow@common.container_item_lock_yellow": { + "bindings": [ + { + "binding_name": "#item_lock_in_inventory", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + }, + { + "container_item_lock_red@common.container_item_lock_red": { + "bindings": [ + { + "binding_name": "#item_lock_in_slot", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + } + } + ] + }, + + "item_lock_cell_image": { + "type": "image", + "texture": "textures/ui/cell_image_lock", + "bindings": [ + { + "binding_name": "#item_lock", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + //--------------------------------------------------------------------------- + // Container Grid + //--------------------------------------------------------------------------- + + "container_grid": { + "type": "grid", + "grid_rescaling_type": "horizontal", + + "size": [ "100%", "default" ], + "anchor_to": "top_left", + "anchor_from": "top_left", + + "$item_collection_name|default": "inventory_items", + "$grid_item_template|default": "common.container_item", + + "collection_name": "$item_collection_name", + "grid_item_template": "$grid_item_template", + + "bindings": [ + { + "binding_name": "#collection_total_items", + "binding_name_override": "#maximum_grid_items", + "binding_condition": "visible", + "binding_type": "collection", + "binding_collection_name": "$item_collection_name" + } + ] + }, + + "pocket_container_grid@common.container_grid": { + "$grid_item_template": "common.pocket_ui_container_item" + }, + + //--------------------------------------------------------------------------- + // Container Scroll Panel + //--------------------------------------------------------------------------- + + "container_scroll_box_image": { + "type": "image", + "texture": "textures/ui/ScrollBox" + }, + + "container_scroll_bar_side_rails": { + "type": "image", + "layer": 1, + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "textures/ui/ScrollGutterWithBG" + }, + + "container_scrollbar_track": { + "type": "panel", + "layer": 1, + "anchor_to": "top_right", + "anchor_from": "top_right", + "controls": [ + { + "rails@common.container_scroll_bar_side_rails": { + "allow_clipping": false + } + } + ] + }, + + "container_scroll_background_image": { + "type": "image", + "layer": 2, + "texture": "textures/ui/recipe_book_pane_bg" + }, + + "container_scroll_panel@common.scrolling_panel_with_offset": { + "$scrolling_content|default": "common.container_grid", + + "$scrolling_pane_offset": [ 0, 0 ], + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_pane_size_touch": [ "100% + 10px", "100%" ], + "$scroll_size_touch": [ 18, "100%" ], + "$scroll_view_port_size": [ "100% - 2px", "100% - 2px" ], + "$scroll_view_port_size_touch": [ "100% - 18px", "100% - 2px" ], + "$scroll_view_port_offset": [ 1, 1 ], + "$scroll_view_port_offset_touch": [ 0, 1 ], + "$scroll_box_size": [ 4, "100%" ], + "$wider_scroll_area": true, + + "$scroll_bar_right_padding_size": [ 0, 0 ], + "$scroll_background_image_control": "common.container_scroll_background_image", + "$background_size_touch": [ "100% - 10px", "100%" ], + "$scroll_track_image_control": "common.container_scrollbar_track", + "$scroll_box_mouse_image_control": "common.container_scroll_box_image", + "$scroll_box_touch_image_control": "common.container_touch_scrollbar_box_image", + "$allow_scrolling_even_when_content_fits": false, + + "$scrolling_panel_base_button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + } + ] + }, + + //--------------------------------------------------------------------------- + // Selectable Slot + //--------------------------------------------------------------------------- + + "pocket_ui_highlight_selected_slot": { + "type": "image", + "texture": "textures/ui/pocket_ui_highlight_selected_slot", + "layer": 2, + "size": [ "100%+4px", "100%+4px" ], + "anchor_from": "center", + "anchor_to": "center" + }, + + //--------------------------------------------------------------------------- + // Pocket Hotbar + //--------------------------------------------------------------------------- + + "pocket_hotbar_panel": { + "type": "input_panel", + "size": [ 260, 36 ], + "controls": [ + { + "bg@common.common_panel": { + "$show_close_button": false + } + }, + { + "hotbar_grid@common.container_grid": { + "size": [ 252, 28 ], + "anchor_from": "center", + "anchor_to": "center", + "layer": 1, + + "$item_collection_name": "hotbar_items", + "grid_item_template": "common.pocket_ui_container_item" + } + } + ] + }, + + "drop_item_panel": { + "type": "input_panel", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + } + ] + }, + + //--------------------------------------------------------------------------- + // Pocket Layout + //--------------------------------------------------------------------------- + + "pocket_hotbar_and_content_panels": { + "type": "stack_panel", + "orientation": "vertical", + + "size": [ "100% - 4px", "100% - 2px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + + "controls": [ + { + "pocket_content_panels@common.pocket_content_panels": { + "size": [ "100%", "fill" ] + } + }, + { + "hotbar_drop_item_panel@common.drop_item_panel": { + "size": [ "100%", "100%c" ], + "controls": [ + { + "pocket_hotbar_panel@common.pocket_hotbar_panel": { + "anchor_from": "center", + "anchor_to": "center", + "layer": 1 + } + } + ] + } + } + ] + }, + + "blank_pocket_content_panel@common.common_panel": { + "size": [ "fill", "100%" ], + "$show_close_button": false + }, + + "pocket_content_panels": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + + "$middle_offset_visible|default": true, + "$left_panel_control|default": "common.blank_pocket_content_panel", + "$right_panel_control|default": "common.blank_pocket_content_panel", + + "controls": [ + { "left_panel@$left_panel_control": {} }, + { + "offset_panel@common.root_panel": { + "size": [ 4, "100%" ], + "visible": "$middle_offset_visible", + "controls": [ + { + "center_bg": { + "type": "image", + "texture": "textures/ui/recipe_back_panel", + "size": [ "100% + 8px", "100% - 4px" ] + } + } + ] + } + }, + { "right_panel@$right_panel_control": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Container panel + //--------------------------------------------------------------------------- + + "inventory_selected_icon@common.item_renderer": { + "layer": 50, + "size": [ 21, 21 ], + "offset": [ -1, -2 ], + "bindings": [ + { + "binding_name": "#inventory_selected_item", + "binding_name_override": "#item_id_aux", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#inventory_selected_item_charged_item", + "binding_name_override": "#charged_item", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#inventory_selected_item_color", + "binding_name_override": "#item_custom_color", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#inventory_selected_armor_trim_material", + "binding_name_override": "#armor_trim_material", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#inventory_selected_banner_patterns", + "binding_name_override": "#banner_patterns", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#shield_base_color_hovered", + "binding_name_override": "#shield_base_color", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#inventory_selected_banner_colors", + "binding_name_override": "#banner_colors", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#inventory_selected_banner_type", + "binding_name_override": "#banner_type", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#inventory_selected_decorated_pot_sherds", + "binding_name_override": "#decorated_pot_sherds", + "binding_condition": "always_when_visible" + } + ] + }, + + "inventory_selected_stack_size_text": { + "type": "label", + "offset": [ -1, 0 ], + "anchor_to": "bottom_right", + "anchor_from": "bottom_right", + "layer": 53, + "shadow": true, + "color": "$selected_item_stack_count_color", + "text": "#inventory_selected_item_stack_count", + "bindings": [ + { + "binding_name": "#inventory_selected_item_stack_count", + "binding_condition": "always_when_visible" + } + ] + }, + + "inventory_hold_icon": { + "type": "custom", + "renderer": "progress_bar_renderer", + "variables": [ + { + "requires": "$desktop_screen", + "$bar_offset": [ 0, -12 ] + }, + { + "requires": "$pocket_screen", + "$bar_offset": [ 0, -18 ] + } + ], + "layer": 70, + "offset": "$bar_offset", + "size": [ 15, 3 ], + "bindings": [ + { + "binding_name": "#progress_bar_visible", + "binding_condition": "always" + }, + { + "binding_name": "#progress_bar_total_amount", + "binding_condition": "always_when_visible" + }, + { + "binding_name": "#progress_bar_current_amount", + "binding_condition": "always_when_visible" + } + ] + }, + + "inventory_selected_item_lock_overlay": { + "type": "panel", + "size": [ 21, 21 ], + "offset": [ -1, -2 ], + "layer": 55, + "controls": [ + { + "container_item_lock_yellow@common.container_item_lock_yellow": { + "bindings": [ + { + "binding_name": "#inventory_selected_item_lock_in_inventory", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + }, + { + "container_item_lock_red@common.container_item_lock_red": { + "bindings": [ + { + "binding_name": "#inventory_selected_item_lock_in_slot", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + } + } + ] + }, + + "inventory_icon_panel": { + "type": "panel", + "controls": [ + { "selected_item_icon@common.inventory_selected_icon": {} }, + { "selected_stack_size_text@common.inventory_selected_stack_size_text": {} }, + { "selected_item_lock_overlay@common.inventory_selected_item_lock_overlay": {} }, + { + "hover_text@common.hover_text": { + "layer": 59, + "bindings": [ + { + "binding_name": "#using_touch", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "inventory_selected_icon_button": { + "type": "button", + "anchor_from": "center", + "anchor_to": "center", + "locked_control": "", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "layer": -10, + "size": [ 16, 16 ], + "follows_cursor": true, + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "always_handle_pointer": true, + "$durability_bar_required|default": true, + "$storage_bar_required|default": true, + "controls": [ + { "default@inventory_icon_panel": {} }, + { "pressed@inventory_icon_panel": {} }, + { "hover@inventory_icon_panel": {} }, + { "durability_bar_grabbed@common.durability_bar_grabbed": {} }, + { "storage_bar_grabbed@common.storage_bar_grabbed": {} } + ] + }, + + "inventory_take_progress_icon_button": { + "type": "button", + "locked_control": "", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "layer": -10, + "follows_cursor": true, + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "always_handle_pointer": true, + "controls": [ + { "default@inventory_hold_icon": {} }, + { "pressed@inventory_hold_icon": {} }, + { "hover@inventory_hold_icon": {} } + ] + }, + + "gamepad_cursor_image": { + "type": "image", + "texture": "textures/ui/pointer", + "size": [ 14, 14 ], + "layer": 60, + "follows_cursor": true, + + "bindings": [ + { + "binding_name": "#gamepad_cursor_visible", + "binding_name_override": "#visible", + "binding_condition": "always" + } + ] + }, + + "gamepad_cursor_button": { + "type": "button", + "visible": false, + "anchor_from": "center", + "anchor_to": "center", + "locked_control": "", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "layer": -10, + "size": [ 16, 16 ], + "follows_cursor": true, + "always_handle_pointer": true, + "controls": [ + { "default@gamepad_cursor_image": {} }, + { "pressed@gamepad_cursor_image": {} }, + { "hover@gamepad_cursor_image": {} } + ] + }, + + "grid_item_for_inventory@common.container_item": { + "$item_collection_name": "inventory_items" + }, + + "grid_item_for_hotbar@common.container_item": { + "$item_collection_name": "hotbar_items" + }, + + "hotbar_grid_template": { + "type": "grid", + "size": [ 162, 18 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -5 ], + "grid_dimensions": [ 9, 1 ], + "grid_item_template": "common.grid_item_for_hotbar", + "collection_name": "hotbar_items" + }, + + "inventory_panel": { + "type": "panel", + "size": [ 88, 83 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "inventory_grid": { + "type": "grid", + "size": [ 162, 54 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -26 ], + "grid_dimensions": [ 9, 3 ], + "grid_item_template": "common.grid_item_for_inventory", + "collection_name": "inventory_items" + } + } + ] + }, + + // Bottom half of ui, inventory panel + "inventory_panel_bottom_half": { + "type": "panel", + "size": [ "100%", "50%" ], + "anchor_from": "left_middle", + "anchor_to": "top_left", + "controls": [ + { "inventory_panel@inventory_panel": {} } + ] + }, + + "inventory_panel_bottom_half_with_label@inventory_panel_bottom_half": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", 93 ], + "controls": [ + { "inventory_panel@inventory_panel": {} }, + { + "inventory_label@section_heading_label": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 7, 3 ], + "layer": 2, + "text": "container.inventory" + } + } + ] + }, + + // Common panel contains the bg image and the close button + "common_panel": { + "type": "panel", + "$dialog_background|default": "common.dialog_background_opaque", + "$show_close_button|default": true, + "$close_button_visible_binding_name|default": "#close_button_visible", + "$close_button_offset|default": [ 0, 0 ], + "$close_button_layer|default": 2, + "$use_compact_close_button|default": false, + "$show_divider|default": false, + "$divider_offset|default": [ "42.5%", "22px" ], + "$divider_visible_binding_name|default": "", + "$divider_visible_binding_type|default": "none", + "$divider_size|default": [ "5px", "100% - 29px" ], + "controls": [ + { + "bg_image@$dialog_background": { + "layer": 1 + } + }, + { + "dialog_divider@common.dialog_divider": { + "visible": "$show_divider", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": "$divider_offset", + "size": "$divider_size", + "bindings": [ + { + "binding_name": "$divider_visible_binding_name", + "binding_name_override": "#visible", + "binding_type": "$divider_visible_binding_type" + } + ] + } + }, + { + "close_button_holder": { + "type": "panel", + "ignored": "(not $show_close_button)", + "controls": [ + { + "close@common.close_button": { + "layer": "$close_button_layer", + "offset": "$close_button_offset", + "ignored": "$use_compact_close_button" + } + }, + { + "compact_close@common.compact_close_button": { + "layer": "$close_button_layer", + "offset": "$close_button_offset", + "ignored": "(not $use_compact_close_button)" + } + } + ], + "bindings": [ + { + "binding_name": "$close_button_visible_binding_name", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + // Root panel all others parented to + "root_panel": { + "type": "input_panel", + "size": [ 176, 166 ], + "layer": 1, + "anchor_from": "center", + "anchor_to": "center", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.return", + "to_button_id": "button.return", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_up", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_down", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_left", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + }, + { + "from_button_id": "button.arrow_right", + "to_button_id": "button.arrow_key", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.container_reset_held", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.turn_up", + "to_button_id": "button.scroll_up", + "mapping_type": "global" + }, + { + "from_button_id": "button.turn_down", + "to_button_id": "button.scroll_down", + "mapping_type": "global" + }, + { + "from_button_id": "button.turn_left", + "to_button_id": "button.scroll_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.turn_right", + "to_button_id": "button.scroll_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.inventory_left", + "to_button_id": "button.inventory_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.inventory_right", + "to_button_id": "button.inventory_right", + "mapping_type": "global" + } + ] + }, + + // Base Input Panel + "input_panel": { + "type": "input_panel" + }, + + //--------------------------------------------------------------------------- + // Screens, survival inventory and crafting + //--------------------------------------------------------------------------- + + "screen_exit_size_animation_push": { + "anim_type": "size", + "easing": "out_cubic", + "duration": "$transition_time_push_size", + "from": [ "100%", "100%" ], + "to": [ 0, 0 ], + "play_event": "screen.exit_push", + "end_event": "screen.exit_end", + "reset_event": "screen_animation_reset" + }, + + "screen_exit_size_animation_pop": { + "anim_type": "size", + "easing": "out_cubic", + "duration": "$transition_time_pop_size", + "from": [ "100%", "100%" ], + "to": [ 0, 0 ], + "play_event": "screen.exit_pop", + "end_event": "screen.exit_end", + "reset_event": "screen_animation_reset" + }, + + "screen_entrance_size_animation_immediate": { + "anim_type": "size", + "easing": "out_back", + "duration": "$transition_time_push_size", + "from": [ 0, 0 ], + "to": [ "100%", "100%" ], + "resettable": false + }, + + "screen_entrance_size_animation_push@common.screen_entrance_size_animation_immediate": { + "duration": "$transition_time_push", + "play_event": "screen.entrance_push", + "end_event": "screen.entrance_end", + "resettable": true + }, + + "screen_entrance_size_animation_pop@common.screen_entrance_size_animation_immediate": { + "duration": "$transition_time_pop", + "play_event": "screen.entrance_pop", + "end_event": "screen.entrance_end", + "resettable": true + }, + + //Fade Animations + + "screen_exit_animation_push_fade": { + "anim_type": "alpha", + "easing": "out_cubic", + "duration": "$transition_time_push", + "from": 1.0, + "to": 0.0, + "play_event": "screen.exit_push", + "end_event": "screen.exit_end" + }, + + "screen_exit_animation_pop_fade": { + "anim_type": "alpha", + "easing": "out_cubic", + "duration": "$transition_time_pop", + "from": 1.0, + "to": 0.0, + "play_event": "screen.exit_pop", + "end_event": "screen.exit_end" + }, + + "screen_entrance_animation_push_fade": { + "anim_type": "alpha", + "easing": "out_cubic", + "duration": "$transition_time_push", + "from": 0.0, + "to": 1.0, + "play_event": "screen.entrance_push", + "end_event": "screen.entrance_end" + }, + + "screen_entrance_animation_pop_fade": { + "anim_type": "alpha", + "easing": "out_cubic", + "duration": "$transition_time_pop", + "from": 0.0, + "to": 1.0, + "play_event": "screen.entrance_pop", + "end_event": "screen.entrance_end" + }, + + //Wipe Animations + + "screen_exit_animation_push_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_push", + "from": [ 0, 0 ], + "to": [ "-25%", 0 ], + "play_event": "screen.exit_push", + "end_event": "screen.exit_end" + }, + + "screen_exit_animation_pop_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_pop", + "from": [ 0, 0 ], + "to": [ "25%", 0 ], + "play_event": "screen.exit_pop", + "end_event": "screen.exit_end" + }, + + "screen_entrance_animation_push_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_push", + "from": [ "25%", 0 ], + "to": [ 0, 0 ], + "play_event": "screen.entrance_push", + "end_event": "screen.entrance_end" + }, + + "screen_entrance_animation_pop_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_pop", + "from": [ "-25%", 0 ], + "to": [ 0, 0 ], + "play_event": "screen.entrance_pop", + "end_event": "screen.entrance_end" + }, + + // This animation does nothing and is used to maintain the previous + // screen during a transition to a new one to avoid graphical glitches + // that may occur when no animation is used at all. + "screen_exit_animation_no_offset": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$transition_time_pop", + "from": [ 0, 0 ], + "to": [ 0, 0 ], + "play_event": "screen.exit_pop", + "end_event": "screen.exit_end" + }, + + //container + + "container_screen_exit_animation_push": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$container_transition_time_push", + "from": [ 0, 0 ], + "to": [ 0, "50%" ], + "play_event": "screen.exit_push", + "end_event": "screen.exit_end" + }, + + "container_screen_exit_animation_pop": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$container_transition_time_push", + "from": [ 0, 0 ], + "to": [ 0, "50%" ], + "play_event": "screen.exit_pop", + "end_event": "screen.exit_end" + }, + + "container_screen_entrance_animation_push": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$container_transition_time_push", + "from": [ 0, "50%" ], + "to": [ 0, 0 ], + "play_event": "screen.entrance_push", + "end_event": "screen.entrance_end" + }, + + "container_screen_entrance_animation_pop": { + "anim_type": "offset", + "easing": "out_cubic", + "duration": "$container_transition_time_push", + "from": [ 0, "50%" ], + "to": [ 0, 0 ], + "play_event": "screen.entrance_pop", + "end_event": "screen.entrance_end" + }, + + // Alpha + + "screen_exit_animation_push_alpha": { + "anim_type": "alpha", + "scale_from_starting_alpha": true, + "easing": "linear", + "duration": "$transition_time_push", + "from": 1.0, + "to": 0.0, + "play_event": "screen.exit_push", + "end_event": "screen.exit_end" + }, + + "screen_exit_animation_pop_alpha": { + "anim_type": "alpha", + "scale_from_starting_alpha": true, + "easing": "linear", + "duration": "$transition_time_pop", + "from": 1.0, + "to": 0.0, + "play_event": "screen.exit_pop", + "end_event": "screen.exit_end" + }, + + "screen_entrance_animation_push_alpha": { + "anim_type": "alpha", + "scale_from_starting_alpha": true, + "easing": "linear", + "duration": "$transition_time_push", + "from": 0.0, + "to": 1.0, + "play_event": "screen.entrance_push", + "end_event": "screen.entrance_end" + }, + + "screen_entrance_animation_pop_alpha": { + "anim_type": "alpha", + "scale_from_starting_alpha": true, + "easing": "linear", + "duration": "$transition_time_pop", + "from": 0.0, + "to": 1.0, + "play_event": "screen.entrance_pop", + "end_event": "screen.entrance_end" + }, + + //// + + "loading_bar_init_animation_push": { + "anim_type": "alpha", + "easing": "out_cubic", + "duration": 0.0, + "from": 0.0, + "to": 0.0, + "play_event": "screen.exit_push", + "next": "@common.loading_bar_wait_animation" + }, + + "loading_bar_init_animation_pop@common.loading_bar_init_animation_push": { + "play_event": "screen.exit_pop" + }, + + "loading_bar_wait_animation": { + "anim_type": "wait", + "duration": "$loading_bar_transition", + "next": "@common.loading_bar_fade_animation" + }, + + "loading_bar_fade_animation": { + "anim_type": "alpha", + "easing": "out_cubic", + "duration": 1.0, + "from": 0.0, + "to": 1.0 + }, + + "bar_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 10, + "frame_step": 64, + "fps": 10, + "reversible": true, + "easing": "linear" + }, + + "base_screen": { + "type": "screen", + "vr_mode": "$is_holographic", + "$screen_content|default": "common.base_screen_empty_panel", + "$additional_screen_content|default": "common.base_screen_empty_panel", + "$screen_bg_content|default": "common.base_screen_empty_panel", + "$screen_animations|default": [ + "@common.screen_exit_animation_push_offset", + "@common.screen_exit_animation_pop_offset", + "@common.screen_entrance_animation_push_offset", + "@common.screen_entrance_animation_pop_offset", + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations|default": [ + "@common.screen_exit_animation_push_alpha", + "@common.screen_exit_animation_pop_alpha", + "@common.screen_entrance_animation_push_alpha", + "@common.screen_entrance_animation_pop_alpha" + ], + "$use_loading_bars|default": true, + "$is_full_screen_layout|default": false, + "$safezone_screen_matrix_layer|default": 2, + "controls": [ + { + "variables_button_mappings_and_controls": { + "type": "input_panel", + "hover_enabled": false, + "prevent_touch_input": false, + "ttsSectionContainer": true, + "variables": [ + // Screen sizes - you should be using one of these unless explicitly told otherwise - in which case that size should be added as a variable here + // Win10 + { + //Desktop Texel Size: [376, 250] + "requires": "$desktop_screen", + "$narrow_screen_size": [ 280, "100% - 10px" ], // Realms Pending Invitations, Add Players + "$play_screen_size": [ 282, "100% - 50px" ], // Play Screen + "$tabbed_upsell_screen_size": [ 310, 173 ], // Trial Tabbed Upsell Screen + "$realms_create_screen_size": [ 267, 240 ], // Realms Create + "$large_screen_size": [ 317, "100% - 10px" ], // Multiplayer Invitations + "$store_screen_size": [ "100% - 4px", "100% - 4px" ], // Store Home + "$skin_pack_screen_size": [ "100% - 4px", "100% - 50px" ], // Skin Pack + "$resource_pack_screen_size": [ "100% - 50px", "45%x + 65px" ], // Texture Pack + "$upsell_screen_size": [ "177%y - 208.5px", "100% - 4px" ], // Skin Pack Upsell + "$create_world_upsell_screen_size": [ 360, 183 ], + "$create_realm_upsell_screen_size": [ 360, 183 ], + "$create_realm_upsell_play_screen_size": [ 360, 213 ], + "$max_create_world_upsell_screen_size": [ 360, "100% - 4px" ], + "$min_resource_pack_screen_size": [ 372, 232.4 ], + "$max_resource_pack_screen_size": [ 400, 246 ], + "$max_upsell_screen_size": [ 250, 259.125 ], + "$rating_prompt_screen_size": [ 250, 87 ], + "$max_skin_pack_screen_size": [ 310, "56.25%x - 65.25px + 118.5px" ], + "$extra_large_screen_size": [ "100% - 4px", "100% - 4px" ], // Skin Picker, Command Block screen + "$extra_large_max_screen_size": [ 370, "100% - 50px" ], + "$xbl_immediate_signin_screen_size": [ 317, 158 ], // XBL Immediate Signin Popup + "$xbl_optional_signin_screen_size": [ 317, 158 ], // XBL Optional Signin Popup + "$xbl_console_signin_screen_size": [ 316, 161 ], // XBL Console Signin Popup + "$xbl_console_qr_signin_screen_size": [ 364, 182 ], // XBL Console QR Signin Popup + "$xbl_console_signin_succeeded_screen_size": [ 230, "100% - 50px" ], // XBL Console Signin Succeeded Popup + "$xbl_first_launch_screen_size": [ 317, 146 ], // Trial Upsell + "$xbl_gamer_profile_screen_size": [ 260, "100% - 50px" ], // XBL Console Signin Succeeded Popup + "$modal_screen_size": [ 204, 140 ], // Pop-up dialogue boxes and modal progress screens + "$tall_modal_screen_size": [ 204, 172 ], + "$patch_notes_screen_size": [ 300, "100% - 4px" ], // Patch Notes Screen + "$mob_effect_screen_size": [ "90%", "90%" ], // Mob Effect Screen + "$purchase_coin_screen_size": [ "90%", "17%x + 82px" ], //Coin Purchase Screen + "$purchase_coin_screen_size_extended": [ "90%", "17%x + 117px" ], //Coin Purchase Screen, with FAQ + "$purchase_coin_screen_size_not_enough": [ "90%", "17%x + 97px" ], //Coin Purchase Screen, when not enough coins for current purchase + "$purchase_coin_screen_size_extended_not_enough": [ "90%", "17%x + 132px" ], //Coin Purchase Screen, when not enough coins for current purchase, with FAQ + "$choose_realm_screen_size": [ "70%", "85%" ], //Choose Realm Screen + "$custom_templates_screen_size": [ "70%", "85%" ], //Custom Templates Screen + "$world_modal_screen_size": [ 290, 100 ], // world convert and world loading modal progress screens + "$day_one_experience_intro_screen_size": [ "60%", "85%" ], // Day One Experience intro popup + "$day_one_experience_import_progress_screen_size": [ "80%", "90%" ], // Day One Experience import progress modal screen + "$world_conversion_complete_screen_size": [ 290, 160 ], // World Conversion complete modal screen + "$gamepad_disconnect_screen_size": [ 300, 100 ], //custom gamepad disconnected modal size, to contain all languages in title + "$storage_migration_progress_size": [ 290, 100 ], + "$store_modal_screen_size": [ "80%", "80%" ], + "$csb_upsell_screen_size": [ "90%", "60%x" ] + }, + // PE edition and VR + { + //Pocket Texel Size: [320, 210] + "requires": "($pocket_screen or $is_holographic)", + "$narrow_screen_size": [ "90.3225%", "100% - 4px" ], // Realms Pending Invitations, Add Players + "$play_screen_size": [ "83.4375%", "100% - 4px" ], // Play Screen + "$tabbed_upsell_screen_size": [ 310, 173 ], // Trial Tabbed Upsell Screen + "$realms_create_screen_size": [ "71.2766%", "100% - 4px" ], // Realms Create + "$large_screen_size": [ "70.3215%", "100% - 4px" ], // Multiplayer Invitations + "$store_screen_size": [ "100% - 4px", "100% - 4px" ], // Store Home, purchase Skin Pack + "$skin_pack_screen_size": [ "100% - 4px", "100% - 4px" ], // Skin Pack + "$resource_pack_screen_size": [ "100% - 50px", "45%x + 65px" ], // Texture Pack + "$upsell_screen_size": [ "100% - 76px", "100% - 4px" ], // Skin Pack Upsell + "$create_world_upsell_screen_size": [ "100% - 4px", 223 ], + "$create_realm_upsell_screen_size": [ "100% - 4px", 223 ], + "$create_realm_upsell_play_screen_size": [ "100% - 4px", 219 ], + "$max_create_world_upsell_screen_size": [ "100% - 4px", "100% - 4px" ], + "$min_resource_pack_screen_size": [ 306, 202.7 ], + "$max_resource_pack_screen_size": [ 313.3, 206 ], + "$max_upsell_screen_size": [ "100% - 76px", "56.25%x + 118.5px" ], + "$max_skin_pack_screen_size": [ "100% - 4px", "56.25%x - 65.25px + 118.5px" ], + "$extra_large_screen_size": [ "100% - 4px", "100% - 4px" ], // Skin Picker, Command Block screen + "$extra_large_max_screen_size": [ 370, "100% - 50px" ], + "$xbl_immediate_signin_screen_size": [ 316, 153 ], // XBL Immediate Signin Popup + "$xbl_optional_signin_screen_size": [ 316, 153 ], // XBL Optional Signin Popup + "$xbl_console_signin_screen_size": [ 316, 161 ], // XBL Console Signin Popup + "$xbl_console_qr_signin_screen_size": [ 364, 182 ], // XBL Console QR Signin Popup + "$xbl_console_signin_succeeded_screen_size": [ 230, "100% - 4px" ], // XBL Console Signin Succeeded Popup + "$xbl_first_launch_screen_size": [ 316, 146 ], // Trial Upsell + "$xbl_gamer_profile_screen_size": [ 316, "100% - 4px" ], // XBL Console Signin Succeeded Popup + "$modal_screen_size": [ 204, 140 ], // Pop-up dialogue boxes and modal progress screens + "$rating_prompt_screen_size": [ 250, 87 ], + "$tall_modal_screen_size": [ 204, 172 ], + "$patch_notes_screen_size": [ 300, "100% - 4px" ], // Patch Notes Screen + "$mob_effect_screen_size": [ "90%", "90%" ], // Mob Effect Screen + "$purchase_coin_screen_size": [ "90%", "17%x + 82px" ], //Coin Purchase Screen + "$purchase_coin_screen_size_extended": [ "90%", "17%x + 117px" ], //Coin Purchase Screen, with FAQ + "$purchase_coin_screen_size_not_enough": [ "90%", "17%x + 97px" ], //Coin Purchase Screen, when not enough coins for current purchase + "$purchase_coin_screen_size_extended_not_enough": [ "90%", "17%x + 132px" ], //Coin Purchase Screen, when not enough coins for current purchase, with FAQ + "$choose_realm_screen_size": [ "70%", "85%" ], //Choose Realm Screen + "$custom_templates_screen_size": [ "70%", "85%" ], //Custom Templates Screen + "$world_modal_screen_size": [ 290, 100 ], // world convert and world loading modal progress screens + "$day_one_experience_intro_screen_size": [ "60%", "85%" ], // Day One Experience intro popup + "$day_one_experience_import_progress_screen_size": [ "80%", "90%" ], // Day One Experience import progress modal screen + "$world_conversion_complete_screen_size": [ 290, 160 ], // World Conversion complete modal screen + "$gamepad_disconnect_screen_size": [ 300, 100 ], //custom gamepad disconnected modal size, to contain all languages in title + "$storage_migration_progress_size": [ 290, 100 ], + "$store_modal_screen_size": [ "100% - 20px", "100% - 20px" ], + "$csb_upsell_screen_size": [ "100%-4px", "100%-4px" ] + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ], + "controls": [ + { + "bg_no_safezone_screen_panel@$screen_bg_content": { + "anims": "$background_animations", + "animation_reset_name": "screen_animation_reset", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "layer": 2 + } + }, + { + "safezone_screen_matrix@common.safezone_outer_matrix": { + "anims": "$screen_animations", + "animation_reset_name": "screen_animation_reset", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "layer": "$safezone_screen_matrix_layer" + } + }, + { + "screen_background@common_dialogs.full_screen_background": { + "anims": "$screen_animations", + "animation_reset_name": "screen_animation_reset", + "propagate_alpha": true, + "disable_anim_fast_forward": true, + "layer": -1 + } + } + ] + } + }, + { + "loading_bars_background": { + "type": "image", + "visible": "$use_loading_bars", + "texture": "textures/ui/effect_background", + "size": [ "33%", "100%c + 16px" ], + "alpha": 0.0, + "propagate_alpha": true, + "animation_reset_name": "screen_animation_reset", + "disable_anim_fast_forward": true, + + "controls": [ + { + "loading_bars@common_store.progress_loading_bars": { + "size": [ "100%", "8%x" ], + "max_size": [] + } + } + ], + + "anims": [ + "@common.loading_bar_init_animation_push", + "@common.loading_bar_init_animation_pop" + ] + } + } + ] + }, + + "safezone_buffer": { + "type": "panel", + "bindings": [ + { + "binding_name": "$safezone_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "top_safezone_vertical_buffer@common.safezone_buffer": { + "size": "$top_vertical_safezone_size" + }, + + "bottom_safezone_vertical_buffer@common.safezone_buffer": { + "size": "$bottom_vertical_safezone_size" + }, + + "left_safezone_horizontal_buffer@common.safezone_buffer": { + "size": "$left_horizontal_safezone_size" + }, + + "right_safezone_horizontal_buffer@common.safezone_buffer": { + "size": "$right_horizontal_safezone_size" + }, + + "safe_zone_stack": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "$header_bar_control|default": "common.empty_panel", + "$header_safezone_control|default": "common.empty_panel", + "controls": [ + { + "top_outer_control@$header_safezone_control": { + "size": "$top_vertical_safezone_size", + "bindings": [ + { + "binding_name": "#safezone_outer_top", + "binding_name_override": "#visible" + } + ] + } + }, + { + "top_inner_control@$header_safezone_control": { + "size": "$top_vertical_safezone_size", + "bindings": [ + { + "binding_name": "#safezone_inner_top", + "binding_name_override": "#visible" + } + ] + } + }, + { + "header_bar@$header_bar_control": {} + } + ] + }, + + "safezone_inner_matrix": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "vertical", + "$header_safezone_control|default": "common.empty_panel", + "controls": [ + { + "outer_top@common.top_safezone_vertical_buffer": { + "$safezone_binding_name": "#safezone_outer_top", + "controls": [ + { + "top_side_control@$header_safezone_control": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { + "inner_top@common.top_safezone_vertical_buffer": { + "$safezone_binding_name": "#safezone_inner_top", + "controls": [ + { + "top_side_control@$header_safezone_control": { + "size": [ "100%", "100%" ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + }, + { "safezone_screen_panel@common.screen_panel": {} }, + { + "inner_bottom@common.bottom_safezone_vertical_buffer": { + "$safezone_binding_name": "#safezone_inner_bottom" + } + }, + { + "outer_bottom@common.bottom_safezone_vertical_buffer": { + "$safezone_binding_name": "#safezone_outer_bottom" + } + } + ] + }, + + "safezone_outer_matrix": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "outer_left@common.left_safezone_horizontal_buffer": { + "$safezone_binding_name": "#safezone_outer_left", + "controls": [ + { + "outer_left_safe_zone_stack@common.safe_zone_stack": {} + } + ] + } + }, + { + "inner_left@common.left_safezone_horizontal_buffer": { + "$safezone_binding_name": "#safezone_inner_left", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "inner_left_safe_zone_stack@common.safe_zone_stack": {} + } + ] + } + }, + { "inner_matrix@common.safezone_inner_matrix": {} }, + { + "inner_right@common.right_safezone_horizontal_buffer": { + "$safezone_binding_name": "#safezone_inner_right", + "controls": [ + { + "inner_right_safe_zone_stack@common.safe_zone_stack": {} + } + ] + } + }, + { + "outer_right@common.right_safezone_horizontal_buffer": { + "$safezone_binding_name": "#safezone_outer_right", + "controls": [ + { + "outer_right_safe_zone_stack@common.safe_zone_stack": {} + } + ] + } + } + ] + }, + + "bundle_tooltip_wrapper": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { "bundle_cursor_tooltip@gameplay.bundle_cursor_tooltip": {} }, + { "bundle_touch_tooltip@gameplay.bundle_touch_tooltip": {} } + ], + "bindings": [ + { + "binding_name": "#is_container_screen", + "binding_name_override": "#visible" + } + ] + }, + + "screen_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { "root_screen_panel@$screen_content": {} }, + { "additional_screen_content@$additional_screen_content": {} }, + { + "popup_dialog_factory": { + "type": "factory", + "control_ids": { + "modal_dialog_popup": "@popup_dialog.modal_dialog_popup", + "storage_dependency_popup": "@storage_management_popup.storage_dependency_modal", + "storage_sharing_popup": "@storage_management_popup.sharing_popup_content" + } + } + }, + { "bundle_hover_tooltip@common.bundle_tooltip_wrapper": {} } + ] + }, + + "base_screen_empty_panel": { + "type": "panel" + }, + + "modal_screen@common.base_screen": { + // necessary to have this screen as long as + // ScreenChooser::isModalScreen() is hard coded to this name + }, + + "realms_error_modal_screen@common.modal_screen": { + "force_render_below": true + }, + + "modal_area_panel_base": { + "type": "input_panel", + "layer": 1, + "$menu_cancel_button_id|default": "button.menu_exit", + "$modal_binding_name|default": "", + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "$menu_cancel_button_id", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + } + ], + "bindings": [ + { + "binding_name": "$modal_binding_name", + "binding_name_override": "#modal" + } + ] + }, + + "inactive_modal_pane_fade": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/White", + "color": [ 0.5, 0.5, 0.5 ], + "alpha": 0.5, + "layer": 25, + "bindings": [ + { + "binding_name": "$modal_binding_name", + "binding_name_override": "#visible" + } + ] + }, + + "inventory_screen_common@base_screen": { + "cache_screen": true, + "$additional_screen_content": "common.stack_splitting_overlay", + "$gamepad_cursor|default": true, + "gamepad_cursor": "$gamepad_cursor", + + "$screen_animations|default": [ + "@common.container_screen_exit_animation_push", + "@common.container_screen_exit_animation_pop", + "@common.container_screen_entrance_animation_push", + "@common.container_screen_entrance_animation_pop", + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_inventory_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_up", + "to_button_id": "button.menu_up", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_down", + "to_button_id": "button.menu_down", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_left", + "to_button_id": "button.menu_left", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_right", + "to_button_id": "button.menu_right", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_secondary_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed", + "ignored": "(not $is_ps4)" + }, + { + "from_button_id": "button.controller_select", + "to_button_id": "button.cursor_drop_one", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select", + "to_button_id": "button.cursor_drop_all", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.controller_secondary_select_left", + "to_button_id": "button.focus_left", + "mapping_type": "global" + }, + { + "from_button_id": "button.controller_secondary_select_right", + "to_button_id": "button.focus_right", + "mapping_type": "global" + }, + { + "from_button_id": "button.chat", + "to_button_id": "button.chat", + "mapping_type": "global" + } + ] + }, + + // Making screens full screen // + + "fullscreen_header": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "$child_control|default": "common.empty_panel", + "controls": [ + { + "top_bar@common.top_bar": { + "size": [ "100%", 23 ], + "controls": [ + { + "title_stack_panel": { + "type": "stack_panel", + "size": [ "100%", 19 ], + "orientation": "horizontal", + "controls": [ + { + "padding1": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { "back_button_content_panel@common.back_content_panel": {} }, + { + "padding2": { + "type": "panel", + "size": [ 2, "100%" ] + } + } + ] + } + } + ] + } + }, + { + "child_control@$child_control": { + "size": [ "100%", "fill" ], + "layer": 2 + } + } + ] + }, + + "back_content_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { + "back_button@common.back_title_button": { + "offset": [ 0, -1 ], + "layer": 200 //This should always be on top, let's ensure that + } + } + ] + }, + + "top_bar": { + "type": "image", + "texture": "textures/ui/StoreTopBar", + "size": [ "100%", 23 ] + }, + + + ////////// Common Tool Tip Objects ////////// + + "tooltip_background": { + "type": "image", + "$tooltip_background_texture|default": "textures/ui/tooltip_default_background", + "texture": "$tooltip_background_texture", + "$tooltip_background_color|default": "$f_color_format", + "color": "$tooltip_background_color" + }, + + "tooltip_button_content@common.tooltip_background": { + "size": "$tooltip_button_content_size", + "$tooltip_panel_content_background_alpha|default": 1.0, + "alpha": "$tooltip_panel_content_background_alpha", + "controls": [ + { + "tooltip_panel_content@$tooltip_panel_content": {} + } + ] + }, + + "static_tooltip_popup_with_image_and_text@common.tooltip_background": { + "$override_tooltip_popup_image|default": false, + "$tooltip_popup_image|default": "", + "$ignore_tooltip_popup_image|default": false, + "$ignore_tooltip_popup_chevron|default": false, + "$tooltip_popup_visible_binding|default": "", + "$tooltip_panel_offset|default": [ 0, "-100%c - 2px" ], + "$tooltip_panel_size|default": [ "100%", "100%cm + 8px" ], + + "size": "$tooltip_panel_size", + "offset": "$tooltip_panel_offset", + "layer": 200, // always on top + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { + "image_and_text_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 10px", "100%cm" ], + "layer": 2, + "controls": [ + { + "tooltip_text_image_panel": { + "ignored": "$ignore_tooltip_popup_image", + "type": "panel", + "size": [ "100%y", "100%sm" ], + "min_size": [ 8, 8 ], + // The max y is 200 due to the fact that we have no way to say use inherited max sibling height + // - 200 was used in thoughts that whatever text was used would not need more that 200px + // allowing the image to grow and string with the height of the text object + "max_size": [ 12, 200 ], + "controls": [ + { + "tooltip_image_panel": { + "type": "panel", + "size": [ "100%", "100%x" ], + "$tooltip_popup_image_control_array|default": [ + { + "tooltip_popup_image_panel": { + "type": "image", + "bilinear": true, + "texture": "$tooltip_popup_image" + } + } + ], + "variables": [ + { + "requires": "$override_tooltip_popup_image", + "$tooltip_popup_image_control_array": [ + { + "tooltip_popup_override_image_panel@$tooltip_popup_override_image_panel": { + "size": [ "100%", "100%" ] + } + } + ] + } + ], + "controls": "$tooltip_popup_image_control_array" + } + } + ] + } + }, + { + "padding": { + "ignored": "$ignore_tooltip_popup_image", + "type": "panel", + "size": [ 3, 0 ] + } + }, + { + "tooltip_text": { + "type": "label", + "size": [ "fill", "default" ], + "$tooltip_text_binding_name|default": "#tooltip_text", + "text": "$tooltip_text_binding_name", + "$tooltip_text_color|default": "$f_color_format", + "color": "$tooltip_text_color", + "$tooltip_text_font_type|default": "default", + "font_type": "$tooltip_text_font_type", + "$tooltip_text_binding_type|default": "$tooltip_button_binding_type", + "$tooltip_text_bindings|default": [ + { + "binding_name": "$tooltip_text_binding_name", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_text_binding_type", + "binding_condition": "visibility_changed" + } + ], + "bindings": "$tooltip_text_bindings" + } + } + ] + } + }, + { + "tooltip_chevron": { + "ignored": "$ignore_tooltip_popup_chevron", + "type": "image", + "layer": 2, + "bilinear": true, + "$tooltip_popup_chevron_size|default": [ 19, 13 ], + "size": "$tooltip_popup_chevron_size", + "$tooltip_popup_chevron_offset|default": [ "30%x", "100%y - 3px" ], + "offset": "$tooltip_popup_chevron_offset", + "$tooltip_chevron_anchor|default": "bottom_left", + "anchor_to": "$tooltip_chevron_anchor", + "anchor_from": "$tooltip_chevron_anchor", + "$tooltip_popup_chevron_texture|default": "textures/ui/tooltip_default_chevron", + "texture": "$tooltip_popup_chevron_texture" + } + } + ], + "bindings": [ + { + "binding_name": "$tooltip_popup_visible_binding", + "binding_name_override": "#visible", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_button_binding_type" + } + ] + }, + + "dynamic_tooltip_popup_with_custom_content@common.tooltip_background": { + "$ignore_tooltip_popup_chevron|default": false, + "$tooltip_popup_visible_binding|default": "", + "$tooltip_panel_offset|default": [ 0, -2 ], + "$tooltip_content|default": "common.empty_panel", + + "min_size": [ 25, "default" ], + "size": [ "100%c - 6px", "100%cm + 8px" ], + "offset": "$tooltip_panel_offset", + "layer": 200, // always on top + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "tooltip_content@$tooltip_content": {} + }, + { + "tooltip_chevron": { + "ignored": "$ignore_tooltip_popup_chevron", + "type": "image", + "layer": 2, + "$tooltip_popup_chevron_size|default": [ 19, 13 ], + "size": "$tooltip_popup_chevron_size", + "$tooltip_popup_chevron_offset|default": [ 0, "100%y - 3px" ], + "offset": "$tooltip_popup_chevron_offset", + "$tooltip_chevron_anchor|default": "bottom_middle", + "anchor_to": "$tooltip_chevron_anchor", + "anchor_from": "$tooltip_chevron_anchor", + "$tooltip_popup_chevron_texture|default": "textures/ui/tooltip_default_chevron", + "texture": "$tooltip_popup_chevron_texture" + } + } + ], + "bindings": [ + { + "binding_name": "$tooltip_popup_visible_binding", + "binding_name_override": "#visible", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_button_binding_type" + } + ] + }, + + // Tool tip with centered chevron + // $tool_tip_text_max_size defines how text wraps (x wraps with a '-' and y will cut off with '...') + "dynamic_tooltip_popup_with_image_and_text@common.tooltip_background": { + "$override_tooltip_popup_image|default": false, + "$tooltip_popup_image|default": "", + "$ignore_tooltip_popup_image|default": false, + "$ignore_tooltip_popup_chevron|default": false, + "$tooltip_popup_visible_binding|default": "", + "$tooltip_panel_offset|default": [ 0, -2 ], + + "min_size": [ 25, "default" ], + "size": [ "100%c - 6px", "100%cm + 8px" ], + "offset": "$tooltip_panel_offset", + "layer": 200, // always on top + "anchor_from": "top_middle", + "anchor_to": "bottom_middle", + "controls": [ + { + "image_and_text_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%cm" ], + "offset": [ 0.5, 0 ], + "layer": 2, + "controls": [ + { + "tooltip_text_image_panel": { + "ignored": "$ignore_tooltip_popup_image", + "type": "panel", + "size": [ "100%y", "100%sm" ], + "min_size": [ 8, 8 ], + // The max y is 200 due to the fact that we have no way to say use inherited max sibling height + // - 200 was used in thoughts that whatever text was used would not need more that 200px + // allowing the image to grow and string with the height of the text object + "max_size": [ 15, 200 ], + "controls": [ + { + "tooltip_image_panel": { + "type": "panel", + "size": [ "100%", "100%x" ], + "$tooltip_popup_image_control_array|default": [ + { + "tooltip_popup_image_panel": { + "type": "image", + "texture": "$tooltip_popup_image" + } + } + ], + "variables": [ + { + "requires": "$override_tooltip_popup_image", + "$tooltip_popup_image_control_array": [ + { + "tooltip_popup_override_image_panel@$tooltip_popup_override_image_panel": { + "size": [ "100%", "100%" ] + } + } + ] + } + ], + "controls": "$tooltip_popup_image_control_array" + } + } + ] + } + }, + { + "padding": { + "ignored": "$ignore_tooltip_popup_image", + "type": "panel", + "size": [ 3, 0 ] + } + }, + { + "tooltip_text": { + "type": "label", + "$tool_tip_text_max_size|default": [ "default", "default" ], + "max_size": "$tool_tip_text_max_size", + "size": [ "default", "default" ], + "$tooltip_text_binding_name|default": "#tooltip_text", + "$tooltip_text_binding_type|default": "$tooltip_button_binding_type", + "$tts_override_control_value|default": "$tooltip_text_binding_name", + "text": "$tooltip_text_binding_name", + "tts_override_control_value": "$tts_override_control_value", + "$tooltip_text_font_type|default": "default", + "font_type": "$tooltip_text_font_type", + "$tooltip_text_font_scale|default": 1, + "font_scale_factor": "$tooltip_text_font_scale", + "$tooltip_text_color|default": "$f_color_format", + "color": "$tooltip_text_color", + "$tooltip_text_bindings|default": [ + { + "binding_name": "$tooltip_text_binding_name", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_text_binding_type" + } + ], + "bindings": "$tooltip_text_bindings" + } + } + ] + } + }, + { + "tooltip_chevron": { + "ignored": "$ignore_tooltip_popup_chevron", + "type": "image", + "layer": 2, + "$tooltip_popup_chevron_size|default": [ 19, 13 ], + "size": "$tooltip_popup_chevron_size", + "$tooltip_popup_chevron_offset|default": [ 0, "100%y - 3px" ], + "offset": "$tooltip_popup_chevron_offset", + "$tooltip_chevron_anchor|default": "bottom_middle", + "anchor_to": "$tooltip_chevron_anchor", + "anchor_from": "$tooltip_chevron_anchor", + "$tooltip_popup_chevron_texture|default": "textures/ui/tooltip_default_chevron", + "texture": "$tooltip_popup_chevron_texture" + } + } + ], + "bindings": [ + { + "binding_name": "$tooltip_popup_visible_binding", + "binding_name_override": "#visible", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_button_binding_type" + } + ] + }, + + // Helper for tooltips intended to be below control + "dynamic_tooltip_below@dynamic_tooltip_popup_with_image_and_text": { + "$tooltip_panel_offset": [ 0, 2 ], + "anchor_to": "top_middle", + "anchor_from": "bottom_middle", + "$tooltip_chevron_anchor": "top_middle", + "$tooltip_popup_chevron_offset": [ 0, "-100%y + 3px" ], + "$tooltip_popup_chevron_texture": "textures/ui/tooltip_inverted_chevron" + }, + + // Helper for tooltips intended to be below control + "dynamic_custom_tooltip_below@dynamic_tooltip_popup_with_custom_content": { + "$tooltip_panel_offset": [ 0, 2 ], + "anchor_to": "top_middle", + "anchor_from": "bottom_middle", + "$tooltip_chevron_anchor": "top_middle", + "$tooltip_popup_chevron_offset": [ 0, "-100%y + 3px" ], + "$tooltip_popup_chevron_texture": "textures/ui/tooltip_inverted_chevron" + }, + + // Helper for tooltips with dynamic positioning + "dynamic_tooltip": { + "type": "panel", + "$tooltip_above_binding_name|default": "", + "$tooltip_above_binding_collection_name|default": "", + "$tooltip_above_binding_type|default": "none", + "controls": [ + { + "above@common.empty_panel": { + "controls": [ { "content@dynamic_tooltip_popup_with_image_and_text": {} } ], + "bindings": [ + { + "binding_name": "$tooltip_above_binding_name", + "binding_name_override": "#visible", + "binding_collection_name": "$tooltip_above_binding_collection_name", + "binding_type": "$tooltip_above_binding_type" + } + ] + } + }, + { + "below@common.empty_panel": { + "controls": [ { "content@dynamic_tooltip_below": {} } ], + "bindings": [ + { + "binding_name": "(not $tooltip_above_binding_name)", + "binding_name_override": "#visible", + "binding_collection_name": "$tooltip_above_binding_collection_name", + "binding_type": "$tooltip_above_binding_type" + } + ] + } + } + ] + }, + + /////////////////////////////////////////////////////////////////////////// + + + // Legacy In Game Close Button // + + "legacy_pocket_close_button_default": { + "type": "image", + "texture": "textures/ui/legacy_pocket_close_button_default" + }, + "legacy_pocket_close_button_pressed@common.legacy_pocket_close_button_default": { + "texture": "textures/ui/legacy_pocket_close_button_pressed" + }, + "legacy_pocket_close_button@common.button": { + "$pressed_button_name": "button.menu_exit", + "size": [ 18, 18 ], + "offset": [ 0, 1 ], + "focus_enabled": false, + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { "default@common.legacy_pocket_close_button_default": {} }, + { "hover@common.legacy_pocket_close_button_default": {} }, + { "pressed@common.legacy_pocket_close_button_pressed": {} } + ], + "bindings": [ + { + "binding_name": "#close_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + + /////////////////////////////////////////////////////////////////////////// + // Common Icons // + /////////////////////////////////////////////////////////////////////////// + + "info_icon": { + "type": "image", + "texture": "textures/ui/infobulb" + }, + + "error_glyph": { + "type": "image", + "texture": "textures/ui/ErrorGlyph" + }, + + "service_repo_image_panel": { + "type": "panel", + "controls": [ + { + "service_repo_image": { + "type": "image", + "$repo_image_texture|default": "", + "$repo_image_tiled|default": "false", + "tiled": "$repo_image_tiled", + "property_bag": { + "#image_name": "$repo_image_texture" + }, + "bindings": [ + { + "binding_name": "#service_image_texture_filename", + "binding_name_override": "#texture" + }, + { + "binding_name": "#service_image_texture_location", + "binding_name_override": "#texture_file_system" + }, + { + "binding_name": "#service_image_repo_ready", + "binding_name_override": "#visible" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "size": [ "100%", 0 ], + "min_size": [ "100%", 10 ], + "inherit_max_sibling_height": true, + "layer": 3, + "$hide_failure_text": true, + "$hide_progress_loading_outline": true, + "bindings": [ + { + "binding_name": "(not #service_image_repo_ready)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "common_cycler": { + "$next_page_button_event|default": "button.cast_subpage_right", + "$prev_page_button_event|default": "button.cast_subpage_left", + "next_sub_page_button_name": "$next_page_button_event", + "prev_sub_page_button_name": "$prev_page_button_event", + + "button_mappings": [ + { + "from_button_id": "$prev_page_button_event", + "to_button_id": "$prev_page_button_event", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "$next_page_button_event", + "to_button_id": "$next_page_button_event", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_left", + "to_button_id": "$prev_page_button_event", + "mapping_type": "global", + "scope": "view" + }, + { + "from_button_id": "button.menu_tab_right", + "to_button_id": "$next_page_button_event", + "mapping_type": "global", + "scope": "view" + } + ] + }, + + "image_cycler@common.common_cycler": { + "type": "image_cycler", + "images": "$image_cycler_images" + }, + + "text_cycler@common.common_cycler": { + "type": "label_cycler", + "text_labels": "$text_cycler_labels" + }, + + // create square panel based off and constrained to parent's dimensions + // - shrink x to max y, then shrink y to max x if needed + "squaring_panel": { + "type": "panel", + "max_size": [ "100%y", "100%" ], + "controls": [ + { + "squaring_panel": { + "type": "panel", + "max_size": [ "100%", "100%x" ], + "controls": [ + { "squaring_panel_content@$squaring_panel_content": {} } + ] + } + } + ] + } + +} diff --git a/resource_pack/ui/ui_common_classic.json b/resource_pack/ui/ui_common_classic.json new file mode 100644 index 0000000..f21e55a --- /dev/null +++ b/resource_pack/ui/ui_common_classic.json @@ -0,0 +1,109 @@ +{ + "namespace": "common-classic", + + "button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "layer": 1, + "size": [ 100, 20 ], + "sound_name": "random.click", + "sound_volume": 1.0, + "sound_pitch": 1.0, + "locked_control": "", + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_select", + "mapping_type": "focused" + } + ] + }, + + "button_state_default": { + "type": "image", + "texture": "textures/ui/classic-button" + }, + + "button_state_hover@button_state_default": { + "texture": "textures/ui/classic-button-hover" + }, + + "button_state_pressed@button_state_default": { + "texture": "textures/ui/classic-button-pressed" + }, + + "toggle@common.toggle": { + "$unchecked_control": "common-classic.toggle_unchecked_state", + "$checked_control": "common-classic.toggle_checked_state", + "$unchecked_hover_control": "common-classic.toggle_unchecked_hovered_state", + "$checked_hover_control": "common-classic.toggle_checked_hovered_state", + "$unchecked_locked_control": "common-classic.toggle_unchecked_hovered_state", + "$unchecked_locked_hover_control": "common-classic.toggle_unchecked_hovered_state", + "$checked_locked_control": "common-classic.toggle_checked_hovered_state", + "$checked_locked_hover_control": "common-classic.toggle_checked_hovered_state" + }, + + "toggle_checked_state": { + "type": "image", + "texture": "textures/ui/common-classic_toggle_checked_state", + "layer": 2, + "size": [ 38, 20 ] + }, + + "toggle_unchecked_state": { + "type": "image", + "texture": "textures/ui/common-classic_toggle_unchecked_state", + "layer": 2, + "size": [ 38, 20 ] + }, + + "toggle_checked_hovered_state": { + "type": "panel", + "size": [ 38, 20 ], + "controls": [ + { "toggle_checked_state@toggle_checked_state": { } }, + { + "hover": { + "type": "image", + "texture": "textures/ui/common-classic_hover", + "layer": 3 + } + } + ] + }, + + "toggle_unchecked_hovered_state": { + "type": "panel", + "size": [ 38, 20 ], + "controls": [ + { "toggle_unchecked_state@toggle_unchecked_state": { } }, + { + "hover": { + "type": "image", + "texture": "textures/ui/common-classic_hover_1", + "layer": 3 + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/ui_edu_common.json b/resource_pack/ui/ui_edu_common.json new file mode 100644 index 0000000..d309f12 --- /dev/null +++ b/resource_pack/ui/ui_edu_common.json @@ -0,0 +1,1944 @@ +{ + "namespace": "edu_common", + + "light_label": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "color": "$generic_button_text_color", + "layer": 1 + }, + + "dark_label": { + "type": "label", + "color": "$title_text_color", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1 + }, + + "readable_label": { + "$default_font_scale_factor|default": 1.0, + "$normalized_font_scale_factor|default": 1.0, + // Using normalized font size for rendering non-smooth font, particularly for unicode languages + "variables": [ + { + "requires": "($use_normalized_font_size)", + "$font_scale_factor": "$normalized_font_scale_factor" + }, + { + "requires": "(not $use_normalized_font_size)", + "$font_scale_factor": "$default_font_scale_factor" + } + ], + "font_scale_factor": "$font_scale_factor", + "type": "label", + "size": [ "100% - 8px", "100%" ], + "offset": [ 3, 0 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "color": "$body_text_color", + "font_type": "smooth", + "text_alignment": "left" + }, + + // Requires specifying "$toggle_state_binding_name", "$toggle_enabled_binding_name", "$toggle_name" + "slider_toggle@settings_common.option_toggle_control": { + "size": [ "100%c", "100%c" ], + "$enabled": true, + "$toggle_enabled_binding_name|default": "#not_bound", + "$option_enabled_binding_name": "#not_bound", + // Doesn't need to be used but must exist as it'll be resolved as the default value of $toggle_state_binding_name + "$option_binding_name": "#not_bound", + "variables": [] + }, + + "trash_default": { + "type": "image", + "texture": "textures/ui/trash_default" + }, + + "trash_hover": { + "type": "image", + "texture": "textures/ui/trash_hover" + }, + + "trash_pressed": { + "type": "image", + "texture": "textures/ui/trash_pressed" + }, + + "photo_trash_button": { + "type": "button", + "focus_enabled": true, + "size": [ 11, 12 ], + "layer": 1, + "default_control": "default", + "hover_control": "hover", + "pressed_control": "pressed", + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "controls": [ + { "default@edu_common.trash_default": {} }, + { "hover@edu_common.trash_hover": {} }, + { "pressed@edu_common.trash_pressed": {} } + ] + }, + + // A modal downloading window originally used by library_item_screen, moved here so it could be used by other screens. + "download_progress_modal_panel@common.input_panel": { + "layer": 201, + "size": [ "100%", "100%" ], + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.download_cancel", + "mapping_type": "global" + } + ], + "bindings": [ + { + "binding_name": "#is_download_in_progress", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "downloading@edu_common.modal_progress_panel_with_cancel": { + "layer": 1, + "$background_fill_alpha": 1.0, + "$pressed_button_name": "button.download_cancel" + } + } + ] + }, + + "loading_progress_modal_panel@common.input_panel": { + "layer": 201, + "size": [ "100%", "100%" ], + "bindings": [ + { + "binding_name": "#is_loading_in_progress", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "loading@edu_common.modal_progress_panel_no_button": { + "layer": 1 + } + } + ] + }, + + "modal_cancel_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.download_cancel", + "$button_text": "gui.cancel" + }, + + "modal_progress_panel_with_cancel": { + "type": "panel", + "size": "$modal_screen_size", + "$background_fill_alpha|default": 0.8, + "$title_text|default": "", + "$body_text|default": "", + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_2", + "$fill_alpha": "$background_fill_alpha", + "$show_close_button": false + } + }, + { + "title": { + "type": "label", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 8 ], + "layer": 4, + "text": "$title_text", + "color": "$8_color_format" + } + }, + { + "content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + // magic offset to make the scroll clipping perfect + "size": [ "100%-12px", "100%-60px" ], + "offset": [ 6, 20 ], + "controls": [ + { "title_panel@progress.title_panel": {} }, + { + "label": { + "type": "label", + "color": "$dark_button_default_text_color", + "size": [ "100% - 20px", "100% - 20px" ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "layer": 1, + "shadow": false, + "text": "$body_text" + } + }, + { "progress_loading_bars@progress.progress_loading_bars": {} } + ] + } + }, + { + "cancel_button@edu_common.modal_cancel_button": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "size": [ "40%", "20%" ], + "offset": [ 0, -8 ] + } + } + ] + }, + + "modal_progress_panel_no_button": { + "type": "panel", + "size": [ 204, 100 ], + "$background_fill_alpha|default": 0.8, + "$body_text|default": "", + "controls": [ + { + "common_panel@common.common_panel": { + "$dialog_background": "dialog_background_hollow_3", + "$fill_alpha": "$background_fill_alpha", + "$show_close_button": false + } + }, + { + "content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + // magic offset to make the scroll clipping perfect + "size": [ "100% - 12px", "100% - 12px" ], + "offset": [ 6, 6 ], + "controls": [ + { + "progress_title_text@progress.progress_title_text": { + "color": "$title_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 3 ], + "text": "menu.loadingLevel" + } + }, + { + "progress_loading_bars@progress.progress_loading_bars": { + "offset": [ 0, 15 ] + } + } + ] + } + } + ] + }, + + "apple_animation_definition": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 36, + "frame_step": 64, + "fps": 10, + "easing": "linear" + }, + + "apple_animation": { + "type": "image", + "texture": "textures/ui/eating_apple", + "uv": "@edu_common.apple_animation_definition", + "uv_size": [ 64, 64 ] + }, + + "book_animation_definition": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 36, + "frame_step": 64, + "fps": 12, + "easing": "linear" + }, + + "book_animation": { + "type": "image", + "texture": "textures/ui/book_animation", + "uv": "@edu_common.book_animation_definition", + "uv_size": [ 64, 64 ] + }, + + "edu_loading_animation@edu_common.book_animation": { + }, + + "horizontal_stack_item": { + "type": "panel", + "size": [ "100%c", "100%" ] + }, + + "vertical_stack_item": { + "type": "panel", + "size": [ "100%", "100%c" ] + }, + + "back_button_padded": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", "100%" ], + "bindings": [ + { + "binding_name": "(not #is_using_gamepad)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { "back_button_padding_before@common.empty_panel": { "size": [ 2, "100%sm" ] } }, + { + "back_button@common.back_title_button": { + "$button_text": "" + } + } + ] + }, + + "home_button_content": { + "type": "image", + "$texture": "textures/ui/library_home_icon", + "variables": [ + { + "requires": "($hover_state or $pressed_state)", + "$texture": "textures/ui/library_home_icon_hover" + } + ], + "texture": "$texture", + "size": [ 12, 12 ] + }, + + "home_button@common_buttons.light_glyph_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "offset": [ -3, 2 ], + "size": [ 18, 16 ], + "$pressed_button_name": "button.library_home", + "$button_content": "edu_common.home_button_content", + "$button_tts_header": "store.menu.home", + "$default_glyph_color": [ 1, 1, 1 ], + "$light_glyph_hover_color": [ 1, 1, 1 ], + "$light_glyph_pressed_color": [ 1, 1, 1 ], + "$light_glyph_locked_color": [ 1, 1, 1 ] + }, + + "underline_text": { + "type": "panel", + "size": [ "100%c", 10 ], + "$text_color|default": [ 0.215, 0.839, 0.118 ], + "controls": [ + { + "label_hover@common.single_line_label": { + "$single_line_label_color": "$text_color", + "$underline_control": [ + { "underline_hover@common.underline": {} } + ] + } + } + ] + }, + + "underline_button@common_buttons.underline_button": { + "pressed_control": "pressed", + "controls": [ + { + "default@edu_common.underline_text": { + "$text_color": "$dark_button_default_text_color" + } + }, + { + "hover@edu_common.underline_text": { + "$texture": "textures/ui/underline_focus" + } + }, + { + "pressed@edu_common.underline_text": { + "$texture": "textures/ui/underline_focus" + } + } + ] + }, + + // Requires + // - $title_text + // - (if image): $title_has_image: true and $title_texture + // - (if templates screen): $title_is_templates_screen: true + "edu_screen_header@common.top_bar": { + "layer": 1, + "controls": [ + { + "title_controls": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100% - 3px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$title_has_image|default": false, + "$title_is_templates_screen|default": false, + "controls": [ + { + "back_item@edu_common.horizontal_stack_item": { + "layer": 1, + "controls": [ + { "back_button@edu_common.back_button_padded": {} }, + { + "gamepad@common.gamepad_helper_b": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$hide_description": true + } + } + ] + } + }, + { + "image_item@edu_common.horizontal_stack_item": { + "layer": 1, + "ignored": "(not $title_has_image)", + "controls": [ + { + "image": { + "size": [ "100%y", "100% - 4px" ], + "type": "image", + "texture": "$title_texture", + "$title_image_bindings|default": [], + "bindings": "$title_image_bindings" + } + } + ] + } + }, + { + "image_item_template@edu_common.horizontal_stack_item": { + "ignored": "(not $title_is_templates_screen)", + "controls": [ + { + "image": { + "size": [ "100%y", "100% - 4px" ], + "type": "image", + "texture": "textures/ui/storageIcon", + "color": "$dark_glyph_toggle_default_color", + "bindings": [], + "controls": [ + { + "image_color": { + "size": [ "100%y", "100%" ], + "type": "image", + "texture": "textures/ui/storageIconColor", + "bindings": [] + } + } + ] + } + } + ] + } + }, + { "title_text_padding@common.empty_panel": { "size": [ 3, "100%" ] } }, + { + "title_item@edu_common.horizontal_stack_item": { + "layer": 1, + "size": [ "100%", "100%" ], + "controls": [ + { + "title": { + "type": "label", + "size": [ "55%", 8 ], + "color": "$title_text_color", + "text": "$title_text", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$title_text_bindings|default": [], + "bindings": "$title_text_bindings" + } + } + ] + } + } + ] + } + } + ] + }, + + // Share text popup + + //header + "share_dialog_title": { + "type": "label", + "color": "$title_text_color", + "$popup_title_text|default": "($share_source + '.item.sharepopup.title.simple')", + "text": "$popup_title_text", + "layer": 2 + }, + + "share_header_panel": { + "type": "panel", + "layer": 2, + "size": [ "100% - 14px", 19 ], + "offset": [ 7, 3 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$close_button_id|default": "button.close_share_popup", + "controls": [ + { "title@edu_common.share_dialog_title": {} }, + { + "close_button@common.close_button": { + "$close_button_offset": [ 5, 0 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "$close_button_to_button_id": "$close_button_id" + } + } + ] + }, + + "teams_advanced_share_header_panel@edu_common.share_header_panel": { + "$popup_title_text": "$teams_advanced_share_header_text" + }, + + "add_resource_share_header_panel@edu_common.share_header_panel": { + "$close_button_id": "button.cancel_add_resource_button", + "$popup_title_text": "($share_source + '.item.sharepopup.title.addResource')" + }, + + //body + "body_panel": { + "type": "panel", + "size": [ 300, "100%cm" ], + "layer": 1, + + "$body_stack|default": "edu_common.body_content_stack", + "controls": [ + { "body_stack@$body_stack": {} } + ] + }, + + //teams_body + "teams_body_panel@edu_common.body_panel": { + "$body_stack": "edu_common.teams_body_content_stack" + }, + + "teams_body_resource_panel@edu_common.body_panel": { + "$body_stack": "edu_common.teams_body_resource_content_stack" + }, + + "teams_simple_body_resource_panel@edu_common.body_panel": { + "$body_stack": "edu_common.teams_simple_body_content_stack" + }, + + "joincode_body_panel@edu_common.body_panel": { + "$body_stack": "edu_common.joincode_body_content_stack" + }, + + "add_resource_body_panel@edu_common.body_panel": { + "$body_stack": "edu_common.add_edit_resource_body_content_stack" + }, + + "icon_section": { + "type": "stack_panel", + "controls": [ + { "icon_stack_panel@edu_common.icon_stack_panel": {} }, + { "icon_padding@common.empty_panel": { "size": [ "100%", 18 ] } } + ] + }, + + // Panel for adding A url resources to an edu world's pause menu. + "add_resources_section": { + "type": "stack_panel", + "controls": [ + { "divider@edu_common.horizontal_divider": { "size": [ "100%", 20 ] } }, + { + "add_resource_label@edu_common.share_dialog_body_text": { + "$popup_body_text": "($share_source + '.item.sharepopup.secondaryText')" + } + }, + { "teams_padding_middle@common.empty_panel": { "size": [ "100%", 8 ] } }, + { + "resource_button@common_buttons.light_text_button": { + "$focus_override_up": "copy_button", + "$focus_override_right": "teams_button", + "size": [ "100%", 24 ], + "$pressed_button_name": "button.resource_button", + "$button_text": "($share_source + '.item.sharepopup.addResourceButton')", + "focus_identifier": "$pressed_button_name" + } + } + ] + }, + + "edit_resource_uri_glyph": { + "type": "image", + "layer": 2, + "$glyph_size|default": [ 22, 16 ], + "size": "$glyph_size", + "texture": "textures/ui/editIcon" + }, + + "edit_resources_section": { + "type": "stack_panel", + "controls": [ + { "divider@edu_common.horizontal_divider": { "size": [ "100%", 20 ] } }, + { + "resource_label_text@edu_common.share_dialog_body_text": { + "$popup_body_text": "($share_source + '.item.sharepopup.editResourceLabel')" + } + }, + { "teams_padding_middle@common.empty_panel": { "size": [ "100%", 8 ] } }, + { + "edit_resource_body_button_stack": { + "type": "stack_panel", + "orientation": "horizontal", + "layer": 5, + "size": [ "100%", "100%cm" ], + "controls": [ + { + "resource_button@edu_pause.shared_resource_uri_button": { + "$focus_id": "resource_button", + "$focus_override_up": "copy_button", + "$focus_override_left": "copy_button", + "size": [ "fill", "100%sm" ] + } + }, + { "padding_middle@common.empty_panel": { "size": [ 1, 4 ] } }, + { + "edit_resource_uri_button@common_buttons.light_glyph_button": { + "$focus_id": "edit_resource_uri_button", + "$focus_override_up": "copy_button", + "$focus_override_right": "teams_button", + "size": [ 28, 24 ], + "layer": 1, + "$button_content": "edu_common.edit_resource_uri_glyph", + "$pressed_button_name": "button.resource_button", + "$button_tts_name": "($share_source + '.item.sharepopup.editResource.button.accessibility')", + "variables": [ + { + "requires": "($apple_os and $supports_clipboard_set)", + "$focus_override_right": "mail_button" + } + ] + } + } + ] + } + } + ] + }, + + "body_content_stack": { + "type": "stack_panel", + "orientation": "vertical", + "layer": 5, + "size": [ "100%", "100%c" ], + + "$icons_ignored|default": true, + "$resource_uri_state|default": "", + + "controls": [ + { + "body_text_centering_panel@edu_common.vertical_stack_item": { + "controls": [ + { "body_text@edu_common.share_dialog_body_text": {} } + ] + } + }, + { "padding_middle@common.empty_panel": { "size": [ "100%sm", 4 ] } }, + { + "icons@edu_common.icon_section": { + "ignored": "$icons_ignored", + "$focus_down": "copy_button", + "variables": [ + { + "requires": "($resource_uri_state = 'add_resource')", + "$wrap_focus_left": "button.resource_button" + }, + { + "requires": "($resource_uri_state = 'edit_resource')", + "$wrap_focus_left": "edit_resource_uri_button" + } + ] + } + }, + { + "copy_link_centering_panel@edu_common.vertical_stack_item": { + "controls": [ + { "copy_link_panel@edu_common.copy_link_stack_panel": {} } + ] + } + }, + { "add_resources@edu_common.add_resources_section": { "ignored": "(not ($resource_uri_state = 'add_resource'))" } }, + { "edit_resources@edu_common.edit_resources_section": { "ignored": "(not ($resource_uri_state = 'edit_resource'))" } } + ] + }, + + "teams_simple_body_content_stack@edu_common.body_content_stack": { + "$popup_body_text": "($share_source + '.item.sharepopup.body')", + "$icons_ignored": false + }, + + "teams_body_content_stack@edu_common.body_content_stack": { + "$body_size": [ "100% - 5px", "default" ], + "$popup_body_text": "$teams_body_content_stack_text", + "$icons_ignored": false, + "$resource_uri_state": "add_resource" + }, + + "teams_body_resource_content_stack@edu_common.body_content_stack": { + "$body_size": [ "100% - 5px", "default" ], + "$popup_body_text": "$share_resource_added_text", + "$icons_ignored": false, + "$resource_uri_state": "edit_resource" + }, + + "joincode_body_content_stack@edu_common.body_content_stack": { + "$body_size": [ "100% - 4px", "default" ], + "$body_font_size": 1.1, + "$popup_body_text": "joincode.popup.body", + "$icons_ignored": false, + "$add_resources_ignored": true, + "$edit_resources_ignored": true + }, + + "add_resource_body_content_stack": { + "type": "stack_panel", + "orientation": "vertical", + "layer": 5, + "size": [ "100%", "default" ], + + "$set_resource_url_text": "($share_source + '.item.sharepopup.addResource.urlLabel')", + "$set_resource_button_text": "($share_source + '.item.sharepopup.addResource.buttonNameLabel')", + + "controls": [ + { + "label_one_centering_panel@edu_common.vertical_stack_item": { + "controls": [ + { + "teams_share_label@edu_common.share_dialog_body_text": { + "$popup_body_text": "($share_source + '.item.sharepopup.addResource.labelOne')" + } + } + ] + } + }, + { "label_padding_middle@common.empty_panel": { "size": [ "100%sm", 5 ] } }, + { + "label_two_centering_panel@edu_common.vertical_stack_item": { + "controls": [ + { + "teams_share_label@edu_common.share_dialog_body_text": { + "$popup_body_text": "($share_source + '.item.sharepopup.addResource.labelTwo')" + } + } + ] + } + }, + { "learn_more_padding_middle@common.empty_panel": { "size": [ "100%sm", 5 ] } }, + { + "link1@edu_common.underline_button": { + "$single_label_size": [ "default", "default" ], + "$single_line_font_scale_factor": 1, + "$pressed_button_name": "button.add_resource_learn_more", + "$single_line_label_text": "($share_source + '.item.sharepopup.addResource.learnMoreLinkText')", + "$focus_id": "button.add_resource_learn_more", + "$focus_override_left": "button.leave_add_resource", + "$focus_override_up": "button.leave_add_resource", + "$focus_override_right": "url_textbox", + "$focus_override_down": "url_textbox" + } + }, + { "url_padding_middle@common.empty_panel": { "size": [ "100%sm", 10 ] } }, + { + "url_label@edu_common.share_dialog_body_text": { + "$popup_body_text": "$set_resource_url_text", + "$focus_id": "url_textbox_label" + } + }, + { + "url_textbox@common.text_edit_box": { + "layer": 2, + "size": [ "100%", 20 ], + "$text_box_name": "#textbox.url", + "$text_box_tts_header": "$set_resource_url_text", + "$text_edit_box_content_binding_name": "#textbox.url.content", + "$place_holder_text": "($share_source + '.item.sharepopup.addResource.urlHintText')", + "$focus_id": "url_textbox", + "focus_change_left": "button.add_resource_learn_more", + "focus_change_up": "button.add_resource_learn_more", + "focus_change_right": "button_name", + "focus_change_down": "button_name", + "max_length": 512 + } + }, + { + "inline_notification@edu_common.inline_notification": { + "$state": "error", + "$warning_text": "($share_source + '.item.sharepopup.addResource.invalidSchema'", + "bindings": [ + { + "binding_name": "#has_resource_uri_error", + "binding_name_override": "#visible" + } + ] + } + }, + { "inline_notification_spacer@common.empty_panel": { "size": [ "100%sm", 5 ] } }, + { + "button_name_label@edu_common.share_dialog_body_text": { + "$popup_body_text": "$set_resource_button_text", + "$focus_id": "button_name" + } + }, + { "button_middle_spacer@common.empty_panel": { "size": [ "100%sm", 2 ] } }, + { + "button_name_textbox@common.text_edit_box": { + "layer": 2, + "size": [ "100%", 20 ], + "$text_box_name": "#textbox.buttonName", + "$text_box_tts_header": "$set_resource_button_text", + "$text_edit_box_content_binding_name": "#textbox.buttonName.content", + "$place_holder_text": "($share_source + '.item.sharepopup.addResource.buttonNameHintText')", + "$focus_id": "button_name", + "max_length": 20, + "focus_change_up": "url_textbox", + "focus_change_left": "url_textbox", + "focus_change_right": "button.done_add_resource_button", + "focus_change_down": "button.done_add_resource_button", + "bindings": [ + { + "binding_name": "#resource_uri_done_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "button_name_textbox_next_disabled@common.text_edit_box": { + "layer": 2, + "size": [ "100%", 20 ], + "$text_box_name": "#textbox.buttonName", + "$text_box_tts_header": "$set_resource_button_text", + "$text_edit_box_content_binding_name": "#textbox.buttonName.content", + "$place_holder_text": "($share_source + '.item.sharepopup.addResource.buttonNameHintText')", + "$focus_id": "button_name", + "max_length": 20, + "focus_change_up": "url_textbox", + "focus_change_left": "url_textbox", + "focus_change_right": "button.leave_add_resource", + "focus_change_down": "button.leave_add_resource", + "bindings": [ + { + "binding_name": "(not #resource_uri_done_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "add_edit_resource_body_content_stack": { + "type": "panel", + "layer": 5, + "size": [ "100%", 128 ], + "controls": [ + { + "scroll_content": { + "type": "panel", + "size": [ "100%", 128 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "$scrolling_content": "edu_common.add_resource_body_content_stack", + "$show_background": false, + "$scroll_size": [ 5, "100%" ], + "$scroll_bar_left_padding_size": [ 1, 0 ] + } + } + ] + } + } + ] + }, + + "resource_popup_buttons": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "orientation": "horizontal", + "controls": [ + { + "done_button@common_buttons.light_text_button": { + "size": [ "fill", "100%" ], + "$pressed_button_name": "button.done_add_resource_button", + "$button_text": "($share_source + '.item.sharepopup.addResource.doneButton')", + "focus_identifier": "$pressed_button_name", + "focus_change_left": "button_name", + "bindings": [ + { + "binding_name": "#resource_uri_done_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { "button_padding@common.empty_panel": { "size": [ 2, "100%" ] } }, + { + "back_button_panel": { + "size": [ "fill", "100%" ], + "type": "panel", + "controls": [ + { + "back_button_enabled@common_buttons.light_text_button": { + "size": [ "100%", "100%" ], + "$pressed_button_name": "$back_button_name", + "$button_text": "$back_button_text", + "focus_identifier": "button.leave_add_resource", + "focus_change_right": "button.add_resource_learn_more", + "focus_change_down": "button.add_resource_learn_more", + "bindings": [ + { + "binding_name": "#resource_uri_done_enabled", + "binding_name_override": "#visible" + } + ] + } + }, + { + "back_button_disabled@common_buttons.light_text_button": { + "size": [ "100%", "100%" ], + "$pressed_button_name": "$back_button_name", + "$button_text": "$back_button_text", + "focus_identifier": "button.leave_add_resource", + "focus_change_left": "button_name", + "focus_change_right": "button.add_resource_learn_more", + "focus_change_down": "button.add_resource_learn_more", + "bindings": [ + { + "binding_name": "(not #resource_uri_done_enabled)", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "add_resource_popup_lower_button_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "$back_button_text|default": "", + "$back_button_name|default": "", + "controls": [ + { + "edit_resource_popup_buttons@edu_common.resource_popup_buttons": { + "$back_button_name": "button.delete_resource_button", + "$back_button_text": "($share_source + '.item.sharepopup.addResource.deleteButton')", + "bindings": [ + { + "binding_name": "#has_edu_external_link", + "binding_name_override": "#visible" + } + ] + } + }, + { + "add_resource_popup_buttons@edu_common.resource_popup_buttons": { + "$back_button_name": "button.cancel_add_resource_button", + "$back_button_text": "($share_source + '.item.sharepopup.addResource.cancelButton')", + "bindings": [ + { + "binding_name": "#is_adding_resource", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "share_dialog_body_text": { + "$body_font_size|default": 1.0, + "$body_size|default": [ "100%", "default" ], + "$popup_body_text|default": "($share_source + '.item.sharepopup.body')", + + "type": "panel", + "size": [ "100%", "100%cm" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%", "100%sm" ], + "layer": 1, + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "text": { + "type": "label", + "color": "$body_text_color", + "font_type": "smooth", + "text": "$popup_body_text", + "font_scale_factor": "$body_font_size", + "size": "$body_size", + "layer": 1 + } + } + ] + }, + + "share_icon": { + "type": "image", + "layer": 2, + "size": "$share_icon_size", + "texture": "$share_icon_texture", + "offset": "$share_icon_offset" + }, + + "share_label": { + "type": "stack_panel", + "size": [ "100%", "100%" ], + "offset": [ 0, 1 ], + "orientation": "horizontal", + "controls": [ + { + "share_image_offset_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "variables": [ + { + "requires": "($apple_os and $supports_share)", + "$share_icon_texture": "textures/ui/share_apple", + "$share_icon_offset": [ 3.5, 0.5 ], + "$share_icon_size": [ 11, 15 ] + }, + { + "requires": "(($microsoft_os or (not $apple_os and not $google_os)) and $supports_share)", + "$share_icon_texture": "textures/ui/share_microsoft", + "$share_icon_offset": [ 2.0, 2.0 ], + "$share_icon_size": [ 15, 13 ] + }, + { + "requires": "($google_os and $supports_share)", + "$share_icon_texture": "textures/ui/share_google", + "$share_icon_offset": [ 2.0, 1.0 ], + "$share_icon_size": [ 14, 13 ] + }, + { + "requires": "($supports_clipboard_set and not $supports_share)", + "$share_icon_texture": "textures/ui/copy", + "$share_icon_offset": [ 2.0, 1.0 ], + "$share_icon_size": [ 13, 14 ] + } + ], + "controls": [ + { + "link_share@edu_common.share_icon": { + } + } + ] + } + } + ] + }, + + "copy_link_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm" ], + "$placeholder_text": "#share_link", + "$focus_left|default": "classrooms_button", + "$focus_right|default": "resource_button", + + "$clipboard_share": "($supports_clipboard_set and not $supports_share)", + "variables": [ + { + "requires": "$clipboard_share", + "$button_tts_header": "share.clipboard.tts" + }, + { + "requires": "(not $clipboard_share)", + "$button_tts_header": "share.deviceShare.tts" + } + ], + + "controls": [ + { + "link_box@common.text_edit_box": { + "size": [ "fill", "100%sm" ], + "enabled": false, + "$text_edit_box_enabled_binding_type": "none", + "$text_edit_box_label_anchor_point": "left_middle", + "$text_edit_box_label_size": [ "100%", 10 ], + "$place_holder_text": "$placeholder_item_share_link", + "$place_holder_text_color": "$body_text_color", + "$locked_text_alpha": 1.0 + } + }, + { + "copy_button@common_buttons.light_content_button": { + "$focus_id": "copy_button", + "$focus_override_left": "$focus_left", + "$focus_override_right": "$focus_right", + "$button_content": "edu_common.share_label", + "$pressed_button_name": "button.copy_share_link", + "size": [ "100%y", 24 ] + } + } + ] + }, + + "icon_stack_panel": { + "type": "stack_panel", + "size": [ "100%", 10 ], + "offset": [ 0, 1 ], + "orientation": "horizontal", + "$focus_down|default": "copy_button", + "$wrap_focus_left|default": "copy_button", + "controls": [ + { "padding_left@common.empty_panel": { "size": [ "fill", "100%" ] } }, + { + "teams_button@edu_common.default_share_button": { + "$focus_id": "teams_button", + "$focus_override_down": "$focus_down", + "$focus_override_left": "$wrap_focus_left", + "$share_image": "textures/ui/teams_icon", + "$button_tts_header": "share.teams.tts", + "$pressed_button_name": "button.teams_share", + "$image_size": [ "100%", "100%" ], + "ignored": "($apple_os and $supports_clipboard_set)" + } + }, + { + "teams_mail_padding@common.empty_panel": { + "size": [ 12, "100%" ], + "ignored": "($apple_os and $supports_clipboard_set)" + } + }, + { + "mail_button@edu_common.default_share_button": { + "$focus_id": "mail_button", + "$focus_override_down": "$focus_down", + "$share_image": "textures/ui/mail_icon", + "$button_tts_header": "share.mail.tts", + "$pressed_button_name": "button.mail_share", + "$image_size": [ "100% - 6px", "100% - 4px" ] + } + }, + { + "mail_classrooms_padding@common.empty_panel": { + "size": [ 12, "100%" ] + } + }, + { + "classrooms_button@edu_common.default_share_button": { + "$focus_id": "classrooms_button", + "$focus_override_down": "$focus_down", + "$share_image": "textures/ui/classrooms_icon", + "$button_tts_header": "share.classroom.tts", + "$pressed_button_name": "button.classrooms_share", + "$image_size": [ "100% - 4px", "100% - 4px" ] + } + }, + { "padding_right@common.empty_panel": { "size": [ "fill", "100%" ] } } + ] + }, + + "default_share_button_contents": { + "type": "panel", + "$background_ignored|default": false, + "controls": [ + { + "background": { + "ignored": "$background_ignored", + "type": "image", + "texture": "textures/ui/White", + "color": [ 0.216, 0.216, 0.216 ], + "alpha": 0.8 + } + }, + { + "image": { + "type": "image", + "layer": 1, + "size": "$image_size", + "texture": "$share_image" + } + } + ] + }, + + "default_share_button@common.button": { + "size": [ 22, 22 ], + "controls": [ + { + "default@edu_common.default_share_button_contents": { + "$background_ignored": true + } + }, + { "hover@edu_common.default_share_button_contents": {} }, + { "pressed@edu_common.default_share_button_contents": {} } + ] + }, + + "vertical_divider": { + "type": "panel", + "size": [ 8, "100%" ], + "controls": [ + { + "divider": { + "type": "image", + "texture": "textures/ui/vertical_divider", + "alpha": 0.1, + "keep_ratio": false, + "size": [ 2, "100%" ] + } + } + ] + }, + + "horizontal_divider": { + "type": "panel", + "size": [ "100%", 8 ], + "$alpha|default": 0.1, + "controls": [ + { + "divider": { + "type": "image", + "texture": "textures/ui/horizontal_divider", + "alpha": "$alpha", + "keep_ratio": false, + "size": [ "100%", 2 ] + } + } + ] + }, + + "stack_panel_grid_slot": { + "type": "panel", + "size": [ "fill", "100%c" ], + "controls": [ + { + "stack_panel_grid_item_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { "stack_panel_grid_item@$stack_grid_item": {} } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "($grid_collection_prefix + '_column_collection')", + "binding_collection_prefix": "($grid_collection_prefix + '_column')" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "($grid_collection_prefix + '_row_collection')", + "binding_collection_prefix": "($grid_collection_prefix + '_row')" + }, + { + "binding_name": "('#' + $grid_collection_prefix + '_item_visible')", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + } + ] + }, + + "stack_panel_grid_row": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { + "stack_panel_grid_row_item": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "row": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% + 4px", "100%cm" ], + "collection_name": "($grid_collection_prefix + '_column_collection')", + "factory": { + "name": "($grid_collection_prefix + '_row_item_factory')", + "control_name": "edu_common.stack_panel_grid_slot" + }, + "bindings": [ + { + "binding_name": "('#' + $grid_collection_prefix + '_column_count')", + "binding_name_override": "#collection_length" + } + ] + } + } + ] + } + }, + { + "divider": { + "type": "panel", + "size": [ "100%", 11 ], + "controls": [ + { + "line": { + "type": "image", + "texture": "textures/ui/White", + "size": [ "100%", 1 ], + "alpha": 0.05 + } + } + ], + "bindings": [ + { + "binding_name": "('#' + $grid_collection_prefix + '_divider_visible')", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "($grid_collection_prefix + '_row_collection')" + } + ] + } + } + ] + }, + + // Requires + // - $grid_collection_prefix + // - $stack_grid_item + // - To get position in grid add collection detail bindings for row and column + // -- "binding_collection_name": "($grid_collection_prefix + '__collection')", + // -- "binding_collection_prefix": "($grid_collection_prefix + '_')" + // + "stack_panel_grid": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "collection_name": "($grid_collection_prefix + '_row_collection')", + "orientation": "vertical", + "factory": { + "name": "($grid_collection_prefix + '_row_factory')", + "control_name": "edu_common.stack_panel_grid_row" + }, + "bindings": [ + { + "binding_name": "('#' + $grid_collection_prefix + '_row_count')", + "binding_name_override": "#collection_length" + } + ] + }, + + "border": { + "type": "image", + "texture": "textures/ui/black_border" + }, + + // Requires + // - $ignore_page_description + // - $page_description + "description_panel": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.7, + "ignored": "$ignore_page_description", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "$default_focus_border_control": "edu_common.border", + "size": [ "100%", "100%sm + 10px" ], + "layer": 1, + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "description": { + "type": "label", + "color": "$body_text_color", + "font_type": "smooth", + "text": "$page_description", + "offset": [ 0, -0.5 ], + "size": [ "100% - 10px", "default" ], + "layer": 2 + } + } + ] + }, + + // Popup dialog and factory + "edu_share_text_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "($share_source + '.item.sharepopup.title.simple')", + "$modal_contents": "edu_common.body_panel", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.close_share_popup" + }, + + "teams_edu_share_text_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "$teams_advanced_share_header_text", + "$modal_contents": "edu_common.teams_body_panel", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.close_share_popup" + }, + + "teams_edu_share_resource_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "$teams_advanced_share_header_text", + "$modal_contents": "edu_common.teams_body_resource_panel", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.close_share_popup" + }, + + "teams_edu_simple_share_resource_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "($share_source + '.item.sharepopup.title.simple')", + "$modal_contents": "edu_common.teams_simple_body_resource_panel", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.close_share_popup" + }, + + "joincode_edu_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "($share_source + '.item.sharepopup.title.simple')", + "$modal_contents": "edu_common.joincode_body_panel", + "$modal_contents_padding": [ 6, 6 ], + "$popup_dialog_escape_button_name": "button.close_share_popup" + }, + + "add_resource_dialog@popup_dialog.form_fit_modal_dialog_popup": { + "$popup_dialog_escape_button_name": "button.cancel_add_resource_button", + + "$modal_title": "($share_source + '.item.sharepopup.title.addResource')", + "$modal_contents": "edu_common.add_resource_body_panel", + "$modal_contents_padding": [ 6, 6 ], + + "$popup_type": "popup_dialog.form_fit_screen_with_title_and_close_and_bottom_buttons", + "$lower_button_control": "edu_common.add_resource_popup_lower_button_panel" + }, + + "share_popup_dialog_factory": { + "type": "factory", + "control_ids": { + "share_link_popup": "@edu_common.edu_share_text_popup", + "teams_share_link_simple_popup": "@edu_common.teams_edu_simple_share_resource_popup", + "teams_share_link_popup": "@edu_common.teams_edu_share_text_popup", + "teams_share_link_resource_popup": "@edu_common.teams_edu_share_resource_popup", + "joincode_popup": "@edu_common.joincode_edu_popup", + "add_resource_dialog": "@edu_common.add_resource_dialog" + } + }, + + "inline_notification": { + "type": "image", + "texture": "textures/ui/background_indent_no_top", + "size": [ "100%", "100%cm" ], + "layer": 1, + "$state|default": "info", + "$icon|default": "textures/ui/WarningGlyph", + "$icon_size|default": [ 13, 20 ], + "variables": [ + { + "requires": "($state = 'info')", + "$icon": "textures/ui/infobulb", + "$icon_size": [ 15, 19 ] + }, + { + "requires": "($state = 'update')", + "$icon": "textures/ui/UpdateGlyph", + "$icon_size": [ 13, 20 ] + }, + { + "requires": "($state = 'warning')", + "$icon": "textures/ui/WarningGlyph", + "$icon_size": [ 13, 20 ] + }, + { + "requires": "($state = 'error')", + "$icon": "textures/ui/ErrorGlyph", + "$icon_size": [ 13, 20 ] + } + ], + "controls": [ + { + "stack": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", "100%cm + 11px" ], + "offset": [ 3, 5 ], + "layer": 2, + "controls": [ + { + "icon": { + "type": "image", + "texture": "$icon", + "size": "$icon_size", + "layer": 3 + } + }, + { + "spacer": { + "type": "panel", + "size": [ 4, "100%sm" ], + "layer": 3 + } + }, + { + "warning_text": { + "type": "label", + "color": "$body_text_color", + "size": [ "fill", "default" ], + "layer": 3, + "font_type": "smooth", + "text": "$warning_text" + } + } + ] + } + } + ] + }, + + "search_button_content": { + "type": "image", + "texture": "textures/ui/spyglass_flat", + "size": [ 12, 12 ] + }, + + "search_bar_and_home_button": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "40%", 18 ], + "offset": [ 0, 1 ], + "layer": 5, + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + "search_bar": { + "type": "panel", + "size": [ "100%-41px", "100%" ], + "controls": [ + { + "search_bar@common.text_edit_box": { + "size": [ "100%", 16 ], + "offset": [ 1, 0 ], // Overlaps the search button as per Figma + "max_length": 50, + "$placeholder_label_size": [ "100%", 10 ], + "$place_holder_text": "library.search.placeholder", + "$text_box_name": "search_text", + "property_bag": { + "#property_field": "#item_name" + } + } + } + ] + } + }, + { + "search_button@common_buttons.light_glyph_button": { + "size": [ 18, "100%" ], + "$pressed_button_name": "button.library_search", + "$button_content": "edu_common.search_button_content", + "$button_tts_header": "store.search.button" + } + }, + { "search_pad@common.empty_panel": { "size": [ 2, "100%" ] } }, + { "home_button@edu_common.home_button": { "size": [ 18, "100%" ] } }, + { "end_pad@common.empty_panel": { "size": [ 3, "100%" ] } } + ] + }, + + "hotbar_hint": { + "type": "panel", + "ignored": "(not $education_edition)", + "controls": [ + { + "inactive_slot_dimmer": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.2, + "layer": 20 + } + }, + { + "bound_key_glyph_background": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": 0.75, + "layer": 21, + "size": [ 8, 9 ], + "offset": [ 1, -3 ], + "anchor_to": "top_left", + "anchor_from": "top_left", + "controls": [ + { + "bound_key_glyph_text": { + "type": "label", + "layer": 22, + "anchor_to": "center", + "anchor_from": "center", + "$hotbar_hint_binding_name|default": "#hotbar_hint_bound_key", + "$hotbar_hint_binding_condition|default": "none", + "text": "$hotbar_hint_binding_name", + "font_size": "normal", + "color": "$body_text_color", + "offset": [ 0.25, 0.5 ], + "bindings": [ + { + "binding_name": "$hotbar_hint_binding_name", + "binding_type": "collection", + "binding_collection_name": "$hotbar_collection_name", + "binding_condition": "$hotbar_hint_binding_condition" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_hint_bound_key_glyph_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$hotbar_collection_name" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#hotbar_hint_bound_key", + "binding_type": "collection", + "binding_collection_name": "$hotbar_collection_name" + }, + { + "binding_name": "#hotbar_hint_visible", + "binding_name_override": "#visible", + "binding_type": "collection", + "binding_collection_name": "$hotbar_collection_name", + "binding_condition": "always" + } + ] + }, + + "view_toggle_content@edu_common": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 16 ], + "controls": [ + { + "button_image_templates": { + "size": [ "100%y - 2px", "100%" ], + "type": "image", + "visible": "$goingToTemplates", + "texture": "textures/ui/storageIcon", + "color": "$dark_glyph_toggle_default_color", + "controls": [ + { + "image_color_templates": { + "size": [ "100%", "100%" ], + "type": "image", + "visible": "$goingToTemplates", + "texture": "textures/ui/storageIconColor" + } + } + ] + } + }, + //Worlds icon is one complete image, so need 2 separate flows + { + "button_image_worlds": { + "size": [ "100%y - 2px", "100%" ], + "type": "image", + "visible": "(not $goingToTemplates)", + "texture": "textures/ui/worldsIcon" + } + }, + { + "button_label_wrapper": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { + "button_label": { + "type": "label", + "offset": [ 4, 0 ], + "text": "$toggle_button_label", + "color": "$body_text_color" + } + } + ] + } + }, + { "left_edge_text_padding@common.empty_panel": { "size": [ 4, "100%sm" ] } } + ] + }, + + "worlds_and_templates_search_bar": { + //Top level image background, holds a stack panel that organizes elements + "type": "image", + "size": [ "100%", 33 ], + "texture": "textures/ui/edu_worlds_search_bar", + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 30 ], + "anchor_from": "top_right", + "anchor_to": "top_right", + "controls": [ + { + //Each element needs to be set in a wrapper panel to use offsets + "search_bar_wrapper": { + "type": "panel", + "size": [ "fill", 26 ], + "controls": [ + { + "search_bar@common.text_edit_box": { + "size": [ "100%", 26 ], + "offset": [ 4, 3 ], + "max_length": 50, + "$placeholder_label_size": [ "100%", 10 ], + // Variable expected to be overwritten where element is used + "$place_holder_text": "$place_holder_text", + "$text_box_name": "$text_box_name" + } + } + ] + } + }, + //3px space + 4 offset of search_bar + //Will be updated with addition of sort button later + { "temp_padding@common.empty_panel": { "size": [ 7, "100%sm" ] } }, + //Space for Sort dropdown + { + "view_toggle_background": { + "type": "image", + "size": [ "100%c", 32 ], + "texture": "textures/ui/edu_templates_button", + "controls": [ + { + "stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%c", 26 ], + "controls": [ + { "left_edge_padding@common.empty_panel": { "size": [ 4, "100%sm" ] } }, + { + "view_toggle_button@common_buttons.dark_content_form_fitting_button": { + "size": [ "100%c", 26 ], + "$pressed_button_name": "button.view_toggle", + "$button_offset": [ 0, 0 ], + "$button_pressed_offset": [ 0, 0 ], + "$toggle_button_label": "$toggle_button_label", + "$goingToTemplates": "$goingToTemplates", + "$button_content": "edu_common.view_toggle_content" + } + }, + { "right_edge_padding@common.empty_panel": { "size": [ 3, "100%sm" ] } } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "edu_cloud_conflict_resolution_popup_dialog_factory": { + "type": "factory", + "control_ids": { + "conflict_resolution_popup": "@edu_common.edu_cloud_conflict_resolution_popup" + } + }, + + "edu_cloud_conflict_resolution_popup@popup_dialog.form_fit_modal_dialog_popup": { + "$modal_title": "popup.title.eduCloudConflictResolution", + "$modal_contents": "edu_common.edu_cloud_conflict_resolution_content", + "$popup_dialog_escape_button_name": "button.close_edu_cloud_conflict_resolution_popup", + "$modal_contents_padding": [ 6, 6 ], + "$no_close_button": true + }, + + "edu_cloud_conflict_resolution_content": { + "type": "stack_panel", + "size": [ 250, "100%c" ], + "controls": [ + { + "conflict_resolution_description_wrapper": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%sm + 5px", "100%sm" ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "conflict_resolution_description": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "#edu_cloud_conflict_resolution_description", + "bindings": [ + { + "binding_name": "#edu_cloud_conflict_resolution_description" + } + ] + } + } + ] + } + }, + { "padding1@common.empty_panel": { "size": [ "100%sm", 10 ] } }, + { + "world_info_wrapper": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "controls": [ + { + "tts_border@common.non_interact_focus_border_button": { + "tts_inherit_siblings": true, + "size": [ "100%sm + 5px", "100%sm" ], + "bindings": [ + { + "binding_name": "#tts_enabled", + "binding_name_override": "#enabled" + } + ] + } + }, + { + "world_info_stack": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "local_world_name_label": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "#edu_cloud_conflict_resolution_local_name", + "bindings": [ + { + "binding_name": "#edu_cloud_conflict_resolution_local_name", + "binding_type": "global" + } + ] + } + }, + { + "local_world_last_changed_label": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "#edu_cloud_conflict_resolution_local_date", + "bindings": [ + { + "binding_name": "#edu_cloud_conflict_resolution_local_date", + "binding_type": "global" + } + ] + } + }, + { + "cloud_world_name_label": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "#edu_cloud_conflict_resolution_cloud_name", + "bindings": [ + { + "binding_name": "#edu_cloud_conflict_resolution_cloud_name", + "binding_type": "global" + } + ] + } + }, + { + "cloud_world_last_changed_label": { + "type": "label", + "size": [ "100%", "default" ], + "font_type": "smooth", + "color": "$body_text_color", + "text": "#edu_cloud_conflict_resolution_cloud_date", + "bindings": [ + { + "binding_name": "#edu_cloud_conflict_resolution_cloud_date", + "binding_type": "global" + } + ] + } + } + ] + } + } + ] + } + }, + { "padding2@common.empty_panel": { "size": [ "100%sm", 10 ] } }, + { + "keep_local_button@common_buttons.light_text_button": { + "size": [ "100%", 24 ], + "$button_text": "popup.buttons.eduConflictResolution.local", + "$pressed_button_name": "button.edu_cloud_conflict_resolution_local_button" + } + }, + { + "keep_cloud_button@common_buttons.light_text_button": { + "size": [ "100%", 24 ], + "$button_text": "popup.buttons.eduConflictResolution.cloud", + "$pressed_button_name": "button.edu_cloud_conflict_resolution_cloud_button" + } + }, + { + "keep_both_button@common_buttons.light_text_button": { + "size": [ "100%", 24 ], + "$button_text": "popup.buttons.eduConflictResolution.both", + "$pressed_button_name": "button.edu_cloud_conflict_resolution_both_button" + } + } + ] + } +} diff --git a/resource_pack/ui/ui_holo_cursor.json b/resource_pack/ui/ui_holo_cursor.json new file mode 100644 index 0000000..de5f917 --- /dev/null +++ b/resource_pack/ui/ui_holo_cursor.json @@ -0,0 +1,30 @@ +{ + "namespace": "ui_holo_cursor", + + "special_render": { + "type": "custom", + "renderer": "ui_holo_cursor" + }, + + "ui_holo_cursor@common.base_screen": { + "send_telemetry": false, + "screen_not_flushable": true, + "render_game_behind": true, + "is_showing_menu": false, + "is_modal": true, + "should_steal_mouse": false, + "render_only_when_topmost": false, + "screen_draws_last": true, + "low_frequency_rendering": true, + "$screen_content": "ui_holo_cursor.ui_holo_cursor_content" + }, + + "ui_holo_cursor_content": { + "type": "panel", + "controls": [ + { + "special_render@special_render": { } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/ui_purchase_common.json b/resource_pack/ui/ui_purchase_common.json new file mode 100644 index 0000000..82674af --- /dev/null +++ b/resource_pack/ui/ui_purchase_common.json @@ -0,0 +1,346 @@ +{ + "namespace": "purchase_common", + + + //-------------------------------------------------------------------------------- + // Common Controls + //-------------------------------------------------------------------------------- + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners", + "layer": 1 + }, + + "banner_empty": { + "type": "image", + "texture": "textures/ui/BannersTransparent" + }, + + "screenshots_grid_item": { + "type": "panel", + "size": [ "177.78%y", "100%" ], + "controls": [ + { + "frame@banner_empty": { + "size": [ "177.78%y - 1.558815625px", "100% - 2px" ], + "layer": 1, + "controls": [ + { + "screenshot_image": { + "type": "image", + "layer": 1, + "size": [ "100% - 2px", "100% - 2px" ], + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "category_collection", + "binding_name": "#screenshot_texture_name", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "category_collection", + "binding_name": "#screenshot_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "progress_loading@common_store.progress_loading": { + "layer": 5, + "$source_control_name": "screenshot_image", + "$source_property_name": "(#texture = '')", + "$hide_failure_text": true + } + }, + { + "screenshot_button@common.button": { + "layer": 4, + "size": [ "100%", "100%" ], + "focus_enabled": true, + "default_control": "", + "hover_control": "hover", + "pressed_control": "pressed", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection" + }, + { + "binding_type": "collection", + "binding_collection_name": "category_collection", + "binding_name": "#grid_button_focus_id", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "collection", + "binding_collection_name": "category_collection", + "binding_name": "#grid_button_override_right", + "binding_name_override": "#focus_change_right" + }, + { + "binding_type": "collection", + "binding_collection_name": "category_collection", + "binding_name": "#grid_button_override_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "collection", + "binding_collection_name": "category_collection", + "binding_name": "#grid_button_override_up", + "binding_name_override": "#focus_change_up" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.select_screenshot", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.select_screenshot", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover@common.focus_border_white": { + } + }, + { + "pressed@common.focus_border_white": { + } + } + ] + } + } + ] + } + } + ] + }, + + "screenshots_grid": { + "type": "grid", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "100%c", "100% - 4px" ], + "grid_item_template": "purchase_common.screenshots_grid_item", + "grid_dimension_binding": "#screenshots_grid_dimensions", + "collection_name": "category_collection", + "bindings": [ + { + "binding_name": "#screenshots_grid_dimensions" + } + ] + }, + + "key_image_frame@banner_empty": { + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ], + "size": [ "100%", "100%" ], + "layer": 1, + "controls": [ + { + "zoomed": { + "type": "image", + "layer": 1, + "size": [ "100% - 2px", "100% - 2px" ], + "bindings": [ + { + "binding_name": "#zoomed_texture_name", + "binding_name_override": "#texture" + }, + { + "binding_name": "#zoomed_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + }, + + "offer_grid_item": { + "type": "panel", + "size": [ "default", "100% - 6px" ], + "controls": [ + { + "frame@purchase_common.banner_fill": { + "size": [ "100% - 2px", "100%" ], + "layer": 3, + "controls": [ + { + "offer_key_art": { + "type": "image", + "layer": 5, + "size": [ "100% - 2px", "100% - 2px" ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_collection_name": "offer_collection", + "binding_name": "#offer_texture_name", + "binding_name_override": "#texture" + }, + { + "binding_type": "collection", + "binding_collection_name": "offer_collection", + "binding_name": "#offer_texture_file_system", + "binding_name_override": "#texture_file_system" + } + ] + } + }, + { + "offer_button": { + "type": "button", + + "$focus_id|default": "", + "$focus_override_down|default": "", + "$focus_override_up|default": "", + "$focus_override_left|default": "", + "$focus_override_right|default": "", + "focus_identifier": "$focus_id", + "focus_change_down": "$focus_override_down", + "focus_change_up": "$focus_override_up", + "focus_change_left": "$focus_override_left", + "focus_change_right": "$focus_override_right", + "focus_enabled": true, + + "layer": 4, + "default_control": "", + "hover_control": "hover", + "pressed_control": "pressed", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "offer_collection", + "binding_collection_prefix": "offers" + } + ], + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.select_offer", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.select_offer", + "mapping_type": "pressed" + } + ], + "controls": [ + { + "hover@common.square_image_border_white": { + } + }, + { + "pressed@common.square_image_border_white": { + } + } + ] + } + } + ] + } + } + ], + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "category_collection", + "binding_collection_prefix": "category" + }, + { + "binding_type": "collection", + "binding_collection_name": "offer_collection", + "binding_name": "#valid_offer_index", + "binding_name_override": "#visible" + } + ] + }, + + "offer_grid": { + "type": "grid", + "size": [ "100%c", "100%" ], + "offset": [ 0, 3 ], + "grid_item_template": "store.offer_grid_item", + "grid_dimension_binding": "#offer_grid_dimensions", + "collection_name": "offer_collection", + "bindings": [ + { + "binding_name": "#offer_grid_dimensions" + } + ] + }, + + //-------------------------------------------------------------------------------- + // Root Controls + //-------------------------------------------------------------------------------- + + "key_art_and_text": { + "type": "stack_panel", + "size": [ "100%", "fill" ], + "orientation": "horizontal", + "controls": [ + { + "key_image_panel": { + "type": "input_panel", + "size": [ "177.78%y - 1.5px", "100%" ], + "controls": [ + { "key_image@key_image_frame": {} } + ] + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, 0 ] + } + }, + { + "description_scroll@common.scrolling_panel": { + "$show_background": false, + "size": [ "fill", "100%" ], + "$scrolling_content": "purchase_common.pack_description", + "$scroll_size": [ 5, "100% - 4px" ], + "$scrolling_pane_size": [ "100% - 4px", "100%" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$scroll_bar_right_padding_size": [ 0, 0 ] + } + } + ] + }, + + "pack_description": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%", "default" ], + "text": "#pack_description", + "font_type": "smooth", + "shadow": true, + "layer": 1, + "bindings": [ + { + "binding_name": "#pack_description", + "binding_type": "global" + } + ] + } + +} \ No newline at end of file diff --git a/resource_pack/ui/ui_template_buttons.json b/resource_pack/ui/ui_template_buttons.json new file mode 100644 index 0000000..db73e76 --- /dev/null +++ b/resource_pack/ui/ui_template_buttons.json @@ -0,0 +1,2186 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "common_buttons", + + ///////////////////////////////// + // + // BUTTON CONTROLS + // + ///////////////////////////////// + + "button_image": { + "type": "image", + "layer": 1, + "texture": "$new_ui_button_texture", + "$button_alpha|default": "$content_alpha", + "alpha": "$button_alpha", + "$button_image_bindings|default": [], + "bindings": "$button_image_bindings" + }, + + "background_button_image": { + "type": "image", + "layer": 1, + "texture": "textures/ui/button_borderless_imagelesshoverbg", + "alpha": "$content_alpha" + }, + + "locked_button_image": { + "type": "image", + "layer": 1, + "texture": "$new_ui_button_texture", + "alpha": "$content_alpha" + }, + + "light_button_assets@common.button": { + "$default_button_texture|default": "textures/ui/button_borderless_light", + "$default_content_alpha|default": 1, + "$hover_content_alpha|default": 1, + "$hover_button_texture|default": "textures/ui/button_borderless_lighthover", + "$pressed_button_texture|default": "textures/ui/button_borderless_lightpressed", + "$locked_button_texture|default": "textures/ui/disabledButtonNoBorder", + + "locked_control": "locked", + + "$default_font|default": "default", + "$font_type": "$default_font", + "$locked_alpha": 1 + }, + + "dark_button_assets@common.button": { + "$default_button_texture|default": "textures/ui/button_borderless_dark", + "$hover_button_texture|default": "textures/ui/button_borderless_darkhover", + "$pressed_button_texture|default": "textures/ui/button_borderless_darkpressed", + "$locked_button_texture|default": "textures/ui/disabledButtonNoBorder", + + "locked_control": "locked", + + "$locked_alpha": 1 + }, + + "focus_border": { + "$focus_border_texture|default": "textures/ui/focus_border_white", + "$focus_border_size|default": [ "100%", "100%" ], + "size": "$focus_border_size", + "type": "image", + "texture": "$focus_border_texture" + }, + + "new_ui_button_panel": { + "type": "panel", + "$button_alpha|default": 1, + "layer": 1, + "$button_size_override|default": [ "100%", "100%" ], + "size": "$button_size_override", + "$content_alpha|default": 1, + "$button_image|default": "common_buttons.button_image", + "$button_image_visible|default": true, + "$button_image_size|default": [ "100% - 2px", "100% - 2px" ], + "$image_anchor|default": "center", + "$image_offset|default": [ 0, 0 ], + "$border_visible|default": true, + "$border_alpha|default": 1, + "$button_anchor_to|default": "center", + "$button_anchor_from|default": "center", + "anchor_to": "$button_anchor_to", + "anchor_from": "$button_anchor_from", + "$button_image_fill|default": false, + "$button_image_color|default": [ 1.0, 1.0, 1.0 ], + "controls": [ + { + "$button_image@$button_image": { + "ignored": "(not $button_image_visible)", + "size": "$button_image_size", + "offset": "$image_offset", + "anchor_from": "$image_anchor", + "anchor_to": "$image_anchor", + "layer": 1, + "fill": "$button_image_fill", + "color": "$button_image_color" + } + }, + { + "button_content": { + "type": "panel", + "$button_content_size|default": [ "100% - 6px", "100% - 6px" ], + "size": "$button_content_size", + + "controls": [ + { + "$button_type_panel@$button_type_panel": { + "layer": 3 + } + } + ] + } + }, + { + "border@common_buttons.focus_border": { + "color": "$border_color", + "layer": "$border_layer", + "alpha": "$border_alpha", + "ignored": "(not $border_visible)" + } + } + ] + }, + + "new_ui_form_fitting_button_panel": { + "type": "panel", + "layer": 1, + "size": "$button_size_override", + "$button_size_override|default": [ "100%c", "100%c" ], + "$focus_border_size_override|default": [ "100%c + 2px", "100%c + 2px" ], + "$button_image_size_override|default": [ "100%c + 2px", "100%c + 2px" ], + "$button_content_size_override|default": [ "100%c + 6px", "100%c + 6px" ], + + "$content_alpha|default": 1, + "anchor_from": "$anchor", + "anchor_to": "$anchor", + "controls": [ + { + "border@common_buttons.focus_border": { + "color": "$border_color", + "layer": "$border_layer", + "size": "$focus_border_size_override", + "$button_image|default": "common_buttons.button_image", + "controls": [ + { + "$button_image@$button_image": { + "size": "$button_image_size_override", + "$form_fitting_min_size|default": [ 0, 0 ], + "min_size": "$form_fitting_min_size", + "layer": 1, + "controls": [ + { + "button_content": { + "type": "panel", + "size": "$button_content_size_override", + "controls": [ + { + "$button_type_panel@$button_type_panel": { + "layer": 3 + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "new_ui_width_fitting_button_panel": { + "type": "panel", + "layer": 1, + "$button_size_override|default": [ "100%c", "100%" ], + "size": "$button_size_override", + "$content_alpha|default": 1, + "anchor_from": "$anchor", + "anchor_to": "$anchor", + "controls": [ + { + "border@common_buttons.focus_border": { + "color": "$border_color", + "layer": "$border_layer", + "size": [ "100%c + 2px", "100%" ], + "$button_image|default": "common_buttons.button_image", + "controls": [ + { + "$button_image@$button_image": { + "size": [ "100%c + 2px", "100% - 2px" ], + "layer": 1, + "controls": [ + { + "button_content": { + "type": "panel", + "size": [ "100%c + 6px", "100% - 6px" ], + "controls": [ + { + "$button_type_panel@$button_type_panel": { + "layer": 3 + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "new_ui_height_fitting_button_panel": { + "type": "panel", + "layer": 1, + "$button_size_override|default": [ "100%", "100%c" ], + "size": "$button_size_override", + "$button_min_size_override|default": [ "100%", "100%c" ], + "min_size": "$button_min_size_override", + "$content_alpha|default": 1, + "$anchor|default": "center", + "anchor_from": "$anchor", + "anchor_to": "$anchor", + "controls": [ + { + "border@common_buttons.focus_border": { + "color": "$border_color", + "layer": "$border_layer", + "size": [ "100%", "100%c + 2px" ], + "$button_border_min_size_override|default": [ "100%", "100%c + 2px" ], + "min_size": "$button_border_min_size_override", + "$button_image|default": "common_buttons.button_image", + "controls": [ + { + "$button_image@$button_image": { + "size": [ "100% - 2px", "100%c + 2px" ], + "$button_image_min_size_override|default": [ "100% - 2px", "100%c + 2px" ], + "min_size": "$button_image_min_size_override", + "layer": 1, + "$button_image_color|default": [ 1.0, 1.0, 1.0 ], + "color": "$button_image_color", + "controls": [ + { + "button_content": { + "type": "panel", + "size": [ "100% - 6px", "100%c + 6px" ], + "controls": [ + { + "$button_type_panel@$button_type_panel": { + "layer": 3 + } + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "borderless_form_fitting_button_panel": { + "type": "panel", + "layer": 1, + "$button_size_override|default": [ "100%c", "100%c" ], + "$button_image|default": "common_buttons.button_image", + "size": "$button_size_override", + "$button_panel_offset|default": [ 0, 0 ], + "offset": "$button_panel_offset", + "$content_alpha|default": 1, + "anchor_from": "$anchor", + "anchor_to": "$anchor", + "controls": [ + { + "$button_image@$button_image": { + "size": [ "100%c + 4px", "100%c" ], + "layer": 1, + "controls": [ + { + "button_content": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "$button_type_panel@$button_type_panel": { + "layer": 3 + } + } + ] + } + } + ] + } + } + ] + }, + + ///////////////////////////////// + // + // TEXT BUTTON + // + ///////////////////////////////// + + // This needs you to define the button mapping and the size of the button + "light_text_button@light_button_assets": { + "$button_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$button_text|default": "", + "$button_font_size|default": "normal", + "$button_font_scale_factor|default": 1.0, + "$pressed_alpha|default": 1, + "$default_button_alpha|default": 1, + "$default_hover_alpha|default": 1, + "$default_pressed_alpha|default": 1, + "$default_button_pressed_offset|default": [ 0, 1 ], + + "$default_text_color|default": "$light_button_default_text_color", + "$hover_text_color|default": "$light_button_hover_text_color", + "$pressed_text_color|default": "$light_button_pressed_text_color", + "$locked_text_color|default": "$light_button_locked_text_color", + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + + "$button_type_panel": "common_buttons.new_ui_binding_button_label", + "$button_state_panel|default": "common_buttons.new_ui_button_panel", + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "controls": [ + { + "default@$button_state_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$default_text_color", + "$secondary_text_color": "$light_button_secondary_default_text_color", + "$content_alpha": "$default_content_alpha", + "$border_color": "$light_border_default_color", + "$border_layer": 2, + "$default_state": true, + "$button_alpha": "$default_button_alpha", + "layer": 1 + } + }, + { + "hover@$button_state_panel": { + "$new_ui_button_texture": "$hover_button_texture", + "$text_color": "$hover_text_color", + "$secondary_text_color": "$light_button_secondary_hover_text_color", + "$content_alpha": 1, + "$border_color": "$light_border_hover_color", + "$border_layer": 4, + "$hover_state": true, + "$button_alpha": "$default_hover_alpha", + "layer": 4 // This is several layers higher than default in case two buttons share a border and that shared border needs to turn with with either button hover/press state + } + }, + { + "pressed@$button_state_panel": { + "$new_ui_button_texture": "$pressed_button_texture", + "$text_color": "$pressed_text_color", + "$secondary_text_color": "$light_button_secondary_pressed_text_color", + "$button_offset|default": "$button_pressed_offset", + "$content_alpha": "$pressed_alpha", + "$border_color": "$light_border_pressed_color", + "$border_layer": 5, + "$pressed_state": true, + "$button_alpha": "$default_pressed_alpha", + "layer": 5 + } + }, + { + "locked@$button_state_panel": { + "$new_ui_button_texture": "$locked_button_texture", + "$text_color": "$locked_text_color", + "$secondary_text_color": "$light_button_secondary_locked_text_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$light_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_layer": 1, + "$locked_state": true, + "layer": 1 + } + } + ] + }, + + "dark_text_button@dark_button_assets": { + "$button_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$button_text|default": "", + "$pressed_alpha|default": 1, + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + + "$button_type_panel": "common_buttons.new_ui_binding_button_label", + "$button_state_panel|default": "common_buttons.new_ui_button_panel", + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "controls": [ + { + "default@$button_state_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$dark_button_default_text_color", + "$secondary_text_color": "$dark_button_secondary_default_text_color", + "$content_alpha": 1, + "$border_color": "$dark_border_default_color", + "$border_layer": 2, + "$default_state": true, + "layer": 1 + } + }, + { + "hover@$button_state_panel": { + "$new_ui_button_texture": "$hover_button_texture", + "$text_color": "$dark_button_hover_text_color", + "$secondary_text_color": "$dark_button_secondary_hover_text_color", + "$content_alpha": 1, + "$border_color": "$dark_border_hover_color", + "$border_layer": 4, + "$hover_state": true, + "layer": 4 // This is several layers higher than default in case two buttons share a border and that shared border needs to turn with with either button hover/press state + + } + }, + { + "pressed@$button_state_panel": { + "$new_ui_button_texture": "$pressed_button_texture", + "$text_color": "$dark_button_pressed_text_color", + "$secondary_text_color": "$dark_button_secondary_pressed_text_color", + "$button_offset|default": "$button_pressed_offset", + "$content_alpha": "$pressed_alpha", + "$border_color": "$dark_border_pressed_color", + "$border_layer": 5, + "$pressed_state": true, + "layer": 5 + } + }, + { + "locked@$button_state_panel": { + "$new_ui_button_texture": "$locked_button_texture", + "$text_color": "$dark_button_locked_text_color", + "$secondary_text_color": "$dark_button_secondary_locked_text_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$dark_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_layer": 1, + "$locked_state": true, + "layer": 1 + } + } + ] + }, + + "new_ui_binding_button_label": { + "type": "label", + "layer": 2, + "text": "$button_text", + "color": "$text_color", + "$font_type|default": "default", + "font_type": "$font_type", + "font_size": "$button_font_size", + "$button_font_scale_factor|default": 1.0, + "font_scale_factor": "$button_font_scale_factor", + "$button_font_size|default": "normal", + "$new_ui_label_offset|default": "$button_offset", + "offset": "$new_ui_label_offset", + "$anchor|default": "center", + "anchor_from": "$anchor", + "anchor_to": "$anchor", + "shadow": false, + "$button_text_size|default": [ "default", "default" ], + "size": "$button_text_size", + "$button_text_max_size|default": [ "100%", 10 ], // Per design buttons are single line text only + "max_size": "$button_text_max_size", + "$text_alignment|default": "center", + "text_alignment": "$text_alignment", + "$tts_section_header|default": "", + "tts_section_header": "$tts_section_header", + "$button_text_collection_details|default": "none", + "$button_text_collection_prefix|default": "", + "bindings": [ + { + "binding_type": "$button_text_collection_details", + "binding_collection_name": "$button_text_grid_collection_name", + "binding_collection_prefix": "$button_text_collection_prefix" + }, + { + "binding_type": "$button_text_binding_type", + "binding_condition": "$button_binding_condition", + "binding_collection_name": "$button_text_grid_collection_name", + "binding_name": "$button_text", + "binding_name_override": "$button_text" + } + ] + }, + + "underline_button@common.button": { + "size": [ "100%c", "100%c" ], + + "$underline_button_size|default": [ "100%c", "100%c" ], + "$single_label_size": [ "default", 8 ], + "$single_line_font_scale_factor": 0.8, + "$pressed_button_name|default": "", + "$mashup_collection_binding_type|default": "global", + "$mashup_collection_name|default": "", + "$underline_default_color|default": "$generic_button_text_color", + "controls": [ + { + "default": { + "type": "panel", + "size": "$underline_button_size", + "controls": [ + { + "label_default@common.single_line_label": { + "$single_line_label_color": "$dark_button_default_text_color", + "$underline_control": [ + { + "underline_default@common.underline": { + "$underline_color": "$underline_default_color" + } + } + ] + } + } + ] + } + }, + { + "hover": { + "type": "panel", + "size": "$underline_button_size", + "controls": [ + { + "label_hover@common.single_line_label": { + "$single_line_label_color|default": [ 0.215, 0.839, 0.118 ], + "$underline_control": [ + { + "underline_hover@common.underline": { + "$texture": "textures/ui/underline_focus" + } + } + ] + } + } + ] + } + }, + { + "pressed": { + "type": "panel", + "size": "$underline_button_size", + "controls": [ + { + "label_hover@common.single_line_label": { + "$single_line_label_color|default": [ 0.215, 0.839, 0.118 ], + "$underline_control": [ + { + "underline_hover@common.underline": { + "$texture": "textures/ui/underline_focus" + } + } + ] + } + } + ] + } + } + ] + }, + + "read_button": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$offset|default": [ 0, 0 ], + "controls": [ + { + "read_button_inner@common_buttons.underline_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "offset": "$offset", + "$bindings|default": [], + "bindings": "$bindings" + } + } + ] + }, + + ///////////////////////////////// + // + // FORM FITTING CONTENT BUTTON + // + ///////////////////////////////// + + // Max size will be the size specified for the button, otherwise will shrink the width to fit the text, also only single line + // The default height of the button will be 20 texels which is the minimum required for touch target size + "light_content_form_fitting_button@common_buttons.light_content_button": { + "size": [ "100%c", "20px" ], + "$button_state_panel|default": "common_buttons.new_ui_form_fitting_button_panel", + "$anchor": "top_left", // Cannot override this or will cause unsolvable layout! + "$button_offset|default": [ 3, 3 ], + "$button_pressed_offset|default": [ 3, 4 ], + "$button_type_panel": "common_buttons.horizontal_form_fitting" + }, + + "dark_content_form_fitting_button@common_buttons.dark_content_button": { + "size": [ "100%c", "20px" ], + "$button_state_panel|default": "common_buttons.new_ui_form_fitting_button_panel", + "$anchor": "top_left", // Cannot override this or will cause unsolvable layout! + "$button_offset|default": [ 3, 3 ], + "$button_pressed_offset|default": [ 3, 4 ], + "$button_type_panel": "common_buttons.horizontal_form_fitting" + }, + + ///////////////////////////////// + // + // FORM FITTING TEXT BUTTON + // + ///////////////////////////////// + + // Max size will be the size specified for the button, otherwise will shrink the width to fit the text, also only single line + // The default height of the button will be 20 texels which is the minimum required for touch target size + "light_text_form_fitting_button@common_buttons.light_text_button": { + "size": [ "100%c", "100%c" ], + "$button_state_panel|default": "common_buttons.new_ui_form_fitting_button_panel", + "$anchor": "top_left", // Cannot override this or will cause unsolvable layout! + "$button_offset|default": [ 3, 3 ], + "$button_pressed_offset|default": [ 3, 4 ], + "$button_text_max_size": [ "100%c", 10 ] + }, + + "dark_text_form_fitting_button@common_buttons.dark_text_button": { + "size": [ "100%c", "100%c" ], + "$button_state_panel|default": "common_buttons.new_ui_form_fitting_button_panel", + "$anchor": "top_left", // Cannot override this or will cause unsolvable layout! + "$button_offset|default": [ 3, 3 ], + "$button_pressed_offset|default": [ 3, 4 ], + "$button_text_max_size": [ "100%c", 10 ] + }, + + ///////////////////////////////// + // + // GENERIC CONTENT BUTTON + // + ///////////////////////////////// + + "transparent_content_button@common_buttons.light_content_button": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right", + "layer": 2, + "$default_button_texture": "textures/ui/imagetaggedcorner", + "$hover_button_texture": "textures/ui/imagetaggedcorner", + "$pressed_button_texture": "textures/ui/imagetaggedcorner", + "$locked_button_texture": "textures/ui/imagetaggedcorner", + "$default_color": "white", + "$default_font": "smooth", + "$button_offset": [ 0, 0 ], + "$border_visible": false, + "$default_state_border_visible": false, + "$hover_state_border_visible": false, + "$pressed_state_border_visible": false, + "$locked_state_border_visible": false + }, + + "single_image_with_border_button@common_buttons.light_content_button": { + "$button_offset": [ 0, 0 ], + "$button_content|default": "common.empty_panel", + "$button_image_visible": false, + "$button_content_size": [ "100% - 2px", "100% - 2px" ] + }, + + "light_content_button@light_button_assets": { + + "$button_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$pressed_alpha|default": 1, + "$button_type_panel|default": "common_buttons.button_content_panel", + "$button_content|default": "common.empty_panel", + "$button_state_panel|default": "common_buttons.new_ui_button_panel", + + "$default_button_alpha|default": 1, + "$default_hover_alpha|default": 1, + "$default_pressed_alpha|default": 1, + "$border_default_alpha|default": 1, + + "$border_default_layer|default": 2, + "$border_hover_layer|default": 3, + "$border_pressed_layer|default": 3, + "$border_locked_layer|default": 1, + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + "$default_state_border_visible|default": true, + "$hover_state_border_visible|default": true, + "$pressed_state_border_visible|default": true, + "$locked_state_border_visible|default": true, + + "$default_text_color|default": "$light_button_default_text_color", + + "controls": [ + { + "default@$button_state_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$default_text_color", + "$content_alpha": "$default_content_alpha", + "$secondary_text_color": "$light_button_secondary_default_text_color", + "$glyph_color": "$light_glyph_default_color", + "$border_color": "$light_border_default_color", + "$button_alpha": "$default_button_alpha", + "$border_visible": "$default_state_border_visible", + "$border_layer": "$border_default_layer", + "$default_state": true, + "$border_alpha": "$border_default_alpha", + "layer": 1 + } + }, + + { + "hover@$button_state_panel": { + "$new_ui_button_texture": "$hover_button_texture", + "$text_color": "$light_button_hover_text_color", + "$secondary_text_color": "$light_button_secondary_hover_text_color", + "$glyph_color": "$light_glyph_hover_color", + "$content_alpha": "$hover_content_alpha", + "$border_color": "$light_border_hover_color", + "$border_visible": "$hover_state_border_visible", + "$border_layer": "$border_hover_layer", + "$hover_state": true, + "$button_alpha": "$default_hover_alpha", + "layer": 2 + } + }, + { + "pressed@$button_state_panel": { + "$new_ui_button_texture": "$pressed_button_texture", + "$text_color": "$light_button_pressed_text_color", + "$secondary_text_color": "$light_button_secondary_pressed_text_color", + "$glyph_color": "$light_glyph_pressed_color", + "$content_alpha": "$pressed_alpha", + "$button_offset": "$button_pressed_offset", + "$border_color": "$light_border_pressed_color", + "$border_visible": "$pressed_state_border_visible", + "$border_layer": "$border_pressed_layer", + "$button_alpha": "$default_pressed_alpha", + "$pressed_state": true, + "layer": 3 + } + }, + { + "locked@$button_state_panel": { + "$new_ui_button_texture": "$locked_button_texture", + "$text_color": "$light_button_locked_text_color", + "$secondary_text_color": "$light_button_secondary_locked_text_color", + "$glyph_color": "$light_glyph_locked_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$light_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_visible": "$locked_state_border_visible", + "$border_layer": "$border_locked_layer", + "$locked_state": true, + "layer": 1 + } + } + ] + }, + + "light_content_button_control_content@common_buttons.light_content_button": { + + "$button_content|default": "common.empty_panel", + "$button_content_hover|default": "common.empty_panel", + "$button_content_pressed|default": "common.empty_panel", + "$button_content_locked|default": "common.empty_panel", + + "controls": [ + { + "default@$button_state_panel": { + "$button_content": "$button_content", + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$default_text_color", + "$content_alpha": "$default_content_alpha", + "$secondary_text_color": "$light_button_secondary_default_text_color", + "$glyph_color": "$light_glyph_default_color", + "$border_color": "$light_border_default_color", + "$button_alpha": "$default_button_alpha", + "$border_visible": "$default_state_border_visible", + "$border_layer": 2, + "$default_state": true, + "$border_alpha": "$border_default_alpha", + "layer": 1 + } + }, + + { + "hover@$button_state_panel": { + "$button_content": "$button_content_hover", + "$new_ui_button_texture": "$hover_button_texture", + "$text_color": "$light_button_hover_text_color", + "$secondary_text_color": "$light_button_secondary_hover_text_color", + "$glyph_color": "$light_glyph_hover_color", + "$content_alpha": "$hover_content_alpha", + "$border_color": "$light_border_hover_color", + "$border_visible": "$hover_state_border_visible", + "$border_layer": 3, + "$hover_state": true, + "$button_alpha": "$default_hover_alpha", + "layer": 2 + } + }, + { + "pressed@$button_state_panel": { + "$button_content": "$button_content_pressed", + "$new_ui_button_texture": "$pressed_button_texture", + "$text_color": "$light_button_pressed_text_color", + "$secondary_text_color": "$light_button_secondary_pressed_text_color", + "$glyph_color": "$light_glyph_pressed_color", + "$content_alpha": "$pressed_alpha", + "$button_offset": "$button_pressed_offset", + "$border_color": "$light_border_pressed_color", + "$border_visible": "$pressed_state_border_visible", + "$border_layer": 3, + "$button_alpha": "$default_pressed_alpha", + "$pressed_state": true, + "layer": 3 + } + }, + { + "locked@$button_state_panel": { + "$button_content": "$button_content_locked", + "$new_ui_button_texture": "$locked_button_texture", + "$text_color": "$light_button_locked_text_color", + "$secondary_text_color": "$light_button_secondary_locked_text_color", + "$glyph_color": "$light_glyph_locked_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$light_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_visible": "$locked_state_border_visible", + "$border_layer": 1, + "$locked_state": true, + "layer": 1 + } + } + ] + }, + + "deactivated_light_content_button@common_buttons.light_content_button": { + "$default_button_texture": "textures/ui/disabledButtonNoBorder", + "$hover_button_texture": "textures/ui/disabledButtonNoBorder", + "$pressed_button_texture": "textures/ui/disabledButtonNoBorder", + "$locked_button_texture": "textures/ui/disabledButtonNoBorder" + + }, + + "dark_content_button@dark_button_assets": { + + "$button_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$pressed_alpha|default": 1, + "$button_type_panel|default": "common_buttons.button_content_panel", + "$button_content|default": "common.empty_panel", + "$button_state_panel|default": "common_buttons.new_ui_button_panel", + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "$hover_button_image_fill|default": false, + "$hover_content_alpha|default": 1, + "$hover_button_image_color|default": [ 1.0, 1.0, 1.0 ], + + "controls": [ + { + "default@$button_state_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$dark_button_default_text_color", + "$secondary_text_color": "$dark_button_secondary_default_text_color", + "$glyph_color": "$dark_glyph_default_color", + "$content_alpha": 1, + "$border_color": "$dark_border_default_color", + "$border_layer": 2, + "$default_state": true, + "layer": 1 + } + }, + { + "hover@$button_state_panel": { + "$new_ui_button_texture": "$hover_button_texture", + "$text_color": "$dark_button_hover_text_color", + "$secondary_text_color": "$dark_button_secondary_hover_text_color", + "$glyph_color": "$dark_glyph_hover_color", + "$content_alpha": "$hover_content_alpha", + "$border_color": "$dark_border_hover_color", + "$border_layer": 3, + "$hover_state": true, + "layer": 2, + "$button_image_fill": "$hover_button_image_fill", + "$button_image_color": "$hover_button_image_color" + } + }, + { + "pressed@$button_state_panel": { + "$new_ui_button_texture": "$pressed_button_texture", + "$text_color": "$dark_button_pressed_text_color", + "$secondary_text_color": "$dark_button_secondary_pressed_text_color", + "$glyph_color": "$dark_glyph_pressed_color", + "$content_alpha": "$pressed_alpha", + "$button_offset": "$button_pressed_offset", + "$border_color": "$dark_border_pressed_color", + "$border_layer": 3, + "$pressed_state": true, + "layer": 3 + } + }, + { + "locked@$button_state_panel": { + "$new_ui_button_texture": "$locked_button_texture", + "$text_color": "$dark_button_locked_text_color", + "$secondary_text_color": "$dark_button_secondary_locked_text_color", + "$glyph_color": "$dark_glyph_locked_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$dark_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_layer": 1, + "$locked_state": true, + "layer": 1 + } + } + ] + }, + + "no_background_content_button@common.button": { + + "size": [ "100%c", "100%c" ], + "$button_state_panel": "common_buttons.borderless_form_fitting_button_panel", + "$anchor": "top_left", // Cannot override this or will cause unsolvable layout! + "$button_text_max_size": [ "100%c", 10 ], + + "$button_offset|default": [ 0, 3 ], + "$pressed_button_offset|default": [ 0, 4 ], + "$pressed_alpha|default": 1, + "$locked_alpha": 1, + + // text color + "$default_text_color|default": "$light_button_default_text_color", + "$hover_text_color|default": "$light_button_hover_text_color", + "$pressed_text_color|default": "$light_button_pressed_text_color", + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_binding_condition|default": "none", + "$button_text_grid_collection_name|default": "", + + "$button_type_panel": "common_buttons.button_content_panel", + "$border_visible": false, + "$button_image_visible": false, + "$button_content|default": "common.empty_panel", + "$button_image|default": "common.empty_panel", + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "locked_control": "locked", + + "$default_button_texture|default": "", + "$locked_button_texture|default": "textures/ui/disabledButtonNoBorder", + + "controls": [ + { + "default@$button_state_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$text_color": "$default_text_color", + "$secondary_text_color": "$light_button_secondary_default_text_color", + "$glyph_color": "$light_glyph_default_color", + "$button_image_visible": false, + "$content_alpha": 1, + "$border_color": "$light_border_default_color", + "$border_layer": 2, + "$default_state": true, + "layer": 1 + } + }, + { + "hover@$button_state_panel": { + "$text_color": "$hover_text_color", + "$secondary_text_color": "$light_button_secondary_hover_text_color", + "$glyph_color": "$light_glyph_hover_color", + "$content_alpha": 1, + "$button_image": "common_buttons.background_button_image", + "$border_color": "$light_border_hover_color", + "$border_layer": 3, + "$hover_state": true, + "layer": 2 + } + }, + { + "pressed@$button_state_panel": { + "$text_color": "$pressed_text_color", + "$secondary_text_color": "$light_button_secondary_pressed_text_color", + "$glyph_color": "$light_glyph_pressed_color", + "$content_alpha": "$pressed_alpha", + "$button_image": "common_buttons.background_button_image", + "$button_offset": "$pressed_button_offset", + "$border_color": "$light_border_pressed_color", + "$border_layer": 3, + "$pressed_state": true, + "layer": 3 + } + }, + { + "locked@$button_state_panel": { + "$new_ui_button_texture": "$locked_button_texture", + "$text_color": "$light_button_locked_text_color", + "$secondary_text_color": "$light_button_secondary_locked_text_color", + "$glyph_color": "$light_glyph_locked_color", + "$content_alpha": "$locked_alpha", + "$button_image": "common_buttons.locked_button_image", + "$border_color": "$light_border_locked_color", + "$border_layer": 1, + "$locked_state": true, + "layer": 1 + } + } + ] + }, + + "button_content_panel": { + "type": "panel", + "offset": "$button_offset", + "controls": [ + { + "content@$button_content": { + "layer": 2 + } + } + ] + }, + + "form_fitting_button_content_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "offset": "$button_offset", + "controls": [ + { + "content@$button_content": { + "layer": 2 + } + } + ] + }, + + + "horizontal_form_fitting": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "offset": "$button_offset", + "controls": [ + { + "content@$button_content": { + "layer": 2 + } + } + ] + }, + + "width_fitting_button_content_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "offset": "$button_offset", + "controls": [ + { + "content@$button_content": { + "layer": 2 + } + } + ] + }, + + "height_fitting_button_content_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "offset": "$button_offset", + "controls": [ + { + "content@$button_content": { + "layer": 2 + } + } + ] + }, + + ///////////////////////////////// + // + // GLYPH BUTTON + // + ///////////////////////////////// + + "light_glyph_button@light_button_assets": { + + "$button_content|default": "common.empty_panel", + "$button_content_offset|default": [ 0, 0 ], + "$pressed_alpha|default": 1, + "$button_type_panel": "common_buttons.glyph_content_panel", + "$default_button_alpha|default": 1, + "$default_hover_alpha|default": 1, + "$default_pressed_alpha|default": 1, + "$default_glyph_color|default": "$light_glyph_default_color", + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "$button_default_offset|default": [ 0, 0 ], + "$button_hover_offset|default": [ 0, 0 ], + "$button_pressed_offset|default": [ 0, 1 ], + "$button_locked_offset|default": [ 0, 0 ], + + "controls": [ + { + "default@common_buttons.new_ui_button_panel": { + "layer": 1, + "$new_ui_button_texture": "$default_button_texture", + "$glyph_color": "$default_glyph_color", + "$content_alpha": "$default_content_alpha", + "$border_color": "$light_border_default_color", + "$border_layer": 2, + "$default_state": true, + "$button_alpha": "$default_button_alpha", + "$button_press_offset": "$button_default_offset" + } + }, + { + "hover@common_buttons.new_ui_button_panel": { + "layer": 2, + "$new_ui_button_texture": "$hover_button_texture", + "$glyph_color": "$light_glyph_hover_color", + "$content_alpha": "$hover_content_alpha", + "$border_color": "$light_border_hover_color", + "$border_layer": 3, + "$hover_state": true, + "$button_alpha": "$default_hover_alpha", + "$button_press_offset": "$button_hover_offset" + } + }, + { + "pressed@common_buttons.new_ui_button_panel": { + "layer": 3, + "$new_ui_button_texture": "$pressed_button_texture", + "$glyph_color": "$light_glyph_pressed_color", + "$content_alpha": "$pressed_alpha", + "$border_color": "$light_border_pressed_color", + "$border_layer": 3, + "$pressed_state": true, + "$button_alpha": "$default_pressed_alpha", + "$button_press_offset": "$button_pressed_offset" + } + }, + { + "locked@common_buttons.new_ui_button_panel": { + "$new_ui_button_texture": "$locked_button_texture", + "$glyph_color": "$light_glyph_locked_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$light_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_layer": 1, + "$button_press_offset": "$button_locked_offset", + "$locked_state": true, + "layer": 1 + } + } + ] + }, + + "dark_glyph_button_default@common_buttons.new_ui_button_panel": { + "$new_ui_button_texture": "$default_button_texture", + "$glyph_color": "$dark_glyph_default_color", + "$border_color": "$dark_border_default_color", + "$border_layer": 2, + "$default_state": true, + "$button_press_offset": [ 0, 0 ], + "layer": 1 + }, + + "dark_glyph_button_hover@common_buttons.new_ui_button_panel": { + "$new_ui_button_texture": "$hover_button_texture", + "$glyph_color": "$dark_glyph_hover_color", + "$border_color": "$dark_border_hover_color", + "$border_layer": 3, + "$hover_state": true, + "$button_press_offset": [ 0, 0 ], + "layer": 2 + }, + + "dark_glyph_button_pressed@common_buttons.new_ui_button_panel": { + "$new_ui_button_texture": "$pressed_button_texture", + "$glyph_color": "$dark_glyph_pressed_color", + "$border_color": "$dark_border_pressed_color", + "$border_layer": 3, + "$pressed_state": true, + "$button_press_offset": [ 0, 1 ], + "layer": 3 + }, + + "dark_glyph_button_locked@common_buttons.new_ui_button_panel": { + "$new_ui_button_texture": "$locked_button_texture", + "$glyph_color": "$dark_glyph_locked_color", + "$content_alpha": "$locked_alpha", + "$border_color": "$dark_border_locked_color", + "$button_image": "common_buttons.locked_button_image", + "$border_layer": 1, + "$button_press_offset": [ 0, 0 ], + "$locked_state": true, + "layer": 1 + }, + + "dark_glyph_button@dark_button_assets": { + + "$button_content|default": "common.empty_image", + "$button_content_offset|default": [ 0, 0 ], + "$button_type_panel": "common_buttons.glyph_content_panel", + + // These states are for passing the button state to the button content - do not set these in a parent! + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "controls": [ + { + "default@common_buttons.dark_glyph_button_default": {} + }, + { + "hover@common_buttons.dark_glyph_button_hover": {} + }, + { + "pressed@common_buttons.dark_glyph_button_pressed": {} + }, + { + "locked@common_buttons.dark_glyph_button_locked": {} + } + ] + }, + + "dark_glyph_button_with_custom_control@common_buttons.dark_glyph_button": { + "controls": [ + { + "custom_control@$custom_control": {} + }, + { + "default@common_buttons.dark_glyph_button_default": {} + }, + { + "hover@common_buttons.dark_glyph_button_hover": {} + }, + { + "pressed@common_buttons.dark_glyph_button_pressed": {} + }, + { + "locked@common_buttons.dark_glyph_button_locked": {} + } + ] + }, + + "glyph_content_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": "$button_content_offset", + "controls": [ + { + "glyph_button_content@$button_content": { + "color": "$glyph_color", + "layer": 3, + "offset": "$button_press_offset", + "alpha": "$content_alpha" + } + } + ] + }, + + "hyperlink_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.menu_open_uri", + "property_bag": { + "#hyperlink": "" + } + }, + + "hyperlink_content_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.menu_open_uri", + "property_bag": { + "#hyperlink": "" + } + }, + + ///////////////////////////////// + // + // Content button with label and + // nested buttons + // + ///////////////////////////////// + // Main control: + // -nestable_button + // + // Helper controls: + // -dark_nestable_button + // -transparent_label_nestable_button + // + // Helper labels: + // -nested_centered_label_control + // -nested_label_with_image_control + // -nested_six_part_label_control + + // General Assets // + + // Base definition for state driven assets + // + // - expands to default, hover, pressed, and locked + // + // -- Required Variables -- + // $nested_asset__texture - The image for each state + // + // -- Optional Variables -- + // $nested_asset__alpha - The alpha for each state + // $nested_asset__color - The color tint for each state + // + "nested_button_assets": { + "type": "image", + "texture": "$nested_asset_texture", + "alpha": "$nested_asset_alpha", + "color": "$nested_asset_color", + "$nested_asset_texture|default": "", + + "$nested_asset_alpha|default": "$nested_default_alpha", + "$nested_asset_default_alpha|default": "$nested_default_alpha", + "$nested_asset_hover_alpha|default": "$nested_default_alpha", + "$nested_asset_pressed_alpha|default": "$nested_default_alpha", + "$nested_asset_locked_alpha|default": "$nested_default_alpha", + + "$nested_asset_color|default": "$nested_default_color", + "$nested_asset_default_color|default": "$nested_default_color", + "$nested_asset_hover_color|default": "$nested_default_color", + "$nested_asset_pressed_color|default": "$nested_default_color", + "$nested_asset_locked_color|default": "$nested_default_color", + "variables": [ + { + "requires": "$default_state", + "$nested_asset_texture": "$nested_asset_default_texture", + "$nested_asset_alpha": "$nested_asset_default_alpha", + "$nested_asset_color": "$nested_asset_default_color" + }, + { + "requires": "$hover_state", + "$nested_asset_texture": "$nested_asset_hover_texture", + "$nested_asset_alpha": "$nested_asset_hover_alpha", + "$nested_asset_color": "$nested_asset_hover_color" + }, + { + "requires": "$pressed_state", + "$nested_asset_texture": "$nested_asset_pressed_texture", + "$nested_asset_alpha": "$nested_asset_pressed_alpha", + "$nested_asset_color": "$nested_asset_pressed_color" + }, + { + "requires": "$locked_state", + "$nested_asset_texture": "$nested_asset_locked_texture", + "$nested_asset_alpha": "$nested_asset_locked_alpha", + "$nested_asset_color": "$nested_asset_locked_color" + } + ] + }, + + // Subtle light overlay + "nested_overlay_assets@common_buttons.nested_button_assets": { + "$nested_asset_default_texture": "textures/ui/clickable_overlay", + "$nested_asset_default_alpha": "$nested_overlay_clickable_alpha", + "$nested_asset_hover_texture": "textures/ui/clickable_overlay", + "$nested_asset_hover_alpha": "$nested_overlay_clickable_alpha", + "$nested_asset_pressed_texture": "textures/ui/clickable_overlay_inverse", + "$nested_asset_pressed_alpha": "$nested_overlay_clickable_alpha", + "$nested_asset_locked_texture": "textures/ui/clickable_overlay", + "$nested_asset_locked_alpha": "$nested_overlay_clickable_alpha" + }, + + // Label Assets // + + // Dark label background with green hover + "nested_label_content_background_assets@common_buttons.nested_button_assets": { + "$nested_asset_default_texture": "textures/ui/White", + "$nested_asset_default_color": "$nested_dark_label_default_color", + "$nested_asset_hover_texture": "textures/ui/White", + "$nested_asset_hover_color": "$nested_dark_label_hover_color", + "$nested_asset_pressed_texture": "textures/ui/White", + "$nested_asset_pressed_color": "$nested_dark_label_pressed_color", + "$nested_asset_locked_texture": "textures/ui/White", + "$nested_asset_locked_color": "$nested_dark_label_default_color" + }, + + // Background for label content control + "nested_label_background_assets@common_buttons.nested_button_assets": { + "$nested_asset_default_texture": "textures/ui/black_border", + "$nested_asset_hover_texture": "textures/ui/slider_border", + "$nested_asset_pressed_texture": "textures/ui/slider_border", + "$nested_asset_locked_texture": "textures/ui/black_border" + }, + + // Semitransparent background for label content control + // + // -- Optional Variables -- + // $transparent_label_color - The color when not pressed + // $transparent_label_pressed_color - The color when pressed + // + "nested_transparent_label_content_background_assets": { + "type": "panel", + "$transparent_label_color|default": "$nested_transparent_label_default_color", + "$transparent_label_hover_color|default": "$transparent_label_color", + "$transparent_label_pressed_color|default": "$nested_transparent_label_default_pressed_color", + + "controls": [ + { + "assets@common_buttons.nested_button_assets": { + + "$nested_asset_default_texture": "textures/ui/White", + "$nested_asset_default_color": "$transparent_label_color", + "$nested_asset_default_alpha": "$nested_transparent_label_alpha", + "$nested_asset_hover_texture": "textures/ui/White", + "$nested_asset_hover_color": "$transparent_label_hover_color", + "$nested_asset_pressed_texture": "textures/ui/White", + "$nested_asset_pressed_color": "$transparent_label_pressed_color", + "$nested_asset_locked_texture": "textures/ui/White", + "$nested_asset_locked_color": "$transparent_label_color" + } + } + ] + }, + + // Basic label bindings and variables + // + // -- Required Variables -- + // $nested_label_text - Label text + // + // -- Optional Variables -- + // $nested_label_font_type - Label font type (default: mojangles) + // $nested_label_bindings - Label bindings for dynamic text/type + // $nested_label_color - Label color + // $nested_label_locked_color - Label color when locked + // + "nested_base_label": { + "type": "label", + "shadow": true, + "$nested_label_alignment|default": "center", + "text_alignment": "$nested_label_alignment", + "$nested_label_color|default": "$generic_button_text_color", + "color": "$nested_label_color", + + "$nested_label_text|default": "", + "text": "$nested_label_text", + + "$nested_label_font_type|default": "default", + "font_type": "$nested_label_font_type", + + "$nested_label_bindings|default": [], + "bindings": "$nested_label_bindings" + }, + + // Centered label + // + // -- Required Variables -- + // See common_buttons.nested_base_label for more + // + // -- Optional Variables -- + // $nested_label_max_size - For clipping label text + // + "nested_centered_label_control": { + "type": "panel", + "controls": [ + { + "label@common_buttons.nested_base_label": { + "$nested_label_max_size|default": [ "100% - 2px", "100% - 2px" ], + "max_size": "$nested_label_max_size" + } + } + ] + }, + + // Label left justified with image prefix + // + // -- Required Variables -- + // $nested_label_image - Prefix image + // See common_buttons.nested_base_label for more + // + // -- Optional Variables -- + // $nested_label_max_size - For clipping label text (should be fine as is) + // + "nested_label_with_image_control": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 6px", "100% - 3px" ], + "offset": [ 0, -0.5 ], + "controls": [ + { + "image": { + "type": "image", + "$nested_label_image|default": "", + "texture": "$nested_label_image", + "size": [ "100%y", "100%" ], + "$nested_label_image_bindings|default": [], + "bindings": "$nested_label_image_bindings" + } + }, + { + "image_to_label_padding@common.empty_panel": { + "size": [ 4, "100%" ] + } + }, + { + "label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "label@common_buttons.nested_base_label": { + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$nested_label_max_size|default": [ "100%", "100%" ], + "max_size": "$nested_label_max_size" + } + } + ] + } + } + ] + }, + + // Empty definition for a six part label + "nested_six_part_empty_definition": { + "type": "label", + "text": "", + "color": "$generic_button_text_color" + }, + + // Label in each corner of the label control + // + // -- Optional Variables -- + // - Expands to left/right + // - Expands to top/middle/bottom + // $__label_definition - Json object that defines all required label variables (needs "type: label" and at least text and color) + // + "nested_six_part_label_control": { + "type": "panel", + "size": [ "100% - 6px", "100% - 2px" ], + "offset": [ 0, -1 ], + "$left_top_label_definition|default": "common_buttons.nested_six_part_empty_definition", + "$left_middle_label_definition|default": "common_buttons.nested_six_part_empty_definition", + "$left_bottom_label_definition|default": "common_buttons.nested_six_part_empty_definition", + "$right_top_label_definition|default": "common_buttons.nested_six_part_empty_definition", + "$right_middle_label_definition|default": "common_buttons.nested_six_part_empty_definition", + "$right_bottom_label_definition|default": "common_buttons.nested_six_part_empty_definition", + "controls": [ + { + "left_top_label@$left_top_label_definition": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + }, + { + "left_middle_label@$left_middle_label_definition": { + "anchor_from": "left_middle", + "anchor_to": "left_middle" + } + }, + { + "left_bottom_label@$left_bottom_label_definition": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + }, + { + "right_top_label@$right_top_label_definition": { + "anchor_from": "top_right", + "anchor_to": "top_right" + } + }, + { + "right_middle_label@$right_middle_label_definition": { + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + }, + { + "right_bottom_label@$right_bottom_label_definition": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + // Content Assets // + + // Solid color content assets + "nested_dark_button_assets@common_buttons.nested_button_assets": { + "$nested_asset_default_texture": "textures/ui/White", + "$nested_asset_default_color": "$nested_dark_content_default_color", + "$nested_asset_hover_texture": "textures/ui/White", + "$nested_asset_hover_color": "$nested_dark_content_hover_color", + "$nested_asset_pressed_texture": "textures/ui/White", + "$nested_asset_pressed_color": "$nested_dark_content_pressed_color", + "$nested_asset_locked_texture": "textures/ui/White", + "$nested_asset_locked_color": "$nested_dark_content_default_color" + }, + + // Background for button content control + "nested_content_background_assets@common_buttons.nested_button_assets": { + "$nested_asset_default_texture": "textures/ui/Black", + "$nested_asset_hover_texture": "textures/ui/White", + "$nested_asset_pressed_texture": "textures/ui/White", + "$nested_asset_locked_texture": "textures/ui/Black" + }, + + // Darkened overlay for unselected buttons + "nested_content_overlay_assets@common_buttons.nested_button_assets": { + "$nested_asset_default_texture|default": "textures/ui/Black", + "$nested_asset_default_alpha": "$nested_content_unfocused_overlay_alpha", + "$nested_asset_hover_texture": "", + "$nested_asset_pressed_texture": "", + "$nested_asset_locked_texture": "" + }, + + // Solid color background with image in center + // + // -- Required Variables -- + // $nested_control_image - The texture for the center image + // + // -- Optional Variables -- + // $nested_control_image_size - The size of the image (default: [ 22, 22 ]) + // + "nested_dark_control_with_image": { + "type": "panel", + "controls": [ + { "background@common_buttons.nested_dark_button_assets": {} }, + { + "image_panel": { + "type": "panel", + "size": [ 22, 22 ], + "offset": [ 0, 1.5 ], + "layer": 1, + "controls": [ + { + "image": { + "type": "image", + "$nested_control_image_size": [ "100%", "100%" ], + "size": "$nested_control_image_size", + "$nested_control_image|default": "", + "texture": "$nested_control_image" + } + } + ] + } + } + ] + }, + + // Controls // + + // NESTED BUTTON DOCUMENTATION: + // + // -- For Nested Content -- + // If using nested content all variables in this section required + // setUpCallbacksForNestedButton( + // $pressed_button_name, + // $nested_content_visibility_binding, - The binding name for nested visibility + // firstControlName - The name of the control that will recieve focus after the base button is pressed + // ignoredButtons - (optional) A vector of button names to ignore (default: { StringHash("button.scrollbar_touch") }) + // ); + // $nested_content_controls - The nested controls (parent size based on its sibling) + // $has_nested_controls - Set to true to use + // + // -- Advanced Nested Content -- + // For factory built nestable buttons + // $has_special_nested_controls - Set to true to use + // $nested_content_controls - The nested controls (parent size based on its sibling) + // $special_nested_content_bindings - Bindings array for the nested controls + // $special_nested_button_bindings - Bindings array for the button + // + // + // -- Required Variables -- + // $pressed_button_name, - The button name for the base button + // + // $nested_button_content_size - The size for the upper control + // $nested_content_control - The control for the upper part of the button (can make use of $default_state, $hover_state, $pressed_state, $locked_state) + // + // $nested_button_label_size - The size for the label control (can use "100%sm" for the x to keep consistent with top control) + // $nested_label_control_background: The background behind the label control + // $nested_label_control: The control for the background of the label (can make use of $default_state, $hover_state, $pressed_state, $locked_state) + // + // -- Other Variables -- + // any common.button variable + // + // $nested_button_overlay - The overlay for the entire button (default: common_buttons.nested_overlay_assets) + // $nested_content_background_assets - The assets behind the button content control (default: common_buttons.nested_background_assets) + // $nested_content_overlay_assets - The assets to overlay the content (default: common.empty_panel) + // $nested_content_label_padding - If true adds a single texel gap between content and label (default: false) + // $nested_label_background_assets - The assets behind the label control (default: common_buttons.nested_label_background_assets) + // $nested_content_dark_alpha - The black overlay to display when nested content is shown + // + // $use_parent_size - If true will use parent size to size buttons (still needs $nested_button_content_size + // and $nested_button_label_size, will also need to set $nestable_button_size) + // If false uses content size (default: false) + // $nestable_button_size - The size of the button (default: [ "100%cm", "100%cm" ] + // + "nestable_button": { + "$use_parent_size|default": false, + "$nestable_button_size|default": [ "100%cm", "100%cm" ], + "size": "$nestable_button_size", + + "type": "panel", + "$has_nested_controls|default": false, + "$has_special_nested_controls|default": false, + "$has_special_button_bindings|default": false, + "$has_padding_for_content_and_label|default": false, + "$nested_content_visibility_binding|default": "", + "controls": [ + { + "nested_controls_panel": { + "ignored": "(not $has_nested_controls and not $has_special_nested_controls)", + "$nested_content_dark_alpha|default": 0.8, + "type": "input_panel", + "size": [ "100%sm", "100%sm" ], + "layer": 10, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.nested_background", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.nested_background", + "mapping_type": "focused" + } + ], + "$_nested_content_visibility_binding|default": [ + { + "binding_name": "$nested_content_visibility_binding", + "binding_name_override": "#visible" + } + ], + "variables": [ + { + "requires": "$has_special_nested_controls", + "$_nested_content_visibility_binding": "$special_nested_content_bindings" + } + ], + "bindings": "$_nested_content_visibility_binding", + "controls": [ + { + "locked_overlay": { + "type": "image", + "texture": "textures/ui/Black", + "alpha": "$nested_content_dark_alpha" + } + }, + { "nested_controls@$nested_content_controls": {} } + ] + } + }, + { + "base_button@common.button": { + "locked_control": "locked", + + "layer": 1, + + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "variables": [ + { + "requires": "$has_nested_controls", + "$button_bindings": [ + { + "binding_name": "(not $nested_content_visibility_binding)", + "binding_name_override": "#enabled" + } + ] + }, + { + "requires": "($has_special_nested_controls or $has_special_button_bindings)", + "$button_bindings": "$special_nested_button_bindings" + }, + { + "requires": "$use_parent_size", + "$_nested_button_size": [ "100%", "100%" ] + } + ], + "$_nested_button_size|default": [ "100%c", "100%c" ], + "size": "$_nested_button_size", + + "controls": [ + { + "default@common_buttons.nested_button_base": { + "$default_state": true + } + }, + { + "hover@common_buttons.nested_button_base": { + "$hover_state": true + } + }, + { + "pressed@common_buttons.nested_button_base": { + "$pressed_state": true + } + }, + { + "locked@common_buttons.nested_button_base": { + "$locked_state": true + } + } + ] + } + } + ] + }, + + // The base button control for the nested button + // + // Variables documented in parent control + // + "nested_button_base": { + "type": "panel", + "$nested_button_overlay|default": "common_buttons.nested_overlay_assets", + "controls": [ + { + "button_overlay@$nested_button_overlay": { + "size": [ "100%sm", "100%sm" ], + "layer": 3 + } + }, + { + "button_control": { + "type": "stack_panel", + "orientation": "vertical", + "layer": 1, + "controls": [ + { + "control_area": { + "type": "panel", + "size": "$nested_button_content_size", + + "$nested_content_background_assets|default": "common_buttons.nested_content_background_assets", + "$nested_content_overlay_assets|default": "common.empty_panel", + "controls": [ + { + "background@$nested_content_background_assets": { + "layer": -1, + "size": [ "100%sm + 2px", "100%sm + 1px" ], + "offset": [ 0, -0.5 ] + } + }, + { "control@$nested_content_control": {} }, + { "overlay@$nested_content_overlay_assets": { "layer": 1 } } + ] + } + }, + { + "button_stack_padding@common.empty_panel": { + "$nested_content_label_padding|default": false, + "$_content_to_label_padding_size|default": "$nested_no_padding", + "size": "$_content_to_label_padding_size", + "variables": [ + { + "requires": "$nested_content_label_padding", + "$_content_to_label_padding_size": "$nested_one_pixel_padding" + } + ] + } + }, + { + "label_area": { + "type": "panel", + "size": "$nested_button_label_size", + + "$nested_label_background_assets|default": "common_buttons.nested_label_background_assets", + "controls": [ + { + "background@$nested_label_background_assets": { + "layer": -1, + "size": [ "100%sm + 2px", "100%sm + 2px" ] + } + }, + { "control_background@$nested_label_control_background": {} }, + { "control@$nested_label_control": { "layer": 1 } } + ] + } + } + ], + + "$_nested_button_control_size|default": [ "100%cm", "100%c" ], + "size": "$_nested_button_control_size", + "variables": [ + { + "requires": "$use_parent_size", + "$_nested_button_control_size": [ "100%", "100%" ] + } + ] + } + } + ], + + "$_nested_button_base_size|default": [ "100%cm + 2px", "100%cm + 2px" ], + "size": "$_nested_button_base_size", + "variables": [ + { + "requires": "$use_parent_size", + "$_nested_button_base_size": [ "100% - 2px", "100% - 2px" ] + } + ] + }, + + // Helpers // + + // Solid button with image and centered label + // + // -- Required Variables -- + // $pressed_button_name - The button name for the base button + // + // $nested_button_content_size - Content control size + // $nested_control_image - Content image + // + // $nested_button_label_size - Label control size + // $nested_label_text - Label text + // + "dark_nestable_button@common_buttons.nestable_button": { + "$nested_content_control": "common_buttons.nested_dark_control_with_image", + + "$nested_label_control_background": "common_buttons.nested_label_content_background_assets", + "$nested_label_control": "common_buttons.nested_centered_label_control" + }, + + // Content control is user defined + // Label has a semi transparent background with a image prefix before the label + // + // -- Required Variables -- + // $pressed_button_name - The button name for the base button + // + // $nested_button_content_size - Content control size + // $nested_content_control - The upper content control + // + // $nested_button_label_size - Label control size + // $nested_label_control - The label content control + // + // -- Optional Variables -- + // $nested_content_overlay_assets - The assets to overlay the content (default: common.nested_content_overlay_assets) + // + // $nested_label_control_background - The background behind the label control (default: common_buttons.nested_transparent_label_content_background_assets) + // $transparent_label_color - The color of the label when not pressed (can use if default $nested_label_control_background) + // $transparent_label_pressed_color - The color of the label when pressed (can use if default $nested_label_control_background) + // $nested_transparent_label_alpha - The alpha of the label background (default: 0.8, can use if default $nested_label_control_background) + // + "transparent_label_nestable_button@common_buttons.nestable_button": { + "$nested_content_overlay_assets": "common_buttons.nested_content_overlay_assets", + + "$nested_content_label_padding": true, + + "$nested_label_control_background": "common_buttons.nested_transparent_label_content_background_assets" + }, + + ////////// Tool Tip Types ////////// + + "static_tooltip_notification_panel@common.button": { + "size": [ "100%", "100%" ], + "sound_volume": 0.0, + "layer": 1, + + // background textures + "$tooltip_button_default_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_pressed_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_hover_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_locked_texture|default": "textures/ui/tooltip_notification_default_background", + + "$tooltip_button_content_size|default": [ "100%", "100%" ], + + // binding vars (should be same for all children) + "$tooltip_button_binding_type|default": "global", + "$tooltip_button_collection_name|default": "", + + "locked_control": "locked", + + "$tooltip_hovered_to_button_id|default": "button.is_hovered", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "$tooltip_hovered_to_button_id", + "mapping_type": "pressed" + } + ], + + "controls": [ + { + "default@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_default_texture" + } + }, + { + "pressed@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_pressed_texture" + } + }, + { + "hover@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_hover_texture" + } + }, + { + "locked@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_locked_texture" + } + }, + { "static_tooltip_popup_panel@common.static_tooltip_popup_with_image_and_text": {} } + ], + "bindings": [ + { + "binding_name": "$static_tooltip_button_visibility_binding_name", + "binding_name_override": "#visible", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_button_binding_type" + } + ] + }, + + + "dynamic_tooltip_notification_panel@common.button": { + "size": [ "100%", "100%" ], + "sound_volume": 0.0, + "layer": 1, + + // background textures + "$tooltip_button_default_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_pressed_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_hover_texture|default": "textures/ui/tooltip_notification_default_background", + "$tooltip_button_locked_texture|default": "textures/ui/tooltip_notification_default_background", + + "$tooltip_button_content_size|default": [ "100%", "100%" ], + + // binding vars (should be same for all children) + "$tooltip_button_binding_type|default": "global", + "$tooltip_button_collection_name|default": "", + "$tooltip_button_visibility_binding_name|default": "#dynamic_tooltip_notification_visibility_binding_name", + + + "locked_control": "locked", + + "$tooltip_hovered_to_button_id|default": "button.is_hovered", + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "$pressed_button_name", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "$pressed_button_name", + "mapping_type": "focused" + }, + { + "to_button_id": "$tooltip_hovered_to_button_id", + "mapping_type": "pressed" + } + ], + + "controls": [ + { + "default@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_default_texture" + } + }, + { + "pressed@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_pressed_texture" + } + }, + { + "hover@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_hover_texture" + } + }, + { + "locked@common.tooltip_button_content": { + "$tooltip_background_texture": "$tooltip_button_locked_texture" + } + }, + { "dyanmic_tooltip_popup_panel@common.dynamic_tooltip_popup_with_image_and_text": {} } + ], + "bindings": [ + { + "binding_name": "$tooltip_button_visibility_binding_name", + "binding_name_override": "#visible", + "binding_collection_name": "$tooltip_button_collection_name", + "binding_type": "$tooltip_button_binding_type" + } + ] + }, + + /////////////////////////////////////////////////////////////////////////// + + "text_body_focus_border_for_controller_button@common.button": { + "$pressed_button_name": "button.no_interaction", + "sound_volume": 0.0, + "size": [ "100%", "100%cm" ], + "default_control": "default", + "pressed_control": "hover", + "hover_control": "hover", + "$text_control|default": "common.empty_panel", + "$text_control_size|default": [ "100%", "100%c" ], + "controls": [ + { + "default@common.empty_panel": { + "size": [ "100%", 0 ] + } + }, + { + "hover@common.empty_panel": { + "size": [ "100%", "100%sm" ], + "controls": [ + { + "focus_border@common_buttons.focus_border": { + "size": [ "100%", "100% + 4px" ] + } + } + ] + } + }, + { + "text_control@$text_control": { + "size": "$text_control_size" + } + } + ] + } +} diff --git a/resource_pack/ui/ui_template_dialogs.json b/resource_pack/ui/ui_template_dialogs.json new file mode 100644 index 0000000..5111501 --- /dev/null +++ b/resource_pack/ui/ui_template_dialogs.json @@ -0,0 +1,517 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "common_dialogs", + + "standard_title_label": { + "type": "label", + "size": [ "default", 10 ], + "color": "$title_text_color", + "text": "$text_name", + "layer": 4, + "shadow": false, + "property_bag": { + "#tts_dialog_title": "$text_name" + }, + "bindings": [ + { + "binding_type": "$title_text_binding_type", + "binding_condition": "$title_binding_condition", + "binding_name": "$text_name", + "binding_name_override": "$text_name" + }, + { + "binding_type": "global", + "binding_condition": "once", + "binding_name": "#tts_dialog_title" + } + ] + }, + + "title_label": { + "type": "panel", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "$title_size|default": [ "100%c", 10 ], + "size": "$title_size", + "$title_offset|default": [ 0, 9 ], + "offset": "$title_offset", + "$use_custom_title_control|default": false, + "$custom_title_label|default": "common.empty_panel", + "$title_binding_condition|default": "none", + "$title_text_binding_type|default": "none", + "controls": [ + { + "common_dialogs_0@standard_title_label": { + "ignored": "$use_custom_title_control" + } + }, + { + "common_dialogs_1@$custom_title_label": { + "ignored": "(not $use_custom_title_control)" + } + } + ] + }, + + ///////////////////////////////// + // + // DIALOG WINDOWS + // + ///////////////////////////////// + + "main_panel_three_buttons": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "$text_name|default": "", + "$top_button_panel|default": "common.empty_panel", + "$middle_button_panel|default": "common.empty_panel", + "$bottom_button_panel|default": "common.empty_panel", + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_6" } + }, + { + "title_label@common_dialogs.title_label": {} + }, + { + "panel_indent": { + "type": "panel", + // Fit to the hole in dialog_background_hollow_1 exactly + "size": [ "100% - 16px", "100% - 131px" ], + "offset": [ 0, 23 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + }, + { + "top_button_panel@$top_button_panel": { + "size": [ "100% - 14px", 30 ], + "offset": [ 0, -71 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + }, + { + "middle_button_panel@$middle_button_panel": { + "size": [ "100% - 14px", 30 ], + "offset": [ 0, -39 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + }, + { + "bottom_button_panel@$bottom_button_panel": { + "size": [ "100% - 14px", 30 ], + "offset": [ 0, -7 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "main_panel_two_buttons": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "$text_name|default": "", + "$top_button_panel|default": "common.empty_panel", + "$bottom_button_panel|default": "common.empty_panel", + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_1" } + }, + { + "title_label@common_dialogs.title_label": {} + }, + { + "panel_indent": { + "type": "panel", + // Fit to the hole in dialog_background_hollow_1 exactly + "size": [ "100% - 16px", "100% - 99px" ], + "offset": [ 0, 23 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + }, + { + "top_button_panel@$top_button_panel": { + "size": [ "100% - 14px", 30 ], + "offset": [ 0, -39 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + }, + { + "bottom_button_panel@$bottom_button_panel": { + "size": [ "100% - 14px", 30 ], + "offset": [ 0, -7 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "main_panel_one_button": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "$text_name|default": "", + "$button_panel|default": "common.empty_panel", + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_2" } + }, + { + "title_label@common_dialogs.title_label": {} + }, + { + "panel_indent": { + "type": "panel", + "size": [ "100% - 16px", "100% - 65px" ], + "offset": [ 0, 23 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + }, + { + "bottom_button_panel@$button_panel": { + "size": [ "100% - 14px", 30 ], + "offset": [ 0, -7 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "main_panel_no_buttons": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "$text_name|default": "", + "$panel_indent_size|default": [ "100% - 16px", "100% - 31px" ], + "$custom_background|default": "dialog_background_hollow_3", + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "$custom_background" } + }, + { + "title_label@common_dialogs.title_label": {} + }, + { + "panel_indent": { + "type": "panel", + "size": "$panel_indent_size", + "offset": [ 0, 23 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + } + ] + }, + + "main_panel_no_title_no_buttons": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_4" } + }, + { + "panel_indent": { + "type": "panel", + "size": [ "100% - 16px", "100% - 16px" ], + "offset": [ 0, 8 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + } + ] + }, + + "main_panel_small_title_one_button": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "$text_name|default": "", + "$button_panel|default": "common.empty_panel", + "$show_close_button": false, + "$button_panel_size|default": [ "100% - 14px", 30 ], + "$main_panel_size|default": [ "100% - 16px", "100% - 59px" ], + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_5" } + }, + { + "title_label@common_dialogs.title_label": { + "$title_offset": [ 0, 5 ] + } + }, + { + "panel_indent": { + "type": "panel", + "size": "$main_panel_size", + "offset": [ 0, 17 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + }, + { + "bottom_button_panel@$button_panel": { + "size": "$button_panel_size", + "offset": [ 0, -7 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + } + ] + }, + + "main_panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { "modal_background_image@modal.modal_background_image": { "layer": 1 } }, + { + "panel_indent": { + "type": "panel", + "size": [ "100% - 14px", "100% - 14px" ], + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + } + ] + }, + + + ///////////////////////////////// + // + // FORM FITTING DIALOG WINDOWS + // + ///////////////////////////////// + + + "form_fitting_main_panel_no_buttons": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_from": "center", + "anchor_to": "center", + "$text_name|default": "", + "$show_close_button|default": true, + "$use_compact_close_button|default": false, + "$close_button_offset|default": [ 0, 0 ], + "$custom_background": "common_dialogs.dialog_background_hollow_3", + "controls": [ + { "common_panel@common_dialogs.common_panel": { "$dialog_background": "$custom_background" } } + ] + }, + + "common_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$dialog_background|default": "common.dialog_background_opaque", + "controls": [ + { + "bg_image@$dialog_background": { + "layer": 1 + } + } + ] + }, + + "dialog_background_common": { + "type": "image", + "texture": "textures/ui/dialog_background_hollow_4", + "layer": 1 + }, + + "dialog_background_thin": { + "type": "image", + "texture": "textures/ui/thin_dialog", + "layer": 1 + }, + + "flat_solid_background": { + "type": "image", + "texture": "textures/ui/White", + "color": "$0_color_format", + "layer": 1 + }, + + "dialog_background_hollow_common@common_dialogs.dialog_background_common": { + "layer": 2, + "$fill_alpha|default": 0.8, + "$dialog_background_texture|default": "textures/ui/control", + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + } + ], + "controls": [ + { + "control": { + "type": "image", + "texture": "$dialog_background_texture", + "layer": 1, + "$common_background_size|default": [ "100% - 16px", "100%c - 27px" ], + "$close_button_offset|default": [ 6, -21 ], + "size": "$common_background_size", + "offset": [ 0, 7 ], + "alpha": "$fill_alpha", + "variables": [ + { + "requires": "($show_close_button and $use_compact_close_button)", + "$common_background_size": [ "100% - 16px", "100%c - 19px" ], + "$close_button_offset": [ 6, -13 ] + }, + { + "requires": "(not $show_close_button)", + "$common_background_size": [ "100% - 16px", "100%c - 6px" ] + } + ], + "controls": [ + { + "inside_header_panel@$child_control": { + } + }, + { + "close_button_holder@common_dialogs.common_close_button_holder": {} + }, + { + "title_label@common_dialogs.title_label": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, -15 ] + } + } + ] + } + } + ] + }, + + "common_close_button_holder": { + "type": "stack_panel", + "visible": "$show_close_button", + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "100%c", "100%c" ], + "$close_button_offset|default": [ 0, 0 ], + "offset": "$close_button_offset", + "controls": [ + { + "close@common.close_button": { + "layer": 2, + "ignored": "$use_compact_close_button" + } + }, + { + "compact_close@common.compact_close_button": { + "ignored": "(not $use_compact_close_button)", + "layer": 2, + "visible": "$use_compact_close_button" + } + } + ] + }, + + "dialog_background_opaque@common_dialogs.dialog_background_common": { + "size": [ "100%", "100%c" ], + "texture": "textures/ui/dialog_background_opaque" + }, + + "dialog_background_opaque_with_child@common_dialogs.dialog_background_hollow_common": { + // +31 same as hollow_3 to fit + "size": [ "100%", "100%c + 31px" ], + "texture": "textures/ui/dialog_background_opaque", + // This isn't a hollow panel so we don't want to fill the hollow hole with the background color, so make it invisible + "$fill_alpha": 0.0 + }, + + "dialog_background_hollow_1@common_dialogs.dialog_background_hollow_common": { + "size": [ "100%", "100%c" ], + "texture": "textures/ui/dialog_background_hollow_1" + }, + + "dialog_background_hollow_2@common_dialogs.dialog_background_hollow_common": { + "size": [ "100%", "100%c" ], + "texture": "textures/ui/dialog_background_hollow_2" + }, + + "dialog_background_hollow_3@common_dialogs.dialog_background_hollow_common": { + "size": [ "100%", "100%c + 31px" ], + "texture": "textures/ui/dialog_background_hollow_3" + }, + + "dialog_background_hollow_4@common_dialogs.dialog_background_hollow_common": { + "size": [ "100%", "100%c" ], + "texture": "textures/ui/dialog_background_hollow_4" + }, + + "dialog_background_hollow_6@common_dialogs.dialog_background_hollow_common:": { + "size": [ "100%", "100%c" ], + "texture": "dialog_background_hollow_6" + }, + + "full_screen_background": { + "type": "panel", + "$fill_alpha|default": 0.8, + "variables": [ + { + "requires": "$is_holographic", + "$fill_alpha": 1.0 + }, + { + "requires": "$is_full_screen_layout", + "$screen_background_control|default": "common_dialogs.background_image" + }, + { + "requires": "(not $is_full_screen_layout)", + "$screen_background_control|default": "common.empty_panel" + } + ], + "controls": [ + { + "background@$screen_background_control": { + "layer": 1, + "size": [ "100%", "100%" ], + "alpha": "$fill_alpha" + } + } + ] + }, + + "background_image": { + "type": "image", + "texture": "textures/ui/control" + } +} diff --git a/resource_pack/ui/ui_template_tabs.json b/resource_pack/ui/ui_template_tabs.json new file mode 100644 index 0000000..64fcaec --- /dev/null +++ b/resource_pack/ui/ui_template_tabs.json @@ -0,0 +1,405 @@ +{ + "namespace": "common_tabs", + + "empty_tab_content": { + "type": "panel", + "size": [ 0, 0 ] + }, + + "tab_image": { + "type": "image", + "texture": "$tab_texture" + }, + + "tab_panel": { + "type": "panel", + "$tab_content|default": "common_tabs.empty_tab_content", + "$tab_image|default": "common_tabs.tab_image", + + "controls": [ + { + "tab_image@$tab_image": { + "size": [ "100%", "100%" ], // We need to explicitly set the size here. + "layer": 2 + } + }, + { + "tab_content_sizer": { + "type": "panel", + "$tab_content_size|default": [ "100% - 4px", "100% - 4px" ], + "size": "$tab_content_size", + "controls": [ + { + "tab_content@$tab_content": { + "layer": 3 + } + } + ] + } + } + ] + }, + + "base_tab": { + "type": "panel", + "$unchecked_text_color": "$tab_unchecked_text_color", + "$unchecked_hover_text_color": "$tab_unchecked_hover_text_color", + "$unchecked_locked_text_color": "$tab_unchecked_locked_text_color", + "$unchecked_locked_hover_text_color": "$tab_unchecked_locked_hover_text_color", + "$checked_text_color": "$tab_checked_text_color", + "$checked_hover_text_color": "$tab_checked_hover_text_color", + "$checked_locked_text_color": "$tab_checked_locked_text_color", + "$checked_locked_hover_text_color": "$tab_checked_locked_hover_text_color", + + "$unchecked_secondary_text_color": "$tab_secondary_unchecked_text_color", + "$unchecked_hover_secondary_text_color": "$tab_secondary_unchecked_hover_text_color", + "$unchecked_locked_secondary_text_color": "$tab_secondary_unchecked_locked_text_color", + "$unchecked_locked_hover_secondary_text_color": "$tab_secondary_unchecked_locked_hover_text_color", + "$checked_secondary_text_color": "$tab_secondary_checked_text_color", + "$checked_hover_secondary_text_color": "$tab_secondary_checked_hover_text_color", + "$checked_locked_secondary_text_color": "$tab_secondary_checked_locked_text_color", + "$checked_locked_hover_secondary_text_color": "$tab_secondary_checked_locked_hover_text_color", + + "$unchecked_glyph_color": "$tab_unchecked_glyph_color", + "$unchecked_hover_glyph_color": "$tab_unchecked_hover_glyph_color", + "$unchecked_locked_glyph_color": "$tab_unchecked_locked_glyph_color", + "$unchecked_locked_hover_glyph_color": "$tab_unchecked_locked_hover_glyph_color", + "$checked_glyph_color": "$tab_checked_glyph_color", + "$checked_hover_glyph_color": "$tab_checked_hover_glyph_color", + "$checked_locked_glyph_color": "$tab_checked_locked_glyph_color", + "$checked_locked_hover_glyph_color": "$tab_checked_locked_hover_glyph_color", + + "$tab_view_binding_name|default": "tab", + "$tab_panel|default": "common_tabs.tab_panel", + "$is_checked_state|default": false, + "$is_hover_state|default": false, + "$tab_ignore_count|default": false, + + "$allow_controller_back_button_mapping|default": false, + + "$top_tab_tts_name|default": "accessibility.tab.tts.title", + + "controls": [ + { + "$tab_view_binding_name@common.toggle": { + "$toggle_tts_name": "$top_tab_tts_name", + "tts_ignore_count": "$tab_ignore_count", + "$toggle_tts_enabled_binding_type": "global", + "$toggle_reset_on_focus_lost|default": true, + "reset_on_focus_lost": "$toggle_reset_on_focus_lost", + "$allow_controller_back_button_mapping": "$allow_controller_back_button_mapping", + + "controls": [ + { + "unchecked@$tab_panel": { + "$text_color": "$unchecked_text_color", + "$secondary_text_color": "$unchecked_secondary_text_color", + "$glyph_color": "$unchecked_glyph_color", + "$tab_texture": "$unchecked_default_image", + "$tab_state": "unchecked", + "layer": 1 + } + }, + { + "unchecked_hover@$tab_panel": { + "$text_color": "$unchecked_hover_text_color", + "$secondary_text_color": "$unchecked_hover_secondary_text_color", + "$glyph_color": "$unchecked_hover_glyph_color", + "$tab_texture": "$unchecked_hover_image", + "$tab_state": "unchecked_hover", + "$is_hover_state": true, + "layer": 1 + } + }, + { + "unchecked_locked@$tab_panel": { + "$text_color": "$unchecked_locked_text_color", + "$secondary_text_color": "$unchecked_locked_secondary_text_color", + "$glyph_color": "$unchecked_locked_glyph_color", + "$tab_texture": "$unchecked_locked_image", + "$tab_state": "unchecked_locked", + "layer": 1 + } + }, + { + "unchecked_locked_hover@$tab_panel": { + "$text_color": "$unchecked_locked_hover_text_color", + "$secondary_text_color": "$unchecked_locked_hover_secondary_text_color", + "$glyph_color": "$unchecked_locked_hover_glyph_color", + "$tab_texture": "$unchecked_locked_hover_image", + "$tab_state": "unchecked_locked_hover", + "layer": 1 + } + }, + { + "checked@$tab_panel": { + "$text_color": "$checked_text_color", + "$secondary_text_color": "$checked_secondary_text_color", + "$glyph_color": "$checked_glyph_color", + "$tab_texture": "$checked_default_image", + "$tab_state": "checked", + "$is_checked_state": true, + "layer": 2 + } + }, + { + "checked_hover@$tab_panel": { + "$text_color": "$checked_hover_text_color", + "$secondary_text_color": "$checked_hover_secondary_text_color", + "$glyph_color": "$checked_hover_glyph_color", + "$tab_texture": "$checked_hover_image", + "$tab_state": "checked_hover", + "$is_checked_state": true, + "$is_hover_state": true, + "layer": 2 + } + }, + { + "checked_locked@$tab_panel": { + "$text_color": "$checked_locked_text_color", + "$secondary_text_color": "$checked_locked_secondary_text_color", + "$glyph_color": "$checked_locked_glyph_color", + "$tab_texture": "$checked_locked_image", + "$tab_state": "checked_locked", + "$is_checked_state": true, + "layer": 2 + } + }, + { + "checked_locked_hover@$tab_panel": { + "$text_color": "$checked_locked_hover_text_color", + "$secondary_text_color": "$checked_locked_hover_secondary_text_color", + "$glyph_color": "$checked_locked_hover_glyph_color", + "$tab_texture": "$checked_locked_hover_image", + "$tab_state": "checked_locked_hover", + "$is_checked_state": true, + "layer": 2 + } + } + ] + } + } + ] + }, + + "tab_top@common_tabs.base_tab": { + "$is_left_most_tab|default": false, + "$is_right_most_tab|default": false, + + "variables": [ + { + "requires": "($is_left_most_tab and not $is_right_most_tab)", + "$unchecked_default_image": "textures/ui/TabTopBackLeftMost", + "$unchecked_hover_image": "textures/ui/TabTopBackLeftMostHover", + "$unchecked_locked_image": "textures/ui/TabTopBackLeftMost", + "$unchecked_locked_hover_image": "textures/ui/TabTopBackLeftMost", + + "$checked_default_image": "textures/ui/TabTopFrontLeftMost", + "$checked_hover_image": "textures/ui/TabTopFrontLeftMostHover", + "$checked_locked_image": "textures/ui/TabTopFrontLeftMost", + "$checked_locked_hover_image": "textures/ui/TabTopFrontLeftMost" + }, + { + "requires": "($is_right_most_tab and not $is_left_most_tab)", + "$unchecked_default_image": "textures/ui/TabTopBackRightMost", + "$unchecked_hover_image": "textures/ui/TabTopBackRightMostHover", + "$unchecked_locked_image": "textures/ui/TabTopBackRightMost", + "$unchecked_locked_hover_image": "textures/ui/TabTopBackRightMost", + + "$checked_default_image": "textures/ui/TabTopFrontRightMost", + "$checked_hover_image": "textures/ui/TabTopFrontRightMostHover", + "$checked_locked_image": "textures/ui/TabTopFrontRightMost", + "$checked_locked_hover_image": "textures/ui/TabTopFrontRightMost" + } + ], + + "$unchecked_default_image": "textures/ui/TabTopBack", + "$unchecked_hover_image": "textures/ui/TabTopBackHover", + "$unchecked_locked_image": "textures/ui/TabTopBack", + "$unchecked_locked_hover_image": "textures/ui/TabTopBack", + + "$checked_default_image|default": "textures/ui/TabTopFront", + "$checked_hover_image|default": "textures/ui/TabTopFrontHover", + "$checked_locked_image|default": "textures/ui/TabTopFront", + "$checked_locked_hover_image|default": "textures/ui/TabTopFront" + }, + + "tab_left@common_tabs.base_tab": { + "$is_bottom_most_tab|default": false, + "$is_top_most_tab|default": false, + + "variables": [ + { + "requires": "($is_bottom_most_tab and not $is_top_most_tab)", + "$unchecked_default_image": "textures/ui/TabLeftBackBottomMost", + "$unchecked_hover_image": "textures/ui/TabLeftBackBottomMostHover", + "$unchecked_locked_image": "textures/ui/TabLeftBackBottomMost", + "$unchecked_locked_hover_image": "textures/ui/TabLeftBackBottomMost", + + "$checked_default_image": "textures/ui/TabLeftFrontBottomMost", + "$checked_hover_image": "textures/ui/TabLeftFrontBottomMostHover", + "$checked_locked_image": "textures/ui/TabLeftFrontBottomMost", + "$checked_locked_hover_image": "textures/ui/TabLeftFrontBottomMost" + }, + { + "requires": "($is_top_most_tab and not $is_bottom_most_tab)", + "$unchecked_default_image": "textures/ui/TabLeftBackTopMost", + "$unchecked_hover_image": "textures/ui/TabLeftBackTopMostHover", + "$unchecked_locked_image": "textures/ui/TabLeftBackTopMost", + "$unchecked_locked_hover_image": "textures/ui/TabLeftBackTopMost", + + "$checked_default_image": "textures/ui/TabLeftFrontTopMost", + "$checked_hover_image": "textures/ui/TabLeftFrontTopMostHover", + "$checked_locked_image": "textures/ui/TabLeftFrontTopMost", + "$checked_locked_hover_image": "textures/ui/TabLeftFrontTopMost" + } + ], + + + "$unchecked_default_image": "textures/ui/TabLeftBack", + "$unchecked_hover_image": "textures/ui/TabLeftBackHover", + "$unchecked_locked_image": "textures/ui/TabLeftBack", + "$unchecked_locked_hover_image": "textures/ui/TabLeftBack", + + "$checked_default_image|default": "textures/ui/TabLeftFront", + "$checked_hover_image|default": "textures/ui/TabLeftFrontHover", + "$checked_locked_image|default": "textures/ui/TabLeftFront", + "$checked_locked_hover_image|default": "textures/ui/TabLeftFront" + }, + + "tab_right@common_tabs.base_tab": { + "$is_bottom_most_tab|default": false, + "$is_top_most_tab|default": false, + + "variables": [ + { + "requires": "($is_bottom_most_tab and not $is_top_most_tab)", + "$unchecked_default_image": "textures/ui/TabRightBackBottomMost", + "$unchecked_hover_image": "textures/ui/TabRightBackBottomMostHover", + "$unchecked_locked_image": "textures/ui/TabRightBackBottomMost", + "$unchecked_locked_hover_image": "textures/ui/TabRightBackBottomMost", + + "$checked_default_image": "textures/ui/TabRightFrontBottomMost", + "$checked_hover_image": "textures/ui/TabRightFrontBottomMostHover", + "$checked_locked_image": "textures/ui/TabRightFrontBottomMost", + "$checked_locked_hover_image": "textures/ui/TabRightFrontBottomMost" + }, + { + "requires": "($is_top_most_tab and not $is_bottom_most_tab)", + "$unchecked_default_image": "textures/ui/TabRightBackTopMost", + "$unchecked_hover_image": "textures/ui/TabRightBackTopMostHover", + "$unchecked_locked_image": "textures/ui/TabRightBackTopMost", + "$unchecked_locked_hover_image": "textures/ui/TabRightBackTopMost", + + "$checked_default_image": "textures/ui/TabRightFrontTopMost", + "$checked_hover_image": "textures/ui/TabRightFrontTopMostHover", + "$checked_locked_image": "textures/ui/TabRightFrontTopMost", + "$checked_locked_hover_image": "textures/ui/TabRightFrontTopMost" + } + ], + + "$unchecked_default_image": "textures/ui/TabRightBack", + "$unchecked_hover_image": "textures/ui/TabRightBackHover", + "$unchecked_locked_image": "textures/ui/TabRightBack", + "$unchecked_locked_hover_image": "textures/ui/TabRightBack", + + "$checked_default_image|default": "textures/ui/TabRightFront", + "$checked_hover_image|default": "textures/ui/TabRightFrontHover", + "$checked_locked_image|default": "textures/ui/TabRightFront", + "$checked_locked_hover_image|default": "textures/ui/TabRightFront" + }, + + //--------------------------------------------------------------------------- + // Pocket Tabs + //--------------------------------------------------------------------------- + + "pocket_tab_left@common_tabs.tab_left": { + "size": [ "100%", 33 ], + "$toggle_focus_enabled": false, + "$toggle_name": "left_navigation_tab" + }, + + "pocket_tab_right@common_tabs.tab_right": { + "size": [ "100%", 33 ], + "$toggle_focus_enabled": false, + "$toggle_name": "right_navigation_tab" + }, + + "pocket_tab_close_button": { + "type": "image", + "size": [ "100%", 33 ], + "texture": "textures/ui/TabRightBackTopMost", + + "controls": [ + { + "close_button@common.light_close_button": { + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ] + } + } + ] + }, + + "pocket_tab_help_button": { + "type": "image", + "size": [ "100%", 33 ], + "texture": "textures/ui/TabRightBackTopMost", + + "controls": [ + { + "help_button@common.help_button": { + "anchor_from": "center", + "anchor_to": "center", + "offset": [ 0, 0 ] + } + } + ] + }, + + "pocket_tab_close_and_help_button": { + "type": "image", + "size": [ "100%", 51 ], + "texture": "textures/ui/TabRightBackTopMost", + + "controls": [ + { + "close_button@common.light_close_button": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 6 ] + } + }, + { + "help_button@common.help_button": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -8 ] + } + } + ] + }, + + "tab_close_and_help_button": { + "type": "image", + "size": [ "100%", "100%c + 7px" ], + "texture": "textures/ui/TabRightBackTopMost", + + "controls": [ + { + "close_button@common.light_close_button": { + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 4 ] + } + }, + { + "help_button@common.help_button": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -6 ] + } + } + ] + } +} diff --git a/resource_pack/ui/ui_template_toggles.json b/resource_pack/ui/ui_template_toggles.json new file mode 100644 index 0000000..2f12797 --- /dev/null +++ b/resource_pack/ui/ui_template_toggles.json @@ -0,0 +1,1195 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "common_toggles", + + "content_toggle_image_panel": { + "ignored": "$ignore_content_toggle_image", + "type": "panel", + "$content_toggle_image_size|default": [ "100%c", "100%" ], + "$content_toggle_image_panel_size|default": [ "100%c", "100%" ], + "size": "$content_toggle_image_panel_size", + "$content_toggle_variables|default": [], + "variables": "$content_toggle_variables", + "controls": [ + { + "icon": { + "type": "image", + "$content_toggle_image_size|default": [ 24, 24 ], + "$content_toggle_image_uv|default": [], + "$content_toggle_image_uv_size|default": [], + "size": "$content_toggle_image_size", + "texture": "$content_toggle_image", + "$content_toggle_image_color_binding|default": "$f_color_format", + "color": "$content_toggle_image_color_binding", + "uv": "$content_toggle_image_uv", + "uv_size": "$content_toggle_image_uv_size", + "$content_toggle_image_binding_type|default": "none", + "$content_toggle_image_binding_condition|default": "none", + "bindings": [ + { + "binding_name": "$content_toggle_image_color_binding", + "binding_name_override": "#color", + "binding_type": "$content_toggle_image_binding_type", + "binding_condition": "$content_toggle_image_binding_condition", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_collection_name": "$toggle_grid_collection_name" + }, + { + "binding_type": "$toggle_parent_collection_details", + "binding_collection_name": "$toggle_parent_collection_details_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + } + ] + } + } + ] + }, + + "content_toggle_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "toggle_label": { + "type": "label", + "layer": 3, + "$content_toggle_label_size|default": [ "100%", "default" ], + "size": "$content_toggle_label_size", + "$content_toggle_label_max_size|default": [ "100%", "100% - 4px" ], + "max_size": "$content_toggle_label_max_size", + "$content_toggle_label_offset|default": [ 0, 0 ], + "offset": "$content_toggle_label_offset", + "text_alignment": "left", + "color": "$text_color", + "$content_toggle_label|default": "#content_toggle_label", + "text": "$content_toggle_label", + "$content_toggle_label_tts_override|default": "", + "tts_override_control_value": "$content_toggle_label_tts_override", + "$content_toggle_label_font_type|default": "default", + "font_type": "$content_toggle_label_font_type", + "$content_toggle_label_font_scale_factor|default": 1.0, + "font_scale_factor": "$content_toggle_label_font_scale_factor", + "$content_toggle_label_binding_type|default": "none", + "$content_toggle_label_binding_condition|default": "none", + "$content_toggle_label_tts_override_binding_type|default": "none", + "bindings": [ + { + "binding_type": "$content_toggle_label_binding_type", + "binding_condition": "$content_toggle_label_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_name": "$content_toggle_label" + }, + { + "binding_type": "$toggle_parent_collection_details", + "binding_collection_name": "$toggle_parent_collection_details_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + }, + { + "binding_type": "$content_toggle_label_tts_override_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_name": "$content_toggle_label_tts_override" + } + ] + } + } + ] + }, + + "content_toggle_icon_panel": { + "ignored": "$ignore_content_toggle_icon", + "type": "panel", + "$content_toggle_icon_panel_size|default": [ 10, "100%" ], + "size": "$content_toggle_icon_panel_size", + + "$checked_toggle_icon|default": "textures/ui/checkbox_check", + "$checked_hover_toggle_icon|default": "textures/ui/checkbox_checkHover", + "$unchecked_toggle_icon|default": "textures/ui/checkbox_space", + "$unchecked_hover_toggle_icon|default": "textures/ui/checkbox_spaceHover", + + "controls": [ + { + "content_toggle_image": { + "type": "image", + "$content_toggle_icon_size|default": [ 10, 10 ], + "size": "$content_toggle_icon_size", + + "$content_toggle_icon_bindings|default": [], + "bindings": "$content_toggle_icon_bindings", + + "$content_toggle_icon|default": "$checked_toggle_icon", + "variables": [ + { + "requires": "$toggle_checked_hover", + "$content_toggle_icon": "$checked_hover_toggle_icon" + }, + { + "requires": "$toggle_unchecked", + "$content_toggle_icon": "$unchecked_toggle_icon" + }, + { + "requires": "$toggle_unchecked_hover", + "$content_toggle_icon": "$unchecked_hover_toggle_icon" + } + ], + + "texture": "$content_toggle_icon" + } + } + ] + }, + + "toggle_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "$toggle_content_panel_size|default": [ "100% - 4px", "100% - 4px" ], + "size": "$toggle_content_panel_size", + "$toggle_content_panel_offset|default": [ 0, 0 ], + "offset": "$toggle_content_panel_offset", + "$toggle_content_panel_anchor|default": "center", + "anchor_to": "$toggle_content_panel_anchor", + "anchor_from": "$toggle_content_panel_anchor", + "layer": 3, + "$ignore_content_toggle_icon|default": false, + "$ignore_content_toggle_image|default": false, + "$content_toggle_image_panel|default": "common_toggles.content_toggle_image_panel", + "$content_toggle_panel_content|default": "common_toggles.content_toggle_label_panel", + "controls": [ + { + "toggle_image_panel@$content_toggle_image_panel": { + "ignored": "$ignore_content_toggle_image" + } + }, + { + "toggle_image_padding_label": { + "ignored": "$ignore_content_toggle_image", + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "toggle_label_panel@$content_toggle_panel_content": {} + }, + { + "toggle_label_padding_toggle_icon": { + "type": "panel", + "size": [ 6, "100%" ] + } + }, + { + "toggle_icon@common_toggles.content_toggle_icon_panel": { + "ignored": "$ignore_content_toggle_icon" + } + } + ] + }, + + "vertical_form_fitting_toggle_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + + "$toggle_content_panel_size": [ "100% - 4px", "100% + 4px" ], + "$content_toggle_image_size": [ "100%c", "100%sm" ], + "$content_toggle_icon_panel_size": [ "100%c", "100%sm" ], + + "$toggle_content_panel_offset|default": [ 0, 0 ], + "offset": "$toggle_content_panel_offset", + "$toggle_content_panel_anchor|default": "center", + "anchor_to": "$toggle_content_panel_anchor", + "anchor_from": "$toggle_content_panel_anchor", + "layer": 3, + "$ignore_content_toggle_icon|default": false, + "$ignore_content_toggle_image|default": false, + "$content_toggle_image_panel|default": "common_toggles.content_toggle_image_panel", + "$content_toggle_panel_content|default": "common_toggles.content_toggle_label_panel", + "controls": [ + { + "toggle_image_panel@$content_toggle_image_panel": { + "ignored": "$ignore_content_toggle_image" + } + }, + { + "toggle_image_padding_label": { + "ignored": "$ignore_content_toggle_image", + "type": "panel", + "size": [ 4, "100%sm" ] + } + }, + { + "toggle_label_panel@$content_toggle_panel_content": { + "size": [ "fill", "100%c" ], + "$content_toggle_label_max_size": [ "100%", 30 ] + } + }, + { + "toggle_label_padding_toggle_icon": { + "type": "panel", + "size": [ 6, "100%sm" ] + } + }, + { + "toggle_icon@common_toggles.content_toggle_icon_panel": { + "ignored": "$ignore_content_toggle_icon" + } + } + ] + }, + + ///////////////////////////////// + // + // TOGGLE BUTTON NO COLLECTION + // + ///////////////////////////////// + + "light_text_toggle@common_toggles.light_ui_toggle": { + "$button_type_panel": "common_buttons.new_ui_binding_button_label", + "$button_offset|default": [ 0, 0 ], + "$button_text|default": "", + "$pressed_alpha|default": 1, + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_text_grid_collection_name|default": "", + "$button_binding_condition|default": "none" + }, + + "light_image_toggle@common_toggles.light_ui_toggle": { + "$button_type_panel": "common_buttons.button_content_panel", + "$button_content|default": "common_toggles.toggle_image", + "$button_offset|default": [ 0, 0 ] + }, + + "light_content_toggle@common_toggles.light_ui_toggle": { + "$button_type_panel": "common_buttons.button_content_panel", + "$button_content|default": "common_toggles.toggle_content_panel", + "$button_offset|default": [ 0, 0 ] + }, + + "dark_ui_toggle@common_toggles.light_ui_toggle": { + "$template_toggle": "common_toggles.dark_template_toggle" + }, + + "dark_text_toggle@common_toggles.dark_ui_toggle": { + "$button_type_panel": "common_buttons.new_ui_binding_button_label", + "$button_offset|default": [ 0, 0 ], + "$button_text|default": "", + "$pressed_alpha|default": 1, + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_text_grid_collection_name|default": "", + "$button_binding_condition|default": "none" + }, + + "dark_image_toggle@common_toggles.dark_ui_toggle": { + "$button_type_panel": "common_buttons.button_content_panel", + "$button_content|default": "common_toggles.toggle_image", + "$button_offset|default": [ 0, 0 ] + }, + + "dark_content_toggle@common_toggles.dark_ui_toggle": { + "size": [ "100%", "100%" ], + "$button_type_panel": "common_buttons.button_content_panel", + "$button_content|default": "common_toggles.toggle_content_panel", + "$button_offset|default": [ 0, 0 ] + }, + + "dark_vertical_template_toggle@common_toggles.dark_template_toggle": { + "size": [ "100%", "100%c" ] + }, + + "dark_vertical_form_fitting_content_toggle": { + "type": "panel", + "size": [ "100%", "100%c" ], + + "$toggle_state_panel_size": [ "100%", "100%c" ], + "$toggle_button_type_panel|default": "common_buttons.height_fitting_button_content_panel", + "$button_type_panel": "$toggle_button_type_panel", + "$button_content|default": "common_toggles.vertical_form_fitting_toggle_content", + "$ui_button_panel": "common_buttons.new_ui_height_fitting_button_panel", + "$button_offset|default": [ 0, 0 ], + + "controls": [ + { + "dark_content_toggle@common_toggles.light_ui_toggle": { + "size": [ "100%", "100%c" ], + "$template_toggle": "common_toggles.dark_vertical_template_toggle" + } + } + ] + }, + + "dark_template_toggle@common_toggles.light_template_toggle": { + "$default_texture|default": "textures/ui/button_borderless_dark", + "$hover_texture|default": "textures/ui/button_borderless_darkpressednohover", + "$pressed_texture|default": "textures/ui/button_borderless_darkhover", + "$pressed_no_hover_texture|default": "textures/ui/button_borderless_darkpressed", + + "$default_text_color|default": "$dark_toggle_default_text_color", + "$hover_text_color|default": "$dark_toggle_hover_text_color", + "$default_checked_text_color|default": "$dark_toggle_checked_default_text_color", + "$hover_checked_text_color|default": "$dark_toggle_checked_hover_text_color", + + "$default_glyph_color|default": "$dark_glyph_toggle_default_color", + "$hover_glyph_color|default": "$dark_glyph_toggle_hover_color", + "$default_checked_glyph_color|default": "$dark_glyph_toggle_checked_default_color", + "$hover_checked_glyph_color|default": "$dark_glyph_toggle_checked_hover_color" + }, + + "light_template_toggle@common.toggle": { + "$unchecked_control|default": "common_toggles.toggle_unchecked", + "$checked_control|default": "common_toggles.toggle_checked", + "$unchecked_hover_control|default": "common_toggles.toggle_unchecked_hover", + "$checked_hover_control|default": "common_toggles.toggle_checked_hover", + "$unchecked_locked_control|default": "common_toggles.toggle_locked", + "$unchecked_locked_hover_control|default": "common_toggles.toggle_locked", + "$checked_locked_control|default": "common_toggles.toggle_locked", + "$checked_locked_hover_control|default": "common_toggles.toggle_locked", + + "$default_texture|default": "textures/ui/button_borderless_light", + "$hover_texture|default": "textures/ui/button_borderless_lightpressednohover", + "$pressed_texture|default": "textures/ui/button_borderless_lighthover", + "$pressed_no_hover_texture|default": "textures/ui/button_borderless_lightpressed", + "$locked_texture|default": "textures/ui/disabledButtonNoBorder", + "$default_chevron|default": "textures/ui/dropdown_chevron", + "$default_chevron_nohover|default": "textures/ui/dropdown_chevron", + "$default_chevron_hover|default": "textures/ui/chevron_white_down", + + "$default_texture_alpha|default": 1.0, + "$default_checked_texture_alpha|default": 1.0, + "$hover_texture_alpha|default": 1.0, + "$hover_checked_texture_alpha|default": 1.0, + + "$default_texture_color|default": "$f_color_format", + "$default_checked_texture_color|default": "$f_color_format", + "$hover_texture_color|default": "$f_color_format", + "$hover_checked_texture_color|default": "$f_color_format", + + "$default_text_color|default": "$light_toggle_default_text_color", + "$hover_text_color|default": "$light_toggle_hover_text_color", + "$default_checked_text_color|default": "$light_toggle_checked_default_text_color", + "$hover_checked_text_color|default": "$light_toggle_checked_hover_text_color", + + "$default_glyph_color|default": "$light_glyph_toggle_default_color", + "$hover_glyph_color|default": "$light_glyph_toggle_hover_color", + "$default_checked_glyph_color|default": "$light_glyph_toggle_checked_default_color", + "$hover_checked_glyph_color|default": "$light_glyph_toggle_checked_hover_color", + + "$checked_image|default": "common.empty_panel", + "$unchecked_image|default": "common.empty_panel", + "$default_border_visible|default": true, + "$hover_border_visible|default": true, + "$default_border_color": "$light_border_toggle_default_color", + "$hover_border_color": "$light_border_toggle_hover_color", + "$locked_alpha": 1, + + "$toggle_binding_type|default": "none", + "$toggle_parent_collection_details|default": "none", + "$toggle_parent_collection_details_name|default": "", + "$toggle_parent_collection_details_prefix|default": "", + "$toggle_enabled_binding_type|default": "none", + "$toggle_property_bag_binding_type|default": "none", + "$toggle_property_bag_binding_condition|default": "visible", + "$toggle_property_bag_binding_name|default": "#fill_toggle_property_bag", + "$toggle_tab_focus_binding_type|default": "none", + "$toggle_tab_focus_id_binding_type|default": "none", + "$toggle_tab_focus_override_left_binding_type|default": "none", + "$toggle_tab_focus_override_right_binding_type|default": "none", + "$toggle_tab_focus_override_down_binding_type|default": "none", + "$toggle_tab_focus_override_up_binding_type|default": "none", + "$toggle_on_hover_binding_type|default": "none", + "$toggle_tab_focus_binding_name|default": "", + "$toggle_tab_focus_id_binding_name|default": "", + "$toggle_tab_focus_override_right|default": "#focus_override_right", + "$toggle_tab_focus_override_down|default": "#focus_override_down", + "$toggle_tab_focus_override_up|default": "#focus_override_up", + "$toggle_tab_focus_override_left|default": "#focus_override_left", + "$toggle_on_hover_binding_name|default": "", + "$toggle_focus_wrap_enabled|default": true, + "$toggle_focus_magnet_enabled|default": true, + + "$toggle_unchecked|default": false, + "$toggle_unchecked_hover|default": false, + "$toggle_checked|default": false, + "$toggle_checked_hover|default": false, + + "$default_state|default": false, + "$hover_state|default": false, + "$pressed_state|default": false, + "$locked_state|default": false, + + "$enable_hover_event_mapping|default": false, + "$toggle_hover_event_mapping|default": "", + + "$enable_focus_id_bind|default": false, + "$focus_id_binding_name|default": "", + + "$enable_focus_enabled_bind|default": false, + "$focus_enabled_binding_name|default": "", + + "$button_mappings|default": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_ok", + "to_button_id": "button.menu_ok", + "mapping_type": "focused" + }, + { + "from_button_id": "button.controller_back", + "to_button_id": "button.controller_back", + "mapping_type": "focused", + "ignored": "(not $allow_controller_back_button_mapping)" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_left", + "to_button_id": "$toggle_off_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + }, + { + "ignored": "(not $enable_directional_toggling)", + "from_button_id": "button.menu_right", + "to_button_id": "$toggle_on_button", + "mapping_type": "pressed", + "input_mode_condition": "gamepad_and_not_gaze" + }, + { + "ignored": "(not $enable_hover_event_mapping)", + "to_button_id": "$toggle_hover_event_mapping", + "mapping_type": "pressed" + } + ], + + "focus_wrap_enabled": "$toggle_focus_wrap_enabled", + "focus_magnet_enabled": "$toggle_focus_magnet_enabled", + + "$custom_toggle_binding_type|default": "none", + "$custom_toggle_binding_condition|default": "visible", + "$custom_toggle_state_binding_name|default": "", + "$custom_toggle_state_binding_name_override|default": "", + + "$toggle_tts_header_binding_type|default": "none", + "$toggle_tts_header_binding_condition|default": "visible", + "$toggle_tts_header_binding_collection_name|default": "", + "$toggle_tts_header|default": "", + + "button_mappings": "$button_mappings", + "$toggle_bindings|default": [ + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + }, + { + "binding_type": "$toggle_enabled_binding_type", + "binding_condition": "$toggle_enabled_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_collection_name": "$toggle_grid_collection_name", + "binding_type": "collection_details", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + }, + { + "binding_type": "$toggle_parent_collection_details", + "binding_collection_name": "$toggle_parent_collection_details_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + }, + { + "binding_type": "$toggle_property_bag_binding_type", + "binding_condition": "$toggle_property_bag_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_property_bag_binding_name" + }, + { + "binding_type": "$toggle_tab_focus_binding_type", + "binding_name": "$toggle_tab_focus_binding_name", + "binding_name_override": "#default_focus_precedence" + }, + { + "binding_type": "$toggle_tab_focus_id_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_id_binding_name", + "binding_name_override": "#focus_identifier" + }, + { + "binding_type": "$toggle_tab_focus_override_right_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_right", + "binding_name_override": "#focus_change_right" + }, + { + "binding_type": "$toggle_tab_focus_override_left_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_left", + "binding_name_override": "#focus_change_left" + }, + { + "binding_type": "$toggle_tab_focus_override_down_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_down", + "binding_name_override": "#focus_change_down" + }, + { + "binding_type": "$toggle_tab_focus_override_up_binding_type", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$toggle_tab_focus_override_up", + "binding_name_override": "#focus_change_up" + }, + { + "binding_type": "$toggle_on_hover_binding_type", + "binding_name": "$toggle_on_hover_binding_name", + "binding_name_override": "#toggle_on_hover" + }, + { + "binding_type": "$custom_toggle_binding_type", + "binding_condition": "$custom_toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_name": "$custom_toggle_state_binding_name", + "binding_name_override": "$custom_toggle_state_binding_name_override" + }, + { + "binding_type": "$toggle_tts_header_binding_type", + "binding_condition": "$toggle_tts_header_binding_condition", + "binding_collection_name": "$toggle_tts_header_binding_collection_name", + "binding_name": "$toggle_tts_header" + }, + { + "ignored": "(not $enable_focus_id_bind)", + "binding_name": "$focus_id_binding_name", + "binding_name_override": "#focus_identifier" + }, + { + "ignored": "(not $enable_focus_enabled_bind)", + "binding_name": "$focus_enabled_binding_name", + "binding_name_override": "#focus_enabled" + } + ], + "bindings": "$toggle_bindings" + }, + + "light_ui_toggle": { + "type": "panel", + + "$toggle_view_binding_name|default": "this_toggle", + "$template_toggle|default": "common_toggles.light_template_toggle", + + "controls": [ + { + // done as a child to allow for parent bindings + "$toggle_view_binding_name@$template_toggle": { + } + } + ] + }, + + "switch_toggle@common_toggles.light_image_toggle": { + "$unchecked_control": "common_toggles.toggle_unchecked", + "$checked_control": "common_toggles.toggle_checked", + "$unchecked_hover_control": "common_toggles.toggle_unchecked_hover", + "$checked_hover_control": "common_toggles.toggle_checked_hover", + "$unchecked_locked_control": "common_toggles.toggle_unchecked_locked", + "$unchecked_locked_hover_control": "common_toggles.toggle_unchecked_locked", + "$checked_locked_control": "common_toggles.toggle_checked_locked", + "$checked_locked_hover_control": "common_toggles.toggle_checked_locked", + + "$default_texture": "textures/ui/toggle_off", + "$hover_texture": "textures/ui/toggle_on", + "$pressed_texture": "textures/ui/toggle_off_hover", + "$pressed_no_hover_texture": "textures/ui/toggle_on_hover", + "$unchecked_locked_texture": "textures/ui/toggle_off", + "$checked_locked_texture": "textures/ui/toggle_on", + + "$border_visible": false, + "$locked_alpha": 0.5 + }, + + + ///////////////////////////////// + // + // TOGGLE BUTTON FOR COLLECTION + // + ///////////////////////////////// + + "light_text_toggle_collection@common_toggles.light_ui_toggle_collection": { + "$button_type_panel": "common_buttons.new_ui_binding_button_label", + "$button_offset|default": [ 0, 0 ], + "$button_text|default": "", + "$pressed_alpha|default": 1, + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_text_grid_collection_name|default": "", + "$button_binding_condition|default": "none" + }, + + "light_image_toggle_collection@common_toggles.light_ui_toggle_collection": { + "$button_type_panel": "common_buttons.button_content_panel", + "$button_content|default": "common_toggles.toggle_image", + "$button_offset|default": [ 0, 0 ] + }, + + "dark_text_toggle_collection@common_toggles.dark_ui_toggle_collection": { + "$button_type_panel": "common_buttons.new_ui_binding_button_label", + "$button_offset|default": [ 0, 0 ], + "$button_text|default": "", + "$pressed_alpha|default": 1, + + // For text bindings + "$button_text_binding_type|default": "none", + "$button_text_grid_collection_name|default": "", + "$button_binding_condition|default": "none" + }, + + "dark_image_toggle_collection@common_toggles.dark_ui_toggle_collection": { + "$button_type_panel": "common_buttons.button_content_panel", + "$button_content|default": "common_toggles.toggle_image", + "$button_offset|default": [ 0, 0 ] + }, + + + "dark_ui_toggle_collection@common_toggles.light_ui_toggle_collection": { + "$default_texture|default": "textures/ui/button_borderless_dark", + "$hover_texture|default": "textures/ui/button_borderless_darkpressednohover", + "$pressed_texture|default": "textures/ui/button_borderless_darkhover", + "$pressed_no_hover_texture|default": "textures/ui/button_borderless_darkpressed", + + "$default_text_color|default": "$dark_toggle_default_text_color", + "$hover_text_color|default": "$dark_toggle_hover_text_color", + "$default_checked_text_color|default": "$dark_toggle_checked_default_text_color", + "$hover_checked_text_color|default": "$dark_toggle_checked_hover_text_color", + + "$default_glyph_color|default": "$dark_glyph_toggle_default_color", + "$hover_glyph_color|default": "$dark_glyph_toggle_hover_color", + "$default_checked_glyph_color|default": "$dark_glyph_toggle_checked_default_color", + "$hover_checked_glyph_color|default": "$dark_glyph_toggle_checked_hover_color" + }, + + "light_ui_toggle_collection": { + "type": "panel", + + "$unchecked_control|default": "common_toggles.toggle_unchecked", + "$checked_control|default": "common_toggles.toggle_checked", + "$unchecked_hover_control|default": "common_toggles.toggle_unchecked_hover", + "$checked_hover_control|default": "common_toggles.toggle_checked_hover", + "$unchecked_locked_control|default": "common_toggles.toggle_locked", + "$unchecked_locked_hover_control|default": "common_toggles.toggle_locked", + "$checked_locked_control|default": "common_toggles.toggle_locked", + "$checked_locked_hover_control|default": "common_toggles.toggle_locked", + + "$default_texture|default": "textures/ui/button_borderless_light", + "$hover_texture|default": "textures/ui/button_borderless_lightpressednohover", + "$pressed_texture|default": "textures/ui/button_borderless_lighthover", + "$pressed_no_hover_texture|default": "textures/ui/button_borderless_lightpressed", + "$locked_texture|default": "textures/ui/disabledButtonNoBorder", + + "$default_texture_alpha|default": 1.0, + "$default_checked_texture_alpha|default": 1.0, + "$hover_texture_alpha|default": 1.0, + "$hover_checked_texture_alpha|default": 1.0, + + "$default_texture_color|default": "$f_color_format", + "$default_checked_texture_color|default": "$f_color_format", + "$hover_texture_color|default": "$f_color_format", + "$hover_checked_texture_color|default": "$f_color_format", + + "$default_text_color|default": "$light_toggle_default_text_color", + "$hover_text_color|default": "$light_toggle_hover_text_color", + "$default_checked_text_color|default": "$light_toggle_checked_default_text_color", + "$hover_checked_text_color|default": "$light_toggle_checked_hover_text_color", + + "$default_glyph_color|default": "$light_glyph_toggle_default_color", + "$hover_glyph_color|default": "$light_glyph_toggle_hover_color", + "$default_checked_glyph_color|default": "$light_glyph_toggle_checked_default_color", + "$hover_checked_glyph_color|default": "$light_glyph_toggle_checked_hover_color", + + "$checked_image|default": "common.empty_panel", + "$unchecked_image|default": "common.empty_panel", + "$default_border_visible|default": true, + "$hover_border_visible|default": true, + "$default_border_color": "$dark_border_toggle_default_color", + "$hover_border_color": "$dark_border_toggle_hover_color", + "$locked_alpha": 1, + + "$toggle_binding_type|default": "none", + "$toggle_enabled_binding_type|default": "none", + "$toggle_tab_focus_binding_type|default": "none", + "$toggle_on_hover_binding_type|default": "none", + "$toggle_view_binding_name|default": "this_toggle", + "$template_toggle|default": "common.toggle", + "$toggle_tab_focus_binding_name|default": "", + "$toggle_on_hover_binding_name|default": "", + + "$toggle_unchecked|default": false, + "$toggle_unchecked_hover|default": false, + "$toggle_checked|default": false, + "$toggle_checked_hover|default": false, + "$toggle_locked|default": false, + "$toggle_parent_collection_details_prefix|default": "", + + "$toggle_focus_wrap_enabled|default": true, + "$toggle_focus_magnet_enabled|default": true, + "$toggle_bindings|default": [ + { + "binding_type": "$toggle_binding_type", + "binding_condition": "$toggle_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_name": "$toggle_state_binding_name", + "binding_name_override": "#toggle_state" + }, + { + "binding_type": "$toggle_enabled_binding_type", + "binding_condition": "$toggle_enabled_binding_condition", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_name": "$toggle_enabled_binding_name", + "binding_name_override": "#enabled" + }, + { + "binding_type": "collection_details", + "binding_collection_name": "$toggle_grid_collection_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix" + }, + { + "binding_type": "$toggle_tab_focus_binding_type", + "binding_name": "$toggle_tab_focus_binding_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_name_override": "#default_focus_precedence" + }, + { + "binding_type": "$toggle_on_hover_binding_type", + "binding_name": "$toggle_on_hover_binding_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_name_override": "#toggle_on_hover" + }, + { + "binding_type": "$toggle_tts_header_binding_type", + "binding_collection_name": "$toggle_tts_header_binding_collection_name", + "binding_collection_prefix": "$toggle_parent_collection_details_prefix", + "binding_name": "$toggle_tts_header" + } + ], + + "controls": [ + { + // done as a child to allow for parent bindings + "$toggle_view_binding_name@$template_toggle": { + "focus_wrap_enabled": false, + "bindings": "$toggle_bindings" + } + } + ] + }, + + "switch_toggle_collection@common_toggles.light_image_toggle_collection": { + "$unchecked_control": "common_toggles.toggle_unchecked", + "$checked_control": "common_toggles.toggle_checked", + "$unchecked_hover_control": "common_toggles.toggle_unchecked_hover", + "$checked_hover_control": "common_toggles.toggle_checked_hover", + "$unchecked_locked_control": "common_toggles.toggle_unchecked_locked", + "$unchecked_locked_hover_control": "common_toggles.toggle_unchecked_locked", + "$checked_locked_control": "common_toggles.toggle_checked_locked", + "$checked_locked_hover_control": "common_toggles.toggle_checked_locked", + + "$default_texture": "textures/ui/toggle_off", + "$hover_texture": "textures/ui/toggle_on", + "$pressed_texture": "textures/ui/toggle_off_hover", + "$pressed_no_hover_texture": "textures/ui/toggle_on_hover", + "$unchecked_locked_texture": "textures/ui/toggle_off", + "$checked_locked_texture": "textures/ui/toggle_on", + + "$border_visible": false, + "$locked_alpha": 0.5 + }, + + "toggle_state_panel": { + "type": "panel", + + "$toggle_state_panel_size|default": [ "100%", "100%" ], + "size": "$toggle_state_panel_size", + + "$ui_button_panel|default": "common_buttons.new_ui_button_panel", + "controls": [ + { "button_panel@$ui_button_panel": {} } + ] + }, + + "toggle_unchecked@common_toggles.toggle_state_panel": { + "$new_ui_button_texture": "$default_texture", + "$content_alpha": "$default_texture_alpha", + "$button_image_color": "$default_texture_color", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "$unchecked_image", + "$border_layer": 1, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_unchecked": true, + "$default_state": true, + "layer": 1 + }, + + "toggle_checked@common_toggles.toggle_state_panel": { + "$new_ui_button_texture": "$hover_texture", + "$content_alpha": "$default_checked_texture_alpha", + "$button_image_color": "$default_checked_texture_color", + "$text_color": "$default_checked_text_color", + "$glyph_color": "$default_checked_glyph_color", + "$toggle_image": "$checked_image", + "$border_layer": 2, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_checked": true, + "$pressed_state": true, + "layer": 2 + }, + + "toggle_unchecked_hover@common_toggles.toggle_state_panel": { + "$new_ui_button_texture": "$pressed_texture", + "$content_alpha": "$hover_texture_alpha", + "$button_image_color": "$hover_texture_color", + "$text_color": "$hover_text_color", + "$glyph_color": "$hover_glyph_color", + "$toggle_image": "$unchecked_image", + "$border_layer": 3, + "$border_visible": "$hover_border_visible", + "$border_color": "$hover_border_color", + "$toggle_unchecked_hover": true, + "$hover_state": true, + "layer": 3 + }, + + "toggle_checked_hover@common_toggles.toggle_state_panel": { + "$new_ui_button_texture": "$pressed_no_hover_texture", + "$content_alpha": "$hover_checked_texture_alpha", + "$button_image_color": "$hover_checked_texture_color", + "$text_color": "$hover_checked_text_color", + "$glyph_color": "$hover_checked_glyph_color", + "$toggle_image": "$checked_image", + "$border_layer": 4, + "$border_visible": "$hover_border_visible", + "$border_color": "$hover_border_color", + "$toggle_checked_hover": true, + "$pressed_state": true, + "layer": 4 + }, + + "toggle_locked@common_toggles.toggle_state_panel": { + "$new_ui_button_texture": "$locked_texture", + "$content_alpha": "$locked_alpha", + "$button_image_color": "$default_texture_color", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "$unchecked_image", + "$button_image": "common_buttons.locked_button_image", + "$border_layer": 1, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_locked": true, + "$default_state": true, + "layer": 1 + }, + + "toggle_unchecked_locked@common_toggles.toggle_state_panel": { + "$new_ui_button_texture": "$unchecked_locked_texture", + "$content_alpha": "$locked_alpha", + "$button_image_color": "$default_texture_color", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "$unchecked_image", + "$border_layer": 1, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_locked": true, + "$default_state": true, + "layer": 1 + }, + + "toggle_checked_locked@common_toggles.toggle_state_panel": { + "$new_ui_button_texture": "$checked_locked_texture", + "$content_alpha": "$locked_alpha", + "$button_image_color": "$default_checked_texture_color", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "$checked_image", + "$border_layer": 1, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_locked": true, + "$pressed_state": true, + "layer": 1 + }, + + "toggle_unchecked_hover_with_chevron@toggle_unchecked_hover": { + "$default_chevron": "$default_chevron_hover" + }, + + "toggle_checked_hover_with_chevron@toggle_checked_hover": { + "$default_chevron": "$default_chevron_nohover" + }, + + "toggle_image": { + "type": "panel", + "controls": [ + { "image@$toggle_image": {} } + ] + }, + + ///////////////////////////////// + // + // RADIO IMAGES + // + ///////////////////////////////// + + "radio_off_icon": { + "type": "image", + "texture": "textures/ui/radio_off", + "size": [ 10, 10 ] + }, + + "radio_off_hover_icon": { + "type": "image", + "texture": "textures/ui/radio_off_hover", + "size": [ 10, 10 ] + }, + + "radio_on_icon": { + "type": "image", + "texture": "textures/ui/radio_on", + "size": [ 10, 10 ] + }, + + "radio_on_hover_icon": { + "type": "image", + "texture": "textures/ui/radio_on_hover", + "size": [ 10, 10 ] + }, + + + + //--------------------------------------------------------------------------- + // Checkbox button common + //--------------------------------------------------------------------------- + + "check_box_button_toggle_image": { + "type": "image", + "size": [ 10, 10 ], + "anchor_from": "right_middle", + "anchor_to": "right_middle", + "texture": "$toggle_texture" + }, + + //--------------------------------------------------------------------------- + // Checkbox toggle states + //--------------------------------------------------------------------------- + "checkbox_button_checked_state@common_toggles.check_box_button_toggle_image": { + "$toggle_texture": "textures/ui/checkbox_checkHover" + }, + + "checkbox_button_unchecked_state@common_toggles.check_box_button_toggle_image": { + "$toggle_texture": "textures/ui/checkbox_space" + }, + + "checkbox_button_checked_hover_state@common_toggles.check_box_button_toggle_image": { + "$toggle_texture": "textures/ui/checkbox_checkHover" + }, + + "checkbox_button_unchecked_hover_state@common_toggles.check_box_button_toggle_image": { + "$toggle_texture": "textures/ui/checkbox_spaceHover" + }, + + "checkbox_button_checked_locked_state@common_toggles.check_box_button_toggle_image": { + "$toggle_texture": "textures/ui/checkbox_check_locked" + }, + + "checkbox_button_unchecked_locked_state@common_toggles.check_box_button_toggle_image": { + "$toggle_texture": "textures/ui/checkbox_space_locked" + }, + + //--------------------------------------------------------------------------- + // Checkbox button states + //--------------------------------------------------------------------------- + + "toggle_checkbox_unchecked@common_toggles.check_box_button_ui_panel": { + "$new_ui_button_texture": "$default_texture", + "$content_alpha": "$default_texture_alpha", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "common_toggles.checkbox_button_unchecked_state", + "$border_layer": 1, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_unchecked": true, + "layer": 1 + }, + + "toggle_checkbox_checked@common_toggles.check_box_button_ui_panel": { + "$new_ui_button_texture": "$hover_texture", + "$content_alpha": "$default_checked_texture_alpha", + "$text_color": "$default_checked_text_color", + "$glyph_color": "$default_checked_glyph_color", + "$toggle_image": "common_toggles.checkbox_button_checked_state", + "$border_layer": 2, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_checked": true, + "layer": 2 + }, + + "toggle_checkbox_unchecked_hover@common_toggles.check_box_button_ui_panel": { + "$new_ui_button_texture": "$pressed_texture", + "$content_alpha": "$default_texture_alpha", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "common_toggles.checkbox_button_unchecked_hover_state", + "$border_layer": 3, + "$border_visible": "$hover_border_visible", + "$border_color": "$hover_border_color", + "$toggle_unchecked_hover": true, + "layer": 3 + }, + + "toggle_checkbox_checked_hover@common_toggles.check_box_button_ui_panel": { + "$new_ui_button_texture": "$pressed_no_hover_texture", + "$content_alpha": "$default_checked_texture_alpha", + "$text_color": "$default_checked_text_color", + "$glyph_color": "$default_checked_glyph_color", + "$toggle_image": "common_toggles.checkbox_button_checked_hover_state", + "$border_layer": 4, + "$border_visible": "$hover_border_visible", + "$border_color": "$hover_border_color", + "$toggle_checked_hover": true, + "layer": 4 + }, + + "toggle_checkbox_unchecked_locked@common_toggles.check_box_button_ui_panel": { + "$new_ui_button_texture": "$unchecked_locked_texture", + "$content_alpha": "$locked_alpha", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "common_toggles.checkbox_button_unchecked_locked_state", + "$border_layer": 1, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_locked": true, + "layer": 1 + }, + + "toggle_checkbox_checked_locked@common_toggles.check_box_button_ui_panel": { + "$new_ui_button_texture": "$checked_locked_texture", + "$content_alpha": "$locked_alpha", + "$text_color": "$default_text_color", + "$glyph_color": "$default_glyph_color", + "$toggle_image": "common_toggles.checkbox_button_checked_locked_state", + "$border_layer": 1, + "$border_visible": "$default_border_visible", + "$border_color": "$default_border_color", + "$toggle_locked": true, + "layer": 1 + }, + + //--------------------------------------------------------------------------- + // Checkbox button templates + //--------------------------------------------------------------------------- + + "check_box_button_ui_panel@common_buttons.new_ui_button_panel": { + "controls": [ + { + "toggle_image": { + "type": "panel", + "$button_content_size|default": [ "100%", "80%" ], + "size": "$button_content_size", + "$anchor": "left_middle", + "$text_alignment": "left", + "$button_text_size": [ "100%", "100%" ], + "controls": [ + { + "$button_image@$button_image": { + "ignored": "(not $button_image_visible)", + "size": "$button_image_size", + "offset": "$image_offset", + "anchor_from": "$image_anchor", + "anchor_to": "$image_anchor", + "layer": 1 + } + }, + { + "button_content": { + "type": "panel", + "size": "$button_content_size", + "controls": [ + { + "$button_type_panel@$button_type_panel": { + "layer": 3 + } + } + ] + } + }, + { + "border@common_buttons.focus_border": { + "color": "$border_color", + "layer": "$border_layer", + "alpha": "$border_alpha", + "ignored": "(not $border_visible)" + } + }, + { + "checkbox_image": { + "type": "panel", + "offset": [ -6, 0 ], + "layer": 10, + "controls": [ + { "image@$toggle_image": {} } + ] + } + } + ] + } + } + ] + }, + + "button_and_checkbox_template@common_toggles.light_template_toggle": { + "$unchecked_control|default": "common_toggles.toggle_checkbox_unchecked", + "$checked_control|default": "common_toggles.toggle_checkbox_checked", + "$unchecked_hover_control|default": "common_toggles.toggle_checkbox_unchecked_hover", + "$checked_hover_control|default": "common_toggles.toggle_checkbox_checked_hover", + "$unchecked_locked_control|default": "common_toggles.toggle_checkbox_unchecked_locked", + "$unchecked_locked_hover_control|default": "common_toggles.toggle_checkbox_unchecked_locked", + "$checked_locked_control|default": "common_toggles.toggle_checkbox_checked_locked", + "$checked_locked_hover_control|default": "common_toggles.toggle_checkbox_checked_locked", + + "$default_texture|default": "textures/ui/button_borderless_light", + "$hover_texture|default": "textures/ui/button_borderless_light", + "$pressed_texture|default": "textures/ui/button_borderless_light", + "$pressed_no_hover_texture|default": "textures/ui/button_borderless_light", + "$locked_texture|default": "textures/ui/disabledButtonNoBorder", + "$unchecked_locked_texture|default": "textures/ui/disabledButtonNoBorder", + "$checked_locked_texture|default": "textures/ui/disabledButtonNoBorder", + + "$toggle_binding_type|default": "none" + }, + + + "button_with_checkbox_toggle@common_toggles.light_text_toggle": { + "$template_toggle": "common_toggles.button_and_checkbox_template" + } + +} diff --git a/resource_pack/ui/update_dimensions.json b/resource_pack/ui/update_dimensions.json new file mode 100644 index 0000000..1c502a1 --- /dev/null +++ b/resource_pack/ui/update_dimensions.json @@ -0,0 +1,227 @@ +{ + "namespace": "update_dimensions", + + //-------------------------------------------------------------------------------- + + "update_dimensions_update_and_play_button@popup_dialog.popup_dialog_button": { + "size": "$button_size", + "$pressed_button_name": "button.update_and_play", + "$button_text": "options.updateAndPlay" + }, + + "update_dimensions_description": { + "type": "label", + "size": [ "100%", "100%" ], + "color": "$body_text_color", + "anchor_from": "center", + "anchor_to": "center", + "text": "options.updateWorldHeight.message" + }, + + "update_dimensions_label_panel@common.scrolling_panel": { + "$scrolling_pane_size": [ "100% - 12px", "100%" ], + "$scrolling_content": "update_dimensions.update_dimensions_description", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "layer": 0, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$always_handle_scrolling": true + }, + + "make_backup_checkbox@common.checkbox": { + "size": [ "100%", "100%" ], + "anchor_from": "center", + "anchor_to": "center", + "$toggle_name": "update_dimensions_make_backup", + "$toggle_state_binding_name": "#update_dimensions_make_backup", + "$toggle_label_text|default": "options.makeBackup", + + "tts_control_type_order_priority": 100, + "tts_value_order_priority": 101, + "$toggle_enabled_binding_type": "global", + + "controls": [ + { + "header_description_stack_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + + "controls": [ + { + "checkbox_visuals@common.toggle_visuals": { + "size": [ 30, "100%" ], + "anchor_from": "right_middle", + "anchor_to": "right_middle" + } + }, + { + "buffer_panel": { + "type": "panel", + "layer": 3, + "size": [ "fill", "100%" ], + "controls": [ + { + "label": { + "type": "label", + "color": "$light_button_default_text_color", + "text": "$toggle_label_text", + "size": [ "default", "default" ], + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + } + }, + { + "another_panel": { + "type": "panel", + "size": [ 30, "100%" ] + } + } + ] + } + } + ] + }, + + "world_upgrade_animation": { + "anim_type": "flip_book", + "initial_uv": [ 0, 0 ], + "frame_count": 32, + "frame_step": 130, + "fps": 9, + "reversible": false, + "easing": "linear" + }, + + "world_upgrade": { + "type": "image", + "layer": 5, + "texture": "textures/ui/world_upgrade", + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 10, 25 ], + "size": [ 130, 127 ], + "uv_size": [ 130, 127 ], + "uv": "@update_dimensions.world_upgrade_animation", + "disable_anim_fast_forward": true + }, + + "update_dimensions_dialog@common_dialogs.main_panel_three_buttons": { + "size": [ 300, 230 ], + "$fill_alpha": 1, + + "layer": 101, + "$text_name": "options.updateWorldHeight", + "$description_text": "options.updateWorldHeight.message", + "$button_size": [ "100%", 30 ], + + "$show_close_button": true, + "$child_control": "update_dimensions.update_dimensions_label_panel", + "$top_button_panel": "update_dimensions.make_backup_checkbox", + "$bottom_button_panel": "update_dimensions.update_dimensions_update_and_play_button", + "controls": [ + { + "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_1" } + }, + { + "title_label@common_dialogs.title_label": {} + }, + { + "panel_indent": { + "type": "panel", + "size": [ "50%", "40%" ], + "offset": [ "50%", "-10%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "controls": [ + { "inside_header_panel@$child_control": {} } + ] + } + }, + { + "top_button_panel@$top_button_panel": { + "size": [ "100%", 30 ], + "offset": [ 0, -43 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + }, + { + "bottom_button_panel@$bottom_button_panel": { + "size": [ "65%", 30 ], + "offset": [ 0, -10 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle" + } + }, + { + "world_upgrade_image@update_dimensions.world_upgrade": {} + } + ] + }, + + //-------------------------------------------------------------------------------- + + "gamepad_helpers": { + "type": "panel", + "size": [ 100, 10 ], + "offset": [ 0, "45%" ], + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + "update_dimensions_screen@common.base_screen": { + "force_render_below": false, + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade" + ], + + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + + "$screen_content": "update_dimensions.update_dimensions_screen_content" + }, + + "update_dimensions_screen_content": { + "type": "panel", + "variables": [ + { + "requires": "$desktop_screen", + "$button_state_default_base": "common.button_state_default", + "$button_state_hover_base": "common.button_state_hover", + "$button_state_pressed_base": "common.button_state_pressed" + }, + { + "requires": "$pocket_screen", + "$button_state_default_base": "common-classic.button_state_default", + "$button_state_hover_base": "common-classic.button_state_hover", + "$button_state_pressed_base": "common-classic.button_state_pressed" + } + ], + "controls": [ + { "update_dimensions_dialog@update_dimensions.update_dimensions_dialog": {} }, + { "gamepad_helpers@update_dimensions.gamepad_helpers": {} } + ] + } +} diff --git a/resource_pack/ui/update_version.json b/resource_pack/ui/update_version.json new file mode 100644 index 0000000..8b71a2d --- /dev/null +++ b/resource_pack/ui/update_version.json @@ -0,0 +1,147 @@ +{ + "namespace": "update_version", + + "update_version_screen@common.modal_screen": { + "$screen_content": "update_version.update_version_popup", + "force_render_below": true, + "$screen_background_control": "coin_purchase.background" + }, + + "update_version_popup@common_dialogs.main_panel_one_button": { + "size": [ "80%", "60%" ], + "$text_name": "#update_screen_title", + "$show_close_button": true, + "$child_control": "update_version.update_version_content", + "$button_panel": "update_version.update_button", + "$title_text_binding_type": "global", + "$fill_alpha": 1 + }, + + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + }, + + "update_version_content": { + "type": "stack_panel", + "size": [ "100% - 2px", "100% - 2px" ], + "offset": [ 1, 1 ], + "controls": [ + { + "top_of_version_panel@update_version.picture_and_patch_notes": {} + }, + { + "spacer_1px": { + "type": "panel", + "size": [ "100%", "1px" ] + } + }, + { + "update_body_text@update_version.update_body_text": {} + }, + { + "spacer_1px_2": { + "type": "panel", + "size": [ "100%", "1px" ] + } + } + ] + }, + + "patch_notes_panel": { + "type": "image", + "size": [ "100%", "100%" ], + "texture": "textures/ui/panel_outline", + "controls": [ + { + "patch_notes_text@common.scrolling_panel": { + "offset": [ 0, 1 ], + "$scrolling_pane_size": [ "100%-1px", "100%-2px" ], + "$scrolling_content": "update_version.patch_notes", + "$scroll_view_port_size": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_size_touch": [ "100% - 4px", "100% - 4px" ], + "$scroll_view_port_offset": [ 2, 2 ], + "$scroll_view_port_offset_touch": [ 2, 2 ], + "$scroll_size": [ 5, "100%-2px" ], + "$scroll_size_touch": [ 5, "100%-2px" ], + "$background_size": [ "100%", "100%" ], + "$background_size_touch": [ "100%", "100%" ], + "$show_background": true, + "$scroll_bar_contained": true, + "$scroll_bar_contained_touch": true + + } + } + ] + }, + + "picture_and_patch_notes": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 2px", "fill" ], + "offset": [ 1, 1 ], + "controls": [ + { + "patch_notes_image_outline": { + "size": [ "100%c + 2px", "100%" ], + "type": "image", + "texture": "textures/ui/panel_outline", + "controls": [ + { + "patch_notes_image": { + "size": [ "137%y", "100% - 2px" ], + "type": "image", + "texture": "textures/ui/storexblsignin" + } + } + ] + } + }, + { + "patch_notes_panel@update_version.patch_notes_panel": { + "size": [ "fill", "100%" ] + } + } + ] + }, + + "patch_notes": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "patch_notes_text": { + "type": "label", + "offset": [ 1, 0 ], + "size": [ "100%", "default" ], + "color": "$body_text_color", + "layer": 3, + "text": "#update_screen_patch_notes", + "bindings": [ + { + "binding_name": "#update_screen_patch_notes" + } + ] + } + } + ] + }, + + "update_body_text": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#update_screen_description", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#update_screen_description" + } + ] + }, + + "update_button@common_buttons.light_text_button": { + "$pressed_button_name": "button.update", + "$button_text": "updateScreen.update" + } + +} diff --git a/resource_pack/ui/vr_alignscreen.json b/resource_pack/ui/vr_alignscreen.json new file mode 100644 index 0000000..8a441c6 --- /dev/null +++ b/resource_pack/ui/vr_alignscreen.json @@ -0,0 +1,210 @@ +{ + "namespace": "vr_align_screen", + + "vrinfo_label": { + "type": "label", + "layer": 2, + "size": [ "100%", "default" ], + "shadow": true, + "text": "#vr_alignscreen_text", + "text_alignment": "center", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#vr_alignscreen_text", + "binding_condition": "once" + } + ] + }, + + "recalibration_label": { + "type": "label", + "layer": 2, + "size": [ "100%", "default" ], + "shadow": true, + "text": "#text", + "text_tts": "#text_tts", + "text_alignment": "center", + "line_padding": 10.0, + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#recalibration_text", + "binding_name_override": "#text" + }, + { + "binding_name": "#recalibration_text_tts", + "binding_name_override": "#text_tts" + }, + { + "binding_name": "#show_recalibration_text", + "binding_name_override": "#visible" + } + ] + }, + + "controller_prompt_label": { + "type": "label", + "layer": 2, + "size": [ "100%", "default" ], + "shadow": true, + "text": "#text", + "text_alignment": "center", + "color": "$warning_text_color", + "bindings": [ + { + "binding_name": "#controller_prompt", + "binding_name_override": "#text" + }, + { + "binding_name": "#show_controller_prompt", + "binding_name_override": "#visible" + } + ] + }, + + "advancement_prompt_label": { + "type": "label", + "size": [ "100%", "default" ], + "layer": 2, + "shadow": true, + "text": "#text", + "text_tts": "#text_tts", + "text_alignment": "center", + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#advancement_prompt", + "binding_name_override": "#text" + }, + { + "binding_name": "#advancement_prompt_tts", + "binding_name_override": "#text_tts" + } + ] + }, + + // Base screen and modal + + "vr_align_screen@common.base_screen": { + "send_telemetry": false, + "button_mappings": [ + { + "from_button_id": "button.controller_select", + "to_button_id": "button.controller_select", + "mapping_type": "global" + }, + { + "from_button_id": "button.menu_select", + "to_button_id": "button.mouse_clicked_vralign", + "mapping_type": "global" + }, + { + "ignored": "(not $can_quit)", + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + }, + { + "ignored": "($can_quit)", + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_cancel", + "mapping_type": "global" + } + ], + "$screen_content": "vr_align_screen.vr_align_screen_content" + }, + + "vr_align_screen_content": { + "type": "panel", + "controls": [ + { + "dialog@vr_align_screen.vr_align_dialog": {} + } + ] + }, + + "vr_align_dialog@common_dialogs.form_fitting_main_panel_no_buttons": { + "size": [ 340, "100%c" ], + "$show_close_button": "$can_quit", + "$child_control": "vr_align_screen.main_panel", + "$text_name": "vr.alignscreen.title" + }, + + "focus_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "90%", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 5 ] + } + }, + { + "vrinfo_label@vr_align_screen.vrinfo_label": {} + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 15 ] + } + }, + { + "recalibration_label@vr_align_screen.recalibration_label": {} + }, + { + "padding_recalibration": { + "type": "panel", + "size": [ "100%", 15 ], + "bindings": [ + { + "binding_name": "#show_recalibration_text", + "binding_name_override": "#visible" + } + ] + } + }, + { + "controller_prompt_label@vr_align_screen.controller_prompt_label": { + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 10 ], + "bindings": [ + { + "binding_name": "#show_controller_prompt", + "binding_name_override": "#visible" + } + ] + } + }, + { + "advancement_prompt_label@vr_align_screen.advancement_prompt_label": {} + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 5 ] + } + } + ] + }, + + "main_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "focus_panel@common.tts_label_focus_wrapper": { + "$tts_label_panel": "vr_align_screen.focus_panel" + } + } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/vr_scheme_screen.json b/resource_pack/ui/vr_scheme_screen.json new file mode 100644 index 0000000..bff7e1d --- /dev/null +++ b/resource_pack/ui/vr_scheme_screen.json @@ -0,0 +1,472 @@ +{ + "namespace": "vrscheme", + + "gamepad_helpers": { + "type": "panel", + "size": [ 100, 10 ], + "offset": [ 0, "45%" ], + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "center", + "anchor_to": "center" + } + } + ] + }, + + "rift_options_bg": { + "type": "panel", + "controls": [ + { + "bg_image@common.dialog_background_hollow_2": { + "layer": 1 + } + } + ] + }, + + "rift_control_button@common_buttons.light_text_button": { + "size": [ "50%-2px", "100%" ], + "property_bag": { + "experimental_radio_button_state": false, + "classic_radio_button_state": false + }, + "bindings": [ + { + "binding_type": "view", + "source_control_name": "vr_classic_scheme_panel_button", + "source_property_name": "#toggle_state", + "target_property_name": "classic_radio_button_state" + } + ] + }, + + "play_button@vrscheme.rift_control_button": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50%-2px", "100%" ], + "$pressed_button_name": "button.menu_exit", + "$button_text": "gui.ok" + }, + + "more_information_button@vrscheme.rift_control_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "50%-2px", "100%" ], + "$pressed_button_name": "button.menu_vr_more_information", + "$button_text": "vr.moreInformation" + }, + + "button_panel": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%-10px", 25 ], + "offset": [ 5, -5 ], + "controls": [ + { "more_information_button@vrscheme.more_information_button": { } }, + { "play_button@vrscheme.play_button": { } } + ] + }, + + "rift_control_title": { + "type": "label", + "layer": 4, + "size": [ "90%", "100%" ], + "offset": [ 0, 8 ], + "text": "vr.controls.title", + "color": "$title_text_color" + }, + + "plain_text": { + "type": "label", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 4, + "size": [ "100%", "default" ], + "text": "vr.controls.title", + "shadow": false, + "color": "$title_text_color" + }, + + "vr_scheme_classic_title@vrscheme.plain_text": { + "text": "vr.controls.title.classic", + "color": "$body_text_color", + "offset": [ 15, 4 ], + "size": [ "100%-15px", "100%-4px" ] + }, + + "vr_scheme_classic_description@vrscheme.plain_text": { + "text": "vr.controls.classicDescription", + "color": "$body_text_color", + "offset": [ 15, 15 ], + "size": [ "100%-15px", "100%-15px" ] + }, + + "vr_scheme_experimental_title@vrscheme.plain_text": { + "text": "vr.controls.title.experimental", + "color": "$body_text_color", + "offset": [ 15, 4 ], + "size": [ "100%-15px", "100%-4px" ] + }, + + "vr_scheme_experimental_description@vrscheme.plain_text": { + "text": "vr.controls.experimentalDescription", + "color": "$body_text_color", + "offset": [ 15, 15 ], + "size": [ "100%-15px", "100%-15px" ] + }, + + "vr_scheme_shared_more_info@vrscheme.plain_text": { + "text": "vr.controls.sharedDescription", + "color": "$body_text_color" + }, + + "vr_experimental_scheme_panel@common.toggle": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "45%" ], + "$unchecked_control": "vrscheme.vr_experimental_scheme_panel_unchecked", + "$checked_control": "vrscheme.vr_experimental_scheme_panel_checked", + "$unchecked_hover_control": "vrscheme.vr_experimental_scheme_panel_unchecked_hover", + "$checked_hover_control": "vrscheme.vr_experimental_scheme_panel_checked_hover", + "$unchecked_locked_control": "vrscheme.vr_experimental_scheme_panel_unchecked", + "$unchecked_locked_hover_control": "vrscheme.vr_experimental_scheme_panel_unchecked", + "$checked_locked_control": "vrscheme.vr_experimental_scheme_panel_checked", + "$checked_locked_hover_control": "vrscheme.vr_experimental_scheme_panel_checked", + "$radio_toggle_group": true, + "$toggle_name": "radio_button_group", + "$toggle_group_default_selected": 0, + "$toggle_group_forced_index": 0, + "$toggle_state_binding_name": "#enhanced_radio_state" + }, + + "vr_experimental_scheme_panel_unchecked": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "vr_scheme_experimental_title@vrscheme.vr_scheme_experimental_title": { } + }, + { + "vr_scheme_experimental_description@vrscheme.vr_scheme_experimental_description": { } + }, + { + "radio_toggle_unchecked_state@common.radio_toggle_unchecked_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_experimental_scheme_panel_unchecked_hover@vr_experimental_scheme_panel_unchecked": { + "controls": [ + { + "vr_scheme_experimental_title@vrscheme.vr_scheme_experimental_title": { } + }, + { + "vr_scheme_experimental_description@vrscheme.vr_scheme_experimental_description": { } + }, + { + "radio_toggle_unchecked_hover_state@common.radio_toggle_unchecked_hover_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_experimental_scheme_panel_checked": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "vr_scheme_experimental_title@vrscheme.vr_scheme_experimental_title": { } + }, + { + "vr_scheme_experimental_description@vrscheme.vr_scheme_experimental_description": { } + }, + { + "radio_toggle_checked_state@common.radio_toggle_checked_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_experimental_scheme_panel_checked_hover@vr_experimental_scheme_panel_checked": { + "controls": [ + { + "vr_scheme_experimental_title@vrscheme.vr_scheme_experimental_title": { } + }, + { + "vr_scheme_experimental_description@vrscheme.vr_scheme_experimental_description": { } + }, + { + "radio_toggle_checked_hover_state@common.radio_toggle_checked_hover_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_classic_scheme_panel@common.toggle": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%", "35%" ], + "offset": [ 0, "45%" ], + "$unchecked_control": "vrscheme.vr_classic_scheme_panel_unchecked", + "$checked_control": "vrscheme.vr_classic_scheme_panel_checked", + "$unchecked_hover_control": "vrscheme.vr_classic_scheme_panel_unchecked_hover", + "$checked_hover_control": "vrscheme.vr_classic_scheme_panel_checked_hover", + "$unchecked_locked_control": "vrscheme.vr_classic_scheme_panel_unchecked", + "$unchecked_locked_hover_control": "vrscheme.vr_classic_scheme_panel_unchecked", + "$checked_locked_control": "vrscheme.vr_classic_scheme_panel_checked", + "$checked_locked_hover_control": "vrscheme.vr_classic_scheme_panel_checked", + "$radio_toggle_group": true, + "$toggle_name": "radio_button_group", + "$toggle_group_default_selected": 0, + "$toggle_group_forced_index": 1, + "$toggle_state_binding_name": "#classic_radio_state" + }, + + "vr_classic_scheme_panel_unchecked": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "vr_scheme_classic_title@vrscheme.vr_scheme_classic_title": { } + }, + { + "vr_scheme_classic_description@vrscheme.vr_scheme_classic_description": { } + }, + { + "radio_toggle_unchecked_state@common.radio_toggle_unchecked_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_classic_scheme_panel_unchecked_hover@vr_classic_scheme_panel_unchecked": { + "controls": [ + { + "vr_scheme_classic_title@vrscheme.vr_scheme_classic_title": { } + }, + { + "vr_scheme_classic_description@vrscheme.vr_scheme_classic_description": { } + }, + { + "radio_toggle_unchecked_hover_state@common.radio_toggle_unchecked_hover_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_classic_scheme_panel_checked": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "vr_scheme_classic_title@vrscheme.vr_scheme_classic_title": { } + }, + { + "vr_scheme_classic_description@vrscheme.vr_scheme_classic_description": { } + }, + { + "radio_toggle_checked_state@common.radio_toggle_checked_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_classic_scheme_panel_checked_hover@vr_classic_scheme_panel_checked": { + "controls": [ + { + "vr_scheme_classic_title@vrscheme.vr_scheme_classic_title": { } + }, + { + "vr_scheme_classic_description@vrscheme.vr_scheme_classic_description": { } + }, + { + "radio_toggle_checked_hover_state@common.radio_toggle_checked_hover_state": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + "vr_shared_info_panel": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%", "20%" ], + "controls": [ + { + "vr_scheme_shared_more_info@vrscheme.vr_scheme_shared_more_info": { } + } + ] + }, + + "vr_schemes_content_panel": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-24px", "100%-60px" ], + "offset": [ 12, 26 ], + "controls": [ + { "vr_experimental_scheme_panel@vrscheme.vr_experimental_scheme_panel": { } }, + { "vr_classic_scheme_panel_button@vrscheme.vr_classic_scheme_panel": { } }, + { "vr_shared_info_panel@vrscheme.vr_shared_info_panel": { } } + ] + }, + + "rift_options_panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "80%", "80%" ], + "controls": [ + { "rift_options_bg@vrscheme.rift_options_bg": { } }, + { "rift_control_title@vrscheme.rift_control_title": { } }, + { "vr_schemes_content_panel@vrscheme.vr_schemes_content_panel": { } }, + { "button_panel@vrscheme.button_panel": { } } + ] + }, + + //--------------------------------------------------------------------------- + // More Information + //--------------------------------------------------------------------------- + + "rift_information_button@common_buttons.light_text_button": { + "size": [ "50%-2px", "100%" ] + }, + + "back_button@vrscheme.rift_information_button": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "50%-2px", "100%" ], + "$pressed_button_name": "button.menu_vr_back", + "$button_text": "gui.back" + }, + + "more_options_button@vrscheme.rift_information_button": { + "anchor_from": "top_right", + "anchor_to": "top_right", + "size": [ "50%-2px", "100%" ], + "$pressed_button_name": "button.menu_vr_more_options", + "$button_text": "vr.moreOptions" + }, + + "information_button_panel": { + "type": "panel", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "size": [ "100%-10px", 25 ], + "offset": [ 5, -5 ], + "controls": [ + { "more_options_button@vrscheme.more_options_button": { } }, + { "back_button@vrscheme.back_button": { } } + ] + }, + + "vr_scheme_information_label@vrscheme.plain_text": { + "text": "vr.detailedInformation", + "color": "$body_text_color" + }, + + "vr_scheme_go_to_vr_label@vrscheme.plain_text": { + "text": "vr.detailedInformationLink", + "color": "$body_text_color" + }, + + "vr_information_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-24px", "100%-60px" ], + "offset": [ 12, 26 ], + "controls": [ + { + "vr_scheme_information_label@vrscheme.vr_scheme_information_label": { } + }, + { + "spacing_gap": { + "type": "panel", + "size": [ 0, 20 ] + } + }, + { + "vr_scheme_go_to_vr_label@vrscheme.vr_scheme_go_to_vr_label": { } + } + ] + }, + + "rift_information_panel": { + "type": "panel", + "anchor_from": "center", + "anchor_to": "center", + "size": [ "65%", "80%" ], + "controls": [ + { "rift_options_bg@vrscheme.rift_options_bg": { } }, + { "rift_control_title@vrscheme.rift_control_title": { } }, + { "vr_information_panel@vrscheme.vr_information_panel": { } }, + { "information_button_panel@vrscheme.information_button_panel": { } } + ] + }, + + //--------------------------------------------------------------------------- + // Screens + //--------------------------------------------------------------------------- + + "scheme_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_cancel", + "mapping_type": "global" + } + ], + "$screen_content": "vrscheme.scheme_screen_content" + }, + + "scheme_screen_content": { + "type": "panel", + "controls": [ + { "rift_options_panel@vrscheme.rift_options_panel": { } } + ] + }, + + "vr_information_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_vr_back", + "mapping_type": "global" + } + ], + "$screen_content": "vrscheme.vr_information_screen_content" + }, + + "vr_information_screen_content": { + "type": "panel", + "controls": [ + { "rift_information_panel@vrscheme.rift_information_panel": { } } + ] + } +} \ No newline at end of file diff --git a/resource_pack/ui/win10_trial_conversion_screen.json b/resource_pack/ui/win10_trial_conversion_screen.json new file mode 100644 index 0000000..54d9b28 --- /dev/null +++ b/resource_pack/ui/win10_trial_conversion_screen.json @@ -0,0 +1,453 @@ +{ + "namespace": "win10_trial_conversion", + + //--------------------------------------------------------------------------- + // Padding + //--------------------------------------------------------------------------- + + "padding_horizontal": { + "type": "panel", + "size": [ 2, 0 ] + }, + + "padding_vertical": { + "type": "panel", + "size": [ 0, 2 ] + }, + + "padding_vertical_3": { + "type": "panel", + "size": [ 0, 3 ] + }, + + "background_image": { + "type": "image", + "layer": 1, + "size": [ "100%-2px", "100%" ], + "texture": "textures/ui/dark_bg" + }, + + "title_image": { + "type": "image", + "layer": 4, + "size": [ "100% - 2px", "100% - 2px" ], + "texture": "$title_texture" + }, + + //--------------------------------------------------------------------------- + // Image section + //--------------------------------------------------------------------------- + + "focus_border": { + "type": "image", + "texture": "textures/ui/square_image_border_white", + "color": "$non_interact_border_color" + }, + + "pack_image": { + "type": "image", + "layer": 3, + "size": [ "100%-2px", "100%-2px" ], + "bindings": [ + { + "binding_name": "#pack_texture", + "binding_name_override": "#texture", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + }, + + "pack_image_panel": { + "type": "panel", + "size": [ 70, 41 ], + "controls": [ + { + "pack_image@win10_trial_conversion.pack_image_with_border": {} + } + ] + }, + + "title_image_border": { + "type": "image", + "size": [ 168, 96 ], + "layer": 3, + "texture": "textures/ui/Black", + "controls": [ + { + "image@win10_trial_conversion.title_image": { + } + } + ] + }, + + "pack_image_with_border": { + "type": "image", + "size": [ "100%", "100%" ], + "layer": 2, + "texture": "textures/ui/Black", + "controls": [ + { + "image@pack_image": {} + } + ] + }, + + //--------------------------------------------------------------------------- + // label + //--------------------------------------------------------------------------- + + "label_panel": { + "type": "label", + "size": [ "100%", "default" ], + "layer": 3, + "$text_font_scale_factor|default": 1, + "font_scale_factor": "$text_font_scale_factor", + "text": "$text", + "color": "$main_header_text_color" + }, + + //--------------------------------------------------------------------------- + // Buy Button Panel + //--------------------------------------------------------------------------- + + "button_panel": { + "type": "stack_panel", + "size": [ "100%", 29 ], + "orientation": "horizontal", + "controls": [ + { "padding_5@win10_trial_conversion.padding_horizontal": {} }, + { "buy_now_button@win10_trial_conversion.buy_now_button": {} }, + { "padding_6@win10_trial_conversion.padding_horizontal": {} } + ] + }, + + "buy_now_button@common_buttons.light_content_button": { + "size": [ "100% - 4px", "100%" ], + "$button_content": "win10_trial_conversion.buy_now_label" + }, + + "buy_now_label": { + "type": "panel", + "layer": 2, + "controls": [ + { + "button_label@win10_trial_conversion.label_panel": { + "text": "$button_text", + "text_alignment": "center", + "color": "$text_color" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // focus border + //--------------------------------------------------------------------------- + + "is_focused@focus_border": { + "size": [ "100%", "100%" ], + "layer": 3 + }, + + "filler_panel": { + "type": "panel", + "layer": 1 + }, + + "focus_border_button@common.button": { + "size": [ "100%", "100%" ], + "sound_volume": 0.0, + "$pressed_button_name": "button.pack_select", + "controls": [ + { "default@win10_trial_conversion.filler_panel": {} }, + { "hover@win10_trial_conversion.is_focused": {} }, + { "pressed@win10_trial_conversion.is_focused": {} } + ] + }, + + //--------------------------------------------------------------------------- + // Grid section + //--------------------------------------------------------------------------- + + "grid_item": { + "type": "stack_panel", + "size": [ "100%", "100% - 2px" ], + "orientation": "horizontal", + "controls": [ + { + "padding_1@win10_trial_conversion.padding_horizontal": {} + }, + { + "pack_image_pane@win10_trial_conversion.pack_image_panel": {} + }, + { + "padding_2@win10_trial_conversion.padding_horizontal": { + } + }, + { + "pack_panel@win10_trial_conversion.pack_panel": {} + }, + { + "padding_3@win10_trial_conversion.padding_horizontal": {} + } + ] + }, + + "grid_item_vertical": { + "type": "panel", + "size": [ "100%", 44 ], + "controls": [ + { + "grid_item_horizontal@win10_trial_conversion.grid_item": {} + }, + { + "pack_grid@win10_trial_conversion.focus_border_button": { + "size": [ "100%", "100% - 2px" ] + } + } + ] + }, + + "pack_panel": { + "type": "stack_panel", + "size": [ "fill", "100%" ], + "orientation": "vertical", + "controls": [ + { + "packtitle@win10_trial_conversion.label_panel": { + "text": "#title_name", + "font_type": "smooth", + "bindings": [ + { + "binding_name": "#title_name", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + }, + { + "padding_2@win10_trial_conversion.padding_vertical": {} + }, + { + "packdesc@win10_trial_conversion.label_panel": { + "text": "#description_text", + "font_type": "smooth", + "size": [ "100%", "default" ], + "color": "$wtc_pack_desc_text_color", + "bindings": [ + { + "binding_name": "#description_text", + "binding_type": "collection", + "binding_collection_name": "$collection_name" + } + ] + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Collection Panels + //--------------------------------------------------------------------------- + + "collection_main_panel": { + "type": "stack_panel", + "orientation": "vertical", + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "size": [ "100%", "100%c" ], + "controls": [ + { "padding_1@win10_trial_conversion.padding_vertical": {} }, + { + "title_panel@win10_trial_conversion.label_panel": { + "text_alignment": "center", + "text": "$title_text" + } + }, + { "padding_2@win10_trial_conversion.padding_vertical": {} }, + { + "title_image_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "anchor_to": "top_middle", + "anchor_from": "top_middle", + "controls": [ + { + "border_image@win10_trial_conversion.title_image_border": {} + } + ] + } + }, + { "padding_3@win10_trial_conversion.padding_vertical": {} }, + { + "offer_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%c" ], + "controls": [ + { "padding_1@win10_trial_conversion.padding_horizontal": {} }, + { + "label_panel": { + "type": "panel", + "size": [ "100%", 38 ], + "controls": [ + { + "offer_label@win10_trial_conversion.label_panel": { + "size": [ "100% - 3px", "default" ], + "text_alignment": "center", + "text": "$offer_text" + } + } + ] + } + }, + { "padding_2@win10_trial_conversion.padding_horizontal": {} } + ] + } + }, + { "padding_4@win10_trial_conversion.padding_vertical": {} }, + { "button_panel@win10_trial_conversion.button_panel": {} }, + { "padding_5@win10_trial_conversion.padding_vertical_3": {} }, + { + "include_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 9 ], + "controls": [ + { "padding_1@win10_trial_conversion.padding_horizontal": {} }, + { + "include_label@win10_trial_conversion.label_panel": { + "size": [ "100% - 3px", "default" ], + "$text": "trial.includes", + "font_type": "smooth" + } + } + ] + } + }, + { "padding_6@win10_trial_conversion.padding_vertical": {} }, + { + "pack_list_grid": { + "layer": 2, + "type": "grid", + "grid_item_template": "win10_trial_conversion.grid_item_vertical", + "grid_dimension_binding": "$grid_dimension", + "collection_name": "$collection_name", + "anchor_to": "top_left", + "anchor_from": "top_left", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "$grid_dimension", + "binding_type": "global" + } + ] + } + } + ] + }, + + "background_image_with_border": { + "size": [ "50% - 3px", "100%c" ], + "type": "image", + "layer": 1, + "texture": "textures/ui/Banners", + "controls": [ + { + "main_panel_no_buttons@win10_trial_conversion.collection_main_panel": { + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Main Panels + //--------------------------------------------------------------------------- + + "win10_trial_conversion_main_panel": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$show_background": false, + "$scrolling_content": "win10_trial_conversion.vertical_main_panel", + "$scrolling_pane_size": [ "100%-4px", "100%" ], + "$scroll_size": [ 5, "100% - 4px" ], + "$scroll_bar_left_padding_size": [ 1, 0 ] + } + } + ] + }, + + "vertical_main_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { "padding_1@win10_trial_conversion.padding_vertical": {} }, + { "panel@win10_trial_conversion.horizontal_main_panel": {} }, + { "padding_2@win10_trial_conversion.padding_vertical": {} } + ] + }, + + "horizontal_main_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%cm + 4px" ], + "controls": [ + { "padding_1@win10_trial_conversion.padding_horizontal": {} }, + { + "starter_collection@win10_trial_conversion.background_image_with_border": { + "inherit_max_sibling_height": true, + "$grid_dimension": "#starter_grid_dimension", + "$collection_name": "starter_list", + "$pressed_button_name": "button.starter_buy_now_button", + "$title_texture": "textures/ui/win10_minecraft_startercollection_keyartsmall", + "$title_text": "trial.starter.collection.title", + "$button_text": "trial.starter.collection.button", + "$offer_text": "trial.starter.offer" + } + }, + { + "padding_2@win10_trial_conversion.padding_horizontal": {} + }, + { + "master_collection@win10_trial_conversion.background_image_with_border": { + "$grid_dimension": "#master_grid_dimension", + "$collection_name": "master_list", + "$pressed_button_name": "button.master_buy_now_button", + "$title_texture": "textures/ui/win10_minecraft_mastercollection_keyartsmall", + "$title_text": "trial.master.collection.title", + "$button_text": "trial.master.collection.button", + "$offer_text": "trial.master.offer" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // Screen + //--------------------------------------------------------------------------- + + "win10_trial_conversion_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "win10_trial_conversion.win10_trial_conversion_panel" + }, + + "win10_trial_conversion_panel@common.fullscreen_header": { + "$back_button_has_title": true, + "$button_text": "trial.tabbed_upsell.title", + "$child_control": "win10_trial_conversion.win10_trial_conversion_main_panel" + } + +} diff --git a/resource_pack/ui/world_conversion_complete_screen.json b/resource_pack/ui/world_conversion_complete_screen.json new file mode 100644 index 0000000..71106a8 --- /dev/null +++ b/resource_pack/ui/world_conversion_complete_screen.json @@ -0,0 +1,316 @@ +{ + "namespace": "world_conversion_complete", + + // Common controls + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + }, + + "prompt_text": { + "type": "panel", + "controls": [ + { + "message": { + "type": "label", + "color": "$body_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "size": [ "90%", "100%" ], + "text_alignment": "center", + "text": "$text" + } + } + ] + }, + + "converted_world_preview_name@play.world_list_text": { + "text": "#converted_world_preview_name", + "color": "$text_color", + "bindings": [ + { + "binding_name": "#converted_world_preview_name" + } + ] + }, + + "converted_world_preview_date@play.world_list_text": { + "text": "#converted_world_preview_date", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#converted_world_preview_date_visible", + "binding_name_override": "#visible" + }, + { + "binding_name": "#converted_world_preview_date" + } + ] + }, + + "converted_world_preview_game_mode@play.world_list_text": { + "text": "#converted_world_preview_game_mode", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#converted_world_preview_game_mode" + } + ] + }, + + "converted_world_preview_filesize@play.world_list_text": { + "text": "#converted_world_preview_file_size", + "color": "$secondary_text_color", + "bindings": [ + { + "binding_name": "#converted_world_preview_file_size" + } + ] + }, + + "converted_world_preview_text_panel": { + "type": "panel", + "controls": [ + { + "text_indent": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 1, 0 ], + "controls": [ + { + "top_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "converted_world_name@world_conversion_complete.converted_world_preview_name": { + "size": [ "fill", 10 ], + "layer": 7 + } + }, + { + "converted_world_date@world_conversion_complete.converted_world_preview_date": { + "size": [ "default", 10 ], + "layer": 7 + } + } + ] + } + }, + { + "bottom_side": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "controls": [ + { + "converted_world_game_mode@world_conversion_complete.converted_world_preview_game_mode": { + "size": [ "fill", 10 ], + "layer": 7 + } + }, + { + "converted_world_filesize@world_conversion_complete.converted_world_preview_filesize": { + "size": [ "default", 10 ], + "layer": 7 + } + } + ] + } + } + ] + } + } + ] + }, + + "converted_world_preview_panel": { + "type": "image", + "size": [ "100%", "28px" ], + "texture": "textures/ui/Banners", + "controls": [ + { + "world_preview_content": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 4px", "100% - 4px" ], + "controls": [ + { + "converted_world_screenshot@play.world_screenshot_base": { + "$border_texture": "textures/ui/default_indent", + "controls": [ + { + "image_content": { + "type": "panel", + "size": [ "173.91%y", "100% - 2px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ 1, 1 ], + "controls": [ + { + "picture": { + "type": "image", + "$fit_to_width": true, + "force_texture_reload": true, + "fill": true, + "layer": 5, + "bindings": [ + { + "binding_name": "#converted_world_preview_image", + "binding_name_override": "#texture" + }, + { + "binding_name": "#converted_world_preview_texture_source", + "binding_name_override": "#texture_file_system" + } + ] + } + } + ] + } + } + ] + } + }, + { + "converted_world_text_panel@world_conversion_complete.converted_world_preview_text_panel": { + "size": [ "fill", "100%" ], + "layer": 4, + "$text_color": "$dark_button_default_text_color", + "$secondary_text_color": "$dark_button_secondary_default_text_color" + } + } + ] + } + } + ] + }, + + // Main screen content + "main_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 15 ] + } + }, + { + "prompt_1@world_conversion_complete.prompt_text": { + "$text": "worldConversionComplete.load_prompt", + "size": [ "100%", 30 ] + } + }, + { + "world_entry_container": { + "type": "panel", + "size": [ "100%", 35 ], + "controls": [ + { + "world_entry_sizer": { + "type": "panel", + "size": [ "100% - 6px", "100%c" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "controls": [ + { + "world_entry@world_conversion_complete.converted_world_preview_panel": {} + } + ] + } + } + ] + } + }, + { + "buttons_panel_sizer": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "buttons_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100% - 4px", 30 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -2 ], + "controls": [ + { + "load_game_button@common_buttons.light_text_button": { + "size": [ "50% - 1px", "100%" ], + "$pressed_button_name": "button.load_game", + "$button_text": "gui.yes" + } + }, + { + "padding": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "return_button@common_buttons.light_text_button": { + "size": [ "50% - 1px", "100%" ], + "$pressed_button_name": "button.return", + "$button_text": "gui.no" + } + } + ] + } + } + ] + } + } + ] + }, + + "world_conversion_complete_screen_content": { + "type": "panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_no_buttons": { + "$title_panel": "common_dialogs.standard_title_label", + "size": "$world_conversion_complete_screen_size", + "$text_name": "worldConversionComplete.title", + "$child_control": "world_conversion_complete.main_panel", + "layer": 2 + } + } + ] + }, + + // Main screen + "world_conversion_complete_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "force_render_below": true, + "$screen_content": "world_conversion_complete.world_conversion_complete_screen_content", + "$screen_background_control": "world_conversion_complete.background" + } +} diff --git a/resource_pack/ui/world_recovery_screen.json b/resource_pack/ui/world_recovery_screen.json new file mode 100644 index 0000000..fbaa05d --- /dev/null +++ b/resource_pack/ui/world_recovery_screen.json @@ -0,0 +1,89 @@ +{ + "namespace": "world_recovery", + + "world_recovery_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "$background_animations": [ + "@common.screen_exit_animation_push_fade", + "@common.screen_exit_animation_pop_fade", + "@common.screen_entrance_animation_push_fade", + "@common.screen_entrance_animation_pop_fade" + ], + "force_render_below": true, + "$screen_content": "world_recovery.world_recovery_screen_content", + "$screen_background_control": "world_recovery.background" + }, + + "world_recovery_screen_content": { + "type": "panel", + "controls": [ + { + "dialog@common_dialogs.main_panel_one_button": { + "size": [ 260, "100% - 70px" ], + "$button_panel": "world_recovery.button_panel", + "$text_name": "world_recovery.title", + "$child_control": "world_recovery.description_panel", + "layer": 3 + } + } + ] + }, + + "description_panel@common.tts_label_focus_wrapper": { + "size": [ "100%-1px", "100%-1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "$tts_label_panel": "world_recovery.scrolling_panel", + "$focus_border_anchor": "top_middle" + }, + + "scrolling_panel@common.scrolling_panel": { + "size": [ "100%", "100%" ], + "$scrolling_content": "world_recovery.description_label", + "$scrolling_pane_size": [ "100%-2px", "100%" ], + "$scrolling_pane_offset": [ 2, 0 ], + "$scroll_size": [ 4, "100%-4px" ], + "$show_background": false, + "$always_handle_scrolling": true + }, + + "description_label": { + "type": "label", + "text": "#recovery_text", + "size": [ "100%", "default" ], + "color": "$body_text_color", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "bindings": [ + { + "binding_name": "#recovery_text" + } + ] + }, + + "button_panel@common_buttons.light_text_button": { + "size": [ "100% - 14px", 30 ], + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "$pressed_button_name": "button.select_worlds", + "$button_text": "world_recovery.select_worlds", + "$button_text_binding_type": "none" + }, + + "background@common.screen_background": { + "alpha": 0.65, + "layer": 1 + } +} diff --git a/resource_pack/ui/world_templates_screen.json b/resource_pack/ui/world_templates_screen.json new file mode 100644 index 0000000..f3dcf20 --- /dev/null +++ b/resource_pack/ui/world_templates_screen.json @@ -0,0 +1,1241 @@ +{ + "namespace": "world_templates", + + "horizontal_padding": { + "type": "panel", + "size": [ 2, "100%" ] + }, + + //--------------------------------------------------------------------------- + // Images + //--------------------------------------------------------------------------- + + "world_icon": { + "type": "image", + "texture": "textures/ui/worldsIcon", + "size": [ 16, 17 ] + }, + + "realms_icon": { + "type": "image", + "texture": "textures/ui/realmsIcon", + "size": [ 11, 14 ] + }, + + "label_background": { + "type": "image", + "texture": "textures/ui/mainbanners" + }, + + "lock_icon": { + "type": "image", + "texture": "textures/ui/lock" + }, + + "realms_plus_icon@common_store.store_offer_type_icon": { + "$offer_icon_texture_path": "textures/ui/realmportal_small", + "size": [ 6, 8 ] + }, + + //--------------------------------------------------------------------------- + // TOGGLES + //--------------------------------------------------------------------------- + + "new_world_toggle@common_toggles.dark_image_toggle": { + "size": [ "100%", "100%" ], + "$toggle_name": "world_toggle", + "$button_content": "world_templates.world_button_content", + "$world_icon": "world_templates.world_icon", + "$button_label": "selectTemplate.world", + "$radio_toggle_group": true, + "$default_focus_precedence": 1, + "$toggle_group_forced_index": 0, + "$toggle_group_default_selected": "$default_tab", + "$toggle_tts_toggle_on_text": "", + "$toggle_tts_toggle_off_text": "" + }, + + "new_realm_toggle@common_toggles.dark_image_toggle": { + "size": [ "100% + 1px", "100%" ], + "$toggle_name": "world_toggle", + "$button_content": "world_templates.world_button_content", + "$world_icon": "world_templates.realms_icon", + "$button_label": "selectTemplate.realm", + "$radio_toggle_group": true, + "$toggle_group_forced_index": 1, + "$toggle_group_default_selected": "$default_tab", + "$toggle_tts_toggle_on_text": "", + "$toggle_tts_toggle_off_text": "" + }, + + "world_button_content": { + "type": "stack_panel", + "size": [ "100% - 9px", "100% - 4px" ], + "orientation": "horizontal", + "controls": [ + { "horizontal_padding_0@world_templates.horizontal_padding": {} }, + { + "icon_panel": { + "type": "panel", + "size": [ "100%c", "100%" ], + "controls": [ + { "$world_icon@$world_icon": {} } + ] + } + }, + { + "horizontal_padding_1@world_templates.horizontal_padding": { + "type": "panel", + "size": [ 8, "100%" ] + } + }, + { + "world_button_label_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { "world_button_label@world_templates.world_button_label": {} } + ] + } + }, + { "horizontal_padding_2@world_templates.horizontal_padding": {} } + ] + }, + + "world_button_label": { + "type": "label", + "color": "$dark_button_default_text_color", + "size": [ "default", 10 ], + "max_size": [ "100%", 10 ], + "text": "$button_label", + "text_alignment": "left", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1 + }, + + //--------------------------------------------------------------------------- + // BUTTONS + //--------------------------------------------------------------------------- + + "common_button_template@common_buttons.light_glyph_button": {}, + + "generate_random@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "$pressed_button_name": "button.generate_random", + "anchor_from": "top_left", + "anchor_to": "top_left", + "$button_text": "#generate_random_button_text", + "$button_focus_precedence": 1, + "$button_text_binding_type": "global", + "tts_ignore_subsections": true, + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP", + "bindings": [ + { + "binding_name": "#generate_random_button_enabled", + "binding_name_override": "#enabled" + }, + { + "binding_name": "#generate_random_button_visible", + "binding_name_override": "#visible" + } + ] + }, + + "help_button@common_buttons.dark_text_button": { + "$pressed_button_name": "button.help", + "$button_text": "selectTemplate.help", + "$button_tts_header": "accessibility.worldTemplates.help" + }, + + "grid_button_content_template": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "content@$button_content": { + "layer": 1 + } + } + ] + }, + + "label_content_template": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "label_panel": { + "type": "panel", + "size": [ "100%", 10 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "controls": [ + { + "label_panel_layout": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 4px", 10 ], + "offset": [ 1, 0 ], + "controls": [ + { + "label": { + "type": "label", + "color": "$body_text_color", + "size": [ "100%", 10 ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "shadow": false, + "text": "$label_content_label", + "$label_text_binding_type|default": "none", + "bindings": [ + { + "binding_name": "$label_content_label", + "binding_type": "$label_text_binding_type" + } + ] + } + } + ] + } + } + ] + } + } + ] + }, + + "my_templates_label@world_templates.label_content_template": { + "$label_content_label": "$section_header" + }, + + "realms_plus_templates_label@world_templates.label_content_template": { + "$label_content_label": "$section_header" + }, + + "custom_templates_label@world_templates.label_content_template": { + "$label_content_label": "$section_header" + }, + + "generate_random_button@world_templates.grid_button_content_template": { + "size": [ "100%", "100%c + 2px" ], + "$button_content": "world_templates.generate_random" + }, + + "realms_templates_info@world_templates.label_background": { + "size": [ "100%", "100%c + 8px" ], + "controls": [ + { + "info_label": { + "type": "label", + "color": "$body_text_color", + "max_size": [ "100% - 4px", "default" ], + "text": "#realms_info_text", + "layer": 1, + "bindings": [ + { + "binding_name": "#realms_info_text", + "binding_type": "global", + "binding_condition": "always_when_visible" + } + ] + } + } + ], + "bindings": [ + { + "binding_name": "#realms_info_visible", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // LOCAL WORLD GRID + //--------------------------------------------------------------------------- + + "world_list_text": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false + }, + + "world_template_screenshot": { + "type": "image", + "size": [ "100%c + 2px", "100%" ], + "texture": "$border_texture", + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "layer": 1, + "controls": [ + { + "picture": { + "type": "image", + "layer": 1, + "force_texture_reload": true, + "$screenshot_texture_name|default": "#screenshot_texture", + "$screenshot_zip_folder|default": "#screenshot_zip_folder", + "$screenshot_zip_folder_binding_type|default": "collection", + "$screenshot_file_system|default": "#screenshot_file_system", + "texture": "$screenshot_texture_name", + "texture_file_system": "$screenshot_file_system", + "size": [ "173.91%y", "100% - 2px" ], + "bindings": [ + { + "binding_collection_name": "$collection_name", + "binding_name": "$screenshot_texture_name", + "binding_name_override": "#texture", + "binding_type": "collection" + }, + { + "binding_collection_name": "$collection_name", + "binding_name": "$screenshot_zip_folder", + "binding_name_override": "#zip_folder", + "binding_type": "$screenshot_zip_folder_binding_type" + }, + { + "binding_collection_name": "$collection_name", + "binding_name": "$screenshot_file_system", + "binding_name_override": "#texture_file_system", + "binding_type": "collection" + } + ] + } + } + ] + }, + + "world_template_name@world_templates.world_list_text": { + "text": "$world_template_name_binding_name", + "color": "$dark_button_default_text_color", + "$world_template_name_binding_name|default": "#world_template_name", + "$section_header|default": "", + "tts_section_header": "$section_header", + "bindings": [ + { + "binding_name": "$world_template_name_binding_name", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "visible" + } + ] + }, + + "world_template_description@world_templates.world_list_text": { + "text": "$world_template_description_binding_name", + "$world_template_description_binding_name|default": "#world_template_description", + "bindings": [ + { + "binding_name": "$world_template_description_binding_name", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "visible" + } + ] + }, + + "world_template_version@world_templates.world_list_text": { + "text": "#world_template_version", + "bindings": [ + { + "binding_name": "#world_template_version", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "visible" + }, + { + "binding_name": "(not #lock_visible)", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_name_override": "#visible" + } + ] + }, + + "template_download_text@world_templates.world_list_text": { + "text": "#template_download_text", + "bindings": [ + { + "binding_name": "#template_download_text", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_condition": "visible" + }, + { + "binding_name": "#download_text_visible", + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_name_override": "#visible" + } + ] + }, + + "world_template_text_panel": { + "type": "panel", + "controls": [ + { + "text_indent": { + "type": "panel", + "size": [ "100% - 4px", "100% - 4px" ], + "offset": [ 1, 0 ], + "controls": [ + { + "top_side": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "offset": [ -2, 1 ], + "controls": [ + { + "world_template_name@world_templates.world_template_name": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "download_text_label@world_templates.template_download_text": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + }, + { + "bottom_side": { + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "50%" ], + "offset": [ -2, 1 ], + "controls": [ + { + "csb_icon@world_templates.csb_banner": { + "size": [ "100%c", 12 ], + "layer": 1, + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_name": "#csb_chevron_visibility", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad": { + "type": "panel", + "size": [ 3, "100%" ] + } + }, + { + "world_template_description@world_templates.world_template_description": { + "size": [ "fill", 10 ], + "layer": 1 + } + }, + { + "world_template_version@world_templates.world_template_version": { + "size": [ "default", 10 ], + "layer": 1 + } + } + ] + } + } + ] + } + } + ] + }, + + "csb_banner": { + "type": "panel", + "size": [ "100%c", "100%" ], + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "$is_realms_plus|default": false, + "visible": "$is_realms_plus", + "controls": [ + { + "banner": { + "type": "image", + "$banner_size|default": [ "139%y", 12 ], + "size": "$banner_size", + "texture": "textures/ui/csbChevronArrowLarge", + "layer": 9 + } + } + ], + "$banner_content": [ + { + "csb_icon@common_store.csb_banner_icon": {} + }, + { + "pad": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "expiration_timer": { + "type": "label", + "size": [ "default", "100%" ], + "max_size": [ 60, "100%" ], + "color": "$store_csb_expiration_text_color", + "font_type": "smooth", + "text": "#csb_expiration_label", + "bindings": [ + { + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_name": "#csb_expiration_label" + }, + { + "binding_type": "collection", + "binding_collection_name": "$collection_name", + "binding_name": "#csb_expiration_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "pad_1": { + "type": "panel", + "size": [ 5, "100%" ] + } + } + ] + }, + + "world_template_content_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "variables": [ + { + "requires": "$default_state", + "$border_texture": "textures/ui/default_indent" + }, + { + "requires": "$hover_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$pressed_state", + "$border_texture": "textures/ui/world_screenshot_focus_border" + }, + { + "requires": "$locked_state", + "$border_texture": "textures/ui/default_indent" + } + ], + "controls": [ + { + "world_template_screenshot@world_templates.world_template_screenshot": {} + }, + { + "world_template_text_panel@world_templates.world_template_text_panel": { + "size": [ "fill", "100%" ] + } + }, + { + "lock_panel": { + "type": "panel", + "size": [ "100%c + 4px", "100%" ], + "controls": [ + { + "lock_icon@world_templates.lock_icon": { + "size": [ 8, 8 ] + } + } + ], + "bindings": [ + { + "binding_name": "#lock_visible", + "binding_collection_name": "$collection_name", + "binding_type": "collection", + "binding_name_override": "#visible" + } + ] + } + } + ] + }, + + "world_template_item_button@common_buttons.dark_content_button": { + "$button_content": "world_templates.world_template_content_panel", + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name", + "binding_collection_prefix": "$collection_prefix" + } + ] + }, + + "realms_plus_template_item_button@common_buttons.dark_content_button": { + "$button_content": "world_templates.world_template_content_panel", + "$is_realms_plus": true, + "bindings": [ + { + "binding_type": "collection_details", + "binding_collection_name": "$collection_name", + "binding_collection_prefix": "$collection_prefix" + } + ] + }, + + "world_template_item": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 30 ], + "orientation": "horizontal", + "controls": [ + { + "world_template_item_button@world_templates.world_template_item_button": { + "size": [ "fill", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP", + "layer": 1 + } + } + ] + }, + + "realms_plus_template_item": { + "type": "stack_panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 1, + "size": [ "100%", 30 ], + "orientation": "horizontal", + "controls": [ + { + "realms_plus_template_item_button@world_templates.realms_plus_template_item_button": { + "size": [ "fill", "100% + 1px" ], + "anchor_from": "top_left", + "anchor_to": "top_left", + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP", + "layer": 1 + } + } + ] + }, + + "world_template_item_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "grid_item_template": "world_templates.world_template_item", + "grid_dimension_binding": "#world_template_item_grid_dimension", + "collection_name": "world_templates", + "$collection_name": "world_templates", + "$collection_prefix|default": "", + "$pressed_button_name": "button.menu_world_template_clicked", + "ttsSectionContainer": true, + "bindings": [ + { + "binding_name": "#world_template_item_grid_dimension" + }, + { + "binding_name": "#template_list_visible", + "binding_name_override": "#visible" + } + ] + }, + + "see_more_templates_button@common_buttons.dark_text_button": { + "size": [ "100%", 30 ], + "$button_text": "selectTemplate.seeMore", + "focus_change_left": "FOCUS_OVERRIDE_STOP", + "focus_change_right": "FOCUS_OVERRIDE_STOP", + "$tts_section_header": "$section_header", + "bindings": [ + { + "binding_name": "$world_template_section_visible_binding", + "binding_name_override": "#visible" + } + ] + }, + + "suggested_see_more_button@world_templates.see_more_templates_button": { + "$pressed_button_name": "button.more_suggested_content_offers" + }, + + "realms_plus_see_more_button@world_templates.see_more_templates_button": { + "$pressed_button_name": "button.more_realms_plus_templates" + }, + + "world_template_inventory_see_more_button@world_templates.see_more_templates_button": { + "$pressed_button_name": "button.inventory" + }, + + "custom_world_template_see_more_button@world_templates.see_more_templates_button": { + "$pressed_button_name": "button.more_custom_templates" + }, + + "world_template_section_factory": { + "type": "stack_panel", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "collection_name": "$collection_name", + "$collection_prefix|default": "", + "$world_template_description_binding_name": "#created_by_label", + "$world_template_name_binding_name": "#title_label", + "$screenshot_texture_name": "#offer_texture_name", + "$screenshot_file_system": "#offer_texture_file_system", + "ttsSectionContainer": true, + + "bindings": [ + { + "binding_name": "$world_template_section_visible_binding", + "binding_name_override": "#visible" + }, + { + "binding_condition": "visible", + "binding_name": "$world_template_collection_binding", + "binding_name_override": "#collection_length" + } + ], + + "factory": { + "name": "$world_template_section_name", + "control_ids": "$world_template_section_control_ids", + "$world_template_section_factory_variables|default": [ + "$collection_name", + "$collection_prefix", + "$pressed_button_name", + "$world_template_description_binding_name", + "$world_template_name_binding_name", + "$screenshot_texture_name", + "$screenshot_file_system", + "$section_header", + "$world_template_section_name", + "$world_template_section_visible_binding", + "$world_template_collection_binding" + ], + "factory_variables": "$world_template_section_factory_variables" + } + }, + + "suggested_template_section_factory@world_templates.world_template_section_factory": { + "$collection_name": "suggested_offers_collection", + "$collection_prefix": "offer", + "$pressed_button_name": "button.select_offer", + + "$world_template_section_name": "suggested_template_factory", + "$world_template_section_visible_binding": "(not #realms_info_visible)", + "$world_template_collection_binding": "#suggested_template_factory_collection", + + "$world_template_section_control_ids": { + "defaultTemplateItem": "world_templates.world_template_item", + "viewMoreButton": "world_templates.suggested_see_more_button" + } + }, + + "realms_plus_template_section_factory@world_templates.world_template_section_factory": { + "$collection_name": "realms_plus_templates", + "$pressed_button_name": "button.menu_realms_plus_template_clicked", + + "$world_template_section_name": "realms_plus_factory", + "$world_template_section_visible_binding": "#realms_plus_list_visible", + "$world_template_collection_binding": "#realms_plus_template_factory_collection", + + "$world_template_section_control_ids": { + "defaultTemplateItem": "world_templates.realms_plus_template_item", + "viewMoreButton": "world_templates.realms_plus_see_more_button" + } + }, + + "world_template_inventory_section_factory@world_templates.world_template_section_factory": { + "$collection_name": "world_templates", + "$collection_prefix": "", + "$pressed_button_name": "button.menu_world_template_clicked", + + "$world_template_section_name": "world_template_inventory_factory", + "$world_template_section_visible_binding": "#template_list_visible", + "$world_template_collection_binding": "#world_template_inventory_factory_collection", + + "$world_template_section_control_ids": { + "defaultTemplateItem": "world_templates.world_template_item", + "viewMoreButton": "world_templates.world_template_inventory_see_more_button" + } + }, + + "custom_world_template_section_factory@world_templates.world_template_section_factory": { + "$collection_name": "custom_world_templates", + "$collection_prefix": "", + "$pressed_button_name": "button.menu_custom_world_template_clicked", + + "$world_template_section_name": "custom_world_template_factory", + "$world_template_section_visible_binding": "#custom_template_list_visible", + "$world_template_collection_binding": "#custom_world_template_factory_collection", + + "$world_template_section_control_ids": { + "defaultTemplateItem": "world_templates.world_template_item", + "viewMoreButton": "world_templates.custom_world_template_see_more_button" + } + }, + + "custom_world_template_item_grid": { + "type": "grid", + "size": [ "100%", "default" ], + "layer": 1, + "anchor_to": "top_left", + "anchor_from": "top_left", + "grid_item_template": "world_templates.world_template_item", + "grid_dimension_binding": "#custom_world_template_item_grid_dimension", + "collection_name": "custom_world_templates", + "$collection_name": "custom_world_templates", + "$collection_prefix|default": "", + "$screenshot_zip_folder_binding_type": "collection", + "$pressed_button_name": "button.menu_custom_world_template_clicked", + "ttsSectionContainer": true, + "bindings": [ + { + "binding_name": "#custom_world_template_item_grid_dimension" + }, + { + "binding_name": "#custom_template_list_visible", + "binding_name_override": "#visible" + } + ] + }, + + //--------------------------------------------------------------------------- + // NO OWNED ITEMS TEXT + //--------------------------------------------------------------------------- + + "no_owned_templates_text_label": { + "type": "label", + "color": "$dark_button_secondary_default_text_color", + "shadow": false + }, + + "no_owned_templates_text@world_templates.no_owned_templates_text_label": { + "text": "selectTemplate.noTemplates", + "color": "$dark_button_default_text_color" + }, + + "no_template_content_owned": { + "type": "image", + "texture": "textures/ui/Banners", + "size": [ "100%", "100%c + 4px" ], + "min_size": [ "100%", 30 ], + "controls": [ + { + "no_template_content_owned_text_panel@world_templates.no_owned_templates_text": { + "text_alignment": "left", + "size": [ "100% - 4px", "default" ], + "offset": [ 0, 0 ], + "layer": 1 + } + } + ] + }, + + //--------------------------------------------------------------------------- + // SCROLL + //--------------------------------------------------------------------------- + + "common_scrolling_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100% - 1px", "100%" ], + "$scrolling_content": "$scrolling_content", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + "common_content": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left" + }, + + "scrolling_offsets@world_templates.common_scrolling_panel": { + "size": [ "100% - 4px", "100%" ], + "max_size": [ 280, "100%" ], + "offset": [ 2, 0 ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + }, + + "template_scroll_content@world_templates.common_content": { + "controls": [ + { + "scrolling_panel@world_templates.scrolling_offsets": { + "layer": 1, + "$scrolling_content": "world_templates.template_scroll_panel" + } + } + ] + }, + + "common_scroll_pane": { + "type": "panel", + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100% - 4px", "100%c" ], + "offset": [ 2, 0 ] + }, + + "template_scroll_panel@world_templates.common_scroll_pane": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "controls": [ + { + "world_template_screen_content_stack_panel@world_templates.world_template_screen_content_stack_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + }, + + //--------------------------------------------------------------------------- + // SCREEN CONTENT + //--------------------------------------------------------------------------- + + "world_list_grids_stack": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "template_list_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$section_header": "selectTemplate.myTemplates", + "controls": [ + { + "my_templates_label_panel@world_templates.my_templates_label": { + "bindings": [ + { + "binding_name": "#template_list_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "world_template_inventory_section_factory@world_templates.world_template_inventory_section_factory": {} + }, + { + "template_bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + }, + //// + { + "store_panel": { + "type": "panel", + "size": [ "100%", "100%cm" ], + "enabled": "(not $store_disabled)", + "bindings": [ + { + "binding_name": "(not #marketplace_disabled)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "loading_panel@common_store.progress_loading": { + "size": [ "100%", 120 ], + "$source_control_name": "store_grids", + "$source_property_name": "(not #visible)", + "$use_sibling_scope": true + } + }, + { + "store_grids": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "bindings": [ + { + "binding_name": "#are_world_list_grids_ready", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "realms_plus_list_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$label_text_binding_type": "global", + "$section_header": "#subscription_world_template_text", + "controls": [ + { + "realms_plus_label_panel@world_templates.realms_plus_templates_label": { + "bindings": [ + { + "binding_name": "#realms_plus_list_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { "realms_plus_template_section_factory@world_templates.realms_plus_template_section_factory": {} }, + { + "realms_plus_template_bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ], + "bindings": [ + { + "binding_name": "#realms_plus_list_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "suggested_content_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$section_header": "selectTemplate.suggestedContent.title", + "bindings": [ + { + "binding_name": "#suggested_content_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "suggested_content_offers_title_label@resource_packs.suggested_content_offers_title_label": { + "size": [ "100%", "10px" ], + "$suggested_content_offers_label_text": "$section_header", + "$suggested_content_offers_binding_type": "none", + "bindings": [ + { + "binding_name": "(not #realms_info_visible)", + "binding_name_override": "#visible" + } + ] + } + }, + { + "suggested_template_section_factory@world_templates.suggested_template_section_factory": {} + }, + { + "suggested_template_bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + } + ] + } + } + ] + } + }, + { + "custom_template_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "$section_header": "selectTemplate.importedTemplates", + "controls": [ + { + "custom_templates_label_panel@world_templates.custom_templates_label": { + "bindings": [ + { + "binding_name": "#custom_template_list_visible", + "binding_name_override": "#visible" + } + ] + } + }, + { + "custom_world_template_section_factory@world_templates.custom_world_template_section_factory": {} + }, + { + "custom_template_list_bottom_padding": { + "type": "panel", + "size": [ "100%", 4 ] + } + } + ] + } + }, + { + "realms_info_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "visible": "#realms_info_visible", + "controls": [ + { + "padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { "realms_templates_info@world_templates.realms_templates_info": {} }, + { + "open_uri_button@disconnect.open_account_setting_button": { + "size": [ "100%", 26 ], + "ignored": "$is_holographic", + "visible": false, + "bindings": [ + { + "binding_name": "#open_uri_button_visible", + "binding_name_override": "#visible" + } + ] + } + } + ] + } + } + ] + }, + + "world_list_grid_content": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "world_list_grids_stack@world_templates.world_list_grids_stack": {} + } + ] + }, + + "world_template_screen_content_stack_panel": { + "type": "stack_panel", + "orientation": "vertical", + "size": [ "100%", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "crossplatform_disabled_panel@world_templates.label_background": { + "size": [ "100%", "100%c + 8px" ], + "bindings": [ + { + "binding_name": "(not #generate_random_button_enabled)", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "disable_text": { + "type": "label", + "color": "$dark_button_default_text_color", + "size": [ "100% - 8px", "default" ], + "layer": 1, + "shadow": false, + "text": "crossPlatformToggle.crossPlatformDisabled.realms" + } + } + ] + } + }, + { + "crossplatform_disable_spacer": { + "type": "panel", + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "(not #generate_random_button_enabled)", + "binding_name_override": "#visible" + } + ] + } + }, + { "generate_random_panel@world_templates.generate_random_button": {} }, + { + "generate_random_button_bottom_padding": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { "world_list_grid_content@world_templates.world_list_grid_content": {} } + ] + }, + + "open_account_setting_button@common_buttons.hyperlink_button": { + "$button_text": "permissions.open.account.help.button", + "property_bag": { + "#hyperlink": "https://aka.ms/MCMultiplayerHelp" + } + }, + + //-------------------------------------------------------------------------------- + // Screen + //-------------------------------------------------------------------------------- + + "world_templates_screen@common.base_screen": { + "$screen_header_title_visible": false, + "button_mappings": [ + { + "from_button_id": "button.menu_select", + "to_button_id": "button.menu_select", + "mapping_type": "pressed" + }, + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "world_templates.world_templates_picker_content", + "$header_safezone_control": "common_store.store_top_bar_filler", + "$header_bar_control": "common_store.store_top_bar", + "$is_full_screen_layout": true + }, + + "world_templates_picker_content": { + "type": "panel", + "size": [ "100%", "100%" ], + "controls": [ + { + "background@common.fullscreen_header": { + "$back_button_has_title": true, + "$button_text": "$screen_title", + "$child_control": "world_templates.template_scroll_content", + "$show_close_button": true + } + } + ] + } +} diff --git a/resource_pack/ui/xbl_console_qr_signin.json b/resource_pack/ui/xbl_console_qr_signin.json new file mode 100644 index 0000000..f831c0c --- /dev/null +++ b/resource_pack/ui/xbl_console_qr_signin.json @@ -0,0 +1,444 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "xbl_console_qr_signin", + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners", + "size": [ "90%", "100%c + 6px" ] + }, + + "main_panel_qr": { + "type": "stack_panel", + "size": [ "100% - 4px", "50%x - 4px" ], + "orientation": "horizontal", + "controls": [ + { + "left_panel@xbl_console_qr_signin.left_panel": {} + }, + { + "divider@common.vertical_divider": { + "size": [ 8, "100%" ], + "anchor_from": "top_middle", + "anchor_to": "top_middle" + } + }, + { + "right_panel": { + "type": "stack_panel", + "size": [ "50% - 6px", "100%" ], + "orientation": "vertical", + + "controls": [ + { + "scrolling_panel_sizer": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "right_scroll_panel@xbl_console_qr_signin.scroll_content_focus_border": {} + } + ] + } + } + ] + } + } + ] + }, + + "common_scrolling_panel@common.scrolling_panel": { + "layer": 1, + "$scrolling_pane_size": [ "100%", "100%" ], + "$scrolling_content": "xbl_console_qr_signin.input_panel_wrapper", + "$scroll_size": [ 5, "100% - 4px" ], + "$show_background": false, + "anchor_from": "top_right", + "anchor_to": "top_right" + }, + + "gamepad_helpers": { + "type": "panel", + "layer": 2, + "controls": [ + { + "gamepad_helper_b@common.gamepad_helper_b": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, -5 ] + } + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "xbl_console_qr_signin@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "xbl_console_qr_signin.xbl_console_qr_signin_screen_content" + }, + + "xbl_console_qr_signin_screen_content": { + "type": "panel", + "controls": [ + { "gamepad_helpers@xbl_console_qr_signin.gamepad_helpers": {} }, + { + "dialog@xbl_console_qr_signin.dialog": { + "layer": 1, + "offset": [ 0, -10 ] + } + } + ] + }, + + "dialog@common_dialogs.form_fitting_main_panel_no_buttons": { + "size": "$xbl_console_qr_signin_screen_size", + "$child_control": "xbl_console_qr_signin.main_panel_qr", + "$text_name": "xbox.signin.qr" + }, + + "scroll_content_focus_border@common.non_interact_focus_border_button": { + "$content_inside": "xbl_console_qr_signin.common_scrolling_panel", + "$border_size": [ "100%", "100%sm + 2px" ], + "size": [ "100%", "100%" ] + }, + + // ----------------------------------------------- + // + // panels + // + // ----------------------------------------------- + "left_panel": { + "type": "stack_panel", + "size": [ "50% - 6px", "100%" ], + "orientation": "vertical", + "controls": [ + { + "left_header@common.minecraftTenLabel": { + "size": [ "100%", 12 ], + "text": "xbox.signin.qr.left.header", + "layer": 2, + "text_alignment": "left" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "left_body": { + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.qr.left.body", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 6 ] + } + }, + { + "qr_panel": { + "type": "panel", + "size": [ "100%", "fill" ], + "controls": [ + { + "qr_border": { + "type": "image", + "texture": "textures/ui/White", + "keep_ratio": false, + "anchor_to": "center", + "anchor_from": "center", + "size": [ "47% + 8px", "100%x" ], + "layer": 1 + } + }, + { + "qr_code": { + "type": "custom", + "renderer": "qr_code_renderer", + "size": [ "47%", "100%x" ], + "anchor_to": "center", + "anchor_from": "center", + "layer": 2, + "bindings": [ + { + "binding_name": "#qr_code_content" + } + ] + } + }, + { + "bee_overlay": { + "type": "image", + "texture": "textures/ui/qr_code_bees", + "size": [ "95%", "100%x" ], + "offset": [ 10, 2 ], + "anchor_to": "bottom_left", + "anchor_from": "bottom_left", + "layer": 100, + "bilinear": true + } + } + ] + } + } + ] + }, + + "input_panel_wrapper": { + "type": "input_panel", + "focus_enabled": true, + "size": [ "100%", "100%c" ], + "controls": [ + { + "r_scroll_panel@xbl_console_qr_signin.right_scroll_panel": {} + } + ] + }, + + "right_scroll_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "orientation": "vertical", + "controls": [ + { + "right_header@common.minecraftTenLabel": { + "size": [ "100%", 12 ], + "text": "xbox.signin.qr.right.header", + "layer": 2, + "text_alignment": "left" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "website_message_label": { + "type": "label", + "size": [ "100%", 10 ], + "text": "xbox.signin.website.qr", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "wrapper_panel_1": { + "type": "panel", + "size": [ "100%", 16 ], + "controls": [ + { + "banner_1@xbl_console_qr_signin.banner_fill": { + "layer": 1, + "anchor_from": "center", + "anchor_to": "center", + "controls": [ + { + "url_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#url", + "layer": 2, + "text_alignment": "center", + "color": "$xbl_signin_text_color", + "font_type": "smooth", + "font_scale_factor": 1.2, + "bindings": [ + { + "binding_name": "#url" + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding_3": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "code_message_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.enterCode.qr", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + }, + { + "padding_4": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "wrapper_panel_2": { + "type": "panel", + "size": [ "100%", 16 ], + "controls": [ + { + "banner_2@xbl_console_qr_signin.banner_fill": { + "anchor_from": "center", + "anchor_to": "center", + "layer": 1, + "controls": [ + { + "code_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#code", + "layer": 2, + "text_alignment": "center", + "color": "$xbl_signin_text_color", + "font_type": "smooth", + "font_scale_factor": 1.3, + "bindings": [ + { + "binding_name": "#code" + } + ] + } + } + ] + } + } + ] + } + }, + { + "padding_5": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "code_message_body1": { + "ignored": "((not $nx_os) or (not $is_nx_link_unlink_enabled))", + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.rightpanel.body1", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + }, + { + "padding_6": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "code_message_body2": { + "ignored": "((not $nx_os) or (not $is_nx_link_unlink_enabled))", + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.rightpanel.body2", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + }, + { + "padding_7": { + "type": "panel", + "size": [ "100%", 18 ] + } + }, + { + "warning_messages@xbl_console_qr_signin.ps4_warning_message_panel": {} + } + ] + }, + + "ps4_warning_message_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "visible": "#ps4_warning_message_visible", + "bindings": [ + { + "binding_name": "#ps4_warning_message_visible", + "binding_name_override": "#visible" + } + ], + "controls": [ + { + "sign_in_account_message": { + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.qr.account", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8 + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 10 ] + } + }, + { + "permanent_linking_message": { + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.message", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth", + "font_scale_factor": 0.8 + } + } + ] + } +} diff --git a/resource_pack/ui/xbl_console_signin.json b/resource_pack/ui/xbl_console_signin.json new file mode 100644 index 0000000..d6a86d6 --- /dev/null +++ b/resource_pack/ui/xbl_console_signin.json @@ -0,0 +1,174 @@ +{ + "namespace": "xbl_console_signin", + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners" + }, + + "main_panel": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c" ], + "controls": [ + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "message_label_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "message_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.message", + "anchor_from": "top_left", + "anchor_to": "top_left", + "layer": 2, + "text_alignment": "left", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "website_message_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.website", + "layer": 2, + "text_alignment": "center", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + }, + { + "banner_1@xbl_console_signin.banner_fill": { + "size": [ "100%", "100%c + 6px" ], + "layer": 1, + "controls": [ + { + "url_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#url", + "layer": 2, + "text_alignment": "center", + "color": "$xbl_signin_text_color", + "font_type": "smooth", + "font_scale_factor": "$xbl_signin_font_scale_factor", + "bindings": [ + { + "binding_name": "#url" + } + ] + } + } + ] + } + }, + { + "padding_2": { + "type": "panel", + "size": [ "100%", 4 ] + } + }, + { + "code_message_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "xbox.signin.enterCode", + "layer": 2, + "text_alignment": "center", + "color": "$xbl_signin_text_color", + "font_type": "smooth" + } + }, + { + "banner_2@xbl_console_signin.banner_fill": { + "size": [ "100%", "100%c + 6px" ], + "layer": 1, + "controls": [ + { + "code_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#code", + "layer": 2, + "text_alignment": "center", + "color": "$xbl_signin_text_color", + "font_type": "smooth", + "font_scale_factor": "$xbl_signin_font_scale_factor", + "bindings": [ + { + "binding_name": "#code" + } + ] + } + } + ] + } + } + ] + }, + + "gamepad_helpers": { + "type": "panel", + "layer": 2, + "controls": [ + { + "gamepad_helper_b@common.gamepad_helper_b": { + "anchor_from": "bottom_middle", + "anchor_to": "bottom_middle", + "offset": [ 0, "-5%" ] + } + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "xbl_console_signin@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "xbl_console_signin.xbl_console_signin_screen_content" + }, + + "xbl_console_signin_screen_content": { + "type": "panel", + "controls": [ + { "gamepad_helpers@xbl_console_signin.gamepad_helpers": {} }, + { + "dialog@xbl_console_signin.dialog": { + "layer": 1 + } + } + ] + }, + + "dialog@common_dialogs.form_fitting_main_panel_no_buttons": { + "size": "$xbl_console_signin_screen_size", + "$child_control": "xbl_console_signin.main_panel", + "$text_name": "xbox.signin" + } +} diff --git a/resource_pack/ui/xbl_console_signin_succeeded.json b/resource_pack/ui/xbl_console_signin_succeeded.json new file mode 100644 index 0000000..338a8d4 --- /dev/null +++ b/resource_pack/ui/xbl_console_signin_succeeded.json @@ -0,0 +1,285 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "xbl_console_signin_succeeded", + + "banner_fill": { + "type": "image", + "texture": "textures/ui/Banners" + }, + + "gamer_score_icon": { + "type": "image", + "texture": "textures/ui/achievements_g", + "size": [ 11, 11 ] + }, + + "profile_pic": { + "type": "custom", + "renderer": "profile_image_renderer", + "size": [ 64, 64 ], + "layer": 2, + "bindings": [ + { + "binding_name": "#profile_image_options" + } + ] + }, + + "gamertag_label": { + "type": "label", + "size": [ "100%", "default" ], + "text": "#gamertag", + "layer": 2, + "color": "$xbl_signin_text_color", + "bindings": [ + { + "binding_name": "#gamertag" + } + ] + }, + + "gamer_score_label": { + "type": "label", + "size": [ "default", "default" ], + "text": "#gamer_score", + "layer": 2, + "color": "$xbl_signin_text_color", + "bindings": [ + { + "binding_name": "#gamer_score" + } + ] + }, + + "gamer_score_panel": { + "type": "stack_panel", + "size": [ "100%c", 11 ], + "orientation": "horizontal", + "controls": [ + { + "gamer_score_icon@xbl_console_signin_succeeded.gamer_score_icon": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ 2, "100%" ] + } + }, + { + "gamer_score_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "gamer_score@xbl_console_signin_succeeded.gamer_score_label": { + "offset": [ 0, 1 ], + "anchor_from": "top_left", + "anchor_to": "top_left" + } + } + ] + } + } + ] + }, + + "button_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "play@common_buttons.light_text_button": { + "size": [ "100%", 30 ], + "layer": 1, + "$pressed_button_name": "button.play", + "$button_text": "xbox.signin.letsPlay", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + } + ] + }, + + "text_panel": { + "type": "panel", + "size": [ "100%", "100%c" ], + "$text|default": "", + "controls": [ + { + "new_account_text": { + "type": "label", + "size": [ "100%", "default" ], + "color": "$xbl_signin_text_color", + "layer": 1, + "text": "$text", + "anchor_from": "bottom_left", + "anchor_to": "bottom_left" + } + } + ] + }, + + "third_party_platform_legal_text@text_panel": { + "$text": "xbox.signin.legalinfo" + }, + + "new_account_text_panel@text_panel": { + "$text": "xbox.signin.newaccount.info" + }, + + "gamer_profile_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", 66 ], + "controls": [ + { + "picture_panel": { + "type": "panel", + "size": [ "100%c", "100%c" ], + "controls": [ + { + "banner@xbl_console_signin_succeeded.banner_fill": { + "size": [ "100%c + 2px", "100%c + 2px" ], + "controls": [ + { + "profile_pic@xbl_console_signin_succeeded.profile_pic": {} + } + ] + } + } + ] + } + }, + { + "padding_1": { + "type": "panel", + "size": [ 4, "100%" ] + } + }, + { + "info_panel": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "profile_info_panel": { + "type": "stack_panel", + "size": [ "100%", "100%c" ], + "controls": [ + { + "gamertag_label@xbl_console_signin_succeeded.gamertag_label": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "gamer_score_panel@xbl_console_signin_succeeded.gamer_score_panel": {} + } + ] + } + } + ] + } + } + ] + }, + + "main_panel": { + "type": "stack_panel", + "size": [ "100% - 4px", "100%c - 1px" ], + "controls": [ + { + "profile@xbl_console_signin_succeeded.gamer_profile_panel": {} + }, + { + "padding_0": { + "type": "panel", + "size": [ "100%", 2 ] + } + }, + { + "third_party_legal_text_panel@xbl_console_signin_succeeded.third_party_platform_legal_text": { + "ignored": "(not $nx_os and not $is_ps4)" + } + }, + { + "padding_1": { + "type": "panel", + "size": [ "100%", 5 ], + "ignored": "(not $nx_os and not $is_ps4)" + } + }, + { + "new_account_text_panel@xbl_console_signin_succeeded.new_account_text_panel": { + "ignored": "($nx_os or $is_ps4", + "bindings": [ + { + "binding_name": "#is_new_account", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "padding_2": { + "ignored": "($nx_os or $is_ps4)", + "type": "panel", + "size": [ "100%", 5 ], + "bindings": [ + { + "binding_name": "#is_new_account", + "binding_name_override": "#visible", + "binding_type": "global" + } + ] + } + }, + { + "button_panel@xbl_console_signin_succeeded.button_panel": {} + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "xbl_console_signin_succeeded@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "xbl_console_signin_succeeded.xbl_console_signin_succeeded_screen_content" + }, + + "xbl_console_signin_succeeded_screen_content": { + "type": "panel", + "controls": [ + { + "dialog@xbl_console_signin_succeeded.dialog": { + "layer": 1 + } + } + ] + }, + + "dialog@common_dialogs.form_fitting_main_panel_no_buttons": { + "size": "$xbl_console_signin_succeeded_screen_size", + "$child_control": "xbl_console_signin_succeeded.main_panel", + "$text_name": "#welcome_message", + "$title_text_binding_type": "global", + "$show_close_button": false + } +} diff --git a/resource_pack/ui/xbl_immediate_signin.json b/resource_pack/ui/xbl_immediate_signin.json new file mode 100644 index 0000000..8e2fd1d --- /dev/null +++ b/resource_pack/ui/xbl_immediate_signin.json @@ -0,0 +1,36 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "xbl_immediate_signin", + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "xbl_immediate_signin_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "xbl_immediate_signin.xbl_immediate_signin_screen_content" + }, + + "xbl_immediate_signin_screen_content": { + "type": "panel", + "controls": [ + { + "root_panel": { + "type": "panel", + "controls": [] + } + } + ] + } + } diff --git a/resource_pack/ui/xbl_optional_signin.json b/resource_pack/ui/xbl_optional_signin.json new file mode 100644 index 0000000..9dbfd6c --- /dev/null +++ b/resource_pack/ui/xbl_optional_signin.json @@ -0,0 +1,187 @@ +/******************************************************** ++* (c) Mojang. All rights reserved * ++* (c) Microsoft. All rights reserved. * ++*********************************************************/ + +{ + "namespace": "xbl_optional_signin", + + "Xbox_icon": { + "type": "image", + "texture": "textures/ui/xbox4", + "layer": 3, + "size": [ 20, 20 ] + }, + + "xbl_signin_label": { + "type": "panel", + "layer": 2, + "controls": [ + { + "Xbox_icon@xbl_optional_signin.Xbox_icon": { + "ignored": true, + "anchor_from": "left_middle", + "anchor_to": "left_middle", + "offset": [ 24, 0 ] + } + }, + { + "button_label": { + "type": "label", + "color": "$text_color", + "text": "xbox.signInLong" + } + } + ] + }, + + "xbl_signin_button@common_buttons.light_content_button": { + "$pressed_button_name": "button.xbl_signin", + "$button_content": "xbl_optional_signin.xbl_signin_label" + }, + + + "dialog_image": { + "type": "image", + "layer": 2, + "anchor_from": "top_left", + "anchor_to": "top_left", + "texture": "#texture", + "size": [ "137.667%y", "100% - 2px" ], + "offset": [ 1, 1 ], + "bindings": [ + { + "binding_name": "#texture" + } + ] + }, + + "dialog_image_with_border": { + "type": "image", + "layer": 1, + "texture": "textures/ui/Grey", + "size": [ "100%c + 2px", "100%" ], + "controls": [ + { + "dialog_image@xbl_optional_signin.dialog_image": { } + } + ] + }, + + "title_image_panel": { + "type": "stack_panel", + "orientation": "horizontal", + "size": [ "100%", "100%" ], + "controls": [ + { + "dialog_image_with_border@xbl_optional_signin.dialog_image_with_border": { } + }, + { + "message_content": { + "type": "panel", + "size": [ "fill", "100%" ], + "controls": [ + { + "message_label": { + "type": "label", + "size": [ "100% - 16px", "default" ], + "text": "#message", + "layer": 2, + "color": "$body_text_color", + "bindings": [ + { + "binding_name": "#message" + } + ] + } + } + ] + } + } + ] + }, + + "main_panel": { + "type": "input_panel", + "size": "$xbl_optional_signin_screen_size", + "controls": [ + { "common_panel@common.common_panel": { "$dialog_background": "dialog_background_hollow_3" } }, + { + "title_label": { + "type": "label", + "text": "#title", + "anchor_from": "top_middle", + "anchor_to": "top_middle", + "offset": [ 0, 7 ], + "layer": 2, + "color": "$title_text_color", + "bindings": [ + { + "binding_name": "#title" + } + ] + } + }, + { + "myimage@xbl_optional_signin.title_image_panel": { + "anchor_from": "top_left", + "anchor_to": "top_left", + "size": [ "100%-18px", "100%-67px" ], + "offset": [ 10, 25 ] + } + }, + { + "a@xbl_optional_signin.xbl_signin_button": { + "size": [ "100%-20px", 30 ], + "anchor_from": "bottom_left", + "anchor_to": "bottom_left", + "offset": [ 10, -10 ] + } + } + ] + }, + + "gamepad_helpers": { + "type": "panel", + "layer": 2, + "controls": [ + { + "gamepad_helper_a@common.gamepad_helper_a": { + "anchor_from": "bottom_right", + "anchor_to": "bottom_right" + } + } + ] + }, + + // ----------------------------------------------- + // + // screen + // + // ----------------------------------------------- + "xbl_optional_signin_screen@common.base_screen": { + "button_mappings": [ + { + "from_button_id": "button.menu_cancel", + "to_button_id": "button.menu_exit", + "mapping_type": "global" + } + ], + "$screen_content": "xbl_optional_signin.xbl_optional_signin_screen_content" + }, + + "xbl_optional_signin_screen_content": { + "type": "panel", + "controls": [ + { + "root_panel": { + "type": "panel", + "controls": [ + { "gamepad_helpers@xbl_optional_signin.gamepad_helpers": { } }, + { "main_panel@xbl_optional_signin.main_panel": { "layer": 1 } } + ] + } + } + ] + } +} \ No newline at end of file